@alma-oss/spirit-web-react 4.0.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 (1703) hide show
  1. package/README.md +240 -0
  2. package/bundles/web-react.umd.js +35315 -0
  3. package/bundles/web-react.umd.js.map +1 -0
  4. package/bundles/web-react.umd.min.js +16 -0
  5. package/bundles/web-react.umd.min.js.map +1 -0
  6. package/common/common.cjs +47 -0
  7. package/common/common.cjs.map +1 -0
  8. package/common/constants/constants.cjs +16 -0
  9. package/common/constants/constants.cjs.map +1 -0
  10. package/common/constants/environments.d.ts +8 -0
  11. package/common/constants/environments.js +9 -0
  12. package/common/constants/environments.js.map +1 -0
  13. package/common/constants/index.d.ts +1 -0
  14. package/common/constants/index.js +2 -0
  15. package/common/constants/index.js.map +1 -0
  16. package/common/constants/package.json +8 -0
  17. package/common/index.d.ts +2 -0
  18. package/common/index.js +3 -0
  19. package/common/index.js.map +1 -0
  20. package/common/package.json +8 -0
  21. package/common/utilities/index.d.ts +2 -0
  22. package/common/utilities/index.js +3 -0
  23. package/common/utilities/index.js.map +1 -0
  24. package/common/utilities/info.d.ts +2 -0
  25. package/common/utilities/info.js +14 -0
  26. package/common/utilities/info.js.map +1 -0
  27. package/common/utilities/package.json +8 -0
  28. package/common/utilities/utilities.cjs +39 -0
  29. package/common/utilities/utilities.cjs.map +1 -0
  30. package/common/utilities/warning.d.ts +2 -0
  31. package/common/utilities/warning.js +19 -0
  32. package/common/utilities/warning.js.map +1 -0
  33. package/components/Accordion/Accordion.cjs +900 -0
  34. package/components/Accordion/Accordion.cjs.map +1 -0
  35. package/components/Accordion/Accordion.d.ts +7 -0
  36. package/components/Accordion/Accordion.js +32 -0
  37. package/components/Accordion/Accordion.js.map +1 -0
  38. package/components/Accordion/AccordionContent.d.ts +7 -0
  39. package/components/Accordion/AccordionContent.js +33 -0
  40. package/components/Accordion/AccordionContent.js.map +1 -0
  41. package/components/Accordion/AccordionContext.d.ts +7 -0
  42. package/components/Accordion/AccordionContext.js +13 -0
  43. package/components/Accordion/AccordionContext.js.map +1 -0
  44. package/components/Accordion/AccordionHeader.d.ts +7 -0
  45. package/components/Accordion/AccordionHeader.js +44 -0
  46. package/components/Accordion/AccordionHeader.js.map +1 -0
  47. package/components/Accordion/AccordionItem.d.ts +7 -0
  48. package/components/Accordion/AccordionItem.js +29 -0
  49. package/components/Accordion/AccordionItem.js.map +1 -0
  50. package/components/Accordion/AccordionItemContext.d.ts +7 -0
  51. package/components/Accordion/AccordionItemContext.js +12 -0
  52. package/components/Accordion/AccordionItemContext.js.map +1 -0
  53. package/components/Accordion/UncontrolledAccordion.d.ts +7 -0
  54. package/components/Accordion/UncontrolledAccordion.js +23 -0
  55. package/components/Accordion/UncontrolledAccordion.js.map +1 -0
  56. package/components/Accordion/index.d.ts +11 -0
  57. package/components/Accordion/index.js +12 -0
  58. package/components/Accordion/index.js.map +1 -0
  59. package/components/Accordion/package.json +8 -0
  60. package/components/Accordion/useAccordion.d.ts +2 -0
  61. package/components/Accordion/useAccordion.js +31 -0
  62. package/components/Accordion/useAccordion.js.map +1 -0
  63. package/components/Accordion/useAccordionAriaProps.d.ts +23 -0
  64. package/components/Accordion/useAccordionAriaProps.js +24 -0
  65. package/components/Accordion/useAccordionAriaProps.js.map +1 -0
  66. package/components/Accordion/useAccordionStyleProps.d.ts +13 -0
  67. package/components/Accordion/useAccordionStyleProps.js +24 -0
  68. package/components/Accordion/useAccordionStyleProps.js.map +1 -0
  69. package/components/Accordion/useOpenItem.d.ts +3 -0
  70. package/components/Accordion/useOpenItem.js +14 -0
  71. package/components/Accordion/useOpenItem.js.map +1 -0
  72. package/components/ActionGroup/ActionGroup.cjs +541 -0
  73. package/components/ActionGroup/ActionGroup.cjs.map +1 -0
  74. package/components/ActionGroup/ActionGroup.d.ts +7 -0
  75. package/components/ActionGroup/ActionGroup.js +33 -0
  76. package/components/ActionGroup/ActionGroup.js.map +1 -0
  77. package/components/ActionGroup/index.d.ts +1 -0
  78. package/components/ActionGroup/index.js +2 -0
  79. package/components/ActionGroup/index.js.map +1 -0
  80. package/components/ActionGroup/package.json +8 -0
  81. package/components/Alert/Alert.cjs +490 -0
  82. package/components/Alert/Alert.cjs.map +1 -0
  83. package/components/Alert/Alert.d.ts +7 -0
  84. package/components/Alert/Alert.js +36 -0
  85. package/components/Alert/Alert.js.map +1 -0
  86. package/components/Alert/index.d.ts +2 -0
  87. package/components/Alert/index.js +3 -0
  88. package/components/Alert/index.js.map +1 -0
  89. package/components/Alert/package.json +8 -0
  90. package/components/Alert/useAlertIcon.d.ts +3 -0
  91. package/components/Alert/useAlertIcon.js +12 -0
  92. package/components/Alert/useAlertIcon.js.map +1 -0
  93. package/components/Alert/useAlertStyleProps.d.ts +7 -0
  94. package/components/Alert/useAlertStyleProps.js +28 -0
  95. package/components/Alert/useAlertStyleProps.js.map +1 -0
  96. package/components/Avatar/Avatar.cjs +376 -0
  97. package/components/Avatar/Avatar.cjs.map +1 -0
  98. package/components/Avatar/Avatar.d.ts +4 -0
  99. package/components/Avatar/Avatar.js +33 -0
  100. package/components/Avatar/Avatar.js.map +1 -0
  101. package/components/Avatar/constants.d.ts +11 -0
  102. package/components/Avatar/constants.js +19 -0
  103. package/components/Avatar/constants.js.map +1 -0
  104. package/components/Avatar/index.d.ts +2 -0
  105. package/components/Avatar/index.js +3 -0
  106. package/components/Avatar/index.js.map +1 -0
  107. package/components/Avatar/package.json +8 -0
  108. package/components/Avatar/useAvatarStyleProps.d.ts +7 -0
  109. package/components/Avatar/useAvatarStyleProps.js +28 -0
  110. package/components/Avatar/useAvatarStyleProps.js.map +1 -0
  111. package/components/Box/Box.cjs +402 -0
  112. package/components/Box/Box.cjs.map +1 -0
  113. package/components/Box/Box.d.ts +7 -0
  114. package/components/Box/Box.js +32 -0
  115. package/components/Box/Box.js.map +1 -0
  116. package/components/Box/index.d.ts +2 -0
  117. package/components/Box/index.js +3 -0
  118. package/components/Box/index.js.map +1 -0
  119. package/components/Box/package.json +8 -0
  120. package/components/Box/useBoxStyleProps.d.ts +7 -0
  121. package/components/Box/useBoxStyleProps.js +38 -0
  122. package/components/Box/useBoxStyleProps.js.map +1 -0
  123. package/components/Breadcrumbs/Breadcrumbs.cjs +575 -0
  124. package/components/Breadcrumbs/Breadcrumbs.cjs.map +1 -0
  125. package/components/Breadcrumbs/Breadcrumbs.d.ts +7 -0
  126. package/components/Breadcrumbs/Breadcrumbs.js +37 -0
  127. package/components/Breadcrumbs/Breadcrumbs.js.map +1 -0
  128. package/components/Breadcrumbs/BreadcrumbsItem.d.ts +7 -0
  129. package/components/Breadcrumbs/BreadcrumbsItem.js +37 -0
  130. package/components/Breadcrumbs/BreadcrumbsItem.js.map +1 -0
  131. package/components/Breadcrumbs/index.d.ts +3 -0
  132. package/components/Breadcrumbs/index.js +4 -0
  133. package/components/Breadcrumbs/index.js.map +1 -0
  134. package/components/Breadcrumbs/package.json +8 -0
  135. package/components/Breadcrumbs/useBreadcrumbsStyleProps.d.ts +9 -0
  136. package/components/Breadcrumbs/useBreadcrumbsStyleProps.js +32 -0
  137. package/components/Breadcrumbs/useBreadcrumbsStyleProps.js.map +1 -0
  138. package/components/Button/Button.cjs +696 -0
  139. package/components/Button/Button.cjs.map +1 -0
  140. package/components/Button/Button.d.ts +3 -0
  141. package/components/Button/Button.js +45 -0
  142. package/components/Button/Button.js.map +1 -0
  143. package/components/Button/index.d.ts +6 -0
  144. package/components/Button/index.js +7 -0
  145. package/components/Button/index.js.map +1 -0
  146. package/components/Button/package.json +8 -0
  147. package/components/Button/useButtonProps.d.ts +6 -0
  148. package/components/Button/useButtonProps.js +13 -0
  149. package/components/Button/useButtonProps.js.map +1 -0
  150. package/components/Button/useButtonStyleProps.d.ts +7 -0
  151. package/components/Button/useButtonStyleProps.js +46 -0
  152. package/components/Button/useButtonStyleProps.js.map +1 -0
  153. package/components/ButtonLink/ButtonLink.d.ts +3 -0
  154. package/components/ButtonLink/ButtonLink.js +42 -0
  155. package/components/ButtonLink/ButtonLink.js.map +1 -0
  156. package/components/ButtonLink/index.d.ts +3 -0
  157. package/components/ButtonLink/index.js +4 -0
  158. package/components/ButtonLink/index.js.map +1 -0
  159. package/components/ButtonLink/useButtonLinkProps.d.ts +6 -0
  160. package/components/ButtonLink/useButtonLinkProps.js +16 -0
  161. package/components/ButtonLink/useButtonLinkProps.js.map +1 -0
  162. package/components/ButtonLink/useButtonLinkStyleProps.d.ts +7 -0
  163. package/components/ButtonLink/useButtonLinkStyleProps.js +46 -0
  164. package/components/ButtonLink/useButtonLinkStyleProps.js.map +1 -0
  165. package/components/Card/Card.cjs +681 -0
  166. package/components/Card/Card.cjs.map +1 -0
  167. package/components/Card/Card.d.ts +7 -0
  168. package/components/Card/Card.js +33 -0
  169. package/components/Card/Card.js.map +1 -0
  170. package/components/Card/CardArtwork.d.ts +7 -0
  171. package/components/Card/CardArtwork.js +30 -0
  172. package/components/Card/CardArtwork.js.map +1 -0
  173. package/components/Card/CardBody.d.ts +7 -0
  174. package/components/Card/CardBody.js +29 -0
  175. package/components/Card/CardBody.js.map +1 -0
  176. package/components/Card/CardEyebrow.d.ts +7 -0
  177. package/components/Card/CardEyebrow.js +25 -0
  178. package/components/Card/CardEyebrow.js.map +1 -0
  179. package/components/Card/CardFooter.d.ts +7 -0
  180. package/components/Card/CardFooter.js +30 -0
  181. package/components/Card/CardFooter.js.map +1 -0
  182. package/components/Card/CardLink.d.ts +5 -0
  183. package/components/Card/CardLink.js +31 -0
  184. package/components/Card/CardLink.js.map +1 -0
  185. package/components/Card/CardLogo.d.ts +7 -0
  186. package/components/Card/CardLogo.js +25 -0
  187. package/components/Card/CardLogo.js.map +1 -0
  188. package/components/Card/CardMedia.d.ts +7 -0
  189. package/components/Card/CardMedia.js +45 -0
  190. package/components/Card/CardMedia.js.map +1 -0
  191. package/components/Card/CardTitle.d.ts +7 -0
  192. package/components/Card/CardTitle.js +31 -0
  193. package/components/Card/CardTitle.js.map +1 -0
  194. package/components/Card/index.d.ts +10 -0
  195. package/components/Card/index.js +11 -0
  196. package/components/Card/index.js.map +1 -0
  197. package/components/Card/package.json +8 -0
  198. package/components/Card/useCardMediaStyleProps.d.ts +7 -0
  199. package/components/Card/useCardMediaStyleProps.js +15 -0
  200. package/components/Card/useCardMediaStyleProps.js.map +1 -0
  201. package/components/Card/useCardStyleProps.d.ts +27 -0
  202. package/components/Card/useCardStyleProps.js +58 -0
  203. package/components/Card/useCardStyleProps.js.map +1 -0
  204. package/components/Checkbox/Checkbox.cjs +639 -0
  205. package/components/Checkbox/Checkbox.cjs.map +1 -0
  206. package/components/Checkbox/Checkbox.d.ts +4 -0
  207. package/components/Checkbox/Checkbox.js +39 -0
  208. package/components/Checkbox/Checkbox.js.map +1 -0
  209. package/components/Checkbox/index.d.ts +2 -0
  210. package/components/Checkbox/index.js +3 -0
  211. package/components/Checkbox/index.js.map +1 -0
  212. package/components/Checkbox/package.json +8 -0
  213. package/components/Checkbox/useCheckboxStyleProps.d.ts +13 -0
  214. package/components/Checkbox/useCheckboxStyleProps.js +49 -0
  215. package/components/Checkbox/useCheckboxStyleProps.js.map +1 -0
  216. package/components/Collapse/Collapse.cjs +601 -0
  217. package/components/Collapse/Collapse.cjs.map +1 -0
  218. package/components/Collapse/Collapse.d.ts +7 -0
  219. package/components/Collapse/Collapse.js +60 -0
  220. package/components/Collapse/Collapse.js.map +1 -0
  221. package/components/Collapse/UncontrolledCollapse.d.ts +7 -0
  222. package/components/Collapse/UncontrolledCollapse.js +38 -0
  223. package/components/Collapse/UncontrolledCollapse.js.map +1 -0
  224. package/components/Collapse/index.d.ts +5 -0
  225. package/components/Collapse/index.js +6 -0
  226. package/components/Collapse/index.js.map +1 -0
  227. package/components/Collapse/package.json +8 -0
  228. package/components/Collapse/useCollapse.d.ts +7 -0
  229. package/components/Collapse/useCollapse.js +15 -0
  230. package/components/Collapse/useCollapse.js.map +1 -0
  231. package/components/Collapse/useCollapseAriaProps.d.ts +18 -0
  232. package/components/Collapse/useCollapseAriaProps.js +37 -0
  233. package/components/Collapse/useCollapseAriaProps.js.map +1 -0
  234. package/components/Collapse/useCollapseStyleProps.d.ts +11 -0
  235. package/components/Collapse/useCollapseStyleProps.js +19 -0
  236. package/components/Collapse/useCollapseStyleProps.js.map +1 -0
  237. package/components/Collapse/useResizeHeight.d.ts +2 -0
  238. package/components/Collapse/useResizeHeight.js +13 -0
  239. package/components/Collapse/useResizeHeight.js.map +1 -0
  240. package/components/Container/Container.cjs +341 -0
  241. package/components/Container/Container.cjs.map +1 -0
  242. package/components/Container/Container.d.ts +6 -0
  243. package/components/Container/Container.js +33 -0
  244. package/components/Container/Container.js.map +1 -0
  245. package/components/Container/index.d.ts +2 -0
  246. package/components/Container/index.js +3 -0
  247. package/components/Container/index.js.map +1 -0
  248. package/components/Container/package.json +8 -0
  249. package/components/Container/useContainerStyleProps.d.ts +6 -0
  250. package/components/Container/useContainerStyleProps.js +28 -0
  251. package/components/Container/useContainerStyleProps.js.map +1 -0
  252. package/components/ControlButton/ControlButton.d.ts +3 -0
  253. package/components/ControlButton/ControlButton.js +39 -0
  254. package/components/ControlButton/ControlButton.js.map +1 -0
  255. package/components/ControlButton/index.d.ts +3 -0
  256. package/components/ControlButton/index.js +4 -0
  257. package/components/ControlButton/index.js.map +1 -0
  258. package/components/ControlButton/useControlButtonProps.d.ts +6 -0
  259. package/components/ControlButton/useControlButtonProps.js +13 -0
  260. package/components/ControlButton/useControlButtonProps.js.map +1 -0
  261. package/components/ControlButton/useControlButtonStyleProps.d.ts +7 -0
  262. package/components/ControlButton/useControlButtonStyleProps.js +36 -0
  263. package/components/ControlButton/useControlButtonStyleProps.js.map +1 -0
  264. package/components/Dialog/Dialog.cjs +275 -0
  265. package/components/Dialog/Dialog.cjs.map +1 -0
  266. package/components/Dialog/Dialog.d.ts +4 -0
  267. package/components/Dialog/Dialog.js +41 -0
  268. package/components/Dialog/Dialog.js.map +1 -0
  269. package/components/Dialog/index.d.ts +2 -0
  270. package/components/Dialog/index.js +3 -0
  271. package/components/Dialog/index.js.map +1 -0
  272. package/components/Dialog/package.json +8 -0
  273. package/components/Dialog/useDialog.d.ts +6 -0
  274. package/components/Dialog/useDialog.js +54 -0
  275. package/components/Dialog/useDialog.js.map +1 -0
  276. package/components/Divider/Divider.cjs +302 -0
  277. package/components/Divider/Divider.cjs.map +1 -0
  278. package/components/Divider/Divider.d.ts +6 -0
  279. package/components/Divider/Divider.js +13 -0
  280. package/components/Divider/Divider.js.map +1 -0
  281. package/components/Divider/index.d.ts +2 -0
  282. package/components/Divider/index.js +3 -0
  283. package/components/Divider/index.js.map +1 -0
  284. package/components/Divider/package.json +8 -0
  285. package/components/Divider/useDividerStyleProps.d.ts +6 -0
  286. package/components/Divider/useDividerStyleProps.js +9 -0
  287. package/components/Divider/useDividerStyleProps.js.map +1 -0
  288. package/components/Drawer/Drawer.cjs +1048 -0
  289. package/components/Drawer/Drawer.cjs.map +1 -0
  290. package/components/Drawer/Drawer.d.ts +7 -0
  291. package/components/Drawer/Drawer.js +35 -0
  292. package/components/Drawer/Drawer.js.map +1 -0
  293. package/components/Drawer/DrawerCloseButton.d.ts +7 -0
  294. package/components/Drawer/DrawerCloseButton.js +42 -0
  295. package/components/Drawer/DrawerCloseButton.js.map +1 -0
  296. package/components/Drawer/DrawerContext.d.ts +10 -0
  297. package/components/Drawer/DrawerContext.js +14 -0
  298. package/components/Drawer/DrawerContext.js.map +1 -0
  299. package/components/Drawer/DrawerPanel.d.ts +4 -0
  300. package/components/Drawer/DrawerPanel.js +28 -0
  301. package/components/Drawer/DrawerPanel.js.map +1 -0
  302. package/components/Drawer/constants.d.ts +2 -0
  303. package/components/Drawer/constants.js +4 -0
  304. package/components/Drawer/constants.js.map +1 -0
  305. package/components/Drawer/index.d.ts +5 -0
  306. package/components/Drawer/index.js +6 -0
  307. package/components/Drawer/index.js.map +1 -0
  308. package/components/Drawer/package.json +8 -0
  309. package/components/Drawer/useDrawerStyleProps.d.ts +14 -0
  310. package/components/Drawer/useDrawerStyleProps.js +27 -0
  311. package/components/Drawer/useDrawerStyleProps.js.map +1 -0
  312. package/components/Dropdown/Dropdown.cjs +611 -0
  313. package/components/Dropdown/Dropdown.cjs.map +1 -0
  314. package/components/Dropdown/Dropdown.d.ts +7 -0
  315. package/components/Dropdown/Dropdown.js +42 -0
  316. package/components/Dropdown/Dropdown.js.map +1 -0
  317. package/components/Dropdown/DropdownContext.d.ts +19 -0
  318. package/components/Dropdown/DropdownContext.js +20 -0
  319. package/components/Dropdown/DropdownContext.js.map +1 -0
  320. package/components/Dropdown/DropdownPopover.d.ts +9 -0
  321. package/components/Dropdown/DropdownPopover.js +29 -0
  322. package/components/Dropdown/DropdownPopover.js.map +1 -0
  323. package/components/Dropdown/DropdownTrigger.d.ts +7 -0
  324. package/components/Dropdown/DropdownTrigger.js +34 -0
  325. package/components/Dropdown/DropdownTrigger.js.map +1 -0
  326. package/components/Dropdown/UncontrolledDropdown.d.ts +7 -0
  327. package/components/Dropdown/UncontrolledDropdown.js +31 -0
  328. package/components/Dropdown/UncontrolledDropdown.js.map +1 -0
  329. package/components/Dropdown/index.d.ts +8 -0
  330. package/components/Dropdown/index.js +9 -0
  331. package/components/Dropdown/index.js.map +1 -0
  332. package/components/Dropdown/package.json +8 -0
  333. package/components/Dropdown/useDropdown.d.ts +13 -0
  334. package/components/Dropdown/useDropdown.js +29 -0
  335. package/components/Dropdown/useDropdown.js.map +1 -0
  336. package/components/Dropdown/useDropdownAriaProps.d.ts +31 -0
  337. package/components/Dropdown/useDropdownAriaProps.js +29 -0
  338. package/components/Dropdown/useDropdownAriaProps.js.map +1 -0
  339. package/components/Dropdown/useDropdownStyleProps.d.ts +10 -0
  340. package/components/Dropdown/useDropdownStyleProps.js +36 -0
  341. package/components/Dropdown/useDropdownStyleProps.js.map +1 -0
  342. package/components/EmptyState/EmptyState.cjs +472 -0
  343. package/components/EmptyState/EmptyState.cjs.map +1 -0
  344. package/components/EmptyState/EmptyState.d.ts +7 -0
  345. package/components/EmptyState/EmptyState.js +26 -0
  346. package/components/EmptyState/EmptyState.js.map +1 -0
  347. package/components/EmptyState/EmptyStateSection.d.ts +7 -0
  348. package/components/EmptyState/EmptyStateSection.js +26 -0
  349. package/components/EmptyState/EmptyStateSection.js.map +1 -0
  350. package/components/EmptyState/index.d.ts +3 -0
  351. package/components/EmptyState/index.js +4 -0
  352. package/components/EmptyState/index.js.map +1 -0
  353. package/components/EmptyState/package.json +8 -0
  354. package/components/EmptyState/useEmptyStateStyleProps.d.ts +9 -0
  355. package/components/EmptyState/useEmptyStateStyleProps.js +13 -0
  356. package/components/EmptyState/useEmptyStateStyleProps.js.map +1 -0
  357. package/components/Field/Field.cjs +545 -0
  358. package/components/Field/Field.cjs.map +1 -0
  359. package/components/Field/HelperText.d.ts +7 -0
  360. package/components/Field/HelperText.js +39 -0
  361. package/components/Field/HelperText.js.map +1 -0
  362. package/components/Field/Label.d.ts +7 -0
  363. package/components/Field/Label.js +24 -0
  364. package/components/Field/Label.js.map +1 -0
  365. package/components/Field/ValidationText.d.ts +7 -0
  366. package/components/Field/ValidationText.js +46 -0
  367. package/components/Field/ValidationText.js.map +1 -0
  368. package/components/Field/constants.d.ts +1 -0
  369. package/components/Field/constants.js +2 -0
  370. package/components/Field/constants.js.map +1 -0
  371. package/components/Field/index.d.ts +5 -0
  372. package/components/Field/index.js +6 -0
  373. package/components/Field/index.js.map +1 -0
  374. package/components/Field/package.json +8 -0
  375. package/components/Field/types.d.ts +15 -0
  376. package/components/Field/types.js +2 -0
  377. package/components/Field/types.js.map +1 -0
  378. package/components/Field/useAriaIds.d.ts +8 -0
  379. package/components/Field/useAriaIds.js +20 -0
  380. package/components/Field/useAriaIds.js.map +1 -0
  381. package/components/Field/useValidationIcon.d.ts +2 -0
  382. package/components/Field/useValidationIcon.js +10 -0
  383. package/components/Field/useValidationIcon.js.map +1 -0
  384. package/components/Field/useValidationTextRole.d.ts +5 -0
  385. package/components/Field/useValidationTextRole.js +17 -0
  386. package/components/Field/useValidationTextRole.js.map +1 -0
  387. package/components/FieldGroup/FieldGroup.cjs +648 -0
  388. package/components/FieldGroup/FieldGroup.cjs.map +1 -0
  389. package/components/FieldGroup/FieldGroup.d.ts +7 -0
  390. package/components/FieldGroup/FieldGroup.js +39 -0
  391. package/components/FieldGroup/FieldGroup.js.map +1 -0
  392. package/components/FieldGroup/index.d.ts +1 -0
  393. package/components/FieldGroup/index.js +2 -0
  394. package/components/FieldGroup/index.js.map +1 -0
  395. package/components/FieldGroup/package.json +8 -0
  396. package/components/FieldGroup/useFieldGroupStyleProps.d.ts +14 -0
  397. package/components/FieldGroup/useFieldGroupStyleProps.js +27 -0
  398. package/components/FieldGroup/useFieldGroupStyleProps.js.map +1 -0
  399. package/components/FileUploader/AttachmentActionButton.d.ts +7 -0
  400. package/components/FileUploader/AttachmentActionButton.js +29 -0
  401. package/components/FileUploader/AttachmentActionButton.js.map +1 -0
  402. package/components/FileUploader/AttachmentDismissButton.d.ts +7 -0
  403. package/components/FileUploader/AttachmentDismissButton.js +29 -0
  404. package/components/FileUploader/AttachmentDismissButton.js.map +1 -0
  405. package/components/FileUploader/AttachmentImagePreview.d.ts +7 -0
  406. package/components/FileUploader/AttachmentImagePreview.js +19 -0
  407. package/components/FileUploader/AttachmentImagePreview.js.map +1 -0
  408. package/components/FileUploader/FileUploader.cjs +1312 -0
  409. package/components/FileUploader/FileUploader.cjs.map +1 -0
  410. package/components/FileUploader/FileUploader.d.ts +7 -0
  411. package/components/FileUploader/FileUploader.js +37 -0
  412. package/components/FileUploader/FileUploader.js.map +1 -0
  413. package/components/FileUploader/FileUploaderAttachment.d.ts +7 -0
  414. package/components/FileUploader/FileUploaderAttachment.js +51 -0
  415. package/components/FileUploader/FileUploaderAttachment.js.map +1 -0
  416. package/components/FileUploader/FileUploaderContext.d.ts +9 -0
  417. package/components/FileUploader/FileUploaderContext.js +23 -0
  418. package/components/FileUploader/FileUploaderContext.js.map +1 -0
  419. package/components/FileUploader/FileUploaderInput.d.ts +7 -0
  420. package/components/FileUploader/FileUploaderInput.js +69 -0
  421. package/components/FileUploader/FileUploaderInput.js.map +1 -0
  422. package/components/FileUploader/FileUploaderList.d.ts +7 -0
  423. package/components/FileUploader/FileUploaderList.js +42 -0
  424. package/components/FileUploader/FileUploaderList.js.map +1 -0
  425. package/components/FileUploader/UncontrolledFileUploader.d.ts +7 -0
  426. package/components/FileUploader/UncontrolledFileUploader.js +32 -0
  427. package/components/FileUploader/UncontrolledFileUploader.js.map +1 -0
  428. package/components/FileUploader/constants.d.ts +17 -0
  429. package/components/FileUploader/constants.js +18 -0
  430. package/components/FileUploader/constants.js.map +1 -0
  431. package/components/FileUploader/index.d.ts +13 -0
  432. package/components/FileUploader/index.js +14 -0
  433. package/components/FileUploader/index.js.map +1 -0
  434. package/components/FileUploader/package.json +8 -0
  435. package/components/FileUploader/useFileQueue.d.ts +4 -0
  436. package/components/FileUploader/useFileQueue.js +51 -0
  437. package/components/FileUploader/useFileQueue.js.map +1 -0
  438. package/components/FileUploader/useFileUploaderAttachment.d.ts +10 -0
  439. package/components/FileUploader/useFileUploaderAttachment.js +18 -0
  440. package/components/FileUploader/useFileUploaderAttachment.js.map +1 -0
  441. package/components/FileUploader/useFileUploaderInput.d.ts +17 -0
  442. package/components/FileUploader/useFileUploaderInput.js +161 -0
  443. package/components/FileUploader/useFileUploaderInput.js.map +1 -0
  444. package/components/FileUploader/useFileUploaderStyleProps.d.ts +55 -0
  445. package/components/FileUploader/useFileUploaderStyleProps.js +92 -0
  446. package/components/FileUploader/useFileUploaderStyleProps.js.map +1 -0
  447. package/components/FileUploader/utils.d.ts +6 -0
  448. package/components/FileUploader/utils.js +61 -0
  449. package/components/FileUploader/utils.js.map +1 -0
  450. package/components/Flex/Flex.cjs +514 -0
  451. package/components/Flex/Flex.cjs.map +1 -0
  452. package/components/Flex/Flex.d.ts +7 -0
  453. package/components/Flex/Flex.js +35 -0
  454. package/components/Flex/Flex.js.map +1 -0
  455. package/components/Flex/index.d.ts +2 -0
  456. package/components/Flex/index.js +3 -0
  457. package/components/Flex/index.js.map +1 -0
  458. package/components/Flex/package.json +8 -0
  459. package/components/Flex/useFlexStyleProps.d.ts +12 -0
  460. package/components/Flex/useFlexStyleProps.js +38 -0
  461. package/components/Flex/useFlexStyleProps.js.map +1 -0
  462. package/components/Footer/Footer.cjs +337 -0
  463. package/components/Footer/Footer.cjs.map +1 -0
  464. package/components/Footer/Footer.d.ts +7 -0
  465. package/components/Footer/Footer.js +37 -0
  466. package/components/Footer/Footer.js.map +1 -0
  467. package/components/Footer/constants.d.ts +2 -0
  468. package/components/Footer/constants.js +3 -0
  469. package/components/Footer/constants.js.map +1 -0
  470. package/components/Footer/index.d.ts +1 -0
  471. package/components/Footer/index.js +2 -0
  472. package/components/Footer/index.js.map +1 -0
  473. package/components/Footer/package.json +8 -0
  474. package/components/Footer/useFooterStyleProps.d.ts +5 -0
  475. package/components/Footer/useFooterStyleProps.js +14 -0
  476. package/components/Footer/useFooterStyleProps.js.map +1 -0
  477. package/components/Grid/Grid.cjs +499 -0
  478. package/components/Grid/Grid.cjs.map +1 -0
  479. package/components/Grid/Grid.d.ts +7 -0
  480. package/components/Grid/Grid.js +33 -0
  481. package/components/Grid/Grid.js.map +1 -0
  482. package/components/Grid/GridItem.d.ts +7 -0
  483. package/components/Grid/GridItem.js +26 -0
  484. package/components/Grid/GridItem.js.map +1 -0
  485. package/components/Grid/index.d.ts +3 -0
  486. package/components/Grid/index.js +4 -0
  487. package/components/Grid/index.js.map +1 -0
  488. package/components/Grid/package.json +8 -0
  489. package/components/Grid/useGridItemStyleProps.d.ts +12 -0
  490. package/components/Grid/useGridItemStyleProps.js +36 -0
  491. package/components/Grid/useGridItemStyleProps.js.map +1 -0
  492. package/components/Grid/useGridStyleProps.d.ts +12 -0
  493. package/components/Grid/useGridStyleProps.js +42 -0
  494. package/components/Grid/useGridStyleProps.js.map +1 -0
  495. package/components/Header/Header.cjs +1261 -0
  496. package/components/Header/Header.cjs.map +1 -0
  497. package/components/Header/Header.d.ts +7 -0
  498. package/components/Header/Header.js +33 -0
  499. package/components/Header/Header.js.map +1 -0
  500. package/components/Header/HeaderButton.d.ts +7 -0
  501. package/components/Header/HeaderButton.js +13 -0
  502. package/components/Header/HeaderButton.js.map +1 -0
  503. package/components/Header/HeaderDesktopActions.d.ts +7 -0
  504. package/components/Header/HeaderDesktopActions.js +29 -0
  505. package/components/Header/HeaderDesktopActions.js.map +1 -0
  506. package/components/Header/HeaderDialog.d.ts +7 -0
  507. package/components/Header/HeaderDialog.js +32 -0
  508. package/components/Header/HeaderDialog.js.map +1 -0
  509. package/components/Header/HeaderDialogActions.d.ts +7 -0
  510. package/components/Header/HeaderDialogActions.js +26 -0
  511. package/components/Header/HeaderDialogActions.js.map +1 -0
  512. package/components/Header/HeaderDialogButton.d.ts +7 -0
  513. package/components/Header/HeaderDialogButton.js +13 -0
  514. package/components/Header/HeaderDialogButton.js.map +1 -0
  515. package/components/Header/HeaderDialogCloseButton.d.ts +7 -0
  516. package/components/Header/HeaderDialogCloseButton.js +37 -0
  517. package/components/Header/HeaderDialogCloseButton.js.map +1 -0
  518. package/components/Header/HeaderDialogContext.d.ts +12 -0
  519. package/components/Header/HeaderDialogContext.js +14 -0
  520. package/components/Header/HeaderDialogContext.js.map +1 -0
  521. package/components/Header/HeaderDialogLink.d.ts +4 -0
  522. package/components/Header/HeaderDialogLink.js +31 -0
  523. package/components/Header/HeaderDialogLink.js.map +1 -0
  524. package/components/Header/HeaderDialogNav.d.ts +7 -0
  525. package/components/Header/HeaderDialogNav.js +13 -0
  526. package/components/Header/HeaderDialogNav.js.map +1 -0
  527. package/components/Header/HeaderDialogNavItem.d.ts +7 -0
  528. package/components/Header/HeaderDialogNavItem.js +13 -0
  529. package/components/Header/HeaderDialogNavItem.js.map +1 -0
  530. package/components/Header/HeaderDialogText.d.ts +7 -0
  531. package/components/Header/HeaderDialogText.js +13 -0
  532. package/components/Header/HeaderDialogText.js.map +1 -0
  533. package/components/Header/HeaderLink.d.ts +4 -0
  534. package/components/Header/HeaderLink.js +31 -0
  535. package/components/Header/HeaderLink.js.map +1 -0
  536. package/components/Header/HeaderMobileActions.d.ts +7 -0
  537. package/components/Header/HeaderMobileActions.js +33 -0
  538. package/components/Header/HeaderMobileActions.js.map +1 -0
  539. package/components/Header/HeaderNav.d.ts +7 -0
  540. package/components/Header/HeaderNav.js +13 -0
  541. package/components/Header/HeaderNav.js.map +1 -0
  542. package/components/Header/HeaderNavItem.d.ts +7 -0
  543. package/components/Header/HeaderNavItem.js +13 -0
  544. package/components/Header/HeaderNavItem.js.map +1 -0
  545. package/components/Header/constants.d.ts +4 -0
  546. package/components/Header/constants.js +5 -0
  547. package/components/Header/constants.js.map +1 -0
  548. package/components/Header/index.d.ts +18 -0
  549. package/components/Header/index.js +19 -0
  550. package/components/Header/index.js.map +1 -0
  551. package/components/Header/package.json +8 -0
  552. package/components/Header/useHeaderStyleProps.d.ts +32 -0
  553. package/components/Header/useHeaderStyleProps.js +57 -0
  554. package/components/Header/useHeaderStyleProps.js.map +1 -0
  555. package/components/Heading/Heading.cjs +386 -0
  556. package/components/Heading/Heading.cjs.map +1 -0
  557. package/components/Heading/Heading.d.ts +7 -0
  558. package/components/Heading/Heading.js +37 -0
  559. package/components/Heading/Heading.js.map +1 -0
  560. package/components/Heading/index.d.ts +2 -0
  561. package/components/Heading/index.js +3 -0
  562. package/components/Heading/index.js.map +1 -0
  563. package/components/Heading/package.json +8 -0
  564. package/components/Heading/useHeadingStyleProps.d.ts +7 -0
  565. package/components/Heading/useHeadingStyleProps.js +26 -0
  566. package/components/Heading/useHeadingStyleProps.js.map +1 -0
  567. package/components/Icon/Icon.cjs +418 -0
  568. package/components/Icon/Icon.cjs.map +1 -0
  569. package/components/Icon/Icon.d.ts +4 -0
  570. package/components/Icon/Icon.js +43 -0
  571. package/components/Icon/Icon.js.map +1 -0
  572. package/components/Icon/constants.d.ts +1 -0
  573. package/components/Icon/constants.js +2 -0
  574. package/components/Icon/constants.js.map +1 -0
  575. package/components/Icon/index.d.ts +2 -0
  576. package/components/Icon/index.js +3 -0
  577. package/components/Icon/index.js.map +1 -0
  578. package/components/Icon/package.json +8 -0
  579. package/components/Icon/useIconBoxSize.d.ts +2 -0
  580. package/components/Icon/useIconBoxSize.js +3 -0
  581. package/components/Icon/useIconBoxSize.js.map +1 -0
  582. package/components/Icon/useIconStyleProps.d.ts +1324 -0
  583. package/components/Icon/useIconStyleProps.js +43 -0
  584. package/components/Icon/useIconStyleProps.js.map +1 -0
  585. package/components/Icon/utils.d.ts +4 -0
  586. package/components/Icon/utils.js +6 -0
  587. package/components/Icon/utils.js.map +1 -0
  588. package/components/IconBox/IconBox.cjs +632 -0
  589. package/components/IconBox/IconBox.cjs.map +1 -0
  590. package/components/IconBox/IconBox.d.ts +7 -0
  591. package/components/IconBox/IconBox.js +42 -0
  592. package/components/IconBox/IconBox.js.map +1 -0
  593. package/components/IconBox/constants.d.ts +32 -0
  594. package/components/IconBox/constants.js +19 -0
  595. package/components/IconBox/constants.js.map +1 -0
  596. package/components/IconBox/index.d.ts +3 -0
  597. package/components/IconBox/index.js +4 -0
  598. package/components/IconBox/index.js.map +1 -0
  599. package/components/IconBox/package.json +8 -0
  600. package/components/IconBox/useIconBoxColors.d.ts +9 -0
  601. package/components/IconBox/useIconBoxColors.js +22 -0
  602. package/components/IconBox/useIconBoxColors.js.map +1 -0
  603. package/components/IconBox/useIconBoxStyleProps.d.ts +13 -0
  604. package/components/IconBox/useIconBoxStyleProps.js +46 -0
  605. package/components/IconBox/useIconBoxStyleProps.js.map +1 -0
  606. package/components/Item/Item.cjs +545 -0
  607. package/components/Item/Item.cjs.map +1 -0
  608. package/components/Item/Item.d.ts +7 -0
  609. package/components/Item/Item.js +35 -0
  610. package/components/Item/Item.js.map +1 -0
  611. package/components/Item/index.d.ts +2 -0
  612. package/components/Item/index.js +3 -0
  613. package/components/Item/index.js.map +1 -0
  614. package/components/Item/package.json +8 -0
  615. package/components/Item/useItemStyleProps.d.ts +15 -0
  616. package/components/Item/useItemStyleProps.js +42 -0
  617. package/components/Item/useItemStyleProps.js.map +1 -0
  618. package/components/Link/Link.cjs +386 -0
  619. package/components/Link/Link.cjs.map +1 -0
  620. package/components/Link/Link.d.ts +4 -0
  621. package/components/Link/Link.js +34 -0
  622. package/components/Link/Link.js.map +1 -0
  623. package/components/Link/index.d.ts +2 -0
  624. package/components/Link/index.js +3 -0
  625. package/components/Link/index.js.map +1 -0
  626. package/components/Link/package.json +8 -0
  627. package/components/Link/useLinkStyleProps.d.ts +7 -0
  628. package/components/Link/useLinkStyleProps.js +34 -0
  629. package/components/Link/useLinkStyleProps.js.map +1 -0
  630. package/components/Matrix/Matrix.cjs +429 -0
  631. package/components/Matrix/Matrix.cjs.map +1 -0
  632. package/components/Matrix/Matrix.d.ts +7 -0
  633. package/components/Matrix/Matrix.js +37 -0
  634. package/components/Matrix/Matrix.js.map +1 -0
  635. package/components/Matrix/constant.d.ts +5 -0
  636. package/components/Matrix/constant.js +6 -0
  637. package/components/Matrix/constant.js.map +1 -0
  638. package/components/Matrix/index.d.ts +3 -0
  639. package/components/Matrix/index.js +4 -0
  640. package/components/Matrix/index.js.map +1 -0
  641. package/components/Matrix/package.json +8 -0
  642. package/components/Matrix/useMatrixStyleProps.d.ts +9 -0
  643. package/components/Matrix/useMatrixStyleProps.js +41 -0
  644. package/components/Matrix/useMatrixStyleProps.js.map +1 -0
  645. package/components/Modal/Modal.cjs +1167 -0
  646. package/components/Modal/Modal.cjs.map +1 -0
  647. package/components/Modal/Modal.d.ts +7 -0
  648. package/components/Modal/Modal.js +35 -0
  649. package/components/Modal/Modal.js.map +1 -0
  650. package/components/Modal/ModalBody.d.ts +7 -0
  651. package/components/Modal/ModalBody.js +25 -0
  652. package/components/Modal/ModalBody.js.map +1 -0
  653. package/components/Modal/ModalCloseButton.d.ts +7 -0
  654. package/components/Modal/ModalCloseButton.js +25 -0
  655. package/components/Modal/ModalCloseButton.js.map +1 -0
  656. package/components/Modal/ModalContext.d.ts +10 -0
  657. package/components/Modal/ModalContext.js +14 -0
  658. package/components/Modal/ModalContext.js.map +1 -0
  659. package/components/Modal/ModalDialog.d.ts +3 -0
  660. package/components/Modal/ModalDialog.js +33 -0
  661. package/components/Modal/ModalDialog.js.map +1 -0
  662. package/components/Modal/ModalFooter.d.ts +7 -0
  663. package/components/Modal/ModalFooter.js +28 -0
  664. package/components/Modal/ModalFooter.js.map +1 -0
  665. package/components/Modal/ModalHeader.d.ts +7 -0
  666. package/components/Modal/ModalHeader.js +34 -0
  667. package/components/Modal/ModalHeader.js.map +1 -0
  668. package/components/Modal/index.d.ts +8 -0
  669. package/components/Modal/index.js +9 -0
  670. package/components/Modal/index.js.map +1 -0
  671. package/components/Modal/package.json +8 -0
  672. package/components/Modal/useModalDialogStyleProps.d.ts +833 -0
  673. package/components/Modal/useModalDialogStyleProps.js +35 -0
  674. package/components/Modal/useModalDialogStyleProps.js.map +1 -0
  675. package/components/Modal/useModalStyleProps.d.ts +24 -0
  676. package/components/Modal/useModalStyleProps.js +49 -0
  677. package/components/Modal/useModalStyleProps.js.map +1 -0
  678. package/components/Navigation/Navigation.cjs +577 -0
  679. package/components/Navigation/Navigation.cjs.map +1 -0
  680. package/components/Navigation/Navigation.d.ts +7 -0
  681. package/components/Navigation/Navigation.js +31 -0
  682. package/components/Navigation/Navigation.js.map +1 -0
  683. package/components/Navigation/NavigationAction.d.ts +4 -0
  684. package/components/Navigation/NavigationAction.js +36 -0
  685. package/components/Navigation/NavigationAction.js.map +1 -0
  686. package/components/Navigation/NavigationAvatar.d.ts +4 -0
  687. package/components/Navigation/NavigationAvatar.js +36 -0
  688. package/components/Navigation/NavigationAvatar.js.map +1 -0
  689. package/components/Navigation/NavigationItem.d.ts +7 -0
  690. package/components/Navigation/NavigationItem.js +30 -0
  691. package/components/Navigation/NavigationItem.js.map +1 -0
  692. package/components/Navigation/index.d.ts +6 -0
  693. package/components/Navigation/index.js +7 -0
  694. package/components/Navigation/index.js.map +1 -0
  695. package/components/Navigation/package.json +8 -0
  696. package/components/Navigation/useNavigationActionProps.d.ts +6 -0
  697. package/components/Navigation/useNavigationActionProps.js +12 -0
  698. package/components/Navigation/useNavigationActionProps.js.map +1 -0
  699. package/components/Navigation/useNavigationStyleProps.d.ts +19 -0
  700. package/components/Navigation/useNavigationStyleProps.js +45 -0
  701. package/components/Navigation/useNavigationStyleProps.js.map +1 -0
  702. package/components/NoSsr/NoSsr.cjs +15 -0
  703. package/components/NoSsr/NoSsr.cjs.map +1 -0
  704. package/components/NoSsr/NoSsr.d.ts +8 -0
  705. package/components/NoSsr/NoSsr.js +12 -0
  706. package/components/NoSsr/NoSsr.js.map +1 -0
  707. package/components/NoSsr/index.d.ts +1 -0
  708. package/components/NoSsr/index.js +2 -0
  709. package/components/NoSsr/index.js.map +1 -0
  710. package/components/NoSsr/package.json +8 -0
  711. package/components/Pagination/Pagination.cjs +949 -0
  712. package/components/Pagination/Pagination.cjs.map +1 -0
  713. package/components/Pagination/Pagination.d.ts +7 -0
  714. package/components/Pagination/Pagination.js +27 -0
  715. package/components/Pagination/Pagination.js.map +1 -0
  716. package/components/Pagination/PaginationButtonLink.d.ts +4 -0
  717. package/components/Pagination/PaginationButtonLink.js +30 -0
  718. package/components/Pagination/PaginationButtonLink.js.map +1 -0
  719. package/components/Pagination/PaginationItem.d.ts +7 -0
  720. package/components/Pagination/PaginationItem.js +25 -0
  721. package/components/Pagination/PaginationItem.js.map +1 -0
  722. package/components/Pagination/PaginationLink.d.ts +4 -0
  723. package/components/Pagination/PaginationLink.js +30 -0
  724. package/components/Pagination/PaginationLink.js.map +1 -0
  725. package/components/Pagination/PaginationLinkNext.d.ts +4 -0
  726. package/components/Pagination/PaginationLinkNext.js +23 -0
  727. package/components/Pagination/PaginationLinkNext.js.map +1 -0
  728. package/components/Pagination/PaginationLinkPrevious.d.ts +4 -0
  729. package/components/Pagination/PaginationLinkPrevious.js +23 -0
  730. package/components/Pagination/PaginationLinkPrevious.js.map +1 -0
  731. package/components/Pagination/UncontrolledPagination.d.ts +6 -0
  732. package/components/Pagination/UncontrolledPagination.js +45 -0
  733. package/components/Pagination/UncontrolledPagination.js.map +1 -0
  734. package/components/Pagination/constants.d.ts +2 -0
  735. package/components/Pagination/constants.js +3 -0
  736. package/components/Pagination/constants.js.map +1 -0
  737. package/components/Pagination/index.d.ts +9 -0
  738. package/components/Pagination/index.js +10 -0
  739. package/components/Pagination/index.js.map +1 -0
  740. package/components/Pagination/package.json +8 -0
  741. package/components/Pagination/usePagination.d.ts +7 -0
  742. package/components/Pagination/usePagination.js +35 -0
  743. package/components/Pagination/usePagination.js.map +1 -0
  744. package/components/Pagination/usePaginationStyleProps.d.ts +11 -0
  745. package/components/Pagination/usePaginationStyleProps.js +16 -0
  746. package/components/Pagination/usePaginationStyleProps.js.map +1 -0
  747. package/components/PartnerLogo/PartnerLogo.cjs +362 -0
  748. package/components/PartnerLogo/PartnerLogo.cjs.map +1 -0
  749. package/components/PartnerLogo/PartnerLogo.d.ts +7 -0
  750. package/components/PartnerLogo/PartnerLogo.js +32 -0
  751. package/components/PartnerLogo/PartnerLogo.js.map +1 -0
  752. package/components/PartnerLogo/index.d.ts +3 -0
  753. package/components/PartnerLogo/index.js +4 -0
  754. package/components/PartnerLogo/index.js.map +1 -0
  755. package/components/PartnerLogo/package.json +8 -0
  756. package/components/PartnerLogo/usePartnerLogoStyleProps.d.ts +6 -0
  757. package/components/PartnerLogo/usePartnerLogoStyleProps.js +30 -0
  758. package/components/PartnerLogo/usePartnerLogoStyleProps.js.map +1 -0
  759. package/components/Pill/Pill.cjs +375 -0
  760. package/components/Pill/Pill.cjs.map +1 -0
  761. package/components/Pill/Pill.d.ts +7 -0
  762. package/components/Pill/Pill.js +32 -0
  763. package/components/Pill/Pill.js.map +1 -0
  764. package/components/Pill/constants.d.ts +4 -0
  765. package/components/Pill/constants.js +5 -0
  766. package/components/Pill/constants.js.map +1 -0
  767. package/components/Pill/index.d.ts +3 -0
  768. package/components/Pill/index.js +4 -0
  769. package/components/Pill/index.js.map +1 -0
  770. package/components/Pill/package.json +8 -0
  771. package/components/Pill/usePillStyleProps.d.ts +7 -0
  772. package/components/Pill/usePillStyleProps.js +24 -0
  773. package/components/Pill/usePillStyleProps.js.map +1 -0
  774. package/components/PricingPlan/PricingPlan.cjs +1783 -0
  775. package/components/PricingPlan/PricingPlan.cjs.map +1 -0
  776. package/components/PricingPlan/PricingPlan.d.ts +7 -0
  777. package/components/PricingPlan/PricingPlan.js +39 -0
  778. package/components/PricingPlan/PricingPlan.js.map +1 -0
  779. package/components/PricingPlan/PricingPlanBody.d.ts +7 -0
  780. package/components/PricingPlan/PricingPlanBody.js +43 -0
  781. package/components/PricingPlan/PricingPlanBody.js.map +1 -0
  782. package/components/PricingPlan/PricingPlanFeatureTitle.d.ts +10 -0
  783. package/components/PricingPlan/PricingPlanFeatureTitle.js +48 -0
  784. package/components/PricingPlan/PricingPlanFeatureTitle.js.map +1 -0
  785. package/components/PricingPlan/PricingPlanFooter.d.ts +7 -0
  786. package/components/PricingPlan/PricingPlanFooter.js +26 -0
  787. package/components/PricingPlan/PricingPlanFooter.js.map +1 -0
  788. package/components/PricingPlan/PricingPlanHeader.d.ts +7 -0
  789. package/components/PricingPlan/PricingPlanHeader.js +47 -0
  790. package/components/PricingPlan/PricingPlanHeader.js.map +1 -0
  791. package/components/PricingPlan/constants.d.ts +1 -0
  792. package/components/PricingPlan/constants.js +2 -0
  793. package/components/PricingPlan/constants.js.map +1 -0
  794. package/components/PricingPlan/index.d.ts +5 -0
  795. package/components/PricingPlan/index.js +6 -0
  796. package/components/PricingPlan/index.js.map +1 -0
  797. package/components/PricingPlan/package.json +8 -0
  798. package/components/PricingPlan/usePricingPlanStyleProps.d.ts +35 -0
  799. package/components/PricingPlan/usePricingPlanStyleProps.js +73 -0
  800. package/components/PricingPlan/usePricingPlanStyleProps.js.map +1 -0
  801. package/components/ProductLogo/ProductLogo.cjs +305 -0
  802. package/components/ProductLogo/ProductLogo.cjs.map +1 -0
  803. package/components/ProductLogo/ProductLogo.d.ts +7 -0
  804. package/components/ProductLogo/ProductLogo.js +24 -0
  805. package/components/ProductLogo/ProductLogo.js.map +1 -0
  806. package/components/ProductLogo/index.d.ts +2 -0
  807. package/components/ProductLogo/index.js +3 -0
  808. package/components/ProductLogo/index.js.map +1 -0
  809. package/components/ProductLogo/package.json +8 -0
  810. package/components/Radio/Radio.cjs +574 -0
  811. package/components/Radio/Radio.cjs.map +1 -0
  812. package/components/Radio/Radio.d.ts +4 -0
  813. package/components/Radio/Radio.js +33 -0
  814. package/components/Radio/Radio.js.map +1 -0
  815. package/components/Radio/index.d.ts +2 -0
  816. package/components/Radio/index.js +3 -0
  817. package/components/Radio/index.js.map +1 -0
  818. package/components/Radio/package.json +8 -0
  819. package/components/Radio/useRadioStyleProps.d.ts +12 -0
  820. package/components/Radio/useRadioStyleProps.js +45 -0
  821. package/components/Radio/useRadioStyleProps.js.map +1 -0
  822. package/components/ScrollView/ScrollView.cjs +808 -0
  823. package/components/ScrollView/ScrollView.cjs.map +1 -0
  824. package/components/ScrollView/ScrollView.d.ts +7 -0
  825. package/components/ScrollView/ScrollView.js +45 -0
  826. package/components/ScrollView/ScrollView.js.map +1 -0
  827. package/components/ScrollView/ScrollViewArrows.d.ts +7 -0
  828. package/components/ScrollView/ScrollViewArrows.js +42 -0
  829. package/components/ScrollView/ScrollViewArrows.js.map +1 -0
  830. package/components/ScrollView/constants.d.ts +8 -0
  831. package/components/ScrollView/constants.js +10 -0
  832. package/components/ScrollView/constants.js.map +1 -0
  833. package/components/ScrollView/index.d.ts +6 -0
  834. package/components/ScrollView/index.js +7 -0
  835. package/components/ScrollView/index.js.map +1 -0
  836. package/components/ScrollView/package.json +8 -0
  837. package/components/ScrollView/useScrollPosition.d.ts +16 -0
  838. package/components/ScrollView/useScrollPosition.js +52 -0
  839. package/components/ScrollView/useScrollPosition.js.map +1 -0
  840. package/components/ScrollView/useScrollViewArrows.d.ts +9 -0
  841. package/components/ScrollView/useScrollViewArrows.js +33 -0
  842. package/components/ScrollView/useScrollViewArrows.js.map +1 -0
  843. package/components/ScrollView/useScrollViewStyleProps.d.ts +18 -0
  844. package/components/ScrollView/useScrollViewStyleProps.js +34 -0
  845. package/components/ScrollView/useScrollViewStyleProps.js.map +1 -0
  846. package/components/Section/Section.cjs +442 -0
  847. package/components/Section/Section.cjs.map +1 -0
  848. package/components/Section/Section.d.ts +7 -0
  849. package/components/Section/Section.js +42 -0
  850. package/components/Section/Section.js.map +1 -0
  851. package/components/Section/index.d.ts +3 -0
  852. package/components/Section/index.js +4 -0
  853. package/components/Section/index.js.map +1 -0
  854. package/components/Section/package.json +8 -0
  855. package/components/Section/useSectionSizeProps.d.ts +6 -0
  856. package/components/Section/useSectionSizeProps.js +16 -0
  857. package/components/Section/useSectionSizeProps.js.map +1 -0
  858. package/components/Section/useSectionStyleProps.d.ts +6 -0
  859. package/components/Section/useSectionStyleProps.js +14 -0
  860. package/components/Section/useSectionStyleProps.js.map +1 -0
  861. package/components/SegmentedControl/SegmentedControl.cjs +509 -0
  862. package/components/SegmentedControl/SegmentedControl.cjs.map +1 -0
  863. package/components/SegmentedControl/SegmentedControl.d.ts +7 -0
  864. package/components/SegmentedControl/SegmentedControl.js +44 -0
  865. package/components/SegmentedControl/SegmentedControl.js.map +1 -0
  866. package/components/SegmentedControl/SegmentedControlContext.d.ts +12 -0
  867. package/components/SegmentedControl/SegmentedControlContext.js +15 -0
  868. package/components/SegmentedControl/SegmentedControlContext.js.map +1 -0
  869. package/components/SegmentedControl/SegmentedControlItem.d.ts +4 -0
  870. package/components/SegmentedControl/SegmentedControlItem.js +48 -0
  871. package/components/SegmentedControl/SegmentedControlItem.js.map +1 -0
  872. package/components/SegmentedControl/UncontrolledSegmentedControl.d.ts +7 -0
  873. package/components/SegmentedControl/UncontrolledSegmentedControl.js +49 -0
  874. package/components/SegmentedControl/UncontrolledSegmentedControl.js.map +1 -0
  875. package/components/SegmentedControl/index.d.ts +4 -0
  876. package/components/SegmentedControl/index.js +5 -0
  877. package/components/SegmentedControl/index.js.map +1 -0
  878. package/components/SegmentedControl/package.json +8 -0
  879. package/components/SegmentedControl/useSegmentedControl.d.ts +9 -0
  880. package/components/SegmentedControl/useSegmentedControl.js +25 -0
  881. package/components/SegmentedControl/useSegmentedControl.js.map +1 -0
  882. package/components/SegmentedControl/useSegmentedControlStyleProps.d.ts +12 -0
  883. package/components/SegmentedControl/useSegmentedControlStyleProps.js +35 -0
  884. package/components/SegmentedControl/useSegmentedControlStyleProps.js.map +1 -0
  885. package/components/Select/Select.cjs +636 -0
  886. package/components/Select/Select.cjs.map +1 -0
  887. package/components/Select/Select.d.ts +4 -0
  888. package/components/Select/Select.js +51 -0
  889. package/components/Select/Select.js.map +1 -0
  890. package/components/Select/index.d.ts +2 -0
  891. package/components/Select/index.js +3 -0
  892. package/components/Select/index.js.map +1 -0
  893. package/components/Select/package.json +8 -0
  894. package/components/Select/useSelectStyleProps.d.ts +19 -0
  895. package/components/Select/useSelectStyleProps.js +37 -0
  896. package/components/Select/useSelectStyleProps.js.map +1 -0
  897. package/components/Skeleton/Skeleton.cjs +507 -0
  898. package/components/Skeleton/Skeleton.cjs.map +1 -0
  899. package/components/Skeleton/SkeletonHeading.d.ts +7 -0
  900. package/components/Skeleton/SkeletonHeading.js +41 -0
  901. package/components/Skeleton/SkeletonHeading.js.map +1 -0
  902. package/components/Skeleton/SkeletonItem.d.ts +6 -0
  903. package/components/Skeleton/SkeletonItem.js +11 -0
  904. package/components/Skeleton/SkeletonItem.js.map +1 -0
  905. package/components/Skeleton/SkeletonShape.d.ts +7 -0
  906. package/components/Skeleton/SkeletonShape.js +37 -0
  907. package/components/Skeleton/SkeletonShape.js.map +1 -0
  908. package/components/Skeleton/SkeletonText.d.ts +7 -0
  909. package/components/Skeleton/SkeletonText.js +41 -0
  910. package/components/Skeleton/SkeletonText.js.map +1 -0
  911. package/components/Skeleton/constants.d.ts +1 -0
  912. package/components/Skeleton/constants.js +2 -0
  913. package/components/Skeleton/constants.js.map +1 -0
  914. package/components/Skeleton/index.d.ts +5 -0
  915. package/components/Skeleton/index.js +6 -0
  916. package/components/Skeleton/index.js.map +1 -0
  917. package/components/Skeleton/package.json +8 -0
  918. package/components/Skeleton/useSkeletonShapeStyleProps.d.ts +850 -0
  919. package/components/Skeleton/useSkeletonShapeStyleProps.js +49 -0
  920. package/components/Skeleton/useSkeletonShapeStyleProps.js.map +1 -0
  921. package/components/Skeleton/useSkeletonStyleProps.d.ts +12 -0
  922. package/components/Skeleton/useSkeletonStyleProps.js +34 -0
  923. package/components/Skeleton/useSkeletonStyleProps.js.map +1 -0
  924. package/components/SkipLink/SkipLink.cjs +364 -0
  925. package/components/SkipLink/SkipLink.cjs.map +1 -0
  926. package/components/SkipLink/SkipLink.d.ts +4 -0
  927. package/components/SkipLink/SkipLink.js +31 -0
  928. package/components/SkipLink/SkipLink.js.map +1 -0
  929. package/components/SkipLink/index.d.ts +2 -0
  930. package/components/SkipLink/index.js +3 -0
  931. package/components/SkipLink/index.js.map +1 -0
  932. package/components/SkipLink/package.json +8 -0
  933. package/components/SkipLink/useSkipLinkStyleProps.d.ts +6 -0
  934. package/components/SkipLink/useSkipLinkStyleProps.js +21 -0
  935. package/components/SkipLink/useSkipLinkStyleProps.js.map +1 -0
  936. package/components/Slider/Slider.cjs +648 -0
  937. package/components/Slider/Slider.cjs.map +1 -0
  938. package/components/Slider/Slider.d.ts +4 -0
  939. package/components/Slider/Slider.js +49 -0
  940. package/components/Slider/Slider.js.map +1 -0
  941. package/components/Slider/UncontrolledSlider.d.ts +7 -0
  942. package/components/Slider/UncontrolledSlider.js +14 -0
  943. package/components/Slider/UncontrolledSlider.js.map +1 -0
  944. package/components/Slider/constants.d.ts +7 -0
  945. package/components/Slider/constants.js +8 -0
  946. package/components/Slider/constants.js.map +1 -0
  947. package/components/Slider/index.d.ts +2 -0
  948. package/components/Slider/index.js +3 -0
  949. package/components/Slider/index.js.map +1 -0
  950. package/components/Slider/package.json +8 -0
  951. package/components/Slider/useSlider.d.ts +6 -0
  952. package/components/Slider/useSlider.js +13 -0
  953. package/components/Slider/useSlider.js.map +1 -0
  954. package/components/Slider/useSliderStyleProps.d.ts +14 -0
  955. package/components/Slider/useSliderStyleProps.js +43 -0
  956. package/components/Slider/useSliderStyleProps.js.map +1 -0
  957. package/components/Spinner/Spinner.cjs +448 -0
  958. package/components/Spinner/Spinner.cjs.map +1 -0
  959. package/components/Spinner/Spinner.d.ts +6 -0
  960. package/components/Spinner/Spinner.js +14 -0
  961. package/components/Spinner/Spinner.js.map +1 -0
  962. package/components/Spinner/index.d.ts +2 -0
  963. package/components/Spinner/index.js +3 -0
  964. package/components/Spinner/index.js.map +1 -0
  965. package/components/Spinner/package.json +8 -0
  966. package/components/Spinner/useSpinnerStyleProps.d.ts +6 -0
  967. package/components/Spinner/useSpinnerStyleProps.js +25 -0
  968. package/components/Spinner/useSpinnerStyleProps.js.map +1 -0
  969. package/components/SplitButton/SplitButton.cjs +1040 -0
  970. package/components/SplitButton/SplitButton.cjs.map +1 -0
  971. package/components/SplitButton/SplitButton.d.ts +4 -0
  972. package/components/SplitButton/SplitButton.js +32 -0
  973. package/components/SplitButton/SplitButton.js.map +1 -0
  974. package/components/SplitButton/UncontrolledSplitButton.d.ts +4 -0
  975. package/components/SplitButton/UncontrolledSplitButton.js +38 -0
  976. package/components/SplitButton/UncontrolledSplitButton.js.map +1 -0
  977. package/components/SplitButton/index.d.ts +3 -0
  978. package/components/SplitButton/index.js +4 -0
  979. package/components/SplitButton/index.js.map +1 -0
  980. package/components/SplitButton/package.json +8 -0
  981. package/components/SplitButton/useSplitButtonStyleProps.d.ts +4 -0
  982. package/components/SplitButton/useSplitButtonStyleProps.js +8 -0
  983. package/components/SplitButton/useSplitButtonStyleProps.js.map +1 -0
  984. package/components/Stack/Stack.cjs +433 -0
  985. package/components/Stack/Stack.cjs.map +1 -0
  986. package/components/Stack/Stack.d.ts +7 -0
  987. package/components/Stack/Stack.js +39 -0
  988. package/components/Stack/Stack.js.map +1 -0
  989. package/components/Stack/StackItem.d.ts +7 -0
  990. package/components/Stack/StackItem.js +30 -0
  991. package/components/Stack/StackItem.js.map +1 -0
  992. package/components/Stack/index.d.ts +2 -0
  993. package/components/Stack/index.js +3 -0
  994. package/components/Stack/index.js.map +1 -0
  995. package/components/Stack/package.json +8 -0
  996. package/components/Stack/useStackStyleProps.d.ts +14 -0
  997. package/components/Stack/useStackStyleProps.js +38 -0
  998. package/components/Stack/useStackStyleProps.js.map +1 -0
  999. package/components/Tabs/TabContent.d.ts +6 -0
  1000. package/components/Tabs/TabContent.js +22 -0
  1001. package/components/Tabs/TabContent.js.map +1 -0
  1002. package/components/Tabs/TabContext.d.ts +8 -0
  1003. package/components/Tabs/TabContext.js +14 -0
  1004. package/components/Tabs/TabContext.js.map +1 -0
  1005. package/components/Tabs/TabItem.d.ts +6 -0
  1006. package/components/Tabs/TabItem.js +37 -0
  1007. package/components/Tabs/TabItem.js.map +1 -0
  1008. package/components/Tabs/TabLink.d.ts +4 -0
  1009. package/components/Tabs/TabLink.js +33 -0
  1010. package/components/Tabs/TabLink.js.map +1 -0
  1011. package/components/Tabs/TabList.d.ts +7 -0
  1012. package/components/Tabs/TabList.js +28 -0
  1013. package/components/Tabs/TabList.js.map +1 -0
  1014. package/components/Tabs/TabPane.d.ts +6 -0
  1015. package/components/Tabs/TabPane.js +27 -0
  1016. package/components/Tabs/TabPane.js.map +1 -0
  1017. package/components/Tabs/Tabs.cjs +530 -0
  1018. package/components/Tabs/Tabs.cjs.map +1 -0
  1019. package/components/Tabs/Tabs.d.ts +6 -0
  1020. package/components/Tabs/Tabs.js +7 -0
  1021. package/components/Tabs/Tabs.js.map +1 -0
  1022. package/components/Tabs/UncontrolledTabs.d.ts +6 -0
  1023. package/components/Tabs/UncontrolledTabs.js +11 -0
  1024. package/components/Tabs/UncontrolledTabs.js.map +1 -0
  1025. package/components/Tabs/index.d.ts +11 -0
  1026. package/components/Tabs/index.js +12 -0
  1027. package/components/Tabs/index.js.map +1 -0
  1028. package/components/Tabs/package.json +8 -0
  1029. package/components/Tabs/useTabs.d.ts +5 -0
  1030. package/components/Tabs/useTabs.js +10 -0
  1031. package/components/Tabs/useTabs.js.map +1 -0
  1032. package/components/Tabs/useTabsStyleProps.d.ts +15 -0
  1033. package/components/Tabs/useTabsStyleProps.js +39 -0
  1034. package/components/Tabs/useTabsStyleProps.js.map +1 -0
  1035. package/components/Tag/Tag.cjs +383 -0
  1036. package/components/Tag/Tag.cjs.map +1 -0
  1037. package/components/Tag/Tag.d.ts +4 -0
  1038. package/components/Tag/Tag.js +36 -0
  1039. package/components/Tag/Tag.js.map +1 -0
  1040. package/components/Tag/constants.d.ts +3 -0
  1041. package/components/Tag/constants.js +4 -0
  1042. package/components/Tag/constants.js.map +1 -0
  1043. package/components/Tag/index.d.ts +3 -0
  1044. package/components/Tag/index.js +4 -0
  1045. package/components/Tag/index.js.map +1 -0
  1046. package/components/Tag/package.json +8 -0
  1047. package/components/Tag/useTagStyleProps.d.ts +7 -0
  1048. package/components/Tag/useTagStyleProps.js +30 -0
  1049. package/components/Tag/useTagStyleProps.js.map +1 -0
  1050. package/components/Text/Text.cjs +385 -0
  1051. package/components/Text/Text.cjs.map +1 -0
  1052. package/components/Text/Text.d.ts +7 -0
  1053. package/components/Text/Text.js +38 -0
  1054. package/components/Text/Text.js.map +1 -0
  1055. package/components/Text/index.d.ts +2 -0
  1056. package/components/Text/index.js +3 -0
  1057. package/components/Text/index.js.map +1 -0
  1058. package/components/Text/package.json +8 -0
  1059. package/components/Text/useTextStyleProps.d.ts +7 -0
  1060. package/components/Text/useTextStyleProps.js +26 -0
  1061. package/components/Text/useTextStyleProps.js.map +1 -0
  1062. package/components/TextArea/TextArea.cjs +810 -0
  1063. package/components/TextArea/TextArea.cjs.map +1 -0
  1064. package/components/TextArea/TextArea.d.ts +4 -0
  1065. package/components/TextArea/TextArea.js +30 -0
  1066. package/components/TextArea/TextArea.js.map +1 -0
  1067. package/components/TextArea/index.d.ts +1 -0
  1068. package/components/TextArea/index.js +2 -0
  1069. package/components/TextArea/index.js.map +1 -0
  1070. package/components/TextArea/package.json +8 -0
  1071. package/components/TextArea/useAdjustHeight.d.ts +13 -0
  1072. package/components/TextArea/useAdjustHeight.js +37 -0
  1073. package/components/TextArea/useAdjustHeight.js.map +1 -0
  1074. package/components/TextField/TextField.cjs +754 -0
  1075. package/components/TextField/TextField.cjs.map +1 -0
  1076. package/components/TextField/TextField.d.ts +4 -0
  1077. package/components/TextField/TextField.js +8 -0
  1078. package/components/TextField/TextField.js.map +1 -0
  1079. package/components/TextField/index.d.ts +1 -0
  1080. package/components/TextField/index.js +2 -0
  1081. package/components/TextField/index.js.map +1 -0
  1082. package/components/TextField/package.json +8 -0
  1083. package/components/TextFieldBase/TextFieldBase.cjs +750 -0
  1084. package/components/TextFieldBase/TextFieldBase.cjs.map +1 -0
  1085. package/components/TextFieldBase/TextFieldBase.d.ts +7 -0
  1086. package/components/TextFieldBase/TextFieldBase.js +44 -0
  1087. package/components/TextFieldBase/TextFieldBase.js.map +1 -0
  1088. package/components/TextFieldBase/TextFieldBaseInput.d.ts +4 -0
  1089. package/components/TextFieldBase/TextFieldBaseInput.js +27 -0
  1090. package/components/TextFieldBase/TextFieldBaseInput.js.map +1 -0
  1091. package/components/TextFieldBase/TextFieldBasePasswordToggle.d.ts +6 -0
  1092. package/components/TextFieldBase/TextFieldBasePasswordToggle.js +17 -0
  1093. package/components/TextFieldBase/TextFieldBasePasswordToggle.js.map +1 -0
  1094. package/components/TextFieldBase/index.d.ts +1 -0
  1095. package/components/TextFieldBase/index.js +2 -0
  1096. package/components/TextFieldBase/index.js.map +1 -0
  1097. package/components/TextFieldBase/package.json +8 -0
  1098. package/components/TextFieldBase/usePasswordToggle.d.ts +4 -0
  1099. package/components/TextFieldBase/usePasswordToggle.js +11 -0
  1100. package/components/TextFieldBase/usePasswordToggle.js.map +1 -0
  1101. package/components/TextFieldBase/useTextFieldBaseInputStyleProps.d.ts +8 -0
  1102. package/components/TextFieldBase/useTextFieldBaseInputStyleProps.js +25 -0
  1103. package/components/TextFieldBase/useTextFieldBaseInputStyleProps.js.map +1 -0
  1104. package/components/TextFieldBase/useTextFieldBasePasswordToggleStyleProps.d.ts +8 -0
  1105. package/components/TextFieldBase/useTextFieldBasePasswordToggleStyleProps.js +15 -0
  1106. package/components/TextFieldBase/useTextFieldBasePasswordToggleStyleProps.js.map +1 -0
  1107. package/components/TextFieldBase/useTextFieldBaseStyleProps.d.ts +15 -0
  1108. package/components/TextFieldBase/useTextFieldBaseStyleProps.js +55 -0
  1109. package/components/TextFieldBase/useTextFieldBaseStyleProps.js.map +1 -0
  1110. package/components/TextFieldBase/withPasswordToggle.d.ts +10 -0
  1111. package/components/TextFieldBase/withPasswordToggle.js +29 -0
  1112. package/components/TextFieldBase/withPasswordToggle.js.map +1 -0
  1113. package/components/Timeline/Timeline.cjs +514 -0
  1114. package/components/Timeline/Timeline.cjs.map +1 -0
  1115. package/components/Timeline/Timeline.d.ts +7 -0
  1116. package/components/Timeline/Timeline.js +32 -0
  1117. package/components/Timeline/Timeline.js.map +1 -0
  1118. package/components/Timeline/TimelineContent.d.ts +7 -0
  1119. package/components/Timeline/TimelineContent.js +25 -0
  1120. package/components/Timeline/TimelineContent.js.map +1 -0
  1121. package/components/Timeline/TimelineHeading.d.ts +7 -0
  1122. package/components/Timeline/TimelineHeading.js +25 -0
  1123. package/components/Timeline/TimelineHeading.js.map +1 -0
  1124. package/components/Timeline/TimelineMarker.d.ts +7 -0
  1125. package/components/Timeline/TimelineMarker.js +35 -0
  1126. package/components/Timeline/TimelineMarker.js.map +1 -0
  1127. package/components/Timeline/TimelineStep.d.ts +7 -0
  1128. package/components/Timeline/TimelineStep.js +30 -0
  1129. package/components/Timeline/TimelineStep.js.map +1 -0
  1130. package/components/Timeline/constants.d.ts +6 -0
  1131. package/components/Timeline/constants.js +8 -0
  1132. package/components/Timeline/constants.js.map +1 -0
  1133. package/components/Timeline/index.d.ts +6 -0
  1134. package/components/Timeline/index.js +7 -0
  1135. package/components/Timeline/index.js.map +1 -0
  1136. package/components/Timeline/package.json +8 -0
  1137. package/components/Timeline/useTimelineStyleProps.d.ts +20 -0
  1138. package/components/Timeline/useTimelineStyleProps.js +49 -0
  1139. package/components/Timeline/useTimelineStyleProps.js.map +1 -0
  1140. package/components/Toast/Toast.cjs +736 -0
  1141. package/components/Toast/Toast.cjs.map +1 -0
  1142. package/components/Toast/Toast.d.ts +7 -0
  1143. package/components/Toast/Toast.js +33 -0
  1144. package/components/Toast/Toast.js.map +1 -0
  1145. package/components/Toast/ToastBar.d.ts +7 -0
  1146. package/components/Toast/ToastBar.js +38 -0
  1147. package/components/Toast/ToastBar.js.map +1 -0
  1148. package/components/Toast/ToastBarLink.d.ts +4 -0
  1149. package/components/Toast/ToastBarLink.js +31 -0
  1150. package/components/Toast/ToastBarLink.js.map +1 -0
  1151. package/components/Toast/ToastBarMessage.d.ts +7 -0
  1152. package/components/Toast/ToastBarMessage.js +23 -0
  1153. package/components/Toast/ToastBarMessage.js.map +1 -0
  1154. package/components/Toast/ToastCloseButton.d.ts +7 -0
  1155. package/components/Toast/ToastCloseButton.js +32 -0
  1156. package/components/Toast/ToastCloseButton.js.map +1 -0
  1157. package/components/Toast/ToastContext.d.ts +43 -0
  1158. package/components/Toast/ToastContext.js +102 -0
  1159. package/components/Toast/ToastContext.js.map +1 -0
  1160. package/components/Toast/UncontrolledToast.d.ts +7 -0
  1161. package/components/Toast/UncontrolledToast.js +31 -0
  1162. package/components/Toast/UncontrolledToast.js.map +1 -0
  1163. package/components/Toast/constants.d.ts +9 -0
  1164. package/components/Toast/constants.js +15 -0
  1165. package/components/Toast/constants.js.map +1 -0
  1166. package/components/Toast/index.d.ts +7 -0
  1167. package/components/Toast/index.js +8 -0
  1168. package/components/Toast/index.js.map +1 -0
  1169. package/components/Toast/package.json +8 -0
  1170. package/components/Toast/useToast.d.ts +1 -0
  1171. package/components/Toast/useToast.js +11 -0
  1172. package/components/Toast/useToast.js.map +1 -0
  1173. package/components/Toast/useToastBarStyleProps.d.ts +31 -0
  1174. package/components/Toast/useToastBarStyleProps.js +40 -0
  1175. package/components/Toast/useToastBarStyleProps.js.map +1 -0
  1176. package/components/Toast/useToastIcon.d.ts +2 -0
  1177. package/components/Toast/useToastIcon.js +13 -0
  1178. package/components/Toast/useToastIcon.js.map +1 -0
  1179. package/components/Toast/useToastStyleProps.d.ts +9 -0
  1180. package/components/Toast/useToastStyleProps.js +37 -0
  1181. package/components/Toast/useToastStyleProps.js.map +1 -0
  1182. package/components/Toggle/Toggle.cjs +647 -0
  1183. package/components/Toggle/Toggle.cjs.map +1 -0
  1184. package/components/Toggle/Toggle.d.ts +4 -0
  1185. package/components/Toggle/Toggle.js +44 -0
  1186. package/components/Toggle/Toggle.js.map +1 -0
  1187. package/components/Toggle/index.d.ts +2 -0
  1188. package/components/Toggle/index.js +3 -0
  1189. package/components/Toggle/index.js.map +1 -0
  1190. package/components/Toggle/package.json +8 -0
  1191. package/components/Toggle/useToggleStyleProps.d.ts +13 -0
  1192. package/components/Toggle/useToggleStyleProps.js +52 -0
  1193. package/components/Toggle/useToggleStyleProps.js.map +1 -0
  1194. package/components/Tooltip/Tooltip.cjs +867 -0
  1195. package/components/Tooltip/Tooltip.cjs.map +1 -0
  1196. package/components/Tooltip/Tooltip.d.ts +7 -0
  1197. package/components/Tooltip/Tooltip.js +90 -0
  1198. package/components/Tooltip/Tooltip.js.map +1 -0
  1199. package/components/Tooltip/TooltipCloseButton.d.ts +7 -0
  1200. package/components/Tooltip/TooltipCloseButton.js +29 -0
  1201. package/components/Tooltip/TooltipCloseButton.js.map +1 -0
  1202. package/components/Tooltip/TooltipContext.d.ts +29 -0
  1203. package/components/Tooltip/TooltipContext.js +34 -0
  1204. package/components/Tooltip/TooltipContext.js.map +1 -0
  1205. package/components/Tooltip/TooltipPopover.d.ts +7 -0
  1206. package/components/Tooltip/TooltipPopover.js +63 -0
  1207. package/components/Tooltip/TooltipPopover.js.map +1 -0
  1208. package/components/Tooltip/TooltipTrigger.d.ts +7 -0
  1209. package/components/Tooltip/TooltipTrigger.js +31 -0
  1210. package/components/Tooltip/TooltipTrigger.js.map +1 -0
  1211. package/components/Tooltip/UncontrolledTooltip.d.ts +7 -0
  1212. package/components/Tooltip/UncontrolledTooltip.js +23 -0
  1213. package/components/Tooltip/UncontrolledTooltip.js.map +1 -0
  1214. package/components/Tooltip/index.d.ts +7 -0
  1215. package/components/Tooltip/index.js +8 -0
  1216. package/components/Tooltip/index.js.map +1 -0
  1217. package/components/Tooltip/package.json +8 -0
  1218. package/components/Tooltip/useFloating.d.ts +58 -0
  1219. package/components/Tooltip/useFloating.js +123 -0
  1220. package/components/Tooltip/useFloating.js.map +1 -0
  1221. package/components/Tooltip/useTooltip.d.ts +5 -0
  1222. package/components/Tooltip/useTooltip.js +10 -0
  1223. package/components/Tooltip/useTooltip.js.map +1 -0
  1224. package/components/Tooltip/useTooltipStyleProps.d.ts +16 -0
  1225. package/components/Tooltip/useTooltipStyleProps.js +39 -0
  1226. package/components/Tooltip/useTooltipStyleProps.js.map +1 -0
  1227. package/components/Truncate/Truncate.cjs +421 -0
  1228. package/components/Truncate/Truncate.cjs.map +1 -0
  1229. package/components/Truncate/Truncate.d.ts +7 -0
  1230. package/components/Truncate/Truncate.js +36 -0
  1231. package/components/Truncate/Truncate.js.map +1 -0
  1232. package/components/Truncate/index.d.ts +3 -0
  1233. package/components/Truncate/index.js +4 -0
  1234. package/components/Truncate/index.js.map +1 -0
  1235. package/components/Truncate/package.json +8 -0
  1236. package/components/Truncate/useTruncateStyleProps.d.ts +14 -0
  1237. package/components/Truncate/useTruncateStyleProps.js +30 -0
  1238. package/components/Truncate/useTruncateStyleProps.js.map +1 -0
  1239. package/components/Truncate/useTruncatedText.d.ts +6 -0
  1240. package/components/Truncate/useTruncatedText.js +36 -0
  1241. package/components/Truncate/useTruncatedText.js.map +1 -0
  1242. package/components/UNSTABLE_Header/UNSTABLE_Header.cjs +400 -0
  1243. package/components/UNSTABLE_Header/UNSTABLE_Header.cjs.map +1 -0
  1244. package/components/UNSTABLE_Header/UNSTABLE_Header.d.ts +7 -0
  1245. package/components/UNSTABLE_Header/UNSTABLE_Header.js +25 -0
  1246. package/components/UNSTABLE_Header/UNSTABLE_Header.js.map +1 -0
  1247. package/components/UNSTABLE_Header/UNSTABLE_HeaderLogo.d.ts +4 -0
  1248. package/components/UNSTABLE_Header/UNSTABLE_HeaderLogo.js +31 -0
  1249. package/components/UNSTABLE_Header/UNSTABLE_HeaderLogo.js.map +1 -0
  1250. package/components/UNSTABLE_Header/index.d.ts +3 -0
  1251. package/components/UNSTABLE_Header/index.js +4 -0
  1252. package/components/UNSTABLE_Header/index.js.map +1 -0
  1253. package/components/UNSTABLE_Header/package.json +8 -0
  1254. package/components/UNSTABLE_Header/useUnstableHeaderStyleProps.d.ts +9 -0
  1255. package/components/UNSTABLE_Header/useUnstableHeaderStyleProps.js +30 -0
  1256. package/components/UNSTABLE_Header/useUnstableHeaderStyleProps.js.map +1 -0
  1257. package/components/VisuallyHidden/VisuallyHidden.cjs +361 -0
  1258. package/components/VisuallyHidden/VisuallyHidden.cjs.map +1 -0
  1259. package/components/VisuallyHidden/VisuallyHidden.d.ts +7 -0
  1260. package/components/VisuallyHidden/VisuallyHidden.js +26 -0
  1261. package/components/VisuallyHidden/VisuallyHidden.js.map +1 -0
  1262. package/components/VisuallyHidden/index.d.ts +1 -0
  1263. package/components/VisuallyHidden/index.js +2 -0
  1264. package/components/VisuallyHidden/index.js.map +1 -0
  1265. package/components/VisuallyHidden/package.json +8 -0
  1266. package/components/VisuallyHidden/useVisuallyHiddenProps.d.ts +7 -0
  1267. package/components/VisuallyHidden/useVisuallyHiddenProps.js +21 -0
  1268. package/components/VisuallyHidden/useVisuallyHiddenProps.js.map +1 -0
  1269. package/components/components.cjs +8434 -0
  1270. package/components/components.cjs.map +1 -0
  1271. package/components/index.d.ts +62 -0
  1272. package/components/index.js +63 -0
  1273. package/components/index.js.map +1 -0
  1274. package/components/package.json +8 -0
  1275. package/constants/classes.d.ts +1 -0
  1276. package/constants/classes.js +2 -0
  1277. package/constants/classes.js.map +1 -0
  1278. package/constants/colors.d.ts +4 -0
  1279. package/constants/colors.js +5 -0
  1280. package/constants/colors.js.map +1 -0
  1281. package/constants/constants.cjs +244 -0
  1282. package/constants/constants.cjs.map +1 -0
  1283. package/constants/dictionaries.d.ts +139 -0
  1284. package/constants/dictionaries.js +117 -0
  1285. package/constants/dictionaries.js.map +1 -0
  1286. package/constants/direction.d.ts +15 -0
  1287. package/constants/direction.js +12 -0
  1288. package/constants/direction.js.map +1 -0
  1289. package/constants/index.d.ts +8 -0
  1290. package/constants/index.js +9 -0
  1291. package/constants/index.js.map +1 -0
  1292. package/constants/media.d.ts +4 -0
  1293. package/constants/media.js +5 -0
  1294. package/constants/media.js.map +1 -0
  1295. package/constants/package.json +8 -0
  1296. package/constants/position.d.ts +6 -0
  1297. package/constants/position.js +7 -0
  1298. package/constants/position.js.map +1 -0
  1299. package/constants/style.d.ts +40 -0
  1300. package/constants/style.js +41 -0
  1301. package/constants/style.js.map +1 -0
  1302. package/constants/text.d.ts +10 -0
  1303. package/constants/text.js +11 -0
  1304. package/constants/text.js.map +1 -0
  1305. package/context/ClassNamePrefixContext.d.ts +7 -0
  1306. package/context/ClassNamePrefixContext.js +9 -0
  1307. package/context/ClassNamePrefixContext.js.map +1 -0
  1308. package/context/IconsContext.d.ts +7 -0
  1309. package/context/IconsContext.js +9 -0
  1310. package/context/IconsContext.js.map +1 -0
  1311. package/context/PropsContext.d.ts +7 -0
  1312. package/context/PropsContext.js +12 -0
  1313. package/context/PropsContext.js.map +1 -0
  1314. package/context/context.cjs +30 -0
  1315. package/context/context.cjs.map +1 -0
  1316. package/context/index.d.ts +3 -0
  1317. package/context/index.js +4 -0
  1318. package/context/index.js.map +1 -0
  1319. package/context/package.json +8 -0
  1320. package/hooks/__mocks__/useIcon.d.ts +1 -0
  1321. package/hooks/__mocks__/useIcon.js +2 -0
  1322. package/hooks/__mocks__/useIcon.js.map +1 -0
  1323. package/hooks/hooks.cjs +684 -0
  1324. package/hooks/hooks.cjs.map +1 -0
  1325. package/hooks/index.d.ts +20 -0
  1326. package/hooks/index.js +21 -0
  1327. package/hooks/index.js.map +1 -0
  1328. package/hooks/package.json +8 -0
  1329. package/hooks/styleProps.d.ts +7 -0
  1330. package/hooks/styleProps.js +46 -0
  1331. package/hooks/styleProps.js.map +1 -0
  1332. package/hooks/useAlignmentClass.d.ts +3 -0
  1333. package/hooks/useAlignmentClass.js +7 -0
  1334. package/hooks/useAlignmentClass.js.map +1 -0
  1335. package/hooks/useAriaDescribedBy.d.ts +5 -0
  1336. package/hooks/useAriaDescribedBy.js +4 -0
  1337. package/hooks/useAriaDescribedBy.js.map +1 -0
  1338. package/hooks/useCancelEvent.d.ts +2 -0
  1339. package/hooks/useCancelEvent.js +39 -0
  1340. package/hooks/useCancelEvent.js.map +1 -0
  1341. package/hooks/useClassNamePrefix.d.ts +1 -0
  1342. package/hooks/useClassNamePrefix.js +16 -0
  1343. package/hooks/useClassNamePrefix.js.map +1 -0
  1344. package/hooks/useClick.d.ts +2 -0
  1345. package/hooks/useClick.js +12 -0
  1346. package/hooks/useClick.js.map +1 -0
  1347. package/hooks/useClickOutside.d.ts +6 -0
  1348. package/hooks/useClickOutside.js +34 -0
  1349. package/hooks/useClickOutside.js.map +1 -0
  1350. package/hooks/useDeprecationMessage.d.ts +19 -0
  1351. package/hooks/useDeprecationMessage.js +43 -0
  1352. package/hooks/useDeprecationMessage.js.map +1 -0
  1353. package/hooks/useDimensionStyle.d.ts +5 -0
  1354. package/hooks/useDimensionStyle.js +16 -0
  1355. package/hooks/useDimensionStyle.js.map +1 -0
  1356. package/hooks/useDirectionClass.d.ts +2 -0
  1357. package/hooks/useDirectionClass.js +5 -0
  1358. package/hooks/useDirectionClass.js.map +1 -0
  1359. package/hooks/useDragAndDrop.d.ts +7 -0
  1360. package/hooks/useDragAndDrop.js +38 -0
  1361. package/hooks/useDragAndDrop.js.map +1 -0
  1362. package/hooks/useIcon.d.ts +1 -0
  1363. package/hooks/useIcon.js +13 -0
  1364. package/hooks/useIcon.js.map +1 -0
  1365. package/hooks/useIconName.d.ts +1 -0
  1366. package/hooks/useIconName.js +4 -0
  1367. package/hooks/useIconName.js.map +1 -0
  1368. package/hooks/useIsMounted.d.ts +1 -0
  1369. package/hooks/useIsMounted.js +13 -0
  1370. package/hooks/useIsMounted.js.map +1 -0
  1371. package/hooks/useIsomorphicLayoutEffect.d.ts +2 -0
  1372. package/hooks/useIsomorphicLayoutEffect.js +5 -0
  1373. package/hooks/useIsomorphicLayoutEffect.js.map +1 -0
  1374. package/hooks/useLastActiveFocus.d.ts +1 -0
  1375. package/hooks/useLastActiveFocus.js +14 -0
  1376. package/hooks/useLastActiveFocus.js.map +1 -0
  1377. package/hooks/useResizeObserver.d.ts +12 -0
  1378. package/hooks/useResizeObserver.js +66 -0
  1379. package/hooks/useResizeObserver.js.map +1 -0
  1380. package/hooks/useScrollControl.d.ts +2 -0
  1381. package/hooks/useScrollControl.js +28 -0
  1382. package/hooks/useScrollControl.js.map +1 -0
  1383. package/hooks/useSpacingStyle.d.ts +3 -0
  1384. package/hooks/useSpacingStyle.js +19 -0
  1385. package/hooks/useSpacingStyle.js.map +1 -0
  1386. package/hooks/useStyleUtilities.d.ts +10 -0
  1387. package/hooks/useStyleUtilities.js +85 -0
  1388. package/hooks/useStyleUtilities.js.map +1 -0
  1389. package/hooks/useToggle.d.ts +1 -0
  1390. package/hooks/useToggle.js +8 -0
  1391. package/hooks/useToggle.js.map +1 -0
  1392. package/hooks/useWrapClass.d.ts +3 -0
  1393. package/hooks/useWrapClass.js +14 -0
  1394. package/hooks/useWrapClass.js.map +1 -0
  1395. package/index.cjs +8659 -0
  1396. package/index.cjs.map +1 -0
  1397. package/index.d.ts +6 -0
  1398. package/index.js +7 -0
  1399. package/index.js.map +1 -0
  1400. package/package.json +143 -0
  1401. package/spirit-web-react.cjs +8654 -0
  1402. package/spirit-web-react.cjs.map +1 -0
  1403. package/spirit-web-react.min.cjs +1 -0
  1404. package/types/accordion.d.ts +25 -0
  1405. package/types/accordion.js +2 -0
  1406. package/types/accordion.js.map +1 -0
  1407. package/types/actionGroup.d.ts +4 -0
  1408. package/types/actionGroup.js +2 -0
  1409. package/types/actionGroup.js.map +1 -0
  1410. package/types/alert.d.ts +12 -0
  1411. package/types/alert.js +2 -0
  1412. package/types/alert.js.map +1 -0
  1413. package/types/avatar.d.ts +12 -0
  1414. package/types/avatar.js +2 -0
  1415. package/types/avatar.js.map +1 -0
  1416. package/types/box.d.ts +22 -0
  1417. package/types/box.js +2 -0
  1418. package/types/box.js.map +1 -0
  1419. package/types/breadcrumbs.d.ts +25 -0
  1420. package/types/breadcrumbs.js +2 -0
  1421. package/types/breadcrumbs.js.map +1 -0
  1422. package/types/button.d.ts +21 -0
  1423. package/types/button.js +2 -0
  1424. package/types/button.js.map +1 -0
  1425. package/types/card.d.ts +67 -0
  1426. package/types/card.js +3 -0
  1427. package/types/card.js.map +1 -0
  1428. package/types/checkbox.d.ts +11 -0
  1429. package/types/checkbox.js +2 -0
  1430. package/types/checkbox.js.map +1 -0
  1431. package/types/collapse.d.ts +29 -0
  1432. package/types/collapse.js +2 -0
  1433. package/types/collapse.js.map +1 -0
  1434. package/types/container.d.ts +11 -0
  1435. package/types/container.js +2 -0
  1436. package/types/container.js.map +1 -0
  1437. package/types/controlButton.d.ts +14 -0
  1438. package/types/controlButton.js +2 -0
  1439. package/types/controlButton.js.map +1 -0
  1440. package/types/divider.d.ts +3 -0
  1441. package/types/divider.js +2 -0
  1442. package/types/divider.js.map +1 -0
  1443. package/types/drawer.d.ts +29 -0
  1444. package/types/drawer.js +2 -0
  1445. package/types/drawer.js.map +1 -0
  1446. package/types/dropdown.d.ts +48 -0
  1447. package/types/dropdown.js +6 -0
  1448. package/types/dropdown.js.map +1 -0
  1449. package/types/emptyState.d.ts +4 -0
  1450. package/types/emptyState.js +2 -0
  1451. package/types/emptyState.js.map +1 -0
  1452. package/types/fieldGroup.d.ts +13 -0
  1453. package/types/fieldGroup.js +2 -0
  1454. package/types/fieldGroup.js.map +1 -0
  1455. package/types/fileUploader.d.ts +118 -0
  1456. package/types/fileUploader.js +2 -0
  1457. package/types/fileUploader.js.map +1 -0
  1458. package/types/flex.d.ts +31 -0
  1459. package/types/flex.js +2 -0
  1460. package/types/flex.js.map +1 -0
  1461. package/types/footer.d.ts +9 -0
  1462. package/types/footer.js +2 -0
  1463. package/types/footer.js.map +1 -0
  1464. package/types/grid.d.ts +48 -0
  1465. package/types/grid.js +2 -0
  1466. package/types/grid.js.map +1 -0
  1467. package/types/header.d.ts +60 -0
  1468. package/types/header.js +2 -0
  1469. package/types/header.js.map +1 -0
  1470. package/types/heading.d.ts +14 -0
  1471. package/types/heading.js +2 -0
  1472. package/types/heading.js.map +1 -0
  1473. package/types/icon.d.ts +13 -0
  1474. package/types/icon.js +2 -0
  1475. package/types/icon.js.map +1 -0
  1476. package/types/iconBox.d.ts +18 -0
  1477. package/types/iconBox.js +2 -0
  1478. package/types/iconBox.js.map +1 -0
  1479. package/types/index.d.ts +60 -0
  1480. package/types/index.js +61 -0
  1481. package/types/index.js.map +1 -0
  1482. package/types/item.d.ts +16 -0
  1483. package/types/item.js +2 -0
  1484. package/types/item.js.map +1 -0
  1485. package/types/label.d.ts +12 -0
  1486. package/types/label.js +2 -0
  1487. package/types/label.js.map +1 -0
  1488. package/types/link.d.ts +20 -0
  1489. package/types/link.js +6 -0
  1490. package/types/link.js.map +1 -0
  1491. package/types/matrix.d.ts +17 -0
  1492. package/types/matrix.js +2 -0
  1493. package/types/matrix.js.map +1 -0
  1494. package/types/modal.d.ts +44 -0
  1495. package/types/modal.js +2 -0
  1496. package/types/modal.js.map +1 -0
  1497. package/types/navigation.d.ts +36 -0
  1498. package/types/navigation.js +2 -0
  1499. package/types/navigation.js.map +1 -0
  1500. package/types/package.json +8 -0
  1501. package/types/pagination.d.ts +44 -0
  1502. package/types/pagination.js +2 -0
  1503. package/types/pagination.js.map +1 -0
  1504. package/types/partnerLogo.d.ts +7 -0
  1505. package/types/partnerLogo.js +2 -0
  1506. package/types/partnerLogo.js.map +1 -0
  1507. package/types/pill.d.ts +13 -0
  1508. package/types/pill.js +2 -0
  1509. package/types/pill.js.map +1 -0
  1510. package/types/pricingPlan.d.ts +32 -0
  1511. package/types/pricingPlan.js +2 -0
  1512. package/types/pricingPlan.js.map +1 -0
  1513. package/types/productLogo.d.ts +3 -0
  1514. package/types/productLogo.js +2 -0
  1515. package/types/productLogo.js.map +1 -0
  1516. package/types/radio.d.ts +10 -0
  1517. package/types/radio.js +2 -0
  1518. package/types/radio.js.map +1 -0
  1519. package/types/scrollView.d.ts +30 -0
  1520. package/types/scrollView.js +2 -0
  1521. package/types/scrollView.js.map +1 -0
  1522. package/types/section.d.ts +17 -0
  1523. package/types/section.js +2 -0
  1524. package/types/section.js.map +1 -0
  1525. package/types/segmentedControl.d.ts +25 -0
  1526. package/types/segmentedControl.js +2 -0
  1527. package/types/segmentedControl.js.map +1 -0
  1528. package/types/select.d.ts +15 -0
  1529. package/types/select.js +2 -0
  1530. package/types/select.js.map +1 -0
  1531. package/types/shared/adornments.d.ts +3 -0
  1532. package/types/shared/adornments.js +2 -0
  1533. package/types/shared/adornments.js.map +1 -0
  1534. package/types/shared/buttons.d.ts +1 -0
  1535. package/types/shared/buttons.js +2 -0
  1536. package/types/shared/buttons.js.map +1 -0
  1537. package/types/shared/colors.d.ts +23 -0
  1538. package/types/shared/colors.js +2 -0
  1539. package/types/shared/colors.js.map +1 -0
  1540. package/types/shared/columns.d.ts +1 -0
  1541. package/types/shared/columns.js +2 -0
  1542. package/types/shared/columns.js.map +1 -0
  1543. package/types/shared/dialogs.d.ts +7 -0
  1544. package/types/shared/dialogs.js +2 -0
  1545. package/types/shared/dialogs.js.map +1 -0
  1546. package/types/shared/dictionaries.d.ts +57 -0
  1547. package/types/shared/dictionaries.js +2 -0
  1548. package/types/shared/dictionaries.js.map +1 -0
  1549. package/types/shared/directions.d.ts +5 -0
  1550. package/types/shared/directions.js +2 -0
  1551. package/types/shared/directions.js.map +1 -0
  1552. package/types/shared/dragAndDrop.d.ts +7 -0
  1553. package/types/shared/dragAndDrop.js +2 -0
  1554. package/types/shared/dragAndDrop.js.map +1 -0
  1555. package/types/shared/element.d.ts +35 -0
  1556. package/types/shared/element.js +2 -0
  1557. package/types/shared/element.js.map +1 -0
  1558. package/types/shared/events.d.ts +8 -0
  1559. package/types/shared/events.js +2 -0
  1560. package/types/shared/events.js.map +1 -0
  1561. package/types/shared/index.d.ts +33 -0
  1562. package/types/shared/index.js +26 -0
  1563. package/types/shared/index.js.map +1 -0
  1564. package/types/shared/inputs.d.ts +31 -0
  1565. package/types/shared/inputs.js +2 -0
  1566. package/types/shared/inputs.js.map +1 -0
  1567. package/types/shared/item.d.ts +3 -0
  1568. package/types/shared/item.js +2 -0
  1569. package/types/shared/item.js.map +1 -0
  1570. package/types/shared/package.json +8 -0
  1571. package/types/shared/positions.d.ts +3 -0
  1572. package/types/shared/positions.js +2 -0
  1573. package/types/shared/positions.js.map +1 -0
  1574. package/types/shared/radii.d.ts +2 -0
  1575. package/types/shared/radii.js +2 -0
  1576. package/types/shared/radii.js.map +1 -0
  1577. package/types/shared/refs.d.ts +5 -0
  1578. package/types/shared/refs.js +2 -0
  1579. package/types/shared/refs.js.map +1 -0
  1580. package/types/shared/responsive.d.ts +4 -0
  1581. package/types/shared/responsive.js +2 -0
  1582. package/types/shared/responsive.js.map +1 -0
  1583. package/types/shared/rest.d.ts +5 -0
  1584. package/types/shared/rest.js +2 -0
  1585. package/types/shared/rest.js.map +1 -0
  1586. package/types/shared/shared.cjs +15 -0
  1587. package/types/shared/shared.cjs.map +1 -0
  1588. package/types/shared/sizes.d.ts +3 -0
  1589. package/types/shared/sizes.js +2 -0
  1590. package/types/shared/sizes.js.map +1 -0
  1591. package/types/shared/style.d.ts +35 -0
  1592. package/types/shared/style.js +2 -0
  1593. package/types/shared/style.js.map +1 -0
  1594. package/types/shared/text.d.ts +5 -0
  1595. package/types/shared/text.js +2 -0
  1596. package/types/shared/text.js.map +1 -0
  1597. package/types/shared/tokens.d.ts +8 -0
  1598. package/types/shared/tokens.js +2 -0
  1599. package/types/shared/tokens.js.map +1 -0
  1600. package/types/skeleton.d.ts +18 -0
  1601. package/types/skeleton.js +2 -0
  1602. package/types/skeleton.js.map +1 -0
  1603. package/types/skipLink.d.ts +11 -0
  1604. package/types/skipLink.js +2 -0
  1605. package/types/skipLink.js.map +1 -0
  1606. package/types/slider.d.ts +19 -0
  1607. package/types/slider.js +2 -0
  1608. package/types/slider.js.map +1 -0
  1609. package/types/spinner.d.ts +7 -0
  1610. package/types/spinner.js +2 -0
  1611. package/types/spinner.js.map +1 -0
  1612. package/types/splitButton.d.ts +26 -0
  1613. package/types/splitButton.js +2 -0
  1614. package/types/splitButton.js.map +1 -0
  1615. package/types/stack.d.ts +18 -0
  1616. package/types/stack.js +2 -0
  1617. package/types/stack.js.map +1 -0
  1618. package/types/tabs.d.ts +39 -0
  1619. package/types/tabs.js +2 -0
  1620. package/types/tabs.js.map +1 -0
  1621. package/types/tag.d.ts +15 -0
  1622. package/types/tag.js +2 -0
  1623. package/types/tag.js.map +1 -0
  1624. package/types/text.d.ts +14 -0
  1625. package/types/text.js +2 -0
  1626. package/types/text.js.map +1 -0
  1627. package/types/textArea.d.ts +12 -0
  1628. package/types/textArea.js +2 -0
  1629. package/types/textArea.js.map +1 -0
  1630. package/types/textField.d.ts +12 -0
  1631. package/types/textField.js +2 -0
  1632. package/types/textField.js.map +1 -0
  1633. package/types/textFieldBase.d.ts +26 -0
  1634. package/types/textFieldBase.js +2 -0
  1635. package/types/textFieldBase.js.map +1 -0
  1636. package/types/timeline.d.ts +29 -0
  1637. package/types/timeline.js +2 -0
  1638. package/types/timeline.js.map +1 -0
  1639. package/types/toast.d.ts +50 -0
  1640. package/types/toast.js +2 -0
  1641. package/types/toast.js.map +1 -0
  1642. package/types/toggle.d.ts +16 -0
  1643. package/types/toggle.js +2 -0
  1644. package/types/toggle.js.map +1 -0
  1645. package/types/tooltip.d.ts +50 -0
  1646. package/types/tooltip.js +9 -0
  1647. package/types/tooltip.js.map +1 -0
  1648. package/types/truncate.d.ts +13 -0
  1649. package/types/truncate.js +6 -0
  1650. package/types/truncate.js.map +1 -0
  1651. package/types/types.cjs +99 -0
  1652. package/types/types.cjs.map +1 -0
  1653. package/types/unstableHeader.d.ts +14 -0
  1654. package/types/unstableHeader.js +2 -0
  1655. package/types/unstableHeader.js.map +1 -0
  1656. package/types/visuallyHidden.d.ts +9 -0
  1657. package/types/visuallyHidden.js +2 -0
  1658. package/types/visuallyHidden.js.map +1 -0
  1659. package/utils/assert.d.ts +6 -0
  1660. package/utils/assert.js +33 -0
  1661. package/utils/assert.js.map +1 -0
  1662. package/utils/classname.d.ts +4 -0
  1663. package/utils/classname.js +5 -0
  1664. package/utils/classname.js.map +1 -0
  1665. package/utils/colorObjectGenerators.d.ts +13 -0
  1666. package/utils/colorObjectGenerators.js +32 -0
  1667. package/utils/colorObjectGenerators.js.map +1 -0
  1668. package/utils/compose.d.ts +1 -0
  1669. package/utils/compose.js +2 -0
  1670. package/utils/compose.js.map +1 -0
  1671. package/utils/debounce.d.ts +1 -0
  1672. package/utils/debounce.js +17 -0
  1673. package/utils/debounce.js.map +1 -0
  1674. package/utils/delayedCallback.d.ts +1 -0
  1675. package/utils/delayedCallback.js +7 -0
  1676. package/utils/delayedCallback.js.map +1 -0
  1677. package/utils/htmlReactParser.d.ts +2 -0
  1678. package/utils/htmlReactParser.js +14 -0
  1679. package/utils/htmlReactParser.js.map +1 -0
  1680. package/utils/index.d.ts +13 -0
  1681. package/utils/index.js +14 -0
  1682. package/utils/index.js.map +1 -0
  1683. package/utils/mergeStyleProps.d.ts +18 -0
  1684. package/utils/mergeStyleProps.js +35 -0
  1685. package/utils/mergeStyleProps.js.map +1 -0
  1686. package/utils/package.json +8 -0
  1687. package/utils/responsive.d.ts +3 -0
  1688. package/utils/responsive.js +23 -0
  1689. package/utils/responsive.js.map +1 -0
  1690. package/utils/ssr.d.ts +1 -0
  1691. package/utils/ssr.js +2 -0
  1692. package/utils/ssr.js.map +1 -0
  1693. package/utils/string.d.ts +4 -0
  1694. package/utils/string.js +22 -0
  1695. package/utils/string.js.map +1 -0
  1696. package/utils/stylePropsClassesGenerator.d.ts +9 -0
  1697. package/utils/stylePropsClassesGenerator.js +23 -0
  1698. package/utils/stylePropsClassesGenerator.js.map +1 -0
  1699. package/utils/toPascalCase.d.ts +1 -0
  1700. package/utils/toPascalCase.js +10 -0
  1701. package/utils/toPascalCase.js.map +1 -0
  1702. package/utils/utils.cjs +266 -0
  1703. package/utils/utils.cjs.map +1 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"web-react.umd.js","mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,O;;;;;;;;;;ACVa;AACb,8CAA6C,EAAE,aAAa,EAAC;AAC7D,eAAe,GAAG,aAAa,GAAG,WAAW,GAAG,aAAa,GAAG,cAAc,GAAG,eAAe,GAAG,iBAAiB,GAAG,YAAY,GAAG,YAAY,GAAG,aAAa,GAAG,mBAAmB;AACxL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,wCAAwC,mBAAmB,KAAK;AACjE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA,YAAY;AACZ;AACA,YAAY;AACZ;AACA,iBAAiB;AACjB;AACA,eAAe;AACf;AACA,cAAc;AACd;AACA,aAAa;AACb;AACA,WAAW;AACX;AACA,aAAa;AACb;AACA,eAAe;;;;;;;;;;;;ACtDF;AACb;AACA;AACA;AACA;AACA,eAAe,oCAAoC;AACnD;AACA;AACA,CAAC;AACD;AACA;AACA,CAAC;AACD;AACA;AACA;AACA,8CAA6C,EAAE,aAAa,EAAC;AAC7D,kBAAkB;AAClB,uBAAuB,mBAAO,CAAC,sEAAgB;AAC/C,gBAAgB,mBAAO,CAAC,4DAAW;AACnC,aAAa,mBAAO,CAAC,4DAAW;AAChC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,kBAAkB;AAClB,kBAAe;;;;;;;;;;;;ACpKF;AACb;AACA;AACA;AACA,eAAe,gBAAgB,sCAAsC,kBAAkB;AACvF,8BAA8B;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB;AACxB;AACA;AACA,CAAC;AACD;AACA;AACA,iDAAiD,OAAO;AACxD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8CAA6C,EAAE,aAAa,EAAC;AAC7D,iBAAiB,GAAG,mBAAmB,GAAG,kBAAkB,GAAG,mBAAmB,GAAG,iBAAiB,GAAG,cAAc,GAAG,eAAe,GAAG,aAAa,GAAG,eAAe,GAAG,gBAAgB,GAAG,aAAa,GAAG,wBAAwB,GAAG,6BAA6B,GAAG,eAAe,GAAG,YAAY,GAAG,gBAAgB,GAAG,YAAY;AAC5U,uBAAuB,mBAAO,CAAC,sEAAgB;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oBAAoB,aAAa;AACjC;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA,oBAAoB,WAAW;AAC/B;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA,oBAAoB,WAAW;AAC/B;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oCAAoC;AACpC;AACA;AACA;AACA,CAAC;AACD,YAAY;AACZ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oBAAoB,WAAW;AAC/B;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA,CAAC;AACD,gBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA,CAAC;AACD,YAAY;AACZ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA,CAAC;AACD,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA,CAAC;AACD,6BAA6B;AAC7B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA,oBAAoB,eAAe;AACnC;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA,CAAC;AACD,wBAAwB;AACxB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA,CAAC;AACD,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA,CAAC;AACD,gBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mCAAmC;AACnC,+BAA+B;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,oBAAoB,WAAW;AAC/B;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB,aAAa;AACb,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA,CAAC;AACD,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc;AACd;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAkB;AAClB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gCAAgC;AAChC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wDAAwD;AACxD,4CAA4C,kCAAkC;AAC9E;AACA;AACA;AACA;AACA,uDAAuD;AACvD;AACA;AACA,oDAAoD;AACpD;AACA;AACA;AACA;AACA;AACA;AACA,4CAA4C,kCAAkC;AAC9E;AACA;AACA;AACA;AACA;AACA,4CAA4C,kCAAkC;AAC9E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA,iDAAiD,gCAAgC;AACjF,oBAAoB,qBAAqB;AACzC;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACzda;AACb,8CAA6C,EAAE,aAAa,EAAC;AAC7D,yCAAyC,GAAG,mCAAmC,GAAG,6BAA6B,GAAG,uBAAuB,GAAG,oCAAoC,GAAG,gCAAgC;AACnN;AACA;AACA;AACA;AACA;AACA,gCAAgC;AAChC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oCAAoC;AACpC;AACA;AACA,CAAC,IAAI;AACL,uBAAuB;AACvB,6BAA6B;AAC7B,mCAAmC;AACnC,yCAAyC;AACzC;;;;;;;;;;;ACjDa;AACb,8CAA6C,EAAE,aAAa,EAAC;AAC7D,kBAAe;AACf,kBAAkB,mBAAO,CAAC,+EAAa;AACvC;AACA;AACA;AACA;AACA,4CAA4C;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;AC3Ia;AACb;AACA,6CAA6C;AAC7C;AACA,8CAA6C,EAAE,aAAa,EAAC;AAC7D,kBAAe;AACf,kCAAkC,mBAAO,CAAC,+EAAa;AACvD,kBAAkB,mBAAO,CAAC,+EAAa;AACvC,0CAA0C;AAC1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;AC3Ba;AACb,8CAA6C,EAAE,aAAa,EAAC;AAC7D,wBAAwB;AACxB,+BAA+B;AAC/B,+BAA+B;AAC/B,iBAAiB;AACjB,mBAAmB,mBAAO,CAAC,8DAAY;AACvC,kBAAkB,mBAAO,CAAC,+EAAa;AACvC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,0BAA0B;AACrC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6BAA6B;AAC7B;AACA;AACA;AACA;AACA,WAAW,qBAAqB;AAChC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;AC/Ha;AACb,8CAA6C,EAAE,aAAa,EAAC;AAC7D,uBAAuB,mBAAO,CAAC,sEAAgB;AAC/C,kBAAkB,mBAAO,CAAC,0EAAa;AACvC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iCAAiC;AACjC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;ACzEa;AACb;AACA,6CAA6C;AAC7C;AACA,8CAA6C,EAAE,aAAa,EAAC;AAC7D,cAAc,mBAAO,CAAC,oBAAO;AAC7B,4CAA4C,mBAAO,CAAC,8FAAuB;AAC3E,kBAAkB,mBAAO,CAAC,0EAAa;AACvC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB,qBAAqB;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;ACxHa;AACb;AACA,6CAA6C;AAC7C;AACA,8CAA6C,EAAE,aAAa,EAAC;AAC7D,sBAAsB,GAAG,4BAA4B,GAAG,sCAAsC,GAAG,kCAAkC,GAAG,oBAAoB,GAAG,yBAAyB;AACtL,cAAc,mBAAO,CAAC,oBAAO;AAC7B,oCAAoC,mBAAO,CAAC,gEAAa;AACzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yBAAyB;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oBAAoB;AACpB;AACA;AACA;AACA,kCAAkC;AAClC;AACA;AACA;AACA,sCAAsC;AACtC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,4BAA4B;AAC5B;AACA;AACA;AACA;AACA;AACA;AACA,sCAAsC;AACtC,sBAAsB;AACtB;;;;;;;;;;ACtGA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,mEAAmE;AACnE,0BAA0B;;AAE1B;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB,YAAY;AACZ,YAAY;AACZ,YAAY;AACZ;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,cAAc;AACd;AACA;AACA,kBAAkB;AAClB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,gBAAgB,QAAQ;AACxB,gBAAgB,QAAQ;AACxB,gBAAgB,kBAAkB;AAClC;AACA;AACA;AACA,iBAAiB;AACjB;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,aAAa,QAAQ;AACrB,cAAc;AACd;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,MAAM;AACN;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,QAAQ;AACrB,cAAc;AACd;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,UAAU;AACvB,cAAc;AACd;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,cAAc;AACd,cAAc;AACd;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA,cAAc;AACd,cAAc;AACd;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,cAAc;AACd;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,QAAQ;AACnB,YAAY;AACZ;AACA;AACA;AACA;;;;;;;;;;;;ACpQA;AACA;AACA;AACA;AACA;;AAEa;AACb;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA,kCAAkC;AAClC;AACA;AACA;AACA;;AAEA;AACA;AACA,kBAAkB,QAAQ;AAC1B;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH,kCAAkC;AAClC;AACA;AACA;;AAEA;AACA,GAAG;AACH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,iBAAiB,sBAAsB;AACvC;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,mBAAmB,oBAAoB;AACvC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;;;;;;;;;;;ACzFA;AACA;AACA;AACA;AACA;AACA;;AAEa;;AAEb;;AAEA,IAAI,IAAqC;AACzC,6BAA6B,mBAAO,CAAC,6FAA4B;AACjE;AACA,YAAY,mBAAO,CAAC,2DAAW;;AAE/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM,YAAY;AAClB;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB,WAAW,WAAW;AACtB;AACA;AACA;AACA,MAAM,IAAqC;AAC3C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6GAA6G;AAC7G;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;AACA,4DAA4D;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM,IAAqC;AAC3C;AACA;AACA;;AAEA;;;;;;;;;;;;ACtGA;AACA;AACA;AACA;AACA;AACA;;AAEa;;AAEb,cAAc,mBAAO,CAAC,8EAAU;AAChC,aAAa,mBAAO,CAAC,gEAAe;;AAEpC,2BAA2B,mBAAO,CAAC,6FAA4B;AAC/D,UAAU,mBAAO,CAAC,2DAAW;AAC7B,qBAAqB,mBAAO,CAAC,yEAAkB;;AAE/C;;AAEA,IAAI,IAAqC;AACzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,2CAA2C;;AAE3C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,SAAS;AACtB,cAAc;AACd;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV,8BAA8B;AAC9B,QAAQ;AACR;AACA;AACA;AACA;AACA,+BAA+B,KAAK;AACpC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,4BAA4B;AAC5B,OAAO;AACP;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,QAAQ,IAAqC;AAC7C;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU,SAAS,KAAqC;AACxD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,WAAW;AACX;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sBAAsB,sBAAsB;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,UAAU,IAAqC;AAC/C;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,sBAAsB,2BAA2B;AACjD;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,MAAM,KAAqC,4FAA4F,CAAM;AAC7I;AACA;;AAEA,oBAAoB,gCAAgC;AACpD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,sBAAsB,gCAAgC;AACtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,iHAAiH;AACjH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6BAA6B;AAC7B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;;;;;;;;;;ACjmBA;AACA;AACA;AACA;AACA;AACA;;AAEA,IAAI,IAAqC;AACzC,gBAAgB,mBAAO,CAAC,8EAAU;;AAElC;AACA;AACA;AACA,mBAAmB,mBAAO,CAAC,2FAA2B;AACtD,EAAE,KAAK,EAIN;;;;;;;;;;;;AClBD;AACA;AACA;AACA;AACA;AACA;;AAEa;;AAEb;;AAEA;;;;;;;;;;;ACXA;;;;;;;;;;;;ACAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEa;;;;AAIb,IAAI,IAAqC;AACzC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2EAA2E;AAC3E;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,EAAE;;AAEF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iDAAiD;;AAEjD;AACA;AACA;AACA,kDAAkD;;AAElD;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,iBAAiB;AACjB,sBAAsB;AACtB,uBAAuB;AACvB,uBAAuB;AACvB,eAAe;AACf,kBAAkB;AAClB,gBAAgB;AAChB,YAAY;AACZ,YAAY;AACZ,cAAc;AACd,gBAAgB;AAChB,kBAAkB;AAClB,gBAAgB;AAChB,mBAAmB;AACnB,wBAAwB;AACxB,yBAAyB;AACzB,yBAAyB;AACzB,iBAAiB;AACjB,oBAAoB;AACpB,kBAAkB;AAClB,cAAc;AACd,cAAc;AACd,gBAAgB;AAChB,kBAAkB;AAClB,oBAAoB;AACpB,kBAAkB;AAClB,0BAA0B;AAC1B,cAAc;AACd,GAAG;AACH;;;;;;;;;;;;ACpLa;;AAEb,IAAI,KAAqC,EAAE,EAE1C,CAAC;AACF,EAAE,4JAAyD;AAC3D;;;;;;;;;;;;ACNa;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;AAKA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,EAAE,EAAE,mBAAO,CAAC,sHAAuC;;AAEnD;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA,IAAI;AACJ;AACA;AACA;AACA,CAAC,IAAI;;AAEL,eAAe;AACf,yBAAyB;AACzB,eAAe;AACf,0BAA0B;AAC1B,wBAAwB;AACxB,gBAAgB;AAChB,cAAc;AACd,uBAAuB;AACvB,yBAAyB;AACzB,6BAA6B;;;;;;;;;;;ACvgB7B;AACA;AACA,YAAY;;AAEZ;AACA;AACA,iBAAiB;;AAEjB,6BAA6B;AAC7B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC5eoG;AAC9B;AACnC;AACT;AACO;AACH;AACoB;AACY;AACjB;AACtC;AACA;AACA;AACA;AACA;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,aAAa;AACzB;AACA;AACA;AACA;AACA,4BAA4B,SAAS;AACrC;AACA;AACA;AACA;AACA,iBAAiB,YAAY;AAC7B,iBAAiB,YAAY;AAC7B,iBAAiB,YAAY;AAC7B,gBAAgB,YAAY;AAC5B;AACA;AACA,mBAAmB,YAAY;AAC/B,qBAAqB,QAAQ,SAAS,SAAS;AAC/C,QAAQ;AACR;AACA;AACA;AACA,WAAW;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yBAAyB,QAAQ,SAAS,IAAI;AAC9C,YAAY;AACZ;AACA;AACA;AACA,0BAA0B,sBAAsB;AAChD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,EAAE,oFAAc;;AAEhB;AACA;;AAEA;AACA,+BAA+B;;AAE/B;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA,MAAM;AACN;AACA;AACA,QAAQ;AACR;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,IAAI;AACJ;AACA;AACA,iBAAiB,SAAS;AAC1B;AACA;AACA;AACA;AACA,WAAW;AACX;AACA;AACA;AACA;AACA;AACA,gBAAgB;AAChB;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,6BAA6B;;AAE7B;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,uEAAuE,4DAAoB,QAAQ;AACnG;AACA;;AAEA,oBAAoB,0DAAW;AAC/B;;AAEA;AACA,QAAQ;AACR;AACA;AACA,MAAM;AACN;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA,oDAAoD,4DAAoB;AACxE;AACA;;AAEA;AACA,qEAAqE;AACrE;;AAEA,+BAA+B,+CAAM;AACrC;AACA;AACA,OAAO;AACP;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA,SAAS;AACT;AACA,SAAS;AACT,OAAO;AACP,KAAK;AACL;;AAEA;AACA;;AAEA;AACA;AACA,qDAAqD,4DAAoB,QAAQ;;AAEjF,iBAAiB,+CAAM;AACvB;AACA;AACA,OAAO;AACP;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA,SAAS;AACT;AACA,SAAS;AACT,OAAO;AACP,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,iEAAiE,4DAAoB;AACrF;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB,mGAA6B;;AAElD;AACA;AACA;AACA,MAAM,0DAAmB,CAAC,+DAAsB;AAChD;AACA,OAAO,kEAAkE,yDAAkB,CAAC,qDAAc;AAC1G;AACA;;AAEA;AACA,CAAC,CAAC,wDAAe;;AAEjB,yBAAyB,+DAAsB;AAC/C,uBAAuB,KAAqC;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,uDAAe;AAC1B,8CAA8C,uDAAa;AAC3D;AACA,aAAa,4DAAoB;AACjC;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB,eAAe,SAAS,IAAI;AACjD,QAAQ;AACR,iCAAiC,aAAa,MAAM,GAAG;AACvD;AACA;AACA;AACA;AACA,YAAY,2DAAmB,EAAE,wDAAc,aAAa,2DAAiB;;AAE7E;AACA,yBAAyB;AACzB;AACA,MAAM,wDAAc;;AAEpB;AACA;AACA;AACA,gBAAgB,KAAK;AACrB;AACA;AACA,gBAAgB,wDAAc;;AAE9B;AACA;AACA;AACA;AACA,iBAAiB,wDAAc;;AAE/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU,wDAAc;;AAExB;AACA;AACA;AACA,SAAS,wDAAc;;AAEvB;AACA;AACA;AACA,QAAQ,wDAAc;;AAEtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc;AACd;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,WAAW;AACvB;AACA;AACA,aAAa,2DAAa;AAC1B;;AAEA,2FAA2F,aAAa;AACxG;AACA;;AAEA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB;AACrB;AACA;AACA;AACA;AACA;AACA,kBAAkB,wDAAc;;AAEhC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,w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AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,iGAAiG,eAAe;AAChH;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,MAAM;;;AAGN;AACA;AACA,KAAK,GAAG;;AAER,kDAAkD;AAClD;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA,4BAA4B;AAC5B;AACA,qCAAqC;;AAErC,gCAAgC;AAChC;AACA;;AAEA,gCAAgC;;AAEhC;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,IAAI;;;AAGJ;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,EAAE;;;AAGF;AACA;AACA,EAAE;;;AAGF;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,YAAY;AACZ;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uCAAuC;;AAEvC;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA,sBAAsB;AACtB;AACA,SAAS;AACT,uBAAuB;AACvB;AACA,SAAS;AACT,uBAAuB;AACvB;AACA,SAAS;AACT,wBAAwB;AACxB;AACA,SAAS;AACT,wBAAwB;AACxB;AACA,SAAS;AACT,iCAAiC;AACjC;AACA,SAAS;AACT,2BAA2B;AAC3B;AACA,SAAS;AACT,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA,MAAM;;;AAGN;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,2DAA2D;;AAE3D;AACA;;AAEA;AACA,yDAAyD;AACzD;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;;AAGT;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;;AAEA;AACA,QAAQ;AACR;AACA;AACA,UAAU;AACV;AACA;;AAEA;AACA;AACA,MAAM;AACN;AACA;AACA,QAAQ;AACR;AACA;;AAEA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,aAAa,kBAAkB;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB;AACnB;;AAEA;AACA;AACA,gFAAgF;AAChF;AACA;;;AAGA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,kBAAkB;;;AAGlB;AACA;AACA,cAAc;AACd;;AAEA;AACA;AACA;AACA;AACA,IAAI;AACJ;;AAEA;AACA;AACA;AACA;;AAEA;AACA,IAAI;;;AAGJ;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,8BAA8B;AAC9B;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,2HAA2H;AAC3H;AACA;AACA;;AAEA;AACA,UAAU;AACV;AACA;;AAEA;AACA;;AAEA,oEAAoE;;AAEpE;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA,iCAAiC;;AAEjC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;;;AAGF;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,wCAAwC;AACxC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,WAAW,GAAG;AACd,WAAW,GAAG;AACd,WAAW,eAAe;AAC1B,WAAW,GAAG;AACd,WAAW,GAAG;AACd;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,yBAAyB;AACzB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK,GAAG;;AAER;AACA;AACA;AACA;AACA;AACA,KAAK,GAAG;AACR;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB;;AAEA;AACA;AACA,kBAAkB;;AAElB;AACA;AACA,oBAAoB;AACpB,2DAA2D,UAAU;AACrE,yBAAyB,UAAU;AACnC;AACA,aAAa,UAAU;AACvB;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,MAAM;;;AAGN;AACA;AACA;AACA;AACA,MAAM;;;AAGN;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,SAAS;AACpB,YAAY,SAAS;AACrB;AACA;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,cAAc;AACzB,WAAW,GAAG;AACd;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA,6DAA6D;AAC7D;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,WAAW;AACtB,WAAW,GAAG;AACd;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;AACA,sBAAsB,iBAAiB;AACvC;;AAEA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA,MAAM;AACN;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,cAAc;AACzB;;;AAGA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA,MAAM;AACN;AACA;;AAEA;AACA;AACA;AACA;AACA,MAAM;AACN,4CAA4C;;AAE5C;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,cAAc;AACzB;;;AAGA;AACA;AACA;;AAEA,oBAAoB,iBAAiB;AACrC;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,8CAA8C;AAC9C;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,QAAQ;AACR;AACA;;AAEA;;AAEA;AACA;AACA,QAAQ;AACR;AACA,QAAQ;AACR;AACA;AACA,QAAQ;AACR;AACA;;AAEA;AACA;;AAEA,0DAA0D;AAC1D;;AAEA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;;AAGA;AACA;;AAEA;AACA;AACA;AACA,4BAA4B,qBAAqB;AACjD;AACA;;AAEA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,gDAAgD,gDAAgD,MAAM,aAAa;;AAEnH;AACA,iDAAiD,kCAAkC,OAAO;;AAE1F,yGAAyG,cAAc,UAAU,gGAAgG,kBAAkB,UAAU,UAAU;;AAEvQ;AACA;AACA;AACA;;AAEA;AACA;AACA,MAAM;AACN;AACA;;AAEA;AACA;AACA,EAAE;AACF;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,sCAAsC;AACtC;;AAEA;;AAEA,gBAAgB;AAChB,WAAW;AACX,YAAY;AACZ,GAAG;AACH;;;;;;;;;;;;ACpzCa;;AAEb,IAAI,KAAqC,EAAE,EAE1C,CAAC;AACF,EAAE,mJAAkE;AACpE;;;;;;;;;;;;ACNa;AACb;AACA,6CAA6C;AAC7C;AACA,8CAA6C,EAAE,aAAa,EAAC;AAC7D,wCAAwC,mBAAO,CAAC,wEAAiB;AACjE,kBAAkB,mBAAO,CAAC,oEAAa;AACvC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,kBAAe;AACf;;;;;;;;;;;ACxBa;AACb,8CAA6C,EAAE,aAAa,EAAC;AAC7D,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,4CAA4C;AAC5C;AACA;AACA;AACA;AACA,8BAA8B;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;;;;;;;;;;;AC9Ca;AACb;AACA,6CAA6C;AAC7C;AACA,8CAA6C,EAAE,aAAa,EAAC;AAC7D,4CAA4C,mBAAO,CAAC,4EAAqB;AACzE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0BAA0B,IAAI,KAAK;AACnC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,kBAAe;AACf;;;;;;;;;;;;;;;;;;;AC3CA;AACA;AACA;AACA;AACA;AACA;AACA,oEAAoE;AACpE;AACA;AACA;AACA;AACA;AACA,yCAAyC;AACzC;AACA;AACA;AACA,EAAE;AACF;AACA;;AAEA;AACA;AACA,WAAW,SAAS;AACpB,WAAW,SAAS;AACpB;AACA,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB;AACvB;AACA;AACA;;AAEA;AACA,0EAA0E;AAC1E;AACA;AACA;AACA,oEAAoE;;AAEpE;AACA;;AAEA;AACA;AACA,WAAW,SAAS;AACpB,2CAA2C;AAC3C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,WAAW,SAAS;AACpB,WAAW,SAAS;AACpB,WAAW,4BAA4B;AACvC,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,WAAW,SAAS;AACpB,aAAa,oBAAoB;AACjC;;AAEA;AACA;AACA,WAAW,SAAS;AACpB,aAAa,SAAS;AACtB;;AAEA;AACA,aAAa,QAAQ;AACrB,cAAc,SAAS;AACvB,cAAc,WAAW;AACzB;;AAEA;AACA,aAAa,QAAQ;AACrB,cAAc,uBAAuB,iDAAiD;AACtF;AACA;AACA,cAAc,4BAA4B;AAC1C,cAAc,SAAS;AACvB,cAAc,kBAAkB;AAChC;;AAEA;AACA,WAAW,WAAW;AACtB,WAAW,SAAS;AACpB,WAAW,kBAAkB;AAC7B,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA,SAAS;AACT;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,kEAAkE;AAClE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA,WAAW;AACX;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,aAAa;AACxB,aAAa,SAAS,YAAY;AAClC;AACA;AACA;AACA;;AAEA;AACA;AACA,WAAW,aAAa;AACxB,aAAa,QAAQ;AACrB,YAAY,OAAO;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yDAAyD;AACzD,wBAAwB;AACxB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,WAAW,aAAa;AACxB,WAAW,SAAS;AACpB;AACA;AACA,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,kBAAkB,kBAAkB;AACpC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,sEAAsE;AACtE,+BAA+B;AAC/B;AACA;AACA;AACA,uCAAuC;AACvC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA,UAAU;AACV;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uFAAuF;AACvF;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,6BAA6B;AAC7B,0DAA0D;AAC1D;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB;AACnB;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB,gCAAgC;AACxD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,WAAW,gCAAgC;AAC3C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA,GAAG;AACH;AACA;AACA;AACA,GAAG;AACH;AACA;AAC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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACTD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA,GAAG;AACH;AACA;AACA,GAAG;AACH;AACA;AACA,GAAG;AACH;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA,GAAG;AACH;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA,CAAC;AACD;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,wBAAwB,iBAAiB;AAC1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,wBAAwB,iBAAiB;AAC1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA,GAAG;AACH;AACA;AACA,GAAG;AACH;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AAkUE;;;;;;;;;;;;AC1rDF;;;;;;;;;;;ACAA;;;;;;;;;;ACAA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA,gBAAgB;;AAEhB;AACA;;AAEA,kBAAkB,sBAAsB;AACxC;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,KAAK,KAA6B;AAClC;AACA;AACA,GAAG,SAAS,IAA4E;AACxF;AACA,EAAE,iCAAqB,EAAE,mCAAE;AAC3B;AACA,GAAG;AAAA,kGAAC;AACJ,GAAG,KAAK,EAEN;AACF,CAAC;;;;;;;;;;;;;;;;;AC5EgD;AACjD;AACA,yEAAyE,8DAAc;AACvF;;;;;;;;;;;;;;;;ACHA;AACA;AACA;AACA,yBAAyB;AACzB;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;ACRA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACJsU;AAChR;;AAEtD;AACA;AACA;AACA;AACA,IAAI;AACJ,mBAAmB,+DAAW;AAC9B,wBAAwB,oEAAgB;AACxC,sBAAsB,iEAAa;AACnC,eAAe,2DAAO;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU,gEAAY;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA,kBAAkB,4BAA4B;AAC9C;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,EAAE,4DAAQ;AACd,wBAAwB,oEAAgB;AACxC;AACA;AACA,6BAA6B,oEAAgB;AAC7C;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA,4BAA4B,oEAAgB;AAC5C;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA,MAAM,EAAE,4DAAQ;AAChB;AACA;AACA;AACA,0BAA0B,oEAAgB;AAC1C;AACA;AACA;AACA;AACA,iBAAiB,oEAAgB;AACjC,mBAAmB,iEAAa;AAChC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,uBAAuB,uDAAG;AAC1B,uBAAuB,uDAAG;;AAE1B;AACA;AACA;AACA;AACA;AACA,mBAAmB,yDAAK;;AAExB;AACA;AACA;AACA;AACA,qDAAqD,gEAAY;AACjE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,OAAO;AACP;AACA;AACA;AACA,CAAC;;AAED;AACA,mGAAmG,gEAAY,qEAAqE,gEAAY,oEAAoE,2DAAO;AAC3Q;AACA;AACA,aAAa,gEAAY,8CAA8C,iFAA6B;AACpG;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA,4BAA4B,0DAAU;AACtC;AACA;AACA,QAAQ,EAAE,4DAAQ;AAClB,4EAA4E,0DAAU;AACtF;AACA;AACA;AACA;AACA;AACA;AACA,6BAA6B,qEAAiB;;AAE9C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yCAAyC,2DAAO;AAChD;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA;AACA;AACA;AACA;AACA;AACA,0BAA0B,gEAAY;AACtC;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,MAAM,gEAAY;AAClB;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ,EAAE,4DAAQ;;AAElB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,2DAAO;AAC1B,8BAA8B,+DAAW;AACzC,8BAA8B,2DAAO;AACrC;AACA,sGAAsG,wEAAoB,sBAAsB,yEAAqB;AACrK;AACA;AACA,mCAAmC,6EAAyB;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sBAAsB,qEAAiB;AACvC;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,4CAA4C,+DAAW;AACvD;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,qDAAK;AACd;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA,QAAQ,EAAE,4DAAQ;AAClB;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,eAAe,uDAAG;AAClB,eAAe,uDAAG;AAClB,eAAe,uDAAG;AAClB,eAAe,uDAAG;AAClB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAkB,wBAAwB;AAC1C;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA,4BAA4B,oEAAgB;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR,+BAA+B,KAAK;AACpC;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ,EAAE,4DAAQ;AAClB;AACA;AACA,uBAAuB,oEAAgB;AACvC,4BAA4B,oEAAgB;AAC5C;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,cAAc,+DAAW;AACzB;AACA;AACA,0BAA0B,2DAAO;AACjC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6BAA6B,2DAAO;AACpC,2BAA2B,uDAAG;AAC9B,0BAA0B,uDAAG;AAC7B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA,eAAe,2DAAO;AACtB,oBAAoB,gEAAY;AAChC,qBAAqB,+DAAW;AAChC;AACA;AACA,mBAAmB,4DAAQ;;AAE3B;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc;AACd;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA,QAAQ,EAAE,4DAAQ;AAClB;AACA;AACA;AACA;AACA;AACA,wBAAwB,+DAAW,CAAC,2DAAO;AAC3C,uBAAuB,mEAAe;AACtC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB,yDAAK;AAC7B;AACA;AACA;AACA;AACA;AACA;AACA,yBAAyB,yDAAK;AAC9B;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA,QAAQ,EAAE,4DAAQ;AAClB;AACA;AACA;AACA;AACA,wBAAwB,+DAAW;AACnC,uBAAuB,mEAAe;AACtC;AACA;AACA,wBAAwB,4DAAQ;AAChC;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA,sDAAsD,2DAAO;AAC7D;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA,wBAAwB;AACxB;AACA,QAAQ,EAAE,4DAAQ;AAClB;AACA,mBAAmB,2DAAO;AAC1B,wBAAwB,gEAAY;AACpC,sBAAsB,+DAAW;AACjC;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA,sCAAsC,uDAAG;AACzC,qCAAqC,uDAAG;AACxC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB,uDAAG;AACxB,qBAAqB,uDAAG;AACxB,qBAAqB,uDAAG;AACxB,qBAAqB,uDAAG;AACxB;AACA,iFAAiF,uDAAG;AACpF,UAAU;AACV,mFAAmF,uDAAG;AACtF;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEsH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AChhCuH;AAC9H;AAChF;AACoB;AACb;;AAEtC,8CAA8C,kDAAe,GAAG,4CAAS;;AAEzE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB,UAAU;AACjC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB,UAAU;AAC/B,aAAa;AACb;AACA;AACA;AACA,qBAAqB,UAAU;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,cAAc,yCAAY;AAC1B;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM,IAAI;AACV;AACA;AACA;AACA,IAAI;AACJ,0BAA0B,2CAAc;AACxC;AACA;AACA;AACA;AACA,sBAAsB;AACtB;AACA,GAAG;AACH,kDAAkD,2CAAc;AAChE;AACA;AACA;AACA,sCAAsC,2CAAc;AACpD,oCAAoC,2CAAc;AAClD,uBAAuB,8CAAiB;AACxC;AACA;AACA;AACA;AACA,GAAG;AACH,sBAAsB,8CAAiB;AACvC;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA,uBAAuB,yCAAY;AACnC,sBAAsB,yCAAY;AAClC,kBAAkB,yCAAY;AAC9B;AACA;AACA;AACA;AACA,iBAAiB,8CAAiB;AAClC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,iEAAe;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ,gDAAkB;AAC1B;AACA,SAAS;AACT;AACA,KAAK;AACL,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA,GAAG;AACH,uBAAuB,yCAAY;AACnC;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,eAAe,0CAAa;AAC5B;AACA;AACA;AACA;AACA,GAAG;AACH,mBAAmB,0CAAa;AAChC;AACA;AACA,GAAG;AACH,yBAAyB,0CAAa;AACtC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,SAAS,0CAAa;AACtB;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA,iBAAiB,uDAAO;AACxB;AACA;AACA,WAAW;AACX;AACA;AACA;AACA;AACA,eAAe,uDAAO;AACtB;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK,wDAAQ;AACb;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA,KAAK,uDAAO;AACZ;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA,KAAK,4DAAY;AACjB;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK,sDAAM;AACX;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK,sDAAM;AACX;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK,+DAAe;AACpB;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA,KAAK,sDAAM;AACX;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA,KAAK,wDAAQ;AACb;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAEiG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC/WuN;AAC/O;AACkP;AAC9P;;AAE9D;AACA,cAAc,wEAAgB;AAC9B;AACA;AACA;AACA;AACA,oBAAoB,qEAAa;AACjC;AACA;AACA,yBAAyB,yDAAK,2BAA2B,yDAAK;AAC9D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,UAAU,iEAAS;AACnB;;AAEA;AACA;AACA,OAAO,qEAAa;AACpB,WAAW,gEAAY;AACvB;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ,eAAe,yDAAK;AACpB,eAAe,yDAAK;;AAEpB;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,+BAA+B,gEAAY;AAC3C;AACA,cAAc,iEAAS;AACvB,OAAO,gEAAQ;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mEAAmE,iEAAS;AAC5E;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc,gEAAY;AAC1B;AACA;AACA,UAAU,iEAAS;AACnB;AACA;AACA,MAAM;AACN;AACA;AACA;AACA,2HAA2H,gEAAY;AACvI;AACA;AACA;AACA;AACA;AACA,gBAAgB,iEAAS;AACzB,sCAAsC,iEAAS,iBAAiB,iEAAS;AACzE;AACA,wBAAwB,uEAAe;AACvC;AACA;AACA;AACA,kBAAkB,wEAAgB;AAClC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,iEAAS;AAC5B,sBAAsB,uEAAe;AACrC;AACA;AACA,SAAS,oEAAgB;AACzB;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA,qBAAqB,qEAAa;AAClC;AACA,iCAAiC,0EAAkB;AACnD;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA,0BAA0B,0EAAkB;AAC5C,8BAA8B,kEAAU;AACxC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc,gEAAY;AAC1B,kBAAkB,gEAAY;AAC9B,kCAAkC,qEAAa;AAC/C;AACA,QAAQ,mEAAW,6BAA6B,yEAAiB;AACjE,eAAe,qEAAa;AAC5B;AACA,QAAQ,qEAAa;AACrB;AACA;AACA;AACA;AACA;AACA;AACA,8HAA8H,gEAAY;AAC1I;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,eAAe,0EAAkB;AACjC,iBAAiB,qEAAa;AAC9B;AACA,gBAAgB,uDAAG;AACnB,iBAAiB,uDAAG;AACpB;AACA;AACA,MAAM,wEAAgB;AACtB,SAAS,uDAAG;AACZ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,cAAc,iEAAS;AACvB,eAAe,0EAAkB;AACjC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gCAAgC,gEAAQ;AACxC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,gBAAgB,qEAAa,gCAAgC,gEAAY;AACzE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ,2BAA2B,0EAAkB;AAC7C,IAAI,SAAS,iEAAS;AACtB;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,oEAAgB;AACzB;AACA;AACA,qBAAqB,qEAAa;AAClC,kCAAkC,iEAAS,gBAAgB,6EAAqB;AAChF;AACA;AACA,SAAS,wEAAgB;AACzB;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,4EAAoB,kCAAkC,iEAAS,QAAQ,mEAAW;AACjG;AACA,yBAAyB,wEAAgB;AACzC,qCAAqC,qEAAa;;AAElD;AACA,SAAS,iEAAS,kBAAkB,6EAAqB;AACzD,0BAA0B,wEAAgB;AAC1C,oCAAoC,yEAAiB;AACrD;AACA;AACA;AACA,kTAAkT,yEAAiB;AACnU;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA,kBAAkB,qEAAa;AAC/B;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ,sEAAsE,kEAAU;AAChF;AACA;AACA;AACA;AACA,kBAAkB,uDAAG;AACrB,oBAAoB,uDAAG;AACvB,qBAAqB,uDAAG;AACxB,mBAAmB,uDAAG;AACtB;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;;AAEA;AACA,kCAAkC,qEAAa;AAC/C,0BAA0B,0EAAkB;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA,kBAAkB,gEAAY;AAC9B;AACA,QAAQ,mEAAW,6BAA6B,yEAAiB;AACjE,eAAe,qEAAa;AAC5B;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA,wHAAwH,gEAAY;AACpI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,SAAS,wEAAgB;AACzB;;AAEA;AACA,OAAO,qEAAa,aAAa,wEAAgB;AACjD;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,MAAM,0EAAkB;AACxB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,cAAc,iEAAS;AACvB,MAAM,kEAAU;AAChB;AACA;AACA,OAAO,qEAAa;AACpB,0BAA0B,qEAAa;AACvC,+BAA+B,6EAAqB;AACpD,UAAU,iEAAS;AACnB;AACA;AACA,wBAAwB,qEAAa;AACrC;AACA;AACA;AACA;AACA,yBAAyB,sEAAc;AACvC;AACA;AACA,sBAAsB,6EAAqB,uDAAuD,yEAAiB;AACnH;AACA;AACA,yBAAyB,0EAAkB;AAC3C;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,SAAS,wEAAgB;AACzB;;AAEA;AACA;AACA,oBAAoB;AACpB;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,eAAe,0EAAkB;AACjC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB,yDAAK;AAC1B,uBAAuB,yDAAK;AAC5B,wBAAwB,yDAAK;AAC7B,sBAAsB,yDAAK;AAC3B;AACA;AACA;AACA,iBAAiB,uDAAG,IAAI,uDAAG;AAC3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX,UAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA,0EAA0E,4EAAoB,wBAAwB,4EAAoB;AAC1I;AACA;AACA;AACA,KAAK;AACL;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB,6DAAgB;;AAEvC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,qDAAQ;;AAEvB;AACA;AACA;AACA;AACA;AACA;AACA,sBAAsB,4DAAe;;AAErC;AACA;AACA;AACA;AACA;AACA,cAAc,oDAAO;;AAErB;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,mDAAM;;AAEnB;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,mDAAM;;AAEnB;AACA;AACA;AACA;AACA;AACA,aAAa,mDAAM;;AAEnB;AACA;AACA;AACA;AACA;AACA,cAAc,oDAAO;;AAErB;AACA;AACA;AACA;AACA;AACA,eAAe,qDAAQ;;AAEvB;AACA;AACA;AACA,mBAAmB,yDAAY;;AAE/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,kEAAiB;AAC1B;AACA;AACA,GAAG;AACH;;AAE4I;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC/uB7G;AAC4B;AAC+O;AACpO;AACd;AACoG;AAC5G;AACV;AAC8E;AAC4E;;AAEhM;AACA;AACA;AACA;AACA;AACA,qBAAqB,yCAAY;AACjC,oBAAoB,8CAAiB;AACrC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,GAAG;AACH,SAAS,0CAAa;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA,KAAK,yLAAK;AACV;;AAEA;AACA;AACA;AACA,cAAc,yCAAY;AAC1B,QAAQ,IAAqC;AAC7C;AACA;AACA,GAAG;AACH;AACA;AACA,GAAG;AACH,SAAS,8CAAiB;AAC1B,wEAAwE,aAAa;AACrF;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,wBAAwB;AAC5B;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA,YAAY,mEAAS;AACrB;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,mEAAS;AACrB;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,oBAAoB,yDAAK;AACzB;AACA,cAAc,mEAAS;AACvB;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA,WAAW;AACX;AACA,QAAQ;AACR;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA,cAAc,mEAAS;AACvB;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA,oBAAoB,yDAAK;AACzB;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA,UAAU,IAAqC;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sBAAsB,WAAW;AACjC,wBAAwB,YAAY;AACpC;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA,QAAQ;AACR;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,8CAA8C,kDAAe,GAAG,4CAAS;;AAEzE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yCAAyC,gDAAmB;AAC5D,oBAAoB;AACpB,sBAAsB;AACtB;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ,4BAA4B,2CAAc;AAC1C,mBAAmB,8CAAiB;AACpC;AACA,GAAG;AACH,qBAAqB,8CAAiB;AACtC;AACA;AACA;AACA;AACA,KAAK;AACL,GAAG;AACH,cAAc,0CAAa;AAC3B;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,GAAG;AACH,sBAAsB,sDAAG;AACzB,WAAW,0CAAa;AACxB;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,EAAE,6CAAgB;AACtB,8BAA8B,2CAAc;AAC5C,uBAAuB,yCAAY;AACnC,cAAc,8CAAiB;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,SAAS,0CAAa;AACtB;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA,wBAAwB,+CAAkB;AAC1C;AACA,sBAAsB,sDAAG;AACzB;AACA,GAAG;AACH;AACA,sCAAsC,gDAAmB;AACzD;AACA;AACA,CAAC;AACD;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+BAA+B,6CAAgB;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ,wDAAwD,2CAAc;AACtE;AACA;AACA,sBAAsB,yCAAY;AAClC;AACA,uBAAuB,0CAAa;AACpC;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,QAAQ;AACR;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sBAAsB,sDAAG;AACzB;AACA,2BAA2B,sDAAG;AAC9B;AACA;AACA,KAAK;AACL,GAAG;AACH,CAAC;AACD;AACA;AACA;AACA,mCAAmC,6CAAgB;AACnD;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA,IAAI,EAAE,6CAAgB;AACtB;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA,sBAAsB,2CAAc;AACpC;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,EAAE,4CAAe;AACjB;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,IAAI,IAAqC;AACzC;AACA;AACA;AACA;AACA,0EAA0E,aAAa;AACvF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6EAA6E,eAAe;AAC5F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,mCAAmC,6CAAgB;AACnD;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM,IAAI;AACV;AACA,IAAI;AACJ,MAAM,IAAqC;AAC3C;AACA;AACA;AACA;AACA;AACA,4BAA4B,2CAAc;;AAE1C;AACA;AACA;AACA,kBAAkB,wEAAgB;AAClC;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,sBAAsB,uDAAI;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,uDAAuD,sDAAG;AAC1D;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK,gBAAgB,sDAAG;AACxB;AACA;AACA,KAAK,gBAAgB,sDAAG;AACxB;AACA,6BAA6B,sDAAG;AAChC;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL,GAAG;AACH,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;;AAEA,yCAAyC,gDAAmB;AAC5D,yCAAyC,gDAAmB;;AAE5D;AACA;AACA;AACA;AACA;AACA;AACA,+BAA+B,6CAAgB;AAC/C;;AAEA;AACA;AACA;AACA,8BAA8B,6CAAgB;;AAE9C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA,sBAAsB,sDAAG;AACzB,WAAW,0CAAa;AACxB;AACA;AACA,KAAK;AACL;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ,mBAAmB,yCAAY;AAC/B,kBAAkB,8CAAiB;AACnC;AACA,GAAG;AACH,qBAAqB,8CAAiB;AACtC;AACA,GAAG;AACH,iBAAiB,2CAAc;AAC/B,sBAAsB,sDAAG;AACzB,WAAW,0CAAa;AACxB;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,GAAG;AACH;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,cAAc,6CAAM;AACpB;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA,sBAAsB,gFAAsB;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA,yBAAyB,yCAAY;AACrC,qBAAqB,yCAAY;AACjC,qBAAqB,yCAAY;AACjC,yBAAyB,yCAAY;AACrC,4BAA4B,yCAAY;AACxC,4CAA4C,yCAAY;AACxD,6BAA6B,yCAAY,SAAS;AAClD,gCAAgC,yCAAY;AAC5C,sBAAsB,8CAAiB;AACvC;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA,EAAE,4CAAe;AACjB;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,EAAE,4CAAe;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB,qEAAW;AAC5B;AACA;AACA;AACA;AACA,GAAG;AACH,yBAAyB,8CAAiB;AAC1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,GAAG;AACH;AACA;AACA,mBAAmB,qEAAW;AAC9B;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA,EAAE,4CAAe;AACjB;AACA;AACA;AACA;AACA,wBAAwB,gFAAsB;AAC9C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA,kBAAkB,qEAAW;AAC7B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,gEAAgE,kEAAQ;AACxE;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA,QAAQ,iEAAS;AACjB;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU,iEAAS;AACnB;AACA,qBAAqB,qEAAW;AAChC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,EAAE,4CAAe;AACjB;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,oBAAoB,0CAAa;AACjC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;AACA,0BAA0B,gFAAsB;AAChD;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,mBAAmB,0CAAa;AAChC;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,SAAS,0CAAa;AACtB;AACA;AACA,IAAI,IAAI;AACR;;AAEA;AACA,+CAA+C,gDAAmB;AAClE;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA,mCAAmC,6CAAgB;AACnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ,4BAA4B,6CAAgB;AAC5C;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,8BAA8B,yCAAY;AAC1C,uBAAuB,8CAAiB;AACxC;AACA;AACA,KAAK;AACL,GAAG;AACH;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA,SAAS;AACT;AACA,MAAM;AACN;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,GAAG;AACH,sBAAsB,sDAAG;AACzB,WAAW,0CAAa;AACxB;AACA;AACA;AACA,KAAK;AACL;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA,GAAG;AACH;AACA;AACA,IAAI;AACJ;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU,mEAAW;AACrB;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,qEAAW;AAC1B;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA,sBAAsB,kDAAQ;AAC9B;AACA;AACA;AACA,0CAA0C,uEAAa,CAAC,qEAAW;AACnE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,4BAA4B,kEAAQ;AACpC;AACA;AACA,2BAA2B,kDAAQ;AACnC;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gCAAgC,6CAAgB;AAChD,0BAA0B,2CAAc;AACxC;AACA,QAAQ,kEAAQ;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sBAAsB,sDAAG;AACzB;AACA;AACA,GAAG;AACH,CAAC;;AAED,mCAAmC,gDAAmB;AACtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA,sCAAsC,2CAAc;AACpD,wBAAwB,yCAAY;AACpC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sBAAsB,iEAAS;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA,GAAG;AACH,oDAAoD,2CAAc;AAClE,2BAA2B,yCAAY;AACvC,0BAA0B,yCAAY;AACtC,0BAA0B,yCAAY;AACtC,yBAAyB,yCAAY;AACrC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,EAAE,4CAAe;AACjB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,EAAE,4CAAe;AACjB;AACA;AACA;AACA,GAAG;AACH,sBAAsB,uDAAI;AAC1B,WAAW,0CAAa;AACxB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,gEAAgE,sDAAG;AACnE;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA,KAAK,oDAAoD,sDAAG;AAC5D;AACA;AACA,KAAK,8BAA8B,mDAAqB,yEAAyE,sDAAG;AACpI;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,GAAG;AACH;AACA,+BAA+B,6CAAgB;;AAE/C;AACA;AACA;AACA;AACA;AACA,wCAAwC,sBAAsB;AAC9D;AACA;AACA;AACA;AACA;;AAEA;AACA,SAAS,0CAAa;AACtB;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA,iBAAiB,mEAAW;AAC5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM,oDAAU;AAChB;AACA;AACA,SAAS,kDAAQ;AACjB;AACA,2CAA2C,6CAAgB;AAC3D,sBAAsB,sDAAG;AACzB;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,sCAAsC,4EAAkB;;AAExD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gCAAgC,yCAAY;AAC5C,8BAA8B,yCAAY;AAC1C,gCAAgC,yCAAY;AAC5C,2BAA2B,yCAAY;AACvC,2BAA2B,yCAAY;AACvC;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB,kDAAQ;AAC/B,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,GAAG;AACH,EAAE,4CAAe;AACjB;AACA;AACA;AACA;AACA;AACA,YAAY,kEAAQ,uBAAuB,uEAAa,CAAC,qEAAW;AACpE,UAAU,mEAAS;AACnB;AACA;AACA,uBAAuB,mEAAS;AAChC;AACA,UAAU,mEAAS;AACnB;AACA;AACA,YAAY;AACZ;AACA;AACA;AACA;AACA,UAAU,mEAAS;AACnB;AACA;AACA;AACA;AACA,gBAAgB,qEAAW;AAC3B;AACA;AACA;AACA;AACA,GAAG;AACH,EAAE,4CAAe;AACjB;AACA;AACA;AACA,qBAAqB,mEAAS;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,EAAE,4CAAe;AACjB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA,uCAAuC,kEAAQ,iCAAiC,kEAAQ,6BAA6B,kEAAQ,6BAA6B,kEAAQ;AAClK;AACA,iBAAiB,kEAAQ,sGAAsG,kEAAQ;AACvI,SAAS;AACT;AACA;AACA,SAAS;;AAET;AACA;AACA,oDAAoD,uEAAa,CAAC,qEAAW,4BAA4B,qEAAW;AACpH;AACA;AACA,cAAc,qEAAa;AAC3B;AACA;AACA;AACA;AACA;AACA,cAAc,qEAAa;AAC3B;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA,oBAAoB,qEAAa;AACjC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,yBAAyB,yCAAY;AACrC,wBAAwB,yCAAY;AACpC;AACA;AACA,EAAE,4CAAe;AACjB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA,qBAAqB,qEAAa;AAClC,gBAAgB,qEAAW;AAC3B,qCAAqC,uEAAa;;AAElD;AACA;AACA;AACA;AACA;AACA,2CAA2C,kEAAQ;AACnD;AACA;AACA;AACA,SAAS;AACT;AACA,KAAK;AACL,GAAG;AACH;AACA;AACA;AACA;AACA,gBAAgB,qEAAW;AAC3B,qCAAqC,uEAAa;AAClD;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ,SAAS,wEAAc,WAAW,+EAAqB;AAC/D;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB,uEAAa;AACpC,wCAAwC,kEAAQ;AAChD;AACA,eAAe,kEAAQ;AACvB,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oEAAoE,qEAAa;AACjF;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA;AACA,OAAO;AACP;AACA,GAAG;AACH,EAAE,4CAAe;AACjB,iEAAiE;AACjE;AACA;AACA;AACA,KAAK;AACL,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB,uEAAa,CAAC,qEAAW;AAChD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,wBAAwB,sDAAG;AAC3B;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,sBAAsB,uDAAI,CAAC,uDAAQ;AACnC,kDAAkD,sDAAG;AACrD;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA;AACA;AACA;AACA,KAAK,0IAA0I,sDAAG;AAClJ;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,GAAG;AACH;;AAEA;AACA;AACA,0CAA0C,qEAAW;AACrD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,qCAAqC,6CAAgB;AACrD;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,sBAAsB,sDAAG;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED;AACA,SAAS,qEAAa;AACtB;AACA;AACA,SAAS,2EAAiB;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ,yBAAyB,yCAAY;AACrC,wBAAwB,yCAAY;AACpC,oBAAoB,0CAAa;AACjC;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;AACA,UAAU,gFAAsB;AAChC;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,UAAU,gFAAsB;AAChC;AACA;AACA,QAAQ;AACR;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA,GAAG;AACH,SAAS,0CAAa;AACtB;AACA,IAAI,IAAI;AACR;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ,qBAAqB,yCAAY;AACjC,6BAA6B,yCAAY;AACzC,wCAAwC,2CAAc;AACtD,kCAAkC,2CAAc;AAChD;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,GAAG;AACH;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA,oBAAoB,gFAAsB;AAC1C,sBAAsB,8CAAiB;AACvC;AACA;AACA,gBAAgB,iEAAS;AACzB;AACA,qBAAqB,mEAAS;AAC9B,WAAW,kEAAQ;AACnB;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,EAAE,4CAAe;AACjB;AACA,GAAG;AACH,EAAE,4CAAe;AACjB;AACA;AACA;AACA,GAAG;AACH,EAAE,4CAAe;AACjB;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,oBAAoB,0CAAa;AACjC;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,SAAS,0CAAa;AACtB;AACA,IAAI,IAAI;AACR;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA,6BAA6B,yCAAY;AACzC,kCAAkC,yCAAY;AAC9C;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA,IAAI;AACJ,yBAAyB,yCAAY;AACrC;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA,wBAAwB,sEAAY;AACpC,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,oBAAoB,mEAAS;AAC7B;AACA,mBAAmB,mEAAS;AAC5B,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,mEAAS;AAC5B;AACA,oBAAoB,qEAAW;AAC/B,6BAA6B,iEAAS;AACtC,kCAAkC,6EAAqB;AACvD,yBAAyB,qEAAa;AACtC,UAAU,6EAAqB,iBAAiB,iEAAS;AACzD;AACA;AACA;AACA;;AAEA;AACA;AACA,0BAA0B,iEAAS,aAAa,uEAAa;AAC7D;AACA,KAAK,kEAAQ;AACb;AACA;AACA,yCAAyC,kEAAQ;AACjD;AACA;;AAEA;AACA,QAAQ,qEAAa;AACrB,kCAAkC,6EAAqB;AACvD,oBAAoB,wEAAgB;AACpC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,6EAAmB;AAChC,KAAK;AACL,QAAQ,6EAAmB,8BAA8B,6EAAmB;AAC5E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,qBAAqB,mEAAS;AAC9B;AACA,mBAAmB,mEAAS;AAC5B,GAAG;AACH,EAAE,4CAAe;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA,MAAM,gEAAQ;AACd;AACA,gBAAgB,qEAAW;AAC3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU,iEAAS;AACnB,oBAAoB,4EAAoB;AACxC;AACA,UAAU,iEAAS;AACnB,qCAAqC,4EAAoB;AACzD;AACA,WAAW,iEAAS;AACpB,qCAAqC,4EAAoB;AACzD;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA,GAAG;AACH,EAAE,4CAAe;AACjB;AACA,GAAG;AACH,oBAAoB,0CAAa;AACjC;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL,GAAG;AACH,mBAAmB,0CAAa;AAChC;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,GAAG;AACH,SAAS,0CAAa;AACtB;AACA;AACA,IAAI,IAAI;AACR;;AAEA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA,kBAAkB,yCAAY,GAAG;AACjC,mBAAmB,2CAAc;AACjC;AACA,MAAM,IAAqC;AAC3C;AACA,+BAA+B,iEAAS;AACxC;AACA;AACA;AACA,oDAAoD,2CAAc;AAClE;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,GAAG;AACH,eAAe,0CAAa;AAC5B;AACA,GAAG;AACH,mBAAmB,0CAAa;AAChC;AACA;AACA;AACA,GAAG;AACH,SAAS,0CAAa;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA,2CAA2C,2CAAc;AACzD,qDAAqD,2CAAc;AACnE;AACA;AACA,0BAA0B,yCAAY;AACtC;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,mBAAmB,mEAAa;AAChC;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA,GAAG;AACH,+BAA+B,8CAAiB;AAChD,sCAAsC,iEAAS;AAC/C;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA,GAAG;AACH,uBAAuB,8CAAiB;AACxC,QAAQ,iEAAS;AACjB;AACA;AACA;;AAEA;AACA;AACA,QAAQ,iEAAS;AACjB;AACA;AACA;AACA,sBAAsB,iEAAS;AAC/B;AACA;AACA,GAAG;AACH,eAAe,0CAAa;AAC5B;AACA;AACA;AACA;AACA,GAAG;AACH,mBAAmB,0CAAa;AAChC;AACA;AACA,GAAG;AACH,kBAAkB,0CAAa;AAC/B;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,SAAS,0CAAa;AACtB;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA,IAAI;AACJ,wBAAwB,yCAAY;AACpC,qBAAqB,yCAAY;AACjC,8BAA8B,yCAAY;AAC1C,EAAE,4CAAe;AACjB;AACA,gBAAgB,iEAAS;;AAEzB;AACA;AACA;AACA;AACA,mBAAmB,qEAAa,qDAAqD,uEAAa,CAAC,qEAAW;AAC9G;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,EAAE,4CAAe;AACjB;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,EAAE,4CAAe;AACjB;AACA;AACA;AACA,GAAG;AACH,oBAAoB,0CAAa;AACjC;AACA,UAAU,+EAAqB;AAC/B;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,qBAAqB,mEAAS;AAC9B,yBAAyB,iEAAS;AAClC;AACA;AACA;AACA;AACA,cAAc,kEAAQ,MAAM,+DAAK;AACjC;AACA,UAAU;AACV;AACA,+CAA+C,2EAAiB;AAChE;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA,gCAAgC,iEAAS;;AAEzC;AACA;AACA;AACA,yBAAyB,uEAAa;;AAEtC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,kEAAQ,wIAAwI,kEAAQ;AACpK;AACA;AACA;AACA,OAAO;AACP;AACA,GAAG;AACH,SAAS,0CAAa;AACtB;AACA,IAAI,IAAI;AACR;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kFAAkF,aAAa;AAC/F;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA,OAAO;AACP;AACA,KAAK,IAAI;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,4BAA4B,8CAAiB;AAC7C;AACA;AACA,2BAA2B,8CAAiB;AAC5C;AACA;AACA,uBAAuB,8CAAiB;AACxC;AACA;AACA,SAAS,0CAAa;AACtB;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA,8CAA8C;AAC9C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ,MAAM,IAAqC;AAC3C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA,GAAG;AACH,oCAAoC,4EAAkB;AACtD,6BAA6B,yCAAY;AACzC,mBAAmB,yCAAY;AAC/B,iBAAiB,yCAAY;AAC7B,+BAA+B,yCAAY;AAC3C,gCAAgC,yCAAY;AAC5C,6BAA6B,yCAAY;AACzC,0BAA0B,yCAAY;AACtC,4BAA4B,yCAAY;AACxC,iCAAiC,yCAAY;AAC7C;AACA;AACA;AACA;AACA,kCAAkC,2CAAc;AAChD,oCAAoC,2CAAc;AAClD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA,KAAK;AACL,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB,uEAAa,CAAC,qEAAW;AAC9C,oEAAoE,kEAAQ;AAC5E;AACA;AACA;AACA,OAAO;AACP;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,GAAG;AACH;AACA,eAAe,0CAAa;AAC5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,UAAU;AACV;AACA;AACA,SAAS;AACT,OAAO;AACP;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA,OAAO;AACP;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM,mEAAS;AACf;AACA,UAAU,qEAAa;AACvB;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ,mEAAS;AACjB;AACA;AACA;AACA;AACA,QAAQ,mEAAS;AACjB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM,mEAAS;;AAEf;AACA,8BAA8B,uEAAa;AAC3C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX,UAAU;AACV;AACA;AACA;AACA,WAAW;AACX;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA,WAAW;AACX,UAAU;AACV;AACA;AACA;AACA;AACA,WAAW;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,mCAAmC,0CAAa;AAChD;AACA;AACA;AACA,GAAG;AACH,mBAAmB,0CAAa;AAChC;AACA;AACA,oEAAoE;AACpE;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,oBAAoB,0CAAa;AACjC;AACA,wCAAwC,wEAAc;AACtD;AACA;AACA;AACA;AACA;AACA;AACA,wCAAwC,+EAAqB;AAC7D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA,gBAAgB,mEAAS;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB,mEAAS;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,mEAAS;AACrB;AACA;AACA;AACA,cAAc;AACd;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU,mEAAS;AACnB;AACA;AACA,YAAY;AACZ;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,SAAS,0CAAa;AACtB;AACA;AACA;AACA,IAAI,IAAI;AACR;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA,oBAAoB,0CAAa;AACjC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA,OAAO;AACP;AACA;AACA,OAAO;AACP;AACA;AACA,OAAO;AACP;AACA;AACA,OAAO;AACP;AACA,GAAG;AACH,mBAAmB,0CAAa;AAChC;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA,GAAG;AACH,eAAe,8CAAiB;AAChC;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA,GAAG;AACH,SAAS,0CAAa;AACtB;AACA;AACA;AACA,IAAI,IAAI;AACR;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oCAAoC,2CAAc;AAClD;AACA;AACA;AACA,EAAE,4CAAe;AACjB;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA,IAAI;AACJ;AACA;AACA,8BAA8B,2CAAc;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA,iBAAiB,0CAAa;AAC9B;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,8BAA8B,2CAAc;AAC5C;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,IAAI;AACJ;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK,IAAI;AACT;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ,uBAAuB,yCAAY;AACnC,oBAAoB,yCAAY;AAChC,uBAAuB,yCAAY;AACnC,wBAAwB,yCAAY;AACpC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR,QAAQ,mEAAS;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM,mEAAS;AACf;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA,GAAG;AACH,oBAAoB,0CAAa;AACjC;AACA,GAAG;AACH,mBAAmB,0CAAa;AAChC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,SAAS,0CAAa;AACtB;AACA;AACA,IAAI,IAAI;AACR;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM,EAAE,4DAAQ;AAChB;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;;AAEA;AACA;AACA;AACA;AACA,mBAAmB,uBAAuB;AAC1C;AACA;AACA;AACA;AACA;AACA,QAAQ,IAAqC;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB,8DAAM;AACtB;AACA,2BAA2B,sEAAc;AACzC,8BAA8B,sEAAc;AAC5C;AACA;AACA,KAAK;AACL,kBAAkB,uDAAG;AACrB;AACA;AACA,4CAA4C,qDAAK;AACjD,8BAA8B,uDAAG,2HAA2H,uDAAG;AAC/J;AACA;;AAEA;AACA;AACA,yEAAyE,uDAAG;AAC5E,MAAM,gDAAkB;AACxB;AACA;AACA,kCAAkC,sEAAc;AAChD;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA,iCAAiC,yCAAY;AAC7C,2BAA2B,yCAAY;AACvC,6BAA6B,yCAAY;AACzC,EAAE,4CAAe;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ,gDAAkB;AAC1B;AACA,SAAS;AACT,QAAQ,yBAAyB,sEAAY;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,mBAAmB,0CAAa;AAChC;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU,gDAAkB;AAC5B;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA,GAAG;AACH,SAAS,0CAAa;AACtB;AACA,IAAI,IAAI;AACR;;AAEA;AACA;AACA;AACA;AACA,kCAAkC,YAAY;AAC9C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0CAA0C;;AAE1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA,qBAAqB,mEAAS;AAC9B;AACA,+BAA+B,kEAAQ;AACvC,gCAAgC,kEAAQ;AACxC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,qBAAqB,iEAAS,yBAAyB,kEAAQ;AAC/D;AACA;;AAEA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAE2iB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACvkJte;;AAErE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,kBAAkB,oEAAY;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,qEAAa;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEiT;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC9IjT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEgV;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACzJhV;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEyW;;;;;;;;;;;;;;;;;ACzI9S;;AAE3D,iEAAe,kEAAoB,IAAI,uDAAY,EAAC;;;;;;;;;;;;;;;;;ACFJ;;AAEhD,iEAAe,4DAAkB,IAAI,iDAAU,EAAC;;;;;;;UCFhD;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;;;;WCtBA;WACA;WACA;WACA;WACA;WACA,iCAAiC,WAAW;WAC5C;WACA;;;;;WCPA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,sDAAsD;WACtD,sCAAsC,iEAAiE;WACvG;WACA;WACA;WACA;WACA;WACA;;;;;WCzBA;WACA;WACA;WACA;WACA,yCAAyC,wCAAwC;WACjF;WACA;WACA;;;;;WCPA;;;;;WCAA;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACN6B;AACD;AACF;AACF;AACA;AACA","sources":["webpack://webReact/webpack/universalModuleDefinition","webpack://webReact/../../node_modules/domelementtype/lib/index.js","webpack://webReact/../../node_modules/domhandler/lib/index.js","webpack://webReact/../../node_modules/domhandler/lib/node.js","webpack://webReact/../../node_modules/html-dom-parser/lib/client/constants.js","webpack://webReact/../../node_modules/html-dom-parser/lib/client/domparser.js","webpack://webReact/../../node_modules/html-dom-parser/lib/client/html-to-dom.js","webpack://webReact/../../node_modules/html-dom-parser/lib/client/utilities.js","webpack://webReact/../../node_modules/html-react-parser/lib/attributes-to-props.js","webpack://webReact/../../node_modules/html-react-parser/lib/dom-to-react.js","webpack://webReact/../../node_modules/html-react-parser/lib/utilities.js","webpack://webReact/../../node_modules/inline-style-parser/index.js","webpack://webReact/../../node_modules/object-assign/index.js","webpack://webReact/../../node_modules/prop-types/checkPropTypes.js","webpack://webReact/../../node_modules/prop-types/factoryWithTypeCheckers.js","webpack://webReact/../../node_modules/prop-types/index.js","webpack://webReact/../../node_modules/prop-types/lib/ReactPropTypesSecret.js","webpack://webReact/../../node_modules/prop-types/lib/has.js","webpack://webReact/../../node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js","webpack://webReact/../../node_modules/prop-types/node_modules/react-is/index.js","webpack://webReact/../../node_modules/react-property/lib/index.js","webpack://webReact/../../node_modules/react-property/lib/possibleStandardNamesOptimized.js","webpack://webReact/../../node_modules/react-transition-group/esm/Transition.js","webpack://webReact/../../node_modules/react-transition-group/esm/TransitionGroupContext.js","webpack://webReact/../../node_modules/react-transition-group/esm/config.js","webpack://webReact/../../node_modules/react-transition-group/esm/utils/PropTypes.js","webpack://webReact/../../node_modules/react-transition-group/esm/utils/reflow.js","webpack://webReact/../../node_modules/react/cjs/react-jsx-runtime.development.js","webpack://webReact/../../node_modules/react/jsx-runtime.js","webpack://webReact/../../node_modules/style-to-js/cjs/index.js","webpack://webReact/../../node_modules/style-to-js/cjs/utilities.js","webpack://webReact/../../node_modules/style-to-object/cjs/index.js","webpack://webReact/../../node_modules/tabbable/dist/index.esm.js","webpack://webReact/./src/common/constants/environments.ts","webpack://webReact/./src/common/utilities/warning.ts","webpack://webReact/./src/components/Accordion/Accordion.tsx","webpack://webReact/./src/components/Accordion/AccordionContent.tsx","webpack://webReact/./src/components/Accordion/AccordionContext.ts","webpack://webReact/./src/components/Accordion/AccordionHeader.tsx","webpack://webReact/./src/components/Accordion/AccordionItem.tsx","webpack://webReact/./src/components/Accordion/AccordionItemContext.ts","webpack://webReact/./src/components/Accordion/UncontrolledAccordion.tsx","webpack://webReact/./src/components/Accordion/index.ts","webpack://webReact/./src/components/Accordion/useAccordion.ts","webpack://webReact/./src/components/Accordion/useAccordionAriaProps.ts","webpack://webReact/./src/components/Accordion/useAccordionStyleProps.ts","webpack://webReact/./src/components/Accordion/useOpenItem.ts","webpack://webReact/./src/components/ActionGroup/ActionGroup.tsx","webpack://webReact/./src/components/ActionGroup/index.ts","webpack://webReact/./src/components/Alert/Alert.tsx","webpack://webReact/./src/components/Alert/index.ts","webpack://webReact/./src/components/Alert/useAlertIcon.ts","webpack://webReact/./src/components/Alert/useAlertStyleProps.ts","webpack://webReact/./src/components/Avatar/Avatar.tsx","webpack://webReact/./src/components/Avatar/index.ts","webpack://webReact/./src/components/Avatar/useAvatarStyleProps.ts","webpack://webReact/./src/components/Box/Box.tsx","webpack://webReact/./src/components/Box/index.ts","webpack://webReact/./src/components/Box/useBoxStyleProps.ts","webpack://webReact/./src/components/Breadcrumbs/Breadcrumbs.tsx","webpack://webReact/./src/components/Breadcrumbs/BreadcrumbsItem.tsx","webpack://webReact/./src/components/Breadcrumbs/index.ts","webpack://webReact/./src/components/Breadcrumbs/useBreadcrumbsStyleProps.ts","webpack://webReact/./src/components/Button/Button.tsx","webpack://webReact/./src/components/Button/index.ts","webpack://webReact/./src/components/Button/useButtonProps.ts","webpack://webReact/./src/components/Button/useButtonStyleProps.ts","webpack://webReact/./src/components/ButtonLink/ButtonLink.tsx","webpack://webReact/./src/components/ButtonLink/useButtonLinkProps.ts","webpack://webReact/./src/components/ButtonLink/useButtonLinkStyleProps.ts","webpack://webReact/./src/components/Card/Card.tsx","webpack://webReact/./src/components/Card/CardArtwork.tsx","webpack://webReact/./src/components/Card/CardBody.tsx","webpack://webReact/./src/components/Card/CardEyebrow.tsx","webpack://webReact/./src/components/Card/CardFooter.tsx","webpack://webReact/./src/components/Card/CardLink.tsx","webpack://webReact/./src/components/Card/CardLogo.tsx","webpack://webReact/./src/components/Card/CardMedia.tsx","webpack://webReact/./src/components/Card/CardTitle.tsx","webpack://webReact/./src/components/Card/index.ts","webpack://webReact/./src/components/Card/useCardMediaStyleProps.ts","webpack://webReact/./src/components/Card/useCardStyleProps.ts","webpack://webReact/./src/components/Checkbox/Checkbox.tsx","webpack://webReact/./src/components/Checkbox/index.ts","webpack://webReact/./src/components/Checkbox/useCheckboxStyleProps.ts","webpack://webReact/./src/components/Collapse/Collapse.tsx","webpack://webReact/./src/components/Collapse/UncontrolledCollapse.tsx","webpack://webReact/./src/components/Collapse/index.ts","webpack://webReact/./src/components/Collapse/useCollapse.ts","webpack://webReact/./src/components/Collapse/useCollapseAriaProps.ts","webpack://webReact/./src/components/Collapse/useCollapseStyleProps.ts","webpack://webReact/./src/components/Collapse/useResizeHeight.ts","webpack://webReact/./src/components/Container/Container.tsx","webpack://webReact/./src/components/Container/index.ts","webpack://webReact/./src/components/Container/useContainerStyleProps.ts","webpack://webReact/./src/components/ControlButton/ControlButton.tsx","webpack://webReact/./src/components/ControlButton/index.ts","webpack://webReact/./src/components/ControlButton/useControlButtonProps.ts","webpack://webReact/./src/components/ControlButton/useControlButtonStyleProps.ts","webpack://webReact/./src/components/Dialog/Dialog.tsx","webpack://webReact/./src/components/Dialog/index.ts","webpack://webReact/./src/components/Dialog/useDialog.ts","webpack://webReact/./src/components/Divider/Divider.tsx","webpack://webReact/./src/components/Divider/index.ts","webpack://webReact/./src/components/Divider/useDividerStyleProps.ts","webpack://webReact/./src/components/Drawer/Drawer.tsx","webpack://webReact/./src/components/Drawer/DrawerCloseButton.tsx","webpack://webReact/./src/components/Drawer/DrawerContext.ts","webpack://webReact/./src/components/Drawer/DrawerPanel.tsx","webpack://webReact/./src/components/Drawer/constants.ts","webpack://webReact/./src/components/Drawer/index.ts","webpack://webReact/./src/components/Drawer/useDrawerStyleProps.ts","webpack://webReact/./src/components/Dropdown/Dropdown.tsx","webpack://webReact/./src/components/Dropdown/DropdownContext.ts","webpack://webReact/./src/components/Dropdown/DropdownPopover.tsx","webpack://webReact/./src/components/Dropdown/DropdownTrigger.tsx","webpack://webReact/./src/components/Dropdown/UncontrolledDropdown.tsx","webpack://webReact/./src/components/Dropdown/index.ts","webpack://webReact/./src/components/Dropdown/useDropdown.ts","webpack://webReact/./src/components/Dropdown/useDropdownAriaProps.ts","webpack://webReact/./src/components/Dropdown/useDropdownStyleProps.ts","webpack://webReact/./src/components/EmptyState/EmptyState.tsx","webpack://webReact/./src/components/EmptyState/EmptyStateSection.tsx","webpack://webReact/./src/components/EmptyState/index.ts","webpack://webReact/./src/components/EmptyState/useEmptyStateStyleProps.ts","webpack://webReact/./src/components/Field/HelperText.tsx","webpack://webReact/./src/components/Field/Label.tsx","webpack://webReact/./src/components/Field/ValidationText.tsx","webpack://webReact/./src/components/Field/constants.ts","webpack://webReact/./src/components/Field/index.ts","webpack://webReact/./src/components/Field/useAriaIds.tsx","webpack://webReact/./src/components/Field/useValidationIcon.ts","webpack://webReact/./src/components/Field/useValidationTextRole.tsx","webpack://webReact/./src/components/FieldGroup/FieldGroup.tsx","webpack://webReact/./src/components/FieldGroup/index.ts","webpack://webReact/./src/components/FieldGroup/useFieldGroupStyleProps.ts","webpack://webReact/./src/components/FileUploader/AttachmentActionButton.tsx","webpack://webReact/./src/components/FileUploader/AttachmentDismissButton.tsx","webpack://webReact/./src/components/FileUploader/AttachmentImagePreview.tsx","webpack://webReact/./src/components/FileUploader/FileUploader.tsx","webpack://webReact/./src/components/FileUploader/FileUploaderAttachment.tsx","webpack://webReact/./src/components/FileUploader/FileUploaderContext.ts","webpack://webReact/./src/components/FileUploader/FileUploaderInput.tsx","webpack://webReact/./src/components/FileUploader/FileUploaderList.tsx","webpack://webReact/./src/components/FileUploader/UncontrolledFileUploader.tsx","webpack://webReact/./src/components/FileUploader/constants.ts","webpack://webReact/./src/components/FileUploader/index.ts","webpack://webReact/./src/components/FileUploader/useFileQueue.ts","webpack://webReact/./src/components/FileUploader/useFileUploaderAttachment.ts","webpack://webReact/./src/components/FileUploader/useFileUploaderInput.ts","webpack://webReact/./src/components/FileUploader/useFileUploaderStyleProps.ts","webpack://webReact/./src/components/FileUploader/utils.ts","webpack://webReact/./src/components/Flex/Flex.tsx","webpack://webReact/./src/components/Flex/index.ts","webpack://webReact/./src/components/Flex/useFlexStyleProps.ts","webpack://webReact/./src/components/Footer/Footer.tsx","webpack://webReact/./src/components/Footer/constants.ts","webpack://webReact/./src/components/Footer/index.ts","webpack://webReact/./src/components/Footer/useFooterStyleProps.ts","webpack://webReact/./src/components/Grid/Grid.tsx","webpack://webReact/./src/components/Grid/GridItem.tsx","webpack://webReact/./src/components/Grid/index.ts","webpack://webReact/./src/components/Grid/useGridItemStyleProps.ts","webpack://webReact/./src/components/Grid/useGridStyleProps.ts","webpack://webReact/./src/components/Header/Header.tsx","webpack://webReact/./src/components/Header/HeaderButton.tsx","webpack://webReact/./src/components/Header/HeaderDesktopActions.tsx","webpack://webReact/./src/components/Header/HeaderDialog.tsx","webpack://webReact/./src/components/Header/HeaderDialogActions.tsx","webpack://webReact/./src/components/Header/HeaderDialogButton.tsx","webpack://webReact/./src/components/Header/HeaderDialogCloseButton.tsx","webpack://webReact/./src/components/Header/HeaderDialogContext.ts","webpack://webReact/./src/components/Header/HeaderDialogLink.tsx","webpack://webReact/./src/components/Header/HeaderDialogNav.tsx","webpack://webReact/./src/components/Header/HeaderDialogNavItem.tsx","webpack://webReact/./src/components/Header/HeaderDialogText.tsx","webpack://webReact/./src/components/Header/HeaderLink.tsx","webpack://webReact/./src/components/Header/HeaderMobileActions.tsx","webpack://webReact/./src/components/Header/HeaderNav.tsx","webpack://webReact/./src/components/Header/HeaderNavItem.tsx","webpack://webReact/./src/components/Header/constants.ts","webpack://webReact/./src/components/Header/index.ts","webpack://webReact/./src/components/Header/useHeaderStyleProps.ts","webpack://webReact/./src/components/Heading/Heading.tsx","webpack://webReact/./src/components/Heading/index.ts","webpack://webReact/./src/components/Heading/useHeadingStyleProps.ts","webpack://webReact/./src/components/Icon/Icon.tsx","webpack://webReact/./src/components/Icon/constants.ts","webpack://webReact/./src/components/Icon/index.ts","webpack://webReact/./src/components/Icon/useIconBoxSize.ts","webpack://webReact/./src/components/Icon/useIconStyleProps.ts","webpack://webReact/./src/components/IconBox/IconBox.tsx","webpack://webReact/./src/components/IconBox/constants.ts","webpack://webReact/./src/components/IconBox/index.ts","webpack://webReact/./src/components/IconBox/useIconBoxColors.ts","webpack://webReact/./src/components/IconBox/useIconBoxStyleProps.ts","webpack://webReact/./src/components/Item/Item.tsx","webpack://webReact/./src/components/Item/index.ts","webpack://webReact/./src/components/Item/useItemStyleProps.ts","webpack://webReact/./src/components/Link/Link.tsx","webpack://webReact/./src/components/Link/index.ts","webpack://webReact/./src/components/Link/useLinkStyleProps.ts","webpack://webReact/./src/components/Matrix/Matrix.tsx","webpack://webReact/./src/components/Matrix/constant.ts","webpack://webReact/./src/components/Matrix/index.ts","webpack://webReact/./src/components/Matrix/useMatrixStyleProps.ts","webpack://webReact/./src/components/Modal/Modal.tsx","webpack://webReact/./src/components/Modal/ModalBody.tsx","webpack://webReact/./src/components/Modal/ModalCloseButton.tsx","webpack://webReact/./src/components/Modal/ModalContext.ts","webpack://webReact/./src/components/Modal/ModalDialog.tsx","webpack://webReact/./src/components/Modal/ModalFooter.tsx","webpack://webReact/./src/components/Modal/ModalHeader.tsx","webpack://webReact/./src/components/Modal/index.ts","webpack://webReact/./src/components/Modal/useModalDialogStyleProps.ts","webpack://webReact/./src/components/Modal/useModalStyleProps.ts","webpack://webReact/./src/components/Navigation/Navigation.tsx","webpack://webReact/./src/components/Navigation/NavigationAction.tsx","webpack://webReact/./src/components/Navigation/NavigationAvatar.tsx","webpack://webReact/./src/components/Navigation/NavigationItem.tsx","webpack://webReact/./src/components/Navigation/index.ts","webpack://webReact/./src/components/Navigation/useNavigationActionProps.ts","webpack://webReact/./src/components/Navigation/useNavigationStyleProps.ts","webpack://webReact/./src/components/NoSsr/NoSsr.tsx","webpack://webReact/./src/components/NoSsr/index.ts","webpack://webReact/./src/components/Pagination/Pagination.tsx","webpack://webReact/./src/components/Pagination/PaginationButtonLink.tsx","webpack://webReact/./src/components/Pagination/PaginationItem.tsx","webpack://webReact/./src/components/Pagination/PaginationLink.tsx","webpack://webReact/./src/components/Pagination/PaginationLinkNext.tsx","webpack://webReact/./src/components/Pagination/PaginationLinkPrevious.tsx","webpack://webReact/./src/components/Pagination/UncontrolledPagination.tsx","webpack://webReact/./src/components/Pagination/constants.ts","webpack://webReact/./src/components/Pagination/index.ts","webpack://webReact/./src/components/Pagination/usePagination.tsx","webpack://webReact/./src/components/Pagination/usePaginationStyleProps.ts","webpack://webReact/./src/components/PartnerLogo/PartnerLogo.tsx","webpack://webReact/./src/components/PartnerLogo/index.ts","webpack://webReact/./src/components/PartnerLogo/usePartnerLogoStyleProps.ts","webpack://webReact/./src/components/Pill/Pill.tsx","webpack://webReact/./src/components/Pill/constants.ts","webpack://webReact/./src/components/Pill/index.ts","webpack://webReact/./src/components/Pill/usePillStyleProps.ts","webpack://webReact/./src/components/PricingPlan/PricingPlan.tsx","webpack://webReact/./src/components/PricingPlan/PricingPlanBody.tsx","webpack://webReact/./src/components/PricingPlan/PricingPlanFeatureTitle.tsx","webpack://webReact/./src/components/PricingPlan/PricingPlanFooter.tsx","webpack://webReact/./src/components/PricingPlan/PricingPlanHeader.tsx","webpack://webReact/./src/components/PricingPlan/constants.ts","webpack://webReact/./src/components/PricingPlan/index.ts","webpack://webReact/./src/components/PricingPlan/usePricingPlanStyleProps.ts","webpack://webReact/./src/components/ProductLogo/ProductLogo.tsx","webpack://webReact/./src/components/ProductLogo/index.ts","webpack://webReact/./src/components/Radio/Radio.tsx","webpack://webReact/./src/components/Radio/index.ts","webpack://webReact/./src/components/Radio/useRadioStyleProps.ts","webpack://webReact/./src/components/ScrollView/ScrollView.tsx","webpack://webReact/./src/components/ScrollView/ScrollViewArrows.tsx","webpack://webReact/./src/components/ScrollView/constants.ts","webpack://webReact/./src/components/ScrollView/index.ts","webpack://webReact/./src/components/ScrollView/useScrollPosition.ts","webpack://webReact/./src/components/ScrollView/useScrollViewArrows.ts","webpack://webReact/./src/components/ScrollView/useScrollViewStyleProps.ts","webpack://webReact/./src/components/Section/Section.tsx","webpack://webReact/./src/components/Section/index.ts","webpack://webReact/./src/components/Section/useSectionSizeProps.ts","webpack://webReact/./src/components/Section/useSectionStyleProps.ts","webpack://webReact/./src/components/SegmentedControl/SegmentedControl.tsx","webpack://webReact/./src/components/SegmentedControl/SegmentedControlContext.tsx","webpack://webReact/./src/components/SegmentedControl/SegmentedControlItem.tsx","webpack://webReact/./src/components/SegmentedControl/index.ts","webpack://webReact/./src/components/SegmentedControl/useSegmentedControl.ts","webpack://webReact/./src/components/SegmentedControl/useSegmentedControlStyleProps.ts","webpack://webReact/./src/components/Select/Select.tsx","webpack://webReact/./src/components/Select/index.ts","webpack://webReact/./src/components/Select/useSelectStyleProps.ts","webpack://webReact/./src/components/Skeleton/SkeletonHeading.tsx","webpack://webReact/./src/components/Skeleton/SkeletonItem.tsx","webpack://webReact/./src/components/Skeleton/SkeletonShape.tsx","webpack://webReact/./src/components/Skeleton/SkeletonText.tsx","webpack://webReact/./src/components/Skeleton/constants.ts","webpack://webReact/./src/components/Skeleton/index.ts","webpack://webReact/./src/components/Skeleton/useSkeletonShapeStyleProps.ts","webpack://webReact/./src/components/Skeleton/useSkeletonStyleProps.ts","webpack://webReact/./src/components/SkipLink/SkipLink.tsx","webpack://webReact/./src/components/SkipLink/index.ts","webpack://webReact/./src/components/SkipLink/useSkipLinkStyleProps.ts","webpack://webReact/./src/components/Slider/Slider.tsx","webpack://webReact/./src/components/Slider/constants.ts","webpack://webReact/./src/components/Slider/index.ts","webpack://webReact/./src/components/Slider/useSliderStyleProps.ts","webpack://webReact/./src/components/Spinner/Spinner.tsx","webpack://webReact/./src/components/Spinner/index.ts","webpack://webReact/./src/components/Spinner/useSpinnerStyleProps.ts","webpack://webReact/./src/components/SplitButton/SplitButton.tsx","webpack://webReact/./src/components/SplitButton/UncontrolledSplitButton.tsx","webpack://webReact/./src/components/SplitButton/index.ts","webpack://webReact/./src/components/SplitButton/useSplitButtonStyleProps.ts","webpack://webReact/./src/components/Stack/Stack.tsx","webpack://webReact/./src/components/Stack/StackItem.tsx","webpack://webReact/./src/components/Stack/index.ts","webpack://webReact/./src/components/Stack/useStackStyleProps.ts","webpack://webReact/./src/components/Tabs/TabContent.tsx","webpack://webReact/./src/components/Tabs/TabContext.tsx","webpack://webReact/./src/components/Tabs/TabItem.tsx","webpack://webReact/./src/components/Tabs/TabLink.tsx","webpack://webReact/./src/components/Tabs/TabList.tsx","webpack://webReact/./src/components/Tabs/TabPane.tsx","webpack://webReact/./src/components/Tabs/Tabs.tsx","webpack://webReact/./src/components/Tabs/UncontrolledTabs.tsx","webpack://webReact/./src/components/Tabs/index.ts","webpack://webReact/./src/components/Tabs/useTabs.ts","webpack://webReact/./src/components/Tabs/useTabsStyleProps.ts","webpack://webReact/./src/components/Tag/Tag.tsx","webpack://webReact/./src/components/Tag/constants.ts","webpack://webReact/./src/components/Tag/index.ts","webpack://webReact/./src/components/Tag/useTagStyleProps.ts","webpack://webReact/./src/components/Text/Text.tsx","webpack://webReact/./src/components/Text/index.ts","webpack://webReact/./src/components/Text/useTextStyleProps.ts","webpack://webReact/./src/components/TextArea/TextArea.tsx","webpack://webReact/./src/components/TextArea/index.ts","webpack://webReact/./src/components/TextArea/useAdjustHeight.ts","webpack://webReact/./src/components/TextField/TextField.tsx","webpack://webReact/./src/components/TextField/index.ts","webpack://webReact/./src/components/TextFieldBase/TextFieldBase.tsx","webpack://webReact/./src/components/TextFieldBase/TextFieldBaseInput.tsx","webpack://webReact/./src/components/TextFieldBase/TextFieldBasePasswordToggle.tsx","webpack://webReact/./src/components/TextFieldBase/index.ts","webpack://webReact/./src/components/TextFieldBase/usePasswordToggle.ts","webpack://webReact/./src/components/TextFieldBase/useTextFieldBaseInputStyleProps.ts","webpack://webReact/./src/components/TextFieldBase/useTextFieldBasePasswordToggleStyleProps.ts","webpack://webReact/./src/components/TextFieldBase/useTextFieldBaseStyleProps.ts","webpack://webReact/./src/components/TextFieldBase/withPasswordToggle.tsx","webpack://webReact/./src/components/Timeline/Timeline.tsx","webpack://webReact/./src/components/Timeline/TimelineContent.tsx","webpack://webReact/./src/components/Timeline/TimelineHeading.tsx","webpack://webReact/./src/components/Timeline/TimelineMarker.tsx","webpack://webReact/./src/components/Timeline/TimelineStep.tsx","webpack://webReact/./src/components/Timeline/constants.ts","webpack://webReact/./src/components/Timeline/index.ts","webpack://webReact/./src/components/Timeline/useTimelineStyleProps.ts","webpack://webReact/./src/components/Toast/Toast.tsx","webpack://webReact/./src/components/Toast/ToastBar.tsx","webpack://webReact/./src/components/Toast/ToastBarLink.tsx","webpack://webReact/./src/components/Toast/ToastBarMessage.tsx","webpack://webReact/./src/components/Toast/ToastCloseButton.tsx","webpack://webReact/./src/components/Toast/ToastContext.tsx","webpack://webReact/./src/components/Toast/UncontrolledToast.tsx","webpack://webReact/./src/components/Toast/constants.ts","webpack://webReact/./src/components/Toast/index.ts","webpack://webReact/./src/components/Toast/useToast.ts","webpack://webReact/./src/components/Toast/useToastBarStyleProps.ts","webpack://webReact/./src/components/Toast/useToastIcon.ts","webpack://webReact/./src/components/Toast/useToastStyleProps.ts","webpack://webReact/./src/components/Toggle/Toggle.tsx","webpack://webReact/./src/components/Toggle/index.ts","webpack://webReact/./src/components/Toggle/useToggleStyleProps.ts","webpack://webReact/./src/components/Tooltip/Tooltip.tsx","webpack://webReact/./src/components/Tooltip/TooltipCloseButton.tsx","webpack://webReact/./src/components/Tooltip/TooltipContext.ts","webpack://webReact/./src/components/Tooltip/TooltipPopover.tsx","webpack://webReact/./src/components/Tooltip/TooltipTrigger.tsx","webpack://webReact/./src/components/Tooltip/UncontrolledTooltip.tsx","webpack://webReact/./src/components/Tooltip/index.ts","webpack://webReact/./src/components/Tooltip/useFloating.ts","webpack://webReact/./src/components/Tooltip/useTooltip.ts","webpack://webReact/./src/components/Tooltip/useTooltipStyleProps.ts","webpack://webReact/./src/components/Truncate/Truncate.tsx","webpack://webReact/./src/components/Truncate/index.ts","webpack://webReact/./src/components/Truncate/useTruncateStyleProps.ts","webpack://webReact/./src/components/Truncate/useTruncatedText.ts","webpack://webReact/./src/components/UNSTABLE_Header/UNSTABLE_Header.tsx","webpack://webReact/./src/components/UNSTABLE_Header/UNSTABLE_HeaderLogo.tsx","webpack://webReact/./src/components/UNSTABLE_Header/index.ts","webpack://webReact/./src/components/UNSTABLE_Header/useUnstableHeaderStyleProps.ts","webpack://webReact/./src/components/VisuallyHidden/VisuallyHidden.tsx","webpack://webReact/./src/components/VisuallyHidden/index.ts","webpack://webReact/./src/components/VisuallyHidden/useVisuallyHiddenProps.ts","webpack://webReact/./src/components/index.ts","webpack://webReact/./src/constants/classes.ts","webpack://webReact/./src/constants/colors.ts","webpack://webReact/./src/constants/dictionaries.ts","webpack://webReact/./src/constants/direction.ts","webpack://webReact/./src/constants/index.ts","webpack://webReact/./src/constants/media.ts","webpack://webReact/./src/constants/position.ts","webpack://webReact/./src/constants/style.ts","webpack://webReact/./src/constants/text.ts","webpack://webReact/./src/context/ClassNamePrefixContext.ts","webpack://webReact/./src/context/IconsContext.ts","webpack://webReact/./src/context/PropsContext.ts","webpack://webReact/./src/context/index.ts","webpack://webReact/./src/hooks/index.ts","webpack://webReact/./src/hooks/styleProps.ts","webpack://webReact/./src/hooks/useAlignmentClass.ts","webpack://webReact/./src/hooks/useAriaDescribedBy.ts","webpack://webReact/./src/hooks/useCancelEvent.ts","webpack://webReact/./src/hooks/useClassNamePrefix.ts","webpack://webReact/./src/hooks/useClick.ts","webpack://webReact/./src/hooks/useClickOutside.ts","webpack://webReact/./src/hooks/useDeprecationMessage.ts","webpack://webReact/./src/hooks/useDimensionStyle.ts","webpack://webReact/./src/hooks/useDirectionClass.ts","webpack://webReact/./src/hooks/useDragAndDrop.ts","webpack://webReact/./src/hooks/useIcon.ts","webpack://webReact/./src/hooks/useIconName.ts","webpack://webReact/./src/hooks/useIsMounted.ts","webpack://webReact/./src/hooks/useIsomorphicLayoutEffect.ts","webpack://webReact/./src/hooks/useLastActiveFocus.ts","webpack://webReact/./src/hooks/useResizeObserver.ts","webpack://webReact/./src/hooks/useScrollControl.ts","webpack://webReact/./src/hooks/useSpacingStyle.ts","webpack://webReact/./src/hooks/useStyleUtilities.ts","webpack://webReact/./src/hooks/useToggle.ts","webpack://webReact/./src/hooks/useWrapClass.ts","webpack://webReact/./src/types/card.ts","webpack://webReact/./src/types/dropdown.ts","webpack://webReact/./src/types/index.ts","webpack://webReact/./src/types/link.ts","webpack://webReact/./src/types/shared/index.ts","webpack://webReact/./src/types/shared/style.ts","webpack://webReact/./src/types/shared/tokens.ts","webpack://webReact/./src/types/tooltip.ts","webpack://webReact/./src/types/truncate.ts","webpack://webReact/./src/utils/assert.ts","webpack://webReact/./src/utils/classname.ts","webpack://webReact/./src/utils/colorObjectGenerators.ts","webpack://webReact/./src/utils/compose.ts","webpack://webReact/./src/utils/debounce.ts","webpack://webReact/./src/utils/delayedCallback.ts","webpack://webReact/./src/utils/htmlReactParser.ts","webpack://webReact/./src/utils/index.ts","webpack://webReact/./src/utils/mergeStyleProps.ts","webpack://webReact/./src/utils/responsive.ts","webpack://webReact/./src/utils/ssr.ts","webpack://webReact/./src/utils/string.ts","webpack://webReact/./src/utils/stylePropsClassesGenerator.ts","webpack://webReact/./src/utils/toPascalCase.ts","webpack://webReact/../design-tokens/esm/index.js","webpack://webReact/external umd {\"commonjs\":\"react\",\"commonjs2\":\"react\",\"amd\":\"react\",\"root\":\"react\"}","webpack://webReact/external umd {\"commonjs\":\"react-dom\",\"commonjs2\":\"react-dom\",\"amd\":\"react-dom\",\"root\":\"react-dom\"}","webpack://webReact/../../node_modules/classnames/index.js","webpack://webReact/../../node_modules/@babel/runtime/helpers/esm/inheritsLoose.js","webpack://webReact/../../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js","webpack://webReact/../../node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","webpack://webReact/../../node_modules/@floating-ui/core/dist/floating-ui.core.mjs","webpack://webReact/../../node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs","webpack://webReact/../../node_modules/@floating-ui/react-dom/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs","webpack://webReact/../../node_modules/@floating-ui/react/dist/floating-ui.react.mjs","webpack://webReact/../../node_modules/@floating-ui/react/dist/floating-ui.react.utils.mjs","webpack://webReact/../../node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs","webpack://webReact/../../node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs","webpack://webReact/../../node_modules/html-dom-parser/esm/client/html-to-dom.mjs","webpack://webReact/../../node_modules/html-react-parser/esm/dom-to-react.mjs","webpack://webReact/webpack/bootstrap","webpack://webReact/webpack/runtime/compat get default export","webpack://webReact/webpack/runtime/create fake namespace object","webpack://webReact/webpack/runtime/define property getters","webpack://webReact/webpack/runtime/hasOwnProperty shorthand","webpack://webReact/webpack/runtime/make namespace object","webpack://webReact/./src/index.ts"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"react\"), require(\"react-dom\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"webReact\", [\"react\", \"react-dom\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"webReact\"] = factory(require(\"react\"), require(\"react-dom\"));\n\telse\n\t\troot[\"webReact\"] = factory(root[\"react\"], root[\"react-dom\"]);\n})(self, (__WEBPACK_EXTERNAL_MODULE_react__, __WEBPACK_EXTERNAL_MODULE_react_dom__) => {\nreturn ","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Doctype = exports.CDATA = exports.Tag = exports.Style = exports.Script = exports.Comment = exports.Directive = exports.Text = exports.Root = exports.isTag = exports.ElementType = void 0;\n/** Types of elements found in htmlparser2's DOM */\nvar ElementType;\n(function (ElementType) {\n /** Type for the root element of a document */\n ElementType[\"Root\"] = \"root\";\n /** Type for Text */\n ElementType[\"Text\"] = \"text\";\n /** Type for <? ... ?> */\n ElementType[\"Directive\"] = \"directive\";\n /** Type for <!-- ... --> */\n ElementType[\"Comment\"] = \"comment\";\n /** Type for <script> tags */\n ElementType[\"Script\"] = \"script\";\n /** Type for <style> tags */\n ElementType[\"Style\"] = \"style\";\n /** Type for Any tag */\n ElementType[\"Tag\"] = \"tag\";\n /** Type for <![CDATA[ ... ]]> */\n ElementType[\"CDATA\"] = \"cdata\";\n /** Type for <!doctype ...> */\n ElementType[\"Doctype\"] = \"doctype\";\n})(ElementType = exports.ElementType || (exports.ElementType = {}));\n/**\n * Tests whether an element is a tag or not.\n *\n * @param elem Element to test\n */\nfunction isTag(elem) {\n return (elem.type === ElementType.Tag ||\n elem.type === ElementType.Script ||\n elem.type === ElementType.Style);\n}\nexports.isTag = isTag;\n// Exports for backwards compatibility\n/** Type for the root element of a document */\nexports.Root = ElementType.Root;\n/** Type for Text */\nexports.Text = ElementType.Text;\n/** Type for <? ... ?> */\nexports.Directive = ElementType.Directive;\n/** Type for <!-- ... --> */\nexports.Comment = ElementType.Comment;\n/** Type for <script> tags */\nexports.Script = ElementType.Script;\n/** Type for <style> tags */\nexports.Style = ElementType.Style;\n/** Type for Any tag */\nexports.Tag = ElementType.Tag;\n/** Type for <![CDATA[ ... ]]> */\nexports.CDATA = ElementType.CDATA;\n/** Type for <!doctype ...> */\nexports.Doctype = ElementType.Doctype;\n","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DomHandler = void 0;\nvar domelementtype_1 = require(\"domelementtype\");\nvar node_js_1 = require(\"./node.js\");\n__exportStar(require(\"./node.js\"), exports);\n// Default options\nvar defaultOpts = {\n withStartIndices: false,\n withEndIndices: false,\n xmlMode: false,\n};\nvar DomHandler = /** @class */ (function () {\n /**\n * @param callback Called once parsing has completed.\n * @param options Settings for the handler.\n * @param elementCB Callback whenever a tag is closed.\n */\n function DomHandler(callback, options, elementCB) {\n /** The elements of the DOM */\n this.dom = [];\n /** The root element for the DOM */\n this.root = new node_js_1.Document(this.dom);\n /** Indicated whether parsing has been completed. */\n this.done = false;\n /** Stack of open tags. */\n this.tagStack = [this.root];\n /** A data node that is still being written to. */\n this.lastNode = null;\n /** Reference to the parser instance. Used for location information. */\n this.parser = null;\n // Make it possible to skip arguments, for backwards-compatibility\n if (typeof options === \"function\") {\n elementCB = options;\n options = defaultOpts;\n }\n if (typeof callback === \"object\") {\n options = callback;\n callback = undefined;\n }\n this.callback = callback !== null && callback !== void 0 ? callback : null;\n this.options = options !== null && options !== void 0 ? options : defaultOpts;\n this.elementCB = elementCB !== null && elementCB !== void 0 ? elementCB : null;\n }\n DomHandler.prototype.onparserinit = function (parser) {\n this.parser = parser;\n };\n // Resets the handler back to starting state\n DomHandler.prototype.onreset = function () {\n this.dom = [];\n this.root = new node_js_1.Document(this.dom);\n this.done = false;\n this.tagStack = [this.root];\n this.lastNode = null;\n this.parser = null;\n };\n // Signals the handler that parsing is done\n DomHandler.prototype.onend = function () {\n if (this.done)\n return;\n this.done = true;\n this.parser = null;\n this.handleCallback(null);\n };\n DomHandler.prototype.onerror = function (error) {\n this.handleCallback(error);\n };\n DomHandler.prototype.onclosetag = function () {\n this.lastNode = null;\n var elem = this.tagStack.pop();\n if (this.options.withEndIndices) {\n elem.endIndex = this.parser.endIndex;\n }\n if (this.elementCB)\n this.elementCB(elem);\n };\n DomHandler.prototype.onopentag = function (name, attribs) {\n var type = this.options.xmlMode ? domelementtype_1.ElementType.Tag : undefined;\n var element = new node_js_1.Element(name, attribs, undefined, type);\n this.addNode(element);\n this.tagStack.push(element);\n };\n DomHandler.prototype.ontext = function (data) {\n var lastNode = this.lastNode;\n if (lastNode && lastNode.type === domelementtype_1.ElementType.Text) {\n lastNode.data += data;\n if (this.options.withEndIndices) {\n lastNode.endIndex = this.parser.endIndex;\n }\n }\n else {\n var node = new node_js_1.Text(data);\n this.addNode(node);\n this.lastNode = node;\n }\n };\n DomHandler.prototype.oncomment = function (data) {\n if (this.lastNode && this.lastNode.type === domelementtype_1.ElementType.Comment) {\n this.lastNode.data += data;\n return;\n }\n var node = new node_js_1.Comment(data);\n this.addNode(node);\n this.lastNode = node;\n };\n DomHandler.prototype.oncommentend = function () {\n this.lastNode = null;\n };\n DomHandler.prototype.oncdatastart = function () {\n var text = new node_js_1.Text(\"\");\n var node = new node_js_1.CDATA([text]);\n this.addNode(node);\n text.parent = node;\n this.lastNode = text;\n };\n DomHandler.prototype.oncdataend = function () {\n this.lastNode = null;\n };\n DomHandler.prototype.onprocessinginstruction = function (name, data) {\n var node = new node_js_1.ProcessingInstruction(name, data);\n this.addNode(node);\n };\n DomHandler.prototype.handleCallback = function (error) {\n if (typeof this.callback === \"function\") {\n this.callback(error, this.dom);\n }\n else if (error) {\n throw error;\n }\n };\n DomHandler.prototype.addNode = function (node) {\n var parent = this.tagStack[this.tagStack.length - 1];\n var previousSibling = parent.children[parent.children.length - 1];\n if (this.options.withStartIndices) {\n node.startIndex = this.parser.startIndex;\n }\n if (this.options.withEndIndices) {\n node.endIndex = this.parser.endIndex;\n }\n parent.children.push(node);\n if (previousSibling) {\n node.prev = previousSibling;\n previousSibling.next = node;\n }\n node.parent = parent;\n this.lastNode = null;\n };\n return DomHandler;\n}());\nexports.DomHandler = DomHandler;\nexports.default = DomHandler;\n","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.cloneNode = exports.hasChildren = exports.isDocument = exports.isDirective = exports.isComment = exports.isText = exports.isCDATA = exports.isTag = exports.Element = exports.Document = exports.CDATA = exports.NodeWithChildren = exports.ProcessingInstruction = exports.Comment = exports.Text = exports.DataNode = exports.Node = void 0;\nvar domelementtype_1 = require(\"domelementtype\");\n/**\n * This object will be used as the prototype for Nodes when creating a\n * DOM-Level-1-compliant structure.\n */\nvar Node = /** @class */ (function () {\n function Node() {\n /** Parent of the node */\n this.parent = null;\n /** Previous sibling */\n this.prev = null;\n /** Next sibling */\n this.next = null;\n /** The start index of the node. Requires `withStartIndices` on the handler to be `true. */\n this.startIndex = null;\n /** The end index of the node. Requires `withEndIndices` on the handler to be `true. */\n this.endIndex = null;\n }\n Object.defineProperty(Node.prototype, \"parentNode\", {\n // Read-write aliases for properties\n /**\n * Same as {@link parent}.\n * [DOM spec](https://dom.spec.whatwg.org)-compatible alias.\n */\n get: function () {\n return this.parent;\n },\n set: function (parent) {\n this.parent = parent;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(Node.prototype, \"previousSibling\", {\n /**\n * Same as {@link prev}.\n * [DOM spec](https://dom.spec.whatwg.org)-compatible alias.\n */\n get: function () {\n return this.prev;\n },\n set: function (prev) {\n this.prev = prev;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(Node.prototype, \"nextSibling\", {\n /**\n * Same as {@link next}.\n * [DOM spec](https://dom.spec.whatwg.org)-compatible alias.\n */\n get: function () {\n return this.next;\n },\n set: function (next) {\n this.next = next;\n },\n enumerable: false,\n configurable: true\n });\n /**\n * Clone this node, and optionally its children.\n *\n * @param recursive Clone child nodes as well.\n * @returns A clone of the node.\n */\n Node.prototype.cloneNode = function (recursive) {\n if (recursive === void 0) { recursive = false; }\n return cloneNode(this, recursive);\n };\n return Node;\n}());\nexports.Node = Node;\n/**\n * A node that contains some data.\n */\nvar DataNode = /** @class */ (function (_super) {\n __extends(DataNode, _super);\n /**\n * @param data The content of the data node\n */\n function DataNode(data) {\n var _this = _super.call(this) || this;\n _this.data = data;\n return _this;\n }\n Object.defineProperty(DataNode.prototype, \"nodeValue\", {\n /**\n * Same as {@link data}.\n * [DOM spec](https://dom.spec.whatwg.org)-compatible alias.\n */\n get: function () {\n return this.data;\n },\n set: function (data) {\n this.data = data;\n },\n enumerable: false,\n configurable: true\n });\n return DataNode;\n}(Node));\nexports.DataNode = DataNode;\n/**\n * Text within the document.\n */\nvar Text = /** @class */ (function (_super) {\n __extends(Text, _super);\n function Text() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.type = domelementtype_1.ElementType.Text;\n return _this;\n }\n Object.defineProperty(Text.prototype, \"nodeType\", {\n get: function () {\n return 3;\n },\n enumerable: false,\n configurable: true\n });\n return Text;\n}(DataNode));\nexports.Text = Text;\n/**\n * Comments within the document.\n */\nvar Comment = /** @class */ (function (_super) {\n __extends(Comment, _super);\n function Comment() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.type = domelementtype_1.ElementType.Comment;\n return _this;\n }\n Object.defineProperty(Comment.prototype, \"nodeType\", {\n get: function () {\n return 8;\n },\n enumerable: false,\n configurable: true\n });\n return Comment;\n}(DataNode));\nexports.Comment = Comment;\n/**\n * Processing instructions, including doc types.\n */\nvar ProcessingInstruction = /** @class */ (function (_super) {\n __extends(ProcessingInstruction, _super);\n function ProcessingInstruction(name, data) {\n var _this = _super.call(this, data) || this;\n _this.name = name;\n _this.type = domelementtype_1.ElementType.Directive;\n return _this;\n }\n Object.defineProperty(ProcessingInstruction.prototype, \"nodeType\", {\n get: function () {\n return 1;\n },\n enumerable: false,\n configurable: true\n });\n return ProcessingInstruction;\n}(DataNode));\nexports.ProcessingInstruction = ProcessingInstruction;\n/**\n * A `Node` that can have children.\n */\nvar NodeWithChildren = /** @class */ (function (_super) {\n __extends(NodeWithChildren, _super);\n /**\n * @param children Children of the node. Only certain node types can have children.\n */\n function NodeWithChildren(children) {\n var _this = _super.call(this) || this;\n _this.children = children;\n return _this;\n }\n Object.defineProperty(NodeWithChildren.prototype, \"firstChild\", {\n // Aliases\n /** First child of the node. */\n get: function () {\n var _a;\n return (_a = this.children[0]) !== null && _a !== void 0 ? _a : null;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(NodeWithChildren.prototype, \"lastChild\", {\n /** Last child of the node. */\n get: function () {\n return this.children.length > 0\n ? this.children[this.children.length - 1]\n : null;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(NodeWithChildren.prototype, \"childNodes\", {\n /**\n * Same as {@link children}.\n * [DOM spec](https://dom.spec.whatwg.org)-compatible alias.\n */\n get: function () {\n return this.children;\n },\n set: function (children) {\n this.children = children;\n },\n enumerable: false,\n configurable: true\n });\n return NodeWithChildren;\n}(Node));\nexports.NodeWithChildren = NodeWithChildren;\nvar CDATA = /** @class */ (function (_super) {\n __extends(CDATA, _super);\n function CDATA() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.type = domelementtype_1.ElementType.CDATA;\n return _this;\n }\n Object.defineProperty(CDATA.prototype, \"nodeType\", {\n get: function () {\n return 4;\n },\n enumerable: false,\n configurable: true\n });\n return CDATA;\n}(NodeWithChildren));\nexports.CDATA = CDATA;\n/**\n * The root node of the document.\n */\nvar Document = /** @class */ (function (_super) {\n __extends(Document, _super);\n function Document() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.type = domelementtype_1.ElementType.Root;\n return _this;\n }\n Object.defineProperty(Document.prototype, \"nodeType\", {\n get: function () {\n return 9;\n },\n enumerable: false,\n configurable: true\n });\n return Document;\n}(NodeWithChildren));\nexports.Document = Document;\n/**\n * An element within the DOM.\n */\nvar Element = /** @class */ (function (_super) {\n __extends(Element, _super);\n /**\n * @param name Name of the tag, eg. `div`, `span`.\n * @param attribs Object mapping attribute names to attribute values.\n * @param children Children of the node.\n */\n function Element(name, attribs, children, type) {\n if (children === void 0) { children = []; }\n if (type === void 0) { type = name === \"script\"\n ? domelementtype_1.ElementType.Script\n : name === \"style\"\n ? domelementtype_1.ElementType.Style\n : domelementtype_1.ElementType.Tag; }\n var _this = _super.call(this, children) || this;\n _this.name = name;\n _this.attribs = attribs;\n _this.type = type;\n return _this;\n }\n Object.defineProperty(Element.prototype, \"nodeType\", {\n get: function () {\n return 1;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(Element.prototype, \"tagName\", {\n // DOM Level 1 aliases\n /**\n * Same as {@link name}.\n * [DOM spec](https://dom.spec.whatwg.org)-compatible alias.\n */\n get: function () {\n return this.name;\n },\n set: function (name) {\n this.name = name;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(Element.prototype, \"attributes\", {\n get: function () {\n var _this = this;\n return Object.keys(this.attribs).map(function (name) {\n var _a, _b;\n return ({\n name: name,\n value: _this.attribs[name],\n namespace: (_a = _this[\"x-attribsNamespace\"]) === null || _a === void 0 ? void 0 : _a[name],\n prefix: (_b = _this[\"x-attribsPrefix\"]) === null || _b === void 0 ? void 0 : _b[name],\n });\n });\n },\n enumerable: false,\n configurable: true\n });\n return Element;\n}(NodeWithChildren));\nexports.Element = Element;\n/**\n * @param node Node to check.\n * @returns `true` if the node is a `Element`, `false` otherwise.\n */\nfunction isTag(node) {\n return (0, domelementtype_1.isTag)(node);\n}\nexports.isTag = isTag;\n/**\n * @param node Node to check.\n * @returns `true` if the node has the type `CDATA`, `false` otherwise.\n */\nfunction isCDATA(node) {\n return node.type === domelementtype_1.ElementType.CDATA;\n}\nexports.isCDATA = isCDATA;\n/**\n * @param node Node to check.\n * @returns `true` if the node has the type `Text`, `false` otherwise.\n */\nfunction isText(node) {\n return node.type === domelementtype_1.ElementType.Text;\n}\nexports.isText = isText;\n/**\n * @param node Node to check.\n * @returns `true` if the node has the type `Comment`, `false` otherwise.\n */\nfunction isComment(node) {\n return node.type === domelementtype_1.ElementType.Comment;\n}\nexports.isComment = isComment;\n/**\n * @param node Node to check.\n * @returns `true` if the node has the type `ProcessingInstruction`, `false` otherwise.\n */\nfunction isDirective(node) {\n return node.type === domelementtype_1.ElementType.Directive;\n}\nexports.isDirective = isDirective;\n/**\n * @param node Node to check.\n * @returns `true` if the node has the type `ProcessingInstruction`, `false` otherwise.\n */\nfunction isDocument(node) {\n return node.type === domelementtype_1.ElementType.Root;\n}\nexports.isDocument = isDocument;\n/**\n * @param node Node to check.\n * @returns `true` if the node has children, `false` otherwise.\n */\nfunction hasChildren(node) {\n return Object.prototype.hasOwnProperty.call(node, \"children\");\n}\nexports.hasChildren = hasChildren;\n/**\n * Clone a node, and optionally its children.\n *\n * @param recursive Clone child nodes as well.\n * @returns A clone of the node.\n */\nfunction cloneNode(node, recursive) {\n if (recursive === void 0) { recursive = false; }\n var result;\n if (isText(node)) {\n result = new Text(node.data);\n }\n else if (isComment(node)) {\n result = new Comment(node.data);\n }\n else if (isTag(node)) {\n var children = recursive ? cloneChildren(node.children) : [];\n var clone_1 = new Element(node.name, __assign({}, node.attribs), children);\n children.forEach(function (child) { return (child.parent = clone_1); });\n if (node.namespace != null) {\n clone_1.namespace = node.namespace;\n }\n if (node[\"x-attribsNamespace\"]) {\n clone_1[\"x-attribsNamespace\"] = __assign({}, node[\"x-attribsNamespace\"]);\n }\n if (node[\"x-attribsPrefix\"]) {\n clone_1[\"x-attribsPrefix\"] = __assign({}, node[\"x-attribsPrefix\"]);\n }\n result = clone_1;\n }\n else if (isCDATA(node)) {\n var children = recursive ? cloneChildren(node.children) : [];\n var clone_2 = new CDATA(children);\n children.forEach(function (child) { return (child.parent = clone_2); });\n result = clone_2;\n }\n else if (isDocument(node)) {\n var children = recursive ? cloneChildren(node.children) : [];\n var clone_3 = new Document(children);\n children.forEach(function (child) { return (child.parent = clone_3); });\n if (node[\"x-mode\"]) {\n clone_3[\"x-mode\"] = node[\"x-mode\"];\n }\n result = clone_3;\n }\n else if (isDirective(node)) {\n var instruction = new ProcessingInstruction(node.name, node.data);\n if (node[\"x-name\"] != null) {\n instruction[\"x-name\"] = node[\"x-name\"];\n instruction[\"x-publicId\"] = node[\"x-publicId\"];\n instruction[\"x-systemId\"] = node[\"x-systemId\"];\n }\n result = instruction;\n }\n else {\n throw new Error(\"Not implemented yet: \".concat(node.type));\n }\n result.startIndex = node.startIndex;\n result.endIndex = node.endIndex;\n if (node.sourceCodeLocation != null) {\n result.sourceCodeLocation = node.sourceCodeLocation;\n }\n return result;\n}\nexports.cloneNode = cloneNode;\nfunction cloneChildren(childs) {\n var children = childs.map(function (child) { return cloneNode(child, true); });\n for (var i = 1; i < children.length; i++) {\n children[i].prev = children[i - 1];\n children[i - 1].next = children[i];\n }\n return children;\n}\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.CARRIAGE_RETURN_PLACEHOLDER_REGEX = exports.CARRIAGE_RETURN_PLACEHOLDER = exports.CARRIAGE_RETURN_REGEX = exports.CARRIAGE_RETURN = exports.CASE_SENSITIVE_TAG_NAMES_MAP = exports.CASE_SENSITIVE_TAG_NAMES = void 0;\n/**\n * SVG elements are case-sensitive.\n *\n * @see https://developer.mozilla.org/docs/Web/SVG/Element#svg_elements_a_to_z\n */\nexports.CASE_SENSITIVE_TAG_NAMES = [\n 'animateMotion',\n 'animateTransform',\n 'clipPath',\n 'feBlend',\n 'feColorMatrix',\n 'feComponentTransfer',\n 'feComposite',\n 'feConvolveMatrix',\n 'feDiffuseLighting',\n 'feDisplacementMap',\n 'feDropShadow',\n 'feFlood',\n 'feFuncA',\n 'feFuncB',\n 'feFuncG',\n 'feFuncR',\n 'feGaussianBlur',\n 'feImage',\n 'feMerge',\n 'feMergeNode',\n 'feMorphology',\n 'feOffset',\n 'fePointLight',\n 'feSpecularLighting',\n 'feSpotLight',\n 'feTile',\n 'feTurbulence',\n 'foreignObject',\n 'linearGradient',\n 'radialGradient',\n 'textPath',\n];\nexports.CASE_SENSITIVE_TAG_NAMES_MAP = exports.CASE_SENSITIVE_TAG_NAMES.reduce(function (accumulator, tagName) {\n accumulator[tagName.toLowerCase()] = tagName;\n return accumulator;\n}, {});\nexports.CARRIAGE_RETURN = '\\r';\nexports.CARRIAGE_RETURN_REGEX = new RegExp(exports.CARRIAGE_RETURN, 'g');\nexports.CARRIAGE_RETURN_PLACEHOLDER = \"__HTML_DOM_PARSER_CARRIAGE_RETURN_PLACEHOLDER_\".concat(Date.now(), \"__\");\nexports.CARRIAGE_RETURN_PLACEHOLDER_REGEX = new RegExp(exports.CARRIAGE_RETURN_PLACEHOLDER, 'g');\n//# sourceMappingURL=constants.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = domparser;\nvar utilities_1 = require(\"./utilities\");\n// constants\nvar HTML = 'html';\nvar HEAD = 'head';\nvar BODY = 'body';\nvar FIRST_TAG_REGEX = /<([a-zA-Z]+[0-9]?)/; // e.g., <h1>\n// match-all-characters in case of newlines (DOTALL)\nvar HEAD_TAG_REGEX = /<head[^]*>/i;\nvar BODY_TAG_REGEX = /<body[^]*>/i;\n// falls back to `parseFromString` if `createHTMLDocument` cannot be used\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nvar parseFromDocument = function (html, tagName) {\n /* istanbul ignore next */\n throw new Error('This browser does not support `document.implementation.createHTMLDocument`');\n};\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nvar parseFromString = function (html, tagName) {\n /* istanbul ignore next */\n throw new Error('This browser does not support `DOMParser.prototype.parseFromString`');\n};\nvar DOMParser = typeof window === 'object' && window.DOMParser;\n/**\n * DOMParser (performance: slow).\n *\n * @see https://developer.mozilla.org/docs/Web/API/DOMParser#Parsing_an_SVG_or_HTML_document\n */\nif (typeof DOMParser === 'function') {\n var domParser_1 = new DOMParser();\n var mimeType_1 = 'text/html';\n /**\n * Creates an HTML document using `DOMParser.parseFromString`.\n *\n * @param html - The HTML string.\n * @param tagName - The element to render the HTML (with 'body' as fallback).\n * @returns - Document.\n */\n parseFromString = function (html, tagName) {\n if (tagName) {\n /* istanbul ignore next */\n html = \"<\".concat(tagName, \">\").concat(html, \"</\").concat(tagName, \">\");\n }\n return domParser_1.parseFromString(html, mimeType_1);\n };\n parseFromDocument = parseFromString;\n}\n/**\n * DOMImplementation (performance: fair).\n *\n * @see https://developer.mozilla.org/docs/Web/API/DOMImplementation/createHTMLDocument\n */\nif (typeof document === 'object' && document.implementation) {\n var htmlDocument_1 = document.implementation.createHTMLDocument();\n /**\n * Use HTML document created by `document.implementation.createHTMLDocument`.\n *\n * @param html - The HTML string.\n * @param tagName - The element to render the HTML (with 'body' as fallback).\n * @returns - Document\n */\n parseFromDocument = function (html, tagName) {\n if (tagName) {\n var element = htmlDocument_1.documentElement.querySelector(tagName);\n if (element) {\n element.innerHTML = html;\n }\n return htmlDocument_1;\n }\n htmlDocument_1.documentElement.innerHTML = html;\n return htmlDocument_1;\n };\n}\n/**\n * Template (performance: fast).\n *\n * @see https://developer.mozilla.org/docs/Web/HTML/Element/template\n */\nvar template = typeof document === 'object' && document.createElement('template');\nvar parseFromTemplate;\nif (template && template.content) {\n /**\n * Uses a template element (content fragment) to parse HTML.\n *\n * @param html - HTML string.\n * @returns - Nodes.\n */\n parseFromTemplate = function (html) {\n template.innerHTML = html;\n return template.content.childNodes;\n };\n}\n/**\n * Parses HTML string to DOM nodes.\n *\n * @param html - HTML markup.\n * @returns - DOM nodes.\n */\nfunction domparser(html) {\n var _a, _b;\n // Escape special characters before parsing\n html = (0, utilities_1.escapeSpecialCharacters)(html);\n var match = html.match(FIRST_TAG_REGEX);\n var firstTagName = match && match[1] ? match[1].toLowerCase() : '';\n switch (firstTagName) {\n case HTML: {\n var doc = parseFromString(html);\n // the created document may come with filler head/body elements,\n // so make sure to remove them if they don't actually exist\n if (!HEAD_TAG_REGEX.test(html)) {\n var element = doc.querySelector(HEAD);\n (_a = element === null || element === void 0 ? void 0 : element.parentNode) === null || _a === void 0 ? void 0 : _a.removeChild(element);\n }\n if (!BODY_TAG_REGEX.test(html)) {\n var element = doc.querySelector(BODY);\n (_b = element === null || element === void 0 ? void 0 : element.parentNode) === null || _b === void 0 ? void 0 : _b.removeChild(element);\n }\n return doc.querySelectorAll(HTML);\n }\n case HEAD:\n case BODY: {\n var elements = parseFromDocument(html).querySelectorAll(firstTagName);\n // if there's a sibling element, then return both elements\n if (BODY_TAG_REGEX.test(html) && HEAD_TAG_REGEX.test(html)) {\n return elements[0].parentNode.childNodes;\n }\n return elements;\n }\n // low-level tag or text\n default: {\n if (parseFromTemplate) {\n return parseFromTemplate(html);\n }\n var element = parseFromDocument(html, BODY).querySelector(BODY);\n return element.childNodes;\n }\n }\n}\n//# sourceMappingURL=domparser.js.map","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = HTMLDOMParser;\nvar domparser_1 = __importDefault(require(\"./domparser\"));\nvar utilities_1 = require(\"./utilities\");\nvar DIRECTIVE_REGEX = /<(![a-zA-Z\\s]+)>/; // e.g., <!doctype html>\n/**\n * Parses HTML string to DOM nodes in browser.\n *\n * @param html - HTML markup.\n * @returns - DOM elements.\n */\nfunction HTMLDOMParser(html) {\n if (typeof html !== 'string') {\n throw new TypeError('First argument must be a string');\n }\n if (!html) {\n return [];\n }\n // match directive\n var match = html.match(DIRECTIVE_REGEX);\n var directive = match ? match[1] : undefined;\n return (0, utilities_1.formatDOM)((0, domparser_1.default)(html), null, directive);\n}\n//# sourceMappingURL=html-to-dom.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.formatAttributes = formatAttributes;\nexports.escapeSpecialCharacters = escapeSpecialCharacters;\nexports.revertEscapedCharacters = revertEscapedCharacters;\nexports.formatDOM = formatDOM;\nvar domhandler_1 = require(\"domhandler\");\nvar constants_1 = require(\"./constants\");\n/**\n * Gets case-sensitive tag name.\n *\n * @param tagName - Tag name in lowercase.\n * @returns - Case-sensitive tag name.\n */\nfunction getCaseSensitiveTagName(tagName) {\n return constants_1.CASE_SENSITIVE_TAG_NAMES_MAP[tagName];\n}\n/**\n * Formats DOM attributes to a hash map.\n *\n * @param attributes - List of attributes.\n * @returns - Map of attribute name to value.\n */\nfunction formatAttributes(attributes) {\n var map = {};\n var index = 0;\n var attributesLength = attributes.length;\n // `NamedNodeMap` is array-like\n for (; index < attributesLength; index++) {\n var attribute = attributes[index];\n map[attribute.name] = attribute.value;\n }\n return map;\n}\n/**\n * Corrects the tag name if it is case-sensitive (SVG).\n * Otherwise, returns the lowercase tag name (HTML).\n *\n * @param tagName - Lowercase tag name.\n * @returns - Formatted tag name.\n */\nfunction formatTagName(tagName) {\n tagName = tagName.toLowerCase();\n var caseSensitiveTagName = getCaseSensitiveTagName(tagName);\n if (caseSensitiveTagName) {\n return caseSensitiveTagName;\n }\n return tagName;\n}\n/**\n * Escapes special characters before parsing.\n *\n * @param html - The HTML string.\n * @returns - HTML string with escaped special characters.\n */\nfunction escapeSpecialCharacters(html) {\n return html.replace(constants_1.CARRIAGE_RETURN_REGEX, constants_1.CARRIAGE_RETURN_PLACEHOLDER);\n}\n/**\n * Reverts escaped special characters back to actual characters.\n *\n * @param text - The text with escaped characters.\n * @returns - Text with escaped characters reverted.\n */\nfunction revertEscapedCharacters(text) {\n return text.replace(constants_1.CARRIAGE_RETURN_PLACEHOLDER_REGEX, constants_1.CARRIAGE_RETURN);\n}\n/**\n * Transforms DOM nodes to `domhandler` nodes.\n *\n * @param nodes - DOM nodes.\n * @param parent - Parent node.\n * @param directive - Directive.\n * @returns - Nodes.\n */\nfunction formatDOM(nodes, parent, directive) {\n if (parent === void 0) { parent = null; }\n var domNodes = [];\n var current;\n var index = 0;\n var nodesLength = nodes.length;\n for (; index < nodesLength; index++) {\n var node = nodes[index];\n // set the node data given the type\n switch (node.nodeType) {\n case 1: {\n var tagName = formatTagName(node.nodeName);\n // script, style, or tag\n current = new domhandler_1.Element(tagName, formatAttributes(node.attributes));\n current.children = formatDOM(\n // template children are on content\n tagName === 'template'\n ? node.content.childNodes\n : node.childNodes, current);\n break;\n }\n case 3:\n current = new domhandler_1.Text(revertEscapedCharacters(node.nodeValue));\n break;\n case 8:\n current = new domhandler_1.Comment(node.nodeValue);\n break;\n default:\n continue;\n }\n // set previous node next\n var prev = domNodes[index - 1] || null;\n if (prev) {\n prev.next = current;\n }\n // set properties for current node\n current.parent = parent;\n current.prev = prev;\n current.next = null;\n domNodes.push(current);\n }\n if (directive) {\n current = new domhandler_1.ProcessingInstruction(directive.substring(0, directive.indexOf(' ')).toLowerCase(), directive);\n current.next = domNodes[0] || null;\n current.parent = parent;\n domNodes.unshift(current);\n if (domNodes[1]) {\n domNodes[1].prev = domNodes[0];\n }\n }\n return domNodes;\n}\n//# sourceMappingURL=utilities.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar react_property_1 = require(\"react-property\");\nvar utilities_1 = require(\"./utilities\");\n// https://react.dev/learn/sharing-state-between-components#controlled-and-uncontrolled-components\n// https://developer.mozilla.org/docs/Web/HTML/Attributes\nvar UNCONTROLLED_COMPONENT_ATTRIBUTES = ['checked', 'value'];\nvar UNCONTROLLED_COMPONENT_NAMES = ['input', 'select', 'textarea'];\nvar valueOnlyInputs = {\n reset: true,\n submit: true,\n};\n/**\n * Converts HTML/SVG DOM attributes to React props.\n *\n * @param attributes - HTML/SVG DOM attributes.\n * @param nodeName - DOM node name.\n * @returns - React props.\n */\nfunction attributesToProps(attributes, nodeName) {\n if (attributes === void 0) { attributes = {}; }\n var props = {};\n var isInputValueOnly = Boolean(attributes.type && valueOnlyInputs[attributes.type]);\n for (var attributeName in attributes) {\n var attributeValue = attributes[attributeName];\n // ARIA (aria-*) or custom data (data-*) attribute\n if ((0, react_property_1.isCustomAttribute)(attributeName)) {\n props[attributeName] = attributeValue;\n continue;\n }\n // convert HTML/SVG attribute to React prop\n var attributeNameLowerCased = attributeName.toLowerCase();\n var propName = getPropName(attributeNameLowerCased);\n if (propName) {\n var propertyInfo = (0, react_property_1.getPropertyInfo)(propName);\n // convert attribute to uncontrolled component prop (e.g., `value` to `defaultValue`)\n if (UNCONTROLLED_COMPONENT_ATTRIBUTES.includes(propName) &&\n UNCONTROLLED_COMPONENT_NAMES.includes(nodeName) &&\n !isInputValueOnly) {\n propName = getPropName('default' + attributeNameLowerCased);\n }\n props[propName] = attributeValue;\n switch (propertyInfo && propertyInfo.type) {\n case react_property_1.BOOLEAN:\n props[propName] = true;\n break;\n case react_property_1.OVERLOADED_BOOLEAN:\n if (attributeValue === '') {\n props[propName] = true;\n }\n break;\n }\n continue;\n }\n // preserve custom attribute if React >=16\n if (utilities_1.PRESERVE_CUSTOM_ATTRIBUTES) {\n props[attributeName] = attributeValue;\n }\n }\n // transform inline style to object\n (0, utilities_1.setStyleProp)(attributes.style, props);\n return props;\n}\nexports.default = attributesToProps;\n/**\n * Gets prop name from lowercased attribute name.\n *\n * @param attributeName - Lowercased attribute name.\n * @returns - Prop name.\n */\nfunction getPropName(attributeName) {\n return react_property_1.possibleStandardNames[attributeName];\n}\n//# sourceMappingURL=attributes-to-props.js.map","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar react_1 = require(\"react\");\nvar attributes_to_props_1 = __importDefault(require(\"./attributes-to-props\"));\nvar utilities_1 = require(\"./utilities\");\nvar React = {\n cloneElement: react_1.cloneElement,\n createElement: react_1.createElement,\n isValidElement: react_1.isValidElement,\n};\n/**\n * Converts DOM nodes to JSX element(s).\n *\n * @param nodes - DOM nodes.\n * @param options - Options.\n * @returns - String or JSX element(s).\n */\nfunction domToReact(nodes, options) {\n var reactElements = [];\n var hasReplace = typeof (options === null || options === void 0 ? void 0 : options.replace) === 'function';\n var transform = (options === null || options === void 0 ? void 0 : options.transform) || utilities_1.returnFirstArg;\n var _a = (options === null || options === void 0 ? void 0 : options.library) || React, cloneElement = _a.cloneElement, createElement = _a.createElement, isValidElement = _a.isValidElement;\n var nodesLength = nodes.length;\n for (var index = 0; index < nodesLength; index++) {\n var node = nodes[index];\n // replace with custom React element (if present)\n if (hasReplace) {\n var replaceElement = options.replace(node, index);\n if (isValidElement(replaceElement)) {\n // set \"key\" prop for sibling elements\n // https://react.dev/learn/rendering-lists#rules-of-keys\n if (nodesLength > 1) {\n replaceElement = cloneElement(replaceElement, {\n key: replaceElement.key || index,\n });\n }\n reactElements.push(transform(replaceElement, node, index));\n continue;\n }\n }\n if (node.type === 'text') {\n var isWhitespace = !node.data.trim().length;\n // We have a whitespace node that can't be nested in its parent\n // so skip it\n if (isWhitespace &&\n node.parent &&\n !(0, utilities_1.canTextBeChildOfNode)(node.parent)) {\n continue;\n }\n // Trim is enabled and we have a whitespace node\n // so skip it\n if ((options === null || options === void 0 ? void 0 : options.trim) && isWhitespace) {\n continue;\n }\n // We have a text node that's not whitespace and it can be nested\n // in its parent so add it to the results\n reactElements.push(transform(node.data, node, index));\n continue;\n }\n var element = node;\n var props = {};\n if (skipAttributesToProps(element)) {\n (0, utilities_1.setStyleProp)(element.attribs.style, element.attribs);\n props = element.attribs;\n }\n else if (element.attribs) {\n props = (0, attributes_to_props_1.default)(element.attribs, element.name);\n }\n var children = void 0;\n switch (node.type) {\n case 'script':\n case 'style':\n // prevent text in <script> or <style> from being escaped\n // https://react.dev/reference/react-dom/components/common#dangerously-setting-the-inner-html\n if (node.children[0]) {\n props.dangerouslySetInnerHTML = {\n __html: node.children[0].data,\n };\n }\n break;\n case 'tag':\n // setting textarea value in children is an antipattern in React\n // https://react.dev/reference/react-dom/components/textarea#caveats\n if (node.name === 'textarea' && node.children[0]) {\n props.defaultValue = node.children[0].data;\n }\n else if (node.children && node.children.length) {\n // continue recursion of creating React elements (if applicable)\n children = domToReact(node.children, options);\n }\n break;\n // skip all other cases (e.g., comment)\n default:\n continue;\n }\n // set \"key\" prop for sibling elements\n // https://react.dev/learn/rendering-lists#rules-of-keys\n if (nodesLength > 1) {\n props.key = index;\n }\n reactElements.push(transform(createElement(node.name, props, children), node, index));\n }\n return reactElements.length === 1 ? reactElements[0] : reactElements;\n}\nexports.default = domToReact;\n/**\n * Determines whether DOM element attributes should be transformed to props.\n * Web Components should not have their attributes transformed except for `style`.\n *\n * @param node - Element node.\n * @returns - Whether the node attributes should be converted to props.\n */\nfunction skipAttributesToProps(node) {\n return (utilities_1.PRESERVE_CUSTOM_ATTRIBUTES &&\n node.type === 'tag' &&\n (0, utilities_1.isCustomComponent)(node.name, node.attribs));\n}\n//# sourceMappingURL=dom-to-react.js.map","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.returnFirstArg = exports.canTextBeChildOfNode = exports.ELEMENTS_WITH_NO_TEXT_CHILDREN = exports.PRESERVE_CUSTOM_ATTRIBUTES = exports.setStyleProp = exports.isCustomComponent = void 0;\nvar react_1 = require(\"react\");\nvar style_to_js_1 = __importDefault(require(\"style-to-js\"));\nvar RESERVED_SVG_MATHML_ELEMENTS = new Set([\n 'annotation-xml',\n 'color-profile',\n 'font-face',\n 'font-face-src',\n 'font-face-uri',\n 'font-face-format',\n 'font-face-name',\n 'missing-glyph',\n]);\n/**\n * Check if a tag is a custom component.\n *\n * @see {@link https://github.com/facebook/react/blob/v16.6.3/packages/react-dom/src/shared/isCustomComponent.js}\n *\n * @param tagName - Tag name.\n * @param props - Props passed to the element.\n * @returns - Whether the tag is custom component.\n */\nfunction isCustomComponent(tagName, props) {\n if (!tagName.includes('-')) {\n return Boolean(props && typeof props.is === 'string');\n }\n // These are reserved SVG and MathML elements.\n // We don't mind this whitelist too much because we expect it to never grow.\n // The alternative is to track the namespace in a few places which is convoluted.\n // https://w3c.github.io/webcomponents/spec/custom/#custom-elements-core-concepts\n if (RESERVED_SVG_MATHML_ELEMENTS.has(tagName)) {\n return false;\n }\n return true;\n}\nexports.isCustomComponent = isCustomComponent;\nvar styleOptions = {\n reactCompat: true,\n};\n/**\n * Sets style prop.\n *\n * @param style - Inline style.\n * @param props - Props object.\n */\nfunction setStyleProp(style, props) {\n if (typeof style !== 'string') {\n return;\n }\n if (!style.trim()) {\n props.style = {};\n return;\n }\n try {\n props.style = (0, style_to_js_1.default)(style, styleOptions);\n }\n catch (error) {\n props.style = {};\n }\n}\nexports.setStyleProp = setStyleProp;\n/**\n * @see https://reactjs.org/blog/2017/09/08/dom-attributes-in-react-16.html\n */\nexports.PRESERVE_CUSTOM_ATTRIBUTES = Number(react_1.version.split('.')[0]) >= 16;\n/**\n * @see https://github.com/facebook/react/blob/cae635054e17a6f107a39d328649137b83f25972/packages/react-dom/src/client/validateDOMNesting.js#L213\n */\nexports.ELEMENTS_WITH_NO_TEXT_CHILDREN = new Set([\n 'tr',\n 'tbody',\n 'thead',\n 'tfoot',\n 'colgroup',\n 'table',\n 'head',\n 'html',\n 'frameset',\n]);\n/**\n * Checks if the given node can contain text nodes\n *\n * @param node - Element node.\n * @returns - Whether the node can contain text nodes.\n */\nvar canTextBeChildOfNode = function (node) {\n return !exports.ELEMENTS_WITH_NO_TEXT_CHILDREN.has(node.name);\n};\nexports.canTextBeChildOfNode = canTextBeChildOfNode;\n/**\n * Returns the first argument as is.\n *\n * @param arg - The argument to be returned.\n * @returns - The input argument `arg`.\n */\nvar returnFirstArg = function (arg) { return arg; };\nexports.returnFirstArg = returnFirstArg;\n//# sourceMappingURL=utilities.js.map","// http://www.w3.org/TR/CSS21/grammar.html\n// https://github.com/visionmedia/css-parse/pull/49#issuecomment-30088027\nvar COMMENT_REGEX = /\\/\\*[^*]*\\*+([^/*][^*]*\\*+)*\\//g;\n\nvar NEWLINE_REGEX = /\\n/g;\nvar WHITESPACE_REGEX = /^\\s*/;\n\n// declaration\nvar PROPERTY_REGEX = /^(\\*?[-#/*\\\\\\w]+(\\[[0-9a-z_-]+\\])?)\\s*/;\nvar COLON_REGEX = /^:\\s*/;\nvar VALUE_REGEX = /^((?:'(?:\\\\'|.)*?'|\"(?:\\\\\"|.)*?\"|\\([^)]*?\\)|[^};])+)/;\nvar SEMICOLON_REGEX = /^[;\\s]*/;\n\n// https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String/Trim#Polyfill\nvar TRIM_REGEX = /^\\s+|\\s+$/g;\n\n// strings\nvar NEWLINE = '\\n';\nvar FORWARD_SLASH = '/';\nvar ASTERISK = '*';\nvar EMPTY_STRING = '';\n\n// types\nvar TYPE_COMMENT = 'comment';\nvar TYPE_DECLARATION = 'declaration';\n\n/**\n * @param {String} style\n * @param {Object} [options]\n * @return {Object[]}\n * @throws {TypeError}\n * @throws {Error}\n */\nmodule.exports = function (style, options) {\n if (typeof style !== 'string') {\n throw new TypeError('First argument must be a string');\n }\n\n if (!style) return [];\n\n options = options || {};\n\n /**\n * Positional.\n */\n var lineno = 1;\n var column = 1;\n\n /**\n * Update lineno and column based on `str`.\n *\n * @param {String} str\n */\n function updatePosition(str) {\n var lines = str.match(NEWLINE_REGEX);\n if (lines) lineno += lines.length;\n var i = str.lastIndexOf(NEWLINE);\n column = ~i ? str.length - i : column + str.length;\n }\n\n /**\n * Mark position and patch `node.position`.\n *\n * @return {Function}\n */\n function position() {\n var start = { line: lineno, column: column };\n return function (node) {\n node.position = new Position(start);\n whitespace();\n return node;\n };\n }\n\n /**\n * Store position information for a node.\n *\n * @constructor\n * @property {Object} start\n * @property {Object} end\n * @property {undefined|String} source\n */\n function Position(start) {\n this.start = start;\n this.end = { line: lineno, column: column };\n this.source = options.source;\n }\n\n /**\n * Non-enumerable source string.\n */\n Position.prototype.content = style;\n\n var errorsList = [];\n\n /**\n * Error `msg`.\n *\n * @param {String} msg\n * @throws {Error}\n */\n function error(msg) {\n var err = new Error(\n options.source + ':' + lineno + ':' + column + ': ' + msg\n );\n err.reason = msg;\n err.filename = options.source;\n err.line = lineno;\n err.column = column;\n err.source = style;\n\n if (options.silent) {\n errorsList.push(err);\n } else {\n throw err;\n }\n }\n\n /**\n * Match `re` and return captures.\n *\n * @param {RegExp} re\n * @return {undefined|Array}\n */\n function match(re) {\n var m = re.exec(style);\n if (!m) return;\n var str = m[0];\n updatePosition(str);\n style = style.slice(str.length);\n return m;\n }\n\n /**\n * Parse whitespace.\n */\n function whitespace() {\n match(WHITESPACE_REGEX);\n }\n\n /**\n * Parse comments.\n *\n * @param {Object[]} [rules]\n * @return {Object[]}\n */\n function comments(rules) {\n var c;\n rules = rules || [];\n while ((c = comment())) {\n if (c !== false) {\n rules.push(c);\n }\n }\n return rules;\n }\n\n /**\n * Parse comment.\n *\n * @return {Object}\n * @throws {Error}\n */\n function comment() {\n var pos = position();\n if (FORWARD_SLASH != style.charAt(0) || ASTERISK != style.charAt(1)) return;\n\n var i = 2;\n while (\n EMPTY_STRING != style.charAt(i) &&\n (ASTERISK != style.charAt(i) || FORWARD_SLASH != style.charAt(i + 1))\n ) {\n ++i;\n }\n i += 2;\n\n if (EMPTY_STRING === style.charAt(i - 1)) {\n return error('End of comment missing');\n }\n\n var str = style.slice(2, i - 2);\n column += 2;\n updatePosition(str);\n style = style.slice(i);\n column += 2;\n\n return pos({\n type: TYPE_COMMENT,\n comment: str\n });\n }\n\n /**\n * Parse declaration.\n *\n * @return {Object}\n * @throws {Error}\n */\n function declaration() {\n var pos = position();\n\n // prop\n var prop = match(PROPERTY_REGEX);\n if (!prop) return;\n comment();\n\n // :\n if (!match(COLON_REGEX)) return error(\"property missing ':'\");\n\n // val\n var val = match(VALUE_REGEX);\n\n var ret = pos({\n type: TYPE_DECLARATION,\n property: trim(prop[0].replace(COMMENT_REGEX, EMPTY_STRING)),\n value: val\n ? trim(val[0].replace(COMMENT_REGEX, EMPTY_STRING))\n : EMPTY_STRING\n });\n\n // ;\n match(SEMICOLON_REGEX);\n\n return ret;\n }\n\n /**\n * Parse declarations.\n *\n * @return {Object[]}\n */\n function declarations() {\n var decls = [];\n\n comments(decls);\n\n // declarations\n var decl;\n while ((decl = declaration())) {\n if (decl !== false) {\n decls.push(decl);\n comments(decls);\n }\n }\n\n return decls;\n }\n\n whitespace();\n return declarations();\n};\n\n/**\n * Trim `str`.\n *\n * @param {String} str\n * @return {String}\n */\nfunction trim(str) {\n return str ? str.replace(TRIM_REGEX, EMPTY_STRING) : EMPTY_STRING;\n}\n","/*\nobject-assign\n(c) Sindre Sorhus\n@license MIT\n*/\n\n'use strict';\n/* eslint-disable no-unused-vars */\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nvar propIsEnumerable = Object.prototype.propertyIsEnumerable;\n\nfunction toObject(val) {\n\tif (val === null || val === undefined) {\n\t\tthrow new TypeError('Object.assign cannot be called with null or undefined');\n\t}\n\n\treturn Object(val);\n}\n\nfunction shouldUseNative() {\n\ttry {\n\t\tif (!Object.assign) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// Detect buggy property enumeration order in older V8 versions.\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=4118\n\t\tvar test1 = new String('abc'); // eslint-disable-line no-new-wrappers\n\t\ttest1[5] = 'de';\n\t\tif (Object.getOwnPropertyNames(test1)[0] === '5') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test2 = {};\n\t\tfor (var i = 0; i < 10; i++) {\n\t\t\ttest2['_' + String.fromCharCode(i)] = i;\n\t\t}\n\t\tvar order2 = Object.getOwnPropertyNames(test2).map(function (n) {\n\t\t\treturn test2[n];\n\t\t});\n\t\tif (order2.join('') !== '0123456789') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test3 = {};\n\t\t'abcdefghijklmnopqrst'.split('').forEach(function (letter) {\n\t\t\ttest3[letter] = letter;\n\t\t});\n\t\tif (Object.keys(Object.assign({}, test3)).join('') !==\n\t\t\t\t'abcdefghijklmnopqrst') {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn true;\n\t} catch (err) {\n\t\t// We don't expect any of the above to throw, but better to be safe.\n\t\treturn false;\n\t}\n}\n\nmodule.exports = shouldUseNative() ? Object.assign : function (target, source) {\n\tvar from;\n\tvar to = toObject(target);\n\tvar symbols;\n\n\tfor (var s = 1; s < arguments.length; s++) {\n\t\tfrom = Object(arguments[s]);\n\n\t\tfor (var key in from) {\n\t\t\tif (hasOwnProperty.call(from, key)) {\n\t\t\t\tto[key] = from[key];\n\t\t\t}\n\t\t}\n\n\t\tif (getOwnPropertySymbols) {\n\t\t\tsymbols = getOwnPropertySymbols(from);\n\t\t\tfor (var i = 0; i < symbols.length; i++) {\n\t\t\t\tif (propIsEnumerable.call(from, symbols[i])) {\n\t\t\t\t\tto[symbols[i]] = from[symbols[i]];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn to;\n};\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar printWarning = function() {};\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\n var loggedTypeFailures = {};\n var has = require('./lib/has');\n\n printWarning = function(text) {\n var message = 'Warning: ' + text;\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n try {\n // --- Welcome to debugging React ---\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch (x) { /**/ }\n };\n}\n\n/**\n * Assert that the values match with the type specs.\n * Error messages are memorized and will only be shown once.\n *\n * @param {object} typeSpecs Map of name to a ReactPropType\n * @param {object} values Runtime values that need to be type-checked\n * @param {string} location e.g. \"prop\", \"context\", \"child context\"\n * @param {string} componentName Name of the component for error messages.\n * @param {?Function} getStack Returns the component stack.\n * @private\n */\nfunction checkPropTypes(typeSpecs, values, location, componentName, getStack) {\n if (process.env.NODE_ENV !== 'production') {\n for (var typeSpecName in typeSpecs) {\n if (has(typeSpecs, typeSpecName)) {\n var error;\n // Prop type validation may throw. In case they do, we don't want to\n // fail the render phase where it didn't fail before. So we log it.\n // After these have been cleaned up, we'll let them throw.\n try {\n // This is intentionally an invariant that gets caught. It's the same\n // behavior as without this statement except with a better message.\n if (typeof typeSpecs[typeSpecName] !== 'function') {\n var err = Error(\n (componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +\n 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' +\n 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.'\n );\n err.name = 'Invariant Violation';\n throw err;\n }\n error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);\n } catch (ex) {\n error = ex;\n }\n if (error && !(error instanceof Error)) {\n printWarning(\n (componentName || 'React class') + ': type specification of ' +\n location + ' `' + typeSpecName + '` is invalid; the type checker ' +\n 'function must return `null` or an `Error` but returned a ' + typeof error + '. ' +\n 'You may have forgotten to pass an argument to the type checker ' +\n 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' +\n 'shape all require an argument).'\n );\n }\n if (error instanceof Error && !(error.message in loggedTypeFailures)) {\n // Only monitor this failure once because there tends to be a lot of the\n // same error.\n loggedTypeFailures[error.message] = true;\n\n var stack = getStack ? getStack() : '';\n\n printWarning(\n 'Failed ' + location + ' type: ' + error.message + (stack != null ? stack : '')\n );\n }\n }\n }\n }\n}\n\n/**\n * Resets warning cache when testing.\n *\n * @private\n */\ncheckPropTypes.resetWarningCache = function() {\n if (process.env.NODE_ENV !== 'production') {\n loggedTypeFailures = {};\n }\n}\n\nmodule.exports = checkPropTypes;\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactIs = require('react-is');\nvar assign = require('object-assign');\n\nvar ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\nvar has = require('./lib/has');\nvar checkPropTypes = require('./checkPropTypes');\n\nvar printWarning = function() {};\n\nif (process.env.NODE_ENV !== 'production') {\n printWarning = function(text) {\n var message = 'Warning: ' + text;\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n try {\n // --- Welcome to debugging React ---\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch (x) {}\n };\n}\n\nfunction emptyFunctionThatReturnsNull() {\n return null;\n}\n\nmodule.exports = function(isValidElement, throwOnDirectAccess) {\n /* global Symbol */\n var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;\n var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.\n\n /**\n * Returns the iterator method function contained on the iterable object.\n *\n * Be sure to invoke the function with the iterable as context:\n *\n * var iteratorFn = getIteratorFn(myIterable);\n * if (iteratorFn) {\n * var iterator = iteratorFn.call(myIterable);\n * ...\n * }\n *\n * @param {?object} maybeIterable\n * @return {?function}\n */\n function getIteratorFn(maybeIterable) {\n var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);\n if (typeof iteratorFn === 'function') {\n return iteratorFn;\n }\n }\n\n /**\n * Collection of methods that allow declaration and validation of props that are\n * supplied to React components. Example usage:\n *\n * var Props = require('ReactPropTypes');\n * var MyArticle = React.createClass({\n * propTypes: {\n * // An optional string prop named \"description\".\n * description: Props.string,\n *\n * // A required enum prop named \"category\".\n * category: Props.oneOf(['News','Photos']).isRequired,\n *\n * // A prop named \"dialog\" that requires an instance of Dialog.\n * dialog: Props.instanceOf(Dialog).isRequired\n * },\n * render: function() { ... }\n * });\n *\n * A more formal specification of how these methods are used:\n *\n * type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...)\n * decl := ReactPropTypes.{type}(.isRequired)?\n *\n * Each and every declaration produces a function with the same signature. This\n * allows the creation of custom validation functions. For example:\n *\n * var MyLink = React.createClass({\n * propTypes: {\n * // An optional string or URI prop named \"href\".\n * href: function(props, propName, componentName) {\n * var propValue = props[propName];\n * if (propValue != null && typeof propValue !== 'string' &&\n * !(propValue instanceof URI)) {\n * return new Error(\n * 'Expected a string or an URI for ' + propName + ' in ' +\n * componentName\n * );\n * }\n * }\n * },\n * render: function() {...}\n * });\n *\n * @internal\n */\n\n var ANONYMOUS = '<<anonymous>>';\n\n // Important!\n // Keep this list in sync with production version in `./factoryWithThrowingShims.js`.\n var ReactPropTypes = {\n array: createPrimitiveTypeChecker('array'),\n bigint: createPrimitiveTypeChecker('bigint'),\n bool: createPrimitiveTypeChecker('boolean'),\n func: createPrimitiveTypeChecker('function'),\n number: createPrimitiveTypeChecker('number'),\n object: createPrimitiveTypeChecker('object'),\n string: createPrimitiveTypeChecker('string'),\n symbol: createPrimitiveTypeChecker('symbol'),\n\n any: createAnyTypeChecker(),\n arrayOf: createArrayOfTypeChecker,\n element: createElementTypeChecker(),\n elementType: createElementTypeTypeChecker(),\n instanceOf: createInstanceTypeChecker,\n node: createNodeChecker(),\n objectOf: createObjectOfTypeChecker,\n oneOf: createEnumTypeChecker,\n oneOfType: createUnionTypeChecker,\n shape: createShapeTypeChecker,\n exact: createStrictShapeTypeChecker,\n };\n\n /**\n * inlined Object.is polyfill to avoid requiring consumers ship their own\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is\n */\n /*eslint-disable no-self-compare*/\n function is(x, y) {\n // SameValue algorithm\n if (x === y) {\n // Steps 1-5, 7-10\n // Steps 6.b-6.e: +0 != -0\n return x !== 0 || 1 / x === 1 / y;\n } else {\n // Step 6.a: NaN == NaN\n return x !== x && y !== y;\n }\n }\n /*eslint-enable no-self-compare*/\n\n /**\n * We use an Error-like object for backward compatibility as people may call\n * PropTypes directly and inspect their output. However, we don't use real\n * Errors anymore. We don't inspect their stack anyway, and creating them\n * is prohibitively expensive if they are created too often, such as what\n * happens in oneOfType() for any type before the one that matched.\n */\n function PropTypeError(message, data) {\n this.message = message;\n this.data = data && typeof data === 'object' ? data: {};\n this.stack = '';\n }\n // Make `instanceof Error` still work for returned errors.\n PropTypeError.prototype = Error.prototype;\n\n function createChainableTypeChecker(validate) {\n if (process.env.NODE_ENV !== 'production') {\n var manualPropTypeCallCache = {};\n var manualPropTypeWarningCount = 0;\n }\n function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {\n componentName = componentName || ANONYMOUS;\n propFullName = propFullName || propName;\n\n if (secret !== ReactPropTypesSecret) {\n if (throwOnDirectAccess) {\n // New behavior only for users of `prop-types` package\n var err = new Error(\n 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n 'Use `PropTypes.checkPropTypes()` to call them. ' +\n 'Read more at http://fb.me/use-check-prop-types'\n );\n err.name = 'Invariant Violation';\n throw err;\n } else if (process.env.NODE_ENV !== 'production' && typeof console !== 'undefined') {\n // Old behavior for people using React.PropTypes\n var cacheKey = componentName + ':' + propName;\n if (\n !manualPropTypeCallCache[cacheKey] &&\n // Avoid spamming the console because they are often not actionable except for lib authors\n manualPropTypeWarningCount < 3\n ) {\n printWarning(\n 'You are manually calling a React.PropTypes validation ' +\n 'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' +\n 'and will throw in the standalone `prop-types` package. ' +\n 'You may be seeing this warning due to a third-party PropTypes ' +\n 'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.'\n );\n manualPropTypeCallCache[cacheKey] = true;\n manualPropTypeWarningCount++;\n }\n }\n }\n if (props[propName] == null) {\n if (isRequired) {\n if (props[propName] === null) {\n return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required ' + ('in `' + componentName + '`, but its value is `null`.'));\n }\n return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required in ' + ('`' + componentName + '`, but its value is `undefined`.'));\n }\n return null;\n } else {\n return validate(props, propName, componentName, location, propFullName);\n }\n }\n\n var chainedCheckType = checkType.bind(null, false);\n chainedCheckType.isRequired = checkType.bind(null, true);\n\n return chainedCheckType;\n }\n\n function createPrimitiveTypeChecker(expectedType) {\n function validate(props, propName, componentName, location, propFullName, secret) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== expectedType) {\n // `propValue` being instance of, say, date/regexp, pass the 'object'\n // check, but we can offer a more precise error message here rather than\n // 'of type `object`'.\n var preciseType = getPreciseType(propValue);\n\n return new PropTypeError(\n 'Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'),\n {expectedType: expectedType}\n );\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createAnyTypeChecker() {\n return createChainableTypeChecker(emptyFunctionThatReturnsNull);\n }\n\n function createArrayOfTypeChecker(typeChecker) {\n function validate(props, propName, componentName, location, propFullName) {\n if (typeof typeChecker !== 'function') {\n return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside arrayOf.');\n }\n var propValue = props[propName];\n if (!Array.isArray(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.'));\n }\n for (var i = 0; i < propValue.length; i++) {\n var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret);\n if (error instanceof Error) {\n return error;\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createElementTypeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n if (!isValidElement(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createElementTypeTypeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n if (!ReactIs.isValidElementType(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement type.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createInstanceTypeChecker(expectedClass) {\n function validate(props, propName, componentName, location, propFullName) {\n if (!(props[propName] instanceof expectedClass)) {\n var expectedClassName = expectedClass.name || ANONYMOUS;\n var actualClassName = getClassName(props[propName]);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + actualClassName + '` supplied to `' + componentName + '`, expected ') + ('instance of `' + expectedClassName + '`.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createEnumTypeChecker(expectedValues) {\n if (!Array.isArray(expectedValues)) {\n if (process.env.NODE_ENV !== 'production') {\n if (arguments.length > 1) {\n printWarning(\n 'Invalid arguments supplied to oneOf, expected an array, got ' + arguments.length + ' arguments. ' +\n 'A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).'\n );\n } else {\n printWarning('Invalid argument supplied to oneOf, expected an array.');\n }\n }\n return emptyFunctionThatReturnsNull;\n }\n\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n for (var i = 0; i < expectedValues.length; i++) {\n if (is(propValue, expectedValues[i])) {\n return null;\n }\n }\n\n var valuesString = JSON.stringify(expectedValues, function replacer(key, value) {\n var type = getPreciseType(value);\n if (type === 'symbol') {\n return String(value);\n }\n return value;\n });\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of value `' + String(propValue) + '` ' + ('supplied to `' + componentName + '`, expected one of ' + valuesString + '.'));\n }\n return createChainableTypeChecker(validate);\n }\n\n function createObjectOfTypeChecker(typeChecker) {\n function validate(props, propName, componentName, location, propFullName) {\n if (typeof typeChecker !== 'function') {\n return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside objectOf.');\n }\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.'));\n }\n for (var key in propValue) {\n if (has(propValue, key)) {\n var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error instanceof Error) {\n return error;\n }\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createUnionTypeChecker(arrayOfTypeCheckers) {\n if (!Array.isArray(arrayOfTypeCheckers)) {\n process.env.NODE_ENV !== 'production' ? printWarning('Invalid argument supplied to oneOfType, expected an instance of array.') : void 0;\n return emptyFunctionThatReturnsNull;\n }\n\n for (var i = 0; i < arrayOfTypeCheckers.length; i++) {\n var checker = arrayOfTypeCheckers[i];\n if (typeof checker !== 'function') {\n printWarning(\n 'Invalid argument supplied to oneOfType. Expected an array of check functions, but ' +\n 'received ' + getPostfixForTypeWarning(checker) + ' at index ' + i + '.'\n );\n return emptyFunctionThatReturnsNull;\n }\n }\n\n function validate(props, propName, componentName, location, propFullName) {\n var expectedTypes = [];\n for (var i = 0; i < arrayOfTypeCheckers.length; i++) {\n var checker = arrayOfTypeCheckers[i];\n var checkerResult = checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret);\n if (checkerResult == null) {\n return null;\n }\n if (checkerResult.data && has(checkerResult.data, 'expectedType')) {\n expectedTypes.push(checkerResult.data.expectedType);\n }\n }\n var expectedTypesMessage = (expectedTypes.length > 0) ? ', expected one of type [' + expectedTypes.join(', ') + ']': '';\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`' + expectedTypesMessage + '.'));\n }\n return createChainableTypeChecker(validate);\n }\n\n function createNodeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n if (!isNode(props[propName])) {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`, expected a ReactNode.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function invalidValidatorError(componentName, location, propFullName, key, type) {\n return new PropTypeError(\n (componentName || 'React class') + ': ' + location + ' type `' + propFullName + '.' + key + '` is invalid; ' +\n 'it must be a function, usually from the `prop-types` package, but received `' + type + '`.'\n );\n }\n\n function createShapeTypeChecker(shapeTypes) {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));\n }\n for (var key in shapeTypes) {\n var checker = shapeTypes[key];\n if (typeof checker !== 'function') {\n return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));\n }\n var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error) {\n return error;\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createStrictShapeTypeChecker(shapeTypes) {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));\n }\n // We need to check all keys in case some are required but missing from props.\n var allKeys = assign({}, props[propName], shapeTypes);\n for (var key in allKeys) {\n var checker = shapeTypes[key];\n if (has(shapeTypes, key) && typeof checker !== 'function') {\n return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));\n }\n if (!checker) {\n return new PropTypeError(\n 'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +\n '\\nBad object: ' + JSON.stringify(props[propName], null, ' ') +\n '\\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')\n );\n }\n var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error) {\n return error;\n }\n }\n return null;\n }\n\n return createChainableTypeChecker(validate);\n }\n\n function isNode(propValue) {\n switch (typeof propValue) {\n case 'number':\n case 'string':\n case 'undefined':\n return true;\n case 'boolean':\n return !propValue;\n case 'object':\n if (Array.isArray(propValue)) {\n return propValue.every(isNode);\n }\n if (propValue === null || isValidElement(propValue)) {\n return true;\n }\n\n var iteratorFn = getIteratorFn(propValue);\n if (iteratorFn) {\n var iterator = iteratorFn.call(propValue);\n var step;\n if (iteratorFn !== propValue.entries) {\n while (!(step = iterator.next()).done) {\n if (!isNode(step.value)) {\n return false;\n }\n }\n } else {\n // Iterator will provide entry [k,v] tuples rather than values.\n while (!(step = iterator.next()).done) {\n var entry = step.value;\n if (entry) {\n if (!isNode(entry[1])) {\n return false;\n }\n }\n }\n }\n } else {\n return false;\n }\n\n return true;\n default:\n return false;\n }\n }\n\n function isSymbol(propType, propValue) {\n // Native Symbol.\n if (propType === 'symbol') {\n return true;\n }\n\n // falsy value can't be a Symbol\n if (!propValue) {\n return false;\n }\n\n // 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol'\n if (propValue['@@toStringTag'] === 'Symbol') {\n return true;\n }\n\n // Fallback for non-spec compliant Symbols which are polyfilled.\n if (typeof Symbol === 'function' && propValue instanceof Symbol) {\n return true;\n }\n\n return false;\n }\n\n // Equivalent of `typeof` but with special handling for array and regexp.\n function getPropType(propValue) {\n var propType = typeof propValue;\n if (Array.isArray(propValue)) {\n return 'array';\n }\n if (propValue instanceof RegExp) {\n // Old webkits (at least until Android 4.0) return 'function' rather than\n // 'object' for typeof a RegExp. We'll normalize this here so that /bla/\n // passes PropTypes.object.\n return 'object';\n }\n if (isSymbol(propType, propValue)) {\n return 'symbol';\n }\n return propType;\n }\n\n // This handles more types than `getPropType`. Only used for error messages.\n // See `createPrimitiveTypeChecker`.\n function getPreciseType(propValue) {\n if (typeof propValue === 'undefined' || propValue === null) {\n return '' + propValue;\n }\n var propType = getPropType(propValue);\n if (propType === 'object') {\n if (propValue instanceof Date) {\n return 'date';\n } else if (propValue instanceof RegExp) {\n return 'regexp';\n }\n }\n return propType;\n }\n\n // Returns a string that is postfixed to a warning about an invalid type.\n // For example, \"undefined\" or \"of type array\"\n function getPostfixForTypeWarning(value) {\n var type = getPreciseType(value);\n switch (type) {\n case 'array':\n case 'object':\n return 'an ' + type;\n case 'boolean':\n case 'date':\n case 'regexp':\n return 'a ' + type;\n default:\n return type;\n }\n }\n\n // Returns class name of the object, if any.\n function getClassName(propValue) {\n if (!propValue.constructor || !propValue.constructor.name) {\n return ANONYMOUS;\n }\n return propValue.constructor.name;\n }\n\n ReactPropTypes.checkPropTypes = checkPropTypes;\n ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache;\n ReactPropTypes.PropTypes = ReactPropTypes;\n\n return ReactPropTypes;\n};\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactIs = require('react-is');\n\n // By explicitly using `prop-types` you are opting into new development behavior.\n // http://fb.me/prop-types-in-prod\n var throwOnDirectAccess = true;\n module.exports = require('./factoryWithTypeCheckers')(ReactIs.isElement, throwOnDirectAccess);\n} else {\n // By explicitly using `prop-types` you are opting into new production behavior.\n // http://fb.me/prop-types-in-prod\n module.exports = require('./factoryWithThrowingShims')();\n}\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\n\nmodule.exports = ReactPropTypesSecret;\n","module.exports = Function.call.bind(Object.prototype.hasOwnProperty);\n","/** @license React v16.13.1\n * react-is.development.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\n\n\nif (process.env.NODE_ENV !== \"production\") {\n (function() {\n'use strict';\n\n// The Symbol used to tag the ReactElement-like types. If there is no native Symbol\n// nor polyfill, then a plain number is used for performance.\nvar hasSymbol = typeof Symbol === 'function' && Symbol.for;\nvar REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;\nvar REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;\nvar REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;\nvar REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;\nvar REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;\nvar REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;\nvar REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary\n// (unstable) APIs that have been removed. Can we remove the symbols?\n\nvar REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;\nvar REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;\nvar REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;\nvar REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;\nvar REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;\nvar REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;\nvar REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;\nvar REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;\nvar REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;\nvar REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;\nvar REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;\n\nfunction isValidElementType(type) {\n return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.\n type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);\n}\n\nfunction typeOf(object) {\n if (typeof object === 'object' && object !== null) {\n var $$typeof = object.$$typeof;\n\n switch ($$typeof) {\n case REACT_ELEMENT_TYPE:\n var type = object.type;\n\n switch (type) {\n case REACT_ASYNC_MODE_TYPE:\n case REACT_CONCURRENT_MODE_TYPE:\n case REACT_FRAGMENT_TYPE:\n case REACT_PROFILER_TYPE:\n case REACT_STRICT_MODE_TYPE:\n case REACT_SUSPENSE_TYPE:\n return type;\n\n default:\n var $$typeofType = type && type.$$typeof;\n\n switch ($$typeofType) {\n case REACT_CONTEXT_TYPE:\n case REACT_FORWARD_REF_TYPE:\n case REACT_LAZY_TYPE:\n case REACT_MEMO_TYPE:\n case REACT_PROVIDER_TYPE:\n return $$typeofType;\n\n default:\n return $$typeof;\n }\n\n }\n\n case REACT_PORTAL_TYPE:\n return $$typeof;\n }\n }\n\n return undefined;\n} // AsyncMode is deprecated along with isAsyncMode\n\nvar AsyncMode = REACT_ASYNC_MODE_TYPE;\nvar ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;\nvar ContextConsumer = REACT_CONTEXT_TYPE;\nvar ContextProvider = REACT_PROVIDER_TYPE;\nvar Element = REACT_ELEMENT_TYPE;\nvar ForwardRef = REACT_FORWARD_REF_TYPE;\nvar Fragment = REACT_FRAGMENT_TYPE;\nvar Lazy = REACT_LAZY_TYPE;\nvar Memo = REACT_MEMO_TYPE;\nvar Portal = REACT_PORTAL_TYPE;\nvar Profiler = REACT_PROFILER_TYPE;\nvar StrictMode = REACT_STRICT_MODE_TYPE;\nvar Suspense = REACT_SUSPENSE_TYPE;\nvar hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated\n\nfunction isAsyncMode(object) {\n {\n if (!hasWarnedAboutDeprecatedIsAsyncMode) {\n hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint\n\n console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.');\n }\n }\n\n return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;\n}\nfunction isConcurrentMode(object) {\n return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;\n}\nfunction isContextConsumer(object) {\n return typeOf(object) === REACT_CONTEXT_TYPE;\n}\nfunction isContextProvider(object) {\n return typeOf(object) === REACT_PROVIDER_TYPE;\n}\nfunction isElement(object) {\n return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;\n}\nfunction isForwardRef(object) {\n return typeOf(object) === REACT_FORWARD_REF_TYPE;\n}\nfunction isFragment(object) {\n return typeOf(object) === REACT_FRAGMENT_TYPE;\n}\nfunction isLazy(object) {\n return typeOf(object) === REACT_LAZY_TYPE;\n}\nfunction isMemo(object) {\n return typeOf(object) === REACT_MEMO_TYPE;\n}\nfunction isPortal(object) {\n return typeOf(object) === REACT_PORTAL_TYPE;\n}\nfunction isProfiler(object) {\n return typeOf(object) === REACT_PROFILER_TYPE;\n}\nfunction isStrictMode(object) {\n return typeOf(object) === REACT_STRICT_MODE_TYPE;\n}\nfunction isSuspense(object) {\n return typeOf(object) === REACT_SUSPENSE_TYPE;\n}\n\nexports.AsyncMode = AsyncMode;\nexports.ConcurrentMode = ConcurrentMode;\nexports.ContextConsumer = ContextConsumer;\nexports.ContextProvider = ContextProvider;\nexports.Element = Element;\nexports.ForwardRef = ForwardRef;\nexports.Fragment = Fragment;\nexports.Lazy = Lazy;\nexports.Memo = Memo;\nexports.Portal = Portal;\nexports.Profiler = Profiler;\nexports.StrictMode = StrictMode;\nexports.Suspense = Suspense;\nexports.isAsyncMode = isAsyncMode;\nexports.isConcurrentMode = isConcurrentMode;\nexports.isContextConsumer = isContextConsumer;\nexports.isContextProvider = isContextProvider;\nexports.isElement = isElement;\nexports.isForwardRef = isForwardRef;\nexports.isFragment = isFragment;\nexports.isLazy = isLazy;\nexports.isMemo = isMemo;\nexports.isPortal = isPortal;\nexports.isProfiler = isProfiler;\nexports.isStrictMode = isStrictMode;\nexports.isSuspense = isSuspense;\nexports.isValidElementType = isValidElementType;\nexports.typeOf = typeOf;\n })();\n}\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-is.production.min.js');\n} else {\n module.exports = require('./cjs/react-is.development.js');\n}\n","'use strict';\n\n/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\n\n\n\n\n// A reserved attribute.\n// It is handled by React separately and shouldn't be written to the DOM.\nconst RESERVED = 0;\n\n// A simple string attribute.\n// Attributes that aren't in the filter are presumed to have this type.\nconst STRING = 1;\n\n// A string attribute that accepts booleans in React. In HTML, these are called\n// \"enumerated\" attributes with \"true\" and \"false\" as possible values.\n// When true, it should be set to a \"true\" string.\n// When false, it should be set to a \"false\" string.\nconst BOOLEANISH_STRING = 2;\n\n// A real boolean attribute.\n// When true, it should be present (set either to an empty string or its name).\n// When false, it should be omitted.\nconst BOOLEAN = 3;\n\n// An attribute that can be used as a flag as well as with a value.\n// When true, it should be present (set either to an empty string or its name).\n// When false, it should be omitted.\n// For any other value, should be present with that value.\nconst OVERLOADED_BOOLEAN = 4;\n\n// An attribute that must be numeric or parse as a numeric.\n// When falsy, it should be removed.\nconst NUMERIC = 5;\n\n// An attribute that must be positive numeric or parse as a positive numeric.\n// When falsy, it should be removed.\nconst POSITIVE_NUMERIC = 6;\n\nfunction getPropertyInfo(name) {\n return properties.hasOwnProperty(name) ? properties[name] : null;\n}\n\nfunction PropertyInfoRecord(\n name,\n type,\n mustUseProperty,\n attributeName,\n attributeNamespace,\n sanitizeURL,\n removeEmptyString,\n) {\n this.acceptsBooleans =\n type === BOOLEANISH_STRING ||\n type === BOOLEAN ||\n type === OVERLOADED_BOOLEAN;\n this.attributeName = attributeName;\n this.attributeNamespace = attributeNamespace;\n this.mustUseProperty = mustUseProperty;\n this.propertyName = name;\n this.type = type;\n this.sanitizeURL = sanitizeURL;\n this.removeEmptyString = removeEmptyString;\n}\n\n// When adding attributes to this list, be sure to also add them to\n// the `possibleStandardNames` module to ensure casing and incorrect\n// name warnings.\nconst properties = {};\n\n// These props are reserved by React. They shouldn't be written to the DOM.\nconst reservedProps = [\n 'children',\n 'dangerouslySetInnerHTML',\n // TODO: This prevents the assignment of defaultValue to regular\n // elements (not just inputs). Now that ReactDOMInput assigns to the\n // defaultValue property -- do we need this?\n 'defaultValue',\n 'defaultChecked',\n 'innerHTML',\n 'suppressContentEditableWarning',\n 'suppressHydrationWarning',\n 'style',\n];\n\nreservedProps.forEach(name => {\n properties[name] = new PropertyInfoRecord(\n name,\n RESERVED,\n false, // mustUseProperty\n name, // attributeName\n null, // attributeNamespace\n false, // sanitizeURL\n false, // removeEmptyString\n );\n});\n\n// A few React string attributes have a different name.\n// This is a mapping from React prop names to the attribute names.\n[\n ['acceptCharset', 'accept-charset'],\n ['className', 'class'],\n ['htmlFor', 'for'],\n ['httpEquiv', 'http-equiv'],\n].forEach(([name, attributeName]) => {\n properties[name] = new PropertyInfoRecord(\n name,\n STRING,\n false, // mustUseProperty\n attributeName, // attributeName\n null, // attributeNamespace\n false, // sanitizeURL\n false, // removeEmptyString\n );\n});\n\n// These are \"enumerated\" HTML attributes that accept \"true\" and \"false\".\n// In React, we let users pass `true` and `false` even though technically\n// these aren't boolean attributes (they are coerced to strings).\n['contentEditable', 'draggable', 'spellCheck', 'value'].forEach(name => {\n properties[name] = new PropertyInfoRecord(\n name,\n BOOLEANISH_STRING,\n false, // mustUseProperty\n name.toLowerCase(), // attributeName\n null, // attributeNamespace\n false, // sanitizeURL\n false, // removeEmptyString\n );\n});\n\n// These are \"enumerated\" SVG attributes that accept \"true\" and \"false\".\n// In React, we let users pass `true` and `false` even though technically\n// these aren't boolean attributes (they are coerced to strings).\n// Since these are SVG attributes, their attribute names are case-sensitive.\n[\n 'autoReverse',\n 'externalResourcesRequired',\n 'focusable',\n 'preserveAlpha',\n].forEach(name => {\n properties[name] = new PropertyInfoRecord(\n name,\n BOOLEANISH_STRING,\n false, // mustUseProperty\n name, // attributeName\n null, // attributeNamespace\n false, // sanitizeURL\n false, // removeEmptyString\n );\n});\n\n// These are HTML boolean attributes.\n[\n 'allowFullScreen',\n 'async',\n // Note: there is a special case that prevents it from being written to the DOM\n // on the client side because the browsers are inconsistent. Instead we call focus().\n 'autoFocus',\n 'autoPlay',\n 'controls',\n 'default',\n 'defer',\n 'disabled',\n 'disablePictureInPicture',\n 'disableRemotePlayback',\n 'formNoValidate',\n 'hidden',\n 'loop',\n 'noModule',\n 'noValidate',\n 'open',\n 'playsInline',\n 'readOnly',\n 'required',\n 'reversed',\n 'scoped',\n 'seamless',\n // Microdata\n 'itemScope',\n].forEach(name => {\n properties[name] = new PropertyInfoRecord(\n name,\n BOOLEAN,\n false, // mustUseProperty\n name.toLowerCase(), // attributeName\n null, // attributeNamespace\n false, // sanitizeURL\n false, // removeEmptyString\n );\n});\n\n// These are the few React props that we set as DOM properties\n// rather than attributes. These are all booleans.\n[\n 'checked',\n // Note: `option.selected` is not updated if `select.multiple` is\n // disabled with `removeAttribute`. We have special logic for handling this.\n 'multiple',\n 'muted',\n 'selected',\n\n // NOTE: if you add a camelCased prop to this list,\n // you'll need to set attributeName to name.toLowerCase()\n // instead in the assignment below.\n].forEach(name => {\n properties[name] = new PropertyInfoRecord(\n name,\n BOOLEAN,\n true, // mustUseProperty\n name, // attributeName\n null, // attributeNamespace\n false, // sanitizeURL\n false, // removeEmptyString\n );\n});\n\n// These are HTML attributes that are \"overloaded booleans\": they behave like\n// booleans, but can also accept a string value.\n[\n 'capture',\n 'download',\n\n // NOTE: if you add a camelCased prop to this list,\n // you'll need to set attributeName to name.toLowerCase()\n // instead in the assignment below.\n].forEach(name => {\n properties[name] = new PropertyInfoRecord(\n name,\n OVERLOADED_BOOLEAN,\n false, // mustUseProperty\n name, // attributeName\n null, // attributeNamespace\n false, // sanitizeURL\n false, // removeEmptyString\n );\n});\n\n// These are HTML attributes that must be positive numbers.\n[\n 'cols',\n 'rows',\n 'size',\n 'span',\n\n // NOTE: if you add a camelCased prop to this list,\n // you'll need to set attributeName to name.toLowerCase()\n // instead in the assignment below.\n].forEach(name => {\n properties[name] = new PropertyInfoRecord(\n name,\n POSITIVE_NUMERIC,\n false, // mustUseProperty\n name, // attributeName\n null, // attributeNamespace\n false, // sanitizeURL\n false, // removeEmptyString\n );\n});\n\n// These are HTML attributes that must be numbers.\n['rowSpan', 'start'].forEach(name => {\n properties[name] = new PropertyInfoRecord(\n name,\n NUMERIC,\n false, // mustUseProperty\n name.toLowerCase(), // attributeName\n null, // attributeNamespace\n false, // sanitizeURL\n false, // removeEmptyString\n );\n});\n\nconst CAMELIZE = /[\\-\\:]([a-z])/g;\nconst capitalize = token => token[1].toUpperCase();\n\n// This is a list of all SVG attributes that need special casing, namespacing,\n// or boolean value assignment. Regular attributes that just accept strings\n// and have the same names are omitted, just like in the HTML attribute filter.\n// Some of these attributes can be hard to find. This list was created by\n// scraping the MDN documentation.\n[\n 'accent-height',\n 'alignment-baseline',\n 'arabic-form',\n 'baseline-shift',\n 'cap-height',\n 'clip-path',\n 'clip-rule',\n 'color-interpolation',\n 'color-interpolation-filters',\n 'color-profile',\n 'color-rendering',\n 'dominant-baseline',\n 'enable-background',\n 'fill-opacity',\n 'fill-rule',\n 'flood-color',\n 'flood-opacity',\n 'font-family',\n 'font-size',\n 'font-size-adjust',\n 'font-stretch',\n 'font-style',\n 'font-variant',\n 'font-weight',\n 'glyph-name',\n 'glyph-orientation-horizontal',\n 'glyph-orientation-vertical',\n 'horiz-adv-x',\n 'horiz-origin-x',\n 'image-rendering',\n 'letter-spacing',\n 'lighting-color',\n 'marker-end',\n 'marker-mid',\n 'marker-start',\n 'overline-position',\n 'overline-thickness',\n 'paint-order',\n 'panose-1',\n 'pointer-events',\n 'rendering-intent',\n 'shape-rendering',\n 'stop-color',\n 'stop-opacity',\n 'strikethrough-position',\n 'strikethrough-thickness',\n 'stroke-dasharray',\n 'stroke-dashoffset',\n 'stroke-linecap',\n 'stroke-linejoin',\n 'stroke-miterlimit',\n 'stroke-opacity',\n 'stroke-width',\n 'text-anchor',\n 'text-decoration',\n 'text-rendering',\n 'underline-position',\n 'underline-thickness',\n 'unicode-bidi',\n 'unicode-range',\n 'units-per-em',\n 'v-alphabetic',\n 'v-hanging',\n 'v-ideographic',\n 'v-mathematical',\n 'vector-effect',\n 'vert-adv-y',\n 'vert-origin-x',\n 'vert-origin-y',\n 'word-spacing',\n 'writing-mode',\n 'xmlns:xlink',\n 'x-height',\n\n // NOTE: if you add a camelCased prop to this list,\n // you'll need to set attributeName to name.toLowerCase()\n // instead in the assignment below.\n].forEach(attributeName => {\n const name = attributeName.replace(CAMELIZE, capitalize);\n properties[name] = new PropertyInfoRecord(\n name,\n STRING,\n false, // mustUseProperty\n attributeName,\n null, // attributeNamespace\n false, // sanitizeURL\n false, // removeEmptyString\n );\n});\n\n// String SVG attributes with the xlink namespace.\n[\n 'xlink:actuate',\n 'xlink:arcrole',\n 'xlink:role',\n 'xlink:show',\n 'xlink:title',\n 'xlink:type',\n\n // NOTE: if you add a camelCased prop to this list,\n // you'll need to set attributeName to name.toLowerCase()\n // instead in the assignment below.\n].forEach(attributeName => {\n const name = attributeName.replace(CAMELIZE, capitalize);\n properties[name] = new PropertyInfoRecord(\n name,\n STRING,\n false, // mustUseProperty\n attributeName,\n 'http://www.w3.org/1999/xlink',\n false, // sanitizeURL\n false, // removeEmptyString\n );\n});\n\n// String SVG attributes with the xml namespace.\n[\n 'xml:base',\n 'xml:lang',\n 'xml:space',\n\n // NOTE: if you add a camelCased prop to this list,\n // you'll need to set attributeName to name.toLowerCase()\n // instead in the assignment below.\n].forEach(attributeName => {\n const name = attributeName.replace(CAMELIZE, capitalize);\n properties[name] = new PropertyInfoRecord(\n name,\n STRING,\n false, // mustUseProperty\n attributeName,\n 'http://www.w3.org/XML/1998/namespace',\n false, // sanitizeURL\n false, // removeEmptyString\n );\n});\n\n// These attribute exists both in HTML and SVG.\n// The attribute name is case-sensitive in SVG so we can't just use\n// the React name like we do for attributes that exist only in HTML.\n['tabIndex', 'crossOrigin'].forEach(attributeName => {\n properties[attributeName] = new PropertyInfoRecord(\n attributeName,\n STRING,\n false, // mustUseProperty\n attributeName.toLowerCase(), // attributeName\n null, // attributeNamespace\n false, // sanitizeURL\n false, // removeEmptyString\n );\n});\n\n// These attributes accept URLs. These must not allow javascript: URLS.\n// These will also need to accept Trusted Types object in the future.\nconst xlinkHref = 'xlinkHref';\nproperties[xlinkHref] = new PropertyInfoRecord(\n 'xlinkHref',\n STRING,\n false, // mustUseProperty\n 'xlink:href',\n 'http://www.w3.org/1999/xlink',\n true, // sanitizeURL\n false, // removeEmptyString\n);\n\n['src', 'href', 'action', 'formAction'].forEach(attributeName => {\n properties[attributeName] = new PropertyInfoRecord(\n attributeName,\n STRING,\n false, // mustUseProperty\n attributeName.toLowerCase(), // attributeName\n null, // attributeNamespace\n true, // sanitizeURL\n true, // removeEmptyString\n );\n});\n\n// \nconst {\n CAMELCASE,\n SAME,\n possibleStandardNames: possibleStandardNamesOptimized\n} = require('../lib/possibleStandardNamesOptimized');\n\nconst ATTRIBUTE_NAME_START_CHAR =\n ':A-Z_a-z\\\\u00C0-\\\\u00D6\\\\u00D8-\\\\u00F6\\\\u00F8-\\\\u02FF\\\\u0370-\\\\u037D\\\\u037F-\\\\u1FFF\\\\u200C-\\\\u200D\\\\u2070-\\\\u218F\\\\u2C00-\\\\u2FEF\\\\u3001-\\\\uD7FF\\\\uF900-\\\\uFDCF\\\\uFDF0-\\\\uFFFD';\n\nconst ATTRIBUTE_NAME_CHAR =\n ATTRIBUTE_NAME_START_CHAR + '\\\\-.0-9\\\\u00B7\\\\u0300-\\\\u036F\\\\u203F-\\\\u2040';\n\n/**\n * Checks whether a property name is a custom attribute.\n *\n * @see https://github.com/facebook/react/blob/15-stable/src/renderers/dom/shared/HTMLDOMPropertyConfig.js#L23-L25\n *\n * @type {(attribute: string) => boolean}\n */\nconst isCustomAttribute =\n RegExp.prototype.test.bind(\n // eslint-disable-next-line no-misleading-character-class\n new RegExp('^(data|aria)-[' + ATTRIBUTE_NAME_CHAR + ']*$')\n );\n\n/**\n * @type {Record<string, string>}\n */\nconst possibleStandardNames = Object.keys(\n possibleStandardNamesOptimized\n).reduce((accumulator, standardName) => {\n const propName = possibleStandardNamesOptimized[standardName];\n if (propName === SAME) {\n accumulator[standardName] = standardName;\n } else if (propName === CAMELCASE) {\n accumulator[standardName.toLowerCase()] = standardName;\n } else {\n accumulator[standardName] = propName;\n }\n return accumulator;\n}, {});\n\nexports.BOOLEAN = BOOLEAN;\nexports.BOOLEANISH_STRING = BOOLEANISH_STRING;\nexports.NUMERIC = NUMERIC;\nexports.OVERLOADED_BOOLEAN = OVERLOADED_BOOLEAN;\nexports.POSITIVE_NUMERIC = POSITIVE_NUMERIC;\nexports.RESERVED = RESERVED;\nexports.STRING = STRING;\nexports.getPropertyInfo = getPropertyInfo;\nexports.isCustomAttribute = isCustomAttribute;\nexports.possibleStandardNames = possibleStandardNames;\n","// An attribute in which the DOM/SVG standard name is the same as the React prop name (e.g., 'accept').\nvar SAME = 0;\nexports.SAME = SAME;\n\n// An attribute in which the React prop name is the camelcased version of the DOM/SVG standard name (e.g., 'acceptCharset').\nvar CAMELCASE = 1;\nexports.CAMELCASE = CAMELCASE;\n\nexports.possibleStandardNames = {\n accept: 0,\n acceptCharset: 1,\n 'accept-charset': 'acceptCharset',\n accessKey: 1,\n action: 0,\n allowFullScreen: 1,\n alt: 0,\n as: 0,\n async: 0,\n autoCapitalize: 1,\n autoComplete: 1,\n autoCorrect: 1,\n autoFocus: 1,\n autoPlay: 1,\n autoSave: 1,\n capture: 0,\n cellPadding: 1,\n cellSpacing: 1,\n challenge: 0,\n charSet: 1,\n checked: 0,\n children: 0,\n cite: 0,\n class: 'className',\n classID: 1,\n className: 1,\n cols: 0,\n colSpan: 1,\n content: 0,\n contentEditable: 1,\n contextMenu: 1,\n controls: 0,\n controlsList: 1,\n coords: 0,\n crossOrigin: 1,\n dangerouslySetInnerHTML: 1,\n data: 0,\n dateTime: 1,\n default: 0,\n defaultChecked: 1,\n defaultValue: 1,\n defer: 0,\n dir: 0,\n disabled: 0,\n disablePictureInPicture: 1,\n disableRemotePlayback: 1,\n download: 0,\n draggable: 0,\n encType: 1,\n enterKeyHint: 1,\n for: 'htmlFor',\n form: 0,\n formMethod: 1,\n formAction: 1,\n formEncType: 1,\n formNoValidate: 1,\n formTarget: 1,\n frameBorder: 1,\n headers: 0,\n height: 0,\n hidden: 0,\n high: 0,\n href: 0,\n hrefLang: 1,\n htmlFor: 1,\n httpEquiv: 1,\n 'http-equiv': 'httpEquiv',\n icon: 0,\n id: 0,\n innerHTML: 1,\n inputMode: 1,\n integrity: 0,\n is: 0,\n itemID: 1,\n itemProp: 1,\n itemRef: 1,\n itemScope: 1,\n itemType: 1,\n keyParams: 1,\n keyType: 1,\n kind: 0,\n label: 0,\n lang: 0,\n list: 0,\n loop: 0,\n low: 0,\n manifest: 0,\n marginWidth: 1,\n marginHeight: 1,\n max: 0,\n maxLength: 1,\n media: 0,\n mediaGroup: 1,\n method: 0,\n min: 0,\n minLength: 1,\n multiple: 0,\n muted: 0,\n name: 0,\n noModule: 1,\n nonce: 0,\n noValidate: 1,\n open: 0,\n optimum: 0,\n pattern: 0,\n placeholder: 0,\n playsInline: 1,\n poster: 0,\n preload: 0,\n profile: 0,\n radioGroup: 1,\n readOnly: 1,\n referrerPolicy: 1,\n rel: 0,\n required: 0,\n reversed: 0,\n role: 0,\n rows: 0,\n rowSpan: 1,\n sandbox: 0,\n scope: 0,\n scoped: 0,\n scrolling: 0,\n seamless: 0,\n selected: 0,\n shape: 0,\n size: 0,\n sizes: 0,\n span: 0,\n spellCheck: 1,\n src: 0,\n srcDoc: 1,\n srcLang: 1,\n srcSet: 1,\n start: 0,\n step: 0,\n style: 0,\n summary: 0,\n tabIndex: 1,\n target: 0,\n title: 0,\n type: 0,\n useMap: 1,\n value: 0,\n width: 0,\n wmode: 0,\n wrap: 0,\n about: 0,\n accentHeight: 1,\n 'accent-height': 'accentHeight',\n accumulate: 0,\n additive: 0,\n alignmentBaseline: 1,\n 'alignment-baseline': 'alignmentBaseline',\n allowReorder: 1,\n alphabetic: 0,\n amplitude: 0,\n arabicForm: 1,\n 'arabic-form': 'arabicForm',\n ascent: 0,\n attributeName: 1,\n attributeType: 1,\n autoReverse: 1,\n azimuth: 0,\n baseFrequency: 1,\n baselineShift: 1,\n 'baseline-shift': 'baselineShift',\n baseProfile: 1,\n bbox: 0,\n begin: 0,\n bias: 0,\n by: 0,\n calcMode: 1,\n capHeight: 1,\n 'cap-height': 'capHeight',\n clip: 0,\n clipPath: 1,\n 'clip-path': 'clipPath',\n clipPathUnits: 1,\n clipRule: 1,\n 'clip-rule': 'clipRule',\n color: 0,\n colorInterpolation: 1,\n 'color-interpolation': 'colorInterpolation',\n colorInterpolationFilters: 1,\n 'color-interpolation-filters': 'colorInterpolationFilters',\n colorProfile: 1,\n 'color-profile': 'colorProfile',\n colorRendering: 1,\n 'color-rendering': 'colorRendering',\n contentScriptType: 1,\n contentStyleType: 1,\n cursor: 0,\n cx: 0,\n cy: 0,\n d: 0,\n datatype: 0,\n decelerate: 0,\n descent: 0,\n diffuseConstant: 1,\n direction: 0,\n display: 0,\n divisor: 0,\n dominantBaseline: 1,\n 'dominant-baseline': 'dominantBaseline',\n dur: 0,\n dx: 0,\n dy: 0,\n edgeMode: 1,\n elevation: 0,\n enableBackground: 1,\n 'enable-background': 'enableBackground',\n end: 0,\n exponent: 0,\n externalResourcesRequired: 1,\n fill: 0,\n fillOpacity: 1,\n 'fill-opacity': 'fillOpacity',\n fillRule: 1,\n 'fill-rule': 'fillRule',\n filter: 0,\n filterRes: 1,\n filterUnits: 1,\n floodOpacity: 1,\n 'flood-opacity': 'floodOpacity',\n floodColor: 1,\n 'flood-color': 'floodColor',\n focusable: 0,\n fontFamily: 1,\n 'font-family': 'fontFamily',\n fontSize: 1,\n 'font-size': 'fontSize',\n fontSizeAdjust: 1,\n 'font-size-adjust': 'fontSizeAdjust',\n fontStretch: 1,\n 'font-stretch': 'fontStretch',\n fontStyle: 1,\n 'font-style': 'fontStyle',\n fontVariant: 1,\n 'font-variant': 'fontVariant',\n fontWeight: 1,\n 'font-weight': 'fontWeight',\n format: 0,\n from: 0,\n fx: 0,\n fy: 0,\n g1: 0,\n g2: 0,\n glyphName: 1,\n 'glyph-name': 'glyphName',\n glyphOrientationHorizontal: 1,\n 'glyph-orientation-horizontal': 'glyphOrientationHorizontal',\n glyphOrientationVertical: 1,\n 'glyph-orientation-vertical': 'glyphOrientationVertical',\n glyphRef: 1,\n gradientTransform: 1,\n gradientUnits: 1,\n hanging: 0,\n horizAdvX: 1,\n 'horiz-adv-x': 'horizAdvX',\n horizOriginX: 1,\n 'horiz-origin-x': 'horizOriginX',\n ideographic: 0,\n imageRendering: 1,\n 'image-rendering': 'imageRendering',\n in2: 0,\n in: 0,\n inlist: 0,\n intercept: 0,\n k1: 0,\n k2: 0,\n k3: 0,\n k4: 0,\n k: 0,\n kernelMatrix: 1,\n kernelUnitLength: 1,\n kerning: 0,\n keyPoints: 1,\n keySplines: 1,\n keyTimes: 1,\n lengthAdjust: 1,\n letterSpacing: 1,\n 'letter-spacing': 'letterSpacing',\n lightingColor: 1,\n 'lighting-color': 'lightingColor',\n limitingConeAngle: 1,\n local: 0,\n markerEnd: 1,\n 'marker-end': 'markerEnd',\n markerHeight: 1,\n markerMid: 1,\n 'marker-mid': 'markerMid',\n markerStart: 1,\n 'marker-start': 'markerStart',\n markerUnits: 1,\n markerWidth: 1,\n mask: 0,\n maskContentUnits: 1,\n maskUnits: 1,\n mathematical: 0,\n mode: 0,\n numOctaves: 1,\n offset: 0,\n opacity: 0,\n operator: 0,\n order: 0,\n orient: 0,\n orientation: 0,\n origin: 0,\n overflow: 0,\n overlinePosition: 1,\n 'overline-position': 'overlinePosition',\n overlineThickness: 1,\n 'overline-thickness': 'overlineThickness',\n paintOrder: 1,\n 'paint-order': 'paintOrder',\n panose1: 0,\n 'panose-1': 'panose1',\n pathLength: 1,\n patternContentUnits: 1,\n patternTransform: 1,\n patternUnits: 1,\n pointerEvents: 1,\n 'pointer-events': 'pointerEvents',\n points: 0,\n pointsAtX: 1,\n pointsAtY: 1,\n pointsAtZ: 1,\n prefix: 0,\n preserveAlpha: 1,\n preserveAspectRatio: 1,\n primitiveUnits: 1,\n property: 0,\n r: 0,\n radius: 0,\n refX: 1,\n refY: 1,\n renderingIntent: 1,\n 'rendering-intent': 'renderingIntent',\n repeatCount: 1,\n repeatDur: 1,\n requiredExtensions: 1,\n requiredFeatures: 1,\n resource: 0,\n restart: 0,\n result: 0,\n results: 0,\n rotate: 0,\n rx: 0,\n ry: 0,\n scale: 0,\n security: 0,\n seed: 0,\n shapeRendering: 1,\n 'shape-rendering': 'shapeRendering',\n slope: 0,\n spacing: 0,\n specularConstant: 1,\n specularExponent: 1,\n speed: 0,\n spreadMethod: 1,\n startOffset: 1,\n stdDeviation: 1,\n stemh: 0,\n stemv: 0,\n stitchTiles: 1,\n stopColor: 1,\n 'stop-color': 'stopColor',\n stopOpacity: 1,\n 'stop-opacity': 'stopOpacity',\n strikethroughPosition: 1,\n 'strikethrough-position': 'strikethroughPosition',\n strikethroughThickness: 1,\n 'strikethrough-thickness': 'strikethroughThickness',\n string: 0,\n stroke: 0,\n strokeDasharray: 1,\n 'stroke-dasharray': 'strokeDasharray',\n strokeDashoffset: 1,\n 'stroke-dashoffset': 'strokeDashoffset',\n strokeLinecap: 1,\n 'stroke-linecap': 'strokeLinecap',\n strokeLinejoin: 1,\n 'stroke-linejoin': 'strokeLinejoin',\n strokeMiterlimit: 1,\n 'stroke-miterlimit': 'strokeMiterlimit',\n strokeWidth: 1,\n 'stroke-width': 'strokeWidth',\n strokeOpacity: 1,\n 'stroke-opacity': 'strokeOpacity',\n suppressContentEditableWarning: 1,\n suppressHydrationWarning: 1,\n surfaceScale: 1,\n systemLanguage: 1,\n tableValues: 1,\n targetX: 1,\n targetY: 1,\n textAnchor: 1,\n 'text-anchor': 'textAnchor',\n textDecoration: 1,\n 'text-decoration': 'textDecoration',\n textLength: 1,\n textRendering: 1,\n 'text-rendering': 'textRendering',\n to: 0,\n transform: 0,\n typeof: 0,\n u1: 0,\n u2: 0,\n underlinePosition: 1,\n 'underline-position': 'underlinePosition',\n underlineThickness: 1,\n 'underline-thickness': 'underlineThickness',\n unicode: 0,\n unicodeBidi: 1,\n 'unicode-bidi': 'unicodeBidi',\n unicodeRange: 1,\n 'unicode-range': 'unicodeRange',\n unitsPerEm: 1,\n 'units-per-em': 'unitsPerEm',\n unselectable: 0,\n vAlphabetic: 1,\n 'v-alphabetic': 'vAlphabetic',\n values: 0,\n vectorEffect: 1,\n 'vector-effect': 'vectorEffect',\n version: 0,\n vertAdvY: 1,\n 'vert-adv-y': 'vertAdvY',\n vertOriginX: 1,\n 'vert-origin-x': 'vertOriginX',\n vertOriginY: 1,\n 'vert-origin-y': 'vertOriginY',\n vHanging: 1,\n 'v-hanging': 'vHanging',\n vIdeographic: 1,\n 'v-ideographic': 'vIdeographic',\n viewBox: 1,\n viewTarget: 1,\n visibility: 0,\n vMathematical: 1,\n 'v-mathematical': 'vMathematical',\n vocab: 0,\n widths: 0,\n wordSpacing: 1,\n 'word-spacing': 'wordSpacing',\n writingMode: 1,\n 'writing-mode': 'writingMode',\n x1: 0,\n x2: 0,\n x: 0,\n xChannelSelector: 1,\n xHeight: 1,\n 'x-height': 'xHeight',\n xlinkActuate: 1,\n 'xlink:actuate': 'xlinkActuate',\n xlinkArcrole: 1,\n 'xlink:arcrole': 'xlinkArcrole',\n xlinkHref: 1,\n 'xlink:href': 'xlinkHref',\n xlinkRole: 1,\n 'xlink:role': 'xlinkRole',\n xlinkShow: 1,\n 'xlink:show': 'xlinkShow',\n xlinkTitle: 1,\n 'xlink:title': 'xlinkTitle',\n xlinkType: 1,\n 'xlink:type': 'xlinkType',\n xmlBase: 1,\n 'xml:base': 'xmlBase',\n xmlLang: 1,\n 'xml:lang': 'xmlLang',\n xmlns: 0,\n 'xml:space': 'xmlSpace',\n xmlnsXlink: 1,\n 'xmlns:xlink': 'xmlnsXlink',\n xmlSpace: 1,\n y1: 0,\n y2: 0,\n y: 0,\n yChannelSelector: 1,\n z: 0,\n zoomAndPan: 1\n};\n","import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _inheritsLoose from \"@babel/runtime/helpers/esm/inheritsLoose\";\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport ReactDOM from 'react-dom';\nimport config from './config';\nimport { timeoutsShape } from './utils/PropTypes';\nimport TransitionGroupContext from './TransitionGroupContext';\nimport { forceReflow } from './utils/reflow';\nexport var UNMOUNTED = 'unmounted';\nexport var EXITED = 'exited';\nexport var ENTERING = 'entering';\nexport var ENTERED = 'entered';\nexport var EXITING = 'exiting';\n/**\n * The Transition component lets you describe a transition from one component\n * state to another _over time_ with a simple declarative API. Most commonly\n * it's used to animate the mounting and unmounting of a component, but can also\n * be used to describe in-place transition states as well.\n *\n * ---\n *\n * **Note**: `Transition` is a platform-agnostic base component. If you're using\n * transitions in CSS, you'll probably want to use\n * [`CSSTransition`](https://reactcommunity.org/react-transition-group/css-transition)\n * instead. It inherits all the features of `Transition`, but contains\n * additional features necessary to play nice with CSS transitions (hence the\n * name of the component).\n *\n * ---\n *\n * By default the `Transition` component does not alter the behavior of the\n * component it renders, it only tracks \"enter\" and \"exit\" states for the\n * components. It's up to you to give meaning and effect to those states. For\n * example we can add styles to a component when it enters or exits:\n *\n * ```jsx\n * import { Transition } from 'react-transition-group';\n *\n * const duration = 300;\n *\n * const defaultStyle = {\n * transition: `opacity ${duration}ms ease-in-out`,\n * opacity: 0,\n * }\n *\n * const transitionStyles = {\n * entering: { opacity: 1 },\n * entered: { opacity: 1 },\n * exiting: { opacity: 0 },\n * exited: { opacity: 0 },\n * };\n *\n * const Fade = ({ in: inProp }) => (\n * <Transition in={inProp} timeout={duration}>\n * {state => (\n * <div style={{\n * ...defaultStyle,\n * ...transitionStyles[state]\n * }}>\n * I'm a fade Transition!\n * </div>\n * )}\n * </Transition>\n * );\n * ```\n *\n * There are 4 main states a Transition can be in:\n * - `'entering'`\n * - `'entered'`\n * - `'exiting'`\n * - `'exited'`\n *\n * Transition state is toggled via the `in` prop. When `true` the component\n * begins the \"Enter\" stage. During this stage, the component will shift from\n * its current transition state, to `'entering'` for the duration of the\n * transition and then to the `'entered'` stage once it's complete. Let's take\n * the following example (we'll use the\n * [useState](https://reactjs.org/docs/hooks-reference.html#usestate) hook):\n *\n * ```jsx\n * function App() {\n * const [inProp, setInProp] = useState(false);\n * return (\n * <div>\n * <Transition in={inProp} timeout={500}>\n * {state => (\n * // ...\n * )}\n * </Transition>\n * <button onClick={() => setInProp(true)}>\n * Click to Enter\n * </button>\n * </div>\n * );\n * }\n * ```\n *\n * When the button is clicked the component will shift to the `'entering'` state\n * and stay there for 500ms (the value of `timeout`) before it finally switches\n * to `'entered'`.\n *\n * When `in` is `false` the same thing happens except the state moves from\n * `'exiting'` to `'exited'`.\n */\n\nvar Transition = /*#__PURE__*/function (_React$Component) {\n _inheritsLoose(Transition, _React$Component);\n\n function Transition(props, context) {\n var _this;\n\n _this = _React$Component.call(this, props, context) || this;\n var parentGroup = context; // In the context of a TransitionGroup all enters are really appears\n\n var appear = parentGroup && !parentGroup.isMounting ? props.enter : props.appear;\n var initialStatus;\n _this.appearStatus = null;\n\n if (props.in) {\n if (appear) {\n initialStatus = EXITED;\n _this.appearStatus = ENTERING;\n } else {\n initialStatus = ENTERED;\n }\n } else {\n if (props.unmountOnExit || props.mountOnEnter) {\n initialStatus = UNMOUNTED;\n } else {\n initialStatus = EXITED;\n }\n }\n\n _this.state = {\n status: initialStatus\n };\n _this.nextCallback = null;\n return _this;\n }\n\n Transition.getDerivedStateFromProps = function getDerivedStateFromProps(_ref, prevState) {\n var nextIn = _ref.in;\n\n if (nextIn && prevState.status === UNMOUNTED) {\n return {\n status: EXITED\n };\n }\n\n return null;\n } // getSnapshotBeforeUpdate(prevProps) {\n // let nextStatus = null\n // if (prevProps !== this.props) {\n // const { status } = this.state\n // if (this.props.in) {\n // if (status !== ENTERING && status !== ENTERED) {\n // nextStatus = ENTERING\n // }\n // } else {\n // if (status === ENTERING || status === ENTERED) {\n // nextStatus = EXITING\n // }\n // }\n // }\n // return { nextStatus }\n // }\n ;\n\n var _proto = Transition.prototype;\n\n _proto.componentDidMount = function componentDidMount() {\n this.updateStatus(true, this.appearStatus);\n };\n\n _proto.componentDidUpdate = function componentDidUpdate(prevProps) {\n var nextStatus = null;\n\n if (prevProps !== this.props) {\n var status = this.state.status;\n\n if (this.props.in) {\n if (status !== ENTERING && status !== ENTERED) {\n nextStatus = ENTERING;\n }\n } else {\n if (status === ENTERING || status === ENTERED) {\n nextStatus = EXITING;\n }\n }\n }\n\n this.updateStatus(false, nextStatus);\n };\n\n _proto.componentWillUnmount = function componentWillUnmount() {\n this.cancelNextCallback();\n };\n\n _proto.getTimeouts = function getTimeouts() {\n var timeout = this.props.timeout;\n var exit, enter, appear;\n exit = enter = appear = timeout;\n\n if (timeout != null && typeof timeout !== 'number') {\n exit = timeout.exit;\n enter = timeout.enter; // TODO: remove fallback for next major\n\n appear = timeout.appear !== undefined ? timeout.appear : enter;\n }\n\n return {\n exit: exit,\n enter: enter,\n appear: appear\n };\n };\n\n _proto.updateStatus = function updateStatus(mounting, nextStatus) {\n if (mounting === void 0) {\n mounting = false;\n }\n\n if (nextStatus !== null) {\n // nextStatus will always be ENTERING or EXITING.\n this.cancelNextCallback();\n\n if (nextStatus === ENTERING) {\n if (this.props.unmountOnExit || this.props.mountOnEnter) {\n var node = this.props.nodeRef ? this.props.nodeRef.current : ReactDOM.findDOMNode(this); // https://github.com/reactjs/react-transition-group/pull/749\n // With unmountOnExit or mountOnEnter, the enter animation should happen at the transition between `exited` and `entering`.\n // To make the animation happen, we have to separate each rendering and avoid being processed as batched.\n\n if (node) forceReflow(node);\n }\n\n this.performEnter(mounting);\n } else {\n this.performExit();\n }\n } else if (this.props.unmountOnExit && this.state.status === EXITED) {\n this.setState({\n status: UNMOUNTED\n });\n }\n };\n\n _proto.performEnter = function performEnter(mounting) {\n var _this2 = this;\n\n var enter = this.props.enter;\n var appearing = this.context ? this.context.isMounting : mounting;\n\n var _ref2 = this.props.nodeRef ? [appearing] : [ReactDOM.findDOMNode(this), appearing],\n maybeNode = _ref2[0],\n maybeAppearing = _ref2[1];\n\n var timeouts = this.getTimeouts();\n var enterTimeout = appearing ? timeouts.appear : timeouts.enter; // no enter animation skip right to ENTERED\n // if we are mounting and running this it means appear _must_ be set\n\n if (!mounting && !enter || config.disabled) {\n this.safeSetState({\n status: ENTERED\n }, function () {\n _this2.props.onEntered(maybeNode);\n });\n return;\n }\n\n this.props.onEnter(maybeNode, maybeAppearing);\n this.safeSetState({\n status: ENTERING\n }, function () {\n _this2.props.onEntering(maybeNode, maybeAppearing);\n\n _this2.onTransitionEnd(enterTimeout, function () {\n _this2.safeSetState({\n status: ENTERED\n }, function () {\n _this2.props.onEntered(maybeNode, maybeAppearing);\n });\n });\n });\n };\n\n _proto.performExit = function performExit() {\n var _this3 = this;\n\n var exit = this.props.exit;\n var timeouts = this.getTimeouts();\n var maybeNode = this.props.nodeRef ? undefined : ReactDOM.findDOMNode(this); // no exit animation skip right to EXITED\n\n if (!exit || config.disabled) {\n this.safeSetState({\n status: EXITED\n }, function () {\n _this3.props.onExited(maybeNode);\n });\n return;\n }\n\n this.props.onExit(maybeNode);\n this.safeSetState({\n status: EXITING\n }, function () {\n _this3.props.onExiting(maybeNode);\n\n _this3.onTransitionEnd(timeouts.exit, function () {\n _this3.safeSetState({\n status: EXITED\n }, function () {\n _this3.props.onExited(maybeNode);\n });\n });\n });\n };\n\n _proto.cancelNextCallback = function cancelNextCallback() {\n if (this.nextCallback !== null) {\n this.nextCallback.cancel();\n this.nextCallback = null;\n }\n };\n\n _proto.safeSetState = function safeSetState(nextState, callback) {\n // This shouldn't be necessary, but there are weird race conditions with\n // setState callbacks and unmounting in testing, so always make sure that\n // we can cancel any pending setState callbacks after we unmount.\n callback = this.setNextCallback(callback);\n this.setState(nextState, callback);\n };\n\n _proto.setNextCallback = function setNextCallback(callback) {\n var _this4 = this;\n\n var active = true;\n\n this.nextCallback = function (event) {\n if (active) {\n active = false;\n _this4.nextCallback = null;\n callback(event);\n }\n };\n\n this.nextCallback.cancel = function () {\n active = false;\n };\n\n return this.nextCallback;\n };\n\n _proto.onTransitionEnd = function onTransitionEnd(timeout, handler) {\n this.setNextCallback(handler);\n var node = this.props.nodeRef ? this.props.nodeRef.current : ReactDOM.findDOMNode(this);\n var doesNotHaveTimeoutOrListener = timeout == null && !this.props.addEndListener;\n\n if (!node || doesNotHaveTimeoutOrListener) {\n setTimeout(this.nextCallback, 0);\n return;\n }\n\n if (this.props.addEndListener) {\n var _ref3 = this.props.nodeRef ? [this.nextCallback] : [node, this.nextCallback],\n maybeNode = _ref3[0],\n maybeNextCallback = _ref3[1];\n\n this.props.addEndListener(maybeNode, maybeNextCallback);\n }\n\n if (timeout != null) {\n setTimeout(this.nextCallback, timeout);\n }\n };\n\n _proto.render = function render() {\n var status = this.state.status;\n\n if (status === UNMOUNTED) {\n return null;\n }\n\n var _this$props = this.props,\n children = _this$props.children,\n _in = _this$props.in,\n _mountOnEnter = _this$props.mountOnEnter,\n _unmountOnExit = _this$props.unmountOnExit,\n _appear = _this$props.appear,\n _enter = _this$props.enter,\n _exit = _this$props.exit,\n _timeout = _this$props.timeout,\n _addEndListener = _this$props.addEndListener,\n _onEnter = _this$props.onEnter,\n _onEntering = _this$props.onEntering,\n _onEntered = _this$props.onEntered,\n _onExit = _this$props.onExit,\n _onExiting = _this$props.onExiting,\n _onExited = _this$props.onExited,\n _nodeRef = _this$props.nodeRef,\n childProps = _objectWithoutPropertiesLoose(_this$props, [\"children\", \"in\", \"mountOnEnter\", \"unmountOnExit\", \"appear\", \"enter\", \"exit\", \"timeout\", \"addEndListener\", \"onEnter\", \"onEntering\", \"onEntered\", \"onExit\", \"onExiting\", \"onExited\", \"nodeRef\"]);\n\n return (\n /*#__PURE__*/\n // allows for nested Transitions\n React.createElement(TransitionGroupContext.Provider, {\n value: null\n }, typeof children === 'function' ? children(status, childProps) : React.cloneElement(React.Children.only(children), childProps))\n );\n };\n\n return Transition;\n}(React.Component);\n\nTransition.contextType = TransitionGroupContext;\nTransition.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /**\n * A React reference to DOM element that need to transition:\n * https://stackoverflow.com/a/51127130/4671932\n *\n * - When `nodeRef` prop is used, `node` is not passed to callback functions\n * (e.g. `onEnter`) because user already has direct access to the node.\n * - When changing `key` prop of `Transition` in a `TransitionGroup` a new\n * `nodeRef` need to be provided to `Transition` with changed `key` prop\n * (see\n * [test/CSSTransition-test.js](https://github.com/reactjs/react-transition-group/blob/13435f897b3ab71f6e19d724f145596f5910581c/test/CSSTransition-test.js#L362-L437)).\n */\n nodeRef: PropTypes.shape({\n current: typeof Element === 'undefined' ? PropTypes.any : function (propValue, key, componentName, location, propFullName, secret) {\n var value = propValue[key];\n return PropTypes.instanceOf(value && 'ownerDocument' in value ? value.ownerDocument.defaultView.Element : Element)(propValue, key, componentName, location, propFullName, secret);\n }\n }),\n\n /**\n * A `function` child can be used instead of a React element. This function is\n * called with the current transition status (`'entering'`, `'entered'`,\n * `'exiting'`, `'exited'`), which can be used to apply context\n * specific props to a component.\n *\n * ```jsx\n * <Transition in={this.state.in} timeout={150}>\n * {state => (\n * <MyComponent className={`fade fade-${state}`} />\n * )}\n * </Transition>\n * ```\n */\n children: PropTypes.oneOfType([PropTypes.func.isRequired, PropTypes.element.isRequired]).isRequired,\n\n /**\n * Show the component; triggers the enter or exit states\n */\n in: PropTypes.bool,\n\n /**\n * By default the child component is mounted immediately along with\n * the parent `Transition` component. If you want to \"lazy mount\" the component on the\n * first `in={true}` you can set `mountOnEnter`. After the first enter transition the component will stay\n * mounted, even on \"exited\", unless you also specify `unmountOnExit`.\n */\n mountOnEnter: PropTypes.bool,\n\n /**\n * By default the child component stays mounted after it reaches the `'exited'` state.\n * Set `unmountOnExit` if you'd prefer to unmount the component after it finishes exiting.\n */\n unmountOnExit: PropTypes.bool,\n\n /**\n * By default the child component does not perform the enter transition when\n * it first mounts, regardless of the value of `in`. If you want this\n * behavior, set both `appear` and `in` to `true`.\n *\n * > **Note**: there are no special appear states like `appearing`/`appeared`, this prop\n * > only adds an additional enter transition. However, in the\n * > `<CSSTransition>` component that first enter transition does result in\n * > additional `.appear-*` classes, that way you can choose to style it\n * > differently.\n */\n appear: PropTypes.bool,\n\n /**\n * Enable or disable enter transitions.\n */\n enter: PropTypes.bool,\n\n /**\n * Enable or disable exit transitions.\n */\n exit: PropTypes.bool,\n\n /**\n * The duration of the transition, in milliseconds.\n * Required unless `addEndListener` is provided.\n *\n * You may specify a single timeout for all transitions:\n *\n * ```jsx\n * timeout={500}\n * ```\n *\n * or individually:\n *\n * ```jsx\n * timeout={{\n * appear: 500,\n * enter: 300,\n * exit: 500,\n * }}\n * ```\n *\n * - `appear` defaults to the value of `enter`\n * - `enter` defaults to `0`\n * - `exit` defaults to `0`\n *\n * @type {number | { enter?: number, exit?: number, appear?: number }}\n */\n timeout: function timeout(props) {\n var pt = timeoutsShape;\n if (!props.addEndListener) pt = pt.isRequired;\n\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n return pt.apply(void 0, [props].concat(args));\n },\n\n /**\n * Add a custom transition end trigger. Called with the transitioning\n * DOM node and a `done` callback. Allows for more fine grained transition end\n * logic. Timeouts are still used as a fallback if provided.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * ```jsx\n * addEndListener={(node, done) => {\n * // use the css transitionend event to mark the finish of a transition\n * node.addEventListener('transitionend', done, false);\n * }}\n * ```\n */\n addEndListener: PropTypes.func,\n\n /**\n * Callback fired before the \"entering\" status is applied. An extra parameter\n * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement, isAppearing: bool) -> void\n */\n onEnter: PropTypes.func,\n\n /**\n * Callback fired after the \"entering\" status is applied. An extra parameter\n * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement, isAppearing: bool)\n */\n onEntering: PropTypes.func,\n\n /**\n * Callback fired after the \"entered\" status is applied. An extra parameter\n * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement, isAppearing: bool) -> void\n */\n onEntered: PropTypes.func,\n\n /**\n * Callback fired before the \"exiting\" status is applied.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement) -> void\n */\n onExit: PropTypes.func,\n\n /**\n * Callback fired after the \"exiting\" status is applied.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement) -> void\n */\n onExiting: PropTypes.func,\n\n /**\n * Callback fired after the \"exited\" status is applied.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed\n *\n * @type Function(node: HtmlElement) -> void\n */\n onExited: PropTypes.func\n} : {}; // Name the function so it is clearer in the documentation\n\nfunction noop() {}\n\nTransition.defaultProps = {\n in: false,\n mountOnEnter: false,\n unmountOnExit: false,\n appear: false,\n enter: true,\n exit: true,\n onEnter: noop,\n onEntering: noop,\n onEntered: noop,\n onExit: noop,\n onExiting: noop,\n onExited: noop\n};\nTransition.UNMOUNTED = UNMOUNTED;\nTransition.EXITED = EXITED;\nTransition.ENTERING = ENTERING;\nTransition.ENTERED = ENTERED;\nTransition.EXITING = EXITING;\nexport default Transition;","import React from 'react';\nexport default React.createContext(null);","export default {\n disabled: false\n};","import PropTypes from 'prop-types';\nexport var timeoutsShape = process.env.NODE_ENV !== 'production' ? PropTypes.oneOfType([PropTypes.number, PropTypes.shape({\n enter: PropTypes.number,\n exit: PropTypes.number,\n appear: PropTypes.number\n}).isRequired]) : null;\nexport var classNamesShape = process.env.NODE_ENV !== 'production' ? PropTypes.oneOfType([PropTypes.string, PropTypes.shape({\n enter: PropTypes.string,\n exit: PropTypes.string,\n active: PropTypes.string\n}), PropTypes.shape({\n enter: PropTypes.string,\n enterDone: PropTypes.string,\n enterActive: PropTypes.string,\n exit: PropTypes.string,\n exitDone: PropTypes.string,\n exitActive: PropTypes.string\n})]) : null;","export var forceReflow = function forceReflow(node) {\n return node.scrollTop;\n};","/**\n * @license React\n * react-jsx-runtime.development.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nif (process.env.NODE_ENV !== \"production\") {\n (function() {\n'use strict';\n\nvar React = require('react');\n\n// ATTENTION\n// When adding new symbols to this file,\n// Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols'\n// The Symbol used to tag the ReactElement-like types.\nvar REACT_ELEMENT_TYPE = Symbol.for('react.element');\nvar REACT_PORTAL_TYPE = Symbol.for('react.portal');\nvar REACT_FRAGMENT_TYPE = Symbol.for('react.fragment');\nvar REACT_STRICT_MODE_TYPE = Symbol.for('react.strict_mode');\nvar REACT_PROFILER_TYPE = Symbol.for('react.profiler');\nvar REACT_PROVIDER_TYPE = Symbol.for('react.provider');\nvar REACT_CONTEXT_TYPE = Symbol.for('react.context');\nvar REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref');\nvar REACT_SUSPENSE_TYPE = Symbol.for('react.suspense');\nvar REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list');\nvar REACT_MEMO_TYPE = Symbol.for('react.memo');\nvar REACT_LAZY_TYPE = Symbol.for('react.lazy');\nvar REACT_OFFSCREEN_TYPE = Symbol.for('react.offscreen');\nvar MAYBE_ITERATOR_SYMBOL = Symbol.iterator;\nvar FAUX_ITERATOR_SYMBOL = '@@iterator';\nfunction getIteratorFn(maybeIterable) {\n if (maybeIterable === null || typeof maybeIterable !== 'object') {\n return null;\n }\n\n var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];\n\n if (typeof maybeIterator === 'function') {\n return maybeIterator;\n }\n\n return null;\n}\n\nvar ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;\n\nfunction error(format) {\n {\n {\n for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n args[_key2 - 1] = arguments[_key2];\n }\n\n printWarning('error', format, args);\n }\n }\n}\n\nfunction printWarning(level, format, args) {\n // When changing this logic, you might want to also\n // update consoleWithStackDev.www.js as well.\n {\n var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;\n var stack = ReactDebugCurrentFrame.getStackAddendum();\n\n if (stack !== '') {\n format += '%s';\n args = args.concat([stack]);\n } // eslint-disable-next-line react-internal/safe-string-coercion\n\n\n var argsWithFormat = args.map(function (item) {\n return String(item);\n }); // Careful: RN currently depends on this prefix\n\n argsWithFormat.unshift('Warning: ' + format); // We intentionally don't use spread (or .apply) directly because it\n // breaks IE9: https://github.com/facebook/react/issues/13610\n // eslint-disable-next-line react-internal/no-production-logging\n\n Function.prototype.apply.call(console[level], console, argsWithFormat);\n }\n}\n\n// -----------------------------------------------------------------------------\n\nvar enableScopeAPI = false; // Experimental Create Event Handle API.\nvar enableCacheElement = false;\nvar enableTransitionTracing = false; // No known bugs, but needs performance testing\n\nvar enableLegacyHidden = false; // Enables unstable_avoidThisFallback feature in Fiber\n// stuff. Intended to enable React core members to more easily debug scheduling\n// issues in DEV builds.\n\nvar enableDebugTracing = false; // Track which Fiber(s) schedule render work.\n\nvar REACT_MODULE_REFERENCE;\n\n{\n REACT_MODULE_REFERENCE = Symbol.for('react.module.reference');\n}\n\nfunction isValidElementType(type) {\n if (typeof type === 'string' || typeof type === 'function') {\n return true;\n } // Note: typeof might be other than 'symbol' or 'number' (e.g. if it's a polyfill).\n\n\n if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableCacheElement || enableTransitionTracing ) {\n return true;\n }\n\n if (typeof type === 'object' && type !== null) {\n if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || // This needs to include all possible module reference object\n // types supported by any Flight configuration anywhere since\n // we don't know which Flight build this will end up being used\n // with.\n type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== undefined) {\n return true;\n }\n }\n\n return false;\n}\n\nfunction getWrappedName(outerType, innerType, wrapperName) {\n var displayName = outerType.displayName;\n\n if (displayName) {\n return displayName;\n }\n\n var functionName = innerType.displayName || innerType.name || '';\n return functionName !== '' ? wrapperName + \"(\" + functionName + \")\" : wrapperName;\n} // Keep in sync with react-reconciler/getComponentNameFromFiber\n\n\nfunction getContextName(type) {\n return type.displayName || 'Context';\n} // Note that the reconciler package should generally prefer to use getComponentNameFromFiber() instead.\n\n\nfunction getComponentNameFromType(type) {\n if (type == null) {\n // Host root, text node or just invalid type.\n return null;\n }\n\n {\n if (typeof type.tag === 'number') {\n error('Received an unexpected object in getComponentNameFromType(). ' + 'This is likely a bug in React. Please file an issue.');\n }\n }\n\n if (typeof type === 'function') {\n return type.displayName || type.name || null;\n }\n\n if (typeof type === 'string') {\n return type;\n }\n\n switch (type) {\n case REACT_FRAGMENT_TYPE:\n return 'Fragment';\n\n case REACT_PORTAL_TYPE:\n return 'Portal';\n\n case REACT_PROFILER_TYPE:\n return 'Profiler';\n\n case REACT_STRICT_MODE_TYPE:\n return 'StrictMode';\n\n case REACT_SUSPENSE_TYPE:\n return 'Suspense';\n\n case REACT_SUSPENSE_LIST_TYPE:\n return 'SuspenseList';\n\n }\n\n if (typeof type === 'object') {\n switch (type.$$typeof) {\n case REACT_CONTEXT_TYPE:\n var context = type;\n return getContextName(context) + '.Consumer';\n\n case REACT_PROVIDER_TYPE:\n var provider = type;\n return getContextName(provider._context) + '.Provider';\n\n case REACT_FORWARD_REF_TYPE:\n return getWrappedName(type, type.render, 'ForwardRef');\n\n case REACT_MEMO_TYPE:\n var outerName = type.displayName || null;\n\n if (outerName !== null) {\n return outerName;\n }\n\n return getComponentNameFromType(type.type) || 'Memo';\n\n case REACT_LAZY_TYPE:\n {\n var lazyComponent = type;\n var payload = lazyComponent._payload;\n var init = lazyComponent._init;\n\n try {\n return getComponentNameFromType(init(payload));\n } catch (x) {\n return null;\n }\n }\n\n // eslint-disable-next-line no-fallthrough\n }\n }\n\n return null;\n}\n\nvar assign = Object.assign;\n\n// Helpers to patch console.logs to avoid logging during side-effect free\n// replaying on render function. This currently only patches the object\n// lazily which won't cover if the log function was extracted eagerly.\n// We could also eagerly patch the method.\nvar disabledDepth = 0;\nvar prevLog;\nvar prevInfo;\nvar prevWarn;\nvar prevError;\nvar prevGroup;\nvar prevGroupCollapsed;\nvar prevGroupEnd;\n\nfunction disabledLog() {}\n\ndisabledLog.__reactDisabledLog = true;\nfunction disableLogs() {\n {\n if (disabledDepth === 0) {\n /* eslint-disable react-internal/no-production-logging */\n prevLog = console.log;\n prevInfo = console.info;\n prevWarn = console.warn;\n prevError = console.error;\n prevGroup = console.group;\n prevGroupCollapsed = console.groupCollapsed;\n prevGroupEnd = console.groupEnd; // https://github.com/facebook/react/issues/19099\n\n var props = {\n configurable: true,\n enumerable: true,\n value: disabledLog,\n writable: true\n }; // $FlowFixMe Flow thinks console is immutable.\n\n Object.defineProperties(console, {\n info: props,\n log: props,\n warn: props,\n error: props,\n group: props,\n groupCollapsed: props,\n groupEnd: props\n });\n /* eslint-enable react-internal/no-production-logging */\n }\n\n disabledDepth++;\n }\n}\nfunction reenableLogs() {\n {\n disabledDepth--;\n\n if (disabledDepth === 0) {\n /* eslint-disable react-internal/no-production-logging */\n var props = {\n configurable: true,\n enumerable: true,\n writable: true\n }; // $FlowFixMe Flow thinks console is immutable.\n\n Object.defineProperties(console, {\n log: assign({}, props, {\n value: prevLog\n }),\n info: assign({}, props, {\n value: prevInfo\n }),\n warn: assign({}, props, {\n value: prevWarn\n }),\n error: assign({}, props, {\n value: prevError\n }),\n group: assign({}, props, {\n value: prevGroup\n }),\n groupCollapsed: assign({}, props, {\n value: prevGroupCollapsed\n }),\n groupEnd: assign({}, props, {\n value: prevGroupEnd\n })\n });\n /* eslint-enable react-internal/no-production-logging */\n }\n\n if (disabledDepth < 0) {\n error('disabledDepth fell below zero. ' + 'This is a bug in React. Please file an issue.');\n }\n }\n}\n\nvar ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher;\nvar prefix;\nfunction describeBuiltInComponentFrame(name, source, ownerFn) {\n {\n if (prefix === undefined) {\n // Extract the VM specific prefix used by each line.\n try {\n throw Error();\n } catch (x) {\n var match = x.stack.trim().match(/\\n( *(at )?)/);\n prefix = match && match[1] || '';\n }\n } // We use the prefix to ensure our stacks line up with native stack frames.\n\n\n return '\\n' + prefix + name;\n }\n}\nvar reentry = false;\nvar componentFrameCache;\n\n{\n var PossiblyWeakMap = typeof WeakMap === 'function' ? WeakMap : Map;\n componentFrameCache = new PossiblyWeakMap();\n}\n\nfunction describeNativeComponentFrame(fn, construct) {\n // If something asked for a stack inside a fake render, it should get ignored.\n if ( !fn || reentry) {\n return '';\n }\n\n {\n var frame = componentFrameCache.get(fn);\n\n if (frame !== undefined) {\n return frame;\n }\n }\n\n var control;\n reentry = true;\n var previousPrepareStackTrace = Error.prepareStackTrace; // $FlowFixMe It does accept undefined.\n\n Error.prepareStackTrace = undefined;\n var previousDispatcher;\n\n {\n previousDispatcher = ReactCurrentDispatcher.current; // Set the dispatcher in DEV because this might be call in the render function\n // for warnings.\n\n ReactCurrentDispatcher.current = null;\n disableLogs();\n }\n\n try {\n // This should throw.\n if (construct) {\n // Something should be setting the props in the constructor.\n var Fake = function () {\n throw Error();\n }; // $FlowFixMe\n\n\n Object.defineProperty(Fake.prototype, 'props', {\n set: function () {\n // We use a throwing setter instead of frozen or non-writable props\n // because that won't throw in a non-strict mode function.\n throw Error();\n }\n });\n\n if (typeof Reflect === 'object' && Reflect.construct) {\n // We construct a different control for this case to include any extra\n // frames added by the construct call.\n try {\n Reflect.construct(Fake, []);\n } catch (x) {\n control = x;\n }\n\n Reflect.construct(fn, [], Fake);\n } else {\n try {\n Fake.call();\n } catch (x) {\n control = x;\n }\n\n fn.call(Fake.prototype);\n }\n } else {\n try {\n throw Error();\n } catch (x) {\n control = x;\n }\n\n fn();\n }\n } catch (sample) {\n // This is inlined manually because closure doesn't do it for us.\n if (sample && control && typeof sample.stack === 'string') {\n // This extracts the first frame from the sample that isn't also in the control.\n // Skipping one frame that we assume is the frame that calls the two.\n var sampleLines = sample.stack.split('\\n');\n var controlLines = control.stack.split('\\n');\n var s = sampleLines.length - 1;\n var c = controlLines.length - 1;\n\n while (s >= 1 && c >= 0 && sampleLines[s] !== controlLines[c]) {\n // We expect at least one stack frame to be shared.\n // Typically this will be the root most one. However, stack frames may be\n // cut off due to maximum stack limits. In this case, one maybe cut off\n // earlier than the other. We assume that the sample is longer or the same\n // and there for cut off earlier. So we should find the root most frame in\n // the sample somewhere in the control.\n c--;\n }\n\n for (; s >= 1 && c >= 0; s--, c--) {\n // Next we find the first one that isn't the same which should be the\n // frame that called our sample function and the control.\n if (sampleLines[s] !== controlLines[c]) {\n // In V8, the first line is describing the message but other VMs don't.\n // If we're about to return the first line, and the control is also on the same\n // line, that's a pretty good indicator that our sample threw at same line as\n // the control. I.e. before we entered the sample frame. So we ignore this result.\n // This can happen if you passed a class to function component, or non-function.\n if (s !== 1 || c !== 1) {\n do {\n s--;\n c--; // We may still have similar intermediate frames from the construct call.\n // The next one that isn't the same should be our match though.\n\n if (c < 0 || sampleLines[s] !== controlLines[c]) {\n // V8 adds a \"new\" prefix for native classes. Let's remove it to make it prettier.\n var _frame = '\\n' + sampleLines[s].replace(' at new ', ' at '); // If our component frame is labeled \"<anonymous>\"\n // but we have a user-provided \"displayName\"\n // splice it in to make the stack more readable.\n\n\n if (fn.displayName && _frame.includes('<anonymous>')) {\n _frame = _frame.replace('<anonymous>', fn.displayName);\n }\n\n {\n if (typeof fn === 'function') {\n componentFrameCache.set(fn, _frame);\n }\n } // Return the line we found.\n\n\n return _frame;\n }\n } while (s >= 1 && c >= 0);\n }\n\n break;\n }\n }\n }\n } finally {\n reentry = false;\n\n {\n ReactCurrentDispatcher.current = previousDispatcher;\n reenableLogs();\n }\n\n Error.prepareStackTrace = previousPrepareStackTrace;\n } // Fallback to just using the name if we couldn't make it throw.\n\n\n var name = fn ? fn.displayName || fn.name : '';\n var syntheticFrame = name ? describeBuiltInComponentFrame(name) : '';\n\n {\n if (typeof fn === 'function') {\n componentFrameCache.set(fn, syntheticFrame);\n }\n }\n\n return syntheticFrame;\n}\nfunction describeFunctionComponentFrame(fn, source, ownerFn) {\n {\n return describeNativeComponentFrame(fn, false);\n }\n}\n\nfunction shouldConstruct(Component) {\n var prototype = Component.prototype;\n return !!(prototype && prototype.isReactComponent);\n}\n\nfunction describeUnknownElementTypeFrameInDEV(type, source, ownerFn) {\n\n if (type == null) {\n return '';\n }\n\n if (typeof type === 'function') {\n {\n return describeNativeComponentFrame(type, shouldConstruct(type));\n }\n }\n\n if (typeof type === 'string') {\n return describeBuiltInComponentFrame(type);\n }\n\n switch (type) {\n case REACT_SUSPENSE_TYPE:\n return describeBuiltInComponentFrame('Suspense');\n\n case REACT_SUSPENSE_LIST_TYPE:\n return describeBuiltInComponentFrame('SuspenseList');\n }\n\n if (typeof type === 'object') {\n switch (type.$$typeof) {\n case REACT_FORWARD_REF_TYPE:\n return describeFunctionComponentFrame(type.render);\n\n case REACT_MEMO_TYPE:\n // Memo may contain any component type so we recursively resolve it.\n return describeUnknownElementTypeFrameInDEV(type.type, source, ownerFn);\n\n case REACT_LAZY_TYPE:\n {\n var lazyComponent = type;\n var payload = lazyComponent._payload;\n var init = lazyComponent._init;\n\n try {\n // Lazy may contain any component type so we recursively resolve it.\n return describeUnknownElementTypeFrameInDEV(init(payload), source, ownerFn);\n } catch (x) {}\n }\n }\n }\n\n return '';\n}\n\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\n\nvar loggedTypeFailures = {};\nvar ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;\n\nfunction setCurrentlyValidatingElement(element) {\n {\n if (element) {\n var owner = element._owner;\n var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);\n ReactDebugCurrentFrame.setExtraStackFrame(stack);\n } else {\n ReactDebugCurrentFrame.setExtraStackFrame(null);\n }\n }\n}\n\nfunction checkPropTypes(typeSpecs, values, location, componentName, element) {\n {\n // $FlowFixMe This is okay but Flow doesn't know it.\n var has = Function.call.bind(hasOwnProperty);\n\n for (var typeSpecName in typeSpecs) {\n if (has(typeSpecs, typeSpecName)) {\n var error$1 = void 0; // Prop type validation may throw. In case they do, we don't want to\n // fail the render phase where it didn't fail before. So we log it.\n // After these have been cleaned up, we'll let them throw.\n\n try {\n // This is intentionally an invariant that gets caught. It's the same\n // behavior as without this statement except with a better message.\n if (typeof typeSpecs[typeSpecName] !== 'function') {\n // eslint-disable-next-line react-internal/prod-error-codes\n var err = Error((componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' + 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' + 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.');\n err.name = 'Invariant Violation';\n throw err;\n }\n\n error$1 = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED');\n } catch (ex) {\n error$1 = ex;\n }\n\n if (error$1 && !(error$1 instanceof Error)) {\n setCurrentlyValidatingElement(element);\n\n error('%s: type specification of %s' + ' `%s` is invalid; the type checker ' + 'function must return `null` or an `Error` but returned a %s. ' + 'You may have forgotten to pass an argument to the type checker ' + 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' + 'shape all require an argument).', componentName || 'React class', location, typeSpecName, typeof error$1);\n\n setCurrentlyValidatingElement(null);\n }\n\n if (error$1 instanceof Error && !(error$1.message in loggedTypeFailures)) {\n // Only monitor this failure once because there tends to be a lot of the\n // same error.\n loggedTypeFailures[error$1.message] = true;\n setCurrentlyValidatingElement(element);\n\n error('Failed %s type: %s', location, error$1.message);\n\n setCurrentlyValidatingElement(null);\n }\n }\n }\n }\n}\n\nvar isArrayImpl = Array.isArray; // eslint-disable-next-line no-redeclare\n\nfunction isArray(a) {\n return isArrayImpl(a);\n}\n\n/*\n * The `'' + value` pattern (used in in perf-sensitive code) throws for Symbol\n * and Temporal.* types. See https://github.com/facebook/react/pull/22064.\n *\n * The functions in this module will throw an easier-to-understand,\n * easier-to-debug exception with a clear errors message message explaining the\n * problem. (Instead of a confusing exception thrown inside the implementation\n * of the `value` object).\n */\n// $FlowFixMe only called in DEV, so void return is not possible.\nfunction typeName(value) {\n {\n // toStringTag is needed for namespaced types like Temporal.Instant\n var hasToStringTag = typeof Symbol === 'function' && Symbol.toStringTag;\n var type = hasToStringTag && value[Symbol.toStringTag] || value.constructor.name || 'Object';\n return type;\n }\n} // $FlowFixMe only called in DEV, so void return is not possible.\n\n\nfunction willCoercionThrow(value) {\n {\n try {\n testStringCoercion(value);\n return false;\n } catch (e) {\n return true;\n }\n }\n}\n\nfunction testStringCoercion(value) {\n // If you ended up here by following an exception call stack, here's what's\n // happened: you supplied an object or symbol value to React (as a prop, key,\n // DOM attribute, CSS property, string ref, etc.) and when React tried to\n // coerce it to a string using `'' + value`, an exception was thrown.\n //\n // The most common types that will cause this exception are `Symbol` instances\n // and Temporal objects like `Temporal.Instant`. But any object that has a\n // `valueOf` or `[Symbol.toPrimitive]` method that throws will also cause this\n // exception. (Library authors do this to prevent users from using built-in\n // numeric operators like `+` or comparison operators like `>=` because custom\n // methods are needed to perform accurate arithmetic or comparison.)\n //\n // To fix the problem, coerce this object or symbol value to a string before\n // passing it to React. The most reliable way is usually `String(value)`.\n //\n // To find which value is throwing, check the browser or debugger console.\n // Before this exception was thrown, there should be `console.error` output\n // that shows the type (Symbol, Temporal.PlainDate, etc.) that caused the\n // problem and how that type was used: key, atrribute, input value prop, etc.\n // In most cases, this console output also shows the component and its\n // ancestor components where the exception happened.\n //\n // eslint-disable-next-line react-internal/safe-string-coercion\n return '' + value;\n}\nfunction checkKeyStringCoercion(value) {\n {\n if (willCoercionThrow(value)) {\n error('The provided key is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', typeName(value));\n\n return testStringCoercion(value); // throw (to help callers find troubleshooting comments)\n }\n }\n}\n\nvar ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner;\nvar RESERVED_PROPS = {\n key: true,\n ref: true,\n __self: true,\n __source: true\n};\nvar specialPropKeyWarningShown;\nvar specialPropRefWarningShown;\nvar didWarnAboutStringRefs;\n\n{\n didWarnAboutStringRefs = {};\n}\n\nfunction hasValidRef(config) {\n {\n if (hasOwnProperty.call(config, 'ref')) {\n var getter = Object.getOwnPropertyDescriptor(config, 'ref').get;\n\n if (getter && getter.isReactWarning) {\n return false;\n }\n }\n }\n\n return config.ref !== undefined;\n}\n\nfunction hasValidKey(config) {\n {\n if (hasOwnProperty.call(config, 'key')) {\n var getter = Object.getOwnPropertyDescriptor(config, 'key').get;\n\n if (getter && getter.isReactWarning) {\n return false;\n }\n }\n }\n\n return config.key !== undefined;\n}\n\nfunction warnIfStringRefCannotBeAutoConverted(config, self) {\n {\n if (typeof config.ref === 'string' && ReactCurrentOwner.current && self && ReactCurrentOwner.current.stateNode !== self) {\n var componentName = getComponentNameFromType(ReactCurrentOwner.current.type);\n\n if (!didWarnAboutStringRefs[componentName]) {\n error('Component \"%s\" contains the string ref \"%s\". ' + 'Support for string refs will be removed in a future major release. ' + 'This case cannot be automatically converted to an arrow function. ' + 'We ask you to manually fix this case by using useRef() or createRef() instead. ' + 'Learn more about using refs safely here: ' + 'https://reactjs.org/link/strict-mode-string-ref', getComponentNameFromType(ReactCurrentOwner.current.type), config.ref);\n\n didWarnAboutStringRefs[componentName] = true;\n }\n }\n }\n}\n\nfunction defineKeyPropWarningGetter(props, displayName) {\n {\n var warnAboutAccessingKey = function () {\n if (!specialPropKeyWarningShown) {\n specialPropKeyWarningShown = true;\n\n error('%s: `key` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://reactjs.org/link/special-props)', displayName);\n }\n };\n\n warnAboutAccessingKey.isReactWarning = true;\n Object.defineProperty(props, 'key', {\n get: warnAboutAccessingKey,\n configurable: true\n });\n }\n}\n\nfunction defineRefPropWarningGetter(props, displayName) {\n {\n var warnAboutAccessingRef = function () {\n if (!specialPropRefWarningShown) {\n specialPropRefWarningShown = true;\n\n error('%s: `ref` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://reactjs.org/link/special-props)', displayName);\n }\n };\n\n warnAboutAccessingRef.isReactWarning = true;\n Object.defineProperty(props, 'ref', {\n get: warnAboutAccessingRef,\n configurable: true\n });\n }\n}\n/**\n * Factory method to create a new React element. This no longer adheres to\n * the class pattern, so do not use new to call it. Also, instanceof check\n * will not work. Instead test $$typeof field against Symbol.for('react.element') to check\n * if something is a React Element.\n *\n * @param {*} type\n * @param {*} props\n * @param {*} key\n * @param {string|object} ref\n * @param {*} owner\n * @param {*} self A *temporary* helper to detect places where `this` is\n * different from the `owner` when React.createElement is called, so that we\n * can warn. We want to get rid of owner and replace string `ref`s with arrow\n * functions, and as long as `this` and owner are the same, there will be no\n * change in behavior.\n * @param {*} source An annotation object (added by a transpiler or otherwise)\n * indicating filename, line number, and/or other information.\n * @internal\n */\n\n\nvar ReactElement = function (type, key, ref, self, source, owner, props) {\n var element = {\n // This tag allows us to uniquely identify this as a React Element\n $$typeof: REACT_ELEMENT_TYPE,\n // Built-in properties that belong on the element\n type: type,\n key: key,\n ref: ref,\n props: props,\n // Record the component responsible for creating this element.\n _owner: owner\n };\n\n {\n // The validation flag is currently mutative. We put it on\n // an external backing store so that we can freeze the whole object.\n // This can be replaced with a WeakMap once they are implemented in\n // commonly used development environments.\n element._store = {}; // To make comparing ReactElements easier for testing purposes, we make\n // the validation flag non-enumerable (where possible, which should\n // include every environment we run tests in), so the test framework\n // ignores it.\n\n Object.defineProperty(element._store, 'validated', {\n configurable: false,\n enumerable: false,\n writable: true,\n value: false\n }); // self and source are DEV only properties.\n\n Object.defineProperty(element, '_self', {\n configurable: false,\n enumerable: false,\n writable: false,\n value: self\n }); // Two elements created in two different places should be considered\n // equal for testing purposes and therefore we hide it from enumeration.\n\n Object.defineProperty(element, '_source', {\n configurable: false,\n enumerable: false,\n writable: false,\n value: source\n });\n\n if (Object.freeze) {\n Object.freeze(element.props);\n Object.freeze(element);\n }\n }\n\n return element;\n};\n/**\n * https://github.com/reactjs/rfcs/pull/107\n * @param {*} type\n * @param {object} props\n * @param {string} key\n */\n\nfunction jsxDEV(type, config, maybeKey, source, self) {\n {\n var propName; // Reserved names are extracted\n\n var props = {};\n var key = null;\n var ref = null; // Currently, key can be spread in as a prop. This causes a potential\n // issue if key is also explicitly declared (ie. <div {...props} key=\"Hi\" />\n // or <div key=\"Hi\" {...props} /> ). We want to deprecate key spread,\n // but as an intermediary step, we will use jsxDEV for everything except\n // <div {...props} key=\"Hi\" />, because we aren't currently able to tell if\n // key is explicitly declared to be undefined or not.\n\n if (maybeKey !== undefined) {\n {\n checkKeyStringCoercion(maybeKey);\n }\n\n key = '' + maybeKey;\n }\n\n if (hasValidKey(config)) {\n {\n checkKeyStringCoercion(config.key);\n }\n\n key = '' + config.key;\n }\n\n if (hasValidRef(config)) {\n ref = config.ref;\n warnIfStringRefCannotBeAutoConverted(config, self);\n } // Remaining properties are added to a new props object\n\n\n for (propName in config) {\n if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {\n props[propName] = config[propName];\n }\n } // Resolve default props\n\n\n if (type && type.defaultProps) {\n var defaultProps = type.defaultProps;\n\n for (propName in defaultProps) {\n if (props[propName] === undefined) {\n props[propName] = defaultProps[propName];\n }\n }\n }\n\n if (key || ref) {\n var displayName = typeof type === 'function' ? type.displayName || type.name || 'Unknown' : type;\n\n if (key) {\n defineKeyPropWarningGetter(props, displayName);\n }\n\n if (ref) {\n defineRefPropWarningGetter(props, displayName);\n }\n }\n\n return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props);\n }\n}\n\nvar ReactCurrentOwner$1 = ReactSharedInternals.ReactCurrentOwner;\nvar ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame;\n\nfunction setCurrentlyValidatingElement$1(element) {\n {\n if (element) {\n var owner = element._owner;\n var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);\n ReactDebugCurrentFrame$1.setExtraStackFrame(stack);\n } else {\n ReactDebugCurrentFrame$1.setExtraStackFrame(null);\n }\n }\n}\n\nvar propTypesMisspellWarningShown;\n\n{\n propTypesMisspellWarningShown = false;\n}\n/**\n * Verifies the object is a ReactElement.\n * See https://reactjs.org/docs/react-api.html#isvalidelement\n * @param {?object} object\n * @return {boolean} True if `object` is a ReactElement.\n * @final\n */\n\n\nfunction isValidElement(object) {\n {\n return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;\n }\n}\n\nfunction getDeclarationErrorAddendum() {\n {\n if (ReactCurrentOwner$1.current) {\n var name = getComponentNameFromType(ReactCurrentOwner$1.current.type);\n\n if (name) {\n return '\\n\\nCheck the render method of `' + name + '`.';\n }\n }\n\n return '';\n }\n}\n\nfunction getSourceInfoErrorAddendum(source) {\n {\n if (source !== undefined) {\n var fileName = source.fileName.replace(/^.*[\\\\\\/]/, '');\n var lineNumber = source.lineNumber;\n return '\\n\\nCheck your code at ' + fileName + ':' + lineNumber + '.';\n }\n\n return '';\n }\n}\n/**\n * Warn if there's no key explicitly set on dynamic arrays of children or\n * object keys are not valid. This allows us to keep track of children between\n * updates.\n */\n\n\nvar ownerHasKeyUseWarning = {};\n\nfunction getCurrentComponentErrorInfo(parentType) {\n {\n var info = getDeclarationErrorAddendum();\n\n if (!info) {\n var parentName = typeof parentType === 'string' ? parentType : parentType.displayName || parentType.name;\n\n if (parentName) {\n info = \"\\n\\nCheck the top-level render call using <\" + parentName + \">.\";\n }\n }\n\n return info;\n }\n}\n/**\n * Warn if the element doesn't have an explicit key assigned to it.\n * This element is in an array. The array could grow and shrink or be\n * reordered. All children that haven't already been validated are required to\n * have a \"key\" property assigned to it. Error statuses are cached so a warning\n * will only be shown once.\n *\n * @internal\n * @param {ReactElement} element Element that requires a key.\n * @param {*} parentType element's parent's type.\n */\n\n\nfunction validateExplicitKey(element, parentType) {\n {\n if (!element._store || element._store.validated || element.key != null) {\n return;\n }\n\n element._store.validated = true;\n var currentComponentErrorInfo = getCurrentComponentErrorInfo(parentType);\n\n if (ownerHasKeyUseWarning[currentComponentErrorInfo]) {\n return;\n }\n\n ownerHasKeyUseWarning[currentComponentErrorInfo] = true; // Usually the current owner is the offender, but if it accepts children as a\n // property, it may be the creator of the child that's responsible for\n // assigning it a key.\n\n var childOwner = '';\n\n if (element && element._owner && element._owner !== ReactCurrentOwner$1.current) {\n // Give the component that originally created this child.\n childOwner = \" It was passed a child from \" + getComponentNameFromType(element._owner.type) + \".\";\n }\n\n setCurrentlyValidatingElement$1(element);\n\n error('Each child in a list should have a unique \"key\" prop.' + '%s%s See https://reactjs.org/link/warning-keys for more information.', currentComponentErrorInfo, childOwner);\n\n setCurrentlyValidatingElement$1(null);\n }\n}\n/**\n * Ensure that every element either is passed in a static location, in an\n * array with an explicit keys property defined, or in an object literal\n * with valid key property.\n *\n * @internal\n * @param {ReactNode} node Statically passed child of any type.\n * @param {*} parentType node's parent's type.\n */\n\n\nfunction validateChildKeys(node, parentType) {\n {\n if (typeof node !== 'object') {\n return;\n }\n\n if (isArray(node)) {\n for (var i = 0; i < node.length; i++) {\n var child = node[i];\n\n if (isValidElement(child)) {\n validateExplicitKey(child, parentType);\n }\n }\n } else if (isValidElement(node)) {\n // This element was passed in a valid location.\n if (node._store) {\n node._store.validated = true;\n }\n } else if (node) {\n var iteratorFn = getIteratorFn(node);\n\n if (typeof iteratorFn === 'function') {\n // Entry iterators used to provide implicit keys,\n // but now we print a separate warning for them later.\n if (iteratorFn !== node.entries) {\n var iterator = iteratorFn.call(node);\n var step;\n\n while (!(step = iterator.next()).done) {\n if (isValidElement(step.value)) {\n validateExplicitKey(step.value, parentType);\n }\n }\n }\n }\n }\n }\n}\n/**\n * Given an element, validate that its props follow the propTypes definition,\n * provided by the type.\n *\n * @param {ReactElement} element\n */\n\n\nfunction validatePropTypes(element) {\n {\n var type = element.type;\n\n if (type === null || type === undefined || typeof type === 'string') {\n return;\n }\n\n var propTypes;\n\n if (typeof type === 'function') {\n propTypes = type.propTypes;\n } else if (typeof type === 'object' && (type.$$typeof === REACT_FORWARD_REF_TYPE || // Note: Memo only checks outer props here.\n // Inner props are checked in the reconciler.\n type.$$typeof === REACT_MEMO_TYPE)) {\n propTypes = type.propTypes;\n } else {\n return;\n }\n\n if (propTypes) {\n // Intentionally inside to avoid triggering lazy initializers:\n var name = getComponentNameFromType(type);\n checkPropTypes(propTypes, element.props, 'prop', name, element);\n } else if (type.PropTypes !== undefined && !propTypesMisspellWarningShown) {\n propTypesMisspellWarningShown = true; // Intentionally inside to avoid triggering lazy initializers:\n\n var _name = getComponentNameFromType(type);\n\n error('Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?', _name || 'Unknown');\n }\n\n if (typeof type.getDefaultProps === 'function' && !type.getDefaultProps.isReactClassApproved) {\n error('getDefaultProps is only used on classic React.createClass ' + 'definitions. Use a static property named `defaultProps` instead.');\n }\n }\n}\n/**\n * Given a fragment, validate that it can only be provided with fragment props\n * @param {ReactElement} fragment\n */\n\n\nfunction validateFragmentProps(fragment) {\n {\n var keys = Object.keys(fragment.props);\n\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n\n if (key !== 'children' && key !== 'key') {\n setCurrentlyValidatingElement$1(fragment);\n\n error('Invalid prop `%s` supplied to `React.Fragment`. ' + 'React.Fragment can only have `key` and `children` props.', key);\n\n setCurrentlyValidatingElement$1(null);\n break;\n }\n }\n\n if (fragment.ref !== null) {\n setCurrentlyValidatingElement$1(fragment);\n\n error('Invalid attribute `ref` supplied to `React.Fragment`.');\n\n setCurrentlyValidatingElement$1(null);\n }\n }\n}\n\nvar didWarnAboutKeySpread = {};\nfunction jsxWithValidation(type, props, key, isStaticChildren, source, self) {\n {\n var validType = isValidElementType(type); // We warn in this case but don't throw. We expect the element creation to\n // succeed and there will likely be errors in render.\n\n if (!validType) {\n var info = '';\n\n if (type === undefined || typeof type === 'object' && type !== null && Object.keys(type).length === 0) {\n info += ' You likely forgot to export your component from the file ' + \"it's defined in, or you might have mixed up default and named imports.\";\n }\n\n var sourceInfo = getSourceInfoErrorAddendum(source);\n\n if (sourceInfo) {\n info += sourceInfo;\n } else {\n info += getDeclarationErrorAddendum();\n }\n\n var typeString;\n\n if (type === null) {\n typeString = 'null';\n } else if (isArray(type)) {\n typeString = 'array';\n } else if (type !== undefined && type.$$typeof === REACT_ELEMENT_TYPE) {\n typeString = \"<\" + (getComponentNameFromType(type.type) || 'Unknown') + \" />\";\n info = ' Did you accidentally export a JSX literal instead of a component?';\n } else {\n typeString = typeof type;\n }\n\n error('React.jsx: type is invalid -- expected a string (for ' + 'built-in components) or a class/function (for composite ' + 'components) but got: %s.%s', typeString, info);\n }\n\n var element = jsxDEV(type, props, key, source, self); // The result can be nullish if a mock or a custom function is used.\n // TODO: Drop this when these are no longer allowed as the type argument.\n\n if (element == null) {\n return element;\n } // Skip key warning if the type isn't valid since our key validation logic\n // doesn't expect a non-string/function type and can throw confusing errors.\n // We don't want exception behavior to differ between dev and prod.\n // (Rendering will throw with a helpful message and as soon as the type is\n // fixed, the key warnings will appear.)\n\n\n if (validType) {\n var children = props.children;\n\n if (children !== undefined) {\n if (isStaticChildren) {\n if (isArray(children)) {\n for (var i = 0; i < children.length; i++) {\n validateChildKeys(children[i], type);\n }\n\n if (Object.freeze) {\n Object.freeze(children);\n }\n } else {\n error('React.jsx: Static children should always be an array. ' + 'You are likely explicitly calling React.jsxs or React.jsxDEV. ' + 'Use the Babel transform instead.');\n }\n } else {\n validateChildKeys(children, type);\n }\n }\n }\n\n {\n if (hasOwnProperty.call(props, 'key')) {\n var componentName = getComponentNameFromType(type);\n var keys = Object.keys(props).filter(function (k) {\n return k !== 'key';\n });\n var beforeExample = keys.length > 0 ? '{key: someKey, ' + keys.join(': ..., ') + ': ...}' : '{key: someKey}';\n\n if (!didWarnAboutKeySpread[componentName + beforeExample]) {\n var afterExample = keys.length > 0 ? '{' + keys.join(': ..., ') + ': ...}' : '{}';\n\n error('A props object containing a \"key\" prop is being spread into JSX:\\n' + ' let props = %s;\\n' + ' <%s {...props} />\\n' + 'React keys must be passed directly to JSX without using spread:\\n' + ' let props = %s;\\n' + ' <%s key={someKey} {...props} />', beforeExample, componentName, afterExample, componentName);\n\n didWarnAboutKeySpread[componentName + beforeExample] = true;\n }\n }\n }\n\n if (type === REACT_FRAGMENT_TYPE) {\n validateFragmentProps(element);\n } else {\n validatePropTypes(element);\n }\n\n return element;\n }\n} // These two functions exist to still get child warnings in dev\n// even with the prod transform. This means that jsxDEV is purely\n// opt-in behavior for better messages but that we won't stop\n// giving you warnings if you use production apis.\n\nfunction jsxWithValidationStatic(type, props, key) {\n {\n return jsxWithValidation(type, props, key, true);\n }\n}\nfunction jsxWithValidationDynamic(type, props, key) {\n {\n return jsxWithValidation(type, props, key, false);\n }\n}\n\nvar jsx = jsxWithValidationDynamic ; // we may want to special case jsxs internally to take advantage of static children.\n// for now we can ship identical prod functions\n\nvar jsxs = jsxWithValidationStatic ;\n\nexports.Fragment = REACT_FRAGMENT_TYPE;\nexports.jsx = jsx;\nexports.jsxs = jsxs;\n })();\n}\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.min.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar style_to_object_1 = __importDefault(require(\"style-to-object\"));\nvar utilities_1 = require(\"./utilities\");\n/**\n * Parses CSS inline style to JavaScript object (camelCased).\n */\nfunction StyleToJS(style, options) {\n var output = {};\n if (!style || typeof style !== 'string') {\n return output;\n }\n (0, style_to_object_1.default)(style, function (property, value) {\n // skip CSS comment\n if (property && value) {\n output[(0, utilities_1.camelCase)(property, options)] = value;\n }\n });\n return output;\n}\nexports.default = StyleToJS;\n//# sourceMappingURL=index.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.camelCase = void 0;\nvar CUSTOM_PROPERTY_REGEX = /^--[a-zA-Z0-9-]+$/;\nvar HYPHEN_REGEX = /-([a-z])/g;\nvar NO_HYPHEN_REGEX = /^[^-]+$/;\nvar VENDOR_PREFIX_REGEX = /^-(webkit|moz|ms|o|khtml)-/;\nvar MS_VENDOR_PREFIX_REGEX = /^-(ms)-/;\n/**\n * Checks whether to skip camelCase.\n */\nvar skipCamelCase = function (property) {\n return !property ||\n NO_HYPHEN_REGEX.test(property) ||\n CUSTOM_PROPERTY_REGEX.test(property);\n};\n/**\n * Replacer that capitalizes first character.\n */\nvar capitalize = function (match, character) {\n return character.toUpperCase();\n};\n/**\n * Replacer that removes beginning hyphen of vendor prefix property.\n */\nvar trimHyphen = function (match, prefix) { return \"\".concat(prefix, \"-\"); };\n/**\n * CamelCases a CSS property.\n */\nvar camelCase = function (property, options) {\n if (options === void 0) { options = {}; }\n if (skipCamelCase(property)) {\n return property;\n }\n property = property.toLowerCase();\n if (options.reactCompat) {\n // `-ms` vendor prefix should not be capitalized\n property = property.replace(MS_VENDOR_PREFIX_REGEX, trimHyphen);\n }\n else {\n // for non-React, remove first hyphen so vendor prefix is not capitalized\n property = property.replace(VENDOR_PREFIX_REGEX, trimHyphen);\n }\n return property.replace(HYPHEN_REGEX, capitalize);\n};\nexports.camelCase = camelCase;\n//# sourceMappingURL=utilities.js.map","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar inline_style_parser_1 = __importDefault(require(\"inline-style-parser\"));\n/**\n * Parses inline style to object.\n *\n * @param style - Inline style.\n * @param iterator - Iterator.\n * @returns - Style object or null.\n *\n * @example Parsing inline style to object:\n *\n * ```js\n * import parse from 'style-to-object';\n * parse('line-height: 42;'); // { 'line-height': '42' }\n * ```\n */\nfunction StyleToObject(style, iterator) {\n var styleObject = null;\n if (!style || typeof style !== 'string') {\n return styleObject;\n }\n var declarations = (0, inline_style_parser_1.default)(style);\n var hasIterator = typeof iterator === 'function';\n declarations.forEach(function (declaration) {\n if (declaration.type !== 'declaration') {\n return;\n }\n var property = declaration.property, value = declaration.value;\n if (hasIterator) {\n iterator(property, value, declaration);\n }\n else if (value) {\n styleObject = styleObject || {};\n styleObject[property] = value;\n }\n });\n return styleObject;\n}\nexports.default = StyleToObject;\n//# sourceMappingURL=index.js.map","/*!\n* tabbable 6.2.0\n* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE\n*/\n// NOTE: separate `:not()` selectors has broader browser support than the newer\n// `:not([inert], [inert] *)` (Feb 2023)\n// CAREFUL: JSDom does not support `:not([inert] *)` as a selector; using it causes\n// the entire query to fail, resulting in no nodes found, which will break a lot\n// of things... so we have to rely on JS to identify nodes inside an inert container\nvar candidateSelectors = ['input:not([inert])', 'select:not([inert])', 'textarea:not([inert])', 'a[href]:not([inert])', 'button:not([inert])', '[tabindex]:not(slot):not([inert])', 'audio[controls]:not([inert])', 'video[controls]:not([inert])', '[contenteditable]:not([contenteditable=\"false\"]):not([inert])', 'details>summary:first-of-type:not([inert])', 'details:not([inert])'];\nvar candidateSelector = /* #__PURE__ */candidateSelectors.join(',');\nvar NoElement = typeof Element === 'undefined';\nvar matches = NoElement ? function () {} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector;\nvar getRootNode = !NoElement && Element.prototype.getRootNode ? function (element) {\n var _element$getRootNode;\n return element === null || element === void 0 ? void 0 : (_element$getRootNode = element.getRootNode) === null || _element$getRootNode === void 0 ? void 0 : _element$getRootNode.call(element);\n} : function (element) {\n return element === null || element === void 0 ? void 0 : element.ownerDocument;\n};\n\n/**\n * Determines if a node is inert or in an inert ancestor.\n * @param {Element} [node]\n * @param {boolean} [lookUp] If true and `node` is not inert, looks up at ancestors to\n * see if any of them are inert. If false, only `node` itself is considered.\n * @returns {boolean} True if inert itself or by way of being in an inert ancestor.\n * False if `node` is falsy.\n */\nvar isInert = function isInert(node, lookUp) {\n var _node$getAttribute;\n if (lookUp === void 0) {\n lookUp = true;\n }\n // CAREFUL: JSDom does not support inert at all, so we can't use the `HTMLElement.inert`\n // JS API property; we have to check the attribute, which can either be empty or 'true';\n // if it's `null` (not specified) or 'false', it's an active element\n var inertAtt = node === null || node === void 0 ? void 0 : (_node$getAttribute = node.getAttribute) === null || _node$getAttribute === void 0 ? void 0 : _node$getAttribute.call(node, 'inert');\n var inert = inertAtt === '' || inertAtt === 'true';\n\n // NOTE: this could also be handled with `node.matches('[inert], :is([inert] *)')`\n // if it weren't for `matches()` not being a function on shadow roots; the following\n // code works for any kind of node\n // CAREFUL: JSDom does not appear to support certain selectors like `:not([inert] *)`\n // so it likely would not support `:is([inert] *)` either...\n var result = inert || lookUp && node && isInert(node.parentNode); // recursive\n\n return result;\n};\n\n/**\n * Determines if a node's content is editable.\n * @param {Element} [node]\n * @returns True if it's content-editable; false if it's not or `node` is falsy.\n */\nvar isContentEditable = function isContentEditable(node) {\n var _node$getAttribute2;\n // CAREFUL: JSDom does not support the `HTMLElement.isContentEditable` API so we have\n // to use the attribute directly to check for this, which can either be empty or 'true';\n // if it's `null` (not specified) or 'false', it's a non-editable element\n var attValue = node === null || node === void 0 ? void 0 : (_node$getAttribute2 = node.getAttribute) === null || _node$getAttribute2 === void 0 ? void 0 : _node$getAttribute2.call(node, 'contenteditable');\n return attValue === '' || attValue === 'true';\n};\n\n/**\n * @param {Element} el container to check in\n * @param {boolean} includeContainer add container to check\n * @param {(node: Element) => boolean} filter filter candidates\n * @returns {Element[]}\n */\nvar getCandidates = function getCandidates(el, includeContainer, filter) {\n // even if `includeContainer=false`, we still have to check it for inertness because\n // if it's inert, all its children are inert\n if (isInert(el)) {\n return [];\n }\n var candidates = Array.prototype.slice.apply(el.querySelectorAll(candidateSelector));\n if (includeContainer && matches.call(el, candidateSelector)) {\n candidates.unshift(el);\n }\n candidates = candidates.filter(filter);\n return candidates;\n};\n\n/**\n * @callback GetShadowRoot\n * @param {Element} element to check for shadow root\n * @returns {ShadowRoot|boolean} ShadowRoot if available or boolean indicating if a shadowRoot is attached but not available.\n */\n\n/**\n * @callback ShadowRootFilter\n * @param {Element} shadowHostNode the element which contains shadow content\n * @returns {boolean} true if a shadow root could potentially contain valid candidates.\n */\n\n/**\n * @typedef {Object} CandidateScope\n * @property {Element} scopeParent contains inner candidates\n * @property {Element[]} candidates list of candidates found in the scope parent\n */\n\n/**\n * @typedef {Object} IterativeOptions\n * @property {GetShadowRoot|boolean} getShadowRoot true if shadow support is enabled; falsy if not;\n * if a function, implies shadow support is enabled and either returns the shadow root of an element\n * or a boolean stating if it has an undisclosed shadow root\n * @property {(node: Element) => boolean} filter filter candidates\n * @property {boolean} flatten if true then result will flatten any CandidateScope into the returned list\n * @property {ShadowRootFilter} shadowRootFilter filter shadow roots;\n */\n\n/**\n * @param {Element[]} elements list of element containers to match candidates from\n * @param {boolean} includeContainer add container list to check\n * @param {IterativeOptions} options\n * @returns {Array.<Element|CandidateScope>}\n */\nvar getCandidatesIteratively = function getCandidatesIteratively(elements, includeContainer, options) {\n var candidates = [];\n var elementsToCheck = Array.from(elements);\n while (elementsToCheck.length) {\n var element = elementsToCheck.shift();\n if (isInert(element, false)) {\n // no need to look up since we're drilling down\n // anything inside this container will also be inert\n continue;\n }\n if (element.tagName === 'SLOT') {\n // add shadow dom slot scope (slot itself cannot be focusable)\n var assigned = element.assignedElements();\n var content = assigned.length ? assigned : element.children;\n var nestedCandidates = getCandidatesIteratively(content, true, options);\n if (options.flatten) {\n candidates.push.apply(candidates, nestedCandidates);\n } else {\n candidates.push({\n scopeParent: element,\n candidates: nestedCandidates\n });\n }\n } else {\n // check candidate element\n var validCandidate = matches.call(element, candidateSelector);\n if (validCandidate && options.filter(element) && (includeContainer || !elements.includes(element))) {\n candidates.push(element);\n }\n\n // iterate over shadow content if possible\n var shadowRoot = element.shadowRoot ||\n // check for an undisclosed shadow\n typeof options.getShadowRoot === 'function' && options.getShadowRoot(element);\n\n // no inert look up because we're already drilling down and checking for inertness\n // on the way down, so all containers to this root node should have already been\n // vetted as non-inert\n var validShadowRoot = !isInert(shadowRoot, false) && (!options.shadowRootFilter || options.shadowRootFilter(element));\n if (shadowRoot && validShadowRoot) {\n // add shadow dom scope IIF a shadow root node was given; otherwise, an undisclosed\n // shadow exists, so look at light dom children as fallback BUT create a scope for any\n // child candidates found because they're likely slotted elements (elements that are\n // children of the web component element (which has the shadow), in the light dom, but\n // slotted somewhere _inside_ the undisclosed shadow) -- the scope is created below,\n // _after_ we return from this recursive call\n var _nestedCandidates = getCandidatesIteratively(shadowRoot === true ? element.children : shadowRoot.children, true, options);\n if (options.flatten) {\n candidates.push.apply(candidates, _nestedCandidates);\n } else {\n candidates.push({\n scopeParent: element,\n candidates: _nestedCandidates\n });\n }\n } else {\n // there's not shadow so just dig into the element's (light dom) children\n // __without__ giving the element special scope treatment\n elementsToCheck.unshift.apply(elementsToCheck, element.children);\n }\n }\n }\n return candidates;\n};\n\n/**\n * @private\n * Determines if the node has an explicitly specified `tabindex` attribute.\n * @param {HTMLElement} node\n * @returns {boolean} True if so; false if not.\n */\nvar hasTabIndex = function hasTabIndex(node) {\n return !isNaN(parseInt(node.getAttribute('tabindex'), 10));\n};\n\n/**\n * Determine the tab index of a given node.\n * @param {HTMLElement} node\n * @returns {number} Tab order (negative, 0, or positive number).\n * @throws {Error} If `node` is falsy.\n */\nvar getTabIndex = function getTabIndex(node) {\n if (!node) {\n throw new Error('No node provided');\n }\n if (node.tabIndex < 0) {\n // in Chrome, <details/>, <audio controls/> and <video controls/> elements get a default\n // `tabIndex` of -1 when the 'tabindex' attribute isn't specified in the DOM,\n // yet they are still part of the regular tab order; in FF, they get a default\n // `tabIndex` of 0; since Chrome still puts those elements in the regular tab\n // order, consider their tab index to be 0.\n // Also browsers do not return `tabIndex` correctly for contentEditable nodes;\n // so if they don't have a tabindex attribute specifically set, assume it's 0.\n if ((/^(AUDIO|VIDEO|DETAILS)$/.test(node.tagName) || isContentEditable(node)) && !hasTabIndex(node)) {\n return 0;\n }\n }\n return node.tabIndex;\n};\n\n/**\n * Determine the tab index of a given node __for sort order purposes__.\n * @param {HTMLElement} node\n * @param {boolean} [isScope] True for a custom element with shadow root or slot that, by default,\n * has tabIndex -1, but needs to be sorted by document order in order for its content to be\n * inserted into the correct sort position.\n * @returns {number} Tab order (negative, 0, or positive number).\n */\nvar getSortOrderTabIndex = function getSortOrderTabIndex(node, isScope) {\n var tabIndex = getTabIndex(node);\n if (tabIndex < 0 && isScope && !hasTabIndex(node)) {\n return 0;\n }\n return tabIndex;\n};\nvar sortOrderedTabbables = function sortOrderedTabbables(a, b) {\n return a.tabIndex === b.tabIndex ? a.documentOrder - b.documentOrder : a.tabIndex - b.tabIndex;\n};\nvar isInput = function isInput(node) {\n return node.tagName === 'INPUT';\n};\nvar isHiddenInput = function isHiddenInput(node) {\n return isInput(node) && node.type === 'hidden';\n};\nvar isDetailsWithSummary = function isDetailsWithSummary(node) {\n var r = node.tagName === 'DETAILS' && Array.prototype.slice.apply(node.children).some(function (child) {\n return child.tagName === 'SUMMARY';\n });\n return r;\n};\nvar getCheckedRadio = function getCheckedRadio(nodes, form) {\n for (var i = 0; i < nodes.length; i++) {\n if (nodes[i].checked && nodes[i].form === form) {\n return nodes[i];\n }\n }\n};\nvar isTabbableRadio = function isTabbableRadio(node) {\n if (!node.name) {\n return true;\n }\n var radioScope = node.form || getRootNode(node);\n var queryRadios = function queryRadios(name) {\n return radioScope.querySelectorAll('input[type=\"radio\"][name=\"' + name + '\"]');\n };\n var radioSet;\n if (typeof window !== 'undefined' && typeof window.CSS !== 'undefined' && typeof window.CSS.escape === 'function') {\n radioSet = queryRadios(window.CSS.escape(node.name));\n } else {\n try {\n radioSet = queryRadios(node.name);\n } catch (err) {\n // eslint-disable-next-line no-console\n console.error('Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s', err.message);\n return false;\n }\n }\n var checked = getCheckedRadio(radioSet, node.form);\n return !checked || checked === node;\n};\nvar isRadio = function isRadio(node) {\n return isInput(node) && node.type === 'radio';\n};\nvar isNonTabbableRadio = function isNonTabbableRadio(node) {\n return isRadio(node) && !isTabbableRadio(node);\n};\n\n// determines if a node is ultimately attached to the window's document\nvar isNodeAttached = function isNodeAttached(node) {\n var _nodeRoot;\n // The root node is the shadow root if the node is in a shadow DOM; some document otherwise\n // (but NOT _the_ document; see second 'If' comment below for more).\n // If rootNode is shadow root, it'll have a host, which is the element to which the shadow\n // is attached, and the one we need to check if it's in the document or not (because the\n // shadow, and all nodes it contains, is never considered in the document since shadows\n // behave like self-contained DOMs; but if the shadow's HOST, which is part of the document,\n // is hidden, or is not in the document itself but is detached, it will affect the shadow's\n // visibility, including all the nodes it contains). The host could be any normal node,\n // or a custom element (i.e. web component). Either way, that's the one that is considered\n // part of the document, not the shadow root, nor any of its children (i.e. the node being\n // tested).\n // To further complicate things, we have to look all the way up until we find a shadow HOST\n // that is attached (or find none) because the node might be in nested shadows...\n // If rootNode is not a shadow root, it won't have a host, and so rootNode should be the\n // document (per the docs) and while it's a Document-type object, that document does not\n // appear to be the same as the node's `ownerDocument` for some reason, so it's safer\n // to ignore the rootNode at this point, and use `node.ownerDocument`. Otherwise,\n // using `rootNode.contains(node)` will _always_ be true we'll get false-positives when\n // node is actually detached.\n // NOTE: If `nodeRootHost` or `node` happens to be the `document` itself (which is possible\n // if a tabbable/focusable node was quickly added to the DOM, focused, and then removed\n // from the DOM as in https://github.com/focus-trap/focus-trap-react/issues/905), then\n // `ownerDocument` will be `null`, hence the optional chaining on it.\n var nodeRoot = node && getRootNode(node);\n var nodeRootHost = (_nodeRoot = nodeRoot) === null || _nodeRoot === void 0 ? void 0 : _nodeRoot.host;\n\n // in some cases, a detached node will return itself as the root instead of a document or\n // shadow root object, in which case, we shouldn't try to look further up the host chain\n var attached = false;\n if (nodeRoot && nodeRoot !== node) {\n var _nodeRootHost, _nodeRootHost$ownerDo, _node$ownerDocument;\n attached = !!((_nodeRootHost = nodeRootHost) !== null && _nodeRootHost !== void 0 && (_nodeRootHost$ownerDo = _nodeRootHost.ownerDocument) !== null && _nodeRootHost$ownerDo !== void 0 && _nodeRootHost$ownerDo.contains(nodeRootHost) || node !== null && node !== void 0 && (_node$ownerDocument = node.ownerDocument) !== null && _node$ownerDocument !== void 0 && _node$ownerDocument.contains(node));\n while (!attached && nodeRootHost) {\n var _nodeRoot2, _nodeRootHost2, _nodeRootHost2$ownerD;\n // since it's not attached and we have a root host, the node MUST be in a nested shadow DOM,\n // which means we need to get the host's host and check if that parent host is contained\n // in (i.e. attached to) the document\n nodeRoot = getRootNode(nodeRootHost);\n nodeRootHost = (_nodeRoot2 = nodeRoot) === null || _nodeRoot2 === void 0 ? void 0 : _nodeRoot2.host;\n attached = !!((_nodeRootHost2 = nodeRootHost) !== null && _nodeRootHost2 !== void 0 && (_nodeRootHost2$ownerD = _nodeRootHost2.ownerDocument) !== null && _nodeRootHost2$ownerD !== void 0 && _nodeRootHost2$ownerD.contains(nodeRootHost));\n }\n }\n return attached;\n};\nvar isZeroArea = function isZeroArea(node) {\n var _node$getBoundingClie = node.getBoundingClientRect(),\n width = _node$getBoundingClie.width,\n height = _node$getBoundingClie.height;\n return width === 0 && height === 0;\n};\nvar isHidden = function isHidden(node, _ref) {\n var displayCheck = _ref.displayCheck,\n getShadowRoot = _ref.getShadowRoot;\n // NOTE: visibility will be `undefined` if node is detached from the document\n // (see notes about this further down), which means we will consider it visible\n // (this is legacy behavior from a very long way back)\n // NOTE: we check this regardless of `displayCheck=\"none\"` because this is a\n // _visibility_ check, not a _display_ check\n if (getComputedStyle(node).visibility === 'hidden') {\n return true;\n }\n var isDirectSummary = matches.call(node, 'details>summary:first-of-type');\n var nodeUnderDetails = isDirectSummary ? node.parentElement : node;\n if (matches.call(nodeUnderDetails, 'details:not([open]) *')) {\n return true;\n }\n if (!displayCheck || displayCheck === 'full' || displayCheck === 'legacy-full') {\n if (typeof getShadowRoot === 'function') {\n // figure out if we should consider the node to be in an undisclosed shadow and use the\n // 'non-zero-area' fallback\n var originalNode = node;\n while (node) {\n var parentElement = node.parentElement;\n var rootNode = getRootNode(node);\n if (parentElement && !parentElement.shadowRoot && getShadowRoot(parentElement) === true // check if there's an undisclosed shadow\n ) {\n // node has an undisclosed shadow which means we can only treat it as a black box, so we\n // fall back to a non-zero-area test\n return isZeroArea(node);\n } else if (node.assignedSlot) {\n // iterate up slot\n node = node.assignedSlot;\n } else if (!parentElement && rootNode !== node.ownerDocument) {\n // cross shadow boundary\n node = rootNode.host;\n } else {\n // iterate up normal dom\n node = parentElement;\n }\n }\n node = originalNode;\n }\n // else, `getShadowRoot` might be true, but all that does is enable shadow DOM support\n // (i.e. it does not also presume that all nodes might have undisclosed shadows); or\n // it might be a falsy value, which means shadow DOM support is disabled\n\n // Since we didn't find it sitting in an undisclosed shadow (or shadows are disabled)\n // now we can just test to see if it would normally be visible or not, provided it's\n // attached to the main document.\n // NOTE: We must consider case where node is inside a shadow DOM and given directly to\n // `isTabbable()` or `isFocusable()` -- regardless of `getShadowRoot` option setting.\n\n if (isNodeAttached(node)) {\n // this works wherever the node is: if there's at least one client rect, it's\n // somehow displayed; it also covers the CSS 'display: contents' case where the\n // node itself is hidden in place of its contents; and there's no need to search\n // up the hierarchy either\n return !node.getClientRects().length;\n }\n\n // Else, the node isn't attached to the document, which means the `getClientRects()`\n // API will __always__ return zero rects (this can happen, for example, if React\n // is used to render nodes onto a detached tree, as confirmed in this thread:\n // https://github.com/facebook/react/issues/9117#issuecomment-284228870)\n //\n // It also means that even window.getComputedStyle(node).display will return `undefined`\n // because styles are only computed for nodes that are in the document.\n //\n // NOTE: THIS HAS BEEN THE CASE FOR YEARS. It is not new, nor is it caused by tabbable\n // somehow. Though it was never stated officially, anyone who has ever used tabbable\n // APIs on nodes in detached containers has actually implicitly used tabbable in what\n // was later (as of v5.2.0 on Apr 9, 2021) called `displayCheck=\"none\"` mode -- essentially\n // considering __everything__ to be visible because of the innability to determine styles.\n //\n // v6.0.0: As of this major release, the default 'full' option __no longer treats detached\n // nodes as visible with the 'none' fallback.__\n if (displayCheck !== 'legacy-full') {\n return true; // hidden\n }\n // else, fallback to 'none' mode and consider the node visible\n } else if (displayCheck === 'non-zero-area') {\n // NOTE: Even though this tests that the node's client rect is non-zero to determine\n // whether it's displayed, and that a detached node will __always__ have a zero-area\n // client rect, we don't special-case for whether the node is attached or not. In\n // this mode, we do want to consider nodes that have a zero area to be hidden at all\n // times, and that includes attached or not.\n return isZeroArea(node);\n }\n\n // visible, as far as we can tell, or per current `displayCheck=none` mode, we assume\n // it's visible\n return false;\n};\n\n// form fields (nested) inside a disabled fieldset are not focusable/tabbable\n// unless they are in the _first_ <legend> element of the top-most disabled\n// fieldset\nvar isDisabledFromFieldset = function isDisabledFromFieldset(node) {\n if (/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(node.tagName)) {\n var parentNode = node.parentElement;\n // check if `node` is contained in a disabled <fieldset>\n while (parentNode) {\n if (parentNode.tagName === 'FIELDSET' && parentNode.disabled) {\n // look for the first <legend> among the children of the disabled <fieldset>\n for (var i = 0; i < parentNode.children.length; i++) {\n var child = parentNode.children.item(i);\n // when the first <legend> (in document order) is found\n if (child.tagName === 'LEGEND') {\n // if its parent <fieldset> is not nested in another disabled <fieldset>,\n // return whether `node` is a descendant of its first <legend>\n return matches.call(parentNode, 'fieldset[disabled] *') ? true : !child.contains(node);\n }\n }\n // the disabled <fieldset> containing `node` has no <legend>\n return true;\n }\n parentNode = parentNode.parentElement;\n }\n }\n\n // else, node's tabbable/focusable state should not be affected by a fieldset's\n // enabled/disabled state\n return false;\n};\nvar isNodeMatchingSelectorFocusable = function isNodeMatchingSelectorFocusable(options, node) {\n if (node.disabled ||\n // we must do an inert look up to filter out any elements inside an inert ancestor\n // because we're limited in the type of selectors we can use in JSDom (see related\n // note related to `candidateSelectors`)\n isInert(node) || isHiddenInput(node) || isHidden(node, options) ||\n // For a details element with a summary, the summary element gets the focus\n isDetailsWithSummary(node) || isDisabledFromFieldset(node)) {\n return false;\n }\n return true;\n};\nvar isNodeMatchingSelectorTabbable = function isNodeMatchingSelectorTabbable(options, node) {\n if (isNonTabbableRadio(node) || getTabIndex(node) < 0 || !isNodeMatchingSelectorFocusable(options, node)) {\n return false;\n }\n return true;\n};\nvar isValidShadowRootTabbable = function isValidShadowRootTabbable(shadowHostNode) {\n var tabIndex = parseInt(shadowHostNode.getAttribute('tabindex'), 10);\n if (isNaN(tabIndex) || tabIndex >= 0) {\n return true;\n }\n // If a custom element has an explicit negative tabindex,\n // browsers will not allow tab targeting said element's children.\n return false;\n};\n\n/**\n * @param {Array.<Element|CandidateScope>} candidates\n * @returns Element[]\n */\nvar sortByOrder = function sortByOrder(candidates) {\n var regularTabbables = [];\n var orderedTabbables = [];\n candidates.forEach(function (item, i) {\n var isScope = !!item.scopeParent;\n var element = isScope ? item.scopeParent : item;\n var candidateTabindex = getSortOrderTabIndex(element, isScope);\n var elements = isScope ? sortByOrder(item.candidates) : element;\n if (candidateTabindex === 0) {\n isScope ? regularTabbables.push.apply(regularTabbables, elements) : regularTabbables.push(element);\n } else {\n orderedTabbables.push({\n documentOrder: i,\n tabIndex: candidateTabindex,\n item: item,\n isScope: isScope,\n content: elements\n });\n }\n });\n return orderedTabbables.sort(sortOrderedTabbables).reduce(function (acc, sortable) {\n sortable.isScope ? acc.push.apply(acc, sortable.content) : acc.push(sortable.content);\n return acc;\n }, []).concat(regularTabbables);\n};\nvar tabbable = function tabbable(container, options) {\n options = options || {};\n var candidates;\n if (options.getShadowRoot) {\n candidates = getCandidatesIteratively([container], options.includeContainer, {\n filter: isNodeMatchingSelectorTabbable.bind(null, options),\n flatten: false,\n getShadowRoot: options.getShadowRoot,\n shadowRootFilter: isValidShadowRootTabbable\n });\n } else {\n candidates = getCandidates(container, options.includeContainer, isNodeMatchingSelectorTabbable.bind(null, options));\n }\n return sortByOrder(candidates);\n};\nvar focusable = function focusable(container, options) {\n options = options || {};\n var candidates;\n if (options.getShadowRoot) {\n candidates = getCandidatesIteratively([container], options.includeContainer, {\n filter: isNodeMatchingSelectorFocusable.bind(null, options),\n flatten: true,\n getShadowRoot: options.getShadowRoot\n });\n } else {\n candidates = getCandidates(container, options.includeContainer, isNodeMatchingSelectorFocusable.bind(null, options));\n }\n return candidates;\n};\nvar isTabbable = function isTabbable(node, options) {\n options = options || {};\n if (!node) {\n throw new Error('No node provided');\n }\n if (matches.call(node, candidateSelector) === false) {\n return false;\n }\n return isNodeMatchingSelectorTabbable(options, node);\n};\nvar focusableCandidateSelector = /* #__PURE__ */candidateSelectors.concat('iframe').join(',');\nvar isFocusable = function isFocusable(node, options) {\n options = options || {};\n if (!node) {\n throw new Error('No node provided');\n }\n if (matches.call(node, focusableCandidateSelector) === false) {\n return false;\n }\n return isNodeMatchingSelectorFocusable(options, node);\n};\n\nexport { focusable, getTabIndex, isFocusable, isTabbable, tabbable };\n//# sourceMappingURL=index.esm.js.map\n","export const ENVIRONMENTS = {\n DEVELOPMENT: 'development',\n TESTING: 'testing',\n PRODUCTION: 'production',\n};\n\nexport const isDevelopment = () => process.env.NODE_ENV === ENVIRONMENTS.DEVELOPMENT;\nexport const isTesting = () => process.env.NODE_ENV === ENVIRONMENTS.TESTING;\nexport const isProduction = () => process.env.NODE_ENV === ENVIRONMENTS.PRODUCTION;\n","import { isProduction } from '../constants/environments';\n\nconst warning = (condition: unknown, message: string): void => {\n // don't do anything in production\n // wrapping in production check for better dead code elimination\n if (!isProduction()) {\n // condition passed: do not log\n if (condition) {\n return;\n }\n\n // Condition not passed\n const text = `Warning: ${message}`;\n\n if (typeof console !== 'undefined') {\n // eslint-disable-next-line no-console -- we want to log a warning; so usage of Console is required\n console.warn(text);\n }\n\n // Throwing an error and catching it immediately\n // to improve debugging\n // A consumer can use 'pause on caught exceptions'\n // https://github.com/facebook/react/issues/4216\n try {\n throw Error(text);\n } catch (x) {\n // empty\n }\n }\n};\n\nexport default warning;\n","'use client';\n\nimport React from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type AccordionProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { AccordionProvider } from './AccordionContext';\nimport { useAccordionStyleProps } from './useAccordionStyleProps';\n\nconst Accordion = (props: AccordionProps) => {\n const { children, elementType: ElementTag = 'section', open, toggle, ...restProps } = props;\n\n const { classProps } = useAccordionStyleProps();\n const { styleProps, props: transferProps } = useStyleProps(restProps);\n const mergedStyleProps = mergeStyleProps(ElementTag, { classProps: classProps.root, styleProps });\n\n const contextValue = {\n open,\n toggle,\n };\n\n return (\n <ElementTag {...transferProps} {...mergedStyleProps}>\n <AccordionProvider value={contextValue}>{children}</AccordionProvider>\n </ElementTag>\n );\n};\n\nAccordion.spiritComponent = 'Accordion';\n\nexport default Accordion;\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type AccordionContentProps } from '../../types';\nimport { Collapse } from '../Collapse';\nimport { useAccordionItemContext } from './AccordionItemContext';\nimport { useAccordionAriaProps } from './useAccordionAriaProps';\nimport { useAccordionStyleProps } from './useAccordionStyleProps';\nimport { useOpenItem } from './useOpenItem';\n\nconst AccordionContent = ({ children, ...restProps }: AccordionContentProps) => {\n const { classProps } = useAccordionStyleProps();\n const { id } = useAccordionItemContext();\n const { styleProps, props: transferProps } = useStyleProps(restProps);\n const { isOpen } = useOpenItem(id);\n const { contentProps } = useAccordionAriaProps({ id, isOpen });\n\n return (\n <Collapse isOpen={isOpen} {...contentProps}>\n <div {...transferProps} {...styleProps} className={classNames(classProps.content, styleProps.className)}>\n {children}\n </div>\n </Collapse>\n );\n};\n\nAccordionContent.spiritComponent = 'AccordionContent';\n\nexport default AccordionContent;\n","'use client';\n\nimport { createContext, useContext } from 'react';\nimport { type AccordionHandlingProps } from '../../types';\n\nconst defaultContext: AccordionHandlingProps = {\n open: undefined,\n toggle: () => null,\n};\n\nconst AccordionContext = createContext<AccordionHandlingProps>(defaultContext);\nconst AccordionProvider = AccordionContext.Provider;\nconst AccordionConsumer = AccordionContext.Consumer;\nconst useAccordionContext = (): AccordionHandlingProps => useContext(AccordionContext);\n\nexport default AccordionContext;\nexport { AccordionProvider, AccordionConsumer, useAccordionContext };\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type AccordionHeaderProps } from '../../types';\nimport { Icon } from '../Icon';\nimport { useAccordionContext } from './AccordionContext';\nimport { useAccordionItemContext } from './AccordionItemContext';\nimport { useAccordionAriaProps } from './useAccordionAriaProps';\nimport { useAccordionStyleProps } from './useAccordionStyleProps';\nimport { useOpenItem } from './useOpenItem';\n\nconst AccordionHeader = ({ children, slot, ...restProps }: AccordionHeaderProps) => {\n const { classProps } = useAccordionStyleProps();\n const { toggle } = useAccordionContext();\n const { id } = useAccordionItemContext();\n const { styleProps, props: transferProps } = useStyleProps(restProps);\n const { isOpen } = useOpenItem(id);\n const { triggerProps, headerProps } = useAccordionAriaProps({ id, isOpen });\n\n const itemToggle = () => {\n if (toggle && id) {\n toggle(id);\n }\n };\n\n return (\n <h3\n {...transferProps}\n {...styleProps}\n {...headerProps}\n className={classNames(classProps.header, styleProps.className)}\n >\n <button type=\"button\" className={classProps.toggle} onClick={itemToggle} {...triggerProps}>\n {children}\n </button>\n <span className={classProps.side}>\n {slot && <span className={classProps.slot}>{slot}</span>}\n <span className={classProps.icon}>\n <Icon name=\"chevron-down\" />\n </span>\n </span>\n </h3>\n );\n};\n\nAccordionHeader.spiritComponent = 'AccordionHeader';\n\nexport default AccordionHeader;\n","'use client';\n\nimport React from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type AccordionItemProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { AccordionItemProvider } from './AccordionItemContext';\nimport { useAccordionStyleProps } from './useAccordionStyleProps';\n\nconst AccordionItem = (props: AccordionItemProps) => {\n const { children, elementType: ElementTag = 'article', id, ...restProps } = props;\n\n const { classProps } = useAccordionStyleProps();\n const { styleProps, props: transferProps } = useStyleProps(restProps);\n const mergedStyleProps = mergeStyleProps(ElementTag, { classProps: classProps.item, styleProps });\n\n const contextValue = { id };\n\n return (\n <ElementTag {...transferProps} id={id} {...mergedStyleProps}>\n <AccordionItemProvider value={contextValue}>{children}</AccordionItemProvider>\n </ElementTag>\n );\n};\n\nAccordionItem.spiritComponent = 'AccordionItem';\n\nexport default AccordionItem;\n","'use client';\n\nimport { createContext, useContext } from 'react';\nimport { type AccordionItemContextProps } from '../../types';\n\nconst defaultContext: AccordionItemContextProps = {\n id: '',\n};\n\nconst AccordionItemContext = createContext(defaultContext);\nconst AccordionItemProvider = AccordionItemContext.Provider;\nconst AccordionItemConsumer = AccordionItemContext.Consumer;\nconst useAccordionItemContext = (): AccordionItemContextProps => useContext(AccordionItemContext);\n\nexport default AccordionItemContext;\nexport { AccordionItemProvider, AccordionItemConsumer, useAccordionItemContext };\n","'use client';\n\nimport React from 'react';\nimport { type UncontrolledAccordionProps } from '../../types';\nimport Accordion from './Accordion';\nimport { useAccordion } from './useAccordion';\n\nconst UncontrolledAccordion = (props: UncontrolledAccordionProps) => {\n const { defaultOpen, stayOpen, ...restProps } = props;\n\n const { open, toggle } = useAccordion({ defaultOpen, stayOpen });\n\n return <Accordion open={open} toggle={toggle} {...restProps} />;\n};\n\nUncontrolledAccordion.spiritComponent = 'UncontrolledAccordion';\n\nexport default UncontrolledAccordion;\n","export * from './useAccordion';\nexport * from './useAccordionAriaProps';\nexport * from './useAccordionStyleProps';\nexport * from './useOpenItem';\nexport { default as Accordion } from './Accordion';\nexport { default as AccordionItem } from './AccordionItem';\nexport { default as AccordionHeader } from './AccordionHeader';\nexport { default as AccordionContent } from './AccordionContent';\nexport { default as AccordionContext } from './AccordionContext';\nexport { default as AccordionItemContext } from './AccordionItemContext';\nexport { default as UncontrolledAccordion } from './UncontrolledAccordion';\n","'use client';\n\nimport { useState } from 'react';\nimport { type AccordionHandlingProps, type AccordionOpenStateType, type UncontrolledAccordionProps } from '../../types';\n\nexport const useAccordion = ({ defaultOpen, stayOpen }: UncontrolledAccordionProps): AccordionHandlingProps => {\n const [open, setOpen] = useState<AccordionOpenStateType>(defaultOpen);\n\n const toggle = (id: string) => {\n if (stayOpen) {\n if (Array.isArray(open)) {\n if (open?.includes(id)) {\n setOpen(open.filter((accordionId) => accordionId !== id));\n } else {\n setOpen([...open, id]);\n }\n } else {\n setOpen([id]);\n }\n } else if (open === id) {\n setOpen(undefined);\n } else {\n setOpen(id);\n }\n };\n\n return {\n open,\n toggle,\n };\n};\n","import { type Booleanish } from '../../types';\n\nconst NAME_ARIA_EXPANDED = 'aria-expanded';\nconst NAME_ARIA_CONTROLS = 'aria-controls';\nconst NAME_ARIA_LABELEDBY = 'aria-labelledby';\n\nexport interface AccordionAriaProps {\n /** AccordionItem ID */\n id: string | undefined;\n /** open state */\n isOpen: boolean;\n}\n\nexport interface AccordionAriaPropsReturn {\n /** item header returned props */\n headerProps: {\n id: string;\n };\n /** item header trigger returned props */\n triggerProps: {\n [NAME_ARIA_EXPANDED]: Booleanish;\n [NAME_ARIA_CONTROLS]: string;\n };\n /** item content returned props */\n contentProps: {\n id: string;\n [NAME_ARIA_LABELEDBY]: string;\n };\n}\n\nexport const useAccordionAriaProps = ({ id, isOpen }: AccordionAriaProps): AccordionAriaPropsReturn => {\n const headerId = `${id}_Header`;\n const contentId = `${id}_Content`;\n\n const headerProps = {\n id: headerId,\n };\n const triggerProps = {\n [NAME_ARIA_EXPANDED]: isOpen,\n [NAME_ARIA_CONTROLS]: contentId,\n };\n const contentProps = {\n id: contentId,\n [NAME_ARIA_LABELEDBY]: headerId,\n };\n\n return {\n headerProps,\n triggerProps,\n contentProps,\n };\n};\n","import { useClassNamePrefix } from '../../hooks';\n\nexport interface AccordionStyleReturn {\n /** className props */\n classProps: {\n root: string;\n item: string;\n header: string;\n toggle: string;\n side: string;\n slot: string;\n icon: string;\n content: string;\n };\n}\n\nexport const useAccordionStyleProps = (): AccordionStyleReturn => {\n const accordionClass = useClassNamePrefix('Accordion');\n const accordionItemClass = `${accordionClass}__item`;\n const accordionItemHeaderClass = `${accordionClass}__itemHeader`;\n const accordionItemToggleClass = `${accordionClass}__itemToggle`;\n const accordionItemSideClass = `${accordionClass}__itemSide`;\n const accordionItemSlotClass = `${accordionClass}__itemSlot`;\n const accordionItemIconClass = `${accordionClass}__itemIcon`;\n const accordionItemContentClass = `${accordionClass}__content`;\n\n return {\n classProps: {\n root: accordionClass,\n item: accordionItemClass,\n header: accordionItemHeaderClass,\n toggle: accordionItemToggleClass,\n side: accordionItemSideClass,\n slot: accordionItemSlotClass,\n icon: accordionItemIconClass,\n content: accordionItemContentClass,\n },\n };\n};\n","import { useAccordionContext } from './AccordionContext';\n\nexport const useOpenItem = (\n id: string | undefined,\n): {\n isOpen: boolean;\n} => {\n const { open } = useAccordionContext();\n\n const isOpen = (iid: string | undefined): boolean => {\n if (iid) {\n return !!(iid === open || open?.includes(iid));\n }\n\n return false;\n };\n\n return {\n isOpen: isOpen(id),\n };\n};\n","'use client';\n\nimport React, { type ReactElement } from 'react';\nimport { AlignmentXExtended, DirectionExtended } from '../../constants';\nimport { type SpiritActionGroupProps } from '../../types';\nimport { Flex } from '../Flex';\n\nconst defaultProps: Partial<SpiritActionGroupProps> = {\n alignmentX: {\n mobile: AlignmentXExtended.STRETCH,\n tablet: AlignmentXExtended.LEFT,\n },\n direction: {\n mobile: DirectionExtended.VERTICAL,\n tablet: DirectionExtended.HORIZONTAL,\n },\n};\n\nconst ActionGroup = (props: SpiritActionGroupProps): ReactElement => {\n const { children, ...restProps } = props;\n const propsWithDefaults = { ...defaultProps, ...restProps };\n\n return <Flex {...propsWithDefaults}>{children}</Flex>;\n};\n\nActionGroup.spiritComponent = 'ActionGroup';\n\nexport default ActionGroup;\n","export { default as ActionGroup } from './ActionGroup';\n","'use client';\n\nimport React, { type ElementType } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritAlertProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { Icon } from '../Icon';\nimport { useAlertIcon } from './useAlertIcon';\nimport { useAlertStyleProps } from './useAlertStyleProps';\n\nconst defaultProps: Partial<SpiritAlertProps> = {\n color: 'success',\n isCentered: false,\n};\n\nexport const Alert = <T extends ElementType = 'div', E = void>(props: SpiritAlertProps<T, E>) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { elementType: ElementTag = 'div', children, color, iconName, ...restProps } = propsWithDefaults;\n const { classProps, props: modifiedProps } = useAlertStyleProps({ color, ...restProps });\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n const mergedStyleProps = mergeStyleProps(ElementTag, { classProps, styleProps, otherProps });\n const alertIconName = useAlertIcon({ color, iconName, ...otherProps });\n\n return (\n <ElementTag {...otherProps} {...mergedStyleProps}>\n <Icon name={alertIconName} />\n <div>{children}</div>\n </ElementTag>\n );\n};\n\nAlert.spiritComponent = 'Alert';\n\nexport default Alert;\n","export * from './useAlertStyleProps';\nexport { default as Alert } from './Alert';\n","import { type ElementType } from 'react';\nimport { useIconName } from '../../hooks/useIconName';\nimport { type SpiritAlertProps } from '../../types';\n\nexport function useAlertIcon<T extends ElementType = 'div', E = void>({ color, iconName }: SpiritAlertProps<T, E>) {\n const iconNameValue = useIconName(color as string, {\n default: 'info',\n success: 'check-plain',\n informative: 'info',\n warning: 'warning',\n danger: 'danger',\n });\n\n return iconName || iconNameValue;\n}\n","import classNames from 'classnames';\nimport { type ElementType } from 'react';\nimport { useClassNamePrefix } from '../../hooks';\nimport { type AlertProps, type SpiritAlertProps } from '../../types';\n\nexport interface AlertStyles {\n /** className props */\n classProps: string;\n /** props to be passed to the element */\n props: AlertProps;\n}\n\nexport function useAlertStyleProps<T extends ElementType = 'div', E = void>(\n props: SpiritAlertProps<T, E>,\n): AlertStyles {\n const { color, isCentered, ...modifiedProps } = props;\n\n const alertClass = useClassNamePrefix('Alert');\n const alertColorClass = `${alertClass}--${color}`;\n const alertCenteredClass = `${alertClass}--center`;\n const classProps = classNames(alertClass, {\n [alertColorClass]: color,\n [alertCenteredClass]: isCentered,\n });\n\n return {\n classProps,\n props: modifiedProps,\n };\n}\n","'use client';\n\nimport React, { type ElementType, type ForwardedRef, forwardRef } from 'react';\nimport { SizesExtended } from '../../constants';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritAvatarProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { useAvatarStyleProps } from './useAvatarStyleProps';\n\nconst defaultProps: Partial<SpiritAvatarProps> = {\n elementType: 'div',\n isSquare: false,\n size: SizesExtended.MEDIUM,\n};\n\n/* We need an exception for components exported with forwardRef */\n/* eslint no-underscore-dangle: ['error', { allow: ['_Avatar'] }] */\nconst _Avatar = <T extends ElementType = 'div', S = void>(\n props: SpiritAvatarProps<T, S>,\n ref: ForwardedRef<HTMLDivElement>,\n) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { elementType: ElementTag = 'div', children, ...restProps } = propsWithDefaults;\n const { classProps, props: modifiedProps } = useAvatarStyleProps(restProps);\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n const mergedStyleProps = mergeStyleProps(ElementTag, { classProps, styleProps });\n\n return (\n <ElementTag {...otherProps} {...mergedStyleProps} ref={ref}>\n {children}\n </ElementTag>\n );\n};\n\nconst Avatar = forwardRef<HTMLDivElement, SpiritAvatarProps<ElementType>>(_Avatar);\n\nexport default Avatar;\n","export { default as Avatar } from './Avatar';\nexport * from './useAvatarStyleProps';\n","import classNames from 'classnames';\nimport { type ElementType } from 'react';\nimport { useClassNamePrefix } from '../../hooks';\nimport { type AvatarSize, type SpiritAvatarProps } from '../../types';\nimport { applySize, compose } from '../../utils';\n\nexport interface AvatarStyles<E extends ElementType = ElementType, S = void> {\n /** className props */\n classProps: string;\n /** props to be passed to the element */\n props: SpiritAvatarProps<E, S>;\n}\n\nconst getAvatarSizeClassname = <S = void>(className: string, size: AvatarSize<S>): string =>\n compose(applySize<AvatarSize<S>>(size))(className);\n\nexport function useAvatarStyleProps<E extends ElementType = ElementType, S = void>(\n props: SpiritAvatarProps<E, S>,\n): AvatarStyles<E, S> {\n const { isSquare, size, ...restProps } = props;\n\n const avatarClass = useClassNamePrefix('Avatar');\n const avatarSquareClass = `${avatarClass}--square`;\n\n const classProps = classNames(avatarClass, getAvatarSizeClassname(avatarClass, size as AvatarSize<S>), {\n [avatarSquareClass]: isSquare,\n });\n\n return {\n classProps,\n props: restProps,\n };\n}\n","'use client';\n\nimport React, { type ElementType } from 'react';\nimport { BackgroundStyleProps, BorderRadiusStyleProps, BorderStyles, PaddingStyleProps } from '../../constants';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritBoxProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { useBoxStyleProps } from './useBoxStyleProps';\n\nconst defaultProps: Partial<SpiritBoxProps> = {\n elementType: 'div',\n borderStyle: BorderStyles.SOLID,\n};\n\nconst Box = <T extends ElementType = 'div'>(props: SpiritBoxProps<T>) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { elementType: ElementTag = 'div', children, ...restProps } = propsWithDefaults;\n\n const { classProps, props: modifiedProps } = useBoxStyleProps(restProps);\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps, {\n ...BackgroundStyleProps,\n ...BorderRadiusStyleProps,\n ...PaddingStyleProps,\n });\n const mergedStyleProps = mergeStyleProps(ElementTag, { classProps, styleProps });\n\n return (\n <ElementTag {...otherProps} {...mergedStyleProps}>\n {children}\n </ElementTag>\n );\n};\n\nBox.spiritComponent = 'Box';\n\nexport default Box;\n","export { default as Box } from './Box';\nexport * from './useBoxStyleProps';\n","import classNames from 'classnames';\nimport { type ElementType } from 'react';\nimport { BorderColors } from '../../constants';\nimport { useClassNamePrefix } from '../../hooks';\nimport { type SpiritBoxProps } from '../../types';\n\nexport interface UseBoxStyleProps<T> {\n /** className props */\n classProps: string;\n /** Props for the box element. */\n props: T;\n}\n\nexport const useBoxStyleProps = (\n props: Partial<SpiritBoxProps<ElementType>>,\n): UseBoxStyleProps<Partial<SpiritBoxProps<ElementType>>> => {\n const { backgroundColor, borderColor, borderStyle, borderWidth, textColor, ...restProps } = props || {};\n const boxBackgroundClassName = useClassNamePrefix(`bg-${backgroundColor}`);\n const boxBorderClassName = useClassNamePrefix('border-');\n\n const boxBackgroundColor = backgroundColor ? boxBackgroundClassName : '';\n let boxBorderColor = borderColor ? borderColor.replace('', boxBorderClassName) : '';\n let boxBorderStyle = '';\n const boxBorderWidth = borderWidth ? borderWidth.replace('', boxBorderClassName) : '';\n\n const boxTextColorClass = useClassNamePrefix(textColor ? `text-${textColor}` : '');\n\n if (borderWidth && parseInt(borderWidth, 10) > 0) {\n boxBorderStyle = `${boxBorderClassName}${borderStyle}`;\n if (!borderColor) {\n boxBorderColor = `${boxBorderClassName}${BorderColors.BASIC}`;\n }\n }\n\n const boxClasses = classNames(boxBackgroundColor, boxBorderColor, boxBorderStyle, boxBorderWidth, {\n [boxTextColorClass]: !!textColor,\n });\n\n return {\n classProps: boxClasses,\n props: restProps,\n };\n};\n","'use client';\n\nimport React, { type ElementType, Fragment } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritBreadcrumbsProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport BreadcrumbsItem from './BreadcrumbsItem';\nimport { useBreadcrumbsStyleProps } from './useBreadcrumbsStyleProps';\n\nconst defaultProps: Partial<SpiritBreadcrumbsProps> = {\n elementType: 'nav',\n items: [],\n};\n\nconst Breadcrumbs = <T extends ElementType = 'nav'>(props: SpiritBreadcrumbsProps<T>): JSX.Element => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { children, elementType: ElementTag = 'nav', goBackTitle, items, ...restProps } = propsWithDefaults;\n const { classProps, props: modifiedProps } = useBreadcrumbsStyleProps({ ...restProps });\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n const mergedStyleProps = mergeStyleProps(ElementTag, { classProps: classProps.root, styleProps });\n\n const isLast = (index: number, itemsCount: number) => index === itemsCount - 1;\n\n return (\n <ElementTag {...otherProps} {...mergedStyleProps} aria-label=\"Breadcrumb\">\n <ol>\n {children ||\n items?.map((item, index) => (\n <Fragment key={`BreadcrumbsItem_${item.title}`}>\n {index === items.length - 2 && goBackTitle && (\n <BreadcrumbsItem href={item.url || undefined} isGoBackOnly>\n {goBackTitle}\n </BreadcrumbsItem>\n )}\n <BreadcrumbsItem href={item.url || undefined} isCurrent={isLast(index, items?.length)}>\n {item.title}\n </BreadcrumbsItem>\n </Fragment>\n ))}\n </ol>\n </ElementTag>\n );\n};\n\nBreadcrumbs.spiritComponent = 'Breadcrumbs';\n\nexport default Breadcrumbs;\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritBreadcrumbsItemProps } from '../../types';\nimport { Icon } from '../Icon';\nimport { Link } from '../Link';\nimport { useBreadcrumbsStyleProps } from './useBreadcrumbsStyleProps';\n\nconst defaultProps = {\n iconNameEnd: 'chevron-right',\n iconNameStart: 'chevron-left',\n isCurrent: false,\n isGoBackOnly: false,\n};\n\nconst BreadcrumbsItem = (props: SpiritBreadcrumbsItemProps) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { children, href, isCurrent, iconNameStart, iconNameEnd, ...restProps } = propsWithDefaults;\n const { classProps, props: otherProps } = useBreadcrumbsStyleProps({ ...restProps });\n const { styleProps, props: transferProps } = useStyleProps(otherProps);\n\n return (\n <li {...transferProps} {...styleProps} className={classNames(classProps.item, styleProps.className)}>\n {restProps.isGoBackOnly && iconNameStart && <Icon name={iconNameStart} />}\n {!href && isCurrent ? (\n children\n ) : (\n <Link\n href={href}\n color={isCurrent ? 'secondary' : 'primary'}\n underlined={isCurrent ? 'hover' : 'always'}\n aria-current={isCurrent ? 'page' : undefined}\n >\n {children}\n </Link>\n )}\n {!isCurrent && !restProps.isGoBackOnly && iconNameEnd && <Icon name={iconNameEnd} />}\n </li>\n );\n};\n\nBreadcrumbsItem.spiritComponent = 'BreadcrumbsItem';\n\nexport default BreadcrumbsItem;\n","export { default as Breadcrumbs } from './Breadcrumbs';\nexport { default as BreadcrumbsItem } from './BreadcrumbsItem';\nexport * from './useBreadcrumbsStyleProps';\n","import classNames from 'classnames';\nimport { useClassNamePrefix } from '../../hooks/useClassNamePrefix';\nimport { type BreadcrumbsStyleProps } from '../../types';\n\nexport interface BreadcrumbsStyles {\n /** className props */\n classProps: {\n root: string;\n item: string;\n };\n /** props to be passed to the element */\n props: BreadcrumbsStyleProps;\n}\n\nexport function useBreadcrumbsStyleProps<P extends BreadcrumbsStyleProps>(props: P): BreadcrumbsStyles {\n const { isGoBackOnly, ...restProps } = props;\n const breadcrumbsClass = useClassNamePrefix('Breadcrumbs');\n const displayNoneClassName = useClassNamePrefix('d-none');\n const displayTabletFlexClassName = useClassNamePrefix('d-tablet-flex');\n const displayTabletNoneClassName = useClassNamePrefix('d-tablet-none');\n\n return {\n classProps: {\n root: breadcrumbsClass,\n item: classNames({\n [displayNoneClassName]: !isGoBackOnly,\n [displayTabletFlexClassName]: !isGoBackOnly,\n [displayTabletNoneClassName]: isGoBackOnly,\n }),\n },\n props: restProps,\n };\n}\n","'use client';\n\nimport React, { type ElementType, type ForwardedRef, forwardRef } from 'react';\nimport { usePropsContext } from '../../context';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritButtonProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { Spinner } from '../Spinner';\nimport { useButtonProps } from './useButtonProps';\nimport { useButtonStyleProps } from './useButtonStyleProps';\n\nconst defaultProps: Partial<SpiritButtonProps> = {\n color: 'primary',\n /**\n * @deprecated \"isBlock\" property will be removed in the next major version. Please read component's README for more information.\n * @see https://jira.almacareer.tech/browse/DS-1897\n */\n isBlock: false,\n isDisabled: false,\n isLoading: false,\n isSymmetrical: false,\n size: 'medium',\n type: 'button',\n elementType: 'button',\n};\n\n/* We need an exception for components exported with forwardRef */\n/* eslint no-underscore-dangle: ['error', { allow: ['_Button'] }] */\nconst _Button = <T extends ElementType = 'button', C = void, S = void>(\n props: SpiritButtonProps<T, C, S>,\n ref: ForwardedRef<HTMLButtonElement>,\n) => {\n const propsWithContext = usePropsContext();\n const propsWithDefaults = { ...defaultProps, ...props, ...propsWithContext };\n const {\n elementType: ElementTag = defaultProps.elementType as ElementType,\n children,\n ...restProps\n } = propsWithDefaults;\n\n const { buttonProps } = useButtonProps(restProps);\n const { classProps, props: modifiedProps } = useButtonStyleProps(restProps);\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n const mergedStyleProps = mergeStyleProps(ElementTag, { classProps, styleProps, otherProps });\n\n return (\n <ElementTag {...otherProps} {...buttonProps} ref={ref} {...mergedStyleProps}>\n {children}\n {restProps.isLoading && <Spinner />}\n </ElementTag>\n );\n};\n\nconst Button = forwardRef<HTMLButtonElement, SpiritButtonProps<ElementType>>(_Button);\n\nButton.spiritComponent = 'Button';\n\nexport default Button;\n","export * from './useButtonProps';\nexport * from './useButtonStyleProps';\nexport { default as Button } from './Button';\n\n// Export ButtonLink here for backwards compatibility\n// ButtonLink is NOT exported from packages/web-react/src/components/index.ts\n// ButtonLink will be removed in a future release and Button should be used instead\n// [web-react: Polymorfní Button](https://jira.lmc.cz/browse/DS-978)\nexport * from '../ButtonLink/useButtonLinkProps';\nexport * from '../ButtonLink/useButtonLinkStyleProps';\nexport { default as ButtonLink } from '../ButtonLink/ButtonLink';\n","import { useClick } from '../../hooks';\nimport { type SpiritButtonProps } from '../../types';\n\nexport type UseButtonProps = Partial<SpiritButtonProps>;\nexport type UseButtonReturn = {\n buttonProps: UseButtonProps;\n};\n\nexport const useButtonProps = (props: UseButtonProps): UseButtonReturn => {\n const { isDisabled, isLoading, onClick, type = 'button' } = props;\n const handleClick = useClick(isDisabled, onClick);\n\n const additionalProps = {\n type,\n disabled: isDisabled || isLoading,\n };\n\n return {\n buttonProps: {\n ...additionalProps,\n onClick: handleClick,\n },\n };\n};\n","import classNames from 'classnames';\nimport { type ElementType } from 'react';\nimport { warning } from '../../common/utilities';\nimport { useClassNamePrefix, useDeprecationMessage } from '../../hooks';\nimport { type ButtonColor, type ButtonSize, type SpiritButtonProps } from '../../types';\nimport { applyColor, applySize } from '../../utils/classname';\nimport { compose } from '../../utils/compose';\n\n// `${componentClassName}--${color}`;\nconst getButtonColorClassname = <C = void>(className: string, color: ButtonColor<C>): string =>\n compose(applyColor<ButtonColor<C>>(color))(className);\n\nconst getButtonSizeClassname = <S = void>(className: string, size: ButtonSize<S>): string =>\n compose(applySize<ButtonSize<S>>(size))(className);\n\nexport interface ButtonStyles {\n /** className props */\n classProps: string;\n /** Props for the button element */\n props: SpiritButtonProps;\n}\n\nexport function useButtonStyleProps<T extends ElementType = 'button', C = void, S = void>(\n props: SpiritButtonProps<T, C, S>,\n): ButtonStyles {\n const { color, isBlock, isDisabled, isLoading, isSymmetrical, size, ...restProps } = props;\n\n // @see https://jira.almacareer.tech/browse/DS-1897\n useDeprecationMessage({\n method: 'custom',\n trigger: !!isBlock,\n componentName: 'Button',\n customText:\n \"The `isBlock` property will be deleted in the next major release. Please read component's documentation for more information.\",\n });\n\n const buttonClass = useClassNamePrefix('Button');\n const buttonBlockClass = `${buttonClass}--block`;\n const buttonDisabledClass = `${buttonClass}--disabled`;\n const buttonLoadingClass = `${buttonClass}--loading`;\n const buttonSymmetricalClass = `${buttonClass}--symmetrical`;\n\n if (isBlock && isSymmetrical) {\n warning(false, 'isBlock and isSymmetrical props are mutually exclusive');\n }\n\n const classProps = classNames(\n buttonClass,\n getButtonColorClassname(buttonClass, color as ButtonColor<C>),\n getButtonSizeClassname(buttonClass, size as ButtonSize<S>),\n {\n [buttonBlockClass]: isBlock && !isSymmetrical,\n [buttonDisabledClass]: isDisabled || isLoading,\n [buttonLoadingClass]: isLoading,\n [buttonSymmetricalClass]: isSymmetrical && !isBlock,\n },\n );\n\n return {\n classProps,\n props: restProps,\n };\n}\n","'use client';\n\nimport React, { type ElementType, type ForwardedRef, forwardRef } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritButtonLinkProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { Spinner } from '../Spinner';\nimport { useButtonLinkProps } from './useButtonLinkProps';\nimport { useButtonLinkStyleProps } from './useButtonLinkStyleProps';\n\nconst defaultProps: Partial<SpiritButtonLinkProps> = {\n color: 'primary',\n elementType: 'a',\n /**\n * @deprecated \"isBlock\" property will be removed in the next major version. Please read component's README for more information.\n * @see https://jira.almacareer.tech/browse/DS-1897\n */\n isBlock: false,\n isDisabled: false,\n isLoading: false,\n isSymmetrical: false,\n size: 'medium',\n};\n\n/* We need an exception for components exported with forwardRef */\n/* eslint no-underscore-dangle: ['error', { allow: ['_ButtonLink'] }] */\nconst _ButtonLink = <T extends ElementType = 'a', C = void, S = void>(\n props: SpiritButtonLinkProps<T, C, S>,\n ref: ForwardedRef<HTMLAnchorElement>,\n) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const {\n elementType: ElementTag = defaultProps.elementType as ElementType,\n children,\n ...restProps\n } = propsWithDefaults;\n\n const { buttonLinkProps } = useButtonLinkProps(propsWithDefaults);\n const { classProps, props: modifiedProps } = useButtonLinkStyleProps(restProps);\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n const mergedStyleProps = mergeStyleProps(ElementTag, { classProps, styleProps, otherProps });\n\n return (\n <ElementTag {...otherProps} {...buttonLinkProps} {...mergedStyleProps} ref={ref}>\n {children}\n {restProps.isLoading && <Spinner />}\n </ElementTag>\n );\n};\n\nconst ButtonLink = forwardRef<HTMLAnchorElement, SpiritButtonLinkProps<ElementType>>(_ButtonLink);\n\nButtonLink.spiritComponent = 'ButtonLink';\n\nexport default ButtonLink;\n","import { useClick } from '../../hooks';\nimport { type SpiritButtonLinkProps } from '../../types';\n\nexport type UseButtonLinkProps = Partial<SpiritButtonLinkProps>;\nexport type UseButtonLinkReturn = {\n buttonLinkProps: UseButtonLinkProps;\n};\n\nexport const useButtonLinkProps = (props: UseButtonLinkProps): UseButtonLinkReturn => {\n const { elementType, isDisabled, isLoading, onClick, href, target, rel } = props;\n const handleClick = useClick(isDisabled, onClick);\n\n const additionalProps = {\n role: 'button',\n href: elementType === 'a' && isDisabled ? undefined : href,\n target: elementType === 'a' ? target : undefined,\n disabled: isDisabled || isLoading,\n rel: elementType === 'a' ? rel : undefined,\n };\n\n return {\n buttonLinkProps: {\n ...additionalProps,\n onClick: handleClick,\n },\n };\n};\n","import classNames from 'classnames';\nimport { type ElementType } from 'react';\nimport { warning } from '../../common/utilities';\nimport { useClassNamePrefix, useDeprecationMessage } from '../../hooks';\nimport { type ButtonColor, type ButtonSize, type SpiritButtonProps } from '../../types';\nimport { applyColor, applySize } from '../../utils/classname';\nimport { compose } from '../../utils/compose';\n\n// `${componentClassName}--${color}`;\nconst getButtonLinkColorClassname = <C = void>(className: string, color: ButtonColor<C>): string =>\n compose(applyColor<ButtonColor<C>>(color))(className);\n\nconst getButtonLinkSizeClassname = <S = void>(className: string, size: ButtonSize<S>): string =>\n compose(applySize<ButtonSize<S>>(size))(className);\n\nexport interface ButtonLinkStyles {\n /** className props */\n classProps: string;\n /** Props for the button element */\n props: SpiritButtonProps;\n}\n\nexport function useButtonLinkStyleProps<T extends ElementType = 'button', C = void, S = void>(\n props: SpiritButtonProps<T, C, S>,\n): ButtonLinkStyles {\n const { color, isBlock, isDisabled, isLoading, isSymmetrical, size, ...restProps } = props;\n\n // @see https://jira.almacareer.tech/browse/DS-1897\n useDeprecationMessage({\n method: 'custom',\n trigger: !!isBlock,\n componentName: 'ButtonLink',\n customText:\n \"The `isBlock` property will be deleted in the next major release. Please read component's documentation for more information.\",\n });\n\n const buttonClass = useClassNamePrefix('Button');\n const buttonBlockClass = `${buttonClass}--block`;\n const buttonDisabledClass = `${buttonClass}--disabled`;\n const buttonLoadingClass = `${buttonClass}--loading`;\n const buttonSymmetricalClass = `${buttonClass}--symmetrical`;\n\n if (isBlock && isSymmetrical) {\n warning(false, 'isBlock and isSymmetrical props are mutually exclusive');\n }\n\n const classProps = classNames(\n buttonClass,\n getButtonLinkColorClassname(buttonClass, color as ButtonColor<C>),\n getButtonLinkSizeClassname(buttonClass, size as ButtonSize<S>),\n {\n [buttonBlockClass]: isBlock && !isSymmetrical,\n [buttonDisabledClass]: isDisabled || isLoading,\n [buttonLoadingClass]: isLoading,\n [buttonSymmetricalClass]: isSymmetrical && !isBlock,\n },\n );\n\n return {\n classProps,\n props: restProps,\n };\n}\n","'use client';\n\nimport React, { type ElementType } from 'react';\nimport { DirectionExtended } from '../../constants';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritCardProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { useCardStyleProps } from './useCardStyleProps';\n\nconst defaultProps: Partial<SpiritCardProps> = {\n direction: DirectionExtended.VERTICAL,\n elementType: 'article',\n isBoxed: false,\n};\n\nconst Card = <T extends ElementType = 'article'>(props: SpiritCardProps<T>) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { elementType: ElementTag = 'article', direction, isBoxed, children, ...restProps } = propsWithDefaults;\n const { classProps } = useCardStyleProps({ direction, isBoxed });\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n const mergedStyleProps = mergeStyleProps(ElementTag, { classProps: classProps.root, styleProps, otherProps });\n\n return (\n <ElementTag {...otherProps} {...mergedStyleProps}>\n {children}\n </ElementTag>\n );\n};\n\nCard.spiritComponent = 'Card';\n\nexport default Card;\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { AlignmentX } from '../../constants';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritCardArtworkProps } from '../../types';\nimport { useCardStyleProps } from './useCardStyleProps';\n\nconst defaultProps: Partial<SpiritCardArtworkProps> = {\n alignmentX: AlignmentX.LEFT,\n};\n\nconst CardArtwork = (props: SpiritCardArtworkProps) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { children, alignmentX, ...restProps } = propsWithDefaults;\n const { classProps } = useCardStyleProps({ artworkAlignmentX: alignmentX });\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n\n return (\n <div {...otherProps} className={classNames(classProps.artwork, styleProps.className)} style={styleProps.style}>\n {children}\n </div>\n );\n};\n\nCardArtwork.spiritComponent = 'CardArtwork';\n\nexport default CardArtwork;\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritCardBodyProps } from '../../types';\nimport { useCardStyleProps } from './useCardStyleProps';\n\nconst defaultProps: Partial<SpiritCardBodyProps> = {\n isSelectable: false,\n};\n\nconst CardBody = (props: SpiritCardBodyProps) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { children, isSelectable, ...restProps } = propsWithDefaults;\n const { classProps } = useCardStyleProps({ isSelectable });\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n\n return (\n <div {...otherProps} className={classNames(classProps.body, styleProps.className)} style={styleProps.style}>\n {children}\n </div>\n );\n};\n\nCardBody.spiritComponent = 'CardBody';\n\nexport default CardBody;\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritCardEyebrowProps } from '../../types';\nimport { useCardStyleProps } from './useCardStyleProps';\n\nconst CardEyebrow = (props: SpiritCardEyebrowProps) => {\n const { children, ...restProps } = props;\n const { classProps } = useCardStyleProps();\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n\n return (\n <div {...otherProps} className={classNames(classProps.eyebrow, styleProps.className)} style={styleProps.style}>\n {children}\n </div>\n );\n};\n\nCardEyebrow.spiritComponent = 'CardEyebrow';\n\nexport default CardEyebrow;\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { AlignmentX } from '../../constants';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritCardFooterProps } from '../../types';\nimport { useCardStyleProps } from './useCardStyleProps';\n\nconst defaultProps: Partial<SpiritCardFooterProps> = {\n alignmentX: AlignmentX.LEFT,\n};\n\nconst CardFooter = (props: SpiritCardFooterProps) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { children, alignmentX, ...restProps } = propsWithDefaults;\n const { classProps } = useCardStyleProps({ footerAlignmentX: alignmentX });\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n\n return (\n <footer {...otherProps} className={classNames(classProps.footer, styleProps.className)} style={styleProps.style}>\n {children}\n </footer>\n );\n};\n\nCardFooter.spiritComponent = 'CardFooter';\n\nexport default CardFooter;\n","'use client';\n\nimport React, { type ElementType, forwardRef } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type PolymorphicRef, type SpiritCardLinkProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { useCardStyleProps } from './useCardStyleProps';\n\nconst defaultProps: Partial<SpiritCardLinkProps> = {\n elementType: 'a',\n};\n\n/* We need an exception for components exported with forwardRef */\n/* eslint no-underscore-dangle: ['error', { allow: ['_CardLink'] }] */\nconst _CardLink = <E extends ElementType = 'a'>(props: SpiritCardLinkProps<E>, ref: PolymorphicRef<E>): JSX.Element => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const {\n elementType: ElementTag = defaultProps.elementType as ElementType,\n children,\n href,\n ...restProps\n } = propsWithDefaults;\n const { classProps } = useCardStyleProps();\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n const mergedStyleProps = mergeStyleProps(ElementTag, { classProps: classProps.link, styleProps, otherProps });\n\n return (\n <ElementTag {...otherProps} {...styleProps} {...mergedStyleProps} href={href} ref={ref}>\n {children}\n </ElementTag>\n );\n};\n\nconst CardLink = forwardRef<HTMLAnchorElement, SpiritCardLinkProps<ElementType>>(_CardLink);\n\nCardLink.spiritComponent = 'CardLink';\n\nexport default CardLink;\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritCardLogoProps } from '../../types';\nimport { useCardStyleProps } from './useCardStyleProps';\n\nconst CardLogo = (props: SpiritCardLogoProps) => {\n const { children, ...restProps } = props;\n const { classProps } = useCardStyleProps();\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n\n return (\n <div {...otherProps} className={classNames(classProps.logo, styleProps.className)} style={{ ...styleProps.style }}>\n {children}\n </div>\n );\n};\n\nCardLogo.spiritComponent = 'CardLogo';\n\nexport default CardLogo;\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { BackgroundStyleProps, ObjectFit } from '../../constants';\nimport { useStyleProps } from '../../hooks';\nimport { CardSizes, type SpiritCardMediaProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { useCardMediaStyleProps } from './useCardMediaStyleProps';\nimport { useCardStyleProps } from './useCardStyleProps';\n\nconst defaultProps: Partial<SpiritCardMediaProps> = {\n fit: ObjectFit.COVER,\n hasFilledHeight: false,\n isExpanded: false,\n size: CardSizes.AUTO,\n};\n\nconst CardMedia = (props: SpiritCardMediaProps) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { backgroundColor, children, fit, hasFilledHeight, isExpanded, size, ...restProps } = propsWithDefaults;\n const { classProps } = useCardStyleProps({ size, isExpanded, hasFilledHeight });\n const { classProps: cardMediaClassProps, styleProps: cardMediaStyleProps } = useCardMediaStyleProps({\n backgroundColor,\n fit,\n });\n const { styleProps, props: otherProps } = useStyleProps(restProps, {\n ...BackgroundStyleProps,\n });\n const mergedStyleProps = mergeStyleProps('div', {\n classProps: classNames(classProps.media, cardMediaClassProps, styleProps.className),\n styleProps: { ...cardMediaStyleProps, ...styleProps },\n });\n\n return (\n <div {...otherProps} {...mergedStyleProps}>\n <div className={classProps.mediaCanvas}>{children}</div>\n </div>\n );\n};\n\nCardMedia.spiritComponent = 'CardMedia';\n\nexport default CardMedia;\n","'use client';\n\nimport React, { type ElementType } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritCardTitleProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { useCardStyleProps } from './useCardStyleProps';\n\nconst defaultProps: Partial<SpiritCardTitleProps> = {\n elementType: 'h4',\n isHeading: true,\n};\n\nconst CardTitle = <T extends ElementType = 'h4'>(props: SpiritCardTitleProps<T>) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { elementType: ElementTag = 'h4', children, isHeading, ...restProps } = propsWithDefaults;\n const { classProps } = useCardStyleProps({ isHeading });\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n const mergedStyleProps = mergeStyleProps(ElementTag, { classProps: classProps.title, styleProps, otherProps });\n\n return (\n <ElementTag {...otherProps} {...mergedStyleProps}>\n {children}\n </ElementTag>\n );\n};\n\nCardTitle.spiritComponent = 'CardTitle';\n\nexport default CardTitle;\n","export { default as Card } from './Card';\nexport { default as CardArtwork } from './CardArtwork';\nexport { default as CardBody } from './CardBody';\nexport { default as CardEyebrow } from './CardEyebrow';\nexport { default as CardFooter } from './CardFooter';\nexport { default as CardLink } from './CardLink';\nexport { default as CardLogo } from './CardLogo';\nexport { default as CardMedia } from './CardMedia';\nexport { default as CardTitle } from './CardTitle';\nexport * from './useCardStyleProps';\n","import { cssVariablePrefix } from '@alma-oss/spirit-design-tokens';\nimport { type CSSProperties } from 'react';\nimport { useClassNamePrefix } from '../../hooks';\nimport { type SpiritCardMediaProps } from '../../types';\n\nexport interface UseCardMediaStylePropsReturn {\n /** className props */\n classProps: string;\n /** Style object with CSS variables */\n styleProps: CSSProperties;\n}\n\nexport const useCardMediaStyleProps = (props: Partial<SpiritCardMediaProps>): UseCardMediaStylePropsReturn => {\n const { backgroundColor, fit } = props || {};\n const cardMediaBackgroundClassName = useClassNamePrefix(`bg-${backgroundColor}`);\n\n const cardMediaBackgroundColor = backgroundColor ? cardMediaBackgroundClassName : '';\n\n // Generate CSS variable for fit\n const cardMediaStyle: CSSProperties = fit\n ? ({ [`--${cssVariablePrefix}card-media-object-fit`]: fit } as CSSProperties)\n : {};\n\n return {\n classProps: cardMediaBackgroundColor,\n styleProps: cardMediaStyle,\n };\n};\n","import classNames from 'classnames';\nimport { useAlignmentClass, useClassNamePrefix } from '../../hooks';\nimport { type CardAlignmentXType, type CardDirectionType, type CardSizesDictionaryType } from '../../types';\nimport { generateStylePropsClassNames, stringOrObjectKebabCaseToCamelCase } from '../../utils';\n\nexport interface UseCardStyleProps {\n artworkAlignmentX?: CardAlignmentXType;\n direction?: CardDirectionType;\n footerAlignmentX?: CardAlignmentXType;\n hasFilledHeight?: boolean;\n isBoxed?: boolean;\n isExpanded?: boolean;\n isHeading?: boolean;\n isSelectable?: boolean;\n size?: CardSizesDictionaryType;\n}\n\nexport interface UseCardStylePropsReturn {\n /** className props */\n classProps: {\n artwork: string;\n body: string;\n eyebrow: string;\n footer: string;\n link: string;\n logo: string;\n media: string;\n mediaCanvas: string;\n root: string;\n title: string;\n };\n}\n\nexport function useCardStyleProps(props?: UseCardStyleProps): UseCardStylePropsReturn {\n const {\n artworkAlignmentX,\n direction,\n footerAlignmentX,\n hasFilledHeight,\n isBoxed,\n isExpanded,\n isHeading,\n isSelectable,\n size,\n } = props || {};\n const cardClass = useClassNamePrefix('Card');\n const artworkClass = `${cardClass}Artwork`;\n const bodyClass = `${cardClass}Body`;\n const eyebrowClass = `${cardClass}Eyebrow`;\n const footerClass = `${cardClass}Footer`;\n const linkClass = `${cardClass}Link`;\n const logoClass = `${cardClass}Logo`;\n const mediaClass = `${cardClass}Media`;\n const titleClass = `${cardClass}Title`;\n\n const bodyIsSelectableClass = `${bodyClass}--selectable`;\n\n const directionClass = generateStylePropsClassNames(cardClass, stringOrObjectKebabCaseToCamelCase(direction!));\n\n const isBoxedClass = `${cardClass}--boxed`;\n const mediaCanvasClass = `${mediaClass}__canvas`;\n const mediaHasFilledHeightClass = `${mediaClass}--filledHeight`;\n const mediaIsExpandedClass = `${mediaClass}--expanded`;\n const mediaSizeClass = size ? `${mediaClass}--${size}` : '';\n const titleHeadingClass = `${titleClass}--heading`;\n\n const artworkClasses = classNames(artworkClass, {\n [useAlignmentClass(artworkClass, artworkAlignmentX!, 'alignmentX')]: artworkAlignmentX,\n });\n const bodyClasses = classNames(bodyClass, {\n [bodyIsSelectableClass]: isSelectable,\n });\n const footerClasses = classNames(footerClass, {\n [useAlignmentClass(footerClass, footerAlignmentX!, 'alignmentX')]: footerAlignmentX,\n });\n const mediaClasses = classNames(mediaClass, mediaSizeClass, {\n [mediaIsExpandedClass]: isExpanded,\n [mediaHasFilledHeightClass]: hasFilledHeight,\n });\n const rootClasses = classNames(cardClass, {\n [directionClass]: direction,\n [isBoxedClass]: isBoxed,\n });\n const titleClasses = classNames(titleClass, {\n [titleHeadingClass]: isHeading,\n });\n\n return {\n classProps: {\n artwork: artworkClasses,\n body: bodyClasses,\n eyebrow: eyebrowClass,\n footer: footerClasses,\n link: linkClass,\n logo: logoClass,\n media: mediaClasses,\n mediaCanvas: mediaCanvasClass,\n root: rootClasses,\n title: titleClasses,\n },\n };\n}\n","'use client';\n\nimport classNames from 'classnames';\nimport React, { type ForwardedRef, forwardRef } from 'react';\nimport { useAriaDescribedBy, useStyleProps } from '../../hooks';\nimport { type SpiritCheckboxProps } from '../../types';\nimport { HelperText, Label, ValidationText, useAriaIds } from '../Field';\nimport { useValidationTextRole } from '../Field/useValidationTextRole';\nimport { useCheckboxStyleProps } from './useCheckboxStyleProps';\n\n/* We need an exception for components exported with forwardRef */\n/* eslint no-underscore-dangle: ['error', { allow: ['_Checkbox'] }] */\nconst _Checkbox = (props: SpiritCheckboxProps, ref: ForwardedRef<HTMLInputElement>): JSX.Element => {\n const { classProps, props: modifiedProps } = useCheckboxStyleProps(props);\n const {\n 'aria-describedby': ariaDescribedBy = '',\n hasValidationIcon,\n helperText,\n id,\n isChecked,\n isDisabled,\n isRequired,\n label,\n validationState,\n validationText,\n value,\n ...restProps\n } = modifiedProps;\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n const [ids, register] = useAriaIds(ariaDescribedBy);\n const ariaDescribedByProp = useAriaDescribedBy(ids);\n const validationTextRole = useValidationTextRole({\n validationState,\n validationText,\n });\n\n return (\n <div style={styleProps.style} className={classNames(classProps.root, styleProps.className)}>\n <input\n {...otherProps}\n {...ariaDescribedByProp}\n type=\"checkbox\"\n id={id}\n className={classProps.input}\n disabled={isDisabled}\n required={isRequired}\n checked={isChecked}\n value={value}\n ref={ref}\n />\n <div className={classProps.text}>\n <Label UNSAFE_className={classProps.label} htmlFor={id}>\n {label}\n </Label>\n <HelperText\n UNSAFE_className={classProps.helperText}\n id={`${id}__helperText`}\n registerAria={register}\n helperText={helperText}\n />\n {validationState && (\n <ValidationText\n UNSAFE_className={classProps.validationText}\n id={`${id}__validationText`}\n {...(hasValidationIcon && { hasValidationStateIcon: validationState })}\n validationText={validationText}\n registerAria={register}\n role={validationTextRole}\n />\n )}\n </div>\n </div>\n );\n};\n\nconst Checkbox = forwardRef<HTMLInputElement, SpiritCheckboxProps>(_Checkbox);\n\nCheckbox.spiritComponent = 'Checkbox';\n\nexport default Checkbox;\n","export { default as Checkbox } from './Checkbox';\nexport * from './useCheckboxStyleProps';\n","import classNames from 'classnames';\nimport { useClassNamePrefix } from '../../hooks';\nimport { type CheckboxProps, type SpiritCheckboxProps } from '../../types';\n\nexport interface CheckboxStyles {\n /** className props */\n classProps: {\n root: string;\n text: string;\n label: string;\n input: string;\n helperText: string;\n validationText: string;\n };\n /** props to be passed to the input element */\n props: CheckboxProps;\n}\n\nexport function useCheckboxStyleProps(props: SpiritCheckboxProps): CheckboxStyles {\n const { validationState, isItem, isLabelHidden, ...restProps } = props;\n const { isDisabled, isRequired } = restProps;\n\n const checkboxClass = useClassNamePrefix('Checkbox');\n const checkboxDisabledClass = `${checkboxClass}--disabled`;\n const checkboxItemClass = `${checkboxClass}--item`;\n const checkboxInputClass = `${checkboxClass}__input`;\n const checkboxTextClass = `${checkboxClass}__text`;\n const checkboxLabelClass = `${checkboxClass}__label`;\n const checkboxLabelRequiredClass = `${checkboxClass}__label--required`;\n const checkboxLabelHiddenClass = `${checkboxClass}__label--hidden`;\n const checkboxHelperTextClass = `${checkboxClass}__helperText`;\n const checkboxValidationTextClass = `${checkboxClass}__validationText`;\n const checkboxValidationClass = `${checkboxClass}--${validationState}`;\n\n const rootStyles = classNames(checkboxClass, {\n [checkboxDisabledClass]: isDisabled,\n [checkboxItemClass]: isItem,\n [checkboxValidationClass]: validationState,\n });\n const labelStyles = classNames(checkboxLabelClass, {\n [checkboxLabelRequiredClass]: isRequired,\n [checkboxLabelHiddenClass]: isLabelHidden,\n });\n\n return {\n classProps: {\n root: rootStyles,\n text: checkboxTextClass,\n label: labelStyles,\n input: checkboxInputClass,\n helperText: checkboxHelperTextClass,\n validationText: checkboxValidationTextClass,\n },\n props: {\n ...restProps,\n validationState,\n },\n };\n}\n","'use client';\n\nimport React, { type ElementType, type MutableRefObject, useRef } from 'react';\nimport { Transition, type TransitionStatus } from 'react-transition-group';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritCollapseProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { useCollapseAriaProps } from './useCollapseAriaProps';\nimport { useCollapseStyleProps } from './useCollapseStyleProps';\nimport { useResizeHeight } from './useResizeHeight';\n\nconst TRANSITION_DURATION = 250;\n\nconst transitioningStyles = {\n entering: 'is-transitioning',\n entered: '',\n exiting: 'is-transitioning',\n exited: '',\n};\n\nconst defaultProps: Partial<SpiritCollapseProps> = {\n elementType: 'div',\n isOpen: false,\n collapsibleToBreakpoint: undefined,\n transitionDuration: TRANSITION_DURATION,\n};\n\nconst Collapse = (props: SpiritCollapseProps) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const {\n elementType: ElementTag = defaultProps.elementType as ElementType,\n children,\n transitionDuration = TRANSITION_DURATION,\n ...restProps\n } = propsWithDefaults;\n\n const rootElementRef: MutableRefObject<HTMLDivElement | null> = useRef(null);\n const collapseElementRef: MutableRefObject<HTMLDivElement | null> = useRef(null);\n const collapseHeight = useResizeHeight(collapseElementRef);\n\n const { classProps, styleProps: collapseStyleProps } = useCollapseStyleProps(\n restProps.isOpen,\n ElementTag,\n collapseHeight,\n );\n const { ariaProps, props: otherProps } = useCollapseAriaProps(restProps);\n const { styleProps, props: transferProps } = useStyleProps(otherProps);\n\n const mergedCollapseStyleProps = {\n className: styleProps.className,\n style: { ...collapseStyleProps, ...styleProps.style },\n };\n\n // For inline elements, when open, render content outside the collapse element\n const isInlineElement = ElementTag === 'span';\n if (isInlineElement && restProps.isOpen) {\n return children;\n }\n\n return (\n <Transition in={restProps.isOpen} nodeRef={rootElementRef} timeout={transitionDuration}>\n {(transitionState: TransitionStatus) => (\n <ElementTag\n {...transferProps}\n {...ariaProps.root}\n {...mergeStyleProps(ElementTag, {\n classProps: classProps.root,\n styleProps,\n collapseStyleProps: mergedCollapseStyleProps,\n transitioningStyles: transitioningStyles[transitionState as keyof typeof transitioningStyles],\n })}\n ref={rootElementRef}\n >\n <ElementTag ref={collapseElementRef} className={classProps.content}>\n {children}\n </ElementTag>\n </ElementTag>\n )}\n </Transition>\n );\n};\n\nCollapse.spiritComponent = 'Collapse';\n\nexport default Collapse;\n","'use client';\n\nimport React from 'react';\nimport { type SpiritUncontrolledCollapseProps } from '../../types';\nimport Collapse from './Collapse';\nimport { useCollapse } from './useCollapse';\nimport { useCollapseAriaProps } from './useCollapseAriaProps';\n\nconst defaultProps = {\n isOpen: false,\n};\n\nconst UncontrolledCollapse = (props: SpiritUncontrolledCollapseProps) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const {\n children,\n /** @deprecated \"hideOnCollapse\" property will be replaced in the next major version. Please use \"isDisposable\" instead. */\n hideOnCollapse,\n isDisposable,\n renderTrigger,\n ...restProps\n } = propsWithDefaults;\n const { isOpen, toggleHandler } = useCollapse(restProps.isOpen);\n const { ariaProps } = useCollapseAriaProps({ ...restProps, isOpen });\n\n const isDisposed = hideOnCollapse || isDisposable;\n\n const triggerRenderHandler = () => {\n const showTrigger = isDisposed ? !(isDisposed && isOpen) : true;\n\n return renderTrigger && showTrigger\n ? renderTrigger({\n isOpen,\n onClick: toggleHandler,\n ...ariaProps.trigger,\n })\n : null;\n };\n\n return (\n <>\n {triggerRenderHandler()}\n {isDisposed && isOpen ? (\n children\n ) : (\n <Collapse {...restProps} isOpen={isOpen}>\n {children}\n </Collapse>\n )}\n </>\n );\n};\n\nUncontrolledCollapse.spiritComponent = 'UncontrolledCollapse';\n\nexport default UncontrolledCollapse;\n","export { default as Collapse } from './Collapse';\nexport { default as UncontrolledCollapse } from './UncontrolledCollapse';\nexport * from './useCollapse';\nexport * from './useCollapseAriaProps';\nexport * from './useCollapseStyleProps';\n","'use client';\n\nimport { useState } from 'react';\nimport { type ClickEvent } from '../../types';\n\nexport interface CollapseReturn {\n /** collapse event handler */\n toggleHandler: (event: ClickEvent) => void;\n /** collapse toggle */\n toggle: (isOpen: boolean) => void;\n /** collapsed state */\n isOpen: boolean;\n}\n\nexport const useCollapse = (defaultOpenState: boolean): CollapseReturn => {\n const [isOpen, toggle] = useState<boolean>(defaultOpenState);\n\n const toggleHandler = (event: ClickEvent) => {\n event.preventDefault();\n toggle(!isOpen);\n };\n\n return {\n toggleHandler,\n toggle,\n isOpen,\n };\n};\n","import { useDeprecationMessage } from '../../hooks';\nimport { type BaseCollapseProps, type Booleanish, type CollapseProps } from '../../types';\n\nconst ATTRIBUTE_ARIA_EXPANDED = 'aria-expanded';\nconst ATTRIBUTE_ARIA_CONTROLS = 'aria-controls';\nconst ATTRIBUTE_DATA_BREAKPOINT = 'data-spirit-breakpoint';\n\nexport interface CollapseAria {\n ariaProps: {\n /** wrapper returned props */\n root: {\n [ATTRIBUTE_DATA_BREAKPOINT]: CollapseProps['collapsibleToBreakpoint'];\n };\n /** trigger returned props */\n trigger: {\n [ATTRIBUTE_ARIA_EXPANDED]: Booleanish;\n [ATTRIBUTE_ARIA_CONTROLS]: string;\n };\n };\n props: BaseCollapseProps;\n}\n\nexport const useCollapseAriaProps = (props: CollapseProps): CollapseAria => {\n const { isOpen, collapsibleToBreakpoint, ...modifiedProps } = props;\n\n useDeprecationMessage({\n method: 'custom',\n trigger: !modifiedProps.id,\n componentName: 'Collapse',\n customText: 'The \"id\" property will be required instead of optional starting from the next major version.',\n });\n\n return {\n ariaProps: {\n root: {\n [ATTRIBUTE_DATA_BREAKPOINT]: collapsibleToBreakpoint,\n },\n trigger: {\n [ATTRIBUTE_ARIA_EXPANDED]: isOpen,\n [ATTRIBUTE_ARIA_CONTROLS]: String(modifiedProps.id),\n },\n },\n props: modifiedProps,\n };\n};\n","import classNames from 'classnames';\nimport { type ElementType } from 'react';\nimport { CLASS_NAME_OPEN } from '../../constants';\nimport { useClassNamePrefix } from '../../hooks';\n\nexport interface CollapseStyles {\n /** className props */\n classProps: {\n root: string;\n content: string;\n };\n /** style props */\n styleProps?: {\n height?: string | number;\n };\n}\n\nexport const useCollapseStyleProps = (\n isOpen: boolean,\n elementType: ElementType,\n collapseHeight?: string,\n): CollapseStyles => {\n const collapseClass = useClassNamePrefix('Collapse');\n const collapseContentClass = `${collapseClass}__content`;\n const openClass = isOpen ? CLASS_NAME_OPEN : '';\n const rootClass = classNames(collapseClass, openClass);\n\n // For span elements, don't use height-based transitions as they use display: none/inline\n const isSpanElement = elementType === 'span';\n const styleProps = isSpanElement ? {} : { height: isOpen ? collapseHeight : 0 };\n\n return {\n classProps: {\n root: rootClass,\n content: collapseContentClass,\n },\n styleProps,\n };\n};\n","'use client';\n\nimport { type RefObject, useState } from 'react';\nimport { useResizeObserver } from '../../hooks/useResizeObserver';\n\ntype Size = {\n height: number | undefined;\n};\n\nexport const useResizeHeight = (ref: RefObject<HTMLElement>): string | undefined => {\n const [height, setHeight] = useState<string | undefined>(undefined);\n\n const onResize = (size: Size) => {\n const currentHeight = size.height;\n setHeight(`${currentHeight}px`);\n };\n\n useResizeObserver({ ref, onResize });\n\n return height;\n};\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { SizesExtended, TextStyleProps } from '../../constants';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritContainerProps } from '../../types';\nimport { useContainerStyleProps } from './useContainerStyleProps';\n\nconst defaultProps: SpiritContainerProps = {\n isFluid: false,\n size: SizesExtended.XLARGE,\n};\n\nconst Container = (props: SpiritContainerProps): JSX.Element => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { children, ...restProps } = propsWithDefaults;\n const { classProps, props: modifiedProps } = useContainerStyleProps(restProps);\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps, {\n textAlignment: TextStyleProps.textAlignment,\n });\n\n return (\n <div {...otherProps} {...styleProps} className={classNames(classProps, styleProps.className)}>\n {children}\n </div>\n );\n};\n\nContainer.spiritComponent = 'Container';\n\nexport default Container;\n","export * from './useContainerStyleProps';\nexport { default as Container } from './Container';\n","import classNames from 'classnames';\nimport { useClassNamePrefix } from '../../hooks';\nimport { type ContainerProps, type SpiritContainerProps } from '../../types';\n\nexport interface ContainerStyles {\n /** className props */\n classProps: string;\n /** props to be passed to the element */\n props: ContainerProps;\n}\n\nexport function useContainerStyleProps(props: SpiritContainerProps): ContainerStyles {\n const { isFluid, size, ...modifiedProps } = props;\n\n const containerClass = useClassNamePrefix('Container');\n const containerFluidClass = `${containerClass}--fluid`;\n const containerSizeClass = `${containerClass}--${size}`;\n\n const classProps = classNames(containerClass, {\n [containerFluidClass]: isFluid,\n [containerSizeClass]: !isFluid && size,\n });\n\n return {\n classProps,\n props: modifiedProps,\n };\n}\n","'use client';\n\nimport React, { type ElementType, type ForwardedRef, forwardRef } from 'react';\nimport { Sizes } from '../../constants';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritControlButtonProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { useControlButtonProps } from './useControlButtonProps';\nimport { useControlButtonStyleProps } from './useControlButtonStyleProps';\n\nconst defaultProps: Partial<SpiritControlButtonProps> = {\n elementType: 'button',\n isDisabled: false,\n isSubtle: false,\n isSymmetrical: false,\n size: Sizes.MEDIUM,\n type: 'button',\n};\n\n/* We need an exception for components exported with forwardRef */\n/* eslint no-underscore-dangle: ['error', { allow: ['_ControlButton'] }] */\nconst _ControlButton = <T extends ElementType = 'button', S = void>(\n props: SpiritControlButtonProps<T, S>,\n ref: ForwardedRef<HTMLButtonElement>,\n) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const {\n elementType: ElementTag = defaultProps.elementType as ElementType,\n children,\n ...restProps\n } = propsWithDefaults;\n\n const { controlButtonProps } = useControlButtonProps(restProps);\n const { classProps, props: modifiedProps } = useControlButtonStyleProps(restProps);\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n const mergedStyleProps = mergeStyleProps(ElementTag, { classProps, styleProps, otherProps });\n\n return (\n <ElementTag {...otherProps} {...controlButtonProps} ref={ref} {...mergedStyleProps}>\n {children}\n </ElementTag>\n );\n};\n\nconst ControlButton = forwardRef<HTMLButtonElement, SpiritControlButtonProps<ElementType>>(_ControlButton);\n\nControlButton.spiritComponent = 'ControlButton';\n\nexport default ControlButton;\n","export * from './useControlButtonProps';\nexport * from './useControlButtonStyleProps';\nexport { default as ControlButton } from './ControlButton';\n","import { useClick } from '../../hooks';\nimport { type SpiritControlButtonProps } from '../../types';\n\nexport type UseControlButtonProps = Partial<SpiritControlButtonProps>;\nexport type UseControlButtonReturn = {\n controlButtonProps: UseControlButtonProps;\n};\n\nexport const useControlButtonProps = (props: UseControlButtonProps): UseControlButtonReturn => {\n const { isDisabled, onClick, type = 'button' } = props;\n const handleClick = useClick(isDisabled, onClick);\n\n const additionalProps = {\n type,\n disabled: isDisabled,\n };\n\n return {\n controlButtonProps: {\n ...additionalProps,\n onClick: handleClick,\n },\n };\n};\n","import classNames from 'classnames';\nimport { type ElementType } from 'react';\nimport { useClassNamePrefix } from '../../hooks';\nimport { type ControlButtonSize, type SpiritControlButtonProps } from '../../types';\nimport { applySize, compose } from '../../utils';\n\nconst getControlButtonSizeClassname = <S = void>(className: string, size: ControlButtonSize<S>): string =>\n compose(applySize<ControlButtonSize<S>>(size))(className);\n\nexport interface ControlButtonStyles {\n /** className props */\n classProps: string;\n /** Props for the control button element */\n props: SpiritControlButtonProps;\n}\n\nexport function useControlButtonStyleProps<T extends ElementType = 'button', S = void>(\n props: SpiritControlButtonProps<T, S>,\n): ControlButtonStyles {\n const { isDisabled, isSubtle, isSymmetrical, size, ...restProps } = props;\n\n const controlButtonClass = useClassNamePrefix('ControlButton');\n const controlButtonBackgroundClass = `${controlButtonClass}--hasBackground`;\n const controlButtonDisabledClass = `${controlButtonClass}--disabled`;\n const controlButtonSymmetricalClass = `${controlButtonClass}--symmetrical`;\n const dynamicColorBackgroundInteractiveClass = useClassNamePrefix('dynamic-color-background-interactive');\n const dynamicColorBorderClass = useClassNamePrefix('dynamic-color-border');\n const accessibilityTapTargetClass = useClassNamePrefix('accessibility-tap-target');\n\n const classProps = classNames(\n controlButtonClass,\n getControlButtonSizeClassname(controlButtonClass, size as ControlButtonSize<S>),\n dynamicColorBackgroundInteractiveClass,\n accessibilityTapTargetClass,\n {\n [controlButtonDisabledClass]: isDisabled,\n [controlButtonSymmetricalClass]: isSymmetrical,\n [controlButtonBackgroundClass]: !isSubtle,\n [dynamicColorBorderClass]: !isSubtle,\n },\n );\n\n return {\n classProps,\n props: restProps,\n };\n}\n","'use client';\n\nimport React, {\n Children,\n type ForwardedRef,\n type MutableRefObject,\n type ReactElement,\n cloneElement,\n forwardRef,\n useRef,\n} from 'react';\nimport { useCancelEvent, useClickOutside } from '../../hooks';\nimport { type DialogProps } from '../../types';\nimport { useDialog } from './useDialog';\n\n// @TODO: Type 'MutableRefObject<ForwardedRef<HTMLDialogElement | null>>' is not assignable to type 'MutableRefObject<HTMLDialogElement | null>'.\n// Solved using `as MutableRefObject<HTMLDialogElement | null>` but I do not like it\n\nconst Dialog = (props: DialogProps, ref: ForwardedRef<HTMLDialogElement | null>): JSX.Element => {\n const { children, isOpen, onClose, closeOnBackdropClick = true, closeOnEscapeKeyDown, ...restProps } = props;\n const dialogElementRef: MutableRefObject<ForwardedRef<HTMLDialogElement | null>> = useRef(ref);\n const contentElementRef: MutableRefObject<HTMLElement | null> = useRef(null);\n\n // handles toggling based on state\n const { closeDialog, onTransitionEnd } = useDialog(\n dialogElementRef as MutableRefObject<HTMLDialogElement | null>,\n isOpen,\n );\n const handleClickOutside = (event: Event) => {\n // check if it should be closed on backdrop click and if the click was on backdrop (dialog element, not on dialog content)\n if (closeOnBackdropClick && event.target === dialogElementRef.current) {\n closeDialog();\n onClose(event);\n }\n };\n\n // handles closing by clicking outside the dialog\n useClickOutside({\n ref: contentElementRef,\n callback: isOpen ? handleClickOutside : undefined,\n });\n\n // handles closing using Escape key\n useCancelEvent(\n dialogElementRef as MutableRefObject<HTMLDialogElement | null>,\n onClose,\n closeOnEscapeKeyDown as boolean,\n isOpen,\n );\n\n /**\n * Make sure that there is only one child wrapped in dialog element.\n * Otherwise we cannot distinguish between dialog content and dialog backdrop, which is dialog element itself.\n * useClickOutside hook uses refs to dialog and content elements to find out whether it was clicked on backdrop\n * and dialog should be closed.\n *\n * @see https://reactjs.org/docs/react-api.html#reactchildren\n * @throws Error\n */\n const child = Children.only(children);\n\n return (\n <dialog\n ref={dialogElementRef as MutableRefObject<HTMLDialogElement | null>}\n onTransitionEnd={onTransitionEnd}\n {...restProps}\n >\n {cloneElement(child as ReactElement, {\n ref: (clonedElementRef: HTMLElement) => {\n contentElementRef.current = clonedElementRef;\n },\n })}\n </dialog>\n );\n};\n\nDialog.spiritComponent = 'Dialog';\n\nexport default forwardRef(Dialog);\n","export { default as Dialog } from './Dialog';\nexport * from './useDialog';\n","'use client';\n\nimport { type MutableRefObject, type TransitionEvent, useCallback, useEffect } from 'react';\nimport { CLASS_NAME_OPEN } from '../../constants';\nimport { useScrollControl } from '../../hooks';\n\nexport const useDialog = (ref: MutableRefObject<HTMLDialogElement | null>, isOpen: boolean) => {\n const handleTransitionEnd = useCallback(\n (event: TransitionEvent<HTMLDialogElement>) => {\n const dialogNode = ref?.current;\n\n // Only handle transition end if it's for the dialog element itself (not children)\n if (dialogNode && event.target === dialogNode && !isOpen && dialogNode.open && dialogNode.close) {\n // Dialog transition has ended, now close it\n dialogNode.close();\n }\n },\n [isOpen, ref],\n );\n\n useScrollControl(ref, isOpen);\n\n // Helper function to manage the open class state\n const setOpenClass = useCallback(\n (shouldAdd: boolean) => {\n const dialogNode = ref?.current;\n if (dialogNode?.classList) {\n if (shouldAdd) {\n dialogNode.classList.add(CLASS_NAME_OPEN);\n } else {\n dialogNode.classList.remove(CLASS_NAME_OPEN);\n }\n }\n },\n [ref],\n );\n\n // Handle declarative dialog state changes via isOpen prop\n useEffect(() => {\n const dialogNode = ref?.current;\n\n if (dialogNode) {\n // Opening: When isOpen becomes true and dialog is not already open\n if (isOpen && !dialogNode.open && dialogNode.showModal) {\n dialogNode.showModal(); // Show the dialog element\n setOpenClass(true); // Add visual state class for CSS transitions\n }\n // Closing: When isOpen becomes false and dialog is currently open\n else if (!isOpen && dialogNode.open) {\n setOpenClass(false); // Remove visual state class to trigger CSS transition\n // Note: The actual dialog.close() will happen in handleTransitionEnd after transition completes\n }\n }\n }, [isOpen, ref, setOpenClass]);\n\n // Imperative function to open dialog programmatically\n const openDialog = () => {\n if (ref?.current && !ref.current.open) {\n ref.current.showModal(); // Show the dialog element\n setOpenClass(true); // Add visual state class for CSS transitions\n }\n };\n\n // Imperative function to close dialog programmatically\n const closeDialog = () => {\n const dialogNode = ref?.current;\n if (dialogNode && dialogNode.open) {\n setOpenClass(false); // Remove visual state class to trigger CSS transition\n // Note: The actual dialog.close() will happen in handleTransitionEnd after transition completes\n }\n };\n\n return {\n openDialog,\n closeDialog,\n onTransitionEnd: handleTransitionEnd,\n };\n};\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritDividerProps } from '../../types';\nimport { useDividerStyleProps } from './useDividerStyleProps';\n\nconst Divider = (props: SpiritDividerProps): JSX.Element => {\n const { classProps, props: modifiedProps } = useDividerStyleProps(props);\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n\n return <hr {...otherProps} {...styleProps} className={classNames(classProps, styleProps.className)} />;\n};\n\nDivider.spiritComponent = 'Divider';\n\nexport default Divider;\n","export { default as Divider } from './Divider';\nexport * from './useDividerStyleProps';\n","import { useClassNamePrefix } from '../../hooks';\nimport { type SpiritDividerProps } from '../../types';\n\nexport interface DividerStyles {\n /** className props */\n classProps: string;\n /** props to be passed to the element */\n props: SpiritDividerProps;\n}\n\nexport function useDividerStyleProps(props: SpiritDividerProps): DividerStyles {\n const DividerClass = useClassNamePrefix('Divider');\n\n return {\n classProps: DividerClass,\n props,\n };\n}\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useLastActiveFocus, useStyleProps } from '../../hooks';\nimport { type SpiritDrawerProps } from '../../types';\nimport { Dialog } from '../Dialog';\nimport { DRAWER_ALIGNMENT_DEFAULT } from './constants';\nimport { DrawerProvider } from './DrawerContext';\nimport { useDrawerStyleProps } from './useDrawerStyleProps';\n\nconst Drawer = (props: SpiritDrawerProps) => {\n const { children, alignmentX = DRAWER_ALIGNMENT_DEFAULT, isOpen, onClose, id, ...restProps } = props;\n const { classProps } = useDrawerStyleProps({ drawerAlignmentX: alignmentX });\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n\n const contextValue = {\n id,\n isOpen,\n onClose,\n };\n\n useLastActiveFocus(isOpen);\n\n return (\n <DrawerProvider value={contextValue}>\n <Dialog\n {...otherProps}\n {...styleProps}\n id={id}\n isOpen={isOpen}\n onClose={onClose}\n className={classNames(classProps.root, styleProps.className)}\n >\n {children}\n </Dialog>\n </DrawerProvider>\n );\n};\n\nDrawer.spiritComponent = 'Drawer';\n\nexport default Drawer;\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { ComponentButtonColors, Sizes } from '../../constants';\nimport { useStyleProps } from '../../hooks';\nimport { type DrawerCloseButtonProps } from '../../types';\nimport { Button } from '../Button';\nimport { Icon } from '../Icon';\nimport { DEFAULT_BOX_SIZE } from '../Icon/constants';\nimport { VisuallyHidden } from '../VisuallyHidden';\nimport { DRAWER_CLOSE_BUTTON_LABEL_DEFAULT } from './constants';\nimport { useDrawerContext } from './DrawerContext';\nimport { useDrawerStyleProps } from './useDrawerStyleProps';\n\nconst defaultProps: Partial<DrawerCloseButtonProps> = {\n color: ComponentButtonColors.TERTIARY,\n iconBoxSize: DEFAULT_BOX_SIZE,\n label: DRAWER_CLOSE_BUTTON_LABEL_DEFAULT,\n size: Sizes.MEDIUM,\n};\n\nconst DrawerCloseButton = (props: DrawerCloseButtonProps) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { color, iconBoxSize, label, size, ...restProps } = propsWithDefaults;\n const { id, isOpen, onClose } = useDrawerContext();\n\n const { classProps } = useDrawerStyleProps();\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n\n return (\n <Button\n {...otherProps}\n aria-expanded={isOpen}\n aria-controls={id}\n onClick={onClose}\n color={color}\n size={size}\n UNSAFE_className={classNames(classProps.closeButton, styleProps.className)}\n UNSAFE_style={styleProps.style}\n isSymmetrical\n >\n <Icon name=\"close\" boxSize={iconBoxSize} />\n <VisuallyHidden>{label}</VisuallyHidden>\n </Button>\n );\n};\n\nDrawerCloseButton.spiritComponent = 'DrawerCloseButton';\n\nexport default DrawerCloseButton;\n","'use client';\n\nimport { createContext, useContext } from 'react';\nimport { type DrawerPanelHandlingProps } from '../../types';\n\nexport type DrawerContextProps = {\n id: string;\n} & DrawerPanelHandlingProps;\n\nconst defaultContext: DrawerContextProps = {\n id: '',\n isOpen: false,\n onClose: () => null,\n};\n\nconst DrawerContext = createContext<DrawerContextProps>(defaultContext);\nconst DrawerProvider = DrawerContext.Provider;\nconst DrawerConsumer = DrawerContext.Consumer;\nconst useDrawerContext = (): DrawerContextProps => useContext(DrawerContext);\n\nexport default DrawerContext;\nexport { DrawerProvider, DrawerConsumer, useDrawerContext };\n","'use client';\n\nimport React, { type ElementType, type ForwardedRef, type HTMLAttributes, forwardRef } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type DrawerPanelElementType, type DrawerPanelProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { useDrawerStyleProps } from './useDrawerStyleProps';\n\n/* We need an exception for components exported with forwardRef */\n/* eslint no-underscore-dangle: ['error', { allow: ['_DrawerPanel'] }] */\nconst _DrawerPanel = <E extends ElementType = DrawerPanelElementType>(\n props: DrawerPanelProps<E>,\n ref: ForwardedRef<HTMLDivElement>,\n) => {\n const { elementType: ElementTag = 'div', children, ...restProps } = props;\n\n const { classProps } = useDrawerStyleProps(restProps);\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n const mergedStyleProps = mergeStyleProps(ElementTag, { classProps: classProps.panel, styleProps, otherProps });\n\n return (\n <ElementTag {...(otherProps as HTMLAttributes<HTMLElement>)} {...mergedStyleProps} ref={ref}>\n <div className={classProps.content}>{children}</div>\n </ElementTag>\n );\n};\n\nconst DrawerPanel = forwardRef<HTMLDivElement, DrawerPanelProps<ElementType>>(_DrawerPanel);\n\nDrawerPanel.spiritComponent = 'DrawerPanel';\n\nexport default DrawerPanel;\n","import { AlignmentX } from '../../constants';\n\nexport const DRAWER_CLOSE_BUTTON_LABEL_DEFAULT = 'Close';\n\nexport const DRAWER_ALIGNMENT_DEFAULT = AlignmentX.RIGHT;\n","export { default as Drawer } from './Drawer';\nexport { default as DrawerCloseButton } from './DrawerCloseButton';\nexport { default as DrawerPanel } from './DrawerPanel';\nexport * from './DrawerContext';\nexport * from './useDrawerStyleProps';\n","import classNames from 'classnames';\nimport { CLASS_NAME_OPEN } from '../../constants';\nimport { useClassNamePrefix } from '../../hooks';\nimport { type DrawerAlignmentXType, type DrawerPanelProps } from '../../types';\nimport { DRAWER_ALIGNMENT_DEFAULT } from './constants';\n\nexport interface UseDrawerStylesProps extends DrawerPanelProps {\n drawerAlignmentX?: DrawerAlignmentXType;\n isOpen?: boolean;\n}\n\nexport interface UseDrawerStylesReturn {\n /** className props */\n classProps: {\n root: string;\n panel: string;\n content: string;\n closeButton: string;\n };\n}\n\nexport const useDrawerStyleProps = (props: UseDrawerStylesProps = {}): UseDrawerStylesReturn => {\n const { drawerAlignmentX = DRAWER_ALIGNMENT_DEFAULT, isOpen = false } = props;\n\n const drawerClass = useClassNamePrefix('Drawer');\n const drawerAlignXClasses: Record<DrawerAlignmentXType, string> = {\n left: `${drawerClass}--left`,\n right: `${drawerClass}--right`,\n };\n const drawerPanelClass = `${drawerClass}Panel`;\n const drawerContentClass = `${drawerPanelClass}__content`;\n const drawerCloseButtonClass = `${drawerClass}CloseButton`;\n\n const classProps = {\n root: classNames(drawerClass, drawerAlignXClasses[drawerAlignmentX], {\n [CLASS_NAME_OPEN]: isOpen,\n }),\n panel: drawerPanelClass,\n content: drawerContentClass,\n closeButton: drawerCloseButtonClass,\n };\n\n return {\n classProps,\n };\n};\n","'use client';\n\nimport classNames from 'classnames';\nimport React, { useRef } from 'react';\nimport { useClickOutside, useStyleProps } from '../../hooks';\nimport { type SpiritDropdownProps } from '../../types';\nimport { DropdownProvider } from './DropdownContext';\nimport { useDropdownStyleProps } from './useDropdownStyleProps';\n\nconst Dropdown = (props: SpiritDropdownProps) => {\n const {\n children,\n enableAutoClose = true,\n fullWidthMode,\n id,\n isOpen = false,\n onAutoClose,\n onToggle,\n placement,\n ...rest\n } = props;\n const { classProps, props: modifiedProps } = useDropdownStyleProps({ isOpen, ...rest });\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n\n const dropdownRef = useRef<HTMLDivElement>(null);\n const triggerRef = useRef<HTMLDivElement>();\n\n const closeHandler = (event: Event) => {\n if (!enableAutoClose) {\n return;\n }\n\n if (!triggerRef?.current?.contains(event?.target as Node)) {\n if (onAutoClose) {\n onAutoClose(event);\n }\n\n onToggle && isOpen && onToggle();\n }\n };\n\n useClickOutside({ ref: dropdownRef, callback: closeHandler });\n\n return (\n <DropdownProvider value={{ id, isOpen, fullWidthMode, placement, onToggle, dropdownRef, triggerRef }}>\n <div\n ref={dropdownRef}\n className={classNames(classProps.root, styleProps.className)}\n style={styleProps.style}\n {...otherProps}\n >\n {children}\n </div>\n </DropdownProvider>\n );\n};\n\nDropdown.spiritComponent = 'Dropdown';\n\nexport default Dropdown;\n","'use client';\n\nimport { type MutableRefObject, createContext, useContext } from 'react';\nimport { Placements } from '../../constants';\nimport { type ClickEvent, type PlacementDictionaryType } from '../../types';\nimport { fullWidthModeKeys } from './useDropdownAriaProps';\n\ntype DropdownContextType = {\n dropdownRef: MutableRefObject<HTMLElement | null>;\n fullWidthMode?: keyof typeof fullWidthModeKeys;\n id: string;\n isOpen: boolean;\n onToggle: (event: ClickEvent) => void;\n placement?: PlacementDictionaryType;\n triggerRef: MutableRefObject<HTMLElement | undefined>;\n};\n\nconst defaultContext: DropdownContextType = {\n dropdownRef: { current: null },\n fullWidthMode: fullWidthModeKeys.off,\n id: '',\n isOpen: false,\n onToggle: () => {},\n placement: Placements.BOTTOM_START,\n triggerRef: { current: undefined },\n};\n\nconst DropdownContext = createContext<DropdownContextType>(defaultContext);\nconst DropdownProvider = DropdownContext.Provider;\nconst DropdownConsumer = DropdownContext.Consumer;\nconst useDropdownContext = (): DropdownContextType => useContext(DropdownContext);\n\nexport default DropdownContext;\nexport { DropdownConsumer, DropdownProvider, useDropdownContext };\nexport type { DropdownContextType };\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type ChildrenProps, type StyleProps } from '../../types';\nimport { useDropdownContext } from './DropdownContext';\nimport { useDropdownAriaProps } from './useDropdownAriaProps';\nimport { useDropdownStyleProps } from './useDropdownStyleProps';\n\ninterface DropdownPopoverProps extends ChildrenProps, StyleProps {}\n\nconst DropdownPopover = (props: DropdownPopoverProps) => {\n const { children, ...rest } = props;\n const { id, isOpen, onToggle, fullWidthMode, placement } = useDropdownContext();\n const { classProps, props: modifiedProps } = useDropdownStyleProps({ isOpen, ...rest });\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n const { contentProps } = useDropdownAriaProps({ id, isOpen, toggleHandler: onToggle, placement, fullWidthMode });\n\n return (\n <div\n className={classNames(classProps.popover, styleProps.className)}\n style={styleProps.style}\n {...contentProps}\n {...otherProps}\n >\n {children}\n </div>\n );\n};\n\nDropdownPopover.spiritComponent = 'DropdownPopover';\n\nexport default DropdownPopover;\n","'use client';\n\nimport React, { type ElementType } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type DropdownTriggerProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { useDropdownContext } from './DropdownContext';\nimport { useDropdownAriaProps } from './useDropdownAriaProps';\nimport { useDropdownStyleProps } from './useDropdownStyleProps';\n\nconst defaultProps = {\n elementType: 'button',\n};\n\nconst DropdownTrigger = <T extends ElementType = 'button'>(props: DropdownTriggerProps<T>) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { elementType: ElementTag = 'button', children, ...rest } = propsWithDefaults;\n const { id, isOpen, onToggle, fullWidthMode, triggerRef } = useDropdownContext();\n const { classProps, props: modifiedProps } = useDropdownStyleProps({ isOpen, ...rest });\n const { styleProps: triggerStyleProps, props: transferProps } = useStyleProps(modifiedProps);\n const mergedStyleProps = mergeStyleProps(ElementTag, { classProps: classProps.trigger, triggerStyleProps });\n const { triggerProps } = useDropdownAriaProps({ id, isOpen, toggleHandler: onToggle, fullWidthMode });\n\n return (\n <ElementTag {...transferProps} {...triggerProps} {...mergedStyleProps} ref={triggerRef}>\n {typeof children === 'function' ? children({ isOpen }) : children}\n </ElementTag>\n );\n};\n\nDropdownTrigger.spiritComponent = 'DropdownTrigger';\n\nexport default DropdownTrigger;\n","'use client';\n\nimport classNames from 'classnames';\nimport React, { useRef } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type UncontrolledDropdownProps } from '../../types';\nimport { DropdownProvider } from './DropdownContext';\nimport { useDropdown } from './useDropdown';\nimport { useDropdownStyleProps } from './useDropdownStyleProps';\n\nconst UncontrolledDropdown = (props: UncontrolledDropdownProps) => {\n const { children, enableAutoClose = true, fullWidthMode, id, onAutoClose, placement, ...rest } = props;\n const { classProps, props: modifiedProps } = useDropdownStyleProps(rest);\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n\n const dropdownRef = useRef<HTMLDivElement>(null);\n const triggerRef = useRef<HTMLDivElement>();\n\n const { isOpen, toggleHandler: onToggle } = useDropdown({ dropdownRef, triggerRef, enableAutoClose, onAutoClose });\n\n return (\n <DropdownProvider value={{ id, isOpen, fullWidthMode, placement, onToggle, dropdownRef, triggerRef }}>\n <div\n ref={dropdownRef}\n {...styleProps}\n {...otherProps}\n className={classNames(classProps.root, styleProps.className)}\n >\n {children}\n </div>\n </DropdownProvider>\n );\n};\n\nUncontrolledDropdown.spiritComponent = 'UncontrolledDropdown';\n\nexport default UncontrolledDropdown;\n","export { default as Dropdown } from './Dropdown';\nexport { default as DropdownTrigger } from './DropdownTrigger';\nexport { default as DropdownPopover } from './DropdownPopover';\nexport { default as DropdownContext } from './DropdownContext';\nexport { default as UncontrolledDropdown } from './UncontrolledDropdown';\nexport * from './useDropdown';\nexport * from './useDropdownAriaProps';\nexport * from './useDropdownStyleProps';\n","'use client';\n\nimport { type MutableRefObject, useState } from 'react';\nimport { useClickOutside } from '../../hooks';\nimport { type ClickEvent } from '../../types';\n\nexport interface UseDropdownProps {\n /** dropdown element reference */\n dropdownRef: MutableRefObject<HTMLElement | null>;\n /** enabled click outside event */\n enableAutoClose?: boolean;\n /** on close callback */\n onAutoClose?: (event: Event) => void;\n /** trigger element reference */\n triggerRef: MutableRefObject<HTMLElement | undefined>;\n}\n\nexport interface UseDropdownReturn {\n /** collapse handler */\n toggleHandler: (event: ClickEvent) => void;\n /** collapsed state */\n isOpen: boolean;\n}\n\nexport const useDropdown = ({\n dropdownRef,\n triggerRef,\n enableAutoClose,\n onAutoClose,\n}: UseDropdownProps): UseDropdownReturn => {\n const [open, setOpen] = useState<boolean>(false);\n\n const collapseHandler = () => setOpen(!open);\n\n const toggleHandler = (event: ClickEvent) => {\n event.preventDefault();\n collapseHandler();\n };\n\n const closeHandler = (event: Event) => {\n if (!enableAutoClose) {\n return;\n }\n\n if (!triggerRef?.current?.contains(event?.target as Node)) {\n if (onAutoClose) {\n onAutoClose(event);\n }\n\n setOpen(false);\n }\n };\n\n useClickOutside({ ref: dropdownRef, callback: closeHandler });\n\n return {\n toggleHandler,\n isOpen: open,\n };\n};\n","import { Placements } from '../../constants';\nimport {\n type Booleanish,\n type ClickEvent,\n type DropdownFullWidthMode,\n type PlacementDictionaryType,\n} from '../../types';\n\nconst NAME_ARIA_EXPANDED = 'aria-expanded';\nconst NAME_ARIA_CONTROLS = 'aria-controls';\nconst NAME_DATA_FULLWIDTHMODE = 'data-spirit-fullwidthmode';\nconst NAME_DATA_PLACEMENT = 'data-spirit-placement';\n\nexport enum fullWidthModeKeys {\n 'off' = 'off',\n 'mobile-only' = 'mobile-only',\n 'all' = 'all',\n}\nexport interface UseDropdownAriaPropsProps {\n /** element ID */\n id: string;\n /** open state */\n isOpen: boolean;\n /** fullWidthMode */\n fullWidthMode: DropdownFullWidthMode | undefined;\n /** placement */\n placement?: PlacementDictionaryType;\n /** toggle callback */\n toggleHandler: (event: ClickEvent) => void;\n}\n\nexport interface UseDropdownAriaPropsReturn {\n /** content returned props */\n contentProps: {\n id: string;\n [NAME_DATA_FULLWIDTHMODE]?: keyof typeof fullWidthModeKeys | undefined;\n [NAME_DATA_PLACEMENT]?: PlacementDictionaryType;\n };\n /** trigger returned props */\n triggerProps: {\n [NAME_ARIA_EXPANDED]: Booleanish;\n [NAME_ARIA_CONTROLS]: string;\n onClick: (event: ClickEvent) => void;\n };\n}\n\nexport const useDropdownAriaProps = (props: UseDropdownAriaPropsProps): UseDropdownAriaPropsReturn => {\n const { fullWidthMode, id, isOpen, placement = Placements.BOTTOM_START, toggleHandler } = props;\n\n const triggerProps = {\n [NAME_ARIA_EXPANDED]: isOpen,\n [NAME_ARIA_CONTROLS]: String(id),\n onClick: toggleHandler,\n };\n const contentProps = {\n id,\n [NAME_DATA_FULLWIDTHMODE]: fullWidthMode,\n [NAME_DATA_PLACEMENT]: placement,\n };\n\n return {\n contentProps,\n triggerProps,\n };\n};\n","import classNames from 'classnames';\nimport { CLASS_NAME_OPEN } from '../../constants';\nimport { type AlignmentPropertyType, useAlignmentClass, useClassNamePrefix } from '../../hooks';\nimport { type DropdownStyleProps } from '../../types';\n\nexport interface UseDropdownStylePropsReturn {\n classProps: {\n root: string;\n trigger: string;\n popover: string;\n };\n props: DropdownStyleProps;\n}\n\nexport const useDropdownStyleProps = (props: DropdownStyleProps = { isOpen: false }): UseDropdownStylePropsReturn => {\n const { alignmentX, alignmentY, isOpen, ...modifiedProps } = props;\n\n const dropdownRootClass = useClassNamePrefix('Dropdown');\n const dropdownPopoverClass = `${dropdownRootClass}Popover`;\n const expandedClass = isOpen ? 'is-expanded' : '';\n const openClass = isOpen ? CLASS_NAME_OPEN : '';\n\n const rootClass = classNames(dropdownRootClass, {\n [useAlignmentClass(dropdownRootClass, alignmentX as AlignmentPropertyType, 'alignmentX')]: alignmentX,\n [useAlignmentClass(dropdownRootClass, alignmentY as AlignmentPropertyType, 'alignmentY')]: alignmentY,\n });\n\n const popoverClass = classNames(dropdownPopoverClass, openClass);\n const triggerClass = classNames(expandedClass);\n\n return {\n classProps: {\n root: rootClass,\n trigger: triggerClass,\n popover: popoverClass,\n },\n props: modifiedProps,\n };\n};\n","'use client';\n\nimport classNames from 'classnames';\nimport React, { type ReactElement } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritEmptyStateProps } from '../../types/emptyState';\nimport { Stack } from '../Stack';\nimport { useEmptyStateStyleProps } from './useEmptyStateStyleProps';\n\nconst EmptyState = (props: SpiritEmptyStateProps): ReactElement => {\n const { children, ...restProps } = props;\n const { classProps, props: modifiedProps } = useEmptyStateStyleProps(restProps);\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n\n return (\n <Stack\n {...otherProps}\n UNSAFE_className={classNames(classProps.root, styleProps.className)}\n UNSAFE_style={styleProps.style}\n >\n {children}\n </Stack>\n );\n};\n\nEmptyState.spiritComponent = 'EmptyState';\n\nexport default EmptyState;\n","'use client';\n\nimport classNames from 'classnames';\nimport React, { type ReactElement } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritEmptyStateProps } from '../../types/emptyState';\nimport { Stack } from '../Stack';\nimport { useEmptyStateStyleProps } from './useEmptyStateStyleProps';\n\nconst EmptyStateSection = (props: SpiritEmptyStateProps): ReactElement => {\n const { children, ...restProps } = props;\n const { classProps, props: modifiedProps } = useEmptyStateStyleProps(restProps);\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n\n return (\n <Stack\n {...otherProps}\n UNSAFE_className={classNames(classProps.section, styleProps.className)}\n UNSAFE_style={styleProps.style}\n >\n {children}\n </Stack>\n );\n};\n\nEmptyStateSection.spiritComponent = 'EmptyStateSection';\n\nexport default EmptyStateSection;\n","export { default as EmptyState } from './EmptyState';\nexport { default as EmptyStateSection } from './EmptyStateSection';\nexport * from './useEmptyStateStyleProps';\n","import { useClassNamePrefix } from '../../hooks';\nimport { type SpiritEmptyStateProps } from '../../types/emptyState';\n\nexport interface EmptyStateStyles<T> {\n classProps: {\n root: string;\n section: string;\n };\n props: T;\n}\n\nexport function useEmptyStateStyleProps(props: SpiritEmptyStateProps): EmptyStateStyles<SpiritEmptyStateProps> {\n const emptyStateClass = useClassNamePrefix('EmptyState');\n const sectionClass = `${emptyStateClass}__section`;\n\n return {\n classProps: {\n root: emptyStateClass,\n section: sectionClass,\n },\n props,\n };\n}\n","'use client';\n\nimport React, { type ElementType, useEffect } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { mergeStyleProps } from '../../utils';\nimport { type HelperTextProps } from './types';\n\nconst defaultProps: Partial<HelperTextProps> = {\n elementType: 'div',\n id: undefined,\n registerAria: undefined,\n};\n\nconst HelperText = <T extends ElementType = 'div'>(props: HelperTextProps<T>) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const {\n helperText,\n elementType: ElementTag = defaultProps.elementType as ElementType,\n id,\n registerAria,\n ...restProps\n } = propsWithDefaults;\n const { styleProps, props: transferProps } = useStyleProps(restProps);\n const mergedStyleProps = mergeStyleProps(ElementTag, { styleProps, transferProps });\n\n useEffect(() => {\n helperText && registerAria?.({ add: id });\n\n return () => {\n registerAria?.({ remove: id });\n };\n }, [helperText, id, registerAria]);\n\n if (helperText) {\n return (\n <ElementTag {...transferProps} {...mergedStyleProps} id={id}>\n {helperText}\n </ElementTag>\n );\n }\n\n return null;\n};\n\nHelperText.spiritComponent = 'HelperText';\n\nexport default HelperText;\n","'use client';\n\nimport React, { type ElementType } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritLabelProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\n\nconst Label = <T extends ElementType = 'label'>(props: SpiritLabelProps<T>): JSX.Element => {\n const { elementType: ElementTag = 'label', children, htmlFor, for: labelFor, ...restProps } = props;\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n const mergedStyleProps = mergeStyleProps(ElementTag, { styleProps, otherProps });\n\n return (\n <ElementTag\n {...otherProps}\n {...mergedStyleProps}\n htmlFor={ElementTag === 'label' ? labelFor || htmlFor : undefined}\n >\n {children}\n </ElementTag>\n );\n};\n\nLabel.spiritComponent = 'Label';\n\nexport default Label;\n","'use client';\n\nimport React, { type ElementType, useEffect } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { mergeStyleProps } from '../../utils';\nimport { Icon } from '../Icon';\nimport { type ValidationTextProps } from './types';\nimport { useValidationIcon } from './useValidationIcon';\n\nconst defaultProps: Partial<ValidationTextProps> = {\n elementType: 'div',\n id: undefined,\n registerAria: undefined,\n role: undefined,\n};\n\nconst ValidationText = <T extends ElementType = 'div'>(props: ValidationTextProps<T>) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const {\n elementType: ElementTag = defaultProps.elementType as ElementType,\n id,\n hasValidationStateIcon,\n registerAria,\n role,\n validationText,\n ...restProps\n } = propsWithDefaults;\n const validationIconName = useValidationIcon({ hasValidationStateIcon });\n const { styleProps, props: transferProps } = useStyleProps(restProps);\n const mergedStyleProps = mergeStyleProps(ElementTag, { styleProps, transferProps });\n\n useEffect(() => {\n validationText && registerAria?.({ add: id });\n\n return () => {\n registerAria?.({ remove: id });\n };\n }, [id, registerAria, validationText]);\n\n if (!validationText) {\n return null;\n }\n\n const nonArrayValidationText = hasValidationStateIcon ? <div>{validationText}</div> : validationText;\n\n return (\n <ElementTag {...transferProps} {...mergedStyleProps} id={id} role={role}>\n {hasValidationStateIcon && <Icon name={validationIconName} boxSize=\"20\" />}\n {Array.isArray(validationText) ? (\n <ul>\n {validationText.map((item) => (\n <li key={`validationText_${item}`}>{item}</li>\n ))}\n </ul>\n ) : (\n nonArrayValidationText\n )}\n </ElementTag>\n );\n};\n\nValidationText.spiritComponent = 'ValidationText';\n\nexport default ValidationText;\n","export const A11Y_ALERT_ROLE = 'alert';\n","export { default as HelperText } from './HelperText';\nexport { default as Label } from './Label';\nexport { default as useAriaIds } from './useAriaIds';\nexport { default as ValidationText } from './ValidationText';\nexport * from './useAriaIds';\n","'use client';\n\nimport { useCallback, useState } from 'react';\n\nexport type RegisterParams = { add?: string; remove?: string };\nexport type RegisterType = (params: RegisterParams) => void;\nexport type UseAriaIdsHook = (otherAriaIds?: string) => [string[], RegisterType];\n\nconst useAriaIds: UseAriaIdsHook = (otherAriaIds) => {\n const [ids, setIds] = useState<string[]>(otherAriaIds ? otherAriaIds.split(' ') : []);\n\n const register = useCallback(({ add, remove }: RegisterParams) => {\n setIds((prevIds) => {\n let newIds = [...prevIds];\n\n if (remove) {\n newIds = newIds.filter((item) => item !== remove);\n }\n\n if (add) {\n newIds = [...newIds, add];\n }\n\n return newIds;\n });\n }, []);\n\n return [ids, register];\n};\n\nexport default useAriaIds;\n","import { useIconName } from '../../hooks';\nimport { type ValidationTextProps } from './types';\n\nexport function useValidationIcon({ hasValidationStateIcon }: ValidationTextProps) {\n const iconNameValue = useIconName(hasValidationStateIcon as string, {\n success: 'check-plain',\n warning: 'warning',\n danger: 'danger',\n });\n\n return iconNameValue;\n}\n","'use client';\n\nimport { useEffect, useRef, useState } from 'react';\nimport { type ValidationState, type ValidationTextType } from '../../types/shared';\nimport { A11Y_ALERT_ROLE } from './constants';\n\nexport const useValidationTextRole = ({\n validationState,\n validationText,\n}: {\n validationState?: ValidationState;\n validationText?: ValidationTextType;\n}) => {\n const [role, setRole] = useState<string | undefined>();\n const previousValidationText = useRef(validationText);\n const previousValidationState = useRef(validationState);\n\n useEffect(() => {\n if (previousValidationText.current !== validationText || previousValidationState.current !== validationState) {\n setRole(A11Y_ALERT_ROLE);\n }\n previousValidationText.current = validationText;\n previousValidationState.current = validationState;\n }, [validationText, validationState]);\n\n return role;\n};\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useAriaDescribedBy, useStyleProps } from '../../hooks';\nimport { type SpiritFieldGroupProps } from '../../types';\nimport { HelperText, ValidationText, useAriaIds } from '../Field';\nimport { useValidationTextRole } from '../Field/useValidationTextRole';\nimport { VisuallyHidden } from '../VisuallyHidden';\nimport { useFieldGroupStyleProps } from './useFieldGroupStyleProps';\n\nconst FieldGroup = (props: SpiritFieldGroupProps) => {\n const {\n 'aria-describedby': ariaDescribedBy = '',\n children,\n helperText,\n hasValidationIcon,\n id,\n isDisabled,\n isFluid,\n isLabelHidden,\n isRequired,\n label,\n validationState,\n validationText,\n ...rest\n } = props;\n\n const { classProps } = useFieldGroupStyleProps({ hasValidationIcon, isFluid, isRequired, validationState });\n const { styleProps, props: transferProps } = useStyleProps(rest);\n const [ids, register] = useAriaIds(ariaDescribedBy);\n const ariaDescribedByProp = useAriaDescribedBy(ids);\n const validationTextRole = useValidationTextRole({\n validationState,\n validationText,\n });\n\n return (\n <fieldset\n {...transferProps}\n {...styleProps}\n {...ariaDescribedByProp}\n className={classNames(classProps.root, styleProps.className)}\n disabled={isDisabled}\n >\n <VisuallyHidden elementType=\"legend\">{label}</VisuallyHidden>\n {!isLabelHidden && (\n <div className={classProps.label} aria-hidden=\"true\">\n {label}\n </div>\n )}\n <div className={classProps.fields}>{children}</div>\n <HelperText\n UNSAFE_className={classProps.helperText}\n id={`${id}__helperText`}\n registerAria={register}\n helperText={helperText}\n />\n {validationState && (\n <ValidationText\n UNSAFE_className={classProps.validationText}\n {...(hasValidationIcon && { hasValidationStateIcon: validationState })}\n id={`${id}__helperText`}\n validationText={validationText}\n registerAria={register}\n role={validationTextRole}\n />\n )}\n </fieldset>\n );\n};\n\nFieldGroup.spiritComponent = 'FieldGroup';\n\nexport default FieldGroup;\n","export { default as FieldGroup } from './FieldGroup';\n","import classNames from 'classnames';\nimport { useClassNamePrefix } from '../../hooks';\nimport { type Validation } from '../../types';\n\nexport interface UseFieldGroupStyleProps extends Validation {\n isFluid?: boolean;\n}\n\nexport interface UseFieldGroupStyleReturn {\n /** className props */\n classProps: {\n root: string;\n label: string;\n fields: string;\n validationText: string;\n helperText: string;\n };\n}\n\nexport const useFieldGroupStyleProps = ({\n isFluid,\n isRequired,\n validationState,\n}: UseFieldGroupStyleProps): UseFieldGroupStyleReturn => {\n const fieldGroupRootClass = useClassNamePrefix('FieldGroup');\n const fieldGroupRootFluidClass = `${fieldGroupRootClass}--fluid`;\n const fieldGroupRootValidationClass = `${fieldGroupRootClass}--${validationState}`;\n const fieldGroupLabelClass = `${fieldGroupRootClass}__label`;\n const fieldGroupLabelRequiredClass = `${fieldGroupLabelClass}--required`;\n const fieldGroupFieldsClass = `${fieldGroupRootClass}__fields`;\n const fieldGroupValidationTextClass = `${fieldGroupRootClass}__validationText`;\n const fieldGroupHelperTextClass = `${fieldGroupRootClass}__helperText`;\n\n return {\n classProps: {\n root: classNames(fieldGroupRootClass, {\n [fieldGroupRootFluidClass]: isFluid,\n [fieldGroupRootValidationClass]: validationState,\n }),\n label: classNames(fieldGroupLabelClass, {\n [fieldGroupLabelRequiredClass]: isRequired,\n }),\n fields: fieldGroupFieldsClass,\n validationText: fieldGroupValidationTextClass,\n helperText: fieldGroupHelperTextClass,\n },\n };\n};\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritAttachmentActionButtonProps } from '../../types';\nimport { Icon } from '../Icon';\nimport { VisuallyHidden } from '../VisuallyHidden';\nimport { useFileUploaderStyleProps } from './useFileUploaderStyleProps';\n\nconst AttachmentActionButton = (props: SpiritAttachmentActionButtonProps) => {\n const { name = 'edit', children, ...restProps } = props;\n\n const { classProps } = useFileUploaderStyleProps();\n const { styleProps, props: transferProps } = useStyleProps(restProps);\n\n return (\n <button\n type=\"button\"\n {...transferProps}\n {...styleProps}\n className={classNames(classProps.attachment.button, styleProps.className)}\n >\n <VisuallyHidden>{children}</VisuallyHidden>\n <Icon name={name} aria-hidden=\"true\" />\n </button>\n );\n};\n\nAttachmentActionButton.spiritComponent = 'AttachmentActionButton';\n\nexport default AttachmentActionButton;\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritAttachmentDismissButtonProps } from '../../types';\nimport { Icon } from '../Icon';\nimport { VisuallyHidden } from '../VisuallyHidden';\nimport { useFileUploaderStyleProps } from './useFileUploaderStyleProps';\n\nconst AttachmentDismissButton = (props: SpiritAttachmentDismissButtonProps) => {\n const { children, ...restProps } = props;\n\n const { classProps } = useFileUploaderStyleProps();\n const { styleProps, props: transferProps } = useStyleProps(restProps);\n\n return (\n <button\n type=\"button\"\n {...transferProps}\n {...styleProps}\n className={classNames(classProps.attachment.button, styleProps.className)}\n >\n <VisuallyHidden>{children}</VisuallyHidden>\n <Icon name=\"close\" aria-hidden=\"true\" />\n </button>\n );\n};\n\nAttachmentDismissButton.spiritComponent = 'AttachmentDismissButton';\n\nexport default AttachmentDismissButton;\n","'use client';\n\nimport React from 'react';\nimport { type AttachmentImagePreviewProps } from '../../types';\nimport { IMAGE_DIMENSION } from './constants';\nimport { useFileUploaderStyleProps } from './useFileUploaderStyleProps';\n\nconst defaultProps: Partial<AttachmentImagePreviewProps> = {\n meta: undefined,\n imageObjectFit: 'cover',\n};\n\nconst AttachmentImagePreview = (props: AttachmentImagePreviewProps) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { label, imagePreview, meta, imageObjectFit } = propsWithDefaults;\n const { classProps } = useFileUploaderStyleProps({ meta, imageObjectFit });\n const { imageCropStyles, attachmentStyles } = classProps;\n\n return (\n <span className={classProps.attachment.image}>\n <img\n src={imagePreview}\n width={IMAGE_DIMENSION}\n height={IMAGE_DIMENSION}\n alt={label}\n style={{ ...imageCropStyles, ...attachmentStyles }}\n />\n </span>\n );\n};\n\nAttachmentImagePreview.spiritComponent = 'AttachmentImagePreview';\n\nexport default AttachmentImagePreview;\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritFileUploaderProps } from '../../types';\nimport {\n DEFAULT_ERROR_MESSAGE_MAX_FILE_SIZE,\n DEFAULT_ERROR_MESSAGE_QUEUE_DUPLICITY,\n DEFAULT_ERROR_MESSAGE_QUEUE_LIMIT,\n DEFAULT_ERROR_MESSAGE_UNSUPPORTED_FILE,\n} from './constants';\nimport { FileUploaderProvider } from './FileUploaderContext';\nimport { useFileUploaderStyleProps } from './useFileUploaderStyleProps';\n\nconst FileUploader = (props: SpiritFileUploaderProps) => {\n const {\n addToQueue,\n children,\n clearQueue,\n errorMessages,\n fileQueue,\n findInQueue,\n id,\n isFluid,\n onDismiss,\n updateQueue,\n ...restProps\n } = props;\n\n const { classProps } = useFileUploaderStyleProps({ isFluid });\n const { styleProps, props: transferProps } = useStyleProps(restProps);\n\n const contextValue = {\n addToQueue,\n clearQueue,\n fileQueue,\n onDismiss,\n findInQueue,\n updateQueue,\n errorMessages: {\n errorFileDuplicity: DEFAULT_ERROR_MESSAGE_QUEUE_DUPLICITY,\n errorFileNotSupported: DEFAULT_ERROR_MESSAGE_UNSUPPORTED_FILE,\n errorMaxFileSize: DEFAULT_ERROR_MESSAGE_MAX_FILE_SIZE,\n errorMaxUploadedFiles: DEFAULT_ERROR_MESSAGE_QUEUE_LIMIT,\n ...errorMessages,\n },\n };\n\n return (\n <FileUploaderProvider value={contextValue}>\n <div id={id} {...transferProps} {...styleProps} className={classNames(classProps.root, styleProps.className)}>\n {children}\n </div>\n </FileUploaderProvider>\n );\n};\n\nFileUploader.spiritComponent = 'FileUploader';\n\nexport default FileUploader;\n","'use client';\n\nimport classNames from 'classnames';\nimport React, { type MouseEvent, type RefObject, useRef, useState } from 'react';\nimport { useClassNamePrefix, useStyleProps } from '../../hooks';\nimport { type SpiritFileUploaderAttachmentProps } from '../../types';\nimport { Icon } from '../Icon';\nimport AttachmentActionButton from './AttachmentActionButton';\nimport AttachmentDismissButton from './AttachmentDismissButton';\nimport AttachmentImagePreview from './AttachmentImagePreview';\nimport {\n DEFAULT_BUTTON_LABEL,\n DEFAULT_EDIT_BUTTON_LABEL,\n DEFAULT_ICON_NAME,\n IMAGE_PREVIEW_BASE64_MAX_WIDTH,\n} from './constants';\nimport { useFileUploaderAttachment } from './useFileUploaderAttachment';\nimport { useFileUploaderStyleProps } from './useFileUploaderStyleProps';\nimport { image2Base64Preview } from './utils';\n\nconst FileUploaderAttachment = (props: SpiritFileUploaderAttachmentProps) => {\n const {\n editText,\n file,\n hasImagePreview,\n iconName = DEFAULT_ICON_NAME,\n id,\n imageObjectFit,\n label,\n meta,\n name,\n onDismiss,\n onEdit,\n onError,\n removeText,\n ...restProps\n } = props;\n const [imagePreview, setImagePreview] = useState<string>('');\n\n const { classProps } = useFileUploaderStyleProps();\n const { styleProps, props: transferProps } = useStyleProps(restProps);\n\n const isFileImage = file.type.includes('image');\n\n const attachmentRef = useRef() as RefObject<HTMLLIElement>;\n\n const dismissHandler = () => {\n if (onDismiss) {\n onDismiss(id);\n }\n };\n\n const onEditHandler = (event: MouseEvent) => onEdit && onEdit(event, file);\n\n if (isFileImage) {\n image2Base64Preview(file, IMAGE_PREVIEW_BASE64_MAX_WIDTH, (compressedDataURL) =>\n setImagePreview(compressedDataURL),\n );\n }\n\n useFileUploaderAttachment({ attachmentRef, file, name, meta, onError });\n\n return (\n <li\n id={id}\n ref={attachmentRef}\n {...transferProps}\n {...styleProps}\n className={classNames(classProps.attachment.root, styleProps.className)}\n >\n {hasImagePreview && imagePreview ? (\n <AttachmentImagePreview label={label} imagePreview={imagePreview} meta={meta} imageObjectFit={imageObjectFit} />\n ) : (\n <Icon name={iconName} aria-hidden=\"true\" />\n )}\n <span className={classProps.attachment.name}>\n <span className={useClassNamePrefix('text-truncate')}>{label}</span>\n </span>\n {onEdit && (\n <span className={classProps.attachment.slot}>\n <AttachmentActionButton onClick={onEditHandler}>\n {editText || DEFAULT_EDIT_BUTTON_LABEL}\n </AttachmentActionButton>\n </span>\n )}\n <AttachmentDismissButton onClick={dismissHandler}>{removeText || DEFAULT_BUTTON_LABEL}</AttachmentDismissButton>\n </li>\n );\n};\n\nFileUploaderAttachment.spiritComponent = 'FileUploaderAttachment';\n\nexport default FileUploaderAttachment;\n","'use client';\n\nimport { createContext, useContext } from 'react';\nimport { type FileUploaderErrorMessagesProps, type FileUploaderHandlingProps } from '../../types';\n\nexport interface FileUploaderContextProps extends FileUploaderHandlingProps, FileUploaderErrorMessagesProps {}\n\nconst defaultContext: FileUploaderContextProps = {\n addToQueue: () => new Map(),\n clearQueue: () => null,\n fileQueue: new Map(),\n onDismiss: () => new Map(),\n findInQueue: () => null,\n updateQueue: () => new Map(),\n errorMessages: {\n errorFileDuplicity: '',\n errorFileNotSupported: '',\n errorMaxFileSize: '',\n errorMaxUploadedFiles: '',\n },\n};\n\nconst FileUploaderContext = createContext<FileUploaderContextProps>(defaultContext);\nconst FileUploaderProvider = FileUploaderContext.Provider;\nconst FileUploaderConsumer = FileUploaderContext.Consumer;\nconst useFileUploaderContext = (): FileUploaderContextProps => useContext(FileUploaderContext);\n\nexport default FileUploaderContext;\nexport { FileUploaderProvider, FileUploaderConsumer, useFileUploaderContext };\n","'use client';\n\nimport classNames from 'classnames';\nimport React, { useEffect, useState } from 'react';\nimport { useAriaDescribedBy, useStyleProps } from '../../hooks';\nimport { type SpiritFileUploaderInputProps } from '../../types';\nimport { HelperText, Label, ValidationText, useAriaIds } from '../Field';\nimport { useValidationTextRole } from '../Field/useValidationTextRole';\nimport { Icon } from '../Icon';\nimport { DEFAULT_FILE_QUEUE_LIMIT, DEFAULT_FILE_SIZE_LIMIT } from './constants';\nimport { useFileUploaderInput } from './useFileUploaderInput';\nimport { useFileUploaderStyleProps } from './useFileUploaderStyleProps';\n\nconst FileUploaderInput = (props: SpiritFileUploaderInputProps) => {\n const [isDragAndDropSupported, setIsDragAndDropSupported] = useState(false);\n const {\n accept,\n 'aria-describedby': ariaDescribedBy = '',\n dropZoneRef,\n hasValidationIcon,\n helperText,\n iconName = 'upload',\n id,\n inputRef,\n isDisabled,\n isLabelHidden,\n isMultiple,\n isRequired,\n label,\n labelText,\n linkText,\n maxFileSize = DEFAULT_FILE_SIZE_LIMIT,\n maxUploadedFiles = DEFAULT_FILE_QUEUE_LIMIT,\n onError,\n queueLimitBehavior = 'none',\n validationState,\n validationText,\n ...restProps\n } = props;\n const {\n isDisabledByQueueLimitBehavior,\n isDragging,\n isDropZoneHidden,\n onChange,\n onDragEnter,\n onDragLeave,\n onDragOver,\n onDrop,\n } = useFileUploaderInput({\n accept,\n isMultiple,\n maxFileSize,\n maxUploadedFiles,\n onError,\n queueLimitBehavior,\n });\n const { classProps } = useFileUploaderStyleProps({\n hasValidationIcon,\n isDisabled,\n isDisabledByQueueLimitBehavior,\n isDragAndDropSupported,\n isDragging,\n isDropZoneHidden,\n isLabelHidden,\n isRequired,\n queueLimitBehavior,\n validationState,\n });\n const { styleProps, props: transferProps } = useStyleProps(restProps);\n const [ids, register] = useAriaIds(ariaDescribedBy);\n const ariaDescribedByProp = useAriaDescribedBy(ids);\n const validationTextRole = useValidationTextRole({\n validationState,\n validationText,\n });\n\n useEffect(() => {\n setIsDragAndDropSupported('draggable' in document.createElement('span'));\n }, []);\n\n return (\n <div\n {...transferProps}\n {...styleProps}\n onDragOver={!isDisabled && isDragAndDropSupported ? onDragOver : undefined}\n onDragEnter={!isDisabled && isDragAndDropSupported ? onDragEnter : undefined}\n onDragLeave={!isDisabled && isDragAndDropSupported ? onDragLeave : undefined}\n onDrop={!isDisabled && isDragAndDropSupported ? onDrop : undefined}\n className={classNames(classProps.input.root, styleProps.className)}\n >\n <Label htmlFor={id} UNSAFE_className={classProps.input.label}>\n {label}\n </Label>\n <input\n {...ariaDescribedByProp}\n type=\"file\"\n accept={accept}\n id={id}\n ref={inputRef}\n className={classProps.input.input}\n onChange={onChange}\n multiple={isMultiple}\n disabled={isDisabled || isDisabledByQueueLimitBehavior}\n {...restProps}\n />\n <div ref={dropZoneRef} className={classProps.input.dropZone.root}>\n <Icon name={iconName} aria-hidden=\"true\" />\n <Label htmlFor={id} UNSAFE_className={classProps.input.dropZone.label}>\n <span className={classProps.input.link}>{linkText}</span>\n &nbsp;\n <span className={classProps.input.dropLabel}>{labelText}</span>\n </Label>\n <HelperText\n UNSAFE_className={classProps.input.helper}\n id={`${id}__helperText`}\n registerAria={register}\n helperText={helperText}\n />\n </div>\n {validationState && (\n <ValidationText\n UNSAFE_className={classProps.input.validationText}\n elementType=\"span\"\n {...(hasValidationIcon && { hasValidationStateIcon: validationState })}\n id={`${id}__validationText`}\n validationText={validationText}\n registerAria={register}\n role={validationTextRole}\n />\n )}\n </div>\n );\n};\n\nFileUploaderInput.spiritComponent = 'FileUploaderInput';\n\nexport default FileUploaderInput;\n","'use client';\n\nimport classNames from 'classnames';\nimport React, { useMemo } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritFileUploaderListProps } from '../../types';\nimport { useFileUploaderContext } from './FileUploaderContext';\nimport { useFileUploaderStyleProps } from './useFileUploaderStyleProps';\n\nconst FileUploaderList = (props: SpiritFileUploaderListProps) => {\n const { label, id, attachmentComponent, inputName, hasImagePreview, ...restProps } = props;\n\n const { classProps } = useFileUploaderStyleProps();\n const { styleProps, props: transferProps } = useStyleProps(restProps);\n const { fileQueue, onDismiss } = useFileUploaderContext();\n\n const renderAttachments = useMemo(() => {\n const fileArray = Array.from(fileQueue, (entry) => ({ key: entry[0], file: entry[1].file, meta: entry[1].meta }));\n\n return fileArray.map(\n ({ key, file, meta }) =>\n attachmentComponent &&\n attachmentComponent({\n id: key,\n label: file.name,\n name: inputName,\n file,\n meta,\n onDismiss,\n hasImagePreview,\n }),\n );\n }, [attachmentComponent, fileQueue, inputName, onDismiss, hasImagePreview]);\n\n return (\n <>\n <h3 id={id} hidden>\n {label}\n </h3>\n <ul\n aria-labelledby={id}\n {...transferProps}\n {...styleProps}\n className={classNames(classProps.list, styleProps.className)}\n >\n {renderAttachments}\n </ul>\n </>\n );\n};\n\nFileUploaderList.spiritComponent = 'FileUploaderList';\n\nexport default FileUploaderList;\n","'use client';\n\nimport React, { useEffect } from 'react';\nimport { type SpiritUncontrolledFileUploaderProps } from '../../types';\nimport FileUploader from './FileUploader';\nimport FileUploaderInput from './FileUploaderInput';\nimport FileUploaderList from './FileUploaderList';\nimport { useFileQueue } from './useFileQueue';\n\nconst UncontrolledFileUploader = (props: SpiritUncontrolledFileUploaderProps) => {\n const {\n attachmentComponent,\n maxFileSize,\n maxUploadedFiles,\n helperText,\n iconName,\n inputId,\n inputLabel,\n inputName,\n inputProps,\n isLabelHidden,\n isDisabled,\n isFluid,\n queueLimitBehavior,\n isMultiple,\n isRequired,\n labelText,\n linkText,\n listId,\n listProps,\n onInputError,\n onChange,\n errorMessages,\n validationState,\n validationText,\n ...restProps\n } = props;\n\n const { fileQueue, addToQueue, clearQueue, onDismiss, findInQueue, updateQueue } = useFileQueue();\n\n useEffect(() => {\n if (onChange) {\n onChange(fileQueue);\n }\n // We only want a dependency for fileQueue\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [fileQueue]);\n\n return (\n <FileUploader\n fileQueue={fileQueue}\n onDismiss={onDismiss}\n addToQueue={addToQueue}\n clearQueue={clearQueue}\n findInQueue={findInQueue}\n updateQueue={updateQueue}\n errorMessages={errorMessages}\n isFluid={isFluid}\n {...restProps}\n >\n <FileUploaderInput\n maxFileSize={maxFileSize}\n maxUploadedFiles={maxUploadedFiles}\n helperText={helperText}\n iconName={iconName}\n id={inputId}\n isLabelHidden={isLabelHidden}\n isDisabled={isDisabled}\n queueLimitBehavior={queueLimitBehavior}\n isMultiple={isMultiple}\n isRequired={isRequired}\n label={inputLabel}\n labelText={labelText}\n linkText={linkText}\n name={inputName}\n onError={onInputError}\n validationState={validationState}\n validationText={validationText}\n {...inputProps}\n />\n <FileUploaderList id={listId} inputName={inputName} attachmentComponent={attachmentComponent} {...listProps} />\n </FileUploader>\n );\n};\n\nUncontrolledFileUploader.spiritComponent = 'UncontrolledFileUploader';\n\nexport default UncontrolledFileUploader;\n","export const DEFAULT_FILE_SIZE_LIMIT = 10000000; // = 10 MB\nexport const DEFAULT_FILE_QUEUE_LIMIT = 1;\nexport const IMAGE_DIMENSION = 54; // px; @see: CSS class `.FileUploaderAttachment__image` in _FileUploaderAttachment.scss\nexport const IMAGE_PREVIEW_BASE64_MAX_WIDTH = 500; // px\n\nexport const DEFAULT_ERROR_MESSAGE_MAX_FILE_SIZE = 'The file size limit has been exceeded';\nexport const DEFAULT_ERROR_MESSAGE_QUEUE_DUPLICITY = 'This file already exists in the queue';\nexport const DEFAULT_ERROR_MESSAGE_QUEUE_LIMIT = 'You have exceeded the number of files allowed in the queue';\nexport const DEFAULT_ERROR_MESSAGE_UNSUPPORTED_FILE = 'This file type is not supported';\nexport const DEFAULT_ICON_NAME = 'file';\nexport const DEFAULT_BUTTON_LABEL = 'Remove';\nexport const DEFAULT_EDIT_BUTTON_LABEL = 'Edit';\n\nexport const FileUploaderCropCSS = {\n TOP: '--file-uploader-attachment-image-top',\n LEFT: '--file-uploader-attachment-image-left',\n WIDTH: '--file-uploader-attachment-image-width',\n HEIGHT: '--file-uploader-attachment-image-height',\n} as const;\n","export { default as FileUploader } from './FileUploader';\nexport { default as FileUploaderInput } from './FileUploaderInput';\nexport { default as FileUploaderList } from './FileUploaderList';\nexport { default as FileUploaderAttachment } from './FileUploaderAttachment';\nexport { default as AttachmentActionButton } from './AttachmentActionButton';\nexport { default as AttachmentDismissButton } from './AttachmentDismissButton';\nexport { default as UncontrolledFileUploader } from './UncontrolledFileUploader';\nexport * from './useFileUploaderStyleProps';\nexport * from './useFileUploaderAttachment';\nexport * from './useFileUploaderInput';\nexport * from './useFileQueue';\nexport * from './constants';\nexport * from './utils';\n","'use client';\n\nimport { useState } from 'react';\nimport { type FileMetadata, type FileQueueValueType, type FileUploaderHandlingProps } from '../../types';\n\nexport interface FileQueueReturn extends FileUploaderHandlingProps {}\n\nexport const useFileQueue = (): FileQueueReturn => {\n const [queue, setQueue] = useState<Map<string, FileQueueValueType>>(new Map());\n\n const onDismissHandler = (name: string) => {\n setQueue((prev) => {\n const newState = new Map(prev);\n newState.delete(name);\n\n return newState;\n });\n\n return queue;\n };\n\n const addToQueueHandler = (key: string, file: File, meta?: FileMetadata) => {\n setQueue((prev) => {\n const newValue: FileQueueValueType = { file };\n if (meta != null) {\n newValue.meta = meta;\n }\n\n return new Map(prev.set(key, newValue));\n });\n\n return queue;\n };\n\n const findInQueueHandler = (key: string) => queue.get(key) || null;\n\n const updateQueueHandler = (key: string, file: File, meta?: FileMetadata) => {\n setQueue((prev) => {\n const newState = new Map(prev);\n const newValue: FileQueueValueType = { file };\n\n if (meta != null) {\n newValue.meta = meta;\n }\n\n newState.set(key, newValue);\n\n return newState;\n });\n\n return queue;\n };\n\n const clearQueueHandler = () => {\n setQueue((prev) => {\n prev.clear();\n\n return new Map(prev);\n });\n };\n\n return {\n addToQueue: addToQueueHandler,\n clearQueue: clearQueueHandler,\n fileQueue: queue,\n findInQueue: findInQueueHandler,\n onDismiss: onDismissHandler,\n updateQueue: updateQueueHandler,\n };\n};\n","import { type RefObject } from 'react';\nimport { useIsomorphicLayoutEffect } from '../../hooks';\nimport { type FileMetadata } from '../../types/fileUploader';\nimport { getAttachmentInput, getAttachmentMetaInput } from './utils';\n\nexport interface UseFileUploaderAttachmentProps {\n attachmentRef: RefObject<HTMLLIElement>;\n file: File;\n meta?: FileMetadata;\n name: string;\n onError?: (error: string) => void;\n}\n\nexport const useFileUploaderAttachment = ({\n attachmentRef,\n file,\n name,\n meta,\n onError,\n}: UseFileUploaderAttachmentProps) => {\n useIsomorphicLayoutEffect(() => {\n const createAttachmentInput = (metadata?: FileMetadata) => {\n attachmentRef.current?.querySelectorAll('input').forEach((element) => element.remove());\n const attachmentInputElement = getAttachmentInput(file, name, onError);\n attachmentInputElement && attachmentRef.current?.appendChild(attachmentInputElement);\n\n if (metadata) {\n const attachmentInputMetaElement = getAttachmentMetaInput(file, name, metadata);\n attachmentRef.current?.appendChild(attachmentInputMetaElement);\n }\n };\n\n createAttachmentInput(meta);\n }, [attachmentRef, file, name, meta, onError]);\n};\n","'use client';\n\nimport { type ChangeEvent, type DragEvent, useEffect, useState } from 'react';\nimport { warning } from '../../common/utilities';\nimport { useDragAndDrop } from '../../hooks';\nimport {\n type DragAndDropHandlingProps,\n type FileQueueMapType,\n type FileUploaderQueueLimitBehaviorType,\n} from '../../types';\nimport { useFileUploaderContext } from './FileUploaderContext';\n\nexport interface UseFileUploaderInputProps {\n accept?: string;\n queueLimitBehavior?: FileUploaderQueueLimitBehaviorType;\n isMultiple?: boolean;\n maxFileSize: number;\n maxUploadedFiles: number;\n onError?: (error: string | Error) => void;\n}\n\nexport interface UseFileUploaderInputReturn extends DragAndDropHandlingProps<HTMLDivElement> {\n isDragging: boolean;\n isDropZoneHidden: boolean;\n isDisabledByQueueLimitBehavior: boolean;\n onChange: (event: ChangeEvent<HTMLInputElement>) => void;\n}\n\nexport const useFileUploaderInput = (props: UseFileUploaderInputProps): UseFileUploaderInputReturn => {\n const { maxFileSize, maxUploadedFiles, queueLimitBehavior, isMultiple, onError, accept } = props;\n\n const [disabledByQueueLimitBehavior, setDisabledByQueueLimitBehavior] = useState(false);\n const [dropZoneHidden, setDropZoneHidden] = useState(false);\n\n const { fileQueue, addToQueue, clearQueue, errorMessages } = useFileUploaderContext();\n\n const getUpdatedFileName = (name: string): string => `file__${name.replace(/\\./g, '_').replace(/\\s/g, '_')}`;\n\n const checkAllowedFileSize = (file: File) => {\n if (file.size > maxFileSize) {\n throw new Error(`${file.name}: ${errorMessages?.errorMaxFileSize}`);\n }\n };\n\n const checkIsMultiple = () => {\n if (maxUploadedFiles > 1 && !isMultiple) {\n throw new Error('`isMultiple` props must be set when maxUploadedFiles is greater than `1`');\n }\n };\n\n const checkFileDuplicity = (file: File) => {\n if (isMultiple && fileQueue.has(getUpdatedFileName(file.name))) {\n throw new Error(`${file.name}: ${errorMessages?.errorFileDuplicity}`);\n }\n };\n\n const checkQueueSize = () => {\n if (fileQueue.size >= maxUploadedFiles) {\n throw new Error(errorMessages?.errorMaxUploadedFiles);\n }\n };\n\n const checkAllowedFileType = (file: File) => {\n const fileExtension = file.name.split('.').pop()?.toLowerCase() as string;\n const fileType = file.type;\n const shouldValidate = accept && !(accept === '' || accept === '*' || accept === '*/*');\n let isTypeSupported;\n\n if (!shouldValidate) {\n isTypeSupported = true;\n } else {\n const acceptArray = accept.replace(/ /g, '').split(',');\n const acceptExtensions = acceptArray.filter((exp) => exp.match(/\\./g));\n const acceptTypes = acceptArray.filter((exp) => exp.match(/\\//g));\n\n acceptExtensions.forEach((acceptExtension) => {\n const expression = acceptExtension.replace('.', '').replace('*', '');\n\n if (fileExtension.match(expression)) {\n isTypeSupported = true;\n }\n });\n\n acceptTypes.forEach((acceptType) => {\n const expression = acceptType.replace('*', '');\n\n if (fileType.match(expression)) {\n isTypeSupported = true;\n }\n });\n }\n\n if (!isTypeSupported) {\n throw new Error(`${file.name}: ${errorMessages?.errorFileNotSupported}`);\n }\n };\n\n const updateDropZoneVisibility = (queue: FileQueueMapType) => {\n if (!queueLimitBehavior) {\n return;\n }\n\n if (queueLimitBehavior === 'hide') {\n setDropZoneHidden(queue?.size >= maxUploadedFiles);\n } else {\n setDisabledByQueueLimitBehavior(queue?.size >= maxUploadedFiles);\n }\n };\n\n const clearQueueHandler = () => {\n if (!isMultiple) {\n clearQueue();\n }\n };\n\n const fileProcessHandler = (file: File) => {\n try {\n clearQueueHandler();\n checkFileDuplicity(file);\n checkAllowedFileSize(file);\n checkAllowedFileType(file);\n checkQueueSize();\n checkIsMultiple();\n addToQueue(getUpdatedFileName(file.name), file);\n } catch (error) {\n if (onError) {\n onError(error);\n } else {\n warning(false, error);\n }\n }\n };\n\n const onDropHandler = (event: DragEvent<HTMLDivElement>) => {\n const transferItems = Array.from(event.dataTransfer.items);\n const transferFiles = Array.from(event.dataTransfer.files);\n\n let counter = 0;\n let overLimit;\n counter += fileQueue.size;\n\n if (event.dataTransfer.items) {\n transferItems.forEach((item) => {\n if (item.kind === 'file') {\n const file = item.getAsFile();\n if (file && counter < maxUploadedFiles) {\n fileProcessHandler(file);\n counter += 1;\n } else {\n overLimit = true;\n }\n }\n });\n } else {\n transferFiles.forEach((file) => {\n if (counter < maxUploadedFiles) {\n fileProcessHandler(file);\n counter += 1;\n } else {\n overLimit = true;\n }\n });\n }\n\n if (overLimit && onError && errorMessages?.errorMaxUploadedFiles) {\n onError(new Error(errorMessages?.errorMaxUploadedFiles));\n }\n };\n\n const onChangeHandler = (event: ChangeEvent<HTMLInputElement>) => {\n const { files } = event.target;\n const filesArray = Array.prototype.slice.call(files);\n\n let counter = 0;\n let overLimit;\n counter += fileQueue.size;\n\n filesArray.forEach((file: File) => {\n if (counter < maxUploadedFiles) {\n fileProcessHandler(file);\n counter += 1;\n } else {\n overLimit = true;\n }\n });\n\n if (overLimit && onError && errorMessages?.errorMaxUploadedFiles) {\n onError(new Error(errorMessages?.errorMaxUploadedFiles));\n }\n\n event.target.blur();\n event.target.value = '';\n };\n\n useEffect(() => {\n updateDropZoneVisibility(fileQueue);\n // We only want a dependency for fileQueue\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [fileQueue]);\n\n const dragAndDropProps = useDragAndDrop({\n onDrop: onDropHandler,\n });\n\n return {\n isDropZoneHidden: dropZoneHidden,\n isDisabledByQueueLimitBehavior: disabledByQueueLimitBehavior,\n onChange: onChangeHandler,\n ...dragAndDropProps,\n };\n};\n","import classNames from 'classnames';\nimport { type CSSProperties } from 'react';\nimport { type ObjectFit } from '../../constants';\nimport { useClassNamePrefix } from '../../hooks';\nimport { type FileMetadata, type FileUploaderQueueLimitBehaviorType, type Validation } from '../../types';\nimport { FileUploaderCropCSS, IMAGE_DIMENSION } from './constants';\n\nexport interface FileUploaderStyleProps extends Validation {\n imageObjectFit?: (typeof ObjectFit)[keyof typeof ObjectFit];\n isDisabled?: boolean;\n isDisabledByQueueLimitBehavior?: boolean;\n isDragAndDropSupported?: boolean;\n isDragging?: boolean;\n isDropZoneHidden?: boolean;\n isFluid?: boolean;\n isLabelHidden?: boolean;\n meta?: FileMetadata;\n queueLimitBehavior?: FileUploaderQueueLimitBehaviorType;\n}\n\ntype ImageCropCSS = {\n [FileUploaderCropCSS.TOP]?: string;\n [FileUploaderCropCSS.LEFT]?: string;\n [FileUploaderCropCSS.WIDTH]?: string;\n [FileUploaderCropCSS.HEIGHT]?: string;\n} & CSSProperties;\n\ntype ImageObjectFit = {\n '--file-uploader-attachment-image-object-fit': string;\n};\n\ntype ImageCropMeta = {\n x: number;\n y: number;\n cropWidth: number;\n cropHeight: number;\n originalWidth: number;\n originalHeight: number;\n};\n\nexport interface FileUploaderStyleReturn {\n /** className props */\n classProps: {\n root: string;\n input: {\n root: string;\n label: string;\n input: string;\n dropLabel: string;\n helper: string;\n link: string;\n validationText: string;\n dropZone: {\n root: string;\n label: string;\n };\n };\n list: string;\n attachment: {\n root: string;\n button: string;\n name: string;\n image: string;\n slot: string;\n };\n imageCropStyles?: ImageCropCSS;\n attachmentStyles?: ImageObjectFit;\n };\n}\n\nexport const useFileUploaderStyleProps = (props?: FileUploaderStyleProps): FileUploaderStyleReturn => {\n const fileUploaderClass = useClassNamePrefix('FileUploader');\n const fileUploaderHasDragAndDropClass = 'has-drag-and-drop';\n const fileUploaderFluidClass = `${fileUploaderClass}--fluid`;\n const fileUploaderInputClass = `${fileUploaderClass}Input`;\n const fileUploaderInputDisabledClass = `${fileUploaderInputClass}--disabled`;\n const fileUploaderInputValidationClass = `${fileUploaderInputClass}--${props?.validationState}`;\n const fileUploaderInputDraggingClass = 'is-dragging';\n const fileUploaderInputDropLabelClass = `${fileUploaderInputClass}__dragAndDropLabel`;\n const fileUploaderInputDropZoneClass = `${fileUploaderInputClass}__dropZone`;\n const fileUploaderInputDropZoneLabelClass = `${fileUploaderInputDropZoneClass}Label`;\n const fileUploaderInputHelperClass = `${fileUploaderInputClass}__helperText`;\n const fileUploaderInputHiddenClass = 'd-none';\n const fileUploaderInputInputClass = `${fileUploaderInputClass}__input`;\n const fileUploaderInputLabelClass = `${fileUploaderInputClass}__label`;\n const fileUploaderInputLabelHiddenClass = `${fileUploaderInputClass}__label--hidden`;\n const fileUploaderInputLabelRequiredClass = `${fileUploaderInputClass}__label--required`;\n const fileUploaderInputLinkClass = `${fileUploaderInputClass}__link`;\n const fileUploaderInputLinkUtilityClasses = ['link-primary', 'link-underlined'];\n const fileUploaderInputValidationTextClass = `${fileUploaderInputClass}__validationText`;\n const fileUploaderListClass = `${fileUploaderClass}List`;\n const fileUploaderAttachmentClass = `${fileUploaderClass}Attachment`;\n const fileUploaderAttachmentNameClass = `${fileUploaderAttachmentClass}__name`;\n const fileUploaderAttachmentButtonClass = `${fileUploaderAttachmentClass}__action`;\n const fileUploaderAttachmentImageClass = `${fileUploaderAttachmentClass}__image`;\n const fileUploaderAttachmentSlotClass = `${fileUploaderAttachmentClass}__slot`;\n\n const { meta, imageObjectFit } = props || {};\n let imageCropCSS: ImageCropCSS | undefined;\n let imageObjectFitCSS: ImageObjectFit | undefined;\n const hasCoordsInMeta =\n meta != null &&\n ['x', 'y', 'cropWidth', 'cropHeight', 'originalWidth', 'originalHeight'].every((coord) => meta[coord] != null);\n\n if (hasCoordsInMeta) {\n const { x, y, cropWidth, cropHeight, originalWidth, originalHeight } = meta as ImageCropMeta;\n const previewHeight = IMAGE_DIMENSION;\n let scale;\n if (cropHeight > cropWidth) {\n // scale for portrait images\n scale = previewHeight / cropWidth;\n } else {\n // scale for landscape images\n scale = previewHeight / cropHeight;\n }\n\n const cropX = Math.round(x * scale);\n const cropY = Math.round(y * scale);\n const imageWidth = Math.round(originalWidth * scale);\n const imageHeight = Math.round(originalHeight * scale);\n\n imageCropCSS = {\n [FileUploaderCropCSS.TOP]: `-${cropY}px`,\n [FileUploaderCropCSS.LEFT]: `-${cropX}px`,\n [FileUploaderCropCSS.WIDTH]: `${imageWidth}px`,\n [FileUploaderCropCSS.HEIGHT]: `${imageHeight}px`,\n };\n }\n\n if (imageObjectFit) {\n imageObjectFitCSS = {\n '--file-uploader-attachment-image-object-fit': imageObjectFit,\n };\n }\n\n return {\n classProps: {\n root: classNames(fileUploaderClass, { [fileUploaderFluidClass]: props?.isFluid }),\n input: {\n root: classNames(fileUploaderInputClass, {\n [fileUploaderHasDragAndDropClass]: props?.isDragAndDropSupported,\n [fileUploaderInputDisabledClass]:\n props?.isDisabled || (props?.isDisabledByQueueLimitBehavior && props?.queueLimitBehavior === 'disable'),\n [fileUploaderInputDraggingClass]: props?.isDragging,\n [fileUploaderInputHiddenClass]: props?.isDropZoneHidden && props.queueLimitBehavior === 'hide',\n [fileUploaderInputValidationClass]: props?.validationState,\n }),\n label: classNames(fileUploaderInputLabelClass, {\n [fileUploaderInputLabelRequiredClass]: props?.isRequired,\n [fileUploaderInputLabelHiddenClass]: props?.isLabelHidden,\n }),\n input: fileUploaderInputInputClass,\n dropLabel: fileUploaderInputDropLabelClass,\n helper: fileUploaderInputHelperClass,\n link: classNames(fileUploaderInputLinkClass, ...fileUploaderInputLinkUtilityClasses),\n validationText: fileUploaderInputValidationTextClass,\n dropZone: {\n root: fileUploaderInputDropZoneClass,\n label: fileUploaderInputDropZoneLabelClass,\n },\n },\n list: fileUploaderListClass,\n attachment: {\n root: fileUploaderAttachmentClass,\n button: fileUploaderAttachmentButtonClass,\n name: fileUploaderAttachmentNameClass,\n image: fileUploaderAttachmentImageClass,\n slot: fileUploaderAttachmentSlotClass,\n },\n ...(hasCoordsInMeta && { imageCropStyles: imageCropCSS }),\n ...(imageObjectFit && { attachmentStyles: imageObjectFitCSS }),\n },\n };\n};\n","import { warning } from '../../common/utilities';\nimport { type FileMetadata } from '../../types/fileUploader';\n\nconst getAttachmentInput = (\n file: File,\n name: string,\n onError?: (error: string) => void,\n): HTMLInputElement | undefined => {\n const attachmentInputElement = document.createElement('input');\n const dataContainer = new DataTransfer();\n\n if (file) {\n dataContainer.items?.add(file);\n } else {\n if (onError) {\n onError('File not found');\n } else {\n warning(false, 'File not found');\n }\n\n return;\n }\n\n attachmentInputElement.setAttribute('type', 'file');\n attachmentInputElement.setAttribute('name', `${name}[]`);\n attachmentInputElement.setAttribute('hidden', '');\n\n attachmentInputElement.files = dataContainer.files;\n\n return attachmentInputElement;\n};\n\nconst getAttachmentMetaInput = (file: File, name: string, meta: FileMetadata): HTMLInputElement => {\n const attachmentInputElement = document.createElement('input');\n\n attachmentInputElement.setAttribute('type', 'text');\n attachmentInputElement.setAttribute('name', `${name}_meta`);\n attachmentInputElement.setAttribute('value', JSON.stringify(meta));\n attachmentInputElement.setAttribute('hidden', '');\n\n return attachmentInputElement;\n};\n\nconst image2Base64Preview = (file: File, maxWidth: number, callback: (base64Preview: string) => void) => {\n const reader = new FileReader();\n\n reader.onload = (event) => {\n const image = new Image();\n image.onload = () => {\n const canvas = document.createElement('canvas');\n const context = canvas.getContext('2d');\n canvas.width = maxWidth;\n canvas.height = (image.height / image.width) * maxWidth;\n context?.drawImage(image, 0, 0, canvas.width, canvas.height);\n const compressedDataURL = canvas.toDataURL('image/jpeg', 0.8);\n callback(compressedDataURL);\n };\n\n if (event.target && event.target.result) {\n image.src = event.target.result.toString();\n }\n };\n\n reader.readAsDataURL(file);\n};\n\nconst base64ToByteArray = (base64Image: string) => {\n const byteCharacters = atob(base64Image);\n const byteNumbers = new Array(byteCharacters.length);\n for (let i = 0; i < byteCharacters.length; i++) {\n byteNumbers[i] = byteCharacters.charCodeAt(i);\n }\n const byteArray = new Uint8Array(byteNumbers);\n\n return byteArray;\n};\n\nexport { base64ToByteArray, getAttachmentInput, getAttachmentMetaInput, image2Base64Preview };\n","'use client';\n\nimport React, { type ElementType } from 'react';\nimport { AlignmentXExtended, AlignmentYExtended, DirectionExtended } from '../../constants';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritFlexProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { useFlexStyleProps } from './useFlexStyleProps';\n\nconst defaultProps: Partial<SpiritFlexProps> = {\n alignmentX: AlignmentXExtended.STRETCH,\n alignmentY: AlignmentYExtended.STRETCH,\n direction: DirectionExtended.HORIZONTAL,\n elementType: 'div',\n isWrapping: false,\n};\n\nconst Flex = <T extends ElementType = 'div'>(props: SpiritFlexProps<T>): JSX.Element => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const {\n elementType: ElementTag = 'div',\n /**\n * @deprecated \"row\" and \"column\" values will be removed in the next major version. Please use \"horizontal\" and \"vertical\" instead.\n * @see https://jira.almacareer.tech/browse/DS-1629\n */\n direction,\n children,\n ...restProps\n } = propsWithDefaults;\n const { classProps, props: modifiedProps, styleProps: flexStyle } = useFlexStyleProps({ direction, ...restProps });\n const { styleProps, props: otherProps } = useStyleProps({ ...modifiedProps });\n const mergedStyleProps = mergeStyleProps(ElementTag, { classProps, flexStyle, styleProps, otherProps });\n\n return (\n <ElementTag {...otherProps} {...mergedStyleProps}>\n {children}\n </ElementTag>\n );\n};\n\nFlex.spiritComponent = 'Flex';\n\nexport default Flex;\n","export { default as Flex } from './Flex';\nexport * from './useFlexStyleProps';\n","import classNames from 'classnames';\nimport { type CSSProperties, type ElementType } from 'react';\nimport { DirectionAxis } from '../../constants';\nimport {\n useAlignmentClass,\n useClassNamePrefix,\n useDeprecationMessage,\n useSpacingStyle,\n useWrapClass,\n} from '../../hooks';\nimport { type FlexAlignmentXType, type FlexAlignmentYType, type SpacingType, type SpiritFlexProps } from '../../types';\nimport { generateStylePropsClassNames, stringOrObjectKebabCaseToCamelCase } from '../../utils';\n\ninterface FlexCSSProperties extends CSSProperties {\n [key: string]: string | undefined | number;\n}\n\nexport interface FlexStyles<T> {\n /** className props */\n classProps: string;\n /** Props for the flex element. */\n props: T;\n /** Style props for the element */\n styleProps: FlexCSSProperties;\n}\n\nexport function useFlexStyleProps(props: SpiritFlexProps<ElementType>): FlexStyles<SpiritFlexProps<ElementType>> {\n const { alignmentX, alignmentY, direction, spacing, spacingX, spacingY, isWrapping, ...restProps } = props;\n\n // @see https://jira.almacareer.tech/browse/DS-1629\n useDeprecationMessage({\n method: 'custom',\n trigger: direction === 'row' || direction === 'column',\n componentName: 'Flex',\n customText:\n 'Direction values `row` and `column` are deprecated and will be removed in the next major release. Use `horizontal` and `vertical` values instead.',\n });\n\n const flexClass = useClassNamePrefix('Flex');\n\n const flexStyle: FlexCSSProperties = {\n ...useSpacingStyle(spacing as SpacingType, 'flex', DirectionAxis.X),\n ...useSpacingStyle(spacing as SpacingType, 'flex', DirectionAxis.Y),\n ...useSpacingStyle(spacingX as SpacingType, 'flex', DirectionAxis.X),\n ...useSpacingStyle(spacingY as SpacingType, 'flex', DirectionAxis.Y),\n };\n\n const directionClass = generateStylePropsClassNames(flexClass, stringOrObjectKebabCaseToCamelCase(direction!));\n\n const classes = classNames(flexClass, useWrapClass(flexClass, isWrapping), {\n [useAlignmentClass(flexClass, alignmentX as FlexAlignmentXType, 'alignmentX')]: alignmentX,\n [useAlignmentClass(flexClass, alignmentY as FlexAlignmentYType, 'alignmentY')]: alignmentY,\n [directionClass]: direction,\n });\n\n return {\n classProps: classes,\n props: restProps,\n styleProps: flexStyle,\n };\n}\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { BackgroundColors, PaddingStyleProps, TextStyleProps } from '../../constants';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritFooterProps } from '../../types';\nimport { PADDING_BOTTOM, PADDING_TOP } from './constants';\nimport { useFooterStyleProps } from './useFooterStyleProps';\n\nconst defaultStyleProps: Partial<SpiritFooterProps> = {\n backgroundColor: BackgroundColors.SECONDARY,\n paddingBottom: PADDING_BOTTOM,\n paddingTop: PADDING_TOP,\n};\n\nconst Footer = (props: SpiritFooterProps) => {\n const propsWithDefaults = { ...defaultStyleProps, ...props };\n const { children, backgroundColor, ...restProps } = propsWithDefaults;\n const { classProps } = useFooterStyleProps({ backgroundColor });\n const { styleProps, props: otherProps } = useStyleProps(restProps, {\n paddingBottom: PaddingStyleProps.paddingBottom,\n paddingTop: PaddingStyleProps.paddingTop,\n textAlignment: TextStyleProps.textAlignment,\n });\n\n return (\n <footer {...otherProps} {...styleProps} className={classNames(classProps, styleProps.className)}>\n {children}\n </footer>\n );\n};\n\nFooter.spiritComponent = 'Footer';\n\nexport default Footer;\n","export const PADDING_BOTTOM = 'space-1200';\nexport const PADDING_TOP = 'space-1400';\n","export { default as Footer } from './Footer';\n","import classNames from 'classnames';\nimport { useClassNamePrefix } from '../../hooks';\nimport { type SpiritFooterProps } from '../../types';\n\nexport interface UseFooterStyleProps {\n classProps: string;\n}\n\nexport const useFooterStyleProps = (props: Partial<SpiritFooterProps>): UseFooterStyleProps => {\n const { backgroundColor } = props;\n const footerBackgroundClassName = useClassNamePrefix(`bg-${backgroundColor}`);\n\n const footerBackgroundColor = backgroundColor ? footerBackgroundClassName : '';\n\n const classProps = classNames({\n [footerBackgroundColor]: backgroundColor,\n });\n\n return {\n classProps,\n };\n};\n","'use client';\n\nimport React, { type ElementType } from 'react';\nimport { AlignmentXExtended, AlignmentYExtended } from '../../constants';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritGridProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { useGridStyleProps } from './useGridStyleProps';\n\nconst defaultProps: Partial<SpiritGridProps> = {\n alignmentX: AlignmentXExtended.STRETCH,\n alignmentY: AlignmentYExtended.STRETCH,\n elementType: 'div',\n};\n\nconst Grid = <T extends ElementType = 'div'>(props: SpiritGridProps<T>): JSX.Element => {\n const propsWithDefaults = { ...defaultProps, ...props };\n\n const { elementType: ElementTag = 'div', children, ...restProps } = propsWithDefaults;\n const { classProps, props: modifiedProps, styleProps: gridStyle } = useGridStyleProps(restProps);\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n const mergedStyleProps = mergeStyleProps(ElementTag, { classProps, styleProps, otherProps, gridStyle });\n\n return (\n <ElementTag {...otherProps} {...mergedStyleProps}>\n {children}\n </ElementTag>\n );\n};\n\nGrid.spiritComponent = 'Grid';\n\nexport default Grid;\n","'use client';\n\nimport React, { type ElementType } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritGridItemProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { useGridItemStyleProps } from './useGridItemStyleProps';\n\nconst GridItem = <T extends ElementType = 'div'>(props: SpiritGridItemProps<T>): JSX.Element => {\n const { elementType: ElementTag = 'div', children, ...restProps } = props;\n const { classProps, styleProps: gridItemStyle, props: modifiedProps } = useGridItemStyleProps(restProps);\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n const mergedStyleProps = mergeStyleProps(ElementTag, { classProps, styleProps, otherProps, gridItemStyle });\n\n return (\n <ElementTag {...otherProps} {...mergedStyleProps}>\n {children}\n </ElementTag>\n );\n};\n\nGridItem.spiritComponent = 'GridItem';\n\nexport default GridItem;\n","export { default as Grid } from './Grid';\nexport { default as GridItem } from './GridItem';\nexport * from './useGridStyleProps';\n","import { type CSSProperties, type ElementType } from 'react';\nimport { useClassNamePrefix } from '../../hooks';\nimport { type GridItemPosition, type GridItemPositionBreakpoints, type SpiritGridItemProps } from '../../types';\n\ninterface GridItemCSSProperties extends CSSProperties {\n [key: string]: string | undefined | number;\n}\n\nconst setStyleProperty = (styleObject: GridItemCSSProperties, propertyName: string, value: string | undefined) => {\n (styleObject as Record<string, string | undefined>)[propertyName] = value;\n};\n\nconst setGridItemStyle = (styleObject: GridItemCSSProperties, baseVarName: string, propValue: GridItemPosition) => {\n if (typeof propValue === 'object' && propValue !== null) {\n Object.keys(propValue).forEach((key) => {\n const suffix = key === 'mobile' ? '' : `-${key}`;\n const propName = `--${baseVarName}${suffix}`;\n setStyleProperty(styleObject, propName, propValue[key as keyof GridItemPositionBreakpoints]?.toString());\n });\n } else {\n const propName = `--${baseVarName}`;\n setStyleProperty(styleObject, propName, propValue?.toString());\n }\n};\n\nexport interface GridItemStyles<T> {\n /** className props */\n classProps: string;\n /** Props for the grid element. */\n props: T;\n /** Style props for the grid element */\n styleProps: GridItemCSSProperties;\n}\n\nexport function useGridItemStyleProps(\n props: SpiritGridItemProps<ElementType>,\n): GridItemStyles<SpiritGridItemProps<ElementType>> {\n const gridItemClass = useClassNamePrefix('GridItem');\n\n const gridItemStyle: GridItemCSSProperties = {};\n\n const typePropNames = Object.keys(props).filter(\n (propName) => propName.startsWith('column') || propName.startsWith('row'),\n );\n\n typePropNames.forEach((propName) => {\n const type = propName.startsWith('column') ? 'column' : 'row';\n if (props[propName]) {\n setGridItemStyle(\n gridItemStyle,\n `grid-item-${type}-${propName.replace(type, '').toLowerCase()}`,\n props[propName] as GridItemPosition,\n );\n }\n\n delete props[propName];\n });\n\n return {\n classProps: gridItemClass,\n props,\n styleProps: gridItemStyle,\n };\n}\n","import classNames from 'classnames';\nimport { type CSSProperties, type ElementType } from 'react';\nimport { DirectionAxis } from '../../constants';\nimport { useAlignmentClass, useClassNamePrefix, useSpacingStyle } from '../../hooks';\nimport {\n type GridAlignmentXType,\n type GridAlignmentYType,\n type GridColsBreakpoints,\n type SpiritGridProps,\n} from '../../types';\n\ninterface GridCSSProperties extends CSSProperties {\n [key: string]: string | undefined | number;\n}\n\nexport interface GridStyles<T> {\n /** className props */\n classProps: string;\n /** Props for the grid element. */\n props: T;\n /** Style props for the element */\n styleProps: GridCSSProperties;\n}\n\nexport function useGridStyleProps(props: SpiritGridProps<ElementType>): GridStyles<SpiritGridProps<ElementType>> {\n const { alignmentX, alignmentY, cols, spacing, spacingX, spacingY, ...restProps } = props;\n\n const gridClass = useClassNamePrefix('Grid');\n\n const gridStyle: GridCSSProperties = {\n ...useSpacingStyle(spacing, 'grid', DirectionAxis.X),\n ...useSpacingStyle(spacing, 'grid', DirectionAxis.Y),\n ...useSpacingStyle(spacingX, 'grid', DirectionAxis.X),\n ...useSpacingStyle(spacingY, 'grid', DirectionAxis.Y),\n };\n\n function generateColsClasses(\n componentClass: string,\n property: number | GridColsBreakpoints | undefined,\n type: string,\n ) {\n if (typeof property === 'object' && property !== null) {\n // We map over the object and generate the classes for each breakpoint\n return Object.keys(property)\n .map((key) => {\n const infix = key === 'mobile' ? '' : `--${key}`;\n const responsiveProperty = (property as Record<string, string>)[key];\n\n return `${componentClass}${infix}--${type}-${responsiveProperty}`;\n })\n .join(' ');\n }\n\n return `${componentClass}--${type}-${property}`;\n }\n\n const classes = classNames(gridClass, {\n [useAlignmentClass(gridClass, alignmentX as GridAlignmentXType, 'alignmentX')]: alignmentX,\n [useAlignmentClass(gridClass, alignmentY as GridAlignmentYType, 'alignmentY')]: alignmentY,\n [generateColsClasses(gridClass, cols, 'cols')]: cols,\n });\n\n return {\n classProps: classes,\n props: restProps,\n styleProps: gridStyle,\n };\n}\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useDeprecationMessage, useStyleProps } from '../../hooks';\nimport { type HeaderProps } from '../../types';\nimport { HEADER_COLOR_DEFAULT } from './constants';\nimport { useHeaderStyleProps } from './useHeaderStyleProps';\n\nconst Header = (props: HeaderProps) => {\n const { children, color = HEADER_COLOR_DEFAULT, isSimple, ...restProps } = props;\n\n const { classProps } = useHeaderStyleProps({ color, isSimple });\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n\n useDeprecationMessage({\n method: 'custom',\n trigger: true,\n componentName: 'Header',\n customText: `The component will be removed in the next major version. Component is replaced by the current implementation of UNSTABLE_Header.\n Please see the composition of the UNSTABLE_Header, Drawer and Navigation components.`,\n });\n\n return (\n <header {...otherProps} className={classNames(classProps.root, styleProps.className)} style={styleProps.style}>\n {children}\n </header>\n );\n};\n\nHeader.spiritComponent = 'Header';\n\nexport default Header;\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type HeaderButtonProps } from '../../types';\nimport { useHeaderStyleProps } from './useHeaderStyleProps';\n\nconst HeaderButton = (props: HeaderButtonProps) => {\n const { classProps } = useHeaderStyleProps();\n const { styleProps, props: otherProps } = useStyleProps(props);\n\n return (\n <button\n {...otherProps}\n type=\"button\"\n className={classNames(classProps.headerButton, styleProps.className)}\n style={styleProps.style}\n />\n );\n};\n\nHeaderButton.spiritComponent = 'HeaderButton';\n\nexport default HeaderButton;\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type HeaderDesktopActionsProps } from '../../types';\nimport { useHeaderStyleProps } from './useHeaderStyleProps';\n\nconst defaultProps = {\n isAtEnd: false,\n};\n\nconst HeaderDesktopActions = (props: HeaderDesktopActionsProps) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { isAtEnd, ...restProps } = propsWithDefaults;\n\n const { classProps } = useHeaderStyleProps({ hasActionsAtEnd: isAtEnd });\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n\n return (\n <nav\n {...otherProps}\n className={classNames(classProps.headerDesktopActions, styleProps.className)}\n style={styleProps.style}\n />\n );\n};\n\nHeaderDesktopActions.spiritComponent = 'HeaderDesktopActions';\n\nexport default HeaderDesktopActions;\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useLastActiveFocus, useStyleProps } from '../../hooks';\nimport { type HeaderDialogProps } from '../../types';\nimport { Dialog } from '../Dialog';\nimport { HeaderDialogProvider } from './HeaderDialogContext';\nimport { useHeaderStyleProps } from './useHeaderStyleProps';\n\nconst HeaderDialog = (props: HeaderDialogProps) => {\n const { children, id, isOpen, onClose, ...restProps } = props;\n\n const { classProps } = useHeaderStyleProps();\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n\n const providerValue = { id, isOpen, onClose };\n\n useLastActiveFocus(isOpen);\n\n return (\n <HeaderDialogProvider value={providerValue}>\n <Dialog\n {...otherProps}\n id={id}\n isOpen={isOpen}\n onClose={onClose}\n className={classNames(classProps.headerDialog.root, styleProps.className)}\n style={styleProps.style}\n >\n <div className={classProps.headerDialog.panel}>\n <div className={classProps.headerDialog.content}>{children}</div>\n </div>\n </Dialog>\n </HeaderDialogProvider>\n );\n};\n\nHeaderDialog.spiritComponent = 'HeaderDialog';\n\nexport default HeaderDialog;\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type HeaderDialogActionsProps } from '../../types';\nimport { HEADER_ACTIONS_COLOR_DEFAULT } from './constants';\nimport { useHeaderStyleProps } from './useHeaderStyleProps';\n\nconst HeaderDialogActions = (props: HeaderDialogActionsProps) => {\n const { color = HEADER_ACTIONS_COLOR_DEFAULT, ...restProps } = props;\n\n const { classProps } = useHeaderStyleProps({ actionsColor: color });\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n\n return (\n <nav\n {...otherProps}\n className={classNames(classProps.headerDialogActions, styleProps.className)}\n style={styleProps.style}\n />\n );\n};\n\nHeaderDialogActions.spiritComponent = 'HeaderDialogActions';\n\nexport default HeaderDialogActions;\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type HeaderDialogButtonProps } from '../../types';\nimport { useHeaderStyleProps } from './useHeaderStyleProps';\n\nconst HeaderDialogButton = (props: HeaderDialogButtonProps) => {\n const { classProps } = useHeaderStyleProps();\n const { styleProps, props: otherProps } = useStyleProps(props);\n\n return (\n <button\n {...otherProps}\n type=\"button\"\n className={classNames(classProps.headerDialogButton, styleProps.className)}\n style={styleProps.style}\n />\n );\n};\n\nHeaderDialogButton.spiritComponent = 'HeaderDialogButton';\n\nexport default HeaderDialogButton;\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type ClickEvent, type HeaderDialogCloseButtonProps } from '../../types';\nimport { Icon } from '../Icon';\nimport { VisuallyHidden } from '../VisuallyHidden';\nimport { HEADER_DIALOG_CLOSE_BUTTON_LABEL_DEFAULT } from './constants';\nimport { useHeaderDialogContext } from './HeaderDialogContext';\nimport { useHeaderStyleProps } from './useHeaderStyleProps';\n\nconst HeaderDialogCloseButton = (props: HeaderDialogCloseButtonProps) => {\n const { label = HEADER_DIALOG_CLOSE_BUTTON_LABEL_DEFAULT, onClick, ...restProps } = props;\n\n const { classProps } = useHeaderStyleProps();\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n const { id, isOpen, onClose } = useHeaderDialogContext();\n\n const clickHandler = (event: ClickEvent) => {\n onClose(event);\n if (onClick) onClick(event);\n };\n\n return (\n <button\n {...otherProps}\n type=\"button\"\n aria-expanded={isOpen}\n aria-controls={id}\n onClick={clickHandler}\n className={classNames(classProps.headerDialogCloseButton, styleProps.className)}\n style={styleProps.style}\n >\n <Icon name=\"close\" />\n <VisuallyHidden>{label}</VisuallyHidden>\n </button>\n );\n};\n\nHeaderDialogCloseButton.spiritComponent = 'HeaderDialogCloseButton';\n\nexport default HeaderDialogCloseButton;\n","'use client';\n\nimport { createContext, useContext } from 'react';\nimport { type ClickEvent } from '../../types';\n\nexport interface HeaderDialogContextProps {\n id: string;\n isOpen: boolean;\n onClose: (event: ClickEvent) => void;\n}\n\nconst defaultContext: HeaderDialogContextProps = {\n id: '',\n isOpen: false,\n onClose: () => null,\n};\n\nconst HeaderDialogContext = createContext<HeaderDialogContextProps>(defaultContext);\nconst HeaderDialogProvider = HeaderDialogContext.Provider;\nconst HeaderDialogConsumer = HeaderDialogContext.Consumer;\nconst useHeaderDialogContext = (): HeaderDialogContextProps => useContext(HeaderDialogContext);\n\nexport { HeaderDialogConsumer, HeaderDialogProvider, useHeaderDialogContext };\nexport default HeaderDialogContext;\n","'use client';\n\nimport React, { type ElementType, forwardRef } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type PolymorphicRef, type SpiritDialogHeaderLinkProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { useHeaderStyleProps } from './useHeaderStyleProps';\n\n/* We need an exception for components exported with forwardRef */\n/* eslint no-underscore-dangle: ['error', { allow: ['_HeaderDialogLink'] }] */\nconst _HeaderDialogLink = <E extends ElementType = 'a'>(\n props: SpiritDialogHeaderLinkProps<E>,\n ref: PolymorphicRef<E>,\n): JSX.Element => {\n const { elementType: ElementTag = 'a', children, isCurrent, ...restProps } = props;\n const { classProps } = useHeaderStyleProps({ isCurrentLink: isCurrent });\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n const mergedStyleProps = mergeStyleProps(ElementTag, {\n classProps: classProps.headerDialogLink,\n styleProps,\n otherProps,\n });\n\n return (\n <ElementTag {...otherProps} {...mergedStyleProps} ref={ref}>\n {children}\n </ElementTag>\n );\n};\n\nconst HeaderDialogLink = forwardRef<HTMLAnchorElement, SpiritDialogHeaderLinkProps<ElementType>>(_HeaderDialogLink);\n\nHeaderDialogLink.spiritComponent = 'HeaderDialogLink';\n\nexport default HeaderDialogLink;\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type HeaderDialogNavProps } from '../../types';\nimport { useHeaderStyleProps } from './useHeaderStyleProps';\n\nconst HeaderDialogNav = (props: HeaderDialogNavProps) => {\n const { classProps } = useHeaderStyleProps();\n const { styleProps, props: otherProps } = useStyleProps(props);\n\n return (\n <ul\n {...otherProps}\n className={classNames(classProps.headerDialogNav, styleProps.className)}\n style={styleProps.style}\n />\n );\n};\n\nHeaderDialogNav.spiritComponent = 'HeaderDialogNav';\n\nexport default HeaderDialogNav;\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type HeaderDialogNavItemProps } from '../../types';\nimport { useHeaderStyleProps } from './useHeaderStyleProps';\n\nconst HeaderDialogNavItem = (props: HeaderDialogNavItemProps) => {\n const { classProps } = useHeaderStyleProps();\n const { styleProps, props: otherProps } = useStyleProps(props);\n\n return (\n <li\n {...otherProps}\n className={classNames(classProps.headerDialogNavItem, styleProps.className)}\n style={styleProps.style}\n />\n );\n};\n\nHeaderDialogNavItem.spiritComponent = 'HeaderDialogNavItem';\n\nexport default HeaderDialogNavItem;\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type HeaderDialogTextProps } from '../../types';\nimport { useHeaderStyleProps } from './useHeaderStyleProps';\n\nconst HeaderDialogText = (props: HeaderDialogTextProps) => {\n const { classProps } = useHeaderStyleProps();\n const { styleProps, props: otherProps } = useStyleProps(props);\n\n return (\n <span\n {...otherProps}\n className={classNames(classProps.headerDialogText, styleProps.className)}\n style={styleProps.style}\n />\n );\n};\n\nHeaderDialogText.spiritComponent = 'HeaderDialogText';\n\nexport default HeaderDialogText;\n","'use client';\n\nimport React, { type ElementType, forwardRef } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type PolymorphicRef, type SpiritHeaderLinkProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { useHeaderStyleProps } from './useHeaderStyleProps';\n\n/* We need an exception for components exported with forwardRef */\n/* eslint no-underscore-dangle: ['error', { allow: ['_HeaderLink'] }] */\nconst _HeaderLink = <E extends ElementType = 'a'>(\n props: SpiritHeaderLinkProps<E>,\n ref: PolymorphicRef<E>,\n): JSX.Element => {\n const { elementType: ElementTag = 'a', children, isCurrent, ...restProps } = props;\n const { classProps } = useHeaderStyleProps({ isCurrentLink: isCurrent });\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n const mergedStyleProps = mergeStyleProps(ElementTag, {\n classProps: classProps.headerLink,\n styleProps,\n otherProps,\n });\n\n return (\n <ElementTag {...otherProps} {...mergedStyleProps} ref={ref}>\n {children}\n </ElementTag>\n );\n};\n\nconst HeaderLink = forwardRef<HTMLAnchorElement, SpiritHeaderLinkProps<ElementType>>(_HeaderLink);\n\nHeaderLink.spiritComponent = 'HeaderLink';\n\nexport default HeaderLink;\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type HeaderMobileActionsProps } from '../../types';\nimport { Button } from '../Button';\nimport { Icon } from '../Icon';\nimport { VisuallyHidden } from '../VisuallyHidden';\nimport { HEADER_MENU_TOGGLE_LABEL_DEFAULT } from './constants';\nimport { useHeaderStyleProps } from './useHeaderStyleProps';\n\nconst HeaderMobileActions = (props: HeaderMobileActionsProps) => {\n const {\n children,\n dialogId,\n menuToggleLabel = HEADER_MENU_TOGGLE_LABEL_DEFAULT,\n isOpen,\n onOpen,\n ...restProps\n } = props;\n\n const { classProps } = useHeaderStyleProps();\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n\n return (\n <div\n {...otherProps}\n className={classNames(classProps.headerMobileActions, styleProps.className)}\n style={styleProps.style}\n >\n {children}\n <Button aria-controls={dialogId} aria-expanded={isOpen} color=\"secondary\" onClick={onOpen} isSymmetrical>\n <Icon name=\"hamburger\" />\n <VisuallyHidden>{menuToggleLabel}</VisuallyHidden>\n </Button>\n </div>\n );\n};\n\nHeaderMobileActions.spiritComponent = 'HeaderMobileActions';\n\nexport default HeaderMobileActions;\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type HeaderNavProps } from '../../types';\nimport { useHeaderStyleProps } from './useHeaderStyleProps';\n\nconst HeaderNav = (props: HeaderNavProps) => {\n const { classProps } = useHeaderStyleProps();\n const { styleProps, props: otherProps } = useStyleProps(props);\n\n return (\n <ul {...otherProps} className={classNames(classProps.headerNav, styleProps.className)} style={styleProps.style} />\n );\n};\n\nHeaderNav.spiritComponent = 'HeaderNav';\n\nexport default HeaderNav;\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type HeaderNavItemProps } from '../../types';\nimport { useHeaderStyleProps } from './useHeaderStyleProps';\n\nconst HeaderNavItem = (props: HeaderNavItemProps) => {\n const { classProps } = useHeaderStyleProps();\n const { styleProps, props: otherProps } = useStyleProps(props);\n\n return (\n <li\n {...otherProps}\n className={classNames(classProps.headerNavItem, styleProps.className)}\n style={styleProps.style}\n />\n );\n};\n\nHeaderNavItem.spiritComponent = 'HeaderNavItem';\n\nexport default HeaderNavItem;\n","export const HEADER_COLOR_DEFAULT = 'primary';\nexport const HEADER_ACTIONS_COLOR_DEFAULT = 'primary';\nexport const HEADER_DIALOG_CLOSE_BUTTON_LABEL_DEFAULT = 'Close';\nexport const HEADER_MENU_TOGGLE_LABEL_DEFAULT = 'Menu';\n","export { default as Header } from './Header';\nexport { default as HeaderButton } from './HeaderButton';\nexport { default as HeaderDesktopActions } from './HeaderDesktopActions';\nexport { default as HeaderDialog } from './HeaderDialog';\nexport { default as HeaderDialogActions } from './HeaderDialogActions';\nexport { default as HeaderDialogButton } from './HeaderDialogButton';\nexport { default as HeaderDialogCloseButton } from './HeaderDialogCloseButton';\nexport { default as HeaderDialogLink } from './HeaderDialogLink';\nexport { default as HeaderDialogNav } from './HeaderDialogNav';\nexport { default as HeaderDialogNavItem } from './HeaderDialogNavItem';\nexport { default as HeaderDialogText } from './HeaderDialogText';\nexport { default as HeaderLink } from './HeaderLink';\nexport { default as HeaderMobileActions } from './HeaderMobileActions';\nexport { default as HeaderNav } from './HeaderNav';\nexport { default as HeaderNavItem } from './HeaderNavItem';\nexport * from './HeaderDialogContext';\nexport * from './useHeaderStyleProps';\nexport * from './constants';\n","import classNames from 'classnames';\nimport { useClassNamePrefix } from '../../hooks';\nimport { type HeaderActionsColorType, type HeaderColorType } from '../../types';\nimport { HEADER_ACTIONS_COLOR_DEFAULT, HEADER_COLOR_DEFAULT } from './constants';\n\nexport interface UseHeaderStyleProps {\n color?: HeaderColorType;\n hasActionsAtEnd?: boolean;\n isSimple?: boolean;\n actionsColor?: HeaderActionsColorType;\n isCurrentLink?: boolean;\n}\nexport interface UseHeaderStyleReturn {\n classProps: {\n root: string;\n headerButton: string;\n headerDesktopActions: string;\n headerDialog: {\n root: string;\n panel: string;\n content: string;\n };\n headerDialogActions: string;\n headerDialogButton: string;\n headerDialogCloseButton: string;\n headerDialogLink: string;\n headerDialogNav: string;\n headerDialogNavItem: string;\n headerDialogText: string;\n headerLink: string;\n headerMobileActions: string;\n headerNav: string;\n headerNavItem: string;\n };\n}\n\nexport const useHeaderStyleProps = (\n {\n actionsColor = HEADER_ACTIONS_COLOR_DEFAULT,\n color = HEADER_COLOR_DEFAULT,\n hasActionsAtEnd,\n isCurrentLink,\n isSimple,\n }: UseHeaderStyleProps = {\n actionsColor: HEADER_ACTIONS_COLOR_DEFAULT,\n color: HEADER_COLOR_DEFAULT,\n hasActionsAtEnd: false,\n isCurrentLink: false,\n isSimple: false,\n },\n): UseHeaderStyleReturn => {\n const headerClass = useClassNamePrefix('Header');\n const headerColorClass = `${headerClass}--${color}`;\n const headerSimpleClass = `${headerClass}--simple`;\n const headerNavClass = `${headerClass}Nav`;\n const headerNavItemClass = `${headerClass}NavItem`;\n const headerLinkClass = `${headerClass}Link`;\n const headerLinkCurrentClass = `${headerLinkClass}--current`;\n const headerDesktopActionsClass = `${headerClass}DesktopActions`;\n const headerDesktopActionsAtEndClass = `${headerDesktopActionsClass}--end`;\n const headerMobileActionsClass = `${headerClass}MobileActions`;\n const headerDialogClass = `${headerClass}Dialog`;\n const headerDialogPanelClass = `${headerDialogClass}__panel`;\n const headerDialogContentClass = `${headerDialogClass}__content`;\n const headerDialogActionsClass = `${headerClass}DialogActions`;\n const headerDialogActionsColorClass = `${headerDialogActionsClass}--${actionsColor}`;\n const headerDialogCloseButtonClass = `${headerClass}DialogCloseButton`;\n const headerDialogLinkClass = `${headerClass}DialogLink`;\n const headerDialogLinkCurrentClass = `${headerDialogLinkClass}--current`;\n const headerDialogNavClass = `${headerClass}DialogNav`;\n const headerDialogNavItemClass = `${headerClass}DialogNavItem`;\n const headerDialogTextClass = `${headerClass}DialogText`;\n\n const classProps = {\n root: classNames(headerClass, headerColorClass, { [headerSimpleClass]: isSimple }),\n headerButton: headerLinkClass,\n headerDesktopActions: classNames(headerDesktopActionsClass, { [headerDesktopActionsAtEndClass]: hasActionsAtEnd }),\n headerDialog: {\n root: headerDialogClass,\n panel: headerDialogPanelClass,\n content: headerDialogContentClass,\n },\n headerDialogActions: classNames(headerDialogActionsClass, headerDialogActionsColorClass),\n headerDialogButton: headerDialogLinkClass,\n headerDialogCloseButton: headerDialogCloseButtonClass,\n headerDialogLink: classNames(headerDialogLinkClass, { [headerDialogLinkCurrentClass]: isCurrentLink }),\n headerDialogNav: headerDialogNavClass,\n headerDialogNavItem: headerDialogNavItemClass,\n headerDialogText: headerDialogTextClass,\n headerLink: classNames(headerLinkClass, { [headerLinkCurrentClass]: isCurrentLink }),\n headerMobileActions: headerMobileActionsClass,\n headerNav: headerNavClass,\n headerNavItem: headerNavItemClass,\n };\n\n return {\n classProps,\n };\n};\n","'use client';\n\nimport React, { type ElementType } from 'react';\nimport { Emphasis, HeadingStyleProps, SizesExtended, TextStyleProps } from '../../constants';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritHeadingProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { useHeadingStyleProps } from './useHeadingStyleProps';\n\nconst defaultProps: Partial<SpiritHeadingProps<ElementType, void, void>> = {\n emphasis: Emphasis.BOLD,\n size: SizesExtended.MEDIUM,\n};\n\nconst Heading = <T extends ElementType, S = void, E = void>(props: SpiritHeadingProps<T, S, E>): JSX.Element => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { elementType: ElementTag, children, ...restProps } = propsWithDefaults;\n const { classProps, props: modifiedProps } = useHeadingStyleProps({ ...restProps });\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps, {\n isTextBalanced: HeadingStyleProps.isTextBalanced,\n textAlignment: TextStyleProps.textAlignment,\n textHyphens: TextStyleProps.textHyphens,\n textWordBreak: TextStyleProps.textWordBreak,\n });\n const mergedStyleProps = mergeStyleProps(ElementTag, { classProps, styleProps, otherProps });\n\n return (\n <ElementTag {...otherProps} {...mergedStyleProps}>\n {children}\n </ElementTag>\n );\n};\n\nHeading.spiritComponent = 'Heading';\n\nexport default Heading;\n","export { default as Heading } from './Heading';\nexport * from './useHeadingStyleProps';\n","import classNames from 'classnames';\nimport { type ElementType } from 'react';\nimport { useClassNamePrefix } from '../../hooks';\nimport { type HeadingProps, type SpiritHeadingProps } from '../../types';\n\nexport interface HeadingStyles<T extends ElementType> {\n /** className props */\n classProps: string | null;\n /** props to be passed to the input element */\n props: Omit<HeadingProps<T>, 'elementType'>;\n}\n\nexport function useHeadingStyleProps<T extends ElementType, S = void, E = void>(\n props: Omit<SpiritHeadingProps<T, S, E>, 'elementType'>,\n): HeadingStyles<T> {\n const { emphasis, size, textColor, ...restProps } = props;\n\n const headingClass = useClassNamePrefix('typography-heading');\n const headingTextColorClass = useClassNamePrefix(textColor ? `text-${textColor}` : '');\n const className = classNames(`${headingClass}-${size}-${emphasis}`, {\n [headingTextColorClass]: !!textColor,\n });\n\n return {\n classProps: className,\n props: restProps,\n };\n}\n","'use client';\n\nimport React, { type ForwardedRef, forwardRef } from 'react';\nimport { useIcon, useStyleProps } from '../../hooks';\nimport { type SpiritIconProps } from '../../types';\nimport { htmlReactParser, mergeStyleProps } from '../../utils';\nimport { DEFAULT_BOX_SIZE } from './constants';\nimport { useIconBoxSize } from './useIconBoxSize';\nimport { useIconStyleProps } from './useIconStyleProps';\n\nconst defaultProps = {\n ariaHidden: true,\n boxSize: DEFAULT_BOX_SIZE,\n};\n\n/* We need an exception for components exported with forwardRef */\n/* eslint no-underscore-dangle: ['error', { allow: ['_Icon'] }] */\nconst _Icon = (props: SpiritIconProps, ref: ForwardedRef<SVGSVGElement>) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { boxSize, name, title, ariaHidden, ...restProps } = propsWithDefaults;\n\n let icon = useIcon(name);\n const iconSize = useIconBoxSize(boxSize);\n\n const { classProps, iconStyleProps, props: modifiedProps } = useIconStyleProps({ boxSize, name, ...restProps });\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n const mergedStyleProps = mergeStyleProps('svg', {\n classProps,\n iconStyleProps,\n styleProps,\n });\n\n if (title) {\n icon = `<title>${title}</title>${icon}`;\n }\n\n return (\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore: Incompatible HTMLElement and SVGSVGElement\n <svg\n {...otherProps}\n {...mergedStyleProps}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n width={iconSize}\n height={iconSize}\n aria-hidden={ariaHidden}\n ref={ref}\n >\n {htmlReactParser(icon)}\n </svg>\n );\n};\n\nconst Icon = forwardRef<SVGSVGElement, SpiritIconProps>(_Icon);\n\nIcon.spiritComponent = 'Icon';\n\nexport default Icon;\n","export const DEFAULT_BOX_SIZE = 24;\n","export { default as Icon } from './Icon';\nexport * from './useIconStyleProps';\n","import { type IconBoxSize } from '../../types';\nimport { DEFAULT_BOX_SIZE } from './constants';\n\nexport const useIconBoxSize = (boxSize: IconBoxSize | undefined) =>\n typeof boxSize === 'object' ? (boxSize.mobile ?? DEFAULT_BOX_SIZE) : (boxSize ?? DEFAULT_BOX_SIZE);\n","import { cssVariablePrefix } from '@alma-oss/spirit-design-tokens';\nimport classNames from 'classnames';\nimport { type CSSProperties } from 'react';\nimport { TextColors } from '../../constants';\nimport { useClassNamePrefix } from '../../hooks';\nimport type { IconBoxSize, SpiritIconProps } from '../../types';\n\nconst setCustomDimension = (prefix: string, size: IconBoxSize): CSSProperties => {\n const style: CSSProperties = {};\n\n if (typeof size === 'object') {\n Object.entries(size).forEach(([breakpoint, breakpointSize]) => {\n const breakpointSuffix = breakpoint === 'mobile' ? '' : `-${breakpoint}`;\n\n (style as Record<string, string | undefined>)[`${prefix}${breakpointSuffix}`] = `${breakpointSize?.toString()}px`;\n });\n }\n\n return style;\n};\n\nexport const useIconStyleProps = (props: SpiritIconProps) => {\n const { boxSize, color, name, ...otherProps } = props;\n const stylePrefix: string = `--${cssVariablePrefix}icon`;\n const isDualtoneIcon = String(name).includes('-dualtone');\n const dualtoneColorWithDefault = isDualtoneIcon && !color ? TextColors.PRIMARY : color;\n\n const iconClass = useClassNamePrefix('Icon');\n const iconDualtoneColorClass = `${iconClass}--${dualtoneColorWithDefault}`;\n const classProps = classNames(iconClass, {\n [iconDualtoneColorClass]: color || dualtoneColorWithDefault,\n });\n\n const customizedIconStyle = {\n ...(boxSize ? setCustomDimension(`${stylePrefix}-size`, boxSize) : {}),\n };\n\n return {\n classProps,\n iconStyleProps: customizedIconStyle,\n props: otherProps,\n };\n};\n","'use client';\n\nimport classNames from 'classnames';\nimport React, { type ElementType } from 'react';\nimport { BorderWidths, EmotionColors, SizesExtended } from '../../constants';\nimport { useStyleProps } from '../../hooks';\nimport type { SpiritIconBoxProps } from '../../types';\nimport { Box } from '../Box';\nimport { Icon } from '../Icon';\nimport { IconBoxShapes } from './constants';\nimport { useIconBoxColors } from './useIconBoxColors';\nimport { useIconBoxStyleProps } from './useIconBoxStyleProps';\n\nconst defaultProps: Partial<SpiritIconBoxProps> = {\n shape: IconBoxShapes.ROUNDED,\n color: EmotionColors.INFORMATIVE,\n elementType: 'div',\n hasBorder: true,\n isSubtle: true,\n size: SizesExtended.MEDIUM,\n};\n\nconst IconBox = <T extends ElementType = 'div'>(props: SpiritIconBoxProps<T>) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { elementType, shape, color, iconName, isSubtle, hasBorder, size, ...restProps } = propsWithDefaults;\n\n const { colors } = useIconBoxColors(color, isSubtle);\n const {\n iconBoxStyles: iconBoxStyleProps,\n props: modifiedProps,\n shapesProps,\n sizeProps: { padding, iconSize },\n } = useIconBoxStyleProps({\n size,\n shape,\n ...restProps,\n });\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n\n return (\n <Box\n {...otherProps}\n backgroundColor={colors.background}\n elementType={elementType}\n borderColor={hasBorder ? colors.border : undefined}\n borderRadius={shapesProps}\n borderWidth={hasBorder ? BorderWidths['100'] : undefined}\n padding={padding}\n textColor={colors.text}\n UNSAFE_className={classNames(styleProps.className, 'd-inline-flex')}\n UNSAFE_style={{\n ...styleProps.style,\n ...iconBoxStyleProps,\n }}\n >\n <Icon aria-hidden=\"true\" boxSize={iconSize} name={iconName} />\n </Box>\n );\n};\n\nIconBox.spiritComponent = 'IconBox';\n\nexport default IconBox;\n","import { BorderRadii, SizesExtended } from '../../constants';\n\nexport const IconBoxShapes = {\n ROUNDED: 'rounded',\n SQUARE: 'square',\n CIRCLE: 'circle',\n} as const;\n\nexport const IconBoxSizes = {\n [SizesExtended.XSMALL]: { padding: 'space-500', iconSize: 16 },\n [SizesExtended.SMALL]: { padding: 'space-500', iconSize: 20 },\n [SizesExtended.MEDIUM]: { padding: 'space-600', iconSize: 24 },\n [SizesExtended.LARGE]: { padding: 'space-600', iconSize: 28 },\n [SizesExtended.XLARGE]: { padding: 'space-700', iconSize: 28 },\n} as const;\n\nexport const IconBoxShapesRadii = {\n [IconBoxShapes.CIRCLE]: BorderRadii.FULL,\n [IconBoxShapes.ROUNDED]: BorderRadii['300'],\n [IconBoxShapes.SQUARE]: BorderRadii['0'],\n} as const;\n","export { default as IconBox } from './IconBox';\nexport * from './useIconBoxColors';\nexport * from './useIconBoxStyleProps';\n","import { emotionColors } from '@alma-oss/spirit-design-tokens';\nimport { EmotionColors, Intensity } from '../../constants';\nimport { ColorPrefixes } from '../../constants/colors';\nimport type {\n BackgroundAccentColorsType,\n BackgroundEmotionColorsType,\n BorderAccentColorsType,\n BorderEmotionColorsType,\n ColorPrefixesType,\n IconBoxColorsType,\n IntensityDictionaryType,\n TextColorProps,\n} from '../../types';\n\nexport interface UseIconBoxColorsProps {\n colors: {\n background: BackgroundAccentColorsType | BackgroundEmotionColorsType;\n border: BorderAccentColorsType | BorderEmotionColorsType;\n text: TextColorProps['textColor'];\n };\n}\n\nconst setFullColorName = (prefix: ColorPrefixesType, base: string, intensity: IntensityDictionaryType) =>\n `${prefix}-${base}-${intensity}`;\n\nconst derivePrefix = (base: string): ColorPrefixesType =>\n Object.keys(emotionColors).includes(base) ? ColorPrefixes.EMOTION : ColorPrefixes.ACCENT;\n\nexport const useIconBoxColors = (color?: IconBoxColorsType, isSubtle = true): UseIconBoxColorsProps => {\n const intensity: IntensityDictionaryType = isSubtle ? Intensity.SUBTLE : Intensity.BASIC;\n const complementaryIntensity: IntensityDictionaryType =\n intensity === Intensity.BASIC ? Intensity.SUBTLE : Intensity.BASIC;\n const base: IconBoxColorsType = color ?? EmotionColors.INFORMATIVE;\n const prefix: ColorPrefixesType = derivePrefix(base);\n\n const background = setFullColorName(prefix, base, intensity) as\n | BackgroundAccentColorsType\n | BackgroundEmotionColorsType;\n const border = setFullColorName(prefix, base, intensity) as BorderAccentColorsType | BorderEmotionColorsType;\n const text = setFullColorName(prefix, base, complementaryIntensity) as TextColorProps['textColor'];\n\n return {\n colors: {\n background,\n border,\n text,\n },\n };\n};\n","import { cssVariablePrefix } from '@alma-oss/spirit-design-tokens';\nimport { type CSSProperties, type ElementType } from 'react';\nimport { SizesExtended } from '../../constants';\nimport type { Responsive, SpaceToken, SpiritIconBoxProps } from '../../types';\nimport { isResponsive } from '../../utils';\nimport { IconBoxShapes, IconBoxShapesRadii, IconBoxSizes } from './constants';\n\nexport interface UseIconBoxStyleProps<T> {\n iconBoxStyles: CSSProperties;\n props: T;\n shapesProps: (typeof IconBoxShapesRadii)[keyof typeof IconBoxShapesRadii];\n sizeProps:\n | (typeof IconBoxSizes)[keyof typeof IconBoxSizes]\n | {\n padding: Responsive<SpaceToken>;\n iconSize: Responsive<number>;\n };\n}\n\nexport const useIconBoxStyleProps = (\n props: Partial<SpiritIconBoxProps<ElementType>>,\n): UseIconBoxStyleProps<Partial<SpiritIconBoxProps<ElementType>>> => {\n const { shape = IconBoxShapes.ROUNDED, size = SizesExtended.MEDIUM, ...restProps } = props || {};\n const shapesProps = IconBoxShapesRadii[shape];\n const iconBoxStyles: CSSProperties = {\n padding: `calc(var(--${cssVariablePrefix}local-padding) - var(--${cssVariablePrefix}local-border-width, 0px)) !important`,\n };\n\n let sizeProps: UseIconBoxStyleProps<Partial<SpiritIconBoxProps<ElementType>>>['sizeProps'];\n\n if (isResponsive<(typeof SizesExtended)[keyof typeof SizesExtended]>(size)) {\n const responsivePadding: Responsive<SpaceToken> = {};\n const responsiveIconSize: Responsive<number> = {};\n\n Object.entries(size).forEach(([breakpoint, breakpointSize]) => {\n const sizeConfig = IconBoxSizes[breakpointSize as keyof typeof IconBoxSizes];\n responsivePadding[breakpoint as keyof Responsive<SpaceToken>] = sizeConfig.padding as SpaceToken;\n responsiveIconSize[breakpoint as keyof Responsive<number>] = sizeConfig.iconSize;\n });\n\n sizeProps = {\n padding: responsivePadding,\n iconSize: responsiveIconSize,\n };\n } else {\n sizeProps = IconBoxSizes[size as keyof typeof IconBoxSizes];\n }\n\n return {\n iconBoxStyles,\n props: restProps,\n shapesProps,\n sizeProps,\n };\n};\n","'use client';\n\nimport classNames from 'classnames';\nimport React, { type ElementType } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritItemProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { HelperText } from '../Field';\nimport { Icon } from '../Icon';\nimport { useItemStyleProps } from './useItemStyleProps';\n\nconst Item = <T extends ElementType = 'button'>(props: SpiritItemProps<T>): JSX.Element => {\n const {\n label,\n elementType: ElementTag = 'button',\n iconName,\n helperText,\n isSelected,\n isDisabled,\n ...restProps\n } = props;\n const { classProps, props: modifiedProps } = useItemStyleProps({ isSelected, isDisabled, ...restProps });\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n const mergedStyleProps = mergeStyleProps(ElementTag, { classProps: classProps.root, styleProps, otherProps });\n\n return (\n <ElementTag {...otherProps} {...mergedStyleProps} disabled={!!isDisabled && ElementTag === 'button'}>\n {iconName && (\n <span className={classNames(classProps.icon.root, classProps.icon.start)}>\n <Icon name={iconName} />\n </span>\n )}\n <span className={classProps.label}>{label}</span>\n <HelperText UNSAFE_className={classProps.helperText} elementType=\"span\" helperText={helperText} />\n {isSelected && (\n <span className={classNames(classProps.icon.root, classProps.icon.end)}>\n <Icon name=\"check-plain\" />\n </span>\n )}\n </ElementTag>\n );\n};\n\nItem.spiritComponent = 'Item';\n\nexport default Item;\n","export { default as Item } from './Item';\nexport * from './useItemStyleProps';\n","import classNames from 'classnames';\nimport { useClassNamePrefix } from '../../hooks/useClassNamePrefix';\nimport { type ItemStyleProps } from '../../types';\n\nexport interface ItemStyles {\n /** className props */\n classProps: {\n helperText: string;\n icon: {\n root: string;\n start: string;\n end: string;\n };\n label: string;\n root: string;\n };\n /** props to be passed to the element */\n props: ItemStyleProps;\n}\n\nexport function useItemStyleProps<P extends ItemStyleProps>(props: P): ItemStyles {\n const { isDisabled, isSelected, ...restProps } = props;\n const itemClass = useClassNamePrefix('Item');\n const itemRootDisabledClass = `${itemClass}--disabled`;\n const itemRootSelectedClass = `${itemClass}--selected`;\n const itemHelperTextClass = `${itemClass}__helperText`;\n const itemLabelClass = `${itemClass}__label`;\n const itemIconClass = `${itemClass}__icon`;\n const itemIconStartClass = `${itemIconClass}--start`;\n const itemIconEndClass = `${itemIconClass}--end`;\n\n const rootStyles = classNames(itemClass, {\n [itemRootDisabledClass]: isDisabled,\n [itemRootSelectedClass]: isSelected,\n });\n\n return {\n classProps: {\n helperText: itemHelperTextClass,\n icon: {\n root: itemIconClass,\n start: itemIconStartClass,\n end: itemIconEndClass,\n },\n label: itemLabelClass,\n root: rootStyles,\n },\n props: restProps,\n };\n}\n","'use client';\n\nimport React, { type ElementType, forwardRef } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type PolymorphicRef, type SpiritLinkProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { useLinkStyleProps } from './useLinkStyleProps';\n\nconst defaultProps: Partial<SpiritLinkProps> = {\n elementType: 'a',\n color: 'primary',\n hasVisitedStyleAllowed: false,\n underlined: 'hover',\n};\n\n/* We need an exception for components exported with forwardRef */\n/* eslint no-underscore-dangle: ['error', { allow: ['_Link'] }] */\nconst _Link = <E extends ElementType = 'a', T = void>(\n props: SpiritLinkProps<E, T>,\n ref: PolymorphicRef<E>,\n): JSX.Element => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const {\n elementType: ElementTag = defaultProps.elementType as ElementType,\n children,\n ...restProps\n } = propsWithDefaults;\n const { classProps, props: modifiedProps } = useLinkStyleProps(restProps);\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n const mergedStyleProps = mergeStyleProps(ElementTag, { classProps, styleProps, otherProps });\n\n return (\n <ElementTag {...otherProps} {...mergedStyleProps} href={restProps.href} ref={ref}>\n {children}\n </ElementTag>\n );\n};\n\nconst Link = forwardRef<HTMLAnchorElement, SpiritLinkProps<ElementType>>(_Link);\n\nLink.spiritComponent = 'Link';\n\nexport default Link;\n","export { default as Link } from './Link';\nexport * from './useLinkStyleProps';\n","import classNames from 'classnames';\nimport { type ElementType } from 'react';\nimport { useClassNamePrefix } from '../../hooks';\nimport { type LinkProps, type SpiritLinkProps, UNDERLINED_OPTIONS } from '../../types';\n\nexport interface LinkStyles<E extends ElementType = 'p'> {\n /** className props */\n classProps: string | null;\n /** props to be passed to the input element */\n props: Partial<LinkProps<E>>;\n}\n\nexport function useLinkStyleProps<E extends ElementType = 'a', T = void>(props: SpiritLinkProps<E, T>): LinkStyles<E> {\n const { color, hasVisitedStyleAllowed, isDisabled, underlined, ...restProps } = props;\n\n const linkClass = useClassNamePrefix('link');\n const linkColorClass = `${linkClass}-${color}`;\n const linkDisabledClass = `${linkClass}-disabled`;\n const linkUnderlinedClass = `${linkClass}-underlined`;\n const linkNotUnderlinedClass = `${linkClass}-not-underlined`;\n const linkVisitedStyleAllowedClass = `${linkClass}-allow-visited-style`;\n\n const className = classNames(linkColorClass, {\n [linkDisabledClass]: isDisabled,\n [linkUnderlinedClass]: underlined === UNDERLINED_OPTIONS.ALWAYS,\n [linkNotUnderlinedClass]: underlined === UNDERLINED_OPTIONS.NEVER,\n [linkVisitedStyleAllowedClass]: hasVisitedStyleAllowed,\n });\n\n return {\n classProps: className,\n props: restProps,\n };\n}\n","'use client';\n\nimport React, { type ElementType } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritMatrixProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport {\n MATRIX_COLS_DEFAULT,\n MATRIX_ITEM_ROWS_DEFAULT,\n MATRIX_ROWS_DEFAULT,\n MATRIX_SPACING_X_DEFAULT,\n MATRIX_SPACING_Y_DEFAULT,\n} from './constant';\nimport { useMatrixStyleProps } from './useMatrixStyleProps';\n\nconst defaultProps: Partial<SpiritMatrixProps> = {\n cols: MATRIX_COLS_DEFAULT,\n elementType: 'div',\n itemRows: MATRIX_ITEM_ROWS_DEFAULT,\n rows: MATRIX_ROWS_DEFAULT,\n spacingX: MATRIX_SPACING_X_DEFAULT,\n spacingY: MATRIX_SPACING_Y_DEFAULT,\n};\n\nconst Matrix = <T extends ElementType = 'div'>(props: SpiritMatrixProps<T>) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n\n const { elementType: ElementTag = 'div', children, ...restProps } = propsWithDefaults;\n const itemsCount: number = React.Children.count(children);\n const {\n classProps,\n props: modifiedProps,\n styleProps: matrixStyleProps,\n } = useMatrixStyleProps({\n ...restProps,\n itemsCount,\n });\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n const mergedStyleProps = mergeStyleProps(ElementTag, { classProps, styleProps, otherProps, matrixStyleProps });\n\n return (\n <ElementTag {...otherProps} {...mergedStyleProps}>\n {children}\n </ElementTag>\n );\n};\n\nMatrix.spiritComponent = 'Matrix';\n\nexport default Matrix;\n","export const MATRIX_COLS_DEFAULT = 3;\nexport const MATRIX_ROWS_DEFAULT = 100;\nexport const MATRIX_ITEM_ROWS_DEFAULT = 100;\nexport const MATRIX_SPACING_X_DEFAULT = 'space-700';\nexport const MATRIX_SPACING_Y_DEFAULT = 'space-0';\n","export { default as Matrix } from './Matrix';\nexport * from './Matrix';\nexport * from './useMatrixStyleProps';\n","import { cssVariablePrefix } from '@alma-oss/spirit-design-tokens';\nimport classNames from 'classnames';\nimport { type CSSProperties, type ElementType } from 'react';\nimport { DirectionAxis } from '../../constants';\nimport { type DimensionCSSProperties, useClassNamePrefix, useDimensionStyle, useSpacingStyle } from '../../hooks';\nimport { type DimensionType, type SpiritMatrixProps } from '../../types';\nimport { MATRIX_ROWS_DEFAULT } from './constant';\n\nexport interface MatrixStyles<T> {\n /** className props */\n classProps: string;\n /** Props for the Matrix element. */\n props: T;\n /** Style props for the element */\n styleProps: CSSProperties;\n}\n\n/**\n * Generates default responsive row styles for the Matrix component.\n *\n * @param cols - The column configuration for the Matrix, which can be a dimension type or undefined.\n * @param rows - The row configuration for the Matrix, which can be a dimension type or undefined.\n * @param itemsCount\n * @param prefix - The CSS variable prefix used for generating styles.\n * @returns A CSSProperties object containing the calculated row styles.\n */\nexport const useDefaultResponsiveRowsStyle = (\n cols: DimensionType | undefined,\n rows: DimensionType | undefined,\n itemsCount: number,\n prefix: string,\n): React.CSSProperties => {\n const style: DimensionCSSProperties = {};\n const cssPrefix: string = `--${prefix}`;\n\n if (typeof cols === 'object' && rows === MATRIX_ROWS_DEFAULT && itemsCount > 0) {\n Object.keys(cols).forEach((key) => {\n const breakpointSuffix = key === 'mobile' ? '' : `-${key}`;\n (style as Record<string, string | undefined>)[`${cssPrefix}-items-count`] = `${itemsCount}`;\n (style as Record<string, string | undefined>)[`${cssPrefix}-rows${breakpointSuffix}`] =\n `calc(var(${cssPrefix}-item-rows) * var(${cssPrefix}-items-count) / var(${cssPrefix}-columns${breakpointSuffix}))`;\n });\n }\n\n return style;\n};\n\nexport function useMatrixStyleProps(\n props: SpiritMatrixProps<ElementType>,\n): MatrixStyles<SpiritMatrixProps<ElementType>> {\n const { cols, itemsCount, itemRows, rows, spacing, spacingX, spacingY, ...restProps } = props;\n\n const matrixClass = useClassNamePrefix('Matrix');\n const matrixPrefix: string = `${cssVariablePrefix}matrix`;\n\n const matrixCustomStyle: CSSProperties = {\n ...useDimensionStyle(cols, `${matrixPrefix}-columns`),\n ...useDimensionStyle(rows, `${matrixPrefix}-rows`),\n ...useDimensionStyle(itemRows, `${matrixPrefix}-item-rows`),\n ...useDefaultResponsiveRowsStyle(cols, rows, itemsCount as number, matrixPrefix),\n ...useSpacingStyle(spacing, matrixPrefix, DirectionAxis.X),\n ...useSpacingStyle(spacing, matrixPrefix, DirectionAxis.Y),\n ...useSpacingStyle(spacingX, matrixPrefix, DirectionAxis.X),\n ...useSpacingStyle(spacingY, matrixPrefix, DirectionAxis.Y),\n };\n\n return {\n classProps: classNames(matrixClass),\n props: restProps,\n styleProps: matrixCustomStyle,\n };\n}\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { AlignmentY } from '../../constants';\nimport { useLastActiveFocus, useStyleProps } from '../../hooks';\nimport { type SpiritModalProps } from '../../types';\nimport Dialog from '../Dialog/Dialog';\nimport { ModalProvider } from './ModalContext';\nimport { useModalStyleProps } from './useModalStyleProps';\n\nconst Modal = (props: SpiritModalProps) => {\n const { children, alignmentY = AlignmentY.CENTER, isOpen, onClose, id, ...restProps } = props;\n const { classProps } = useModalStyleProps({ isOpen, modalAlignment: alignmentY });\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n\n const contextValue = {\n id,\n isOpen,\n onClose,\n };\n\n useLastActiveFocus(isOpen);\n\n return (\n <ModalProvider value={contextValue}>\n <Dialog\n {...otherProps}\n {...styleProps}\n id={id}\n isOpen={isOpen}\n onClose={onClose}\n className={classNames(classProps.root, styleProps.className)}\n aria-labelledby={`${id}__title`}\n >\n {children}\n </Dialog>\n </ModalProvider>\n );\n};\n\nModal.spiritComponent = 'Modal';\n\nexport default Modal;\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type ModalBodyProps } from '../../types';\nimport { useModalStyleProps } from './useModalStyleProps';\n\nconst ModalBody = ({ children, ...restProps }: ModalBodyProps) => {\n const { classProps } = useModalStyleProps();\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n\n return (\n <div {...otherProps} {...styleProps} className={classNames(classProps.body, styleProps.className)}>\n {children}\n </div>\n );\n};\n\nModalBody.spiritComponent = 'ModalBody';\n\nexport default ModalBody;\n","'use client';\n\nimport React from 'react';\nimport { type ModalCloseButtonProps } from '../../types';\nimport { Button } from '../Button';\nimport { Icon } from '../Icon';\nimport { VisuallyHidden } from '../VisuallyHidden';\n\nconst ModalCloseButton = ({ label = 'Close', onClose, id, isOpen, ...restProps }: ModalCloseButtonProps) => (\n <Button {...restProps} isSymmetrical color=\"tertiary\" onClick={onClose} aria-expanded={isOpen} aria-controls={id}>\n <Icon name=\"close\" />\n <VisuallyHidden>{label}</VisuallyHidden>\n </Button>\n);\n\nModalCloseButton.spiritComponent = 'ModalCloseButton';\n\nexport default ModalCloseButton;\n","'use client';\n\nimport { createContext, useContext } from 'react';\nimport { type ModalDialogHandlingProps } from '../../types';\n\nexport type ModalContextProps = {\n id: string;\n} & ModalDialogHandlingProps;\n\nconst defaultContext: ModalContextProps = {\n id: '',\n isOpen: false,\n onClose: () => null,\n};\n\nconst ModalContext = createContext<ModalContextProps>(defaultContext);\nconst ModalProvider = ModalContext.Provider;\nconst ModalConsumer = ModalContext.Consumer;\nconst useModalContext = (): ModalContextProps => useContext(ModalContext);\n\nexport default ModalContext;\nexport { ModalProvider, ModalConsumer, useModalContext };\n","'use client';\n\nimport React, { type ElementType, type ForwardedRef, forwardRef } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type ModalDialogProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { useModalDialogStyleProps } from './useModalDialogStyleProps';\nimport { useModalStyleProps } from './useModalStyleProps';\n\nconst ModalDialog = <E extends ElementType = 'article'>(\n props: ModalDialogProps<E>,\n ref: ForwardedRef<HTMLDivElement>,\n) => {\n const {\n elementType: ElementTag = 'article',\n children,\n isDockedOnMobile,\n isExpandedOnMobile,\n isScrollable,\n ...restProps\n } = props;\n\n const { classProps } = useModalStyleProps({ isDockedOnMobile, isExpandedOnMobile, isScrollable });\n const { modalDialogStyleProps, props: modifiedProps } = useModalDialogStyleProps(restProps);\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n const mergedStyleProps = mergeStyleProps(ElementTag, {\n classProps: classProps.dialog,\n modalDialogStyleProps,\n styleProps,\n otherProps,\n });\n\n return (\n <ElementTag {...otherProps} {...mergedStyleProps} ref={ref}>\n {children}\n </ElementTag>\n );\n};\n\nModalDialog.spiritComponent = 'ModalDialog';\n\nexport default forwardRef(ModalDialog);\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { AlignmentX } from '../../constants';\nimport { useStyleProps } from '../../hooks';\nimport { type ModalFooterProps } from '../../types';\nimport { useModalStyleProps } from './useModalStyleProps';\n\nconst ModalFooter = (props: ModalFooterProps) => {\n const { children, alignmentX = AlignmentX.RIGHT, description, ...restProps } = props;\n\n const { classProps } = useModalStyleProps({ footerAlignment: alignmentX });\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n\n return (\n <footer {...otherProps} {...styleProps} className={classNames(classProps.footer.root, styleProps.className)}>\n {description && <div className={classProps.footer.description}>{description}</div>}\n <div className={classProps.footer.actions}>{children}</div>\n </footer>\n );\n};\n\nModalFooter.spiritComponent = 'ModalFooter';\n\nexport default ModalFooter;\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type ModalHeaderProps } from '../../types';\nimport ModalCloseButton from './ModalCloseButton';\nimport { useModalContext } from './ModalContext';\nimport { useModalStyleProps } from './useModalStyleProps';\n\nconst defaultProps: ModalHeaderProps = {\n hasCloseButton: true,\n};\n\nconst ModalHeader = (props: ModalHeaderProps) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { children, closeLabel, hasCloseButton, ...restProps } = propsWithDefaults;\n const { classProps } = useModalStyleProps();\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n const { id, isOpen, onClose } = useModalContext();\n\n return (\n <header {...otherProps} {...styleProps} className={classNames(classProps.header, styleProps.className)}>\n {children && (\n <h2 id={`${id}__title`} className={classProps.title}>\n {children}\n </h2>\n )}\n {hasCloseButton && <ModalCloseButton id={id} isOpen={isOpen} label={closeLabel} onClose={onClose} />}\n </header>\n );\n};\n\nModalHeader.spiritComponent = 'ModalHeader';\n\nexport default ModalHeader;\n","export { default as Modal } from './Modal';\nexport { default as ModalBody } from './ModalBody';\nexport { default as ModalCloseButton } from './ModalCloseButton';\nexport * from './ModalContext';\nexport { default as ModalDialog } from './ModalDialog';\nexport { default as ModalFooter } from './ModalFooter';\nexport { default as ModalHeader } from './ModalHeader';\nexport * from './useModalStyleProps';\n","import { type CSSProperties, type ElementType } from 'react';\nimport { type ModalDialogCSSHeight, type ModalDialogCSSHeightBreakpoints, type ModalDialogProps } from '../../types';\n\ninterface CustomizedHeightCSSProperties extends CSSProperties {\n [key: string]: string | undefined | number;\n}\n\nconst setCustomHeight = (\n baseVarName: string,\n propValue: ModalDialogCSSHeight | ModalDialogCSSHeightBreakpoints | undefined,\n): CustomizedHeightCSSProperties => {\n if (!propValue) return {};\n\n if (typeof propValue === 'object') {\n return Object.keys(propValue).reduce((acc, key) => {\n const suffix = key === 'mobile' ? '' : `-${key}`;\n const propName = `--${baseVarName}${suffix}`;\n acc[propName] = propValue[key as keyof ModalDialogCSSHeightBreakpoints]?.toString();\n\n return acc;\n }, {} as CustomizedHeightCSSProperties);\n }\n const propName = `--${baseVarName}`;\n\n return { [propName]: propValue?.toString() } as CustomizedHeightCSSProperties;\n};\n\nexport const useModalDialogStyleProps = <E extends ElementType>(props: ModalDialogProps<E>) => {\n const { height, maxHeight, ...otherProps } = props;\n\n const customizedHeightStyle = {\n ...setCustomHeight('modal-dialog-height', height),\n ...setCustomHeight('modal-dialog-max-height', maxHeight),\n };\n\n return {\n modalDialogStyleProps: customizedHeightStyle,\n props: otherProps,\n };\n};\n","import classNames from 'classnames';\nimport { AlignmentX, AlignmentY, CLASS_NAME_OPEN } from '../../constants';\nimport { useClassNamePrefix } from '../../hooks';\nimport { type AlignmentXDictionaryType, type AlignmentYDictionaryType } from '../../types';\n\nexport interface ModalStylesProps {\n footerAlignment?: AlignmentXDictionaryType;\n isDockedOnMobile?: boolean;\n isExpandedOnMobile?: boolean;\n isOpen?: boolean;\n isScrollable?: boolean;\n modalAlignment?: AlignmentYDictionaryType;\n}\n\nexport interface ModalStylesReturn {\n /** className props */\n classProps: {\n root: string;\n dialog: string;\n title: string;\n header: string;\n body: string;\n footer: {\n root: string;\n description: string;\n actions: string;\n };\n };\n}\n\nexport function useModalStyleProps({\n footerAlignment = AlignmentX.RIGHT,\n isDockedOnMobile = false,\n isExpandedOnMobile = false,\n isOpen = false,\n isScrollable = false,\n modalAlignment = AlignmentY.CENTER,\n}: ModalStylesProps = {}): ModalStylesReturn {\n const modalClass = useClassNamePrefix('Modal');\n const modalAlignClasses = {\n top: `${modalClass}--top`,\n center: `${modalClass}--center`,\n bottom: `${modalClass}--bottom`,\n };\n const modalDialogClass = `${modalClass}Dialog`;\n const modalDialogDockedOnMobileClass = `${modalDialogClass}--dockOnMobile`;\n const modalDialogExpandedOnMobileClass = `${modalDialogClass}--expandOnMobile`;\n const modalDialogScrollableClass = `${modalDialogClass}--scrollable`;\n const modalHeaderClass = `${modalClass}Header`;\n const modalTitleClass = `${modalHeaderClass}__title`;\n const modalBodyClass = `${modalClass}Body`;\n const modalFooterClass = `${modalClass}Footer`;\n const modalFooterDescriptionClass = `${modalFooterClass}__description`;\n const modalFooterActionsClass = `${modalFooterClass}__actions`;\n const footerAlignClasses = {\n left: `${modalFooterClass}--left`,\n center: `${modalFooterClass}--center`,\n right: `${modalFooterClass}--right`,\n };\n\n const classProps = {\n root: classNames(modalClass, {\n [modalAlignClasses[modalAlignment]]: modalAlignment,\n [CLASS_NAME_OPEN]: isOpen,\n }),\n dialog: classNames(modalDialogClass, {\n [modalDialogDockedOnMobileClass]: isDockedOnMobile,\n [modalDialogExpandedOnMobileClass]: isExpandedOnMobile,\n [modalDialogScrollableClass]: isScrollable,\n }),\n title: modalTitleClass,\n header: modalHeaderClass,\n body: modalBodyClass,\n footer: {\n root: classNames(modalFooterClass, { [footerAlignClasses[footerAlignment]]: footerAlignment }),\n description: modalFooterDescriptionClass,\n actions: modalFooterActionsClass,\n },\n };\n\n return {\n classProps,\n };\n}\n","'use client';\n\nimport classNames from 'classnames';\nimport React, { type ReactElement } from 'react';\nimport { Direction } from '../../constants';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritNavigationProps } from '../../types';\nimport { useNavigationStyleProps } from './useNavigationStyleProps';\n\nconst defaultProps: Partial<SpiritNavigationProps> = {\n direction: Direction.HORIZONTAL,\n};\n\nconst Navigation = (props: SpiritNavigationProps): ReactElement => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { children, ...restProps } = propsWithDefaults;\n\n const { classProps, props: modifiedProps } = useNavigationStyleProps(restProps);\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n\n return (\n <nav {...otherProps} className={classNames(classProps.root, styleProps.className)} style={styleProps.style}>\n <ul>{children}</ul>\n </nav>\n );\n};\n\nNavigation.spiritComponent = 'Navigation';\n\nexport default Navigation;\n","'use client';\n\nimport React, { type ElementType, type ReactElement, forwardRef } from 'react';\nimport { ShapeVariants } from '../../constants';\nimport { useStyleProps } from '../../hooks';\nimport { type PolymorphicRef, type SpiritNavigationActionProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { useNavigationActionProps } from './useNavigationActionProps';\nimport { useNavigationStyleProps } from './useNavigationStyleProps';\n\nconst defaultProps: Partial<SpiritNavigationActionProps> = {\n elementType: 'a',\n variant: ShapeVariants.BOX,\n};\n\n/* We need an exception for components exported with forwardRef */\n/* eslint no-underscore-dangle: ['error', { allow: ['_NavigationAction'] }] */\nconst _NavigationAction = <E extends ElementType = 'a'>(\n props: SpiritNavigationActionProps<E>,\n ref: PolymorphicRef<E>,\n): ReactElement => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { elementType = defaultProps.elementType as ElementType, children, ...restProps } = propsWithDefaults;\n const ElementTag = propsWithDefaults.isDisabled ? 'span' : elementType;\n\n const { navigationActionProps } = useNavigationActionProps(propsWithDefaults);\n const { classProps, props: modifiedProps } = useNavigationStyleProps(restProps);\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n const mergedStyleProps = mergeStyleProps(ElementTag, { classProps: classProps.action, styleProps, otherProps });\n\n return (\n <ElementTag {...otherProps} {...navigationActionProps} {...mergedStyleProps} ref={ref}>\n {children}\n </ElementTag>\n );\n};\n\nconst NavigationAction = forwardRef<HTMLElement, SpiritNavigationActionProps<ElementType>>(_NavigationAction);\n\nNavigationAction.spiritComponent = 'NavigationAction';\n\nexport default NavigationAction;\n","'use client';\n\nimport React, { type ElementType, type ReactElement, forwardRef } from 'react';\nimport { Sizes } from '../../constants';\nimport { useStyleProps } from '../../hooks';\nimport { type PolymorphicRef, type SpiritNavigationAvatarProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { Avatar } from '../Avatar';\nimport { useNavigationStyleProps } from './useNavigationStyleProps';\n\nconst defaultProps: Partial<SpiritNavigationAvatarProps> = {\n elementType: 'a',\n isSquare: false,\n};\n\n/* We need an exception for components exported with forwardRef */\n/* eslint no-underscore-dangle: ['error', { allow: ['_NavigationAvatar'] }] */\nconst _NavigationAvatar = <E extends ElementType = 'a'>(\n props: SpiritNavigationAvatarProps<E>,\n ref: PolymorphicRef<E>,\n): ReactElement => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const {\n elementType: ElementTag = defaultProps.elementType as ElementType,\n avatarContent,\n isSquare,\n children,\n ...restProps\n } = propsWithDefaults;\n\n const { classProps, props: modifiedProps } = useNavigationStyleProps({ isSquare, ...restProps });\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n const mergedStyleProps = mergeStyleProps(ElementTag, { classProps: classProps.avatar, styleProps, otherProps });\n\n return (\n <ElementTag {...otherProps} {...mergedStyleProps} href={restProps.href} ref={ref}>\n <Avatar size={Sizes.SMALL} isSquare={isSquare}>\n {avatarContent}\n </Avatar>\n {children}\n </ElementTag>\n );\n};\n\nconst NavigationAvatar = forwardRef<HTMLElement, SpiritNavigationAvatarProps<ElementType>>(_NavigationAvatar);\n\nNavigationAvatar.spiritComponent = 'NavigationAvatar';\n\nexport default NavigationAvatar;\n","'use client';\n\nimport classNames from 'classnames';\nimport React, { type ReactElement } from 'react';\nimport { AlignmentYExtended } from '../../constants';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritNavigationItemProps } from '../../types';\nimport { useNavigationStyleProps } from './useNavigationStyleProps';\n\nconst defaultProps: Partial<SpiritNavigationItemProps> = {\n alignmentY: AlignmentYExtended.CENTER,\n};\n\nconst NavigationItem = (props: SpiritNavigationItemProps): ReactElement => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { children, ...restProps } = propsWithDefaults;\n\n const { classProps, props: modifiedProps } = useNavigationStyleProps(restProps);\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n\n return (\n <li {...otherProps} className={classNames(classProps.item, styleProps.className)} style={styleProps.style}>\n {children}\n </li>\n );\n};\n\nNavigationItem.spiritComponent = 'NavigationItem';\n\nexport default NavigationItem;\n","export { default as Navigation } from './Navigation';\nexport { default as NavigationAction } from './NavigationAction';\nexport { default as NavigationAvatar } from './NavigationAvatar';\nexport { default as NavigationItem } from './NavigationItem';\nexport * from './useNavigationStyleProps';\nexport * from './useNavigationActionProps';\n","import { type SpiritNavigationActionProps } from '../../types';\n\nexport type UseNavigationActionProps = Partial<SpiritNavigationActionProps>;\n\nexport type UseNavigationActionReturn = {\n navigationActionProps: UseNavigationActionProps;\n};\n\nexport const useNavigationActionProps = (props: UseNavigationActionProps): UseNavigationActionReturn => {\n const { isDisabled, href, target, rel } = props;\n\n const navigationActionProps: Partial<SpiritNavigationActionProps> = {\n href: isDisabled ? undefined : href,\n target: isDisabled ? undefined : target,\n rel: isDisabled ? undefined : rel,\n };\n\n return {\n navigationActionProps,\n };\n};\n","import classNames from 'classnames';\nimport { AlignmentYExtended, Direction, ShapeVariants } from '../../constants';\nimport { type AlignmentPropertyType, useAlignmentClass, useClassNamePrefix } from '../../hooks';\nimport {\n type DirectionDictionaryType,\n type NavigationActionVariantsType,\n type SpiritNavigationActionProps,\n type SpiritNavigationItemAlignmentYType,\n type SpiritNavigationItemProps,\n} from '../../types';\n\nexport interface UseNavigationStyleProps {\n alignmentY?: SpiritNavigationItemAlignmentYType;\n direction?: DirectionDictionaryType;\n isDisabled?: boolean;\n isSelected?: boolean;\n isSquare?: boolean;\n variant?: NavigationActionVariantsType;\n}\n\nexport interface UseNavigationStyleReturn {\n classProps: {\n root: string;\n action: string;\n avatar: string;\n item: string;\n };\n props: SpiritNavigationItemProps | SpiritNavigationActionProps;\n}\n\nexport const useNavigationStyleProps = ({\n isDisabled = false,\n isSelected = false,\n isSquare = false,\n alignmentY = AlignmentYExtended.CENTER,\n direction = Direction.HORIZONTAL,\n variant = ShapeVariants.BOX,\n ...restProps\n}: UseNavigationStyleProps): UseNavigationStyleReturn => {\n const navigationClass = useClassNamePrefix('Navigation');\n const navigationActionClass = `${navigationClass}Action`;\n const navigationAvatarClass = `${navigationClass}Avatar`;\n const navigationItemClass = `${navigationClass}Item`;\n\n const navigationDirectionClass = `${navigationClass}--${direction}`;\n const navigationActionDisabledClass = `${navigationActionClass}--disabled`;\n const navigationActionSelectedClass = `${navigationActionClass}--selected`;\n const navigationActionVariantClass = `${navigationActionClass}--${variant}`;\n\n const navigationAvatarSquareClass = `${navigationAvatarClass}--square`;\n\n const navigationItemClasses = classNames(navigationItemClass, {\n [useAlignmentClass(navigationItemClass, alignmentY as AlignmentPropertyType, 'alignmentY')]: alignmentY,\n });\n\n const classProps = {\n root: classNames(navigationClass, navigationDirectionClass),\n action: classNames(navigationActionClass, navigationActionVariantClass, {\n [navigationActionDisabledClass]: isDisabled,\n [navigationActionSelectedClass]: isSelected,\n }),\n avatar: classNames(navigationAvatarClass, {\n [navigationAvatarSquareClass]: isSquare,\n }),\n item: navigationItemClasses,\n };\n\n return {\n classProps,\n props: restProps,\n };\n};\n","'use client';\n\nimport { useEffect, useState } from 'react';\nimport { type ChildrenProps } from '../../types';\n\ninterface NoSsrProps extends ChildrenProps {}\n\nconst NoSsr = ({ children }: NoSsrProps): JSX.Element => {\n const [isMounted, setMount] = useState(false);\n\n useEffect(() => {\n setMount(true);\n }, []);\n\n // @ts-expect-error Type 'ReactNode' is not assignable to type 'Element'.\n return isMounted ? children : null;\n};\n\nNoSsr.spiritComponent = 'NoSsr';\n\nexport default NoSsr;\n","export { default as NoSsr } from './NoSsr';\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritPaginationProps } from '../../types';\nimport { usePaginationStyleProps } from './usePaginationStyleProps';\n\nconst Pagination = (props: SpiritPaginationProps) => {\n const { children, listProps = {}, ...restProps } = props;\n\n const { classProps } = usePaginationStyleProps();\n const { styleProps, props: transferProps } = useStyleProps(restProps);\n const { styleProps: listStyleProps, props: listTransferProps } = useStyleProps(listProps);\n\n return (\n <nav {...transferProps} {...styleProps}>\n <ul {...listStyleProps} {...listTransferProps} className={classNames(classProps.root, listStyleProps.className)}>\n {children}\n </ul>\n </nav>\n );\n};\n\nPagination.spiritComponent = 'Pagination';\n\nexport default Pagination;\n","'use client';\n\nimport React, { type ElementType, type ForwardedRef, forwardRef } from 'react';\nimport { type SpiritPaginationButtonLinkProps } from '../../types';\nimport { ButtonLink } from '../Button';\nimport { Icon } from '../Icon';\nimport { VisuallyHidden } from '../VisuallyHidden';\n\n/* We need an exception for components exported with forwardRef */\n/* eslint no-underscore-dangle: ['error', { allow: ['_PaginationButtonLink'] }] */\nconst _PaginationButtonLink = <E extends ElementType = 'a'>(\n props: SpiritPaginationButtonLinkProps<E>,\n ref: ForwardedRef<HTMLAnchorElement>,\n) => {\n const { direction, accessibilityLabel, ...restProps } = props as unknown as SpiritPaginationButtonLinkProps;\n\n const iconType = {\n previous: 'chevron-left',\n next: 'chevron-right',\n };\n\n return (\n <ButtonLink color=\"secondary\" isSymmetrical {...restProps} ref={ref}>\n <Icon name={iconType[direction]} />\n <VisuallyHidden>{accessibilityLabel}</VisuallyHidden>\n </ButtonLink>\n );\n};\n\nconst PaginationButtonLink = forwardRef<HTMLAnchorElement, SpiritPaginationButtonLinkProps>(_PaginationButtonLink);\n\nPaginationButtonLink.spiritComponent = 'PaginationButtonLink';\n\nexport default PaginationButtonLink;\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritPaginationItemProps } from '../../types';\nimport { usePaginationStyleProps } from './usePaginationStyleProps';\n\nconst PaginationItem = (props: SpiritPaginationItemProps) => {\n const { children, ...restProps } = props;\n\n const { classProps } = usePaginationStyleProps();\n const { styleProps, props: transferProps } = useStyleProps(restProps);\n\n return (\n <li {...transferProps} {...styleProps} className={classNames(classProps.item, styleProps.className)}>\n {children}\n </li>\n );\n};\n\nPaginationItem.spiritComponent = 'PaginationItem';\n\nexport default PaginationItem;\n","'use client';\n\nimport React, { type ElementType, forwardRef } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type PolymorphicRef, type SpiritPaginationLinkProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { VisuallyHidden } from '../VisuallyHidden';\nimport { usePaginationStyleProps } from './usePaginationStyleProps';\n\n/* We need an exception for components exported with forwardRef */\n/* eslint no-underscore-dangle: ['error', { allow: ['_PaginationLink'] }] */\nconst _PaginationLink = <E extends ElementType = 'a'>(props: SpiritPaginationLinkProps<E>, ref: PolymorphicRef<E>) => {\n const { elementType: ElementTag = 'a', accessibilityLabel, isCurrent, pageNumber, ...restProps } = props;\n\n const { classProps } = usePaginationStyleProps({ isCurrent });\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n const mergedStyleProps = mergeStyleProps(ElementTag, { classProps: classProps.link, styleProps, otherProps });\n\n return (\n <ElementTag {...otherProps} {...mergedStyleProps} ref={ref}>\n <VisuallyHidden>{accessibilityLabel}</VisuallyHidden>\n <span aria-hidden=\"true\">{pageNumber}</span>\n </ElementTag>\n );\n};\n\nconst PaginationLink = forwardRef<HTMLAnchorElement, SpiritPaginationLinkProps<ElementType>>(_PaginationLink);\n\nPaginationLink.spiritComponent = 'PaginationLink';\n\nexport default PaginationLink;\n","'use client';\n\nimport React, { type ElementType, type ForwardedRef, forwardRef } from 'react';\nimport { type SpiritPaginationLinkPreviousNextProps } from '../../types';\nimport { PAGINATION_NEXT_LINK_DEFAULT_ACCESSIBILITY_LABEL } from './constants';\nimport PaginationButtonLink from './PaginationButtonLink';\n\n/* We need an exception for components exported with forwardRef */\n/* eslint no-underscore-dangle: ['error', { allow: ['_PaginationLinkNext'] }] */\nconst _PaginationLinkNext = <E extends ElementType = 'a'>(\n {\n accessibilityLabel = PAGINATION_NEXT_LINK_DEFAULT_ACCESSIBILITY_LABEL,\n ...restProps\n }: SpiritPaginationLinkPreviousNextProps<E>,\n ref: ForwardedRef<HTMLAnchorElement>,\n) => <PaginationButtonLink direction=\"next\" accessibilityLabel={accessibilityLabel} {...restProps} ref={ref} />;\n\nconst PaginationLinkNext = forwardRef<HTMLAnchorElement, SpiritPaginationLinkPreviousNextProps>(_PaginationLinkNext);\n\nPaginationLinkNext.spiritComponent = 'PaginationLinkNext';\n\nexport default PaginationLinkNext;\n","'use client';\n\nimport React, { type ElementType, type ForwardedRef, forwardRef } from 'react';\nimport { type SpiritPaginationLinkPreviousNextProps } from '../../types';\nimport { PAGINATION_PREVIOUS_LINK_DEFAULT_ACCESSIBILITY_LABEL } from './constants';\nimport PaginationButtonLink from './PaginationButtonLink';\n\n/* We need an exception for components exported with forwardRef */\n/* eslint no-underscore-dangle: ['error', { allow: ['_PaginationLinkPrevious'] }] */\nconst _PaginationLinkPrevious = <E extends ElementType = 'a'>(\n {\n accessibilityLabel = PAGINATION_PREVIOUS_LINK_DEFAULT_ACCESSIBILITY_LABEL,\n ...restProps\n }: SpiritPaginationLinkPreviousNextProps<E>,\n ref: ForwardedRef<HTMLAnchorElement>,\n) => <PaginationButtonLink direction=\"previous\" accessibilityLabel={accessibilityLabel} {...restProps} ref={ref} />;\n\nconst PaginationLinkPrevious = forwardRef<HTMLAnchorElement, SpiritPaginationLinkPreviousNextProps>(\n _PaginationLinkPrevious,\n);\n\nPaginationLinkPrevious.spiritComponent = 'PaginationLinkPrevious';\n\nexport default PaginationLinkPrevious;\n","'use client';\n\nimport React from 'react';\nimport { type ClickEvent, type SpiritUncontrolledPaginationProps } from '../../types';\nimport Pagination from './Pagination';\nimport PaginationItem from './PaginationItem';\nimport PaginationLink from './PaginationLink';\nimport PaginationLinkNext from './PaginationLinkNext';\nimport PaginationLinkPrevious from './PaginationLinkPrevious';\nimport { usePagination } from './usePagination';\n\nconst UncontrolledPagination = (props: SpiritUncontrolledPaginationProps): JSX.Element => {\n const {\n accessibilityLabel,\n accessibilityLabelPrevious = 'Previous',\n accessibilityLabelNext = 'Next',\n defaultPage = 1,\n onChange,\n totalPages = 0,\n visiblePages = 5,\n ...rest\n } = props;\n const { currentPage, pages, handlePageChange } = usePagination({\n defaultPage,\n onChange,\n totalPages,\n visiblePages,\n });\n\n return (\n <Pagination {...rest}>\n {currentPage !== 1 && (\n <PaginationLinkPrevious\n accessibilityLabel={accessibilityLabelPrevious}\n onClick={(event) => {\n event.preventDefault();\n handlePageChange(currentPage - 1);\n }}\n />\n )}\n {pages?.map((pageNumber: number) => (\n <PaginationItem key={pageNumber}>\n <PaginationLink\n accessibilityLabel={`${accessibilityLabel} ${pageNumber}`}\n href=\"#\"\n isCurrent={currentPage === pageNumber}\n pageNumber={pageNumber}\n onClick={(event: ClickEvent) => {\n event.preventDefault();\n handlePageChange(pageNumber);\n }}\n />\n </PaginationItem>\n ))}\n {currentPage !== totalPages && (\n <PaginationLinkNext\n accessibilityLabel={accessibilityLabelNext}\n onClick={(event) => {\n event.preventDefault();\n handlePageChange(currentPage + 1);\n }}\n />\n )}\n </Pagination>\n );\n};\n\nUncontrolledPagination.spiritComponent = 'UncontrolledPagination';\n\nexport default UncontrolledPagination;\n","export const PAGINATION_PREVIOUS_LINK_DEFAULT_ACCESSIBILITY_LABEL = 'Previous';\nexport const PAGINATION_NEXT_LINK_DEFAULT_ACCESSIBILITY_LABEL = 'Next';\n","export { default as Pagination } from './Pagination';\nexport { default as PaginationButtonLink } from './PaginationButtonLink';\nexport { default as PaginationItem } from './PaginationItem';\nexport { default as PaginationLink } from './PaginationLink';\nexport { default as PaginationLinkNext } from './PaginationLinkNext';\nexport { default as PaginationLinkPrevious } from './PaginationLinkPrevious';\nexport { default as UncontrolledPagination } from './UncontrolledPagination';\nexport * from './constants';\nexport * from './usePaginationStyleProps';\n","'use client';\n\nimport { useCallback, useMemo, useState } from 'react';\nimport { type UsePaginationProps } from '../../types/pagination';\n\nexport const usePagination = ({ totalPages, onChange, defaultPage, visiblePages }: UsePaginationProps) => {\n const [currentPage, setCurrentPage] = useState(defaultPage <= 0 || defaultPage > totalPages ? 1 : (defaultPage ?? 1));\n const [pages, setPagesArray] = useState([visiblePages]);\n\n useMemo(() => {\n const currentVisiblePages = visiblePages > totalPages ? totalPages : visiblePages;\n const firstPageChapter =\n totalPages - currentPage < currentVisiblePages ? totalPages - (currentVisiblePages - 1) : currentPage;\n\n setPagesArray(Array.from(Array(currentVisiblePages), (_, index) => index + firstPageChapter));\n }, [visiblePages, currentPage, totalPages]);\n\n const handlePageChange = useCallback(\n (pageNumber: number) => {\n setCurrentPage(pageNumber);\n onChange && onChange(pageNumber);\n },\n [onChange],\n );\n\n const getPagination = () => {\n const halfChap = Math.floor(visiblePages / 2);\n let startPage = Math.max(1, currentPage - halfChap);\n const endPage = Math.min(startPage + visiblePages - 1, totalPages);\n\n if (totalPages - visiblePages < startPage - 1) {\n const tmpStartPage = totalPages - visiblePages + 1;\n startPage = tmpStartPage < 1 ? 1 : tmpStartPage;\n }\n\n return Array.from({ length: endPage - startPage + 1 }, (_, i) => startPage + i);\n };\n\n useMemo(() => {\n setPagesArray(getPagination());\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n return {\n totalPages,\n currentPage,\n pages,\n handlePageChange,\n };\n};\n","import classNames from 'classnames';\nimport { useClassNamePrefix } from '../../hooks';\n\nexport interface UsePaginationStyleProps {\n isCurrent?: boolean;\n}\n\nexport interface UsePaginationStyleReturn {\n /** className props */\n classProps: {\n root: string;\n item: string;\n link: string;\n };\n}\n\nexport const usePaginationStyleProps = (props?: UsePaginationStyleProps): UsePaginationStyleReturn => {\n const paginationRootClass = useClassNamePrefix('Pagination');\n const paginationItemClass = `${paginationRootClass}__item`;\n const paginationLinkClass = `${paginationRootClass}__link`;\n const paginationLinkCurrentClass = `${paginationLinkClass}--current`;\n\n return {\n classProps: {\n root: paginationRootClass,\n item: paginationItemClass,\n link: classNames(paginationLinkClass, { [paginationLinkCurrentClass]: props?.isCurrent }),\n },\n };\n};\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { Sizes } from '../../constants';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritPartnerLogoProps } from '../../types/partnerLogo';\nimport { usePartnerLogoStyleProps } from './usePartnerLogoStyleProps';\n\nconst defaultProps: Partial<SpiritPartnerLogoProps> = {\n hasSafeArea: true,\n isFluid: false,\n size: Sizes.MEDIUM,\n};\n\nconst PartnerLogo = (props: SpiritPartnerLogoProps) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { children, ...restProps } = propsWithDefaults;\n\n const { classProps, props: modifiedProps } = usePartnerLogoStyleProps(restProps);\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n\n return (\n <div {...otherProps} className={classNames(classProps, styleProps.className)} style={styleProps.style}>\n {children}\n </div>\n );\n};\n\nPartnerLogo.spiritComponent = 'PartnerLogo';\n\nexport default PartnerLogo;\n","export * from './PartnerLogo';\nexport * from './usePartnerLogoStyleProps';\nexport { default as PartnerLogo } from './PartnerLogo';\n","import classNames from 'classnames';\nimport { useClassNamePrefix } from '../../hooks';\nimport { type SpiritPartnerLogoProps } from '../../types';\nimport { generateResponsiveClassNames } from '../../utils';\n\nexport interface PartnerLogoStyles<T> {\n classProps: string;\n props: T;\n}\n\nexport const usePartnerLogoStyleProps = (props: SpiritPartnerLogoProps): PartnerLogoStyles<SpiritPartnerLogoProps> => {\n const { hasSafeArea, isFluid, size, ...restProps } = props;\n\n const partnerLogoClass = useClassNamePrefix('PartnerLogo');\n const partnerLogoFluidClass = `${partnerLogoClass}--fluid`;\n const partnerLogoSafeAreaClass = `${partnerLogoClass}--safeArea`;\n const partnerLogoSizeClass = generateResponsiveClassNames(partnerLogoClass, size);\n\n const classProps = classNames(\n partnerLogoClass,\n {\n [partnerLogoFluidClass]: isFluid,\n [partnerLogoSafeAreaClass]: hasSafeArea,\n },\n partnerLogoSizeClass,\n );\n\n return {\n classProps,\n props: restProps,\n };\n};\n","'use client';\n\nimport React, { type ElementType } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritPillProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { PillColorsExtended } from './constants';\nimport { usePillStyleProps } from './usePillStyleProps';\n\nconst defaultProps: Partial<SpiritPillProps> = {\n color: PillColorsExtended.SELECTED,\n elementType: 'span',\n};\n\nconst Pill = <T extends ElementType = 'span', C = void>(props: SpiritPillProps<T, C>): JSX.Element => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { elementType: ElementTag = 'span', children, ...restProps } = propsWithDefaults;\n const { classProps, props: modifiedProps } = usePillStyleProps(restProps);\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n const mergedStyleProps = mergeStyleProps(ElementTag, { classProps, styleProps, otherProps });\n\n return (\n <ElementTag {...otherProps} {...mergedStyleProps}>\n {children}\n </ElementTag>\n );\n};\n\nPill.spiritComponent = 'Pill';\n\nexport default Pill;\n","export const PillColorsExtended = {\n SELECTED: 'selected',\n NEUTRAL: 'neutral',\n} as const;\n","export { default as Pill } from './Pill';\nexport * from './constants';\nexport * from './usePillStyleProps';\n","import classNames from 'classnames';\nimport { type ElementType } from 'react';\nimport { useClassNamePrefix } from '../../hooks';\nimport { type SpiritPillProps } from '../../types';\n\nexport interface PillStyles {\n /** className props */\n classProps: string;\n /** props to be passed to the element */\n props: Partial<SpiritPillProps>;\n}\n\nexport function usePillStyleProps<T extends ElementType = 'span', C = void>(props: SpiritPillProps<T, C>): PillStyles {\n const { color, ...modifiedProps } = props;\n\n const pillClass = useClassNamePrefix('Pill');\n const pillColorClass = `${pillClass}--${color}`;\n const classProps = classNames(pillClass, { [pillColorClass]: color });\n\n return {\n classProps,\n props: modifiedProps,\n };\n}\n","'use client';\n\nimport classNames from 'classnames';\nimport React, { type ElementType } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritPricingPlanProps } from '../../types/pricingPlan';\nimport { mergeStyleProps } from '../../utils';\nimport { NUMBER_OF_PLAN_ROWS_DEFAULT } from './constants';\nimport { usePricingPlanStyleProps } from './usePricingPlanStyleProps';\n\nconst defaultProps: Partial<SpiritPricingPlanProps> = {\n hasComparableFeatures: false,\n isHighlighted: false,\n rows: NUMBER_OF_PLAN_ROWS_DEFAULT,\n};\n\nconst PricingPlan = <T extends ElementType = 'article'>(props: SpiritPricingPlanProps<T>) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { elementType: ElementTag = 'article', children, ...restProps } = propsWithDefaults;\n\n const { classProps, props: modifiedProps, styleProps: pricingPlanStyleProps } = usePricingPlanStyleProps(restProps);\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n const mergedStyleProps = mergeStyleProps(ElementTag, {\n classProps: classProps.root,\n pricingPlanStyleProps,\n styleProps,\n });\n\n return (\n <ElementTag {...otherProps} {...mergedStyleProps}>\n <div className={classNames(classProps.layout)}>{children}</div>\n </ElementTag>\n );\n};\n\nPricingPlan.spiritComponent = 'PricingPlan';\n\nexport default PricingPlan;\n","'use client';\n\nimport React, { type ElementType } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport type { SpiritPricingPlanBodyProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport PricingPlanFeatureTitle from './PricingPlanFeatureTitle';\nimport { usePricingPlanStyleProps } from './usePricingPlanStyleProps';\n\nconst defaultProps: Partial<SpiritPricingPlanBodyProps> = {\n description: undefined,\n features: [],\n};\n\nconst PricingPlanBody = <T extends ElementType = 'div'>(props: SpiritPricingPlanBodyProps<T>) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n\n const { description, elementType: ElementTag = 'div', features = [], id, ...restProps } = propsWithDefaults;\n const { classProps, props: modifiedProps } = usePricingPlanStyleProps(restProps);\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n const mergedStyleProps = mergeStyleProps(ElementTag, {\n classProps: classProps.body.root,\n styleProps,\n });\n\n return (\n <ElementTag {...otherProps} {...mergedStyleProps}>\n {description && <div>{description}</div>}\n <ul className={classProps.body.featureList}>\n {features.map((feature, featureIndex) => {\n const featureItemKey = `featureItem-${featureIndex}`;\n const featureId = `${id}-feature-${featureIndex}`;\n\n return (\n <li className={classProps.body.featureItem} key={featureItemKey}>\n <PricingPlanFeatureTitle feature={feature} featureId={featureId} />\n <div className={classProps.body.featureDescription}>{feature.description}</div>\n </li>\n );\n })}\n </ul>\n </ElementTag>\n );\n};\n\nPricingPlanBody.spiritComponent = 'PricingPlanBody';\n\nexport default PricingPlanBody;\n","'use client';\n\nimport classNames from 'classnames';\nimport React, { useState } from 'react';\nimport { useToggle } from '../../hooks';\nimport type { PricingPlanFeature } from '../../types';\nimport { Icon } from '../Icon';\nimport { Modal, ModalBody, ModalDialog, ModalHeader } from '../Modal';\nimport { Tooltip, TooltipPopover, TooltipTrigger } from '../Tooltip';\nimport { usePricingPlanStyleProps } from './usePricingPlanStyleProps';\n\nconst PricingPlanFeatureTitle = ({\n feature,\n featureId,\n ...restProps\n}: {\n feature: PricingPlanFeature;\n featureId: string;\n}) => {\n const { modalContent, title, tooltipContent } = feature;\n const { classProps } = usePricingPlanStyleProps(restProps);\n const [isTooltipOpen, toggleTooltip] = useToggle(false);\n const [isModalOpen, setIsModalOpen] = useState(false);\n\n if (modalContent) {\n return (\n <div className={classProps.body.featureTitle}>\n <Icon name=\"check-plain\" boxSize={16} />\n <button\n type=\"button\"\n onClick={() => setIsModalOpen(true)}\n className={classNames(classProps.body.featureTitleText, 'text-underlined-dotted')}\n >\n {title}\n </button>\n <Modal id={`${featureId}-modal`} isOpen={isModalOpen} onClose={() => setIsModalOpen(false)}>\n <ModalDialog isScrollable>\n <ModalHeader>{title}</ModalHeader>\n <ModalBody>{modalContent}</ModalBody>\n </ModalDialog>\n </Modal>\n </div>\n );\n }\n\n if (tooltipContent) {\n return (\n <Tooltip\n elementType=\"div\"\n id={`${featureId}-tooltip`}\n isDismissible\n isOpen={isTooltipOpen}\n onToggle={toggleTooltip}\n placement=\"top\"\n trigger={['click']}\n UNSAFE_className={classProps.body.featureTitle}\n >\n <Icon name=\"check-plain\" boxSize={16} />\n <TooltipTrigger\n elementType=\"button\"\n UNSAFE_className={classNames(classProps.body.featureTitleText, 'text-underlined-dotted')}\n >\n {title}\n </TooltipTrigger>\n <TooltipPopover>\n <div>{tooltipContent}</div>\n </TooltipPopover>\n </Tooltip>\n );\n }\n\n return (\n <div className={classProps.body.featureTitle}>\n <Icon name=\"check-plain\" boxSize={16} />\n <div className={classProps.body.featureTitleText} id={`${featureId}-title`}>\n {title}\n </div>\n </div>\n );\n};\n\nPricingPlanFeatureTitle.spiritComponent = 'PricingPlanFeatureTitle';\n\nexport default PricingPlanFeatureTitle;\n","'use client';\n\nimport React, { type ElementType } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport type { SpiritPricingPlanFooterProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { usePricingPlanStyleProps } from './usePricingPlanStyleProps';\n\nconst PricingPlanFooter = <T extends ElementType = 'footer'>(props: SpiritPricingPlanFooterProps<T>) => {\n const { children, elementType: ElementTag = 'footer', ...restProps } = props;\n\n const { classProps, props: modifiedProps } = usePricingPlanStyleProps(restProps);\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n const mergedStyleProps = mergeStyleProps(ElementTag, { classProps: classProps.footer, styleProps });\n\n return (\n <ElementTag {...otherProps} {...mergedStyleProps}>\n {children}\n </ElementTag>\n );\n};\n\nPricingPlanFooter.spiritComponent = 'PricingPlanFooter';\n\nexport default PricingPlanFooter;\n","'use client';\n\nimport classNames from 'classnames';\nimport React, { type ElementType } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport type { SpiritPricingPlanHeaderProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { usePricingPlanStyleProps } from './usePricingPlanStyleProps';\n\nconst defaultProps: Partial<SpiritPricingPlanHeaderProps> = {\n action: undefined,\n badge: undefined,\n note: undefined,\n price: undefined,\n subtitle: undefined,\n title: undefined,\n};\n\nconst PricingPlanHeader = <T extends ElementType = 'header'>(props: SpiritPricingPlanHeaderProps<T>) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { elementType: ElementTag = 'header', ...restProps } = propsWithDefaults;\n\n const { classProps, props: modifiedProps } = usePricingPlanStyleProps(restProps);\n const { badge, title, subtitle, price, action, note } = propsWithDefaults;\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n const mergedStyleProps = mergeStyleProps(ElementTag, {\n classProps: classProps.header.root,\n styleProps,\n });\n\n return (\n <ElementTag {...otherProps} {...mergedStyleProps}>\n {badge && <div className={classProps.header.badge}>{badge}</div>}\n <div className={classProps.header.content}>\n {title && <h3 className={classProps.header.title}>{title}</h3>}\n {subtitle && <div className={classNames(classProps.header.subtitle)}>{subtitle}</div>}\n {price && <div className={classProps.header.price}>{price}</div>}\n {action && <div className={classProps.header.action}>{action}</div>}\n {note && <div className={classProps.header.note}>{note}</div>}\n </div>\n </ElementTag>\n );\n};\n\nPricingPlanHeader.spiritComponent = 'PricingPlanHeader';\n\nexport default PricingPlanHeader;\n","export const NUMBER_OF_PLAN_ROWS_DEFAULT = 100;\n","export { default as PricingPlan } from './PricingPlan';\nexport { default as PricingPlanHeader } from './PricingPlanHeader';\nexport { default as PricingPlanBody } from './PricingPlanBody';\nexport { default as PricingPlanFooter } from './PricingPlanFooter';\nexport * from './usePricingPlanStyleProps';\n","import { cssVariablePrefix } from '@alma-oss/spirit-design-tokens';\nimport classNames from 'classnames';\nimport type { CSSProperties, ElementType } from 'react';\nimport { useClassNamePrefix } from '../../hooks';\nimport type {\n SpiritPricingPlanBodyProps,\n SpiritPricingPlanFooterProps,\n SpiritPricingPlanHeaderProps,\n SpiritPricingPlanProps,\n} from '../../types';\nimport { NUMBER_OF_PLAN_ROWS_DEFAULT } from './constants';\n\ntype PricingPlanStyleProps = Partial<SpiritPricingPlanProps<ElementType>> &\n Partial<SpiritPricingPlanHeaderProps<ElementType>> &\n Partial<SpiritPricingPlanBodyProps<ElementType>> &\n Partial<SpiritPricingPlanFooterProps<ElementType>>;\n\ninterface PricingPlanCSSProperties extends CSSProperties {\n [key: string]: string | undefined | number;\n}\n\nexport interface PricingPlanReturnStyles<T> {\n classProps: {\n root: string;\n layout: string;\n header: {\n root: string;\n badge?: string;\n content: string;\n title?: string;\n subtitle?: string;\n price?: string;\n action?: string;\n note?: string;\n };\n body: {\n root: string;\n featureList: string;\n featureItem: string;\n featureTitle: string;\n featureTitleText: string;\n featureDescription: string;\n };\n footer: string;\n };\n props: Omit<T, keyof PricingPlanStyleProps>;\n styleProps: PricingPlanCSSProperties;\n}\n\nexport const usePricingPlanStyleProps = <T extends PricingPlanStyleProps>(props: T): PricingPlanReturnStyles<T> => {\n const { hasComparableFeatures, isHighlighted, action, badge, title, subtitle, note, price, rows, ...restProps } =\n props;\n\n const pricingPlanClass = useClassNamePrefix('PricingPlan');\n const pricingPlanComparableClass = `${pricingPlanClass}--comparableFeatures`;\n const pricingPlanLayoutClass = `${pricingPlanClass}__layout`;\n const pricingPlanHighlightedClass = `${pricingPlanClass}--highlighted`;\n\n const pricingPlanHeaderClass = useClassNamePrefix('PricingPlanHeader');\n const pricingPlanHeaderBadgeClassName = `${pricingPlanHeaderClass}__badge`;\n const pricingPlanHeaderTitleClassName = `${pricingPlanHeaderClass}__title`;\n const pricingPlanHeaderSubtitleClassName = `${pricingPlanHeaderClass}__subtitle`;\n const pricingPlanHeaderPriceClassName = `${pricingPlanHeaderClass}__price`;\n const pricingPlanHeaderActionClassName = `${pricingPlanHeaderClass}__action`;\n const pricingPlanHeaderNoteClassName = `${pricingPlanHeaderClass}__note`;\n const pricingPlanHeaderContentClassName = `${pricingPlanHeaderClass}__content`;\n\n const pricingPlanBodyClass = useClassNamePrefix('PricingPlanBody');\n const pricingPlanBodyFeatureListClassName = `${pricingPlanBodyClass}__featureList`;\n const pricingPlanBodyFeatureItemClassName = `${pricingPlanBodyClass}__featureItem`;\n const pricingPlanBodyFeatureTitleClassName = `${pricingPlanBodyClass}__featureTitle`;\n const pricingPlanBodyFeatureTitleTextClassName = `${pricingPlanBodyClass}__featureTitleText`;\n const pricingPlanBodyFeatureDescriptionClassName = `${pricingPlanBodyClass}__featureDescription`;\n\n const pricingPlanFooterClass = useClassNamePrefix('PricingPlanFooter');\n\n const rootClassProps = classNames(pricingPlanClass, {\n [pricingPlanComparableClass]: hasComparableFeatures,\n [pricingPlanHighlightedClass]: isHighlighted,\n });\n\n const pricingPlanStyle: PricingPlanCSSProperties = {};\n\n if (rows !== NUMBER_OF_PLAN_ROWS_DEFAULT) {\n pricingPlanStyle[`--${cssVariablePrefix}pricing-plan-rows`] = rows?.toString();\n }\n\n return {\n classProps: {\n root: rootClassProps,\n layout: pricingPlanLayoutClass,\n header: {\n root: pricingPlanHeaderClass,\n badge: badge ? pricingPlanHeaderBadgeClassName : undefined,\n content: pricingPlanHeaderContentClassName,\n title: title ? pricingPlanHeaderTitleClassName : undefined,\n subtitle: subtitle ? pricingPlanHeaderSubtitleClassName : undefined,\n price: price ? pricingPlanHeaderPriceClassName : undefined,\n action: action ? pricingPlanHeaderActionClassName : undefined,\n note: note ? pricingPlanHeaderNoteClassName : undefined,\n },\n body: {\n root: pricingPlanBodyClass,\n featureList: pricingPlanBodyFeatureListClassName,\n featureItem: pricingPlanBodyFeatureItemClassName,\n featureTitle: pricingPlanBodyFeatureTitleClassName,\n featureTitleText: pricingPlanBodyFeatureTitleTextClassName,\n featureDescription: pricingPlanBodyFeatureDescriptionClassName,\n },\n footer: pricingPlanFooterClass,\n },\n props: restProps as Omit<T, keyof PricingPlanStyleProps>,\n styleProps: pricingPlanStyle,\n };\n};\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useClassNamePrefix, useStyleProps } from '../../hooks';\nimport { type SpiritProductLogoProps } from '../../types';\n\nconst ProductLogo = (props: SpiritProductLogoProps) => {\n const { children, ...restProps } = props;\n\n const productLogoClass = useClassNamePrefix('ProductLogo');\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n\n return (\n <div {...otherProps} className={classNames(productLogoClass, styleProps.className)} style={styleProps.style}>\n {children}\n </div>\n );\n};\n\nProductLogo.spiritComponent = 'ProductLogo';\n\nexport default ProductLogo;\n","export * from './ProductLogo';\nexport { default as ProductLogo } from './ProductLogo';\n","'use client';\n\nimport classNames from 'classnames';\nimport React, { type ForwardedRef, forwardRef } from 'react';\nimport { useAriaDescribedBy, useStyleProps } from '../../hooks';\nimport { type SpiritRadioProps } from '../../types';\nimport { HelperText, Label, useAriaIds } from '../Field';\nimport { useRadioStyleProps } from './useRadioStyleProps';\n\n/* We need an exception for components exported with forwardRef */\n/* eslint no-underscore-dangle: ['error', { allow: ['_Radio'] }] */\nconst _Radio = (props: SpiritRadioProps, ref: ForwardedRef<HTMLInputElement>): JSX.Element => {\n const { classProps, props: modifiedProps } = useRadioStyleProps(props);\n const {\n 'aria-describedby': ariaDescribedBy = '',\n helperText,\n id,\n isChecked,\n isDisabled,\n label,\n onChange,\n value,\n ...restProps\n } = modifiedProps;\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n\n const [ids, register] = useAriaIds(ariaDescribedBy);\n const ariaDescribedByProp = useAriaDescribedBy(ids);\n\n return (\n <div style={styleProps.style} className={classNames(classProps.root, styleProps.className)}>\n <input\n {...otherProps}\n {...ariaDescribedByProp}\n type=\"radio\"\n id={id}\n className={classProps.input}\n disabled={isDisabled}\n checked={isChecked}\n onChange={onChange}\n value={value}\n ref={ref}\n />\n <div className={classProps.text}>\n <Label UNSAFE_className={classProps.label} htmlFor={id}>\n {label}\n </Label>\n <HelperText\n UNSAFE_className={classProps.helperText}\n id={`${id}__helperText`}\n registerAria={register}\n helperText={helperText}\n />\n </div>\n </div>\n );\n};\n\nconst Radio = forwardRef<HTMLInputElement, SpiritRadioProps>(_Radio);\n\nRadio.spiritComponent = 'Radio';\n\nexport default Radio;\n","export { default as Radio } from './Radio';\nexport * from './useRadioStyleProps';\n","import classNames from 'classnames';\nimport { useClassNamePrefix } from '../../hooks';\nimport { type RadioProps, type SpiritRadioProps } from '../../types';\n\nexport interface RadioStyles {\n /** className props */\n classProps: {\n root: string;\n label: string;\n input: string;\n text: string;\n helperText: string;\n };\n /** props to be passed to the input element */\n props: RadioProps;\n}\n\nexport function useRadioStyleProps(props: SpiritRadioProps): RadioStyles {\n const { isItem, validationState, isLabelHidden, ...restProps } = props;\n const { isDisabled } = restProps;\n\n const radioClass = useClassNamePrefix('Radio');\n const radioDisabledClass = `${radioClass}--disabled`;\n const radioItemClass = `${radioClass}--item`;\n const radioInputClass = `${radioClass}__input`;\n const radioLabelClass = `${radioClass}__label`;\n const radioLabelHiddenClass = `${radioClass}__label--hidden`;\n const radioTextClass = `${radioClass}__text`;\n const radioHelperTextClass = `${radioClass}__helperText`;\n const radioValidationClass = `${radioClass}--${validationState}`;\n\n const rootStyles = classNames(radioClass, {\n [radioDisabledClass]: isDisabled,\n [radioItemClass]: isItem,\n [radioValidationClass]: validationState,\n });\n const labelStyles = classNames(radioLabelClass, {\n [radioLabelHiddenClass]: isLabelHidden,\n });\n\n return {\n classProps: {\n root: rootStyles,\n label: labelStyles,\n input: radioInputClass,\n text: radioTextClass,\n helperText: radioHelperTextClass,\n },\n props: restProps,\n };\n}\n","'use client';\n\nimport classNames from 'classnames';\nimport React, { useRef } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritScrollViewProps } from '../../types';\nimport { SCROLL_VIEW_DEFAULT_DIRECTION, SCROLL_VIEW_DEFAULT_OVERFLOW_DECORATOR } from './constants';\nimport ScrollViewArrows from './ScrollViewArrows';\nimport { useScrollPosition } from './useScrollPosition';\nimport { useScrollViewStyleProps } from './useScrollViewStyleProps';\n\nconst ScrollView = (props: SpiritScrollViewProps) => {\n const {\n ariaLabelArrows,\n arrowsScrollStep = 300,\n children,\n direction = SCROLL_VIEW_DEFAULT_DIRECTION,\n hasArrows = false,\n isScrollbarDisabled,\n overflowDecorators = SCROLL_VIEW_DEFAULT_OVERFLOW_DECORATOR,\n ...restProps\n } = props;\n\n const contentReference = useRef(null);\n const viewportReference = useRef<HTMLDivElement>(null);\n\n const { isScrolledAtEnd, isScrolledAtStart, onScroll } = useScrollPosition({\n contentReference,\n direction,\n viewportReference,\n });\n const { classProps } = useScrollViewStyleProps({\n direction,\n isScrollbarDisabled,\n isScrolledAtStart,\n isScrolledAtEnd,\n overflowDecorators,\n });\n const { styleProps, props: transferProps } = useStyleProps(restProps);\n\n return (\n <div {...transferProps} {...styleProps} className={classNames(classProps.root, styleProps.className)}>\n {/* To make scrollable element keyboard accessible, we need to add tabindex to it. */}\n {/* This is recommended solution, both by the eslint plugin and by WAI. */}\n {/* https://www.w3.org/WAI/standards-guidelines/act/rules/0ssw9k/ */}\n {/* https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/no-noninteractive-tabindex.md#case-shouldnt-i-add-a-tabindex-so-that-users-can-navigate-to-this-item */}\n {/* eslint-disable-next-line jsx-a11y/no-noninteractive-tabindex */}\n <div className={classProps.viewport} onScroll={onScroll} ref={viewportReference} tabIndex={0}>\n <div className={classProps.content} ref={contentReference}>\n {children}\n </div>\n </div>\n <div className={classProps.overflowDecorators} aria-hidden=\"true\" />\n\n {hasArrows && (\n <ScrollViewArrows\n ariaLabelArrows={ariaLabelArrows}\n direction={direction}\n scrollStep={arrowsScrollStep}\n viewportRef={viewportReference}\n />\n )}\n </div>\n );\n};\n\nScrollView.spiritComponent = 'ScrollView';\n\nexport default ScrollView;\n","import React from 'react';\nimport { isDirectionHorizontal } from '../../constants';\nimport { useStyleProps } from '../../hooks';\nimport { type ScrollViewArrowsScrollStepType, type SpiritScrollViewArrowsProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { ControlButton } from '../ControlButton';\nimport { Icon } from '../Icon';\nimport { useScrollViewArrows } from './useScrollViewArrows';\nimport { useScrollViewStyleProps } from './useScrollViewStyleProps';\n\nconst ScrollViewArrows = (props: SpiritScrollViewArrowsProps) => {\n const { ariaLabelArrows, direction, scrollStep, viewportRef, ...restProps } = props;\n const { classProps } = useScrollViewStyleProps({\n direction,\n });\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n const mergedStyleProps = mergeStyleProps('button', { classProps: classProps.arrows, styleProps });\n const isHorizontal = isDirectionHorizontal(direction);\n const { arrows } = useScrollViewArrows(isHorizontal, ariaLabelArrows, scrollStep);\n\n const handleScroll = (step: ScrollViewArrowsScrollStepType) => {\n const scrollToDirection = isHorizontal ? 'left' : 'top';\n viewportRef.current?.scrollBy({\n [scrollToDirection]: step,\n behavior: 'smooth',\n });\n };\n\n return (\n <div {...otherProps} {...mergedStyleProps}>\n {arrows.map(({ icon, label, step }) => (\n <ControlButton key={icon} aria-label={label} onClick={() => handleScroll(step)} size=\"small\" isSymmetrical>\n <Icon name={icon} />\n </ControlButton>\n ))}\n </div>\n );\n};\n\nScrollViewArrows.spiritComponent = 'ScrollViewArrows';\n\nexport default ScrollViewArrows;\n","import { Direction } from '../../constants';\n\nexport const DEBOUNCE_DELAY = 50;\nexport const EDGE_DETECTION_INACCURACY_PX = 1;\nexport const SCROLL_VIEW_ARROWS_LABEL_HORIZONTAL_END = 'Scroll right';\nexport const SCROLL_VIEW_ARROWS_LABEL_HORIZONTAL_START = 'Scroll left';\nexport const SCROLL_VIEW_ARROWS_LABEL_VERTICAL_END = 'Scroll down';\nexport const SCROLL_VIEW_ARROWS_LABEL_VERTICAL_START = 'Scroll up';\nexport const SCROLL_VIEW_DEFAULT_DIRECTION = Direction.VERTICAL;\nexport const SCROLL_VIEW_DEFAULT_OVERFLOW_DECORATOR = 'shadows';\n","export { default as ScrollView } from './ScrollView';\nexport { default as ScrollViewArrows } from './ScrollViewArrows';\nexport * from './constants';\nexport * from './useScrollPosition';\nexport * from './useScrollViewArrows';\nexport * from './useScrollViewStyleProps';\n","'use client';\n\nimport { type MutableRefObject, type UIEvent, useCallback, useEffect, useState } from 'react';\nimport { Position, isDirectionHorizontal } from '../../constants';\nimport { useResizeObserver } from '../../hooks';\nimport { type PositionType, type ScrollViewDirectionType } from '../../types';\nimport { debounce } from '../../utils';\nimport { DEBOUNCE_DELAY, EDGE_DETECTION_INACCURACY_PX } from './constants';\n\nexport interface UseScrollPositionProps {\n viewportReference: MutableRefObject<HTMLDivElement | null>;\n contentReference: MutableRefObject<HTMLDivElement | null>;\n direction: ScrollViewDirectionType;\n}\n\nexport interface UseScrollPositionReturn {\n isScrolledAtEnd: boolean;\n isScrolledAtStart: boolean;\n onScroll: (event: UIEvent) => void;\n}\n\nexport type CurrentPositionProps = {\n [key in PositionType]: number;\n};\n\nexport const useScrollPosition = ({\n viewportReference,\n contentReference,\n direction,\n}: UseScrollPositionProps): UseScrollPositionReturn => {\n const [isScrolledAtStart, setScrolledStart] = useState<boolean>(false);\n const [isScrolledAtEnd, setScrolledAtEnd] = useState<boolean>(false);\n\n const getElementsPositionDifference = (): CurrentPositionProps | null => {\n if (!(contentReference.current && viewportReference.current)) {\n return null;\n }\n\n const contentPosition: DOMRect = contentReference.current.getBoundingClientRect();\n const viewportPosition: DOMRect = viewportReference.current.getBoundingClientRect();\n\n return {\n [Position.BOTTOM]: contentPosition.bottom - viewportPosition.bottom,\n [Position.LEFT]: contentPosition.left - viewportPosition.left,\n [Position.RIGHT]: contentPosition.right - viewportPosition.right,\n [Position.TOP]: contentPosition.top - viewportPosition.top,\n };\n };\n\n const handleScrollViewState = () => {\n const isHorizontal = isDirectionHorizontal(direction);\n const scrollPositionStart = isHorizontal ? Position.LEFT : Position.TOP;\n const scrollPositionEnd = isHorizontal ? Position.RIGHT : Position.BOTTOM;\n const currentPosition = getElementsPositionDifference();\n\n if (!currentPosition) {\n return;\n }\n\n const isScrolledAtStartActive = currentPosition[scrollPositionStart] <= -1 * EDGE_DETECTION_INACCURACY_PX;\n const isScrolledAtEndActive = currentPosition[scrollPositionEnd] >= EDGE_DETECTION_INACCURACY_PX;\n\n if (isScrolledAtStartActive !== isScrolledAtStart) {\n setScrolledStart(isScrolledAtStartActive);\n }\n\n if (isScrolledAtEndActive !== isScrolledAtEnd) {\n setScrolledAtEnd(isScrolledAtEndActive);\n }\n };\n\n const debouncedHandler = useCallback(debounce(handleScrollViewState, DEBOUNCE_DELAY), [handleScrollViewState]);\n\n useResizeObserver({\n ref: viewportReference,\n onResize: debouncedHandler,\n });\n\n /* We want to call this hook only once */\n // eslint-disable-next-line react-hooks/exhaustive-deps\n useEffect(handleScrollViewState, []);\n\n return {\n isScrolledAtEnd,\n isScrolledAtStart,\n onScroll: debounce(handleScrollViewState, DEBOUNCE_DELAY),\n };\n};\n","import { type ScrollViewArrowsAriaLabelType, type ScrollViewArrowsScrollStepType } from '../../types';\nimport {\n SCROLL_VIEW_ARROWS_LABEL_HORIZONTAL_END,\n SCROLL_VIEW_ARROWS_LABEL_HORIZONTAL_START,\n SCROLL_VIEW_ARROWS_LABEL_VERTICAL_END,\n SCROLL_VIEW_ARROWS_LABEL_VERTICAL_START,\n} from './constants';\n\nconst getDefaultArrowLabels = (\n isHorizontal: boolean,\n): {\n start?: string;\n end?: string;\n top?: string;\n bottom?: string;\n} =>\n isHorizontal\n ? {\n start: SCROLL_VIEW_ARROWS_LABEL_HORIZONTAL_START,\n end: SCROLL_VIEW_ARROWS_LABEL_HORIZONTAL_END,\n }\n : {\n top: SCROLL_VIEW_ARROWS_LABEL_VERTICAL_START,\n bottom: SCROLL_VIEW_ARROWS_LABEL_VERTICAL_END,\n };\n\nexport interface UseScrollViewArrowsReturn {\n arrows: Array<{\n icon: string;\n label: string;\n step: ScrollViewArrowsScrollStepType;\n }>;\n}\n\nexport const useScrollViewArrows = (\n isHorizontal: boolean,\n ariaLabelArrows?: ScrollViewArrowsAriaLabelType,\n scrollStep: ScrollViewArrowsScrollStepType = 300,\n): UseScrollViewArrowsReturn => {\n const defaultArrowLabels = getDefaultArrowLabels(isHorizontal);\n const mergedArrowLabels = { ...defaultArrowLabels, ...ariaLabelArrows };\n\n const arrows = [\n {\n icon: isHorizontal ? 'chevron-left' : 'chevron-up',\n label: (isHorizontal\n ? (mergedArrowLabels.start ?? defaultArrowLabels.start)\n : (mergedArrowLabels.top ?? defaultArrowLabels.top)) as string,\n step: -scrollStep,\n },\n {\n icon: isHorizontal ? 'chevron-right' : 'chevron-down',\n label: (isHorizontal\n ? (mergedArrowLabels.end ?? defaultArrowLabels.end)\n : (mergedArrowLabels.bottom ?? defaultArrowLabels.bottom)) as string,\n step: scrollStep,\n },\n ];\n\n return { arrows };\n};\n","import classNames from 'classnames';\nimport { useClassNamePrefix } from '../../hooks';\nimport { type ScrollViewDirectionType, type ScrollViewOverflowDecoratorsType } from '../../types';\nimport { SCROLL_VIEW_DEFAULT_OVERFLOW_DECORATOR } from './constants';\n\nexport interface UseScrollViewStyleProps {\n direction: ScrollViewDirectionType;\n isScrollbarDisabled?: boolean;\n isScrolledAtEnd: boolean;\n isScrolledAtStart: boolean;\n overflowDecorators: ScrollViewOverflowDecoratorsType;\n}\n\nexport interface UseScrollViewStyleReturn {\n /** className props */\n classProps: {\n root: string;\n viewport: string;\n content: string;\n overflowDecorators: string;\n arrows: string;\n };\n}\n\nexport const useScrollViewStyleProps = ({\n direction,\n isScrollbarDisabled,\n isScrolledAtEnd,\n isScrolledAtStart,\n overflowDecorators = SCROLL_VIEW_DEFAULT_OVERFLOW_DECORATOR,\n}: Partial<UseScrollViewStyleProps>): UseScrollViewStyleReturn => {\n const scrollViewRootClass = useClassNamePrefix('ScrollView');\n const scrollViewRootDirectionClass = `${scrollViewRootClass}--${direction}`;\n const scrollViewRootScrollbarDisabledClass = `${scrollViewRootClass}--scrollbarDisabled`;\n const scrollViewViewportClass = `${scrollViewRootClass}__viewport`;\n const scrollViewContentClass = `${scrollViewRootClass}__content`;\n const scrollViewOverflowDecoratorsClass = `${scrollViewRootClass}__overflowDecorators`;\n const scrollViewRootOverflowDecoratorsClasses = {\n shadows: `${scrollViewOverflowDecoratorsClass}--shadows`,\n borders: `${scrollViewOverflowDecoratorsClass}--borders`,\n both: classNames(`${scrollViewOverflowDecoratorsClass}--shadows`, `${scrollViewOverflowDecoratorsClass}--borders`),\n };\n const scrollViewRootOverflowDecoratorsClass = scrollViewRootOverflowDecoratorsClasses[overflowDecorators];\n const scrollViewAtStartClass = 'is-scrolled-at-start';\n const scrollViewAtEndClass = 'is-scrolled-at-end';\n const scrollViewArrowsClass = `${scrollViewRootClass}__arrows`;\n\n return {\n classProps: {\n root: classNames(scrollViewRootClass, scrollViewRootDirectionClass, {\n [scrollViewRootScrollbarDisabledClass]: isScrollbarDisabled,\n [scrollViewAtEndClass]: isScrolledAtEnd,\n [scrollViewAtStartClass]: isScrolledAtStart,\n }),\n viewport: scrollViewViewportClass,\n content: scrollViewContentClass,\n overflowDecorators: classNames(scrollViewOverflowDecoratorsClass, scrollViewRootOverflowDecoratorsClass),\n arrows: scrollViewArrowsClass,\n },\n };\n};\n","'use client';\n\nimport React, { type ElementType } from 'react';\nimport { PaddingStyleProps, TextStyleProps } from '../../constants';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritSectionProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { Container } from '../Container';\nimport { useSectionSizeProps } from './useSectionSizeProps';\nimport { useSectionStyleProps } from './useSectionStyleProps';\n\nconst defaultProps: Partial<SpiritSectionProps> = {\n containerProps: undefined,\n elementType: 'section',\n hasContainer: true,\n size: undefined,\n};\n\nconst Section = <T extends ElementType = 'section'>(props: SpiritSectionProps<T>) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const {\n elementType: ElementTag = 'section',\n backgroundColor,\n children,\n containerProps,\n hasContainer,\n ...restProps\n } = propsWithDefaults;\n const { classProps } = useSectionStyleProps({ backgroundColor });\n const { modifiedProps } = useSectionSizeProps(restProps);\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps, {\n paddingTop: PaddingStyleProps.paddingTop,\n paddingBottom: PaddingStyleProps.paddingBottom,\n paddingY: PaddingStyleProps.paddingY,\n textAlignment: TextStyleProps.textAlignment,\n });\n const mergedStyleProps = mergeStyleProps(ElementTag, { classProps, styleProps });\n\n return (\n <ElementTag {...otherProps} {...mergedStyleProps}>\n {hasContainer ? <Container {...containerProps}>{children}</Container> : children}\n </ElementTag>\n );\n};\n\nSection.spiritComponent = 'Section';\n\nexport default Section;\n","export { default as Section } from './Section';\nexport * from './useSectionSizeProps';\nexport * from './useSectionStyleProps';\n","import { type ElementType } from 'react';\nimport { SizesExtended } from '../../constants';\nimport {\n type Responsive,\n type SizeExtendedDictionaryType,\n type SpaceToken,\n type SpiritSectionProps,\n} from '../../types';\n\nexport interface UseSectionSizeProps {\n modifiedProps: Partial<SpiritSectionProps<ElementType>>;\n}\n\nconst sizePaddingMapping: Record<SizeExtendedDictionaryType<never>, { paddingY: Responsive<SpaceToken> }> = {\n [SizesExtended.XSMALL]: { paddingY: { mobile: 'space-900', tablet: 'space-1000' } },\n [SizesExtended.SMALL]: { paddingY: { mobile: 'space-1000', tablet: 'space-1100' } },\n [SizesExtended.MEDIUM]: { paddingY: { mobile: 'space-1100', tablet: 'space-1300' } },\n [SizesExtended.LARGE]: { paddingY: { mobile: 'space-1200', tablet: 'space-1400' } },\n [SizesExtended.XLARGE]: { paddingY: { mobile: 'space-1400', tablet: 'space-1600' } },\n};\n\nexport const useSectionSizeProps = (props: Partial<SpiritSectionProps<ElementType>>): UseSectionSizeProps => {\n const { size } = props;\n\n const modifiedProps = size ? { ...sizePaddingMapping[size], ...props } : props;\n\n return {\n modifiedProps,\n };\n};\n","import classNames from 'classnames';\nimport { type ElementType } from 'react';\nimport { useClassNamePrefix } from '../../hooks';\nimport { type SpiritSectionProps } from '../../types';\n\nexport interface UseSectionStyleProps {\n /** className props */\n classProps: string;\n}\n\nexport const useSectionStyleProps = (props: Partial<SpiritSectionProps<ElementType>>): UseSectionStyleProps => {\n const { backgroundColor } = props || {};\n\n const sectionBackgroundClassName = useClassNamePrefix(`bg-${backgroundColor}`);\n\n const sectionBackgroundColor = backgroundColor ? sectionBackgroundClassName : '';\n\n const classProps = classNames({\n [sectionBackgroundColor]: backgroundColor,\n });\n\n return {\n classProps,\n };\n};\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { FillVariants } from '../../constants';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritSegmentedControlProps } from '../../types/segmentedControl';\nimport { VisuallyHidden } from '../VisuallyHidden';\nimport { SegmentedControlProvider } from './SegmentedControlContext';\nimport { useSegmentedControlStyleProps } from './useSegmentedControlStyleProps';\n\nconst defaultProps: Partial<SpiritSegmentedControlProps> = {\n isFluid: false,\n isMultiselect: false,\n variant: FillVariants.OUTLINE,\n};\n\nconst SegmentedControl = (props: SpiritSegmentedControlProps) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { children, isMultiselect, label, name, onSelectionChange, selectedValue, setSelectedValue, ...restProps } =\n propsWithDefaults;\n const { classProps, props: modifiedProps } = useSegmentedControlStyleProps(restProps);\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n\n const contextValue = {\n isMultiselect,\n name,\n selectedValue,\n setSelectedValue,\n onSelectionChange,\n };\n\n return (\n <SegmentedControlProvider value={contextValue}>\n <fieldset {...otherProps} {...styleProps} className={classNames(classProps.root, styleProps.className)}>\n <VisuallyHidden elementType=\"legend\">{label}</VisuallyHidden>\n {children}\n </fieldset>\n </SegmentedControlProvider>\n );\n};\n\nSegmentedControl.spiritComponent = 'SegmentedControl';\n\nexport default SegmentedControl;\n","'use client';\n\nimport { createContext, useContext } from 'react';\nimport { type SegmentedControlMultiselectProps } from '../../types/segmentedControl';\n\nexport type SegmentedControlContextProps = SegmentedControlMultiselectProps & {\n name: string;\n selectedValue: string | string[];\n setSelectedValue: (value: string | string[]) => void;\n onSelectionChange?: (value: string | string[]) => void;\n};\n\nconst defaultContext: SegmentedControlContextProps = {\n isMultiselect: false,\n name: '',\n selectedValue: [],\n setSelectedValue: () => {},\n onSelectionChange: () => {},\n};\n\nconst SegmentedControlContext = createContext<SegmentedControlContextProps>(defaultContext);\nconst SegmentedControlProvider = SegmentedControlContext.Provider;\nconst useSegmentedControlContext = (): SegmentedControlContextProps => useContext(SegmentedControlContext);\n\nexport default SegmentedControlContext;\nexport { SegmentedControlProvider, useSegmentedControlContext };\n","'use client';\n\nimport classNames from 'classnames';\nimport React, { forwardRef } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritSegmentedControlItemProps } from '../../types/segmentedControl';\nimport { useSegmentedControlContext } from './SegmentedControlContext';\nimport { useSegmentedControlStyleProps } from './useSegmentedControlStyleProps';\n\nconst SegmentedControlItem = forwardRef<HTMLLabelElement, SpiritSegmentedControlItemProps>((props, ref) => {\n const { isMultiselect, name, onSelectionChange, selectedValue, setSelectedValue } = useSegmentedControlContext();\n const { id, isDisabled, value, children, ...restProps } = props;\n const { classProps, props: modifiedProps } = useSegmentedControlStyleProps(restProps);\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n\n const handleSetSelectedValue = (v: string) => {\n if (isDisabled) return;\n\n let newValue;\n\n if (isMultiselect) {\n const prevArray = Array.isArray(selectedValue) ? selectedValue : [];\n newValue = prevArray.includes(v) ? prevArray.filter((item) => item !== v) : [...prevArray, v];\n } else {\n newValue = v;\n }\n\n setSelectedValue(newValue);\n\n if (onSelectionChange) {\n onSelectionChange(newValue);\n }\n };\n\n const isChecked = isMultiselect\n ? Array.isArray(selectedValue) && selectedValue.includes(String(value))\n : selectedValue === String(value);\n\n return (\n <>\n <input\n {...otherProps}\n {...styleProps}\n {...(isDisabled && { disabled: true })}\n className={classNames(classProps.input, styleProps.className)}\n type={isMultiselect ? 'checkbox' : 'radio'}\n name={name}\n id={id}\n value={value}\n checked={isChecked}\n onChange={() => handleSetSelectedValue(String(value))}\n />\n <label ref={ref} htmlFor={id} {...styleProps} className={classNames(classProps.label, styleProps.className)}>\n {children}\n </label>\n </>\n );\n});\n\nSegmentedControlItem.spiritComponent = 'SegmentedControlItem';\n\nexport default SegmentedControlItem;\n","export { default as SegmentedControl } from './SegmentedControl';\nexport { default as SegmentedControlItem } from './SegmentedControlItem';\nexport * from './useSegmentedControl';\nexport * from './useSegmentedControlStyleProps';\n","'use client';\n\nimport { useState } from 'react';\nimport { type SegmentedControlMultiselectProps } from '../../types/segmentedControl';\n\ntype UseSegmentedControlProps = SegmentedControlMultiselectProps & {\n defaultSelectedValue?: string | string[];\n};\n\nexport const useSegmentedControl = ({ defaultSelectedValue, isMultiselect }: UseSegmentedControlProps) => {\n let initialValue: string | string[];\n\n if (isMultiselect) {\n if (Array.isArray(defaultSelectedValue)) {\n initialValue = defaultSelectedValue;\n } else if (defaultSelectedValue !== undefined) {\n initialValue = [defaultSelectedValue];\n } else {\n initialValue = [];\n }\n } else {\n initialValue = defaultSelectedValue ?? '';\n }\n\n const [selectedValue, setSelectedValue] = useState<string | string[]>(initialValue);\n\n return {\n selectedValue,\n setSelectedValue,\n };\n};\n","import classNames from 'classnames';\nimport { FillVariants } from '../../constants';\nimport { useClassNamePrefix } from '../../hooks';\nimport { type SpiritSegmentedControlProps } from '../../types/segmentedControl';\n\nexport interface UseSegmentedControlStylesProps extends Omit<SpiritSegmentedControlProps, 'name'> {}\n\nexport interface UseSegmentedControlStylesReturn {\n /** className props */\n classProps: {\n root: string;\n input: string;\n label: string;\n };\n /** props to be passed to the element */\n props: Omit<SpiritSegmentedControlProps, 'name'>;\n}\n\nexport const useSegmentedControlStyleProps = (\n props: UseSegmentedControlStylesProps,\n): UseSegmentedControlStylesReturn => {\n const { isFluid, variant = FillVariants.OUTLINE, ...restProps } = props;\n\n const segmentedControlClass = useClassNamePrefix('SegmentedControl');\n const segmentedControlVariantClass = `${segmentedControlClass}--${variant}`;\n const segmentedControlFluidClass = `${segmentedControlClass}--fluid`;\n const segmentedControlItemClass = `${segmentedControlClass}Item`;\n const segmentedControlItemInputClass = `${segmentedControlItemClass}__input`;\n const segmentedControlItemLabelClass = `${segmentedControlItemClass}__label`;\n\n const classProps = {\n root: classNames(segmentedControlClass, segmentedControlVariantClass, {\n [segmentedControlFluidClass]: isFluid,\n }),\n input: segmentedControlItemInputClass,\n label: segmentedControlItemLabelClass,\n };\n\n return {\n classProps,\n props: restProps,\n };\n};\n","'use client';\n\nimport classNames from 'classnames';\nimport React, { type ForwardedRef, forwardRef } from 'react';\nimport { Sizes } from '../../constants';\nimport { useAriaDescribedBy, useStyleProps } from '../../hooks';\nimport { type SpiritSelectProps } from '../../types';\nimport { HelperText, Label, ValidationText, useAriaIds } from '../Field';\nimport { useValidationTextRole } from '../Field/useValidationTextRole';\nimport { Icon } from '../Icon';\nimport { useSelectStyleProps } from './useSelectStyleProps';\n\n/* We need an exception for components exported with forwardRef */\n/* eslint no-underscore-dangle: ['error', { allow: ['_Select'] }] */\nconst _Select = (props: SpiritSelectProps, ref: ForwardedRef<HTMLSelectElement>) => {\n const {\n 'aria-describedby': ariaDescribedBy = '',\n children,\n hasValidationIcon,\n helperText,\n id,\n isDisabled,\n isFluid,\n isLabelHidden,\n isRequired,\n label,\n size = Sizes.MEDIUM,\n validationState,\n validationText,\n ...restProps\n } = props;\n const { classProps } = useSelectStyleProps({\n hasValidationIcon,\n isDisabled,\n isFluid,\n isLabelHidden,\n isRequired,\n size,\n validationState,\n });\n const { styleProps, props: transferProps } = useStyleProps(restProps);\n const [ids, register] = useAriaIds(ariaDescribedBy);\n const ariaDescribedByProp = useAriaDescribedBy(ids);\n const validationTextRole = useValidationTextRole({\n validationState,\n validationText,\n });\n\n return (\n <div {...styleProps} className={classNames(classProps.root, styleProps.className)}>\n <Label htmlFor={id} UNSAFE_className={classProps.label}>\n {label}\n </Label>\n <div className={classProps.container}>\n <select\n {...transferProps}\n {...ariaDescribedByProp}\n id={id}\n className={classProps.input}\n disabled={isDisabled}\n required={isRequired}\n ref={ref}\n >\n {children}\n </select>\n <div className={classProps.icon}>\n <Icon name=\"chevron-down\" boxSize={size === Sizes.SMALL ? 16 : 20} />\n </div>\n </div>\n <HelperText\n UNSAFE_className={classProps.helperText}\n id={`${id}__helperText`}\n registerAria={register}\n helperText={helperText}\n />\n {validationState && (\n <ValidationText\n UNSAFE_className={classProps.validationText}\n {...(hasValidationIcon && { hasValidationStateIcon: validationState })}\n id={`${id}__validationText`}\n validationText={validationText}\n registerAria={register}\n role={validationTextRole}\n />\n )}\n </div>\n );\n};\n\nconst Select = forwardRef<HTMLSelectElement, SpiritSelectProps>(_Select);\n\nSelect.spiritComponent = 'Select';\n\nexport default Select;\n","export { default as Select } from './Select';\nexport * from './useSelectStyleProps';\n","import classNames from 'classnames';\nimport { useClassNamePrefix } from '../../hooks';\nimport { type SizesDictionaryType, type Validation } from '../../types';\n\nexport interface UseSelectStyleProps<S = void> extends Validation {\n isDisabled?: boolean;\n isFluid?: boolean;\n isLabelHidden?: boolean;\n size?: SizesDictionaryType<S>;\n}\n\nexport interface UseSelectStyleReturn {\n /** className props */\n classProps: {\n root: string;\n label: string;\n container: string;\n input: string;\n icon: string;\n validationText: string;\n helperText: string;\n };\n}\n\nexport const useSelectStyleProps = ({\n isDisabled,\n isFluid,\n isLabelHidden,\n isRequired,\n size,\n validationState,\n}: UseSelectStyleProps): UseSelectStyleReturn => {\n const selectRootClass = useClassNamePrefix('Select');\n const selectRootFluidClass = `${selectRootClass}--fluid`;\n const selectRootDisabledClass = `${selectRootClass}--disabled`;\n const selectRootSizeClass = `${selectRootClass}--${size}`;\n const selectRootValidationClass = `${selectRootClass}--${validationState}`;\n const selectLabelClass = `${selectRootClass}__label`;\n const selectLabelRequiredClass = `${selectLabelClass}--required`;\n const selectLabelHiddenClass = `${selectLabelClass}--hidden`;\n const selectContainerClass = `${selectRootClass}__inputContainer`;\n const selectInputClass = `${selectRootClass}__input`;\n const selectIconClass = `${selectRootClass}__icon`;\n const selectValidationTextClass = `${selectRootClass}__validationText`;\n const selectHelperTextClass = `${selectRootClass}__helperText`;\n\n return {\n classProps: {\n root: classNames(selectRootClass, {\n [selectRootDisabledClass]: isDisabled,\n [selectRootFluidClass]: isFluid,\n [selectRootSizeClass]: size,\n [selectRootValidationClass]: validationState,\n }),\n label: classNames(selectLabelClass, {\n [selectLabelRequiredClass]: isRequired,\n [selectLabelHiddenClass]: isLabelHidden,\n }),\n container: selectContainerClass,\n input: selectInputClass,\n icon: selectIconClass,\n validationText: selectValidationTextClass,\n helperText: selectHelperTextClass,\n },\n };\n};\n","'use client';\n\nimport React, { type ElementType, type ReactElement } from 'react';\nimport { SizesExtended } from '../../constants';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritSkeletonProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { LINES_COUNT_DEFAULT } from './constants';\nimport SkeletonItem from './SkeletonItem';\nimport { useSkeletonStyleProps } from './useSkeletonStyleProps';\n\nconst defaultProps: Partial<SpiritSkeletonProps> = {\n size: SizesExtended.MEDIUM,\n lines: LINES_COUNT_DEFAULT,\n elementType: 'div',\n};\nconst SkeletonHeading = <T extends ElementType = 'div', E = void>(props: SpiritSkeletonProps<T, E>): ReactElement => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { elementType: ElementTag = 'div', lines, ...restProps } = propsWithDefaults;\n const { classProps, props: modifiedProps } = useSkeletonStyleProps(restProps);\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n const mergedStyleProps = mergeStyleProps(ElementTag, {\n classProps: classProps.root,\n classPropsHeading: classProps.heading,\n styleProps,\n otherProps,\n });\n const linesToRender = [...Array(lines ?? LINES_COUNT_DEFAULT).keys()];\n\n return (\n <ElementTag {...otherProps} {...mergedStyleProps}>\n {linesToRender.map((lineNumber) => (\n <SkeletonItem key={`skeleton-item-${lineNumber.toString()}`} />\n ))}\n </ElementTag>\n );\n};\n\nSkeletonHeading.spiritComponent = 'SkeletonHeading';\n\nexport default SkeletonHeading;\n","'use client';\n\nimport classNames from 'classnames';\nimport React, { type ReactElement } from 'react';\nimport { useSkeletonStyleProps } from './useSkeletonStyleProps';\n\nconst SkeletonItem = (): ReactElement => {\n const { classProps } = useSkeletonStyleProps();\n\n return <div className={classNames(classProps.item)} aria-hidden=\"true\" />;\n};\n\nSkeletonItem.spiritComponent = 'SkeletonItem';\n\nexport default SkeletonItem;\n","'use client';\n\nimport React, { type ElementType, type ReactElement } from 'react';\nimport { BorderRadii } from '../../constants';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritSkeletonShapeProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { useSkeletonShapeStyleProps } from './useSkeletonShapeStyleProps';\n\nconst defaultProps: Partial<SpiritSkeletonShapeProps> = {\n borderRadius: BorderRadii[400],\n elementType: 'div',\n};\nconst SkeletonShape = <T extends ElementType = 'div', E = void>(\n props: SpiritSkeletonShapeProps<T, E>,\n): ReactElement => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { elementType: ElementTag = 'div', ...restProps } = propsWithDefaults;\n const { classProps, skeletonShapeStyleProps, props: modifiedProps } = useSkeletonShapeStyleProps(restProps);\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n const mergedStyleProps = mergeStyleProps(ElementTag, {\n classProps,\n styleProps,\n skeletonShapeStyleProps,\n otherProps,\n });\n\n return <ElementTag {...otherProps} {...mergedStyleProps} />;\n};\n\nSkeletonShape.spiritComponent = 'SkeletonShape';\n\nexport default SkeletonShape;\n","'use client';\n\nimport React, { type ElementType, type ReactElement } from 'react';\nimport { SizesExtended } from '../../constants';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritSkeletonProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { LINES_COUNT_DEFAULT } from './constants';\nimport SkeletonItem from './SkeletonItem';\nimport { useSkeletonStyleProps } from './useSkeletonStyleProps';\n\nconst defaultProps: Partial<SpiritSkeletonProps> = {\n size: SizesExtended.MEDIUM,\n lines: LINES_COUNT_DEFAULT,\n elementType: 'div',\n};\nconst SkeletonText = <T extends ElementType = 'div', E = void>(props: SpiritSkeletonProps<T, E>): ReactElement => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { elementType: ElementTag = 'div', lines, ...restProps } = propsWithDefaults;\n const { classProps, props: modifiedProps } = useSkeletonStyleProps(restProps);\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n const mergedStyleProps = mergeStyleProps(ElementTag, {\n classProps: classProps.root,\n classPropsText: classProps.text,\n styleProps,\n otherProps,\n });\n const linesToRender = [...Array(lines ?? LINES_COUNT_DEFAULT).keys()];\n\n return (\n <ElementTag {...otherProps} {...mergedStyleProps}>\n {linesToRender.map((lineNumber) => (\n <SkeletonItem key={`skeleton-item-${lineNumber.toString()}`} />\n ))}\n </ElementTag>\n );\n};\n\nSkeletonText.spiritComponent = 'SkeletonText';\n\nexport default SkeletonText;\n","export const LINES_COUNT_DEFAULT = 1;\n","export * from './useSkeletonStyleProps';\nexport { default as SkeletonText } from './SkeletonText';\nexport { default as SkeletonHeading } from './SkeletonHeading';\nexport { default as SkeletonShape } from './SkeletonShape';\nexport { default as SkeletonItem } from './SkeletonItem';\n","import { cssVariablePrefix } from '@alma-oss/spirit-design-tokens';\nimport classNames from 'classnames';\nimport { type CSSProperties, type ElementType } from 'react';\nimport { useClassNamePrefix } from '../../hooks';\nimport { type SpiritSkeletonShapeProps } from '../../types';\n\ninterface CustomizedCSSProperties extends CSSProperties {\n [key: string]: string | undefined | number;\n}\n\nconst setCustomDimension = (prefix: string, size: number | undefined): CustomizedCSSProperties => {\n if (!size) return {};\n\n const propName = `--${prefix}`;\n\n return { [propName]: `${size?.toString()}px` } as CustomizedCSSProperties;\n};\n\nconst setCustomBorderRadius = (\n prefix: string,\n radius: object | number | string | undefined,\n): CustomizedCSSProperties => {\n const style: CustomizedCSSProperties = {};\n const cssPrefix: string = `--${cssVariablePrefix}radius-`;\n\n if (typeof radius === 'object' && radius !== null) {\n Object.keys(radius).forEach((key) => {\n const breakpointSuffix = key === 'mobile' ? '' : `-${key}`;\n const value = (radius as Record<string, string | undefined>)[key];\n (style as Record<string, string | undefined>)[`--${prefix}${breakpointSuffix}`] = `var(${cssPrefix}${value})`;\n });\n } else if (radius) {\n (style as Record<string, string | undefined>)[`--${prefix}`] = `var(${cssPrefix}${radius})`;\n }\n\n return style;\n};\n\nexport const useSkeletonShapeStyleProps = <T extends ElementType = 'div', E = void>(\n props: SpiritSkeletonShapeProps<T, E>,\n) => {\n const { height, width, borderRadius, ...otherProps } = props;\n\n const skeletonClass = useClassNamePrefix('Skeleton');\n const skeletonItemClass = `${skeletonClass}--shape`;\n\n const classProps = classNames(skeletonClass, skeletonItemClass);\n const stylePrefix: string = `${cssVariablePrefix}skeleton-shape`;\n\n const customizedShapeStyle = {\n ...setCustomDimension(`${stylePrefix}-width`, width),\n ...setCustomDimension(`${stylePrefix}-height`, height),\n ...(borderRadius ? setCustomBorderRadius(`${stylePrefix}-radius`, borderRadius) : {}),\n };\n\n return {\n classProps,\n skeletonShapeStyleProps: customizedShapeStyle,\n props: otherProps,\n };\n};\n","import classNames from 'classnames';\nimport { type ElementType } from 'react';\nimport { useClassNamePrefix } from '../../hooks';\nimport { type SkeletonProps, type SpiritSkeletonProps } from '../../types';\n\nexport interface SkeletonStyles {\n /** className props */\n classProps: {\n root: string;\n text: string;\n heading: string;\n item: string;\n };\n /** props to be passed to the element */\n props: SkeletonProps;\n}\n\nexport function useSkeletonStyleProps<T extends ElementType = 'div', E = void>(\n props?: SpiritSkeletonProps<T, E>,\n): SkeletonStyles {\n const { size, ...restProps } = props || {};\n\n const skeletonClass = useClassNamePrefix('Skeleton');\n const skeletonSizeClass = `${skeletonClass}--${size}`;\n const skeletonTextClass = `${skeletonClass}--text`;\n const skeletonHeadingClass = `${skeletonClass}--heading`;\n const skeletonItemClass = `${skeletonClass}__item`;\n\n const classProps = classNames(skeletonClass, {\n [skeletonSizeClass]: size,\n });\n\n return {\n classProps: {\n root: classProps,\n text: skeletonTextClass,\n heading: skeletonHeadingClass,\n item: skeletonItemClass,\n },\n props: restProps,\n };\n}\n","'use client';\n\nimport React, { type ElementType, forwardRef } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type PolymorphicRef, type SpiritSkipLinkProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { useSkipLinkStyleProps } from './useSkipLinkStyleProps';\n\nconst defaultProps: Partial<SpiritSkipLinkProps> = {\n elementType: 'a',\n};\n\n/* We need an exception for components exported with forwardRef */\n/* eslint no-underscore-dangle: ['error', { allow: ['_SkipLink'] }] */\nconst _SkipLink = <E extends ElementType = 'a'>(props: SpiritSkipLinkProps<E>, ref: PolymorphicRef<E>): JSX.Element => {\n const propsWithDefaults = { ...defaultProps, ...props };\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n const {\n elementType: ElementTag = defaultProps.elementType as ElementType,\n children,\n ...restProps\n } = propsWithDefaults;\n const { classProps, props: modifiedProps } = useSkipLinkStyleProps(restProps);\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n const mergedStyleProps = mergeStyleProps('a', { classProps, styleProps, otherProps });\n\n return (\n <ElementTag {...otherProps} {...mergedStyleProps} href={restProps.href} ref={ref}>\n {children}\n </ElementTag>\n );\n};\n\nconst SkipLink = forwardRef<HTMLAnchorElement, SpiritSkipLinkProps<ElementType>>(_SkipLink);\n\nSkipLink.spiritComponent = 'SkipLink';\n\nexport default SkipLink;\n","export { default as SkipLink } from './SkipLink';\nexport * from './useSkipLinkStyleProps';\n","import { useClassNamePrefix } from '../../hooks';\nimport { type SpiritSkipLinkProps } from '../../types';\n\nexport interface SkipLinkStyles {\n /** className props */\n classProps: string | null;\n /** props to be passed to the skip link element */\n props: Partial<SpiritSkipLinkProps>;\n}\n\nexport function useSkipLinkStyleProps(props: SpiritSkipLinkProps): SkipLinkStyles {\n const { ...restProps } = props;\n\n const skipLinkClass = useClassNamePrefix('SkipLink');\n\n return {\n classProps: skipLinkClass,\n props: restProps,\n };\n}\n","'use client';\n\nimport classNames from 'classnames';\nimport React, { type CSSProperties, type ChangeEvent, type FormEvent, type ForwardedRef, forwardRef } from 'react';\nimport { useAriaDescribedBy, useStyleProps } from '../../hooks';\nimport { type SpiritSliderProps } from '../../types';\nimport { HelperText, Label, ValidationText, useAriaIds } from '../Field';\nimport { useValidationTextRole } from '../Field/useValidationTextRole';\nimport { SLIDER_DEFAULT_PROPS } from './constants';\nimport { useSliderStyleProps } from './useSliderStyleProps';\n\nconst defaultProps = {\n ...SLIDER_DEFAULT_PROPS,\n};\n\n/* We need an exception for components exported with forwardRef */\n/* eslint no-underscore-dangle: ['error', { allow: ['_Slider'] }] */\nconst _Slider = (props: SpiritSliderProps, ref: ForwardedRef<HTMLInputElement>) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const {\n 'aria-describedby': ariaDescribedBy,\n hasValidationIcon,\n helperText,\n id,\n isDisabled,\n label,\n max,\n min,\n step,\n validationState,\n validationText,\n value,\n ...restProps\n } = propsWithDefaults;\n\n const { classProps, props: modifiedProps } = useSliderStyleProps({\n ...restProps,\n isDisabled,\n validationState,\n });\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n const [ids, register] = useAriaIds(ariaDescribedBy);\n const ariaDescribedByProp = useAriaDescribedBy(ids);\n const validationTextRole = useValidationTextRole({\n validationState,\n validationText,\n });\n\n const CSSVariable = '--slider-position';\n\n const getSliderPosition = (num: number) => `${Math.round((100 * (num - min)) / (max - min))}%`;\n\n const handleInput = (event: FormEvent<HTMLInputElement>) => {\n const { target } = event as ChangeEvent<HTMLInputElement>;\n const { value: inputValue } = target;\n\n target.style.setProperty(CSSVariable, getSliderPosition(Number(inputValue)));\n };\n\n return (\n <div {...styleProps} {...otherProps} className={classNames(classProps.root, styleProps.className)}>\n <Label htmlFor={id} UNSAFE_className={classProps.label}>\n {label}\n </Label>\n <input\n {...ariaDescribedByProp}\n className={classProps.input}\n id={id}\n onInput={handleInput}\n style={{ [CSSVariable]: `${getSliderPosition(value)}` } as CSSProperties}\n type=\"range\"\n min={min}\n max={max}\n step={step}\n value={value}\n disabled={isDisabled}\n ref={ref}\n />\n <HelperText\n UNSAFE_className={classProps.helperText}\n helperText={helperText}\n id={`${id}__helperText`}\n registerAria={register}\n />\n {validationState && (\n <ValidationText\n UNSAFE_className={classProps.validationText}\n {...(hasValidationIcon && { hasValidationStateIcon: validationState })}\n id={`${id}__validationText`}\n registerAria={register}\n validationText={validationText}\n role={validationTextRole}\n />\n )}\n </div>\n );\n};\n\nconst Slider = forwardRef<HTMLInputElement, SpiritSliderProps>(_Slider);\n\nSlider.spiritComponent = 'Slider';\n\nexport default Slider;\n","export const DEMO_SLIDER_DEFAULT_VALUE = 30;\nexport const DEMO_SLIDER_STEPS_VALUE = 9;\n\nexport const SLIDER_DEFAULT_PROPS = {\n max: 100, // @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/range#specifying_the_minimum_and_maximum\n min: 0, // @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/range#specifying_the_minimum_and_maximum\n step: 1, // @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/range#setting_the_values_granularity\n};\n","export { default as Slider } from './Slider';\nexport * from './useSliderStyleProps';\n","import classNames from 'classnames';\nimport { useClassNamePrefix } from '../../hooks';\nimport { type SpiritSliderProps } from '../../types';\n\ntype UseSliderStyleProps = Omit<SpiritSliderProps, 'id' | 'value' | 'label'>;\n\nexport interface SliderStyles {\n classProps: {\n root: string;\n label: string;\n input: string;\n helperText: string;\n validationText: string;\n };\n props: UseSliderStyleProps;\n}\n\nexport function useSliderStyleProps(props: UseSliderStyleProps): SliderStyles {\n const { isDisabled, isFluid, isLabelHidden, validationState, ...restProps } = props;\n\n const sliderClass = useClassNamePrefix('Slider');\n const rootClass = classNames(sliderClass);\n const isDisabledClass = `${sliderClass}--disabled`;\n const isFluidClass = `${sliderClass}--fluid`;\n const validationStateClass = `${sliderClass}--${validationState}`;\n const labelClass = classNames(`${sliderClass}__label`);\n const isLabelHiddenClass = `${sliderClass}__label--hidden`;\n const inputClass = `${sliderClass}__input`;\n const helperTextClass = `${sliderClass}__helperText`;\n const validationTextClass = `${sliderClass}__validationText`;\n\n return {\n classProps: {\n root: classNames(rootClass, {\n [isDisabledClass]: isDisabled,\n [isFluidClass]: isFluid,\n [validationStateClass]: validationState,\n }),\n label: classNames(labelClass, {\n [isLabelHiddenClass]: isLabelHidden,\n }),\n input: inputClass,\n helperText: helperTextClass,\n validationText: validationTextClass,\n },\n props: restProps,\n };\n}\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritSpinnerProps } from '../../types';\nimport { Icon } from '../Icon';\nimport { useSpinnerStyleProps } from './useSpinnerStyleProps';\n\nconst Spinner = <C extends undefined = undefined>(props: SpiritSpinnerProps<C>): JSX.Element => {\n const { classProps, props: modifiedProps } = useSpinnerStyleProps(props);\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n\n return (\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore: Incompatible HTMLElement and SVGSVGElement\n <Icon\n {...otherProps}\n name=\"spinner\"\n UNSAFE_className={classNames(classProps, styleProps.className)}\n UNSAFE_style={styleProps.style}\n />\n );\n};\n\nSpinner.spiritComponent = 'Spinner';\n\nexport default Spinner;\n","export { default as Spinner } from './Spinner';\nexport * from './useSpinnerStyleProps';\n","import classNames from 'classnames';\nimport { useClassNamePrefix } from '../../hooks';\nimport { type SpinnerProps, type SpiritSpinnerProps } from '../../types';\n\nexport interface SpinnerStyles {\n /** className props */\n classProps: string | null;\n /** props to be passed to the element */\n props: SpinnerProps;\n}\n\nexport function useSpinnerStyleProps<C extends string | undefined = undefined>(\n props: SpiritSpinnerProps<C>,\n): SpinnerStyles {\n const { color, ...restProps } = props;\n\n const spinnerClass = useClassNamePrefix('text');\n const spinnerColorClass = color ? `${spinnerClass}-${color}` : '';\n const spinnerAnimation = useClassNamePrefix('animation-spin-clockwise');\n\n const className = classNames(spinnerColorClass, spinnerAnimation);\n\n return {\n classProps: className,\n props: restProps,\n };\n}\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { ComponentButtonColors, Sizes } from '../../constants';\nimport { PropsProvider } from '../../context';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritSplitButtonProps } from '../../types';\nimport { useSplitButtonStyleProps } from './useSplitButtonStyleProps';\n\nconst defaultProps: Partial<SpiritSplitButtonProps> = {\n color: ComponentButtonColors.PRIMARY,\n size: Sizes.MEDIUM,\n};\n\nconst SplitButton = (props: SpiritSplitButtonProps) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { children, color, size, isDisabled, ...restProps } = propsWithDefaults;\n const { classProps } = useSplitButtonStyleProps();\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n\n return (\n <PropsProvider value={{ color, size, isDisabled }}>\n <div {...styleProps} {...otherProps} className={classNames(classProps, styleProps.className)}>\n {children}\n </div>\n </PropsProvider>\n );\n};\n\nexport default SplitButton;\n","'use client';\n\nimport React, { useState } from 'react';\nimport { type UncontrolledSplitButtonProps } from '../../types';\nimport { Button } from '../Button';\nimport { Dropdown, DropdownPopover, DropdownTrigger } from '../Dropdown';\nimport { Icon } from '../Icon';\nimport { VisuallyHidden } from '../VisuallyHidden';\nimport SplitButton from './SplitButton';\n\nconst defaultProps: Partial<UncontrolledSplitButtonProps> = {\n dropdownPlacement: 'bottom-end',\n dropdownTriggerIconName: 'chevron-down',\n};\n\nconst UncontrolledSplitButton = (props: UncontrolledSplitButtonProps) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const {\n buttonIconName,\n buttonLabel,\n buttonOnClick,\n children,\n dropdownTriggerIconName,\n dropdownTriggerLabel,\n dropdownPlacement,\n id,\n isButtonLabelHidden,\n isDisabled,\n isDropdownTriggerLabelHidden,\n ...restProps\n } = propsWithDefaults;\n const [openDropdownState, setOpenDropdownState] = useState(false);\n\n return (\n <SplitButton {...restProps} id={id} isDisabled={isDisabled}>\n <Button onClick={buttonOnClick}>\n {buttonIconName && <Icon name={buttonIconName} marginRight={!isButtonLabelHidden && 'space-400'} />}\n {isButtonLabelHidden ? <VisuallyHidden>{buttonLabel}</VisuallyHidden> : buttonLabel}\n </Button>\n <Dropdown\n id={`${id}-dropdown`}\n isOpen={openDropdownState}\n onToggle={() => setOpenDropdownState(!openDropdownState)}\n placement={dropdownPlacement}\n >\n <DropdownTrigger elementType={Button}>\n {isDropdownTriggerLabelHidden ? (\n <VisuallyHidden>{dropdownTriggerLabel}</VisuallyHidden>\n ) : (\n dropdownTriggerLabel\n )}\n <Icon name={dropdownTriggerIconName} marginLeft={!isDropdownTriggerLabelHidden && 'space-400'} />\n </DropdownTrigger>\n <DropdownPopover>{children}</DropdownPopover>\n </Dropdown>\n </SplitButton>\n );\n};\n\nexport default UncontrolledSplitButton;\n","export { default as SplitButton } from './SplitButton';\nexport { default as UncontrolledSplitButton } from './UncontrolledSplitButton';\nexport * from './useSplitButtonStyleProps';\n","import { useClassNamePrefix } from '../../hooks';\n\nexport interface SplitButtonStyles {\n /** className props */\n classProps: string;\n}\n\nexport function useSplitButtonStyleProps(): SplitButtonStyles {\n const SplitButtonClass = useClassNamePrefix('SplitButton');\n\n return {\n classProps: SplitButtonClass,\n };\n}\n","'use client';\n\nimport React, { type ElementType } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritStackProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { useStackStyleProps } from './useStackStyleProps';\n\nconst defaultProps: SpiritStackProps = {\n elementType: 'div',\n hasSpacing: false,\n hasEndDivider: false,\n hasIntermediateDividers: false,\n hasStartDivider: false,\n};\n\nconst Stack = <T extends ElementType = 'div'>(props: SpiritStackProps<T>): JSX.Element => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const {\n elementType: ElementTag = defaultProps.elementType as ElementType,\n children,\n ...restProps\n } = propsWithDefaults;\n const { classProps, props: modifiedProps, styleProps: stackStyle } = useStackStyleProps(restProps);\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n const mergedStyleProps = mergeStyleProps(ElementTag, {\n classProps: classProps.root,\n stackStyle,\n styleProps,\n otherProps,\n });\n\n return (\n <ElementTag {...otherProps} {...mergedStyleProps}>\n {children}\n </ElementTag>\n );\n};\n\nStack.spiritComponent = 'Stack';\n\nexport default Stack;\n","'use client';\n\nimport React, { type ElementType } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritStackItemProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { useStackStyleProps } from './useStackStyleProps';\n\nconst StackItem = <T extends ElementType = 'div'>(props: SpiritStackItemProps<T>): JSX.Element => {\n const { elementType: ElementTag = 'div', children, ...restProps } = props;\n const { classProps, props: modifiedProps } = useStackStyleProps(restProps);\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n const mergedStyleProps = mergeStyleProps(ElementTag, {\n classProps: classProps.item,\n styleProps,\n otherProps,\n });\n\n return (\n <ElementTag {...otherProps} {...mergedStyleProps}>\n {children}\n </ElementTag>\n );\n};\n\nStackItem.spiritComponent = 'StackItem';\n\nexport default StackItem;\n","export { default as Stack } from './Stack';\nexport { default as StackItem } from './StackItem';\n","import classNames from 'classnames';\nimport { type ElementType } from 'react';\nimport { useClassNamePrefix, useSpacingStyle } from '../../hooks';\nimport { type SpacingCSSProperties, type SpiritStackProps } from '../../types';\n\ninterface StackCSSProperties extends SpacingCSSProperties {}\n\nexport interface StackStyles {\n /** className props */\n classProps: {\n root: string;\n item: string;\n };\n /** props to be passed to the element */\n props: SpiritStackProps;\n /** Style props for the element */\n styleProps: StackCSSProperties;\n}\n\nexport function useStackStyleProps<T extends ElementType = 'div'>(props: SpiritStackProps<T>): StackStyles {\n const { hasEndDivider, hasIntermediateDividers, hasSpacing, hasStartDivider, spacing, ...restProps } = props;\n\n const StackClass = useClassNamePrefix('Stack');\n const StackBottomDividerClass = `${StackClass}--hasEndDivider`;\n const StackMiddleDividersClass = `${StackClass}--hasIntermediateDividers`;\n const StackSpacingClass = `${StackClass}--hasSpacing`;\n const StackTopDividerClass = `${StackClass}--hasStartDivider`;\n const rootProps = classNames(StackClass, {\n [StackBottomDividerClass]: hasEndDivider,\n [StackMiddleDividersClass]: hasIntermediateDividers,\n [StackSpacingClass]: hasSpacing || spacing,\n [StackTopDividerClass]: hasStartDivider,\n });\n const itemProps = classNames(`${StackClass}Item`);\n const stackStyle = useSpacingStyle(spacing, 'stack');\n\n return {\n classProps: {\n root: rootProps,\n item: itemProps,\n },\n props: restProps,\n styleProps: stackStyle,\n };\n}\n","'use client';\n\nimport React from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type TabContentProps } from '../../types';\n\nconst TabContent = ({ children, ...restProps }: TabContentProps): JSX.Element => {\n const { styleProps, props: transferProps } = useStyleProps(restProps);\n\n return (\n <div {...transferProps} {...styleProps}>\n {children}\n </div>\n );\n};\n\nTabContent.spiritComponent = 'TabContent';\n\nexport default TabContent;\n","'use client';\n\nimport { createContext, useContext } from 'react';\nimport { type TabId, type TabsContextType, type TabsToggler } from '../../types';\n\nconst defaultContext: TabsContextType = {\n selectedId: '',\n // eslint-disable-next-line @typescript-eslint/no-unused-vars, @typescript-eslint/no-empty-function\n selectTab: (id: TabId) => {},\n // eslint-disable-next-line @typescript-eslint/no-unused-vars, @typescript-eslint/no-empty-function\n onSelectionChange: (previousId, currentId) => {},\n};\n\nconst TabsContext = createContext<TabsContextType>(defaultContext);\nconst TabsProvider = TabsContext.Provider;\nconst TabsConsumer = TabsContext.Consumer;\nconst useTabContext = (): TabsContextType => useContext(TabsContext);\n\nexport default TabsContext;\nexport { TabsConsumer, TabsProvider, useTabContext };\nexport type { TabsContextType, TabsToggler };\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type ClickEvent, type TabItemProps } from '../../types';\nimport { useTabContext } from './TabContext';\nimport { useTabsStyleProps } from './useTabsStyleProps';\n\nconst TabItem = ({ children, forTabPane, onClick, ...restProps }: TabItemProps): JSX.Element => {\n const { selectTab, selectedId, onSelectionChange } = useTabContext();\n const { classProps } = useTabsStyleProps({ forTabPane, selectedId });\n const { styleProps, props: transferProps } = useStyleProps(restProps);\n\n const handleClick = (event: ClickEvent) => {\n selectTab(forTabPane);\n\n if (onClick) {\n onClick(event);\n }\n\n if (onSelectionChange) {\n onSelectionChange(selectedId, forTabPane);\n }\n };\n\n return (\n <li className={classProps.item} role=\"presentation\">\n <button\n {...transferProps}\n {...styleProps}\n type=\"button\"\n className={classNames(classProps.link, styleProps.className)}\n role=\"tab\"\n aria-selected={selectedId === forTabPane}\n id={`${forTabPane}-tab`}\n aria-controls={forTabPane.toString()}\n onClick={handleClick}\n >\n {children}\n </button>\n </li>\n );\n};\n\nTabItem.spiritComponent = 'TabItem';\n\nexport default TabItem;\n","'use client';\n\nimport classNames from 'classnames';\nimport React, { type ElementType, forwardRef } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type PolymorphicRef, type SpiritTabLinkProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { useTabsStyleProps } from './useTabsStyleProps';\n\nconst defaultProps: SpiritTabLinkProps = {\n itemProps: {},\n};\n\n/* We need an exception for components exported with forwardRef */\n/* eslint no-underscore-dangle: ['error', { allow: ['_TabLink'] }] */\nconst _TabLink = <E extends ElementType = 'a'>(props: SpiritTabLinkProps<E>, ref: PolymorphicRef<E>): JSX.Element => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { elementType: ElementTag = 'a', children, itemProps = {}, ...restProps } = propsWithDefaults;\n const { classProps } = useTabsStyleProps();\n const { styleProps: itemStyleProps, props: itemTransferProps } = useStyleProps(itemProps);\n const mergedStyleProps = mergeStyleProps(ElementTag, { classProps: classProps.link });\n\n return (\n <li\n {...itemStyleProps}\n {...itemTransferProps}\n className={classNames(classProps.item, itemStyleProps.className)}\n role=\"presentation\"\n >\n <ElementTag {...restProps} {...mergedStyleProps} ref={ref}>\n {children}\n </ElementTag>\n </li>\n );\n};\n\nconst TabLink = forwardRef<HTMLAnchorElement, SpiritTabLinkProps<ElementType>>(_TabLink);\n\nTabLink.spiritComponent = 'TabLink';\n\nexport default TabLink;\n","'use client';\n\nimport classNames from 'classnames';\nimport React, { type ReactElement } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type TabListProps } from '../../types';\nimport { useTabsStyleProps } from './useTabsStyleProps';\n\nconst TabList = ({ children, ...restProps }: TabListProps): ReactElement => {\n const { classProps, styleProps: tabsStyle } = useTabsStyleProps();\n const { styleProps, props: transferProps } = useStyleProps(restProps);\n\n const tabsStyleProps = {\n style: {\n ...styleProps.style,\n ...tabsStyle,\n },\n };\n\n return (\n <ul\n {...transferProps}\n {...styleProps}\n {...tabsStyleProps}\n className={classNames(classProps.root, styleProps.className)}\n role=\"tablist\"\n >\n {children}\n </ul>\n );\n};\n\nTabList.spiritComponent = 'TabList';\n\nexport default TabList;\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type TabPaneProps } from '../../types';\nimport { useTabContext } from './TabContext';\nimport { useTabsStyleProps } from './useTabsStyleProps';\n\nconst TabPane = ({ children, id, ...restProps }: TabPaneProps): JSX.Element | null => {\n const { selectedId } = useTabContext();\n const { classProps } = useTabsStyleProps({ id, selectedId });\n const { styleProps, props: transferProps } = useStyleProps(restProps);\n\n return selectedId === id ? (\n <div\n {...transferProps}\n {...styleProps}\n id={id.toString()}\n className={classNames(classProps.pane, styleProps.className)}\n role=\"tabpanel\"\n aria-labelledby={`${id}-tab`}\n >\n {children}\n </div>\n ) : null;\n};\n\nTabPane.spiritComponent = 'TabPane';\n\nexport default TabPane;\n","'use client';\n\nimport React from 'react';\nimport { type TabsProps } from '../../types';\nimport { TabsProvider } from './TabContext';\n\nconst Tabs = ({ children, selectedTab, toggle: selectTab, onSelectionChange, spacing }: TabsProps): JSX.Element => (\n <TabsProvider value={{ selectedId: selectedTab, selectTab, onSelectionChange, spacing }}>{children}</TabsProvider>\n);\n\nTabs.spiritComponent = 'Tabs';\n\nexport default Tabs;\n","'use client';\n\nimport React from 'react';\nimport { type UncontrolledTabsProps } from '../../types';\nimport { TabsProvider } from './TabContext';\nimport { useTab } from './useTabs';\n\nconst UncontrolledTabs = ({\n children,\n defaultSelectedTab,\n onSelectionChange,\n spacing,\n}: UncontrolledTabsProps): JSX.Element => {\n const { selectedId, selectTab } = useTab(defaultSelectedTab);\n\n return <TabsProvider value={{ selectedId, selectTab, onSelectionChange, spacing }}>{children}</TabsProvider>;\n};\n\nUncontrolledTabs.spiritComponent = 'UncontrolledTabs';\n\nexport default UncontrolledTabs;\n","export { default as TabContent } from './TabContent';\nexport { default as TabContext } from './TabContext';\nexport { default as TabItem } from './TabItem';\nexport { default as TabLink } from './TabLink';\nexport { default as TabList } from './TabList';\nexport { default as TabPane } from './TabPane';\nexport { default as Tabs } from './Tabs';\nexport { default as UncontrolledTabs } from './UncontrolledTabs';\nexport * from './TabContext';\nexport * from './useTabs';\nexport * from './useTabsStyleProps';\n","'use client';\n\nimport { useCallback, useState } from 'react';\nimport { type TabId } from '../../types';\n\nexport const useTab = (initialId: TabId) => {\n const [selectedId, setState] = useState<TabId>(initialId);\n\n // Define and memorize toggler function in case we pass down the component,\n const selectTab = useCallback((id: TabId) => {\n setState(id);\n }, []);\n\n return { selectedId, selectTab };\n};\n","import classNames from 'classnames';\nimport { useClassNamePrefix, useSpacingStyle } from '../../hooks';\nimport { type SpacingCSSProperties, type SpiritTabsProps } from '../../types';\nimport { useTabContext } from './TabContext';\n\nexport interface TabsStyles {\n /** className props */\n classProps: {\n item: string;\n link: string;\n pane: string;\n root: string;\n };\n /** props to be passed to the element */\n props: unknown;\n styleProps: TabsCSSProperties;\n}\n\ninterface TabsCSSProperties extends SpacingCSSProperties {}\n\nexport function useTabsStyleProps(props: SpiritTabsProps = { selectedId: '', forTabPane: '', id: '' }): TabsStyles {\n const { spacing } = useTabContext();\n const { selectedId, forTabPane, id, ...modifiedProps } = props;\n\n const tabsClass = useClassNamePrefix('Tabs');\n const tabsItemClass = `${tabsClass}__item`;\n const tabsLinkClass = `${tabsClass}__link`;\n const tabsPaneClass = `${tabsClass}Pane`;\n const tabsSelectedClass = 'is-selected';\n\n const tabsStyle = useSpacingStyle(spacing, 'tabs');\n\n return {\n classProps: {\n item: tabsItemClass,\n link: classNames(tabsLinkClass, {\n [tabsSelectedClass]: !!forTabPane && !!selectedId && selectedId === forTabPane,\n }),\n pane: classNames(tabsPaneClass, {\n [tabsSelectedClass]: !!id && !!selectedId && selectedId === id,\n }),\n root: tabsClass,\n },\n props: modifiedProps,\n styleProps: tabsStyle,\n };\n}\n","'use client';\n\nimport React, { type ElementType, type ForwardedRef, forwardRef } from 'react';\nimport { SizesExtended } from '../../constants';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritTagProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { TagColorsExtended } from './constants';\nimport { useTagStyleProps } from './useTagStyleProps';\n\nconst defaultProps: Partial<SpiritTagProps> = {\n color: TagColorsExtended.NEUTRAL,\n elementType: 'span',\n isSubtle: false,\n size: SizesExtended.MEDIUM,\n};\n\n/* We need an exception for components exported with forwardRef */\n/* eslint no-underscore-dangle: ['error', { allow: ['_Tag'] }] */\nconst _Tag = <T extends ElementType = 'span', C = void, S = void>(\n props: SpiritTagProps<T, C, S>,\n ref: ForwardedRef<HTMLSpanElement>,\n): JSX.Element => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const {\n elementType: ElementTag = defaultProps.elementType as ElementType,\n children,\n ...restProps\n } = propsWithDefaults;\n const { classProps, props: modifiedProps } = useTagStyleProps(restProps);\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n const mergedStyleProps = mergeStyleProps(ElementTag, { classProps, styleProps, otherProps });\n\n return (\n <ElementTag {...otherProps} {...mergedStyleProps} ref={ref}>\n {children}\n </ElementTag>\n );\n};\n\nconst Tag = forwardRef<HTMLSpanElement, SpiritTagProps<ElementType>>(_Tag);\n\nTag.spiritComponent = 'Tag';\n\nexport default Tag;\n","export const TagColorsExtended = {\n NEUTRAL: 'neutral',\n} as const;\n","export { default as Tag } from './Tag';\nexport * from './constants';\nexport * from './useTagStyleProps';\n","import classNames from 'classnames';\nimport { type ElementType } from 'react';\nimport { useClassNamePrefix } from '../../hooks';\nimport { type SpiritTagProps } from '../../types';\n\nexport interface TagStyles {\n /** className props */\n classProps: string;\n /** props to be passed to the element */\n props: Partial<SpiritTagProps>;\n}\n\nexport function useTagStyleProps<T extends ElementType = 'span', C = void, S = void>(\n props: SpiritTagProps<T, C, S>,\n): TagStyles {\n const { color, isSubtle, size, ...modifiedProps } = props;\n\n const TagClass = useClassNamePrefix('Tag');\n const TagColorClass = `${TagClass}--${color}`;\n const TagSizeClass = `${TagClass}--${size}`;\n const TagSubtleClass = `${TagClass}--subtle`;\n const classProps = classNames(TagClass, {\n [TagColorClass]: color,\n [TagSizeClass]: size,\n [TagSubtleClass]: isSubtle,\n });\n\n return {\n classProps,\n props: modifiedProps as Partial<SpiritTagProps>,\n };\n}\n","'use client';\n\nimport React, { type ElementType } from 'react';\nimport { Emphasis, SizesExtended, TextStyleProps } from '../../constants';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritTextProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { useTextStyleProps } from './useTextStyleProps';\n\nconst defaultProps: Partial<SpiritTextProps> = {\n elementType: 'p',\n emphasis: Emphasis.REGULAR,\n size: SizesExtended.MEDIUM,\n};\n\nconst Text = <T extends ElementType = 'p', S = void>(props: SpiritTextProps<T, S>): JSX.Element => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { elementType: ElementTag = 'p', children, ...restProps } = propsWithDefaults;\n const { classProps, props: modifiedProps } = useTextStyleProps(restProps);\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps, {\n isTextBalanced: TextStyleProps.isTextBalanced,\n textAlignment: TextStyleProps.textAlignment,\n textHyphens: TextStyleProps.textHyphens,\n textWordBreak: TextStyleProps.textWordBreak,\n });\n const mergedStyleProps = mergeStyleProps(ElementTag, { classProps, styleProps, otherProps });\n\n return (\n <ElementTag {...otherProps} {...mergedStyleProps}>\n {children}\n </ElementTag>\n );\n};\n\nText.spiritComponent = 'Text';\n\nexport default Text;\n","export { default as Text } from './Text';\nexport * from './useTextStyleProps';\n","import classNames from 'classnames';\nimport { type ElementType } from 'react';\nimport { useClassNamePrefix } from '../../hooks';\nimport { type SpiritTextProps, type TextProps } from '../../types';\n\nexport interface TextStyles<T extends ElementType = 'p'> {\n /** className props */\n classProps: string | null;\n /** props to be passed to the input element */\n props: TextProps<T>;\n}\n\nexport function useTextStyleProps<T extends ElementType = 'p', S = void>(props: SpiritTextProps<T, S>): TextStyles<T> {\n const { emphasis, size, textColor, ...restProps } = props;\n\n const textClass = useClassNamePrefix('typography-body');\n const textColorClass = useClassNamePrefix(textColor ? `text-${textColor}` : '');\n const className = classNames(`${textClass}-${size}-${emphasis}`, {\n [textColorClass]: !!textColor,\n });\n\n return {\n classProps: className,\n props: restProps,\n };\n}\n","'use client';\n\nimport React, { type ForwardedRef, type RefObject, forwardRef, useRef } from 'react';\nimport { type SpiritTextAreaProps } from '../../types';\nimport { TextFieldBase } from '../TextFieldBase';\nimport { useAdjustHeight } from './useAdjustHeight';\n\n/* We need an exception for components exported with forwardRef */\n/* eslint no-underscore-dangle: ['error', { allow: ['_TextArea'] }] */\nconst _TextArea = (props: SpiritTextAreaProps, ref: ForwardedRef<HTMLTextAreaElement>): JSX.Element => {\n const { onInput, isAutoResizing, autoResizingMaxHeight = 400, ...restProps } = props;\n const elementReference = useRef(ref);\n const { adjustHeightOnAutoresize, onInput: onInputHandler } = useAdjustHeight({\n elementReference,\n onInput,\n isAutoResizing,\n maxHeight: autoResizingMaxHeight,\n });\n\n return (\n <TextFieldBase\n isMultiline\n ref={elementReference as RefObject<HTMLTextAreaElement>}\n onInput={onInputHandler}\n onFocus={adjustHeightOnAutoresize}\n {...restProps}\n />\n );\n};\n\nconst TextArea = forwardRef<HTMLTextAreaElement, SpiritTextAreaProps>(_TextArea);\n\nTextArea.spiritComponent = 'TextArea';\n\nexport default TextArea;\n","export { default as TextArea } from './TextArea';\n","'use client';\n\nimport { type FormEvent, type FormEventHandler, type ForwardedRef, type MutableRefObject, useEffect } from 'react';\n\nexport interface UseAdjustHeightProps {\n elementReference?: MutableRefObject<ForwardedRef<HTMLTextAreaElement>>;\n maxHeight: number;\n onInput?: FormEventHandler<HTMLTextAreaElement>;\n isAutoResizing?: boolean;\n}\n\nexport interface UseAdjustHeightReturn {\n adjustHeight: (element: HTMLTextAreaElement) => void;\n adjustHeightOnAutoresize: () => void;\n onInput: FormEventHandler<HTMLTextAreaElement>;\n}\n\nexport const useAdjustHeight = ({\n elementReference,\n maxHeight,\n onInput,\n isAutoResizing,\n}: UseAdjustHeightProps): UseAdjustHeightReturn => {\n const adjustHeight = (element: HTMLTextAreaElement) => {\n const borderTopWidth = parseFloat(getComputedStyle(element).getPropertyValue('border-top-width')) || 0;\n const borderBottomWidth = parseFloat(getComputedStyle(element).getPropertyValue('border-bottom-width')) || 0;\n const totalBorderWidth = borderTopWidth + borderBottomWidth;\n\n element.style.height = 'auto';\n element.style.overflow = 'auto';\n\n const totalHeight = element.scrollHeight + totalBorderWidth;\n\n element.style.height = `${totalHeight < maxHeight ? totalHeight : maxHeight}px`;\n element.style.overflow = totalHeight < maxHeight ? 'hidden' : 'auto';\n };\n\n const adjustHeightOnAutoresize = () => {\n if (isAutoResizing) {\n // Because of mixed props for input and textarea\n const textArea = elementReference?.current as unknown as HTMLTextAreaElement;\n\n if (textArea) {\n adjustHeight(textArea);\n }\n }\n };\n\n const inputHandler = (event: FormEvent<HTMLTextAreaElement>) => {\n adjustHeightOnAutoresize();\n\n if (onInput) {\n onInput(event);\n }\n };\n\n /**\n * This is the equivalent of the initialization function\n * It will run only once when the component is mounted\n */\n useEffect(() => {\n adjustHeightOnAutoresize();\n // eslint-disable-next-line react-hooks/exhaustive-deps -- Empty deps array to run only once\n }, []);\n\n return {\n adjustHeight,\n adjustHeightOnAutoresize,\n onInput: inputHandler,\n };\n};\n","'use client';\n\nimport React, { type ForwardedRef, forwardRef } from 'react';\nimport { type SpiritTextFieldProps } from '../../types';\nimport { TextFieldBase } from '../TextFieldBase';\n\n/* We need an exception for components exported with forwardRef */\n/* eslint no-underscore-dangle: ['error', { allow: ['_TextField'] }] */\nconst _TextField = (props: SpiritTextFieldProps, ref: ForwardedRef<HTMLInputElement>): JSX.Element => (\n <TextFieldBase type=\"text\" {...props} ref={ref} />\n);\n\nconst TextField = forwardRef<HTMLInputElement, SpiritTextFieldProps>(_TextField);\n\nTextField.spiritComponent = 'TextField';\n\nexport default TextField;\n","export { default as TextField } from './TextField';\n","'use client';\n\nimport classNames from 'classnames';\nimport React, { type ForwardedRef, forwardRef } from 'react';\nimport { Sizes } from '../../constants';\nimport { useAriaDescribedBy, useStyleProps } from '../../hooks';\nimport { type SpiritTextFieldBaseProps, type TextFieldBasePasswordToggleProps } from '../../types';\nimport { HelperText, Label, ValidationText, useAriaIds } from '../Field';\nimport { useValidationTextRole } from '../Field/useValidationTextRole';\nimport TextFieldBaseInput from './TextFieldBaseInput';\nimport { useTextFieldBaseStyleProps } from './useTextFieldBaseStyleProps';\nimport withPasswordToggle from './withPasswordToggle';\n\nconst TextFieldBaseInputWithPasswordToggle = forwardRef(\n withPasswordToggle<TextFieldBasePasswordToggleProps>(TextFieldBaseInput),\n);\n\n/* We need an exception for components exported with forwardRef */\n/* eslint no-underscore-dangle: ['error', { allow: ['_TextFieldBase'] }] */\nconst _TextFieldBase = (props: SpiritTextFieldBaseProps, ref: ForwardedRef<HTMLInputElement | HTMLTextAreaElement>) => {\n const {\n 'aria-describedby': ariaDescribedBy = '',\n hasValidationIcon,\n helperText,\n id,\n label,\n size = Sizes.MEDIUM,\n validationState,\n validationText,\n ...restProps\n } = props;\n const { classProps, props: modifiedProps } = useTextFieldBaseStyleProps({\n id,\n size,\n validationState,\n ...restProps,\n });\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n const [ids, register] = useAriaIds(ariaDescribedBy);\n const ariaDescribedByProp = useAriaDescribedBy(ids);\n const validationTextRole = useValidationTextRole({\n validationState,\n validationText,\n });\n\n return (\n <div {...styleProps} className={classNames(classProps.root, styleProps.className)}>\n <Label htmlFor={id} UNSAFE_className={classProps.label}>\n {label}\n </Label>\n <TextFieldBaseInputWithPasswordToggle {...otherProps} {...ariaDescribedByProp} id={id} ref={ref} size={size} />\n <HelperText\n UNSAFE_className={classProps.helperText}\n id={`${id}__helperText`}\n registerAria={register}\n helperText={helperText}\n />\n {validationState && (\n <ValidationText\n UNSAFE_className={classProps.validationText}\n elementType=\"span\"\n {...(hasValidationIcon && { hasValidationStateIcon: validationState })}\n id={`${id}__validationText`}\n validationText={validationText}\n registerAria={register}\n role={validationTextRole}\n />\n )}\n </div>\n );\n};\n\nconst TextFieldBase = forwardRef<HTMLInputElement | HTMLTextAreaElement, SpiritTextFieldBaseProps>(_TextFieldBase);\n\nTextFieldBase.spiritComponent = 'TextFieldBase';\n\nexport default TextFieldBase;\n","'use client';\n\nimport React, { type ForwardedRef, type RefObject, forwardRef } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritTextFieldBaseInputProps } from '../../types';\nimport { useTextFieldBaseInputStyleProps } from './useTextFieldBaseInputStyleProps';\n\n/* We need an exception for components exported with forwardRef */\n/* eslint no-underscore-dangle: ['error', { allow: ['_TextFieldBaseInput'] }] */\nconst _TextFieldBaseInput = (\n props: SpiritTextFieldBaseInputProps,\n ref: ForwardedRef<HTMLInputElement | HTMLTextAreaElement>,\n) => {\n const { classProps, props: modifiedProps } = useTextFieldBaseInputStyleProps(props);\n const { id, isDisabled, isMultiline, isRequired, inputWidth, type, ...restProps } = modifiedProps;\n const { props: otherProps } = useStyleProps(restProps);\n\n const ElementType: React.ElementType = isMultiline ? 'textarea' : 'input';\n const inputType = isMultiline ? undefined : type;\n\n return (\n <ElementType\n {...otherProps}\n className={classProps.input}\n disabled={isDisabled}\n id={id}\n required={isRequired}\n size={inputWidth}\n type={inputType}\n ref={ref as RefObject<HTMLInputElement & HTMLTextAreaElement>}\n />\n );\n};\n\nconst TextFieldBaseInput = forwardRef<HTMLInputElement | HTMLTextAreaElement, SpiritTextFieldBaseInputProps>(\n _TextFieldBaseInput,\n);\n\nTextFieldBaseInput.spiritComponent = 'TextFieldBaseInput';\n\nexport default TextFieldBaseInput;\n","'use client';\n\nimport React from 'react';\nimport { Sizes } from '../../constants';\nimport { type SpiritTextFieldBasePasswordToggleProps } from '../../types';\nimport { Icon } from '../Icon';\nimport { useTextFieldBasePasswordToggleStyleProps } from './useTextFieldBasePasswordToggleStyleProps';\n\nconst TextFieldBasePasswordToggle = (props: SpiritTextFieldBasePasswordToggleProps): JSX.Element => {\n const { children, isPasswordShown, onToggleClick, isDisabled, size } = props;\n const { classProps } = useTextFieldBasePasswordToggleStyleProps();\n\n return (\n <div className={classProps.passwordToggle}>\n {children}\n <button\n className={classProps.passwordToggleButton}\n type=\"button\"\n role=\"switch\"\n aria-checked={!!isPasswordShown}\n aria-label={`${isPasswordShown ? 'Hide' : 'Show'} password`}\n onClick={() => onToggleClick()}\n disabled={isDisabled}\n >\n <span className={classProps.passwordToggleIcon}>\n <Icon name={`visibility-${isPasswordShown ? 'off' : 'on'}`} boxSize={size === Sizes.SMALL ? 16 : 20} />\n </span>\n </button>\n </div>\n );\n};\n\nTextFieldBasePasswordToggle.spiritComponent = 'TextFieldBasePasswordToggle';\n\nexport default TextFieldBasePasswordToggle;\n","export { default as TextFieldBase } from './TextFieldBase';\n","'use client';\n\nimport { useState } from 'react';\n\nexport const usePasswordToggle = () => {\n const [isPasswordShown, setIsPasswordShown] = useState<boolean>(false);\n const passwordToggle = () => setIsPasswordShown(!isPasswordShown);\n\n return {\n isPasswordShown,\n passwordToggle,\n };\n};\n","import { useClassNamePrefix } from '../../hooks';\nimport { type SpiritTextFieldBaseInputProps, type TextFieldBaseProps } from '../../types';\n\nexport interface TextFieldBaseInputStyles {\n /** className props */\n classProps: {\n input: string;\n };\n /** props to be passed to the input element */\n props: TextFieldBaseProps;\n}\n\nexport function useTextFieldBaseInputStyleProps(props: SpiritTextFieldBaseInputProps): TextFieldBaseInputStyles {\n const { isMultiline, id, ...restProps } = props;\n\n const TextFieldBaseClass = useClassNamePrefix(isMultiline ? 'TextArea' : 'TextField');\n const TextFieldBaseInputClass = `${TextFieldBaseClass}__input`;\n\n return {\n classProps: {\n input: TextFieldBaseInputClass,\n },\n props: {\n ...restProps,\n isMultiline,\n id,\n },\n };\n}\n","import { useClassNamePrefix } from '../../hooks';\n\nexport interface TextFieldBasePasswordToggleStyles {\n /** className props */\n classProps: {\n passwordToggle: string;\n passwordToggleButton: string;\n passwordToggleIcon: string;\n };\n}\n\nexport function useTextFieldBasePasswordToggleStyleProps(): TextFieldBasePasswordToggleStyles {\n const TextFieldBaseClass = useClassNamePrefix('TextField');\n const TextFieldBasePasswordToggleClass = `${TextFieldBaseClass}__passwordToggle`;\n const TextFieldBasePasswordToggleButtonClass = `${TextFieldBaseClass}__passwordToggle__button`;\n const TextFieldBasePasswordToggleIconClass = `${TextFieldBaseClass}__passwordToggle__icon`;\n\n return {\n classProps: {\n passwordToggle: TextFieldBasePasswordToggleClass,\n passwordToggleButton: TextFieldBasePasswordToggleButtonClass,\n passwordToggleIcon: TextFieldBasePasswordToggleIconClass,\n },\n };\n}\n","import classNames from 'classnames';\nimport { useClassNamePrefix } from '../../hooks';\nimport { type SpiritTextFieldBaseProps, type TextFieldBaseProps } from '../../types';\n\nexport interface TextFieldBaseStyles {\n /** className props */\n classProps: {\n root: string;\n label: string;\n input: string;\n helperText: string;\n validationText: string;\n passwordToggle: string;\n passwordToggleButton: string;\n passwordToggleIcon: string;\n };\n /** props to be passed to the input element */\n props: Omit<TextFieldBaseProps, 'label'>;\n}\n\nexport function useTextFieldBaseStyleProps(props: Omit<SpiritTextFieldBaseProps, 'label'>): TextFieldBaseStyles {\n const { isFluid, isMultiline, isLabelHidden, size, validationState, ...restProps } = props;\n const { isDisabled, isRequired } = restProps;\n\n const TextFieldBaseClass = useClassNamePrefix(isMultiline ? 'TextArea' : 'TextField');\n const TextFieldBaseDisabledClass = `${TextFieldBaseClass}--disabled`;\n const TextFieldBaseFluidClass = `${TextFieldBaseClass}--fluid`;\n const TextFieldBaseSizeClass = `${TextFieldBaseClass}--${size}`;\n const TextFieldBaseValidationClass = `${TextFieldBaseClass}--${validationState}`;\n const TextFieldBaseInputClass = `${TextFieldBaseClass}__input`;\n const TextFieldBaseLabelClass = `${TextFieldBaseClass}__label`;\n const TextFieldBaseLabelRequiredClass = `${TextFieldBaseClass}__label--required`;\n const TextFieldBaseLabelHiddenClass = `${TextFieldBaseClass}__label--hidden`;\n const TextFieldBaseValidationTextClass = `${TextFieldBaseClass}__validationText`;\n const TextFieldBasePasswordToggleClass = `${TextFieldBaseClass}__passwordToggle`;\n const TextFieldBasePasswordToggleButtonClass = `${TextFieldBaseClass}__passwordToggle__button`;\n const TextFieldBasePasswordToggleIconClass = `${TextFieldBaseClass}__passwordToggle__icon`;\n const TextFieldBaseHelperTextClass = `${TextFieldBaseClass}__helperText`;\n\n const rootStyles = classNames(TextFieldBaseClass, {\n [TextFieldBaseDisabledClass]: isDisabled,\n [TextFieldBaseFluidClass]: isFluid,\n [TextFieldBaseValidationClass]: validationState,\n [TextFieldBaseSizeClass]: size,\n });\n const labelStyles = classNames(TextFieldBaseLabelClass, {\n [TextFieldBaseLabelRequiredClass]: isRequired,\n [TextFieldBaseLabelHiddenClass]: isLabelHidden,\n });\n\n return {\n classProps: {\n root: rootStyles,\n label: labelStyles,\n input: TextFieldBaseInputClass,\n helperText: TextFieldBaseHelperTextClass,\n validationText: TextFieldBaseValidationTextClass,\n passwordToggle: TextFieldBasePasswordToggleClass,\n passwordToggleButton: TextFieldBasePasswordToggleButtonClass,\n passwordToggleIcon: TextFieldBasePasswordToggleIconClass,\n },\n props: {\n ...restProps,\n isMultiline,\n },\n };\n}\n","// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-nocheck\n/*\nerror TS2322: Type 'Omit<T, \"hasPasswordToggle\"> & { type: string; }' is not assignable to type 'IntrinsicAttributes & T'.\n Type 'Omit<T, \"hasPasswordToggle\"> & { type: string; }' is not assignable to type 'T'.\n 'T' could be instantiated with an arbitrary type which could be unrelated to 'Omit<T, \"hasPasswordToggle\"> & { type: string; }'.\n*/\n\n'use client';\n\nimport React, { type ComponentType, type ForwardedRef } from 'react';\nimport { type PasswordToggleAdornmentProp } from '../../types/shared/adornments';\nimport TextFieldBasePasswordToggle from './TextFieldBasePasswordToggle';\nimport { usePasswordToggle } from './usePasswordToggle';\n\nfunction withPasswordToggle<T extends PasswordToggleAdornmentProp>(WrappedComponent: ComponentType<T>) {\n const displayName = WrappedComponent.displayName || WrappedComponent.name || 'Component';\n\n const ComponentWithPasswordToggle = (props: T, ref: ForwardedRef<HTMLInputElement | HTMLTextAreaElement>) => {\n const { isPasswordShown, passwordToggle } = usePasswordToggle();\n const { hasPasswordToggle, isDisabled, size, ...restProps } = props;\n\n return hasPasswordToggle ? (\n <TextFieldBasePasswordToggle\n isDisabled={isDisabled}\n isPasswordShown={isPasswordShown}\n onToggleClick={passwordToggle}\n size={size}\n >\n <WrappedComponent\n {...restProps}\n type={isPasswordShown ? 'text' : 'password'}\n isDisabled={isDisabled}\n ref={ref}\n />\n </TextFieldBasePasswordToggle>\n ) : (\n <WrappedComponent {...restProps} isDisabled={isDisabled} ref={ref} />\n );\n };\n\n ComponentWithPasswordToggle.displayName = `withPasswordToggle(${displayName})`;\n\n return ComponentWithPasswordToggle;\n}\n\nwithPasswordToggle.spiritComponent = 'withPasswordToggle';\n\nexport default withPasswordToggle;\n","'use client';\n\nimport React, { type ElementType } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritTimelineProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { TIMELINE_SIZE_DEFAULT } from './constants';\nimport { useTimelineStyleProps } from './useTimelineStyleProps';\n\nconst defaultProps: Partial<SpiritTimelineProps> = {\n elementType: 'ol',\n size: TIMELINE_SIZE_DEFAULT,\n};\n\nconst Timeline = <T extends ElementType = 'ol'>(props: SpiritTimelineProps<T>) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { elementType: ElementTag = 'ol', children, size, ...restProps } = propsWithDefaults;\n const { classProps } = useTimelineStyleProps({ markerSize: size });\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n const mergedStyleProps = mergeStyleProps(ElementTag, { classProps: classProps.root, styleProps, otherProps });\n\n return (\n <ElementTag {...otherProps} {...mergedStyleProps}>\n {children}\n </ElementTag>\n );\n};\n\nTimeline.spiritComponent = 'Timeline';\n\nexport default Timeline;\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritTimelineContentProps } from '../../types';\nimport { useTimelineStyleProps } from './useTimelineStyleProps';\n\nconst TimelineContent = (props: SpiritTimelineContentProps) => {\n const { children, ...restProps } = props;\n const { classProps } = useTimelineStyleProps();\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n\n return (\n <div {...otherProps} className={classNames(classProps.content, styleProps.className)} style={styleProps.style}>\n {children}\n </div>\n );\n};\n\nTimelineContent.spiritComponent = 'TimelineContent';\n\nexport default TimelineContent;\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritTimelineHeadingProps } from '../../types';\nimport { useTimelineStyleProps } from './useTimelineStyleProps';\n\nconst TimelineHeading = (props: SpiritTimelineHeadingProps) => {\n const { children, ...restProps } = props;\n const { classProps } = useTimelineStyleProps();\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n\n return (\n <div {...otherProps} className={classNames(classProps.heading, styleProps.className)} style={styleProps.style}>\n {children}\n </div>\n );\n};\n\nTimelineHeading.spiritComponent = 'TimelineHeading';\n\nexport default TimelineHeading;\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritTimelineMarkerProps } from '../../types';\nimport { TIMELINE_MARKER } from './constants';\nimport { useTimelineStyleProps } from './useTimelineStyleProps';\n\nconst defaultProps: Partial<SpiritTimelineMarkerProps> = {\n variant: 'number',\n};\n\nconst TimelineMarker = (props: SpiritTimelineMarkerProps) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { backgroundColor, borderColor, children, textColor, variant, ...restProps } = propsWithDefaults;\n const { classProps } = useTimelineStyleProps({\n markerBackgroundColor: backgroundColor,\n markerBorderColor: borderColor,\n markerTextColor: textColor,\n markerVariant: variant,\n });\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n\n return (\n <div\n {...otherProps}\n className={classNames(classProps.marker, styleProps.className)}\n style={styleProps.style}\n aria-hidden=\"true\"\n >\n {variant !== TIMELINE_MARKER.DOT && children}\n </div>\n );\n};\n\nTimelineMarker.spiritComponent = 'TimelineMarker';\n\nexport default TimelineMarker;\n","'use client';\n\nimport React, { type ElementType } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritTimelineStepProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { useTimelineStyleProps } from './useTimelineStyleProps';\n\nconst defaultProps: Partial<SpiritTimelineStepProps> = {\n elementType: 'li',\n};\n\nconst TimelineStep = <T extends ElementType = 'li'>(props: SpiritTimelineStepProps<T>) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { elementType: ElementTag = 'li', children, ...restProps } = propsWithDefaults;\n const { classProps } = useTimelineStyleProps();\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n const mergedStyleProps = mergeStyleProps(ElementTag, { classProps: classProps.step, styleProps, otherProps });\n\n return (\n <ElementTag {...otherProps} {...mergedStyleProps}>\n {children}\n </ElementTag>\n );\n};\n\nTimelineStep.spiritComponent = 'TimelineStep';\n\nexport default TimelineStep;\n","import { Sizes } from '../../constants';\n\nexport const TIMELINE_MARKER = {\n DOT: 'dot',\n NUMBER: 'number',\n ICON: 'icon',\n};\n\nexport const TIMELINE_SIZE_DEFAULT = Sizes.SMALL;\n","export { default as Timeline } from './Timeline';\nexport { default as TimelineContent } from './TimelineContent';\nexport { default as TimelineHeading } from './TimelineHeading';\nexport { default as TimelineMarker } from './TimelineMarker';\nexport { default as TimelineStep } from './TimelineStep';\nexport * from './useTimelineStyleProps';\n","import classNames from 'classnames';\nimport { type ElementType } from 'react';\nimport { useClassNamePrefix } from '../../hooks';\nimport type { SingleOrResponsive, SizesDictionaryType, SpiritTimelineProps, TimelineMarkerProps } from '../../types';\nimport { generateResponsiveClassNames } from '../../utils';\nimport { TIMELINE_MARKER, TIMELINE_SIZE_DEFAULT } from './constants';\n\nexport interface UseTimelineStyleProps {\n markerVariant?: TimelineMarkerProps['variant'];\n markerBackgroundColor?: TimelineMarkerProps['backgroundColor'];\n markerBorderColor?: TimelineMarkerProps['borderColor'];\n markerTextColor?: TimelineMarkerProps['textColor'];\n markerSize?: SingleOrResponsive<SizesDictionaryType>;\n}\n\nexport interface TimelineStyles<T> {\n /** className props */\n classProps: {\n content: string;\n heading: string;\n marker: string;\n root: string;\n step: string;\n };\n /** props to be passed to the element */\n props: T;\n}\n\nexport function useTimelineStyleProps(props?: UseTimelineStyleProps): TimelineStyles<SpiritTimelineProps<ElementType>> {\n const {\n markerBackgroundColor,\n markerBorderColor,\n markerTextColor,\n markerVariant,\n markerSize = TIMELINE_SIZE_DEFAULT,\n ...restProps\n } = props || {};\n const timelineClass = useClassNamePrefix('Timeline');\n const contentClass = `${timelineClass}Content`;\n const headingClass = `${timelineClass}Heading`;\n const markerClass = `${timelineClass}Marker`;\n const stepClass = `${timelineClass}Step`;\n const shouldApplyBackgroundAndBorderColors =\n markerVariant === TIMELINE_MARKER.DOT || markerVariant === TIMELINE_MARKER.NUMBER;\n const markerBackgroundPrefix = useClassNamePrefix(`bg-${markerBackgroundColor}`);\n const markerBorderClassPrefix = useClassNamePrefix(`border-${markerBorderColor}`);\n const markerTextColorClassPrefix = useClassNamePrefix(`text-${markerTextColor}`);\n const markerBackgroundClass = markerBackgroundColor ? markerBackgroundPrefix : '';\n const markerBorderClass = markerBorderColor ? markerBorderClassPrefix : '';\n const markerTextColorClass = markerTextColor ? markerTextColorClassPrefix : '';\n\n const markerClasses = classNames(markerClass, {\n [`${markerClass}--${markerVariant}`]: !!markerVariant,\n [markerBackgroundClass]: shouldApplyBackgroundAndBorderColors,\n [markerBorderClass]: shouldApplyBackgroundAndBorderColors,\n [markerTextColorClass]: !!markerTextColor,\n });\n\n const sizeClassNames = generateResponsiveClassNames(timelineClass, markerSize);\n const rootClasses = classNames(timelineClass, ...sizeClassNames);\n\n return {\n classProps: {\n content: contentClass,\n heading: headingClass,\n marker: markerClasses,\n root: rootClasses,\n step: stepClass,\n },\n props: restProps,\n };\n}\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { AlignmentX, AlignmentY } from '../../constants';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritToastProps } from '../../types';\nimport { useToastStyleProps } from './useToastStyleProps';\n\nconst defaultProps: SpiritToastProps = {\n alignmentX: AlignmentX.CENTER,\n alignmentY: AlignmentY.BOTTOM,\n isCollapsible: true,\n};\n\nconst Toast = (props: SpiritToastProps) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { children, alignmentX, alignmentY, ...restProps } = propsWithDefaults;\n const { classProps, props: modifiedProps } = useToastStyleProps({ ...restProps, alignmentX, alignmentY });\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n\n return (\n <div {...otherProps} {...styleProps} className={classNames(classProps.root, styleProps.className)} role=\"log\">\n <div className={classProps.queue}>{children}</div>\n </div>\n );\n};\n\nToast.spiritComponent = 'Toast';\n\nexport default Toast;\n","'use client';\n\nimport classNames from 'classnames';\nimport React, { type MutableRefObject, useRef } from 'react';\nimport { Transition, type TransitionStatus } from 'react-transition-group';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritToastBarProps } from '../../types';\nimport { Icon } from '../Icon';\nimport {\n DEFAULT_TOAST_COLOR,\n ICON_BOX_SIZE,\n TOAST_BAR_CLOSE_BUTTON_LABEL_DEFAULT,\n TRANSITIONING_STYLES,\n TRANSITION_DURATION,\n} from './constants';\nimport ToastCloseButton from './ToastCloseButton';\nimport { useToastBarStyleProps } from './useToastBarStyleProps';\nimport { useToastIcon } from './useToastIcon';\n\nconst ToastBar = (props: SpiritToastBarProps) => {\n const {\n id,\n children,\n closeLabel = TOAST_BAR_CLOSE_BUTTON_LABEL_DEFAULT,\n color = DEFAULT_TOAST_COLOR,\n hasIcon,\n iconName,\n isDismissible,\n isOpen = true,\n onClose = () => {},\n ...restProps\n } = props;\n const rootElementRef: MutableRefObject<HTMLDivElement | null> = useRef(null);\n const toastIconName = useToastIcon({ color, iconName });\n const { classProps, props: modifiedProps } = useToastBarStyleProps({\n ...restProps,\n color,\n isDismissible,\n });\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n\n return (\n <Transition in={isOpen} nodeRef={rootElementRef} timeout={TRANSITION_DURATION} unmountOnExit>\n {(transitionState: TransitionStatus) => (\n <div\n {...styleProps}\n {...otherProps}\n id={id}\n className={classNames(classProps.root, TRANSITIONING_STYLES[transitionState], styleProps.className)}\n ref={rootElementRef}\n >\n <div className={classProps.box}>\n <div className={classProps.container}>\n {(hasIcon || iconName) && <Icon name={toastIconName} boxSize={ICON_BOX_SIZE} />}\n <div className={classProps.content}>{children}</div>\n </div>\n <ToastCloseButton\n id={id}\n isOpen={isOpen}\n closeLabel={closeLabel}\n onClose={onClose}\n isDismissible={isDismissible}\n />\n </div>\n </div>\n )}\n </Transition>\n );\n};\n\nToastBar.spiritComponent = 'ToastBar';\n\nexport default ToastBar;\n","'use client';\n\nimport React, { type ElementType, type ForwardedRef, forwardRef } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type ToastLinkProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { useToastBarStyleProps } from './useToastBarStyleProps';\n\nconst defaultProps: Partial<ToastLinkProps> = {\n elementType: 'a',\n};\n\n/* We need an exception for components exported with forwardRef */\n/* eslint no-underscore-dangle: ['error', { allow: ['_ToastBarLink'] }] */\nconst _ToastBarLink = (props: ToastLinkProps, ref: ForwardedRef<HTMLAnchorElement>) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const {\n elementType: ElementTag = defaultProps.elementType as ElementType,\n children,\n ...restProps\n } = propsWithDefaults;\n const { classProps, props: modifiedProps } = useToastBarStyleProps({ ...restProps });\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n const mergedStyleProps = mergeStyleProps(ElementTag, { classProps: classProps.link, styleProps, otherProps });\n\n return (\n <ElementTag {...otherProps} {...mergedStyleProps} ref={ref}>\n {children as React.ReactNode}\n </ElementTag>\n );\n};\n\nconst ToastBarLink = forwardRef<HTMLAnchorElement, ToastLinkProps>(_ToastBarLink);\n\nToastBarLink.spiritComponent = 'ToastBarLink';\n\nexport default ToastBarLink;\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useClassNamePrefix, useStyleProps } from '../../hooks';\nimport { type ChildrenProps } from '../../types';\n\nconst ToastBarMessage = (props: ChildrenProps) => {\n const { children, ...restProps } = props;\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n\n return (\n <div\n {...styleProps}\n {...otherProps}\n className={classNames(useClassNamePrefix('text-truncate-multiline'), styleProps.className)}\n >\n {children}\n </div>\n );\n};\n\nToastBarMessage.spiritComponent = 'ToastBarMessage';\n\nexport default ToastBarMessage;\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type ToastCloseButtonProps } from '../../types';\nimport { Icon } from '../Icon';\nimport { VisuallyHidden } from '../VisuallyHidden';\nimport { useToastBarStyleProps } from './useToastBarStyleProps';\n\nconst ToastCloseButton = (props: ToastCloseButtonProps) => {\n const { onClose, isOpen, id, closeLabel, isDismissible, ...restProps } = props;\n const { classProps, props: modifiedProps } = useToastBarStyleProps({ ...restProps });\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n\n if (isDismissible && onClose) {\n return (\n <button\n {...otherProps}\n {...styleProps}\n type=\"button\"\n className={classNames(classProps.close, styleProps.className)}\n onClick={onClose}\n aria-expanded={isOpen}\n aria-controls={id}\n >\n <Icon name=\"close\" />\n <VisuallyHidden>{closeLabel}</VisuallyHidden>\n </button>\n );\n }\n\n return null;\n};\n\nToastCloseButton.spiritComponent = 'ToastCloseButton';\n\nexport default ToastCloseButton;\n","'use client';\n\nimport React, { type FC, type ReactNode, createContext, useCallback, useMemo, useReducer } from 'react';\nimport { type ToastColorType, type ToastLinkProps } from '../../types';\nimport { delayedCallback } from '../../utils';\nimport { DEFAULT_TOAST_AUTO_CLOSE_INTERVAL } from './constants';\n\ntype ToastState = {\n queue: ToastItem[];\n};\n\nexport interface ToastItem {\n autoCloseInterval?: number;\n color?: ToastColorType;\n enableAutoClose?: boolean;\n hasIcon: boolean;\n iconName?: string;\n id: string;\n isDismissible: boolean;\n isOpen: boolean;\n linkProps: ToastLinkProps;\n content: {\n message: JSX.Element | string;\n link?: JSX.Element | string;\n };\n}\n\nexport interface ToastContextType extends ToastState {\n clear: () => void;\n hide: (id: string) => void;\n setQueue: (newQueue: ToastItem[]) => void;\n show: (\n content: {\n message: JSX.Element | string;\n link?: JSX.Element | string;\n },\n id: string,\n options?: {\n autoCloseInterval?: number;\n color?: ToastColorType;\n enableAutoClose?: boolean;\n hasIcon?: boolean;\n iconName?: string;\n isDismissible?: boolean;\n linkProps: ToastLinkProps;\n },\n ) => void;\n}\n\nconst defaultToastContext: ToastContextType = {\n clear: () => {},\n hide: () => {},\n queue: [],\n setQueue: () => {},\n show: () => {},\n};\n\nexport const ToastContext = createContext<ToastContextType>(defaultToastContext);\n\ntype ActionType =\n | {\n type: 'show';\n payload: {\n content: {\n message: JSX.Element | string;\n link?: JSX.Element | string;\n };\n toastId: string;\n options?: {\n autoCloseInterval?: number;\n color?: ToastColorType;\n enableAutoClose?: boolean;\n hasIcon?: boolean;\n iconName?: string;\n isDismissible?: boolean;\n linkProps: ToastLinkProps;\n };\n };\n }\n | { type: 'hide'; payload: { id: string } }\n | { type: 'clear'; payload: null }\n | { type: 'setQueue'; payload: { newQueue: ToastItem[] } };\n\nconst reducer = (state: ToastState, action: ActionType): ToastState => {\n const { type, payload } = action;\n const { queue: currentQueue } = state;\n\n switch (type) {\n case 'show': {\n const newQueue = [\n ...currentQueue,\n {\n autoCloseInterval: payload.options?.autoCloseInterval || DEFAULT_TOAST_AUTO_CLOSE_INTERVAL,\n color: payload.options?.color || undefined,\n enableAutoClose: payload.options?.enableAutoClose || true,\n hasIcon: payload.options?.hasIcon || false,\n iconName: payload.options?.iconName,\n id: payload.toastId,\n isDismissible: payload.options?.isDismissible || false,\n linkProps: payload.options?.linkProps || {},\n isOpen: true,\n content: {\n message: payload.content.message,\n link: payload.content.link || undefined,\n },\n },\n ];\n\n return { queue: newQueue };\n }\n\n case 'hide': {\n return { queue: currentQueue.filter((item) => item.id !== payload.id) };\n }\n\n case 'clear':\n return { queue: [] };\n\n default:\n throw new Error();\n }\n};\n\ninterface ToastProviderProps {\n children: ReactNode;\n}\n\nconst initialToastState: ToastState = {\n queue: [],\n};\n\nexport const ToastProvider: FC<ToastProviderProps> = ({ children }) => {\n const [state, dispatch] = useReducer(reducer, initialToastState);\n const { queue } = state;\n\n const hide = useCallback((id: string) => {\n dispatch({ type: 'hide', payload: { id } });\n }, []);\n\n const clear = useCallback(() => {\n dispatch({ type: 'clear', payload: null });\n }, []);\n\n const show = useCallback(\n (\n content: {\n message: JSX.Element | string;\n link?: JSX.Element | string;\n },\n toastId: string,\n options?: {\n autoCloseInterval?: number;\n color?: ToastColorType;\n enableAutoClose?: boolean;\n hasIcon?: boolean;\n iconName?: string;\n isDismissible?: boolean;\n linkProps: ToastLinkProps;\n },\n ) => {\n dispatch({ type: 'show', payload: { content, toastId, options } });\n\n options?.enableAutoClose &&\n delayedCallback(() => hide(toastId), options?.autoCloseInterval || DEFAULT_TOAST_AUTO_CLOSE_INTERVAL);\n },\n [],\n );\n const setQueue = useCallback((newQueue: ToastItem[]) => {\n dispatch({ type: 'clear', payload: null });\n\n newQueue.forEach((item) => {\n const enableAutoClose = item.enableAutoClose ?? true;\n const autoCloseInterval = item.autoCloseInterval || DEFAULT_TOAST_AUTO_CLOSE_INTERVAL;\n\n dispatch({\n type: 'show',\n payload: {\n content: {\n message: item.content.message,\n link: item.content.link ?? undefined,\n },\n toastId: item.id,\n options: {\n autoCloseInterval,\n enableAutoClose,\n color: item.color,\n hasIcon: item.hasIcon || false,\n iconName: item.iconName,\n isDismissible: item.isDismissible || false,\n linkProps: item.linkProps || {},\n },\n },\n });\n\n enableAutoClose && delayedCallback(() => hide(item.id), autoCloseInterval || DEFAULT_TOAST_AUTO_CLOSE_INTERVAL);\n });\n }, []);\n\n const contextValue = useMemo(\n () => ({\n clear,\n hide,\n queue,\n setQueue,\n show,\n }),\n [hide, show, clear, queue.length, setQueue],\n );\n\n return <ToastContext.Provider value={contextValue}>{children}</ToastContext.Provider>;\n};\n","'use client';\n\nimport React from 'react';\nimport { type UncontrolledToastProps } from '../../types';\nimport Toast from './Toast';\nimport ToastBar from './ToastBar';\nimport ToastBarLink from './ToastBarLink';\nimport ToastBarMessage from './ToastBarMessage';\nimport { useToast } from './useToast';\n\nconst UncontrolledToast = (props: UncontrolledToastProps) => {\n const { alignmentX, alignmentY, isCollapsible, closeLabel, ...restProps } = props;\n const { hide, queue } = useToast();\n\n return (\n <Toast alignmentX={alignmentX} alignmentY={alignmentY} isCollapsible={isCollapsible}>\n {queue.map((item) => {\n const { color, iconName, id, isOpen, content, hasIcon, isDismissible, linkProps } = item;\n\n return (\n <ToastBar\n {...restProps}\n key={id}\n id={id}\n closeLabel={closeLabel}\n color={color}\n hasIcon={hasIcon}\n iconName={iconName}\n isDismissible={isDismissible}\n onClose={() => hide(id)}\n isOpen={isOpen && !!content}\n >\n <ToastBarMessage>{content.message}</ToastBarMessage>\n {content.link && <ToastBarLink {...linkProps}>{content.link}</ToastBarLink>}\n </ToastBar>\n );\n })}\n </Toast>\n );\n};\n\nUncontrolledToast.spiritComponent = 'UncontrolledToast';\n\nexport default UncontrolledToast;\n","export const TRANSITION_DURATION = 250;\n\nexport const TRANSITIONING_STYLES: Record<string, string> = {\n entering: 'is-open is-transitioning',\n entered: 'is-open',\n exiting: 'is-hidden is-transitioning',\n exited: 'is-hidden',\n};\n\nexport const ICON_BOX_SIZE = 20;\n\nexport const TOAST_BAR_CLOSE_BUTTON_LABEL_DEFAULT = 'Close';\n\nexport const DEFAULT_TOAST_COLOR = 'neutral';\n\nexport const DEFAULT_TOAST_AUTO_CLOSE_INTERVAL = 3000; // milliseconds\n\nexport const ToastColorsExtended = {\n NEUTRAL: 'neutral',\n} as const;\n","export { default as Toast } from './Toast';\nexport { default as ToastBar } from './ToastBar';\nexport { default as ToastBarMessage } from './ToastBarMessage';\nexport { default as ToastBarLink } from './ToastBarLink';\nexport { default as UncontrolledToast } from './UncontrolledToast';\nexport * from './constants';\nexport * from './useToast';\n","'use client';\n\nimport { useContext } from 'react';\nimport { ToastContext } from './ToastContext';\n\nexport const useToast = () => {\n const currentToastContext = useContext(ToastContext);\n\n if (!currentToastContext) {\n throw new Error('useToast has to be used within <ToastProvider>');\n }\n\n return currentToastContext;\n};\n","import classNames from 'classnames';\nimport { useClassNamePrefix } from '../../hooks';\nimport { type ToastBarProps } from '../../types';\nimport { ToastColorsExtended } from '.';\n\nexport const useToastBarStyleProps = (props: ToastBarProps) => {\n const { color, isDismissible, ...restProps } = props;\n\n const toastBarClass = useClassNamePrefix('ToastBar');\n const toastBarBoxClass = `${toastBarClass}__box`;\n const toastBarCloseClass = `${toastBarClass}__close`;\n const toastBarContainerClass = `${toastBarClass}__container`;\n const toastBarContentClass = `${toastBarClass}__content`;\n const toastBarLinkClass = `${toastBarClass}__link`;\n const toastBarLinkUnderlinedClass = useClassNamePrefix('link-underlined');\n const toastBarColorClass = `${toastBarClass}--${color || ToastColorsExtended.NEUTRAL}`;\n const toastBarDismissibleClass = `${toastBarClass}--dismissible`;\n const toastBarRootClasses = classNames(toastBarClass, toastBarColorClass, isDismissible && toastBarDismissibleClass);\n const toastBarLinkClasses = classNames(toastBarLinkClass, toastBarLinkUnderlinedClass);\n\n return {\n classProps: {\n root: toastBarRootClasses,\n box: toastBarBoxClass,\n close: toastBarCloseClass,\n container: toastBarContainerClass,\n content: toastBarContentClass,\n link: toastBarLinkClasses,\n },\n props: restProps,\n };\n};\n","import { useIconName } from '../../hooks/useIconName';\nimport { type SpiritToastBarProps } from '../../types';\nimport { DEFAULT_TOAST_COLOR } from './constants';\n\nexport function useToastIcon({ color, iconName }: Partial<SpiritToastBarProps>) {\n const iconNameValue = useIconName(\n color as string,\n {\n danger: 'danger',\n informative: 'info',\n neutral: 'info',\n success: 'check-plain',\n warning: 'warning',\n },\n DEFAULT_TOAST_COLOR,\n );\n\n return iconName || iconNameValue;\n}\n","import classNames from 'classnames';\nimport { useClassNamePrefix } from '../../hooks';\nimport { type SpiritToastProps } from '../../types';\n\nexport interface ToastStyles<T> {\n classProps: {\n root: string;\n queue: string;\n };\n props: T;\n}\n\nexport function useToastStyleProps(props: SpiritToastProps): ToastStyles<SpiritToastProps> {\n const { alignmentX, alignmentY, isCollapsible, ...restProps } = props;\n\n const toastClass = useClassNamePrefix('Toast');\n\n function processAlignments(alignments: Array<SpiritToastProps['alignmentX'] | SpiritToastProps['alignmentY']>) {\n return alignments.map((alignment) =>\n typeof alignment === 'object' && alignment !== null\n ? Object.keys(alignment).reduce<string[]>((acc, key) => {\n const infix = key === 'mobile' ? '' : `--${key}`;\n\n return [...acc, `${toastClass}${infix}--${alignment[key as keyof typeof alignment]}`];\n }, [])\n : [`${toastClass}--${alignment}`],\n );\n }\n\n const alignmentClasses = [...processAlignments([alignmentX, alignmentY])];\n const collapsibleClass = `${toastClass}--collapsible`;\n\n const toastRootClass = classNames(toastClass, isCollapsible && collapsibleClass, ...alignmentClasses);\n const toastQueueClass = `${toastClass}__queue`;\n\n return {\n classProps: {\n root: toastRootClass,\n queue: toastQueueClass,\n },\n props: restProps,\n };\n}\n","'use client';\n\nimport classNames from 'classnames';\nimport React, { type ForwardedRef, forwardRef, useState } from 'react';\nimport { useAriaDescribedBy, useStyleProps } from '../../hooks';\nimport { type SpiritToggleProps } from '../../types';\nimport { HelperText, Label, ValidationText, useAriaIds } from '../Field';\nimport { useValidationTextRole } from '../Field/useValidationTextRole';\nimport { useToggleStyleProps } from './useToggleStyleProps';\n\n/* We need an exception for components exported with forwardRef */\n/* eslint no-underscore-dangle: ['error', { allow: ['_Toggle'] }] */\n/* eslint-disable-next-line camelcase */\nconst _Toggle = (props: SpiritToggleProps, ref: ForwardedRef<HTMLInputElement>) => {\n const { classProps, props: modifiedProps } = useToggleStyleProps(props);\n const {\n 'aria-describedby': ariaDescribedBy = '',\n hasValidationIcon,\n id,\n isDisabled,\n isChecked = false,\n isRequired,\n label,\n helperText,\n onChange = () => {},\n validationState,\n validationText,\n ...restProps\n } = modifiedProps;\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n const [ids, register] = useAriaIds(ariaDescribedBy);\n const ariaDescribedByProp = useAriaDescribedBy(ids);\n const [checked, setChecked] = useState(isChecked);\n const validationTextRole = useValidationTextRole({\n validationState,\n validationText,\n });\n\n const handleOnChange = (event: React.ChangeEvent<HTMLInputElement>) => {\n setChecked(event.target.checked);\n onChange(event);\n };\n\n return (\n <div style={styleProps.style} className={classNames(classProps.root, styleProps.className)}>\n <div className={classProps.text}>\n <Label UNSAFE_className={classProps.label} htmlFor={id}>\n {label}\n </Label>\n <HelperText\n UNSAFE_className={classProps.helperText}\n id={`${id}__helperText`}\n registerAria={register}\n helperText={helperText}\n />\n {validationState && (\n <ValidationText\n UNSAFE_className={classProps.validationText}\n {...(hasValidationIcon && { hasValidationStateIcon: validationState })}\n id={`${id}__validationText`}\n validationText={validationText}\n registerAria={register}\n role={validationTextRole}\n />\n )}\n </div>\n <input\n {...otherProps}\n {...ariaDescribedByProp}\n type=\"checkbox\"\n id={id}\n className={classProps.input}\n disabled={isDisabled}\n checked={checked}\n required={isRequired}\n onChange={handleOnChange}\n ref={ref}\n />\n </div>\n );\n};\n\nconst Toggle = forwardRef<HTMLInputElement, SpiritToggleProps>(_Toggle);\n\nToggle.spiritComponent = 'Toggle';\n\nexport default Toggle;\n","export { default as Toggle } from './Toggle';\nexport * from './useToggleStyleProps';\n","import classNames from 'classnames';\nimport { useClassNamePrefix } from '../../hooks';\nimport { type SpiritToggleProps } from '../../types';\n\nexport interface ToggleStyles<T> {\n classProps: {\n root: string;\n label: string;\n text: string;\n helperText: string;\n input: string;\n validationText: string;\n };\n props: T;\n}\n\nexport function useToggleStyleProps(props: SpiritToggleProps): ToggleStyles<SpiritToggleProps> {\n const {\n isRequired = false,\n isFluid = false,\n isDisabled = false,\n isLabelHidden = false,\n validationState,\n hasIndicators = false,\n ...restProps\n } = props;\n\n const toggleClass = useClassNamePrefix('Toggle');\n const toggleFluidClass = `${toggleClass}--fluid`;\n const toggleDisabledClass = `${toggleClass}--disabled`;\n const toggleTextClass = `${toggleClass}__text`;\n const toggleLabelClass = `${toggleClass}__label`;\n const toggleHiddenLabelClass = `${toggleLabelClass}--hidden`;\n const toggleValidationClass = `${toggleClass}--${validationState}`;\n const toggleRequiredClass = `${toggleLabelClass}--required`;\n const toggleInputClass = `${toggleClass}__input`;\n const toggleInputIndicatorsClass = `${toggleInputClass}--indicators`;\n const toggleHelperTextClass = `${toggleClass}__helperText`;\n const toggleValidationTextClass = `${toggleClass}__validationText`;\n const rootClass = classNames(toggleClass, {\n [toggleFluidClass]: isFluid,\n [toggleDisabledClass]: isDisabled,\n [toggleValidationClass]: validationState,\n });\n const labelClass = classNames(toggleLabelClass, {\n [toggleRequiredClass]: isRequired,\n [toggleHiddenLabelClass]: isLabelHidden,\n });\n const inputClass = classNames(toggleInputClass, {\n [toggleInputIndicatorsClass]: hasIndicators,\n });\n\n return {\n classProps: {\n root: rootClass,\n label: labelClass,\n text: toggleTextClass,\n helperText: toggleHelperTextClass,\n input: inputClass,\n validationText: toggleValidationTextClass,\n },\n props: { ...restProps, validationState, isDisabled, isRequired },\n };\n}\n","'use client';\n\nimport React, { type ElementType, useRef } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritTooltipProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { TooltipProvider } from './TooltipContext';\nimport { useFloating } from './useFloating';\nimport { useTooltipStyleProps } from './useTooltipStyleProps';\n\nconst Tooltip = <T extends ElementType = 'div'>(props: SpiritTooltipProps<T>) => {\n const {\n children,\n elementType: ElementTag = 'div',\n enableFlipping: flipProp = true,\n enableFlippingCrossAxis: flipCrossAxis = true,\n enableShifting: shiftProp = true,\n enableSizing: sizeProp = true,\n flipFallbackAxisSideDirection = 'none',\n flipFallbackPlacements = ['bottom', 'top'],\n id,\n isDismissible = false,\n isFocusableOnHover = false,\n isOpen = false,\n onToggle,\n placement: tooltipPlacement,\n positionStrategy = 'absolute',\n trigger = ['click', 'hover'],\n ...restProps\n } = props;\n\n const { classProps, props: modifiedProps } = useTooltipStyleProps({\n isDismissible,\n isOpen,\n ...restProps,\n });\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n const mergedStyleProps = mergeStyleProps(ElementTag, {\n classProps: classProps.rootClassName,\n styleProps,\n });\n\n // Refs for FloatingUI\n const arrowRef = useRef<HTMLSpanElement>(null);\n const tooltipRef = useRef<HTMLDivElement>(null);\n\n // Get `--tooltip-max-width` and `--tooltip-offset` from CSS variables\n let tooltipMaxWidth;\n let tooltipOffset;\n let tooltipCornerOffset;\n let tooltipArrowWidth;\n const tooltipElement = tooltipRef.current?.querySelector('[data-spirit-element=\"tooltip\"]');\n const tooltipArrowElement = tooltipElement?.querySelector('[data-spirit-element=\"tooltip-arrow\"]');\n\n if (tooltipElement) {\n const tooltipComputedStyle = window.getComputedStyle(tooltipElement);\n const tooltipArrowComputedStyle = tooltipArrowElement && window.getComputedStyle(tooltipArrowElement);\n tooltipMaxWidth = parseInt(tooltipComputedStyle.getPropertyValue('--tooltip-max-width'), 10);\n tooltipOffset = parseInt(tooltipComputedStyle.getPropertyValue('--tooltip-offset'), 10);\n tooltipCornerOffset = tooltipArrowComputedStyle\n ? parseInt(tooltipArrowComputedStyle.getPropertyValue('--tooltip-arrow-corner-offset'), 10)\n : 0;\n tooltipArrowWidth = tooltipArrowComputedStyle ? parseInt(tooltipArrowComputedStyle.width, 10) : 0;\n }\n\n // Get props for the FloatingUI hook\n const { getFloatingProps, getReferenceProps, maxWidth, middlewareData, placement, refs, x, y, position } =\n useFloating({\n arrowRef,\n cornerOffset: tooltipCornerOffset,\n flipCrossAxis,\n flipFallbackAxisSideDirection,\n flipFallbackPlacements,\n flipProp,\n isDismissible,\n isFocusableOnHover,\n isOpen,\n offset: tooltipOffset,\n onToggle,\n shiftProp,\n sizeProp,\n positionStrategy,\n tooltipArrowWidth,\n tooltipMaxWidth,\n tooltipPlacement,\n trigger,\n });\n\n return (\n <TooltipProvider\n value={{\n anchorRef: refs.setPositionReference,\n arrowRef,\n getFloatingProps,\n getReferenceProps,\n id,\n isDismissible,\n isOpen,\n middlewareData,\n onToggle,\n placement,\n sizeMaxWidth: maxWidth,\n tooltipMaxWidth,\n tooltipRef: refs.setFloating,\n triggerRef: refs.setReference,\n x,\n y,\n position,\n }}\n >\n <ElementTag {...otherProps} ref={tooltipRef} {...mergedStyleProps}>\n {children}\n </ElementTag>\n </TooltipProvider>\n );\n};\n\nTooltip.spiritComponent = 'Tooltip';\n\nexport default Tooltip;\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type TooltipCloseButtonProps } from '../../types';\nimport { Icon } from '../Icon';\nimport { VisuallyHidden } from '../VisuallyHidden';\nimport { useTooltipStyleProps } from './useTooltipStyleProps';\n\nconst TooltipCloseButton = ({ label = 'Close', onClick, ...restProps }: TooltipCloseButtonProps) => {\n const { classProps, props: modifiedProps } = useTooltipStyleProps(restProps);\n const { styleProps } = useStyleProps({ ...modifiedProps });\n\n return (\n <button\n type=\"button\"\n className={classNames(classProps.closeButtonClassName, styleProps.className)}\n style={styleProps.style}\n onClick={onClick}\n aria-expanded=\"true\"\n >\n <Icon name=\"close\" aria-hidden=\"true\" />\n <VisuallyHidden>{label}</VisuallyHidden>\n </button>\n );\n};\n\nTooltipCloseButton.spiritComponent = 'TooltipCloseButton';\n\nexport default TooltipCloseButton;\n","'use client';\n\nimport { type MiddlewareData, type Placement, type Strategy } from '@floating-ui/react';\nimport { type HTMLProps, type MutableRefObject, createContext, useContext } from 'react';\n\ntype refType = ((node: HTMLElement | null) => void) & ((node: HTMLElement | null) => void);\n\ntype TooltipContextType = {\n anchorRef: refType;\n arrowRef: MutableRefObject<HTMLElement | null>;\n getFloatingProps: (userProps?: HTMLProps<HTMLElement> | undefined) => Record<string, unknown>;\n getReferenceProps: (userProps?: HTMLProps<Element> | undefined) => Record<string, unknown>;\n id: string;\n isDismissible?: boolean;\n isOpen: boolean;\n middlewareData: MiddlewareData;\n onToggle: (isOpen: boolean) => void;\n placement?: Placement | undefined;\n sizeMaxWidth?: number;\n tooltipMaxWidth?: number;\n tooltipRef: refType;\n triggerRef: refType;\n x: number;\n y: number;\n position?: Strategy;\n};\n\nconst defaultContext: TooltipContextType = {\n anchorRef: () => {},\n arrowRef: { current: null },\n getReferenceProps: () => ({\n id: '',\n ref: () => {},\n }),\n getFloatingProps: () => ({\n id: '',\n ref: () => {},\n }),\n id: '',\n isDismissible: false,\n isOpen: false,\n middlewareData: {},\n onToggle: () => {},\n placement: 'bottom',\n sizeMaxWidth: undefined,\n tooltipMaxWidth: undefined,\n tooltipRef: () => {},\n triggerRef: () => {},\n x: 0,\n y: 0,\n position: 'absolute',\n};\n\nconst TooltipContext = createContext<TooltipContextType>(defaultContext);\nconst TooltipProvider = TooltipContext.Provider;\nconst TooltipConsumer = TooltipContext.Consumer;\nconst useTooltipContext = (): TooltipContextType => useContext(TooltipContext);\n\nexport default TooltipContext;\nexport { TooltipConsumer, TooltipProvider, useTooltipContext };\nexport type { TooltipContextType };\n","'use client';\n\nimport classNames from 'classnames';\nimport React, { useMemo } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type TooltipPopoverProps } from '../../types';\nimport TooltipCloseButton from './TooltipCloseButton';\nimport { useTooltipContext } from './TooltipContext';\nimport { useTooltipStyleProps } from './useTooltipStyleProps';\n\nconst TooltipPopover = (props: TooltipPopoverProps) => {\n const { children, ...rest } = props;\n const {\n arrowRef,\n getFloatingProps,\n isDismissible,\n isOpen,\n middlewareData,\n onToggle,\n placement,\n tooltipRef,\n x,\n y,\n position,\n sizeMaxWidth,\n tooltipMaxWidth,\n } = useTooltipContext();\n const { classProps, props: modifiedProps } = useTooltipStyleProps({\n isOpen,\n isDismissible,\n ...rest,\n });\n const { styleProps: contentStyleProps, props: contentOtherProps } = useStyleProps(modifiedProps);\n\n const renderCloseButton = useMemo(\n () => isDismissible && <TooltipCloseButton onClick={() => onToggle(false)} label=\"close\" />,\n [isDismissible, onToggle],\n );\n\n const getMaxHeightAndWidth = () => {\n if (isOpen && sizeMaxWidth && tooltipMaxWidth) {\n return {\n maxWidth: tooltipMaxWidth < sizeMaxWidth ? tooltipMaxWidth : sizeMaxWidth,\n };\n }\n\n return undefined;\n };\n\n const getArrowStaticSidePosition = () => {\n if (placement && arrowRef.current) {\n const { arrow } = middlewareData;\n const side = placement.split('-')[0];\n\n const staticSide = {\n top: 'bottom',\n right: 'left',\n bottom: 'top',\n left: 'right',\n }[side] as string;\n\n const arrowEl = arrowRef.current as HTMLElement;\n\n const offset =\n staticSide === 'top' || staticSide === 'bottom'\n ? arrowEl.offsetHeight\n : (arrowEl.offsetHeight + arrowEl.offsetWidth) / 2;\n\n return {\n left: arrow?.x,\n top: arrow?.y,\n [staticSide]: offset && -Math.floor(offset), // remove 0.5 pixels values for arrow offset\n };\n }\n\n return undefined;\n };\n\n return (\n <div\n ref={tooltipRef}\n className={classNames(classProps.popoverClassName, contentStyleProps.className)}\n {...contentOtherProps}\n {...getFloatingProps()}\n style={{\n position,\n top: y ?? 0,\n left: x ?? 0,\n ...getMaxHeightAndWidth(),\n ...contentStyleProps.style,\n }}\n data-spirit-element=\"tooltip\" // This is used to select CSS variables for maxWidth and tooltip offset\n data-spirit-placement={placement} // This attribute is used by the CSS to position the arrow\n >\n {children}\n {renderCloseButton}\n <span\n ref={arrowRef}\n className={classProps.arrowClassName}\n data-spirit-element=\"tooltip-arrow\"\n style={{\n position: 'absolute',\n ...getArrowStaticSidePosition(),\n }}\n />\n </div>\n );\n};\n\nTooltipPopover.spiritComponent = 'TooltipPopover';\n\nexport default TooltipPopover;\n","'use client';\n\nimport React from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type TooltipTriggerProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { useTooltipContext } from './TooltipContext';\n\nconst defaultProps: Partial<TooltipTriggerProps> = {\n elementType: 'button',\n children: null,\n};\n\nconst TooltipTrigger = (props: TooltipTriggerProps) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { elementType: ElementTag = 'button', children, ...restProps } = propsWithDefaults;\n const { id, isOpen, triggerRef, getReferenceProps } = useTooltipContext();\n const { styleProps: triggerStyleProps, props: transferProps } = useStyleProps(restProps);\n const mergedStyleProps = mergeStyleProps(ElementTag, { triggerStyleProps, transferProps });\n\n return (\n <ElementTag {...transferProps} {...mergedStyleProps} id={id} ref={triggerRef} {...getReferenceProps()}>\n {typeof children === 'function' ? children({ isOpen }) : children}\n </ElementTag>\n );\n};\n\nTooltipTrigger.spiritComponent = 'TooltipTrigger';\n\nexport default TooltipTrigger;\n","'use client';\n\nimport React from 'react';\nimport { type SpiritTooltipProps } from '../../types';\nimport Tooltip from './Tooltip';\nimport { useTooltip } from './useTooltip';\n\nconst UncontrolledTooltip = (props: Omit<SpiritTooltipProps, 'onToggle'>) => {\n const { children, isOpen: isOpenProp, ...restProps } = props;\n const { isOpen, onToggle } = useTooltip(isOpenProp);\n\n return (\n <Tooltip {...restProps} isOpen={isOpen} onToggle={onToggle}>\n {children}\n </Tooltip>\n );\n};\n\nUncontrolledTooltip.spiritComponent = 'UncontrolledTooltip';\n\nexport default UncontrolledTooltip;\n","export { default as Tooltip } from './Tooltip';\nexport { default as TooltipCloseButton } from './TooltipCloseButton';\nexport { default as TooltipPopover } from './TooltipPopover';\nexport { default as TooltipTrigger } from './TooltipTrigger';\nexport { default as UncontrolledTooltip } from './UncontrolledTooltip';\nexport * from './useTooltip';\nexport * from './useTooltipStyleProps';\n","'use client';\n\nimport {\n type Placement,\n type Strategy,\n arrow,\n autoUpdate,\n flip,\n inline,\n limitShift,\n offset,\n safePolygon,\n shift,\n size,\n useClick,\n useDismiss,\n useFloating as useFloatingUI,\n useFocus,\n useHover,\n useInteractions,\n useRole,\n} from '@floating-ui/react';\nimport { type HTMLProps, type MouseEvent, type MouseEventHandler, type MutableRefObject, useState } from 'react';\nimport { TOOLTIP_TRIGGER, type TooltipTriggerType } from '../../types';\n\ntype UseTooltipUIProps = {\n arrowRef: MutableRefObject<HTMLElement | null>;\n cornerOffset?: number;\n flipCrossAxis: boolean;\n flipFallbackAxisSideDirection: 'none' | 'start' | 'end';\n flipFallbackPlacements?: Placement | Placement[];\n flipProp: boolean;\n isDismissible: boolean;\n isOpen?: boolean;\n offset?: number;\n onToggle: (isOpen: boolean) => void;\n isFocusableOnHover?: boolean;\n shiftProp: boolean;\n sizeProp: boolean;\n positionStrategy?: Strategy;\n tooltipArrowWidth?: number;\n tooltipMaxWidth?: number;\n tooltipPlacement?: Placement;\n trigger?: TooltipTriggerType[];\n};\n\n// Convert a string or array of strings to an array of strings (for placements)\nconst stringToArray = (value: Placement | Placement[]): Placement[] | undefined =>\n Array.isArray(value) ? value : [value];\n\nexport const useFloating = (props: UseTooltipUIProps) => {\n const {\n arrowRef,\n cornerOffset = 0,\n flipCrossAxis,\n flipFallbackAxisSideDirection = 'none',\n flipFallbackPlacements,\n flipProp,\n isDismissible,\n isOpen = false,\n offset: tooltipOffset = 0,\n onToggle,\n isFocusableOnHover,\n shiftProp,\n sizeProp,\n positionStrategy = 'absolute',\n tooltipArrowWidth = 0,\n tooltipPlacement,\n trigger,\n } = props;\n\n const [maxWidth, setMaxWidth] = useState<number | undefined>(undefined);\n const [isClicked, setIsClicked] = useState(false);\n const mainAxisOffset = cornerOffset + tooltipArrowWidth;\n\n const isHoverEnabled = trigger?.includes(TOOLTIP_TRIGGER.HOVER);\n const isClickEnabled = trigger?.includes(TOOLTIP_TRIGGER.CLICK);\n const isFocusEnabled = trigger?.includes(TOOLTIP_TRIGGER.FOCUS);\n\n const useSafePolygons = (isClickable: boolean) =>\n isClickable\n ? safePolygon({\n requireIntent: false,\n })\n : undefined;\n\n // Floating UI library settings\n const { x, y, floatingStyles, refs, context, placement, middlewareData } = useFloatingUI({\n open: isOpen,\n onOpenChange: (open, event, reason) => {\n if (isHoverEnabled) {\n // if tooltip is opened by click, do not close until clicked again or outside press or escape key\n if (reason === TOOLTIP_TRIGGER.CLICK) {\n setIsClicked((prev) => !prev);\n }\n if (isOpen && isClicked && reason === TOOLTIP_TRIGGER.HOVER) {\n return;\n }\n if (\n isOpen &&\n isClicked &&\n (reason === TOOLTIP_TRIGGER.CLICK ||\n reason === TOOLTIP_TRIGGER.OUTSIDE_PRESS ||\n reason === TOOLTIP_TRIGGER.ESCAPE_KEY)\n ) {\n setIsClicked(false);\n onToggle(false);\n\n return;\n }\n }\n\n onToggle(open);\n },\n placement: tooltipPlacement,\n whileElementsMounted: autoUpdate,\n middleware: [\n // order matters for correct behavior, please don't sort by alphabet or change order!\n offset(tooltipOffset), // offset from CSS variable (--tooltip-offset)\n inline(),\n flipProp &&\n flip({\n crossAxis: flipCrossAxis,\n fallbackPlacements: flipFallbackPlacements ? stringToArray(flipFallbackPlacements) : undefined,\n fallbackAxisSideDirection: flipFallbackAxisSideDirection,\n }),\n shiftProp &&\n shift({\n limiter: limitShift({\n offset: () => ({\n mainAxis: mainAxisOffset,\n }),\n }),\n }),\n sizeProp &&\n size({\n apply({ availableWidth }: { availableWidth: number }) {\n setMaxWidth(availableWidth);\n },\n }),\n arrow({ element: arrowRef.current, padding: cornerOffset }), // should be the last middleware\n ],\n strategy: positionStrategy,\n });\n\n // Floating UI library interaction hooks\n const click = useClick(context, { enabled: isClickEnabled });\n const hover = useHover(context, {\n enabled: isHoverEnabled,\n handleClose: useSafePolygons(!!isFocusableOnHover),\n });\n const focus = useFocus(context, { enabled: isFocusEnabled });\n const dismiss = useDismiss(context, { outsidePress: !isDismissible });\n const role = useRole(context, { role: 'tooltip' });\n const { getReferenceProps: originalGetReferenceProps, getFloatingProps } = useInteractions([\n click,\n hover,\n focus,\n dismiss,\n role,\n ]);\n\n // Wrap getReferenceProps to ensure clicking focuses the element when focus trigger is enabled\n // This matches the web JS behavior where clicking a focusable element naturally focuses it\n const getReferenceProps = (userProps?: HTMLProps<Element>) => {\n const referenceProps = originalGetReferenceProps(userProps);\n\n if (isFocusEnabled) {\n const originalOnMouseDown = referenceProps.onMouseDown as ((event: MouseEvent<Element>) => void) | undefined;\n\n referenceProps.onMouseDown = ((event: MouseEvent<Element>) => {\n if (originalOnMouseDown) {\n originalOnMouseDown(event);\n }\n\n const element = event.currentTarget;\n\n if (element && element !== document.activeElement) {\n const isFocusable =\n element instanceof HTMLElement &&\n (element.tabIndex >= 0 ||\n element instanceof HTMLButtonElement ||\n element instanceof HTMLAnchorElement ||\n element instanceof HTMLInputElement ||\n element instanceof HTMLSelectElement ||\n element instanceof HTMLTextAreaElement);\n\n if (isFocusable) {\n (element as HTMLElement).focus();\n }\n }\n }) as MouseEventHandler<Element>;\n }\n\n return referenceProps;\n };\n\n return {\n context,\n getFloatingProps,\n getReferenceProps,\n maxWidth,\n middlewareData,\n placement,\n refs,\n x,\n y,\n position: floatingStyles.position as Strategy,\n };\n};\n","'use client';\n\nimport { useState } from 'react';\n\nexport interface UseTooltipReturn {\n isOpen: boolean;\n onToggle: (isOpen: boolean) => void;\n}\n\nexport const useTooltip = (isOpenProp: boolean = false): UseTooltipReturn => {\n const [isOpen, setOpen] = useState<boolean>(isOpenProp);\n\n return {\n isOpen,\n onToggle: setOpen,\n };\n};\n","'use client';\n\nimport classNames from 'classnames';\nimport { type ElementType, useMemo } from 'react';\nimport { useClassNamePrefix } from '../../hooks';\nimport { type TooltipProps } from '../../types';\n\ntype omittedProps = 'id' | 'onToggle';\n\nexport interface UseTooltipStyleProps<E extends ElementType = 'div'> extends TooltipProps<E> {}\n\nexport interface UseTooltipStylePropsReturn<E extends ElementType = 'div'> {\n classProps: {\n rootClassName: string;\n popoverClassName: string;\n arrowClassName: string;\n closeButtonClassName: string;\n };\n props: Omit<TooltipProps<E>, omittedProps>;\n}\n\nexport const useTooltipStyleProps = <E extends ElementType = 'div'>(\n props: Omit<UseTooltipStyleProps<E>, omittedProps>,\n): UseTooltipStylePropsReturn<E> => {\n const { isDismissible, isOpen, ...modifiedProps } = props;\n const tooltipClass = useClassNamePrefix('Tooltip');\n const tooltipPopoverClass = `${tooltipClass}Popover`;\n const arrowClass = `${tooltipPopoverClass}__arrow`;\n const closeButtonClass = `${tooltipPopoverClass}__close`;\n const rootDismissibleClass = `${tooltipPopoverClass}--dismissible`;\n const rootHiddenClass = 'is-hidden';\n\n const isHiddenClass = useMemo(() => isOpen === false, [isOpen]);\n\n const tooltipPopoverClassName = classNames(tooltipPopoverClass, {\n [rootDismissibleClass]: isDismissible,\n [rootHiddenClass]: isHiddenClass,\n });\n\n return {\n classProps: {\n rootClassName: tooltipClass,\n popoverClassName: tooltipPopoverClassName,\n arrowClassName: arrowClass,\n closeButtonClassName: closeButtonClass,\n },\n props: modifiedProps,\n };\n};\n","'use client';\n\nimport React, { type ElementType } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritTruncateProps, TruncateModes } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { useTruncatedText } from './useTruncatedText';\nimport { useTruncateStyleProps } from './useTruncateStyleProps';\n\nconst defaultProps = {\n elementType: 'span',\n};\n\nconst Truncate = <T extends ElementType = 'span'>(props: SpiritTruncateProps<T>): JSX.Element => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { children, elementType: ElementTag = 'span', ...restProps } = propsWithDefaults;\n const {\n classProps,\n props: modifiedProps,\n styleProps: truncateStyle,\n effectiveMode,\n effectiveLimit,\n } = useTruncateStyleProps(restProps);\n const truncatedText = useTruncatedText(\n children,\n effectiveMode,\n effectiveMode !== TruncateModes.LINES ? effectiveLimit : undefined,\n );\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n const truncateStyleProps = {\n style: {\n ...styleProps.style,\n ...truncateStyle,\n },\n };\n const mergedStyleProps = mergeStyleProps(ElementTag, { classProps, styleProps, truncateStyleProps });\n\n return (\n <ElementTag {...otherProps} {...mergedStyleProps}>\n {truncatedText}\n </ElementTag>\n );\n};\n\nTruncate.spiritComponent = 'Truncate';\n\nexport default Truncate;\n","export { default as Truncate } from './Truncate';\nexport * from './useTruncatedText';\nexport * from './useTruncateStyleProps';\n","import { type CSSProperties, type ElementType } from 'react';\nimport { useClassNamePrefix } from '../../hooks';\nimport { type SpiritTruncateProps, type TruncateMode, TruncateModes } from '../../types';\n\ninterface TruncateCSSProperties extends CSSProperties {\n '--text-truncate-lines'?: number;\n}\n\nexport interface TruncateStyles<T extends ElementType> {\n classProps: string;\n props: SpiritTruncateProps<T>;\n styleProps: TruncateCSSProperties;\n effectiveMode: TruncateMode;\n effectiveLimit?: number;\n}\n\nexport const useTruncateStyleProps = <T extends ElementType>(props: SpiritTruncateProps<T>): TruncateStyles<T> => {\n const { limit, mode = TruncateModes.LINES, ...restProps } = props;\n\n const truncateClassName = useClassNamePrefix(mode === TruncateModes.LINES ? 'text-truncate-multiline' : '');\n const classProps = truncateClassName;\n\n const truncateStyle: TruncateCSSProperties = {};\n\n if (mode === TruncateModes.LINES && limit !== undefined) {\n truncateStyle['--text-truncate-lines'] = limit;\n }\n\n return {\n classProps,\n props: restProps,\n styleProps: truncateStyle,\n effectiveMode: mode,\n effectiveLimit: limit,\n };\n};\n","'use client';\n\nimport { type ReactNode, useMemo } from 'react';\nimport { type TruncateMode, TruncateModes } from '../../types';\n\nconst ELLIPSIS = '…';\n\nexport const truncateByWords = (content: string, limit: number): string => {\n const words = content.trim().split(/\\s+/);\n if (words.length <= limit) {\n return content;\n }\n\n return `${words.slice(0, limit).join(' ')}${ELLIPSIS}`;\n};\n\nexport const truncateByCharacters = (content: string, limit: number): string => {\n if (content.length <= limit) {\n return content;\n }\n\n return `${content.slice(0, limit)}${ELLIPSIS}`;\n};\n\nexport const truncateByLines = (content: string): string => content;\n\nexport const useTruncatedText = (content: ReactNode, mode: TruncateMode, limit?: number): ReactNode =>\n useMemo(() => {\n if (typeof content !== 'string') {\n return content;\n }\n\n if (!limit || limit <= 0) {\n return content;\n }\n\n switch (mode) {\n case TruncateModes.WORDS:\n return truncateByWords(content, limit);\n case TruncateModes.CHARACTERS:\n return truncateByCharacters(content, limit);\n case TruncateModes.LINES:\n default:\n return truncateByLines(content);\n }\n }, [content, mode, limit]);\n","'use client';\n\nimport classNames from 'classnames';\nimport React, { type ReactElement } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritHeaderProps } from '../../types';\nimport { useUnstableHeaderStyleProps } from './useUnstableHeaderStyleProps';\n\nconst UNSTABLE_Header = (props: SpiritHeaderProps): ReactElement => {\n const { children, ...restProps } = props;\n\n const { classProps, props: modifiedProps } = useUnstableHeaderStyleProps(restProps);\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n\n return (\n <header {...otherProps} className={classNames(classProps.root, styleProps.className)} style={styleProps.style}>\n {children}\n </header>\n );\n};\n\nUNSTABLE_Header.spiritComponent = 'UNSTABLE_Header';\n\nexport default UNSTABLE_Header;\n","'use client';\n\nimport React, { type ElementType, type ReactElement, forwardRef } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type PolymorphicRef, type SpiritHeaderLogoProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { useUnstableHeaderStyleProps } from './useUnstableHeaderStyleProps';\n\nconst defaultProps: Partial<SpiritHeaderLogoProps> = {\n elementType: 'a',\n};\n\n/* We need an exception for components exported with forwardRef */\n/* eslint no-underscore-dangle: ['error', { allow: ['_HeaderLogo'] }] */\nconst _HeaderLogo = <E extends ElementType = 'a'>(\n props: SpiritHeaderLogoProps<E>,\n ref: PolymorphicRef<E>,\n): ReactElement => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const {\n elementType: ElementTag = defaultProps.elementType as ElementType,\n children,\n ...restProps\n } = propsWithDefaults;\n const { classProps, props: modifiedProps } = useUnstableHeaderStyleProps(restProps);\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n const mergedStyleProps = mergeStyleProps(ElementTag, { classProps: classProps.logo, styleProps, otherProps });\n\n return (\n <ElementTag {...otherProps} {...mergedStyleProps} href={restProps.href} ref={ref}>\n {children}\n </ElementTag>\n );\n};\n\nconst UNSTABLE_HeaderLogo = forwardRef<HTMLAnchorElement, SpiritHeaderLogoProps<ElementType>>(_HeaderLogo);\n\nUNSTABLE_HeaderLogo.spiritComponent = 'UNSTABLE_HeaderLogo';\n\nexport default UNSTABLE_HeaderLogo;\n","export { default as UNSTABLE_Header } from './UNSTABLE_Header';\nexport { default as UNSTABLE_HeaderLogo } from './UNSTABLE_HeaderLogo';\nexport * as useUnstableHeaderStyleProps from './useUnstableHeaderStyleProps';\n","import classNames from 'classnames';\nimport { useClassNamePrefix } from '../../hooks';\nimport { type SpiritHeaderProps } from '../../types';\n\nexport interface HeaderStyles<T> {\n classProps: {\n root: string;\n logo: string;\n };\n props: T;\n}\n\nexport const useUnstableHeaderStyleProps = (props: SpiritHeaderProps): HeaderStyles<SpiritHeaderProps> => {\n const { hasBottomDivider = false, ...restProps } = props;\n\n const headerClass = useClassNamePrefix('UNSTABLE_Header');\n const headerLogoClass = `${headerClass}Logo`;\n const headerHasBottomDividerClass = `${headerClass}--bottomDivider`;\n\n const rootClass = classNames(headerClass, {\n [headerHasBottomDividerClass]: hasBottomDivider,\n });\n\n return {\n classProps: {\n root: rootClass,\n logo: headerLogoClass,\n },\n props: restProps,\n };\n};\n","'use client';\n\nimport React, { type ElementType } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritVisuallyHiddenProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { useVisuallyHiddenProps } from './useVisuallyHiddenProps';\n\nconst VisuallyHidden = <T extends ElementType = 'span'>(props: SpiritVisuallyHiddenProps<T>): JSX.Element => {\n const { children, elementType: ElementTag = 'span', ...rest } = props;\n const { classProps, props: modifiedProps } = useVisuallyHiddenProps(rest);\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n const mergedStyleProps = mergeStyleProps(ElementTag, { classProps, styleProps, otherProps });\n\n return (\n <ElementTag {...otherProps} {...mergedStyleProps}>\n {children}\n </ElementTag>\n );\n};\n\nVisuallyHidden.spiritComponent = 'VisuallyHidden';\n\nexport default VisuallyHidden;\n","export { default as VisuallyHidden } from './VisuallyHidden';\n","import { type ElementType } from 'react';\nimport { useClassNamePrefix } from '../../hooks';\nimport { type SpiritVisuallyHiddenProps, type VisuallyHiddenProps } from '../../types';\n\nexport interface VisuallyHiddenStyles<T extends ElementType = 'span'> {\n /** className props */\n classProps: string | null;\n /** props to be passed to the element */\n props: VisuallyHiddenProps<T>;\n}\n\nexport function useVisuallyHiddenProps<T extends ElementType = 'span'>(\n props: SpiritVisuallyHiddenProps<T>,\n): VisuallyHiddenStyles<T> {\n const { ...restProps } = props;\n\n const visuallyHiddenClass = useClassNamePrefix('accessibility-hidden');\n\n return {\n classProps: visuallyHiddenClass,\n props: restProps,\n };\n}\n","export * from './Accordion';\nexport * from './ActionGroup';\nexport * from './Alert';\nexport * from './Avatar';\nexport * from './Box';\nexport * from './Breadcrumbs';\nexport * from './Button';\nexport * from './Card';\nexport * from './Checkbox';\nexport * from './Collapse';\nexport * from './Container';\nexport * from './ControlButton';\nexport * from './Dialog';\nexport * from './Divider';\nexport * from './Drawer';\nexport * from './Dropdown';\nexport * from './EmptyState';\nexport * from './Field';\nexport * from './FieldGroup';\nexport * from './FileUploader';\nexport * from './Flex';\nexport * from './Footer';\nexport * from './Grid';\nexport * from './Header';\nexport * from './Heading';\nexport * from './Icon';\nexport * from './IconBox';\nexport * from './Item';\nexport * from './Link';\nexport * from './Matrix';\nexport * from './Modal';\nexport * from './Navigation';\nexport * from './NoSsr';\nexport * from './Pagination';\nexport * from './PartnerLogo';\nexport * from './Pill';\nexport * from './PricingPlan';\nexport * from './ProductLogo';\nexport * from './Radio';\nexport * from './ScrollView';\nexport * from './Section';\nexport * from './SegmentedControl';\nexport * from './Select';\nexport * from './Skeleton';\nexport * from './SkipLink';\nexport * from './Slider';\nexport * from './Spinner';\nexport * from './SplitButton';\nexport * from './Stack';\nexport * from './Tabs';\nexport * from './Tag';\nexport * from './Text';\nexport * from './TextArea';\nexport * from './TextField';\nexport * from './TextFieldBase';\nexport * from './Timeline';\nexport * from './Toast';\nexport * from './Toggle';\nexport * from './Tooltip';\nexport * from './Truncate';\nexport * from './UNSTABLE_Header';\nexport * from './VisuallyHidden';\n","export const CLASS_NAME_OPEN = 'is-open';\n","export const ColorPrefixes = {\n ACCENT: 'accent',\n EMOTION: 'emotion',\n} as const;\n","import { componentColors, containers, emotionColors, textColors } from '@alma-oss/spirit-design-tokens';\n\nfunction createUppercaseKeyDictionary<T extends Record<string, unknown>>(obj: T) {\n return Object.fromEntries(Object.keys(obj).map((key) => [key.toUpperCase(), key])) as {\n [K in keyof T as Uppercase<string & K>]: K;\n };\n}\n\n/* Alignment */\nexport const AlignmentX = {\n LEFT: 'left',\n CENTER: 'center',\n RIGHT: 'right',\n} as const;\n\nexport const AlignmentXExtended = {\n SPACE_BETWEEN: 'space-between',\n STRETCH: 'stretch',\n ...AlignmentX,\n} as const;\n\nexport const AlignmentY = {\n TOP: 'top',\n CENTER: 'center',\n BOTTOM: 'bottom',\n} as const;\n\nexport const AlignmentYExtended = {\n BASELINE: 'baseline',\n STRETCH: 'stretch',\n ...AlignmentY,\n} as const;\n\nexport const TextAlignments = {\n LEFT: 'left',\n CENTER: 'center',\n RIGHT: 'right',\n} as const;\n\n/* Border Properties */\nexport const BorderColors = {\n BASIC: 'basic',\n} as const;\n\nexport const BorderRadii = {\n 0: '0',\n 100: '100',\n 200: '200',\n 300: '300',\n 400: '400',\n 500: '500',\n FULL: 'full',\n} as const;\n\nexport const BorderStyles = {\n SOLID: 'solid',\n DOTTED: 'dotted',\n DASHED: 'dashed',\n} as const;\n\nexport const BorderWidths = {\n 0: '0',\n 100: '100',\n 200: '200',\n} as const;\n\n/* Color */\nexport const BackgroundColors = {\n PRIMARY: 'primary',\n SECONDARY: 'secondary',\n TERTIARY: 'tertiary',\n} as const;\n\nexport const ComponentButtonColors = createUppercaseKeyDictionary(componentColors.button);\n\nexport const EmotionColors = createUppercaseKeyDictionary(emotionColors);\n\nexport const LinkColors = {\n PRIMARY: 'primary',\n SECONDARY: 'secondary',\n TERTIARY: 'tertiary',\n} as const;\n\nexport const TextColors = createUppercaseKeyDictionary(textColors);\n\n/* Intensity */\nexport const Intensity = {\n BASIC: 'basic',\n SUBTLE: 'subtle',\n} as const;\n\n/* Emphasis */\nexport const Emphasis = {\n REGULAR: 'regular',\n SEMIBOLD: 'semibold',\n BOLD: 'bold',\n ITALIC: 'italic',\n} as const;\n\n/* Gradient */\nexport const BackgroundGradients = {\n PRIMARY: 'primary',\n SECONDARY: 'secondary',\n} as const;\n\n/* Placement */\nexport const Placements = {\n TOP: 'top',\n TOP_START: 'top-start',\n TOP_END: 'top-end',\n BOTTOM: 'bottom',\n BOTTOM_START: 'bottom-start',\n BOTTOM_END: 'bottom-end',\n LEFT: 'left',\n LEFT_START: 'left-start',\n LEFT_END: 'left-end',\n RIGHT: 'right',\n RIGHT_START: 'right-start',\n RIGHT_END: 'right-end',\n} as const;\n\n/* Size */\nexport const Sizes = {\n SMALL: 'small',\n MEDIUM: 'medium',\n LARGE: 'large',\n} as const;\n\nexport const SizesExtended = {\n XSMALL: 'xsmall',\n ...Sizes,\n XLARGE: 'xlarge',\n} as const;\n\n// Exclude unwanted tokens so we can iterate over Container sizes.\n// Max-width and padding will be moved out of this map in the future.\n// @see https://jira.almacareer.tech/browse/DS-2142\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nconst { MAXWIDTH, PADDING, ...ContainerTokenSizes } = createUppercaseKeyDictionary(containers);\nexport { ContainerTokenSizes };\n\n/* Validation */\nexport const ValidationStates = {\n SUCCESS: 'success',\n WARNING: 'warning',\n DANGER: 'danger',\n} as const;\n\n/* Variant */\nexport const FillVariants = {\n FILL: 'fill',\n OUTLINE: 'outline',\n} as const;\n\nexport const ShapeVariants = {\n BOX: 'box',\n PILL: 'pill',\n} as const;\n","import { type DirectionDictionaryType } from '../types';\n\nexport const Direction = {\n HORIZONTAL: 'horizontal',\n VERTICAL: 'vertical',\n} as const;\n\nexport const DirectionExtended = {\n ...Direction,\n HORIZONTAL_REVERSED: 'horizontal-reversed',\n} as const;\n\nexport enum DirectionAxis {\n X = 'x',\n Y = 'y',\n}\n\nexport const isDirectionHorizontal = (direction: DirectionDictionaryType): boolean =>\n direction === Direction.HORIZONTAL;\n","export * from './classes';\nexport * from './colors';\nexport * from './dictionaries';\nexport * from './direction';\nexport * from './media';\nexport * from './position';\nexport * from './style';\nexport * from './text';\n","export const ObjectFit = {\n CONTAIN: 'contain',\n COVER: 'cover',\n} as const;\n","export const Position = {\n LEFT: 'left',\n RIGHT: 'right',\n TOP: 'top',\n BOTTOM: 'bottom',\n} as const;\n","export const BackgroundStyleProps = {\n backgroundGradient: 'bg-gradient',\n} as const;\n\nexport const BorderRadiusStyleProps = {\n borderRadius: 'rounded',\n} as const;\n\nexport const SpacingStyleProp = {\n margin: 'm',\n marginTop: 'mt',\n marginRight: 'mr',\n marginBottom: 'mb',\n marginLeft: 'ml',\n marginX: 'mx',\n marginY: 'my',\n} as const;\n\nexport const PaddingStyleProps = {\n padding: 'p',\n paddingBottom: 'pb',\n paddingLeft: 'pl',\n paddingRight: 'pr',\n paddingTop: 'pt',\n paddingX: 'px',\n paddingY: 'py',\n} as const;\n\nexport const TextStyleProps = {\n isTextBalanced: 'text-wrap-pretty',\n textAlignment: 'text',\n textHyphens: 'text-hyphens',\n textWordBreak: 'text-word-break',\n} as const;\n\nexport const HeadingStyleProps = {\n isTextBalanced: 'text-wrap-balance',\n};\n\nexport const DisplayStyleProps = {\n hideOn: 'd',\n hideFrom: 'd',\n} as const;\n\nexport const ThemeStyleProps = {\n theme: '',\n} as const;\n","export const TextHyphens = {\n NONE: 'none',\n AUTO: 'auto',\n MANUAL: 'manual',\n} as const;\n\nexport const TextWordBreaks = {\n NORMAL: 'normal',\n ANYWHERE: 'anywhere',\n LONG_WORDS: 'long-words',\n} as const;\n","'use client';\n\nimport { createContext } from 'react';\n\ntype ClassNamePrefixContextType = string | null | undefined;\n\nconst defaultContext: ClassNamePrefixContextType = undefined;\n\nconst ClassNamePrefixContext = createContext<ClassNamePrefixContextType>(defaultContext);\nconst ClassNamePrefixProvider = ClassNamePrefixContext.Provider;\nconst ClassNamePrefixConsumer = ClassNamePrefixContext.Consumer;\n\nexport default ClassNamePrefixContext;\nexport { ClassNamePrefixConsumer, ClassNamePrefixProvider };\nexport type { ClassNamePrefixContextType };\n","'use client';\n\nimport { createContext } from 'react';\n\ntype IconsContextType = Record<string, string> | null | undefined;\n\nconst defaultContext: IconsContextType = undefined;\n\nconst IconsContext = createContext<IconsContextType>(defaultContext);\nconst IconsProvider = IconsContext.Provider;\nconst IconsConsumer = IconsContext.Consumer;\n\nexport default IconsContext;\nexport { IconsConsumer, IconsProvider };\nexport type { IconsContextType };\n","'use client';\n\nimport { createContext, useContext } from 'react';\n\ntype PropsContextType = Record<string, unknown> | null;\n\nconst PropsContext = createContext<PropsContextType>(null);\n\nconst PropsProvider = PropsContext.Provider;\nconst PropsConsumer = PropsContext.Consumer;\n\n/**\n * Merges the props from the context with the provided props.\n * If the context is available, its values will override the corresponding props.\n *\n * @template T - The type of the props object\n * @param {T} props - Props to merge with the context\n * @returns {T} The merged props with context values taking precedence\n */\nconst usePropsContext = <T extends PropsContextType>(props: T = {} as T): T => {\n const context = useContext(PropsContext);\n\n return context ? { ...props, ...context } : props;\n};\n\nexport default PropsContext;\nexport { PropsConsumer, PropsProvider, usePropsContext };\n","export * from './ClassNamePrefixContext';\nexport * from './IconsContext';\nexport * from './PropsContext';\n","export * from './styleProps';\nexport * from './useAlignmentClass';\nexport * from './useAriaDescribedBy';\nexport * from './useCancelEvent';\nexport * from './useClassNamePrefix';\nexport * from './useClick';\nexport * from './useClickOutside';\nexport * from './useDeprecationMessage';\nexport * from './useDimensionStyle';\nexport * from './useDirectionClass';\nexport * from './useDragAndDrop';\nexport * from './useIcon';\nexport * from './useIconName';\nexport * from './useIsomorphicLayoutEffect';\nexport * from './useLastActiveFocus';\nexport * from './useResizeObserver';\nexport * from './useScrollControl';\nexport * from './useSpacingStyle';\nexport * from './useToggle';\nexport * from './useWrapClass';\n","'use client';\n\nimport classNames from 'classnames';\nimport { type CSSProperties, type HTMLAttributes, useContext } from 'react';\nimport { warning } from '../common/utilities';\nimport { ThemeStyleProps } from '../constants';\nimport ClassNamePrefixContext from '../context/ClassNamePrefixContext';\nimport { type StyleProps } from '../types';\nimport { useStyleUtilities } from './useStyleUtilities';\n\nexport type StylePropsResult = {\n styleProps: HTMLAttributes<HTMLElement>;\n props: HTMLAttributes<HTMLElement>;\n};\n\nexport function useStyleProps<T extends StyleProps>(\n props: T,\n additionalUtilities?: Record<string, string>,\n): StylePropsResult {\n const classNamePrefix = useContext(ClassNamePrefixContext);\n const { UNSAFE_className, UNSAFE_style, ...otherProps } = props;\n const styleUtilitiesConfig: Record<string, string> = {\n theme: ThemeStyleProps.theme,\n ...(additionalUtilities ?? {}),\n };\n const { styleUtilities, props: modifiedProps } = useStyleUtilities(otherProps, classNamePrefix, styleUtilitiesConfig);\n\n const style: CSSProperties = { ...UNSAFE_style };\n\n // Want to check if className prop exists, but not to define it in StyleProps type\n // @ts-expect-error Property 'className' does not exist on type 'Omit<T, \"UNSAFE_className\" | \"UNSAFE_style\">'.\n if (modifiedProps.className) {\n warning(\n false,\n 'The className prop is unsafe and is unsupported in Spirit Web React. ' +\n 'Please use style props with Spirit Design Tokens, or UNSAFE_className if you absolutely must do something custom. ' +\n 'Note that this may break in future versions due to DOM structure changes.',\n );\n\n // @ts-expect-error same as above, let me live my life\n delete modifiedProps.className;\n }\n\n // Want to check if style prop exists, but not to define it in StyleProps type\n // @ts-expect-error Property 'style' does not exist on type 'Omit<T, \"UNSAFE_className\" | \"UNSAFE_style\">'.\n if (modifiedProps.style) {\n warning(\n false,\n 'The style prop is unsafe and is unsupported in Spirit Web React. ' +\n 'Please use style props with Spirit Design Tokens, or UNSAFE_style if you absolutely must do something custom. ' +\n 'Note that this may break in future versions due to DOM structure changes.',\n );\n\n // @ts-expect-error same as above, let me live my life\n delete modifiedProps.style;\n }\n\n const styleProps = {\n style: Object.keys(style).length > 0 ? style : undefined,\n className: classNames(UNSAFE_className, ...styleUtilities) || undefined,\n };\n\n return {\n styleProps,\n props: modifiedProps as HTMLAttributes<HTMLElement>,\n };\n}\n","import { type FlexAlignmentXType, type FlexAlignmentYType } from '../types';\nimport { generateStylePropsClassNames } from '../utils';\n\nexport type AlignmentPropertyType = FlexAlignmentXType | FlexAlignmentYType;\n\nconst DEFAULT_MOBILE_ALIGNMENT = 'stretch';\n\nexport function useAlignmentClass(componentClass: string, property: AlignmentPropertyType, type?: string) {\n const responsiveProperty =\n property && typeof property === 'object' ? { mobile: DEFAULT_MOBILE_ALIGNMENT, ...property } : property;\n\n return generateStylePropsClassNames(componentClass, responsiveProperty as AlignmentPropertyType, type);\n}\n","'use client';\n\nimport { useMemo } from 'react';\n\nexport const useAriaDescribedBy = (ids: string[]) =>\n useMemo(() => (ids.length ? { 'aria-describedby': ids.join(' ') } : {}), [ids]);\n","'use client';\n\nimport { type MutableRefObject, useCallback } from 'react';\nimport { useIsomorphicLayoutEffect } from './useIsomorphicLayoutEffect';\n\n// TODO: Remove `isOpen` and listeners with `handleKeyDown` when Chrome fixes the bug,\n// right now Chrome is bugged and sends un-cancelable events, so closing modal based on\n// `cancel` event is not possible in Chrome.\n// Firefox and Safari are working fine.\n// @see: https://issues.chromium.org/issues/351867704\n\nconst EVENT_CANCEL = 'cancel';\nconst EVENT_KEYDOWN = 'keydown';\nconst EVENT_KEY = 'Escape';\n\nexport const useCancelEvent = (\n ref: MutableRefObject<HTMLElement | null>,\n callback: (event: Event) => void,\n closeOnEscapeKeyDown: boolean = true,\n isOpen: boolean = false,\n) => {\n const handleCancel = useCallback(\n (event: Event) => {\n // Do nothing if there is no reference or no callback\n if (!ref || !callback) {\n return;\n }\n\n // Do nothing if the event was already processed.\n if (event.defaultPrevented) {\n return;\n }\n\n event.preventDefault();\n\n if (callback && closeOnEscapeKeyDown) {\n callback(event);\n }\n },\n [ref, callback, closeOnEscapeKeyDown],\n );\n\n const handleKeyDown = useCallback(\n (event: KeyboardEvent) => {\n if (event.key === EVENT_KEY && !closeOnEscapeKeyDown && isOpen) {\n event.preventDefault();\n }\n },\n [closeOnEscapeKeyDown, isOpen],\n );\n\n useIsomorphicLayoutEffect(() => {\n const node = ref?.current;\n\n if (node) {\n node.addEventListener(EVENT_CANCEL, handleCancel);\n document.addEventListener(EVENT_KEYDOWN, handleKeyDown);\n\n return () => {\n node.removeEventListener(EVENT_CANCEL, handleCancel);\n document.removeEventListener(EVENT_KEYDOWN, handleKeyDown);\n };\n }\n\n return () => undefined;\n }, [ref, handleCancel]);\n\n return handleCancel;\n};\n","'use client';\n\nimport { useContext } from 'react';\nimport ClassNamePrefixContext from '../context/ClassNamePrefixContext';\nimport { applyClassNamePrefix } from '../utils/classname';\n\nexport const useClassNamePrefix = (className: string): string => {\n const classNamePrefix = useContext(ClassNamePrefixContext);\n let prefixedClassName = className;\n\n if (className && classNamePrefix) {\n prefixedClassName = applyClassNamePrefix(classNamePrefix)(className);\n } else if (classNamePrefix) {\n prefixedClassName = classNamePrefix;\n }\n\n return prefixedClassName;\n};\n","'use client';\n\nimport { useCallback } from 'react';\nimport { type ClickEvent } from '../types';\n\nexport const useClick = (isDisabled?: boolean, onClick?: (event: ClickEvent) => void) =>\n useCallback(\n (event: ClickEvent) => {\n if (isDisabled) {\n event.preventDefault();\n\n return;\n }\n\n if (onClick) {\n onClick(event);\n }\n },\n [isDisabled, onClick],\n );\n","'use client';\n\nimport { type MutableRefObject, useCallback, useRef } from 'react';\nimport { useIsomorphicLayoutEffect } from './useIsomorphicLayoutEffect';\n\nexport interface UseClickOutsideProps {\n ref: MutableRefObject<HTMLElement | null>;\n callback?: (event: Event) => void;\n}\n\nexport const useClickOutside = ({ ref, callback }: UseClickOutsideProps): void => {\n const stateRef = useRef<{\n mouseDownTarget: EventTarget | null;\n }>({\n mouseDownTarget: null,\n });\n\n const clickHandler = useCallback(\n (event: Event) => {\n const state = stateRef.current;\n // Do nothing (do not close the Dialog) if\n if (\n // there is no reference\n !ref ||\n // or no callback\n !callback ||\n // or the event was already processed\n event.defaultPrevented ||\n // or the click (mouse down) started inside the Dialog\n (ref.current && ref.current.contains(state.mouseDownTarget as Node))\n ) {\n return;\n }\n\n // we can call callback only when\n if (\n // reference to current element exists\n ref.current &&\n // and the user not clicked into the container,\n // e. g. the user clicked outside of the Dialog (click on backdrop)\n !ref.current.contains(event?.target as Node) &&\n // and callback should exits, of course\n callback\n ) {\n callback(event);\n }\n },\n [ref, callback],\n );\n\n const onMouseDown = (event: Event) => {\n stateRef.current.mouseDownTarget = event.target;\n };\n\n useIsomorphicLayoutEffect(() => {\n document.addEventListener('mousedown', onMouseDown, { capture: true });\n document.addEventListener('click', clickHandler, { capture: true });\n\n return () => {\n document.removeEventListener('mousedown', onMouseDown, { capture: true });\n document.removeEventListener('click', clickHandler, { capture: true });\n };\n }, [clickHandler]);\n};\n","'use client';\n\nimport { useEffect } from 'react';\nimport { warning } from '../common/utilities';\n\nexport interface UseDeprecationMessageProps {\n method?: 'component' | 'property' | 'custom';\n trigger: boolean;\n componentName: string;\n componentProps?: {\n newName?: string;\n delete?: boolean;\n };\n propertyProps?: {\n // Use for property name\n deprecatedName?: string;\n newName?: string;\n delete?: boolean;\n // Use for property value\n deprecatedValue?: string;\n newValue?: string;\n propertyName?: string;\n };\n customText?: string;\n}\n\nexport const useDeprecationMessage = ({\n method = 'component',\n trigger,\n componentName,\n componentProps,\n propertyProps,\n customText,\n}: UseDeprecationMessageProps) => {\n let message: string | undefined;\n let hasProps: boolean;\n const messageBase = `Deprecation warning (${componentName}):`;\n\n useEffect(() => {\n const isExecutable = trigger && componentName && process.env.NODE_ENV === 'development';\n\n switch (method) {\n case 'property':\n if (propertyProps?.delete) {\n message = `${messageBase} \"${propertyProps?.deprecatedName}\" property will be deleted in the next major version.`;\n } else if (propertyProps?.deprecatedValue && propertyProps?.newValue && propertyProps?.propertyName) {\n message = `${messageBase} The \"${propertyProps?.deprecatedValue}\" value for \"${propertyProps?.propertyName}\" property will be renamed to \"${propertyProps?.newValue}\" in the next major version.`;\n } else {\n message = `${messageBase} \"${propertyProps?.deprecatedName}\" property will be replaced in the next major version. Please use \"${propertyProps?.newName}\" instead. ♻️️`;\n }\n hasProps = !!propertyProps;\n break;\n\n case 'custom':\n message = `${messageBase} ${customText}`;\n hasProps = true;\n break;\n\n case 'component':\n default:\n if (componentProps?.delete) {\n message = `${messageBase} The component and its subcomponents will be deleted in the next major version.`;\n } else {\n message = `${messageBase} The component and its subcomponents will be renamed to \"${componentProps?.newName}\" in the next major version.`;\n }\n hasProps = !!componentProps;\n break;\n }\n\n if (message && isExecutable && hasProps) {\n warning(false, message);\n }\n\n /* We want to call this hook only once */\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n};\n","import { type CSSProperties } from 'react';\nimport { type DimensionType, type SpacingCSSProperties } from '../types';\n\nexport interface DimensionCSSProperties extends SpacingCSSProperties {}\n\n/**\n * Generates CSS style properties for a given dimension (e.g., columns, rows) based on breakpoints or a single value.\n *\n * @param property - The dimension property, which can be an object with breakpoints or a single number.\n * @param prefix - The CSS variable prefix to use for the generated styles.\n * @returns `CSSProperties` object containing the generated styles.\n */\nexport const useDimensionStyle = (property: DimensionType | undefined, prefix: string): CSSProperties => {\n const style: DimensionCSSProperties = {};\n const cssPrefix: string = `--${prefix}`;\n\n if (typeof property === 'object' && property !== null) {\n Object.keys(property).forEach((key) => {\n const breakpointSuffix = key === 'mobile' ? '' : `-${key}`;\n const value = (property as Record<string, string | undefined>)[key];\n (style as Record<string, string | undefined>)[`${cssPrefix}${breakpointSuffix}`] = `${value?.toString()}`;\n });\n } else if (property) {\n (style as Record<string, string | undefined>)[`${cssPrefix}`] = `${property?.toString()}`;\n }\n\n return style;\n};\n","import { type FlexDirectionType } from '../types';\nimport { generateStylePropsClassNames } from '../utils';\n\nexport function useDirectionClass(componentClass: string, property: FlexDirectionType) {\n return generateStylePropsClassNames(componentClass, property);\n}\n","'use client';\n\nimport { type DragEvent, useState } from 'react';\nimport { type DragAndDropHandlingProps } from '../types';\n\nexport interface UseDragAndDropProps<E = HTMLElement> extends Partial<DragAndDropHandlingProps<E>> {}\n\nexport interface UseDragAndDropReturn<E = HTMLElement> extends DragAndDropHandlingProps<E> {\n isDragging: boolean;\n}\n\nexport const useDragAndDrop = <E = HTMLElement>(props?: UseDragAndDropProps<E>): UseDragAndDropReturn<E> => {\n const [isDragging, setDragging] = useState(false);\n\n const onDragOverHandler = (event: DragEvent<E>) => {\n event.preventDefault();\n if (props?.onDragOver) {\n props.onDragOver(event);\n }\n };\n\n const onDragEnterHandler = (event: DragEvent<E>) => {\n setDragging(true);\n if (props?.onDragEnter) {\n props.onDragEnter(event);\n }\n };\n\n const onDragLeaveHandler = (event: DragEvent<E>) => {\n setDragging(false);\n if (props?.onDragLeave) {\n props.onDragLeave(event);\n }\n };\n\n const onDropHandler = (event: DragEvent<E>) => {\n event.preventDefault();\n if (props?.onDrop) {\n props.onDrop(event);\n }\n setDragging(false);\n };\n\n return {\n isDragging,\n onDragOver: onDragOverHandler,\n onDragEnter: onDragEnterHandler,\n onDragLeave: onDragLeaveHandler,\n onDrop: onDropHandler,\n };\n};\n","'use client';\n\nimport { useContext } from 'react';\nimport warning from '../common/utilities/warning';\nimport IconsContext from '../context/IconsContext';\n\nexport const useIcon = (name: string) => {\n const icons = useContext(IconsContext);\n\n if (icons != null && icons[name] != null) {\n return icons[name];\n }\n\n warning(\n false,\n `The ${name} icon is missing from your assets or icon map provided by the IconsProvider. Please make sure you have provided all icons needed by used components.`,\n );\n\n return '';\n};\n","export function useIconName(key: string | undefined, iconMap: Record<string, string>, defaultKey: string = 'default') {\n return key && iconMap[key] ? iconMap[key] : iconMap[defaultKey];\n}\n","'use client';\n\n/**\n * This implementation is a modified copy of the `usehooks-ts` library\n *\n * @see { @link https://usehooks-ts.com/react-hook/use-is-mounted }\n */\nimport { useCallback, useEffect, useRef } from 'react';\n\n/**\n * Custom hook that determines if the component is currently mounted.\n *\n * @returns {() => boolean} A function that returns a boolean value indicating whether the component is mounted.\n * @public\n * @example\n * ```tsx\n * const isComponentMounted = useIsMounted();\n * // Use isComponentMounted() to check if the component is currently mounted before performing certain actions.\n * ```\n */\nexport function useIsMounted(): () => boolean {\n const isMounted = useRef(false);\n\n useEffect(() => {\n isMounted.current = true;\n\n return () => {\n isMounted.current = false;\n };\n }, []);\n\n return useCallback(() => isMounted.current, []);\n}\n","'use client';\n\n/**\n * This file fixes the problem of using useLayoutEffect hook on the server side.\n *\n * @see https://gist.github.com/gaearon/e7d97cdf38a2907924ea12e4ebdf3c85\n * @see https://medium.com/@alexandereardon/uselayouteffect-and-ssr-192986cdcf7a\n */\n/* eslint-disable no-restricted-imports */\nimport { useEffect, useLayoutEffect } from 'react';\nimport { isSSR } from '../utils';\n\nexport const useIsomorphicLayoutEffect = !isSSR ? useLayoutEffect : useEffect;\n","'use client';\n\nimport { type MutableRefObject, useEffect, useRef } from 'react';\n\nexport const useLastActiveFocus = (isOpen: boolean) => {\n const lastActiveElement: MutableRefObject<HTMLElement | null> = useRef(null);\n\n useEffect(() => {\n if (isOpen) {\n // casting type from Element to HTMLElement, because Element does not have focus()\n lastActiveElement.current = document.activeElement as HTMLElement;\n } else if (lastActiveElement?.current) {\n lastActiveElement.current.focus();\n }\n }, [isOpen]);\n};\n","'use client';\n\n/**\n * This implementation is a modified copy of the `usehooks-ts` library\n *\n * @see { @link https://usehooks-ts.com/react-hook/use-resize-observer }\n */\nimport { type RefObject, useEffect, useRef, useState } from 'react';\nimport { isSSR } from '../utils';\nimport { useIsMounted } from './useIsMounted';\n\n/** @private */\ntype BoxSizesKey = keyof Pick<ResizeObserverEntry, 'borderBoxSize' | 'contentBoxSize' | 'devicePixelContentBoxSize'>;\n\nfunction extractSize(\n entry: ResizeObserverEntry,\n box: BoxSizesKey,\n sizeType: keyof ResizeObserverSize,\n): number | undefined {\n if (!entry[box]) {\n if (box === 'contentBoxSize') {\n return entry.contentRect[sizeType === 'inlineSize' ? 'width' : 'height'];\n }\n\n return undefined;\n }\n\n return Array.isArray(entry[box])\n ? entry[box][0][sizeType]\n : // Support Firefox's non-standard behavior\n // @ts-expect-error -- Element implicitly has an 'any' type because index expression is not of type 'number'.\n (entry[box][sizeType] as number);\n}\n\n/** The size of the observed element. */\ntype Size = {\n /** The width of the observed element. */\n width: number | undefined;\n /** The height of the observed element. */\n height: number | undefined;\n};\n\n/** The options for the ResizeObserver. */\ntype UseResizeObserverOptions<T extends HTMLElement = HTMLElement> = {\n /** The ref of the element to observe. */\n ref: RefObject<T>;\n /**\n * When using `onResize`, the hook doesn't re-render on element size changes; it delegates handling to the provided callback.\n *\n * @default undefined\n */\n onResize?: (size: Size) => void;\n /**\n * The box model to use for the ResizeObserver.\n *\n * @default 'border-box'\n */\n box?: 'border-box' | 'content-box' | 'device-pixel-content-box';\n};\n\nconst initialSize: Size = {\n width: undefined,\n height: undefined,\n};\n\n/**\n * Custom hook that observes the size of an element using the [`ResizeObserver API`](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver).\n *\n * @template T - The type of the element to observe.\n * @param {UseResizeObserverOptions<T>} options - The options for the ResizeObserver.\n * @returns {Size} - The size of the observed element.\n * @public\n * @example\n * ```tsx\n * const myRef = useRef(null);\n * const { width = 0, height = 0 } = useResizeObserver({\n * ref: myRef,\n * box: 'border-box',\n * });\n *\n * <div ref={myRef}>Hello, world!</div>\n * ```\n */\nexport function useResizeObserver<T extends HTMLElement = HTMLElement>(options: UseResizeObserverOptions<T>): Size {\n const { ref, box = 'border-box' } = options;\n const [{ width, height }, setSize] = useState<Size>(initialSize);\n const isMounted = useIsMounted();\n const previousSize = useRef<Size>({ ...initialSize });\n const onResize = useRef<((size: Size) => void) | undefined>(undefined);\n onResize.current = options.onResize;\n\n useEffect(() => {\n // Prevent execution on the server\n if (isSSR) {\n return;\n }\n if (!('ResizeObserver' in window)) {\n return;\n }\n if (!ref.current) {\n return;\n }\n\n const observer = new ResizeObserver(([entry]) => {\n const boxProp =\n // eslint-disable-next-line no-nested-ternary\n box === 'border-box'\n ? 'borderBoxSize'\n : box === 'device-pixel-content-box'\n ? 'devicePixelContentBoxSize'\n : 'contentBoxSize';\n\n const newWidth = extractSize(entry, boxProp, 'inlineSize');\n const newHeight = extractSize(entry, boxProp, 'blockSize');\n\n const hasChanged = previousSize.current.width !== newWidth || previousSize.current.height !== newHeight;\n\n if (hasChanged) {\n const newSize: Size = { width: newWidth, height: newHeight };\n previousSize.current.width = newWidth;\n previousSize.current.height = newHeight;\n\n if (onResize.current) {\n onResize.current(newSize);\n } else if (isMounted()) {\n setSize(newSize);\n }\n }\n });\n\n observer.observe(ref.current, { box });\n\n return () => {\n observer.disconnect();\n };\n }, [box, ref, isMounted]);\n\n return { width, height };\n}\n","'use client';\n\nimport { type MutableRefObject, useEffect } from 'react';\n\nconst CLASSNAME_SCROLLING_DISABLED = 'is-scrolling-disabled';\n\nconst disableScroll = () => {\n const { body } = document;\n const scrollBarWidth = window.innerWidth - body.clientWidth;\n\n body.style.paddingRight = `${scrollBarWidth}px`;\n body.classList.add(CLASSNAME_SCROLLING_DISABLED);\n};\n\nconst enableScroll = () => {\n const { body } = document;\n body.style.paddingRight = '';\n body.classList.remove(CLASSNAME_SCROLLING_DISABLED);\n};\n\nexport const useScrollControl = (ref: MutableRefObject<HTMLDialogElement | null>, isOpen: boolean) => {\n useEffect(() => {\n if (isOpen) {\n disableScroll();\n } else if (ref.current && !ref.current.open) {\n enableScroll();\n }\n\n /**\n * Cleanup scrolling when unmounting\n *\n * @see https://jira.lmc.cz/browse/DS-1126\n *\n * When the use of the Dialog in page is optimized by the condition like\n * `isOpen && <Dialog />`, the Dialog component will be unmounted sooner\n * than the Dialog is closed correctly and all side effects are fulfilled.\n * In this case, the class and style attributes added to the body element\n * will not be removed, and the page will be scrolled.\n */\n return () => {\n enableScroll();\n };\n }, [isOpen, ref]);\n};\n","import { cssVariablePrefix } from '@alma-oss/spirit-design-tokens';\nimport { type DirectionAxis } from '../constants';\nimport { type SpacingCSSProperties, type SpacingType } from '../types';\n\nexport function useSpacingStyle(\n spacing: SpacingType | undefined,\n prefix: string,\n direction: undefined | (typeof DirectionAxis)[keyof typeof DirectionAxis] = undefined,\n): SpacingCSSProperties {\n const style: SpacingCSSProperties = {};\n const directionSuffix = direction ? `-${direction}` : '';\n\n if (typeof spacing === 'object' && spacing !== null) {\n Object.keys(spacing).forEach((key) => {\n const breakpointSuffix = key === 'mobile' ? '' : `-${key}`;\n (style as Record<string, string | undefined>)[`--${prefix}-spacing${directionSuffix}${breakpointSuffix}`] =\n `var(--${cssVariablePrefix}${spacing[key as keyof typeof spacing]?.toString()})`;\n });\n } else if (spacing) {\n (style as Record<string, string | undefined>)[`--${prefix}-spacing${directionSuffix}`] =\n `var(--${cssVariablePrefix}${spacing})`;\n }\n\n return style;\n}\n","import { SpacingStyleProp as DefaultSpacingStyleProp, DisplayStyleProps, ThemeStyleProps } from '../constants';\nimport {\n BREAKPOINT_MOBILE,\n type BreakpointToken,\n type Responsive,\n STYLE_SPACING_AUTO,\n type SpaceToken,\n type StyleProps,\n type StyleSpacingAuto,\n type ThemeNameType,\n} from '../types';\nimport { applyClassNamePrefix, camelCaseToKebabCase, isEmpty } from '../utils';\n\ntype SpacingStyleProp = string | SpaceToken | StyleSpacingAuto;\n\n/** The breakpoint property value. */\ntype BreakpointPropValue = Responsive<SpacingStyleProp>;\n\n/** The nullable string. */\ntype NullableString = string | null | undefined;\n\n/** The prefix for the class name. */\ntype ClassNamePrefix = NullableString;\n\n/** The utility name. */\ntype UtilityName = string;\n\n/** The props shape. */\ntype PropsShape = Record<string, string>;\n\n/** The style utilities result. */\nexport type StyleUtilitiesResult = {\n /** The parsed style utilities. */\n styleUtilities: string[];\n /** The updated props. */\n props: StyleProps;\n};\n\nconst CLASS_SEPARATOR = '-';\n\n/**\n * Normalize the spacing value.\n *\n * @param {string} value - The value to normalize.\n * @returns {string} - Just a number from the value if not `auto.\n */\nconst normalizeSpacingValue = (value: string): string =>\n value === STYLE_SPACING_AUTO ? STYLE_SPACING_AUTO : value.replace(/[^0-9]/g, '');\n\nconst isSpaceToken = (value: unknown): value is SpaceToken => typeof value === 'string' && value.startsWith('space-');\n\nconst getUtilityValue = (value: string): string => (isSpaceToken(value) ? normalizeSpacingValue(value) : value);\n\n/**\n * Check if the key is included in the object.\n *\n * @param {object} object - The object to check in.\n * @param {string} key - The key to find.\n * @returns {boolean} - `true` if the key is included, `false` otherwise.\n */\nconst isKeyIncluded = (object: Record<string, unknown>, key: string): boolean => Object.keys(object).includes(key);\n\nconst processBreakpointProperties = (\n utilityName: UtilityName,\n propValue: BreakpointPropValue,\n prefix: ClassNamePrefix,\n): string[] =>\n Object.keys(propValue).reduce((accumulatedBreakpointUtilities: string[], breakpoint: string) => {\n const breakpointValue = propValue[breakpoint as keyof typeof propValue];\n\n if (typeof breakpointValue === 'string') {\n const utilityValue = getUtilityValue(breakpointValue);\n const infix = breakpoint === BREAKPOINT_MOBILE ? '' : `${CLASS_SEPARATOR}${breakpoint}`;\n accumulatedBreakpointUtilities.push(\n applyClassNamePrefix(prefix)(`${utilityName}${infix}${CLASS_SEPARATOR}${utilityValue}`),\n );\n }\n\n return accumulatedBreakpointUtilities;\n }, []);\n\n/**\n * Process the hideOn property.\n *\n * @param {UtilityName} utilityName - The utility name.\n * @param {BreakpointToken | BreakpointToken[]} propValue - The prop value.\n * @param {ClassNamePrefix} prefix - The prefix.\n * @returns {string[]} - The processed utilities.\n */\nconst processHideOnProperty = (\n utilityName: UtilityName,\n propValue: BreakpointToken | BreakpointToken[],\n prefix: ClassNamePrefix,\n): string[] => {\n const breakpoints = Array.isArray(propValue) ? propValue : [propValue];\n\n return breakpoints.map((breakpoint) =>\n applyClassNamePrefix(prefix)(\n `${utilityName}${CLASS_SEPARATOR}only${CLASS_SEPARATOR}${breakpoint}${CLASS_SEPARATOR}none`,\n ),\n );\n};\n\n/**\n * Process the hideFrom property.\n *\n * @param {UtilityName} utilityName - The utility name.\n * @param {BreakpointToken | BreakpointToken[]} propValue - The prop value.\n * @param {ClassNamePrefix} prefix - The prefix.\n * @returns {string[]} - The processed utilities.\n */\nconst processHideFromProperty = (\n utilityName: UtilityName,\n propValue: BreakpointToken | BreakpointToken[],\n prefix: ClassNamePrefix,\n): string[] => {\n const breakpoint = propValue;\n const infix = breakpoint === BREAKPOINT_MOBILE ? '' : `${CLASS_SEPARATOR}${breakpoint}`;\n\n return [applyClassNamePrefix(prefix)(`${utilityName}${infix}${CLASS_SEPARATOR}none`)];\n};\n\n/**\n * Process the display properties.\n *\n * @param {keyof typeof DisplayStyleProps} utilityKey - The utility key.\n * @param {UtilityName} utilityName - The utility name.\n * @param {BreakpointToken | BreakpointToken[]} propValue - The prop value.\n * @param {ClassNamePrefix} prefix - The prefix.\n * @returns {string[]} - The processed utilities.\n */\nconst processDisplayProperties = (\n utilityKey: keyof typeof DisplayStyleProps,\n utilityName: UtilityName,\n propValue: BreakpointToken | BreakpointToken[],\n prefix: ClassNamePrefix,\n): string[] => {\n switch (utilityKey) {\n case 'hideOn':\n return processHideOnProperty(utilityName, propValue, prefix);\n case 'hideFrom':\n return processHideFromProperty(utilityName, propValue, prefix);\n default:\n return [];\n }\n};\n\n/**\n * Process the properties.\n *\n * @param {keyof typeof DefaultSpacingStyleProp | keyof typeof DisplayStyleProps} utilityKey - The utility key.\n * @param {UtilityName} utilityName - The utility name.\n * @param {string | BreakpointPropValue | BreakpointToken | BreakpointToken[]} propValue - The prop value.\n * @param {ClassNamePrefix} prefix - The prefix.\n * @returns {string[]} - The processed utilities.\n */\nconst processProperties = (\n utilityKey: keyof typeof DefaultSpacingStyleProp | keyof typeof DisplayStyleProps | keyof typeof ThemeStyleProps,\n utilityName: UtilityName,\n propValue: string | boolean | BreakpointPropValue | BreakpointToken | BreakpointToken[],\n prefix: ClassNamePrefix,\n): string[] => {\n if (utilityName === ThemeStyleProps.theme) {\n if (typeof propValue !== 'string') {\n return [];\n }\n\n const themeClassName = camelCaseToKebabCase(propValue) as ThemeNameType;\n\n return [applyClassNamePrefix(prefix)(themeClassName)];\n }\n\n if (utilityKey in DisplayStyleProps) {\n return processDisplayProperties(\n utilityKey as keyof typeof DisplayStyleProps,\n utilityName,\n propValue as BreakpointToken | BreakpointToken[],\n prefix,\n );\n }\n\n if (typeof propValue === 'boolean') {\n return propValue ? [applyClassNamePrefix(prefix)(utilityName)] : [];\n }\n\n if (typeof propValue === 'string') {\n return [applyClassNamePrefix(prefix)(`${utilityName}-${getUtilityValue(propValue)}`)];\n }\n\n return processBreakpointProperties(utilityName, propValue as BreakpointPropValue, prefix);\n};\n\ntype IsStylePropProcessableOptions = {\n /** The flag to check if the key should be included in the styleProp or not. */\n includesKey?: boolean;\n};\n\n/**\n * Check if style prop is ready to be processed, i.e. the key exists and the value is not `null`.\n * If the key is a style prop and the value is not `null`, process the properties.\n *\n * Beware of the disabling style prop using `undefined` value.\n * Setting the value conditionally in the React is not that simple.\n *\n * @example\n * ```diff\n * --- marginBottom={!showTogglerAfterCollapse ? 'space-300' : undefined} // Incorrect\n * +++ {...(!showTogglerAfterCollapse && { marginBottom: 'space-300' })} // Correct\n * ```\n * @param {PropsShape} styleProps - The style props object.\n * @param {string} stylePropKey - The style prop key.\n * @param {NullableString} stylePropValue - The style prop value.\n * @param {IsStylePropProcessableOptions} options - The options object\n * @param {boolean} options.includesKey - The flag to check if the key should be included in the styleProp or not.\n * @returns {boolean} - `true` if the style prop is processable, `false` otherwise.\n */\nconst isStylePropProcessable = (\n styleProps: PropsShape,\n stylePropKey: string,\n stylePropValue: NullableString,\n options: IsStylePropProcessableOptions = { includesKey: true },\n): boolean => {\n const isStylePropKeyIncluded = isKeyIncluded(styleProps, stylePropKey);\n const isProcessable =\n (options.includesKey ? isStylePropKeyIncluded : !isStylePropKeyIncluded) && !isEmpty(stylePropValue);\n\n return isProcessable;\n};\n\nexport const useStyleUtilities = (\n props: StyleProps,\n prefix: ClassNamePrefix = '',\n additionalProps: PropsShape = {},\n): StyleUtilitiesResult => {\n const styleProps = { ...DefaultSpacingStyleProp, ...DisplayStyleProps, ...ThemeStyleProps, ...additionalProps };\n\n const propEntries = Object.entries(props);\n const styleUtilities = propEntries.reduce((accumulatedUtilities: string[], [key, propValue]) => {\n if (isStylePropProcessable(styleProps, key, propValue)) {\n const utilityName = styleProps[key as keyof typeof styleProps];\n\n return [\n ...accumulatedUtilities,\n ...processProperties(key as keyof typeof styleProps, utilityName, propValue, prefix),\n ];\n }\n\n return accumulatedUtilities;\n }, []);\n\n const updatedProps = propEntries.reduce((accumulatedProps: StyleProps, [key, propValue]) => {\n if (isStylePropProcessable(styleProps, key, propValue, { includesKey: false })) {\n return { ...accumulatedProps, [key]: propValue };\n }\n\n return accumulatedProps;\n }, {} as StyleProps);\n\n return {\n styleUtilities,\n props: updatedProps,\n };\n};\n","'use client';\n\nimport { useCallback, useState } from 'react';\n\nexport const useToggle = (initialState = false): [boolean, () => void] => {\n const [state, setState] = useState<boolean>(initialState);\n\n // Define and memorize toggler function in case we pass down the component,\n const toggle = useCallback((): void => setState((prevState) => !prevState), []);\n\n return [state, toggle];\n};\n","type WrappingType = boolean | Record<string, boolean> | undefined;\n\nconst WRAP_CLASS = '--wrap';\nconst NO_WRAP_CLASS = '--noWrap';\n\nexport function useWrapClass(componentClass: string, property: WrappingType) {\n if (typeof property === 'object' && property !== null) {\n return Object.entries(property)\n .map(([key, responsiveProperty]) => {\n const infix = key === 'mobile' ? '' : `--${key}`;\n\n return `${componentClass}${infix}${responsiveProperty ? WRAP_CLASS : NO_WRAP_CLASS}`;\n })\n .join(' ');\n }\n\n return `${componentClass}${property ? WRAP_CLASS : NO_WRAP_CLASS}`;\n}\n","import { type ElementType, type JSXElementConstructor } from 'react';\nimport { type ObjectFit, Sizes } from '../constants';\nimport {\n type AlignmentXDictionaryType,\n type BackgroundAccentColorsType,\n type BackgroundColorsDictionaryType,\n type BackgroundEmotionColorsType,\n type ChildrenProps,\n type DirectionExtendedDictionaryType,\n type StyleProps,\n type TransferProps,\n} from './shared';\n\nexport const CardSizes = {\n ...Sizes,\n AUTO: 'auto',\n} as const;\n\nexport type CardSizesDictionaryKeys = keyof typeof CardSizes;\nexport type CardSizesDictionaryType<T = undefined> = (typeof CardSizes)[CardSizesDictionaryKeys] | T;\n\nexport type CardAlignmentXType =\n | NonNullable<AlignmentXDictionaryType>\n | { [key: string]: NonNullable<AlignmentXDictionaryType> };\n\nexport interface CardElementTypeProps<T extends ElementType = 'article'> {\n /**\n * The HTML element or React element used to render the Card, e.g. 'div'.\n *\n * @default 'article'\n */\n elementType?: T | JSXElementConstructor<unknown>;\n}\n\n// Card types\nexport type CardDirectionType =\n | NonNullable<DirectionExtendedDictionaryType>\n | { [key: string]: NonNullable<DirectionExtendedDictionaryType> };\n\nexport interface CardProps<T extends ElementType = 'article'> extends CardElementTypeProps<T> {\n direction?: CardDirectionType;\n isBoxed?: boolean;\n}\n\nexport interface SpiritCardProps<T extends ElementType = 'article'>\n extends CardProps<T>,\n ChildrenProps,\n StyleProps,\n TransferProps {}\n\nexport type CardMediaBackgroundColorsType =\n | BackgroundColorsDictionaryType\n | BackgroundAccentColorsType\n | BackgroundEmotionColorsType;\n\nexport type CardMediaObjectFitType = (typeof ObjectFit)[keyof typeof ObjectFit];\n\nexport interface CardMediaProps {\n backgroundColor?: CardMediaBackgroundColorsType;\n fit?: CardMediaObjectFitType;\n hasFilledHeight?: boolean;\n isExpanded?: boolean;\n size?: CardSizesDictionaryType;\n}\n\nexport interface SpiritCardMediaProps extends CardMediaProps, ChildrenProps, StyleProps, TransferProps {}\n\n// CardLogo types\nexport interface SpiritCardLogoProps extends ChildrenProps, StyleProps, TransferProps {}\n\n// CardArtwork types\nexport interface CardArtworkProps {\n alignmentX?: CardAlignmentXType;\n}\nexport interface SpiritCardArtworkProps extends CardArtworkProps, ChildrenProps, StyleProps, TransferProps {}\n\n// CardBody types\nexport interface CardBodyProps {\n isSelectable?: boolean;\n}\n\nexport interface SpiritCardBodyProps extends CardBodyProps, ChildrenProps, StyleProps, TransferProps {}\n\n// CardEyebrow types\nexport interface SpiritCardEyebrowProps extends ChildrenProps, StyleProps, TransferProps {}\n\n// CardTitle types\nexport interface CardTitleProps {\n isHeading?: boolean;\n}\n\nexport interface SpiritCardTitleProps<T extends ElementType = 'h4'>\n extends CardTitleProps,\n CardElementTypeProps<T>,\n ChildrenProps,\n StyleProps,\n TransferProps {}\n\n// CardFooter types\nexport interface CardFooterProps {\n alignmentX?: CardAlignmentXType;\n}\n\nexport interface SpiritCardFooterProps extends CardFooterProps, ChildrenProps, StyleProps, TransferProps {}\n\n// CardLink types\nexport type CardLinkProps<E extends ElementType = 'a'> = {\n /**\n * The HTML element or React element used to render the Link, e.g. 'a'.\n *\n * @default 'a'\n */\n elementType?: E;\n};\n\nexport type SpiritCardLinkProps<E extends ElementType = 'a'> = CardLinkProps<E> &\n ChildrenProps & {\n href: string;\n };\n","import { type ComponentPropsWithRef, type ElementType, type LegacyRef, type ReactNode } from 'react';\nimport {\n type AlignmentXExtendedDictionaryType,\n type AlignmentYExtendedDictionaryType,\n type Booleanish,\n type ChildrenProps,\n type ClickEvent,\n type PlacementDictionaryType,\n type StyleProps,\n} from './shared';\n\nexport const DropdownFullWidthModes = {\n OFF: 'off',\n MOBILE_ONLY: 'mobile-only',\n ALL: 'all',\n} as const;\n\nexport type DropdownFullWidthModeKeys = keyof typeof DropdownFullWidthModes;\nexport type DropdownFullWidthMode = (typeof DropdownFullWidthModes)[DropdownFullWidthModeKeys];\n\nexport type DropdownTriggerRenderProps = {\n onClick: (event: ClickEvent) => void;\n className?: string | undefined;\n 'aria-expanded': Booleanish;\n 'aria-controls': string;\n ref: LegacyRef<HTMLButtonElement & HTMLAnchorElement>;\n};\n\nexport type DropdownAlignmentXType =\n | AlignmentXExtendedDictionaryType\n | { [key: string]: AlignmentXExtendedDictionaryType };\nexport type DropdownAlignmentYType =\n | AlignmentYExtendedDictionaryType\n | { [key: string]: AlignmentYExtendedDictionaryType };\n\nexport interface DropdownAlignmentProps {\n alignmentX?: DropdownAlignmentXType;\n alignmentY?: DropdownAlignmentYType;\n}\n\nexport interface DropdownProps extends DropdownAlignmentProps, ChildrenProps, StyleProps {\n id: string;\n}\n\nexport interface DropdownStyleProps extends DropdownAlignmentProps, StyleProps {\n isOpen?: boolean;\n}\n\nexport interface SpiritDropdownProps extends DropdownProps, ChildrenProps {\n enableAutoClose?: boolean;\n placement?: PlacementDictionaryType;\n fullWidthMode?: DropdownFullWidthMode;\n onAutoClose?: (event: Event) => void;\n isOpen: boolean;\n onToggle: () => void;\n}\n\nexport interface UncontrolledDropdownProps extends ChildrenProps, Omit<SpiritDropdownProps, 'isOpen' | 'onToggle'> {}\n\nexport type DropdownTriggerProps<E extends ElementType> = {\n elementType?: E;\n children: string | ReactNode | ((props: { isOpen: boolean }) => ReactNode);\n} & ComponentPropsWithRef<E> &\n StyleProps;\n","export * from './accordion';\nexport * from './actionGroup';\nexport * from './alert';\nexport * from './avatar';\nexport * from './box';\nexport * from './breadcrumbs';\nexport * from './button';\nexport * from './card';\nexport * from './checkbox';\nexport * from './collapse';\nexport * from './container';\nexport * from './controlButton';\nexport * from './divider';\nexport * from './drawer';\nexport * from './dropdown';\nexport * from './fieldGroup';\nexport * from './fileUploader';\nexport * from './flex';\nexport * from './footer';\nexport * from './grid';\nexport * from './header';\nexport * from './heading';\nexport * from './icon';\nexport * from './iconBox';\nexport * from './item';\nexport * from './label';\nexport * from './link';\nexport * from './matrix';\nexport * from './modal';\nexport * from './navigation';\nexport * from './pagination';\nexport * from './partnerLogo';\nexport * from './pill';\nexport * from './pricingPlan';\nexport * from './productLogo';\nexport * from './radio';\nexport * from './scrollView';\nexport * from './section';\nexport * from './segmentedControl';\nexport * from './select';\nexport * from './shared';\nexport * from './skeleton';\nexport * from './skipLink';\nexport * from './slider';\nexport * from './spinner';\nexport * from './splitButton';\nexport * from './stack';\nexport * from './tabs';\nexport * from './tag';\nexport * from './text';\nexport * from './textArea';\nexport * from './textField';\nexport * from './textFieldBase';\nexport * from './timeline';\nexport * from './toast';\nexport * from './toggle';\nexport * from './tooltip';\nexport * from './truncate';\nexport * from './unstableHeader';\nexport * from './visuallyHidden';\n","import { type ElementType } from 'react';\nimport { type ChildrenProps, type LinkColorsDictionaryType, type StyleProps, type TransferProps } from './shared';\n\nexport const UNDERLINED_OPTIONS = {\n ALWAYS: 'always',\n HOVER: 'hover',\n NEVER: 'never',\n} as const;\n\nexport type LinkTarget = '_blank' | '_self' | '_parent' | '_top';\n\nexport type UnderlineOptions = (typeof UNDERLINED_OPTIONS)[keyof typeof UNDERLINED_OPTIONS];\n\nexport interface LinkBaseProps<C = void> extends ChildrenProps, StyleProps, TransferProps {\n /** Link's href attribute */\n href?: string;\n /** Link's target attribute */\n target?: LinkTarget;\n /** Color of the Link */\n color?: LinkColorsDictionaryType<C>;\n /** When is the Link underlined */\n underlined?: UnderlineOptions;\n /** Whether is the Link disabled */\n isDisabled?: boolean;\n}\n\nexport type LinkProps<E extends ElementType = 'a', C = void> = {\n /**\n * The HTML element or React element used to render the Link, e.g. 'a'.\n *\n * @default 'a'\n */\n elementType?: E;\n} & LinkBaseProps<C>;\n\nexport type SpiritLinkProps<E extends ElementType = 'a', C = void> = LinkProps<E, C>;\n","import { type ElementType, type JSXElementConstructor, type ReactNode } from 'react';\n\nexport * from './adornments';\nexport * from './buttons';\nexport * from './colors';\nexport * from './columns';\nexport * from './dialogs';\nexport * from './dictionaries';\nexport * from './directions';\nexport * from './dragAndDrop';\nexport * from './element';\nexport * from './events';\nexport * from './inputs';\nexport * from './item';\nexport * from './positions';\nexport * from './radii';\nexport * from './refs';\nexport * from './responsive';\nexport * from './rest';\nexport * from './sizes';\nexport * from './style';\nexport * from './tokens';\n\nexport interface ChildrenProps {\n /** The content to display in the component. */\n children?: ReactNode | string;\n}\n\nexport interface ElementTypeProps<T extends ElementType = 'div'> {\n /**\n * The HTML element or React element used to render the component.\n *\n * @default 'div'\n */\n elementType?: T | JSXElementConstructor<unknown>;\n}\n\nexport enum SpiritBreakpoints {\n TABLET = 'tablet',\n DESKTOP = 'desktop',\n}\n\n/**\n * This is actual type for all aria-* props which have value 'true' or 'false' is called Booleanish.\n * Unfortunately it is not exported, and you must create it manually.\n */\nexport type Booleanish = boolean | 'true' | 'false';\n\n/**\n * Represents a non-negative integer.\n *\n * @template T - The type of the number.\n */\n/* eslint-disable @typescript-eslint/no-explicit-any -- we don't care about the type here */\nexport type PositiveInteger<T extends number> = `${T}` extends '0' | `-${any}` | `${any}.${any}` ? never : T;\n/* eslint-enable @typescript-eslint/no-explicit-any */\n","import { type CSSProperties, type ElementType } from 'react';\nimport { type SpacingStyleProp } from '../../constants';\nimport { type TextAlignmentDictionaryType } from './dictionaries';\nimport { type BreakpointToken, type SingleOrResponsive } from './responsive';\nimport { type TextHyphensDictionaryType, type TextWordBreakDictionaryType } from './text';\nimport { type SpaceToken, type ThemeNameType } from './tokens';\n\nexport const STYLE_SPACING_AUTO = 'auto' as const;\nexport type StyleSpacingAuto = typeof STYLE_SPACING_AUTO;\n\nexport type SpacingProps = {\n [key in keyof typeof SpacingStyleProp]?: SingleOrResponsive<SpaceToken | StyleSpacingAuto>;\n};\n\nexport type SpacingType = SingleOrResponsive<SpaceToken>;\n\nexport interface SpacingProp {\n spacing?: SpacingType;\n}\n\nexport interface SpacingCSSProperties extends CSSProperties {\n [index: `--${string}`]: string | undefined | number;\n}\n\nexport type DimensionType = SingleOrResponsive<number>;\n\nexport type ElementTypeProp = string | ElementType;\n\nexport type DisplayProps = {\n hideOn?: BreakpointToken | BreakpointToken[];\n hideFrom?: BreakpointToken;\n};\n\nexport interface StyleProps extends SpacingProps, DisplayProps {\n /** Applies a theme class based on the defined design tokens. */\n theme?: ThemeNameType;\n // For backward compatibility!\n /** Sets the CSS [className](https://developer.mozilla.org/en-US/docs/Web/API/Element/className) for the element. Only use as a **last resort**. Use style props instead. */\n UNSAFE_className?: string;\n /** Sets inline [style](https://developer.mozilla.org/en-US/docs/Web/API/Element/style) for the element. Only use as a **last resort**. Use style props instead. */\n UNSAFE_style?: CSSProperties;\n}\n\nexport type TextAlignmentType = SingleOrResponsive<TextAlignmentDictionaryType>;\n\nexport type TextHyphensType = TextHyphensDictionaryType;\n\nexport type TextWordBreakType = TextWordBreakDictionaryType;\n\nexport type UnsafeStyleProps = 'style' | 'className';\n\nexport type OmittedExtendedUnsafeStyleProps<E, P> = Omit<E, UnsafeStyleProps & P>;\n\nexport type OverloadStyleProps<E> = Omit<E, UnsafeStyleProps> & StyleProps;\n","import { type spaces, type themes } from '@alma-oss/spirit-design-tokens';\n\nexport const BREAKPOINT_MOBILE = 'mobile';\n\nexport type SpaceToken = `space-${keyof typeof spaces}` | `space-${number}`;\n\ntype CamelCaseToKebabCaseHelper<S extends string> = S extends `${infer First}${infer Rest}`\n ? First extends Lowercase<First>\n ? `${First}${CamelCaseToKebabCaseHelper<Rest>}`\n : `-${Lowercase<First>}${CamelCaseToKebabCaseHelper<Rest>}`\n : '';\n\ntype CamelCaseToKebabCase<S extends string> = S extends `${infer First}${infer Rest}`\n ? `${Lowercase<First>}${CamelCaseToKebabCaseHelper<Rest>}`\n : S;\n\nexport type ThemeName = keyof typeof themes;\nexport type ThemeNameType = CamelCaseToKebabCase<ThemeName>;\n","import { type Placement, type Strategy } from '@floating-ui/react';\nimport type { ElementType, JSXElementConstructor, ReactNode } from 'react';\nimport type {\n ChildrenProps,\n ClickEvent,\n ElementTypeProp,\n SpiritPolymorphicElementPropsWithRef,\n StyleProps,\n TransferProps,\n} from './shared';\n\nexport const TOOLTIP_TRIGGER = {\n CLICK: 'click',\n HOVER: 'hover',\n FOCUS: 'focus',\n MANUAL: 'manual',\n OUTSIDE_PRESS: 'outside-press',\n ESCAPE_KEY: 'escape-key',\n} as const;\n\nexport interface TooltipPopoverProps extends ChildrenProps, StyleProps {}\n\nexport type TooltipTriggerType = 'click' | 'hover' | 'focus' | 'manual';\n\nexport interface TooltipTriggerProps extends StyleProps, TransferProps {\n elementType?: ElementTypeProp;\n children?: string | ReactNode | ((props: { isOpen: boolean }) => ReactNode);\n}\n\nexport interface UncontrolledTooltipProps extends BaseTooltipProps {}\n\nexport interface TooltipCloseButtonProps extends StyleProps {\n onClick?: (event: ClickEvent) => void;\n label?: string;\n}\n\nexport interface TooltipHandlingProps {\n isOpen?: boolean;\n onToggle: (isOpen: boolean) => void;\n}\n\nexport interface BaseTooltipProps extends ChildrenProps, StyleProps {\n closeLabel?: string;\n id: string;\n isDismissible?: boolean;\n placement?: Placement;\n}\n\nexport interface TooltipProps<E extends ElementType> extends BaseTooltipProps, TooltipHandlingProps {\n /**\n * The HTML element or React element used to render the plan, e.g. 'div', 'a', or `RouterLink`.\n *\n * @default 'div'\n */\n elementType?: E | JSXElementConstructor<unknown>;\n}\n\nexport type SpiritTooltipProps<E extends ElementType = 'div'> = TooltipProps<E> &\n SpiritPolymorphicElementPropsWithRef<E, TooltipProps<E>> &\n ChildrenProps & {\n enableFlipping?: boolean;\n enableFlippingCrossAxis?: boolean;\n enableShifting?: boolean;\n enableSizing?: boolean;\n flipFallbackAxisSideDirection?: 'none' | 'start' | 'end';\n flipFallbackPlacements?: Placement | Placement[];\n isFocusableOnHover?: boolean;\n positionStrategy?: Strategy;\n trigger?: TooltipTriggerType[];\n };\n","import { type ElementType } from 'react';\nimport { type ChildrenProps, type PositiveInteger, type StyleProps } from './shared';\n\n/**\n * The modes of truncation.\n *\n * LINES: Truncate text to a specific number of lines.\n * WORDS: Truncate text to a specific number of words.\n * CHARACTERS: Truncate text to a specific number of characters.\n */\nexport const TruncateModes = {\n LINES: 'lines',\n WORDS: 'words',\n CHARACTERS: 'characters',\n} as const;\n\nexport type TruncateMode = (typeof TruncateModes)[keyof typeof TruncateModes];\n\nexport interface SpiritTruncateProps<E extends ElementType> extends StyleProps, ChildrenProps {\n elementType?: E;\n /**\n * The limit for the truncation (lines, words, or characters).\n *\n * @see PositiveInteger\n */\n limit?: PositiveInteger<number>;\n /**\n * The type of truncation to apply.\n *\n * @see TruncateModes\n *\n * @default 'lines'\n */\n mode?: TruncateMode;\n}\n","/**\n * Check if the value is `null` or `undefined`.\n *\n * @param {unknown} value - The value to check.\n * @returns {boolean} - `true` if the value is `null` or `undefined`, `false` otherwise.\n */\nexport const isNullish = (value: unknown): value is null | undefined => value == null;\n\n/**\n * Check if the value is an empty string.\n *\n * @param {unknown} value - The value to check.\n * @returns {boolean} - `true` if the value is an empty string, `false` otherwise.\n */\nexport const isEmptyString = (value: unknown): boolean => typeof value === 'string' && value.trim() === '';\n\n/**\n * Check if the value is an empty array.\n *\n * @param {unknown} value - The value to check.\n * @returns {boolean} - `true` if the value is an empty array, `false` otherwise.\n */\nexport const isEmptyArray = (value: unknown): boolean => Array.isArray(value) && value.length === 0;\n\n/**\n * Check if the value is an empty object.\n *\n * @param {unknown} value - The value to check.\n * @returns {boolean} - `true` if the value is an empty object, `false` otherwise.\n */\nexport const isEmptyObject = (value: unknown): boolean =>\n typeof value === 'object' && value !== null && Object.keys(value).length === 0;\n\n/**\n * Check if the value is an object with at least one own enumerable property.\n *\n * @param {unknown} value - The value to check.\n * @returns {boolean} - `true` if the object has own enumerable properties, `false` otherwise.\n */\nexport const isEnumerable = (value: unknown): boolean => {\n if (typeof value === 'object' && value !== null) {\n for (const key in value) {\n if (Object.hasOwnProperty.call(value, key)) {\n return true;\n }\n }\n }\n\n return false;\n};\n\n/**\n * Check if the value is empty.\n *\n * Objects are considered empty if they have no own enumerable string keyed\n * properties.\n * Arrays are considered empty if they have a length of 0.\n * Strings are considered empty if they are empty or contain only whitespace.\n * Nullish values are considered empty.\n *\n * @param {unknown} value - The value to check.\n * @returns {boolean} - `true` if the value is empty, `false` otherwise.\n * @example\n * ```js\n * isEmpty(null); // => true\n * isEmpty(undefined); // => true\n * isEmpty(''); // => true\n * isEmpty([]); // => true\n * isEmpty({}); // => true\n * isEmpty('hello'); // => false\n * isEmpty(1); // => false\n * isEmpty(true); // => false\n * isEmpty(false); // => false\n * isEmpty([1, 2, 3]); // => false\n * isEmpty({ key: 'value' }); // => false\n * ```\n */\nexport const isEmpty = (value: unknown): boolean => {\n if (isNullish(value)) {\n return true;\n }\n\n if (isEmptyString(value)) {\n return true;\n }\n\n if (isEmptyArray(value)) {\n return true;\n }\n\n if (isEmptyObject(value)) {\n return true;\n }\n\n if (isEnumerable(value)) {\n return false;\n }\n\n return false;\n};\n","export const applyClassNamePrefix =\n (prefix: string | null | undefined) =>\n (className: string): string =>\n prefix != null && prefix !== '' ? `${prefix}-${className}` : className;\nexport const applyColor =\n <Color>(color: Color) =>\n (className: string): string =>\n `${className}--${color}`;\nexport const applySize =\n <Size>(size: Size) =>\n (className: string): string =>\n `${className}--${size}`;\nexport const applyTheme =\n <Theme>(theme: Theme) =>\n (className: string): string =>\n `${className}--${theme}`;\n","import { accentColors, emotionColors, textColors } from '@alma-oss/spirit-design-tokens';\nimport {\n type AccentColorNamesType,\n type BackgroundAccentColorsType,\n type BackgroundEmotionColorsType,\n type BackgroundNeutralColorsType,\n type BorderAccentColorsType,\n type BorderEmotionColorsType,\n type EmotionColorNamesType,\n type TextAccentColorsType,\n type TextColorsDictionaryType,\n type TextEmotionColorsType,\n type TextNeutralColorsType,\n} from '../types';\n\n/**\n * Generates a color object by processing a set of colors and filtering their keys based on type.\n *\n * @template T - The type of the keys in the resulting record.\n * @param {Record<string, Record<string, string>>} colors - A record of color categories and their properties.\n * @param {string} type - The type of property to filter (e.g., \"content\", \"border\", \"background\").\n * @param {string} prefix - A string prefix to prepend to the generated keys.\n * @returns {Record<T, T>} A record where the keys are formatted strings and the values are identical to the keys.\n */\nexport const generateColorsObject = <T extends string>(\n colors: Record<string, Record<string, string>>,\n type: string,\n prefix: string,\n): Record<T, T> => {\n const result: Record<string, string> = {};\n\n for (const [key, properties] of Object.entries(colors)) {\n for (const [property] of Object.entries(properties)) {\n if (property.startsWith(type)) {\n const formattedValue = `${prefix}-${key}-${property.replace(type, '').toLowerCase()}`;\n const formattedKey = formattedValue.replace(/-/g, '_').toUpperCase();\n result[formattedKey] = formattedValue;\n }\n }\n }\n\n return result as Record<T, T>;\n};\n\n/**\n * Generates an object containing formatted keys for accent text colors.\n *\n * @returns {Record<string, TextAccentColorsType>} A record of formatted accent color keys.\n */\nexport const getAccentTextColors = (): Record<string, TextAccentColorsType> =>\n generateColorsObject(accentColors, 'content', 'accent');\n\n/**\n * Generates an object containing formatted keys for emotion text colors.\n *\n * @returns {Record<string, TextEmotionColorsType>} A record of formatted emotion color keys.\n */\nexport const getEmotionTextColors = (): Record<string, TextEmotionColorsType> =>\n generateColorsObject(emotionColors, 'content', 'emotion');\n\n/**\n * Generates an object containing formatted keys for accent background colors.\n *\n * @returns {Record<string, BackgroundAccentColorsType>} A record of formatted accent color keys.\n */\nexport const getAccentBackgroundColors = (): Record<string, BackgroundAccentColorsType> =>\n generateColorsObject(accentColors, 'background', 'accent');\n\n/**\n * Generates an object containing formatted keys for emotion background colors.\n *\n * @returns {Record<string, BackgroundEmotionColorsType>} A record of formatted accent color keys.\n */\nexport const getEmotionBackgroundColors = (): Record<string, BackgroundEmotionColorsType> =>\n generateColorsObject(emotionColors, 'background', 'emotion');\n\n/**\n * Generates an object containing formatted keys for accent border colors.\n *\n * @returns {Record<string, BorderAccentColorsType>} A record of formatted accent color keys.\n */\nexport const getAccentBorderColors = (): Record<string, BorderAccentColorsType> =>\n generateColorsObject(accentColors, 'border', 'accent');\n\n/**\n * Generates an object containing formatted keys for emotion border colors.\n *\n * @returns {Record<string, BackgroundEmotionColorsType>} A record of formatted emotion color keys.\n */\nexport const getEmotionBorderColors = (): Record<string, BorderEmotionColorsType> =>\n generateColorsObject(emotionColors, 'border', 'emotion');\n\n/**\n * Generates an object containing formatted keys for neutral text colors.\n *\n * @returns {Record<string, TextNeutralColorsType>} A record of formatted neutral color keys.\n */\nexport const getNeutralTextColors = (): Record<string, TextNeutralColorsType> =>\n ({\n NEUTRAL_BASIC: 'neutral-basic',\n NEUTRAL_SUBTLE: 'neutral-subtle',\n }) as Record<string, TextNeutralColorsType>;\n\n/**\n * Generates an object containing formatted keys for neutral background colors.\n *\n * @returns {Record<string, BackgroundNeutralColorsType>} A record of formatted neutral color keys.\n */\nexport const getNeutralBackgroundColors = (): Record<string, BackgroundNeutralColorsType> =>\n ({\n NEUTRAL_BASIC: 'neutral-basic',\n NEUTRAL_SUBTLE: 'neutral-subtle',\n }) as Record<string, BackgroundNeutralColorsType>;\n\nexport const getAccentColorNames = () => Object.keys(accentColors) as AccentColorNamesType[];\nexport const getEmotionColorNames = () => Object.keys(emotionColors) as EmotionColorNamesType[];\nexport const getTextColorNames = () => Object.keys(textColors) as TextColorsDictionaryType[];\n","/* eslint-disable @typescript-eslint/no-explicit-any */\n\nexport const compose = (...functions: any[]) =>\n functions.reduceRight(\n (prevFunction: any, nextFunction: any) =>\n (...args: any[]) =>\n nextFunction(prevFunction(...args)),\n (value: unknown) => value,\n );\n","export const debounce = <T>(callback: (props: T) => void, delay: number) => {\n let timeout: NodeJS.Timeout;\n let isThrottled = false;\n\n return (args: T): void => {\n if (!isThrottled) {\n isThrottled = true;\n\n if (timeout) {\n clearTimeout(timeout);\n }\n\n timeout = setTimeout(() => {\n callback(args);\n isThrottled = false;\n }, delay);\n }\n };\n};\n","export const delayedCallback = (callback: () => void, interval: number) => {\n const timeoutId = setTimeout(() => {\n callback();\n clearTimeout(timeoutId);\n }, interval);\n};\n","/**\n * This is a workaround for the `html-react-parser` package.\n * The package weirdly exports the default function as `HTMLReactParser` and it is not working in our CJS builds.\n *\n * @see { @link https://github.com/remarkablemark/html-react-parser/issues/1329 }\n */\nimport htmlDomParser from 'html-dom-parser';\nimport domToReactLib from 'html-react-parser/lib/dom-to-react';\n\nexport const htmlReactParser = (html: string): ReturnType<typeof domToReactLib> => {\n if (typeof html !== 'string') {\n throw new TypeError('First argument must be a string');\n }\n\n if (!html) {\n return [];\n }\n\n // support backwards compatibility for ES Module\n // @ts-expect-error Property 'default' does not exists on type -- exactly, we need to check it first\n const htmlToDOM = typeof htmlDomParser.default === 'function' ? htmlDomParser.default : htmlDomParser;\n // @ts-expect-error Property 'default' does not exists on type -- exactly, we need to check it first\n const domToReact = typeof domToReactLib.default === 'function' ? domToReactLib.default : domToReactLib;\n\n return domToReact(htmlToDOM(html));\n};\n","export * from './assert';\nexport * from './classname';\nexport * from './colorObjectGenerators';\nexport * from './compose';\nexport * from './debounce';\nexport * from './delayedCallback';\nexport * from './htmlReactParser';\nexport * from './mergeStyleProps';\nexport * from './responsive';\nexport * from './ssr';\nexport * from './string';\nexport * from './stylePropsClassesGenerator';\nexport * from './toPascalCase';\n","import { type CSSProperties, type HTMLAttributes } from 'react';\nimport { type ElementTypeProp } from '../types';\n\ntype MergedStyleProps = {\n className?: string;\n UNSAFE_className?: string;\n style?: CSSProperties;\n UNSAFE_style?: CSSProperties;\n};\n\ntype StylePropValue =\n | string\n | HTMLAttributes<HTMLElement>\n | {\n className?: string;\n UNSAFE_className?: string;\n style?: CSSProperties;\n UNSAFE_style?: CSSProperties;\n [key: string]: string | CSSProperties | unknown;\n }\n | unknown;\n\ntype StyleProp = Record<string, StylePropValue>;\n\n/**\n * Merges class names, styles, and CSS variables from the given properties\n * and determines whether to use standard (`className`, `style`) or unsafe\n * (`UNSAFE_className`, `UNSAFE_style`) attributes based on the component type.\n *\n * @param {ElementTypeProp} ElementTag - The React element type, either a string (HTML tag) or a component.\n * @param {StyleProp} styleProps - An object containing potential class names, styles, and CSS variables.\n * @returns {MergedStyleProps} An object containing either `{ className, style }` or `{ UNSAFE_className, UNSAFE_style }`.\n */\nexport function mergeStyleProps(ElementTag: ElementTypeProp, styleProps: StyleProp): MergedStyleProps {\n const isSpiritComponent = typeof ElementTag !== 'string' && !!ElementTag?.spiritComponent;\n\n const isNonNullableObject = (styleProp: StylePropValue): styleProp is StyleProp =>\n typeof styleProp === 'object' && styleProp !== null;\n\n // Extract class names from the given properties\n const extractClassNames = (styleProp: StylePropValue): string[] => {\n if (typeof styleProp === 'string') {\n return [styleProp];\n }\n\n if (isNonNullableObject(styleProp)) {\n return [styleProp.className, styleProp.UNSAFE_className].filter(Boolean) as string[];\n }\n\n return [];\n };\n\n // Extract CSS variables from the given properties\n const extractCssVariables = (styleProp: StylePropValue): Record<string, string> =>\n isNonNullableObject(styleProp)\n ? Object.entries(styleProp)\n .filter(([key]) => key.startsWith('--'))\n .reduce((extractedCssVariable, [key, value]) => ({ ...extractedCssVariable, [key]: value }), {})\n : {};\n\n // Extract styles and CSS variables from the given properties\n const extractCssStylesAndVariables = (cssProperties: CSSProperties, styleProp: StylePropValue) => {\n if (!isNonNullableObject(styleProp)) {\n return cssProperties;\n }\n\n const typedStyleProp = styleProp as { style?: CSSProperties; UNSAFE_style?: CSSProperties };\n const styles = typedStyleProp.style || typedStyleProp.UNSAFE_style || {};\n const cssVariables = extractCssVariables(styleProp);\n\n return { ...cssProperties, ...styles, ...cssVariables };\n };\n\n // Merge class names from all relevant properties\n const mergedClasses = Object.values(styleProps).flatMap(extractClassNames).filter(Boolean).join(' ');\n\n // Merge styles and CSS variables from all relevant properties\n const mergedStyles = Object.values(styleProps)\n .filter(isNonNullableObject)\n .reduce(extractCssStylesAndVariables, {} as CSSProperties);\n\n return isSpiritComponent\n ? { UNSAFE_className: mergedClasses, UNSAFE_style: mergedStyles }\n : { className: mergedClasses, style: mergedStyles };\n}\n","import type { Responsive } from '../types';\n\n/**\n * Checks if a value is a responsive object (has breakpoint keys).\n *\n * @param value - The value to check.\n * @returns True if the value is a responsive object, false otherwise.\n */\nexport function isResponsive<T>(value: unknown): value is Responsive<T> {\n return typeof value === 'object' && value !== null && !Array.isArray(value);\n}\n\n/**\n * Generates responsive class names for a component.\n *\n * @param componentClass - The base component class name.\n * @param value - The responsive value or single value.\n * @returns Array of class names.\n */\nexport function generateResponsiveClassNames<T extends string>(\n componentClass: string,\n value: T | Responsive<T> | undefined,\n): string[] {\n if (!value) {\n return [];\n }\n\n if (isResponsive(value)) {\n return Object.entries(value)\n .map(([breakpoint, breakpointValue]) => {\n if (breakpointValue === undefined) {\n return '';\n }\n\n if (breakpoint === 'mobile') {\n return `${componentClass}--${breakpointValue}`;\n }\n\n return `${componentClass}--${breakpoint}--${breakpointValue}`;\n })\n .filter((className) => className !== '');\n }\n\n return [`${componentClass}--${value}`];\n}\n","// Helper to detect if running on the server\nexport const isSSR = typeof window === 'undefined';\n","/**\n * Converts a camelCase or PascalCase string to kebab-case.\n *\n * @param {string} input - The camelCase string to be converted.\n * @returns {string} The kebab-case version of the input string.\n */\nexport const camelCaseToKebabCase = (input: string): string =>\n input.replace(/([a-z0-9])([A-Z])/g, '$1-$2').toLowerCase();\n\n/**\n * Converts a kebab-case string to camelCase.\n *\n * @param {string} input - The kebab-case string to be converted.\n * @returns {string} The camelCase version of the input string.\n */\nexport const kebabCaseToCamelCase = (input: string): string => input.replace(/-([a-z])/g, (g) => g[1].toUpperCase());\n\n/**\n * Converts an object with kebab-case string values to camelCase.\n *\n * @param {Record<string, string>} input - The input to be converted.\n * @returns {Record<string, string>} The converted input.\n */\nexport const kebabCaseToCamelCaseValues = (input: Record<string, string>): Record<string, string> => {\n if (typeof input === 'object' && input !== null) {\n const result: Record<string, string> = {};\n for (const [key, value] of Object.entries(input)) {\n result[key] = typeof value === 'string' ? kebabCaseToCamelCase(value) : value;\n }\n\n return result;\n }\n\n return input;\n};\n\n/**\n * Converts a kebab-case string or an object with kebab-case values to camelCase.\n *\n * @param {string | Record<string, string>} input - The input to be converted.\n * @returns {string | Record<string, string>} The converted input.\n */\nexport const stringOrObjectKebabCaseToCamelCase = (\n input: string | Record<string, string>,\n): string | Record<string, string> => {\n if (typeof input === 'string') {\n return kebabCaseToCamelCase(input);\n }\n if (typeof input === 'object' && input !== null) {\n return kebabCaseToCamelCaseValues(input);\n }\n\n return input;\n};\n","import { toPascalCase } from './toPascalCase';\n\ntype Breakpoints = 'mobile' | 'tablet' | 'desktop';\ntype ResponsiveProp = {\n [key in Breakpoints]: string;\n};\ntype StaticProp = string;\n\nexport function generateStaticStylePropsClasses(componentClass: string, property: StaticProp, type?: string): string {\n return `${componentClass}--${type || ''}${type ? toPascalCase(property) : property}`;\n}\n\nexport function generateResponsiveStylePropsClasses(\n componentClass: string,\n property: ResponsiveProp,\n type?: string,\n): string {\n return Object.keys(property)\n .map((key) => {\n const infix = key === 'mobile' ? '' : `--${key}`;\n const responsiveProperty = property[key as Breakpoints];\n\n return `${componentClass}${infix}--${type || ''}${type ? toPascalCase(responsiveProperty) : responsiveProperty}`;\n })\n .join(' ');\n}\n\nfunction isResponsiveProperty<P>(property: P) {\n return property && typeof property === 'object';\n}\n\nexport function generateStylePropsClassNames<P>(componentClass: string, property: P, type?: string): string {\n const generate = isResponsiveProperty<P>(property)\n ? generateResponsiveStylePropsClasses\n : generateStaticStylePropsClasses;\n\n return generate(componentClass, property as unknown as ResponsiveProp & StaticProp, type);\n}\n","export function toPascalCase(str: string): string {\n if (typeof str !== 'string') {\n return str;\n }\n\n return str\n .split('-') // Split the string by hyphen\n .map((word) => word.charAt(0).toUpperCase() + word.slice(1)) // Capitalize the first letter of each word\n .join(''); // Join the words back together without any hyphens\n}\n","const t = \"8px\", e = \"8px\", o = \"8px\", n = \"8px\", a = \"8px\", r = \"8px\", c = \"8px\", i = \"8px\", s = \"8px\", $f = 0, l = \"768px\", d = \"1280px\", f = \"9999px\", m = \"9999px\", S = \"9999px\", u = \"9999px\", g = \"9999px\", p = \"9999px\", v = \"9999px\", b = \"9999px\", B = \"9999px\", kf = {\n large: {\n radius: {\n mobile: t,\n tablet: n,\n desktop: c\n }\n },\n medium: {\n radius: {\n mobile: e,\n tablet: a,\n desktop: i\n }\n },\n small: {\n radius: {\n mobile: o,\n tablet: r,\n desktop: s\n }\n }\n}, hf = {\n mobile: 0,\n tablet: l,\n desktop: d\n}, Hf = {\n large: {\n radius: {\n mobile: f,\n tablet: u,\n desktop: v\n }\n },\n medium: {\n radius: {\n mobile: m,\n tablet: g,\n desktop: b\n }\n },\n small: {\n radius: {\n mobile: S,\n tablet: p,\n desktop: B\n }\n }\n}, Cf = 0, Ff = \"1px\", Df = \"2px\", y = \"linear-gradient(var(--gradient-angle, 90deg), var(--spirit-color-gradient-basic-overlay-color-01, #fff) 0%, var(--spirit-color-gradient-basic-overlay-color-02, #fff0) 100%)\", $ = \"linear-gradient(var(--gradient-angle, 180deg), var(--spirit-color-gradient-primary-color-01, #eae3ff) 0%, var(--spirit-color-gradient-primary-color-02, #cebcff) 100%)\", k = \"linear-gradient(var(--gradient-angle, 180deg), var(--spirit-color-gradient-secondary-color-01, #fff) 0%, var(--spirit-color-gradient-secondary-color-02, #a7d9e2) 100%)\", h = \"linear-gradient(var(--gradient-angle, 135deg), var(--spirit-color-gradient-skeleton-color-01, #e5e5e5) 33%, var(--spirit-color-gradient-skeleton-color-02, #fff) 48.5%, var(--spirit-color-gradient-skeleton-color-03, #e5e5e5) 66%)\", If = {\n basicOverlay: y,\n primary: $,\n secondary: k,\n skeleton: h\n}, H = \"16px\", C = \"32px\", F = \"32px\", D = \"480px\", I = \"640px\", x = \"768px\", P = \"1024px\", A = \"1280px\", W = \"1280px\", T = \"16px\", z = \"32px\", w = \"32px\", U = \"12\", xf = \"spirit-\", Pf = {\n padding: {\n mobile: H,\n tablet: C,\n desktop: F\n },\n xsmall: {\n maxWidth: D\n },\n small: {\n maxWidth: I\n },\n medium: {\n maxWidth: x\n },\n large: {\n maxWidth: P\n },\n maxWidth: A,\n xlarge: {\n maxWidth: W\n }\n}, Af = {\n spacing: {\n mobile: T,\n desktop: z,\n tablet: w\n },\n columns: U\n}, R = 0, M = \"2px\", L = \"4px\", O = \"8px\", X = \"12px\", _ = \"16px\", V = \"9999px\", Wf = {\n 0: R,\n 100: M,\n 200: L,\n 300: O,\n 400: X,\n 500: _,\n full: V\n}, j = \"0 0 0 2px var(--spirit-color-focus-focus-ring-color-01, #d2c2ffb2)\", q = \"0 2px 8px 0 var(--spirit-color-shadow-shadow-100-color-01, #0000001a)\", E = \"0 4px 12px 0 var(--spirit-color-shadow-shadow-200-color-01, #0003)\", G = \"0 8px 24px 0 var(--spirit-color-shadow-shadow-300-color-01, #00000040)\", J = \"0 12px 32px 0 var(--spirit-color-shadow-shadow-400-color-01, #00000040)\", Tf = {\n focusRing: j\n}, zf = {\n 100: q,\n 200: E,\n 300: G,\n 400: J\n}, K = 0, N = \"1px\", Q = \"2px\", Y = \"4px\", Z = \"6px\", tt = \"8px\", et = \"12px\", ot = \"16px\", nt = \"20px\", at = \"24px\", rt = \"32px\", ct = \"40px\", it = \"48px\", st = \"56px\", lt = \"64px\", dt = \"72px\", ft = \"80px\", mt = \"96px\", wf = {\n 0: K,\n 100: N,\n 200: Q,\n 300: Y,\n 400: Z,\n 500: tt,\n 600: et,\n 700: ot,\n 800: nt,\n 900: at,\n 1e3: rt,\n 1100: ct,\n 1200: it,\n 1300: st,\n 1400: lt,\n 1500: dt,\n 1600: ft,\n 1700: mt\n}, St = {\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"18px\",\n fontStyle: \"normal\",\n fontWeight: 700,\n lineHeight: 1.5\n }\n}, ut = {\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"18px\",\n fontStyle: \"italic\",\n fontWeight: 400,\n lineHeight: 1.5\n }\n}, gt = {\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"18px\",\n fontStyle: \"normal\",\n fontWeight: 400,\n lineHeight: 1.5\n }\n}, pt = {\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"18px\",\n fontStyle: \"normal\",\n fontWeight: 600,\n lineHeight: 1.5\n }\n}, vt = {\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"16px\",\n fontStyle: \"normal\",\n fontWeight: 700,\n lineHeight: 1.5\n }\n}, bt = {\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"16px\",\n fontStyle: \"italic\",\n fontWeight: 400,\n lineHeight: 1.5\n }\n}, Bt = {\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"16px\",\n fontStyle: \"normal\",\n fontWeight: 400,\n lineHeight: 1.5\n }\n}, yt = {\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"16px\",\n fontStyle: \"normal\",\n fontWeight: 600,\n lineHeight: 1.5\n }\n}, $t = {\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"14px\",\n fontStyle: \"normal\",\n fontWeight: 700,\n lineHeight: 1.5\n }\n}, kt = {\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"14px\",\n fontStyle: \"italic\",\n fontWeight: 400,\n lineHeight: 1.5\n }\n}, ht = {\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"14px\",\n fontStyle: \"normal\",\n fontWeight: 400,\n lineHeight: 1.5\n }\n}, Ht = {\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"14px\",\n fontStyle: \"normal\",\n fontWeight: 600,\n lineHeight: 1.5\n }\n}, Ct = {\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"20px\",\n fontStyle: \"normal\",\n fontWeight: 700,\n lineHeight: 1.5\n }\n}, Ft = {\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"20px\",\n fontStyle: \"italic\",\n fontWeight: 400,\n lineHeight: 1.5\n }\n}, Dt = {\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"20px\",\n fontStyle: \"normal\",\n fontWeight: 400,\n lineHeight: 1.5\n }\n}, It = {\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"20px\",\n fontStyle: \"normal\",\n fontWeight: 600,\n lineHeight: 1.5\n }\n}, xt = {\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"12px\",\n fontStyle: \"normal\",\n fontWeight: 700,\n lineHeight: 1.5\n }\n}, Pt = {\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"12px\",\n fontStyle: \"italic\",\n fontWeight: 400,\n lineHeight: 1.5\n }\n}, At = {\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"12px\",\n fontStyle: \"normal\",\n fontWeight: 400,\n lineHeight: 1.5\n }\n}, Wt = {\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"12px\",\n fontStyle: \"normal\",\n fontWeight: 600,\n lineHeight: 1.5\n }\n}, Tt = {\n desktop: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"40px\",\n fontStyle: \"normal\",\n fontWeight: 700,\n lineHeight: 1.2\n },\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"32px\",\n fontStyle: \"normal\",\n fontWeight: 700,\n lineHeight: 1.2\n },\n tablet: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"40px\",\n fontStyle: \"normal\",\n fontWeight: 700,\n lineHeight: 1.2\n }\n}, zt = {\n desktop: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"40px\",\n fontStyle: \"italic\",\n fontWeight: 400,\n lineHeight: 1.2\n },\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"32px\",\n fontStyle: \"italic\",\n fontWeight: 400,\n lineHeight: 1.2\n },\n tablet: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"40px\",\n fontStyle: \"italic\",\n fontWeight: 400,\n lineHeight: 1.2\n }\n}, wt = {\n desktop: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"40px\",\n fontStyle: \"normal\",\n fontWeight: 400,\n lineHeight: 1.2\n },\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"32px\",\n fontStyle: \"normal\",\n fontWeight: 400,\n lineHeight: 1.2\n },\n tablet: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"40px\",\n fontStyle: \"normal\",\n fontWeight: 400,\n lineHeight: 1.2\n }\n}, Ut = {\n desktop: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"40px\",\n fontStyle: \"normal\",\n fontWeight: 600,\n lineHeight: 1.2\n },\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"32px\",\n fontStyle: \"normal\",\n fontWeight: 600,\n lineHeight: 1.2\n },\n tablet: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"40px\",\n fontStyle: \"normal\",\n fontWeight: 600,\n lineHeight: 1.2\n }\n}, Rt = {\n desktop: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"32px\",\n fontStyle: \"normal\",\n fontWeight: 700,\n lineHeight: 1.3\n },\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"24px\",\n fontStyle: \"normal\",\n fontWeight: 700,\n lineHeight: 1.4\n },\n tablet: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"32px\",\n fontStyle: \"normal\",\n fontWeight: 700,\n lineHeight: 1.3\n }\n}, Mt = {\n desktop: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"32px\",\n fontStyle: \"italic\",\n fontWeight: 400,\n lineHeight: 1.3\n },\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"24px\",\n fontStyle: \"italic\",\n fontWeight: 400,\n lineHeight: 1.4\n },\n tablet: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"32px\",\n fontStyle: \"italic\",\n fontWeight: 400,\n lineHeight: 1.3\n }\n}, Lt = {\n desktop: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"32px\",\n fontStyle: \"normal\",\n fontWeight: 400,\n lineHeight: 1.3\n },\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"24px\",\n fontStyle: \"normal\",\n fontWeight: 400,\n lineHeight: 1.4\n },\n tablet: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"32px\",\n fontStyle: \"normal\",\n fontWeight: 400,\n lineHeight: 1.3\n }\n}, Ot = {\n desktop: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"32px\",\n fontStyle: \"normal\",\n fontWeight: 600,\n lineHeight: 1.3\n },\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"24px\",\n fontStyle: \"normal\",\n fontWeight: 600,\n lineHeight: 1.4\n },\n tablet: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"32px\",\n fontStyle: \"normal\",\n fontWeight: 600,\n lineHeight: 1.3\n }\n}, Xt = {\n desktop: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"24px\",\n fontStyle: \"normal\",\n fontWeight: 700,\n lineHeight: 1.4\n },\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"20px\",\n fontStyle: \"normal\",\n fontWeight: 700,\n lineHeight: 1.4\n },\n tablet: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"24px\",\n fontStyle: \"normal\",\n fontWeight: 700,\n lineHeight: 1.4\n }\n}, _t = {\n desktop: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"24px\",\n fontStyle: \"italic\",\n fontWeight: 400,\n lineHeight: 1.4\n },\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"20px\",\n fontStyle: \"italic\",\n fontWeight: 400,\n lineHeight: 1.4\n },\n tablet: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"24px\",\n fontStyle: \"italic\",\n fontWeight: 400,\n lineHeight: 1.4\n }\n}, Vt = {\n desktop: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"24px\",\n fontStyle: \"normal\",\n fontWeight: 400,\n lineHeight: 1.4\n },\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"20px\",\n fontStyle: \"normal\",\n fontWeight: 400,\n lineHeight: 1.4\n },\n tablet: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"24px\",\n fontStyle: \"normal\",\n fontWeight: 400,\n lineHeight: 1.4\n }\n}, jt = {\n desktop: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"24px\",\n fontStyle: \"normal\",\n fontWeight: 600,\n lineHeight: 1.4\n },\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"20px\",\n fontStyle: \"normal\",\n fontWeight: 600,\n lineHeight: 1.4\n },\n tablet: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"24px\",\n fontStyle: \"normal\",\n fontWeight: 600,\n lineHeight: 1.4\n }\n}, qt = {\n desktop: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"48px\",\n fontStyle: \"normal\",\n fontWeight: 700,\n lineHeight: 1.2\n },\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"36px\",\n fontStyle: \"normal\",\n fontWeight: 700,\n lineHeight: 1.2\n },\n tablet: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"48px\",\n fontStyle: \"normal\",\n fontWeight: 700,\n lineHeight: 1.2\n }\n}, Et = {\n desktop: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"48px\",\n fontStyle: \"italic\",\n fontWeight: 400,\n lineHeight: 1.2\n },\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"36px\",\n fontStyle: \"italic\",\n fontWeight: 400,\n lineHeight: 1.2\n },\n tablet: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"48px\",\n fontStyle: \"italic\",\n fontWeight: 400,\n lineHeight: 1.2\n }\n}, Gt = {\n desktop: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"48px\",\n fontStyle: \"normal\",\n fontWeight: 400,\n lineHeight: 1.2\n },\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"36px\",\n fontStyle: \"normal\",\n fontWeight: 400,\n lineHeight: 1.2\n },\n tablet: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"48px\",\n fontStyle: \"normal\",\n fontWeight: 400,\n lineHeight: 1.2\n }\n}, Jt = {\n desktop: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"48px\",\n fontStyle: \"normal\",\n fontWeight: 600,\n lineHeight: 1.2\n },\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"36px\",\n fontStyle: \"normal\",\n fontWeight: 600,\n lineHeight: 1.2\n },\n tablet: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"48px\",\n fontStyle: \"normal\",\n fontWeight: 600,\n lineHeight: 1.2\n }\n}, Kt = {\n desktop: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"20px\",\n fontStyle: \"normal\",\n fontWeight: 700,\n lineHeight: 1.4\n },\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"18px\",\n fontStyle: \"normal\",\n fontWeight: 700,\n lineHeight: 1.4\n },\n tablet: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"20px\",\n fontStyle: \"normal\",\n fontWeight: 700,\n lineHeight: 1.4\n }\n}, Nt = {\n desktop: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"20px\",\n fontStyle: \"italic\",\n fontWeight: 400,\n lineHeight: 1.4\n },\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"18px\",\n fontStyle: \"italic\",\n fontWeight: 400,\n lineHeight: 1.4\n },\n tablet: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"20px\",\n fontStyle: \"italic\",\n fontWeight: 400,\n lineHeight: 1.4\n }\n}, Qt = {\n desktop: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"20px\",\n fontStyle: \"normal\",\n fontWeight: 400,\n lineHeight: 1.4\n },\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"18px\",\n fontStyle: \"normal\",\n fontWeight: 400,\n lineHeight: 1.4\n },\n tablet: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"20px\",\n fontStyle: \"normal\",\n fontWeight: 400,\n lineHeight: 1.4\n }\n}, Yt = {\n desktop: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"20px\",\n fontStyle: \"normal\",\n fontWeight: 600,\n lineHeight: 1.4\n },\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"18px\",\n fontStyle: \"normal\",\n fontWeight: 600,\n lineHeight: 1.4\n },\n tablet: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"20px\",\n fontStyle: \"normal\",\n fontWeight: 600,\n lineHeight: 1.4\n }\n}, Uf = {\n bodyLargeBold: St,\n bodyLargeItalic: ut,\n bodyLargeRegular: gt,\n bodyLargeSemibold: pt,\n bodyMediumBold: vt,\n bodyMediumItalic: bt,\n bodyMediumRegular: Bt,\n bodyMediumSemibold: yt,\n bodySmallBold: $t,\n bodySmallItalic: kt,\n bodySmallRegular: ht,\n bodySmallSemibold: Ht,\n bodyXlargeBold: Ct,\n bodyXlargeItalic: Ft,\n bodyXlargeRegular: Dt,\n bodyXlargeSemibold: It,\n bodyXsmallBold: xt,\n bodyXsmallItalic: Pt,\n bodyXsmallRegular: At,\n bodyXsmallSemibold: Wt,\n headingLargeBold: Tt,\n headingLargeItalic: zt,\n headingLargeRegular: wt,\n headingLargeSemibold: Ut,\n headingMediumBold: Rt,\n headingMediumItalic: Mt,\n headingMediumRegular: Lt,\n headingMediumSemibold: Ot,\n headingSmallBold: Xt,\n headingSmallItalic: _t,\n headingSmallRegular: Vt,\n headingSmallSemibold: jt,\n headingXlargeBold: qt,\n headingXlargeItalic: Et,\n headingXlargeRegular: Gt,\n headingXlargeSemibold: Jt,\n headingXsmallBold: Kt,\n headingXsmallItalic: Nt,\n headingXsmallRegular: Qt,\n headingXsmallSemibold: Yt\n}, Zt = \"#d80090\", te = \"#fdf2f9\", ee = \"#8d005e\", oe = \"#f7cce9\", ne = \"#d80090\", ae = \"#fbe5f4\", re = \"#ad0073\", ce = \"#d80090\", ie = \"#c30082\", se = \"#7847ff\", le = \"#f8f6ff\", de = \"#7847ff\", fe = \"#e4daff\", me = \"#6039cc\", Se = \"#f1edff\", ue = \"#936cff\", ge = \"#ae91ff\", pe = \"#a07eff\", ve = \"#1a1b1b80\", be = \"#f1edff\", Be = \"#fff0\", ye = \"#f8f6ff\", $e = \"#fdfdfc\", ke = \"#f4f4f4\", he = \"#f1edff\", He = \"#d9d9d9\", Ce = \"#7847ff\", Fe = \"#a5a5a5\", De = \"#bfbfbf\", Ie = \"#b2b2b2\", xe = \"#7847ff\", Pe = \"#fff0\", Ae = \"#6039cc\", We = \"#e4daff\", Te = \"#fff0\", ze = \"#f1edff\", we = \"#4e2ea6\", Ue = \"#fdfdfc\", Re = \"#6039cc\", Me = \"#7847ff\", Le = \"#6c40e5\", Oe = \"#7847ff\", Xe = \"#6039cc\", _e = \"#e4daff\", Ve = \"#fdfdfc\", je = \"#f1edff\", qe = \"#e5e5e5\", Ee = \"#202020\", Ge = \"#d9d9d9\", Je = \"#f4f4f4\", Ke = \"#e5e5e5\", Ne = \"#fdfdfc\", Qe = \"#e5e5e5\", Ye = \"#f1edff\", Ze = \"#fff0\", to = \"#f8f6ff\", eo = \"#f8f6ff\", oo = \"#4e2ea6\", no = \"#404040\", ao = \"#6039cc\", ro = \"#6039cc\", co = \"#ffbe00\", io = \"#e4daff\", so = \"#7847ff\", lo = \"#fdfdfc\", fo = \"#6039cc\", mo = \"#7847ff\", So = \"#6c40e5\", uo = \"#d9d9d9\", go = \"#535353\", po = \"#f4f4f4\", vo = \"#fdfdfc\", bo = \"#f9f9f9\", Bo = \"#f2f7fd\", yo = \"#80b2eb\", $o = \"#00428c\", ko = \"#327c3f\", ho = \"#fdfdfc\", Ho = \"#3e9b4f\", Co = \"#327c3f\", Fo = \"#388b47\", Do = \"#a5a5a5\", Io = \"#404040\", xo = \"#f4f4f4\", Po = \"#fdfdfc\", Ao = \"#f9f9f9\", Wo = \"#f9f9f9\", To = \"#e5e5e5\", zo = \"#a5a5a5\", wo = \"#d9d9d9\", Uo = \"#b60000\", Ro = \"#fef2f2\", Mo = \"#b60000\", Lo = \"#f18080\", Oo = \"#940000\", Xo = \"#fdfdfc\", _o = \"#e40000\", Vo = \"#b60000\", jo = \"#cd0000\", qo = \"#0052ad\", Eo = \"#f2f7fd\", Go = \"#0052ad\", Jo = \"#80b2eb\", Ko = \"#00428c\", No = \"#fdfdfc\", Qo = \"#0066d8\", Yo = \"#0052ad\", Zo = \"#005cc2\", tn = \"#327c3f\", en = \"#f5faf6\", on = \"#327c3f\", nn = \"#9ecda7\", an = \"#286533\", rn = \"#fdfdfc\", cn = \"#3e9b4f\", sn = \"#327c3f\", ln = \"#388b47\", dn = \"#c26400\", fn = \"#fef8f2\", mn = \"#c26400\", Sn = \"#f9be80\", un = \"#9d5100\", gn = \"#fdfdfc\", pn = \"#f27d00\", vn = \"#c26400\", bn = \"#da7100\", Bn = \"#d2c2ffb2\", yn = \"#b60000\", $n = \"#fdfdfc\", kn = \"#fdfdfc\", hn = \"#f9f9f9\", Hn = \"#7f7f7f\", Cn = \"#a5a5a5\", Fn = \"#999\", Dn = \"#7847ff\", In = \"#202020\", xn = \"#666\", Pn = \"#535353\", An = \"#202020\", Wn = \"#327c3f\", Tn = \"#c26400\", zn = \"#fff\", wn = \"#fff0\", Un = \"#eae3ff\", Rn = \"#cebcff\", Mn = \"#fff\", Ln = \"#a7d9e2\", On = \"#e5e5e5\", Xn = \"#fff\", _n = \"#e5e5e5\", Vn = \"#3c2480\", jn = \"#6039cc\", qn = \"#4e2ea6\", En = \"#3c2480\", Gn = \"#535353\", Jn = \"#4e2ea6\", Kn = \"#3c2480\", Nn = \"#3c2480\", Qn = \"#7f7f7f\", Yn = \"#4e2ea6\", Zn = \"#202020\", ta = \"#f4f4f4\", ea = \"#202020\", oa = \"#bfbfbf\", na = \"#202020\", aa = \"#fdfdfc\", ra = \"#535353\", ca = \"#202020\", ia = \"#404040\", sa = \"#7847ff\", la = \"#fdfdfc\", da = \"#6039cc\", fa = \"#7847ff\", ma = \"#6c40e5\", Sa = \"#0000001a\", ua = \"#0003\", ga = \"#00000040\", pa = \"#00000040\", va = \"#202020\", ba = \"#535353\", Ba = \"#7f7f7f\", ya = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({\n __proto__: null,\n accent01BackgroundBasic: Zt,\n accent01BackgroundSubtle: te,\n accent01BorderBasic: ee,\n accent01BorderSubtle: oe,\n accent01ContentBasic: ne,\n accent01ContentSubtle: ae,\n accent01StateActive: re,\n accent01StateDefault: ce,\n accent01StateHover: ie,\n accent02BackgroundBasic: se,\n accent02BackgroundSubtle: le,\n accent02BorderBasic: de,\n accent02BorderSubtle: fe,\n accent02ContentBasic: me,\n accent02ContentSubtle: Se,\n accent02StateActive: ue,\n accent02StateDefault: ge,\n accent02StateHover: pe,\n backgroundBackdrop: ve,\n backgroundInteractiveStateActive: be,\n backgroundInteractiveStateDefault: Be,\n backgroundInteractiveStateHover: ye,\n backgroundPrimary: $e,\n backgroundSecondary: ke,\n backgroundTertiary: he,\n borderBasic: He,\n borderFocus: Ce,\n borderInteractiveStateActive: Fe,\n borderInteractiveStateDefault: De,\n borderInteractiveStateHover: Ie,\n borderInteractiveStateSelected: xe,\n componentButtonPlainBorder: Pe,\n componentButtonPlainContent: Ae,\n componentButtonPlainStateActive: We,\n componentButtonPlainStateDefault: Te,\n componentButtonPlainStateHover: ze,\n componentButtonPrimaryBorder: we,\n componentButtonPrimaryContent: Ue,\n componentButtonPrimaryStateActive: Re,\n componentButtonPrimaryStateDefault: Me,\n componentButtonPrimaryStateHover: Le,\n componentButtonSecondaryBorder: Oe,\n componentButtonSecondaryContent: Xe,\n componentButtonSecondaryStateActive: _e,\n componentButtonSecondaryStateDefault: Ve,\n componentButtonSecondaryStateHover: je,\n componentButtonTertiaryBorder: qe,\n componentButtonTertiaryContent: Ee,\n componentButtonTertiaryStateActive: Ge,\n componentButtonTertiaryStateDefault: Je,\n componentButtonTertiaryStateHover: Ke,\n componentHeaderBackground: Ne,\n componentHeaderBorder: Qe,\n componentHeaderItemBackgroundStateActive: Ye,\n componentHeaderItemBackgroundStateDefault: Ze,\n componentHeaderItemBackgroundStateHover: to,\n componentHeaderItemBackgroundStateSelected: eo,\n componentHeaderItemStateActive: oo,\n componentHeaderItemStateDefault: no,\n componentHeaderItemStateHover: ao,\n componentHeaderItemStateSelected: ro,\n componentHeaderStripeStateSelected: co,\n componentHeaderStripeStateUnselected: io,\n componentPaginationSelectedBorder: so,\n componentPaginationSelectedContent: lo,\n componentPaginationSelectedStateActive: fo,\n componentPaginationSelectedStateDefault: mo,\n componentPaginationSelectedStateHover: So,\n componentPaginationUnselectedBorder: uo,\n componentPaginationUnselectedContent: go,\n componentPaginationUnselectedStateActive: po,\n componentPaginationUnselectedStateDefault: vo,\n componentPaginationUnselectedStateHover: bo,\n componentPricingBoxBackground: Bo,\n componentPricingBoxBorder: yo,\n componentPricingBoxContent: $o,\n componentToggleSelectedBorder: ko,\n componentToggleSelectedContent: ho,\n componentToggleSelectedStateActive: Ho,\n componentToggleSelectedStateDefault: Co,\n componentToggleSelectedStateHover: Fo,\n componentToggleUnselectedBorder: Do,\n componentToggleUnselectedContent: Io,\n componentToggleUnselectedStateActive: xo,\n componentToggleUnselectedStateDefault: Po,\n componentToggleUnselectedStateHover: Ao,\n disabledBackground: Wo,\n disabledBorder: To,\n disabledContent: zo,\n disabledForeground: wo,\n emotionDangerBackgroundBasic: Uo,\n emotionDangerBackgroundSubtle: Ro,\n emotionDangerBorderBasic: Mo,\n emotionDangerBorderSubtle: Lo,\n emotionDangerContentBasic: Oo,\n emotionDangerContentSubtle: Xo,\n emotionDangerStateActive: _o,\n emotionDangerStateDefault: Vo,\n emotionDangerStateHover: jo,\n emotionInformativeBackgroundBasic: qo,\n emotionInformativeBackgroundSubtle: Eo,\n emotionInformativeBorderBasic: Go,\n emotionInformativeBorderSubtle: Jo,\n emotionInformativeContentBasic: Ko,\n emotionInformativeContentSubtle: No,\n emotionInformativeStateActive: Qo,\n emotionInformativeStateDefault: Yo,\n emotionInformativeStateHover: Zo,\n emotionSuccessBackgroundBasic: tn,\n emotionSuccessBackgroundSubtle: en,\n emotionSuccessBorderBasic: on,\n emotionSuccessBorderSubtle: nn,\n emotionSuccessContentBasic: an,\n emotionSuccessContentSubtle: rn,\n emotionSuccessStateActive: cn,\n emotionSuccessStateDefault: sn,\n emotionSuccessStateHover: ln,\n emotionWarningBackgroundBasic: dn,\n emotionWarningBackgroundSubtle: fn,\n emotionWarningBorderBasic: mn,\n emotionWarningBorderSubtle: Sn,\n emotionWarningContentBasic: un,\n emotionWarningContentSubtle: gn,\n emotionWarningStateActive: pn,\n emotionWarningStateDefault: vn,\n emotionWarningStateHover: bn,\n focusFocusRingColor01: Bn,\n formFieldDanger: yn,\n formFieldFilledBackgroundStateActive: $n,\n formFieldFilledBackgroundStateDefault: kn,\n formFieldFilledBackgroundStateHover: hn,\n formFieldFilledBorderStateActive: Hn,\n formFieldFilledBorderStateDefault: Cn,\n formFieldFilledBorderStateHover: Fn,\n formFieldFilledBorderStateSelected: Dn,\n formFieldFilledContent: In,\n formFieldFilledPlaceholder: xn,\n formFieldHelperText: Pn,\n formFieldLabel: An,\n formFieldSuccess: Wn,\n formFieldWarning: Tn,\n gradientBasicOverlayColor01: zn,\n gradientBasicOverlayColor02: wn,\n gradientPrimaryColor01: Un,\n gradientPrimaryColor02: Rn,\n gradientSecondaryColor01: Mn,\n gradientSecondaryColor02: Ln,\n gradientSkeletonColor01: On,\n gradientSkeletonColor02: Xn,\n gradientSkeletonColor03: _n,\n linkPrimaryStateActive: Vn,\n linkPrimaryStateDefault: jn,\n linkPrimaryStateHover: qn,\n linkSecondaryStateActive: En,\n linkSecondaryStateDefault: Gn,\n linkSecondaryStateHover: Jn,\n linkStateVisited: Kn,\n linkTertiaryStateActive: Nn,\n linkTertiaryStateDefault: Qn,\n linkTertiaryStateHover: Yn,\n neutralBackgroundBasic: Zn,\n neutralBackgroundSubtle: ta,\n neutralBorderBasic: ea,\n neutralBorderSubtle: oa,\n neutralContentBasic: na,\n neutralContentSubtle: aa,\n neutralStateActive: ra,\n neutralStateDefault: ca,\n neutralStateHover: ia,\n selectedContentBasic: sa,\n selectedContentSubtle: la,\n selectedStateActive: da,\n selectedStateDefault: fa,\n selectedStateHover: ma,\n shadowShadow100Color01: Sa,\n shadowShadow200Color01: ua,\n shadowShadow300Color01: ga,\n shadowShadow400Color01: pa,\n textPrimary: va,\n textSecondary: ba,\n textTertiary: Ba\n}, Symbol.toStringTag, { value: \"Module\" })), $a = \"#d80090\", ka = \"#fdf2f9\", ha = \"#8d005e\", Ha = \"#f7cce9\", Ca = \"#d80090\", Fa = \"#fbe5f4\", Da = \"#ad0073\", Ia = \"#d80090\", xa = \"#c30082\", Pa = \"#7847ff\", Aa = \"#f8f6ff\", Wa = \"#7847ff\", Ta = \"#e4daff\", za = \"#6039cc\", wa = \"#f1edff\", Ua = \"#936cff\", Ra = \"#ae91ff\", Ma = \"#a07eff\", La = \"#1a1b1b80\", Oa = \"#ffffff1a\", Xa = \"#fff0\", _a = \"#ffffff0d\", Va = \"#6039cc\", ja = \"#3c2480\", qa = \"#1e1240\", Ea = \"#a07eff\", Ga = \"#1e1240\", Ja = \"#bba3ff\", Ka = \"#a07eff\", Na = \"#ae91ff\", Qa = \"#ffbe00\", Ya = \"#fff0\", Za = \"#fff\", tr = \"#ffffff26\", er = \"#fff0\", or = \"#ffffff1a\", nr = \"#1e1240\", ar = \"#3c2480\", rr = \"#e4daff\", cr = \"#fff\", ir = \"#f1edff\", sr = \"#f8f6ff\", lr = \"#fff\", dr = \"#1a1b1b26\", fr = \"#1a1b1b00\", mr = \"#1a1b1b1a\", Sr = \"#1a1b1b00\", ur = \"#fff\", gr = \"#1a1b1b4d\", pr = \"#1a1b1b33\", vr = \"#1a1b1b40\", br = \"#6039cc\", Br = \"#936cff\", yr = \"#1a1b1b26\", $r = \"#fff0\", kr = \"#1a1b1b1a\", hr = \"#4e2ea6\", Hr = \"#e5e5e5\", Cr = \"#fff\", Fr = \"#f2f2f2\", Dr = \"#fff\", Ir = \"#fff\", xr = \"#ffffff40\", Pr = \"#fff\", Ar = \"#6039cc\", Wr = \"#c9b5ff\", Tr = \"#f8f6ff\", zr = \"#e4daff\", wr = \"#f8f6ff\", Ur = \"#f8f6ff\", Rr = \"#7847ff\", Mr = \"#6039cc\", Lr = \"#6c40e5\", Or = \"#4e2ea6\", Xr = \"#e4daff\", _r = \"#ffcb33\", Vr = \"#a07eff\", jr = \"#fff\", qr = \"#3e9b4f\", Er = \"#327c3f\", Gr = \"#388b47\", Jr = \"#a07eff\", Kr = \"#4e2ea6\", Nr = \"#e4daff\", Qr = \"#fff\", Yr = \"#f1edff\", Zr = \"#ffffff1a\", tc = \"#fff3\", ec = \"#ffffff80\", oc = \"#fff3\", nc = \"#e40000\", ac = \"#fce5e5\", rc = \"#e93333\", cc = \"#ef6666\", ic = \"#720000\", sc = \"#fff\", lc = \"#ec4d4d\", dc = \"#e40000\", fc = \"#e93333\", mc = \"#0066d8\", Sc = \"#e5f0fb\", uc = \"#3385e0\", gc = \"#66a3e8\", pc = \"#00336c\", vc = \"#fff\", bc = \"#4d94e4\", Bc = \"#0066d8\", yc = \"#3385e0\", $c = \"#3e9b4f\", kc = \"#ecf5ed\", hc = \"#65af72\", Hc = \"#8bc395\", Cc = \"#1f4e28\", Fc = \"#fff\", Dc = \"#78b984\", Ic = \"#3e9b4f\", xc = \"#65af72\", Pc = \"#f27d00\", Ac = \"#fef2e5\", Wc = \"#f59733\", Tc = \"#f7b166\", zc = \"#793f00\", wc = \"#fff\", Uc = \"#f6a44d\", Rc = \"#f27d00\", Mc = \"#f59733\", Lc = \"#d2c2ffb2\", Oc = \"#ec4d4d\", Xc = \"#fff\", _c = \"#f9f9f9\", Vc = \"#f1edff\", jc = \"#936cff\", qc = \"#ae91ff\", Ec = \"#a07eff\", Gc = \"#ffbe00\", Jc = \"#202020\", Kc = \"#666\", Nc = \"#c9b5ff\", Qc = \"#fff\", Yc = \"#78b984\", Zc = \"#f6a44d\", ti = \"#606060\", ei = \"#60606000\", oi = \"#7847ff\", ni = \"#482b99\", ai = \"#35818e\", ri = \"#482b99\", ci = \"#6c40e5\", ii = \"#936cff\", si = \"#6c40e5\", li = \"#e5e5e5\", di = \"#fff\", fi = \"#f2f2f2\", mi = \"#e5e5e5\", Si = \"#d6c8ff\", ui = \"#f2f2f2\", gi = \"#ffbe00\", pi = \"#e5e5e5\", vi = \"#bba3ff\", bi = \"#f2f2f2\", Bi = \"#202020\", yi = \"#f2f2f2\", $i = \"#202020\", ki = \"#bfbfbf\", hi = \"#202020\", Hi = \"#fff\", Ci = \"#535353\", Fi = \"#202020\", Di = \"#404040\", Ii = \"#fff\", xi = \"#3c2480\", Pi = \"#ffd24d\", Ai = \"#ffbe00\", Wi = \"#ffcb33\", Ti = \"#00000026\", zi = \"#0003\", wi = \"#00000040\", Ui = \"#00000040\", Ri = \"#f9f9f9\", Mi = \"#d9d9d9\", Li = \"#b2b2b2\", Oi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({\n __proto__: null,\n accent01BackgroundBasic: $a,\n accent01BackgroundSubtle: ka,\n accent01BorderBasic: ha,\n accent01BorderSubtle: Ha,\n accent01ContentBasic: Ca,\n accent01ContentSubtle: Fa,\n accent01StateActive: Da,\n accent01StateDefault: Ia,\n accent01StateHover: xa,\n accent02BackgroundBasic: Pa,\n accent02BackgroundSubtle: Aa,\n accent02BorderBasic: Wa,\n accent02BorderSubtle: Ta,\n accent02ContentBasic: za,\n accent02ContentSubtle: wa,\n accent02StateActive: Ua,\n accent02StateDefault: Ra,\n accent02StateHover: Ma,\n backgroundBackdrop: La,\n backgroundInteractiveStateActive: Oa,\n backgroundInteractiveStateDefault: Xa,\n backgroundInteractiveStateHover: _a,\n backgroundPrimary: Va,\n backgroundSecondary: ja,\n backgroundTertiary: qa,\n borderBasic: Ea,\n borderFocus: Ga,\n borderInteractiveStateActive: Ja,\n borderInteractiveStateDefault: Ka,\n borderInteractiveStateHover: Na,\n borderInteractiveStateSelected: Qa,\n componentButtonPlainBorder: Ya,\n componentButtonPlainContent: Za,\n componentButtonPlainStateActive: tr,\n componentButtonPlainStateDefault: er,\n componentButtonPlainStateHover: or,\n componentButtonPrimaryBorder: nr,\n componentButtonPrimaryContent: ar,\n componentButtonPrimaryStateActive: rr,\n componentButtonPrimaryStateDefault: cr,\n componentButtonPrimaryStateHover: ir,\n componentButtonSecondaryBorder: sr,\n componentButtonSecondaryContent: lr,\n componentButtonSecondaryStateActive: dr,\n componentButtonSecondaryStateDefault: fr,\n componentButtonSecondaryStateHover: mr,\n componentButtonTertiaryBorder: Sr,\n componentButtonTertiaryContent: ur,\n componentButtonTertiaryStateActive: gr,\n componentButtonTertiaryStateDefault: pr,\n componentButtonTertiaryStateHover: vr,\n componentHeaderBackground: br,\n componentHeaderBorder: Br,\n componentHeaderItemBackgroundStateActive: yr,\n componentHeaderItemBackgroundStateDefault: $r,\n componentHeaderItemBackgroundStateHover: kr,\n componentHeaderItemBackgroundStateSelected: hr,\n componentHeaderItemStateActive: Hr,\n componentHeaderItemStateDefault: Cr,\n componentHeaderItemStateHover: Fr,\n componentHeaderItemStateSelected: Dr,\n componentHeaderStripeStateSelected: Ir,\n componentHeaderStripeStateUnselected: xr,\n componentPaginationSelectedBorder: Pr,\n componentPaginationSelectedContent: Ar,\n componentPaginationSelectedStateActive: Wr,\n componentPaginationSelectedStateDefault: Tr,\n componentPaginationSelectedStateHover: zr,\n componentPaginationUnselectedBorder: wr,\n componentPaginationUnselectedContent: Ur,\n componentPaginationUnselectedStateActive: Rr,\n componentPaginationUnselectedStateDefault: Mr,\n componentPaginationUnselectedStateHover: Lr,\n componentPricingBoxBackground: Or,\n componentPricingBoxBorder: Xr,\n componentPricingBoxContent: _r,\n componentToggleSelectedBorder: Vr,\n componentToggleSelectedContent: jr,\n componentToggleSelectedStateActive: qr,\n componentToggleSelectedStateDefault: Er,\n componentToggleSelectedStateHover: Gr,\n componentToggleUnselectedBorder: Jr,\n componentToggleUnselectedContent: Kr,\n componentToggleUnselectedStateActive: Nr,\n componentToggleUnselectedStateDefault: Qr,\n componentToggleUnselectedStateHover: Yr,\n disabledBackground: Zr,\n disabledBorder: tc,\n disabledContent: ec,\n disabledForeground: oc,\n emotionDangerBackgroundBasic: nc,\n emotionDangerBackgroundSubtle: ac,\n emotionDangerBorderBasic: rc,\n emotionDangerBorderSubtle: cc,\n emotionDangerContentBasic: ic,\n emotionDangerContentSubtle: sc,\n emotionDangerStateActive: lc,\n emotionDangerStateDefault: dc,\n emotionDangerStateHover: fc,\n emotionInformativeBackgroundBasic: mc,\n emotionInformativeBackgroundSubtle: Sc,\n emotionInformativeBorderBasic: uc,\n emotionInformativeBorderSubtle: gc,\n emotionInformativeContentBasic: pc,\n emotionInformativeContentSubtle: vc,\n emotionInformativeStateActive: bc,\n emotionInformativeStateDefault: Bc,\n emotionInformativeStateHover: yc,\n emotionSuccessBackgroundBasic: $c,\n emotionSuccessBackgroundSubtle: kc,\n emotionSuccessBorderBasic: hc,\n emotionSuccessBorderSubtle: Hc,\n emotionSuccessContentBasic: Cc,\n emotionSuccessContentSubtle: Fc,\n emotionSuccessStateActive: Dc,\n emotionSuccessStateDefault: Ic,\n emotionSuccessStateHover: xc,\n emotionWarningBackgroundBasic: Pc,\n emotionWarningBackgroundSubtle: Ac,\n emotionWarningBorderBasic: Wc,\n emotionWarningBorderSubtle: Tc,\n emotionWarningContentBasic: zc,\n emotionWarningContentSubtle: wc,\n emotionWarningStateActive: Uc,\n emotionWarningStateDefault: Rc,\n emotionWarningStateHover: Mc,\n focusFocusRingColor01: Lc,\n formFieldDanger: Oc,\n formFieldFilledBackgroundStateActive: Xc,\n formFieldFilledBackgroundStateDefault: _c,\n formFieldFilledBackgroundStateHover: Vc,\n formFieldFilledBorderStateActive: jc,\n formFieldFilledBorderStateDefault: qc,\n formFieldFilledBorderStateHover: Ec,\n formFieldFilledBorderStateSelected: Gc,\n formFieldFilledContent: Jc,\n formFieldFilledPlaceholder: Kc,\n formFieldHelperText: Nc,\n formFieldLabel: Qc,\n formFieldSuccess: Yc,\n formFieldWarning: Zc,\n gradientBasicOverlayColor01: ti,\n gradientBasicOverlayColor02: ei,\n gradientPrimaryColor01: oi,\n gradientPrimaryColor02: ni,\n gradientSecondaryColor01: ai,\n gradientSecondaryColor02: ri,\n gradientSkeletonColor01: ci,\n gradientSkeletonColor02: ii,\n gradientSkeletonColor03: si,\n linkPrimaryStateActive: li,\n linkPrimaryStateDefault: di,\n linkPrimaryStateHover: fi,\n linkSecondaryStateActive: mi,\n linkSecondaryStateDefault: Si,\n linkSecondaryStateHover: ui,\n linkStateVisited: gi,\n linkTertiaryStateActive: pi,\n linkTertiaryStateDefault: vi,\n linkTertiaryStateHover: bi,\n neutralBackgroundBasic: Bi,\n neutralBackgroundSubtle: yi,\n neutralBorderBasic: $i,\n neutralBorderSubtle: ki,\n neutralContentBasic: hi,\n neutralContentSubtle: Hi,\n neutralStateActive: Ci,\n neutralStateDefault: Fi,\n neutralStateHover: Di,\n selectedContentBasic: Ii,\n selectedContentSubtle: xi,\n selectedStateActive: Pi,\n selectedStateDefault: Ai,\n selectedStateHover: Wi,\n shadowShadow100Color01: Ti,\n shadowShadow200Color01: zi,\n shadowShadow300Color01: wi,\n shadowShadow400Color01: Ui,\n textPrimary: Ri,\n textSecondary: Mi,\n textTertiary: Li\n}, Symbol.toStringTag, { value: \"Module\" })), Xi = \"var(--spirit-color-accent-01-background-basic)\", _i = \"var(--spirit-color-accent-01-background-subtle)\", Vi = \"var(--spirit-color-accent-01-border-basic)\", ji = \"var(--spirit-color-accent-01-border-subtle)\", qi = \"var(--spirit-color-accent-01-content-basic)\", Ei = \"var(--spirit-color-accent-01-content-subtle)\", Gi = \"var(--spirit-color-accent-01-state-active)\", Ji = \"var(--spirit-color-accent-01-state-default)\", Ki = \"var(--spirit-color-accent-01-state-hover)\", Ni = \"var(--spirit-color-accent-02-background-basic)\", Qi = \"var(--spirit-color-accent-02-background-subtle)\", Yi = \"var(--spirit-color-accent-02-border-basic)\", Zi = \"var(--spirit-color-accent-02-border-subtle)\", ts = \"var(--spirit-color-accent-02-content-basic)\", es = \"var(--spirit-color-accent-02-content-subtle)\", os = \"var(--spirit-color-accent-02-state-active)\", ns = \"var(--spirit-color-accent-02-state-default)\", as = \"var(--spirit-color-accent-02-state-hover)\", rs = \"var(--spirit-color-background-backdrop)\", cs = \"var(--spirit-color-background-interactive-state-active)\", is = \"var(--spirit-color-background-interactive-state-default)\", ss = \"var(--spirit-color-background-interactive-state-hover)\", ls = \"var(--spirit-color-background-primary)\", ds = \"var(--spirit-color-background-secondary)\", fs = \"var(--spirit-color-background-tertiary)\", ms = \"var(--spirit-color-border-basic)\", Ss = \"var(--spirit-color-border-focus)\", us = \"var(--spirit-color-border-interactive-state-active)\", gs = \"var(--spirit-color-border-interactive-state-default)\", ps = \"var(--spirit-color-border-interactive-state-hover)\", vs = \"var(--spirit-color-border-interactive-state-selected)\", bs = \"var(--spirit-color-component-button-plain-border)\", Bs = \"var(--spirit-color-component-button-plain-content)\", ys = \"var(--spirit-color-component-button-plain-state-active)\", $s = \"var(--spirit-color-component-button-plain-state-default)\", ks = \"var(--spirit-color-component-button-plain-state-hover)\", hs = \"var(--spirit-color-component-button-primary-border)\", Hs = \"var(--spirit-color-component-button-primary-content)\", Cs = \"var(--spirit-color-component-button-primary-state-active)\", Fs = \"var(--spirit-color-component-button-primary-state-default)\", Ds = \"var(--spirit-color-component-button-primary-state-hover)\", Is = \"var(--spirit-color-component-button-secondary-border)\", xs = \"var(--spirit-color-component-button-secondary-content)\", Ps = \"var(--spirit-color-component-button-secondary-state-active)\", As = \"var(--spirit-color-component-button-secondary-state-default)\", Ws = \"var(--spirit-color-component-button-secondary-state-hover)\", Ts = \"var(--spirit-color-component-button-tertiary-border)\", zs = \"var(--spirit-color-component-button-tertiary-content)\", ws = \"var(--spirit-color-component-button-tertiary-state-active)\", Us = \"var(--spirit-color-component-button-tertiary-state-default)\", Rs = \"var(--spirit-color-component-button-tertiary-state-hover)\", Ms = \"var(--spirit-color-component-header-background)\", Ls = \"var(--spirit-color-component-header-border)\", Os = \"var(--spirit-color-component-header-item-background-state-active)\", Xs = \"var(--spirit-color-component-header-item-background-state-default)\", _s = \"var(--spirit-color-component-header-item-background-state-hover)\", Vs = \"var(--spirit-color-component-header-item-background-state-selected)\", js = \"var(--spirit-color-component-header-item-state-active)\", qs = \"var(--spirit-color-component-header-item-state-default)\", Es = \"var(--spirit-color-component-header-item-state-hover)\", Gs = \"var(--spirit-color-component-header-item-state-selected)\", Js = \"var(--spirit-color-component-header-stripe-state-selected)\", Ks = \"var(--spirit-color-component-header-stripe-state-unselected)\", Ns = \"var(--spirit-color-component-pagination-selected-border)\", Qs = \"var(--spirit-color-component-pagination-selected-content)\", Ys = \"var(--spirit-color-component-pagination-selected-state-active)\", Zs = \"var(--spirit-color-component-pagination-selected-state-default)\", tl = \"var(--spirit-color-component-pagination-selected-state-hover)\", el = \"var(--spirit-color-component-pagination-unselected-border)\", ol = \"var(--spirit-color-component-pagination-unselected-content)\", nl = \"var(--spirit-color-component-pagination-unselected-state-active)\", al = \"var(--spirit-color-component-pagination-unselected-state-default)\", rl = \"var(--spirit-color-component-pagination-unselected-state-hover)\", cl = \"var(--spirit-color-component-pricing-box-background)\", il = \"var(--spirit-color-component-pricing-box-border)\", sl = \"var(--spirit-color-component-pricing-box-content)\", ll = \"var(--spirit-color-component-toggle-selected-border)\", dl = \"var(--spirit-color-component-toggle-selected-content)\", fl = \"var(--spirit-color-component-toggle-selected-state-active)\", ml = \"var(--spirit-color-component-toggle-selected-state-default)\", Sl = \"var(--spirit-color-component-toggle-selected-state-hover)\", ul = \"var(--spirit-color-component-toggle-unselected-border)\", gl = \"var(--spirit-color-component-toggle-unselected-content)\", pl = \"var(--spirit-color-component-toggle-unselected-state-active)\", vl = \"var(--spirit-color-component-toggle-unselected-state-default)\", bl = \"var(--spirit-color-component-toggle-unselected-state-hover)\", Bl = \"var(--spirit-color-disabled-background)\", yl = \"var(--spirit-color-disabled-border)\", $l = \"var(--spirit-color-disabled-content)\", kl = \"var(--spirit-color-disabled-foreground)\", hl = \"var(--spirit-color-emotion-danger-background-basic)\", Hl = \"var(--spirit-color-emotion-danger-background-subtle)\", Cl = \"var(--spirit-color-emotion-danger-border-basic)\", Fl = \"var(--spirit-color-emotion-danger-border-subtle)\", Dl = \"var(--spirit-color-emotion-danger-content-basic)\", Il = \"var(--spirit-color-emotion-danger-content-subtle)\", xl = \"var(--spirit-color-emotion-danger-state-active)\", Pl = \"var(--spirit-color-emotion-danger-state-default)\", Al = \"var(--spirit-color-emotion-danger-state-hover)\", Wl = \"var(--spirit-color-emotion-informative-background-basic)\", Tl = \"var(--spirit-color-emotion-informative-background-subtle)\", zl = \"var(--spirit-color-emotion-informative-border-basic)\", wl = \"var(--spirit-color-emotion-informative-border-subtle)\", Ul = \"var(--spirit-color-emotion-informative-content-basic)\", Rl = \"var(--spirit-color-emotion-informative-content-subtle)\", Ml = \"var(--spirit-color-emotion-informative-state-active)\", Ll = \"var(--spirit-color-emotion-informative-state-default)\", Ol = \"var(--spirit-color-emotion-informative-state-hover)\", Xl = \"var(--spirit-color-emotion-success-background-basic)\", _l = \"var(--spirit-color-emotion-success-background-subtle)\", Vl = \"var(--spirit-color-emotion-success-border-basic)\", jl = \"var(--spirit-color-emotion-success-border-subtle)\", ql = \"var(--spirit-color-emotion-success-content-basic)\", El = \"var(--spirit-color-emotion-success-content-subtle)\", Gl = \"var(--spirit-color-emotion-success-state-active)\", Jl = \"var(--spirit-color-emotion-success-state-default)\", Kl = \"var(--spirit-color-emotion-success-state-hover)\", Nl = \"var(--spirit-color-emotion-warning-background-basic)\", Ql = \"var(--spirit-color-emotion-warning-background-subtle)\", Yl = \"var(--spirit-color-emotion-warning-border-basic)\", Zl = \"var(--spirit-color-emotion-warning-border-subtle)\", td = \"var(--spirit-color-emotion-warning-content-basic)\", ed = \"var(--spirit-color-emotion-warning-content-subtle)\", od = \"var(--spirit-color-emotion-warning-state-active)\", nd = \"var(--spirit-color-emotion-warning-state-default)\", ad = \"var(--spirit-color-emotion-warning-state-hover)\", rd = \"var(--spirit-color-focus-focus-ring-color-01)\", cd = \"var(--spirit-color-form-field-danger)\", id = \"var(--spirit-color-form-field-filled-background-state-active)\", sd = \"var(--spirit-color-form-field-filled-background-state-default)\", ld = \"var(--spirit-color-form-field-filled-background-state-hover)\", dd = \"var(--spirit-color-form-field-filled-border-state-active)\", fd = \"var(--spirit-color-form-field-filled-border-state-default)\", md = \"var(--spirit-color-form-field-filled-border-state-hover)\", Sd = \"var(--spirit-color-form-field-filled-border-state-selected)\", ud = \"var(--spirit-color-form-field-filled-content)\", gd = \"var(--spirit-color-form-field-filled-placeholder)\", pd = \"var(--spirit-color-form-field-helper-text)\", vd = \"var(--spirit-color-form-field-label)\", bd = \"var(--spirit-color-form-field-success)\", Bd = \"var(--spirit-color-form-field-warning)\", yd = \"var(--spirit-color-gradient-basic-overlay-color-01)\", $d = \"var(--spirit-color-gradient-basic-overlay-color-02)\", kd = \"var(--spirit-color-gradient-primary-color-01)\", hd = \"var(--spirit-color-gradient-primary-color-02)\", Hd = \"var(--spirit-color-gradient-secondary-color-01)\", Cd = \"var(--spirit-color-gradient-secondary-color-02)\", Fd = \"var(--spirit-color-gradient-skeleton-color-01)\", Dd = \"var(--spirit-color-gradient-skeleton-color-02)\", Id = \"var(--spirit-color-gradient-skeleton-color-03)\", xd = \"var(--spirit-color-link-primary-state-active)\", Pd = \"var(--spirit-color-link-primary-state-default)\", Ad = \"var(--spirit-color-link-primary-state-hover)\", Wd = \"var(--spirit-color-link-secondary-state-active)\", Td = \"var(--spirit-color-link-secondary-state-default)\", zd = \"var(--spirit-color-link-secondary-state-hover)\", wd = \"var(--spirit-color-link-state-visited)\", Ud = \"var(--spirit-color-link-tertiary-state-active)\", Rd = \"var(--spirit-color-link-tertiary-state-default)\", Md = \"var(--spirit-color-link-tertiary-state-hover)\", Ld = \"var(--spirit-color-neutral-background-basic)\", Od = \"var(--spirit-color-neutral-background-subtle)\", Xd = \"var(--spirit-color-neutral-border-basic)\", _d = \"var(--spirit-color-neutral-border-subtle)\", Vd = \"var(--spirit-color-neutral-content-basic)\", jd = \"var(--spirit-color-neutral-content-subtle)\", qd = \"var(--spirit-color-neutral-state-active)\", Ed = \"var(--spirit-color-neutral-state-default)\", Gd = \"var(--spirit-color-neutral-state-hover)\", Jd = \"var(--spirit-color-selected-content-basic)\", Kd = \"var(--spirit-color-selected-content-subtle)\", Nd = \"var(--spirit-color-selected-state-active)\", Qd = \"var(--spirit-color-selected-state-default)\", Yd = \"var(--spirit-color-selected-state-hover)\", Zd = \"var(--spirit-color-shadow-shadow-100-color-01)\", tf = \"var(--spirit-color-shadow-shadow-200-color-01)\", ef = \"var(--spirit-color-shadow-shadow-300-color-01)\", of = \"var(--spirit-color-shadow-shadow-400-color-01)\", nf = \"var(--spirit-color-text-primary)\", af = \"var(--spirit-color-text-secondary)\", rf = \"var(--spirit-color-text-tertiary)\", cf = {\n \"01\": {\n backgroundBasic: Xi,\n backgroundSubtle: _i,\n borderBasic: Vi,\n borderSubtle: ji,\n contentBasic: qi,\n contentSubtle: Ei,\n stateActive: Gi,\n stateDefault: Ji,\n stateHover: Ki\n },\n \"02\": {\n backgroundBasic: Ni,\n backgroundSubtle: Qi,\n borderBasic: Yi,\n borderSubtle: Zi,\n contentBasic: ts,\n contentSubtle: es,\n stateActive: os,\n stateDefault: ns,\n stateHover: as\n }\n}, sf = {\n backdrop: rs,\n interactive: {\n stateActive: cs,\n stateDefault: is,\n stateHover: ss\n },\n primary: ls,\n secondary: ds,\n tertiary: fs\n}, lf = {\n basic: ms,\n focus: Ss,\n interactive: {\n stateActive: us,\n stateDefault: gs,\n stateHover: ps,\n stateSelected: vs\n }\n}, df = {\n button: {\n plain: {\n border: bs,\n content: Bs,\n stateActive: ys,\n stateDefault: $s,\n stateHover: ks\n },\n primary: {\n border: hs,\n content: Hs,\n stateActive: Cs,\n stateDefault: Fs,\n stateHover: Ds\n },\n secondary: {\n border: Is,\n content: xs,\n stateActive: Ps,\n stateDefault: As,\n stateHover: Ws\n },\n tertiary: {\n border: Ts,\n content: zs,\n stateActive: ws,\n stateDefault: Us,\n stateHover: Rs\n }\n },\n header: {\n background: Ms,\n border: Ls,\n itemBackgroundStateActive: Os,\n itemBackgroundStateDefault: Xs,\n itemBackgroundStateHover: _s,\n itemBackgroundStateSelected: Vs,\n itemStateActive: js,\n itemStateDefault: qs,\n itemStateHover: Es,\n itemStateSelected: Gs,\n stripeStateSelected: Js,\n stripeStateUnselected: Ks\n },\n pagination: {\n selectedBorder: Ns,\n selectedContent: Qs,\n selectedStateActive: Ys,\n selectedStateDefault: Zs,\n selectedStateHover: tl,\n unselectedBorder: el,\n unselectedContent: ol,\n unselectedStateActive: nl,\n unselectedStateDefault: al,\n unselectedStateHover: rl\n },\n pricingBox: {\n background: cl,\n border: il,\n content: sl\n },\n toggle: {\n selectedBorder: ll,\n selectedContent: dl,\n selectedStateActive: fl,\n selectedStateDefault: ml,\n selectedStateHover: Sl,\n unselectedBorder: ul,\n unselectedContent: gl,\n unselectedStateActive: pl,\n unselectedStateDefault: vl,\n unselectedStateHover: bl\n }\n}, ff = {\n background: Bl,\n border: yl,\n content: $l,\n foreground: kl\n}, mf = {\n danger: {\n backgroundBasic: hl,\n backgroundSubtle: Hl,\n borderBasic: Cl,\n borderSubtle: Fl,\n contentBasic: Dl,\n contentSubtle: Il,\n stateActive: xl,\n stateDefault: Pl,\n stateHover: Al\n },\n informative: {\n backgroundBasic: Wl,\n backgroundSubtle: Tl,\n borderBasic: zl,\n borderSubtle: wl,\n contentBasic: Ul,\n contentSubtle: Rl,\n stateActive: Ml,\n stateDefault: Ll,\n stateHover: Ol\n },\n success: {\n backgroundBasic: Xl,\n backgroundSubtle: _l,\n borderBasic: Vl,\n borderSubtle: jl,\n contentBasic: ql,\n contentSubtle: El,\n stateActive: Gl,\n stateDefault: Jl,\n stateHover: Kl\n },\n warning: {\n backgroundBasic: Nl,\n backgroundSubtle: Ql,\n borderBasic: Yl,\n borderSubtle: Zl,\n contentBasic: td,\n contentSubtle: ed,\n stateActive: od,\n stateDefault: nd,\n stateHover: ad\n }\n}, Sf = {\n focusRing: {\n color01: rd\n }\n}, uf = {\n danger: cd,\n filled: {\n backgroundStateActive: id,\n backgroundStateDefault: sd,\n backgroundStateHover: ld,\n borderStateActive: dd,\n borderStateDefault: fd,\n borderStateHover: md,\n borderStateSelected: Sd,\n content: ud,\n placeholder: gd\n },\n helperText: pd,\n label: vd,\n success: bd,\n warning: Bd\n}, gf = {\n basicOverlay: {\n color01: yd,\n color02: $d\n },\n primary: {\n color01: kd,\n color02: hd\n },\n secondary: {\n color01: Hd,\n color02: Cd\n },\n skeleton: {\n color01: Fd,\n color02: Dd,\n color03: Id\n }\n}, pf = {\n primary: {\n stateActive: xd,\n stateDefault: Pd,\n stateHover: Ad\n },\n secondary: {\n stateActive: Wd,\n stateDefault: Td,\n stateHover: zd\n },\n stateVisited: wd,\n tertiary: {\n stateActive: Ud,\n stateDefault: Rd,\n stateHover: Md\n }\n}, vf = {\n backgroundBasic: Ld,\n backgroundSubtle: Od,\n borderBasic: Xd,\n borderSubtle: _d,\n contentBasic: Vd,\n contentSubtle: jd,\n stateActive: qd,\n stateDefault: Ed,\n stateHover: Gd\n}, bf = {\n contentBasic: Jd,\n contentSubtle: Kd,\n stateActive: Nd,\n stateDefault: Qd,\n stateHover: Yd\n}, Bf = {\n shadow100: {\n color01: Zd\n },\n shadow200: {\n color01: tf\n },\n shadow300: {\n color01: ef\n },\n shadow400: {\n color01: of\n }\n}, yf = {\n primary: nf,\n secondary: af,\n tertiary: rf\n}, Rf = {\n accent: cf,\n background: sf,\n border: lf,\n component: df,\n disabled: ff,\n emotion: mf,\n focus: Sf,\n formField: uf,\n gradient: gf,\n link: pf,\n neutral: vf,\n selected: bf,\n shadow: Bf,\n text: yf\n}, Mf = {\n themeLightDefault: {\n tokens: ya\n },\n themeLightOnBrand: {\n tokens: Oi\n }\n};\nexport {\n Xi as accent01BackgroundBasic,\n _i as accent01BackgroundSubtle,\n Vi as accent01BorderBasic,\n ji as accent01BorderSubtle,\n qi as accent01ContentBasic,\n Ei as accent01ContentSubtle,\n Gi as accent01StateActive,\n Ji as accent01StateDefault,\n Ki as accent01StateHover,\n Ni as accent02BackgroundBasic,\n Qi as accent02BackgroundSubtle,\n Yi as accent02BorderBasic,\n Zi as accent02BorderSubtle,\n ts as accent02ContentBasic,\n es as accent02ContentSubtle,\n os as accent02StateActive,\n ns as accent02StateDefault,\n as as accent02StateHover,\n cf as accentColors,\n rs as backgroundBackdrop,\n sf as backgroundColors,\n cs as backgroundInteractiveStateActive,\n is as backgroundInteractiveStateDefault,\n ss as backgroundInteractiveStateHover,\n ls as backgroundPrimary,\n ds as backgroundSecondary,\n fs as backgroundTertiary,\n St as bodyLargeBold,\n ut as bodyLargeItalic,\n gt as bodyLargeRegular,\n pt as bodyLargeSemibold,\n vt as bodyMediumBold,\n bt as bodyMediumItalic,\n Bt as bodyMediumRegular,\n yt as bodyMediumSemibold,\n $t as bodySmallBold,\n kt as bodySmallItalic,\n ht as bodySmallRegular,\n Ht as bodySmallSemibold,\n Ct as bodyXlargeBold,\n Ft as bodyXlargeItalic,\n Dt as bodyXlargeRegular,\n It as bodyXlargeSemibold,\n xt as bodyXsmallBold,\n Pt as bodyXsmallItalic,\n At as bodyXsmallRegular,\n Wt as bodyXsmallSemibold,\n ms as borderBasic,\n lf as borderColors,\n Ss as borderFocus,\n us as borderInteractiveStateActive,\n gs as borderInteractiveStateDefault,\n ps as borderInteractiveStateHover,\n vs as borderInteractiveStateSelected,\n Cf as borderWidth0,\n Ff as borderWidth100,\n Df as borderWidth200,\n d as breakpointDesktop,\n $f as breakpointMobile,\n l as breakpointTablet,\n hf as breakpoints,\n v as buttonLargeRadiusDesktop,\n f as buttonLargeRadiusMobile,\n u as buttonLargeRadiusTablet,\n b as buttonMediumRadiusDesktop,\n m as buttonMediumRadiusMobile,\n g as buttonMediumRadiusTablet,\n B as buttonSmallRadiusDesktop,\n S as buttonSmallRadiusMobile,\n p as buttonSmallRadiusTablet,\n Hf as buttons,\n Rf as colors,\n bs as componentButtonPlainBorder,\n Bs as componentButtonPlainContent,\n ys as componentButtonPlainStateActive,\n $s as componentButtonPlainStateDefault,\n ks as componentButtonPlainStateHover,\n hs as componentButtonPrimaryBorder,\n Hs as componentButtonPrimaryContent,\n Cs as componentButtonPrimaryStateActive,\n Fs as componentButtonPrimaryStateDefault,\n Ds as componentButtonPrimaryStateHover,\n Is as componentButtonSecondaryBorder,\n xs as componentButtonSecondaryContent,\n Ps as componentButtonSecondaryStateActive,\n As as componentButtonSecondaryStateDefault,\n Ws as componentButtonSecondaryStateHover,\n Ts as componentButtonTertiaryBorder,\n zs as componentButtonTertiaryContent,\n ws as componentButtonTertiaryStateActive,\n Us as componentButtonTertiaryStateDefault,\n Rs as componentButtonTertiaryStateHover,\n df as componentColors,\n Ms as componentHeaderBackground,\n Ls as componentHeaderBorder,\n Os as componentHeaderItemBackgroundStateActive,\n Xs as componentHeaderItemBackgroundStateDefault,\n _s as componentHeaderItemBackgroundStateHover,\n Vs as componentHeaderItemBackgroundStateSelected,\n js as componentHeaderItemStateActive,\n qs as componentHeaderItemStateDefault,\n Es as componentHeaderItemStateHover,\n Gs as componentHeaderItemStateSelected,\n Js as componentHeaderStripeStateSelected,\n Ks as componentHeaderStripeStateUnselected,\n Ns as componentPaginationSelectedBorder,\n Qs as componentPaginationSelectedContent,\n Ys as componentPaginationSelectedStateActive,\n Zs as componentPaginationSelectedStateDefault,\n tl as componentPaginationSelectedStateHover,\n el as componentPaginationUnselectedBorder,\n ol as componentPaginationUnselectedContent,\n nl as componentPaginationUnselectedStateActive,\n al as componentPaginationUnselectedStateDefault,\n rl as componentPaginationUnselectedStateHover,\n cl as componentPricingBoxBackground,\n il as componentPricingBoxBorder,\n sl as componentPricingBoxContent,\n ll as componentToggleSelectedBorder,\n dl as componentToggleSelectedContent,\n fl as componentToggleSelectedStateActive,\n ml as componentToggleSelectedStateDefault,\n Sl as componentToggleSelectedStateHover,\n ul as componentToggleUnselectedBorder,\n gl as componentToggleUnselectedContent,\n pl as componentToggleUnselectedStateActive,\n vl as componentToggleUnselectedStateDefault,\n bl as componentToggleUnselectedStateHover,\n P as containerLargeMaxWidth,\n A as containerMaxWidth,\n x as containerMediumMaxWidth,\n F as containerPaddingDesktop,\n H as containerPaddingMobile,\n C as containerPaddingTablet,\n I as containerSmallMaxWidth,\n W as containerXlargeMaxWidth,\n D as containerXsmallMaxWidth,\n Pf as containers,\n xf as cssVariablePrefix,\n Bl as disabledBackground,\n yl as disabledBorder,\n ff as disabledColors,\n $l as disabledContent,\n kl as disabledForeground,\n mf as emotionColors,\n hl as emotionDangerBackgroundBasic,\n Hl as emotionDangerBackgroundSubtle,\n Cl as emotionDangerBorderBasic,\n Fl as emotionDangerBorderSubtle,\n Dl as emotionDangerContentBasic,\n Il as emotionDangerContentSubtle,\n xl as emotionDangerStateActive,\n Pl as emotionDangerStateDefault,\n Al as emotionDangerStateHover,\n Wl as emotionInformativeBackgroundBasic,\n Tl as emotionInformativeBackgroundSubtle,\n zl as emotionInformativeBorderBasic,\n wl as emotionInformativeBorderSubtle,\n Ul as emotionInformativeContentBasic,\n Rl as emotionInformativeContentSubtle,\n Ml as emotionInformativeStateActive,\n Ll as emotionInformativeStateDefault,\n Ol as emotionInformativeStateHover,\n Xl as emotionSuccessBackgroundBasic,\n _l as emotionSuccessBackgroundSubtle,\n Vl as emotionSuccessBorderBasic,\n jl as emotionSuccessBorderSubtle,\n ql as emotionSuccessContentBasic,\n El as emotionSuccessContentSubtle,\n Gl as emotionSuccessStateActive,\n Jl as emotionSuccessStateDefault,\n Kl as emotionSuccessStateHover,\n Nl as emotionWarningBackgroundBasic,\n Ql as emotionWarningBackgroundSubtle,\n Yl as emotionWarningBorderBasic,\n Zl as emotionWarningBorderSubtle,\n td as emotionWarningContentBasic,\n ed as emotionWarningContentSubtle,\n od as emotionWarningStateActive,\n nd as emotionWarningStateDefault,\n ad as emotionWarningStateHover,\n Tf as focus,\n Sf as focusColors,\n rd as focusFocusRingColor01,\n j as focusRing,\n uf as formFieldColors,\n cd as formFieldDanger,\n id as formFieldFilledBackgroundStateActive,\n sd as formFieldFilledBackgroundStateDefault,\n ld as formFieldFilledBackgroundStateHover,\n dd as formFieldFilledBorderStateActive,\n fd as formFieldFilledBorderStateDefault,\n md as formFieldFilledBorderStateHover,\n Sd as formFieldFilledBorderStateSelected,\n ud as formFieldFilledContent,\n gd as formFieldFilledPlaceholder,\n pd as formFieldHelperText,\n vd as formFieldLabel,\n c as formFieldLargeRadiusDesktop,\n t as formFieldLargeRadiusMobile,\n n as formFieldLargeRadiusTablet,\n i as formFieldMediumRadiusDesktop,\n e as formFieldMediumRadiusMobile,\n a as formFieldMediumRadiusTablet,\n s as formFieldSmallRadiusDesktop,\n o as formFieldSmallRadiusMobile,\n r as formFieldSmallRadiusTablet,\n bd as formFieldSuccess,\n Bd as formFieldWarning,\n kf as formFields,\n y as gradientBasicOverlay,\n yd as gradientBasicOverlayColor01,\n $d as gradientBasicOverlayColor02,\n gf as gradientColors,\n $ as gradientPrimary,\n kd as gradientPrimaryColor01,\n hd as gradientPrimaryColor02,\n k as gradientSecondary,\n Hd as gradientSecondaryColor01,\n Cd as gradientSecondaryColor02,\n h as gradientSkeleton,\n Fd as gradientSkeletonColor01,\n Dd as gradientSkeletonColor02,\n Id as gradientSkeletonColor03,\n If as gradients,\n U as gridColumns,\n z as gridSpacingDesktop,\n T as gridSpacingMobile,\n w as gridSpacingTablet,\n Af as grids,\n Tt as headingLargeBold,\n zt as headingLargeItalic,\n wt as headingLargeRegular,\n Ut as headingLargeSemibold,\n Rt as headingMediumBold,\n Mt as headingMediumItalic,\n Lt as headingMediumRegular,\n Ot as headingMediumSemibold,\n Xt as headingSmallBold,\n _t as headingSmallItalic,\n Vt as headingSmallRegular,\n jt as headingSmallSemibold,\n qt as headingXlargeBold,\n Et as headingXlargeItalic,\n Gt as headingXlargeRegular,\n Jt as headingXlargeSemibold,\n Kt as headingXsmallBold,\n Nt as headingXsmallItalic,\n Qt as headingXsmallRegular,\n Yt as headingXsmallSemibold,\n pf as linkColors,\n xd as linkPrimaryStateActive,\n Pd as linkPrimaryStateDefault,\n Ad as linkPrimaryStateHover,\n Wd as linkSecondaryStateActive,\n Td as linkSecondaryStateDefault,\n zd as linkSecondaryStateHover,\n wd as linkStateVisited,\n Ud as linkTertiaryStateActive,\n Rd as linkTertiaryStateDefault,\n Md as linkTertiaryStateHover,\n Ld as neutralBackgroundBasic,\n Od as neutralBackgroundSubtle,\n Xd as neutralBorderBasic,\n _d as neutralBorderSubtle,\n vf as neutralColors,\n Vd as neutralContentBasic,\n jd as neutralContentSubtle,\n qd as neutralStateActive,\n Ed as neutralStateDefault,\n Gd as neutralStateHover,\n Wf as radii,\n R as radius0,\n M as radius100,\n L as radius200,\n O as radius300,\n X as radius400,\n _ as radius500,\n V as radiusFull,\n bf as selectedColors,\n Jd as selectedContentBasic,\n Kd as selectedContentSubtle,\n Nd as selectedStateActive,\n Qd as selectedStateDefault,\n Yd as selectedStateHover,\n q as shadow100,\n E as shadow200,\n G as shadow300,\n J as shadow400,\n Bf as shadowColors,\n Zd as shadowShadow100Color01,\n tf as shadowShadow200Color01,\n ef as shadowShadow300Color01,\n of as shadowShadow400Color01,\n zf as shadows,\n K as space0,\n N as space100,\n rt as space1000,\n ct as space1100,\n it as space1200,\n st as space1300,\n lt as space1400,\n dt as space1500,\n ft as space1600,\n mt as space1700,\n Q as space200,\n Y as space300,\n Z as space400,\n tt as space500,\n et as space600,\n ot as space700,\n nt as space800,\n at as space900,\n wf as spaces,\n Uf as styles,\n yf as textColors,\n nf as textPrimary,\n af as textSecondary,\n rf as textTertiary,\n Mf as themes\n};\n","module.exports = __WEBPACK_EXTERNAL_MODULE_react__;","module.exports = __WEBPACK_EXTERNAL_MODULE_react_dom__;","/*!\n\tCopyright (c) 2018 Jed Watson.\n\tLicensed under the MIT License (MIT), see\n\thttp://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames () {\n\t\tvar classes = '';\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (arg) {\n\t\t\t\tclasses = appendClass(classes, parseValue(arg));\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction parseValue (arg) {\n\t\tif (typeof arg === 'string' || typeof arg === 'number') {\n\t\t\treturn arg;\n\t\t}\n\n\t\tif (typeof arg !== 'object') {\n\t\t\treturn '';\n\t\t}\n\n\t\tif (Array.isArray(arg)) {\n\t\t\treturn classNames.apply(null, arg);\n\t\t}\n\n\t\tif (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {\n\t\t\treturn arg.toString();\n\t\t}\n\n\t\tvar classes = '';\n\n\t\tfor (var key in arg) {\n\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\tclasses = appendClass(classes, key);\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction appendClass (value, newClass) {\n\t\tif (!newClass) {\n\t\t\treturn value;\n\t\t}\n\t\n\t\tif (value) {\n\t\t\treturn value + ' ' + newClass;\n\t\t}\n\t\n\t\treturn value + newClass;\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n","import setPrototypeOf from \"./setPrototypeOf.js\";\nfunction _inheritsLoose(t, o) {\n t.prototype = Object.create(o.prototype), t.prototype.constructor = t, setPrototypeOf(t, o);\n}\nexport { _inheritsLoose as default };","function _objectWithoutPropertiesLoose(r, e) {\n if (null == r) return {};\n var t = {};\n for (var n in r) if ({}.hasOwnProperty.call(r, n)) {\n if (-1 !== e.indexOf(n)) continue;\n t[n] = r[n];\n }\n return t;\n}\nexport { _objectWithoutPropertiesLoose as default };","function _setPrototypeOf(t, e) {\n return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {\n return t.__proto__ = e, t;\n }, _setPrototypeOf(t, e);\n}\nexport { _setPrototypeOf as default };","import { getSideAxis, getAlignmentAxis, getAxisLength, getSide, getAlignment, evaluate, getPaddingObject, rectToClientRect, min, clamp, placements, getAlignmentSides, getOppositeAlignmentPlacement, getOppositePlacement, getExpandedPlacements, getOppositeAxisPlacements, sides, max, getOppositeAxis } from '@floating-ui/utils';\nexport { rectToClientRect } from '@floating-ui/utils';\n\nfunction computeCoordsFromPlacement(_ref, placement, rtl) {\n let {\n reference,\n floating\n } = _ref;\n const sideAxis = getSideAxis(placement);\n const alignmentAxis = getAlignmentAxis(placement);\n const alignLength = getAxisLength(alignmentAxis);\n const side = getSide(placement);\n const isVertical = sideAxis === 'y';\n const commonX = reference.x + reference.width / 2 - floating.width / 2;\n const commonY = reference.y + reference.height / 2 - floating.height / 2;\n const commonAlign = reference[alignLength] / 2 - floating[alignLength] / 2;\n let coords;\n switch (side) {\n case 'top':\n coords = {\n x: commonX,\n y: reference.y - floating.height\n };\n break;\n case 'bottom':\n coords = {\n x: commonX,\n y: reference.y + reference.height\n };\n break;\n case 'right':\n coords = {\n x: reference.x + reference.width,\n y: commonY\n };\n break;\n case 'left':\n coords = {\n x: reference.x - floating.width,\n y: commonY\n };\n break;\n default:\n coords = {\n x: reference.x,\n y: reference.y\n };\n }\n switch (getAlignment(placement)) {\n case 'start':\n coords[alignmentAxis] -= commonAlign * (rtl && isVertical ? -1 : 1);\n break;\n case 'end':\n coords[alignmentAxis] += commonAlign * (rtl && isVertical ? -1 : 1);\n break;\n }\n return coords;\n}\n\n/**\n * Computes the `x` and `y` coordinates that will place the floating element\n * next to a given reference element.\n *\n * This export does not have any `platform` interface logic. You will need to\n * write one for the platform you are using Floating UI with.\n */\nconst computePosition = async (reference, floating, config) => {\n const {\n placement = 'bottom',\n strategy = 'absolute',\n middleware = [],\n platform\n } = config;\n const validMiddleware = middleware.filter(Boolean);\n const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(floating));\n let rects = await platform.getElementRects({\n reference,\n floating,\n strategy\n });\n let {\n x,\n y\n } = computeCoordsFromPlacement(rects, placement, rtl);\n let statefulPlacement = placement;\n let middlewareData = {};\n let resetCount = 0;\n for (let i = 0; i < validMiddleware.length; i++) {\n const {\n name,\n fn\n } = validMiddleware[i];\n const {\n x: nextX,\n y: nextY,\n data,\n reset\n } = await fn({\n x,\n y,\n initialPlacement: placement,\n placement: statefulPlacement,\n strategy,\n middlewareData,\n rects,\n platform,\n elements: {\n reference,\n floating\n }\n });\n x = nextX != null ? nextX : x;\n y = nextY != null ? nextY : y;\n middlewareData = {\n ...middlewareData,\n [name]: {\n ...middlewareData[name],\n ...data\n }\n };\n if (reset && resetCount <= 50) {\n resetCount++;\n if (typeof reset === 'object') {\n if (reset.placement) {\n statefulPlacement = reset.placement;\n }\n if (reset.rects) {\n rects = reset.rects === true ? await platform.getElementRects({\n reference,\n floating,\n strategy\n }) : reset.rects;\n }\n ({\n x,\n y\n } = computeCoordsFromPlacement(rects, statefulPlacement, rtl));\n }\n i = -1;\n }\n }\n return {\n x,\n y,\n placement: statefulPlacement,\n strategy,\n middlewareData\n };\n};\n\n/**\n * Resolves with an object of overflow side offsets that determine how much the\n * element is overflowing a given clipping boundary on each side.\n * - positive = overflowing the boundary by that number of pixels\n * - negative = how many pixels left before it will overflow\n * - 0 = lies flush with the boundary\n * @see https://floating-ui.com/docs/detectOverflow\n */\nasync function detectOverflow(state, options) {\n var _await$platform$isEle;\n if (options === void 0) {\n options = {};\n }\n const {\n x,\n y,\n platform,\n rects,\n elements,\n strategy\n } = state;\n const {\n boundary = 'clippingAncestors',\n rootBoundary = 'viewport',\n elementContext = 'floating',\n altBoundary = false,\n padding = 0\n } = evaluate(options, state);\n const paddingObject = getPaddingObject(padding);\n const altContext = elementContext === 'floating' ? 'reference' : 'floating';\n const element = elements[altBoundary ? altContext : elementContext];\n const clippingClientRect = rectToClientRect(await platform.getClippingRect({\n element: ((_await$platform$isEle = await (platform.isElement == null ? void 0 : platform.isElement(element))) != null ? _await$platform$isEle : true) ? element : element.contextElement || (await (platform.getDocumentElement == null ? void 0 : platform.getDocumentElement(elements.floating))),\n boundary,\n rootBoundary,\n strategy\n }));\n const rect = elementContext === 'floating' ? {\n x,\n y,\n width: rects.floating.width,\n height: rects.floating.height\n } : rects.reference;\n const offsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(elements.floating));\n const offsetScale = (await (platform.isElement == null ? void 0 : platform.isElement(offsetParent))) ? (await (platform.getScale == null ? void 0 : platform.getScale(offsetParent))) || {\n x: 1,\n y: 1\n } : {\n x: 1,\n y: 1\n };\n const elementClientRect = rectToClientRect(platform.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform.convertOffsetParentRelativeRectToViewportRelativeRect({\n elements,\n rect,\n offsetParent,\n strategy\n }) : rect);\n return {\n top: (clippingClientRect.top - elementClientRect.top + paddingObject.top) / offsetScale.y,\n bottom: (elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom) / offsetScale.y,\n left: (clippingClientRect.left - elementClientRect.left + paddingObject.left) / offsetScale.x,\n right: (elementClientRect.right - clippingClientRect.right + paddingObject.right) / offsetScale.x\n };\n}\n\n/**\n * Provides data to position an inner element of the floating element so that it\n * appears centered to the reference element.\n * @see https://floating-ui.com/docs/arrow\n */\nconst arrow = options => ({\n name: 'arrow',\n options,\n async fn(state) {\n const {\n x,\n y,\n placement,\n rects,\n platform,\n elements,\n middlewareData\n } = state;\n // Since `element` is required, we don't Partial<> the type.\n const {\n element,\n padding = 0\n } = evaluate(options, state) || {};\n if (element == null) {\n return {};\n }\n const paddingObject = getPaddingObject(padding);\n const coords = {\n x,\n y\n };\n const axis = getAlignmentAxis(placement);\n const length = getAxisLength(axis);\n const arrowDimensions = await platform.getDimensions(element);\n const isYAxis = axis === 'y';\n const minProp = isYAxis ? 'top' : 'left';\n const maxProp = isYAxis ? 'bottom' : 'right';\n const clientProp = isYAxis ? 'clientHeight' : 'clientWidth';\n const endDiff = rects.reference[length] + rects.reference[axis] - coords[axis] - rects.floating[length];\n const startDiff = coords[axis] - rects.reference[axis];\n const arrowOffsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(element));\n let clientSize = arrowOffsetParent ? arrowOffsetParent[clientProp] : 0;\n\n // DOM platform can return `window` as the `offsetParent`.\n if (!clientSize || !(await (platform.isElement == null ? void 0 : platform.isElement(arrowOffsetParent)))) {\n clientSize = elements.floating[clientProp] || rects.floating[length];\n }\n const centerToReference = endDiff / 2 - startDiff / 2;\n\n // If the padding is large enough that it causes the arrow to no longer be\n // centered, modify the padding so that it is centered.\n const largestPossiblePadding = clientSize / 2 - arrowDimensions[length] / 2 - 1;\n const minPadding = min(paddingObject[minProp], largestPossiblePadding);\n const maxPadding = min(paddingObject[maxProp], largestPossiblePadding);\n\n // Make sure the arrow doesn't overflow the floating element if the center\n // point is outside the floating element's bounds.\n const min$1 = minPadding;\n const max = clientSize - arrowDimensions[length] - maxPadding;\n const center = clientSize / 2 - arrowDimensions[length] / 2 + centerToReference;\n const offset = clamp(min$1, center, max);\n\n // If the reference is small enough that the arrow's padding causes it to\n // to point to nothing for an aligned placement, adjust the offset of the\n // floating element itself. To ensure `shift()` continues to take action,\n // a single reset is performed when this is true.\n const shouldAddOffset = !middlewareData.arrow && getAlignment(placement) != null && center !== offset && rects.reference[length] / 2 - (center < min$1 ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;\n const alignmentOffset = shouldAddOffset ? center < min$1 ? center - min$1 : center - max : 0;\n return {\n [axis]: coords[axis] + alignmentOffset,\n data: {\n [axis]: offset,\n centerOffset: center - offset - alignmentOffset,\n ...(shouldAddOffset && {\n alignmentOffset\n })\n },\n reset: shouldAddOffset\n };\n }\n});\n\nfunction getPlacementList(alignment, autoAlignment, allowedPlacements) {\n const allowedPlacementsSortedByAlignment = alignment ? [...allowedPlacements.filter(placement => getAlignment(placement) === alignment), ...allowedPlacements.filter(placement => getAlignment(placement) !== alignment)] : allowedPlacements.filter(placement => getSide(placement) === placement);\n return allowedPlacementsSortedByAlignment.filter(placement => {\n if (alignment) {\n return getAlignment(placement) === alignment || (autoAlignment ? getOppositeAlignmentPlacement(placement) !== placement : false);\n }\n return true;\n });\n}\n/**\n * Optimizes the visibility of the floating element by choosing the placement\n * that has the most space available automatically, without needing to specify a\n * preferred placement. Alternative to `flip`.\n * @see https://floating-ui.com/docs/autoPlacement\n */\nconst autoPlacement = function (options) {\n if (options === void 0) {\n options = {};\n }\n return {\n name: 'autoPlacement',\n options,\n async fn(state) {\n var _middlewareData$autoP, _middlewareData$autoP2, _placementsThatFitOnE;\n const {\n rects,\n middlewareData,\n placement,\n platform,\n elements\n } = state;\n const {\n crossAxis = false,\n alignment,\n allowedPlacements = placements,\n autoAlignment = true,\n ...detectOverflowOptions\n } = evaluate(options, state);\n const placements$1 = alignment !== undefined || allowedPlacements === placements ? getPlacementList(alignment || null, autoAlignment, allowedPlacements) : allowedPlacements;\n const overflow = await detectOverflow(state, detectOverflowOptions);\n const currentIndex = ((_middlewareData$autoP = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP.index) || 0;\n const currentPlacement = placements$1[currentIndex];\n if (currentPlacement == null) {\n return {};\n }\n const alignmentSides = getAlignmentSides(currentPlacement, rects, await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating)));\n\n // Make `computeCoords` start from the right place.\n if (placement !== currentPlacement) {\n return {\n reset: {\n placement: placements$1[0]\n }\n };\n }\n const currentOverflows = [overflow[getSide(currentPlacement)], overflow[alignmentSides[0]], overflow[alignmentSides[1]]];\n const allOverflows = [...(((_middlewareData$autoP2 = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP2.overflows) || []), {\n placement: currentPlacement,\n overflows: currentOverflows\n }];\n const nextPlacement = placements$1[currentIndex + 1];\n\n // There are more placements to check.\n if (nextPlacement) {\n return {\n data: {\n index: currentIndex + 1,\n overflows: allOverflows\n },\n reset: {\n placement: nextPlacement\n }\n };\n }\n const placementsSortedByMostSpace = allOverflows.map(d => {\n const alignment = getAlignment(d.placement);\n return [d.placement, alignment && crossAxis ?\n // Check along the mainAxis and main crossAxis side.\n d.overflows.slice(0, 2).reduce((acc, v) => acc + v, 0) :\n // Check only the mainAxis.\n d.overflows[0], d.overflows];\n }).sort((a, b) => a[1] - b[1]);\n const placementsThatFitOnEachSide = placementsSortedByMostSpace.filter(d => d[2].slice(0,\n // Aligned placements should not check their opposite crossAxis\n // side.\n getAlignment(d[0]) ? 2 : 3).every(v => v <= 0));\n const resetPlacement = ((_placementsThatFitOnE = placementsThatFitOnEachSide[0]) == null ? void 0 : _placementsThatFitOnE[0]) || placementsSortedByMostSpace[0][0];\n if (resetPlacement !== placement) {\n return {\n data: {\n index: currentIndex + 1,\n overflows: allOverflows\n },\n reset: {\n placement: resetPlacement\n }\n };\n }\n return {};\n }\n };\n};\n\n/**\n * Optimizes the visibility of the floating element by flipping the `placement`\n * in order to keep it in view when the preferred placement(s) will overflow the\n * clipping boundary. Alternative to `autoPlacement`.\n * @see https://floating-ui.com/docs/flip\n */\nconst flip = function (options) {\n if (options === void 0) {\n options = {};\n }\n return {\n name: 'flip',\n options,\n async fn(state) {\n var _middlewareData$arrow, _middlewareData$flip;\n const {\n placement,\n middlewareData,\n rects,\n initialPlacement,\n platform,\n elements\n } = state;\n const {\n mainAxis: checkMainAxis = true,\n crossAxis: checkCrossAxis = true,\n fallbackPlacements: specifiedFallbackPlacements,\n fallbackStrategy = 'bestFit',\n fallbackAxisSideDirection = 'none',\n flipAlignment = true,\n ...detectOverflowOptions\n } = evaluate(options, state);\n\n // If a reset by the arrow was caused due to an alignment offset being\n // added, we should skip any logic now since `flip()` has already done its\n // work.\n // https://github.com/floating-ui/floating-ui/issues/2549#issuecomment-1719601643\n if ((_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {\n return {};\n }\n const side = getSide(placement);\n const initialSideAxis = getSideAxis(initialPlacement);\n const isBasePlacement = getSide(initialPlacement) === initialPlacement;\n const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));\n const fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipAlignment ? [getOppositePlacement(initialPlacement)] : getExpandedPlacements(initialPlacement));\n const hasFallbackAxisSideDirection = fallbackAxisSideDirection !== 'none';\n if (!specifiedFallbackPlacements && hasFallbackAxisSideDirection) {\n fallbackPlacements.push(...getOppositeAxisPlacements(initialPlacement, flipAlignment, fallbackAxisSideDirection, rtl));\n }\n const placements = [initialPlacement, ...fallbackPlacements];\n const overflow = await detectOverflow(state, detectOverflowOptions);\n const overflows = [];\n let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? void 0 : _middlewareData$flip.overflows) || [];\n if (checkMainAxis) {\n overflows.push(overflow[side]);\n }\n if (checkCrossAxis) {\n const sides = getAlignmentSides(placement, rects, rtl);\n overflows.push(overflow[sides[0]], overflow[sides[1]]);\n }\n overflowsData = [...overflowsData, {\n placement,\n overflows\n }];\n\n // One or more sides is overflowing.\n if (!overflows.every(side => side <= 0)) {\n var _middlewareData$flip2, _overflowsData$filter;\n const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;\n const nextPlacement = placements[nextIndex];\n if (nextPlacement) {\n // Try next placement and re-run the lifecycle.\n return {\n data: {\n index: nextIndex,\n overflows: overflowsData\n },\n reset: {\n placement: nextPlacement\n }\n };\n }\n\n // First, find the candidates that fit on the mainAxis side of overflow,\n // then find the placement that fits the best on the main crossAxis side.\n let resetPlacement = (_overflowsData$filter = overflowsData.filter(d => d.overflows[0] <= 0).sort((a, b) => a.overflows[1] - b.overflows[1])[0]) == null ? void 0 : _overflowsData$filter.placement;\n\n // Otherwise fallback.\n if (!resetPlacement) {\n switch (fallbackStrategy) {\n case 'bestFit':\n {\n var _overflowsData$filter2;\n const placement = (_overflowsData$filter2 = overflowsData.filter(d => {\n if (hasFallbackAxisSideDirection) {\n const currentSideAxis = getSideAxis(d.placement);\n return currentSideAxis === initialSideAxis ||\n // Create a bias to the `y` side axis due to horizontal\n // reading directions favoring greater width.\n currentSideAxis === 'y';\n }\n return true;\n }).map(d => [d.placement, d.overflows.filter(overflow => overflow > 0).reduce((acc, overflow) => acc + overflow, 0)]).sort((a, b) => a[1] - b[1])[0]) == null ? void 0 : _overflowsData$filter2[0];\n if (placement) {\n resetPlacement = placement;\n }\n break;\n }\n case 'initialPlacement':\n resetPlacement = initialPlacement;\n break;\n }\n }\n if (placement !== resetPlacement) {\n return {\n reset: {\n placement: resetPlacement\n }\n };\n }\n }\n return {};\n }\n };\n};\n\nfunction getSideOffsets(overflow, rect) {\n return {\n top: overflow.top - rect.height,\n right: overflow.right - rect.width,\n bottom: overflow.bottom - rect.height,\n left: overflow.left - rect.width\n };\n}\nfunction isAnySideFullyClipped(overflow) {\n return sides.some(side => overflow[side] >= 0);\n}\n/**\n * Provides data to hide the floating element in applicable situations, such as\n * when it is not in the same clipping context as the reference element.\n * @see https://floating-ui.com/docs/hide\n */\nconst hide = function (options) {\n if (options === void 0) {\n options = {};\n }\n return {\n name: 'hide',\n options,\n async fn(state) {\n const {\n rects\n } = state;\n const {\n strategy = 'referenceHidden',\n ...detectOverflowOptions\n } = evaluate(options, state);\n switch (strategy) {\n case 'referenceHidden':\n {\n const overflow = await detectOverflow(state, {\n ...detectOverflowOptions,\n elementContext: 'reference'\n });\n const offsets = getSideOffsets(overflow, rects.reference);\n return {\n data: {\n referenceHiddenOffsets: offsets,\n referenceHidden: isAnySideFullyClipped(offsets)\n }\n };\n }\n case 'escaped':\n {\n const overflow = await detectOverflow(state, {\n ...detectOverflowOptions,\n altBoundary: true\n });\n const offsets = getSideOffsets(overflow, rects.floating);\n return {\n data: {\n escapedOffsets: offsets,\n escaped: isAnySideFullyClipped(offsets)\n }\n };\n }\n default:\n {\n return {};\n }\n }\n }\n };\n};\n\nfunction getBoundingRect(rects) {\n const minX = min(...rects.map(rect => rect.left));\n const minY = min(...rects.map(rect => rect.top));\n const maxX = max(...rects.map(rect => rect.right));\n const maxY = max(...rects.map(rect => rect.bottom));\n return {\n x: minX,\n y: minY,\n width: maxX - minX,\n height: maxY - minY\n };\n}\nfunction getRectsByLine(rects) {\n const sortedRects = rects.slice().sort((a, b) => a.y - b.y);\n const groups = [];\n let prevRect = null;\n for (let i = 0; i < sortedRects.length; i++) {\n const rect = sortedRects[i];\n if (!prevRect || rect.y - prevRect.y > prevRect.height / 2) {\n groups.push([rect]);\n } else {\n groups[groups.length - 1].push(rect);\n }\n prevRect = rect;\n }\n return groups.map(rect => rectToClientRect(getBoundingRect(rect)));\n}\n/**\n * Provides improved positioning for inline reference elements that can span\n * over multiple lines, such as hyperlinks or range selections.\n * @see https://floating-ui.com/docs/inline\n */\nconst inline = function (options) {\n if (options === void 0) {\n options = {};\n }\n return {\n name: 'inline',\n options,\n async fn(state) {\n const {\n placement,\n elements,\n rects,\n platform,\n strategy\n } = state;\n // A MouseEvent's client{X,Y} coords can be up to 2 pixels off a\n // ClientRect's bounds, despite the event listener being triggered. A\n // padding of 2 seems to handle this issue.\n const {\n padding = 2,\n x,\n y\n } = evaluate(options, state);\n const nativeClientRects = Array.from((await (platform.getClientRects == null ? void 0 : platform.getClientRects(elements.reference))) || []);\n const clientRects = getRectsByLine(nativeClientRects);\n const fallback = rectToClientRect(getBoundingRect(nativeClientRects));\n const paddingObject = getPaddingObject(padding);\n function getBoundingClientRect() {\n // There are two rects and they are disjoined.\n if (clientRects.length === 2 && clientRects[0].left > clientRects[1].right && x != null && y != null) {\n // Find the first rect in which the point is fully inside.\n return clientRects.find(rect => x > rect.left - paddingObject.left && x < rect.right + paddingObject.right && y > rect.top - paddingObject.top && y < rect.bottom + paddingObject.bottom) || fallback;\n }\n\n // There are 2 or more connected rects.\n if (clientRects.length >= 2) {\n if (getSideAxis(placement) === 'y') {\n const firstRect = clientRects[0];\n const lastRect = clientRects[clientRects.length - 1];\n const isTop = getSide(placement) === 'top';\n const top = firstRect.top;\n const bottom = lastRect.bottom;\n const left = isTop ? firstRect.left : lastRect.left;\n const right = isTop ? firstRect.right : lastRect.right;\n const width = right - left;\n const height = bottom - top;\n return {\n top,\n bottom,\n left,\n right,\n width,\n height,\n x: left,\n y: top\n };\n }\n const isLeftSide = getSide(placement) === 'left';\n const maxRight = max(...clientRects.map(rect => rect.right));\n const minLeft = min(...clientRects.map(rect => rect.left));\n const measureRects = clientRects.filter(rect => isLeftSide ? rect.left === minLeft : rect.right === maxRight);\n const top = measureRects[0].top;\n const bottom = measureRects[measureRects.length - 1].bottom;\n const left = minLeft;\n const right = maxRight;\n const width = right - left;\n const height = bottom - top;\n return {\n top,\n bottom,\n left,\n right,\n width,\n height,\n x: left,\n y: top\n };\n }\n return fallback;\n }\n const resetRects = await platform.getElementRects({\n reference: {\n getBoundingClientRect\n },\n floating: elements.floating,\n strategy\n });\n if (rects.reference.x !== resetRects.reference.x || rects.reference.y !== resetRects.reference.y || rects.reference.width !== resetRects.reference.width || rects.reference.height !== resetRects.reference.height) {\n return {\n reset: {\n rects: resetRects\n }\n };\n }\n return {};\n }\n };\n};\n\n// For type backwards-compatibility, the `OffsetOptions` type was also\n// Derivable.\n\nasync function convertValueToCoords(state, options) {\n const {\n placement,\n platform,\n elements\n } = state;\n const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));\n const side = getSide(placement);\n const alignment = getAlignment(placement);\n const isVertical = getSideAxis(placement) === 'y';\n const mainAxisMulti = ['left', 'top'].includes(side) ? -1 : 1;\n const crossAxisMulti = rtl && isVertical ? -1 : 1;\n const rawValue = evaluate(options, state);\n\n // eslint-disable-next-line prefer-const\n let {\n mainAxis,\n crossAxis,\n alignmentAxis\n } = typeof rawValue === 'number' ? {\n mainAxis: rawValue,\n crossAxis: 0,\n alignmentAxis: null\n } : {\n mainAxis: rawValue.mainAxis || 0,\n crossAxis: rawValue.crossAxis || 0,\n alignmentAxis: rawValue.alignmentAxis\n };\n if (alignment && typeof alignmentAxis === 'number') {\n crossAxis = alignment === 'end' ? alignmentAxis * -1 : alignmentAxis;\n }\n return isVertical ? {\n x: crossAxis * crossAxisMulti,\n y: mainAxis * mainAxisMulti\n } : {\n x: mainAxis * mainAxisMulti,\n y: crossAxis * crossAxisMulti\n };\n}\n\n/**\n * Modifies the placement by translating the floating element along the\n * specified axes.\n * A number (shorthand for `mainAxis` or distance), or an axes configuration\n * object may be passed.\n * @see https://floating-ui.com/docs/offset\n */\nconst offset = function (options) {\n if (options === void 0) {\n options = 0;\n }\n return {\n name: 'offset',\n options,\n async fn(state) {\n var _middlewareData$offse, _middlewareData$arrow;\n const {\n x,\n y,\n placement,\n middlewareData\n } = state;\n const diffCoords = await convertValueToCoords(state, options);\n\n // If the placement is the same and the arrow caused an alignment offset\n // then we don't need to change the positioning coordinates.\n if (placement === ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse.placement) && (_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {\n return {};\n }\n return {\n x: x + diffCoords.x,\n y: y + diffCoords.y,\n data: {\n ...diffCoords,\n placement\n }\n };\n }\n };\n};\n\n/**\n * Optimizes the visibility of the floating element by shifting it in order to\n * keep it in view when it will overflow the clipping boundary.\n * @see https://floating-ui.com/docs/shift\n */\nconst shift = function (options) {\n if (options === void 0) {\n options = {};\n }\n return {\n name: 'shift',\n options,\n async fn(state) {\n const {\n x,\n y,\n placement\n } = state;\n const {\n mainAxis: checkMainAxis = true,\n crossAxis: checkCrossAxis = false,\n limiter = {\n fn: _ref => {\n let {\n x,\n y\n } = _ref;\n return {\n x,\n y\n };\n }\n },\n ...detectOverflowOptions\n } = evaluate(options, state);\n const coords = {\n x,\n y\n };\n const overflow = await detectOverflow(state, detectOverflowOptions);\n const crossAxis = getSideAxis(getSide(placement));\n const mainAxis = getOppositeAxis(crossAxis);\n let mainAxisCoord = coords[mainAxis];\n let crossAxisCoord = coords[crossAxis];\n if (checkMainAxis) {\n const minSide = mainAxis === 'y' ? 'top' : 'left';\n const maxSide = mainAxis === 'y' ? 'bottom' : 'right';\n const min = mainAxisCoord + overflow[minSide];\n const max = mainAxisCoord - overflow[maxSide];\n mainAxisCoord = clamp(min, mainAxisCoord, max);\n }\n if (checkCrossAxis) {\n const minSide = crossAxis === 'y' ? 'top' : 'left';\n const maxSide = crossAxis === 'y' ? 'bottom' : 'right';\n const min = crossAxisCoord + overflow[minSide];\n const max = crossAxisCoord - overflow[maxSide];\n crossAxisCoord = clamp(min, crossAxisCoord, max);\n }\n const limitedCoords = limiter.fn({\n ...state,\n [mainAxis]: mainAxisCoord,\n [crossAxis]: crossAxisCoord\n });\n return {\n ...limitedCoords,\n data: {\n x: limitedCoords.x - x,\n y: limitedCoords.y - y,\n enabled: {\n [mainAxis]: checkMainAxis,\n [crossAxis]: checkCrossAxis\n }\n }\n };\n }\n };\n};\n/**\n * Built-in `limiter` that will stop `shift()` at a certain point.\n */\nconst limitShift = function (options) {\n if (options === void 0) {\n options = {};\n }\n return {\n options,\n fn(state) {\n const {\n x,\n y,\n placement,\n rects,\n middlewareData\n } = state;\n const {\n offset = 0,\n mainAxis: checkMainAxis = true,\n crossAxis: checkCrossAxis = true\n } = evaluate(options, state);\n const coords = {\n x,\n y\n };\n const crossAxis = getSideAxis(placement);\n const mainAxis = getOppositeAxis(crossAxis);\n let mainAxisCoord = coords[mainAxis];\n let crossAxisCoord = coords[crossAxis];\n const rawOffset = evaluate(offset, state);\n const computedOffset = typeof rawOffset === 'number' ? {\n mainAxis: rawOffset,\n crossAxis: 0\n } : {\n mainAxis: 0,\n crossAxis: 0,\n ...rawOffset\n };\n if (checkMainAxis) {\n const len = mainAxis === 'y' ? 'height' : 'width';\n const limitMin = rects.reference[mainAxis] - rects.floating[len] + computedOffset.mainAxis;\n const limitMax = rects.reference[mainAxis] + rects.reference[len] - computedOffset.mainAxis;\n if (mainAxisCoord < limitMin) {\n mainAxisCoord = limitMin;\n } else if (mainAxisCoord > limitMax) {\n mainAxisCoord = limitMax;\n }\n }\n if (checkCrossAxis) {\n var _middlewareData$offse, _middlewareData$offse2;\n const len = mainAxis === 'y' ? 'width' : 'height';\n const isOriginSide = ['top', 'left'].includes(getSide(placement));\n const limitMin = rects.reference[crossAxis] - rects.floating[len] + (isOriginSide ? ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse[crossAxis]) || 0 : 0) + (isOriginSide ? 0 : computedOffset.crossAxis);\n const limitMax = rects.reference[crossAxis] + rects.reference[len] + (isOriginSide ? 0 : ((_middlewareData$offse2 = middlewareData.offset) == null ? void 0 : _middlewareData$offse2[crossAxis]) || 0) - (isOriginSide ? computedOffset.crossAxis : 0);\n if (crossAxisCoord < limitMin) {\n crossAxisCoord = limitMin;\n } else if (crossAxisCoord > limitMax) {\n crossAxisCoord = limitMax;\n }\n }\n return {\n [mainAxis]: mainAxisCoord,\n [crossAxis]: crossAxisCoord\n };\n }\n };\n};\n\n/**\n * Provides data that allows you to change the size of the floating element —\n * for instance, prevent it from overflowing the clipping boundary or match the\n * width of the reference element.\n * @see https://floating-ui.com/docs/size\n */\nconst size = function (options) {\n if (options === void 0) {\n options = {};\n }\n return {\n name: 'size',\n options,\n async fn(state) {\n var _state$middlewareData, _state$middlewareData2;\n const {\n placement,\n rects,\n platform,\n elements\n } = state;\n const {\n apply = () => {},\n ...detectOverflowOptions\n } = evaluate(options, state);\n const overflow = await detectOverflow(state, detectOverflowOptions);\n const side = getSide(placement);\n const alignment = getAlignment(placement);\n const isYAxis = getSideAxis(placement) === 'y';\n const {\n width,\n height\n } = rects.floating;\n let heightSide;\n let widthSide;\n if (side === 'top' || side === 'bottom') {\n heightSide = side;\n widthSide = alignment === ((await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating))) ? 'start' : 'end') ? 'left' : 'right';\n } else {\n widthSide = side;\n heightSide = alignment === 'end' ? 'top' : 'bottom';\n }\n const maximumClippingHeight = height - overflow.top - overflow.bottom;\n const maximumClippingWidth = width - overflow.left - overflow.right;\n const overflowAvailableHeight = min(height - overflow[heightSide], maximumClippingHeight);\n const overflowAvailableWidth = min(width - overflow[widthSide], maximumClippingWidth);\n const noShift = !state.middlewareData.shift;\n let availableHeight = overflowAvailableHeight;\n let availableWidth = overflowAvailableWidth;\n if ((_state$middlewareData = state.middlewareData.shift) != null && _state$middlewareData.enabled.x) {\n availableWidth = maximumClippingWidth;\n }\n if ((_state$middlewareData2 = state.middlewareData.shift) != null && _state$middlewareData2.enabled.y) {\n availableHeight = maximumClippingHeight;\n }\n if (noShift && !alignment) {\n const xMin = max(overflow.left, 0);\n const xMax = max(overflow.right, 0);\n const yMin = max(overflow.top, 0);\n const yMax = max(overflow.bottom, 0);\n if (isYAxis) {\n availableWidth = width - 2 * (xMin !== 0 || xMax !== 0 ? xMin + xMax : max(overflow.left, overflow.right));\n } else {\n availableHeight = height - 2 * (yMin !== 0 || yMax !== 0 ? yMin + yMax : max(overflow.top, overflow.bottom));\n }\n }\n await apply({\n ...state,\n availableWidth,\n availableHeight\n });\n const nextDimensions = await platform.getDimensions(elements.floating);\n if (width !== nextDimensions.width || height !== nextDimensions.height) {\n return {\n reset: {\n rects: true\n }\n };\n }\n return {};\n }\n };\n};\n\nexport { arrow, autoPlacement, computePosition, detectOverflow, flip, hide, inline, limitShift, offset, shift, size };\n","import { computePosition, arrow as arrow$2, offset as offset$1, shift as shift$1, limitShift as limitShift$1, flip as flip$1, size as size$1, autoPlacement as autoPlacement$1, hide as hide$1, inline as inline$1 } from '@floating-ui/dom';\nexport { autoUpdate, computePosition, detectOverflow, getOverflowAncestors, platform } from '@floating-ui/dom';\nimport * as React from 'react';\nimport { useLayoutEffect, useEffect } from 'react';\nimport * as ReactDOM from 'react-dom';\n\nvar index = typeof document !== 'undefined' ? useLayoutEffect : useEffect;\n\n// Fork of `fast-deep-equal` that only does the comparisons we need and compares\n// functions\nfunction deepEqual(a, b) {\n if (a === b) {\n return true;\n }\n if (typeof a !== typeof b) {\n return false;\n }\n if (typeof a === 'function' && a.toString() === b.toString()) {\n return true;\n }\n let length;\n let i;\n let keys;\n if (a && b && typeof a === 'object') {\n if (Array.isArray(a)) {\n length = a.length;\n if (length !== b.length) return false;\n for (i = length; i-- !== 0;) {\n if (!deepEqual(a[i], b[i])) {\n return false;\n }\n }\n return true;\n }\n keys = Object.keys(a);\n length = keys.length;\n if (length !== Object.keys(b).length) {\n return false;\n }\n for (i = length; i-- !== 0;) {\n if (!{}.hasOwnProperty.call(b, keys[i])) {\n return false;\n }\n }\n for (i = length; i-- !== 0;) {\n const key = keys[i];\n if (key === '_owner' && a.$$typeof) {\n continue;\n }\n if (!deepEqual(a[key], b[key])) {\n return false;\n }\n }\n return true;\n }\n return a !== a && b !== b;\n}\n\nfunction getDPR(element) {\n if (typeof window === 'undefined') {\n return 1;\n }\n const win = element.ownerDocument.defaultView || window;\n return win.devicePixelRatio || 1;\n}\n\nfunction roundByDPR(element, value) {\n const dpr = getDPR(element);\n return Math.round(value * dpr) / dpr;\n}\n\nfunction useLatestRef(value) {\n const ref = React.useRef(value);\n index(() => {\n ref.current = value;\n });\n return ref;\n}\n\n/**\n * Provides data to position a floating element.\n * @see https://floating-ui.com/docs/useFloating\n */\nfunction useFloating(options) {\n if (options === void 0) {\n options = {};\n }\n const {\n placement = 'bottom',\n strategy = 'absolute',\n middleware = [],\n platform,\n elements: {\n reference: externalReference,\n floating: externalFloating\n } = {},\n transform = true,\n whileElementsMounted,\n open\n } = options;\n const [data, setData] = React.useState({\n x: 0,\n y: 0,\n strategy,\n placement,\n middlewareData: {},\n isPositioned: false\n });\n const [latestMiddleware, setLatestMiddleware] = React.useState(middleware);\n if (!deepEqual(latestMiddleware, middleware)) {\n setLatestMiddleware(middleware);\n }\n const [_reference, _setReference] = React.useState(null);\n const [_floating, _setFloating] = React.useState(null);\n const setReference = React.useCallback(node => {\n if (node !== referenceRef.current) {\n referenceRef.current = node;\n _setReference(node);\n }\n }, []);\n const setFloating = React.useCallback(node => {\n if (node !== floatingRef.current) {\n floatingRef.current = node;\n _setFloating(node);\n }\n }, []);\n const referenceEl = externalReference || _reference;\n const floatingEl = externalFloating || _floating;\n const referenceRef = React.useRef(null);\n const floatingRef = React.useRef(null);\n const dataRef = React.useRef(data);\n const hasWhileElementsMounted = whileElementsMounted != null;\n const whileElementsMountedRef = useLatestRef(whileElementsMounted);\n const platformRef = useLatestRef(platform);\n const openRef = useLatestRef(open);\n const update = React.useCallback(() => {\n if (!referenceRef.current || !floatingRef.current) {\n return;\n }\n const config = {\n placement,\n strategy,\n middleware: latestMiddleware\n };\n if (platformRef.current) {\n config.platform = platformRef.current;\n }\n computePosition(referenceRef.current, floatingRef.current, config).then(data => {\n const fullData = {\n ...data,\n // The floating element's position may be recomputed while it's closed\n // but still mounted (such as when transitioning out). To ensure\n // `isPositioned` will be `false` initially on the next open, avoid\n // setting it to `true` when `open === false` (must be specified).\n isPositioned: openRef.current !== false\n };\n if (isMountedRef.current && !deepEqual(dataRef.current, fullData)) {\n dataRef.current = fullData;\n ReactDOM.flushSync(() => {\n setData(fullData);\n });\n }\n });\n }, [latestMiddleware, placement, strategy, platformRef, openRef]);\n index(() => {\n if (open === false && dataRef.current.isPositioned) {\n dataRef.current.isPositioned = false;\n setData(data => ({\n ...data,\n isPositioned: false\n }));\n }\n }, [open]);\n const isMountedRef = React.useRef(false);\n index(() => {\n isMountedRef.current = true;\n return () => {\n isMountedRef.current = false;\n };\n }, []);\n index(() => {\n if (referenceEl) referenceRef.current = referenceEl;\n if (floatingEl) floatingRef.current = floatingEl;\n if (referenceEl && floatingEl) {\n if (whileElementsMountedRef.current) {\n return whileElementsMountedRef.current(referenceEl, floatingEl, update);\n }\n update();\n }\n }, [referenceEl, floatingEl, update, whileElementsMountedRef, hasWhileElementsMounted]);\n const refs = React.useMemo(() => ({\n reference: referenceRef,\n floating: floatingRef,\n setReference,\n setFloating\n }), [setReference, setFloating]);\n const elements = React.useMemo(() => ({\n reference: referenceEl,\n floating: floatingEl\n }), [referenceEl, floatingEl]);\n const floatingStyles = React.useMemo(() => {\n const initialStyles = {\n position: strategy,\n left: 0,\n top: 0\n };\n if (!elements.floating) {\n return initialStyles;\n }\n const x = roundByDPR(elements.floating, data.x);\n const y = roundByDPR(elements.floating, data.y);\n if (transform) {\n return {\n ...initialStyles,\n transform: \"translate(\" + x + \"px, \" + y + \"px)\",\n ...(getDPR(elements.floating) >= 1.5 && {\n willChange: 'transform'\n })\n };\n }\n return {\n position: strategy,\n left: x,\n top: y\n };\n }, [strategy, transform, elements.floating, data.x, data.y]);\n return React.useMemo(() => ({\n ...data,\n update,\n refs,\n elements,\n floatingStyles\n }), [data, update, refs, elements, floatingStyles]);\n}\n\n/**\n * Provides data to position an inner element of the floating element so that it\n * appears centered to the reference element.\n * This wraps the core `arrow` middleware to allow React refs as the element.\n * @see https://floating-ui.com/docs/arrow\n */\nconst arrow$1 = options => {\n function isRef(value) {\n return {}.hasOwnProperty.call(value, 'current');\n }\n return {\n name: 'arrow',\n options,\n fn(state) {\n const {\n element,\n padding\n } = typeof options === 'function' ? options(state) : options;\n if (element && isRef(element)) {\n if (element.current != null) {\n return arrow$2({\n element: element.current,\n padding\n }).fn(state);\n }\n return {};\n }\n if (element) {\n return arrow$2({\n element,\n padding\n }).fn(state);\n }\n return {};\n }\n };\n};\n\n/**\n * Modifies the placement by translating the floating element along the\n * specified axes.\n * A number (shorthand for `mainAxis` or distance), or an axes configuration\n * object may be passed.\n * @see https://floating-ui.com/docs/offset\n */\nconst offset = (options, deps) => ({\n ...offset$1(options),\n options: [options, deps]\n});\n\n/**\n * Optimizes the visibility of the floating element by shifting it in order to\n * keep it in view when it will overflow the clipping boundary.\n * @see https://floating-ui.com/docs/shift\n */\nconst shift = (options, deps) => ({\n ...shift$1(options),\n options: [options, deps]\n});\n\n/**\n * Built-in `limiter` that will stop `shift()` at a certain point.\n */\nconst limitShift = (options, deps) => ({\n ...limitShift$1(options),\n options: [options, deps]\n});\n\n/**\n * Optimizes the visibility of the floating element by flipping the `placement`\n * in order to keep it in view when the preferred placement(s) will overflow the\n * clipping boundary. Alternative to `autoPlacement`.\n * @see https://floating-ui.com/docs/flip\n */\nconst flip = (options, deps) => ({\n ...flip$1(options),\n options: [options, deps]\n});\n\n/**\n * Provides data that allows you to change the size of the floating element —\n * for instance, prevent it from overflowing the clipping boundary or match the\n * width of the reference element.\n * @see https://floating-ui.com/docs/size\n */\nconst size = (options, deps) => ({\n ...size$1(options),\n options: [options, deps]\n});\n\n/**\n * Optimizes the visibility of the floating element by choosing the placement\n * that has the most space available automatically, without needing to specify a\n * preferred placement. Alternative to `flip`.\n * @see https://floating-ui.com/docs/autoPlacement\n */\nconst autoPlacement = (options, deps) => ({\n ...autoPlacement$1(options),\n options: [options, deps]\n});\n\n/**\n * Provides data to hide the floating element in applicable situations, such as\n * when it is not in the same clipping context as the reference element.\n * @see https://floating-ui.com/docs/hide\n */\nconst hide = (options, deps) => ({\n ...hide$1(options),\n options: [options, deps]\n});\n\n/**\n * Provides improved positioning for inline reference elements that can span\n * over multiple lines, such as hyperlinks or range selections.\n * @see https://floating-ui.com/docs/inline\n */\nconst inline = (options, deps) => ({\n ...inline$1(options),\n options: [options, deps]\n});\n\n/**\n * Provides data to position an inner element of the floating element so that it\n * appears centered to the reference element.\n * This wraps the core `arrow` middleware to allow React refs as the element.\n * @see https://floating-ui.com/docs/arrow\n */\nconst arrow = (options, deps) => ({\n ...arrow$1(options),\n options: [options, deps]\n});\n\nexport { arrow, autoPlacement, flip, hide, inline, limitShift, offset, shift, size, useFloating };\n","import { rectToClientRect, detectOverflow as detectOverflow$1, offset as offset$1, autoPlacement as autoPlacement$1, shift as shift$1, flip as flip$1, size as size$1, hide as hide$1, arrow as arrow$1, inline as inline$1, limitShift as limitShift$1, computePosition as computePosition$1 } from '@floating-ui/core';\nimport { round, createCoords, max, min, floor } from '@floating-ui/utils';\nimport { getComputedStyle, isHTMLElement, isElement, getWindow, isWebKit, getFrameElement, getNodeScroll, getDocumentElement, isTopLayer, getNodeName, isOverflowElement, getOverflowAncestors, getParentNode, isLastTraversableNode, isContainingBlock, isTableElement, getContainingBlock } from '@floating-ui/utils/dom';\nexport { getOverflowAncestors } from '@floating-ui/utils/dom';\n\nfunction getCssDimensions(element) {\n const css = getComputedStyle(element);\n // In testing environments, the `width` and `height` properties are empty\n // strings for SVG elements, returning NaN. Fallback to `0` in this case.\n let width = parseFloat(css.width) || 0;\n let height = parseFloat(css.height) || 0;\n const hasOffset = isHTMLElement(element);\n const offsetWidth = hasOffset ? element.offsetWidth : width;\n const offsetHeight = hasOffset ? element.offsetHeight : height;\n const shouldFallback = round(width) !== offsetWidth || round(height) !== offsetHeight;\n if (shouldFallback) {\n width = offsetWidth;\n height = offsetHeight;\n }\n return {\n width,\n height,\n $: shouldFallback\n };\n}\n\nfunction unwrapElement(element) {\n return !isElement(element) ? element.contextElement : element;\n}\n\nfunction getScale(element) {\n const domElement = unwrapElement(element);\n if (!isHTMLElement(domElement)) {\n return createCoords(1);\n }\n const rect = domElement.getBoundingClientRect();\n const {\n width,\n height,\n $\n } = getCssDimensions(domElement);\n let x = ($ ? round(rect.width) : rect.width) / width;\n let y = ($ ? round(rect.height) : rect.height) / height;\n\n // 0, NaN, or Infinity should always fallback to 1.\n\n if (!x || !Number.isFinite(x)) {\n x = 1;\n }\n if (!y || !Number.isFinite(y)) {\n y = 1;\n }\n return {\n x,\n y\n };\n}\n\nconst noOffsets = /*#__PURE__*/createCoords(0);\nfunction getVisualOffsets(element) {\n const win = getWindow(element);\n if (!isWebKit() || !win.visualViewport) {\n return noOffsets;\n }\n return {\n x: win.visualViewport.offsetLeft,\n y: win.visualViewport.offsetTop\n };\n}\nfunction shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {\n if (isFixed === void 0) {\n isFixed = false;\n }\n if (!floatingOffsetParent || isFixed && floatingOffsetParent !== getWindow(element)) {\n return false;\n }\n return isFixed;\n}\n\nfunction getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {\n if (includeScale === void 0) {\n includeScale = false;\n }\n if (isFixedStrategy === void 0) {\n isFixedStrategy = false;\n }\n const clientRect = element.getBoundingClientRect();\n const domElement = unwrapElement(element);\n let scale = createCoords(1);\n if (includeScale) {\n if (offsetParent) {\n if (isElement(offsetParent)) {\n scale = getScale(offsetParent);\n }\n } else {\n scale = getScale(element);\n }\n }\n const visualOffsets = shouldAddVisualOffsets(domElement, isFixedStrategy, offsetParent) ? getVisualOffsets(domElement) : createCoords(0);\n let x = (clientRect.left + visualOffsets.x) / scale.x;\n let y = (clientRect.top + visualOffsets.y) / scale.y;\n let width = clientRect.width / scale.x;\n let height = clientRect.height / scale.y;\n if (domElement) {\n const win = getWindow(domElement);\n const offsetWin = offsetParent && isElement(offsetParent) ? getWindow(offsetParent) : offsetParent;\n let currentWin = win;\n let currentIFrame = getFrameElement(currentWin);\n while (currentIFrame && offsetParent && offsetWin !== currentWin) {\n const iframeScale = getScale(currentIFrame);\n const iframeRect = currentIFrame.getBoundingClientRect();\n const css = getComputedStyle(currentIFrame);\n const left = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;\n const top = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;\n x *= iframeScale.x;\n y *= iframeScale.y;\n width *= iframeScale.x;\n height *= iframeScale.y;\n x += left;\n y += top;\n currentWin = getWindow(currentIFrame);\n currentIFrame = getFrameElement(currentWin);\n }\n }\n return rectToClientRect({\n width,\n height,\n x,\n y\n });\n}\n\n// If <html> has a CSS width greater than the viewport, then this will be\n// incorrect for RTL.\nfunction getWindowScrollBarX(element, rect) {\n const leftScroll = getNodeScroll(element).scrollLeft;\n if (!rect) {\n return getBoundingClientRect(getDocumentElement(element)).left + leftScroll;\n }\n return rect.left + leftScroll;\n}\n\nfunction getHTMLOffset(documentElement, scroll, ignoreScrollbarX) {\n if (ignoreScrollbarX === void 0) {\n ignoreScrollbarX = false;\n }\n const htmlRect = documentElement.getBoundingClientRect();\n const x = htmlRect.left + scroll.scrollLeft - (ignoreScrollbarX ? 0 :\n // RTL <body> scrollbar.\n getWindowScrollBarX(documentElement, htmlRect));\n const y = htmlRect.top + scroll.scrollTop;\n return {\n x,\n y\n };\n}\n\nfunction convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {\n let {\n elements,\n rect,\n offsetParent,\n strategy\n } = _ref;\n const isFixed = strategy === 'fixed';\n const documentElement = getDocumentElement(offsetParent);\n const topLayer = elements ? isTopLayer(elements.floating) : false;\n if (offsetParent === documentElement || topLayer && isFixed) {\n return rect;\n }\n let scroll = {\n scrollLeft: 0,\n scrollTop: 0\n };\n let scale = createCoords(1);\n const offsets = createCoords(0);\n const isOffsetParentAnElement = isHTMLElement(offsetParent);\n if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {\n if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {\n scroll = getNodeScroll(offsetParent);\n }\n if (isHTMLElement(offsetParent)) {\n const offsetRect = getBoundingClientRect(offsetParent);\n scale = getScale(offsetParent);\n offsets.x = offsetRect.x + offsetParent.clientLeft;\n offsets.y = offsetRect.y + offsetParent.clientTop;\n }\n }\n const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll, true) : createCoords(0);\n return {\n width: rect.width * scale.x,\n height: rect.height * scale.y,\n x: rect.x * scale.x - scroll.scrollLeft * scale.x + offsets.x + htmlOffset.x,\n y: rect.y * scale.y - scroll.scrollTop * scale.y + offsets.y + htmlOffset.y\n };\n}\n\nfunction getClientRects(element) {\n return Array.from(element.getClientRects());\n}\n\n// Gets the entire size of the scrollable document area, even extending outside\n// of the `<html>` and `<body>` rect bounds if horizontally scrollable.\nfunction getDocumentRect(element) {\n const html = getDocumentElement(element);\n const scroll = getNodeScroll(element);\n const body = element.ownerDocument.body;\n const width = max(html.scrollWidth, html.clientWidth, body.scrollWidth, body.clientWidth);\n const height = max(html.scrollHeight, html.clientHeight, body.scrollHeight, body.clientHeight);\n let x = -scroll.scrollLeft + getWindowScrollBarX(element);\n const y = -scroll.scrollTop;\n if (getComputedStyle(body).direction === 'rtl') {\n x += max(html.clientWidth, body.clientWidth) - width;\n }\n return {\n width,\n height,\n x,\n y\n };\n}\n\nfunction getViewportRect(element, strategy) {\n const win = getWindow(element);\n const html = getDocumentElement(element);\n const visualViewport = win.visualViewport;\n let width = html.clientWidth;\n let height = html.clientHeight;\n let x = 0;\n let y = 0;\n if (visualViewport) {\n width = visualViewport.width;\n height = visualViewport.height;\n const visualViewportBased = isWebKit();\n if (!visualViewportBased || visualViewportBased && strategy === 'fixed') {\n x = visualViewport.offsetLeft;\n y = visualViewport.offsetTop;\n }\n }\n return {\n width,\n height,\n x,\n y\n };\n}\n\n// Returns the inner client rect, subtracting scrollbars if present.\nfunction getInnerBoundingClientRect(element, strategy) {\n const clientRect = getBoundingClientRect(element, true, strategy === 'fixed');\n const top = clientRect.top + element.clientTop;\n const left = clientRect.left + element.clientLeft;\n const scale = isHTMLElement(element) ? getScale(element) : createCoords(1);\n const width = element.clientWidth * scale.x;\n const height = element.clientHeight * scale.y;\n const x = left * scale.x;\n const y = top * scale.y;\n return {\n width,\n height,\n x,\n y\n };\n}\nfunction getClientRectFromClippingAncestor(element, clippingAncestor, strategy) {\n let rect;\n if (clippingAncestor === 'viewport') {\n rect = getViewportRect(element, strategy);\n } else if (clippingAncestor === 'document') {\n rect = getDocumentRect(getDocumentElement(element));\n } else if (isElement(clippingAncestor)) {\n rect = getInnerBoundingClientRect(clippingAncestor, strategy);\n } else {\n const visualOffsets = getVisualOffsets(element);\n rect = {\n x: clippingAncestor.x - visualOffsets.x,\n y: clippingAncestor.y - visualOffsets.y,\n width: clippingAncestor.width,\n height: clippingAncestor.height\n };\n }\n return rectToClientRect(rect);\n}\nfunction hasFixedPositionAncestor(element, stopNode) {\n const parentNode = getParentNode(element);\n if (parentNode === stopNode || !isElement(parentNode) || isLastTraversableNode(parentNode)) {\n return false;\n }\n return getComputedStyle(parentNode).position === 'fixed' || hasFixedPositionAncestor(parentNode, stopNode);\n}\n\n// A \"clipping ancestor\" is an `overflow` element with the characteristic of\n// clipping (or hiding) child elements. This returns all clipping ancestors\n// of the given element up the tree.\nfunction getClippingElementAncestors(element, cache) {\n const cachedResult = cache.get(element);\n if (cachedResult) {\n return cachedResult;\n }\n let result = getOverflowAncestors(element, [], false).filter(el => isElement(el) && getNodeName(el) !== 'body');\n let currentContainingBlockComputedStyle = null;\n const elementIsFixed = getComputedStyle(element).position === 'fixed';\n let currentNode = elementIsFixed ? getParentNode(element) : element;\n\n // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\n while (isElement(currentNode) && !isLastTraversableNode(currentNode)) {\n const computedStyle = getComputedStyle(currentNode);\n const currentNodeIsContaining = isContainingBlock(currentNode);\n if (!currentNodeIsContaining && computedStyle.position === 'fixed') {\n currentContainingBlockComputedStyle = null;\n }\n const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === 'static' && !!currentContainingBlockComputedStyle && ['absolute', 'fixed'].includes(currentContainingBlockComputedStyle.position) || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode);\n if (shouldDropCurrentNode) {\n // Drop non-containing blocks.\n result = result.filter(ancestor => ancestor !== currentNode);\n } else {\n // Record last containing block for next iteration.\n currentContainingBlockComputedStyle = computedStyle;\n }\n currentNode = getParentNode(currentNode);\n }\n cache.set(element, result);\n return result;\n}\n\n// Gets the maximum area that the element is visible in due to any number of\n// clipping ancestors.\nfunction getClippingRect(_ref) {\n let {\n element,\n boundary,\n rootBoundary,\n strategy\n } = _ref;\n const elementClippingAncestors = boundary === 'clippingAncestors' ? isTopLayer(element) ? [] : getClippingElementAncestors(element, this._c) : [].concat(boundary);\n const clippingAncestors = [...elementClippingAncestors, rootBoundary];\n const firstClippingAncestor = clippingAncestors[0];\n const clippingRect = clippingAncestors.reduce((accRect, clippingAncestor) => {\n const rect = getClientRectFromClippingAncestor(element, clippingAncestor, strategy);\n accRect.top = max(rect.top, accRect.top);\n accRect.right = min(rect.right, accRect.right);\n accRect.bottom = min(rect.bottom, accRect.bottom);\n accRect.left = max(rect.left, accRect.left);\n return accRect;\n }, getClientRectFromClippingAncestor(element, firstClippingAncestor, strategy));\n return {\n width: clippingRect.right - clippingRect.left,\n height: clippingRect.bottom - clippingRect.top,\n x: clippingRect.left,\n y: clippingRect.top\n };\n}\n\nfunction getDimensions(element) {\n const {\n width,\n height\n } = getCssDimensions(element);\n return {\n width,\n height\n };\n}\n\nfunction getRectRelativeToOffsetParent(element, offsetParent, strategy) {\n const isOffsetParentAnElement = isHTMLElement(offsetParent);\n const documentElement = getDocumentElement(offsetParent);\n const isFixed = strategy === 'fixed';\n const rect = getBoundingClientRect(element, true, isFixed, offsetParent);\n let scroll = {\n scrollLeft: 0,\n scrollTop: 0\n };\n const offsets = createCoords(0);\n if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {\n if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {\n scroll = getNodeScroll(offsetParent);\n }\n if (isOffsetParentAnElement) {\n const offsetRect = getBoundingClientRect(offsetParent, true, isFixed, offsetParent);\n offsets.x = offsetRect.x + offsetParent.clientLeft;\n offsets.y = offsetRect.y + offsetParent.clientTop;\n } else if (documentElement) {\n // If the <body> scrollbar appears on the left (e.g. RTL systems). Use\n // Firefox with layout.scrollbar.side = 3 in about:config to test this.\n offsets.x = getWindowScrollBarX(documentElement);\n }\n }\n const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);\n const x = rect.left + scroll.scrollLeft - offsets.x - htmlOffset.x;\n const y = rect.top + scroll.scrollTop - offsets.y - htmlOffset.y;\n return {\n x,\n y,\n width: rect.width,\n height: rect.height\n };\n}\n\nfunction isStaticPositioned(element) {\n return getComputedStyle(element).position === 'static';\n}\n\nfunction getTrueOffsetParent(element, polyfill) {\n if (!isHTMLElement(element) || getComputedStyle(element).position === 'fixed') {\n return null;\n }\n if (polyfill) {\n return polyfill(element);\n }\n let rawOffsetParent = element.offsetParent;\n\n // Firefox returns the <html> element as the offsetParent if it's non-static,\n // while Chrome and Safari return the <body> element. The <body> element must\n // be used to perform the correct calculations even if the <html> element is\n // non-static.\n if (getDocumentElement(element) === rawOffsetParent) {\n rawOffsetParent = rawOffsetParent.ownerDocument.body;\n }\n return rawOffsetParent;\n}\n\n// Gets the closest ancestor positioned element. Handles some edge cases,\n// such as table ancestors and cross browser bugs.\nfunction getOffsetParent(element, polyfill) {\n const win = getWindow(element);\n if (isTopLayer(element)) {\n return win;\n }\n if (!isHTMLElement(element)) {\n let svgOffsetParent = getParentNode(element);\n while (svgOffsetParent && !isLastTraversableNode(svgOffsetParent)) {\n if (isElement(svgOffsetParent) && !isStaticPositioned(svgOffsetParent)) {\n return svgOffsetParent;\n }\n svgOffsetParent = getParentNode(svgOffsetParent);\n }\n return win;\n }\n let offsetParent = getTrueOffsetParent(element, polyfill);\n while (offsetParent && isTableElement(offsetParent) && isStaticPositioned(offsetParent)) {\n offsetParent = getTrueOffsetParent(offsetParent, polyfill);\n }\n if (offsetParent && isLastTraversableNode(offsetParent) && isStaticPositioned(offsetParent) && !isContainingBlock(offsetParent)) {\n return win;\n }\n return offsetParent || getContainingBlock(element) || win;\n}\n\nconst getElementRects = async function (data) {\n const getOffsetParentFn = this.getOffsetParent || getOffsetParent;\n const getDimensionsFn = this.getDimensions;\n const floatingDimensions = await getDimensionsFn(data.floating);\n return {\n reference: getRectRelativeToOffsetParent(data.reference, await getOffsetParentFn(data.floating), data.strategy),\n floating: {\n x: 0,\n y: 0,\n width: floatingDimensions.width,\n height: floatingDimensions.height\n }\n };\n};\n\nfunction isRTL(element) {\n return getComputedStyle(element).direction === 'rtl';\n}\n\nconst platform = {\n convertOffsetParentRelativeRectToViewportRelativeRect,\n getDocumentElement,\n getClippingRect,\n getOffsetParent,\n getElementRects,\n getClientRects,\n getDimensions,\n getScale,\n isElement,\n isRTL\n};\n\nfunction rectsAreEqual(a, b) {\n return a.x === b.x && a.y === b.y && a.width === b.width && a.height === b.height;\n}\n\n// https://samthor.au/2021/observing-dom/\nfunction observeMove(element, onMove) {\n let io = null;\n let timeoutId;\n const root = getDocumentElement(element);\n function cleanup() {\n var _io;\n clearTimeout(timeoutId);\n (_io = io) == null || _io.disconnect();\n io = null;\n }\n function refresh(skip, threshold) {\n if (skip === void 0) {\n skip = false;\n }\n if (threshold === void 0) {\n threshold = 1;\n }\n cleanup();\n const elementRectForRootMargin = element.getBoundingClientRect();\n const {\n left,\n top,\n width,\n height\n } = elementRectForRootMargin;\n if (!skip) {\n onMove();\n }\n if (!width || !height) {\n return;\n }\n const insetTop = floor(top);\n const insetRight = floor(root.clientWidth - (left + width));\n const insetBottom = floor(root.clientHeight - (top + height));\n const insetLeft = floor(left);\n const rootMargin = -insetTop + \"px \" + -insetRight + \"px \" + -insetBottom + \"px \" + -insetLeft + \"px\";\n const options = {\n rootMargin,\n threshold: max(0, min(1, threshold)) || 1\n };\n let isFirstUpdate = true;\n function handleObserve(entries) {\n const ratio = entries[0].intersectionRatio;\n if (ratio !== threshold) {\n if (!isFirstUpdate) {\n return refresh();\n }\n if (!ratio) {\n // If the reference is clipped, the ratio is 0. Throttle the refresh\n // to prevent an infinite loop of updates.\n timeoutId = setTimeout(() => {\n refresh(false, 1e-7);\n }, 1000);\n } else {\n refresh(false, ratio);\n }\n }\n if (ratio === 1 && !rectsAreEqual(elementRectForRootMargin, element.getBoundingClientRect())) {\n // It's possible that even though the ratio is reported as 1, the\n // element is not actually fully within the IntersectionObserver's root\n // area anymore. This can happen under performance constraints. This may\n // be a bug in the browser's IntersectionObserver implementation. To\n // work around this, we compare the element's bounding rect now with\n // what it was at the time we created the IntersectionObserver. If they\n // are not equal then the element moved, so we refresh.\n refresh();\n }\n isFirstUpdate = false;\n }\n\n // Older browsers don't support a `document` as the root and will throw an\n // error.\n try {\n io = new IntersectionObserver(handleObserve, {\n ...options,\n // Handle <iframe>s\n root: root.ownerDocument\n });\n } catch (e) {\n io = new IntersectionObserver(handleObserve, options);\n }\n io.observe(element);\n }\n refresh(true);\n return cleanup;\n}\n\n/**\n * Automatically updates the position of the floating element when necessary.\n * Should only be called when the floating element is mounted on the DOM or\n * visible on the screen.\n * @returns cleanup function that should be invoked when the floating element is\n * removed from the DOM or hidden from the screen.\n * @see https://floating-ui.com/docs/autoUpdate\n */\nfunction autoUpdate(reference, floating, update, options) {\n if (options === void 0) {\n options = {};\n }\n const {\n ancestorScroll = true,\n ancestorResize = true,\n elementResize = typeof ResizeObserver === 'function',\n layoutShift = typeof IntersectionObserver === 'function',\n animationFrame = false\n } = options;\n const referenceEl = unwrapElement(reference);\n const ancestors = ancestorScroll || ancestorResize ? [...(referenceEl ? getOverflowAncestors(referenceEl) : []), ...getOverflowAncestors(floating)] : [];\n ancestors.forEach(ancestor => {\n ancestorScroll && ancestor.addEventListener('scroll', update, {\n passive: true\n });\n ancestorResize && ancestor.addEventListener('resize', update);\n });\n const cleanupIo = referenceEl && layoutShift ? observeMove(referenceEl, update) : null;\n let reobserveFrame = -1;\n let resizeObserver = null;\n if (elementResize) {\n resizeObserver = new ResizeObserver(_ref => {\n let [firstEntry] = _ref;\n if (firstEntry && firstEntry.target === referenceEl && resizeObserver) {\n // Prevent update loops when using the `size` middleware.\n // https://github.com/floating-ui/floating-ui/issues/1740\n resizeObserver.unobserve(floating);\n cancelAnimationFrame(reobserveFrame);\n reobserveFrame = requestAnimationFrame(() => {\n var _resizeObserver;\n (_resizeObserver = resizeObserver) == null || _resizeObserver.observe(floating);\n });\n }\n update();\n });\n if (referenceEl && !animationFrame) {\n resizeObserver.observe(referenceEl);\n }\n resizeObserver.observe(floating);\n }\n let frameId;\n let prevRefRect = animationFrame ? getBoundingClientRect(reference) : null;\n if (animationFrame) {\n frameLoop();\n }\n function frameLoop() {\n const nextRefRect = getBoundingClientRect(reference);\n if (prevRefRect && !rectsAreEqual(prevRefRect, nextRefRect)) {\n update();\n }\n prevRefRect = nextRefRect;\n frameId = requestAnimationFrame(frameLoop);\n }\n update();\n return () => {\n var _resizeObserver2;\n ancestors.forEach(ancestor => {\n ancestorScroll && ancestor.removeEventListener('scroll', update);\n ancestorResize && ancestor.removeEventListener('resize', update);\n });\n cleanupIo == null || cleanupIo();\n (_resizeObserver2 = resizeObserver) == null || _resizeObserver2.disconnect();\n resizeObserver = null;\n if (animationFrame) {\n cancelAnimationFrame(frameId);\n }\n };\n}\n\n/**\n * Resolves with an object of overflow side offsets that determine how much the\n * element is overflowing a given clipping boundary on each side.\n * - positive = overflowing the boundary by that number of pixels\n * - negative = how many pixels left before it will overflow\n * - 0 = lies flush with the boundary\n * @see https://floating-ui.com/docs/detectOverflow\n */\nconst detectOverflow = detectOverflow$1;\n\n/**\n * Modifies the placement by translating the floating element along the\n * specified axes.\n * A number (shorthand for `mainAxis` or distance), or an axes configuration\n * object may be passed.\n * @see https://floating-ui.com/docs/offset\n */\nconst offset = offset$1;\n\n/**\n * Optimizes the visibility of the floating element by choosing the placement\n * that has the most space available automatically, without needing to specify a\n * preferred placement. Alternative to `flip`.\n * @see https://floating-ui.com/docs/autoPlacement\n */\nconst autoPlacement = autoPlacement$1;\n\n/**\n * Optimizes the visibility of the floating element by shifting it in order to\n * keep it in view when it will overflow the clipping boundary.\n * @see https://floating-ui.com/docs/shift\n */\nconst shift = shift$1;\n\n/**\n * Optimizes the visibility of the floating element by flipping the `placement`\n * in order to keep it in view when the preferred placement(s) will overflow the\n * clipping boundary. Alternative to `autoPlacement`.\n * @see https://floating-ui.com/docs/flip\n */\nconst flip = flip$1;\n\n/**\n * Provides data that allows you to change the size of the floating element —\n * for instance, prevent it from overflowing the clipping boundary or match the\n * width of the reference element.\n * @see https://floating-ui.com/docs/size\n */\nconst size = size$1;\n\n/**\n * Provides data to hide the floating element in applicable situations, such as\n * when it is not in the same clipping context as the reference element.\n * @see https://floating-ui.com/docs/hide\n */\nconst hide = hide$1;\n\n/**\n * Provides data to position an inner element of the floating element so that it\n * appears centered to the reference element.\n * @see https://floating-ui.com/docs/arrow\n */\nconst arrow = arrow$1;\n\n/**\n * Provides improved positioning for inline reference elements that can span\n * over multiple lines, such as hyperlinks or range selections.\n * @see https://floating-ui.com/docs/inline\n */\nconst inline = inline$1;\n\n/**\n * Built-in `limiter` that will stop `shift()` at a certain point.\n */\nconst limitShift = limitShift$1;\n\n/**\n * Computes the `x` and `y` coordinates that will place the floating element\n * next to a given reference element.\n */\nconst computePosition = (reference, floating, options) => {\n // This caches the expensive `getClippingElementAncestors` function so that\n // multiple lifecycle resets re-use the same result. It only lives for a\n // single call. If other functions become expensive, we can add them as well.\n const cache = new Map();\n const mergedOptions = {\n platform,\n ...options\n };\n const platformWithCache = {\n ...mergedOptions.platform,\n _c: cache\n };\n return computePosition$1(reference, floating, {\n ...mergedOptions,\n platform: platformWithCache\n });\n};\n\nexport { arrow, autoPlacement, autoUpdate, computePosition, detectOverflow, flip, hide, inline, limitShift, offset, platform, shift, size };\n","import * as React from 'react';\nimport { useLayoutEffect, useEffect, useRef } from 'react';\nimport { stopEvent, getDocument, isMouseLikePointerType, contains, activeElement, isSafari, isTypeableCombobox, isVirtualClick, isVirtualPointerEvent, getTarget, getPlatform, isTypeableElement, isReactEvent, isRootElement, isEventTargetWithin, isMac, getUserAgent } from '@floating-ui/react/utils';\nimport { floor, evaluate, max, min, round } from '@floating-ui/utils';\nimport { jsx, jsxs, Fragment } from 'react/jsx-runtime';\nimport { getComputedStyle, isElement, getNodeName, isHTMLElement, getWindow, isLastTraversableNode, getParentNode, isWebKit } from '@floating-ui/utils/dom';\nimport { tabbable, isTabbable } from 'tabbable';\nimport * as ReactDOM from 'react-dom';\nimport { getOverflowAncestors, useFloating as useFloating$1, offset, detectOverflow } from '@floating-ui/react-dom';\nexport { arrow, autoPlacement, autoUpdate, computePosition, detectOverflow, flip, getOverflowAncestors, hide, inline, limitShift, offset, platform, shift, size } from '@floating-ui/react-dom';\n\n/**\n * Merges an array of refs into a single memoized callback ref or `null`.\n * @see https://floating-ui.com/docs/react-utils#usemergerefs\n */\nfunction useMergeRefs(refs) {\n const cleanupRef = React.useRef(undefined);\n const refEffect = React.useCallback(instance => {\n const cleanups = refs.map(ref => {\n if (ref == null) {\n return;\n }\n if (typeof ref === 'function') {\n const refCallback = ref;\n const refCleanup = refCallback(instance);\n return typeof refCleanup === 'function' ? refCleanup : () => {\n refCallback(null);\n };\n }\n ref.current = instance;\n return () => {\n ref.current = null;\n };\n });\n return () => {\n cleanups.forEach(refCleanup => refCleanup == null ? void 0 : refCleanup());\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, refs);\n return React.useMemo(() => {\n if (refs.every(ref => ref == null)) {\n return null;\n }\n return value => {\n if (cleanupRef.current) {\n cleanupRef.current();\n cleanupRef.current = undefined;\n }\n if (value != null) {\n cleanupRef.current = refEffect(value);\n }\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, refs);\n}\n\n// https://github.com/mui/material-ui/issues/41190#issuecomment-2040873379\nconst SafeReact = {\n ...React\n};\n\nconst useInsertionEffect = SafeReact.useInsertionEffect;\nconst useSafeInsertionEffect = useInsertionEffect || (fn => fn());\nfunction useEffectEvent(callback) {\n const ref = React.useRef(() => {\n if (process.env.NODE_ENV !== \"production\") {\n throw new Error('Cannot call an event handler while rendering.');\n }\n });\n useSafeInsertionEffect(() => {\n ref.current = callback;\n });\n return React.useCallback(function () {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n return ref.current == null ? void 0 : ref.current(...args);\n }, []);\n}\n\nconst ARROW_UP = 'ArrowUp';\nconst ARROW_DOWN = 'ArrowDown';\nconst ARROW_LEFT = 'ArrowLeft';\nconst ARROW_RIGHT = 'ArrowRight';\nfunction isDifferentRow(index, cols, prevRow) {\n return Math.floor(index / cols) !== prevRow;\n}\nfunction isIndexOutOfBounds(listRef, index) {\n return index < 0 || index >= listRef.current.length;\n}\nfunction getMinIndex(listRef, disabledIndices) {\n return findNonDisabledIndex(listRef, {\n disabledIndices\n });\n}\nfunction getMaxIndex(listRef, disabledIndices) {\n return findNonDisabledIndex(listRef, {\n decrement: true,\n startingIndex: listRef.current.length,\n disabledIndices\n });\n}\nfunction findNonDisabledIndex(listRef, _temp) {\n let {\n startingIndex = -1,\n decrement = false,\n disabledIndices,\n amount = 1\n } = _temp === void 0 ? {} : _temp;\n const list = listRef.current;\n let index = startingIndex;\n do {\n index += decrement ? -amount : amount;\n } while (index >= 0 && index <= list.length - 1 && isDisabled(list, index, disabledIndices));\n return index;\n}\nfunction getGridNavigatedIndex(elementsRef, _ref) {\n let {\n event,\n orientation,\n loop,\n rtl,\n cols,\n disabledIndices,\n minIndex,\n maxIndex,\n prevIndex,\n stopEvent: stop = false\n } = _ref;\n let nextIndex = prevIndex;\n if (event.key === ARROW_UP) {\n stop && stopEvent(event);\n if (prevIndex === -1) {\n nextIndex = maxIndex;\n } else {\n nextIndex = findNonDisabledIndex(elementsRef, {\n startingIndex: nextIndex,\n amount: cols,\n decrement: true,\n disabledIndices\n });\n if (loop && (prevIndex - cols < minIndex || nextIndex < 0)) {\n const col = prevIndex % cols;\n const maxCol = maxIndex % cols;\n const offset = maxIndex - (maxCol - col);\n if (maxCol === col) {\n nextIndex = maxIndex;\n } else {\n nextIndex = maxCol > col ? offset : offset - cols;\n }\n }\n }\n if (isIndexOutOfBounds(elementsRef, nextIndex)) {\n nextIndex = prevIndex;\n }\n }\n if (event.key === ARROW_DOWN) {\n stop && stopEvent(event);\n if (prevIndex === -1) {\n nextIndex = minIndex;\n } else {\n nextIndex = findNonDisabledIndex(elementsRef, {\n startingIndex: prevIndex,\n amount: cols,\n disabledIndices\n });\n if (loop && prevIndex + cols > maxIndex) {\n nextIndex = findNonDisabledIndex(elementsRef, {\n startingIndex: prevIndex % cols - cols,\n amount: cols,\n disabledIndices\n });\n }\n }\n if (isIndexOutOfBounds(elementsRef, nextIndex)) {\n nextIndex = prevIndex;\n }\n }\n\n // Remains on the same row/column.\n if (orientation === 'both') {\n const prevRow = floor(prevIndex / cols);\n if (event.key === (rtl ? ARROW_LEFT : ARROW_RIGHT)) {\n stop && stopEvent(event);\n if (prevIndex % cols !== cols - 1) {\n nextIndex = findNonDisabledIndex(elementsRef, {\n startingIndex: prevIndex,\n disabledIndices\n });\n if (loop && isDifferentRow(nextIndex, cols, prevRow)) {\n nextIndex = findNonDisabledIndex(elementsRef, {\n startingIndex: prevIndex - prevIndex % cols - 1,\n disabledIndices\n });\n }\n } else if (loop) {\n nextIndex = findNonDisabledIndex(elementsRef, {\n startingIndex: prevIndex - prevIndex % cols - 1,\n disabledIndices\n });\n }\n if (isDifferentRow(nextIndex, cols, prevRow)) {\n nextIndex = prevIndex;\n }\n }\n if (event.key === (rtl ? ARROW_RIGHT : ARROW_LEFT)) {\n stop && stopEvent(event);\n if (prevIndex % cols !== 0) {\n nextIndex = findNonDisabledIndex(elementsRef, {\n startingIndex: prevIndex,\n decrement: true,\n disabledIndices\n });\n if (loop && isDifferentRow(nextIndex, cols, prevRow)) {\n nextIndex = findNonDisabledIndex(elementsRef, {\n startingIndex: prevIndex + (cols - prevIndex % cols),\n decrement: true,\n disabledIndices\n });\n }\n } else if (loop) {\n nextIndex = findNonDisabledIndex(elementsRef, {\n startingIndex: prevIndex + (cols - prevIndex % cols),\n decrement: true,\n disabledIndices\n });\n }\n if (isDifferentRow(nextIndex, cols, prevRow)) {\n nextIndex = prevIndex;\n }\n }\n const lastRow = floor(maxIndex / cols) === prevRow;\n if (isIndexOutOfBounds(elementsRef, nextIndex)) {\n if (loop && lastRow) {\n nextIndex = event.key === (rtl ? ARROW_RIGHT : ARROW_LEFT) ? maxIndex : findNonDisabledIndex(elementsRef, {\n startingIndex: prevIndex - prevIndex % cols - 1,\n disabledIndices\n });\n } else {\n nextIndex = prevIndex;\n }\n }\n }\n return nextIndex;\n}\n\n/** For each cell index, gets the item index that occupies that cell */\nfunction buildCellMap(sizes, cols, dense) {\n const cellMap = [];\n let startIndex = 0;\n sizes.forEach((_ref2, index) => {\n let {\n width,\n height\n } = _ref2;\n if (width > cols) {\n if (process.env.NODE_ENV !== \"production\") {\n throw new Error(\"[Floating UI]: Invalid grid - item width at index \" + index + \" is greater than grid columns\");\n }\n }\n let itemPlaced = false;\n if (dense) {\n startIndex = 0;\n }\n while (!itemPlaced) {\n const targetCells = [];\n for (let i = 0; i < width; i++) {\n for (let j = 0; j < height; j++) {\n targetCells.push(startIndex + i + j * cols);\n }\n }\n if (startIndex % cols + width <= cols && targetCells.every(cell => cellMap[cell] == null)) {\n targetCells.forEach(cell => {\n cellMap[cell] = index;\n });\n itemPlaced = true;\n } else {\n startIndex++;\n }\n }\n });\n\n // convert into a non-sparse array\n return [...cellMap];\n}\n\n/** Gets cell index of an item's corner or -1 when index is -1. */\nfunction getCellIndexOfCorner(index, sizes, cellMap, cols, corner) {\n if (index === -1) return -1;\n const firstCellIndex = cellMap.indexOf(index);\n const sizeItem = sizes[index];\n switch (corner) {\n case 'tl':\n return firstCellIndex;\n case 'tr':\n if (!sizeItem) {\n return firstCellIndex;\n }\n return firstCellIndex + sizeItem.width - 1;\n case 'bl':\n if (!sizeItem) {\n return firstCellIndex;\n }\n return firstCellIndex + (sizeItem.height - 1) * cols;\n case 'br':\n return cellMap.lastIndexOf(index);\n }\n}\n\n/** Gets all cell indices that correspond to the specified indices */\nfunction getCellIndices(indices, cellMap) {\n return cellMap.flatMap((index, cellIndex) => indices.includes(index) ? [cellIndex] : []);\n}\nfunction isDisabled(list, index, disabledIndices) {\n if (disabledIndices) {\n return disabledIndices.includes(index);\n }\n const element = list[index];\n return element == null || element.hasAttribute('disabled') || element.getAttribute('aria-disabled') === 'true';\n}\n\nvar index = typeof document !== 'undefined' ? useLayoutEffect : useEffect;\n\nfunction sortByDocumentPosition(a, b) {\n const position = a.compareDocumentPosition(b);\n if (position & Node.DOCUMENT_POSITION_FOLLOWING || position & Node.DOCUMENT_POSITION_CONTAINED_BY) {\n return -1;\n }\n if (position & Node.DOCUMENT_POSITION_PRECEDING || position & Node.DOCUMENT_POSITION_CONTAINS) {\n return 1;\n }\n return 0;\n}\nconst FloatingListContext = /*#__PURE__*/React.createContext({\n register: () => {},\n unregister: () => {},\n map: /*#__PURE__*/new Map(),\n elementsRef: {\n current: []\n }\n});\n/**\n * Provides context for a list of items within the floating element.\n * @see https://floating-ui.com/docs/FloatingList\n */\nfunction FloatingList(props) {\n const {\n children,\n elementsRef,\n labelsRef\n } = props;\n const [nodes, setNodes] = React.useState(() => new Set());\n const register = React.useCallback(node => {\n setNodes(prevSet => new Set(prevSet).add(node));\n }, []);\n const unregister = React.useCallback(node => {\n setNodes(prevSet => {\n const set = new Set(prevSet);\n set.delete(node);\n return set;\n });\n }, []);\n const map = React.useMemo(() => {\n const newMap = new Map();\n const sortedNodes = Array.from(nodes.keys()).sort(sortByDocumentPosition);\n sortedNodes.forEach((node, index) => {\n newMap.set(node, index);\n });\n return newMap;\n }, [nodes]);\n return /*#__PURE__*/jsx(FloatingListContext.Provider, {\n value: React.useMemo(() => ({\n register,\n unregister,\n map,\n elementsRef,\n labelsRef\n }), [register, unregister, map, elementsRef, labelsRef]),\n children: children\n });\n}\n/**\n * Used to register a list item and its index (DOM position) in the\n * `FloatingList`.\n * @see https://floating-ui.com/docs/FloatingList#uselistitem\n */\nfunction useListItem(props) {\n if (props === void 0) {\n props = {};\n }\n const {\n label\n } = props;\n const {\n register,\n unregister,\n map,\n elementsRef,\n labelsRef\n } = React.useContext(FloatingListContext);\n const [index$1, setIndex] = React.useState(null);\n const componentRef = React.useRef(null);\n const ref = React.useCallback(node => {\n componentRef.current = node;\n if (index$1 !== null) {\n elementsRef.current[index$1] = node;\n if (labelsRef) {\n var _node$textContent;\n const isLabelDefined = label !== undefined;\n labelsRef.current[index$1] = isLabelDefined ? label : (_node$textContent = node == null ? void 0 : node.textContent) != null ? _node$textContent : null;\n }\n }\n }, [index$1, elementsRef, labelsRef, label]);\n index(() => {\n const node = componentRef.current;\n if (node) {\n register(node);\n return () => {\n unregister(node);\n };\n }\n }, [register, unregister]);\n index(() => {\n const index = componentRef.current ? map.get(componentRef.current) : null;\n if (index != null) {\n setIndex(index);\n }\n }, [map]);\n return React.useMemo(() => ({\n ref,\n index: index$1 == null ? -1 : index$1\n }), [index$1, ref]);\n}\n\nfunction renderJsx(render, computedProps) {\n if (typeof render === 'function') {\n return render(computedProps);\n }\n if (render) {\n return /*#__PURE__*/React.cloneElement(render, computedProps);\n }\n return /*#__PURE__*/jsx(\"div\", {\n ...computedProps\n });\n}\nconst CompositeContext = /*#__PURE__*/React.createContext({\n activeIndex: 0,\n onNavigate: () => {}\n});\nconst horizontalKeys = [ARROW_LEFT, ARROW_RIGHT];\nconst verticalKeys = [ARROW_UP, ARROW_DOWN];\nconst allKeys = [...horizontalKeys, ...verticalKeys];\n\n/**\n * Creates a single tab stop whose items are navigated by arrow keys, which\n * provides list navigation outside of floating element contexts.\n *\n * This is useful to enable navigation of a list of items that aren’t part of a\n * floating element. A menubar is an example of a composite, with each reference\n * element being an item.\n * @see https://floating-ui.com/docs/Composite\n */\nconst Composite = /*#__PURE__*/React.forwardRef(function Composite(props, forwardedRef) {\n const {\n render,\n orientation = 'both',\n loop = true,\n rtl = false,\n cols = 1,\n disabledIndices,\n activeIndex: externalActiveIndex,\n onNavigate: externalSetActiveIndex,\n itemSizes,\n dense = false,\n ...domProps\n } = props;\n const [internalActiveIndex, internalSetActiveIndex] = React.useState(0);\n const activeIndex = externalActiveIndex != null ? externalActiveIndex : internalActiveIndex;\n const onNavigate = useEffectEvent(externalSetActiveIndex != null ? externalSetActiveIndex : internalSetActiveIndex);\n const elementsRef = React.useRef([]);\n const renderElementProps = render && typeof render !== 'function' ? render.props : {};\n const contextValue = React.useMemo(() => ({\n activeIndex,\n onNavigate\n }), [activeIndex, onNavigate]);\n const isGrid = cols > 1;\n function handleKeyDown(event) {\n if (!allKeys.includes(event.key)) return;\n let nextIndex = activeIndex;\n const minIndex = getMinIndex(elementsRef, disabledIndices);\n const maxIndex = getMaxIndex(elementsRef, disabledIndices);\n const horizontalEndKey = rtl ? ARROW_LEFT : ARROW_RIGHT;\n const horizontalStartKey = rtl ? ARROW_RIGHT : ARROW_LEFT;\n if (isGrid) {\n const sizes = itemSizes || Array.from({\n length: elementsRef.current.length\n }, () => ({\n width: 1,\n height: 1\n }));\n // To calculate movements on the grid, we use hypothetical cell indices\n // as if every item was 1x1, then convert back to real indices.\n const cellMap = buildCellMap(sizes, cols, dense);\n const minGridIndex = cellMap.findIndex(index => index != null && !isDisabled(elementsRef.current, index, disabledIndices));\n // last enabled index\n const maxGridIndex = cellMap.reduce((foundIndex, index, cellIndex) => index != null && !isDisabled(elementsRef.current, index, disabledIndices) ? cellIndex : foundIndex, -1);\n const maybeNextIndex = cellMap[getGridNavigatedIndex({\n current: cellMap.map(itemIndex => itemIndex ? elementsRef.current[itemIndex] : null)\n }, {\n event,\n orientation,\n loop,\n rtl,\n cols,\n // treat undefined (empty grid spaces) as disabled indices so we\n // don't end up in them\n disabledIndices: getCellIndices([...(disabledIndices || elementsRef.current.map((_, index) => isDisabled(elementsRef.current, index) ? index : undefined)), undefined], cellMap),\n minIndex: minGridIndex,\n maxIndex: maxGridIndex,\n prevIndex: getCellIndexOfCorner(activeIndex > maxIndex ? minIndex : activeIndex, sizes, cellMap, cols,\n // use a corner matching the edge closest to the direction we're\n // moving in so we don't end up in the same item. Prefer\n // top/left over bottom/right.\n event.key === ARROW_DOWN ? 'bl' : event.key === horizontalEndKey ? 'tr' : 'tl')\n })];\n if (maybeNextIndex != null) {\n nextIndex = maybeNextIndex;\n }\n }\n const toEndKeys = {\n horizontal: [horizontalEndKey],\n vertical: [ARROW_DOWN],\n both: [horizontalEndKey, ARROW_DOWN]\n }[orientation];\n const toStartKeys = {\n horizontal: [horizontalStartKey],\n vertical: [ARROW_UP],\n both: [horizontalStartKey, ARROW_UP]\n }[orientation];\n const preventedKeys = isGrid ? allKeys : {\n horizontal: horizontalKeys,\n vertical: verticalKeys,\n both: allKeys\n }[orientation];\n if (nextIndex === activeIndex && [...toEndKeys, ...toStartKeys].includes(event.key)) {\n if (loop && nextIndex === maxIndex && toEndKeys.includes(event.key)) {\n nextIndex = minIndex;\n } else if (loop && nextIndex === minIndex && toStartKeys.includes(event.key)) {\n nextIndex = maxIndex;\n } else {\n nextIndex = findNonDisabledIndex(elementsRef, {\n startingIndex: nextIndex,\n decrement: toStartKeys.includes(event.key),\n disabledIndices\n });\n }\n }\n if (nextIndex !== activeIndex && !isIndexOutOfBounds(elementsRef, nextIndex)) {\n var _elementsRef$current$;\n event.stopPropagation();\n if (preventedKeys.includes(event.key)) {\n event.preventDefault();\n }\n onNavigate(nextIndex);\n (_elementsRef$current$ = elementsRef.current[nextIndex]) == null || _elementsRef$current$.focus();\n }\n }\n const computedProps = {\n ...domProps,\n ...renderElementProps,\n ref: forwardedRef,\n 'aria-orientation': orientation === 'both' ? undefined : orientation,\n onKeyDown(e) {\n domProps.onKeyDown == null || domProps.onKeyDown(e);\n renderElementProps.onKeyDown == null || renderElementProps.onKeyDown(e);\n handleKeyDown(e);\n }\n };\n return /*#__PURE__*/jsx(CompositeContext.Provider, {\n value: contextValue,\n children: /*#__PURE__*/jsx(FloatingList, {\n elementsRef: elementsRef,\n children: renderJsx(render, computedProps)\n })\n });\n});\n/**\n * @see https://floating-ui.com/docs/Composite\n */\nconst CompositeItem = /*#__PURE__*/React.forwardRef(function CompositeItem(props, forwardedRef) {\n const {\n render,\n ...domProps\n } = props;\n const renderElementProps = render && typeof render !== 'function' ? render.props : {};\n const {\n activeIndex,\n onNavigate\n } = React.useContext(CompositeContext);\n const {\n ref,\n index\n } = useListItem();\n const mergedRef = useMergeRefs([ref, forwardedRef, renderElementProps.ref]);\n const isActive = activeIndex === index;\n const computedProps = {\n ...domProps,\n ...renderElementProps,\n ref: mergedRef,\n tabIndex: isActive ? 0 : -1,\n 'data-active': isActive ? '' : undefined,\n onFocus(e) {\n domProps.onFocus == null || domProps.onFocus(e);\n renderElementProps.onFocus == null || renderElementProps.onFocus(e);\n onNavigate(index);\n }\n };\n return renderJsx(render, computedProps);\n});\n\nlet serverHandoffComplete = false;\nlet count = 0;\nconst genId = () => // Ensure the id is unique with multiple independent versions of Floating UI\n// on <React 18\n\"floating-ui-\" + Math.random().toString(36).slice(2, 6) + count++;\nfunction useFloatingId() {\n const [id, setId] = React.useState(() => serverHandoffComplete ? genId() : undefined);\n index(() => {\n if (id == null) {\n setId(genId());\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n React.useEffect(() => {\n serverHandoffComplete = true;\n }, []);\n return id;\n}\nconst useReactId = SafeReact.useId;\n\n/**\n * Uses React 18's built-in `useId()` when available, or falls back to a\n * slightly less performant (requiring a double render) implementation for\n * earlier React versions.\n * @see https://floating-ui.com/docs/react-utils#useid\n */\nconst useId = useReactId || useFloatingId;\n\nlet devMessageSet;\nif (process.env.NODE_ENV !== \"production\") {\n devMessageSet = /*#__PURE__*/new Set();\n}\nfunction warn() {\n var _devMessageSet;\n for (var _len = arguments.length, messages = new Array(_len), _key = 0; _key < _len; _key++) {\n messages[_key] = arguments[_key];\n }\n const message = \"Floating UI: \" + messages.join(' ');\n if (!((_devMessageSet = devMessageSet) != null && _devMessageSet.has(message))) {\n var _devMessageSet2;\n (_devMessageSet2 = devMessageSet) == null || _devMessageSet2.add(message);\n console.warn(message);\n }\n}\nfunction error() {\n var _devMessageSet3;\n for (var _len2 = arguments.length, messages = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n messages[_key2] = arguments[_key2];\n }\n const message = \"Floating UI: \" + messages.join(' ');\n if (!((_devMessageSet3 = devMessageSet) != null && _devMessageSet3.has(message))) {\n var _devMessageSet4;\n (_devMessageSet4 = devMessageSet) == null || _devMessageSet4.add(message);\n console.error(message);\n }\n}\n\n/**\n * Renders a pointing arrow triangle.\n * @see https://floating-ui.com/docs/FloatingArrow\n */\nconst FloatingArrow = /*#__PURE__*/React.forwardRef(function FloatingArrow(props, ref) {\n const {\n context: {\n placement,\n elements: {\n floating\n },\n middlewareData: {\n arrow,\n shift\n }\n },\n width = 14,\n height = 7,\n tipRadius = 0,\n strokeWidth = 0,\n staticOffset,\n stroke,\n d,\n style: {\n transform,\n ...restStyle\n } = {},\n ...rest\n } = props;\n if (process.env.NODE_ENV !== \"production\") {\n if (!ref) {\n warn('The `ref` prop is required for `FloatingArrow`.');\n }\n }\n const clipPathId = useId();\n const [isRTL, setIsRTL] = React.useState(false);\n\n // https://github.com/floating-ui/floating-ui/issues/2932\n index(() => {\n if (!floating) return;\n const isRTL = getComputedStyle(floating).direction === 'rtl';\n if (isRTL) {\n setIsRTL(true);\n }\n }, [floating]);\n if (!floating) {\n return null;\n }\n const [side, alignment] = placement.split('-');\n const isVerticalSide = side === 'top' || side === 'bottom';\n let computedStaticOffset = staticOffset;\n if (isVerticalSide && shift != null && shift.x || !isVerticalSide && shift != null && shift.y) {\n computedStaticOffset = null;\n }\n\n // Strokes must be double the border width, this ensures the stroke's width\n // works as you'd expect.\n const computedStrokeWidth = strokeWidth * 2;\n const halfStrokeWidth = computedStrokeWidth / 2;\n const svgX = width / 2 * (tipRadius / -8 + 1);\n const svgY = height / 2 * tipRadius / 4;\n const isCustomShape = !!d;\n const yOffsetProp = computedStaticOffset && alignment === 'end' ? 'bottom' : 'top';\n let xOffsetProp = computedStaticOffset && alignment === 'end' ? 'right' : 'left';\n if (computedStaticOffset && isRTL) {\n xOffsetProp = alignment === 'end' ? 'left' : 'right';\n }\n const arrowX = (arrow == null ? void 0 : arrow.x) != null ? computedStaticOffset || arrow.x : '';\n const arrowY = (arrow == null ? void 0 : arrow.y) != null ? computedStaticOffset || arrow.y : '';\n const dValue = d || 'M0,0' + (\" H\" + width) + (\" L\" + (width - svgX) + \",\" + (height - svgY)) + (\" Q\" + width / 2 + \",\" + height + \" \" + svgX + \",\" + (height - svgY)) + ' Z';\n const rotation = {\n top: isCustomShape ? 'rotate(180deg)' : '',\n left: isCustomShape ? 'rotate(90deg)' : 'rotate(-90deg)',\n bottom: isCustomShape ? '' : 'rotate(180deg)',\n right: isCustomShape ? 'rotate(-90deg)' : 'rotate(90deg)'\n }[side];\n return /*#__PURE__*/jsxs(\"svg\", {\n ...rest,\n \"aria-hidden\": true,\n ref: ref,\n width: isCustomShape ? width : width + computedStrokeWidth,\n height: width,\n viewBox: \"0 0 \" + width + \" \" + (height > width ? height : width),\n style: {\n position: 'absolute',\n pointerEvents: 'none',\n [xOffsetProp]: arrowX,\n [yOffsetProp]: arrowY,\n [side]: isVerticalSide || isCustomShape ? '100%' : \"calc(100% - \" + computedStrokeWidth / 2 + \"px)\",\n transform: [rotation, transform].filter(t => !!t).join(' '),\n ...restStyle\n },\n children: [computedStrokeWidth > 0 && /*#__PURE__*/jsx(\"path\", {\n clipPath: \"url(#\" + clipPathId + \")\",\n fill: \"none\",\n stroke: stroke\n // Account for the stroke on the fill path rendered below.\n ,\n strokeWidth: computedStrokeWidth + (d ? 0 : 1),\n d: dValue\n }), /*#__PURE__*/jsx(\"path\", {\n stroke: computedStrokeWidth && !d ? rest.fill : 'none',\n d: dValue\n }), /*#__PURE__*/jsx(\"clipPath\", {\n id: clipPathId,\n children: /*#__PURE__*/jsx(\"rect\", {\n x: -halfStrokeWidth,\n y: halfStrokeWidth * (isCustomShape ? -1 : 1),\n width: width + computedStrokeWidth,\n height: width\n })\n })]\n });\n});\n\nfunction createPubSub() {\n const map = new Map();\n return {\n emit(event, data) {\n var _map$get;\n (_map$get = map.get(event)) == null || _map$get.forEach(handler => handler(data));\n },\n on(event, listener) {\n map.set(event, [...(map.get(event) || []), listener]);\n },\n off(event, listener) {\n var _map$get2;\n map.set(event, ((_map$get2 = map.get(event)) == null ? void 0 : _map$get2.filter(l => l !== listener)) || []);\n }\n };\n}\n\nconst FloatingNodeContext = /*#__PURE__*/React.createContext(null);\nconst FloatingTreeContext = /*#__PURE__*/React.createContext(null);\n\n/**\n * Returns the parent node id for nested floating elements, if available.\n * Returns `null` for top-level floating elements.\n */\nconst useFloatingParentNodeId = () => {\n var _React$useContext;\n return ((_React$useContext = React.useContext(FloatingNodeContext)) == null ? void 0 : _React$useContext.id) || null;\n};\n\n/**\n * Returns the nearest floating tree context, if available.\n */\nconst useFloatingTree = () => React.useContext(FloatingTreeContext);\n\n/**\n * Registers a node into the `FloatingTree`, returning its id.\n * @see https://floating-ui.com/docs/FloatingTree\n */\nfunction useFloatingNodeId(customParentId) {\n const id = useId();\n const tree = useFloatingTree();\n const reactParentId = useFloatingParentNodeId();\n const parentId = customParentId || reactParentId;\n index(() => {\n if (!id) return;\n const node = {\n id,\n parentId\n };\n tree == null || tree.addNode(node);\n return () => {\n tree == null || tree.removeNode(node);\n };\n }, [tree, id, parentId]);\n return id;\n}\n/**\n * Provides parent node context for nested floating elements.\n * @see https://floating-ui.com/docs/FloatingTree\n */\nfunction FloatingNode(props) {\n const {\n children,\n id\n } = props;\n const parentId = useFloatingParentNodeId();\n return /*#__PURE__*/jsx(FloatingNodeContext.Provider, {\n value: React.useMemo(() => ({\n id,\n parentId\n }), [id, parentId]),\n children: children\n });\n}\n/**\n * Provides context for nested floating elements when they are not children of\n * each other on the DOM.\n * This is not necessary in all cases, except when there must be explicit communication between parent and child floating elements. It is necessary for:\n * - The `bubbles` option in the `useDismiss()` Hook\n * - Nested virtual list navigation\n * - Nested floating elements that each open on hover\n * - Custom communication between parent and child floating elements\n * @see https://floating-ui.com/docs/FloatingTree\n */\nfunction FloatingTree(props) {\n const {\n children\n } = props;\n const nodesRef = React.useRef([]);\n const addNode = React.useCallback(node => {\n nodesRef.current = [...nodesRef.current, node];\n }, []);\n const removeNode = React.useCallback(node => {\n nodesRef.current = nodesRef.current.filter(n => n !== node);\n }, []);\n const events = React.useState(() => createPubSub())[0];\n return /*#__PURE__*/jsx(FloatingTreeContext.Provider, {\n value: React.useMemo(() => ({\n nodesRef,\n addNode,\n removeNode,\n events\n }), [addNode, removeNode, events]),\n children: children\n });\n}\n\nfunction createAttribute(name) {\n return \"data-floating-ui-\" + name;\n}\n\nfunction clearTimeoutIfSet(timeoutRef) {\n if (timeoutRef.current !== -1) {\n clearTimeout(timeoutRef.current);\n timeoutRef.current = -1;\n }\n}\n\nfunction useLatestRef(value) {\n const ref = useRef(value);\n index(() => {\n ref.current = value;\n });\n return ref;\n}\n\nconst safePolygonIdentifier = /*#__PURE__*/createAttribute('safe-polygon');\nfunction getDelay(value, prop, pointerType) {\n if (pointerType && !isMouseLikePointerType(pointerType)) {\n return 0;\n }\n if (typeof value === 'number') {\n return value;\n }\n return value == null ? void 0 : value[prop];\n}\n/**\n * Opens the floating element while hovering over the reference element, like\n * CSS `:hover`.\n * @see https://floating-ui.com/docs/useHover\n */\nfunction useHover(context, props) {\n if (props === void 0) {\n props = {};\n }\n const {\n open,\n onOpenChange,\n dataRef,\n events,\n elements\n } = context;\n const {\n enabled = true,\n delay = 0,\n handleClose = null,\n mouseOnly = false,\n restMs = 0,\n move = true\n } = props;\n const tree = useFloatingTree();\n const parentId = useFloatingParentNodeId();\n const handleCloseRef = useLatestRef(handleClose);\n const delayRef = useLatestRef(delay);\n const openRef = useLatestRef(open);\n const pointerTypeRef = React.useRef();\n const timeoutRef = React.useRef(-1);\n const handlerRef = React.useRef();\n const restTimeoutRef = React.useRef(-1);\n const blockMouseMoveRef = React.useRef(true);\n const performedPointerEventsMutationRef = React.useRef(false);\n const unbindMouseMoveRef = React.useRef(() => {});\n const restTimeoutPendingRef = React.useRef(false);\n const isHoverOpen = React.useCallback(() => {\n var _dataRef$current$open;\n const type = (_dataRef$current$open = dataRef.current.openEvent) == null ? void 0 : _dataRef$current$open.type;\n return (type == null ? void 0 : type.includes('mouse')) && type !== 'mousedown';\n }, [dataRef]);\n\n // When closing before opening, clear the delay timeouts to cancel it\n // from showing.\n React.useEffect(() => {\n if (!enabled) return;\n function onOpenChange(_ref) {\n let {\n open\n } = _ref;\n if (!open) {\n clearTimeoutIfSet(timeoutRef);\n clearTimeoutIfSet(restTimeoutRef);\n blockMouseMoveRef.current = true;\n restTimeoutPendingRef.current = false;\n }\n }\n events.on('openchange', onOpenChange);\n return () => {\n events.off('openchange', onOpenChange);\n };\n }, [enabled, events]);\n React.useEffect(() => {\n if (!enabled) return;\n if (!handleCloseRef.current) return;\n if (!open) return;\n function onLeave(event) {\n if (isHoverOpen()) {\n onOpenChange(false, event, 'hover');\n }\n }\n const html = getDocument(elements.floating).documentElement;\n html.addEventListener('mouseleave', onLeave);\n return () => {\n html.removeEventListener('mouseleave', onLeave);\n };\n }, [elements.floating, open, onOpenChange, enabled, handleCloseRef, isHoverOpen]);\n const closeWithDelay = React.useCallback(function (event, runElseBranch, reason) {\n if (runElseBranch === void 0) {\n runElseBranch = true;\n }\n if (reason === void 0) {\n reason = 'hover';\n }\n const closeDelay = getDelay(delayRef.current, 'close', pointerTypeRef.current);\n if (closeDelay && !handlerRef.current) {\n clearTimeoutIfSet(timeoutRef);\n timeoutRef.current = window.setTimeout(() => onOpenChange(false, event, reason), closeDelay);\n } else if (runElseBranch) {\n clearTimeoutIfSet(timeoutRef);\n onOpenChange(false, event, reason);\n }\n }, [delayRef, onOpenChange]);\n const cleanupMouseMoveHandler = useEffectEvent(() => {\n unbindMouseMoveRef.current();\n handlerRef.current = undefined;\n });\n const clearPointerEvents = useEffectEvent(() => {\n if (performedPointerEventsMutationRef.current) {\n const body = getDocument(elements.floating).body;\n body.style.pointerEvents = '';\n body.removeAttribute(safePolygonIdentifier);\n performedPointerEventsMutationRef.current = false;\n }\n });\n const isClickLikeOpenEvent = useEffectEvent(() => {\n return dataRef.current.openEvent ? ['click', 'mousedown'].includes(dataRef.current.openEvent.type) : false;\n });\n\n // Registering the mouse events on the reference directly to bypass React's\n // delegation system. If the cursor was on a disabled element and then entered\n // the reference (no gap), `mouseenter` doesn't fire in the delegation system.\n React.useEffect(() => {\n if (!enabled) return;\n function onMouseEnter(event) {\n clearTimeoutIfSet(timeoutRef);\n blockMouseMoveRef.current = false;\n if (mouseOnly && !isMouseLikePointerType(pointerTypeRef.current) || restMs > 0 && !getDelay(delayRef.current, 'open')) {\n return;\n }\n const openDelay = getDelay(delayRef.current, 'open', pointerTypeRef.current);\n if (openDelay) {\n timeoutRef.current = window.setTimeout(() => {\n if (!openRef.current) {\n onOpenChange(true, event, 'hover');\n }\n }, openDelay);\n } else if (!open) {\n onOpenChange(true, event, 'hover');\n }\n }\n function onMouseLeave(event) {\n if (isClickLikeOpenEvent()) return;\n unbindMouseMoveRef.current();\n const doc = getDocument(elements.floating);\n clearTimeoutIfSet(restTimeoutRef);\n restTimeoutPendingRef.current = false;\n if (handleCloseRef.current && dataRef.current.floatingContext) {\n // Prevent clearing `onScrollMouseLeave` timeout.\n if (!open) {\n clearTimeoutIfSet(timeoutRef);\n }\n handlerRef.current = handleCloseRef.current({\n ...dataRef.current.floatingContext,\n tree,\n x: event.clientX,\n y: event.clientY,\n onClose() {\n clearPointerEvents();\n cleanupMouseMoveHandler();\n if (!isClickLikeOpenEvent()) {\n closeWithDelay(event, true, 'safe-polygon');\n }\n }\n });\n const handler = handlerRef.current;\n doc.addEventListener('mousemove', handler);\n unbindMouseMoveRef.current = () => {\n doc.removeEventListener('mousemove', handler);\n };\n return;\n }\n\n // Allow interactivity without `safePolygon` on touch devices. With a\n // pointer, a short close delay is an alternative, so it should work\n // consistently.\n const shouldClose = pointerTypeRef.current === 'touch' ? !contains(elements.floating, event.relatedTarget) : true;\n if (shouldClose) {\n closeWithDelay(event);\n }\n }\n\n // Ensure the floating element closes after scrolling even if the pointer\n // did not move.\n // https://github.com/floating-ui/floating-ui/discussions/1692\n function onScrollMouseLeave(event) {\n if (isClickLikeOpenEvent()) return;\n if (!dataRef.current.floatingContext) return;\n handleCloseRef.current == null || handleCloseRef.current({\n ...dataRef.current.floatingContext,\n tree,\n x: event.clientX,\n y: event.clientY,\n onClose() {\n clearPointerEvents();\n cleanupMouseMoveHandler();\n if (!isClickLikeOpenEvent()) {\n closeWithDelay(event);\n }\n }\n })(event);\n }\n if (isElement(elements.domReference)) {\n var _elements$floating;\n const ref = elements.domReference;\n open && ref.addEventListener('mouseleave', onScrollMouseLeave);\n (_elements$floating = elements.floating) == null || _elements$floating.addEventListener('mouseleave', onScrollMouseLeave);\n move && ref.addEventListener('mousemove', onMouseEnter, {\n once: true\n });\n ref.addEventListener('mouseenter', onMouseEnter);\n ref.addEventListener('mouseleave', onMouseLeave);\n return () => {\n var _elements$floating2;\n open && ref.removeEventListener('mouseleave', onScrollMouseLeave);\n (_elements$floating2 = elements.floating) == null || _elements$floating2.removeEventListener('mouseleave', onScrollMouseLeave);\n move && ref.removeEventListener('mousemove', onMouseEnter);\n ref.removeEventListener('mouseenter', onMouseEnter);\n ref.removeEventListener('mouseleave', onMouseLeave);\n };\n }\n }, [elements, enabled, context, mouseOnly, restMs, move, closeWithDelay, cleanupMouseMoveHandler, clearPointerEvents, onOpenChange, open, openRef, tree, delayRef, handleCloseRef, dataRef, isClickLikeOpenEvent]);\n\n // Block pointer-events of every element other than the reference and floating\n // while the floating element is open and has a `handleClose` handler. Also\n // handles nested floating elements.\n // https://github.com/floating-ui/floating-ui/issues/1722\n index(() => {\n var _handleCloseRef$curre;\n if (!enabled) return;\n if (open && (_handleCloseRef$curre = handleCloseRef.current) != null && _handleCloseRef$curre.__options.blockPointerEvents && isHoverOpen()) {\n performedPointerEventsMutationRef.current = true;\n const floatingEl = elements.floating;\n if (isElement(elements.domReference) && floatingEl) {\n var _tree$nodesRef$curren;\n const body = getDocument(elements.floating).body;\n body.setAttribute(safePolygonIdentifier, '');\n const ref = elements.domReference;\n const parentFloating = tree == null || (_tree$nodesRef$curren = tree.nodesRef.current.find(node => node.id === parentId)) == null || (_tree$nodesRef$curren = _tree$nodesRef$curren.context) == null ? void 0 : _tree$nodesRef$curren.elements.floating;\n if (parentFloating) {\n parentFloating.style.pointerEvents = '';\n }\n body.style.pointerEvents = 'none';\n ref.style.pointerEvents = 'auto';\n floatingEl.style.pointerEvents = 'auto';\n return () => {\n body.style.pointerEvents = '';\n ref.style.pointerEvents = '';\n floatingEl.style.pointerEvents = '';\n };\n }\n }\n }, [enabled, open, parentId, elements, tree, handleCloseRef, isHoverOpen]);\n index(() => {\n if (!open) {\n pointerTypeRef.current = undefined;\n restTimeoutPendingRef.current = false;\n cleanupMouseMoveHandler();\n clearPointerEvents();\n }\n }, [open, cleanupMouseMoveHandler, clearPointerEvents]);\n React.useEffect(() => {\n return () => {\n cleanupMouseMoveHandler();\n clearTimeoutIfSet(timeoutRef);\n clearTimeoutIfSet(restTimeoutRef);\n clearPointerEvents();\n };\n }, [enabled, elements.domReference, cleanupMouseMoveHandler, clearPointerEvents]);\n const reference = React.useMemo(() => {\n function setPointerRef(event) {\n pointerTypeRef.current = event.pointerType;\n }\n return {\n onPointerDown: setPointerRef,\n onPointerEnter: setPointerRef,\n onMouseMove(event) {\n const {\n nativeEvent\n } = event;\n function handleMouseMove() {\n if (!blockMouseMoveRef.current && !openRef.current) {\n onOpenChange(true, nativeEvent, 'hover');\n }\n }\n if (mouseOnly && !isMouseLikePointerType(pointerTypeRef.current)) {\n return;\n }\n if (open || restMs === 0) {\n return;\n }\n\n // Ignore insignificant movements to account for tremors.\n if (restTimeoutPendingRef.current && event.movementX ** 2 + event.movementY ** 2 < 2) {\n return;\n }\n clearTimeoutIfSet(restTimeoutRef);\n if (pointerTypeRef.current === 'touch') {\n handleMouseMove();\n } else {\n restTimeoutPendingRef.current = true;\n restTimeoutRef.current = window.setTimeout(handleMouseMove, restMs);\n }\n }\n };\n }, [mouseOnly, onOpenChange, open, openRef, restMs]);\n const floating = React.useMemo(() => ({\n onMouseEnter() {\n clearTimeoutIfSet(timeoutRef);\n },\n onMouseLeave(event) {\n if (!isClickLikeOpenEvent()) {\n closeWithDelay(event.nativeEvent, false);\n }\n }\n }), [closeWithDelay, isClickLikeOpenEvent]);\n return React.useMemo(() => enabled ? {\n reference,\n floating\n } : {}, [enabled, reference, floating]);\n}\n\nconst NOOP = () => {};\nconst FloatingDelayGroupContext = /*#__PURE__*/React.createContext({\n delay: 0,\n initialDelay: 0,\n timeoutMs: 0,\n currentId: null,\n setCurrentId: NOOP,\n setState: NOOP,\n isInstantPhase: false\n});\n\n/**\n * @deprecated\n * Use the return value of `useDelayGroup()` instead.\n */\nconst useDelayGroupContext = () => React.useContext(FloatingDelayGroupContext);\n/**\n * Provides context for a group of floating elements that should share a\n * `delay`.\n * @see https://floating-ui.com/docs/FloatingDelayGroup\n */\nfunction FloatingDelayGroup(props) {\n const {\n children,\n delay,\n timeoutMs = 0\n } = props;\n const [state, setState] = React.useReducer((prev, next) => ({\n ...prev,\n ...next\n }), {\n delay,\n timeoutMs,\n initialDelay: delay,\n currentId: null,\n isInstantPhase: false\n });\n const initialCurrentIdRef = React.useRef(null);\n const setCurrentId = React.useCallback(currentId => {\n setState({\n currentId\n });\n }, []);\n index(() => {\n if (state.currentId) {\n if (initialCurrentIdRef.current === null) {\n initialCurrentIdRef.current = state.currentId;\n } else if (!state.isInstantPhase) {\n setState({\n isInstantPhase: true\n });\n }\n } else {\n if (state.isInstantPhase) {\n setState({\n isInstantPhase: false\n });\n }\n initialCurrentIdRef.current = null;\n }\n }, [state.currentId, state.isInstantPhase]);\n return /*#__PURE__*/jsx(FloatingDelayGroupContext.Provider, {\n value: React.useMemo(() => ({\n ...state,\n setState,\n setCurrentId\n }), [state, setCurrentId]),\n children: children\n });\n}\n/**\n * Enables grouping when called inside a component that's a child of a\n * `FloatingDelayGroup`.\n * @see https://floating-ui.com/docs/FloatingDelayGroup\n */\nfunction useDelayGroup(context, options) {\n if (options === void 0) {\n options = {};\n }\n const {\n open,\n onOpenChange,\n floatingId\n } = context;\n const {\n id: optionId,\n enabled = true\n } = options;\n const id = optionId != null ? optionId : floatingId;\n const groupContext = useDelayGroupContext();\n const {\n currentId,\n setCurrentId,\n initialDelay,\n setState,\n timeoutMs\n } = groupContext;\n index(() => {\n if (!enabled) return;\n if (!currentId) return;\n setState({\n delay: {\n open: 1,\n close: getDelay(initialDelay, 'close')\n }\n });\n if (currentId !== id) {\n onOpenChange(false);\n }\n }, [enabled, id, onOpenChange, setState, currentId, initialDelay]);\n index(() => {\n function unset() {\n onOpenChange(false);\n setState({\n delay: initialDelay,\n currentId: null\n });\n }\n if (!enabled) return;\n if (!currentId) return;\n if (!open && currentId === id) {\n if (timeoutMs) {\n const timeout = window.setTimeout(unset, timeoutMs);\n return () => {\n clearTimeout(timeout);\n };\n }\n unset();\n }\n }, [enabled, open, setState, currentId, id, onOpenChange, initialDelay, timeoutMs]);\n index(() => {\n if (!enabled) return;\n if (setCurrentId === NOOP || !open) return;\n setCurrentId(id);\n }, [enabled, open, setCurrentId, id]);\n return groupContext;\n}\n\nlet rafId = 0;\nfunction enqueueFocus(el, options) {\n if (options === void 0) {\n options = {};\n }\n const {\n preventScroll = false,\n cancelPrevious = true,\n sync = false\n } = options;\n cancelPrevious && cancelAnimationFrame(rafId);\n const exec = () => el == null ? void 0 : el.focus({\n preventScroll\n });\n if (sync) {\n exec();\n } else {\n rafId = requestAnimationFrame(exec);\n }\n}\n\nfunction getAncestors(nodes, id) {\n var _nodes$find;\n let allAncestors = [];\n let currentParentId = (_nodes$find = nodes.find(node => node.id === id)) == null ? void 0 : _nodes$find.parentId;\n while (currentParentId) {\n const currentNode = nodes.find(node => node.id === currentParentId);\n currentParentId = currentNode == null ? void 0 : currentNode.parentId;\n if (currentNode) {\n allAncestors = allAncestors.concat(currentNode);\n }\n }\n return allAncestors;\n}\n\nfunction getChildren(nodes, id) {\n let allChildren = nodes.filter(node => {\n var _node$context;\n return node.parentId === id && ((_node$context = node.context) == null ? void 0 : _node$context.open);\n });\n let currentChildren = allChildren;\n while (currentChildren.length) {\n currentChildren = nodes.filter(node => {\n var _currentChildren;\n return (_currentChildren = currentChildren) == null ? void 0 : _currentChildren.some(n => {\n var _node$context2;\n return node.parentId === n.id && ((_node$context2 = node.context) == null ? void 0 : _node$context2.open);\n });\n });\n allChildren = allChildren.concat(currentChildren);\n }\n return allChildren;\n}\nfunction getDeepestNode(nodes, id) {\n let deepestNodeId;\n let maxDepth = -1;\n function findDeepest(nodeId, depth) {\n if (depth > maxDepth) {\n deepestNodeId = nodeId;\n maxDepth = depth;\n }\n const children = getChildren(nodes, nodeId);\n children.forEach(child => {\n findDeepest(child.id, depth + 1);\n });\n }\n findDeepest(id, 0);\n return nodes.find(node => node.id === deepestNodeId);\n}\n\n// Modified to add conditional `aria-hidden` support:\n// https://github.com/theKashey/aria-hidden/blob/9220c8f4a4fd35f63bee5510a9f41a37264382d4/src/index.ts\nlet counterMap = /*#__PURE__*/new WeakMap();\nlet uncontrolledElementsSet = /*#__PURE__*/new WeakSet();\nlet markerMap = {};\nlet lockCount$1 = 0;\nconst supportsInert = () => typeof HTMLElement !== 'undefined' && 'inert' in HTMLElement.prototype;\nconst unwrapHost = node => node && (node.host || unwrapHost(node.parentNode));\nconst correctElements = (parent, targets) => targets.map(target => {\n if (parent.contains(target)) {\n return target;\n }\n const correctedTarget = unwrapHost(target);\n if (parent.contains(correctedTarget)) {\n return correctedTarget;\n }\n return null;\n}).filter(x => x != null);\nfunction applyAttributeToOthers(uncorrectedAvoidElements, body, ariaHidden, inert) {\n const markerName = 'data-floating-ui-inert';\n const controlAttribute = inert ? 'inert' : ariaHidden ? 'aria-hidden' : null;\n const avoidElements = correctElements(body, uncorrectedAvoidElements);\n const elementsToKeep = new Set();\n const elementsToStop = new Set(avoidElements);\n const hiddenElements = [];\n if (!markerMap[markerName]) {\n markerMap[markerName] = new WeakMap();\n }\n const markerCounter = markerMap[markerName];\n avoidElements.forEach(keep);\n deep(body);\n elementsToKeep.clear();\n function keep(el) {\n if (!el || elementsToKeep.has(el)) {\n return;\n }\n elementsToKeep.add(el);\n el.parentNode && keep(el.parentNode);\n }\n function deep(parent) {\n if (!parent || elementsToStop.has(parent)) {\n return;\n }\n [].forEach.call(parent.children, node => {\n if (getNodeName(node) === 'script') return;\n if (elementsToKeep.has(node)) {\n deep(node);\n } else {\n const attr = controlAttribute ? node.getAttribute(controlAttribute) : null;\n const alreadyHidden = attr !== null && attr !== 'false';\n const currentCounterValue = counterMap.get(node) || 0;\n const counterValue = controlAttribute ? currentCounterValue + 1 : currentCounterValue;\n const markerValue = (markerCounter.get(node) || 0) + 1;\n counterMap.set(node, counterValue);\n markerCounter.set(node, markerValue);\n hiddenElements.push(node);\n if (counterValue === 1 && alreadyHidden) {\n uncontrolledElementsSet.add(node);\n }\n if (markerValue === 1) {\n node.setAttribute(markerName, '');\n }\n if (!alreadyHidden && controlAttribute) {\n node.setAttribute(controlAttribute, 'true');\n }\n }\n });\n }\n lockCount$1++;\n return () => {\n hiddenElements.forEach(element => {\n const currentCounterValue = counterMap.get(element) || 0;\n const counterValue = controlAttribute ? currentCounterValue - 1 : currentCounterValue;\n const markerValue = (markerCounter.get(element) || 0) - 1;\n counterMap.set(element, counterValue);\n markerCounter.set(element, markerValue);\n if (!counterValue) {\n if (!uncontrolledElementsSet.has(element) && controlAttribute) {\n element.removeAttribute(controlAttribute);\n }\n uncontrolledElementsSet.delete(element);\n }\n if (!markerValue) {\n element.removeAttribute(markerName);\n }\n });\n lockCount$1--;\n if (!lockCount$1) {\n counterMap = new WeakMap();\n counterMap = new WeakMap();\n uncontrolledElementsSet = new WeakSet();\n markerMap = {};\n }\n };\n}\nfunction markOthers(avoidElements, ariaHidden, inert) {\n if (ariaHidden === void 0) {\n ariaHidden = false;\n }\n if (inert === void 0) {\n inert = false;\n }\n const body = getDocument(avoidElements[0]).body;\n return applyAttributeToOthers(avoidElements.concat(Array.from(body.querySelectorAll('[aria-live]'))), body, ariaHidden, inert);\n}\n\nconst getTabbableOptions = () => ({\n getShadowRoot: true,\n displayCheck:\n // JSDOM does not support the `tabbable` library. To solve this we can\n // check if `ResizeObserver` is a real function (not polyfilled), which\n // determines if the current environment is JSDOM-like.\n typeof ResizeObserver === 'function' && ResizeObserver.toString().includes('[native code]') ? 'full' : 'none'\n});\nfunction getTabbableIn(container, direction) {\n const allTabbable = tabbable(container, getTabbableOptions());\n if (direction === 'prev') {\n allTabbable.reverse();\n }\n const activeIndex = allTabbable.indexOf(activeElement(getDocument(container)));\n const nextTabbableElements = allTabbable.slice(activeIndex + 1);\n return nextTabbableElements[0];\n}\nfunction getNextTabbable() {\n return getTabbableIn(document.body, 'next');\n}\nfunction getPreviousTabbable() {\n return getTabbableIn(document.body, 'prev');\n}\nfunction isOutsideEvent(event, container) {\n const containerElement = container || event.currentTarget;\n const relatedTarget = event.relatedTarget;\n return !relatedTarget || !contains(containerElement, relatedTarget);\n}\nfunction disableFocusInside(container) {\n const tabbableElements = tabbable(container, getTabbableOptions());\n tabbableElements.forEach(element => {\n element.dataset.tabindex = element.getAttribute('tabindex') || '';\n element.setAttribute('tabindex', '-1');\n });\n}\nfunction enableFocusInside(container) {\n const elements = container.querySelectorAll('[data-tabindex]');\n elements.forEach(element => {\n const tabindex = element.dataset.tabindex;\n delete element.dataset.tabindex;\n if (tabindex) {\n element.setAttribute('tabindex', tabindex);\n } else {\n element.removeAttribute('tabindex');\n }\n });\n}\n\nconst HIDDEN_STYLES = {\n border: 0,\n clip: 'rect(0 0 0 0)',\n height: '1px',\n margin: '-1px',\n overflow: 'hidden',\n padding: 0,\n position: 'fixed',\n whiteSpace: 'nowrap',\n width: '1px',\n top: 0,\n left: 0\n};\nconst FocusGuard = /*#__PURE__*/React.forwardRef(function FocusGuard(props, ref) {\n const [role, setRole] = React.useState();\n index(() => {\n if (isSafari()) {\n // Unlike other screen readers such as NVDA and JAWS, the virtual cursor\n // on VoiceOver does trigger the onFocus event, so we can use the focus\n // trap element. On Safari, only buttons trigger the onFocus event.\n // NB: \"group\" role in the Sandbox no longer appears to work, must be a\n // button role.\n setRole('button');\n }\n }, []);\n const restProps = {\n ref,\n tabIndex: 0,\n // Role is only for VoiceOver\n role,\n 'aria-hidden': role ? undefined : true,\n [createAttribute('focus-guard')]: '',\n style: HIDDEN_STYLES\n };\n return /*#__PURE__*/jsx(\"span\", {\n ...props,\n ...restProps\n });\n});\n\nconst PortalContext = /*#__PURE__*/React.createContext(null);\nconst attr = /*#__PURE__*/createAttribute('portal');\n/**\n * @see https://floating-ui.com/docs/FloatingPortal#usefloatingportalnode\n */\nfunction useFloatingPortalNode(props) {\n if (props === void 0) {\n props = {};\n }\n const {\n id,\n root\n } = props;\n const uniqueId = useId();\n const portalContext = usePortalContext();\n const [portalNode, setPortalNode] = React.useState(null);\n const portalNodeRef = React.useRef(null);\n index(() => {\n return () => {\n portalNode == null || portalNode.remove();\n // Allow the subsequent layout effects to create a new node on updates.\n // The portal node will still be cleaned up on unmount.\n // https://github.com/floating-ui/floating-ui/issues/2454\n queueMicrotask(() => {\n portalNodeRef.current = null;\n });\n };\n }, [portalNode]);\n index(() => {\n // Wait for the uniqueId to be generated before creating the portal node in\n // React <18 (using `useFloatingId` instead of the native `useId`).\n // https://github.com/floating-ui/floating-ui/issues/2778\n if (!uniqueId) return;\n if (portalNodeRef.current) return;\n const existingIdRoot = id ? document.getElementById(id) : null;\n if (!existingIdRoot) return;\n const subRoot = document.createElement('div');\n subRoot.id = uniqueId;\n subRoot.setAttribute(attr, '');\n existingIdRoot.appendChild(subRoot);\n portalNodeRef.current = subRoot;\n setPortalNode(subRoot);\n }, [id, uniqueId]);\n index(() => {\n // Wait for the root to exist before creating the portal node. The root must\n // be stored in state, not a ref, for this to work reactively.\n if (root === null) return;\n if (!uniqueId) return;\n if (portalNodeRef.current) return;\n let container = root || (portalContext == null ? void 0 : portalContext.portalNode);\n if (container && !isElement(container)) container = container.current;\n container = container || document.body;\n let idWrapper = null;\n if (id) {\n idWrapper = document.createElement('div');\n idWrapper.id = id;\n container.appendChild(idWrapper);\n }\n const subRoot = document.createElement('div');\n subRoot.id = uniqueId;\n subRoot.setAttribute(attr, '');\n container = idWrapper || container;\n container.appendChild(subRoot);\n portalNodeRef.current = subRoot;\n setPortalNode(subRoot);\n }, [id, root, uniqueId, portalContext]);\n return portalNode;\n}\n/**\n * Portals the floating element into a given container element — by default,\n * outside of the app root and into the body.\n * This is necessary to ensure the floating element can appear outside any\n * potential parent containers that cause clipping (such as `overflow: hidden`),\n * while retaining its location in the React tree.\n * @see https://floating-ui.com/docs/FloatingPortal\n */\nfunction FloatingPortal(props) {\n const {\n children,\n id,\n root,\n preserveTabOrder = true\n } = props;\n const portalNode = useFloatingPortalNode({\n id,\n root\n });\n const [focusManagerState, setFocusManagerState] = React.useState(null);\n const beforeOutsideRef = React.useRef(null);\n const afterOutsideRef = React.useRef(null);\n const beforeInsideRef = React.useRef(null);\n const afterInsideRef = React.useRef(null);\n const modal = focusManagerState == null ? void 0 : focusManagerState.modal;\n const open = focusManagerState == null ? void 0 : focusManagerState.open;\n const shouldRenderGuards =\n // The FocusManager and therefore floating element are currently open/\n // rendered.\n !!focusManagerState &&\n // Guards are only for non-modal focus management.\n !focusManagerState.modal &&\n // Don't render if unmount is transitioning.\n focusManagerState.open && preserveTabOrder && !!(root || portalNode);\n\n // https://codesandbox.io/s/tabbable-portal-f4tng?file=/src/TabbablePortal.tsx\n React.useEffect(() => {\n if (!portalNode || !preserveTabOrder || modal) {\n return;\n }\n\n // Make sure elements inside the portal element are tabbable only when the\n // portal has already been focused, either by tabbing into a focus trap\n // element outside or using the mouse.\n function onFocus(event) {\n if (portalNode && isOutsideEvent(event)) {\n const focusing = event.type === 'focusin';\n const manageFocus = focusing ? enableFocusInside : disableFocusInside;\n manageFocus(portalNode);\n }\n }\n // Listen to the event on the capture phase so they run before the focus\n // trap elements onFocus prop is called.\n portalNode.addEventListener('focusin', onFocus, true);\n portalNode.addEventListener('focusout', onFocus, true);\n return () => {\n portalNode.removeEventListener('focusin', onFocus, true);\n portalNode.removeEventListener('focusout', onFocus, true);\n };\n }, [portalNode, preserveTabOrder, modal]);\n React.useEffect(() => {\n if (!portalNode) return;\n if (open) return;\n enableFocusInside(portalNode);\n }, [open, portalNode]);\n return /*#__PURE__*/jsxs(PortalContext.Provider, {\n value: React.useMemo(() => ({\n preserveTabOrder,\n beforeOutsideRef,\n afterOutsideRef,\n beforeInsideRef,\n afterInsideRef,\n portalNode,\n setFocusManagerState\n }), [preserveTabOrder, portalNode]),\n children: [shouldRenderGuards && portalNode && /*#__PURE__*/jsx(FocusGuard, {\n \"data-type\": \"outside\",\n ref: beforeOutsideRef,\n onFocus: event => {\n if (isOutsideEvent(event, portalNode)) {\n var _beforeInsideRef$curr;\n (_beforeInsideRef$curr = beforeInsideRef.current) == null || _beforeInsideRef$curr.focus();\n } else {\n const prevTabbable = getPreviousTabbable() || (focusManagerState == null ? void 0 : focusManagerState.domReference);\n prevTabbable == null || prevTabbable.focus();\n }\n }\n }), shouldRenderGuards && portalNode && /*#__PURE__*/jsx(\"span\", {\n \"aria-owns\": portalNode.id,\n style: HIDDEN_STYLES\n }), portalNode && /*#__PURE__*/ReactDOM.createPortal(children, portalNode), shouldRenderGuards && portalNode && /*#__PURE__*/jsx(FocusGuard, {\n \"data-type\": \"outside\",\n ref: afterOutsideRef,\n onFocus: event => {\n if (isOutsideEvent(event, portalNode)) {\n var _afterInsideRef$curre;\n (_afterInsideRef$curre = afterInsideRef.current) == null || _afterInsideRef$curre.focus();\n } else {\n const nextTabbable = getNextTabbable() || (focusManagerState == null ? void 0 : focusManagerState.domReference);\n nextTabbable == null || nextTabbable.focus();\n (focusManagerState == null ? void 0 : focusManagerState.closeOnFocusOut) && (focusManagerState == null ? void 0 : focusManagerState.onOpenChange(false, event.nativeEvent, 'focus-out'));\n }\n }\n })]\n });\n}\nconst usePortalContext = () => React.useContext(PortalContext);\n\nconst FOCUSABLE_ATTRIBUTE = 'data-floating-ui-focusable';\nfunction getFloatingFocusElement(floatingElement) {\n if (!floatingElement) {\n return null;\n }\n // Try to find the element that has `{...getFloatingProps()}` spread on it.\n // This indicates the floating element is acting as a positioning wrapper, and\n // so focus should be managed on the child element with the event handlers and\n // aria props.\n return floatingElement.hasAttribute(FOCUSABLE_ATTRIBUTE) ? floatingElement : floatingElement.querySelector(\"[\" + FOCUSABLE_ATTRIBUTE + \"]\") || floatingElement;\n}\n\nfunction useLiteMergeRefs(refs) {\n return React.useMemo(() => {\n return value => {\n refs.forEach(ref => {\n if (ref) {\n ref.current = value;\n }\n });\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, refs);\n}\n\nconst LIST_LIMIT = 20;\nlet previouslyFocusedElements = [];\nfunction addPreviouslyFocusedElement(element) {\n previouslyFocusedElements = previouslyFocusedElements.filter(el => el.isConnected);\n if (element && getNodeName(element) !== 'body') {\n previouslyFocusedElements.push(element);\n if (previouslyFocusedElements.length > LIST_LIMIT) {\n previouslyFocusedElements = previouslyFocusedElements.slice(-LIST_LIMIT);\n }\n }\n}\nfunction getPreviouslyFocusedElement() {\n return previouslyFocusedElements.slice().reverse().find(el => el.isConnected);\n}\nfunction getFirstTabbableElement(container) {\n const tabbableOptions = getTabbableOptions();\n if (isTabbable(container, tabbableOptions)) {\n return container;\n }\n return tabbable(container, tabbableOptions)[0] || container;\n}\nconst VisuallyHiddenDismiss = /*#__PURE__*/React.forwardRef(function VisuallyHiddenDismiss(props, ref) {\n return /*#__PURE__*/jsx(\"button\", {\n ...props,\n type: \"button\",\n ref: ref,\n tabIndex: -1,\n style: HIDDEN_STYLES\n });\n});\n/**\n * Provides focus management for the floating element.\n * @see https://floating-ui.com/docs/FloatingFocusManager\n */\nfunction FloatingFocusManager(props) {\n const {\n context,\n children,\n disabled = false,\n order = ['content'],\n guards: _guards = true,\n initialFocus = 0,\n returnFocus = true,\n restoreFocus = false,\n modal = true,\n visuallyHiddenDismiss = false,\n closeOnFocusOut = true,\n outsideElementsInert = false\n } = props;\n const {\n open,\n onOpenChange,\n events,\n dataRef,\n elements: {\n domReference,\n floating\n }\n } = context;\n const getNodeId = useEffectEvent(() => {\n var _dataRef$current$floa;\n return (_dataRef$current$floa = dataRef.current.floatingContext) == null ? void 0 : _dataRef$current$floa.nodeId;\n });\n const ignoreInitialFocus = typeof initialFocus === 'number' && initialFocus < 0;\n // If the reference is a combobox and is typeable (e.g. input/textarea),\n // there are different focus semantics. The guards should not be rendered, but\n // aria-hidden should be applied to all nodes still. Further, the visually\n // hidden dismiss button should only appear at the end of the list, not the\n // start.\n const isUntrappedTypeableCombobox = isTypeableCombobox(domReference) && ignoreInitialFocus;\n\n // Force the guards to be rendered if the `inert` attribute is not supported.\n const inertSupported = supportsInert();\n const guards = inertSupported ? _guards : true;\n const useInert = !guards || inertSupported && outsideElementsInert;\n const orderRef = useLatestRef(order);\n const initialFocusRef = useLatestRef(initialFocus);\n const returnFocusRef = useLatestRef(returnFocus);\n const tree = useFloatingTree();\n const portalContext = usePortalContext();\n const startDismissButtonRef = React.useRef(null);\n const endDismissButtonRef = React.useRef(null);\n const preventReturnFocusRef = React.useRef(false);\n const isPointerDownRef = React.useRef(false);\n const tabbableIndexRef = React.useRef(-1);\n const isInsidePortal = portalContext != null;\n const floatingFocusElement = getFloatingFocusElement(floating);\n const getTabbableContent = useEffectEvent(function (container) {\n if (container === void 0) {\n container = floatingFocusElement;\n }\n return container ? tabbable(container, getTabbableOptions()) : [];\n });\n const getTabbableElements = useEffectEvent(container => {\n const content = getTabbableContent(container);\n return orderRef.current.map(type => {\n if (domReference && type === 'reference') {\n return domReference;\n }\n if (floatingFocusElement && type === 'floating') {\n return floatingFocusElement;\n }\n return content;\n }).filter(Boolean).flat();\n });\n React.useEffect(() => {\n if (disabled) return;\n if (!modal) return;\n function onKeyDown(event) {\n if (event.key === 'Tab') {\n // The focus guards have nothing to focus, so we need to stop the event.\n if (contains(floatingFocusElement, activeElement(getDocument(floatingFocusElement))) && getTabbableContent().length === 0 && !isUntrappedTypeableCombobox) {\n stopEvent(event);\n }\n const els = getTabbableElements();\n const target = getTarget(event);\n if (orderRef.current[0] === 'reference' && target === domReference) {\n stopEvent(event);\n if (event.shiftKey) {\n enqueueFocus(els[els.length - 1]);\n } else {\n enqueueFocus(els[1]);\n }\n }\n if (orderRef.current[1] === 'floating' && target === floatingFocusElement && event.shiftKey) {\n stopEvent(event);\n enqueueFocus(els[0]);\n }\n }\n }\n const doc = getDocument(floatingFocusElement);\n doc.addEventListener('keydown', onKeyDown);\n return () => {\n doc.removeEventListener('keydown', onKeyDown);\n };\n }, [disabled, domReference, floatingFocusElement, modal, orderRef, isUntrappedTypeableCombobox, getTabbableContent, getTabbableElements]);\n React.useEffect(() => {\n if (disabled) return;\n if (!floating) return;\n function handleFocusIn(event) {\n const target = getTarget(event);\n const tabbableContent = getTabbableContent();\n const tabbableIndex = tabbableContent.indexOf(target);\n if (tabbableIndex !== -1) {\n tabbableIndexRef.current = tabbableIndex;\n }\n }\n floating.addEventListener('focusin', handleFocusIn);\n return () => {\n floating.removeEventListener('focusin', handleFocusIn);\n };\n }, [disabled, floating, getTabbableContent]);\n React.useEffect(() => {\n if (disabled) return;\n if (!closeOnFocusOut) return;\n\n // In Safari, buttons lose focus when pressing them.\n function handlePointerDown() {\n isPointerDownRef.current = true;\n setTimeout(() => {\n isPointerDownRef.current = false;\n });\n }\n function handleFocusOutside(event) {\n const relatedTarget = event.relatedTarget;\n queueMicrotask(() => {\n const nodeId = getNodeId();\n const movedToUnrelatedNode = !(contains(domReference, relatedTarget) || contains(floating, relatedTarget) || contains(relatedTarget, floating) || contains(portalContext == null ? void 0 : portalContext.portalNode, relatedTarget) || relatedTarget != null && relatedTarget.hasAttribute(createAttribute('focus-guard')) || tree && (getChildren(tree.nodesRef.current, nodeId).find(node => {\n var _node$context, _node$context2;\n return contains((_node$context = node.context) == null ? void 0 : _node$context.elements.floating, relatedTarget) || contains((_node$context2 = node.context) == null ? void 0 : _node$context2.elements.domReference, relatedTarget);\n }) || getAncestors(tree.nodesRef.current, nodeId).find(node => {\n var _node$context3, _node$context4, _node$context5;\n return [(_node$context3 = node.context) == null ? void 0 : _node$context3.elements.floating, getFloatingFocusElement((_node$context4 = node.context) == null ? void 0 : _node$context4.elements.floating)].includes(relatedTarget) || ((_node$context5 = node.context) == null ? void 0 : _node$context5.elements.domReference) === relatedTarget;\n })));\n\n // Restore focus to the previous tabbable element index to prevent\n // focus from being lost outside the floating tree.\n if (restoreFocus && movedToUnrelatedNode && activeElement(getDocument(floatingFocusElement)) === getDocument(floatingFocusElement).body) {\n // Let `FloatingPortal` effect knows that focus is still inside the\n // floating tree.\n if (isHTMLElement(floatingFocusElement)) {\n floatingFocusElement.focus();\n }\n const prevTabbableIndex = tabbableIndexRef.current;\n const tabbableContent = getTabbableContent();\n const nodeToFocus = tabbableContent[prevTabbableIndex] || tabbableContent[tabbableContent.length - 1] || floatingFocusElement;\n if (isHTMLElement(nodeToFocus)) {\n nodeToFocus.focus();\n }\n }\n\n // Focus did not move inside the floating tree, and there are no tabbable\n // portal guards to handle closing.\n if ((isUntrappedTypeableCombobox ? true : !modal) && relatedTarget && movedToUnrelatedNode && !isPointerDownRef.current &&\n // Fix React 18 Strict Mode returnFocus due to double rendering.\n relatedTarget !== getPreviouslyFocusedElement()) {\n preventReturnFocusRef.current = true;\n onOpenChange(false, event, 'focus-out');\n }\n });\n }\n if (floating && isHTMLElement(domReference)) {\n domReference.addEventListener('focusout', handleFocusOutside);\n domReference.addEventListener('pointerdown', handlePointerDown);\n floating.addEventListener('focusout', handleFocusOutside);\n return () => {\n domReference.removeEventListener('focusout', handleFocusOutside);\n domReference.removeEventListener('pointerdown', handlePointerDown);\n floating.removeEventListener('focusout', handleFocusOutside);\n };\n }\n }, [disabled, domReference, floating, floatingFocusElement, modal, tree, portalContext, onOpenChange, closeOnFocusOut, restoreFocus, getTabbableContent, isUntrappedTypeableCombobox, getNodeId]);\n const beforeGuardRef = React.useRef(null);\n const afterGuardRef = React.useRef(null);\n const mergedBeforeGuardRef = useLiteMergeRefs([beforeGuardRef, portalContext == null ? void 0 : portalContext.beforeInsideRef]);\n const mergedAfterGuardRef = useLiteMergeRefs([afterGuardRef, portalContext == null ? void 0 : portalContext.afterInsideRef]);\n React.useEffect(() => {\n var _portalContext$portal;\n if (disabled) return;\n if (!floating) return;\n\n // Don't hide portals nested within the parent portal.\n const portalNodes = Array.from((portalContext == null || (_portalContext$portal = portalContext.portalNode) == null ? void 0 : _portalContext$portal.querySelectorAll(\"[\" + createAttribute('portal') + \"]\")) || []);\n const ancestorFloatingNodes = tree && !modal ? getAncestors(tree == null ? void 0 : tree.nodesRef.current, getNodeId()).map(node => {\n var _node$context6;\n return (_node$context6 = node.context) == null ? void 0 : _node$context6.elements.floating;\n }) : [];\n const insideElements = [floating, ...portalNodes, ...ancestorFloatingNodes, startDismissButtonRef.current, endDismissButtonRef.current, beforeGuardRef.current, afterGuardRef.current, portalContext == null ? void 0 : portalContext.beforeOutsideRef.current, portalContext == null ? void 0 : portalContext.afterOutsideRef.current, orderRef.current.includes('reference') || isUntrappedTypeableCombobox ? domReference : null].filter(x => x != null);\n const cleanup = modal || isUntrappedTypeableCombobox ? markOthers(insideElements, !useInert, useInert) : markOthers(insideElements);\n return () => {\n cleanup();\n };\n }, [disabled, domReference, floating, modal, orderRef, portalContext, isUntrappedTypeableCombobox, guards, useInert, tree, getNodeId]);\n index(() => {\n if (disabled || !isHTMLElement(floatingFocusElement)) return;\n const doc = getDocument(floatingFocusElement);\n const previouslyFocusedElement = activeElement(doc);\n\n // Wait for any layout effect state setters to execute to set `tabIndex`.\n queueMicrotask(() => {\n const focusableElements = getTabbableElements(floatingFocusElement);\n const initialFocusValue = initialFocusRef.current;\n const elToFocus = (typeof initialFocusValue === 'number' ? focusableElements[initialFocusValue] : initialFocusValue.current) || floatingFocusElement;\n const focusAlreadyInsideFloatingEl = contains(floatingFocusElement, previouslyFocusedElement);\n if (!ignoreInitialFocus && !focusAlreadyInsideFloatingEl && open) {\n enqueueFocus(elToFocus, {\n preventScroll: elToFocus === floatingFocusElement\n });\n }\n });\n }, [disabled, open, floatingFocusElement, ignoreInitialFocus, getTabbableElements, initialFocusRef]);\n index(() => {\n if (disabled || !floatingFocusElement) return;\n let preventReturnFocusScroll = false;\n let focusReference = false;\n const doc = getDocument(floatingFocusElement);\n const previouslyFocusedElement = activeElement(doc);\n const contextData = dataRef.current;\n let openEvent = contextData.openEvent;\n addPreviouslyFocusedElement(previouslyFocusedElement);\n\n // Dismissing via outside press should always ignore `returnFocus` to\n // prevent unwanted scrolling.\n function onOpenChange(_ref) {\n let {\n open,\n reason,\n event,\n nested\n } = _ref;\n if (open) {\n openEvent = event;\n }\n if (reason === 'escape-key') {\n focusReference = true;\n }\n if (['hover', 'safe-polygon'].includes(reason) && event.type === 'mouseleave') {\n preventReturnFocusRef.current = true;\n }\n if (reason !== 'outside-press') return;\n if (nested) {\n preventReturnFocusRef.current = false;\n preventReturnFocusScroll = true;\n } else if (isVirtualClick(event) || isVirtualPointerEvent(event)) {\n preventReturnFocusRef.current = false;\n } else {\n let isPreventScrollSupported = false;\n document.createElement('div').focus({\n get preventScroll() {\n isPreventScrollSupported = true;\n return false;\n }\n });\n if (isPreventScrollSupported) {\n preventReturnFocusRef.current = false;\n preventReturnFocusScroll = true;\n } else {\n preventReturnFocusRef.current = true;\n }\n }\n }\n events.on('openchange', onOpenChange);\n const fallbackEl = doc.createElement('span');\n fallbackEl.setAttribute('tabindex', '-1');\n fallbackEl.setAttribute('aria-hidden', 'true');\n Object.assign(fallbackEl.style, HIDDEN_STYLES);\n if (isInsidePortal && domReference) {\n domReference.insertAdjacentElement('afterend', fallbackEl);\n }\n function getReturnElement() {\n if (typeof returnFocusRef.current === 'boolean') {\n return focusReference && domReference ? domReference : getPreviouslyFocusedElement() || fallbackEl;\n }\n return returnFocusRef.current.current || fallbackEl;\n }\n return () => {\n events.off('openchange', onOpenChange);\n const activeEl = activeElement(doc);\n const isFocusInsideFloatingTree = contains(floating, activeEl) || tree && getChildren(tree.nodesRef.current, getNodeId()).some(node => {\n var _node$context7;\n return contains((_node$context7 = node.context) == null ? void 0 : _node$context7.elements.floating, activeEl);\n });\n if (isFocusInsideFloatingTree || !!openEvent && ['click', 'mousedown'].includes(openEvent.type)) {\n focusReference = true;\n }\n const returnElement = getReturnElement();\n queueMicrotask(() => {\n // This is `returnElement`, if it's tabbable, or its first tabbable child.\n const tabbableReturnElement = getFirstTabbableElement(returnElement);\n if (\n // eslint-disable-next-line react-hooks/exhaustive-deps\n returnFocusRef.current && !preventReturnFocusRef.current && isHTMLElement(tabbableReturnElement) && (\n // If the focus moved somewhere else after mount, avoid returning focus\n // since it likely entered a different element which should be\n // respected: https://github.com/floating-ui/floating-ui/issues/2607\n tabbableReturnElement !== activeEl && activeEl !== doc.body ? isFocusInsideFloatingTree : true)) {\n tabbableReturnElement.focus({\n preventScroll: preventReturnFocusScroll\n });\n }\n fallbackEl.remove();\n });\n };\n }, [disabled, floating, floatingFocusElement, returnFocusRef, dataRef, events, tree, isInsidePortal, domReference, getNodeId]);\n React.useEffect(() => {\n // The `returnFocus` cleanup behavior is inside a microtask; ensure we\n // wait for it to complete before resetting the flag.\n queueMicrotask(() => {\n preventReturnFocusRef.current = false;\n });\n }, [disabled]);\n\n // Synchronize the `context` & `modal` value to the FloatingPortal context.\n // It will decide whether or not it needs to render its own guards.\n index(() => {\n if (disabled) return;\n if (!portalContext) return;\n portalContext.setFocusManagerState({\n modal,\n closeOnFocusOut,\n open,\n onOpenChange,\n domReference\n });\n return () => {\n portalContext.setFocusManagerState(null);\n };\n }, [disabled, portalContext, modal, open, onOpenChange, closeOnFocusOut, domReference]);\n index(() => {\n if (disabled) return;\n if (!floatingFocusElement) return;\n if (typeof MutationObserver !== 'function') return;\n if (ignoreInitialFocus) return;\n const handleMutation = () => {\n const tabIndex = floatingFocusElement.getAttribute('tabindex');\n const tabbableContent = getTabbableContent();\n const activeEl = activeElement(getDocument(floating));\n const tabbableIndex = tabbableContent.indexOf(activeEl);\n if (tabbableIndex !== -1) {\n tabbableIndexRef.current = tabbableIndex;\n }\n if (orderRef.current.includes('floating') || activeEl !== domReference && tabbableContent.length === 0) {\n if (tabIndex !== '0') {\n floatingFocusElement.setAttribute('tabindex', '0');\n }\n } else if (tabIndex !== '-1') {\n floatingFocusElement.setAttribute('tabindex', '-1');\n }\n };\n handleMutation();\n const observer = new MutationObserver(handleMutation);\n observer.observe(floatingFocusElement, {\n childList: true,\n subtree: true,\n attributes: true\n });\n return () => {\n observer.disconnect();\n };\n }, [disabled, floating, floatingFocusElement, domReference, orderRef, getTabbableContent, ignoreInitialFocus]);\n function renderDismissButton(location) {\n if (disabled || !visuallyHiddenDismiss || !modal) {\n return null;\n }\n return /*#__PURE__*/jsx(VisuallyHiddenDismiss, {\n ref: location === 'start' ? startDismissButtonRef : endDismissButtonRef,\n onClick: event => onOpenChange(false, event.nativeEvent),\n children: typeof visuallyHiddenDismiss === 'string' ? visuallyHiddenDismiss : 'Dismiss'\n });\n }\n const shouldRenderGuards = !disabled && guards && (modal ? !isUntrappedTypeableCombobox : true) && (isInsidePortal || modal);\n return /*#__PURE__*/jsxs(Fragment, {\n children: [shouldRenderGuards && /*#__PURE__*/jsx(FocusGuard, {\n \"data-type\": \"inside\",\n ref: mergedBeforeGuardRef,\n onFocus: event => {\n if (modal) {\n const els = getTabbableElements();\n enqueueFocus(order[0] === 'reference' ? els[0] : els[els.length - 1]);\n } else if (portalContext != null && portalContext.preserveTabOrder && portalContext.portalNode) {\n preventReturnFocusRef.current = false;\n if (isOutsideEvent(event, portalContext.portalNode)) {\n const nextTabbable = getNextTabbable() || domReference;\n nextTabbable == null || nextTabbable.focus();\n } else {\n var _portalContext$before;\n (_portalContext$before = portalContext.beforeOutsideRef.current) == null || _portalContext$before.focus();\n }\n }\n }\n }), !isUntrappedTypeableCombobox && renderDismissButton('start'), children, renderDismissButton('end'), shouldRenderGuards && /*#__PURE__*/jsx(FocusGuard, {\n \"data-type\": \"inside\",\n ref: mergedAfterGuardRef,\n onFocus: event => {\n if (modal) {\n enqueueFocus(getTabbableElements()[0]);\n } else if (portalContext != null && portalContext.preserveTabOrder && portalContext.portalNode) {\n if (closeOnFocusOut) {\n preventReturnFocusRef.current = true;\n }\n if (isOutsideEvent(event, portalContext.portalNode)) {\n const prevTabbable = getPreviousTabbable() || domReference;\n prevTabbable == null || prevTabbable.focus();\n } else {\n var _portalContext$afterO;\n (_portalContext$afterO = portalContext.afterOutsideRef.current) == null || _portalContext$afterO.focus();\n }\n }\n }\n })]\n });\n}\n\nlet lockCount = 0;\nfunction enableScrollLock() {\n const isIOS = /iP(hone|ad|od)|iOS/.test(getPlatform());\n const bodyStyle = document.body.style;\n // RTL <body> scrollbar\n const scrollbarX = Math.round(document.documentElement.getBoundingClientRect().left) + document.documentElement.scrollLeft;\n const paddingProp = scrollbarX ? 'paddingLeft' : 'paddingRight';\n const scrollbarWidth = window.innerWidth - document.documentElement.clientWidth;\n const scrollX = bodyStyle.left ? parseFloat(bodyStyle.left) : window.scrollX;\n const scrollY = bodyStyle.top ? parseFloat(bodyStyle.top) : window.scrollY;\n bodyStyle.overflow = 'hidden';\n if (scrollbarWidth) {\n bodyStyle[paddingProp] = scrollbarWidth + \"px\";\n }\n\n // Only iOS doesn't respect `overflow: hidden` on document.body, and this\n // technique has fewer side effects.\n if (isIOS) {\n var _window$visualViewpor, _window$visualViewpor2;\n // iOS 12 does not support `visualViewport`.\n const offsetLeft = ((_window$visualViewpor = window.visualViewport) == null ? void 0 : _window$visualViewpor.offsetLeft) || 0;\n const offsetTop = ((_window$visualViewpor2 = window.visualViewport) == null ? void 0 : _window$visualViewpor2.offsetTop) || 0;\n Object.assign(bodyStyle, {\n position: 'fixed',\n top: -(scrollY - Math.floor(offsetTop)) + \"px\",\n left: -(scrollX - Math.floor(offsetLeft)) + \"px\",\n right: '0'\n });\n }\n return () => {\n Object.assign(bodyStyle, {\n overflow: '',\n [paddingProp]: ''\n });\n if (isIOS) {\n Object.assign(bodyStyle, {\n position: '',\n top: '',\n left: '',\n right: ''\n });\n window.scrollTo(scrollX, scrollY);\n }\n };\n}\nlet cleanup = () => {};\n\n/**\n * Provides base styling for a fixed overlay element to dim content or block\n * pointer events behind a floating element.\n * It's a regular `<div>`, so it can be styled via any CSS solution you prefer.\n * @see https://floating-ui.com/docs/FloatingOverlay\n */\nconst FloatingOverlay = /*#__PURE__*/React.forwardRef(function FloatingOverlay(props, ref) {\n const {\n lockScroll = false,\n ...rest\n } = props;\n index(() => {\n if (!lockScroll) return;\n lockCount++;\n if (lockCount === 1) {\n cleanup = enableScrollLock();\n }\n return () => {\n lockCount--;\n if (lockCount === 0) {\n cleanup();\n }\n };\n }, [lockScroll]);\n return /*#__PURE__*/jsx(\"div\", {\n ref: ref,\n ...rest,\n style: {\n position: 'fixed',\n overflow: 'auto',\n top: 0,\n right: 0,\n bottom: 0,\n left: 0,\n ...rest.style\n }\n });\n});\n\nfunction isButtonTarget(event) {\n return isHTMLElement(event.target) && event.target.tagName === 'BUTTON';\n}\nfunction isSpaceIgnored(element) {\n return isTypeableElement(element);\n}\n/**\n * Opens or closes the floating element when clicking the reference element.\n * @see https://floating-ui.com/docs/useClick\n */\nfunction useClick(context, props) {\n if (props === void 0) {\n props = {};\n }\n const {\n open,\n onOpenChange,\n dataRef,\n elements: {\n domReference\n }\n } = context;\n const {\n enabled = true,\n event: eventOption = 'click',\n toggle = true,\n ignoreMouse = false,\n keyboardHandlers = true,\n stickIfOpen = true\n } = props;\n const pointerTypeRef = React.useRef();\n const didKeyDownRef = React.useRef(false);\n const reference = React.useMemo(() => ({\n onPointerDown(event) {\n pointerTypeRef.current = event.pointerType;\n },\n onMouseDown(event) {\n const pointerType = pointerTypeRef.current;\n\n // Ignore all buttons except for the \"main\" button.\n // https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/button\n if (event.button !== 0) return;\n if (eventOption === 'click') return;\n if (isMouseLikePointerType(pointerType, true) && ignoreMouse) return;\n if (open && toggle && (dataRef.current.openEvent && stickIfOpen ? dataRef.current.openEvent.type === 'mousedown' : true)) {\n onOpenChange(false, event.nativeEvent, 'click');\n } else {\n // Prevent stealing focus from the floating element\n event.preventDefault();\n onOpenChange(true, event.nativeEvent, 'click');\n }\n },\n onClick(event) {\n const pointerType = pointerTypeRef.current;\n if (eventOption === 'mousedown' && pointerTypeRef.current) {\n pointerTypeRef.current = undefined;\n return;\n }\n if (isMouseLikePointerType(pointerType, true) && ignoreMouse) return;\n if (open && toggle && (dataRef.current.openEvent && stickIfOpen ? dataRef.current.openEvent.type === 'click' : true)) {\n onOpenChange(false, event.nativeEvent, 'click');\n } else {\n onOpenChange(true, event.nativeEvent, 'click');\n }\n },\n onKeyDown(event) {\n pointerTypeRef.current = undefined;\n if (event.defaultPrevented || !keyboardHandlers || isButtonTarget(event)) {\n return;\n }\n if (event.key === ' ' && !isSpaceIgnored(domReference)) {\n // Prevent scrolling\n event.preventDefault();\n didKeyDownRef.current = true;\n }\n if (event.key === 'Enter') {\n if (open && toggle) {\n onOpenChange(false, event.nativeEvent, 'click');\n } else {\n onOpenChange(true, event.nativeEvent, 'click');\n }\n }\n },\n onKeyUp(event) {\n if (event.defaultPrevented || !keyboardHandlers || isButtonTarget(event) || isSpaceIgnored(domReference)) {\n return;\n }\n if (event.key === ' ' && didKeyDownRef.current) {\n didKeyDownRef.current = false;\n if (open && toggle) {\n onOpenChange(false, event.nativeEvent, 'click');\n } else {\n onOpenChange(true, event.nativeEvent, 'click');\n }\n }\n }\n }), [dataRef, domReference, eventOption, ignoreMouse, keyboardHandlers, onOpenChange, open, stickIfOpen, toggle]);\n return React.useMemo(() => enabled ? {\n reference\n } : {}, [enabled, reference]);\n}\n\nfunction createVirtualElement(domElement, data) {\n let offsetX = null;\n let offsetY = null;\n let isAutoUpdateEvent = false;\n return {\n contextElement: domElement || undefined,\n getBoundingClientRect() {\n var _data$dataRef$current;\n const domRect = (domElement == null ? void 0 : domElement.getBoundingClientRect()) || {\n width: 0,\n height: 0,\n x: 0,\n y: 0\n };\n const isXAxis = data.axis === 'x' || data.axis === 'both';\n const isYAxis = data.axis === 'y' || data.axis === 'both';\n const canTrackCursorOnAutoUpdate = ['mouseenter', 'mousemove'].includes(((_data$dataRef$current = data.dataRef.current.openEvent) == null ? void 0 : _data$dataRef$current.type) || '') && data.pointerType !== 'touch';\n let width = domRect.width;\n let height = domRect.height;\n let x = domRect.x;\n let y = domRect.y;\n if (offsetX == null && data.x && isXAxis) {\n offsetX = domRect.x - data.x;\n }\n if (offsetY == null && data.y && isYAxis) {\n offsetY = domRect.y - data.y;\n }\n x -= offsetX || 0;\n y -= offsetY || 0;\n width = 0;\n height = 0;\n if (!isAutoUpdateEvent || canTrackCursorOnAutoUpdate) {\n width = data.axis === 'y' ? domRect.width : 0;\n height = data.axis === 'x' ? domRect.height : 0;\n x = isXAxis && data.x != null ? data.x : x;\n y = isYAxis && data.y != null ? data.y : y;\n } else if (isAutoUpdateEvent && !canTrackCursorOnAutoUpdate) {\n height = data.axis === 'x' ? domRect.height : height;\n width = data.axis === 'y' ? domRect.width : width;\n }\n isAutoUpdateEvent = true;\n return {\n width,\n height,\n x,\n y,\n top: y,\n right: x + width,\n bottom: y + height,\n left: x\n };\n }\n };\n}\nfunction isMouseBasedEvent(event) {\n return event != null && event.clientX != null;\n}\n/**\n * Positions the floating element relative to a client point (in the viewport),\n * such as the mouse position. By default, it follows the mouse cursor.\n * @see https://floating-ui.com/docs/useClientPoint\n */\nfunction useClientPoint(context, props) {\n if (props === void 0) {\n props = {};\n }\n const {\n open,\n dataRef,\n elements: {\n floating,\n domReference\n },\n refs\n } = context;\n const {\n enabled = true,\n axis = 'both',\n x = null,\n y = null\n } = props;\n const initialRef = React.useRef(false);\n const cleanupListenerRef = React.useRef(null);\n const [pointerType, setPointerType] = React.useState();\n const [reactive, setReactive] = React.useState([]);\n const setReference = useEffectEvent((x, y) => {\n if (initialRef.current) return;\n\n // Prevent setting if the open event was not a mouse-like one\n // (e.g. focus to open, then hover over the reference element).\n // Only apply if the event exists.\n if (dataRef.current.openEvent && !isMouseBasedEvent(dataRef.current.openEvent)) {\n return;\n }\n refs.setPositionReference(createVirtualElement(domReference, {\n x,\n y,\n axis,\n dataRef,\n pointerType\n }));\n });\n const handleReferenceEnterOrMove = useEffectEvent(event => {\n if (x != null || y != null) return;\n if (!open) {\n setReference(event.clientX, event.clientY);\n } else if (!cleanupListenerRef.current) {\n // If there's no cleanup, there's no listener, but we want to ensure\n // we add the listener if the cursor landed on the floating element and\n // then back on the reference (i.e. it's interactive).\n setReactive([]);\n }\n });\n\n // If the pointer is a mouse-like pointer, we want to continue following the\n // mouse even if the floating element is transitioning out. On touch\n // devices, this is undesirable because the floating element will move to\n // the dismissal touch point.\n const openCheck = isMouseLikePointerType(pointerType) ? floating : open;\n const addListener = React.useCallback(() => {\n // Explicitly specified `x`/`y` coordinates shouldn't add a listener.\n if (!openCheck || !enabled || x != null || y != null) return;\n const win = getWindow(floating);\n function handleMouseMove(event) {\n const target = getTarget(event);\n if (!contains(floating, target)) {\n setReference(event.clientX, event.clientY);\n } else {\n win.removeEventListener('mousemove', handleMouseMove);\n cleanupListenerRef.current = null;\n }\n }\n if (!dataRef.current.openEvent || isMouseBasedEvent(dataRef.current.openEvent)) {\n win.addEventListener('mousemove', handleMouseMove);\n const cleanup = () => {\n win.removeEventListener('mousemove', handleMouseMove);\n cleanupListenerRef.current = null;\n };\n cleanupListenerRef.current = cleanup;\n return cleanup;\n }\n refs.setPositionReference(domReference);\n }, [openCheck, enabled, x, y, floating, dataRef, refs, domReference, setReference]);\n React.useEffect(() => {\n return addListener();\n }, [addListener, reactive]);\n React.useEffect(() => {\n if (enabled && !floating) {\n initialRef.current = false;\n }\n }, [enabled, floating]);\n React.useEffect(() => {\n if (!enabled && open) {\n initialRef.current = true;\n }\n }, [enabled, open]);\n index(() => {\n if (enabled && (x != null || y != null)) {\n initialRef.current = false;\n setReference(x, y);\n }\n }, [enabled, x, y, setReference]);\n const reference = React.useMemo(() => {\n function setPointerTypeRef(_ref) {\n let {\n pointerType\n } = _ref;\n setPointerType(pointerType);\n }\n return {\n onPointerDown: setPointerTypeRef,\n onPointerEnter: setPointerTypeRef,\n onMouseMove: handleReferenceEnterOrMove,\n onMouseEnter: handleReferenceEnterOrMove\n };\n }, [handleReferenceEnterOrMove]);\n return React.useMemo(() => enabled ? {\n reference\n } : {}, [enabled, reference]);\n}\n\nconst bubbleHandlerKeys = {\n pointerdown: 'onPointerDown',\n mousedown: 'onMouseDown',\n click: 'onClick'\n};\nconst captureHandlerKeys = {\n pointerdown: 'onPointerDownCapture',\n mousedown: 'onMouseDownCapture',\n click: 'onClickCapture'\n};\nconst normalizeProp = normalizable => {\n var _normalizable$escapeK, _normalizable$outside;\n return {\n escapeKey: typeof normalizable === 'boolean' ? normalizable : (_normalizable$escapeK = normalizable == null ? void 0 : normalizable.escapeKey) != null ? _normalizable$escapeK : false,\n outsidePress: typeof normalizable === 'boolean' ? normalizable : (_normalizable$outside = normalizable == null ? void 0 : normalizable.outsidePress) != null ? _normalizable$outside : true\n };\n};\n/**\n * Closes the floating element when a dismissal is requested — by default, when\n * the user presses the `escape` key or outside of the floating element.\n * @see https://floating-ui.com/docs/useDismiss\n */\nfunction useDismiss(context, props) {\n if (props === void 0) {\n props = {};\n }\n const {\n open,\n onOpenChange,\n elements,\n dataRef\n } = context;\n const {\n enabled = true,\n escapeKey = true,\n outsidePress: unstable_outsidePress = true,\n outsidePressEvent = 'pointerdown',\n referencePress = false,\n referencePressEvent = 'pointerdown',\n ancestorScroll = false,\n bubbles,\n capture\n } = props;\n const tree = useFloatingTree();\n const outsidePressFn = useEffectEvent(typeof unstable_outsidePress === 'function' ? unstable_outsidePress : () => false);\n const outsidePress = typeof unstable_outsidePress === 'function' ? outsidePressFn : unstable_outsidePress;\n const insideReactTreeRef = React.useRef(false);\n const endedOrStartedInsideRef = React.useRef(false);\n const {\n escapeKey: escapeKeyBubbles,\n outsidePress: outsidePressBubbles\n } = normalizeProp(bubbles);\n const {\n escapeKey: escapeKeyCapture,\n outsidePress: outsidePressCapture\n } = normalizeProp(capture);\n const isComposingRef = React.useRef(false);\n const closeOnEscapeKeyDown = useEffectEvent(event => {\n var _dataRef$current$floa;\n if (!open || !enabled || !escapeKey || event.key !== 'Escape') {\n return;\n }\n\n // Wait until IME is settled. Pressing `Escape` while composing should\n // close the compose menu, but not the floating element.\n if (isComposingRef.current) {\n return;\n }\n const nodeId = (_dataRef$current$floa = dataRef.current.floatingContext) == null ? void 0 : _dataRef$current$floa.nodeId;\n const children = tree ? getChildren(tree.nodesRef.current, nodeId) : [];\n if (!escapeKeyBubbles) {\n event.stopPropagation();\n if (children.length > 0) {\n let shouldDismiss = true;\n children.forEach(child => {\n var _child$context;\n if ((_child$context = child.context) != null && _child$context.open && !child.context.dataRef.current.__escapeKeyBubbles) {\n shouldDismiss = false;\n return;\n }\n });\n if (!shouldDismiss) {\n return;\n }\n }\n }\n onOpenChange(false, isReactEvent(event) ? event.nativeEvent : event, 'escape-key');\n });\n const closeOnEscapeKeyDownCapture = useEffectEvent(event => {\n var _getTarget2;\n const callback = () => {\n var _getTarget;\n closeOnEscapeKeyDown(event);\n (_getTarget = getTarget(event)) == null || _getTarget.removeEventListener('keydown', callback);\n };\n (_getTarget2 = getTarget(event)) == null || _getTarget2.addEventListener('keydown', callback);\n });\n const closeOnPressOutside = useEffectEvent(event => {\n var _dataRef$current$floa2;\n // Given developers can stop the propagation of the synthetic event,\n // we can only be confident with a positive value.\n const insideReactTree = insideReactTreeRef.current;\n insideReactTreeRef.current = false;\n\n // When click outside is lazy (`click` event), handle dragging.\n // Don't close if:\n // - The click started inside the floating element.\n // - The click ended inside the floating element.\n const endedOrStartedInside = endedOrStartedInsideRef.current;\n endedOrStartedInsideRef.current = false;\n if (outsidePressEvent === 'click' && endedOrStartedInside) {\n return;\n }\n if (insideReactTree) {\n return;\n }\n if (typeof outsidePress === 'function' && !outsidePress(event)) {\n return;\n }\n const target = getTarget(event);\n const inertSelector = \"[\" + createAttribute('inert') + \"]\";\n const markers = getDocument(elements.floating).querySelectorAll(inertSelector);\n let targetRootAncestor = isElement(target) ? target : null;\n while (targetRootAncestor && !isLastTraversableNode(targetRootAncestor)) {\n const nextParent = getParentNode(targetRootAncestor);\n if (isLastTraversableNode(nextParent) || !isElement(nextParent)) {\n break;\n }\n targetRootAncestor = nextParent;\n }\n\n // Check if the click occurred on a third-party element injected after the\n // floating element rendered.\n if (markers.length && isElement(target) && !isRootElement(target) &&\n // Clicked on a direct ancestor (e.g. FloatingOverlay).\n !contains(target, elements.floating) &&\n // If the target root element contains none of the markers, then the\n // element was injected after the floating element rendered.\n Array.from(markers).every(marker => !contains(targetRootAncestor, marker))) {\n return;\n }\n\n // Check if the click occurred on the scrollbar\n if (isHTMLElement(target) && floating) {\n const lastTraversableNode = isLastTraversableNode(target);\n const style = getComputedStyle(target);\n const scrollRe = /auto|scroll/;\n const isScrollableX = lastTraversableNode || scrollRe.test(style.overflowX);\n const isScrollableY = lastTraversableNode || scrollRe.test(style.overflowY);\n const canScrollX = isScrollableX && target.clientWidth > 0 && target.scrollWidth > target.clientWidth;\n const canScrollY = isScrollableY && target.clientHeight > 0 && target.scrollHeight > target.clientHeight;\n const isRTL = style.direction === 'rtl';\n\n // Check click position relative to scrollbar.\n // In some browsers it is possible to change the <body> (or window)\n // scrollbar to the left side, but is very rare and is difficult to\n // check for. Plus, for modal dialogs with backdrops, it is more\n // important that the backdrop is checked but not so much the window.\n const pressedVerticalScrollbar = canScrollY && (isRTL ? event.offsetX <= target.offsetWidth - target.clientWidth : event.offsetX > target.clientWidth);\n const pressedHorizontalScrollbar = canScrollX && event.offsetY > target.clientHeight;\n if (pressedVerticalScrollbar || pressedHorizontalScrollbar) {\n return;\n }\n }\n const nodeId = (_dataRef$current$floa2 = dataRef.current.floatingContext) == null ? void 0 : _dataRef$current$floa2.nodeId;\n const targetIsInsideChildren = tree && getChildren(tree.nodesRef.current, nodeId).some(node => {\n var _node$context;\n return isEventTargetWithin(event, (_node$context = node.context) == null ? void 0 : _node$context.elements.floating);\n });\n if (isEventTargetWithin(event, elements.floating) || isEventTargetWithin(event, elements.domReference) || targetIsInsideChildren) {\n return;\n }\n const children = tree ? getChildren(tree.nodesRef.current, nodeId) : [];\n if (children.length > 0) {\n let shouldDismiss = true;\n children.forEach(child => {\n var _child$context2;\n if ((_child$context2 = child.context) != null && _child$context2.open && !child.context.dataRef.current.__outsidePressBubbles) {\n shouldDismiss = false;\n return;\n }\n });\n if (!shouldDismiss) {\n return;\n }\n }\n onOpenChange(false, event, 'outside-press');\n });\n const closeOnPressOutsideCapture = useEffectEvent(event => {\n var _getTarget4;\n const callback = () => {\n var _getTarget3;\n closeOnPressOutside(event);\n (_getTarget3 = getTarget(event)) == null || _getTarget3.removeEventListener(outsidePressEvent, callback);\n };\n (_getTarget4 = getTarget(event)) == null || _getTarget4.addEventListener(outsidePressEvent, callback);\n });\n React.useEffect(() => {\n if (!open || !enabled) {\n return;\n }\n dataRef.current.__escapeKeyBubbles = escapeKeyBubbles;\n dataRef.current.__outsidePressBubbles = outsidePressBubbles;\n let compositionTimeout = -1;\n function onScroll(event) {\n onOpenChange(false, event, 'ancestor-scroll');\n }\n function handleCompositionStart() {\n window.clearTimeout(compositionTimeout);\n isComposingRef.current = true;\n }\n function handleCompositionEnd() {\n // Safari fires `compositionend` before `keydown`, so we need to wait\n // until the next tick to set `isComposing` to `false`.\n // https://bugs.webkit.org/show_bug.cgi?id=165004\n compositionTimeout = window.setTimeout(() => {\n isComposingRef.current = false;\n },\n // 0ms or 1ms don't work in Safari. 5ms appears to consistently work.\n // Only apply to WebKit for the test to remain 0ms.\n isWebKit() ? 5 : 0);\n }\n const doc = getDocument(elements.floating);\n if (escapeKey) {\n doc.addEventListener('keydown', escapeKeyCapture ? closeOnEscapeKeyDownCapture : closeOnEscapeKeyDown, escapeKeyCapture);\n doc.addEventListener('compositionstart', handleCompositionStart);\n doc.addEventListener('compositionend', handleCompositionEnd);\n }\n outsidePress && doc.addEventListener(outsidePressEvent, outsidePressCapture ? closeOnPressOutsideCapture : closeOnPressOutside, outsidePressCapture);\n let ancestors = [];\n if (ancestorScroll) {\n if (isElement(elements.domReference)) {\n ancestors = getOverflowAncestors(elements.domReference);\n }\n if (isElement(elements.floating)) {\n ancestors = ancestors.concat(getOverflowAncestors(elements.floating));\n }\n if (!isElement(elements.reference) && elements.reference && elements.reference.contextElement) {\n ancestors = ancestors.concat(getOverflowAncestors(elements.reference.contextElement));\n }\n }\n\n // Ignore the visual viewport for scrolling dismissal (allow pinch-zoom)\n ancestors = ancestors.filter(ancestor => {\n var _doc$defaultView;\n return ancestor !== ((_doc$defaultView = doc.defaultView) == null ? void 0 : _doc$defaultView.visualViewport);\n });\n ancestors.forEach(ancestor => {\n ancestor.addEventListener('scroll', onScroll, {\n passive: true\n });\n });\n return () => {\n if (escapeKey) {\n doc.removeEventListener('keydown', escapeKeyCapture ? closeOnEscapeKeyDownCapture : closeOnEscapeKeyDown, escapeKeyCapture);\n doc.removeEventListener('compositionstart', handleCompositionStart);\n doc.removeEventListener('compositionend', handleCompositionEnd);\n }\n outsidePress && doc.removeEventListener(outsidePressEvent, outsidePressCapture ? closeOnPressOutsideCapture : closeOnPressOutside, outsidePressCapture);\n ancestors.forEach(ancestor => {\n ancestor.removeEventListener('scroll', onScroll);\n });\n window.clearTimeout(compositionTimeout);\n };\n }, [dataRef, elements, escapeKey, outsidePress, outsidePressEvent, open, onOpenChange, ancestorScroll, enabled, escapeKeyBubbles, outsidePressBubbles, closeOnEscapeKeyDown, escapeKeyCapture, closeOnEscapeKeyDownCapture, closeOnPressOutside, outsidePressCapture, closeOnPressOutsideCapture]);\n React.useEffect(() => {\n insideReactTreeRef.current = false;\n }, [outsidePress, outsidePressEvent]);\n const reference = React.useMemo(() => ({\n onKeyDown: closeOnEscapeKeyDown,\n ...(referencePress && {\n [bubbleHandlerKeys[referencePressEvent]]: event => {\n onOpenChange(false, event.nativeEvent, 'reference-press');\n },\n ...(referencePressEvent !== 'click' && {\n onClick(event) {\n onOpenChange(false, event.nativeEvent, 'reference-press');\n }\n })\n })\n }), [closeOnEscapeKeyDown, onOpenChange, referencePress, referencePressEvent]);\n const floating = React.useMemo(() => ({\n onKeyDown: closeOnEscapeKeyDown,\n onMouseDown() {\n endedOrStartedInsideRef.current = true;\n },\n onMouseUp() {\n endedOrStartedInsideRef.current = true;\n },\n [captureHandlerKeys[outsidePressEvent]]: () => {\n insideReactTreeRef.current = true;\n }\n }), [closeOnEscapeKeyDown, outsidePressEvent]);\n return React.useMemo(() => enabled ? {\n reference,\n floating\n } : {}, [enabled, reference, floating]);\n}\n\nfunction useFloatingRootContext(options) {\n const {\n open = false,\n onOpenChange: onOpenChangeProp,\n elements: elementsProp\n } = options;\n const floatingId = useId();\n const dataRef = React.useRef({});\n const [events] = React.useState(() => createPubSub());\n const nested = useFloatingParentNodeId() != null;\n if (process.env.NODE_ENV !== \"production\") {\n const optionDomReference = elementsProp.reference;\n if (optionDomReference && !isElement(optionDomReference)) {\n error('Cannot pass a virtual element to the `elements.reference` option,', 'as it must be a real DOM element. Use `refs.setPositionReference()`', 'instead.');\n }\n }\n const [positionReference, setPositionReference] = React.useState(elementsProp.reference);\n const onOpenChange = useEffectEvent((open, event, reason) => {\n dataRef.current.openEvent = open ? event : undefined;\n events.emit('openchange', {\n open,\n event,\n reason,\n nested\n });\n onOpenChangeProp == null || onOpenChangeProp(open, event, reason);\n });\n const refs = React.useMemo(() => ({\n setPositionReference\n }), []);\n const elements = React.useMemo(() => ({\n reference: positionReference || elementsProp.reference || null,\n floating: elementsProp.floating || null,\n domReference: elementsProp.reference\n }), [positionReference, elementsProp.reference, elementsProp.floating]);\n return React.useMemo(() => ({\n dataRef,\n open,\n onOpenChange,\n elements,\n events,\n floatingId,\n refs\n }), [open, onOpenChange, elements, events, floatingId, refs]);\n}\n\n/**\n * Provides data to position a floating element and context to add interactions.\n * @see https://floating-ui.com/docs/useFloating\n */\nfunction useFloating(options) {\n if (options === void 0) {\n options = {};\n }\n const {\n nodeId\n } = options;\n const internalRootContext = useFloatingRootContext({\n ...options,\n elements: {\n reference: null,\n floating: null,\n ...options.elements\n }\n });\n const rootContext = options.rootContext || internalRootContext;\n const computedElements = rootContext.elements;\n const [_domReference, setDomReference] = React.useState(null);\n const [positionReference, _setPositionReference] = React.useState(null);\n const optionDomReference = computedElements == null ? void 0 : computedElements.domReference;\n const domReference = optionDomReference || _domReference;\n const domReferenceRef = React.useRef(null);\n const tree = useFloatingTree();\n index(() => {\n if (domReference) {\n domReferenceRef.current = domReference;\n }\n }, [domReference]);\n const position = useFloating$1({\n ...options,\n elements: {\n ...computedElements,\n ...(positionReference && {\n reference: positionReference\n })\n }\n });\n const setPositionReference = React.useCallback(node => {\n const computedPositionReference = isElement(node) ? {\n getBoundingClientRect: () => node.getBoundingClientRect(),\n contextElement: node\n } : node;\n // Store the positionReference in state if the DOM reference is specified externally via the\n // `elements.reference` option. This ensures that it won't be overridden on future renders.\n _setPositionReference(computedPositionReference);\n position.refs.setReference(computedPositionReference);\n }, [position.refs]);\n const setReference = React.useCallback(node => {\n if (isElement(node) || node === null) {\n domReferenceRef.current = node;\n setDomReference(node);\n }\n\n // Backwards-compatibility for passing a virtual element to `reference`\n // after it has set the DOM reference.\n if (isElement(position.refs.reference.current) || position.refs.reference.current === null ||\n // Don't allow setting virtual elements using the old technique back to\n // `null` to support `positionReference` + an unstable `reference`\n // callback ref.\n node !== null && !isElement(node)) {\n position.refs.setReference(node);\n }\n }, [position.refs]);\n const refs = React.useMemo(() => ({\n ...position.refs,\n setReference,\n setPositionReference,\n domReference: domReferenceRef\n }), [position.refs, setReference, setPositionReference]);\n const elements = React.useMemo(() => ({\n ...position.elements,\n domReference: domReference\n }), [position.elements, domReference]);\n const context = React.useMemo(() => ({\n ...position,\n ...rootContext,\n refs,\n elements,\n nodeId\n }), [position, refs, elements, nodeId, rootContext]);\n index(() => {\n rootContext.dataRef.current.floatingContext = context;\n const node = tree == null ? void 0 : tree.nodesRef.current.find(node => node.id === nodeId);\n if (node) {\n node.context = context;\n }\n });\n return React.useMemo(() => ({\n ...position,\n context,\n refs,\n elements\n }), [position, refs, elements, context]);\n}\n\n/**\n * Opens the floating element while the reference element has focus, like CSS\n * `:focus`.\n * @see https://floating-ui.com/docs/useFocus\n */\nfunction useFocus(context, props) {\n if (props === void 0) {\n props = {};\n }\n const {\n open,\n onOpenChange,\n events,\n dataRef,\n elements\n } = context;\n const {\n enabled = true,\n visibleOnly = true\n } = props;\n const blockFocusRef = React.useRef(false);\n const timeoutRef = React.useRef(-1);\n const keyboardModalityRef = React.useRef(true);\n React.useEffect(() => {\n if (!enabled) return;\n const win = getWindow(elements.domReference);\n\n // If the reference was focused and the user left the tab/window, and the\n // floating element was not open, the focus should be blocked when they\n // return to the tab/window.\n function onBlur() {\n if (!open && isHTMLElement(elements.domReference) && elements.domReference === activeElement(getDocument(elements.domReference))) {\n blockFocusRef.current = true;\n }\n }\n function onKeyDown() {\n keyboardModalityRef.current = true;\n }\n win.addEventListener('blur', onBlur);\n win.addEventListener('keydown', onKeyDown, true);\n return () => {\n win.removeEventListener('blur', onBlur);\n win.removeEventListener('keydown', onKeyDown, true);\n };\n }, [elements.domReference, open, enabled]);\n React.useEffect(() => {\n if (!enabled) return;\n function onOpenChange(_ref) {\n let {\n reason\n } = _ref;\n if (reason === 'reference-press' || reason === 'escape-key') {\n blockFocusRef.current = true;\n }\n }\n events.on('openchange', onOpenChange);\n return () => {\n events.off('openchange', onOpenChange);\n };\n }, [events, enabled]);\n React.useEffect(() => {\n return () => {\n clearTimeoutIfSet(timeoutRef);\n };\n }, []);\n const reference = React.useMemo(() => ({\n onPointerDown(event) {\n if (isVirtualPointerEvent(event.nativeEvent)) return;\n keyboardModalityRef.current = false;\n },\n onMouseLeave() {\n blockFocusRef.current = false;\n },\n onFocus(event) {\n if (blockFocusRef.current) return;\n const target = getTarget(event.nativeEvent);\n if (visibleOnly && isElement(target)) {\n try {\n // Mac Safari unreliably matches `:focus-visible` on the reference\n // if focus was outside the page initially - use the fallback\n // instead.\n if (isSafari() && isMac()) throw Error();\n if (!target.matches(':focus-visible')) return;\n } catch (_e) {\n // Old browsers will throw an error when using `:focus-visible`.\n if (!keyboardModalityRef.current && !isTypeableElement(target)) {\n return;\n }\n }\n }\n onOpenChange(true, event.nativeEvent, 'focus');\n },\n onBlur(event) {\n blockFocusRef.current = false;\n const relatedTarget = event.relatedTarget;\n const nativeEvent = event.nativeEvent;\n\n // Hit the non-modal focus management portal guard. Focus will be\n // moved into the floating element immediately after.\n const movedToFocusGuard = isElement(relatedTarget) && relatedTarget.hasAttribute(createAttribute('focus-guard')) && relatedTarget.getAttribute('data-type') === 'outside';\n\n // Wait for the window blur listener to fire.\n timeoutRef.current = window.setTimeout(() => {\n var _dataRef$current$floa;\n const activeEl = activeElement(elements.domReference ? elements.domReference.ownerDocument : document);\n\n // Focus left the page, keep it open.\n if (!relatedTarget && activeEl === elements.domReference) return;\n\n // When focusing the reference element (e.g. regular click), then\n // clicking into the floating element, prevent it from hiding.\n // Note: it must be focusable, e.g. `tabindex=\"-1\"`.\n // We can not rely on relatedTarget to point to the correct element\n // as it will only point to the shadow host of the newly focused element\n // and not the element that actually has received focus if it is located\n // inside a shadow root.\n if (contains((_dataRef$current$floa = dataRef.current.floatingContext) == null ? void 0 : _dataRef$current$floa.refs.floating.current, activeEl) || contains(elements.domReference, activeEl) || movedToFocusGuard) {\n return;\n }\n onOpenChange(false, nativeEvent, 'focus');\n });\n }\n }), [dataRef, elements.domReference, onOpenChange, visibleOnly]);\n return React.useMemo(() => enabled ? {\n reference\n } : {}, [enabled, reference]);\n}\n\nconst ACTIVE_KEY = 'active';\nconst SELECTED_KEY = 'selected';\nfunction mergeProps(userProps, propsList, elementKey) {\n const map = new Map();\n const isItem = elementKey === 'item';\n let domUserProps = userProps;\n if (isItem && userProps) {\n const {\n [ACTIVE_KEY]: _,\n [SELECTED_KEY]: __,\n ...validProps\n } = userProps;\n domUserProps = validProps;\n }\n return {\n ...(elementKey === 'floating' && {\n tabIndex: -1,\n [FOCUSABLE_ATTRIBUTE]: ''\n }),\n ...domUserProps,\n ...propsList.map(value => {\n const propsOrGetProps = value ? value[elementKey] : null;\n if (typeof propsOrGetProps === 'function') {\n return userProps ? propsOrGetProps(userProps) : null;\n }\n return propsOrGetProps;\n }).concat(userProps).reduce((acc, props) => {\n if (!props) {\n return acc;\n }\n Object.entries(props).forEach(_ref => {\n let [key, value] = _ref;\n if (isItem && [ACTIVE_KEY, SELECTED_KEY].includes(key)) {\n return;\n }\n if (key.indexOf('on') === 0) {\n if (!map.has(key)) {\n map.set(key, []);\n }\n if (typeof value === 'function') {\n var _map$get;\n (_map$get = map.get(key)) == null || _map$get.push(value);\n acc[key] = function () {\n var _map$get2;\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n return (_map$get2 = map.get(key)) == null ? void 0 : _map$get2.map(fn => fn(...args)).find(val => val !== undefined);\n };\n }\n } else {\n acc[key] = value;\n }\n });\n return acc;\n }, {})\n };\n}\n/**\n * Merges an array of interaction hooks' props into prop getters, allowing\n * event handler functions to be composed together without overwriting one\n * another.\n * @see https://floating-ui.com/docs/useInteractions\n */\nfunction useInteractions(propsList) {\n if (propsList === void 0) {\n propsList = [];\n }\n const referenceDeps = propsList.map(key => key == null ? void 0 : key.reference);\n const floatingDeps = propsList.map(key => key == null ? void 0 : key.floating);\n const itemDeps = propsList.map(key => key == null ? void 0 : key.item);\n const getReferenceProps = React.useCallback(userProps => mergeProps(userProps, propsList, 'reference'),\n // eslint-disable-next-line react-hooks/exhaustive-deps\n referenceDeps);\n const getFloatingProps = React.useCallback(userProps => mergeProps(userProps, propsList, 'floating'),\n // eslint-disable-next-line react-hooks/exhaustive-deps\n floatingDeps);\n const getItemProps = React.useCallback(userProps => mergeProps(userProps, propsList, 'item'),\n // eslint-disable-next-line react-hooks/exhaustive-deps\n itemDeps);\n return React.useMemo(() => ({\n getReferenceProps,\n getFloatingProps,\n getItemProps\n }), [getReferenceProps, getFloatingProps, getItemProps]);\n}\n\nconst ESCAPE = 'Escape';\nfunction doSwitch(orientation, vertical, horizontal) {\n switch (orientation) {\n case 'vertical':\n return vertical;\n case 'horizontal':\n return horizontal;\n default:\n return vertical || horizontal;\n }\n}\nfunction isMainOrientationKey(key, orientation) {\n const vertical = key === ARROW_UP || key === ARROW_DOWN;\n const horizontal = key === ARROW_LEFT || key === ARROW_RIGHT;\n return doSwitch(orientation, vertical, horizontal);\n}\nfunction isMainOrientationToEndKey(key, orientation, rtl) {\n const vertical = key === ARROW_DOWN;\n const horizontal = rtl ? key === ARROW_LEFT : key === ARROW_RIGHT;\n return doSwitch(orientation, vertical, horizontal) || key === 'Enter' || key === ' ' || key === '';\n}\nfunction isCrossOrientationOpenKey(key, orientation, rtl) {\n const vertical = rtl ? key === ARROW_LEFT : key === ARROW_RIGHT;\n const horizontal = key === ARROW_DOWN;\n return doSwitch(orientation, vertical, horizontal);\n}\nfunction isCrossOrientationCloseKey(key, orientation, rtl, cols) {\n const vertical = rtl ? key === ARROW_RIGHT : key === ARROW_LEFT;\n const horizontal = key === ARROW_UP;\n if (orientation === 'both' || orientation === 'horizontal' && cols && cols > 1) {\n return key === ESCAPE;\n }\n return doSwitch(orientation, vertical, horizontal);\n}\n/**\n * Adds arrow key-based navigation of a list of items, either using real DOM\n * focus or virtual focus.\n * @see https://floating-ui.com/docs/useListNavigation\n */\nfunction useListNavigation(context, props) {\n const {\n open,\n onOpenChange,\n elements\n } = context;\n const {\n listRef,\n activeIndex,\n onNavigate: unstable_onNavigate = () => {},\n enabled = true,\n selectedIndex = null,\n allowEscape = false,\n loop = false,\n nested = false,\n rtl = false,\n virtual = false,\n focusItemOnOpen = 'auto',\n focusItemOnHover = true,\n openOnArrowKeyDown = true,\n disabledIndices = undefined,\n orientation = 'vertical',\n cols = 1,\n scrollItemIntoView = true,\n virtualItemRef,\n itemSizes,\n dense = false\n } = props;\n if (process.env.NODE_ENV !== \"production\") {\n if (allowEscape) {\n if (!loop) {\n warn('`useListNavigation` looping must be enabled to allow escaping.');\n }\n if (!virtual) {\n warn('`useListNavigation` must be virtual to allow escaping.');\n }\n }\n if (orientation === 'vertical' && cols > 1) {\n warn('In grid list navigation mode (`cols` > 1), the `orientation` should', 'be either \"horizontal\" or \"both\".');\n }\n }\n const floatingFocusElement = getFloatingFocusElement(elements.floating);\n const floatingFocusElementRef = useLatestRef(floatingFocusElement);\n const parentId = useFloatingParentNodeId();\n const tree = useFloatingTree();\n index(() => {\n context.dataRef.current.orientation = orientation;\n }, [context, orientation]);\n const onNavigate = useEffectEvent(() => {\n unstable_onNavigate(indexRef.current === -1 ? null : indexRef.current);\n });\n const typeableComboboxReference = isTypeableCombobox(elements.domReference);\n const focusItemOnOpenRef = React.useRef(focusItemOnOpen);\n const indexRef = React.useRef(selectedIndex != null ? selectedIndex : -1);\n const keyRef = React.useRef(null);\n const isPointerModalityRef = React.useRef(true);\n const previousOnNavigateRef = React.useRef(onNavigate);\n const previousMountedRef = React.useRef(!!elements.floating);\n const previousOpenRef = React.useRef(open);\n const forceSyncFocusRef = React.useRef(false);\n const forceScrollIntoViewRef = React.useRef(false);\n const disabledIndicesRef = useLatestRef(disabledIndices);\n const latestOpenRef = useLatestRef(open);\n const scrollItemIntoViewRef = useLatestRef(scrollItemIntoView);\n const selectedIndexRef = useLatestRef(selectedIndex);\n const [activeId, setActiveId] = React.useState();\n const [virtualId, setVirtualId] = React.useState();\n const focusItem = useEffectEvent(() => {\n function runFocus(item) {\n if (virtual) {\n setActiveId(item.id);\n tree == null || tree.events.emit('virtualfocus', item);\n if (virtualItemRef) {\n virtualItemRef.current = item;\n }\n } else {\n enqueueFocus(item, {\n sync: forceSyncFocusRef.current,\n preventScroll: true\n });\n }\n }\n const initialItem = listRef.current[indexRef.current];\n if (initialItem) {\n runFocus(initialItem);\n }\n const scheduler = forceSyncFocusRef.current ? v => v() : requestAnimationFrame;\n scheduler(() => {\n const waitedItem = listRef.current[indexRef.current] || initialItem;\n if (!waitedItem) return;\n if (!initialItem) {\n runFocus(waitedItem);\n }\n const scrollIntoViewOptions = scrollItemIntoViewRef.current;\n const shouldScrollIntoView = scrollIntoViewOptions && item && (forceScrollIntoViewRef.current || !isPointerModalityRef.current);\n if (shouldScrollIntoView) {\n // JSDOM doesn't support `.scrollIntoView()` but it's widely supported\n // by all browsers.\n waitedItem.scrollIntoView == null || waitedItem.scrollIntoView(typeof scrollIntoViewOptions === 'boolean' ? {\n block: 'nearest',\n inline: 'nearest'\n } : scrollIntoViewOptions);\n }\n });\n });\n\n // Sync `selectedIndex` to be the `activeIndex` upon opening the floating\n // element. Also, reset `activeIndex` upon closing the floating element.\n index(() => {\n if (!enabled) return;\n if (open && elements.floating) {\n if (focusItemOnOpenRef.current && selectedIndex != null) {\n // Regardless of the pointer modality, we want to ensure the selected\n // item comes into view when the floating element is opened.\n forceScrollIntoViewRef.current = true;\n indexRef.current = selectedIndex;\n onNavigate();\n }\n } else if (previousMountedRef.current) {\n // Since the user can specify `onNavigate` conditionally\n // (onNavigate: open ? setActiveIndex : setSelectedIndex),\n // we store and call the previous function.\n indexRef.current = -1;\n previousOnNavigateRef.current();\n }\n }, [enabled, open, elements.floating, selectedIndex, onNavigate]);\n\n // Sync `activeIndex` to be the focused item while the floating element is\n // open.\n index(() => {\n if (!enabled) return;\n if (!open) return;\n if (!elements.floating) return;\n if (activeIndex == null) {\n forceSyncFocusRef.current = false;\n if (selectedIndexRef.current != null) {\n return;\n }\n\n // Reset while the floating element was open (e.g. the list changed).\n if (previousMountedRef.current) {\n indexRef.current = -1;\n focusItem();\n }\n\n // Initial sync.\n if ((!previousOpenRef.current || !previousMountedRef.current) && focusItemOnOpenRef.current && (keyRef.current != null || focusItemOnOpenRef.current === true && keyRef.current == null)) {\n let runs = 0;\n const waitForListPopulated = () => {\n if (listRef.current[0] == null) {\n // Avoid letting the browser paint if possible on the first try,\n // otherwise use rAF. Don't try more than twice, since something\n // is wrong otherwise.\n if (runs < 2) {\n const scheduler = runs ? requestAnimationFrame : queueMicrotask;\n scheduler(waitForListPopulated);\n }\n runs++;\n } else {\n indexRef.current = keyRef.current == null || isMainOrientationToEndKey(keyRef.current, orientation, rtl) || nested ? getMinIndex(listRef, disabledIndicesRef.current) : getMaxIndex(listRef, disabledIndicesRef.current);\n keyRef.current = null;\n onNavigate();\n }\n };\n waitForListPopulated();\n }\n } else if (!isIndexOutOfBounds(listRef, activeIndex)) {\n indexRef.current = activeIndex;\n focusItem();\n forceScrollIntoViewRef.current = false;\n }\n }, [enabled, open, elements.floating, activeIndex, selectedIndexRef, nested, listRef, orientation, rtl, onNavigate, focusItem, disabledIndicesRef]);\n\n // Ensure the parent floating element has focus when a nested child closes\n // to allow arrow key navigation to work after the pointer leaves the child.\n index(() => {\n var _nodes$find;\n if (!enabled || elements.floating || !tree || virtual || !previousMountedRef.current) {\n return;\n }\n const nodes = tree.nodesRef.current;\n const parent = (_nodes$find = nodes.find(node => node.id === parentId)) == null || (_nodes$find = _nodes$find.context) == null ? void 0 : _nodes$find.elements.floating;\n const activeEl = activeElement(getDocument(elements.floating));\n const treeContainsActiveEl = nodes.some(node => node.context && contains(node.context.elements.floating, activeEl));\n if (parent && !treeContainsActiveEl && isPointerModalityRef.current) {\n parent.focus({\n preventScroll: true\n });\n }\n }, [enabled, elements.floating, tree, parentId, virtual]);\n index(() => {\n if (!enabled) return;\n if (!tree) return;\n if (!virtual) return;\n if (parentId) return;\n function handleVirtualFocus(item) {\n setVirtualId(item.id);\n if (virtualItemRef) {\n virtualItemRef.current = item;\n }\n }\n tree.events.on('virtualfocus', handleVirtualFocus);\n return () => {\n tree.events.off('virtualfocus', handleVirtualFocus);\n };\n }, [enabled, tree, virtual, parentId, virtualItemRef]);\n index(() => {\n previousOnNavigateRef.current = onNavigate;\n previousOpenRef.current = open;\n previousMountedRef.current = !!elements.floating;\n });\n index(() => {\n if (!open) {\n keyRef.current = null;\n }\n }, [open]);\n const hasActiveIndex = activeIndex != null;\n const item = React.useMemo(() => {\n function syncCurrentTarget(currentTarget) {\n if (!open) return;\n const index = listRef.current.indexOf(currentTarget);\n if (index !== -1 && indexRef.current !== index) {\n indexRef.current = index;\n onNavigate();\n }\n }\n const props = {\n onFocus(_ref) {\n let {\n currentTarget\n } = _ref;\n forceSyncFocusRef.current = true;\n syncCurrentTarget(currentTarget);\n },\n onClick: _ref2 => {\n let {\n currentTarget\n } = _ref2;\n return currentTarget.focus({\n preventScroll: true\n });\n },\n // Safari\n ...(focusItemOnHover && {\n onMouseMove(_ref3) {\n let {\n currentTarget\n } = _ref3;\n forceSyncFocusRef.current = true;\n forceScrollIntoViewRef.current = false;\n syncCurrentTarget(currentTarget);\n },\n onPointerLeave(_ref4) {\n let {\n pointerType\n } = _ref4;\n if (!isPointerModalityRef.current || pointerType === 'touch') {\n return;\n }\n forceSyncFocusRef.current = true;\n indexRef.current = -1;\n onNavigate();\n if (!virtual) {\n var _floatingFocusElement;\n (_floatingFocusElement = floatingFocusElementRef.current) == null || _floatingFocusElement.focus({\n preventScroll: true\n });\n }\n }\n })\n };\n return props;\n }, [open, floatingFocusElementRef, focusItemOnHover, listRef, onNavigate, virtual]);\n const commonOnKeyDown = useEffectEvent(event => {\n isPointerModalityRef.current = false;\n forceSyncFocusRef.current = true;\n\n // When composing a character, Chrome fires ArrowDown twice. Firefox/Safari\n // don't appear to suffer from this. `event.isComposing` is avoided due to\n // Safari not supporting it properly (although it's not needed in the first\n // place for Safari, just avoiding any possible issues).\n if (event.which === 229) {\n return;\n }\n\n // If the floating element is animating out, ignore navigation. Otherwise,\n // the `activeIndex` gets set to 0 despite not being open so the next time\n // the user ArrowDowns, the first item won't be focused.\n if (!latestOpenRef.current && event.currentTarget === floatingFocusElementRef.current) {\n return;\n }\n if (nested && isCrossOrientationCloseKey(event.key, orientation, rtl, cols)) {\n stopEvent(event);\n onOpenChange(false, event.nativeEvent, 'list-navigation');\n if (isHTMLElement(elements.domReference)) {\n if (virtual) {\n tree == null || tree.events.emit('virtualfocus', elements.domReference);\n } else {\n elements.domReference.focus();\n }\n }\n return;\n }\n const currentIndex = indexRef.current;\n const minIndex = getMinIndex(listRef, disabledIndices);\n const maxIndex = getMaxIndex(listRef, disabledIndices);\n if (!typeableComboboxReference) {\n if (event.key === 'Home') {\n stopEvent(event);\n indexRef.current = minIndex;\n onNavigate();\n }\n if (event.key === 'End') {\n stopEvent(event);\n indexRef.current = maxIndex;\n onNavigate();\n }\n }\n\n // Grid navigation.\n if (cols > 1) {\n const sizes = itemSizes || Array.from({\n length: listRef.current.length\n }, () => ({\n width: 1,\n height: 1\n }));\n // To calculate movements on the grid, we use hypothetical cell indices\n // as if every item was 1x1, then convert back to real indices.\n const cellMap = buildCellMap(sizes, cols, dense);\n const minGridIndex = cellMap.findIndex(index => index != null && !isDisabled(listRef.current, index, disabledIndices));\n // last enabled index\n const maxGridIndex = cellMap.reduce((foundIndex, index, cellIndex) => index != null && !isDisabled(listRef.current, index, disabledIndices) ? cellIndex : foundIndex, -1);\n const index = cellMap[getGridNavigatedIndex({\n current: cellMap.map(itemIndex => itemIndex != null ? listRef.current[itemIndex] : null)\n }, {\n event,\n orientation,\n loop,\n rtl,\n cols,\n // treat undefined (empty grid spaces) as disabled indices so we\n // don't end up in them\n disabledIndices: getCellIndices([...(disabledIndices || listRef.current.map((_, index) => isDisabled(listRef.current, index) ? index : undefined)), undefined], cellMap),\n minIndex: minGridIndex,\n maxIndex: maxGridIndex,\n prevIndex: getCellIndexOfCorner(indexRef.current > maxIndex ? minIndex : indexRef.current, sizes, cellMap, cols,\n // use a corner matching the edge closest to the direction\n // we're moving in so we don't end up in the same item. Prefer\n // top/left over bottom/right.\n event.key === ARROW_DOWN ? 'bl' : event.key === (rtl ? ARROW_LEFT : ARROW_RIGHT) ? 'tr' : 'tl'),\n stopEvent: true\n })];\n if (index != null) {\n indexRef.current = index;\n onNavigate();\n }\n if (orientation === 'both') {\n return;\n }\n }\n if (isMainOrientationKey(event.key, orientation)) {\n stopEvent(event);\n\n // Reset the index if no item is focused.\n if (open && !virtual && activeElement(event.currentTarget.ownerDocument) === event.currentTarget) {\n indexRef.current = isMainOrientationToEndKey(event.key, orientation, rtl) ? minIndex : maxIndex;\n onNavigate();\n return;\n }\n if (isMainOrientationToEndKey(event.key, orientation, rtl)) {\n if (loop) {\n indexRef.current = currentIndex >= maxIndex ? allowEscape && currentIndex !== listRef.current.length ? -1 : minIndex : findNonDisabledIndex(listRef, {\n startingIndex: currentIndex,\n disabledIndices\n });\n } else {\n indexRef.current = Math.min(maxIndex, findNonDisabledIndex(listRef, {\n startingIndex: currentIndex,\n disabledIndices\n }));\n }\n } else {\n if (loop) {\n indexRef.current = currentIndex <= minIndex ? allowEscape && currentIndex !== -1 ? listRef.current.length : maxIndex : findNonDisabledIndex(listRef, {\n startingIndex: currentIndex,\n decrement: true,\n disabledIndices\n });\n } else {\n indexRef.current = Math.max(minIndex, findNonDisabledIndex(listRef, {\n startingIndex: currentIndex,\n decrement: true,\n disabledIndices\n }));\n }\n }\n if (isIndexOutOfBounds(listRef, indexRef.current)) {\n indexRef.current = -1;\n }\n onNavigate();\n }\n });\n const ariaActiveDescendantProp = React.useMemo(() => {\n return virtual && open && hasActiveIndex && {\n 'aria-activedescendant': virtualId || activeId\n };\n }, [virtual, open, hasActiveIndex, virtualId, activeId]);\n const floating = React.useMemo(() => {\n return {\n 'aria-orientation': orientation === 'both' ? undefined : orientation,\n ...(!typeableComboboxReference ? ariaActiveDescendantProp : {}),\n onKeyDown: commonOnKeyDown,\n onPointerMove() {\n isPointerModalityRef.current = true;\n }\n };\n }, [ariaActiveDescendantProp, commonOnKeyDown, orientation, typeableComboboxReference]);\n const reference = React.useMemo(() => {\n function checkVirtualMouse(event) {\n if (focusItemOnOpen === 'auto' && isVirtualClick(event.nativeEvent)) {\n focusItemOnOpenRef.current = true;\n }\n }\n function checkVirtualPointer(event) {\n // `pointerdown` fires first, reset the state then perform the checks.\n focusItemOnOpenRef.current = focusItemOnOpen;\n if (focusItemOnOpen === 'auto' && isVirtualPointerEvent(event.nativeEvent)) {\n focusItemOnOpenRef.current = true;\n }\n }\n return {\n ...ariaActiveDescendantProp,\n onKeyDown(event) {\n var _tree$nodesRef$curren;\n isPointerModalityRef.current = false;\n const isArrowKey = event.key.startsWith('Arrow');\n const isHomeOrEndKey = ['Home', 'End'].includes(event.key);\n const isMoveKey = isArrowKey || isHomeOrEndKey;\n const parentOrientation = tree == null || (_tree$nodesRef$curren = tree.nodesRef.current.find(node => node.id === parentId)) == null || (_tree$nodesRef$curren = _tree$nodesRef$curren.context) == null || (_tree$nodesRef$curren = _tree$nodesRef$curren.dataRef) == null ? void 0 : _tree$nodesRef$curren.current.orientation;\n const isCrossOpenKey = isCrossOrientationOpenKey(event.key, orientation, rtl);\n const isCrossCloseKey = isCrossOrientationCloseKey(event.key, orientation, rtl, cols);\n const isParentCrossOpenKey = isCrossOrientationOpenKey(event.key, parentOrientation, rtl);\n const isMainKey = isMainOrientationKey(event.key, orientation);\n const isNavigationKey = (nested ? isParentCrossOpenKey : isMainKey) || event.key === 'Enter' || event.key.trim() === '';\n if (virtual && open) {\n const rootNode = tree == null ? void 0 : tree.nodesRef.current.find(node => node.parentId == null);\n const deepestNode = tree && rootNode ? getDeepestNode(tree.nodesRef.current, rootNode.id) : null;\n if (isMoveKey && deepestNode && virtualItemRef) {\n const eventObject = new KeyboardEvent('keydown', {\n key: event.key,\n bubbles: true\n });\n if (isCrossOpenKey || isCrossCloseKey) {\n var _deepestNode$context, _deepestNode$context2;\n const isCurrentTarget = ((_deepestNode$context = deepestNode.context) == null ? void 0 : _deepestNode$context.elements.domReference) === event.currentTarget;\n const dispatchItem = isCrossCloseKey && !isCurrentTarget ? (_deepestNode$context2 = deepestNode.context) == null ? void 0 : _deepestNode$context2.elements.domReference : isCrossOpenKey ? listRef.current.find(item => (item == null ? void 0 : item.id) === activeId) : null;\n if (dispatchItem) {\n stopEvent(event);\n dispatchItem.dispatchEvent(eventObject);\n setVirtualId(undefined);\n }\n }\n if ((isMainKey || isHomeOrEndKey) && deepestNode.context) {\n if (deepestNode.context.open && deepestNode.parentId && event.currentTarget !== deepestNode.context.elements.domReference) {\n var _deepestNode$context$;\n stopEvent(event);\n (_deepestNode$context$ = deepestNode.context.elements.domReference) == null || _deepestNode$context$.dispatchEvent(eventObject);\n return;\n }\n }\n }\n return commonOnKeyDown(event);\n }\n // If a floating element should not open on arrow key down, avoid\n // setting `activeIndex` while it's closed.\n if (!open && !openOnArrowKeyDown && isArrowKey) {\n return;\n }\n if (isNavigationKey) {\n const isParentMainKey = isMainOrientationKey(event.key, parentOrientation);\n keyRef.current = nested && isParentMainKey ? null : event.key;\n }\n if (nested) {\n if (isParentCrossOpenKey) {\n stopEvent(event);\n if (open) {\n indexRef.current = getMinIndex(listRef, disabledIndicesRef.current);\n onNavigate();\n } else {\n onOpenChange(true, event.nativeEvent, 'list-navigation');\n }\n }\n return;\n }\n if (isMainKey) {\n if (selectedIndex != null) {\n indexRef.current = selectedIndex;\n }\n stopEvent(event);\n if (!open && openOnArrowKeyDown) {\n onOpenChange(true, event.nativeEvent, 'list-navigation');\n } else {\n commonOnKeyDown(event);\n }\n if (open) {\n onNavigate();\n }\n }\n },\n onFocus() {\n if (open && !virtual) {\n indexRef.current = -1;\n onNavigate();\n }\n },\n onPointerDown: checkVirtualPointer,\n onPointerEnter: checkVirtualPointer,\n onMouseDown: checkVirtualMouse,\n onClick: checkVirtualMouse\n };\n }, [activeId, ariaActiveDescendantProp, cols, commonOnKeyDown, disabledIndicesRef, focusItemOnOpen, listRef, nested, onNavigate, onOpenChange, open, openOnArrowKeyDown, orientation, parentId, rtl, selectedIndex, tree, virtual, virtualItemRef]);\n return React.useMemo(() => enabled ? {\n reference,\n floating,\n item\n } : {}, [enabled, reference, floating, item]);\n}\n\nconst componentRoleToAriaRoleMap = /*#__PURE__*/new Map([['select', 'listbox'], ['combobox', 'listbox'], ['label', false]]);\n\n/**\n * Adds base screen reader props to the reference and floating elements for a\n * given floating element `role`.\n * @see https://floating-ui.com/docs/useRole\n */\nfunction useRole(context, props) {\n var _componentRoleToAriaR;\n if (props === void 0) {\n props = {};\n }\n const {\n open,\n floatingId\n } = context;\n const {\n enabled = true,\n role = 'dialog'\n } = props;\n const ariaRole = (_componentRoleToAriaR = componentRoleToAriaRoleMap.get(role)) != null ? _componentRoleToAriaR : role;\n const referenceId = useId();\n const parentId = useFloatingParentNodeId();\n const isNested = parentId != null;\n const reference = React.useMemo(() => {\n if (ariaRole === 'tooltip' || role === 'label') {\n return {\n [\"aria-\" + (role === 'label' ? 'labelledby' : 'describedby')]: open ? floatingId : undefined\n };\n }\n return {\n 'aria-expanded': open ? 'true' : 'false',\n 'aria-haspopup': ariaRole === 'alertdialog' ? 'dialog' : ariaRole,\n 'aria-controls': open ? floatingId : undefined,\n ...(ariaRole === 'listbox' && {\n role: 'combobox'\n }),\n ...(ariaRole === 'menu' && {\n id: referenceId\n }),\n ...(ariaRole === 'menu' && isNested && {\n role: 'menuitem'\n }),\n ...(role === 'select' && {\n 'aria-autocomplete': 'none'\n }),\n ...(role === 'combobox' && {\n 'aria-autocomplete': 'list'\n })\n };\n }, [ariaRole, floatingId, isNested, open, referenceId, role]);\n const floating = React.useMemo(() => {\n const floatingProps = {\n id: floatingId,\n ...(ariaRole && {\n role: ariaRole\n })\n };\n if (ariaRole === 'tooltip' || role === 'label') {\n return floatingProps;\n }\n return {\n ...floatingProps,\n ...(ariaRole === 'menu' && {\n 'aria-labelledby': referenceId\n })\n };\n }, [ariaRole, floatingId, referenceId, role]);\n const item = React.useCallback(_ref => {\n let {\n active,\n selected\n } = _ref;\n const commonProps = {\n role: 'option',\n ...(active && {\n id: floatingId + \"-option\"\n })\n };\n\n // For `menu`, we are unable to tell if the item is a `menuitemradio`\n // or `menuitemcheckbox`. For backwards-compatibility reasons, also\n // avoid defaulting to `menuitem` as it may overwrite custom role props.\n switch (role) {\n case 'select':\n return {\n ...commonProps,\n 'aria-selected': active && selected\n };\n case 'combobox':\n {\n return {\n ...commonProps,\n ...(active && {\n 'aria-selected': true\n })\n };\n }\n }\n return {};\n }, [floatingId, role]);\n return React.useMemo(() => enabled ? {\n reference,\n floating,\n item\n } : {}, [enabled, reference, floating, item]);\n}\n\n// Converts a JS style key like `backgroundColor` to a CSS transition-property\n// like `background-color`.\nconst camelCaseToKebabCase = str => str.replace(/[A-Z]+(?![a-z])|[A-Z]/g, ($, ofs) => (ofs ? '-' : '') + $.toLowerCase());\nfunction execWithArgsOrReturn(valueOrFn, args) {\n return typeof valueOrFn === 'function' ? valueOrFn(args) : valueOrFn;\n}\nfunction useDelayUnmount(open, durationMs) {\n const [isMounted, setIsMounted] = React.useState(open);\n if (open && !isMounted) {\n setIsMounted(true);\n }\n React.useEffect(() => {\n if (!open && isMounted) {\n const timeout = setTimeout(() => setIsMounted(false), durationMs);\n return () => clearTimeout(timeout);\n }\n }, [open, isMounted, durationMs]);\n return isMounted;\n}\n/**\n * Provides a status string to apply CSS transitions to a floating element,\n * correctly handling placement-aware transitions.\n * @see https://floating-ui.com/docs/useTransition#usetransitionstatus\n */\nfunction useTransitionStatus(context, props) {\n if (props === void 0) {\n props = {};\n }\n const {\n open,\n elements: {\n floating\n }\n } = context;\n const {\n duration = 250\n } = props;\n const isNumberDuration = typeof duration === 'number';\n const closeDuration = (isNumberDuration ? duration : duration.close) || 0;\n const [status, setStatus] = React.useState('unmounted');\n const isMounted = useDelayUnmount(open, closeDuration);\n if (!isMounted && status === 'close') {\n setStatus('unmounted');\n }\n index(() => {\n if (!floating) return;\n if (open) {\n setStatus('initial');\n const frame = requestAnimationFrame(() => {\n setStatus('open');\n });\n return () => {\n cancelAnimationFrame(frame);\n };\n }\n setStatus('close');\n }, [open, floating]);\n return {\n isMounted,\n status\n };\n}\n/**\n * Provides styles to apply CSS transitions to a floating element, correctly\n * handling placement-aware transitions. Wrapper around `useTransitionStatus`.\n * @see https://floating-ui.com/docs/useTransition#usetransitionstyles\n */\nfunction useTransitionStyles(context, props) {\n if (props === void 0) {\n props = {};\n }\n const {\n initial: unstable_initial = {\n opacity: 0\n },\n open: unstable_open,\n close: unstable_close,\n common: unstable_common,\n duration = 250\n } = props;\n const placement = context.placement;\n const side = placement.split('-')[0];\n const fnArgs = React.useMemo(() => ({\n side,\n placement\n }), [side, placement]);\n const isNumberDuration = typeof duration === 'number';\n const openDuration = (isNumberDuration ? duration : duration.open) || 0;\n const closeDuration = (isNumberDuration ? duration : duration.close) || 0;\n const [styles, setStyles] = React.useState(() => ({\n ...execWithArgsOrReturn(unstable_common, fnArgs),\n ...execWithArgsOrReturn(unstable_initial, fnArgs)\n }));\n const {\n isMounted,\n status\n } = useTransitionStatus(context, {\n duration\n });\n const initialRef = useLatestRef(unstable_initial);\n const openRef = useLatestRef(unstable_open);\n const closeRef = useLatestRef(unstable_close);\n const commonRef = useLatestRef(unstable_common);\n index(() => {\n const initialStyles = execWithArgsOrReturn(initialRef.current, fnArgs);\n const closeStyles = execWithArgsOrReturn(closeRef.current, fnArgs);\n const commonStyles = execWithArgsOrReturn(commonRef.current, fnArgs);\n const openStyles = execWithArgsOrReturn(openRef.current, fnArgs) || Object.keys(initialStyles).reduce((acc, key) => {\n acc[key] = '';\n return acc;\n }, {});\n if (status === 'initial') {\n setStyles(styles => ({\n transitionProperty: styles.transitionProperty,\n ...commonStyles,\n ...initialStyles\n }));\n }\n if (status === 'open') {\n setStyles({\n transitionProperty: Object.keys(openStyles).map(camelCaseToKebabCase).join(','),\n transitionDuration: openDuration + \"ms\",\n ...commonStyles,\n ...openStyles\n });\n }\n if (status === 'close') {\n const styles = closeStyles || initialStyles;\n setStyles({\n transitionProperty: Object.keys(styles).map(camelCaseToKebabCase).join(','),\n transitionDuration: closeDuration + \"ms\",\n ...commonStyles,\n ...styles\n });\n }\n }, [closeDuration, closeRef, initialRef, openRef, commonRef, openDuration, status, fnArgs]);\n return {\n isMounted,\n styles\n };\n}\n\n/**\n * Provides a matching callback that can be used to focus an item as the user\n * types, often used in tandem with `useListNavigation()`.\n * @see https://floating-ui.com/docs/useTypeahead\n */\nfunction useTypeahead(context, props) {\n var _ref;\n const {\n open,\n dataRef\n } = context;\n const {\n listRef,\n activeIndex,\n onMatch: unstable_onMatch,\n onTypingChange: unstable_onTypingChange,\n enabled = true,\n findMatch = null,\n resetMs = 750,\n ignoreKeys = [],\n selectedIndex = null\n } = props;\n const timeoutIdRef = React.useRef(-1);\n const stringRef = React.useRef('');\n const prevIndexRef = React.useRef((_ref = selectedIndex != null ? selectedIndex : activeIndex) != null ? _ref : -1);\n const matchIndexRef = React.useRef(null);\n const onMatch = useEffectEvent(unstable_onMatch);\n const onTypingChange = useEffectEvent(unstable_onTypingChange);\n const findMatchRef = useLatestRef(findMatch);\n const ignoreKeysRef = useLatestRef(ignoreKeys);\n index(() => {\n if (open) {\n clearTimeoutIfSet(timeoutIdRef);\n matchIndexRef.current = null;\n stringRef.current = '';\n }\n }, [open]);\n index(() => {\n // Sync arrow key navigation but not typeahead navigation.\n if (open && stringRef.current === '') {\n var _ref2;\n prevIndexRef.current = (_ref2 = selectedIndex != null ? selectedIndex : activeIndex) != null ? _ref2 : -1;\n }\n }, [open, selectedIndex, activeIndex]);\n const setTypingChange = useEffectEvent(value => {\n if (value) {\n if (!dataRef.current.typing) {\n dataRef.current.typing = value;\n onTypingChange(value);\n }\n } else {\n if (dataRef.current.typing) {\n dataRef.current.typing = value;\n onTypingChange(value);\n }\n }\n });\n const onKeyDown = useEffectEvent(event => {\n function getMatchingIndex(list, orderedList, string) {\n const str = findMatchRef.current ? findMatchRef.current(orderedList, string) : orderedList.find(text => (text == null ? void 0 : text.toLocaleLowerCase().indexOf(string.toLocaleLowerCase())) === 0);\n return str ? list.indexOf(str) : -1;\n }\n const listContent = listRef.current;\n if (stringRef.current.length > 0 && stringRef.current[0] !== ' ') {\n if (getMatchingIndex(listContent, listContent, stringRef.current) === -1) {\n setTypingChange(false);\n } else if (event.key === ' ') {\n stopEvent(event);\n }\n }\n if (listContent == null || ignoreKeysRef.current.includes(event.key) ||\n // Character key.\n event.key.length !== 1 ||\n // Modifier key.\n event.ctrlKey || event.metaKey || event.altKey) {\n return;\n }\n if (open && event.key !== ' ') {\n stopEvent(event);\n setTypingChange(true);\n }\n\n // Bail out if the list contains a word like \"llama\" or \"aaron\". TODO:\n // allow it in this case, too.\n const allowRapidSuccessionOfFirstLetter = listContent.every(text => {\n var _text$, _text$2;\n return text ? ((_text$ = text[0]) == null ? void 0 : _text$.toLocaleLowerCase()) !== ((_text$2 = text[1]) == null ? void 0 : _text$2.toLocaleLowerCase()) : true;\n });\n\n // Allows the user to cycle through items that start with the same letter\n // in rapid succession.\n if (allowRapidSuccessionOfFirstLetter && stringRef.current === event.key) {\n stringRef.current = '';\n prevIndexRef.current = matchIndexRef.current;\n }\n stringRef.current += event.key;\n clearTimeoutIfSet(timeoutIdRef);\n timeoutIdRef.current = window.setTimeout(() => {\n stringRef.current = '';\n prevIndexRef.current = matchIndexRef.current;\n setTypingChange(false);\n }, resetMs);\n const prevIndex = prevIndexRef.current;\n const index = getMatchingIndex(listContent, [...listContent.slice((prevIndex || 0) + 1), ...listContent.slice(0, (prevIndex || 0) + 1)], stringRef.current);\n if (index !== -1) {\n onMatch(index);\n matchIndexRef.current = index;\n } else if (event.key !== ' ') {\n stringRef.current = '';\n setTypingChange(false);\n }\n });\n const reference = React.useMemo(() => ({\n onKeyDown\n }), [onKeyDown]);\n const floating = React.useMemo(() => {\n return {\n onKeyDown,\n onKeyUp(event) {\n if (event.key === ' ') {\n setTypingChange(false);\n }\n }\n };\n }, [onKeyDown, setTypingChange]);\n return React.useMemo(() => enabled ? {\n reference,\n floating\n } : {}, [enabled, reference, floating]);\n}\n\nfunction getArgsWithCustomFloatingHeight(state, height) {\n return {\n ...state,\n rects: {\n ...state.rects,\n floating: {\n ...state.rects.floating,\n height\n }\n }\n };\n}\n/**\n * Positions the floating element such that an inner element inside of it is\n * anchored to the reference element.\n * @see https://floating-ui.com/docs/inner\n * @deprecated\n */\nconst inner = props => ({\n name: 'inner',\n options: props,\n async fn(state) {\n const {\n listRef,\n overflowRef,\n onFallbackChange,\n offset: innerOffset = 0,\n index = 0,\n minItemsVisible = 4,\n referenceOverflowThreshold = 0,\n scrollRef,\n ...detectOverflowOptions\n } = evaluate(props, state);\n const {\n rects,\n elements: {\n floating\n }\n } = state;\n const item = listRef.current[index];\n const scrollEl = (scrollRef == null ? void 0 : scrollRef.current) || floating;\n\n // Valid combinations:\n // 1. Floating element is the scrollRef and has a border (default)\n // 2. Floating element is not the scrollRef, floating element has a border\n // 3. Floating element is not the scrollRef, scrollRef has a border\n // Floating > {...getFloatingProps()} wrapper > scrollRef > items is not\n // allowed as VoiceOver doesn't work.\n const clientTop = floating.clientTop || scrollEl.clientTop;\n const floatingIsBordered = floating.clientTop !== 0;\n const scrollElIsBordered = scrollEl.clientTop !== 0;\n const floatingIsScrollEl = floating === scrollEl;\n if (process.env.NODE_ENV !== \"production\") {\n if (!state.placement.startsWith('bottom')) {\n warn('`placement` side must be \"bottom\" when using the `inner`', 'middleware.');\n }\n }\n if (!item) {\n return {};\n }\n const nextArgs = {\n ...state,\n ...(await offset(-item.offsetTop - floating.clientTop - rects.reference.height / 2 - item.offsetHeight / 2 - innerOffset).fn(state))\n };\n const overflow = await detectOverflow(getArgsWithCustomFloatingHeight(nextArgs, scrollEl.scrollHeight + clientTop + floating.clientTop), detectOverflowOptions);\n const refOverflow = await detectOverflow(nextArgs, {\n ...detectOverflowOptions,\n elementContext: 'reference'\n });\n const diffY = max(0, overflow.top);\n const nextY = nextArgs.y + diffY;\n const isScrollable = scrollEl.scrollHeight > scrollEl.clientHeight;\n const rounder = isScrollable ? v => v : round;\n const maxHeight = rounder(max(0, scrollEl.scrollHeight + (floatingIsBordered && floatingIsScrollEl || scrollElIsBordered ? clientTop * 2 : 0) - diffY - max(0, overflow.bottom)));\n scrollEl.style.maxHeight = maxHeight + \"px\";\n scrollEl.scrollTop = diffY;\n\n // There is not enough space, fallback to standard anchored positioning\n if (onFallbackChange) {\n const shouldFallback = scrollEl.offsetHeight < item.offsetHeight * min(minItemsVisible, listRef.current.length) - 1 || refOverflow.top >= -referenceOverflowThreshold || refOverflow.bottom >= -referenceOverflowThreshold;\n ReactDOM.flushSync(() => onFallbackChange(shouldFallback));\n }\n if (overflowRef) {\n overflowRef.current = await detectOverflow(getArgsWithCustomFloatingHeight({\n ...nextArgs,\n y: nextY\n }, scrollEl.offsetHeight + clientTop + floating.clientTop), detectOverflowOptions);\n }\n return {\n y: nextY\n };\n }\n});\n/**\n * Changes the `inner` middleware's `offset` upon a `wheel` event to\n * expand the floating element's height, revealing more list items.\n * @see https://floating-ui.com/docs/inner\n * @deprecated\n */\nfunction useInnerOffset(context, props) {\n const {\n open,\n elements\n } = context;\n const {\n enabled = true,\n overflowRef,\n scrollRef,\n onChange: unstable_onChange\n } = props;\n const onChange = useEffectEvent(unstable_onChange);\n const controlledScrollingRef = React.useRef(false);\n const prevScrollTopRef = React.useRef(null);\n const initialOverflowRef = React.useRef(null);\n React.useEffect(() => {\n if (!enabled) return;\n function onWheel(e) {\n if (e.ctrlKey || !el || overflowRef.current == null) {\n return;\n }\n const dY = e.deltaY;\n const isAtTop = overflowRef.current.top >= -0.5;\n const isAtBottom = overflowRef.current.bottom >= -0.5;\n const remainingScroll = el.scrollHeight - el.clientHeight;\n const sign = dY < 0 ? -1 : 1;\n const method = dY < 0 ? 'max' : 'min';\n if (el.scrollHeight <= el.clientHeight) {\n return;\n }\n if (!isAtTop && dY > 0 || !isAtBottom && dY < 0) {\n e.preventDefault();\n ReactDOM.flushSync(() => {\n onChange(d => d + Math[method](dY, remainingScroll * sign));\n });\n } else if (/firefox/i.test(getUserAgent())) {\n // Needed to propagate scrolling during momentum scrolling phase once\n // it gets limited by the boundary. UX improvement, not critical.\n el.scrollTop += dY;\n }\n }\n const el = (scrollRef == null ? void 0 : scrollRef.current) || elements.floating;\n if (open && el) {\n el.addEventListener('wheel', onWheel);\n\n // Wait for the position to be ready.\n requestAnimationFrame(() => {\n prevScrollTopRef.current = el.scrollTop;\n if (overflowRef.current != null) {\n initialOverflowRef.current = {\n ...overflowRef.current\n };\n }\n });\n return () => {\n prevScrollTopRef.current = null;\n initialOverflowRef.current = null;\n el.removeEventListener('wheel', onWheel);\n };\n }\n }, [enabled, open, elements.floating, overflowRef, scrollRef, onChange]);\n const floating = React.useMemo(() => ({\n onKeyDown() {\n controlledScrollingRef.current = true;\n },\n onWheel() {\n controlledScrollingRef.current = false;\n },\n onPointerMove() {\n controlledScrollingRef.current = false;\n },\n onScroll() {\n const el = (scrollRef == null ? void 0 : scrollRef.current) || elements.floating;\n if (!overflowRef.current || !el || !controlledScrollingRef.current) {\n return;\n }\n if (prevScrollTopRef.current !== null) {\n const scrollDiff = el.scrollTop - prevScrollTopRef.current;\n if (overflowRef.current.bottom < -0.5 && scrollDiff < -1 || overflowRef.current.top < -0.5 && scrollDiff > 1) {\n ReactDOM.flushSync(() => onChange(d => d + scrollDiff));\n }\n }\n\n // [Firefox] Wait for the height change to have been applied.\n requestAnimationFrame(() => {\n prevScrollTopRef.current = el.scrollTop;\n });\n }\n }), [elements.floating, onChange, overflowRef, scrollRef]);\n return React.useMemo(() => enabled ? {\n floating\n } : {}, [enabled, floating]);\n}\n\nfunction isPointInPolygon(point, polygon) {\n const [x, y] = point;\n let isInside = false;\n const length = polygon.length;\n for (let i = 0, j = length - 1; i < length; j = i++) {\n const [xi, yi] = polygon[i] || [0, 0];\n const [xj, yj] = polygon[j] || [0, 0];\n const intersect = yi >= y !== yj >= y && x <= (xj - xi) * (y - yi) / (yj - yi) + xi;\n if (intersect) {\n isInside = !isInside;\n }\n }\n return isInside;\n}\nfunction isInside(point, rect) {\n return point[0] >= rect.x && point[0] <= rect.x + rect.width && point[1] >= rect.y && point[1] <= rect.y + rect.height;\n}\n/**\n * Generates a safe polygon area that the user can traverse without closing the\n * floating element once leaving the reference element.\n * @see https://floating-ui.com/docs/useHover#safepolygon\n */\nfunction safePolygon(options) {\n if (options === void 0) {\n options = {};\n }\n const {\n buffer = 0.5,\n blockPointerEvents = false,\n requireIntent = true\n } = options;\n let timeoutId;\n let hasLanded = false;\n let lastX = null;\n let lastY = null;\n let lastCursorTime = performance.now();\n function getCursorSpeed(x, y) {\n const currentTime = performance.now();\n const elapsedTime = currentTime - lastCursorTime;\n if (lastX === null || lastY === null || elapsedTime === 0) {\n lastX = x;\n lastY = y;\n lastCursorTime = currentTime;\n return null;\n }\n const deltaX = x - lastX;\n const deltaY = y - lastY;\n const distance = Math.sqrt(deltaX * deltaX + deltaY * deltaY);\n const speed = distance / elapsedTime; // px / ms\n\n lastX = x;\n lastY = y;\n lastCursorTime = currentTime;\n return speed;\n }\n const fn = _ref => {\n let {\n x,\n y,\n placement,\n elements,\n onClose,\n nodeId,\n tree\n } = _ref;\n return function onMouseMove(event) {\n function close() {\n clearTimeout(timeoutId);\n onClose();\n }\n clearTimeout(timeoutId);\n if (!elements.domReference || !elements.floating || placement == null || x == null || y == null) {\n return;\n }\n const {\n clientX,\n clientY\n } = event;\n const clientPoint = [clientX, clientY];\n const target = getTarget(event);\n const isLeave = event.type === 'mouseleave';\n const isOverFloatingEl = contains(elements.floating, target);\n const isOverReferenceEl = contains(elements.domReference, target);\n const refRect = elements.domReference.getBoundingClientRect();\n const rect = elements.floating.getBoundingClientRect();\n const side = placement.split('-')[0];\n const cursorLeaveFromRight = x > rect.right - rect.width / 2;\n const cursorLeaveFromBottom = y > rect.bottom - rect.height / 2;\n const isOverReferenceRect = isInside(clientPoint, refRect);\n const isFloatingWider = rect.width > refRect.width;\n const isFloatingTaller = rect.height > refRect.height;\n const left = (isFloatingWider ? refRect : rect).left;\n const right = (isFloatingWider ? refRect : rect).right;\n const top = (isFloatingTaller ? refRect : rect).top;\n const bottom = (isFloatingTaller ? refRect : rect).bottom;\n if (isOverFloatingEl) {\n hasLanded = true;\n if (!isLeave) {\n return;\n }\n }\n if (isOverReferenceEl) {\n hasLanded = false;\n }\n if (isOverReferenceEl && !isLeave) {\n hasLanded = true;\n return;\n }\n\n // Prevent overlapping floating element from being stuck in an open-close\n // loop: https://github.com/floating-ui/floating-ui/issues/1910\n if (isLeave && isElement(event.relatedTarget) && contains(elements.floating, event.relatedTarget)) {\n return;\n }\n\n // If any nested child is open, abort.\n if (tree && getChildren(tree.nodesRef.current, nodeId).some(_ref2 => {\n let {\n context\n } = _ref2;\n return context == null ? void 0 : context.open;\n })) {\n return;\n }\n\n // If the pointer is leaving from the opposite side, the \"buffer\" logic\n // creates a point where the floating element remains open, but should be\n // ignored.\n // A constant of 1 handles floating point rounding errors.\n if (side === 'top' && y >= refRect.bottom - 1 || side === 'bottom' && y <= refRect.top + 1 || side === 'left' && x >= refRect.right - 1 || side === 'right' && x <= refRect.left + 1) {\n return close();\n }\n\n // Ignore when the cursor is within the rectangular trough between the\n // two elements. Since the triangle is created from the cursor point,\n // which can start beyond the ref element's edge, traversing back and\n // forth from the ref to the floating element can cause it to close. This\n // ensures it always remains open in that case.\n let rectPoly = [];\n switch (side) {\n case 'top':\n rectPoly = [[left, refRect.top + 1], [left, rect.bottom - 1], [right, rect.bottom - 1], [right, refRect.top + 1]];\n break;\n case 'bottom':\n rectPoly = [[left, rect.top + 1], [left, refRect.bottom - 1], [right, refRect.bottom - 1], [right, rect.top + 1]];\n break;\n case 'left':\n rectPoly = [[rect.right - 1, bottom], [rect.right - 1, top], [refRect.left + 1, top], [refRect.left + 1, bottom]];\n break;\n case 'right':\n rectPoly = [[refRect.right - 1, bottom], [refRect.right - 1, top], [rect.left + 1, top], [rect.left + 1, bottom]];\n break;\n }\n function getPolygon(_ref3) {\n let [x, y] = _ref3;\n switch (side) {\n case 'top':\n {\n const cursorPointOne = [isFloatingWider ? x + buffer / 2 : cursorLeaveFromRight ? x + buffer * 4 : x - buffer * 4, y + buffer + 1];\n const cursorPointTwo = [isFloatingWider ? x - buffer / 2 : cursorLeaveFromRight ? x + buffer * 4 : x - buffer * 4, y + buffer + 1];\n const commonPoints = [[rect.left, cursorLeaveFromRight ? rect.bottom - buffer : isFloatingWider ? rect.bottom - buffer : rect.top], [rect.right, cursorLeaveFromRight ? isFloatingWider ? rect.bottom - buffer : rect.top : rect.bottom - buffer]];\n return [cursorPointOne, cursorPointTwo, ...commonPoints];\n }\n case 'bottom':\n {\n const cursorPointOne = [isFloatingWider ? x + buffer / 2 : cursorLeaveFromRight ? x + buffer * 4 : x - buffer * 4, y - buffer];\n const cursorPointTwo = [isFloatingWider ? x - buffer / 2 : cursorLeaveFromRight ? x + buffer * 4 : x - buffer * 4, y - buffer];\n const commonPoints = [[rect.left, cursorLeaveFromRight ? rect.top + buffer : isFloatingWider ? rect.top + buffer : rect.bottom], [rect.right, cursorLeaveFromRight ? isFloatingWider ? rect.top + buffer : rect.bottom : rect.top + buffer]];\n return [cursorPointOne, cursorPointTwo, ...commonPoints];\n }\n case 'left':\n {\n const cursorPointOne = [x + buffer + 1, isFloatingTaller ? y + buffer / 2 : cursorLeaveFromBottom ? y + buffer * 4 : y - buffer * 4];\n const cursorPointTwo = [x + buffer + 1, isFloatingTaller ? y - buffer / 2 : cursorLeaveFromBottom ? y + buffer * 4 : y - buffer * 4];\n const commonPoints = [[cursorLeaveFromBottom ? rect.right - buffer : isFloatingTaller ? rect.right - buffer : rect.left, rect.top], [cursorLeaveFromBottom ? isFloatingTaller ? rect.right - buffer : rect.left : rect.right - buffer, rect.bottom]];\n return [...commonPoints, cursorPointOne, cursorPointTwo];\n }\n case 'right':\n {\n const cursorPointOne = [x - buffer, isFloatingTaller ? y + buffer / 2 : cursorLeaveFromBottom ? y + buffer * 4 : y - buffer * 4];\n const cursorPointTwo = [x - buffer, isFloatingTaller ? y - buffer / 2 : cursorLeaveFromBottom ? y + buffer * 4 : y - buffer * 4];\n const commonPoints = [[cursorLeaveFromBottom ? rect.left + buffer : isFloatingTaller ? rect.left + buffer : rect.right, rect.top], [cursorLeaveFromBottom ? isFloatingTaller ? rect.left + buffer : rect.right : rect.left + buffer, rect.bottom]];\n return [cursorPointOne, cursorPointTwo, ...commonPoints];\n }\n }\n }\n if (isPointInPolygon([clientX, clientY], rectPoly)) {\n return;\n }\n if (hasLanded && !isOverReferenceRect) {\n return close();\n }\n if (!isLeave && requireIntent) {\n const cursorSpeed = getCursorSpeed(event.clientX, event.clientY);\n const cursorSpeedThreshold = 0.1;\n if (cursorSpeed !== null && cursorSpeed < cursorSpeedThreshold) {\n return close();\n }\n }\n if (!isPointInPolygon([clientX, clientY], getPolygon([x, y]))) {\n close();\n } else if (!hasLanded && requireIntent) {\n timeoutId = window.setTimeout(close, 40);\n }\n };\n };\n fn.__options = {\n blockPointerEvents\n };\n return fn;\n}\n\nexport { Composite, CompositeItem, FloatingArrow, FloatingDelayGroup, FloatingFocusManager, FloatingList, FloatingNode, FloatingOverlay, FloatingPortal, FloatingTree, inner, safePolygon, useClick, useClientPoint, useDelayGroup, useDelayGroupContext, useDismiss, useFloating, useFloatingNodeId, useFloatingParentNodeId, useFloatingPortalNode, useFloatingRootContext, useFloatingTree, useFocus, useHover, useId, useInnerOffset, useInteractions, useListItem, useListNavigation, useMergeRefs, useRole, useTransitionStatus, useTransitionStyles, useTypeahead };\n","import { isShadowRoot, isHTMLElement } from '@floating-ui/utils/dom';\n\nfunction activeElement(doc) {\n let activeElement = doc.activeElement;\n while (((_activeElement = activeElement) == null || (_activeElement = _activeElement.shadowRoot) == null ? void 0 : _activeElement.activeElement) != null) {\n var _activeElement;\n activeElement = activeElement.shadowRoot.activeElement;\n }\n return activeElement;\n}\nfunction contains(parent, child) {\n if (!parent || !child) {\n return false;\n }\n const rootNode = child.getRootNode == null ? void 0 : child.getRootNode();\n\n // First, attempt with faster native method\n if (parent.contains(child)) {\n return true;\n }\n\n // then fallback to custom implementation with Shadow DOM support\n if (rootNode && isShadowRoot(rootNode)) {\n let next = child;\n while (next) {\n if (parent === next) {\n return true;\n }\n // @ts-ignore\n next = next.parentNode || next.host;\n }\n }\n\n // Give up, the result is false\n return false;\n}\n// Avoid Chrome DevTools blue warning.\nfunction getPlatform() {\n const uaData = navigator.userAgentData;\n if (uaData != null && uaData.platform) {\n return uaData.platform;\n }\n return navigator.platform;\n}\nfunction getUserAgent() {\n const uaData = navigator.userAgentData;\n if (uaData && Array.isArray(uaData.brands)) {\n return uaData.brands.map(_ref => {\n let {\n brand,\n version\n } = _ref;\n return brand + \"/\" + version;\n }).join(' ');\n }\n return navigator.userAgent;\n}\n\n// License: https://github.com/adobe/react-spectrum/blob/b35d5c02fe900badccd0cf1a8f23bb593419f238/packages/@react-aria/utils/src/isVirtualEvent.ts\nfunction isVirtualClick(event) {\n // FIXME: Firefox is now emitting a deprecation warning for `mozInputSource`.\n // Try to find a workaround for this. `react-aria` source still has the check.\n if (event.mozInputSource === 0 && event.isTrusted) {\n return true;\n }\n if (isAndroid() && event.pointerType) {\n return event.type === 'click' && event.buttons === 1;\n }\n return event.detail === 0 && !event.pointerType;\n}\nfunction isVirtualPointerEvent(event) {\n if (isJSDOM()) return false;\n return !isAndroid() && event.width === 0 && event.height === 0 || isAndroid() && event.width === 1 && event.height === 1 && event.pressure === 0 && event.detail === 0 && event.pointerType === 'mouse' ||\n // iOS VoiceOver returns 0.333• for width/height.\n event.width < 1 && event.height < 1 && event.pressure === 0 && event.detail === 0 && event.pointerType === 'touch';\n}\nfunction isSafari() {\n // Chrome DevTools does not complain about navigator.vendor\n return /apple/i.test(navigator.vendor);\n}\nfunction isAndroid() {\n const re = /android/i;\n return re.test(getPlatform()) || re.test(getUserAgent());\n}\nfunction isMac() {\n return getPlatform().toLowerCase().startsWith('mac') && !navigator.maxTouchPoints;\n}\nfunction isJSDOM() {\n return getUserAgent().includes('jsdom/');\n}\nfunction isMouseLikePointerType(pointerType, strict) {\n // On some Linux machines with Chromium, mouse inputs return a `pointerType`\n // of \"pen\": https://github.com/floating-ui/floating-ui/issues/2015\n const values = ['mouse', 'pen'];\n if (!strict) {\n values.push('', undefined);\n }\n return values.includes(pointerType);\n}\nfunction isReactEvent(event) {\n return 'nativeEvent' in event;\n}\nfunction isRootElement(element) {\n return element.matches('html,body');\n}\nfunction getDocument(node) {\n return (node == null ? void 0 : node.ownerDocument) || document;\n}\nfunction isEventTargetWithin(event, node) {\n if (node == null) {\n return false;\n }\n if ('composedPath' in event) {\n return event.composedPath().includes(node);\n }\n\n // TS thinks `event` is of type never as it assumes all browsers support composedPath, but browsers without shadow dom don't\n const e = event;\n return e.target != null && node.contains(e.target);\n}\nfunction getTarget(event) {\n if ('composedPath' in event) {\n return event.composedPath()[0];\n }\n\n // TS thinks `event` is of type never as it assumes all browsers support\n // `composedPath()`, but browsers without shadow DOM don't.\n return event.target;\n}\nconst TYPEABLE_SELECTOR = \"input:not([type='hidden']):not([disabled]),\" + \"[contenteditable]:not([contenteditable='false']),textarea:not([disabled])\";\nfunction isTypeableElement(element) {\n return isHTMLElement(element) && element.matches(TYPEABLE_SELECTOR);\n}\nfunction stopEvent(event) {\n event.preventDefault();\n event.stopPropagation();\n}\nfunction isTypeableCombobox(element) {\n if (!element) return false;\n return element.getAttribute('role') === 'combobox' && isTypeableElement(element);\n}\n\nexport { TYPEABLE_SELECTOR, activeElement, contains, getDocument, getPlatform, getTarget, getUserAgent, isAndroid, isEventTargetWithin, isJSDOM, isMac, isMouseLikePointerType, isReactEvent, isRootElement, isSafari, isTypeableCombobox, isTypeableElement, isVirtualClick, isVirtualPointerEvent, stopEvent };\n","function hasWindow() {\n return typeof window !== 'undefined';\n}\nfunction getNodeName(node) {\n if (isNode(node)) {\n return (node.nodeName || '').toLowerCase();\n }\n // Mocked nodes in testing environments may not be instances of Node. By\n // returning `#document` an infinite loop won't occur.\n // https://github.com/floating-ui/floating-ui/issues/2317\n return '#document';\n}\nfunction getWindow(node) {\n var _node$ownerDocument;\n return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;\n}\nfunction getDocumentElement(node) {\n var _ref;\n return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;\n}\nfunction isNode(value) {\n if (!hasWindow()) {\n return false;\n }\n return value instanceof Node || value instanceof getWindow(value).Node;\n}\nfunction isElement(value) {\n if (!hasWindow()) {\n return false;\n }\n return value instanceof Element || value instanceof getWindow(value).Element;\n}\nfunction isHTMLElement(value) {\n if (!hasWindow()) {\n return false;\n }\n return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;\n}\nfunction isShadowRoot(value) {\n if (!hasWindow() || typeof ShadowRoot === 'undefined') {\n return false;\n }\n return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;\n}\nfunction isOverflowElement(element) {\n const {\n overflow,\n overflowX,\n overflowY,\n display\n } = getComputedStyle(element);\n return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !['inline', 'contents'].includes(display);\n}\nfunction isTableElement(element) {\n return ['table', 'td', 'th'].includes(getNodeName(element));\n}\nfunction isTopLayer(element) {\n return [':popover-open', ':modal'].some(selector => {\n try {\n return element.matches(selector);\n } catch (e) {\n return false;\n }\n });\n}\nfunction isContainingBlock(elementOrCss) {\n const webkit = isWebKit();\n const css = isElement(elementOrCss) ? getComputedStyle(elementOrCss) : elementOrCss;\n\n // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\n // https://drafts.csswg.org/css-transforms-2/#individual-transforms\n return ['transform', 'translate', 'scale', 'rotate', 'perspective'].some(value => css[value] ? css[value] !== 'none' : false) || (css.containerType ? css.containerType !== 'normal' : false) || !webkit && (css.backdropFilter ? css.backdropFilter !== 'none' : false) || !webkit && (css.filter ? css.filter !== 'none' : false) || ['transform', 'translate', 'scale', 'rotate', 'perspective', 'filter'].some(value => (css.willChange || '').includes(value)) || ['paint', 'layout', 'strict', 'content'].some(value => (css.contain || '').includes(value));\n}\nfunction getContainingBlock(element) {\n let currentNode = getParentNode(element);\n while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {\n if (isContainingBlock(currentNode)) {\n return currentNode;\n } else if (isTopLayer(currentNode)) {\n return null;\n }\n currentNode = getParentNode(currentNode);\n }\n return null;\n}\nfunction isWebKit() {\n if (typeof CSS === 'undefined' || !CSS.supports) return false;\n return CSS.supports('-webkit-backdrop-filter', 'none');\n}\nfunction isLastTraversableNode(node) {\n return ['html', 'body', '#document'].includes(getNodeName(node));\n}\nfunction getComputedStyle(element) {\n return getWindow(element).getComputedStyle(element);\n}\nfunction getNodeScroll(element) {\n if (isElement(element)) {\n return {\n scrollLeft: element.scrollLeft,\n scrollTop: element.scrollTop\n };\n }\n return {\n scrollLeft: element.scrollX,\n scrollTop: element.scrollY\n };\n}\nfunction getParentNode(node) {\n if (getNodeName(node) === 'html') {\n return node;\n }\n const result =\n // Step into the shadow DOM of the parent of a slotted node.\n node.assignedSlot ||\n // DOM Element detected.\n node.parentNode ||\n // ShadowRoot detected.\n isShadowRoot(node) && node.host ||\n // Fallback.\n getDocumentElement(node);\n return isShadowRoot(result) ? result.host : result;\n}\nfunction getNearestOverflowAncestor(node) {\n const parentNode = getParentNode(node);\n if (isLastTraversableNode(parentNode)) {\n return node.ownerDocument ? node.ownerDocument.body : node.body;\n }\n if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {\n return parentNode;\n }\n return getNearestOverflowAncestor(parentNode);\n}\nfunction getOverflowAncestors(node, list, traverseIframes) {\n var _node$ownerDocument2;\n if (list === void 0) {\n list = [];\n }\n if (traverseIframes === void 0) {\n traverseIframes = true;\n }\n const scrollableAncestor = getNearestOverflowAncestor(node);\n const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);\n const win = getWindow(scrollableAncestor);\n if (isBody) {\n const frameElement = getFrameElement(win);\n return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], frameElement && traverseIframes ? getOverflowAncestors(frameElement) : []);\n }\n return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));\n}\nfunction getFrameElement(win) {\n return win.parent && Object.getPrototypeOf(win.parent) ? win.frameElement : null;\n}\n\nexport { getComputedStyle, getContainingBlock, getDocumentElement, getFrameElement, getNearestOverflowAncestor, getNodeName, getNodeScroll, getOverflowAncestors, getParentNode, getWindow, isContainingBlock, isElement, isHTMLElement, isLastTraversableNode, isNode, isOverflowElement, isShadowRoot, isTableElement, isTopLayer, isWebKit };\n","/**\n * Custom positioning reference element.\n * @see https://floating-ui.com/docs/virtual-elements\n */\n\nconst sides = ['top', 'right', 'bottom', 'left'];\nconst alignments = ['start', 'end'];\nconst placements = /*#__PURE__*/sides.reduce((acc, side) => acc.concat(side, side + \"-\" + alignments[0], side + \"-\" + alignments[1]), []);\nconst min = Math.min;\nconst max = Math.max;\nconst round = Math.round;\nconst floor = Math.floor;\nconst createCoords = v => ({\n x: v,\n y: v\n});\nconst oppositeSideMap = {\n left: 'right',\n right: 'left',\n bottom: 'top',\n top: 'bottom'\n};\nconst oppositeAlignmentMap = {\n start: 'end',\n end: 'start'\n};\nfunction clamp(start, value, end) {\n return max(start, min(value, end));\n}\nfunction evaluate(value, param) {\n return typeof value === 'function' ? value(param) : value;\n}\nfunction getSide(placement) {\n return placement.split('-')[0];\n}\nfunction getAlignment(placement) {\n return placement.split('-')[1];\n}\nfunction getOppositeAxis(axis) {\n return axis === 'x' ? 'y' : 'x';\n}\nfunction getAxisLength(axis) {\n return axis === 'y' ? 'height' : 'width';\n}\nfunction getSideAxis(placement) {\n return ['top', 'bottom'].includes(getSide(placement)) ? 'y' : 'x';\n}\nfunction getAlignmentAxis(placement) {\n return getOppositeAxis(getSideAxis(placement));\n}\nfunction getAlignmentSides(placement, rects, rtl) {\n if (rtl === void 0) {\n rtl = false;\n }\n const alignment = getAlignment(placement);\n const alignmentAxis = getAlignmentAxis(placement);\n const length = getAxisLength(alignmentAxis);\n let mainAlignmentSide = alignmentAxis === 'x' ? alignment === (rtl ? 'end' : 'start') ? 'right' : 'left' : alignment === 'start' ? 'bottom' : 'top';\n if (rects.reference[length] > rects.floating[length]) {\n mainAlignmentSide = getOppositePlacement(mainAlignmentSide);\n }\n return [mainAlignmentSide, getOppositePlacement(mainAlignmentSide)];\n}\nfunction getExpandedPlacements(placement) {\n const oppositePlacement = getOppositePlacement(placement);\n return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];\n}\nfunction getOppositeAlignmentPlacement(placement) {\n return placement.replace(/start|end/g, alignment => oppositeAlignmentMap[alignment]);\n}\nfunction getSideList(side, isStart, rtl) {\n const lr = ['left', 'right'];\n const rl = ['right', 'left'];\n const tb = ['top', 'bottom'];\n const bt = ['bottom', 'top'];\n switch (side) {\n case 'top':\n case 'bottom':\n if (rtl) return isStart ? rl : lr;\n return isStart ? lr : rl;\n case 'left':\n case 'right':\n return isStart ? tb : bt;\n default:\n return [];\n }\n}\nfunction getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {\n const alignment = getAlignment(placement);\n let list = getSideList(getSide(placement), direction === 'start', rtl);\n if (alignment) {\n list = list.map(side => side + \"-\" + alignment);\n if (flipAlignment) {\n list = list.concat(list.map(getOppositeAlignmentPlacement));\n }\n }\n return list;\n}\nfunction getOppositePlacement(placement) {\n return placement.replace(/left|right|bottom|top/g, side => oppositeSideMap[side]);\n}\nfunction expandPaddingObject(padding) {\n return {\n top: 0,\n right: 0,\n bottom: 0,\n left: 0,\n ...padding\n };\n}\nfunction getPaddingObject(padding) {\n return typeof padding !== 'number' ? expandPaddingObject(padding) : {\n top: padding,\n right: padding,\n bottom: padding,\n left: padding\n };\n}\nfunction rectToClientRect(rect) {\n const {\n x,\n y,\n width,\n height\n } = rect;\n return {\n width,\n height,\n top: y,\n left: x,\n right: x + width,\n bottom: y + height,\n x,\n y\n };\n}\n\nexport { alignments, clamp, createCoords, evaluate, expandPaddingObject, floor, getAlignment, getAlignmentAxis, getAlignmentSides, getAxisLength, getExpandedPlacements, getOppositeAlignmentPlacement, getOppositeAxis, getOppositeAxisPlacements, getOppositePlacement, getPaddingObject, getSide, getSideAxis, max, min, placements, rectToClientRect, round, sides };\n","import ClientParser from '../../lib/client/html-to-dom.js';\n\nexport default ClientParser.default || ClientParser;\n","import domToReact from '../lib/dom-to-react.js';\n\nexport default domToReact.default || domToReact;\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","var getProto = Object.getPrototypeOf ? (obj) => (Object.getPrototypeOf(obj)) : (obj) => (obj.__proto__);\nvar leafPrototypes;\n// create a fake namespace object\n// mode & 1: value is a module id, require it\n// mode & 2: merge all properties of value into the ns\n// mode & 4: return value when already ns object\n// mode & 16: return value when it's Promise-like\n// mode & 8|1: behave like require\n__webpack_require__.t = function(value, mode) {\n\tif(mode & 1) value = this(value);\n\tif(mode & 8) return value;\n\tif(typeof value === 'object' && value) {\n\t\tif((mode & 4) && value.__esModule) return value;\n\t\tif((mode & 16) && typeof value.then === 'function') return value;\n\t}\n\tvar ns = Object.create(null);\n\t__webpack_require__.r(ns);\n\tvar def = {};\n\tleafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];\n\tfor(var current = mode & 2 && value; typeof current == 'object' && !~leafPrototypes.indexOf(current); current = getProto(current)) {\n\t\tObject.getOwnPropertyNames(current).forEach((key) => (def[key] = () => (value[key])));\n\t}\n\tdef['default'] = () => (value);\n\t__webpack_require__.d(ns, def);\n\treturn ns;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","export * from './components';\nexport * from './constants';\nexport * from './context';\nexport * from './hooks';\nexport * from './types';\nexport * from './utils';\n"],"names":[],"sourceRoot":""}