@optiaxiom/web-components 0.7.0 → 0.8.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 (266) hide show
  1. package/dist/AlertDialogContext-C4Zrg86m.js +1 -0
  2. package/dist/Avatar-B0g0IIxF.js +1 -0
  3. package/dist/AvatarContext-CMP9SDpi.js +1 -0
  4. package/dist/AvatarGroup.css.ts.vanilla-BxCgGwKO-B62ogurN.js +1 -0
  5. package/dist/Backdrop-RzXJufFH.js +1 -0
  6. package/dist/Badge-ClaI334w.js +1 -0
  7. package/dist/Box-DkJ77Zjm.js +1 -0
  8. package/dist/Button-D9slOo7p.js +1 -0
  9. package/dist/Checkbox-DwOY36xl.js +1 -0
  10. package/dist/{Combination-CRIC00Dq.js → Combination-CdPx-UO4.js} +1 -1
  11. package/dist/DialogContext-DYyQOuE4.js +1 -0
  12. package/dist/{DisclosureContext-CwOnMszG.js → DisclosureContext-Ug9vb9hr.js} +1 -1
  13. package/dist/DrawerContext-DIxtA0cN.js +1 -0
  14. package/dist/DropdownMenuContext-DdILU_u1.js +1 -0
  15. package/dist/DropdownMenuSubContext-Dm6QLM68.js +1 -0
  16. package/dist/FieldContext-Ccd6L4uV.js +1 -0
  17. package/dist/{FieldLabel-mSJuhzuJ.js → FieldLabel-B4y6f081.js} +1 -1
  18. package/dist/{Flex-BiMVJMxx.js → Flex-Dhxuxr7f.js} +1 -1
  19. package/dist/{Heading-C0RrCXyT.js → Heading-cRfkNIL4.js} +1 -1
  20. package/dist/Icon-BMBXCCHI.js +1 -0
  21. package/dist/IconAngleDown-Bk8Ysf-a.js +1 -0
  22. package/dist/IconAngleRight-BsOI6NUj.js +1 -0
  23. package/dist/{IconCircleInfoSolid-Cgix_iH6.js → IconCircleInfoSolid-_9vZcrhb.js} +1 -1
  24. package/dist/{IconEllipsis-D13ssdkn.js → IconEllipsis-BaB1KMrl.js} +1 -1
  25. package/dist/{IconTriangleExclamationSolid-EZbRulNs.js → IconTriangleExclamationSolid-C0quUdsi.js} +1 -1
  26. package/dist/{IconX-DCTKk2hO.js → IconX-D15AjcZb.js} +1 -1
  27. package/dist/Input-DiO-bay4.js +1 -0
  28. package/dist/InputAddon-CZhSRLRb.js +1 -0
  29. package/dist/InputContext-DpNJBMWy.js +1 -0
  30. package/dist/InputControl-CedTsi_k.js +1 -0
  31. package/dist/InputControl.css.ts.vanilla-D0ivfH9I-XdRffuro.js +1 -0
  32. package/dist/InputRoot-DMOuT998.js +1 -0
  33. package/dist/{Listbox-bRC1mcJe.js → Listbox-yhV_3sqC.js} +1 -1
  34. package/dist/ListboxCheckboxItem-gvQnp7Ez.js +1 -0
  35. package/dist/ListboxGroupContext-DlYeGMD2.js +1 -0
  36. package/dist/ListboxItem-6J366EpQ.js +1 -0
  37. package/dist/{ListboxItemIndicator-D0HQV7WL.js → ListboxItemIndicator-kXFjNx3c.js} +1 -1
  38. package/dist/ListboxSeparator-BeDjHvxo.js +1 -0
  39. package/dist/MenuButton-C10o0Zc-.js +1 -0
  40. package/dist/MenuListbox-Bx8wkYlw.js +1 -0
  41. package/dist/NavItem-CYA5XvYc.js +1 -0
  42. package/dist/Paper-CM_dC7qI.js +1 -0
  43. package/dist/PopoverContext-ygN1T1Zv.js +1 -0
  44. package/dist/RadioGroupContext-D2xIN7Tt.js +1 -0
  45. package/dist/{SegmentedControlContext-DfDDBYxI.js → SegmentedControlContext-Ck6yG4b3.js} +1 -1
  46. package/dist/Separator-K6E2Y7OO.js +1 -0
  47. package/dist/SidebarContext-CMQXaHhp.js +1 -0
  48. package/dist/Spinner-B6AlawSg.js +1 -0
  49. package/dist/Text-CPDn6bb5.js +1 -0
  50. package/dist/ThemeProvider-CD5yj0CX.js +13 -0
  51. package/dist/Toast-CgzDX8DD.js +1 -0
  52. package/dist/{ToastAction-B4oaFzJ5.js → ToastAction-CUrRDUbo.js} +1 -1
  53. package/dist/{ToastTitle-C6u9LPAZ.js → ToastTitle-DPmbouMK.js} +1 -1
  54. package/dist/ToggleInputLabel-BnlkIj-Y.js +1 -0
  55. package/dist/{Tooltip-DFfBPbAs.js → Tooltip-CJ-sabiG.js} +1 -1
  56. package/dist/TooltipContent-Dgvov5vQ.js +1 -0
  57. package/dist/TooltipContext-By3jdy4R.js +1 -0
  58. package/dist/{TooltipRoot-Riot81Js.js → TooltipRoot-Dix-fQPI.js} +1 -1
  59. package/dist/{TooltipTrigger-BWwhYLrU.js → TooltipTrigger-idugtM5Y.js} +1 -1
  60. package/dist/Transition-BvzVFCxA.js +1 -0
  61. package/dist/TransitionGroup-CQ8DM6vR.js +1 -0
  62. package/dist/components/Alert.js +1 -1
  63. package/dist/components/AlertDialog.js +1 -1
  64. package/dist/components/AlertDialogAction.js +1 -1
  65. package/dist/components/AlertDialogBody.js +1 -1
  66. package/dist/components/AlertDialogCancel.js +1 -1
  67. package/dist/components/AlertDialogContent.js +1 -1
  68. package/dist/components/AlertDialogFooter.js +1 -1
  69. package/dist/components/AlertDialogHeader.js +1 -1
  70. package/dist/components/AlertDialogTrigger.js +1 -1
  71. package/dist/components/Avatar.js +1 -1
  72. package/dist/components/AvatarGroup.js +1 -1
  73. package/dist/components/AxiomProvider.js +1 -1
  74. package/dist/components/Badge.js +1 -1
  75. package/dist/components/Banner.js +1 -1
  76. package/dist/components/Box.js +1 -1
  77. package/dist/components/Button.js +1 -1
  78. package/dist/components/ButtonGroup.js +1 -1
  79. package/dist/components/Checkbox.js +1 -1
  80. package/dist/components/Code.js +1 -1
  81. package/dist/components/Dialog.js +1 -1
  82. package/dist/components/DialogBody.js +1 -1
  83. package/dist/components/DialogClose.js +1 -1
  84. package/dist/components/DialogContent.js +1 -1
  85. package/dist/components/DialogFooter.js +1 -1
  86. package/dist/components/DialogForm.js +1 -1
  87. package/dist/components/DialogHeader.js +1 -1
  88. package/dist/components/DialogTrigger.js +1 -1
  89. package/dist/components/Disclosure.js +1 -1
  90. package/dist/components/DisclosureContent.js +1 -1
  91. package/dist/components/DisclosureTrigger.js +1 -1
  92. package/dist/components/Drawer.js +1 -1
  93. package/dist/components/DrawerActions.js +1 -1
  94. package/dist/components/DrawerBody.js +1 -1
  95. package/dist/components/DrawerClose.js +1 -1
  96. package/dist/components/DrawerContent.js +1 -1
  97. package/dist/components/DrawerDescription.js +1 -1
  98. package/dist/components/DrawerFooter.js +1 -1
  99. package/dist/components/DrawerHeader.js +1 -1
  100. package/dist/components/DrawerTitle.js +1 -1
  101. package/dist/components/DrawerTrigger.js +1 -1
  102. package/dist/components/DropdownMenu.js +1 -1
  103. package/dist/components/DropdownMenuCheckboxItem.js +1 -0
  104. package/dist/components/DropdownMenuContent.js +1 -1
  105. package/dist/components/DropdownMenuGroup.js +1 -1
  106. package/dist/components/DropdownMenuItem.js +1 -1
  107. package/dist/components/DropdownMenuLabel.js +1 -1
  108. package/dist/components/DropdownMenuSeparator.js +1 -1
  109. package/dist/components/DropdownMenuSub.js +1 -1
  110. package/dist/components/DropdownMenuSubContent.js +1 -1
  111. package/dist/components/DropdownMenuTrigger.js +1 -1
  112. package/dist/components/Field.js +1 -1
  113. package/dist/components/FieldLabel.js +1 -1
  114. package/dist/components/Flex.js +1 -1
  115. package/dist/components/Grid.js +1 -1
  116. package/dist/components/Heading.js +1 -1
  117. package/dist/components/Indicator.js +1 -1
  118. package/dist/components/Input.js +1 -1
  119. package/dist/components/InputAddon.js +1 -1
  120. package/dist/components/InputControl.js +1 -1
  121. package/dist/components/InputRoot.js +1 -1
  122. package/dist/components/Kbd.js +1 -1
  123. package/dist/components/Link.js +1 -1
  124. package/dist/components/Listbox.js +1 -1
  125. package/dist/components/ListboxCheckboxItem.js +1 -1
  126. package/dist/components/ListboxEmpty.js +1 -1
  127. package/dist/components/ListboxFooter.js +1 -1
  128. package/dist/components/ListboxGroup.js +1 -1
  129. package/dist/components/ListboxItem.js +1 -1
  130. package/dist/components/ListboxItemIndicator.js +1 -1
  131. package/dist/components/ListboxLabel.js +1 -1
  132. package/dist/components/ListboxRadioItem.js +1 -1
  133. package/dist/components/ListboxScrollArea.js +1 -1
  134. package/dist/components/ListboxSeparator.js +1 -1
  135. package/dist/components/MenuButton.js +1 -1
  136. package/dist/components/ModalLayer.js +1 -1
  137. package/dist/components/Nav.js +1 -0
  138. package/dist/components/NavAccountItem.js +1 -0
  139. package/dist/components/NavBody.js +1 -0
  140. package/dist/components/NavFooter.js +1 -0
  141. package/dist/components/NavHeader.js +1 -0
  142. package/dist/components/NavItem.js +1 -0
  143. package/dist/components/Pagination.js +1 -1
  144. package/dist/components/Paper.js +1 -1
  145. package/dist/components/Popover.js +1 -1
  146. package/dist/components/PopoverAnchor.js +1 -1
  147. package/dist/components/PopoverContent.js +1 -1
  148. package/dist/components/PopoverTrigger.js +1 -1
  149. package/dist/components/Progress.js +3 -3
  150. package/dist/components/Radio.js +1 -1
  151. package/dist/components/RadioGroup.js +1 -1
  152. package/dist/components/SearchInput.js +1 -1
  153. package/dist/components/SegmentedControl.js +1 -1
  154. package/dist/components/SegmentedControlItem.js +1 -1
  155. package/dist/components/Separator.js +1 -1
  156. package/dist/components/Sidebar.js +1 -0
  157. package/dist/components/SidebarToggle.js +1 -0
  158. package/dist/components/Skeleton.js +1 -1
  159. package/dist/components/Spinner.js +1 -1
  160. package/dist/components/Switch.js +1 -1
  161. package/dist/components/Tabs.js +1 -1
  162. package/dist/components/TabsContent.js +1 -1
  163. package/dist/components/TabsList.js +1 -1
  164. package/dist/components/TabsTrigger.js +1 -1
  165. package/dist/components/Text.js +1 -1
  166. package/dist/components/Textarea.js +1 -1
  167. package/dist/components/ThemeProvider.js +1 -1
  168. package/dist/components/Toast.js +1 -1
  169. package/dist/components/ToastAction.js +1 -1
  170. package/dist/components/ToastTitle.js +1 -1
  171. package/dist/components/ToggleButton.js +1 -1
  172. package/dist/components/Tooltip.js +1 -1
  173. package/dist/components/TooltipContent.js +1 -1
  174. package/dist/components/TooltipRoot.js +1 -1
  175. package/dist/components/TooltipTrigger.js +1 -1
  176. package/dist/components/Transition.js +1 -1
  177. package/dist/components/TransitionGroup.js +1 -1
  178. package/dist/{decorateChildren-Blopxd9e.js → decorateChildren-Dfm8Bfk6.js} +1 -1
  179. package/dist/fallbackSpan-C1dEcOZC.js +1 -0
  180. package/dist/{index-OE2jEcid.js → index-2Z5UdENF.js} +1 -1
  181. package/dist/{index-CEu-67iM.js → index-BE1D-4q3.js} +1 -1
  182. package/dist/{index-CrsUya6n.js → index-BR94Y7UD.js} +1 -1
  183. package/dist/{index-D3m2js6G.js → index-BcreLqeQ.js} +1 -1
  184. package/dist/{index-BkS03YXF.js → index-CHknjjXQ.js} +1 -1
  185. package/dist/{index-CxDOJvxA.js → index-CJ8wiK9w.js} +1 -1
  186. package/dist/{index-C-nbTQoT.js → index-CXvrS17Y.js} +1 -1
  187. package/dist/{index-D8lRMuRk.js → index-C_Nwmmeb.js} +1 -1
  188. package/dist/{index-CD9qlbpY.js → index-D4tyXb-g.js} +1 -1
  189. package/dist/index-DNCHaYVz.js +1 -0
  190. package/dist/{index-BToRUvGa.js → index-DOs84oyu.js} +1 -1
  191. package/dist/index-DRPfs38H.js +1 -0
  192. package/dist/{index-CJe4I_Dy.js → index-DWmeZo4L.js} +1 -1
  193. package/dist/{index-CfbfYKoe.js → index-DYlYDYIf.js} +1 -1
  194. package/dist/{index-BfpHr_g8.js → index-DhA7j2BO.js} +1 -1
  195. package/dist/{index-CPWONC0_.js → index-Dt-AXf4z.js} +1 -1
  196. package/dist/{index-B_YicyMI.js → index-DzgRZJb6.js} +1 -1
  197. package/dist/{index-D_rsRlJv.js → index-XMehPuYo.js} +1 -1
  198. package/dist/{index-BjvIOc3q.js → index-dNX4mZZZ.js} +1 -1
  199. package/dist/{index-BXwd7woR.js → index-f295ldbj.js} +1 -1
  200. package/dist/{index-BEqUITZl.js → index-tyTRMVp2.js} +1 -1
  201. package/dist/{index-e40XmntS.js → index-yvefsybe.js} +1 -1
  202. package/dist/{index-DeeN0aYX.js → index-zPiJMCx5.js} +1 -1
  203. package/dist/index.js +1 -1
  204. package/dist/layers.css.ts.vanilla-B-b4u8-T-D-gzaFHl.js +1 -0
  205. package/dist/mapping-CtWZQHyQ.js +1 -0
  206. package/dist/recipeRuntime-BJlqqWqz.js +1 -0
  207. package/dist/{register-UPPkNx4_.js → register-q2a4hUWr.js} +1 -1
  208. package/dist/useNestedDialogCount--flp4MbT.js +1 -0
  209. package/dist/{withIcon-CLtAu6jz.js → withIcon-CbeazhRg.js} +1 -1
  210. package/package.json +14 -12
  211. package/dist/AlertDialogContext-CoRUCNv0.js +0 -1
  212. package/dist/Avatar-ZoWr-Uf_.js +0 -1
  213. package/dist/AvatarContext-DoPWksxo.js +0 -1
  214. package/dist/AvatarGroup.css.ts.vanilla-kCeuibvy-CiANguAz.js +0 -1
  215. package/dist/Backdrop-zD6uD9hV.js +0 -1
  216. package/dist/Badge-Bm5AHBA3.js +0 -1
  217. package/dist/Box-5hbpH1gD.js +0 -1
  218. package/dist/Button-ZjQB6Rvo.js +0 -1
  219. package/dist/Checkbox-17iw-WUz.js +0 -1
  220. package/dist/DialogContext-BpKMMkql.js +0 -1
  221. package/dist/DrawerContext-Biqps86e.js +0 -1
  222. package/dist/DropdownMenuContext-DQGI-gE6.js +0 -1
  223. package/dist/DropdownMenuSubContext-Dh1mOlwy.js +0 -1
  224. package/dist/FieldContext-C5Q76axZ.js +0 -1
  225. package/dist/Icon-us_GgT7s.js +0 -1
  226. package/dist/IconAngleDown-DOAihwCW.js +0 -1
  227. package/dist/IconAngleRight-BGZ826Dp.js +0 -1
  228. package/dist/Input-CWk7ty3p.js +0 -1
  229. package/dist/InputAddon-D7E_K25f.js +0 -1
  230. package/dist/InputContext-BjLgc7BM.js +0 -1
  231. package/dist/InputControl-CLla-Bo5.js +0 -1
  232. package/dist/InputControl.css.ts.vanilla-BTYIqPLy-DbyaCXGn.js +0 -1
  233. package/dist/InputRoot-CxVWA7Cf.js +0 -1
  234. package/dist/ListboxGroupContext-B6tFgOBz.js +0 -1
  235. package/dist/ListboxItem-COLD-wk0.js +0 -1
  236. package/dist/ListboxSeparator-BopRQPbS.js +0 -1
  237. package/dist/MenuButton-D0CruYlA.js +0 -1
  238. package/dist/MenuListbox-CPdQhBnR.js +0 -1
  239. package/dist/Paper-B_X9h3Sm.js +0 -1
  240. package/dist/PopoverContext-CiPaTvnH.js +0 -1
  241. package/dist/RadioGroupContext-BZyxP10j.js +0 -1
  242. package/dist/Separator-VRm4COdr.js +0 -1
  243. package/dist/SidenavContext-CJBQW_ds.js +0 -1
  244. package/dist/SidenavItem-awbKV4GO.js +0 -1
  245. package/dist/Spinner-CzcD5hdG.js +0 -1
  246. package/dist/Text-u1g_egG7.js +0 -1
  247. package/dist/ThemeProvider-DNTNx4cL.js +0 -13
  248. package/dist/Toast-C2kLznfq.js +0 -1
  249. package/dist/ToggleInputLabel-DshPXFrU.js +0 -1
  250. package/dist/TooltipContent-DNCdQ3WC.js +0 -1
  251. package/dist/TooltipContext-eH8CNqba.js +0 -1
  252. package/dist/Transition-D6ut9AZ-.js +0 -1
  253. package/dist/TransitionGroup-CVXKzLST.js +0 -1
  254. package/dist/components/Sidenav.js +0 -1
  255. package/dist/components/SidenavAccountItem.js +0 -1
  256. package/dist/components/SidenavBody.js +0 -1
  257. package/dist/components/SidenavFooter.js +0 -1
  258. package/dist/components/SidenavHeader.js +0 -1
  259. package/dist/components/SidenavItem.js +0 -1
  260. package/dist/components/SidenavToggle.js +0 -1
  261. package/dist/fallbackSpan-BZzK01IJ.js +0 -1
  262. package/dist/index-DHw7Mca8.js +0 -1
  263. package/dist/index-DNjKWBjH.js +0 -1
  264. package/dist/mapping-CUQ5oWV6.js +0 -1
  265. package/dist/recipeRuntime-DBkg4vUr.js +0 -1
  266. package/dist/useNestedDialogCount-DgAqEP_w.js +0 -1
@@ -1,4 +1,4 @@
1
- import{D as s,u as i,A,y as M}from"./register-UPPkNx4_.js";import{a as I}from"./index-e40XmntS.js";import{u,S as x}from"./index-B_YicyMI.js";import{c as v,T as w,O as L,C as $,W as F,a as G,D as W,b as D,R as Y,P as q}from"./index-BjvIOc3q.js";import{c as B}from"./index-CBrz5xtv.js";var m="AlertDialog",[H,ge]=I(m,[v]),l=v(),f=e=>{const{__scopeAlertDialog:o,...r}=e,a=l(o);return i(Y,{...a,...r,modal:!0})};f.displayName=m;var V="AlertDialogTrigger",y=s((e,o)=>{const{__scopeAlertDialog:r,...a}=e,t=l(r);return i(w,{...t,...a,ref:o})});y.displayName=V;var j="AlertDialogPortal",_=e=>{const{__scopeAlertDialog:o,...r}=e,a=l(o);return i(q,{...a,...r})};_.displayName=j;var k="AlertDialogOverlay",N=s((e,o)=>{const{__scopeAlertDialog:r,...a}=e,t=l(r);return i(L,{...t,...a,ref:o})});N.displayName=k;var n="AlertDialogContent",[z,J]=H(n),C=s((e,o)=>{const{__scopeAlertDialog:r,children:a,...t}=e,g=l(r),p=A(null),R=u(o,p),d=A(null);return i(F,{contentName:n,titleName:h,docsSlug:"alert-dialog",children:i(z,{scope:r,cancelRef:d,children:i($,{role:"alertdialog",...g,...t,ref:R,onOpenAutoFocus:B(t.onOpenAutoFocus,c=>{c.preventDefault(),d.current?.focus({preventScroll:!0})}),onPointerDownOutside:c=>c.preventDefault(),onInteractOutside:c=>c.preventDefault(),children:[i(x,{children:a}),i(Q,{contentRef:p})]})})})});C.displayName=n;var h="AlertDialogTitle",P=s((e,o)=>{const{__scopeAlertDialog:r,...a}=e,t=l(r);return i(G,{...t,...a,ref:o})});P.displayName=h;var S="AlertDialogDescription",E=s((e,o)=>{const{__scopeAlertDialog:r,...a}=e,t=l(r);return i(W,{...t,...a,ref:o})});E.displayName=S;var K="AlertDialogAction",T=s((e,o)=>{const{__scopeAlertDialog:r,...a}=e,t=l(r);return i(D,{...t,...a,ref:o})});T.displayName=K;var O="AlertDialogCancel",b=s((e,o)=>{const{__scopeAlertDialog:r,...a}=e,{cancelRef:t}=J(O,r),g=l(r),p=u(o,t);return i(D,{...g,...a,ref:p})});b.displayName=O;var Q=({contentRef:e})=>{const o=`\`${n}\` requires a description for the component to be accessible for screen reader users.
1
+ import{D as s,u as i,A,y as M}from"./register-q2a4hUWr.js";import{a as I}from"./index-yvefsybe.js";import{u,S as x}from"./index-DzgRZJb6.js";import{c as v,T as w,O as L,C as $,W as F,a as G,D as W,b as D,R as Y,P as q}from"./index-dNX4mZZZ.js";import{c as B}from"./index-CBrz5xtv.js";var m="AlertDialog",[H,ge]=I(m,[v]),l=v(),f=e=>{const{__scopeAlertDialog:o,...r}=e,a=l(o);return i(Y,{...a,...r,modal:!0})};f.displayName=m;var V="AlertDialogTrigger",y=s((e,o)=>{const{__scopeAlertDialog:r,...a}=e,t=l(r);return i(w,{...t,...a,ref:o})});y.displayName=V;var j="AlertDialogPortal",_=e=>{const{__scopeAlertDialog:o,...r}=e,a=l(o);return i(q,{...a,...r})};_.displayName=j;var k="AlertDialogOverlay",N=s((e,o)=>{const{__scopeAlertDialog:r,...a}=e,t=l(r);return i(L,{...t,...a,ref:o})});N.displayName=k;var n="AlertDialogContent",[z,J]=H(n),C=s((e,o)=>{const{__scopeAlertDialog:r,children:a,...t}=e,g=l(r),p=A(null),R=u(o,p),d=A(null);return i(F,{contentName:n,titleName:h,docsSlug:"alert-dialog",children:i(z,{scope:r,cancelRef:d,children:i($,{role:"alertdialog",...g,...t,ref:R,onOpenAutoFocus:B(t.onOpenAutoFocus,c=>{c.preventDefault(),d.current?.focus({preventScroll:!0})}),onPointerDownOutside:c=>c.preventDefault(),onInteractOutside:c=>c.preventDefault(),children:[i(x,{children:a}),i(Q,{contentRef:p})]})})})});C.displayName=n;var h="AlertDialogTitle",P=s((e,o)=>{const{__scopeAlertDialog:r,...a}=e,t=l(r);return i(G,{...t,...a,ref:o})});P.displayName=h;var S="AlertDialogDescription",E=s((e,o)=>{const{__scopeAlertDialog:r,...a}=e,t=l(r);return i(W,{...t,...a,ref:o})});E.displayName=S;var K="AlertDialogAction",T=s((e,o)=>{const{__scopeAlertDialog:r,...a}=e,t=l(r);return i(D,{...t,...a,ref:o})});T.displayName=K;var O="AlertDialogCancel",b=s((e,o)=>{const{__scopeAlertDialog:r,...a}=e,{cancelRef:t}=J(O,r),g=l(r),p=u(o,t);return i(D,{...g,...a,ref:p})});b.displayName=O;var Q=({contentRef:e})=>{const o=`\`${n}\` requires a description for the component to be accessible for screen reader users.
2
2
 
3
3
  You can add a description to the \`${n}\` by passing a \`${S}\` component as a child, which also benefits sighted users by adding visible context to the dialog.
4
4
 
@@ -1 +1 @@
1
- import{D as H,h as q,A as I,y as L,q as V,u as B}from"./register-UPPkNx4_.js";import{u as $}from"./index-B_YicyMI.js";import{P as j}from"./index-D3m2js6G.js";import{u as k}from"./index-BkS03YXF.js";var O="focusScope.autoFocusOnMount",C="focusScope.autoFocusOnUnmount",P={bubbles:!1,cancelable:!0},z="FocusScope",U=H((e,n)=>{const{loop:t=!1,trapped:o=!1,onMountAutoFocus:c,onUnmountAutoFocus:l,...F}=e,[r,T]=q(null),E=k(c),w=k(l),s=I(null),d=$(n,u=>T(u)),f=I({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;L(()=>{if(o){let u=function(m){if(f.paused||!r)return;const y=m.target;((h,N)=>h.getRootNode()instanceof ShadowRoot?h.getRootNode().host.contains(N):h.contains(N))(r,y)?s.current=m.target.shadowRoot?m.composedPath()[0]:m.target:v(s.current,{select:!0})},p=function(m){if(f.paused||!r)return;const y=m.relatedTarget;y!==null&&(((h,N)=>h.getRootNode()instanceof ShadowRoot?h.getRootNode().host.contains(N):h.contains(N))(r,y)||v(s.current,{select:!0}))},a=function(m){if((()=>{let h=document.activeElement;for(;h?.shadowRoot;)h=h.shadowRoot.activeElement;return h})()===document.body)for(const h of m)h.removedNodes.length>0&&v(r)};const i=r?.getRootNode()??document;i.addEventListener("focusin",u),i.addEventListener("focusout",p);const R=new MutationObserver(a);return r&&R.observe(r,{childList:!0,subtree:!0}),()=>{i.removeEventListener("focusin",u),i.removeEventListener("focusout",p),R.disconnect()}}},[o,r,f.paused]),L(()=>{if(r){W.add(f);const u=(()=>{let a=document.activeElement;for(;a?.shadowRoot;)a=a.shadowRoot.activeElement;return a})();if(!((a,i)=>a.getRootNode()instanceof ShadowRoot?a.getRootNode().host.contains(i):a.contains(i))(r,u)){const a=new CustomEvent(O,P);r.addEventListener(O,E),r.dispatchEvent(a),a.defaultPrevented||(G(Z(_(r)),{select:!0}),(()=>{let i=document.activeElement;for(;i?.shadowRoot;)i=i.shadowRoot.activeElement;return i})()===u&&v(r))}return()=>{r.removeEventListener(O,E),setTimeout(()=>{const a=new CustomEvent(C,P);r.addEventListener(C,w),r.dispatchEvent(a),a.defaultPrevented||v(u??document.body,{select:!0}),r.removeEventListener(C,w),W.remove(f)},0)}}},[r,E,w,f]);const S=V(u=>{if(!t&&!o||f.paused)return;const p=u.key==="Tab"&&!u.altKey&&!u.ctrlKey&&!u.metaKey,a=(()=>{let i=document.activeElement;for(;i?.shadowRoot;)i=i.shadowRoot.activeElement;return i})();if(p&&a){const i=u.currentTarget,[R,m]=J(i);R&&m?!u.shiftKey&&a===m?(u.preventDefault(),t&&v(R,{select:!0})):u.shiftKey&&a===R&&(u.preventDefault(),t&&v(m,{select:!0})):a===i&&u.preventDefault()}},[t,o,f.paused]);return B(j.div,{tabIndex:-1,...F,ref:d,onKeyDown:S})});U.displayName=z;function G(e,{select:n=!1}={}){const t=(()=>{let o=document.activeElement;for(;o?.shadowRoot;)o=o.shadowRoot.activeElement;return o})();for(const o of e)if(v(o,{select:n}),(()=>{let c=document.activeElement;for(;c?.shadowRoot;)c=c.shadowRoot.activeElement;return c})()!==t)return}function J(e){const n=_(e),t=K(n,e),o=K(n.reverse(),e);return[t,o]}function _(e){const n=[],t=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const c=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||c?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;t.nextNode();)n.push(t.currentNode);return n}function K(e,n){for(const t of e)if(!Q(t,{upTo:n}))return t}function Q(e,{upTo:n}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(n!==void 0&&e===n)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function X(e){return e instanceof HTMLInputElement&&"select"in e}function v(e,{select:n=!1}={}){if(e&&e.focus){const t=(()=>{let o=document.activeElement;for(;o?.shadowRoot;)o=o.shadowRoot.activeElement;return o})();e.focus({preventScroll:!0}),e!==t&&X(e)&&n&&e.select()}}var W=Y();function Y(){let e=[];return{add(n){const t=e[0];n!==t&&t?.pause(),e=D(e,n),e.unshift(n)},remove(n){e=D(e,n),e[0]?.resume()}}}function D(e,n){const t=[...e],o=t.indexOf(n);return o!==-1&&t.splice(o,1),t}function Z(e){return e.filter(n=>n.tagName!=="A")}var ee=function(e){if(typeof document>"u")return null;var n=Array.isArray(e)?e[0]:e;return n.ownerDocument.body},b=new WeakMap,g=new WeakMap,A={},M=0,x=function(e){return e&&(e.host||x(e.parentNode))},te=function(e,n){return n.map(function(t){if(((c,l)=>{for(;l.getRootNode()instanceof ShadowRoot;)l=l.getRootNode().host;return c.contains(l)})(e,t))return t;var o=x(t);return o&&((c,l)=>{for(;l.getRootNode()instanceof ShadowRoot;)l=l.getRootNode().host;return c.contains(l)})(e,o)?o:(console.error("aria-hidden",t,"in not contained inside",e,". Doing nothing"),null)}).filter(function(t){return Boolean(t)})},oe=function(e,n,t,o){var c=te(n,Array.isArray(e)?e:[e]);A[t]||(A[t]=new WeakMap);var l=A[t],F=[],r=new Set,T=new Set(c),E=function(s){if(!(!s||r.has(s))){if(r.add(s),s.parentNode instanceof ShadowRoot)for(const d of s.parentNode.querySelectorAll("slot"))for(const f of d.assignedElements())r.add(f);E(s.parentNode instanceof ShadowRoot?s.parentNode.host:s.parentNode)}};c.forEach(E);var w=function(s){!s||T.has(s)||Array.prototype.forEach.call(s.children,function(d){if(r.has(d))w(d);else try{var f=d.getAttribute(o),S=f!==null&&f!=="false",u=(b.get(d)||0)+1,p=(l.get(d)||0)+1;b.set(d,u),l.set(d,p),F.push(d),u===1&&S&&g.set(d,!0),p===1&&d.setAttribute(t,"true"),S||d.setAttribute(o,"true")}catch(a){console.error("aria-hidden: cannot operate on ",d,a)}})};return w(n),r.clear(),M++,function(){F.forEach(function(s){var d=b.get(s)-1,f=l.get(s)-1;b.set(s,d),l.set(s,f),d||(g.has(s)||s.removeAttribute(o),g.delete(s)),f||s.removeAttribute(t)}),M--,M||(b=new WeakMap,b=new WeakMap,g=new WeakMap,A={})}},ne=function(e,n,t){t===void 0&&(t="data-aria-hidden");var o=Array.from(Array.isArray(e)?e:[e]),c=n||ee(e);return c?(o.push.apply(o,Array.from(c.querySelectorAll("[aria-live]"))),oe(o,c,t,"aria-hidden")):function(){return null}};export{U as F,ne as h};
1
+ import{D as H,h as q,A as I,y as L,q as V,u as B}from"./register-q2a4hUWr.js";import{u as $}from"./index-DzgRZJb6.js";import{P as j}from"./index-BcreLqeQ.js";import{u as k}from"./index-CHknjjXQ.js";var O="focusScope.autoFocusOnMount",C="focusScope.autoFocusOnUnmount",P={bubbles:!1,cancelable:!0},z="FocusScope",U=H((e,n)=>{const{loop:t=!1,trapped:o=!1,onMountAutoFocus:c,onUnmountAutoFocus:l,...F}=e,[r,T]=q(null),E=k(c),w=k(l),s=I(null),d=$(n,u=>T(u)),f=I({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;L(()=>{if(o){let u=function(m){if(f.paused||!r)return;const y=m.target;((h,N)=>h.getRootNode()instanceof ShadowRoot?h.getRootNode().host.contains(N):h.contains(N))(r,y)?s.current=m.target.shadowRoot?m.composedPath()[0]:m.target:v(s.current,{select:!0})},p=function(m){if(f.paused||!r)return;const y=m.relatedTarget;y!==null&&(((h,N)=>h.getRootNode()instanceof ShadowRoot?h.getRootNode().host.contains(N):h.contains(N))(r,y)||v(s.current,{select:!0}))},a=function(m){if((()=>{let h=document.activeElement;for(;h?.shadowRoot;)h=h.shadowRoot.activeElement;return h})()===document.body)for(const h of m)h.removedNodes.length>0&&v(r)};const i=r?.getRootNode()??document;i.addEventListener("focusin",u),i.addEventListener("focusout",p);const R=new MutationObserver(a);return r&&R.observe(r,{childList:!0,subtree:!0}),()=>{i.removeEventListener("focusin",u),i.removeEventListener("focusout",p),R.disconnect()}}},[o,r,f.paused]),L(()=>{if(r){W.add(f);const u=(()=>{let a=document.activeElement;for(;a?.shadowRoot;)a=a.shadowRoot.activeElement;return a})();if(!((a,i)=>a.getRootNode()instanceof ShadowRoot?a.getRootNode().host.contains(i):a.contains(i))(r,u)){const a=new CustomEvent(O,P);r.addEventListener(O,E),r.dispatchEvent(a),a.defaultPrevented||(G(Z(_(r)),{select:!0}),(()=>{let i=document.activeElement;for(;i?.shadowRoot;)i=i.shadowRoot.activeElement;return i})()===u&&v(r))}return()=>{r.removeEventListener(O,E),setTimeout(()=>{const a=new CustomEvent(C,P);r.addEventListener(C,w),r.dispatchEvent(a),a.defaultPrevented||v(u??document.body,{select:!0}),r.removeEventListener(C,w),W.remove(f)},0)}}},[r,E,w,f]);const S=V(u=>{if(!t&&!o||f.paused)return;const p=u.key==="Tab"&&!u.altKey&&!u.ctrlKey&&!u.metaKey,a=(()=>{let i=document.activeElement;for(;i?.shadowRoot;)i=i.shadowRoot.activeElement;return i})();if(p&&a){const i=u.currentTarget,[R,m]=J(i);R&&m?!u.shiftKey&&a===m?(u.preventDefault(),t&&v(R,{select:!0})):u.shiftKey&&a===R&&(u.preventDefault(),t&&v(m,{select:!0})):a===i&&u.preventDefault()}},[t,o,f.paused]);return B(j.div,{tabIndex:-1,...F,ref:d,onKeyDown:S})});U.displayName=z;function G(e,{select:n=!1}={}){const t=(()=>{let o=document.activeElement;for(;o?.shadowRoot;)o=o.shadowRoot.activeElement;return o})();for(const o of e)if(v(o,{select:n}),(()=>{let c=document.activeElement;for(;c?.shadowRoot;)c=c.shadowRoot.activeElement;return c})()!==t)return}function J(e){const n=_(e),t=K(n,e),o=K(n.reverse(),e);return[t,o]}function _(e){const n=[],t=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const c=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||c?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;t.nextNode();)n.push(t.currentNode);return n}function K(e,n){for(const t of e)if(!Q(t,{upTo:n}))return t}function Q(e,{upTo:n}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(n!==void 0&&e===n)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function X(e){return e instanceof HTMLInputElement&&"select"in e}function v(e,{select:n=!1}={}){if(e&&e.focus){const t=(()=>{let o=document.activeElement;for(;o?.shadowRoot;)o=o.shadowRoot.activeElement;return o})();e.focus({preventScroll:!0}),e!==t&&X(e)&&n&&e.select()}}var W=Y();function Y(){let e=[];return{add(n){const t=e[0];n!==t&&t?.pause(),e=D(e,n),e.unshift(n)},remove(n){e=D(e,n),e[0]?.resume()}}}function D(e,n){const t=[...e],o=t.indexOf(n);return o!==-1&&t.splice(o,1),t}function Z(e){return e.filter(n=>n.tagName!=="A")}var ee=function(e){if(typeof document>"u")return null;var n=Array.isArray(e)?e[0]:e;return n.ownerDocument.body},b=new WeakMap,g=new WeakMap,A={},M=0,x=function(e){return e&&(e.host||x(e.parentNode))},te=function(e,n){return n.map(function(t){if(((c,l)=>{for(;l.getRootNode()instanceof ShadowRoot;)l=l.getRootNode().host;return c.contains(l)})(e,t))return t;var o=x(t);return o&&((c,l)=>{for(;l.getRootNode()instanceof ShadowRoot;)l=l.getRootNode().host;return c.contains(l)})(e,o)?o:(console.error("aria-hidden",t,"in not contained inside",e,". Doing nothing"),null)}).filter(function(t){return Boolean(t)})},oe=function(e,n,t,o){var c=te(n,Array.isArray(e)?e:[e]);A[t]||(A[t]=new WeakMap);var l=A[t],F=[],r=new Set,T=new Set(c),E=function(s){if(!(!s||r.has(s))){if(r.add(s),s.parentNode instanceof ShadowRoot)for(const d of s.parentNode.querySelectorAll("slot"))for(const f of d.assignedElements())r.add(f);E(s.parentNode instanceof ShadowRoot?s.parentNode.host:s.parentNode)}};c.forEach(E);var w=function(s){!s||T.has(s)||Array.prototype.forEach.call(s.children,function(d){if(r.has(d))w(d);else try{var f=d.getAttribute(o),S=f!==null&&f!=="false",u=(b.get(d)||0)+1,p=(l.get(d)||0)+1;b.set(d,u),l.set(d,p),F.push(d),u===1&&S&&g.set(d,!0),p===1&&d.setAttribute(t,"true"),S||d.setAttribute(o,"true")}catch(a){console.error("aria-hidden: cannot operate on ",d,a)}})};return w(n),r.clear(),M++,function(){F.forEach(function(s){var d=b.get(s)-1,f=l.get(s)-1;b.set(s,d),l.set(s,f),d||(g.has(s)||s.removeAttribute(o),g.delete(s)),f||s.removeAttribute(t)}),M--,M||(b=new WeakMap,b=new WeakMap,g=new WeakMap,A={})}},ne=function(e,n,t){t===void 0&&(t="data-aria-hidden");var o=Array.from(Array.isArray(e)?e:[e]),c=n||ee(e);return c?(o.push.apply(o,Array.from(c.querySelectorAll("[aria-live]"))),oe(o,c,t,"aria-hidden")):function(){return null}};export{U as F,ne as h};
@@ -1 +1 @@
1
- import{h as Y,q as yt,A as J,E as ve,T as lt,_ as Pe,y as Wt,D as ft,u as j}from"./register-UPPkNx4_.js";import{P as bt}from"./index-D3m2js6G.js";import{u as zt}from"./index-B_YicyMI.js";import{a as Oe}from"./index-e40XmntS.js";import{u as Re}from"./index-BkS03YXF.js";import{u as At}from"./index-DNjKWBjH.js";const Ce=["top","right","bottom","left"],U=Math.min,N=Math.max,at=Math.round,ut=Math.floor,B=t=>({x:t,y:t}),Se={left:"right",right:"left",bottom:"top",top:"bottom"},Ee={start:"end",end:"start"};function vt(t,e,n){return N(t,U(e,n))}function X(t,e){return typeof t=="function"?t(e):t}function q(t){return t.split("-")[0]}function Q(t){return t.split("-")[1]}function Pt(t){return t==="x"?"y":"x"}function Ot(t){return t==="y"?"height":"width"}function Z(t){return["top","bottom"].includes(q(t))?"y":"x"}function Rt(t){return Pt(Z(t))}function De(t,e,n){n===void 0&&(n=!1);const o=Q(t),i=Rt(t),r=Ot(i);let s=i==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[r]>e.floating[r]&&(s=dt(s)),[s,dt(s)]}function Te(t){const e=dt(t);return[Ct(t),e,Ct(e)]}function Ct(t){return t.replace(/start|end/g,e=>Ee[e])}function Le(t,e,n){const o=["left","right"],i=["right","left"],r=["top","bottom"],s=["bottom","top"];switch(t){case"top":case"bottom":return n?e?i:o:e?o:i;case"left":case"right":return e?r:s;default:return[]}}function Me(t,e,n,o){const i=Q(t);let r=Le(q(t),n==="start",o);return i&&(r=r.map(s=>s+"-"+i),e&&(r=r.concat(r.map(Ct)))),r}function dt(t){return t.replace(/left|right|bottom|top/g,e=>Se[e])}function $e(t){return{top:0,right:0,bottom:0,left:0,...t}}function _t(t){return typeof t!="number"?$e(t):{top:t,right:t,bottom:t,left:t}}function pt(t){const{x:e,y:n,width:o,height:i}=t;return{width:o,height:i,top:n,left:e,right:e+o,bottom:n+i,x:e,y:n}}function Bt(t,e,n){let{reference:o,floating:i}=t;const r=Z(e),s=Rt(e),c=Ot(s),l=q(e),f=r==="y",a=o.x+o.width/2-i.width/2,u=o.y+o.height/2-i.height/2,h=o[c]/2-i[c]/2;let d;switch(l){case"top":d={x:a,y:o.y-i.height};break;case"bottom":d={x:a,y:o.y+o.height};break;case"right":d={x:o.x+o.width,y:u};break;case"left":d={x:o.x-i.width,y:u};break;default:d={x:o.x,y:o.y}}switch(Q(e)){case"start":d[s]-=h*(n&&f?-1:1);break;case"end":d[s]+=h*(n&&f?-1:1);break}return d}const ke=async(t,e,n)=>{const{placement:o="bottom",strategy:i="absolute",middleware:r=[],platform:s}=n,c=r.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(e));let f=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:a,y:u}=Bt(f,o,l),h=o,d={},p=0;for(let m=0;m<c.length;m++){const{name:w,fn:g}=c[m],{x,y:A,data:y,reset:b}=await g({x:a,y:u,initialPlacement:o,placement:h,strategy:i,middlewareData:d,rects:f,platform:s,elements:{reference:t,floating:e}});a=x??a,u=A??u,d={...d,[w]:{...d[w],...y}},b&&p<=50&&(p++,typeof b=="object"&&(b.placement&&(h=b.placement),b.rects&&(f=b.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):b.rects),{x:a,y:u}=Bt(f,h,l)),m=-1)}return{x:a,y:u,placement:h,strategy:i,middlewareData:d}};async function it(t,e){var n;e===void 0&&(e={});const{x:o,y:i,platform:r,rects:s,elements:c,strategy:l}=t,{boundary:f="clippingAncestors",rootBoundary:a="viewport",elementContext:u="floating",altBoundary:h=!1,padding:d=0}=X(e,t),p=_t(d),w=c[h?u==="floating"?"reference":"floating":u],g=pt(await r.getClippingRect({element:(n=await(r.isElement==null?void 0:r.isElement(w)))==null||n?w:w.contextElement||await(r.getDocumentElement==null?void 0:r.getDocumentElement(c.floating)),boundary:f,rootBoundary:a,strategy:l})),x=u==="floating"?{x:o,y:i,width:s.floating.width,height:s.floating.height}:s.reference,A=await(r.getOffsetParent==null?void 0:r.getOffsetParent(c.floating)),y=await(r.isElement==null?void 0:r.isElement(A))?await(r.getScale==null?void 0:r.getScale(A))||{x:1,y:1}:{x:1,y:1},b=pt(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:x,offsetParent:A,strategy:l}):x);return{top:(g.top-b.top+p.top)/y.y,bottom:(b.bottom-g.bottom+p.bottom)/y.y,left:(g.left-b.left+p.left)/y.x,right:(b.right-g.right+p.right)/y.x}}const Ne=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:o,placement:i,rects:r,platform:s,elements:c,middlewareData:l}=e,{element:f,padding:a=0}=X(t,e)||{};if(f==null)return{};const u=_t(a),h={x:n,y:o},d=Rt(i),p=Ot(d),m=await s.getDimensions(f),w=d==="y",g=w?"top":"left",x=w?"bottom":"right",A=w?"clientHeight":"clientWidth",y=r.reference[p]+r.reference[d]-h[d]-r.floating[p],b=h[d]-r.reference[d],P=await(s.getOffsetParent==null?void 0:s.getOffsetParent(f));let R=P?P[A]:0;(!R||!await(s.isElement==null?void 0:s.isElement(P)))&&(R=c.floating[A]||r.floating[p]);const D=y/2-b/2,k=R/2-m[p]/2-1,T=U(u[g],k),M=U(u[x],k),$=T,C=R-m[p]-M,O=R/2-m[p]/2+D,H=vt($,O,C),S=!l.arrow&&Q(i)!=null&&O!==H&&r.reference[p]/2-(O<$?T:M)-m[p]/2<0,E=S?O<$?O-$:O-C:0;return{[d]:h[d]+E,data:{[d]:H,centerOffset:O-H-E,...S&&{alignmentOffset:E}},reset:S}}}),Fe=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,o;const{placement:i,middlewareData:r,rects:s,initialPlacement:c,platform:l,elements:f}=e,{mainAxis:a=!0,crossAxis:u=!0,fallbackPlacements:h,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:m=!0,...w}=X(t,e);if((n=r.arrow)!=null&&n.alignmentOffset)return{};const g=q(i),x=Z(c),A=q(c)===c,y=await(l.isRTL==null?void 0:l.isRTL(f.floating)),b=h||(A||!m?[dt(c)]:Te(c)),P=p!=="none";!h&&P&&b.push(...Me(c,m,p,y));const R=[c,...b],D=await it(e,w),k=[];let T=((o=r.flip)==null?void 0:o.overflows)||[];if(a&&k.push(D[g]),u){const O=De(i,s,y);k.push(D[O[0]],D[O[1]])}if(T=[...T,{placement:i,overflows:k}],!k.every(O=>O<=0)){var M,$;const O=(((M=r.flip)==null?void 0:M.index)||0)+1,H=R[O];if(H)return{data:{index:O,overflows:T},reset:{placement:H}};let S=($=T.filter(E=>E.overflows[0]<=0).sort((E,v)=>E.overflows[1]-v.overflows[1])[0])==null?void 0:$.placement;if(!S)switch(d){case"bestFit":{var C;const E=(C=T.filter(v=>{if(P){const L=Z(v.placement);return L===x||L==="y"}return!0}).map(v=>[v.placement,v.overflows.filter(L=>L>0).reduce((L,_)=>L+_,0)]).sort((v,L)=>v[1]-L[1])[0])==null?void 0:C[0];E&&(S=E);break}case"initialPlacement":S=c;break}if(i!==S)return{reset:{placement:S}}}return{}}}};function Vt(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function It(t){return Ce.some(e=>t[e]>=0)}const He=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(e){const{rects:n}=e,{strategy:o="referenceHidden",...i}=X(t,e);switch(o){case"referenceHidden":{const r=await it(e,{...i,elementContext:"reference"}),s=Vt(r,n.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:It(s)}}}case"escaped":{const r=await it(e,{...i,altBoundary:!0}),s=Vt(r,n.floating);return{data:{escapedOffsets:s,escaped:It(s)}}}default:return{}}}}};async function We(t,e){const{placement:n,platform:o,elements:i}=t,r=await(o.isRTL==null?void 0:o.isRTL(i.floating)),s=q(n),c=Q(n),l=Z(n)==="y",f=["left","top"].includes(s)?-1:1,a=r&&l?-1:1,u=X(e,t);let{mainAxis:h,crossAxis:d,alignmentAxis:p}=typeof u=="number"?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return c&&typeof p=="number"&&(d=c==="end"?p*-1:p),l?{x:d*a,y:h*f}:{x:h*f,y:d*a}}const ze=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,o;const{x:i,y:r,placement:s,middlewareData:c}=e,l=await We(e,t);return s===((n=c.offset)==null?void 0:n.placement)&&(o=c.arrow)!=null&&o.alignmentOffset?{}:{x:i+l.x,y:r+l.y,data:{...l,placement:s}}}}},_e=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:o,placement:i}=e,{mainAxis:r=!0,crossAxis:s=!1,limiter:c={fn:w=>{let{x:g,y:x}=w;return{x:g,y:x}}},...l}=X(t,e),f={x:n,y:o},a=await it(e,l),u=Z(q(i)),h=Pt(u);let d=f[h],p=f[u];if(r){const w=h==="y"?"top":"left",g=h==="y"?"bottom":"right",x=d+a[w],A=d-a[g];d=vt(x,d,A)}if(s){const w=u==="y"?"top":"left",g=u==="y"?"bottom":"right",x=p+a[w],A=p-a[g];p=vt(x,p,A)}const m=c.fn({...e,[h]:d,[u]:p});return{...m,data:{x:m.x-n,y:m.y-o,enabled:{[h]:r,[u]:s}}}}}},Be=function(t){return t===void 0&&(t={}),{options:t,fn(e){const{x:n,y:o,placement:i,rects:r,middlewareData:s}=e,{offset:c=0,mainAxis:l=!0,crossAxis:f=!0}=X(t,e),a={x:n,y:o},u=Z(i),h=Pt(u);let d=a[h],p=a[u];const m=X(c,e),w=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(l){const A=h==="y"?"height":"width",y=r.reference[h]-r.floating[A]+w.mainAxis,b=r.reference[h]+r.reference[A]-w.mainAxis;d<y?d=y:d>b&&(d=b)}if(f){var g,x;const A=h==="y"?"width":"height",y=["top","left"].includes(q(i)),b=r.reference[u]-r.floating[A]+(y&&((g=s.offset)==null?void 0:g[u])||0)+(y?0:w.crossAxis),P=r.reference[u]+r.reference[A]+(y?0:((x=s.offset)==null?void 0:x[u])||0)-(y?w.crossAxis:0);p<b?p=b:p>P&&(p=P)}return{[h]:d,[u]:p}}}},Ve=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var n,o;const{placement:i,rects:r,platform:s,elements:c}=e,{apply:l=()=>{},...f}=X(t,e),a=await it(e,f),u=q(i),h=Q(i),d=Z(i)==="y",{width:p,height:m}=r.floating;let w,g;u==="top"||u==="bottom"?(w=u,g=h===(await(s.isRTL==null?void 0:s.isRTL(c.floating))?"start":"end")?"left":"right"):(g=u,w=h==="end"?"top":"bottom");const x=m-a.top-a.bottom,A=p-a.left-a.right,y=U(m-a[w],x),b=U(p-a[g],A),P=!e.middlewareData.shift;let R=y,D=b;if((n=e.middlewareData.shift)!=null&&n.enabled.x&&(D=A),(o=e.middlewareData.shift)!=null&&o.enabled.y&&(R=x),P&&!h){const T=N(a.left,0),M=N(a.right,0),$=N(a.top,0),C=N(a.bottom,0);d?D=p-2*(T!==0||M!==0?T+M:N(a.left,a.right)):R=m-2*($!==0||C!==0?$+C:N(a.top,a.bottom))}await l({...e,availableWidth:D,availableHeight:R});const k=await s.getDimensions(c.floating);return p!==k.width||m!==k.height?{reset:{rects:!0}}:{}}}};function ht(){return typeof window<"u"}function tt(t){return Yt(t)?(t.nodeName||"").toLowerCase():"#document"}function F(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function V(t){var e;return(e=(Yt(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Yt(t){return ht()?t instanceof Node||t instanceof F(t).Node:!1}function W(t){return ht()?t instanceof Element||t instanceof F(t).Element:!1}function I(t){return ht()?t instanceof HTMLElement||t instanceof F(t).HTMLElement:!1}function jt(t){return!ht()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof F(t).ShadowRoot}function rt(t){const{overflow:e,overflowX:n,overflowY:o,display:i}=z(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!["inline","contents"].includes(i)}function Ie(t){return["table","td","th"].includes(tt(t))}function mt(t){return[":popover-open",":modal"].some(e=>{try{return t.matches(e)}catch{return!1}})}function St(t){const e=Et(),n=W(t)?z(t):t;return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(o=>(n.willChange||"").includes(o))||["paint","layout","strict","content"].some(o=>(n.contain||"").includes(o))}function Ye(t){let e=K(t);for(;I(e)&&!et(e);){if(St(e))return e;if(mt(e))return null;e=K(e)}return null}function Et(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function et(t){return["html","body","#document"].includes(tt(t))}function z(t){return F(t).getComputedStyle(t)}function gt(t){return W(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function K(t){if(tt(t)==="html")return t;const e=t.assignedSlot||t.parentNode||jt(t)&&t.host||V(t);return jt(e)?e.host:e}function Xt(t){const e=K(t);return et(e)?t.ownerDocument?t.ownerDocument.body:t.body:I(e)&&rt(e)?e:Xt(e)}function st(t,e,n){var o;e===void 0&&(e=[]),n===void 0&&(n=!0);const i=Xt(t),r=i===((o=t.ownerDocument)==null?void 0:o.body),s=F(i);if(r){const c=Dt(s);return e.concat(s,s.visualViewport||[],rt(i)?i:[],c&&n?st(c):[])}return e.concat(i,st(i,[],n))}function Dt(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function qt(t){const e=z(t);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const i=I(t),r=i?t.offsetWidth:n,s=i?t.offsetHeight:o,c=at(n)!==r||at(o)!==s;return c&&(n=r,o=s),{width:n,height:o,$:c}}function Tt(t){return W(t)?t:t.contextElement}function nt(t){const e=Tt(t);if(!I(e))return B(1);const n=e.getBoundingClientRect(),{width:o,height:i,$:r}=qt(e);let s=(r?at(n.width):n.width)/o,c=(r?at(n.height):n.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}const je=B(0);function Ut(t){const e=F(t);return!Et()||!e.visualViewport?je:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Xe(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==F(t)?!1:e}function G(t,e,n,o){e===void 0&&(e=!1),n===void 0&&(n=!1);const i=t.getBoundingClientRect(),r=Tt(t);let s=B(1);e&&(o?W(o)&&(s=nt(o)):s=nt(t));const c=Xe(r,n,o)?Ut(r):B(0);let l=(i.left+c.x)/s.x,f=(i.top+c.y)/s.y,a=i.width/s.x,u=i.height/s.y;if(r){const h=F(r),d=o&&W(o)?F(o):o;let p=h,m=Dt(p);for(;m&&o&&d!==p;){const w=nt(m),g=m.getBoundingClientRect(),x=z(m),A=g.left+(m.clientLeft+parseFloat(x.paddingLeft))*w.x,y=g.top+(m.clientTop+parseFloat(x.paddingTop))*w.y;l*=w.x,f*=w.y,a*=w.x,u*=w.y,l+=A,f+=y,p=F(m),m=Dt(p)}}return pt({width:a,height:u,x:l,y:f})}function Lt(t,e){const n=gt(t).scrollLeft;return e?e.left+n:G(V(t)).left+n}function Zt(t,e,n){n===void 0&&(n=!1);const o=t.getBoundingClientRect(),i=o.left+e.scrollLeft-(n?0:Lt(t,o)),r=o.top+e.scrollTop;return{x:i,y:r}}function qe(t){let{elements:e,rect:n,offsetParent:o,strategy:i}=t;const r=i==="fixed",s=V(o),c=e?mt(e.floating):!1;if(o===s||c&&r)return n;let l={scrollLeft:0,scrollTop:0},f=B(1);const a=B(0),u=I(o);if((u||!u&&!r)&&((tt(o)!=="body"||rt(s))&&(l=gt(o)),I(o))){const d=G(o);f=nt(o),a.x=d.x+o.clientLeft,a.y=d.y+o.clientTop}const h=s&&!u&&!r?Zt(s,l,!0):B(0);return{width:n.width*f.x,height:n.height*f.y,x:n.x*f.x-l.scrollLeft*f.x+a.x+h.x,y:n.y*f.y-l.scrollTop*f.y+a.y+h.y}}function Ue(t){return Array.from(t.getClientRects())}function Ze(t){const e=V(t),n=gt(t),o=t.ownerDocument.body,i=N(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),r=N(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let s=-n.scrollLeft+Lt(t);const c=-n.scrollTop;return z(o).direction==="rtl"&&(s+=N(e.clientWidth,o.clientWidth)-i),{width:i,height:r,x:s,y:c}}function Ke(t,e){const n=F(t),o=V(t),i=n.visualViewport;let r=o.clientWidth,s=o.clientHeight,c=0,l=0;if(i){r=i.width,s=i.height;const f=Et();(!f||f&&e==="fixed")&&(c=i.offsetLeft,l=i.offsetTop)}return{width:r,height:s,x:c,y:l}}function Ge(t,e){const n=G(t,!0,e==="fixed"),o=n.top+t.clientTop,i=n.left+t.clientLeft,r=I(t)?nt(t):B(1),s=t.clientWidth*r.x,c=t.clientHeight*r.y,l=i*r.x,f=o*r.y;return{width:s,height:c,x:l,y:f}}function Kt(t,e,n){let o;if(e==="viewport")o=Ke(t,n);else if(e==="document")o=Ze(V(t));else if(W(e))o=Ge(e,n);else{const i=Ut(t);o={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return pt(o)}function Gt(t,e){const n=K(t);return n===e||!W(n)||et(n)?!1:z(n).position==="fixed"||Gt(n,e)}function Je(t,e){const n=e.get(t);if(n)return n;let o=st(t,[],!1).filter(c=>W(c)&&tt(c)!=="body"),i=null;const r=z(t).position==="fixed";let s=r?K(t):t;for(;W(s)&&!et(s);){const c=z(s),l=St(s);!l&&c.position==="fixed"&&(i=null),(r?!l&&!i:!l&&c.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||rt(s)&&!l&&Gt(t,s))?o=o.filter(a=>a!==s):i=c,s=K(s)}return e.set(t,o),o}function Qe(t){let{element:e,boundary:n,rootBoundary:o,strategy:i}=t;const s=[...n==="clippingAncestors"?mt(e)?[]:Je(e,this._c):[].concat(n),o],c=s[0],l=s.reduce((f,a)=>{const u=Kt(e,a,i);return f.top=N(u.top,f.top),f.right=U(u.right,f.right),f.bottom=U(u.bottom,f.bottom),f.left=N(u.left,f.left),f},Kt(e,c,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function tn(t){const{width:e,height:n}=qt(t);return{width:e,height:n}}function en(t,e,n){const o=I(e),i=V(e),r=n==="fixed",s=G(t,!0,r,e);let c={scrollLeft:0,scrollTop:0};const l=B(0);if(o||!o&&!r)if((tt(e)!=="body"||rt(i))&&(c=gt(e)),o){const h=G(e,!0,r,e);l.x=h.x+e.clientLeft,l.y=h.y+e.clientTop}else i&&(l.x=Lt(i));const f=i&&!o&&!r?Zt(i,c):B(0),a=s.left+c.scrollLeft-l.x-f.x,u=s.top+c.scrollTop-l.y-f.y;return{x:a,y:u,width:s.width,height:s.height}}function Mt(t){return z(t).position==="static"}function Jt(t,e){if(!I(t)||z(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return V(t)===n&&(n=n.ownerDocument.body),n}function Qt(t,e){const n=F(t);if(mt(t))return n;if(!I(t)){let i=K(t);for(;i&&!et(i);){if(W(i)&&!Mt(i))return i;i=K(i)}return n}let o=Jt(t,e);for(;o&&Ie(o)&&Mt(o);)o=Jt(o,e);return o&&et(o)&&Mt(o)&&!St(o)?n:o||Ye(t)||n}const nn=async function(t){const e=this.getOffsetParent||Qt,n=this.getDimensions,o=await n(t.floating);return{reference:en(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function on(t){return z(t).direction==="rtl"}const rn={convertOffsetParentRelativeRectToViewportRelativeRect:qe,getDocumentElement:V,getClippingRect:Qe,getOffsetParent:Qt,getElementRects:nn,getClientRects:Ue,getDimensions:tn,getScale:nt,isElement:W,isRTL:on};function sn(t,e){let n=null,o;const i=V(t);function r(){var c;clearTimeout(o),(c=n)==null||c.disconnect(),n=null}function s(c,l){c===void 0&&(c=!1),l===void 0&&(l=1),r();const{left:f,top:a,width:u,height:h}=t.getBoundingClientRect();if(c||e(),!u||!h)return;const d=ut(a),p=ut(i.clientWidth-(f+u)),m=ut(i.clientHeight-(a+h)),w=ut(f),x={rootMargin:-d+"px "+-p+"px "+-m+"px "+-w+"px",threshold:N(0,U(1,l))||1};let A=!0;function y(b){const P=b[0].intersectionRatio;if(P!==l){if(!A)return s();P?s(!1,P):o=setTimeout(()=>{s(!1,1e-7)},1e3)}A=!1}try{n=new IntersectionObserver(y,{...x,root:i.ownerDocument})}catch{n=new IntersectionObserver(y,x)}n.observe(t)}return s(!0),r}function cn(t,e,n,o){o===void 0&&(o={});const{ancestorScroll:i=!0,ancestorResize:r=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:l=!1}=o,f=Tt(t),a=i||r?[...f?st(f):[],...st(e)]:[];a.forEach(g=>{i&&g.addEventListener("scroll",n,{passive:!0}),r&&g.addEventListener("resize",n)});const u=f&&c?sn(f,n):null;let h=-1,d=null;s&&(d=new ResizeObserver(g=>{let[x]=g;x&&x.target===f&&d&&(d.unobserve(e),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var A;(A=d)==null||A.observe(e)})),n()}),f&&!l&&d.observe(f),d.observe(e));let p,m=l?G(t):null;l&&w();function w(){const g=G(t);m&&(g.x!==m.x||g.y!==m.y||g.width!==m.width||g.height!==m.height)&&n(),m=g,p=requestAnimationFrame(w)}return n(),()=>{var g;a.forEach(x=>{i&&x.removeEventListener("scroll",n),r&&x.removeEventListener("resize",n)}),u?.(),(g=d)==null||g.disconnect(),d=null,l&&cancelAnimationFrame(p)}}const ln=ze,fn=_e,an=Fe,un=Ve,dn=He,te=Ne,pn=Be,hn=(t,e,n)=>{const o=new Map,i={platform:rn,...n},r={...i.platform,_c:o};return ke(t,e,{...i,platform:r})};var wt=typeof document<"u"?Pe:Wt;function xt(t,e){if(t===e)return!0;if(typeof t!=typeof e)return!1;if(typeof t=="function"&&t.toString()===e.toString())return!0;let n,o,i;if(t&&e&&typeof t=="object"){if(Array.isArray(t)){if(n=t.length,n!==e.length)return!1;for(o=n;o--!==0;)if(!xt(t[o],e[o]))return!1;return!0}if(i=Object.keys(t),n=i.length,n!==Object.keys(e).length)return!1;for(o=n;o--!==0;)if(!{}.hasOwnProperty.call(e,i[o]))return!1;for(o=n;o--!==0;){const r=i[o];if(!(r==="_owner"&&t.$$typeof)&&!xt(t[r],e[r]))return!1}return!0}return t!==t&&e!==e}function ee(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function ne(t,e){const n=ee(t);return Math.round(e*n)/n}function $t(t){const e=J(t);return wt(()=>{e.current=t}),e}function mn(t){t===void 0&&(t={});const{placement:e="bottom",strategy:n="absolute",middleware:o=[],platform:i,elements:{reference:r,floating:s}={},transform:c=!0,whileElementsMounted:l,open:f}=t,[a,u]=Y({x:0,y:0,strategy:n,placement:e,middlewareData:{},isPositioned:!1}),[h,d]=Y(o);xt(h,o)||d(o);const[p,m]=Y(null),[w,g]=Y(null),x=yt(v=>{v!==P.current&&(P.current=v,m(v))},[]),A=yt(v=>{v!==R.current&&(R.current=v,g(v))},[]),y=r||p,b=s||w,P=J(null),R=J(null),D=J(a),k=l!=null,T=$t(l),M=$t(i),$=$t(f),C=yt(()=>{if(!P.current||!R.current)return;const v={placement:e,strategy:n,middleware:h};M.current&&(v.platform=M.current),hn(P.current,R.current,v).then(L=>{const _={...L,isPositioned:$.current!==!1};O.current&&!xt(D.current,_)&&(D.current=_,ve(()=>{u(_)}))})},[h,e,n,M,$]);wt(()=>{f===!1&&D.current.isPositioned&&(D.current.isPositioned=!1,u(v=>({...v,isPositioned:!1})))},[f]);const O=J(!1);wt(()=>(O.current=!0,()=>{O.current=!1}),[]),wt(()=>{if(y&&(P.current=y),b&&(R.current=b),y&&b){if(T.current)return T.current(y,b,C);C()}},[y,b,C,T,k]);const H=lt(()=>({reference:P,floating:R,setReference:x,setFloating:A}),[x,A]),S=lt(()=>({reference:y,floating:b}),[y,b]),E=lt(()=>{const v={position:n,left:0,top:0};if(!S.floating)return v;const L=ne(S.floating,a.x),_=ne(S.floating,a.y);return c?{...v,transform:"translate("+L+"px, "+_+"px)",...ee(S.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:L,top:_}},[n,c,S.floating,a.x,a.y]);return lt(()=>({...a,update:C,refs:H,elements:S,floatingStyles:E}),[a,C,H,S,E])}const gn=t=>{function e(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:t,fn(n){const{element:o,padding:i}=typeof t=="function"?t(n):t;return o&&e(o)?o.current!=null?te({element:o.current,padding:i}).fn(n):{}:o?te({element:o,padding:i}).fn(n):{}}}},wn=(t,e)=>({...ln(t),options:[t,e]}),xn=(t,e)=>({...fn(t),options:[t,e]}),yn=(t,e)=>({...pn(t),options:[t,e]}),bn=(t,e)=>({...an(t),options:[t,e]}),An=(t,e)=>({...un(t),options:[t,e]}),vn=(t,e)=>({...dn(t),options:[t,e]}),Pn=(t,e)=>({...gn(t),options:[t,e]});var On="Arrow",oe=ft((t,e)=>{const{children:n,width:o=10,height:i=5,...r}=t;return j(bt.svg,{...r,ref:e,width:o,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:t.asChild?n:j("polygon",{points:"0,0 30,0 15,10"})})});oe.displayName=On;var Rn=oe;function Cn(t){const[e,n]=Y(void 0);return At(()=>{if(t){n({width:t.offsetWidth,height:t.offsetHeight});const o=new ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const r=i[0];let s,c;if("borderBoxSize"in r){const l=r.borderBoxSize,f=Array.isArray(l)?l[0]:l;s=f.inlineSize,c=f.blockSize}else s=t.offsetWidth,c=t.offsetHeight;n({width:s,height:c})});return o.observe(t,{box:"border-box"}),()=>o.unobserve(t)}else n(void 0)},[t]),e}var kt="Popper",[ie,Sn]=Oe(kt),[En,re]=ie(kt),se=t=>{const{__scopePopper:e,children:n}=t,[o,i]=Y(null);return j(En,{scope:e,anchor:o,onAnchorChange:i,children:n})};se.displayName=kt;var ce="PopperAnchor",le=ft((t,e)=>{const{__scopePopper:n,virtualRef:o,...i}=t,r=re(ce,n),s=J(null),c=zt(e,s);return Wt(()=>{r.onAnchorChange(o?.current||s.current)}),o?null:j(bt.div,{...i,ref:c})});le.displayName=ce;var Nt="PopperContent",[Dn,Tn]=ie(Nt),fe=ft((t,e)=>{const{__scopePopper:n,side:o="bottom",sideOffset:i=0,align:r="center",alignOffset:s=0,arrowPadding:c=0,avoidCollisions:l=!0,collisionBoundary:f=[],collisionPadding:a=0,sticky:u="partial",hideWhenDetached:h=!1,updatePositionStrategy:d="optimized",onPlaced:p,...m}=t,w=re(Nt,n),[g,x]=Y(null),A=zt(e,ot=>x(ot)),[y,b]=Y(null),P=Cn(y),R=P?.width??0,D=P?.height??0,k=o+(r!=="center"?"-"+r:""),T=typeof a=="number"?a:{top:0,right:0,bottom:0,left:0,...a},M=Array.isArray(f)?f:[f],$=M.length>0,C={padding:T,boundary:M.filter(Mn),altBoundary:$},{refs:O,floatingStyles:H,placement:S,isPositioned:E,middlewareData:v}=mn({strategy:"fixed",placement:k,whileElementsMounted:(...ot)=>cn(...ot,{animationFrame:d==="always"}),elements:{reference:w.anchor},middleware:[wn({mainAxis:i+D,alignmentAxis:s}),l&&xn({mainAxis:!0,crossAxis:!1,limiter:u==="partial"?yn():void 0,...C}),l&&bn({...C}),An({...C,apply:({elements:ot,rects:Ht,availableWidth:xe,availableHeight:ye})=>{const{width:be,height:Ae}=Ht.reference,ct=ot.floating.style;ct.setProperty("--radix-popper-available-width",`${xe}px`),ct.setProperty("--radix-popper-available-height",`${ye}px`),ct.setProperty("--radix-popper-anchor-width",`${be}px`),ct.setProperty("--radix-popper-anchor-height",`${Ae}px`)}}),y&&Pn({element:y,padding:c}),$n({arrowWidth:R,arrowHeight:D}),h&&vn({strategy:"referenceHidden",...C})]}),[L,_]=de(S),Ft=Re(p);At(()=>{E&&Ft?.()},[E,Ft]);const pe=v.arrow?.x,he=v.arrow?.y,me=v.arrow?.centerOffset!==0,[ge,we]=Y();return At(()=>{g&&we(window.getComputedStyle(g).zIndex)},[g]),j("div",{ref:O.setFloating,"data-radix-popper-content-wrapper":"",style:{...H,transform:E?H.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ge,["--radix-popper-transform-origin"]:[v.transformOrigin?.x,v.transformOrigin?.y].join(" "),...v.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:t.dir,children:j(Dn,{scope:n,placedSide:L,onArrowChange:b,arrowX:pe,arrowY:he,shouldHideArrow:me,children:j(bt.div,{"data-side":L,"data-align":_,...m,ref:A,style:{...m.style,animation:E?void 0:"none"}})})})});fe.displayName=Nt;var ae="PopperArrow",Ln={top:"bottom",right:"left",bottom:"top",left:"right"},ue=ft(function(e,n){const{__scopePopper:o,...i}=e,r=Tn(ae,o),s=Ln[r.placedSide];return j("span",{ref:r.onArrowChange,style:{position:"absolute",left:r.arrowX,top:r.arrowY,[s]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[r.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[r.placedSide],visibility:r.shouldHideArrow?"hidden":void 0},children:j(Rn,{...i,ref:n,style:{...i.style,display:"block"}})})});ue.displayName=ae;function Mn(t){return t!==null}var $n=t=>({name:"transformOrigin",options:t,fn(e){const{placement:n,rects:o,middlewareData:i}=e,s=i.arrow?.centerOffset!==0,c=s?0:t.arrowWidth,l=s?0:t.arrowHeight,[f,a]=de(n),u={start:"0%",center:"50%",end:"100%"}[a],h=(i.arrow?.x??0)+c/2,d=(i.arrow?.y??0)+l/2;let p="",m="";return f==="bottom"?(p=s?u:`${h}px`,m=`${-l}px`):f==="top"?(p=s?u:`${h}px`,m=`${o.floating.height+l}px`):f==="right"?(p=`${-l}px`,m=s?u:`${d}px`):f==="left"&&(p=`${o.floating.width+l}px`,m=s?u:`${d}px`),{data:{x:p,y:m}}}});function de(t){const[e,n="center"]=t.split("-");return[e,n]}var kn=se,Nn=le,Fn=fe,Hn=ue;export{Nn as A,Fn as C,kn as R,Hn as a,Sn as c};
1
+ import{h as Y,q as yt,A as J,E as ve,T as lt,_ as Pe,y as Wt,D as ft,u as j}from"./register-q2a4hUWr.js";import{P as bt}from"./index-BcreLqeQ.js";import{u as zt}from"./index-DzgRZJb6.js";import{a as Oe}from"./index-yvefsybe.js";import{u as Re}from"./index-CHknjjXQ.js";import{u as At}from"./index-DNCHaYVz.js";const Ce=["top","right","bottom","left"],U=Math.min,N=Math.max,at=Math.round,ut=Math.floor,B=t=>({x:t,y:t}),Se={left:"right",right:"left",bottom:"top",top:"bottom"},Ee={start:"end",end:"start"};function vt(t,e,n){return N(t,U(e,n))}function X(t,e){return typeof t=="function"?t(e):t}function q(t){return t.split("-")[0]}function Q(t){return t.split("-")[1]}function Pt(t){return t==="x"?"y":"x"}function Ot(t){return t==="y"?"height":"width"}function Z(t){return["top","bottom"].includes(q(t))?"y":"x"}function Rt(t){return Pt(Z(t))}function De(t,e,n){n===void 0&&(n=!1);const o=Q(t),i=Rt(t),r=Ot(i);let s=i==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[r]>e.floating[r]&&(s=dt(s)),[s,dt(s)]}function Te(t){const e=dt(t);return[Ct(t),e,Ct(e)]}function Ct(t){return t.replace(/start|end/g,e=>Ee[e])}function Le(t,e,n){const o=["left","right"],i=["right","left"],r=["top","bottom"],s=["bottom","top"];switch(t){case"top":case"bottom":return n?e?i:o:e?o:i;case"left":case"right":return e?r:s;default:return[]}}function Me(t,e,n,o){const i=Q(t);let r=Le(q(t),n==="start",o);return i&&(r=r.map(s=>s+"-"+i),e&&(r=r.concat(r.map(Ct)))),r}function dt(t){return t.replace(/left|right|bottom|top/g,e=>Se[e])}function $e(t){return{top:0,right:0,bottom:0,left:0,...t}}function _t(t){return typeof t!="number"?$e(t):{top:t,right:t,bottom:t,left:t}}function pt(t){const{x:e,y:n,width:o,height:i}=t;return{width:o,height:i,top:n,left:e,right:e+o,bottom:n+i,x:e,y:n}}function Bt(t,e,n){let{reference:o,floating:i}=t;const r=Z(e),s=Rt(e),c=Ot(s),l=q(e),f=r==="y",a=o.x+o.width/2-i.width/2,u=o.y+o.height/2-i.height/2,h=o[c]/2-i[c]/2;let d;switch(l){case"top":d={x:a,y:o.y-i.height};break;case"bottom":d={x:a,y:o.y+o.height};break;case"right":d={x:o.x+o.width,y:u};break;case"left":d={x:o.x-i.width,y:u};break;default:d={x:o.x,y:o.y}}switch(Q(e)){case"start":d[s]-=h*(n&&f?-1:1);break;case"end":d[s]+=h*(n&&f?-1:1);break}return d}const ke=async(t,e,n)=>{const{placement:o="bottom",strategy:i="absolute",middleware:r=[],platform:s}=n,c=r.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(e));let f=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:a,y:u}=Bt(f,o,l),h=o,d={},p=0;for(let m=0;m<c.length;m++){const{name:w,fn:g}=c[m],{x,y:A,data:y,reset:b}=await g({x:a,y:u,initialPlacement:o,placement:h,strategy:i,middlewareData:d,rects:f,platform:s,elements:{reference:t,floating:e}});a=x??a,u=A??u,d={...d,[w]:{...d[w],...y}},b&&p<=50&&(p++,typeof b=="object"&&(b.placement&&(h=b.placement),b.rects&&(f=b.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):b.rects),{x:a,y:u}=Bt(f,h,l)),m=-1)}return{x:a,y:u,placement:h,strategy:i,middlewareData:d}};async function it(t,e){var n;e===void 0&&(e={});const{x:o,y:i,platform:r,rects:s,elements:c,strategy:l}=t,{boundary:f="clippingAncestors",rootBoundary:a="viewport",elementContext:u="floating",altBoundary:h=!1,padding:d=0}=X(e,t),p=_t(d),w=c[h?u==="floating"?"reference":"floating":u],g=pt(await r.getClippingRect({element:(n=await(r.isElement==null?void 0:r.isElement(w)))==null||n?w:w.contextElement||await(r.getDocumentElement==null?void 0:r.getDocumentElement(c.floating)),boundary:f,rootBoundary:a,strategy:l})),x=u==="floating"?{x:o,y:i,width:s.floating.width,height:s.floating.height}:s.reference,A=await(r.getOffsetParent==null?void 0:r.getOffsetParent(c.floating)),y=await(r.isElement==null?void 0:r.isElement(A))?await(r.getScale==null?void 0:r.getScale(A))||{x:1,y:1}:{x:1,y:1},b=pt(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:x,offsetParent:A,strategy:l}):x);return{top:(g.top-b.top+p.top)/y.y,bottom:(b.bottom-g.bottom+p.bottom)/y.y,left:(g.left-b.left+p.left)/y.x,right:(b.right-g.right+p.right)/y.x}}const Ne=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:o,placement:i,rects:r,platform:s,elements:c,middlewareData:l}=e,{element:f,padding:a=0}=X(t,e)||{};if(f==null)return{};const u=_t(a),h={x:n,y:o},d=Rt(i),p=Ot(d),m=await s.getDimensions(f),w=d==="y",g=w?"top":"left",x=w?"bottom":"right",A=w?"clientHeight":"clientWidth",y=r.reference[p]+r.reference[d]-h[d]-r.floating[p],b=h[d]-r.reference[d],P=await(s.getOffsetParent==null?void 0:s.getOffsetParent(f));let R=P?P[A]:0;(!R||!await(s.isElement==null?void 0:s.isElement(P)))&&(R=c.floating[A]||r.floating[p]);const D=y/2-b/2,k=R/2-m[p]/2-1,T=U(u[g],k),M=U(u[x],k),$=T,C=R-m[p]-M,O=R/2-m[p]/2+D,H=vt($,O,C),S=!l.arrow&&Q(i)!=null&&O!==H&&r.reference[p]/2-(O<$?T:M)-m[p]/2<0,E=S?O<$?O-$:O-C:0;return{[d]:h[d]+E,data:{[d]:H,centerOffset:O-H-E,...S&&{alignmentOffset:E}},reset:S}}}),Fe=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,o;const{placement:i,middlewareData:r,rects:s,initialPlacement:c,platform:l,elements:f}=e,{mainAxis:a=!0,crossAxis:u=!0,fallbackPlacements:h,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:m=!0,...w}=X(t,e);if((n=r.arrow)!=null&&n.alignmentOffset)return{};const g=q(i),x=Z(c),A=q(c)===c,y=await(l.isRTL==null?void 0:l.isRTL(f.floating)),b=h||(A||!m?[dt(c)]:Te(c)),P=p!=="none";!h&&P&&b.push(...Me(c,m,p,y));const R=[c,...b],D=await it(e,w),k=[];let T=((o=r.flip)==null?void 0:o.overflows)||[];if(a&&k.push(D[g]),u){const O=De(i,s,y);k.push(D[O[0]],D[O[1]])}if(T=[...T,{placement:i,overflows:k}],!k.every(O=>O<=0)){var M,$;const O=(((M=r.flip)==null?void 0:M.index)||0)+1,H=R[O];if(H)return{data:{index:O,overflows:T},reset:{placement:H}};let S=($=T.filter(E=>E.overflows[0]<=0).sort((E,v)=>E.overflows[1]-v.overflows[1])[0])==null?void 0:$.placement;if(!S)switch(d){case"bestFit":{var C;const E=(C=T.filter(v=>{if(P){const L=Z(v.placement);return L===x||L==="y"}return!0}).map(v=>[v.placement,v.overflows.filter(L=>L>0).reduce((L,_)=>L+_,0)]).sort((v,L)=>v[1]-L[1])[0])==null?void 0:C[0];E&&(S=E);break}case"initialPlacement":S=c;break}if(i!==S)return{reset:{placement:S}}}return{}}}};function Vt(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function It(t){return Ce.some(e=>t[e]>=0)}const He=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(e){const{rects:n}=e,{strategy:o="referenceHidden",...i}=X(t,e);switch(o){case"referenceHidden":{const r=await it(e,{...i,elementContext:"reference"}),s=Vt(r,n.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:It(s)}}}case"escaped":{const r=await it(e,{...i,altBoundary:!0}),s=Vt(r,n.floating);return{data:{escapedOffsets:s,escaped:It(s)}}}default:return{}}}}};async function We(t,e){const{placement:n,platform:o,elements:i}=t,r=await(o.isRTL==null?void 0:o.isRTL(i.floating)),s=q(n),c=Q(n),l=Z(n)==="y",f=["left","top"].includes(s)?-1:1,a=r&&l?-1:1,u=X(e,t);let{mainAxis:h,crossAxis:d,alignmentAxis:p}=typeof u=="number"?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return c&&typeof p=="number"&&(d=c==="end"?p*-1:p),l?{x:d*a,y:h*f}:{x:h*f,y:d*a}}const ze=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,o;const{x:i,y:r,placement:s,middlewareData:c}=e,l=await We(e,t);return s===((n=c.offset)==null?void 0:n.placement)&&(o=c.arrow)!=null&&o.alignmentOffset?{}:{x:i+l.x,y:r+l.y,data:{...l,placement:s}}}}},_e=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:o,placement:i}=e,{mainAxis:r=!0,crossAxis:s=!1,limiter:c={fn:w=>{let{x:g,y:x}=w;return{x:g,y:x}}},...l}=X(t,e),f={x:n,y:o},a=await it(e,l),u=Z(q(i)),h=Pt(u);let d=f[h],p=f[u];if(r){const w=h==="y"?"top":"left",g=h==="y"?"bottom":"right",x=d+a[w],A=d-a[g];d=vt(x,d,A)}if(s){const w=u==="y"?"top":"left",g=u==="y"?"bottom":"right",x=p+a[w],A=p-a[g];p=vt(x,p,A)}const m=c.fn({...e,[h]:d,[u]:p});return{...m,data:{x:m.x-n,y:m.y-o,enabled:{[h]:r,[u]:s}}}}}},Be=function(t){return t===void 0&&(t={}),{options:t,fn(e){const{x:n,y:o,placement:i,rects:r,middlewareData:s}=e,{offset:c=0,mainAxis:l=!0,crossAxis:f=!0}=X(t,e),a={x:n,y:o},u=Z(i),h=Pt(u);let d=a[h],p=a[u];const m=X(c,e),w=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(l){const A=h==="y"?"height":"width",y=r.reference[h]-r.floating[A]+w.mainAxis,b=r.reference[h]+r.reference[A]-w.mainAxis;d<y?d=y:d>b&&(d=b)}if(f){var g,x;const A=h==="y"?"width":"height",y=["top","left"].includes(q(i)),b=r.reference[u]-r.floating[A]+(y&&((g=s.offset)==null?void 0:g[u])||0)+(y?0:w.crossAxis),P=r.reference[u]+r.reference[A]+(y?0:((x=s.offset)==null?void 0:x[u])||0)-(y?w.crossAxis:0);p<b?p=b:p>P&&(p=P)}return{[h]:d,[u]:p}}}},Ve=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var n,o;const{placement:i,rects:r,platform:s,elements:c}=e,{apply:l=()=>{},...f}=X(t,e),a=await it(e,f),u=q(i),h=Q(i),d=Z(i)==="y",{width:p,height:m}=r.floating;let w,g;u==="top"||u==="bottom"?(w=u,g=h===(await(s.isRTL==null?void 0:s.isRTL(c.floating))?"start":"end")?"left":"right"):(g=u,w=h==="end"?"top":"bottom");const x=m-a.top-a.bottom,A=p-a.left-a.right,y=U(m-a[w],x),b=U(p-a[g],A),P=!e.middlewareData.shift;let R=y,D=b;if((n=e.middlewareData.shift)!=null&&n.enabled.x&&(D=A),(o=e.middlewareData.shift)!=null&&o.enabled.y&&(R=x),P&&!h){const T=N(a.left,0),M=N(a.right,0),$=N(a.top,0),C=N(a.bottom,0);d?D=p-2*(T!==0||M!==0?T+M:N(a.left,a.right)):R=m-2*($!==0||C!==0?$+C:N(a.top,a.bottom))}await l({...e,availableWidth:D,availableHeight:R});const k=await s.getDimensions(c.floating);return p!==k.width||m!==k.height?{reset:{rects:!0}}:{}}}};function ht(){return typeof window<"u"}function tt(t){return Yt(t)?(t.nodeName||"").toLowerCase():"#document"}function F(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function V(t){var e;return(e=(Yt(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Yt(t){return ht()?t instanceof Node||t instanceof F(t).Node:!1}function W(t){return ht()?t instanceof Element||t instanceof F(t).Element:!1}function I(t){return ht()?t instanceof HTMLElement||t instanceof F(t).HTMLElement:!1}function jt(t){return!ht()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof F(t).ShadowRoot}function rt(t){const{overflow:e,overflowX:n,overflowY:o,display:i}=z(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!["inline","contents"].includes(i)}function Ie(t){return["table","td","th"].includes(tt(t))}function mt(t){return[":popover-open",":modal"].some(e=>{try{return t.matches(e)}catch{return!1}})}function St(t){const e=Et(),n=W(t)?z(t):t;return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(o=>(n.willChange||"").includes(o))||["paint","layout","strict","content"].some(o=>(n.contain||"").includes(o))}function Ye(t){let e=K(t);for(;I(e)&&!et(e);){if(St(e))return e;if(mt(e))return null;e=K(e)}return null}function Et(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function et(t){return["html","body","#document"].includes(tt(t))}function z(t){return F(t).getComputedStyle(t)}function gt(t){return W(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function K(t){if(tt(t)==="html")return t;const e=t.assignedSlot||t.parentNode||jt(t)&&t.host||V(t);return jt(e)?e.host:e}function Xt(t){const e=K(t);return et(e)?t.ownerDocument?t.ownerDocument.body:t.body:I(e)&&rt(e)?e:Xt(e)}function st(t,e,n){var o;e===void 0&&(e=[]),n===void 0&&(n=!0);const i=Xt(t),r=i===((o=t.ownerDocument)==null?void 0:o.body),s=F(i);if(r){const c=Dt(s);return e.concat(s,s.visualViewport||[],rt(i)?i:[],c&&n?st(c):[])}return e.concat(i,st(i,[],n))}function Dt(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function qt(t){const e=z(t);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const i=I(t),r=i?t.offsetWidth:n,s=i?t.offsetHeight:o,c=at(n)!==r||at(o)!==s;return c&&(n=r,o=s),{width:n,height:o,$:c}}function Tt(t){return W(t)?t:t.contextElement}function nt(t){const e=Tt(t);if(!I(e))return B(1);const n=e.getBoundingClientRect(),{width:o,height:i,$:r}=qt(e);let s=(r?at(n.width):n.width)/o,c=(r?at(n.height):n.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}const je=B(0);function Ut(t){const e=F(t);return!Et()||!e.visualViewport?je:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Xe(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==F(t)?!1:e}function G(t,e,n,o){e===void 0&&(e=!1),n===void 0&&(n=!1);const i=t.getBoundingClientRect(),r=Tt(t);let s=B(1);e&&(o?W(o)&&(s=nt(o)):s=nt(t));const c=Xe(r,n,o)?Ut(r):B(0);let l=(i.left+c.x)/s.x,f=(i.top+c.y)/s.y,a=i.width/s.x,u=i.height/s.y;if(r){const h=F(r),d=o&&W(o)?F(o):o;let p=h,m=Dt(p);for(;m&&o&&d!==p;){const w=nt(m),g=m.getBoundingClientRect(),x=z(m),A=g.left+(m.clientLeft+parseFloat(x.paddingLeft))*w.x,y=g.top+(m.clientTop+parseFloat(x.paddingTop))*w.y;l*=w.x,f*=w.y,a*=w.x,u*=w.y,l+=A,f+=y,p=F(m),m=Dt(p)}}return pt({width:a,height:u,x:l,y:f})}function Lt(t,e){const n=gt(t).scrollLeft;return e?e.left+n:G(V(t)).left+n}function Zt(t,e,n){n===void 0&&(n=!1);const o=t.getBoundingClientRect(),i=o.left+e.scrollLeft-(n?0:Lt(t,o)),r=o.top+e.scrollTop;return{x:i,y:r}}function qe(t){let{elements:e,rect:n,offsetParent:o,strategy:i}=t;const r=i==="fixed",s=V(o),c=e?mt(e.floating):!1;if(o===s||c&&r)return n;let l={scrollLeft:0,scrollTop:0},f=B(1);const a=B(0),u=I(o);if((u||!u&&!r)&&((tt(o)!=="body"||rt(s))&&(l=gt(o)),I(o))){const d=G(o);f=nt(o),a.x=d.x+o.clientLeft,a.y=d.y+o.clientTop}const h=s&&!u&&!r?Zt(s,l,!0):B(0);return{width:n.width*f.x,height:n.height*f.y,x:n.x*f.x-l.scrollLeft*f.x+a.x+h.x,y:n.y*f.y-l.scrollTop*f.y+a.y+h.y}}function Ue(t){return Array.from(t.getClientRects())}function Ze(t){const e=V(t),n=gt(t),o=t.ownerDocument.body,i=N(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),r=N(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let s=-n.scrollLeft+Lt(t);const c=-n.scrollTop;return z(o).direction==="rtl"&&(s+=N(e.clientWidth,o.clientWidth)-i),{width:i,height:r,x:s,y:c}}function Ke(t,e){const n=F(t),o=V(t),i=n.visualViewport;let r=o.clientWidth,s=o.clientHeight,c=0,l=0;if(i){r=i.width,s=i.height;const f=Et();(!f||f&&e==="fixed")&&(c=i.offsetLeft,l=i.offsetTop)}return{width:r,height:s,x:c,y:l}}function Ge(t,e){const n=G(t,!0,e==="fixed"),o=n.top+t.clientTop,i=n.left+t.clientLeft,r=I(t)?nt(t):B(1),s=t.clientWidth*r.x,c=t.clientHeight*r.y,l=i*r.x,f=o*r.y;return{width:s,height:c,x:l,y:f}}function Kt(t,e,n){let o;if(e==="viewport")o=Ke(t,n);else if(e==="document")o=Ze(V(t));else if(W(e))o=Ge(e,n);else{const i=Ut(t);o={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return pt(o)}function Gt(t,e){const n=K(t);return n===e||!W(n)||et(n)?!1:z(n).position==="fixed"||Gt(n,e)}function Je(t,e){const n=e.get(t);if(n)return n;let o=st(t,[],!1).filter(c=>W(c)&&tt(c)!=="body"),i=null;const r=z(t).position==="fixed";let s=r?K(t):t;for(;W(s)&&!et(s);){const c=z(s),l=St(s);!l&&c.position==="fixed"&&(i=null),(r?!l&&!i:!l&&c.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||rt(s)&&!l&&Gt(t,s))?o=o.filter(a=>a!==s):i=c,s=K(s)}return e.set(t,o),o}function Qe(t){let{element:e,boundary:n,rootBoundary:o,strategy:i}=t;const s=[...n==="clippingAncestors"?mt(e)?[]:Je(e,this._c):[].concat(n),o],c=s[0],l=s.reduce((f,a)=>{const u=Kt(e,a,i);return f.top=N(u.top,f.top),f.right=U(u.right,f.right),f.bottom=U(u.bottom,f.bottom),f.left=N(u.left,f.left),f},Kt(e,c,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function tn(t){const{width:e,height:n}=qt(t);return{width:e,height:n}}function en(t,e,n){const o=I(e),i=V(e),r=n==="fixed",s=G(t,!0,r,e);let c={scrollLeft:0,scrollTop:0};const l=B(0);if(o||!o&&!r)if((tt(e)!=="body"||rt(i))&&(c=gt(e)),o){const h=G(e,!0,r,e);l.x=h.x+e.clientLeft,l.y=h.y+e.clientTop}else i&&(l.x=Lt(i));const f=i&&!o&&!r?Zt(i,c):B(0),a=s.left+c.scrollLeft-l.x-f.x,u=s.top+c.scrollTop-l.y-f.y;return{x:a,y:u,width:s.width,height:s.height}}function Mt(t){return z(t).position==="static"}function Jt(t,e){if(!I(t)||z(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return V(t)===n&&(n=n.ownerDocument.body),n}function Qt(t,e){const n=F(t);if(mt(t))return n;if(!I(t)){let i=K(t);for(;i&&!et(i);){if(W(i)&&!Mt(i))return i;i=K(i)}return n}let o=Jt(t,e);for(;o&&Ie(o)&&Mt(o);)o=Jt(o,e);return o&&et(o)&&Mt(o)&&!St(o)?n:o||Ye(t)||n}const nn=async function(t){const e=this.getOffsetParent||Qt,n=this.getDimensions,o=await n(t.floating);return{reference:en(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function on(t){return z(t).direction==="rtl"}const rn={convertOffsetParentRelativeRectToViewportRelativeRect:qe,getDocumentElement:V,getClippingRect:Qe,getOffsetParent:Qt,getElementRects:nn,getClientRects:Ue,getDimensions:tn,getScale:nt,isElement:W,isRTL:on};function sn(t,e){let n=null,o;const i=V(t);function r(){var c;clearTimeout(o),(c=n)==null||c.disconnect(),n=null}function s(c,l){c===void 0&&(c=!1),l===void 0&&(l=1),r();const{left:f,top:a,width:u,height:h}=t.getBoundingClientRect();if(c||e(),!u||!h)return;const d=ut(a),p=ut(i.clientWidth-(f+u)),m=ut(i.clientHeight-(a+h)),w=ut(f),x={rootMargin:-d+"px "+-p+"px "+-m+"px "+-w+"px",threshold:N(0,U(1,l))||1};let A=!0;function y(b){const P=b[0].intersectionRatio;if(P!==l){if(!A)return s();P?s(!1,P):o=setTimeout(()=>{s(!1,1e-7)},1e3)}A=!1}try{n=new IntersectionObserver(y,{...x,root:i.ownerDocument})}catch{n=new IntersectionObserver(y,x)}n.observe(t)}return s(!0),r}function cn(t,e,n,o){o===void 0&&(o={});const{ancestorScroll:i=!0,ancestorResize:r=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:l=!1}=o,f=Tt(t),a=i||r?[...f?st(f):[],...st(e)]:[];a.forEach(g=>{i&&g.addEventListener("scroll",n,{passive:!0}),r&&g.addEventListener("resize",n)});const u=f&&c?sn(f,n):null;let h=-1,d=null;s&&(d=new ResizeObserver(g=>{let[x]=g;x&&x.target===f&&d&&(d.unobserve(e),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var A;(A=d)==null||A.observe(e)})),n()}),f&&!l&&d.observe(f),d.observe(e));let p,m=l?G(t):null;l&&w();function w(){const g=G(t);m&&(g.x!==m.x||g.y!==m.y||g.width!==m.width||g.height!==m.height)&&n(),m=g,p=requestAnimationFrame(w)}return n(),()=>{var g;a.forEach(x=>{i&&x.removeEventListener("scroll",n),r&&x.removeEventListener("resize",n)}),u?.(),(g=d)==null||g.disconnect(),d=null,l&&cancelAnimationFrame(p)}}const ln=ze,fn=_e,an=Fe,un=Ve,dn=He,te=Ne,pn=Be,hn=(t,e,n)=>{const o=new Map,i={platform:rn,...n},r={...i.platform,_c:o};return ke(t,e,{...i,platform:r})};var wt=typeof document<"u"?Pe:Wt;function xt(t,e){if(t===e)return!0;if(typeof t!=typeof e)return!1;if(typeof t=="function"&&t.toString()===e.toString())return!0;let n,o,i;if(t&&e&&typeof t=="object"){if(Array.isArray(t)){if(n=t.length,n!==e.length)return!1;for(o=n;o--!==0;)if(!xt(t[o],e[o]))return!1;return!0}if(i=Object.keys(t),n=i.length,n!==Object.keys(e).length)return!1;for(o=n;o--!==0;)if(!{}.hasOwnProperty.call(e,i[o]))return!1;for(o=n;o--!==0;){const r=i[o];if(!(r==="_owner"&&t.$$typeof)&&!xt(t[r],e[r]))return!1}return!0}return t!==t&&e!==e}function ee(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function ne(t,e){const n=ee(t);return Math.round(e*n)/n}function $t(t){const e=J(t);return wt(()=>{e.current=t}),e}function mn(t){t===void 0&&(t={});const{placement:e="bottom",strategy:n="absolute",middleware:o=[],platform:i,elements:{reference:r,floating:s}={},transform:c=!0,whileElementsMounted:l,open:f}=t,[a,u]=Y({x:0,y:0,strategy:n,placement:e,middlewareData:{},isPositioned:!1}),[h,d]=Y(o);xt(h,o)||d(o);const[p,m]=Y(null),[w,g]=Y(null),x=yt(v=>{v!==P.current&&(P.current=v,m(v))},[]),A=yt(v=>{v!==R.current&&(R.current=v,g(v))},[]),y=r||p,b=s||w,P=J(null),R=J(null),D=J(a),k=l!=null,T=$t(l),M=$t(i),$=$t(f),C=yt(()=>{if(!P.current||!R.current)return;const v={placement:e,strategy:n,middleware:h};M.current&&(v.platform=M.current),hn(P.current,R.current,v).then(L=>{const _={...L,isPositioned:$.current!==!1};O.current&&!xt(D.current,_)&&(D.current=_,ve(()=>{u(_)}))})},[h,e,n,M,$]);wt(()=>{f===!1&&D.current.isPositioned&&(D.current.isPositioned=!1,u(v=>({...v,isPositioned:!1})))},[f]);const O=J(!1);wt(()=>(O.current=!0,()=>{O.current=!1}),[]),wt(()=>{if(y&&(P.current=y),b&&(R.current=b),y&&b){if(T.current)return T.current(y,b,C);C()}},[y,b,C,T,k]);const H=lt(()=>({reference:P,floating:R,setReference:x,setFloating:A}),[x,A]),S=lt(()=>({reference:y,floating:b}),[y,b]),E=lt(()=>{const v={position:n,left:0,top:0};if(!S.floating)return v;const L=ne(S.floating,a.x),_=ne(S.floating,a.y);return c?{...v,transform:"translate("+L+"px, "+_+"px)",...ee(S.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:L,top:_}},[n,c,S.floating,a.x,a.y]);return lt(()=>({...a,update:C,refs:H,elements:S,floatingStyles:E}),[a,C,H,S,E])}const gn=t=>{function e(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:t,fn(n){const{element:o,padding:i}=typeof t=="function"?t(n):t;return o&&e(o)?o.current!=null?te({element:o.current,padding:i}).fn(n):{}:o?te({element:o,padding:i}).fn(n):{}}}},wn=(t,e)=>({...ln(t),options:[t,e]}),xn=(t,e)=>({...fn(t),options:[t,e]}),yn=(t,e)=>({...pn(t),options:[t,e]}),bn=(t,e)=>({...an(t),options:[t,e]}),An=(t,e)=>({...un(t),options:[t,e]}),vn=(t,e)=>({...dn(t),options:[t,e]}),Pn=(t,e)=>({...gn(t),options:[t,e]});var On="Arrow",oe=ft((t,e)=>{const{children:n,width:o=10,height:i=5,...r}=t;return j(bt.svg,{...r,ref:e,width:o,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:t.asChild?n:j("polygon",{points:"0,0 30,0 15,10"})})});oe.displayName=On;var Rn=oe;function Cn(t){const[e,n]=Y(void 0);return At(()=>{if(t){n({width:t.offsetWidth,height:t.offsetHeight});const o=new ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const r=i[0];let s,c;if("borderBoxSize"in r){const l=r.borderBoxSize,f=Array.isArray(l)?l[0]:l;s=f.inlineSize,c=f.blockSize}else s=t.offsetWidth,c=t.offsetHeight;n({width:s,height:c})});return o.observe(t,{box:"border-box"}),()=>o.unobserve(t)}else n(void 0)},[t]),e}var kt="Popper",[ie,Sn]=Oe(kt),[En,re]=ie(kt),se=t=>{const{__scopePopper:e,children:n}=t,[o,i]=Y(null);return j(En,{scope:e,anchor:o,onAnchorChange:i,children:n})};se.displayName=kt;var ce="PopperAnchor",le=ft((t,e)=>{const{__scopePopper:n,virtualRef:o,...i}=t,r=re(ce,n),s=J(null),c=zt(e,s);return Wt(()=>{r.onAnchorChange(o?.current||s.current)}),o?null:j(bt.div,{...i,ref:c})});le.displayName=ce;var Nt="PopperContent",[Dn,Tn]=ie(Nt),fe=ft((t,e)=>{const{__scopePopper:n,side:o="bottom",sideOffset:i=0,align:r="center",alignOffset:s=0,arrowPadding:c=0,avoidCollisions:l=!0,collisionBoundary:f=[],collisionPadding:a=0,sticky:u="partial",hideWhenDetached:h=!1,updatePositionStrategy:d="optimized",onPlaced:p,...m}=t,w=re(Nt,n),[g,x]=Y(null),A=zt(e,ot=>x(ot)),[y,b]=Y(null),P=Cn(y),R=P?.width??0,D=P?.height??0,k=o+(r!=="center"?"-"+r:""),T=typeof a=="number"?a:{top:0,right:0,bottom:0,left:0,...a},M=Array.isArray(f)?f:[f],$=M.length>0,C={padding:T,boundary:M.filter(Mn),altBoundary:$},{refs:O,floatingStyles:H,placement:S,isPositioned:E,middlewareData:v}=mn({strategy:"fixed",placement:k,whileElementsMounted:(...ot)=>cn(...ot,{animationFrame:d==="always"}),elements:{reference:w.anchor},middleware:[wn({mainAxis:i+D,alignmentAxis:s}),l&&xn({mainAxis:!0,crossAxis:!1,limiter:u==="partial"?yn():void 0,...C}),l&&bn({...C}),An({...C,apply:({elements:ot,rects:Ht,availableWidth:xe,availableHeight:ye})=>{const{width:be,height:Ae}=Ht.reference,ct=ot.floating.style;ct.setProperty("--radix-popper-available-width",`${xe}px`),ct.setProperty("--radix-popper-available-height",`${ye}px`),ct.setProperty("--radix-popper-anchor-width",`${be}px`),ct.setProperty("--radix-popper-anchor-height",`${Ae}px`)}}),y&&Pn({element:y,padding:c}),$n({arrowWidth:R,arrowHeight:D}),h&&vn({strategy:"referenceHidden",...C})]}),[L,_]=de(S),Ft=Re(p);At(()=>{E&&Ft?.()},[E,Ft]);const pe=v.arrow?.x,he=v.arrow?.y,me=v.arrow?.centerOffset!==0,[ge,we]=Y();return At(()=>{g&&we(window.getComputedStyle(g).zIndex)},[g]),j("div",{ref:O.setFloating,"data-radix-popper-content-wrapper":"",style:{...H,transform:E?H.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ge,["--radix-popper-transform-origin"]:[v.transformOrigin?.x,v.transformOrigin?.y].join(" "),...v.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:t.dir,children:j(Dn,{scope:n,placedSide:L,onArrowChange:b,arrowX:pe,arrowY:he,shouldHideArrow:me,children:j(bt.div,{"data-side":L,"data-align":_,...m,ref:A,style:{...m.style,animation:E?void 0:"none"}})})})});fe.displayName=Nt;var ae="PopperArrow",Ln={top:"bottom",right:"left",bottom:"top",left:"right"},ue=ft(function(e,n){const{__scopePopper:o,...i}=e,r=Tn(ae,o),s=Ln[r.placedSide];return j("span",{ref:r.onArrowChange,style:{position:"absolute",left:r.arrowX,top:r.arrowY,[s]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[r.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[r.placedSide],visibility:r.shouldHideArrow?"hidden":void 0},children:j(Rn,{...i,ref:n,style:{...i.style,display:"block"}})})});ue.displayName=ae;function Mn(t){return t!==null}var $n=t=>({name:"transformOrigin",options:t,fn(e){const{placement:n,rects:o,middlewareData:i}=e,s=i.arrow?.centerOffset!==0,c=s?0:t.arrowWidth,l=s?0:t.arrowHeight,[f,a]=de(n),u={start:"0%",center:"50%",end:"100%"}[a],h=(i.arrow?.x??0)+c/2,d=(i.arrow?.y??0)+l/2;let p="",m="";return f==="bottom"?(p=s?u:`${h}px`,m=`${-l}px`):f==="top"?(p=s?u:`${h}px`,m=`${o.floating.height+l}px`):f==="right"?(p=`${-l}px`,m=s?u:`${d}px`):f==="left"&&(p=`${o.floating.width+l}px`,m=s?u:`${d}px`),{data:{x:p,y:m}}}});function de(t){const[e,n="center"]=t.split("-");return[e,n]}var kn=se,Nn=le,Fn=fe,Hn=ue;export{Nn as A,Fn as C,kn as R,Hn as a,Sn as c};
@@ -1 +1 @@
1
- import{D as i,y as x,u as c,A as P,h as q,q as O}from"./register-UPPkNx4_.js";import{c as h}from"./index-CBrz5xtv.js";import{u as E,a as U}from"./index-B_YicyMI.js";import{a as V}from"./index-e40XmntS.js";import{D as W}from"./index-BXwd7woR.js";import{o as Z,u as j}from"./Combination-CRIC00Dq.js";import{h as z,F as B}from"./index-CfbfYKoe.js";import{u as J}from"./index-DHw7Mca8.js";import{c as F,A as N,C as Q,a as X,R as Y}from"./index-BfpHr_g8.js";import{P as oo}from"./index-DeeN0aYX.js";import{P as y}from"./index-OE2jEcid.js";import{P as D}from"./index-D3m2js6G.js";import{u as eo}from"./index-D_rsRlJv.js";var _="Popover",[b,Do]=V(_,[F]),g=F(),[ro,u]=b(_),w=o=>{const{__scopePopover:n,children:t,open:a,defaultOpen:e,onOpenChange:r,modal:s=!1}=o,p=g(n),v=P(null),[f,m]=q(!1),[C=!1,l]=eo({prop:a,defaultProp:e,onChange:r});return c(Y,{...p,children:c(ro,{scope:n,contentId:J(),triggerRef:v,open:C,onOpenChange:l,onOpenToggle:O(()=>l(A=>!A),[l]),hasCustomAnchor:f,onCustomAnchorAdd:O(()=>m(!0),[]),onCustomAnchorRemove:O(()=>m(!1),[]),modal:s,children:t})})};w.displayName=_;var M="PopoverAnchor",S=i((o,n)=>{const{__scopePopover:t,...a}=o,e=u(M,t),r=g(t),{onCustomAnchorAdd:s,onCustomAnchorRemove:p}=e;return x(()=>(s(),()=>p()),[s,p]),c(N,{...r,...a,ref:n})});S.displayName=M;var T="PopoverTrigger",I=i((o,n)=>{const{__scopePopover:t,...a}=o,e=u(T,t),r=g(t),s=E(n,e.triggerRef),p=c(D.button,{type:"button","aria-haspopup":"dialog","aria-expanded":e.open,"aria-controls":e.contentId,"data-state":$(e.open),...a,ref:s,onClick:h(o.onClick,e.onOpenToggle)});return e.hasCustomAnchor?p:c(N,{asChild:!0,...r,children:p})});I.displayName=T;var R="PopoverPortal",[to,no]=b(R,{forceMount:void 0}),k=o=>{const{__scopePopover:n,forceMount:t,children:a,container:e}=o,r=u(R,n);return c(to,{scope:n,forceMount:t,children:c(y,{present:t||r.open,children:c(oo,{asChild:!0,container:e,children:a})})})};k.displayName=R;var d="PopoverContent",L=i((o,n)=>{const t=no(d,o.__scopePopover),{forceMount:a=t.forceMount,...e}=o,r=u(d,o.__scopePopover);return c(y,{present:a||r.open,children:r.modal?c(ao,{...e,ref:n}):c(so,{...e,ref:n})})});L.displayName=d;var ao=i((o,n)=>{const t=u(d,o.__scopePopover),a=P(null),e=E(n,a),r=P(!1);return x(()=>{const s=a.current;if(s)return z(s)},[]),c(Z,{as:U,allowPinchZoom:!0,children:c(G,{...o,ref:e,trapFocus:t.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:h(o.onCloseAutoFocus,s=>{s.preventDefault(),r.current||t.triggerRef.current?.focus()}),onPointerDownOutside:h(o.onPointerDownOutside,s=>{const p=s.detail.originalEvent,v=p.button===0&&p.ctrlKey===!0,f=p.button===2||v;r.current=f},{checkForDefaultPrevented:!1}),onFocusOutside:h(o.onFocusOutside,s=>s.preventDefault(),{checkForDefaultPrevented:!1})})})}),so=i((o,n)=>{const t=u(d,o.__scopePopover),a=P(!1),e=P(!1);return c(G,{...o,ref:n,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:r=>{o.onCloseAutoFocus?.(r),r.defaultPrevented||(a.current||t.triggerRef.current?.focus(),r.preventDefault()),a.current=!1,e.current=!1},onInteractOutside:r=>{o.onInteractOutside?.(r),r.defaultPrevented||(a.current=!0,r.detail.originalEvent.type==="pointerdown"&&(e.current=!0));const s=r.target;t.triggerRef.current?.contains(s)&&r.preventDefault(),r.detail.originalEvent.type==="focusin"&&e.current&&r.preventDefault()}})}),G=i((o,n)=>{const{__scopePopover:t,trapFocus:a,onOpenAutoFocus:e,onCloseAutoFocus:r,disableOutsidePointerEvents:s,onEscapeKeyDown:p,onPointerDownOutside:v,onFocusOutside:f,onInteractOutside:m,...C}=o,l=u(d,t),A=g(t);return j(),c(B,{asChild:!0,loop:!0,trapped:a,onMountAutoFocus:e,onUnmountAutoFocus:r,children:c(W,{asChild:!0,disableOutsidePointerEvents:s,onInteractOutside:m,onEscapeKeyDown:p,onPointerDownOutside:v,onFocusOutside:f,onDismiss:()=>l.onOpenChange(!1),children:c(Q,{"data-state":$(l.open),role:"dialog",id:l.contentId,...A,...C,ref:n,style:{...C.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),H="PopoverClose",co=i((o,n)=>{const{__scopePopover:t,...a}=o,e=u(H,t);return c(D.button,{type:"button",...a,ref:n,onClick:h(o.onClick,()=>e.onOpenChange(!1))})});co.displayName=H;var po="PopoverArrow",K=i((o,n)=>{const{__scopePopover:t,...a}=o,e=g(t);return c(X,{...e,...a,ref:n})});K.displayName=po;function $(o){return o?"open":"closed"}var io=w,uo=S,lo=I,vo=k,fo=L,Po=K;export{uo as A,fo as C,vo as P,io as R,lo as T,Po as a};
1
+ import{D as i,y as x,u as c,A as P,h as q,q as O}from"./register-q2a4hUWr.js";import{c as h}from"./index-CBrz5xtv.js";import{u as E,a as U}from"./index-DzgRZJb6.js";import{a as V}from"./index-yvefsybe.js";import{D as W}from"./index-f295ldbj.js";import{o as Z,u as j}from"./Combination-CdPx-UO4.js";import{h as z,F as B}from"./index-DYlYDYIf.js";import{u as J}from"./index-DRPfs38H.js";import{c as F,A as N,C as Q,a as X,R as Y}from"./index-DhA7j2BO.js";import{P as oo}from"./index-zPiJMCx5.js";import{P as y}from"./index-2Z5UdENF.js";import{P as D}from"./index-BcreLqeQ.js";import{u as eo}from"./index-XMehPuYo.js";var _="Popover",[b,Do]=V(_,[F]),g=F(),[ro,u]=b(_),w=o=>{const{__scopePopover:n,children:t,open:a,defaultOpen:e,onOpenChange:r,modal:s=!1}=o,p=g(n),v=P(null),[f,m]=q(!1),[C=!1,l]=eo({prop:a,defaultProp:e,onChange:r});return c(Y,{...p,children:c(ro,{scope:n,contentId:J(),triggerRef:v,open:C,onOpenChange:l,onOpenToggle:O(()=>l(A=>!A),[l]),hasCustomAnchor:f,onCustomAnchorAdd:O(()=>m(!0),[]),onCustomAnchorRemove:O(()=>m(!1),[]),modal:s,children:t})})};w.displayName=_;var M="PopoverAnchor",S=i((o,n)=>{const{__scopePopover:t,...a}=o,e=u(M,t),r=g(t),{onCustomAnchorAdd:s,onCustomAnchorRemove:p}=e;return x(()=>(s(),()=>p()),[s,p]),c(N,{...r,...a,ref:n})});S.displayName=M;var T="PopoverTrigger",I=i((o,n)=>{const{__scopePopover:t,...a}=o,e=u(T,t),r=g(t),s=E(n,e.triggerRef),p=c(D.button,{type:"button","aria-haspopup":"dialog","aria-expanded":e.open,"aria-controls":e.contentId,"data-state":$(e.open),...a,ref:s,onClick:h(o.onClick,e.onOpenToggle)});return e.hasCustomAnchor?p:c(N,{asChild:!0,...r,children:p})});I.displayName=T;var R="PopoverPortal",[to,no]=b(R,{forceMount:void 0}),k=o=>{const{__scopePopover:n,forceMount:t,children:a,container:e}=o,r=u(R,n);return c(to,{scope:n,forceMount:t,children:c(y,{present:t||r.open,children:c(oo,{asChild:!0,container:e,children:a})})})};k.displayName=R;var d="PopoverContent",L=i((o,n)=>{const t=no(d,o.__scopePopover),{forceMount:a=t.forceMount,...e}=o,r=u(d,o.__scopePopover);return c(y,{present:a||r.open,children:r.modal?c(ao,{...e,ref:n}):c(so,{...e,ref:n})})});L.displayName=d;var ao=i((o,n)=>{const t=u(d,o.__scopePopover),a=P(null),e=E(n,a),r=P(!1);return x(()=>{const s=a.current;if(s)return z(s)},[]),c(Z,{as:U,allowPinchZoom:!0,children:c(G,{...o,ref:e,trapFocus:t.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:h(o.onCloseAutoFocus,s=>{s.preventDefault(),r.current||t.triggerRef.current?.focus()}),onPointerDownOutside:h(o.onPointerDownOutside,s=>{const p=s.detail.originalEvent,v=p.button===0&&p.ctrlKey===!0,f=p.button===2||v;r.current=f},{checkForDefaultPrevented:!1}),onFocusOutside:h(o.onFocusOutside,s=>s.preventDefault(),{checkForDefaultPrevented:!1})})})}),so=i((o,n)=>{const t=u(d,o.__scopePopover),a=P(!1),e=P(!1);return c(G,{...o,ref:n,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:r=>{o.onCloseAutoFocus?.(r),r.defaultPrevented||(a.current||t.triggerRef.current?.focus(),r.preventDefault()),a.current=!1,e.current=!1},onInteractOutside:r=>{o.onInteractOutside?.(r),r.defaultPrevented||(a.current=!0,r.detail.originalEvent.type==="pointerdown"&&(e.current=!0));const s=r.target;t.triggerRef.current?.contains(s)&&r.preventDefault(),r.detail.originalEvent.type==="focusin"&&e.current&&r.preventDefault()}})}),G=i((o,n)=>{const{__scopePopover:t,trapFocus:a,onOpenAutoFocus:e,onCloseAutoFocus:r,disableOutsidePointerEvents:s,onEscapeKeyDown:p,onPointerDownOutside:v,onFocusOutside:f,onInteractOutside:m,...C}=o,l=u(d,t),A=g(t);return j(),c(B,{asChild:!0,loop:!0,trapped:a,onMountAutoFocus:e,onUnmountAutoFocus:r,children:c(W,{asChild:!0,disableOutsidePointerEvents:s,onInteractOutside:m,onEscapeKeyDown:p,onPointerDownOutside:v,onFocusOutside:f,onDismiss:()=>l.onOpenChange(!1),children:c(Q,{"data-state":$(l.open),role:"dialog",id:l.contentId,...A,...C,ref:n,style:{...C.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),H="PopoverClose",co=i((o,n)=>{const{__scopePopover:t,...a}=o,e=u(H,t);return c(D.button,{type:"button",...a,ref:n,onClick:h(o.onClick,()=>e.onOpenChange(!1))})});co.displayName=H;var po="PopoverArrow",K=i((o,n)=>{const{__scopePopover:t,...a}=o,e=g(t);return c(X,{...e,...a,ref:n})});K.displayName=po;function $(o){return o?"open":"closed"}var io=w,uo=S,lo=I,vo=k,fo=L,Po=K;export{uo as A,fo as C,vo as P,io as R,lo as T,Po as a};
@@ -1 +1 @@
1
- import{q as S,D as d,O as i,p as c,u as a,a as g,k as b}from"./register-UPPkNx4_.js";function m(n,e){if(typeof n=="function")return n(e);n!=null&&(n.current=e)}function f(...n){return e=>{let t=!1;const o=n.map(r=>{const s=m(r,e);return!t&&typeof s=="function"&&(t=!0),s});if(t)return()=>{for(let r=0;r<o.length;r++){const s=o[r];typeof s=="function"?s():m(n[r],null)}}}}function C(...n){return S(f(...n),n)}var h=d((n,e)=>{const{children:t,...o}=n,r=i.toArray(t),s=r.find(O);if(s){const l=s.props.children,u=r.map(y=>y===s?i.count(l)>1?i.only(null):c(l)?l.props.children:null:y);return a(p,{...o,ref:e,children:c(l)?g(l,void 0,u):null})}return a(p,{...o,ref:e,children:t})});h.displayName="Slot";var p=d((n,e)=>{const{children:t,...o}=n;if(c(t)){const r=W(t);return g(t,{...P(o,t.props),ref:e?f(e,r):r})}return i.count(t)>1?i.only(null):null});p.displayName="SlotClone";var R=({children:n})=>a(b,{children:n});function O(n){return c(n)&&n.type===R}function P(n,e){const t={...e};for(const o in e){const r=n[o],s=e[o];/^on[A-Z]/.test(o)?r&&s?t[o]=(...u)=>{s(...u),r(...u)}:r&&(t[o]=r):o==="style"?t[o]={...r,...s}:o==="className"&&(t[o]=[r,s].filter(Boolean).join(" "))}return{...n,...t}}function W(n){let e=Object.getOwnPropertyDescriptor(n.props,"ref")?.get,t=e&&"isReactWarning"in e&&e.isReactWarning;return t?n.ref:(e=Object.getOwnPropertyDescriptor(n,"ref")?.get,t=e&&"isReactWarning"in e&&e.isReactWarning,t?n.props.ref:n.props.ref||n.ref)}export{R as S,h as a,f as c,C as u};
1
+ import{q as S,D as d,O as i,p as c,u as a,a as g,k as b}from"./register-q2a4hUWr.js";function m(n,e){if(typeof n=="function")return n(e);n!=null&&(n.current=e)}function f(...n){return e=>{let t=!1;const o=n.map(r=>{const s=m(r,e);return!t&&typeof s=="function"&&(t=!0),s});if(t)return()=>{for(let r=0;r<o.length;r++){const s=o[r];typeof s=="function"?s():m(n[r],null)}}}}function C(...n){return S(f(...n),n)}var h=d((n,e)=>{const{children:t,...o}=n,r=i.toArray(t),s=r.find(O);if(s){const l=s.props.children,u=r.map(y=>y===s?i.count(l)>1?i.only(null):c(l)?l.props.children:null:y);return a(p,{...o,ref:e,children:c(l)?g(l,void 0,u):null})}return a(p,{...o,ref:e,children:t})});h.displayName="Slot";var p=d((n,e)=>{const{children:t,...o}=n;if(c(t)){const r=W(t);return g(t,{...P(o,t.props),ref:e?f(e,r):r})}return i.count(t)>1?i.only(null):null});p.displayName="SlotClone";var R=({children:n})=>a(b,{children:n});function O(n){return c(n)&&n.type===R}function P(n,e){const t={...e};for(const o in e){const r=n[o],s=e[o];/^on[A-Z]/.test(o)?r&&s?t[o]=(...u)=>{s(...u),r(...u)}:r&&(t[o]=r):o==="style"?t[o]={...r,...s}:o==="className"&&(t[o]=[r,s].filter(Boolean).join(" "))}return{...n,...t}}function W(n){let e=Object.getOwnPropertyDescriptor(n.props,"ref")?.get,t=e&&"isReactWarning"in e&&e.isReactWarning;return t?n.ref:(e=Object.getOwnPropertyDescriptor(n,"ref")?.get,t=e&&"isReactWarning"in e&&e.isReactWarning,t?n.props.ref:n.props.ref||n.ref)}export{R as S,h as a,f as c,C as u};
@@ -1 +1 @@
1
- import{q as d,h,A as m,y as v}from"./register-UPPkNx4_.js";import{u as a}from"./index-BkS03YXF.js";function C({prop:t,defaultProp:l,onChange:s=()=>{}}){const[e,n]=S({defaultProp:l,onChange:s}),o=t!==void 0,f=o?t:e,r=a(s),i=d(c=>{if(o){const u=typeof c=="function"?c(t):c;u!==t&&r(u)}else n(c)},[o,t,n,r]);return[f,i]}function S({defaultProp:t,onChange:l}){const s=h(t),[e]=s,n=m(e),o=a(l);return v(()=>{n.current!==e&&(o(e),n.current=e)},[e,n,o]),s}export{C as u};
1
+ import{q as d,h,A as m,y as v}from"./register-q2a4hUWr.js";import{u as a}from"./index-CHknjjXQ.js";function C({prop:t,defaultProp:l,onChange:s=()=>{}}){const[e,n]=S({defaultProp:l,onChange:s}),o=t!==void 0,f=o?t:e,r=a(s),i=d(c=>{if(o){const u=typeof c=="function"?c(t):c;u!==t&&r(u)}else n(c)},[o,t,n,r]);return[f,i]}function S({defaultProp:t,onChange:l}){const s=h(t),[e]=s,n=m(e),o=a(l);return v(()=>{n.current!==e&&(o(e),n.current=e)},[e,n,o]),s}export{C as u};
@@ -1,4 +1,4 @@
1
- import{D as u,u as i,A as g,y as _,k as A,q as K,O as U}from"./register-UPPkNx4_.js";import{c as f}from"./index-CBrz5xtv.js";import{u as h,a as Y}from"./index-B_YicyMI.js";import{a as Z,c as j}from"./index-e40XmntS.js";import{u as P}from"./index-DHw7Mca8.js";import{u as z}from"./index-D_rsRlJv.js";import{D as J}from"./index-BXwd7woR.js";import{h as Q,F as X}from"./index-CfbfYKoe.js";import{P as ee}from"./index-DeeN0aYX.js";import{P as y}from"./index-OE2jEcid.js";import{P as m}from"./index-D3m2js6G.js";import{o as te,u as oe}from"./Combination-CRIC00Dq.js";var N="Dialog",[R,ne]=Z(N),[re,l]=R(N),T=e=>{const{__scopeDialog:o,children:r,open:a,defaultOpen:n,onOpenChange:t,modal:c=!0}=e,s=g(null),p=g(null),[v=!1,C]=z({prop:a,defaultProp:n,onChange:t});return i(re,{scope:o,triggerRef:s,contentRef:p,contentId:P(),titleId:P(),descriptionId:P(),open:v,onOpenChange:C,onOpenToggle:K(()=>C(V=>!V),[C]),modal:c,children:r})};T.displayName=N;var x="DialogTrigger",b=u((e,o)=>{const{__scopeDialog:r,...a}=e,n=l(x,r),t=h(o,n.triggerRef);return i(m.button,{type:"button","aria-haspopup":"dialog","aria-expanded":n.open,"aria-controls":n.contentId,"data-state":I(n.open),...a,ref:t,onClick:f(e.onClick,n.onOpenToggle)})});b.displayName=x;var O="DialogPortal",[ae,M]=R(O,{forceMount:void 0}),F=e=>{const{__scopeDialog:o,forceMount:r,children:a,container:n}=e,t=l(O,o);return i(ae,{scope:o,forceMount:r,children:U.map(a,c=>i(y,{present:r||t.open,children:i(ee,{asChild:!0,container:n,children:c})}))})};F.displayName=O;var D="DialogOverlay",S=u((e,o)=>{const r=M(D,e.__scopeDialog),{forceMount:a=r.forceMount,...n}=e,t=l(D,e.__scopeDialog);return t.modal?i(y,{present:a||t.open,children:i(ie,{...n,ref:o})}):null});S.displayName=D;var ie=u((e,o)=>{const{__scopeDialog:r,...a}=e,n=l(D,r);return i(te,{as:Y,allowPinchZoom:!0,shards:[n.contentRef],children:i(m.div,{"data-state":I(n.open),...a,ref:o,style:{pointerEvents:"auto",...a.style}})})}),d="DialogContent",W=u((e,o)=>{const r=M(d,e.__scopeDialog),{forceMount:a=r.forceMount,...n}=e,t=l(d,e.__scopeDialog);return i(y,{present:a||t.open,children:t.modal?i(se,{...n,ref:o}):i(ce,{...n,ref:o})})});W.displayName=d;var se=u((e,o)=>{const r=l(d,e.__scopeDialog),a=g(null),n=h(o,r.contentRef,a);return _(()=>{const t=a.current;if(t)return Q(t)},[]),i(k,{...e,ref:n,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:f(e.onCloseAutoFocus,t=>{t.preventDefault(),r.triggerRef.current?.focus()}),onPointerDownOutside:f(e.onPointerDownOutside,t=>{const c=t.detail.originalEvent,s=c.button===0&&c.ctrlKey===!0;(c.button===2||s)&&t.preventDefault()}),onFocusOutside:f(e.onFocusOutside,t=>t.preventDefault())})}),ce=u((e,o)=>{const r=l(d,e.__scopeDialog),a=g(!1),n=g(!1);return i(k,{...e,ref:o,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(a.current||r.triggerRef.current?.focus(),t.preventDefault()),a.current=!1,n.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(a.current=!0,t.detail.originalEvent.type==="pointerdown"&&(n.current=!0));const c=t.target;r.triggerRef.current?.contains(c)&&t.preventDefault(),t.detail.originalEvent.type==="focusin"&&n.current&&t.preventDefault()}})}),k=u((e,o)=>{const{__scopeDialog:r,trapFocus:a,onOpenAutoFocus:n,onCloseAutoFocus:t,...c}=e,s=l(d,r),p=g(null),v=h(o,p);return oe(),i(A,{children:[i(X,{asChild:!0,loop:!0,trapped:a,onMountAutoFocus:n,onUnmountAutoFocus:t,children:i(J,{role:"dialog",id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":I(s.open),...c,ref:v,onDismiss:()=>s.onOpenChange(!1)})}),i(A,{children:[i(ue,{titleId:s.titleId}),i(ge,{contentRef:p,descriptionId:s.descriptionId})]})]})}),E="DialogTitle",w=u((e,o)=>{const{__scopeDialog:r,...a}=e,n=l(E,r);return i(m.h2,{id:n.titleId,...a,ref:o})});w.displayName=E;var G="DialogDescription",L=u((e,o)=>{const{__scopeDialog:r,...a}=e,n=l(G,r);return i(m.p,{id:n.descriptionId,...a,ref:o})});L.displayName=G;var $="DialogClose",B=u((e,o)=>{const{__scopeDialog:r,...a}=e,n=l($,r);return i(m.button,{type:"button",...a,ref:o,onClick:f(e.onClick,()=>n.onOpenChange(!1))})});B.displayName=$;function I(e){return e?"open":"closed"}var q="DialogTitleWarning",[le,H]=j(q,{contentName:d,titleName:E,docsSlug:"dialog"}),ue=({titleId:e})=>{const o=H(q),r=`\`${o.contentName}\` requires a \`${o.titleName}\` for the component to be accessible for screen reader users.
1
+ import{D as u,u as i,A as g,y as _,k as A,q as K,O as U}from"./register-q2a4hUWr.js";import{c as f}from"./index-CBrz5xtv.js";import{u as h,a as Y}from"./index-DzgRZJb6.js";import{a as Z,c as j}from"./index-yvefsybe.js";import{u as P}from"./index-DRPfs38H.js";import{u as z}from"./index-XMehPuYo.js";import{D as J}from"./index-f295ldbj.js";import{h as Q,F as X}from"./index-DYlYDYIf.js";import{P as ee}from"./index-zPiJMCx5.js";import{P as y}from"./index-2Z5UdENF.js";import{P as m}from"./index-BcreLqeQ.js";import{o as te,u as oe}from"./Combination-CdPx-UO4.js";var N="Dialog",[R,ne]=Z(N),[re,l]=R(N),T=e=>{const{__scopeDialog:o,children:r,open:a,defaultOpen:n,onOpenChange:t,modal:c=!0}=e,s=g(null),p=g(null),[v=!1,C]=z({prop:a,defaultProp:n,onChange:t});return i(re,{scope:o,triggerRef:s,contentRef:p,contentId:P(),titleId:P(),descriptionId:P(),open:v,onOpenChange:C,onOpenToggle:K(()=>C(V=>!V),[C]),modal:c,children:r})};T.displayName=N;var x="DialogTrigger",b=u((e,o)=>{const{__scopeDialog:r,...a}=e,n=l(x,r),t=h(o,n.triggerRef);return i(m.button,{type:"button","aria-haspopup":"dialog","aria-expanded":n.open,"aria-controls":n.contentId,"data-state":I(n.open),...a,ref:t,onClick:f(e.onClick,n.onOpenToggle)})});b.displayName=x;var O="DialogPortal",[ae,M]=R(O,{forceMount:void 0}),F=e=>{const{__scopeDialog:o,forceMount:r,children:a,container:n}=e,t=l(O,o);return i(ae,{scope:o,forceMount:r,children:U.map(a,c=>i(y,{present:r||t.open,children:i(ee,{asChild:!0,container:n,children:c})}))})};F.displayName=O;var D="DialogOverlay",S=u((e,o)=>{const r=M(D,e.__scopeDialog),{forceMount:a=r.forceMount,...n}=e,t=l(D,e.__scopeDialog);return t.modal?i(y,{present:a||t.open,children:i(ie,{...n,ref:o})}):null});S.displayName=D;var ie=u((e,o)=>{const{__scopeDialog:r,...a}=e,n=l(D,r);return i(te,{as:Y,allowPinchZoom:!0,shards:[n.contentRef],children:i(m.div,{"data-state":I(n.open),...a,ref:o,style:{pointerEvents:"auto",...a.style}})})}),d="DialogContent",W=u((e,o)=>{const r=M(d,e.__scopeDialog),{forceMount:a=r.forceMount,...n}=e,t=l(d,e.__scopeDialog);return i(y,{present:a||t.open,children:t.modal?i(se,{...n,ref:o}):i(ce,{...n,ref:o})})});W.displayName=d;var se=u((e,o)=>{const r=l(d,e.__scopeDialog),a=g(null),n=h(o,r.contentRef,a);return _(()=>{const t=a.current;if(t)return Q(t)},[]),i(k,{...e,ref:n,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:f(e.onCloseAutoFocus,t=>{t.preventDefault(),r.triggerRef.current?.focus()}),onPointerDownOutside:f(e.onPointerDownOutside,t=>{const c=t.detail.originalEvent,s=c.button===0&&c.ctrlKey===!0;(c.button===2||s)&&t.preventDefault()}),onFocusOutside:f(e.onFocusOutside,t=>t.preventDefault())})}),ce=u((e,o)=>{const r=l(d,e.__scopeDialog),a=g(!1),n=g(!1);return i(k,{...e,ref:o,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(a.current||r.triggerRef.current?.focus(),t.preventDefault()),a.current=!1,n.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(a.current=!0,t.detail.originalEvent.type==="pointerdown"&&(n.current=!0));const c=t.target;r.triggerRef.current?.contains(c)&&t.preventDefault(),t.detail.originalEvent.type==="focusin"&&n.current&&t.preventDefault()}})}),k=u((e,o)=>{const{__scopeDialog:r,trapFocus:a,onOpenAutoFocus:n,onCloseAutoFocus:t,...c}=e,s=l(d,r),p=g(null),v=h(o,p);return oe(),i(A,{children:[i(X,{asChild:!0,loop:!0,trapped:a,onMountAutoFocus:n,onUnmountAutoFocus:t,children:i(J,{role:"dialog",id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":I(s.open),...c,ref:v,onDismiss:()=>s.onOpenChange(!1)})}),i(A,{children:[i(ue,{titleId:s.titleId}),i(ge,{contentRef:p,descriptionId:s.descriptionId})]})]})}),E="DialogTitle",w=u((e,o)=>{const{__scopeDialog:r,...a}=e,n=l(E,r);return i(m.h2,{id:n.titleId,...a,ref:o})});w.displayName=E;var G="DialogDescription",L=u((e,o)=>{const{__scopeDialog:r,...a}=e,n=l(G,r);return i(m.p,{id:n.descriptionId,...a,ref:o})});L.displayName=G;var $="DialogClose",B=u((e,o)=>{const{__scopeDialog:r,...a}=e,n=l($,r);return i(m.button,{type:"button",...a,ref:o,onClick:f(e.onClick,()=>n.onOpenChange(!1))})});B.displayName=$;function I(e){return e?"open":"closed"}var q="DialogTitleWarning",[le,H]=j(q,{contentName:d,titleName:E,docsSlug:"dialog"}),ue=({titleId:e})=>{const o=H(q),r=`\`${o.contentName}\` requires a \`${o.titleName}\` for the component to be accessible for screen reader users.
2
2
 
3
3
  If you want to hide the \`${o.titleName}\`, you can wrap it with our VisuallyHidden component.
4
4
 
@@ -1 +1 @@
1
- import{y as l,J,D as g,x as B,h as T,u as R,A as y}from"./register-UPPkNx4_.js";import{c as p}from"./index-CBrz5xtv.js";import{P as F,d as X}from"./index-D3m2js6G.js";import{u as I}from"./index-B_YicyMI.js";import{u as m}from"./index-BkS03YXF.js";function Y(s,e=globalThis?.document){const t=m(s);l(()=>{const i=n=>{n.key==="Escape"&&t(n)};return e.addEventListener("keydown",i,{capture:!0}),()=>e.removeEventListener("keydown",i,{capture:!0})},[t,e])}var j="DismissableLayer",b="dismissableLayer.update",q="dismissableLayer.pointerDownOutside",G="dismissableLayer.focusOutside",A,W=J({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),D=g((s,e)=>{const{disableOutsidePointerEvents:t=!1,onEscapeKeyDown:i,onPointerDownOutside:n,onFocusOutside:a,onInteractOutside:f,onDismiss:d,...v}=s,o=B(W),[c,S]=T(null),u=c?.ownerDocument??globalThis?.document,[,_]=T({}),U=I(e,r=>S(r)),P=Array.from(o.layers),[z]=[...o.layersWithOutsidePointerEventsDisabled].slice(-1),H=P.indexOf(z),O=c?P.indexOf(c):-1,K=o.layersWithOutsidePointerEventsDisabled.size>0,L=O>=H,M=V(r=>{const E=r.target,w=[...o.branches].some(h=>h.contains(E));!L||w||(n?.(r),f?.(r),r.defaultPrevented||d?.())},u),C=Z(r=>{const E=r.target;[...o.branches].some(h=>h.contains(E))||(a?.(r),f?.(r),r.defaultPrevented||d?.())},u);return Y(r=>{O===o.layers.size-1&&(i?.(r),!r.defaultPrevented&&d&&(r.preventDefault(),d()))},u),l(()=>{if(c)return t&&(o.layersWithOutsidePointerEventsDisabled.size===0&&(A=u.body.style.pointerEvents,u.body.style.pointerEvents="none"),o.layersWithOutsidePointerEventsDisabled.add(c)),o.layers.add(c),x(),()=>{t&&o.layersWithOutsidePointerEventsDisabled.size===1&&(u.body.style.pointerEvents=A)}},[c,u,t,o]),l(()=>()=>{c&&(o.layers.delete(c),o.layersWithOutsidePointerEventsDisabled.delete(c),x())},[c,o]),l(()=>{const r=()=>_({});return document.addEventListener(b,r),()=>document.removeEventListener(b,r)},[]),R(F.div,{...v,ref:U,style:{pointerEvents:K?L?"auto":"none":void 0,...s.style},onFocusCapture:p(s.onFocusCapture,C.onFocusCapture),onBlurCapture:p(s.onBlurCapture,C.onBlurCapture),onPointerDownCapture:p(s.onPointerDownCapture,M.onPointerDownCapture)})});D.displayName=j;var Q="DismissableLayerBranch",k=g((s,e)=>{const t=B(W),i=y(null),n=I(e,i);return l(()=>{const a=i.current;if(a)return t.branches.add(a),()=>{t.branches.delete(a)}},[t.branches]),R(F.div,{...s,ref:n})});k.displayName=Q;function V(s,e=globalThis?.document){const t=m(s),i=y(!1),n=y(()=>{});return l(()=>{const a=d=>{if(d.target&&!i.current){let v=function(){N(q,t,o,{discrete:!0})};const o={originalEvent:d};d.pointerType==="touch"?(e.removeEventListener("click",n.current),n.current=v,e.addEventListener("click",n.current,{once:!0})):v()}else e.removeEventListener("click",n.current);i.current=!1},f=window.setTimeout(()=>{e.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(f),e.removeEventListener("pointerdown",a),e.removeEventListener("click",n.current)}},[e,t]),{onPointerDownCapture:()=>i.current=!0}}function Z(s,e=globalThis?.document){const t=m(s),i=y(!1);return l(()=>{const n=a=>{a.target&&!i.current&&N(G,t,{originalEvent:a},{discrete:!1})};return e.addEventListener("focusin",n),()=>e.removeEventListener("focusin",n)},[e,t]),{onFocusCapture:()=>i.current=!0,onBlurCapture:()=>i.current=!1}}function x(){const s=new CustomEvent(b);document.dispatchEvent(s)}function N(s,e,t,{discrete:i}){const n=t.originalEvent.target,a=new CustomEvent(s,{bubbles:!1,cancelable:!0,detail:t});e&&n.addEventListener(s,e,{once:!0}),i?X(n,a):n.dispatchEvent(a)}var $=D,ee=k;export{ee as B,D,$ as R};
1
+ import{y as l,J,D as g,x as B,h as T,u as R,A as y}from"./register-q2a4hUWr.js";import{c as p}from"./index-CBrz5xtv.js";import{P as F,d as X}from"./index-BcreLqeQ.js";import{u as I}from"./index-DzgRZJb6.js";import{u as m}from"./index-CHknjjXQ.js";function Y(s,e=globalThis?.document){const t=m(s);l(()=>{const i=n=>{n.key==="Escape"&&t(n)};return e.addEventListener("keydown",i,{capture:!0}),()=>e.removeEventListener("keydown",i,{capture:!0})},[t,e])}var j="DismissableLayer",b="dismissableLayer.update",q="dismissableLayer.pointerDownOutside",G="dismissableLayer.focusOutside",A,W=J({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),D=g((s,e)=>{const{disableOutsidePointerEvents:t=!1,onEscapeKeyDown:i,onPointerDownOutside:n,onFocusOutside:a,onInteractOutside:f,onDismiss:d,...v}=s,o=B(W),[c,S]=T(null),u=c?.ownerDocument??globalThis?.document,[,_]=T({}),U=I(e,r=>S(r)),P=Array.from(o.layers),[z]=[...o.layersWithOutsidePointerEventsDisabled].slice(-1),H=P.indexOf(z),O=c?P.indexOf(c):-1,K=o.layersWithOutsidePointerEventsDisabled.size>0,L=O>=H,M=V(r=>{const E=r.target,w=[...o.branches].some(h=>h.contains(E));!L||w||(n?.(r),f?.(r),r.defaultPrevented||d?.())},u),C=Z(r=>{const E=r.target;[...o.branches].some(h=>h.contains(E))||(a?.(r),f?.(r),r.defaultPrevented||d?.())},u);return Y(r=>{O===o.layers.size-1&&(i?.(r),!r.defaultPrevented&&d&&(r.preventDefault(),d()))},u),l(()=>{if(c)return t&&(o.layersWithOutsidePointerEventsDisabled.size===0&&(A=u.body.style.pointerEvents,u.body.style.pointerEvents="none"),o.layersWithOutsidePointerEventsDisabled.add(c)),o.layers.add(c),x(),()=>{t&&o.layersWithOutsidePointerEventsDisabled.size===1&&(u.body.style.pointerEvents=A)}},[c,u,t,o]),l(()=>()=>{c&&(o.layers.delete(c),o.layersWithOutsidePointerEventsDisabled.delete(c),x())},[c,o]),l(()=>{const r=()=>_({});return document.addEventListener(b,r),()=>document.removeEventListener(b,r)},[]),R(F.div,{...v,ref:U,style:{pointerEvents:K?L?"auto":"none":void 0,...s.style},onFocusCapture:p(s.onFocusCapture,C.onFocusCapture),onBlurCapture:p(s.onBlurCapture,C.onBlurCapture),onPointerDownCapture:p(s.onPointerDownCapture,M.onPointerDownCapture)})});D.displayName=j;var Q="DismissableLayerBranch",k=g((s,e)=>{const t=B(W),i=y(null),n=I(e,i);return l(()=>{const a=i.current;if(a)return t.branches.add(a),()=>{t.branches.delete(a)}},[t.branches]),R(F.div,{...s,ref:n})});k.displayName=Q;function V(s,e=globalThis?.document){const t=m(s),i=y(!1),n=y(()=>{});return l(()=>{const a=d=>{if(d.target&&!i.current){let v=function(){N(q,t,o,{discrete:!0})};const o={originalEvent:d};d.pointerType==="touch"?(e.removeEventListener("click",n.current),n.current=v,e.addEventListener("click",n.current,{once:!0})):v()}else e.removeEventListener("click",n.current);i.current=!1},f=window.setTimeout(()=>{e.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(f),e.removeEventListener("pointerdown",a),e.removeEventListener("click",n.current)}},[e,t]),{onPointerDownCapture:()=>i.current=!0}}function Z(s,e=globalThis?.document){const t=m(s),i=y(!1);return l(()=>{const n=a=>{a.target&&!i.current&&N(G,t,{originalEvent:a},{discrete:!1})};return e.addEventListener("focusin",n),()=>e.removeEventListener("focusin",n)},[e,t]),{onFocusCapture:()=>i.current=!0,onBlurCapture:()=>i.current=!1}}function x(){const s=new CustomEvent(b);document.dispatchEvent(s)}function N(s,e,t,{discrete:i}){const n=t.originalEvent.target,a=new CustomEvent(s,{bubbles:!1,cancelable:!0,detail:t});e&&n.addEventListener(s,e,{once:!0}),i?X(n,a):n.dispatchEvent(a)}var $=D,ee=k;export{ee as B,D,$ as R};
@@ -1 +1 @@
1
- import{D as m,u as d,A as R,y as x}from"./register-UPPkNx4_.js";import{c as f}from"./index-CBrz5xtv.js";import{a as D}from"./index-e40XmntS.js";import{c as I,u as E,R as V,I as G}from"./index-BToRUvGa.js";import{P as L}from"./index-OE2jEcid.js";import{P as p}from"./index-D3m2js6G.js";import{u as w}from"./index-D_rsRlJv.js";import{u as $}from"./index-DHw7Mca8.js";var T="Tabs",[k,Y]=D(T,[I]),h=I(),[K,g]=k(T),C=m((e,n)=>{const{__scopeTabs:s,value:t,onValueChange:r,defaultValue:c,orientation:a="horizontal",dir:u,activationMode:v="automatic",...b}=e,i=E(u),[o,l]=w({prop:t,onChange:r,defaultProp:c});return d(K,{scope:s,baseId:$(),value:o,onValueChange:l,orientation:a,dir:i,activationMode:v,children:d(p.div,{dir:i,"data-orientation":a,...b,ref:n})})});C.displayName=T;var y="TabsList",A=m((e,n)=>{const{__scopeTabs:s,loop:t=!0,...r}=e,c=g(y,s),a=h(s);return d(V,{asChild:!0,...a,orientation:c.orientation,dir:c.dir,loop:t,children:d(p.div,{role:"tablist","aria-orientation":c.orientation,...r,ref:n})})});A.displayName=y;var _="TabsTrigger",P=m((e,n)=>{const{__scopeTabs:s,value:t,disabled:r=!1,...c}=e,a=g(_,s),u=h(s),v=N(a.baseId,t),b=F(a.baseId,t),i=t===a.value;return d(G,{asChild:!0,...u,focusable:!r,active:i,children:d(p.button,{type:"button",role:"tab","aria-selected":i,"aria-controls":b,"data-state":i?"active":"inactive","data-disabled":r?"":void 0,disabled:r,id:v,...c,ref:n,onMouseDown:f(e.onMouseDown,o=>{!r&&o.button===0&&o.ctrlKey===!1?a.onValueChange(t):o.preventDefault()}),onKeyDown:f(e.onKeyDown,o=>{[" ","Enter"].includes(o.key)&&a.onValueChange(t)}),onFocus:f(e.onFocus,()=>{const o=a.activationMode!=="manual";!i&&!r&&o&&a.onValueChange(t)})})})});P.displayName=_;var S="TabsContent",M=m((e,n)=>{const{__scopeTabs:s,value:t,forceMount:r,children:c,...a}=e,u=g(S,s),v=N(u.baseId,t),b=F(u.baseId,t),i=t===u.value,o=R(i);return x(()=>{const l=requestAnimationFrame(()=>o.current=!1);return()=>cancelAnimationFrame(l)},[]),d(L,{present:r||i,children:({present:l})=>d(p.div,{"data-state":i?"active":"inactive","data-orientation":u.orientation,role:"tabpanel","aria-labelledby":v,hidden:!l,id:b,tabIndex:0,...a,ref:n,style:{...e.style,animationDuration:o.current?"0s":void 0},children:l&&c})})});M.displayName=S;function N(e,n){return`${e}-trigger-${n}`}function F(e,n){return`${e}-content-${n}`}var B=C,q=A,z=P;export{q as L,B as R,M as T,z as a};
1
+ import{D as m,u as d,A as R,y as x}from"./register-q2a4hUWr.js";import{c as f}from"./index-CBrz5xtv.js";import{a as D}from"./index-yvefsybe.js";import{c as I,u as E,R as V,I as G}from"./index-DOs84oyu.js";import{P as L}from"./index-2Z5UdENF.js";import{P as p}from"./index-BcreLqeQ.js";import{u as w}from"./index-XMehPuYo.js";import{u as $}from"./index-DRPfs38H.js";var T="Tabs",[k,Y]=D(T,[I]),h=I(),[K,g]=k(T),C=m((e,n)=>{const{__scopeTabs:s,value:t,onValueChange:r,defaultValue:c,orientation:a="horizontal",dir:u,activationMode:v="automatic",...b}=e,i=E(u),[o,l]=w({prop:t,onChange:r,defaultProp:c});return d(K,{scope:s,baseId:$(),value:o,onValueChange:l,orientation:a,dir:i,activationMode:v,children:d(p.div,{dir:i,"data-orientation":a,...b,ref:n})})});C.displayName=T;var y="TabsList",A=m((e,n)=>{const{__scopeTabs:s,loop:t=!0,...r}=e,c=g(y,s),a=h(s);return d(V,{asChild:!0,...a,orientation:c.orientation,dir:c.dir,loop:t,children:d(p.div,{role:"tablist","aria-orientation":c.orientation,...r,ref:n})})});A.displayName=y;var _="TabsTrigger",P=m((e,n)=>{const{__scopeTabs:s,value:t,disabled:r=!1,...c}=e,a=g(_,s),u=h(s),v=N(a.baseId,t),b=F(a.baseId,t),i=t===a.value;return d(G,{asChild:!0,...u,focusable:!r,active:i,children:d(p.button,{type:"button",role:"tab","aria-selected":i,"aria-controls":b,"data-state":i?"active":"inactive","data-disabled":r?"":void 0,disabled:r,id:v,...c,ref:n,onMouseDown:f(e.onMouseDown,o=>{!r&&o.button===0&&o.ctrlKey===!1?a.onValueChange(t):o.preventDefault()}),onKeyDown:f(e.onKeyDown,o=>{[" ","Enter"].includes(o.key)&&a.onValueChange(t)}),onFocus:f(e.onFocus,()=>{const o=a.activationMode!=="manual";!i&&!r&&o&&a.onValueChange(t)})})})});P.displayName=_;var S="TabsContent",M=m((e,n)=>{const{__scopeTabs:s,value:t,forceMount:r,children:c,...a}=e,u=g(S,s),v=N(u.baseId,t),b=F(u.baseId,t),i=t===u.value,o=R(i);return x(()=>{const l=requestAnimationFrame(()=>o.current=!1);return()=>cancelAnimationFrame(l)},[]),d(L,{present:r||i,children:({present:l})=>d(p.div,{"data-state":i?"active":"inactive","data-orientation":u.orientation,role:"tabpanel","aria-labelledby":v,hidden:!l,id:b,tabIndex:0,...a,ref:n,style:{...e.style,animationDuration:o.current?"0s":void 0},children:l&&c})})});M.displayName=S;function N(e,n){return`${e}-trigger-${n}`}function F(e,n){return`${e}-content-${n}`}var B=C,q=A,z=P;export{q as L,B as R,M as T,z as a};
@@ -1 +1 @@
1
- import{J as S,T as a,u as P,x as l}from"./register-UPPkNx4_.js";function w(t,c){const o=S(c),i=r=>{const{children:e,...n}=r,s=a(()=>n,Object.values(n));return P(o.Provider,{value:s,children:e})};i.displayName=t+"Provider";function u(r){const e=l(o);if(e)return e;if(c!==void 0)return c;throw new Error(`\`${r}\` must be used within \`${t}\``)}return[i,u]}function C(t,c=[]){let o=[];function i(r,e){const n=S(e),s=o.length;o=[...o,e];const d=p=>{const{scope:f,children:v,...x}=p,m=f?.[t]?.[s]||n,$=a(()=>x,Object.values(x));return P(m.Provider,{value:$,children:v})};d.displayName=r+"Provider";function h(p,f){const v=f?.[t]?.[s]||n,x=l(v);if(x)return x;if(e!==void 0)return e;throw new Error(`\`${p}\` must be used within \`${r}\``)}return[d,h]}const u=()=>{const r=o.map(e=>S(e));return function(n){const s=n?.[t]||r;return a(()=>({[`__scope${t}`]:{...n,[t]:s}}),[n,s])}};return u.scopeName=t,[i,_(u,...c)]}function _(...t){const c=t[0];if(t.length===1)return c;const o=()=>{const i=t.map(u=>({useScope:u(),scopeName:u.scopeName}));return function(r){const e=i.reduce((n,{useScope:s,scopeName:d})=>{const p=s(r)[`__scope${d}`];return{...n,...p}},{});return a(()=>({[`__scope${c.scopeName}`]:e}),[e])}};return o.scopeName=c.scopeName,o}export{C as a,w as c};
1
+ import{J as S,T as a,u as P,x as l}from"./register-q2a4hUWr.js";function w(t,c){const o=S(c),i=r=>{const{children:e,...n}=r,s=a(()=>n,Object.values(n));return P(o.Provider,{value:s,children:e})};i.displayName=t+"Provider";function u(r){const e=l(o);if(e)return e;if(c!==void 0)return c;throw new Error(`\`${r}\` must be used within \`${t}\``)}return[i,u]}function C(t,c=[]){let o=[];function i(r,e){const n=S(e),s=o.length;o=[...o,e];const d=p=>{const{scope:f,children:v,...x}=p,m=f?.[t]?.[s]||n,$=a(()=>x,Object.values(x));return P(m.Provider,{value:$,children:v})};d.displayName=r+"Provider";function h(p,f){const v=f?.[t]?.[s]||n,x=l(v);if(x)return x;if(e!==void 0)return e;throw new Error(`\`${p}\` must be used within \`${r}\``)}return[d,h]}const u=()=>{const r=o.map(e=>S(e));return function(n){const s=n?.[t]||r;return a(()=>({[`__scope${t}`]:{...n,[t]:s}}),[n,s])}};return u.scopeName=t,[i,_(u,...c)]}function _(...t){const c=t[0];if(t.length===1)return c;const o=()=>{const i=t.map(u=>({useScope:u(),scopeName:u.scopeName}));return function(r){const e=i.reduce((n,{useScope:s,scopeName:d})=>{const p=s(r)[`__scope${d}`];return{...n,...p}},{});return a(()=>({[`__scope${c.scopeName}`]:e}),[e])}};return o.scopeName=c.scopeName,o}export{C as a,w as c};
@@ -1 +1 @@
1
- import{D as t,a as n}from"./register-UPPkNx4_.js";const s="Portal",r=t((a,o)=>n(a.children,{ref:o}));r.displayName=s;export{r as P};
1
+ import{D as t,a as n}from"./register-q2a4hUWr.js";const s="Portal",r=t((a,o)=>n(a.children,{ref:o}));r.displayName=s;export{r as P};
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- import{m as i}from"./mapping-CUQ5oWV6.js";for(const[t,s]of Object.entries(i))customElements.get(t)||customElements.define(t,class extends HTMLElement{#i=!1;#t=!1;#s;#e;constructor(){super(),this.#e=import(`./components/${s}.js`).then(e=>{this.#s=e.default(this)})}connectedCallback(){this.#t||(this.style.visibility="hidden",this.#e.then(()=>{this.#t||(this.style.visibility="",this.#s?.connectedCallback(),this.#i=!0,this.classList.add("hydrated"))}))}disconnectedCallback(){if(!this.#i){this.#t=!0;return}this.#e.then(()=>{this.#s?.disconnectedCallback()})}});
1
+ import{m as i}from"./mapping-CtWZQHyQ.js";for(const[t,s]of Object.entries(i))customElements.get(t)||customElements.define(t,class extends HTMLElement{#i=!1;#t=!1;#s;#e;constructor(){super(),this.#e=import(`./components/${s}.js`).then(e=>{this.#s=e.default(this)})}connectedCallback(){this.#t||(this.style.visibility="hidden",this.#e.then(()=>{this.#t||(this.style.visibility="",this.#s?.connectedCallback(),this.#i=!0,this.classList.add("hydrated"))}))}disconnectedCallback(){if(!this.#i){this.#t=!0;return}this.#e.then(()=>{this.#s?.disconnectedCallback()})}});
@@ -0,0 +1 @@
1
+ import{i}from"./register-q2a4hUWr.js";i("@layer optiaxiom, optiaxiom.theme, optiaxiom.base, optiaxiom._16i5hvn, optiaxiom._5obs4g;");
@@ -0,0 +1 @@
1
+ var s={".":"./dist/index.js","./Alert":"./dist/components/Alert.js","./AlertDialog":"./dist/components/AlertDialog.js","./AlertDialogAction":"./dist/components/AlertDialogAction.js","./AlertDialogBody":"./dist/components/AlertDialogBody.js","./AlertDialogCancel":"./dist/components/AlertDialogCancel.js","./AlertDialogContent":"./dist/components/AlertDialogContent.js","./AlertDialogFooter":"./dist/components/AlertDialogFooter.js","./AlertDialogHeader":"./dist/components/AlertDialogHeader.js","./AlertDialogTrigger":"./dist/components/AlertDialogTrigger.js","./Avatar":"./dist/components/Avatar.js","./AvatarGroup":"./dist/components/AvatarGroup.js","./AxiomProvider":"./dist/components/AxiomProvider.js","./Badge":"./dist/components/Badge.js","./Banner":"./dist/components/Banner.js","./Box":"./dist/components/Box.js","./Button":"./dist/components/Button.js","./ButtonGroup":"./dist/components/ButtonGroup.js","./Checkbox":"./dist/components/Checkbox.js","./Code":"./dist/components/Code.js","./Dialog":"./dist/components/Dialog.js","./DialogBody":"./dist/components/DialogBody.js","./DialogClose":"./dist/components/DialogClose.js","./DialogContent":"./dist/components/DialogContent.js","./DialogFooter":"./dist/components/DialogFooter.js","./DialogForm":"./dist/components/DialogForm.js","./DialogHeader":"./dist/components/DialogHeader.js","./DialogTrigger":"./dist/components/DialogTrigger.js","./Disclosure":"./dist/components/Disclosure.js","./DisclosureContent":"./dist/components/DisclosureContent.js","./DisclosureTrigger":"./dist/components/DisclosureTrigger.js","./Drawer":"./dist/components/Drawer.js","./DrawerActions":"./dist/components/DrawerActions.js","./DrawerBody":"./dist/components/DrawerBody.js","./DrawerClose":"./dist/components/DrawerClose.js","./DrawerContent":"./dist/components/DrawerContent.js","./DrawerDescription":"./dist/components/DrawerDescription.js","./DrawerFooter":"./dist/components/DrawerFooter.js","./DrawerHeader":"./dist/components/DrawerHeader.js","./DrawerTitle":"./dist/components/DrawerTitle.js","./DrawerTrigger":"./dist/components/DrawerTrigger.js","./DropdownMenu":"./dist/components/DropdownMenu.js","./DropdownMenuCheckboxItem":"./dist/components/DropdownMenuCheckboxItem.js","./DropdownMenuContent":"./dist/components/DropdownMenuContent.js","./DropdownMenuGroup":"./dist/components/DropdownMenuGroup.js","./DropdownMenuItem":"./dist/components/DropdownMenuItem.js","./DropdownMenuLabel":"./dist/components/DropdownMenuLabel.js","./DropdownMenuSeparator":"./dist/components/DropdownMenuSeparator.js","./DropdownMenuSub":"./dist/components/DropdownMenuSub.js","./DropdownMenuSubContent":"./dist/components/DropdownMenuSubContent.js","./DropdownMenuSubTrigger":"./dist/components/DropdownMenuTrigger.js","./DropdownMenuTrigger":"./dist/components/DropdownMenuTrigger.js","./Field":"./dist/components/Field.js","./FieldLabel":"./dist/components/FieldLabel.js","./Flex":"./dist/components/Flex.js","./Grid":"./dist/components/Grid.js","./Heading":"./dist/components/Heading.js","./Indicator":"./dist/components/Indicator.js","./Input":"./dist/components/Input.js","./InputAddon":"./dist/components/InputAddon.js","./InputControl":"./dist/components/InputControl.js","./InputRoot":"./dist/components/InputRoot.js","./Kbd":"./dist/components/Kbd.js","./Link":"./dist/components/Link.js","./Listbox":"./dist/components/Listbox.js","./ListboxCheckboxItem":"./dist/components/ListboxCheckboxItem.js","./ListboxEmpty":"./dist/components/ListboxEmpty.js","./ListboxFooter":"./dist/components/ListboxFooter.js","./ListboxGroup":"./dist/components/ListboxGroup.js","./ListboxItem":"./dist/components/ListboxItem.js","./ListboxItemIndicator":"./dist/components/ListboxItemIndicator.js","./ListboxLabel":"./dist/components/ListboxLabel.js","./ListboxRadioItem":"./dist/components/ListboxRadioItem.js","./ListboxScrollArea":"./dist/components/ListboxScrollArea.js","./ListboxSeparator":"./dist/components/ListboxSeparator.js","./MenuButton":"./dist/components/MenuButton.js","./ModalLayer":"./dist/components/ModalLayer.js","./Nav":"./dist/components/Nav.js","./NavAccountItem":"./dist/components/NavAccountItem.js","./NavBody":"./dist/components/NavBody.js","./NavFooter":"./dist/components/NavFooter.js","./NavHeader":"./dist/components/NavHeader.js","./NavItem":"./dist/components/NavItem.js","./Pagination":"./dist/components/Pagination.js","./Paper":"./dist/components/Paper.js","./Popover":"./dist/components/Popover.js","./PopoverAnchor":"./dist/components/PopoverAnchor.js","./PopoverContent":"./dist/components/PopoverContent.js","./PopoverTrigger":"./dist/components/PopoverTrigger.js","./Progress":"./dist/components/Progress.js","./Radio":"./dist/components/Radio.js","./RadioGroup":"./dist/components/RadioGroup.js","./SearchInput":"./dist/components/SearchInput.js","./SegmentedControl":"./dist/components/SegmentedControl.js","./SegmentedControlItem":"./dist/components/SegmentedControlItem.js","./Separator":"./dist/components/Separator.js","./Sidebar":"./dist/components/Sidebar.js","./SidebarToggle":"./dist/components/SidebarToggle.js","./Skeleton":"./dist/components/Skeleton.js","./Spinner":"./dist/components/Spinner.js","./Switch":"./dist/components/Switch.js","./Tabs":"./dist/components/Tabs.js","./TabsContent":"./dist/components/TabsContent.js","./TabsList":"./dist/components/TabsList.js","./TabsTrigger":"./dist/components/TabsTrigger.js","./Text":"./dist/components/Text.js","./Textarea":"./dist/components/Textarea.js","./ThemeProvider":"./dist/components/ThemeProvider.js","./Toast":"./dist/components/Toast.js","./ToastAction":"./dist/components/ToastAction.js","./ToastTitle":"./dist/components/ToastTitle.js","./ToggleButton":"./dist/components/ToggleButton.js","./Tooltip":"./dist/components/Tooltip.js","./TooltipContent":"./dist/components/TooltipContent.js","./TooltipRoot":"./dist/components/TooltipRoot.js","./TooltipTrigger":"./dist/components/TooltipTrigger.js","./Transition":"./dist/components/Transition.js","./TransitionGroup":"./dist/components/TransitionGroup.js"};const n=Object.keys(s).filter(o=>o!==".").map(o=>["ax"+o.slice(2).replace(/[A-Z]/g,t=>"-"+t.toLowerCase()),o.slice(2)]),e=Object.fromEntries(n);export{e as m};
@@ -0,0 +1 @@
1
+ const p=({base:o={},variants:r,variantsCompounded:s=[]})=>(l,a)=>{const e=l??{},c=a?[a]:[],u={};function f(t){for(const n of Array.isArray(t)?t:[t])if(typeof n=="string")c.push(n);else for(const[i,y]of Object.entries(n))u[i]=y}f(o);for(const t in r){if(e[t]===null||e[t]===void 0)continue;const n=r[t],i=typeof e[t]=="boolean"?e[t]?"true":"false":e[t];String(i)in n&&f(n[i])}for(const{style:t,variants:n}of s)b(n,e)&&f(t);return{...u,className:c.join(" ")}},b=(o,r)=>{for(const s of Object.keys(o))if(o[s]!==r[s])return!1;return!0};export{p as y};
@@ -1,4 +1,4 @@
1
- import{m as Vt}from"./mapping-CUQ5oWV6.js";var V,p,Oe,T,Fe,Ie,ae,We,ce,se,fe,Ve,B={},Be=[],Bt=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Q=Array.isArray;function w(e,t){for(var n in t)e[n]=t[n];return e}function pe(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function C(e,t,n){var r,_,o,i={};for(o in t)o=="key"?r=t[o]:o=="ref"?_=t[o]:i[o]=t[o];if(arguments.length>2&&(i.children=arguments.length>3?V.call(arguments,2):n),typeof e=="function"&&e.defaultProps!=null)for(o in e.defaultProps)i[o]===void 0&&(i[o]=e.defaultProps[o]);return j(e,i,r,_,null)}function j(e,t,n,r,_){var o={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:_??++Oe,__i:-1,__u:0};return _==null&&p.vnode!=null&&p.vnode(o),o}function je(){return{current:null}}function E(e){return e.children}function k(e,t){this.props=e,this.context=t}function H(e,t){if(t==null)return e.__?H(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null)return n.__e;return typeof e.type=="function"?H(e):null}function ze(e){var t,n;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null){e.__e=e.__c.base=n.__e;break}return ze(e)}}function de(e){(!e.__d&&(e.__d=!0)&&T.push(e)&&!X.__r++||Fe!==p.debounceRendering)&&((Fe=p.debounceRendering)||Ie)(X)}function X(){var e,t,n,r,_,o,i,l;for(T.sort(ae);e=T.shift();)e.__d&&(t=T.length,r=void 0,o=(_=(n=e).__v).__e,i=[],l=[],n.__P&&((r=w({},_)).__v=_.__v+1,p.vnode&&p.vnode(r),he(n.__P,r,_,n.__n,n.__P.namespaceURI,32&_.__u?[o]:null,i,o??H(_),!!(32&_.__u),l),r.__v=_.__v,r.__.__k[r.__i]=r,Ze(i,r,l),r.__e!=o&&ze(r)),T.length>t&&T.sort(ae));X.__r=0}function qe(e,t,n,r,_,o,i,l,c,a,f){var u,d,s,b,$,g,m=r&&r.__k||Be,v=t.length;for(c=jt(n,t,m,c,v),u=0;u<v;u++)(s=n.__k[u])!=null&&(d=s.__i===-1?B:m[s.__i]||B,s.__i=u,g=he(e,s,d,_,o,i,l,c,a,f),b=s.__e,s.ref&&d.ref!=s.ref&&(d.ref&&me(d.ref,null,s),f.push(s.ref,s.__c||b,s)),$==null&&b!=null&&($=b),4&s.__u||d.__k===s.__k?c=Ge(s,c,e):typeof s.type=="function"&&g!==void 0?c=g:b&&(c=b.nextSibling),s.__u&=-7);return n.__e=$,c}function jt(e,t,n,r,_){var o,i,l,c,a,f=n.length,u=f,d=0;for(e.__k=new Array(_),o=0;o<_;o++)(i=t[o])!=null&&typeof i!="boolean"&&typeof i!="function"?(c=o+d,(i=e.__k[o]=typeof i=="string"||typeof i=="number"||typeof i=="bigint"||i.constructor==String?j(null,i,null,null,null):Q(i)?j(E,{children:i},null,null,null):i.constructor===void 0&&i.__b>0?j(i.type,i.props,i.key,i.ref?i.ref:null,i.__v):i).__=e,i.__b=e.__b+1,l=null,(a=i.__i=zt(i,n,c,u))!==-1&&(u--,(l=n[a])&&(l.__u|=2)),l==null||l.__v===null?(a==-1&&d--,typeof i.type!="function"&&(i.__u|=4)):a!=c&&(a==c-1?d--:a==c+1?d++:(a>c?d--:d++,i.__u|=4))):e.__k[o]=null;if(u)for(o=0;o<f;o++)(l=n[o])!=null&&!(2&l.__u)&&(l.__e==r&&(r=H(l)),Ke(l,l));return r}function Ge(e,t,n){var r,_;if(typeof e.type=="function"){for(r=e.__k,_=0;r&&_<r.length;_++)r[_]&&(r[_].__=e,t=Ge(r[_],t,n));return t}e.__e!=t&&(t&&e.type&&!n.contains(t)&&(t=H(e)),n.insertBefore(e.__e,t||null),t=e.__e);do t=t&&t.nextSibling;while(t!=null&&t.nodeType==8);return t}function S(e,t){return t=t||[],e==null||typeof e=="boolean"||(Q(e)?e.some(function(n){S(n,t)}):t.push(e)),t}function zt(e,t,n,r){var _,o,i=e.key,l=e.type,c=t[n];if(c===null||c&&i==c.key&&l===c.type&&!(2&c.__u))return n;if(r>(c!=null&&!(2&c.__u)?1:0))for(_=n-1,o=n+1;_>=0||o<t.length;){if(_>=0){if((c=t[_])&&!(2&c.__u)&&i==c.key&&l===c.type)return _;_--}if(o<t.length){if((c=t[o])&&!(2&c.__u)&&i==c.key&&l===c.type)return o;o++}}return-1}function Je(e,t,n){t[0]=="-"?e.setProperty(t,n??""):e[t]=n==null?"":typeof n!="number"||Bt.test(t)?n:n+"px"}function ee(e,t,n,r,_){var o;e:if(t=="style")if(typeof n=="string")e.style.cssText=n;else{if(typeof r=="string"&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||Je(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||Je(e.style,t,n[t])}else if(t[0]=="o"&&t[1]=="n")o=t!=(t=t.replace(We,"$1")),t=t.toLowerCase()in e||t=="onFocusOut"||t=="onFocusIn"?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+o]=n,n?r?n.u=r.u:(n.u=ce,e.addEventListener(t,o?fe:se,o)):e.removeEventListener(t,o?fe:se,o);else{if(_=="http://www.w3.org/2000/svg")t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!="width"&&t!="height"&&t!="href"&&t!="list"&&t!="form"&&t!="tabIndex"&&t!="download"&&t!="rowSpan"&&t!="colSpan"&&t!="role"&&t!="popover"&&t in e)try{e[t]=n??"";break e}catch{}typeof n=="function"||(n==null||n===!1&&t[4]!="-"?e.removeAttribute(t):e.setAttribute(t,t=="popover"&&n==1?"":n))}}function Ye(e){return function(t){if(this.l){var n=this.l[t.type+e];if(t.t==null)t.t=ce++;else if(t.t<n.u)return;return n(p.event?p.event(t):t)}}}function he(e,t,n,r,_,o,i,l,c,a){var f,u,d,s,b,$,g,m,v,F,R,Z,I,Me,K,ie,le,x=t.type;if(t.constructor!==void 0)return null;128&n.__u&&(c=!!(32&n.__u),o=[l=t.__e=n.__e]),(f=p.__b)&&f(t);e:if(typeof x=="function")try{if(m=t.props,v="prototype"in x&&x.prototype.render,F=(f=x.contextType)&&r[f.__c],R=f?F?F.props.value:f.__:r,n.__c?g=(u=t.__c=n.__c).__=u.__E:(v?t.__c=u=new x(m,R):(t.__c=u=new k(m,R),u.constructor=x,u.render=Gt),F&&F.sub(u),u.props=m,u.state||(u.state={}),u.context=R,u.__n=r,d=u.__d=!0,u.__h=[],u._sb=[]),v&&u.__s==null&&(u.__s=u.state),v&&x.getDerivedStateFromProps!=null&&(u.__s==u.state&&(u.__s=w({},u.__s)),w(u.__s,x.getDerivedStateFromProps(m,u.__s))),s=u.props,b=u.state,u.__v=t,d)v&&x.getDerivedStateFromProps==null&&u.componentWillMount!=null&&u.componentWillMount(),v&&u.componentDidMount!=null&&u.__h.push(u.componentDidMount);else{if(v&&x.getDerivedStateFromProps==null&&m!==s&&u.componentWillReceiveProps!=null&&u.componentWillReceiveProps(m,R),!u.__e&&(u.shouldComponentUpdate!=null&&u.shouldComponentUpdate(m,u.__s,R)===!1||t.__v==n.__v)){for(t.__v!=n.__v&&(u.props=m,u.state=u.__s,u.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.some(function(W){W&&(W.__=t)}),Z=0;Z<u._sb.length;Z++)u.__h.push(u._sb[Z]);u._sb=[],u.__h.length&&i.push(u);break e}u.componentWillUpdate!=null&&u.componentWillUpdate(m,u.__s,R),v&&u.componentDidUpdate!=null&&u.__h.push(function(){u.componentDidUpdate(s,b,$)})}if(u.context=R,u.props=m,u.__P=e,u.__e=!1,I=p.__r,Me=0,v){for(u.state=u.__s,u.__d=!1,I&&I(t),f=u.render(u.props,u.state,u.context),K=0;K<u._sb.length;K++)u.__h.push(u._sb[K]);u._sb=[]}else do u.__d=!1,I&&I(t),f=u.render(u.props,u.state,u.context),u.state=u.__s;while(u.__d&&++Me<25);u.state=u.__s,u.getChildContext!=null&&(r=w(w({},r),u.getChildContext())),v&&!d&&u.getSnapshotBeforeUpdate!=null&&($=u.getSnapshotBeforeUpdate(s,b)),l=qe(e,Q(ie=f!=null&&f.type===E&&f.key==null?f.props.children:f)?ie:[ie],t,n,r,_,o,i,l,c,a),u.base=t.__e,t.__u&=-161,u.__h.length&&i.push(u),g&&(u.__E=u.__=null)}catch(W){if(t.__v=null,c||o!=null)if(W.then){for(t.__u|=c?160:128;l&&l.nodeType==8&&l.nextSibling;)l=l.nextSibling;o[o.indexOf(l)]=null,t.__e=l}else for(le=o.length;le--;)pe(o[le]);else t.__e=n.__e,t.__k=n.__k;p.__e(W,t,n)}else o==null&&t.__v==n.__v?(t.__k=n.__k,t.__e=n.__e):l=t.__e=qt(n.__e,t,n,r,_,o,i,c,a);return(f=p.diffed)&&f(t),128&t.__u?void 0:l}function Ze(e,t,n){for(var r=0;r<n.length;r++)me(n[r],n[++r],n[++r]);p.__c&&p.__c(t,e),e.some(function(_){try{e=_.__h,_.__h=[],e.some(function(o){o.call(_)})}catch(o){p.__e(o,_.__v)}})}function qt(e,t,n,r,_,o,i,l,c){var a,f,u,d,s,b,$,g=n.props,m=t.props,v=t.type;if(v=="svg"?_="http://www.w3.org/2000/svg":v=="math"?_="http://www.w3.org/1998/Math/MathML":_||(_="http://www.w3.org/1999/xhtml"),o!=null){for(a=0;a<o.length;a++)if((s=o[a])&&"setAttribute"in s==!!v&&(v?s.localName==v:s.nodeType==3)){e=s,o[a]=null;break}}if(e==null){if(v==null)return document.createTextNode(m);e=document.createElementNS(_,v,m.is&&m),l&&(p.__m&&p.__m(t,o),l=!1),o=null}if(v===null)g===m||l&&e.data===m||(e.data=m);else{if(o=o&&V.call(e.childNodes),g=n.props||B,!l&&o!=null)for(g={},a=0;a<e.attributes.length;a++)g[(s=e.attributes[a]).name]=s.value;for(a in g)if(s=g[a],a!="children"){if(a=="dangerouslySetInnerHTML")u=s;else if(!(a in m)){if(a=="value"&&"defaultValue"in m||a=="checked"&&"defaultChecked"in m)continue;ee(e,a,null,s,_)}}for(a in m)s=m[a],a=="children"?d=s:a=="dangerouslySetInnerHTML"?f=s:a=="value"?b=s:a=="checked"?$=s:l&&typeof s!="function"||g[a]===s||ee(e,a,s,g[a],_);if(f)l||u&&(f.__html===u.__html||f.__html===e.innerHTML)||(e.innerHTML=f.__html),t.__k=[];else if(u&&(e.innerHTML=""),qe(e,Q(d)?d:[d],t,n,r,v=="foreignObject"?"http://www.w3.org/1999/xhtml":_,o,i,o?o[0]:n.__k&&H(n,0),l,c),o!=null)for(a=o.length;a--;)pe(o[a]);l||(a="value",v=="progress"&&b==null?e.removeAttribute("value"):b!==void 0&&(b!==e[a]||v=="progress"&&!b||v=="option"&&b!==g[a])&&ee(e,a,b,g[a],_),a="checked",$!==void 0&&$!==e[a]&&ee(e,a,$,g[a],_))}return e}function me(e,t,n){try{if(typeof e=="function"){var r=typeof e.__u=="function";r&&e.__u(),r&&t==null||(e.__u=e(t))}else e.current=t}catch(_){p.__e(_,n)}}function Ke(e,t,n){var r,_;if(p.unmount&&p.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||me(r,null,t)),(r=e.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(o){p.__e(o,t)}r.base=r.__P=null}if(r=e.__k)for(_=0;_<r.length;_++)r[_]&&Ke(r[_],t,n||typeof e.type!="function");n||pe(e.__e),e.__c=e.__=e.__e=void 0}function Gt(e,t,n){return this.constructor(e,n)}function z(e,t,n){var r,_,o,i;t==document&&(t=document.documentElement),p.__&&p.__(e,t),_=(r=typeof n=="function")?null:n&&n.__k||t.__k,o=[],i=[],he(t,e=(!r&&n||t).__k=C(E,null,[e]),_||B,B,t.namespaceURI,!r&&n?[n]:_?null:t.firstChild?V.call(t.childNodes):null,o,!r&&n?n:_?_.__e:t.firstChild,r,i),Ze(o,e,i)}function Qe(e,t){z(e,t,Qe)}function Jt(e,t,n){var r,_,o,i,l=w({},e.props);for(o in e.type&&e.type.defaultProps&&(i=e.type.defaultProps),t)o=="key"?r=t[o]:o=="ref"?_=t[o]:l[o]=t[o]===void 0&&i!==void 0?i[o]:t[o];return arguments.length>2&&(l.children=arguments.length>3?V.call(arguments,2):n),j(e.type,l,r||e.key,_||e.ref,null)}function ve(e,t){var n={__c:t="__cC"+Ve++,__:e,Consumer:function(r,_){return r.children(_)},Provider:function(r){var _,o;return this.getChildContext||(_=new Set,(o={})[t]=this,this.getChildContext=function(){return o},this.componentWillUnmount=function(){_=null},this.shouldComponentUpdate=function(i){this.props.value!==i.value&&_.forEach(function(l){l.__e=!0,de(l)})},this.sub=function(i){_.add(i);var l=i.componentWillUnmount;i.componentWillUnmount=function(){_&&_.delete(i),l&&l.call(i)}}),r.children}};return n.Provider.__=n.Consumer.contextType=n}V=Be.slice,p={__e:function(e,t,n,r){for(var _,o,i;t=t.__;)if((_=t.__c)&&!_.__)try{if((o=_.constructor)&&o.getDerivedStateFromError!=null&&(_.setState(o.getDerivedStateFromError(e)),i=_.__d),_.componentDidCatch!=null&&(_.componentDidCatch(e,r||{}),i=_.__d),i)return _.__E=_}catch(l){e=l}throw e}},Oe=0,k.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=w({},this.state),typeof e=="function"&&(e=e(w({},n),this.props)),e&&w(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),de(this))},k.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),de(this))},k.prototype.render=E,T=[],Ie=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,ae=function(e,t){return e.__v.__b-t.__v.__b},X.__r=0,We=/(PointerCapture)$|Capture$/i,ce=0,se=Ye(!1),fe=Ye(!0),Ve=0;var Yt=0;function Zt(e,t,n,r,_,o){t||(t={});var i,l,c=t;if("ref"in c)for(l in c={},t)l=="ref"?i=t[l]:c[l]=t[l];var a={type:e,props:c,key:n,ref:i,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--Yt,__i:-1,__u:0,__source:_,__self:o};if(typeof e=="function"&&(i=e.defaultProps))for(l in i)c[l]===void 0&&(c[l]=i[l]);return p.vnode&&p.vnode(a),a}var N,h,ye,Xe,D=0,et=[],y=p,tt=y.__b,nt=y.__r,rt=y.diffed,_t=y.__c,ot=y.unmount,ut=y.__;function U(e,t){y.__h&&y.__h(h,e,D||t),D=0;var n=h.__H||(h.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function L(e){return D=1,q(lt,e)}function q(e,t,n){var r=U(N++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):lt(void 0,t),function(l){var c=r.__N?r.__N[0]:r.__[0],a=r.t(c,l);c!==a&&(r.__N=[a,r.__[1]],r.__c.setState({}))}],r.__c=h,!h.u)){var _=function(l,c,a){if(!r.__c.__H)return!0;var f=r.__c.__H.__.filter(function(d){return!!d.__c});if(f.every(function(d){return!d.__N}))return!o||o.call(this,l,c,a);var u=r.__c.props!==l;return f.forEach(function(d){if(d.__N){var s=d.__[0];d.__=d.__N,d.__N=void 0,s!==d.__[0]&&(u=!0)}}),o&&o.call(this,l,c,a)||u};h.u=!0;var o=h.shouldComponentUpdate,i=h.componentWillUpdate;h.componentWillUpdate=function(l,c,a){if(this.__e){var f=o;o=void 0,_(l,c,a),o=f}i&&i.call(this,l,c,a)},h.shouldComponentUpdate=_}return r.__N||r.__}function G(e,t){var n=U(N++,3);!y.__s&&Ee(n.__H,t)&&(n.__=e,n.i=t,h.__H.__h.push(n))}function P(e,t){var n=U(N++,4);!y.__s&&Ee(n.__H,t)&&(n.__=e,n.i=t,h.__h.push(n))}function te(e){return D=5,A(function(){return{current:e}},[])}function be(e,t,n){D=6,P(function(){return typeof e=="function"?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},n==null?n:n.concat(e))}function A(e,t){var n=U(N++,7);return Ee(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function ne(e,t){return D=8,A(function(){return e},t)}function re(e){var t=h.context[e.__c],n=U(N++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(h)),t.props.value):e.__}function ge(e,t){y.useDebugValue&&y.useDebugValue(t?t(e):e)}function Kt(e){var t=U(N++,10),n=L();return t.__=e,h.componentDidCatch||(h.componentDidCatch=function(r,_){t.__&&t.__(r,_),n[1](r)}),[n[0],function(){n[1](void 0)}]}function Ce(){var e=U(N++,11);if(!e.__){for(var t=h.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function Qt(){for(var e;e=et.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(_e),e.__H.__h.forEach($e),e.__H.__h=[]}catch(t){e.__H.__h=[],y.__e(t,e.__v)}}y.__b=function(e){h=null,tt&&tt(e)},y.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),ut&&ut(e,t)},y.__r=function(e){nt&&nt(e),N=0;var t=(h=e.__c).__H;t&&(ye===h?(t.__h=[],h.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.i=n.__N=void 0})):(t.__h.forEach(_e),t.__h.forEach($e),t.__h=[],N=0)),ye=h},y.diffed=function(e){rt&&rt(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(et.push(t)!==1&&Xe===y.requestAnimationFrame||((Xe=y.requestAnimationFrame)||Xt)(Qt)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.i=void 0})),ye=h=null},y.__c=function(e,t){t.some(function(n){try{n.__h.forEach(_e),n.__h=n.__h.filter(function(r){return!r.__||$e(r)})}catch(r){t.some(function(_){_.__h&&(_.__h=[])}),t=[],y.__e(r,n.__v)}}),_t&&_t(e,t)},y.unmount=function(e){ot&&ot(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{_e(r)}catch(_){t=_}}),n.__H=void 0,t&&y.__e(t,n.__v))};var it=typeof requestAnimationFrame=="function";function Xt(e){var t,n=function(){clearTimeout(r),it&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);it&&(t=requestAnimationFrame(n))}function _e(e){var t=h,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),h=t}function $e(e){var t=h;e.__c=e.__(),h=t}function Ee(e,t){return!e||e.length!==t.length||t.some(function(n,r){return n!==e[r]})}function lt(e,t){return typeof t=="function"?t(e):t}function at(e,t){for(var n in t)e[n]=t[n];return e}function ke(e,t){for(var n in e)if(n!=="__source"&&!(n in t))return!0;for(var r in t)if(r!=="__source"&&e[r]!==t[r])return!0;return!1}function xe(e,t){var n=t(),r=L({t:{__:n,u:t}}),_=r[0].t,o=r[1];return P(function(){_.__=n,_.u=t,we(_)&&o({t:_})},[e,n,t]),G(function(){return we(_)&&o({t:_}),e(function(){we(_)&&o({t:_})})},[e]),n}function we(e){var t,n,r=e.u,_=e.__;try{var o=r();return!((t=_)===(n=o)&&(t!==0||1/t==1/n)||t!=t&&n!=n)}catch{return!0}}function Se(e){e()}function Ne(e){return e}function Pe(){return[!1,Se]}var Re=P;function oe(e,t){this.props=e,this.context=t}function ct(e,t){function n(_){var o=this.props.ref,i=o==_.ref;return!i&&o&&(o.call?o(null):o.current=null),t?!t(this.props,_)||!i:ke(this.props,_)}function r(_){return this.shouldComponentUpdate=n,C(e,_)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(oe.prototype=new k).isPureReactComponent=!0,oe.prototype.shouldComponentUpdate=function(e,t){return ke(this.props,e)||ke(this.state,t)};var st=p.__b;p.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),st&&st(e)};var en=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function ue(e){function t(n){var r=at({},n);return delete r.ref,e(r,n.ref||null)}return t.$$typeof=en,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var ft=function(e,t){return e==null?null:S(S(e).map(t))},Te={map:ft,forEach:ft,count:function(e){return e?S(e).length:0},only:function(e){var t=S(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:S},tn=p.__e;p.__e=function(e,t,n,r){if(e.then){for(var _,o=t;o=o.__;)if((_=o.__c)&&_.__c)return t.__e==null&&(t.__e=n.__e,t.__k=n.__k),_.__c(e,t)}tn(e,t,n,r)};var pt=p.unmount;function dt(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(r){typeof r.__c=="function"&&r.__c()}),e.__c.__H=null),(e=at({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(r){return dt(r,t,n)})),e}function ht(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(r){return ht(r,t,n)}),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function J(){this.__u=0,this.o=null,this.__b=null}function mt(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function vt(e){var t,n,r;function _(o){if(t||(t=e()).then(function(i){n=i.default||i},function(i){r=i}),r)throw r;if(!n)throw t;return C(n,o)}return _.displayName="Lazy",_.__f=!0,_}function M(){this.i=null,this.l=null}p.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),pt&&pt(e)},(J.prototype=new k).__c=function(e,t){var n=t.__c,r=this;r.o==null&&(r.o=[]),r.o.push(n);var _=mt(r.__v),o=!1,i=function(){o||(o=!0,n.__R=null,_?_(l):l())};n.__R=i;var l=function(){if(!--r.__u){if(r.state.__a){var c=r.state.__a;r.__v.__k[0]=ht(c,c.__c.__P,c.__c.__O)}var a;for(r.setState({__a:r.__b=null});a=r.o.pop();)a.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(i,i)},J.prototype.componentWillUnmount=function(){this.o=[]},J.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=dt(this.__b,n,r.__O=r.__P)}this.__b=null}var _=t.__a&&C(E,null,e.fallback);return _&&(_.__u&=-33),[C(E,null,t.__a?null:e.children),_]};var yt=function(e,t,n){if(++n[1]===n[0]&&e.l.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.l.size))for(n=e.i;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.i=n=n[2]}};function nn(e){return this.getChildContext=function(){return e.context},e.children}function rn(e){var t=this,n=e.h;t.componentWillUnmount=function(){z(null,t.v),t.v=null,t.h=null},t.h&&t.h!==n&&t.componentWillUnmount(),t.v||(t.h=n,t.v={nodeType:1,parentNode:n,childNodes:[],contains:function(){return!0},appendChild:function(r){this.childNodes.push(r),t.h.appendChild(r)},insertBefore:function(r,_){this.childNodes.push(r),t.h.insertBefore(r,_)},removeChild:function(r){this.childNodes.splice(this.childNodes.indexOf(r)>>>1,1),t.h.removeChild(r)}}),z(C(nn,{context:t.context},e.__v),t.v)}function Ue(e,t){var n=C(rn,{__v:e,h:t});return n.containerInfo=t,n}(M.prototype=new k).__a=function(e){var t=this,n=mt(t.__v),r=t.l.get(e);return r[0]++,function(_){var o=function(){t.props.revealOrder?(r.push(_),yt(t,e,r)):_()};n?n(o):o()}},M.prototype.render=function(e){this.i=null,this.l=new Map;var t=S(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var n=t.length;n--;)this.l.set(t[n],this.i=[1,0,this.i]);return e.children},M.prototype.componentDidUpdate=M.prototype.componentDidMount=function(){var e=this;this.l.forEach(function(t,n){yt(e,n,t)})};var bt=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,_n=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,on=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,un=/[A-Z0-9]/g,ln=typeof document<"u",an=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function He(e,t,n){return t.__k==null&&(t.textContent=""),z(e,t),typeof n=="function"&&n(),e?e.__c:null}function gt(e,t,n){return Qe(e,t),typeof n=="function"&&n(),e?e.__c:null}k.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(k.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var Ct=p.event;function cn(){}function sn(){return this.cancelBubble}function fn(){return this.defaultPrevented}p.event=function(e){return Ct&&(e=Ct(e)),e.persist=cn,e.isPropagationStopped=sn,e.isDefaultPrevented=fn,e.nativeEvent=e};var De,pn={enumerable:!1,configurable:!0,get:function(){return this.class}},$t=p.vnode;p.vnode=function(e){typeof e.type=="string"&&function(t){var n=t.props,r=t.type,_={},o=r.indexOf("-")===-1;for(var i in n){var l=n[i];if(!(i==="value"&&"defaultValue"in n&&l==null||ln&&i==="children"&&r==="noscript"||i==="class"||i==="className")){var c=i.toLowerCase();i==="defaultValue"&&"value"in n&&n.value==null?i="value":i==="download"&&l===!0?l="":c==="translate"&&l==="no"?l=!1:c[0]==="o"&&c[1]==="n"?c==="ondoubleclick"?i="ondblclick":c!=="onchange"||r!=="input"&&r!=="textarea"||an(n.type)?c==="onfocus"?i="onfocusin":c==="onblur"?i="onfocusout":on.test(i)&&(i=c):c=i="oninput":o&&_n.test(i)?i=i.replace(un,"-$&").toLowerCase():l===null&&(l=void 0),c==="oninput"&&_[i=c]&&(i="oninputCapture"),_[i]=l}}r=="select"&&_.multiple&&Array.isArray(_.value)&&(_.value=S(n.children).forEach(function(a){a.props.selected=_.value.indexOf(a.props.value)!=-1})),r=="select"&&_.defaultValue!=null&&(_.value=S(n.children).forEach(function(a){a.props.selected=_.multiple?_.defaultValue.indexOf(a.props.value)!=-1:_.defaultValue==a.props.value})),n.class&&!n.className?(_.class=n.class,Object.defineProperty(_,"className",pn)):(n.className&&!n.class||n.class&&n.className)&&(_.class=_.className=n.className),t.props=_}(e),e.$$typeof=bt,$t&&$t(e)};var Et=p.__r;p.__r=function(e){Et&&Et(e),De=e.__c};var kt=p.diffed;p.diffed=function(e){kt&&kt(e);var t=e.props,n=e.__e;n!=null&&e.type==="textarea"&&"value"in t&&t.value!==n.value&&(n.value=t.value==null?"":t.value),De=null};var xt={ReactCurrentDispatcher:{current:{readContext:function(e){return De.__n[e.__c].props.value},useCallback:ne,useContext:re,useDebugValue:ge,useDeferredValue:Ne,useEffect:G,useId:Ce,useImperativeHandle:be,useInsertionEffect:Re,useLayoutEffect:P,useMemo:A,useReducer:q,useRef:te,useState:L,useSyncExternalStore:xe,useTransition:Pe}}},dn="18.3.1";function wt(e){return C.bind(null,e)}function O(e){return!!e&&e.$$typeof===bt}function St(e){return O(e)&&e.type===E}function Nt(e){return!!e&&!!e.displayName&&(typeof e.displayName=="string"||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")}function Y(e){return O(e)?Jt.apply(null,arguments):e}function Le(e){return!!e.__k&&(z(null,e),!0)}function Pt(e){return e&&(e.base||e.nodeType===1&&e)||null}var Rt=function(e,t){return e(t)},Ae=function(e,t){return e(t)},Tt=E,Ut=O,Ht={useState:L,useId:Ce,useReducer:q,useEffect:G,useLayoutEffect:P,useInsertionEffect:Re,useTransition:Pe,useDeferredValue:Ne,useSyncExternalStore:xe,startTransition:Se,useRef:te,useImperativeHandle:be,useMemo:A,useCallback:ne,useContext:re,useDebugValue:ge,version:"18.3.1",Children:Te,render:He,hydrate:gt,unmountComponentAtNode:Le,createPortal:Ue,createElement:C,createContext:ve,createFactory:wt,cloneElement:Y,createRef:je,Fragment:E,isValidElement:O,isElement:Ut,isFragment:St,isMemo:Nt,findDOMNode:Pt,Component:k,PureComponent:oe,memo:ct,forwardRef:ue,flushSync:Ae,unstable_batchedUpdates:Rt,StrictMode:Tt,Suspense:J,SuspenseList:M,lazy:vt,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:xt},hn=Object.freeze({__proto__:null,Children:Te,Component:k,Fragment:E,PureComponent:oe,StrictMode:Tt,Suspense:J,SuspenseList:M,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:xt,cloneElement:Y,createContext:ve,createElement:C,createFactory:wt,createPortal:Ue,createRef:je,default:Ht,findDOMNode:Pt,flushSync:Ae,forwardRef:ue,hydrate:gt,isElement:Ut,isFragment:St,isMemo:Nt,isValidElement:O,lazy:vt,memo:ct,render:He,startTransition:Se,unmountComponentAtNode:Le,unstable_batchedUpdates:Rt,useCallback:ne,useContext:re,useDebugValue:ge,useDeferredValue:Ne,useEffect:G,useErrorBoundary:Kt,useId:Ce,useImperativeHandle:be,useInsertionEffect:Re,useLayoutEffect:P,useMemo:A,useReducer:q,useRef:te,useState:L,useSyncExternalStore:xe,useTransition:Pe,version:dn});const Dt=[`slot[name]::slotted(*) {
1
+ import{m as Vt}from"./mapping-CtWZQHyQ.js";var V,p,Oe,T,Fe,Ie,ae,We,ce,se,fe,Ve,B={},Be=[],Bt=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Q=Array.isArray;function w(e,t){for(var n in t)e[n]=t[n];return e}function pe(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function C(e,t,n){var r,_,o,i={};for(o in t)o=="key"?r=t[o]:o=="ref"?_=t[o]:i[o]=t[o];if(arguments.length>2&&(i.children=arguments.length>3?V.call(arguments,2):n),typeof e=="function"&&e.defaultProps!=null)for(o in e.defaultProps)i[o]===void 0&&(i[o]=e.defaultProps[o]);return j(e,i,r,_,null)}function j(e,t,n,r,_){var o={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:_??++Oe,__i:-1,__u:0};return _==null&&p.vnode!=null&&p.vnode(o),o}function je(){return{current:null}}function E(e){return e.children}function k(e,t){this.props=e,this.context=t}function H(e,t){if(t==null)return e.__?H(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null)return n.__e;return typeof e.type=="function"?H(e):null}function ze(e){var t,n;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null){e.__e=e.__c.base=n.__e;break}return ze(e)}}function de(e){(!e.__d&&(e.__d=!0)&&T.push(e)&&!X.__r++||Fe!==p.debounceRendering)&&((Fe=p.debounceRendering)||Ie)(X)}function X(){var e,t,n,r,_,o,i,l;for(T.sort(ae);e=T.shift();)e.__d&&(t=T.length,r=void 0,o=(_=(n=e).__v).__e,i=[],l=[],n.__P&&((r=w({},_)).__v=_.__v+1,p.vnode&&p.vnode(r),he(n.__P,r,_,n.__n,n.__P.namespaceURI,32&_.__u?[o]:null,i,o??H(_),!!(32&_.__u),l),r.__v=_.__v,r.__.__k[r.__i]=r,Ze(i,r,l),r.__e!=o&&ze(r)),T.length>t&&T.sort(ae));X.__r=0}function qe(e,t,n,r,_,o,i,l,c,a,f){var u,d,s,b,$,g,m=r&&r.__k||Be,v=t.length;for(c=jt(n,t,m,c,v),u=0;u<v;u++)(s=n.__k[u])!=null&&(d=s.__i===-1?B:m[s.__i]||B,s.__i=u,g=he(e,s,d,_,o,i,l,c,a,f),b=s.__e,s.ref&&d.ref!=s.ref&&(d.ref&&me(d.ref,null,s),f.push(s.ref,s.__c||b,s)),$==null&&b!=null&&($=b),4&s.__u||d.__k===s.__k?c=Ge(s,c,e):typeof s.type=="function"&&g!==void 0?c=g:b&&(c=b.nextSibling),s.__u&=-7);return n.__e=$,c}function jt(e,t,n,r,_){var o,i,l,c,a,f=n.length,u=f,d=0;for(e.__k=new Array(_),o=0;o<_;o++)(i=t[o])!=null&&typeof i!="boolean"&&typeof i!="function"?(c=o+d,(i=e.__k[o]=typeof i=="string"||typeof i=="number"||typeof i=="bigint"||i.constructor==String?j(null,i,null,null,null):Q(i)?j(E,{children:i},null,null,null):i.constructor===void 0&&i.__b>0?j(i.type,i.props,i.key,i.ref?i.ref:null,i.__v):i).__=e,i.__b=e.__b+1,l=null,(a=i.__i=zt(i,n,c,u))!==-1&&(u--,(l=n[a])&&(l.__u|=2)),l==null||l.__v===null?(a==-1&&d--,typeof i.type!="function"&&(i.__u|=4)):a!=c&&(a==c-1?d--:a==c+1?d++:(a>c?d--:d++,i.__u|=4))):e.__k[o]=null;if(u)for(o=0;o<f;o++)(l=n[o])!=null&&!(2&l.__u)&&(l.__e==r&&(r=H(l)),Ke(l,l));return r}function Ge(e,t,n){var r,_;if(typeof e.type=="function"){for(r=e.__k,_=0;r&&_<r.length;_++)r[_]&&(r[_].__=e,t=Ge(r[_],t,n));return t}e.__e!=t&&(t&&e.type&&!n.contains(t)&&(t=H(e)),n.insertBefore(e.__e,t||null),t=e.__e);do t=t&&t.nextSibling;while(t!=null&&t.nodeType==8);return t}function S(e,t){return t=t||[],e==null||typeof e=="boolean"||(Q(e)?e.some(function(n){S(n,t)}):t.push(e)),t}function zt(e,t,n,r){var _,o,i=e.key,l=e.type,c=t[n];if(c===null||c&&i==c.key&&l===c.type&&!(2&c.__u))return n;if(r>(c!=null&&!(2&c.__u)?1:0))for(_=n-1,o=n+1;_>=0||o<t.length;){if(_>=0){if((c=t[_])&&!(2&c.__u)&&i==c.key&&l===c.type)return _;_--}if(o<t.length){if((c=t[o])&&!(2&c.__u)&&i==c.key&&l===c.type)return o;o++}}return-1}function Je(e,t,n){t[0]=="-"?e.setProperty(t,n??""):e[t]=n==null?"":typeof n!="number"||Bt.test(t)?n:n+"px"}function ee(e,t,n,r,_){var o;e:if(t=="style")if(typeof n=="string")e.style.cssText=n;else{if(typeof r=="string"&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||Je(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||Je(e.style,t,n[t])}else if(t[0]=="o"&&t[1]=="n")o=t!=(t=t.replace(We,"$1")),t=t.toLowerCase()in e||t=="onFocusOut"||t=="onFocusIn"?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+o]=n,n?r?n.u=r.u:(n.u=ce,e.addEventListener(t,o?fe:se,o)):e.removeEventListener(t,o?fe:se,o);else{if(_=="http://www.w3.org/2000/svg")t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!="width"&&t!="height"&&t!="href"&&t!="list"&&t!="form"&&t!="tabIndex"&&t!="download"&&t!="rowSpan"&&t!="colSpan"&&t!="role"&&t!="popover"&&t in e)try{e[t]=n??"";break e}catch{}typeof n=="function"||(n==null||n===!1&&t[4]!="-"?e.removeAttribute(t):e.setAttribute(t,t=="popover"&&n==1?"":n))}}function Ye(e){return function(t){if(this.l){var n=this.l[t.type+e];if(t.t==null)t.t=ce++;else if(t.t<n.u)return;return n(p.event?p.event(t):t)}}}function he(e,t,n,r,_,o,i,l,c,a){var f,u,d,s,b,$,g,m,v,F,R,Z,I,Me,K,ie,le,x=t.type;if(t.constructor!==void 0)return null;128&n.__u&&(c=!!(32&n.__u),o=[l=t.__e=n.__e]),(f=p.__b)&&f(t);e:if(typeof x=="function")try{if(m=t.props,v="prototype"in x&&x.prototype.render,F=(f=x.contextType)&&r[f.__c],R=f?F?F.props.value:f.__:r,n.__c?g=(u=t.__c=n.__c).__=u.__E:(v?t.__c=u=new x(m,R):(t.__c=u=new k(m,R),u.constructor=x,u.render=Gt),F&&F.sub(u),u.props=m,u.state||(u.state={}),u.context=R,u.__n=r,d=u.__d=!0,u.__h=[],u._sb=[]),v&&u.__s==null&&(u.__s=u.state),v&&x.getDerivedStateFromProps!=null&&(u.__s==u.state&&(u.__s=w({},u.__s)),w(u.__s,x.getDerivedStateFromProps(m,u.__s))),s=u.props,b=u.state,u.__v=t,d)v&&x.getDerivedStateFromProps==null&&u.componentWillMount!=null&&u.componentWillMount(),v&&u.componentDidMount!=null&&u.__h.push(u.componentDidMount);else{if(v&&x.getDerivedStateFromProps==null&&m!==s&&u.componentWillReceiveProps!=null&&u.componentWillReceiveProps(m,R),!u.__e&&(u.shouldComponentUpdate!=null&&u.shouldComponentUpdate(m,u.__s,R)===!1||t.__v==n.__v)){for(t.__v!=n.__v&&(u.props=m,u.state=u.__s,u.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.some(function(W){W&&(W.__=t)}),Z=0;Z<u._sb.length;Z++)u.__h.push(u._sb[Z]);u._sb=[],u.__h.length&&i.push(u);break e}u.componentWillUpdate!=null&&u.componentWillUpdate(m,u.__s,R),v&&u.componentDidUpdate!=null&&u.__h.push(function(){u.componentDidUpdate(s,b,$)})}if(u.context=R,u.props=m,u.__P=e,u.__e=!1,I=p.__r,Me=0,v){for(u.state=u.__s,u.__d=!1,I&&I(t),f=u.render(u.props,u.state,u.context),K=0;K<u._sb.length;K++)u.__h.push(u._sb[K]);u._sb=[]}else do u.__d=!1,I&&I(t),f=u.render(u.props,u.state,u.context),u.state=u.__s;while(u.__d&&++Me<25);u.state=u.__s,u.getChildContext!=null&&(r=w(w({},r),u.getChildContext())),v&&!d&&u.getSnapshotBeforeUpdate!=null&&($=u.getSnapshotBeforeUpdate(s,b)),l=qe(e,Q(ie=f!=null&&f.type===E&&f.key==null?f.props.children:f)?ie:[ie],t,n,r,_,o,i,l,c,a),u.base=t.__e,t.__u&=-161,u.__h.length&&i.push(u),g&&(u.__E=u.__=null)}catch(W){if(t.__v=null,c||o!=null)if(W.then){for(t.__u|=c?160:128;l&&l.nodeType==8&&l.nextSibling;)l=l.nextSibling;o[o.indexOf(l)]=null,t.__e=l}else for(le=o.length;le--;)pe(o[le]);else t.__e=n.__e,t.__k=n.__k;p.__e(W,t,n)}else o==null&&t.__v==n.__v?(t.__k=n.__k,t.__e=n.__e):l=t.__e=qt(n.__e,t,n,r,_,o,i,c,a);return(f=p.diffed)&&f(t),128&t.__u?void 0:l}function Ze(e,t,n){for(var r=0;r<n.length;r++)me(n[r],n[++r],n[++r]);p.__c&&p.__c(t,e),e.some(function(_){try{e=_.__h,_.__h=[],e.some(function(o){o.call(_)})}catch(o){p.__e(o,_.__v)}})}function qt(e,t,n,r,_,o,i,l,c){var a,f,u,d,s,b,$,g=n.props,m=t.props,v=t.type;if(v=="svg"?_="http://www.w3.org/2000/svg":v=="math"?_="http://www.w3.org/1998/Math/MathML":_||(_="http://www.w3.org/1999/xhtml"),o!=null){for(a=0;a<o.length;a++)if((s=o[a])&&"setAttribute"in s==!!v&&(v?s.localName==v:s.nodeType==3)){e=s,o[a]=null;break}}if(e==null){if(v==null)return document.createTextNode(m);e=document.createElementNS(_,v,m.is&&m),l&&(p.__m&&p.__m(t,o),l=!1),o=null}if(v===null)g===m||l&&e.data===m||(e.data=m);else{if(o=o&&V.call(e.childNodes),g=n.props||B,!l&&o!=null)for(g={},a=0;a<e.attributes.length;a++)g[(s=e.attributes[a]).name]=s.value;for(a in g)if(s=g[a],a!="children"){if(a=="dangerouslySetInnerHTML")u=s;else if(!(a in m)){if(a=="value"&&"defaultValue"in m||a=="checked"&&"defaultChecked"in m)continue;ee(e,a,null,s,_)}}for(a in m)s=m[a],a=="children"?d=s:a=="dangerouslySetInnerHTML"?f=s:a=="value"?b=s:a=="checked"?$=s:l&&typeof s!="function"||g[a]===s||ee(e,a,s,g[a],_);if(f)l||u&&(f.__html===u.__html||f.__html===e.innerHTML)||(e.innerHTML=f.__html),t.__k=[];else if(u&&(e.innerHTML=""),qe(e,Q(d)?d:[d],t,n,r,v=="foreignObject"?"http://www.w3.org/1999/xhtml":_,o,i,o?o[0]:n.__k&&H(n,0),l,c),o!=null)for(a=o.length;a--;)pe(o[a]);l||(a="value",v=="progress"&&b==null?e.removeAttribute("value"):b!==void 0&&(b!==e[a]||v=="progress"&&!b||v=="option"&&b!==g[a])&&ee(e,a,b,g[a],_),a="checked",$!==void 0&&$!==e[a]&&ee(e,a,$,g[a],_))}return e}function me(e,t,n){try{if(typeof e=="function"){var r=typeof e.__u=="function";r&&e.__u(),r&&t==null||(e.__u=e(t))}else e.current=t}catch(_){p.__e(_,n)}}function Ke(e,t,n){var r,_;if(p.unmount&&p.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||me(r,null,t)),(r=e.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(o){p.__e(o,t)}r.base=r.__P=null}if(r=e.__k)for(_=0;_<r.length;_++)r[_]&&Ke(r[_],t,n||typeof e.type!="function");n||pe(e.__e),e.__c=e.__=e.__e=void 0}function Gt(e,t,n){return this.constructor(e,n)}function z(e,t,n){var r,_,o,i;t==document&&(t=document.documentElement),p.__&&p.__(e,t),_=(r=typeof n=="function")?null:n&&n.__k||t.__k,o=[],i=[],he(t,e=(!r&&n||t).__k=C(E,null,[e]),_||B,B,t.namespaceURI,!r&&n?[n]:_?null:t.firstChild?V.call(t.childNodes):null,o,!r&&n?n:_?_.__e:t.firstChild,r,i),Ze(o,e,i)}function Qe(e,t){z(e,t,Qe)}function Jt(e,t,n){var r,_,o,i,l=w({},e.props);for(o in e.type&&e.type.defaultProps&&(i=e.type.defaultProps),t)o=="key"?r=t[o]:o=="ref"?_=t[o]:l[o]=t[o]===void 0&&i!==void 0?i[o]:t[o];return arguments.length>2&&(l.children=arguments.length>3?V.call(arguments,2):n),j(e.type,l,r||e.key,_||e.ref,null)}function ve(e,t){var n={__c:t="__cC"+Ve++,__:e,Consumer:function(r,_){return r.children(_)},Provider:function(r){var _,o;return this.getChildContext||(_=new Set,(o={})[t]=this,this.getChildContext=function(){return o},this.componentWillUnmount=function(){_=null},this.shouldComponentUpdate=function(i){this.props.value!==i.value&&_.forEach(function(l){l.__e=!0,de(l)})},this.sub=function(i){_.add(i);var l=i.componentWillUnmount;i.componentWillUnmount=function(){_&&_.delete(i),l&&l.call(i)}}),r.children}};return n.Provider.__=n.Consumer.contextType=n}V=Be.slice,p={__e:function(e,t,n,r){for(var _,o,i;t=t.__;)if((_=t.__c)&&!_.__)try{if((o=_.constructor)&&o.getDerivedStateFromError!=null&&(_.setState(o.getDerivedStateFromError(e)),i=_.__d),_.componentDidCatch!=null&&(_.componentDidCatch(e,r||{}),i=_.__d),i)return _.__E=_}catch(l){e=l}throw e}},Oe=0,k.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=w({},this.state),typeof e=="function"&&(e=e(w({},n),this.props)),e&&w(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),de(this))},k.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),de(this))},k.prototype.render=E,T=[],Ie=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,ae=function(e,t){return e.__v.__b-t.__v.__b},X.__r=0,We=/(PointerCapture)$|Capture$/i,ce=0,se=Ye(!1),fe=Ye(!0),Ve=0;var Yt=0;function Zt(e,t,n,r,_,o){t||(t={});var i,l,c=t;if("ref"in c)for(l in c={},t)l=="ref"?i=t[l]:c[l]=t[l];var a={type:e,props:c,key:n,ref:i,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--Yt,__i:-1,__u:0,__source:_,__self:o};if(typeof e=="function"&&(i=e.defaultProps))for(l in i)c[l]===void 0&&(c[l]=i[l]);return p.vnode&&p.vnode(a),a}var N,h,ye,Xe,D=0,et=[],y=p,tt=y.__b,nt=y.__r,rt=y.diffed,_t=y.__c,ot=y.unmount,ut=y.__;function U(e,t){y.__h&&y.__h(h,e,D||t),D=0;var n=h.__H||(h.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function L(e){return D=1,q(lt,e)}function q(e,t,n){var r=U(N++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):lt(void 0,t),function(l){var c=r.__N?r.__N[0]:r.__[0],a=r.t(c,l);c!==a&&(r.__N=[a,r.__[1]],r.__c.setState({}))}],r.__c=h,!h.u)){var _=function(l,c,a){if(!r.__c.__H)return!0;var f=r.__c.__H.__.filter(function(d){return!!d.__c});if(f.every(function(d){return!d.__N}))return!o||o.call(this,l,c,a);var u=r.__c.props!==l;return f.forEach(function(d){if(d.__N){var s=d.__[0];d.__=d.__N,d.__N=void 0,s!==d.__[0]&&(u=!0)}}),o&&o.call(this,l,c,a)||u};h.u=!0;var o=h.shouldComponentUpdate,i=h.componentWillUpdate;h.componentWillUpdate=function(l,c,a){if(this.__e){var f=o;o=void 0,_(l,c,a),o=f}i&&i.call(this,l,c,a)},h.shouldComponentUpdate=_}return r.__N||r.__}function G(e,t){var n=U(N++,3);!y.__s&&Ee(n.__H,t)&&(n.__=e,n.i=t,h.__H.__h.push(n))}function P(e,t){var n=U(N++,4);!y.__s&&Ee(n.__H,t)&&(n.__=e,n.i=t,h.__h.push(n))}function te(e){return D=5,A(function(){return{current:e}},[])}function be(e,t,n){D=6,P(function(){return typeof e=="function"?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},n==null?n:n.concat(e))}function A(e,t){var n=U(N++,7);return Ee(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function ne(e,t){return D=8,A(function(){return e},t)}function re(e){var t=h.context[e.__c],n=U(N++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(h)),t.props.value):e.__}function ge(e,t){y.useDebugValue&&y.useDebugValue(t?t(e):e)}function Kt(e){var t=U(N++,10),n=L();return t.__=e,h.componentDidCatch||(h.componentDidCatch=function(r,_){t.__&&t.__(r,_),n[1](r)}),[n[0],function(){n[1](void 0)}]}function Ce(){var e=U(N++,11);if(!e.__){for(var t=h.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function Qt(){for(var e;e=et.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(_e),e.__H.__h.forEach($e),e.__H.__h=[]}catch(t){e.__H.__h=[],y.__e(t,e.__v)}}y.__b=function(e){h=null,tt&&tt(e)},y.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),ut&&ut(e,t)},y.__r=function(e){nt&&nt(e),N=0;var t=(h=e.__c).__H;t&&(ye===h?(t.__h=[],h.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.i=n.__N=void 0})):(t.__h.forEach(_e),t.__h.forEach($e),t.__h=[],N=0)),ye=h},y.diffed=function(e){rt&&rt(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(et.push(t)!==1&&Xe===y.requestAnimationFrame||((Xe=y.requestAnimationFrame)||Xt)(Qt)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.i=void 0})),ye=h=null},y.__c=function(e,t){t.some(function(n){try{n.__h.forEach(_e),n.__h=n.__h.filter(function(r){return!r.__||$e(r)})}catch(r){t.some(function(_){_.__h&&(_.__h=[])}),t=[],y.__e(r,n.__v)}}),_t&&_t(e,t)},y.unmount=function(e){ot&&ot(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{_e(r)}catch(_){t=_}}),n.__H=void 0,t&&y.__e(t,n.__v))};var it=typeof requestAnimationFrame=="function";function Xt(e){var t,n=function(){clearTimeout(r),it&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);it&&(t=requestAnimationFrame(n))}function _e(e){var t=h,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),h=t}function $e(e){var t=h;e.__c=e.__(),h=t}function Ee(e,t){return!e||e.length!==t.length||t.some(function(n,r){return n!==e[r]})}function lt(e,t){return typeof t=="function"?t(e):t}function at(e,t){for(var n in t)e[n]=t[n];return e}function ke(e,t){for(var n in e)if(n!=="__source"&&!(n in t))return!0;for(var r in t)if(r!=="__source"&&e[r]!==t[r])return!0;return!1}function xe(e,t){var n=t(),r=L({t:{__:n,u:t}}),_=r[0].t,o=r[1];return P(function(){_.__=n,_.u=t,we(_)&&o({t:_})},[e,n,t]),G(function(){return we(_)&&o({t:_}),e(function(){we(_)&&o({t:_})})},[e]),n}function we(e){var t,n,r=e.u,_=e.__;try{var o=r();return!((t=_)===(n=o)&&(t!==0||1/t==1/n)||t!=t&&n!=n)}catch{return!0}}function Se(e){e()}function Ne(e){return e}function Pe(){return[!1,Se]}var Re=P;function oe(e,t){this.props=e,this.context=t}function ct(e,t){function n(_){var o=this.props.ref,i=o==_.ref;return!i&&o&&(o.call?o(null):o.current=null),t?!t(this.props,_)||!i:ke(this.props,_)}function r(_){return this.shouldComponentUpdate=n,C(e,_)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(oe.prototype=new k).isPureReactComponent=!0,oe.prototype.shouldComponentUpdate=function(e,t){return ke(this.props,e)||ke(this.state,t)};var st=p.__b;p.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),st&&st(e)};var en=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function ue(e){function t(n){var r=at({},n);return delete r.ref,e(r,n.ref||null)}return t.$$typeof=en,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var ft=function(e,t){return e==null?null:S(S(e).map(t))},Te={map:ft,forEach:ft,count:function(e){return e?S(e).length:0},only:function(e){var t=S(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:S},tn=p.__e;p.__e=function(e,t,n,r){if(e.then){for(var _,o=t;o=o.__;)if((_=o.__c)&&_.__c)return t.__e==null&&(t.__e=n.__e,t.__k=n.__k),_.__c(e,t)}tn(e,t,n,r)};var pt=p.unmount;function dt(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(r){typeof r.__c=="function"&&r.__c()}),e.__c.__H=null),(e=at({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(r){return dt(r,t,n)})),e}function ht(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(r){return ht(r,t,n)}),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function J(){this.__u=0,this.o=null,this.__b=null}function mt(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function vt(e){var t,n,r;function _(o){if(t||(t=e()).then(function(i){n=i.default||i},function(i){r=i}),r)throw r;if(!n)throw t;return C(n,o)}return _.displayName="Lazy",_.__f=!0,_}function M(){this.i=null,this.l=null}p.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),pt&&pt(e)},(J.prototype=new k).__c=function(e,t){var n=t.__c,r=this;r.o==null&&(r.o=[]),r.o.push(n);var _=mt(r.__v),o=!1,i=function(){o||(o=!0,n.__R=null,_?_(l):l())};n.__R=i;var l=function(){if(!--r.__u){if(r.state.__a){var c=r.state.__a;r.__v.__k[0]=ht(c,c.__c.__P,c.__c.__O)}var a;for(r.setState({__a:r.__b=null});a=r.o.pop();)a.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(i,i)},J.prototype.componentWillUnmount=function(){this.o=[]},J.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=dt(this.__b,n,r.__O=r.__P)}this.__b=null}var _=t.__a&&C(E,null,e.fallback);return _&&(_.__u&=-33),[C(E,null,t.__a?null:e.children),_]};var yt=function(e,t,n){if(++n[1]===n[0]&&e.l.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.l.size))for(n=e.i;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.i=n=n[2]}};function nn(e){return this.getChildContext=function(){return e.context},e.children}function rn(e){var t=this,n=e.h;t.componentWillUnmount=function(){z(null,t.v),t.v=null,t.h=null},t.h&&t.h!==n&&t.componentWillUnmount(),t.v||(t.h=n,t.v={nodeType:1,parentNode:n,childNodes:[],contains:function(){return!0},appendChild:function(r){this.childNodes.push(r),t.h.appendChild(r)},insertBefore:function(r,_){this.childNodes.push(r),t.h.insertBefore(r,_)},removeChild:function(r){this.childNodes.splice(this.childNodes.indexOf(r)>>>1,1),t.h.removeChild(r)}}),z(C(nn,{context:t.context},e.__v),t.v)}function Ue(e,t){var n=C(rn,{__v:e,h:t});return n.containerInfo=t,n}(M.prototype=new k).__a=function(e){var t=this,n=mt(t.__v),r=t.l.get(e);return r[0]++,function(_){var o=function(){t.props.revealOrder?(r.push(_),yt(t,e,r)):_()};n?n(o):o()}},M.prototype.render=function(e){this.i=null,this.l=new Map;var t=S(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var n=t.length;n--;)this.l.set(t[n],this.i=[1,0,this.i]);return e.children},M.prototype.componentDidUpdate=M.prototype.componentDidMount=function(){var e=this;this.l.forEach(function(t,n){yt(e,n,t)})};var bt=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,_n=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,on=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,un=/[A-Z0-9]/g,ln=typeof document<"u",an=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function He(e,t,n){return t.__k==null&&(t.textContent=""),z(e,t),typeof n=="function"&&n(),e?e.__c:null}function gt(e,t,n){return Qe(e,t),typeof n=="function"&&n(),e?e.__c:null}k.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(k.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var Ct=p.event;function cn(){}function sn(){return this.cancelBubble}function fn(){return this.defaultPrevented}p.event=function(e){return Ct&&(e=Ct(e)),e.persist=cn,e.isPropagationStopped=sn,e.isDefaultPrevented=fn,e.nativeEvent=e};var De,pn={enumerable:!1,configurable:!0,get:function(){return this.class}},$t=p.vnode;p.vnode=function(e){typeof e.type=="string"&&function(t){var n=t.props,r=t.type,_={},o=r.indexOf("-")===-1;for(var i in n){var l=n[i];if(!(i==="value"&&"defaultValue"in n&&l==null||ln&&i==="children"&&r==="noscript"||i==="class"||i==="className")){var c=i.toLowerCase();i==="defaultValue"&&"value"in n&&n.value==null?i="value":i==="download"&&l===!0?l="":c==="translate"&&l==="no"?l=!1:c[0]==="o"&&c[1]==="n"?c==="ondoubleclick"?i="ondblclick":c!=="onchange"||r!=="input"&&r!=="textarea"||an(n.type)?c==="onfocus"?i="onfocusin":c==="onblur"?i="onfocusout":on.test(i)&&(i=c):c=i="oninput":o&&_n.test(i)?i=i.replace(un,"-$&").toLowerCase():l===null&&(l=void 0),c==="oninput"&&_[i=c]&&(i="oninputCapture"),_[i]=l}}r=="select"&&_.multiple&&Array.isArray(_.value)&&(_.value=S(n.children).forEach(function(a){a.props.selected=_.value.indexOf(a.props.value)!=-1})),r=="select"&&_.defaultValue!=null&&(_.value=S(n.children).forEach(function(a){a.props.selected=_.multiple?_.defaultValue.indexOf(a.props.value)!=-1:_.defaultValue==a.props.value})),n.class&&!n.className?(_.class=n.class,Object.defineProperty(_,"className",pn)):(n.className&&!n.class||n.class&&n.className)&&(_.class=_.className=n.className),t.props=_}(e),e.$$typeof=bt,$t&&$t(e)};var Et=p.__r;p.__r=function(e){Et&&Et(e),De=e.__c};var kt=p.diffed;p.diffed=function(e){kt&&kt(e);var t=e.props,n=e.__e;n!=null&&e.type==="textarea"&&"value"in t&&t.value!==n.value&&(n.value=t.value==null?"":t.value),De=null};var xt={ReactCurrentDispatcher:{current:{readContext:function(e){return De.__n[e.__c].props.value},useCallback:ne,useContext:re,useDebugValue:ge,useDeferredValue:Ne,useEffect:G,useId:Ce,useImperativeHandle:be,useInsertionEffect:Re,useLayoutEffect:P,useMemo:A,useReducer:q,useRef:te,useState:L,useSyncExternalStore:xe,useTransition:Pe}}},dn="18.3.1";function wt(e){return C.bind(null,e)}function O(e){return!!e&&e.$$typeof===bt}function St(e){return O(e)&&e.type===E}function Nt(e){return!!e&&!!e.displayName&&(typeof e.displayName=="string"||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")}function Y(e){return O(e)?Jt.apply(null,arguments):e}function Le(e){return!!e.__k&&(z(null,e),!0)}function Pt(e){return e&&(e.base||e.nodeType===1&&e)||null}var Rt=function(e,t){return e(t)},Ae=function(e,t){return e(t)},Tt=E,Ut=O,Ht={useState:L,useId:Ce,useReducer:q,useEffect:G,useLayoutEffect:P,useInsertionEffect:Re,useTransition:Pe,useDeferredValue:Ne,useSyncExternalStore:xe,startTransition:Se,useRef:te,useImperativeHandle:be,useMemo:A,useCallback:ne,useContext:re,useDebugValue:ge,version:"18.3.1",Children:Te,render:He,hydrate:gt,unmountComponentAtNode:Le,createPortal:Ue,createElement:C,createContext:ve,createFactory:wt,cloneElement:Y,createRef:je,Fragment:E,isValidElement:O,isElement:Ut,isFragment:St,isMemo:Nt,findDOMNode:Pt,Component:k,PureComponent:oe,memo:ct,forwardRef:ue,flushSync:Ae,unstable_batchedUpdates:Rt,StrictMode:Tt,Suspense:J,SuspenseList:M,lazy:vt,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:xt},hn=Object.freeze({__proto__:null,Children:Te,Component:k,Fragment:E,PureComponent:oe,StrictMode:Tt,Suspense:J,SuspenseList:M,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:xt,cloneElement:Y,createContext:ve,createElement:C,createFactory:wt,createPortal:Ue,createRef:je,default:Ht,findDOMNode:Pt,flushSync:Ae,forwardRef:ue,hydrate:gt,isElement:Ut,isFragment:St,isMemo:Nt,isValidElement:O,lazy:vt,memo:ct,render:He,startTransition:Se,unmountComponentAtNode:Le,unstable_batchedUpdates:Rt,useCallback:ne,useContext:re,useDebugValue:ge,useDeferredValue:Ne,useEffect:G,useErrorBoundary:Kt,useId:Ce,useImperativeHandle:be,useInsertionEffect:Re,useLayoutEffect:P,useMemo:A,useReducer:q,useRef:te,useState:L,useSyncExternalStore:xe,useTransition:Pe,version:dn});const Dt=[`slot[name]::slotted(*) {
2
2
  display: inline-flex;
3
3
  height: 100%;
4
4
  width: 100%;
@@ -0,0 +1 @@
1
+ import{h as u,y as c}from"./register-q2a4hUWr.js";import{c as f}from"./index-yvefsybe.js";const[i,a]=f("NestedDialog",null);function m(e,n){const{onCountChange:t}=a(e)??{},[o,r]=u(0);return c(()=>{if(t)return n&&t(o+1),()=>t(0)},[o,t,n]),[o,r]}export{m as f,i as t};
@@ -1 +1 @@
1
- import{D as m,u as n}from"./register-UPPkNx4_.js";const s=({fill:o,height:t=16,name:h,viewBox:r,width:i=20},w)=>{const e=m((l,a)=>n("svg",{fill:o,height:t,ref:a,viewBox:r??`0 0 ${i} ${t}`,width:i,xmlns:"http://www.w3.org/2000/svg",...l,children:w}));return e.displayName=`@optiaxiom/react/${h}`,e};export{s as a};
1
+ import{D as m,u as n}from"./register-q2a4hUWr.js";const s=({fill:o,height:t=16,name:h,viewBox:r,width:i=20},w)=>{const e=m((l,a)=>n("svg",{fill:o,height:t,ref:a,viewBox:r??`0 0 ${i} ${t}`,width:i,xmlns:"http://www.w3.org/2000/svg",...l,children:w}));return e.displayName=`@optiaxiom/react/${h}`,e};export{s as a};
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "url": "https://github.com/optimizely-axiom/optiaxiom.git"
8
8
  },
9
9
  "type": "module",
10
- "version": "0.7.0",
10
+ "version": "0.8.0",
11
11
  "files": [
12
12
  "dist/**",
13
13
  "LICENSE"
@@ -56,6 +56,7 @@
56
56
  "./DrawerTitle": "./dist/components/DrawerTitle.js",
57
57
  "./DrawerTrigger": "./dist/components/DrawerTrigger.js",
58
58
  "./DropdownMenu": "./dist/components/DropdownMenu.js",
59
+ "./DropdownMenuCheckboxItem": "./dist/components/DropdownMenuCheckboxItem.js",
59
60
  "./DropdownMenuContent": "./dist/components/DropdownMenuContent.js",
60
61
  "./DropdownMenuGroup": "./dist/components/DropdownMenuGroup.js",
61
62
  "./DropdownMenuItem": "./dist/components/DropdownMenuItem.js",
@@ -88,8 +89,14 @@
88
89
  "./ListboxRadioItem": "./dist/components/ListboxRadioItem.js",
89
90
  "./ListboxScrollArea": "./dist/components/ListboxScrollArea.js",
90
91
  "./ListboxSeparator": "./dist/components/ListboxSeparator.js",
91
- "./ModalLayer": "./dist/components/ModalLayer.js",
92
92
  "./MenuButton": "./dist/components/MenuButton.js",
93
+ "./ModalLayer": "./dist/components/ModalLayer.js",
94
+ "./Nav": "./dist/components/Nav.js",
95
+ "./NavAccountItem": "./dist/components/NavAccountItem.js",
96
+ "./NavBody": "./dist/components/NavBody.js",
97
+ "./NavFooter": "./dist/components/NavFooter.js",
98
+ "./NavHeader": "./dist/components/NavHeader.js",
99
+ "./NavItem": "./dist/components/NavItem.js",
93
100
  "./Pagination": "./dist/components/Pagination.js",
94
101
  "./Paper": "./dist/components/Paper.js",
95
102
  "./Popover": "./dist/components/Popover.js",
@@ -103,13 +110,8 @@
103
110
  "./SegmentedControl": "./dist/components/SegmentedControl.js",
104
111
  "./SegmentedControlItem": "./dist/components/SegmentedControlItem.js",
105
112
  "./Separator": "./dist/components/Separator.js",
106
- "./Sidenav": "./dist/components/Sidenav.js",
107
- "./SidenavAccountItem": "./dist/components/SidenavAccountItem.js",
108
- "./SidenavBody": "./dist/components/SidenavBody.js",
109
- "./SidenavFooter": "./dist/components/SidenavFooter.js",
110
- "./SidenavHeader": "./dist/components/SidenavHeader.js",
111
- "./SidenavItem": "./dist/components/SidenavItem.js",
112
- "./SidenavToggle": "./dist/components/SidenavToggle.js",
113
+ "./Sidebar": "./dist/components/Sidebar.js",
114
+ "./SidebarToggle": "./dist/components/SidebarToggle.js",
113
115
  "./Skeleton": "./dist/components/Skeleton.js",
114
116
  "./Spinner": "./dist/components/Spinner.js",
115
117
  "./Switch": "./dist/components/Switch.js",
@@ -142,9 +144,9 @@
142
144
  "postcss-url": "^10.1.3",
143
145
  "preact": "^10.25.4",
144
146
  "react-docgen-typescript": "^2.2.2",
145
- "@optiaxiom/globals": "^0.7.0",
146
- "@optiaxiom/shared": "^0.0.0",
147
- "@optiaxiom/react": "^0.11.0"
147
+ "@optiaxiom/globals": "^0.7.1",
148
+ "@optiaxiom/react": "^0.12.0",
149
+ "@optiaxiom/shared": "^0.0.0"
148
150
  },
149
151
  "scripts": {
150
152
  "build": "rm -rf dist && NODE_ENV=production rollup -c",
@@ -1 +0,0 @@
1
- import{c as o}from"./index-e40XmntS.js";const[t,e]=o("AlertDialog");export{t as e,e as o};