@optiaxiom/web-components 0.1.4 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (223) hide show
  1. package/dist/AlertContext-ByUI3iAF.js +1 -0
  2. package/dist/AlertDialogContext-DWregnOv.js +1 -0
  3. package/dist/{AnimatePresence-BwDPy3k5.js → AnimatePresence-ByThGGkK.js} +1 -1
  4. package/dist/AvatarContext-C1mICbBK.js +1 -0
  5. package/dist/Badge-C5rlJgFP.js +1 -0
  6. package/dist/BannerContext-C3qGZBOe.js +1 -0
  7. package/dist/Box-BIS0zj-s.js +1 -0
  8. package/dist/Button-Di0kjvQU.js +1 -0
  9. package/dist/Code-DkUcTPaH.js +1 -0
  10. package/dist/DialogContext-BscrxEKM.js +1 -0
  11. package/dist/DropdownMenuContext-Bu5KDukk.js +1 -0
  12. package/dist/DropdownMenuSubContext-fsFOncKP.js +1 -0
  13. package/dist/FieldContext-yTCi1Pcv.js +1 -0
  14. package/dist/{Flex-CSuhXFqA.js → Flex-BINBRu8r.js} +1 -1
  15. package/dist/{Heading-BMxllfYm.js → Heading-B_FSP6jh.js} +1 -1
  16. package/dist/{HoverCard-CMzf8zqv.js → HoverCard-DtpiEkBk.js} +1 -1
  17. package/dist/HoverCardContent-CNzFVXt7.js +1 -0
  18. package/dist/{HoverCardContext-DPhPy6tb.js → HoverCardContext-CnOF-JgQ.js} +1 -1
  19. package/dist/{HoverCardTrigger-0YRc7j6G.js → HoverCardTrigger-SCRuK0VK.js} +1 -1
  20. package/dist/Icon-DyZtLQH4.js +1 -0
  21. package/dist/IconAngleDown-vAsn3rI_.js +1 -0
  22. package/dist/IconAngleRight-LsXMpg6f.js +1 -0
  23. package/dist/{IconTriangleExclamationFilled-RnOnC1LL.js → IconCircleInfoFilled-CJet2236.js} +1 -1
  24. package/dist/{IconEllipsis-nbMKo1j9.js → IconEllipsis-CH5sVLcX.js} +1 -1
  25. package/dist/IconTriangleExclamationFilled-R7F6AYuT.js +1 -0
  26. package/dist/{IconX-DzLmYa_B.js → IconX-BR_NbIzo.js} +1 -1
  27. package/dist/Input-Cn0w6R-m.js +1 -0
  28. package/dist/InputBase-Cj0ihyaA.js +1 -0
  29. package/dist/Link-C9VVAQSU.js +1 -0
  30. package/dist/ListboxBase-B_EsmJqS.js +1 -0
  31. package/dist/MenuButton-p8THLre8.js +1 -0
  32. package/dist/PopoverContext-DxHe3wnQ.js +1 -0
  33. package/dist/RadioGroupContext-XHu10eP-.js +1 -0
  34. package/dist/Separator-iC3QS5AE.js +1 -0
  35. package/dist/SidenavContext-DsRoNhHT.js +1 -0
  36. package/dist/SidenavItem-BYo3LdKt.js +1 -0
  37. package/dist/{Spinner-DLIsZR9D.js → Spinner-BFogkPeN.js} +1 -1
  38. package/dist/TableRow.css.ts.vanilla-g1JsQVd4-BYq9rCjX.js +1 -0
  39. package/dist/TabsContext-79IYO-Am.js +1 -0
  40. package/dist/Text-p70kdyY5.js +1 -0
  41. package/dist/Toast-vd5Ty0TQ.js +1 -0
  42. package/dist/{ToastAction-D7BQsqXf.js → ToastAction-vFNKjRyw.js} +1 -1
  43. package/dist/ToastProvider-CHq7u_hM.js +1 -0
  44. package/dist/{ToastTitle-KhkEPzH5.js → ToastTitle-Bj8n3Y_A.js} +1 -1
  45. package/dist/ToggleInputLabel-2bDaF82P.js +1 -0
  46. package/dist/{Tooltip-BEAGhUne.js → Tooltip-CcEpOgXm.js} +1 -1
  47. package/dist/{TooltipContent-o82qkmmy.js → TooltipContent-zaA_geTq.js} +1 -1
  48. package/dist/TooltipContext-BZLJVt1k.js +1 -0
  49. package/dist/{TooltipRoot-BFD9bK77.js → TooltipRoot-CAfDzlwQ.js} +1 -1
  50. package/dist/{TooltipTrigger-DHhEikg9.js → TooltipTrigger-Je1ZBstm.js} +1 -1
  51. package/dist/Transition-DVLGCVSN.js +1 -0
  52. package/dist/components/Alert.js +1 -1
  53. package/dist/components/AlertDescription.js +1 -1
  54. package/dist/components/AlertDialog.js +1 -1
  55. package/dist/components/AlertDialogAction.js +1 -1
  56. package/dist/components/AlertDialogCancel.js +1 -1
  57. package/dist/components/AlertDialogContent.js +1 -1
  58. package/dist/components/AlertDialogDescription.js +1 -1
  59. package/dist/components/AlertDialogFooter.js +1 -1
  60. package/dist/components/AlertDialogTitle.js +1 -1
  61. package/dist/components/AlertDialogTrigger.js +1 -1
  62. package/dist/components/AlertTitle.js +1 -1
  63. package/dist/components/AnimatePresence.js +1 -1
  64. package/dist/components/Avatar.js +1 -1
  65. package/dist/components/AvatarGroup.js +1 -1
  66. package/dist/components/AxiomProvider.js +1 -1
  67. package/dist/components/Badge.js +1 -1
  68. package/dist/components/Banner.js +1 -1
  69. package/dist/components/BannerDescription.js +1 -1
  70. package/dist/components/BannerTitle.js +1 -1
  71. package/dist/components/Box.js +1 -1
  72. package/dist/components/Button.js +1 -1
  73. package/dist/components/ButtonGroup.js +1 -1
  74. package/dist/components/Checkbox.js +1 -1
  75. package/dist/components/Code.js +1 -1
  76. package/dist/components/Dialog.js +1 -1
  77. package/dist/components/DialogBody.js +1 -1
  78. package/dist/components/DialogClose.js +1 -1
  79. package/dist/components/DialogContent.js +1 -1
  80. package/dist/components/DialogDescription.js +1 -1
  81. package/dist/components/DialogFooter.js +1 -1
  82. package/dist/components/DialogTitle.js +1 -1
  83. package/dist/components/DialogTrigger.js +1 -1
  84. package/dist/components/Disclosure.js +1 -1
  85. package/dist/components/DisclosureContent.js +1 -1
  86. package/dist/components/DisclosureTrigger.js +1 -1
  87. package/dist/components/Drawer.js +1 -1
  88. package/dist/components/DrawerBody.js +1 -1
  89. package/dist/components/DrawerFooter.js +1 -1
  90. package/dist/components/DrawerTitle.js +1 -1
  91. package/dist/components/DropdownMenu.js +1 -1
  92. package/dist/components/DropdownMenuContent.js +1 -1
  93. package/dist/components/DropdownMenuGroup.js +1 -0
  94. package/dist/components/DropdownMenuItem.js +1 -1
  95. package/dist/components/DropdownMenuLabel.js +1 -1
  96. package/dist/components/DropdownMenuSeparator.js +1 -1
  97. package/dist/components/DropdownMenuSub.js +1 -1
  98. package/dist/components/DropdownMenuSubContent.js +1 -1
  99. package/dist/components/DropdownMenuTrigger.js +1 -1
  100. package/dist/components/Field.js +1 -1
  101. package/dist/components/Flex.js +1 -1
  102. package/dist/components/Grid.js +1 -1
  103. package/dist/components/Heading.js +1 -1
  104. package/dist/components/HoverCard.js +1 -1
  105. package/dist/components/HoverCardContent.js +1 -1
  106. package/dist/components/HoverCardTrigger.js +1 -1
  107. package/dist/components/Indicator.js +1 -1
  108. package/dist/components/Input.js +1 -1
  109. package/dist/components/Kbd.js +1 -1
  110. package/dist/components/Link.js +1 -1
  111. package/dist/components/MenuButton.js +1 -1
  112. package/dist/components/Pagination.js +1 -1
  113. package/dist/components/Popover.js +1 -1
  114. package/dist/components/PopoverAnchor.js +1 -1
  115. package/dist/components/PopoverContent.js +1 -1
  116. package/dist/components/PopoverTrigger.js +1 -1
  117. package/dist/components/Progress.js +1 -1
  118. package/dist/components/Radio.js +1 -1
  119. package/dist/components/RadioGroup.js +1 -1
  120. package/dist/components/SearchInput.js +1 -1
  121. package/dist/components/SegmentedControl.js +1 -1
  122. package/dist/components/SegmentedControlItem.js +1 -1
  123. package/dist/components/Separator.js +1 -1
  124. package/dist/components/Sidenav.js +1 -0
  125. package/dist/components/SidenavAccountItem.js +1 -0
  126. package/dist/components/SidenavItem.js +1 -0
  127. package/dist/components/SidenavToggle.js +1 -0
  128. package/dist/components/Skeleton.js +1 -1
  129. package/dist/components/Spinner.js +1 -1
  130. package/dist/components/Switch.js +1 -1
  131. package/dist/components/Tabs.js +1 -1
  132. package/dist/components/TabsContent.js +1 -1
  133. package/dist/components/TabsList.js +1 -1
  134. package/dist/components/TabsTrigger.js +1 -1
  135. package/dist/components/Text.js +1 -1
  136. package/dist/components/Textarea.js +1 -1
  137. package/dist/components/ThemeProvider.js +1 -1
  138. package/dist/components/Toast.js +1 -1
  139. package/dist/components/ToastAction.js +1 -1
  140. package/dist/components/ToastProvider.js +1 -1
  141. package/dist/components/ToastTitle.js +1 -1
  142. package/dist/components/ToggleButton.js +1 -1
  143. package/dist/components/Tooltip.js +1 -1
  144. package/dist/components/TooltipContent.js +1 -1
  145. package/dist/components/TooltipRoot.js +1 -1
  146. package/dist/components/TooltipTrigger.js +1 -1
  147. package/dist/components/Transition.js +1 -1
  148. package/dist/{fallbackSpan-B3h0jb2t.js → fallbackSpan-CjKZ_v9F.js} +1 -1
  149. package/dist/{index-DCVZRV6v.js → index--9RIWFJU.js} +1 -1
  150. package/dist/{index-BZ1CVUwt.js → index-6hT6AUWb.js} +1 -1
  151. package/dist/{index-CMpRl1HZ.js → index-B2uWQQuR.js} +1 -1
  152. package/dist/{index-8RWC_rPX.js → index-B4TCrDRg.js} +1 -1
  153. package/dist/{index-Cp4g3COc.js → index-BCjai15c.js} +1 -1
  154. package/dist/{index-BKRpvxIZ.js → index-BFIqM83W.js} +1 -1
  155. package/dist/{index-xZyX2koM.js → index-BRXqwaji.js} +1 -1
  156. package/dist/{index-DXWuBxF-.js → index-BSg6AHO_.js} +1 -1
  157. package/dist/{index-D9dC5-2k.js → index-B_QTvMB2.js} +1 -1
  158. package/dist/{index-DXSTLjaU.js → index-BefMGtuq.js} +1 -1
  159. package/dist/{index-CCuJfDzQ.js → index-Bp5ROOsZ.js} +1 -1
  160. package/dist/{index-BsKFAx9Y.js → index-C1TxxSGV.js} +1 -1
  161. package/dist/{index-CzoEO9PE.js → index-CU087iUp.js} +1 -1
  162. package/dist/{index-LFdW1wkC.js → index-CU5EThoY.js} +1 -1
  163. package/dist/{index-B9BSTjD7.js → index-Cmgrx17z.js} +1 -1
  164. package/dist/{index-BbGZ2es-.js → index-D0U3fLSz.js} +1 -1
  165. package/dist/{index-Te4jPWAD.js → index-D2W4wQ0k.js} +1 -1
  166. package/dist/{index-BO1Yrwdn.js → index-D32H97y7.js} +1 -1
  167. package/dist/{index-DWENXG0V.js → index-DBVpTJ25.js} +1 -1
  168. package/dist/{index-DXllU1i0.js → index-DgDOTd7A.js} +1 -1
  169. package/dist/index-UpuvJrIi.js +1 -0
  170. package/dist/{index-D3neleln.js → index-V89sRc_1.js} +1 -1
  171. package/dist/{index-DKzKWsoP.js → index-nQdmovC7.js} +1 -1
  172. package/dist/{index-Bx1LqORX.js → index-nbh7ArOF.js} +1 -1
  173. package/dist/index-plA5uo7k.js +1 -0
  174. package/dist/index.js +1 -1
  175. package/dist/mapping-io6Om00y.js +1 -0
  176. package/dist/{reach-auto-id-lH8oTfx1.js → reach-auto-id-Cu6-iJ1C.js} +1 -1
  177. package/dist/recipeRuntime-Hog5oQ-n.js +1 -0
  178. package/dist/{register-Cd4Qh2V4.js → register-D184xJsC.js} +1 -1
  179. package/dist/{withIcon-C0qxvYNZ.js → withIcon-w4CUgR2V.js} +1 -1
  180. package/package.json +8 -7
  181. package/dist/AlertContext-DUDAGhtl.js +0 -1
  182. package/dist/AlertDialogContext-DUQebJZW.js +0 -1
  183. package/dist/AvatarContext-BQBBJ3wS.js +0 -1
  184. package/dist/Badge-CT9Wykin.js +0 -1
  185. package/dist/BannerContext-CaMkOcjc.js +0 -1
  186. package/dist/Box-DupSHbpd.js +0 -1
  187. package/dist/Button-BKqW37Ez.js +0 -1
  188. package/dist/Code-B4dK_BW8.js +0 -1
  189. package/dist/DialogContext-C0OCGB4L.js +0 -1
  190. package/dist/DropdownMenuContext-DpEBfKuM.js +0 -1
  191. package/dist/DropdownMenuSubContext-B7vj-H2-.js +0 -1
  192. package/dist/FieldContext-CEi4f2Zf.js +0 -1
  193. package/dist/HoverCardContent-BL08jqnX.js +0 -1
  194. package/dist/Icon-C5KkaPM-.js +0 -1
  195. package/dist/IconAngleDown-B72J6Sbo.js +0 -1
  196. package/dist/IconAngleRight-uxD9GCup.js +0 -1
  197. package/dist/IconTriangleExclamation-BMBQ8kDb.js +0 -1
  198. package/dist/Input-Op6FF3pM.js +0 -1
  199. package/dist/InputBase-DBLp98ND.js +0 -1
  200. package/dist/Link-C5FpZfW_.js +0 -1
  201. package/dist/MenuButton-DPWC422W.js +0 -1
  202. package/dist/MenuContentBase-BW16ERXe.js +0 -1
  203. package/dist/PopoverContext-4EFn2sQi.js +0 -1
  204. package/dist/RadioGroupContext-CZaj56wJ.js +0 -1
  205. package/dist/Separator-CXhbKvss.js +0 -1
  206. package/dist/SideNavContext-B3IBBW9I.js +0 -1
  207. package/dist/SideNavItem-C89Y6T_n.js +0 -1
  208. package/dist/TableRow.css.ts.vanilla-BMIhB2fq-BoNyY9hQ.js +0 -1
  209. package/dist/TabsContext-BMXB27CB.js +0 -1
  210. package/dist/Text-DON4bst4.js +0 -1
  211. package/dist/Toast-DgEn8Og0.js +0 -1
  212. package/dist/ToastProvider-Bw5KJZBf.js +0 -1
  213. package/dist/ToggleInputLabel-aMgvYUVy.js +0 -1
  214. package/dist/TooltipContext-DwWvNZf-.js +0 -1
  215. package/dist/Transition-cMcn9E_A.js +0 -1
  216. package/dist/components/SideNav.js +0 -1
  217. package/dist/components/SideNavAccountItem.js +0 -1
  218. package/dist/components/SideNavItem.js +0 -1
  219. package/dist/components/SideNavToggle.js +0 -1
  220. package/dist/index-BJRMGfOc.js +0 -1
  221. package/dist/index-CHylLgfg.js +0 -1
  222. package/dist/mapping-a1hAK8yD.js +0 -1
  223. package/dist/recipeRuntime-Btx2HBIL.js +0 -1
@@ -1 +1 @@
1
- import{i as d,w as _,u as o,r as h}from"../register-Cd4Qh2V4.js";import{i as b,o as k}from"../Box-DupSHbpd.js";import{t as v,o as x,a as g,b as f,c as u,d as y}from"../ToggleInputLabel-aMgvYUVy.js";import{y as r}from"../recipeRuntime-Btx2HBIL.js";import"../TableRow.css.ts.vanilla-BMIhB2fq-BoNyY9hQ.js";import"../mapping-a1hAK8yD.js";import"../index-BZ1CVUwt.js";import"../reach-auto-id-lH8oTfx1.js";import"../Flex-CSuhXFqA.js";import"../index-DCVZRV6v.js";import"../index-DXllU1i0.js";import"../index-DKzKWsoP.js";d("@layer optiaxiom._8eawvo;@layer optiaxiom._8eawvo{._61n40y{--_1rem3j7:var(--ax-colors-bg-tertiary)}._61n40y:has(._5k94tm:not(:disabled):not(:checked)):hover{--_1rem3j7:var(--ax-colors-bg-tertiary-hovered)}._8ttg5z{background-color:var(--_1rem3j7);position:relative}._14psck2{background-color:var(--ax-colors-bg-default);transform:translateX(-10px)}._9542np:has(._5k94tm:checked) ._14psck2{transform:translateX(10px)}._9542np:has(._5k94tm:disabled) ._14psck2{background-color:var(--ax-colors-bg-page)}._9542np:has(._5k94tm:not(:disabled)) ._14psck2{box-shadow:var(--ax-boxShadow-sm)}}");var w=r({base:["_9542np","_61n40y"]}),$=r({base:[{px:"12",py:"2",rounded:"full",transition:"colors"},"_8ttg5z"]}),z=r({base:"_5k94tm"}),S=r({base:[{display:"block",rounded:"full",transition:"transform"},"_14psck2"],variants:{size:{md:{size:"16"},lg:{size:"20"}}}});const s=_(({children:i,className:c,description:a,size:t="md",...n},p)=>{const{restProps:l,sprinkleProps:m}=b(n);return o(y,{description:!!a,...w({},c),...m,children:[o(v,{ref:p,role:"switch",...z(),...l}),o(x,{...$(),children:o(k,{...S({size:t})})}),o(g,{pt:t==="lg"?"2":"0",children:[o(f,{children:i}),a&&o(u,{children:a})]})]})});s.displayName="@optiaxiom/react/Switch";const e="ax-switch";var j=h(e,s,{customEvents:["onCheckedChange"]});export{e as Switch,j as default};
1
+ import{i as h,w as m,u as r,r as f}from"../register-D184xJsC.js";import{i as v,o as b}from"../Box-BIS0zj-s.js";import{t as u,o as y,a as g,b as x,c as _,d as w}from"../ToggleInputLabel-2bDaF82P.js";import{y as o}from"../recipeRuntime-Hog5oQ-n.js";import"../TableRow.css.ts.vanilla-g1JsQVd4-BYq9rCjX.js";import"../mapping-io6Om00y.js";import"../index-6hT6AUWb.js";import"../reach-auto-id-Cu6-iJ1C.js";import"../Flex-BINBRu8r.js";import"../index--9RIWFJU.js";import"../index-DgDOTd7A.js";import"../index-nQdmovC7.js";h("@layer optiaxiom.z7nceq;@layer optiaxiom.z7nceq{._19fsgzr{--_4p01u2:var(--ax-colors-bg-tertiary)}._19fsgzr:has(._1hpqifr:not(:disabled):not(:checked)):hover{--_4p01u2:var(--ax-colors-bg-tertiary-hovered)}.deblyu{background-color:var(--_4p01u2);position:relative}.wia9yj{background-color:var(--ax-colors-bg-default);transform:translateX(-10px)}._13hvfkv:has(._1hpqifr:checked) .wia9yj{transform:translateX(10px)}._13hvfkv:has(._1hpqifr:disabled) .wia9yj{background-color:var(--ax-colors-bg-page)}._13hvfkv:has(._1hpqifr:not(:disabled)) .wia9yj{box-shadow:var(--ax-boxShadow-sm)}}");var k=o({base:["_13hvfkv","_19fsgzr"]}),z=o({base:[{px:"12",py:"2",rounded:"full",transition:"colors"},"deblyu"]}),$=o({base:"_1hpqifr"}),q=o({base:[{display:"block",rounded:"full",transition:"transform"},"wia9yj"],variants:{size:{md:{size:"16"},lg:{size:"20"}}}});const s=m(({children:t,className:c,description:a,size:i="md",...l},n)=>{const{restProps:p,sprinkleProps:d}=v(l);return r(w,{description:!!a,...k({},c),...d,children:[r(u,{ref:n,role:"switch",...$(),...p}),r(y,{...z(),children:r(b,{...q({size:i})})}),r(g,{pt:i==="lg"?"2":"0",children:[r(x,{children:t}),a&&r(_,{children:a})]})]})});s.displayName="@optiaxiom/react/Switch";const e="ax-switch";var j=f(e,s,{customEvents:["onCheckedChange"]});export{e as Switch,j as default};
@@ -1 +1 @@
1
- import{i as n,w as l,u as o,r as c}from"../register-Cd4Qh2V4.js";import{R as d}from"../index-DXSTLjaU.js";import{i as f,o as h}from"../Box-DupSHbpd.js";import{e as x}from"../TabsContext-BMXB27CB.js";import{y}from"../recipeRuntime-Btx2HBIL.js";import"../mapping-a1hAK8yD.js";import"../index-CBrz5xtv.js";import"../index-DKzKWsoP.js";import"../index-BO1Yrwdn.js";import"../index-D3neleln.js";import"../index-BKRpvxIZ.js";import"../index-BZ1CVUwt.js";import"../index-BJRMGfOc.js";import"../index-CHylLgfg.js";import"../index-DXllU1i0.js";import"../index-DXWuBxF-.js";import"../index-Bx1LqORX.js";import"../index-LFdW1wkC.js";n("@layer optiaxiom._8eawvo;@layer optiaxiom._8eawvo{._1moqah8[data-orientation=horizontal]{flex-direction:column}._1moqah8[data-orientation=vertical]{flex-direction:row}}");var u=y({base:[{display:"flex"},"_1moqah8"]});const r=l(({appearance:i="primary",children:t,...e},m)=>{const{restProps:p,sprinkleProps:s}=f(e);return o(h,{asChild:!0,...u(),...s,children:o(d,{ref:m,...p,children:o(x,{appearance:i,children:t})})})});r.displayName="@optiaxiom/react/Tabs";const a="ax-tabs";var v=c(a,r,{customEvents:["onValueChange"]});export{a as Tabs,v as default};
1
+ import{i as s,w as l,u as r,r as c}from"../register-D184xJsC.js";import{R as d}from"../index-BefMGtuq.js";import{i as f,o as v}from"../Box-BIS0zj-s.js";import{e as q}from"../TabsContext-79IYO-Am.js";import{y as x}from"../recipeRuntime-Hog5oQ-n.js";import"../mapping-io6Om00y.js";import"../index-CBrz5xtv.js";import"../index-nQdmovC7.js";import"../index-D32H97y7.js";import"../index-V89sRc_1.js";import"../index-BFIqM83W.js";import"../index-6hT6AUWb.js";import"../index-plA5uo7k.js";import"../index-UpuvJrIi.js";import"../index-DgDOTd7A.js";import"../index-BSg6AHO_.js";import"../index-nbh7ArOF.js";import"../index-CU5EThoY.js";s("@layer optiaxiom.z7nceq;@layer optiaxiom.z7nceq{.qwvvq3[data-orientation=horizontal]{flex-direction:column}.qwvvq3[data-orientation=vertical]{flex-direction:row}}");var h=x({base:[{display:"flex"},"qwvvq3"]});const o=l(({appearance:t="primary",children:a,...e},p)=>{const{restProps:m,sprinkleProps:n}=f(e);return r(v,{asChild:!0,...h(),...n,children:r(d,{ref:p,...m,children:r(q,{appearance:t,children:a})})})});o.displayName="@optiaxiom/react/Tabs";const i="ax-tabs";var y=c(i,o,{customEvents:["onValueChange"]});export{i as Tabs,y as default};
@@ -1 +1 @@
1
- import{w as n,u as t,r as a}from"../register-Cd4Qh2V4.js";import{T as c}from"../index-DXSTLjaU.js";import{i as l,o as d}from"../Box-DupSHbpd.js";import"../mapping-a1hAK8yD.js";import"../index-CBrz5xtv.js";import"../index-DKzKWsoP.js";import"../index-BO1Yrwdn.js";import"../index-D3neleln.js";import"../index-BKRpvxIZ.js";import"../index-BZ1CVUwt.js";import"../index-BJRMGfOc.js";import"../index-CHylLgfg.js";import"../index-DXllU1i0.js";import"../index-DXWuBxF-.js";import"../index-Bx1LqORX.js";import"../index-LFdW1wkC.js";import"../recipeRuntime-Btx2HBIL.js";const o=n(({children:i,...m},p)=>{const{restProps:s,sprinkleProps:e}=l(m);return t(d,{asChild:!0,flex:"1",ref:p,...e,children:t(c,{...s,children:i})})});o.displayName="@optiaxiom/react/TabsContent";const r="ax-tabs-content";var f=a(r,o,{customEvents:[]});export{r as TabsContent,f as default};
1
+ import{w as n,u as t,r as a}from"../register-D184xJsC.js";import{T as c}from"../index-BefMGtuq.js";import{i as l,o as d}from"../Box-BIS0zj-s.js";import"../mapping-io6Om00y.js";import"../index-CBrz5xtv.js";import"../index-nQdmovC7.js";import"../index-D32H97y7.js";import"../index-V89sRc_1.js";import"../index-BFIqM83W.js";import"../index-6hT6AUWb.js";import"../index-plA5uo7k.js";import"../index-UpuvJrIi.js";import"../index-DgDOTd7A.js";import"../index-BSg6AHO_.js";import"../index-nbh7ArOF.js";import"../index-CU5EThoY.js";import"../recipeRuntime-Hog5oQ-n.js";const o=n(({children:i,...m},p)=>{const{restProps:s,sprinkleProps:e}=l(m);return t(d,{asChild:!0,flex:"1",ref:p,...e,children:t(c,{...s,children:i})})});o.displayName="@optiaxiom/react/TabsContent";const r="ax-tabs-content";var f=a(r,o,{customEvents:[]});export{r as TabsContent,f as default};
@@ -1 +1 @@
1
- import{i as s,w as n,u as a,r as m}from"../register-Cd4Qh2V4.js";import{L as d}from"../index-DXSTLjaU.js";import{o as c}from"../Box-DupSHbpd.js";import{o as l}from"../TabsContext-BMXB27CB.js";import{y as b}from"../recipeRuntime-Btx2HBIL.js";import"../mapping-a1hAK8yD.js";import"../index-CBrz5xtv.js";import"../index-DKzKWsoP.js";import"../index-BO1Yrwdn.js";import"../index-D3neleln.js";import"../index-BKRpvxIZ.js";import"../index-BZ1CVUwt.js";import"../index-BJRMGfOc.js";import"../index-CHylLgfg.js";import"../index-DXllU1i0.js";import"../index-DXWuBxF-.js";import"../index-Bx1LqORX.js";import"../index-LFdW1wkC.js";s("@layer optiaxiom._8eawvo;@layer optiaxiom._8eawvo{.k76ssv[data-orientation=horizontal]{flex-direction:row}.k76ssv[data-orientation=vertical]{flex-direction:column}.b06ony[data-orientation=horizontal]{border-bottom-width:1px;gap:var(--ax-spacing-lg)}.b06ony[data-orientation=vertical]{border-right-width:1px;gap:var(--ax-spacing-xs)}._1d2fbt1[data-orientation=horizontal]{gap:var(--ax-spacing-md)}._1d2fbt1[data-orientation=vertical]{gap:var(--ax-spacing-xs)}}");var v=b({base:[{borderColor:"border.tertiary",display:"flex"},"k76ssv"],variants:{appearance:{primary:"b06ony",secondary:"_1d2fbt1"}}});const t=n(({children:r,...i},e)=>{const{appearance:p}=l("TabsList");return a(c,{asChild:!0,...v({appearance:p}),children:a(d,{ref:e,...i,children:r})})});t.displayName="@optiaxiom/react/TabsList";const o="ax-tabs-list";var x=m(o,t,{customEvents:[]});export{o as TabsList,x as default};
1
+ import{i as n,w as s,u as a,r as m}from"../register-D184xJsC.js";import{L as c}from"../index-BefMGtuq.js";import{o as l}from"../Box-BIS0zj-s.js";import{o as d}from"../TabsContext-79IYO-Am.js";import{y as x}from"../recipeRuntime-Hog5oQ-n.js";import"../mapping-io6Om00y.js";import"../index-CBrz5xtv.js";import"../index-nQdmovC7.js";import"../index-D32H97y7.js";import"../index-V89sRc_1.js";import"../index-BFIqM83W.js";import"../index-6hT6AUWb.js";import"../index-plA5uo7k.js";import"../index-UpuvJrIi.js";import"../index-DgDOTd7A.js";import"../index-BSg6AHO_.js";import"../index-nbh7ArOF.js";import"../index-CU5EThoY.js";n("@layer optiaxiom.z7nceq;@layer optiaxiom.z7nceq{.jz6y0o[data-orientation=horizontal]{flex-direction:row}.jz6y0o[data-orientation=vertical]{flex-direction:column}.yj7k6t[data-orientation=horizontal]{border-bottom-width:1px;gap:var(--ax-spacing-lg)}.yj7k6t[data-orientation=vertical]{border-right-width:1px;gap:var(--ax-spacing-xs)}.rfc47b[data-orientation=horizontal]{gap:var(--ax-spacing-md)}.rfc47b[data-orientation=vertical]{gap:var(--ax-spacing-xs)}}");var y=x({base:[{borderColor:"border.tertiary",display:"flex"},"jz6y0o"],variants:{appearance:{primary:"yj7k6t",secondary:"rfc47b"}}});const r=s(({children:o,...i},e)=>{const{appearance:p}=d("TabsList");return a(l,{asChild:!0,...y({appearance:p}),children:a(c,{ref:e,...i,children:o})})});r.displayName="@optiaxiom/react/TabsList";const t="ax-tabs-list";var b=m(t,r,{customEvents:[]});export{t as TabsList,b as default};
@@ -1 +1 @@
1
- import{i as x,w as h,u as r,r as v}from"../register-Cd4Qh2V4.js";import{a as m}from"../index-DXSTLjaU.js";import{i as u,o as t}from"../Box-DupSHbpd.js";import{B as y}from"../Button-BKqW37Ez.js";import{t as _}from"../Flex-CSuhXFqA.js";import{o as T}from"../TabsContext-BMXB27CB.js";import{y as p}from"../recipeRuntime-Btx2HBIL.js";import"../mapping-a1hAK8yD.js";import"../index-CBrz5xtv.js";import"../index-DKzKWsoP.js";import"../index-BO1Yrwdn.js";import"../index-D3neleln.js";import"../index-BKRpvxIZ.js";import"../index-BZ1CVUwt.js";import"../index-BJRMGfOc.js";import"../index-CHylLgfg.js";import"../index-DXllU1i0.js";import"../index-DXWuBxF-.js";import"../index-Bx1LqORX.js";import"../index-LFdW1wkC.js";import"../AnimatePresence-BwDPy3k5.js";import"../Transition-cMcn9E_A.js";import"../Icon-C5KkaPM-.js";import"../Spinner-DLIsZR9D.js";import"../fallbackSpan-B3h0jb2t.js";import"../TableRow.css.ts.vanilla-BMIhB2fq-BoNyY9hQ.js";x("@layer optiaxiom._8eawvo;@layer optiaxiom._8eawvo{._641lmi{border-color:transparent;color:var(--ax-colors-fg-tertiary);user-select:none}._641lmi:focus-visible{outline:2px solid var(--ax-colors-border-focus);outline-offset:1px}._641lmi:hover:not([data-state=active]){border-color:var(--ax-colors-border-default);color:var(--ax-colors-fg-secondary)}._641lmi[data-disabled]{color:var(--ax-colors-fg-disabled)}._641lmi[data-orientation=horizontal]{border-bottom-width:2px;margin-bottom:-1px}._641lmi[data-orientation=vertical]{border-right-width:2px;margin-right:-1px;padding-inline:10px}._641lmi[data-state=active]{border-color:var(--ax-colors-border-accent);color:var(--ax-colors-fg-default)}.ah539l:active .xb2a4z{background-color:var(--ax-colors-bg-secondary)}}");var w=p({base:[{flexDirection:"row",gap:"xs",justifyContent:["center","start"],py:"6",rounded:"sm"},"xb2a4z"]}),C=p({base:["ah539l",{flex:["1","initial"],fontSize:"md",fontWeight:"500",py:"4"},"_641lmi"]});const c=h(({addonAfter:a,addonBefore:e,children:l,icon:o,iconPosition:i="start",...g},n)=>{const{appearance:b}=T("TabsTrigger"),{restProps:s,sprinkleProps:d}=u(g);return b==="primary"?r(t,{asChild:!0,...C(),...d,children:r(m,{ref:n,...s,children:r(_,{...w(),children:[o&&i==="start"?r(t,{asChild:!0,h:"auto",w:"20",children:o}):e,l,o&&i==="end"?r(t,{asChild:!0,h:"auto",w:"20",children:o}):a]})})}):r(y,{addonAfter:a,addonBefore:e,appearance:"subtle",asChild:!0,icon:o,iconPosition:i,justifyContent:"start",ref:n,...d,children:r(m,{...s,children:l})})});c.displayName="@optiaxiom/react/TabsTrigger";const f="ax-tabs-trigger";var z=v(f,c,{customEvents:[]});export{f as TabsTrigger,z as default};
1
+ import{i as b,w as h,u as r,r as v}from"../register-D184xJsC.js";import{a as d}from"../index-BefMGtuq.js";import{i as u,o as t}from"../Box-BIS0zj-s.js";import{d as y}from"../Button-Di0kjvQU.js";import{t as z}from"../Flex-BINBRu8r.js";import{o as T}from"../TabsContext-79IYO-Am.js";import{y as l}from"../recipeRuntime-Hog5oQ-n.js";import"../mapping-io6Om00y.js";import"../index-CBrz5xtv.js";import"../index-nQdmovC7.js";import"../index-D32H97y7.js";import"../index-V89sRc_1.js";import"../index-BFIqM83W.js";import"../index-6hT6AUWb.js";import"../index-plA5uo7k.js";import"../index-UpuvJrIi.js";import"../index-DgDOTd7A.js";import"../index-BSg6AHO_.js";import"../index-nbh7ArOF.js";import"../index-CU5EThoY.js";import"../AnimatePresence-ByThGGkK.js";import"../Transition-DVLGCVSN.js";import"../Spinner-BFogkPeN.js";import"../TableRow.css.ts.vanilla-g1JsQVd4-BYq9rCjX.js";import"../Icon-DyZtLQH4.js";b("@layer optiaxiom.z7nceq;@layer optiaxiom.z7nceq{.z20xpa{border-color:transparent;color:var(--ax-colors-fg-tertiary);user-select:none}.z20xpa:focus-visible{outline:2px solid var(--ax-colors-border-focus);outline-offset:1px}.z20xpa:hover:not([data-state=active]){border-color:var(--ax-colors-border-default);color:var(--ax-colors-fg-secondary)}.z20xpa[data-disabled]{color:var(--ax-colors-fg-disabled)}.z20xpa[data-orientation=horizontal]{border-bottom-width:2px;margin-bottom:-1px}.z20xpa[data-orientation=vertical]{border-right-width:2px;margin-right:-1px;padding-inline:10px}.z20xpa[data-state=active]{border-color:var(--ax-colors-border-accent);color:var(--ax-colors-fg-default)}._1cj9pvc:active ._1d1l8my{background-color:var(--ax-colors-bg-secondary)}}");var w=l({base:[{flexDirection:"row",gap:"xs",justifyContent:["center","start"],py:"6",rounded:"sm"},"_1d1l8my"]}),C=l({base:["_1cj9pvc",{flex:["1","initial"],fontSize:"md",fontWeight:"500",py:"4"},"z20xpa"]});const m=h(({addonAfter:i,addonBefore:e,children:n,icon:o,iconPosition:a="start",...f},p)=>{const{appearance:g}=T("TabsTrigger"),{restProps:s,sprinkleProps:c}=u(f);return g==="primary"?r(t,{asChild:!0,...C(),...c,children:r(d,{ref:p,...s,children:r(z,{...w(),children:[o&&a==="start"?r(t,{asChild:!0,h:"auto",w:"20",children:o}):e,n,o&&a==="end"?r(t,{asChild:!0,h:"auto",w:"20",children:o}):i]})})}):r(y,{addonAfter:i,addonBefore:e,appearance:"subtle",asChild:!0,icon:o,iconPosition:a,justifyContent:"start",ref:p,...c,children:r(d,{...s,children:n})})});m.displayName="@optiaxiom/react/TabsTrigger";const x="ax-tabs-trigger";var j=v(x,m,{customEvents:[]});export{x as TabsTrigger,j as default};
@@ -1 +1 @@
1
- import{r}from"../register-Cd4Qh2V4.js";import{r as o}from"../Text-DON4bst4.js";import"../mapping-a1hAK8yD.js";import"../index-BZ1CVUwt.js";import"../Box-DupSHbpd.js";import"../recipeRuntime-Btx2HBIL.js";const t="ax-text";var m=r(t,o,{customEvents:[]});export{t as Text,m as default};
1
+ import{r}from"../register-D184xJsC.js";import{r as o}from"../Text-p70kdyY5.js";import"../mapping-io6Om00y.js";import"../index-6hT6AUWb.js";import"../Box-BIS0zj-s.js";import"../recipeRuntime-Hog5oQ-n.js";const t="ax-text";var m=r(t,o,{customEvents:[]});export{t as Text,m as default};
@@ -1 +1 @@
1
- import{i as z,w as d,h as g,u as e,r as C}from"../register-Cd4Qh2V4.js";import{a as c}from"../index-BZ1CVUwt.js";import{f as T}from"../InputBase-DBLp98ND.js";import{i as N,o as s}from"../Box-DupSHbpd.js";import{y as l}from"../recipeRuntime-Btx2HBIL.js";import"../mapping-a1hAK8yD.js";import"../FieldContext-CEi4f2Zf.js";import"../Flex-CSuhXFqA.js";import"../Text-DON4bst4.js";import"../fallbackSpan-B3h0jb2t.js";import"../TableRow.css.ts.vanilla-BMIhB2fq-BoNyY9hQ.js";z("@layer optiaxiom._8eawvo;@layer optiaxiom._8eawvo{._1pfw6m7{max-height:calc(16px + var(--ire867)*22px)}.b99499{--ire867:1}._87fl7e{--ire867:2}.zc85qp{--ire867:3}.lvd06{--ire867:4}.mxynr2{--ire867:5}.fmudw2{resize:vertical}._1i3b7fd{grid-area:1/1/2/2}._16rmsha{visibility:hidden;white-space:pre-wrap}._10yx66i{resize:none}}");var R=l({base:["_1i3b7fd","_16rmsha"]}),q=l({base:["_1i3b7fd","_10yx66i"]}),P=l({base:{display:"grid",flex:"auto",overflow:"auto"},variants:{maxRows:{1:["_1pfw6m7","b99499"],2:["_1pfw6m7","_87fl7e"],3:["_1pfw6m7","zc85qp"],4:["_1pfw6m7","lvd06"],5:["_1pfw6m7","mxynr2"]},resize:{auto:{},none:{},vertical:"fmudw2"}}});const f=d(({asChild:i,children:o,className:r,maxRows:t,onChange:w,resize:m="none",...a},u)=>{const v=i?c:"textarea",{restProps:_,sprinkleProps:p}=N(a),[y,b]=g(a.value===void 0?a.defaultValue:a.value);return e(s,{...P({maxRows:t,resize:m}),children:[e(s,{asChild:!0,...q({},r),...p,children:e(v,{onChange:n=>{b(n.target.value),w?.(n)},ref:u,..._,children:o})}),m==="auto"&&e(s,{...R({},r),...p,children:(y??"")+" "})]})});f.displayName="@optiaxiom/react/TextareaAutosize";const x=d(({asChild:i,children:o,...r},t)=>e(T,{flexDirection:"column",size:"lg",...r,children:e(i?c:f,{ref:t,rows:r.rows??3,children:o})}));x.displayName="@optiaxiom/react/Textarea";const h="ax-textarea";var S=C(h,x,{customEvents:[]});export{h as Textarea,S as default};
1
+ import{i as k,w as n,h as g,u as e,r as b}from"../register-D184xJsC.js";import{a as u}from"../index-6hT6AUWb.js";import{f as C}from"../InputBase-Cj0ihyaA.js";import{i as q,o as s}from"../Box-BIS0zj-s.js";import{y as p}from"../recipeRuntime-Hog5oQ-n.js";import"../mapping-io6Om00y.js";import"../FieldContext-yTCi1Pcv.js";import"../Flex-BINBRu8r.js";import"../Text-p70kdyY5.js";import"../fallbackSpan-CjKZ_v9F.js";import"../TableRow.css.ts.vanilla-g1JsQVd4-BYq9rCjX.js";k("@layer optiaxiom.z7nceq;@layer optiaxiom.z7nceq{._149wf1u{max-height:calc(16px + var(--ok0p7p)*22px)}.c1ppvm{--ok0p7p:1}.ke4m0t{--ok0p7p:2}.im3wc2{--ok0p7p:3}._1uza4vx{--ok0p7p:4}._1ylye2b{--ok0p7p:5}.lrzmm6{resize:vertical}._1u3ss6a{grid-area:1/1/2/2}._6q14hu{visibility:hidden;white-space:pre-wrap}._1itramf{resize:none}}");var T=p({base:["_1u3ss6a","_6q14hu"]}),N=p({base:["_1u3ss6a","_1itramf"]}),R=p({base:{display:"grid",flex:"auto",overflow:"auto"},variants:{maxRows:{1:["_149wf1u","c1ppvm"],2:["_149wf1u","ke4m0t"],3:["_149wf1u","im3wc2"],4:["_149wf1u","_1uza4vx"],5:["_149wf1u","_1ylye2b"]},resize:{auto:{},none:{},vertical:"lrzmm6"}}});const d=n(({asChild:i,children:o,className:a,maxRows:t,onChange:h,resize:l="none",...r},v)=>{const w=i?u:"textarea",{restProps:_,sprinkleProps:m}=q(r),[z,y]=g(r.value===void 0?r.defaultValue:r.value);return e(s,{...R({maxRows:t,resize:l}),children:[e(s,{asChild:!0,...N({},a),...m,children:e(w,{onChange:c=>{y(c.target.value),h?.(c)},ref:v,..._,children:o})}),l==="auto"&&e(s,{...T({},a),...m,children:(z??"")+" "})]})});d.displayName="@optiaxiom/react/TextareaAutosize";const f=n(({asChild:i,children:o,...a},t)=>e(C,{flexDirection:"column",size:"lg",...a,children:e(i?u:d,{ref:t,rows:a.rows??3,children:o})}));f.displayName="@optiaxiom/react/Textarea";const x="ax-textarea";var $=b(x,f,{customEvents:[]});export{x as Textarea,$ as default};
@@ -1 +1 @@
1
- import{r,a as o}from"../register-Cd4Qh2V4.js";import"../mapping-a1hAK8yD.js";const e="ax-theme-provider";var t=r(e,o,{customEvents:[]});export{e as ThemeProvider,t as default};
1
+ import{r,a as o}from"../register-D184xJsC.js";import"../mapping-io6Om00y.js";const e="ax-theme-provider";var t=r(e,o,{customEvents:[]});export{e as ThemeProvider,t as default};
@@ -1 +1 @@
1
- import{r as t}from"../register-Cd4Qh2V4.js";import{e as r}from"../Toast-DgEn8Og0.js";import"../mapping-a1hAK8yD.js";import"../index-Te4jPWAD.js";import"../index-CBrz5xtv.js";import"../index-BZ1CVUwt.js";import"../index-D3neleln.js";import"../index-BKRpvxIZ.js";import"../index-DKzKWsoP.js";import"../index-BbGZ2es-.js";import"../index-DXllU1i0.js";import"../index-DXWuBxF-.js";import"../index-LFdW1wkC.js";import"../index-CHylLgfg.js";import"../index-Bx1LqORX.js";import"../index-DCVZRV6v.js";import"../Box-DupSHbpd.js";import"../recipeRuntime-Btx2HBIL.js";import"../Button-BKqW37Ez.js";import"../AnimatePresence-BwDPy3k5.js";import"../Transition-cMcn9E_A.js";import"../Flex-CSuhXFqA.js";import"../Icon-C5KkaPM-.js";import"../Spinner-DLIsZR9D.js";import"../fallbackSpan-B3h0jb2t.js";import"../TableRow.css.ts.vanilla-BMIhB2fq-BoNyY9hQ.js";import"../IconTriangleExclamationFilled-RnOnC1LL.js";import"../withIcon-C0qxvYNZ.js";import"../IconX-DzLmYa_B.js";const o="ax-toast";var p=t(o,r,{customEvents:["onPause","onOpenChange","onEscapeKeyDown","onResume","onSwipeStart","onSwipeMove","onSwipeCancel","onSwipeEnd"]});export{o as Toast,p as default};
1
+ import{r as t}from"../register-D184xJsC.js";import{a as r}from"../Toast-vd5Ty0TQ.js";import"../mapping-io6Om00y.js";import"../index-D2W4wQ0k.js";import"../index-CBrz5xtv.js";import"../index-6hT6AUWb.js";import"../index-V89sRc_1.js";import"../index-BFIqM83W.js";import"../index-nQdmovC7.js";import"../index-D0U3fLSz.js";import"../index-DgDOTd7A.js";import"../index-BSg6AHO_.js";import"../index-CU5EThoY.js";import"../index-UpuvJrIi.js";import"../index-nbh7ArOF.js";import"../index--9RIWFJU.js";import"../Box-BIS0zj-s.js";import"../recipeRuntime-Hog5oQ-n.js";import"../Button-Di0kjvQU.js";import"../AnimatePresence-ByThGGkK.js";import"../Transition-DVLGCVSN.js";import"../Spinner-BFogkPeN.js";import"../Flex-BINBRu8r.js";import"../TableRow.css.ts.vanilla-g1JsQVd4-BYq9rCjX.js";import"../Icon-DyZtLQH4.js";import"../IconCircleInfoFilled-CJet2236.js";import"../withIcon-w4CUgR2V.js";import"../IconTriangleExclamationFilled-R7F6AYuT.js";import"../IconX-BR_NbIzo.js";const o="ax-toast";var p=t(o,r,{customEvents:["onPause","onOpenChange","onEscapeKeyDown","onResume","onSwipeStart","onSwipeMove","onSwipeCancel","onSwipeEnd"]});export{o as Toast,p as default};
@@ -1 +1 @@
1
- import{r as o}from"../register-Cd4Qh2V4.js";import{o as r}from"../ToastAction-D7BQsqXf.js";import"../mapping-a1hAK8yD.js";import"../index-Te4jPWAD.js";import"../index-CBrz5xtv.js";import"../index-BZ1CVUwt.js";import"../index-D3neleln.js";import"../index-BKRpvxIZ.js";import"../index-DKzKWsoP.js";import"../index-BbGZ2es-.js";import"../index-DXllU1i0.js";import"../index-DXWuBxF-.js";import"../index-LFdW1wkC.js";import"../index-CHylLgfg.js";import"../index-Bx1LqORX.js";import"../index-DCVZRV6v.js";import"../Button-BKqW37Ez.js";import"../AnimatePresence-BwDPy3k5.js";import"../Transition-cMcn9E_A.js";import"../recipeRuntime-Btx2HBIL.js";import"../Box-DupSHbpd.js";import"../Flex-CSuhXFqA.js";import"../Icon-C5KkaPM-.js";import"../Spinner-DLIsZR9D.js";import"../fallbackSpan-B3h0jb2t.js";import"../TableRow.css.ts.vanilla-BMIhB2fq-BoNyY9hQ.js";import"../Separator-CXhbKvss.js";const t="ax-toast-action";var i=o(t,r,{customEvents:[]});export{t as ToastAction,i as default};
1
+ import{r as o}from"../register-D184xJsC.js";import{o as r}from"../ToastAction-vFNKjRyw.js";import"../mapping-io6Om00y.js";import"../index-D2W4wQ0k.js";import"../index-CBrz5xtv.js";import"../index-6hT6AUWb.js";import"../index-V89sRc_1.js";import"../index-BFIqM83W.js";import"../index-nQdmovC7.js";import"../index-D0U3fLSz.js";import"../index-DgDOTd7A.js";import"../index-BSg6AHO_.js";import"../index-CU5EThoY.js";import"../index-UpuvJrIi.js";import"../index-nbh7ArOF.js";import"../index--9RIWFJU.js";import"../Button-Di0kjvQU.js";import"../AnimatePresence-ByThGGkK.js";import"../Transition-DVLGCVSN.js";import"../recipeRuntime-Hog5oQ-n.js";import"../Box-BIS0zj-s.js";import"../Spinner-BFogkPeN.js";import"../Flex-BINBRu8r.js";import"../TableRow.css.ts.vanilla-g1JsQVd4-BYq9rCjX.js";import"../Icon-DyZtLQH4.js";import"../Separator-iC3QS5AE.js";const t="ax-toast-action";var i=o(t,r,{customEvents:[]});export{t as ToastAction,i as default};
@@ -1 +1 @@
1
- import{r as o}from"../register-Cd4Qh2V4.js";import{s as t}from"../ToastProvider-Bw5KJZBf.js";import"../mapping-a1hAK8yD.js";import"../index-BZ1CVUwt.js";import"../index-BbGZ2es-.js";import"../index-CBrz5xtv.js";import"../index-DXllU1i0.js";import"../index-DXWuBxF-.js";import"../index-Te4jPWAD.js";import"../index-D3neleln.js";import"../index-BKRpvxIZ.js";import"../index-DKzKWsoP.js";import"../index-LFdW1wkC.js";import"../index-CHylLgfg.js";import"../index-Bx1LqORX.js";import"../index-DCVZRV6v.js";import"../Flex-CSuhXFqA.js";import"../Box-DupSHbpd.js";import"../recipeRuntime-Btx2HBIL.js";import"../Toast-DgEn8Og0.js";import"../Button-BKqW37Ez.js";import"../AnimatePresence-BwDPy3k5.js";import"../Transition-cMcn9E_A.js";import"../Icon-C5KkaPM-.js";import"../Spinner-DLIsZR9D.js";import"../fallbackSpan-B3h0jb2t.js";import"../TableRow.css.ts.vanilla-BMIhB2fq-BoNyY9hQ.js";import"../IconTriangleExclamationFilled-RnOnC1LL.js";import"../withIcon-C0qxvYNZ.js";import"../IconX-DzLmYa_B.js";import"../ToastAction-D7BQsqXf.js";import"../Separator-CXhbKvss.js";import"../ToastTitle-KhkEPzH5.js";import"../Text-DON4bst4.js";const r="ax-toast-provider";var i=o(r,t,{customEvents:[]});export{r as ToastProvider,i as default};
1
+ import{r as o}from"../register-D184xJsC.js";import{c as t}from"../ToastProvider-CHq7u_hM.js";import"../mapping-io6Om00y.js";import"../index-6hT6AUWb.js";import"../index-D0U3fLSz.js";import"../index-CBrz5xtv.js";import"../index-DgDOTd7A.js";import"../index-BSg6AHO_.js";import"../index-D2W4wQ0k.js";import"../index-V89sRc_1.js";import"../index-BFIqM83W.js";import"../index-nQdmovC7.js";import"../index-CU5EThoY.js";import"../index-UpuvJrIi.js";import"../index-nbh7ArOF.js";import"../index--9RIWFJU.js";import"../Flex-BINBRu8r.js";import"../Box-BIS0zj-s.js";import"../recipeRuntime-Hog5oQ-n.js";import"../Toast-vd5Ty0TQ.js";import"../Button-Di0kjvQU.js";import"../AnimatePresence-ByThGGkK.js";import"../Transition-DVLGCVSN.js";import"../Spinner-BFogkPeN.js";import"../TableRow.css.ts.vanilla-g1JsQVd4-BYq9rCjX.js";import"../Icon-DyZtLQH4.js";import"../IconCircleInfoFilled-CJet2236.js";import"../withIcon-w4CUgR2V.js";import"../IconTriangleExclamationFilled-R7F6AYuT.js";import"../IconX-BR_NbIzo.js";import"../ToastAction-vFNKjRyw.js";import"../Separator-iC3QS5AE.js";import"../ToastTitle-Bj8n3Y_A.js";import"../Text-p70kdyY5.js";const r="ax-toast-provider";var i=o(r,t,{customEvents:[]});export{r as ToastProvider,i as default};
@@ -1 +1 @@
1
- import{r as o}from"../register-Cd4Qh2V4.js";import{o as r}from"../ToastTitle-KhkEPzH5.js";import"../mapping-a1hAK8yD.js";import"../index-Te4jPWAD.js";import"../index-CBrz5xtv.js";import"../index-BZ1CVUwt.js";import"../index-D3neleln.js";import"../index-BKRpvxIZ.js";import"../index-DKzKWsoP.js";import"../index-BbGZ2es-.js";import"../index-DXllU1i0.js";import"../index-DXWuBxF-.js";import"../index-LFdW1wkC.js";import"../index-CHylLgfg.js";import"../index-Bx1LqORX.js";import"../index-DCVZRV6v.js";import"../Text-DON4bst4.js";import"../Box-DupSHbpd.js";import"../recipeRuntime-Btx2HBIL.js";const t="ax-toast-title";var i=o(t,r,{customEvents:[]});export{t as ToastTitle,i as default};
1
+ import{r as o}from"../register-D184xJsC.js";import{o as r}from"../ToastTitle-Bj8n3Y_A.js";import"../mapping-io6Om00y.js";import"../index-D2W4wQ0k.js";import"../index-CBrz5xtv.js";import"../index-6hT6AUWb.js";import"../index-V89sRc_1.js";import"../index-BFIqM83W.js";import"../index-nQdmovC7.js";import"../index-D0U3fLSz.js";import"../index-DgDOTd7A.js";import"../index-BSg6AHO_.js";import"../index-CU5EThoY.js";import"../index-UpuvJrIi.js";import"../index-nbh7ArOF.js";import"../index--9RIWFJU.js";import"../Text-p70kdyY5.js";import"../Box-BIS0zj-s.js";import"../recipeRuntime-Hog5oQ-n.js";const t="ax-toast-title";var i=o(t,r,{customEvents:[]});export{t as ToastTitle,i as default};
@@ -1 +1 @@
1
- import{w as e,u as t,r as a}from"../register-Cd4Qh2V4.js";import{R as n}from"../index-xZyX2koM.js";import{B as s}from"../Button-BKqW37Ez.js";import"../mapping-a1hAK8yD.js";import"../index-CBrz5xtv.js";import"../index-Bx1LqORX.js";import"../index-DXWuBxF-.js";import"../index-DXllU1i0.js";import"../index-BZ1CVUwt.js";import"../AnimatePresence-BwDPy3k5.js";import"../Transition-cMcn9E_A.js";import"../recipeRuntime-Btx2HBIL.js";import"../Box-DupSHbpd.js";import"../Flex-CSuhXFqA.js";import"../Icon-C5KkaPM-.js";import"../Spinner-DLIsZR9D.js";import"../fallbackSpan-B3h0jb2t.js";import"../TableRow.css.ts.vanilla-BMIhB2fq-BoNyY9hQ.js";const o=e(({children:i,...m},p)=>t(s,{appearance:"subtle",asChild:!0,...m,children:t(n,{ref:p,children:i})}));o.displayName="@optiaxiom/react/ToggleButton";const r="ax-toggle-button";var l=a(r,o,{customEvents:["onPressedChange"]});export{r as ToggleButton,l as default};
1
+ import{w as e,u as t,r as a}from"../register-D184xJsC.js";import{R as n}from"../index-BRXqwaji.js";import{d as s}from"../Button-Di0kjvQU.js";import"../mapping-io6Om00y.js";import"../index-CBrz5xtv.js";import"../index-nbh7ArOF.js";import"../index-BSg6AHO_.js";import"../index-DgDOTd7A.js";import"../index-6hT6AUWb.js";import"../AnimatePresence-ByThGGkK.js";import"../Transition-DVLGCVSN.js";import"../recipeRuntime-Hog5oQ-n.js";import"../Box-BIS0zj-s.js";import"../Spinner-BFogkPeN.js";import"../Flex-BINBRu8r.js";import"../TableRow.css.ts.vanilla-g1JsQVd4-BYq9rCjX.js";import"../Icon-DyZtLQH4.js";const o=e(({children:i,...m},p)=>t(s,{appearance:"subtle",asChild:!0,...m,children:t(n,{ref:p,children:i})}));o.displayName="@optiaxiom/react/ToggleButton";const r="ax-toggle-button";var l=a(r,o,{customEvents:["onPressedChange"]});export{r as ToggleButton,l as default};
@@ -1 +1 @@
1
- import{r as t}from"../register-Cd4Qh2V4.js";import{p as r}from"../Tooltip-BEAGhUne.js";import"../mapping-a1hAK8yD.js";import"../TooltipContent-o82qkmmy.js";import"../index-BsKFAx9Y.js";import"../index-CBrz5xtv.js";import"../index-BZ1CVUwt.js";import"../index-DKzKWsoP.js";import"../index-BbGZ2es-.js";import"../index-DXllU1i0.js";import"../index-DXWuBxF-.js";import"../index-BJRMGfOc.js";import"../index-CHylLgfg.js";import"../index-CMpRl1HZ.js";import"../index-BKRpvxIZ.js";import"../index-LFdW1wkC.js";import"../index-Bx1LqORX.js";import"../index-DCVZRV6v.js";import"../AnimatePresence-BwDPy3k5.js";import"../Transition-cMcn9E_A.js";import"../recipeRuntime-Btx2HBIL.js";import"../Box-DupSHbpd.js";import"../Text-DON4bst4.js";import"../TooltipContext-DwWvNZf-.js";import"../TooltipRoot-BFD9bK77.js";import"../TooltipTrigger-DHhEikg9.js";import"../Button-BKqW37Ez.js";import"../Flex-CSuhXFqA.js";import"../Icon-C5KkaPM-.js";import"../Spinner-DLIsZR9D.js";import"../fallbackSpan-B3h0jb2t.js";import"../TableRow.css.ts.vanilla-BMIhB2fq-BoNyY9hQ.js";const o="ax-tooltip";var p=t(o,r,{customEvents:["onEscapeKeyDown","onPointerDownOutside","onOpenChange"]});export{o as Tooltip,p as default};
1
+ import{r as t}from"../register-D184xJsC.js";import{p as r}from"../Tooltip-CcEpOgXm.js";import"../mapping-io6Om00y.js";import"../TooltipContent-zaA_geTq.js";import"../index-C1TxxSGV.js";import"../index-CBrz5xtv.js";import"../index-6hT6AUWb.js";import"../index-nQdmovC7.js";import"../index-D0U3fLSz.js";import"../index-DgDOTd7A.js";import"../index-BSg6AHO_.js";import"../index-plA5uo7k.js";import"../index-UpuvJrIi.js";import"../index-B2uWQQuR.js";import"../index-BFIqM83W.js";import"../index-CU5EThoY.js";import"../index-nbh7ArOF.js";import"../index--9RIWFJU.js";import"../AnimatePresence-ByThGGkK.js";import"../Transition-DVLGCVSN.js";import"../recipeRuntime-Hog5oQ-n.js";import"../Box-BIS0zj-s.js";import"../Text-p70kdyY5.js";import"../TooltipContext-BZLJVt1k.js";import"../TooltipRoot-CAfDzlwQ.js";import"../TooltipTrigger-Je1ZBstm.js";import"../Button-Di0kjvQU.js";import"../Spinner-BFogkPeN.js";import"../Flex-BINBRu8r.js";import"../TableRow.css.ts.vanilla-g1JsQVd4-BYq9rCjX.js";import"../Icon-DyZtLQH4.js";const o="ax-tooltip";var p=t(o,r,{customEvents:["onEscapeKeyDown","onPointerDownOutside","onOpenChange"]});export{o as Tooltip,p as default};
@@ -1 +1 @@
1
- import{r as t}from"../register-Cd4Qh2V4.js";import{r}from"../TooltipContent-o82qkmmy.js";import"../mapping-a1hAK8yD.js";import"../index-BsKFAx9Y.js";import"../index-CBrz5xtv.js";import"../index-BZ1CVUwt.js";import"../index-DKzKWsoP.js";import"../index-BbGZ2es-.js";import"../index-DXllU1i0.js";import"../index-DXWuBxF-.js";import"../index-BJRMGfOc.js";import"../index-CHylLgfg.js";import"../index-CMpRl1HZ.js";import"../index-BKRpvxIZ.js";import"../index-LFdW1wkC.js";import"../index-Bx1LqORX.js";import"../index-DCVZRV6v.js";import"../AnimatePresence-BwDPy3k5.js";import"../Transition-cMcn9E_A.js";import"../recipeRuntime-Btx2HBIL.js";import"../Box-DupSHbpd.js";import"../Text-DON4bst4.js";import"../TooltipContext-DwWvNZf-.js";const o="ax-tooltip-content";var i=t(o,r,{customEvents:["onEscapeKeyDown","onPointerDownOutside"]});export{o as TooltipContent,i as default};
1
+ import{r as t}from"../register-D184xJsC.js";import{r}from"../TooltipContent-zaA_geTq.js";import"../mapping-io6Om00y.js";import"../index-C1TxxSGV.js";import"../index-CBrz5xtv.js";import"../index-6hT6AUWb.js";import"../index-nQdmovC7.js";import"../index-D0U3fLSz.js";import"../index-DgDOTd7A.js";import"../index-BSg6AHO_.js";import"../index-plA5uo7k.js";import"../index-UpuvJrIi.js";import"../index-B2uWQQuR.js";import"../index-BFIqM83W.js";import"../index-CU5EThoY.js";import"../index-nbh7ArOF.js";import"../index--9RIWFJU.js";import"../AnimatePresence-ByThGGkK.js";import"../Transition-DVLGCVSN.js";import"../recipeRuntime-Hog5oQ-n.js";import"../Box-BIS0zj-s.js";import"../Text-p70kdyY5.js";import"../TooltipContext-BZLJVt1k.js";const o="ax-tooltip-content";var i=t(o,r,{customEvents:["onEscapeKeyDown","onPointerDownOutside"]});export{o as TooltipContent,i as default};
@@ -1 +1 @@
1
- import{r as t}from"../register-Cd4Qh2V4.js";import{c as r}from"../TooltipRoot-BFD9bK77.js";import"../mapping-a1hAK8yD.js";import"../index-BsKFAx9Y.js";import"../index-CBrz5xtv.js";import"../index-BZ1CVUwt.js";import"../index-DKzKWsoP.js";import"../index-BbGZ2es-.js";import"../index-DXllU1i0.js";import"../index-DXWuBxF-.js";import"../index-BJRMGfOc.js";import"../index-CHylLgfg.js";import"../index-CMpRl1HZ.js";import"../index-BKRpvxIZ.js";import"../index-LFdW1wkC.js";import"../index-Bx1LqORX.js";import"../index-DCVZRV6v.js";import"../TooltipContext-DwWvNZf-.js";const o="ax-tooltip-root";var p=t(o,r,{customEvents:["onOpenChange"]});export{o as TooltipRoot,p as default};
1
+ import{r as t}from"../register-D184xJsC.js";import{c as r}from"../TooltipRoot-CAfDzlwQ.js";import"../mapping-io6Om00y.js";import"../index-C1TxxSGV.js";import"../index-CBrz5xtv.js";import"../index-6hT6AUWb.js";import"../index-nQdmovC7.js";import"../index-D0U3fLSz.js";import"../index-DgDOTd7A.js";import"../index-BSg6AHO_.js";import"../index-plA5uo7k.js";import"../index-UpuvJrIi.js";import"../index-B2uWQQuR.js";import"../index-BFIqM83W.js";import"../index-CU5EThoY.js";import"../index-nbh7ArOF.js";import"../index--9RIWFJU.js";import"../TooltipContext-BZLJVt1k.js";const o="ax-tooltip-root";var p=t(o,r,{customEvents:["onOpenChange"]});export{o as TooltipRoot,p as default};
@@ -1 +1 @@
1
- import{r as t}from"../register-Cd4Qh2V4.js";import{t as o}from"../TooltipTrigger-DHhEikg9.js";import"../mapping-a1hAK8yD.js";import"../index-BZ1CVUwt.js";import"../index-BsKFAx9Y.js";import"../index-CBrz5xtv.js";import"../index-DKzKWsoP.js";import"../index-BbGZ2es-.js";import"../index-DXllU1i0.js";import"../index-DXWuBxF-.js";import"../index-BJRMGfOc.js";import"../index-CHylLgfg.js";import"../index-CMpRl1HZ.js";import"../index-BKRpvxIZ.js";import"../index-LFdW1wkC.js";import"../index-Bx1LqORX.js";import"../index-DCVZRV6v.js";import"../Button-BKqW37Ez.js";import"../AnimatePresence-BwDPy3k5.js";import"../Transition-cMcn9E_A.js";import"../recipeRuntime-Btx2HBIL.js";import"../Box-DupSHbpd.js";import"../Flex-CSuhXFqA.js";import"../Icon-C5KkaPM-.js";import"../Spinner-DLIsZR9D.js";import"../fallbackSpan-B3h0jb2t.js";import"../TableRow.css.ts.vanilla-BMIhB2fq-BoNyY9hQ.js";import"../TooltipContext-DwWvNZf-.js";const r="ax-tooltip-trigger";var i=t(r,o,{customEvents:[]});export{r as TooltipTrigger,i as default};
1
+ import{r as t}from"../register-D184xJsC.js";import{t as o}from"../TooltipTrigger-Je1ZBstm.js";import"../mapping-io6Om00y.js";import"../index-6hT6AUWb.js";import"../index-C1TxxSGV.js";import"../index-CBrz5xtv.js";import"../index-nQdmovC7.js";import"../index-D0U3fLSz.js";import"../index-DgDOTd7A.js";import"../index-BSg6AHO_.js";import"../index-plA5uo7k.js";import"../index-UpuvJrIi.js";import"../index-B2uWQQuR.js";import"../index-BFIqM83W.js";import"../index-CU5EThoY.js";import"../index-nbh7ArOF.js";import"../index--9RIWFJU.js";import"../Button-Di0kjvQU.js";import"../AnimatePresence-ByThGGkK.js";import"../Transition-DVLGCVSN.js";import"../recipeRuntime-Hog5oQ-n.js";import"../Box-BIS0zj-s.js";import"../Spinner-BFogkPeN.js";import"../Flex-BINBRu8r.js";import"../TableRow.css.ts.vanilla-g1JsQVd4-BYq9rCjX.js";import"../Icon-DyZtLQH4.js";import"../TooltipContext-BZLJVt1k.js";const r="ax-tooltip-trigger";var i=t(r,o,{customEvents:[]});export{r as TooltipTrigger,i as default};
@@ -1 +1 @@
1
- import{r as t}from"../register-Cd4Qh2V4.js";import{m as o}from"../Transition-cMcn9E_A.js";import"../mapping-a1hAK8yD.js";import"../index-BZ1CVUwt.js";import"../recipeRuntime-Btx2HBIL.js";const r="ax-transition";var i=t(r,o,{customEvents:[]});export{r as Transition,i as default};
1
+ import{r as t}from"../register-D184xJsC.js";import{m as o}from"../Transition-DVLGCVSN.js";import"../mapping-io6Om00y.js";import"../index-6hT6AUWb.js";import"../recipeRuntime-Hog5oQ-n.js";const r="ax-transition";var i=t(r,o,{customEvents:[]});export{r as Transition,i as default};
@@ -1 +1 @@
1
- import{o as r,f as i,u as f}from"./register-Cd4Qh2V4.js";const a=(n,c,s=e=>e)=>{const e={};for(const[t,o]of Object.entries(n))e[s?s(t):t]=c(o,t);return e};({...a(r.screens,n=>({"@media":`screen and (min-width: ${n})`}))});const d=n=>i(n)?n:f("span",{children:n});export{d as l};
1
+ import{o as r,f as i,u as f}from"./register-D184xJsC.js";const a=(n,c,s=e=>e)=>{const e={};for(const[t,o]of Object.entries(n))e[s?s(t):t]=c(o,t);return e};({...a(r.screens,n=>({"@media":`screen and (min-width: ${n})`}))});const d=n=>i(n)?n:f("span",{children:n});export{d as l};
@@ -1 +1 @@
1
- import{w as e,u as o}from"./register-Cd4Qh2V4.js";import{P as t}from"./index-DXllU1i0.js";var d="VisuallyHidden",r=e((i,a)=>o(t.span,{...i,ref:a,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...i.style}}));r.displayName=d;var l=r;export{l as R,r as V};
1
+ import{w as e,u as o}from"./register-D184xJsC.js";import{P as t}from"./index-DgDOTd7A.js";var d="VisuallyHidden",r=e((i,a)=>o(t.span,{...i,ref:a,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...i.style}}));r.displayName=d;var l=r;export{l as R,r as V};
@@ -1 +1 @@
1
- import{q as S,w as d,I as l,f as a,u,s as g,b}from"./register-Cd4Qh2V4.js";function h(n,r){typeof n=="function"?n(r):n!=null&&(n.current=r)}function f(...n){return r=>n.forEach(e=>h(e,r))}function v(...n){return S(f(...n),n)}var m=d((n,r)=>{const{children:e,...t}=n,o=l.toArray(e),s=o.find(P);if(s){const i=s.props.children,c=o.map(y=>y===s?l.count(i)>1?l.only(null):a(i)?i.props.children:null:y);return u(p,{...t,ref:r,children:a(i)?g(i,void 0,c):null})}return u(p,{...t,ref:r,children:e})});m.displayName="Slot";var p=d((n,r)=>{const{children:e,...t}=n;if(a(e)){const o=C(e);return g(e,{...W(t,e.props),ref:r?f(r,o):o})}return l.count(e)>1?l.only(null):null});p.displayName="SlotClone";var R=({children:n})=>u(b,{children:n});function P(n){return a(n)&&n.type===R}function W(n,r){const e={...r};for(const t in r){const o=n[t],s=r[t];/^on[A-Z]/.test(t)?o&&s?e[t]=(...c)=>{s(...c),o(...c)}:o&&(e[t]=o):t==="style"?e[t]={...o,...s}:t==="className"&&(e[t]=[o,s].filter(Boolean).join(" "))}return{...n,...e}}function C(n){let r=Object.getOwnPropertyDescriptor(n.props,"ref")?.get,e=r&&"isReactWarning"in r&&r.isReactWarning;return e?n.ref:(r=Object.getOwnPropertyDescriptor(n,"ref")?.get,e=r&&"isReactWarning"in r&&r.isReactWarning,e?n.props.ref:n.props.ref||n.ref)}export{R as S,m as a,f as c,v as u};
1
+ import{q as S,w as d,I as l,f as a,u,s as g,b}from"./register-D184xJsC.js";function h(n,r){typeof n=="function"?n(r):n!=null&&(n.current=r)}function f(...n){return r=>n.forEach(e=>h(e,r))}function v(...n){return S(f(...n),n)}var m=d((n,r)=>{const{children:e,...t}=n,o=l.toArray(e),s=o.find(P);if(s){const i=s.props.children,c=o.map(y=>y===s?l.count(i)>1?l.only(null):a(i)?i.props.children:null:y);return u(p,{...t,ref:r,children:a(i)?g(i,void 0,c):null})}return u(p,{...t,ref:r,children:e})});m.displayName="Slot";var p=d((n,r)=>{const{children:e,...t}=n;if(a(e)){const o=C(e);return g(e,{...W(t,e.props),ref:r?f(r,o):o})}return l.count(e)>1?l.only(null):null});p.displayName="SlotClone";var R=({children:n})=>u(b,{children:n});function P(n){return a(n)&&n.type===R}function W(n,r){const e={...r};for(const t in r){const o=n[t],s=r[t];/^on[A-Z]/.test(t)?o&&s?e[t]=(...c)=>{s(...c),o(...c)}:o&&(e[t]=o):t==="style"?e[t]={...o,...s}:t==="className"&&(e[t]=[o,s].filter(Boolean).join(" "))}return{...n,...e}}function C(n){let r=Object.getOwnPropertyDescriptor(n.props,"ref")?.get,e=r&&"isReactWarning"in r&&r.isReactWarning;return e?n.ref:(r=Object.getOwnPropertyDescriptor(n,"ref")?.get,e=r&&"isReactWarning"in r&&r.isReactWarning,e?n.props.ref:n.props.ref||n.ref)}export{R as S,m as a,f as c,v as u};
@@ -1 +1 @@
1
- import{h as Y,q as yt,A as J,g as Ae,T as lt,c as Pe,y as Wt,w as at,u as j}from"./register-Cd4Qh2V4.js";import{P as vt}from"./index-DXllU1i0.js";import{u as zt}from"./index-BZ1CVUwt.js";import{c as Oe}from"./index-BKRpvxIZ.js";import{u as Re}from"./index-DXWuBxF-.js";import{u as bt}from"./index-CHylLgfg.js";const Ce=["top","right","bottom","left"],U=Math.min,N=Math.max,ft=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 At(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),a=r==="y",f=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:f,y:o.y-i.height};break;case"bottom":d={x:f,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&&a?-1:1);break;case"end":d[s]+=h*(n&&a?-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 a=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:f,y:u}=Bt(a,o,l),h=o,d={},p=0;for(let m=0;m<c.length;m++){const{name:w,fn:g}=c[m],{x,y:b,data:y,reset:v}=await g({x:f,y:u,initialPlacement:o,placement:h,strategy:i,middlewareData:d,rects:a,platform:s,elements:{reference:t,floating:e}});f=x??f,u=b??u,d={...d,[w]:{...d[w],...y}},v&&p<=50&&(p++,typeof v=="object"&&(v.placement&&(h=v.placement),v.rects&&(a=v.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):v.rects),{x:f,y:u}=Bt(a,h,l)),m=-1)}return{x:f,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:a="clippingAncestors",rootBoundary:f="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:a,rootBoundary:f,strategy:l})),x=u==="floating"?{x:o,y:i,width:s.floating.width,height:s.floating.height}:s.reference,b=await(r.getOffsetParent==null?void 0:r.getOffsetParent(c.floating)),y=await(r.isElement==null?void 0:r.isElement(b))?await(r.getScale==null?void 0:r.getScale(b))||{x:1,y:1}:{x:1,y:1},v=pt(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:x,offsetParent:b,strategy:l}):x);return{top:(g.top-v.top+p.top)/y.y,bottom:(v.bottom-g.bottom+p.bottom)/y.y,left:(g.left-v.left+p.left)/y.x,right:(v.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:a,padding:f=0}=X(t,e)||{};if(a==null)return{};const u=_t(f),h={x:n,y:o},d=Rt(i),p=Ot(d),m=await s.getDimensions(a),w=d==="y",g=w?"top":"left",x=w?"bottom":"right",b=w?"clientHeight":"clientWidth",y=r.reference[p]+r.reference[d]-h[d]-r.floating[p],v=h[d]-r.reference[d],P=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a));let R=P?P[b]:0;(!R||!await(s.isElement==null?void 0:s.isElement(P)))&&(R=c.floating[b]||r.floating[p]);const D=y/2-v/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=At($,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:a}=e,{mainAxis:f=!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),b=q(c)===c,y=await(l.isRTL==null?void 0:l.isRTL(a.floating)),v=h||(b||!m?[dt(c)]:Te(c)),P=p!=="none";!h&&P&&v.push(...Me(c,m,p,y));const R=[c,...v],D=await it(e,w),k=[];let T=((o=r.flip)==null?void 0:o.overflows)||[];if(f&&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,A)=>E.overflows[1]-A.overflows[1])[0])==null?void 0:$.placement;if(!S)switch(d){case"bestFit":{var C;const E=(C=T.filter(A=>{if(P){const L=Z(A.placement);return L===x||L==="y"}return!0}).map(A=>[A.placement,A.overflows.filter(L=>L>0).reduce((L,_)=>L+_,0)]).sort((A,L)=>A[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",a=["left","top"].includes(s)?-1:1,f=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*f,y:h*a}:{x:h*a,y:d*f}}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),a={x:n,y:o},f=await it(e,l),u=Z(q(i)),h=Pt(u);let d=a[h],p=a[u];if(r){const w=h==="y"?"top":"left",g=h==="y"?"bottom":"right",x=d+f[w],b=d-f[g];d=At(x,d,b)}if(s){const w=u==="y"?"top":"left",g=u==="y"?"bottom":"right",x=p+f[w],b=p-f[g];p=At(x,p,b)}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:a=!0}=X(t,e),f={x:n,y:o},u=Z(i),h=Pt(u);let d=f[h],p=f[u];const m=X(c,e),w=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(l){const b=h==="y"?"height":"width",y=r.reference[h]-r.floating[b]+w.mainAxis,v=r.reference[h]+r.reference[b]-w.mainAxis;d<y?d=y:d>v&&(d=v)}if(a){var g,x;const b=h==="y"?"width":"height",y=["top","left"].includes(q(i)),v=r.reference[u]-r.floating[b]+(y&&((g=s.offset)==null?void 0:g[u])||0)+(y?0:w.crossAxis),P=r.reference[u]+r.reference[b]+(y?0:((x=s.offset)==null?void 0:x[u])||0)-(y?w.crossAxis:0);p<v?p=v: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=()=>{},...a}=X(t,e),f=await it(e,a),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-f.top-f.bottom,b=p-f.left-f.right,y=U(m-f[w],x),v=U(p-f[g],b),P=!e.middlewareData.shift;let R=y,D=v;if((n=e.middlewareData.shift)!=null&&n.enabled.x&&(D=b),(o=e.middlewareData.shift)!=null&&o.enabled.y&&(R=x),P&&!h){const T=N(f.left,0),M=N(f.right,0),$=N(f.top,0),C=N(f.bottom,0);d?D=p-2*(T!==0||M!==0?T+M:N(f.left,f.right)):R=m-2*($!==0||C!==0?$+C:N(f.top,f.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=ft(n)!==r||ft(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?ft(n.width):n.width)/o,c=(r?ft(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,a=(i.top+c.y)/s.y,f=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),b=g.left+(m.clientLeft+parseFloat(x.paddingLeft))*w.x,y=g.top+(m.clientTop+parseFloat(x.paddingTop))*w.y;l*=w.x,a*=w.y,f*=w.x,u*=w.y,l+=b,a+=y,p=F(m),m=Dt(p)}}return pt({width:f,height:u,x:l,y:a})}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},a=B(1);const f=B(0),u=I(o);if((u||!u&&!r)&&((tt(o)!=="body"||rt(s))&&(l=gt(o)),I(o))){const d=G(o);a=nt(o),f.x=d.x+o.clientLeft,f.y=d.y+o.clientTop}const h=s&&!u&&!r?Zt(s,l,!0):B(0);return{width:n.width*a.x,height:n.height*a.y,x:n.x*a.x-l.scrollLeft*a.x+f.x+h.x,y:n.y*a.y-l.scrollTop*a.y+f.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 a=Et();(!a||a&&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,a=o*r.y;return{width:s,height:c,x:l,y:a}}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(f=>f!==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((a,f)=>{const u=Kt(e,f,i);return a.top=N(u.top,a.top),a.right=U(u.right,a.right),a.bottom=U(u.bottom,a.bottom),a.left=N(u.left,a.left),a},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 a=i&&!o&&!r?Zt(i,c):B(0),f=s.left+c.scrollLeft-l.x-a.x,u=s.top+c.scrollTop-l.y-a.y;return{x:f,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:a,top:f,width:u,height:h}=t.getBoundingClientRect();if(c||e(),!u||!h)return;const d=ut(f),p=ut(i.clientWidth-(a+u)),m=ut(i.clientHeight-(f+h)),w=ut(a),x={rootMargin:-d+"px "+-p+"px "+-m+"px "+-w+"px",threshold:N(0,U(1,l))||1};let b=!0;function y(v){const P=v[0].intersectionRatio;if(P!==l){if(!b)return s();P?s(!1,P):o=setTimeout(()=>{s(!1,1e-7)},1e3)}b=!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,a=Tt(t),f=i||r?[...a?st(a):[],...st(e)]:[];f.forEach(g=>{i&&g.addEventListener("scroll",n,{passive:!0}),r&&g.addEventListener("resize",n)});const u=a&&c?sn(a,n):null;let h=-1,d=null;s&&(d=new ResizeObserver(g=>{let[x]=g;x&&x.target===a&&d&&(d.unobserve(e),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var b;(b=d)==null||b.observe(e)})),n()}),a&&!l&&d.observe(a),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;f.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,an=_e,fn=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:a}=t,[f,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(A=>{A!==P.current&&(P.current=A,m(A))},[]),b=yt(A=>{A!==R.current&&(R.current=A,g(A))},[]),y=r||p,v=s||w,P=J(null),R=J(null),D=J(f),k=l!=null,T=$t(l),M=$t(i),$=$t(a),C=yt(()=>{if(!P.current||!R.current)return;const A={placement:e,strategy:n,middleware:h};M.current&&(A.platform=M.current),hn(P.current,R.current,A).then(L=>{const _={...L,isPositioned:$.current!==!1};O.current&&!xt(D.current,_)&&(D.current=_,Ae(()=>{u(_)}))})},[h,e,n,M,$]);wt(()=>{a===!1&&D.current.isPositioned&&(D.current.isPositioned=!1,u(A=>({...A,isPositioned:!1})))},[a]);const O=J(!1);wt(()=>(O.current=!0,()=>{O.current=!1}),[]),wt(()=>{if(y&&(P.current=y),v&&(R.current=v),y&&v){if(T.current)return T.current(y,v,C);C()}},[y,v,C,T,k]);const H=lt(()=>({reference:P,floating:R,setReference:x,setFloating:b}),[x,b]),S=lt(()=>({reference:y,floating:v}),[y,v]),E=lt(()=>{const A={position:n,left:0,top:0};if(!S.floating)return A;const L=ne(S.floating,f.x),_=ne(S.floating,f.y);return c?{...A,transform:"translate("+L+"px, "+_+"px)",...ee(S.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:L,top:_}},[n,c,S.floating,f.x,f.y]);return lt(()=>({...f,update:C,refs:H,elements:S,floatingStyles:E}),[f,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)=>({...an(t),options:[t,e]}),yn=(t,e)=>({...pn(t),options:[t,e]}),vn=(t,e)=>({...fn(t),options:[t,e]}),bn=(t,e)=>({...un(t),options:[t,e]}),An=(t,e)=>({...dn(t),options:[t,e]}),Pn=(t,e)=>({...gn(t),options:[t,e]});var On="Arrow",oe=at((t,e)=>{const{children:n,width:o=10,height:i=5,...r}=t;return j(vt.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 bt(()=>{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,a=Array.isArray(l)?l[0]:l;s=a.inlineSize,c=a.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=at((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(vt.div,{...i,ref:c})});le.displayName=ce;var Nt="PopperContent",[Dn,Tn]=ie(Nt),ae=at((t,e)=>{const{__scopePopper:n,side:o="bottom",sideOffset:i=0,align:r="center",alignOffset:s=0,arrowPadding:c=0,avoidCollisions:l=!0,collisionBoundary:a=[],collisionPadding:f=0,sticky:u="partial",hideWhenDetached:h=!1,updatePositionStrategy:d="optimized",onPlaced:p,...m}=t,w=re(Nt,n),[g,x]=Y(null),b=zt(e,ot=>x(ot)),[y,v]=Y(null),P=Cn(y),R=P?.width??0,D=P?.height??0,k=o+(r!=="center"?"-"+r:""),T=typeof f=="number"?f:{top:0,right:0,bottom:0,left:0,...f},M=Array.isArray(a)?a:[a],$=M.length>0,C={padding:T,boundary:M.filter(Mn),altBoundary:$},{refs:O,floatingStyles:H,placement:S,isPositioned:E,middlewareData:A}=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&&vn({...C}),bn({...C,apply:({elements:ot,rects:Ht,availableWidth:xe,availableHeight:ye})=>{const{width:ve,height:be}=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",`${ve}px`),ct.setProperty("--radix-popper-anchor-height",`${be}px`)}}),y&&Pn({element:y,padding:c}),$n({arrowWidth:R,arrowHeight:D}),h&&An({strategy:"referenceHidden",...C})]}),[L,_]=de(S),Ft=Re(p);bt(()=>{E&&Ft?.()},[E,Ft]);const pe=A.arrow?.x,he=A.arrow?.y,me=A.arrow?.centerOffset!==0,[ge,we]=Y();return bt(()=>{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"]:[A.transformOrigin?.x,A.transformOrigin?.y].join(" "),...A.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:t.dir,children:j(Dn,{scope:n,placedSide:L,onArrowChange:v,arrowX:pe,arrowY:he,shouldHideArrow:me,children:j(vt.div,{"data-side":L,"data-align":_,...m,ref:b,style:{...m.style,animation:E?void 0:"none"}})})})});ae.displayName=Nt;var fe="PopperArrow",Ln={top:"bottom",right:"left",bottom:"top",left:"right"},ue=at(function(e,n){const{__scopePopper:o,...i}=e,r=Tn(fe,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=fe;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,[a,f]=de(n),u={start:"0%",center:"50%",end:"100%"}[f],h=(i.arrow?.x??0)+c/2,d=(i.arrow?.y??0)+l/2;let p="",m="";return a==="bottom"?(p=s?u:`${h}px`,m=`${-l}px`):a==="top"?(p=s?u:`${h}px`,m=`${o.floating.height+l}px`):a==="right"?(p=`${-l}px`,m=s?u:`${d}px`):a==="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=ae,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,g as Ae,T as lt,c as Pe,y as Wt,w as at,u as j}from"./register-D184xJsC.js";import{P as vt}from"./index-DgDOTd7A.js";import{u as zt}from"./index-6hT6AUWb.js";import{c as Oe}from"./index-BFIqM83W.js";import{u as Re}from"./index-BSg6AHO_.js";import{u as bt}from"./index-UpuvJrIi.js";const Ce=["top","right","bottom","left"],U=Math.min,N=Math.max,ft=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 At(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),a=r==="y",f=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:f,y:o.y-i.height};break;case"bottom":d={x:f,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&&a?-1:1);break;case"end":d[s]+=h*(n&&a?-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 a=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:f,y:u}=Bt(a,o,l),h=o,d={},p=0;for(let m=0;m<c.length;m++){const{name:w,fn:g}=c[m],{x,y:b,data:y,reset:v}=await g({x:f,y:u,initialPlacement:o,placement:h,strategy:i,middlewareData:d,rects:a,platform:s,elements:{reference:t,floating:e}});f=x??f,u=b??u,d={...d,[w]:{...d[w],...y}},v&&p<=50&&(p++,typeof v=="object"&&(v.placement&&(h=v.placement),v.rects&&(a=v.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):v.rects),{x:f,y:u}=Bt(a,h,l)),m=-1)}return{x:f,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:a="clippingAncestors",rootBoundary:f="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:a,rootBoundary:f,strategy:l})),x=u==="floating"?{x:o,y:i,width:s.floating.width,height:s.floating.height}:s.reference,b=await(r.getOffsetParent==null?void 0:r.getOffsetParent(c.floating)),y=await(r.isElement==null?void 0:r.isElement(b))?await(r.getScale==null?void 0:r.getScale(b))||{x:1,y:1}:{x:1,y:1},v=pt(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:x,offsetParent:b,strategy:l}):x);return{top:(g.top-v.top+p.top)/y.y,bottom:(v.bottom-g.bottom+p.bottom)/y.y,left:(g.left-v.left+p.left)/y.x,right:(v.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:a,padding:f=0}=X(t,e)||{};if(a==null)return{};const u=_t(f),h={x:n,y:o},d=Rt(i),p=Ot(d),m=await s.getDimensions(a),w=d==="y",g=w?"top":"left",x=w?"bottom":"right",b=w?"clientHeight":"clientWidth",y=r.reference[p]+r.reference[d]-h[d]-r.floating[p],v=h[d]-r.reference[d],P=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a));let R=P?P[b]:0;(!R||!await(s.isElement==null?void 0:s.isElement(P)))&&(R=c.floating[b]||r.floating[p]);const D=y/2-v/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=At($,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:a}=e,{mainAxis:f=!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),b=q(c)===c,y=await(l.isRTL==null?void 0:l.isRTL(a.floating)),v=h||(b||!m?[dt(c)]:Te(c)),P=p!=="none";!h&&P&&v.push(...Me(c,m,p,y));const R=[c,...v],D=await it(e,w),k=[];let T=((o=r.flip)==null?void 0:o.overflows)||[];if(f&&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,A)=>E.overflows[1]-A.overflows[1])[0])==null?void 0:$.placement;if(!S)switch(d){case"bestFit":{var C;const E=(C=T.filter(A=>{if(P){const L=Z(A.placement);return L===x||L==="y"}return!0}).map(A=>[A.placement,A.overflows.filter(L=>L>0).reduce((L,_)=>L+_,0)]).sort((A,L)=>A[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",a=["left","top"].includes(s)?-1:1,f=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*f,y:h*a}:{x:h*a,y:d*f}}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),a={x:n,y:o},f=await it(e,l),u=Z(q(i)),h=Pt(u);let d=a[h],p=a[u];if(r){const w=h==="y"?"top":"left",g=h==="y"?"bottom":"right",x=d+f[w],b=d-f[g];d=At(x,d,b)}if(s){const w=u==="y"?"top":"left",g=u==="y"?"bottom":"right",x=p+f[w],b=p-f[g];p=At(x,p,b)}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:a=!0}=X(t,e),f={x:n,y:o},u=Z(i),h=Pt(u);let d=f[h],p=f[u];const m=X(c,e),w=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(l){const b=h==="y"?"height":"width",y=r.reference[h]-r.floating[b]+w.mainAxis,v=r.reference[h]+r.reference[b]-w.mainAxis;d<y?d=y:d>v&&(d=v)}if(a){var g,x;const b=h==="y"?"width":"height",y=["top","left"].includes(q(i)),v=r.reference[u]-r.floating[b]+(y&&((g=s.offset)==null?void 0:g[u])||0)+(y?0:w.crossAxis),P=r.reference[u]+r.reference[b]+(y?0:((x=s.offset)==null?void 0:x[u])||0)-(y?w.crossAxis:0);p<v?p=v: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=()=>{},...a}=X(t,e),f=await it(e,a),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-f.top-f.bottom,b=p-f.left-f.right,y=U(m-f[w],x),v=U(p-f[g],b),P=!e.middlewareData.shift;let R=y,D=v;if((n=e.middlewareData.shift)!=null&&n.enabled.x&&(D=b),(o=e.middlewareData.shift)!=null&&o.enabled.y&&(R=x),P&&!h){const T=N(f.left,0),M=N(f.right,0),$=N(f.top,0),C=N(f.bottom,0);d?D=p-2*(T!==0||M!==0?T+M:N(f.left,f.right)):R=m-2*($!==0||C!==0?$+C:N(f.top,f.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=ft(n)!==r||ft(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?ft(n.width):n.width)/o,c=(r?ft(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,a=(i.top+c.y)/s.y,f=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),b=g.left+(m.clientLeft+parseFloat(x.paddingLeft))*w.x,y=g.top+(m.clientTop+parseFloat(x.paddingTop))*w.y;l*=w.x,a*=w.y,f*=w.x,u*=w.y,l+=b,a+=y,p=F(m),m=Dt(p)}}return pt({width:f,height:u,x:l,y:a})}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},a=B(1);const f=B(0),u=I(o);if((u||!u&&!r)&&((tt(o)!=="body"||rt(s))&&(l=gt(o)),I(o))){const d=G(o);a=nt(o),f.x=d.x+o.clientLeft,f.y=d.y+o.clientTop}const h=s&&!u&&!r?Zt(s,l,!0):B(0);return{width:n.width*a.x,height:n.height*a.y,x:n.x*a.x-l.scrollLeft*a.x+f.x+h.x,y:n.y*a.y-l.scrollTop*a.y+f.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 a=Et();(!a||a&&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,a=o*r.y;return{width:s,height:c,x:l,y:a}}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(f=>f!==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((a,f)=>{const u=Kt(e,f,i);return a.top=N(u.top,a.top),a.right=U(u.right,a.right),a.bottom=U(u.bottom,a.bottom),a.left=N(u.left,a.left),a},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 a=i&&!o&&!r?Zt(i,c):B(0),f=s.left+c.scrollLeft-l.x-a.x,u=s.top+c.scrollTop-l.y-a.y;return{x:f,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:a,top:f,width:u,height:h}=t.getBoundingClientRect();if(c||e(),!u||!h)return;const d=ut(f),p=ut(i.clientWidth-(a+u)),m=ut(i.clientHeight-(f+h)),w=ut(a),x={rootMargin:-d+"px "+-p+"px "+-m+"px "+-w+"px",threshold:N(0,U(1,l))||1};let b=!0;function y(v){const P=v[0].intersectionRatio;if(P!==l){if(!b)return s();P?s(!1,P):o=setTimeout(()=>{s(!1,1e-7)},1e3)}b=!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,a=Tt(t),f=i||r?[...a?st(a):[],...st(e)]:[];f.forEach(g=>{i&&g.addEventListener("scroll",n,{passive:!0}),r&&g.addEventListener("resize",n)});const u=a&&c?sn(a,n):null;let h=-1,d=null;s&&(d=new ResizeObserver(g=>{let[x]=g;x&&x.target===a&&d&&(d.unobserve(e),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var b;(b=d)==null||b.observe(e)})),n()}),a&&!l&&d.observe(a),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;f.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,an=_e,fn=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:a}=t,[f,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(A=>{A!==P.current&&(P.current=A,m(A))},[]),b=yt(A=>{A!==R.current&&(R.current=A,g(A))},[]),y=r||p,v=s||w,P=J(null),R=J(null),D=J(f),k=l!=null,T=$t(l),M=$t(i),$=$t(a),C=yt(()=>{if(!P.current||!R.current)return;const A={placement:e,strategy:n,middleware:h};M.current&&(A.platform=M.current),hn(P.current,R.current,A).then(L=>{const _={...L,isPositioned:$.current!==!1};O.current&&!xt(D.current,_)&&(D.current=_,Ae(()=>{u(_)}))})},[h,e,n,M,$]);wt(()=>{a===!1&&D.current.isPositioned&&(D.current.isPositioned=!1,u(A=>({...A,isPositioned:!1})))},[a]);const O=J(!1);wt(()=>(O.current=!0,()=>{O.current=!1}),[]),wt(()=>{if(y&&(P.current=y),v&&(R.current=v),y&&v){if(T.current)return T.current(y,v,C);C()}},[y,v,C,T,k]);const H=lt(()=>({reference:P,floating:R,setReference:x,setFloating:b}),[x,b]),S=lt(()=>({reference:y,floating:v}),[y,v]),E=lt(()=>{const A={position:n,left:0,top:0};if(!S.floating)return A;const L=ne(S.floating,f.x),_=ne(S.floating,f.y);return c?{...A,transform:"translate("+L+"px, "+_+"px)",...ee(S.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:L,top:_}},[n,c,S.floating,f.x,f.y]);return lt(()=>({...f,update:C,refs:H,elements:S,floatingStyles:E}),[f,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)=>({...an(t),options:[t,e]}),yn=(t,e)=>({...pn(t),options:[t,e]}),vn=(t,e)=>({...fn(t),options:[t,e]}),bn=(t,e)=>({...un(t),options:[t,e]}),An=(t,e)=>({...dn(t),options:[t,e]}),Pn=(t,e)=>({...gn(t),options:[t,e]});var On="Arrow",oe=at((t,e)=>{const{children:n,width:o=10,height:i=5,...r}=t;return j(vt.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 bt(()=>{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,a=Array.isArray(l)?l[0]:l;s=a.inlineSize,c=a.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=at((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(vt.div,{...i,ref:c})});le.displayName=ce;var Nt="PopperContent",[Dn,Tn]=ie(Nt),ae=at((t,e)=>{const{__scopePopper:n,side:o="bottom",sideOffset:i=0,align:r="center",alignOffset:s=0,arrowPadding:c=0,avoidCollisions:l=!0,collisionBoundary:a=[],collisionPadding:f=0,sticky:u="partial",hideWhenDetached:h=!1,updatePositionStrategy:d="optimized",onPlaced:p,...m}=t,w=re(Nt,n),[g,x]=Y(null),b=zt(e,ot=>x(ot)),[y,v]=Y(null),P=Cn(y),R=P?.width??0,D=P?.height??0,k=o+(r!=="center"?"-"+r:""),T=typeof f=="number"?f:{top:0,right:0,bottom:0,left:0,...f},M=Array.isArray(a)?a:[a],$=M.length>0,C={padding:T,boundary:M.filter(Mn),altBoundary:$},{refs:O,floatingStyles:H,placement:S,isPositioned:E,middlewareData:A}=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&&vn({...C}),bn({...C,apply:({elements:ot,rects:Ht,availableWidth:xe,availableHeight:ye})=>{const{width:ve,height:be}=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",`${ve}px`),ct.setProperty("--radix-popper-anchor-height",`${be}px`)}}),y&&Pn({element:y,padding:c}),$n({arrowWidth:R,arrowHeight:D}),h&&An({strategy:"referenceHidden",...C})]}),[L,_]=de(S),Ft=Re(p);bt(()=>{E&&Ft?.()},[E,Ft]);const pe=A.arrow?.x,he=A.arrow?.y,me=A.arrow?.centerOffset!==0,[ge,we]=Y();return bt(()=>{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"]:[A.transformOrigin?.x,A.transformOrigin?.y].join(" "),...A.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:t.dir,children:j(Dn,{scope:n,placedSide:L,onArrowChange:v,arrowX:pe,arrowY:he,shouldHideArrow:me,children:j(vt.div,{"data-side":L,"data-align":_,...m,ref:b,style:{...m.style,animation:E?void 0:"none"}})})})});ae.displayName=Nt;var fe="PopperArrow",Ln={top:"bottom",right:"left",bottom:"top",left:"right"},ue=at(function(e,n){const{__scopePopper:o,...i}=e,r=Tn(fe,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=fe;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,[a,f]=de(n),u={start:"0%",center:"50%",end:"100%"}[f],h=(i.arrow?.x??0)+c/2,d=(i.arrow?.y??0)+l/2;let p="",m="";return a==="bottom"?(p=s?u:`${h}px`,m=`${-l}px`):a==="top"?(p=s?u:`${h}px`,m=`${o.floating.height+l}px`):a==="right"?(p=`${-l}px`,m=s?u:`${d}px`):a==="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=ae,Hn=ue;export{Nn as A,Fn as C,kn as R,Hn as a,Sn as c};
@@ -1,4 +1,4 @@
1
- import{w as j,h as P,A as M,y as C,q as k,u as Se,c as Re,_ as A,s as Ne,I as Ce,b as Q,T as Ae}from"./register-Cd4Qh2V4.js";import{u as Te}from"./index-BZ1CVUwt.js";import{P as Me}from"./index-DXllU1i0.js";import{u as ee}from"./index-DXWuBxF-.js";var Y="focusScope.autoFocusOnMount",X="focusScope.autoFocusOnUnmount",te={bubbles:!1,cancelable:!0},ke="FocusScope",ne=j((e,t)=>{const{loop:r=!1,trapped:n=!1,onMountAutoFocus:a,onUnmountAutoFocus:i,...d}=e,[o,E]=P(null),b=ee(a),y=ee(i),l=M(null),v=Te(t,c=>E(c)),h=M({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;C(()=>{if(n){let c=function(p){if(h.paused||!o)return;const m=p.target;((g,R)=>g.getRootNode()instanceof ShadowRoot?g.getRootNode().host.contains(R):g.contains(R))(o,m)?l.current=p.target.shadowRoot?p.composedPath()[0]:p.target:T(l.current,{select:!0})},s=function(p){if(h.paused||!o)return;const m=p.relatedTarget;m!==null&&(((g,R)=>g.getRootNode()instanceof ShadowRoot?g.getRootNode().host.contains(R):g.contains(R))(o,m)||T(l.current,{select:!0}))},u=function(p){if((()=>{let g=document.activeElement;for(;g?.shadowRoot;)g=g.shadowRoot.activeElement;return g})()===document.body)for(const g of p)g.removedNodes.length>0&&T(o)};const f=o?.getRootNode()??document;f.addEventListener("focusin",c),f.addEventListener("focusout",s);const w=new MutationObserver(u);return o&&w.observe(o,{childList:!0,subtree:!0}),()=>{f.removeEventListener("focusin",c),f.removeEventListener("focusout",s),w.disconnect()}}},[n,o,h.paused]),C(()=>{if(o){ae.add(h);const c=(()=>{let u=document.activeElement;for(;u?.shadowRoot;)u=u.shadowRoot.activeElement;return u})();if(!((u,f)=>u.getRootNode()instanceof ShadowRoot?u.getRootNode().host.contains(f):u.contains(f))(o,c)){const u=new CustomEvent(Y,te);o.addEventListener(Y,b),o.dispatchEvent(u),u.defaultPrevented||(Fe(xe(re(o)),{select:!0}),(()=>{let f=document.activeElement;for(;f?.shadowRoot;)f=f.shadowRoot.activeElement;return f})()===c&&T(o))}return()=>{o.removeEventListener(Y,b),setTimeout(()=>{const u=new CustomEvent(X,te);o.addEventListener(X,y),o.dispatchEvent(u),u.defaultPrevented||T(c??document.body,{select:!0}),o.removeEventListener(X,y),ae.remove(h)},0)}}},[o,b,y,h]);const S=k(c=>{if(!r&&!n||h.paused)return;const s=c.key==="Tab"&&!c.altKey&&!c.ctrlKey&&!c.metaKey,u=(()=>{let f=document.activeElement;for(;f?.shadowRoot;)f=f.shadowRoot.activeElement;return f})();if(s&&u){const f=c.currentTarget,[w,p]=Oe(f);w&&p?!c.shiftKey&&u===p?(c.preventDefault(),r&&T(w,{select:!0})):c.shiftKey&&u===w&&(c.preventDefault(),r&&T(p,{select:!0})):u===f&&c.preventDefault()}},[r,n,h.paused]);return Se(Me.div,{tabIndex:-1,...d,ref:v,onKeyDown:S})});ne.displayName=ke;function Fe(e,{select:t=!1}={}){const r=(()=>{let n=document.activeElement;for(;n?.shadowRoot;)n=n.shadowRoot.activeElement;return n})();for(const n of e)if(T(n,{select:t}),(()=>{let a=document.activeElement;for(;a?.shadowRoot;)a=a.shadowRoot.activeElement;return a})()!==r)return}function Oe(e){const t=re(e),r=oe(t,e),n=oe(t.reverse(),e);return[r,n]}function re(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{const a=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||a?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function oe(e,t){for(const r of e)if(!_e(r,{upTo:t}))return r}function _e(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function Le(e){return e instanceof HTMLInputElement&&"select"in e}function T(e,{select:t=!1}={}){if(e&&e.focus){const r=(()=>{let n=document.activeElement;for(;n?.shadowRoot;)n=n.shadowRoot.activeElement;return n})();e.focus({preventScroll:!0}),e!==r&&Le(e)&&t&&e.select()}}var ae=Pe();function Pe(){let e=[];return{add(t){const r=e[0];t!==r&&r?.pause(),e=ce(e,t),e.unshift(t)},remove(t){e=ce(e,t),e[0]?.resume()}}}function ce(e,t){const r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}function xe(e){return e.filter(t=>t.tagName!=="A")}var H=0;function Ie(){C(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??ie()),document.body.insertAdjacentElement("beforeend",e[1]??ie()),H++,()=>{H===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),H--}},[])}function ie(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var N=function(){return N=Object.assign||function(t){for(var r,n=1,a=arguments.length;n<a;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},N.apply(this,arguments)};function ue(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,n=Object.getOwnPropertySymbols(e);a<n.length;a++)t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r}function We(e,t,r){if(r||arguments.length===2)for(var n=0,a=t.length,i;n<a;n++)(i||!(n in t))&&(i||(i=Array.prototype.slice.call(t,0,n)),i[n]=t[n]);return e.concat(i||Array.prototype.slice.call(t))}typeof SuppressedError=="function"&&SuppressedError;var I="right-scroll-bar-position",W="width-before-scroll-bar",$e="with-scroll-bars-hidden",Be="--removed-body-scroll-bar-size";function q(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function Ue(e,t){var r=P(function(){return{value:e,callback:t,facade:{get current(){return r.value},set current(n){var a=r.value;a!==n&&(r.value=n,r.callback(n,a))}}}})[0];return r.callback=t,r.facade}var De=typeof window<"u"?Re:C,se=new WeakMap;function Ke(e,t){var r=Ue(null,function(n){return e.forEach(function(a){return q(a,n)})});return De(function(){var n=se.get(r);if(n){var a=new Set(n),i=new Set(e),d=r.current;a.forEach(function(o){i.has(o)||q(o,null)}),i.forEach(function(o){a.has(o)||q(o,d)})}se.set(r,e)},[e]),r}function je(e){return e}function Ye(e,t){t===void 0&&(t=je);var r=[],n=!1,a={read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(i){var d=t(i,n);return r.push(d),function(){r=r.filter(function(o){return o!==d})}},assignSyncMedium:function(i){for(n=!0;r.length;){var d=r;r=[],d.forEach(i)}r={push:function(o){return i(o)},filter:function(){return r}}},assignMedium:function(i){n=!0;var d=[];if(r.length){var o=r;r=[],o.forEach(i),d=r}var E=function(){var y=d;d=[],y.forEach(i)},b=function(){return Promise.resolve().then(E)};b(),r={push:function(y){d.push(y),b()},filter:function(y){return d=d.filter(y),r}}}};return a}function Xe(e){e===void 0&&(e={});var t=Ye(null);return t.options=N({async:!0,ssr:!1},e),t}var le=function(e){var t=e.sideCar,r=ue(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw new Error("Sidecar medium not found");return A(n,N({},r))};le.isSideCarExport=!0;function He(e,t){return e.useMedium(t),le}var de=Xe(),z=function(){},$=j(function(e,t){var r=M(null),n=P({onScrollCapture:z,onWheelCapture:z,onTouchMoveCapture:z}),a=n[0],i=n[1],d=e.forwardProps,o=e.children,E=e.className,b=e.removeScrollBar,y=e.enabled,l=e.shards,v=e.sideCar,h=e.noIsolation,S=e.inert,c=e.allowPinchZoom,s=e.as,u=s===void 0?"div":s,f=e.gapMode,w=ue(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),p=v,m=Ke([r,t]),g=N(N({},w),a);return A(Q,null,y&&A(p,{sideCar:de,removeScrollBar:b,shards:l,noIsolation:h,inert:S,setCallbacks:i,allowPinchZoom:!!c,lockRef:r,gapMode:f}),d?Ne(Ce.only(o),N(N({},g),{ref:m})):A(u,N({},g,{className:E,ref:m}),o))});$.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},$.classNames={fullWidth:W,zeroRight:I};var qe=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function ze(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=qe();return t&&e.setAttribute("nonce",t),e}function Ge(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Ve(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var Ze=function(){var e=0,t=null;return{add:function(r){e==0&&(t=ze())&&(Ge(t,r),Ve(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Je=function(){var e=Ze();return function(t,r){C(function(){return e.add(t),function(){e.remove()}},[t&&r])}},fe=function(){var e=Je(),t=function(r){var n=r.styles,a=r.dynamic;return e(n,a),null};return t},Qe={left:0,top:0,right:0,gap:0},G=function(e){return parseInt(e||"",10)||0},et=function(e){var t=window.getComputedStyle(document.body),r=t[e==="padding"?"paddingLeft":"marginLeft"],n=t[e==="padding"?"paddingTop":"marginTop"],a=t[e==="padding"?"paddingRight":"marginRight"];return[G(r),G(n),G(a)]},tt=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return Qe;var t=et(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},nt=fe(),F="data-scroll-locked",rt=function(e,t,r,n){var a=e.left,i=e.top,d=e.right,o=e.gap;return r===void 0&&(r="margin"),`
1
+ import{w as j,h as P,A as M,y as C,q as k,u as Se,c as Re,_ as A,s as Ne,I as Ce,b as Q,T as Ae}from"./register-D184xJsC.js";import{u as Te}from"./index-6hT6AUWb.js";import{P as Me}from"./index-DgDOTd7A.js";import{u as ee}from"./index-BSg6AHO_.js";var Y="focusScope.autoFocusOnMount",X="focusScope.autoFocusOnUnmount",te={bubbles:!1,cancelable:!0},ke="FocusScope",ne=j((e,t)=>{const{loop:r=!1,trapped:n=!1,onMountAutoFocus:a,onUnmountAutoFocus:i,...d}=e,[o,E]=P(null),b=ee(a),y=ee(i),l=M(null),v=Te(t,c=>E(c)),h=M({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;C(()=>{if(n){let c=function(p){if(h.paused||!o)return;const m=p.target;((g,R)=>g.getRootNode()instanceof ShadowRoot?g.getRootNode().host.contains(R):g.contains(R))(o,m)?l.current=p.target.shadowRoot?p.composedPath()[0]:p.target:T(l.current,{select:!0})},s=function(p){if(h.paused||!o)return;const m=p.relatedTarget;m!==null&&(((g,R)=>g.getRootNode()instanceof ShadowRoot?g.getRootNode().host.contains(R):g.contains(R))(o,m)||T(l.current,{select:!0}))},u=function(p){if((()=>{let g=document.activeElement;for(;g?.shadowRoot;)g=g.shadowRoot.activeElement;return g})()===document.body)for(const g of p)g.removedNodes.length>0&&T(o)};const f=o?.getRootNode()??document;f.addEventListener("focusin",c),f.addEventListener("focusout",s);const w=new MutationObserver(u);return o&&w.observe(o,{childList:!0,subtree:!0}),()=>{f.removeEventListener("focusin",c),f.removeEventListener("focusout",s),w.disconnect()}}},[n,o,h.paused]),C(()=>{if(o){ae.add(h);const c=(()=>{let u=document.activeElement;for(;u?.shadowRoot;)u=u.shadowRoot.activeElement;return u})();if(!((u,f)=>u.getRootNode()instanceof ShadowRoot?u.getRootNode().host.contains(f):u.contains(f))(o,c)){const u=new CustomEvent(Y,te);o.addEventListener(Y,b),o.dispatchEvent(u),u.defaultPrevented||(Fe(xe(re(o)),{select:!0}),(()=>{let f=document.activeElement;for(;f?.shadowRoot;)f=f.shadowRoot.activeElement;return f})()===c&&T(o))}return()=>{o.removeEventListener(Y,b),setTimeout(()=>{const u=new CustomEvent(X,te);o.addEventListener(X,y),o.dispatchEvent(u),u.defaultPrevented||T(c??document.body,{select:!0}),o.removeEventListener(X,y),ae.remove(h)},0)}}},[o,b,y,h]);const S=k(c=>{if(!r&&!n||h.paused)return;const s=c.key==="Tab"&&!c.altKey&&!c.ctrlKey&&!c.metaKey,u=(()=>{let f=document.activeElement;for(;f?.shadowRoot;)f=f.shadowRoot.activeElement;return f})();if(s&&u){const f=c.currentTarget,[w,p]=Oe(f);w&&p?!c.shiftKey&&u===p?(c.preventDefault(),r&&T(w,{select:!0})):c.shiftKey&&u===w&&(c.preventDefault(),r&&T(p,{select:!0})):u===f&&c.preventDefault()}},[r,n,h.paused]);return Se(Me.div,{tabIndex:-1,...d,ref:v,onKeyDown:S})});ne.displayName=ke;function Fe(e,{select:t=!1}={}){const r=(()=>{let n=document.activeElement;for(;n?.shadowRoot;)n=n.shadowRoot.activeElement;return n})();for(const n of e)if(T(n,{select:t}),(()=>{let a=document.activeElement;for(;a?.shadowRoot;)a=a.shadowRoot.activeElement;return a})()!==r)return}function Oe(e){const t=re(e),r=oe(t,e),n=oe(t.reverse(),e);return[r,n]}function re(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{const a=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||a?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function oe(e,t){for(const r of e)if(!_e(r,{upTo:t}))return r}function _e(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function Le(e){return e instanceof HTMLInputElement&&"select"in e}function T(e,{select:t=!1}={}){if(e&&e.focus){const r=(()=>{let n=document.activeElement;for(;n?.shadowRoot;)n=n.shadowRoot.activeElement;return n})();e.focus({preventScroll:!0}),e!==r&&Le(e)&&t&&e.select()}}var ae=Pe();function Pe(){let e=[];return{add(t){const r=e[0];t!==r&&r?.pause(),e=ce(e,t),e.unshift(t)},remove(t){e=ce(e,t),e[0]?.resume()}}}function ce(e,t){const r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}function xe(e){return e.filter(t=>t.tagName!=="A")}var H=0;function Ie(){C(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??ie()),document.body.insertAdjacentElement("beforeend",e[1]??ie()),H++,()=>{H===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),H--}},[])}function ie(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var N=function(){return N=Object.assign||function(t){for(var r,n=1,a=arguments.length;n<a;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},N.apply(this,arguments)};function ue(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,n=Object.getOwnPropertySymbols(e);a<n.length;a++)t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r}function We(e,t,r){if(r||arguments.length===2)for(var n=0,a=t.length,i;n<a;n++)(i||!(n in t))&&(i||(i=Array.prototype.slice.call(t,0,n)),i[n]=t[n]);return e.concat(i||Array.prototype.slice.call(t))}typeof SuppressedError=="function"&&SuppressedError;var I="right-scroll-bar-position",W="width-before-scroll-bar",$e="with-scroll-bars-hidden",Be="--removed-body-scroll-bar-size";function q(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function Ue(e,t){var r=P(function(){return{value:e,callback:t,facade:{get current(){return r.value},set current(n){var a=r.value;a!==n&&(r.value=n,r.callback(n,a))}}}})[0];return r.callback=t,r.facade}var De=typeof window<"u"?Re:C,se=new WeakMap;function Ke(e,t){var r=Ue(null,function(n){return e.forEach(function(a){return q(a,n)})});return De(function(){var n=se.get(r);if(n){var a=new Set(n),i=new Set(e),d=r.current;a.forEach(function(o){i.has(o)||q(o,null)}),i.forEach(function(o){a.has(o)||q(o,d)})}se.set(r,e)},[e]),r}function je(e){return e}function Ye(e,t){t===void 0&&(t=je);var r=[],n=!1,a={read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(i){var d=t(i,n);return r.push(d),function(){r=r.filter(function(o){return o!==d})}},assignSyncMedium:function(i){for(n=!0;r.length;){var d=r;r=[],d.forEach(i)}r={push:function(o){return i(o)},filter:function(){return r}}},assignMedium:function(i){n=!0;var d=[];if(r.length){var o=r;r=[],o.forEach(i),d=r}var E=function(){var y=d;d=[],y.forEach(i)},b=function(){return Promise.resolve().then(E)};b(),r={push:function(y){d.push(y),b()},filter:function(y){return d=d.filter(y),r}}}};return a}function Xe(e){e===void 0&&(e={});var t=Ye(null);return t.options=N({async:!0,ssr:!1},e),t}var le=function(e){var t=e.sideCar,r=ue(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw new Error("Sidecar medium not found");return A(n,N({},r))};le.isSideCarExport=!0;function He(e,t){return e.useMedium(t),le}var de=Xe(),z=function(){},$=j(function(e,t){var r=M(null),n=P({onScrollCapture:z,onWheelCapture:z,onTouchMoveCapture:z}),a=n[0],i=n[1],d=e.forwardProps,o=e.children,E=e.className,b=e.removeScrollBar,y=e.enabled,l=e.shards,v=e.sideCar,h=e.noIsolation,S=e.inert,c=e.allowPinchZoom,s=e.as,u=s===void 0?"div":s,f=e.gapMode,w=ue(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),p=v,m=Ke([r,t]),g=N(N({},w),a);return A(Q,null,y&&A(p,{sideCar:de,removeScrollBar:b,shards:l,noIsolation:h,inert:S,setCallbacks:i,allowPinchZoom:!!c,lockRef:r,gapMode:f}),d?Ne(Ce.only(o),N(N({},g),{ref:m})):A(u,N({},g,{className:E,ref:m}),o))});$.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},$.classNames={fullWidth:W,zeroRight:I};var qe=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function ze(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=qe();return t&&e.setAttribute("nonce",t),e}function Ge(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Ve(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var Ze=function(){var e=0,t=null;return{add:function(r){e==0&&(t=ze())&&(Ge(t,r),Ve(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Je=function(){var e=Ze();return function(t,r){C(function(){return e.add(t),function(){e.remove()}},[t&&r])}},fe=function(){var e=Je(),t=function(r){var n=r.styles,a=r.dynamic;return e(n,a),null};return t},Qe={left:0,top:0,right:0,gap:0},G=function(e){return parseInt(e||"",10)||0},et=function(e){var t=window.getComputedStyle(document.body),r=t[e==="padding"?"paddingLeft":"marginLeft"],n=t[e==="padding"?"paddingTop":"marginTop"],a=t[e==="padding"?"paddingRight":"marginRight"];return[G(r),G(n),G(a)]},tt=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return Qe;var t=et(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},nt=fe(),F="data-scroll-locked",rt=function(e,t,r,n){var a=e.left,i=e.top,d=e.right,o=e.gap;return r===void 0&&(r="margin"),`
2
2
  .`.concat($e,` {
3
3
  overflow: hidden `).concat(n,`;
4
4
  padding-right: `).concat(o,"px ").concat(n,`;
@@ -1 +1 @@
1
- import{w as i,y as x,u as c,A as P,h as U,q as O}from"./register-Cd4Qh2V4.js";import{c as h}from"./index-CBrz5xtv.js";import{u as E,a as V}from"./index-BZ1CVUwt.js";import{a as W}from"./index-DKzKWsoP.js";import{D as Z,P as $}from"./index-BbGZ2es-.js";import{o as j,u as z,F as B,h as J}from"./index-8RWC_rPX.js";import{u as Q}from"./index-BJRMGfOc.js";import{c as F,A as N,C as X,a as Y,R as oo}from"./index-CMpRl1HZ.js";import{P as y}from"./index-LFdW1wkC.js";import{P as w}from"./index-DXllU1i0.js";import{u as eo}from"./index-Bx1LqORX.js";var _="Popover",[b,Fo]=W(_,[F]),g=F(),[ro,u]=b(_),D=o=>{const{__scopePopover:n,children:t,open:a,defaultOpen:e,onOpenChange:r,modal:s=!1}=o,p=g(n),v=P(null),[f,m]=U(!1),[C=!1,l]=eo({prop:a,defaultProp:e,onChange:r});return c(oo,{...p,children:c(ro,{scope:n,contentId:Q(),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})})};D.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(w.button,{type:"button","aria-haspopup":"dialog","aria-expanded":e.open,"aria-controls":e.contentId,"data-state":q(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($,{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 J(s)},[]),c(j,{as:V,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 z(),c(B,{asChild:!0,loop:!0,trapped:a,onMountAutoFocus:e,onUnmountAutoFocus:r,children:c(Z,{asChild:!0,disableOutsidePointerEvents:s,onInteractOutside:m,onEscapeKeyDown:p,onPointerDownOutside:v,onFocusOutside:f,onDismiss:()=>l.onOpenChange(!1),children:c(X,{"data-state":q(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(w.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(Y,{...e,...a,ref:n})});K.displayName=po;function q(o){return o?"open":"closed"}var io=D,uo=S,lo=I,vo=L,fo=K;export{uo as A,vo as C,k as P,io as R,lo as T,fo as a};
1
+ import{w as i,y as x,u as c,A as P,h as U,q as O}from"./register-D184xJsC.js";import{c as h}from"./index-CBrz5xtv.js";import{u as E,a as V}from"./index-6hT6AUWb.js";import{a as W}from"./index-nQdmovC7.js";import{D as Z,P as $}from"./index-D0U3fLSz.js";import{o as j,u as z,F as B,h as J}from"./index-B4TCrDRg.js";import{u as Q}from"./index-plA5uo7k.js";import{c as F,A as N,C as X,a as Y,R as oo}from"./index-B2uWQQuR.js";import{P as y}from"./index-CU5EThoY.js";import{P as w}from"./index-DgDOTd7A.js";import{u as eo}from"./index-nbh7ArOF.js";var _="Popover",[b,Fo]=W(_,[F]),g=F(),[ro,u]=b(_),D=o=>{const{__scopePopover:n,children:t,open:a,defaultOpen:e,onOpenChange:r,modal:s=!1}=o,p=g(n),v=P(null),[f,m]=U(!1),[C=!1,l]=eo({prop:a,defaultProp:e,onChange:r});return c(oo,{...p,children:c(ro,{scope:n,contentId:Q(),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})})};D.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(w.button,{type:"button","aria-haspopup":"dialog","aria-expanded":e.open,"aria-controls":e.contentId,"data-state":q(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($,{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 J(s)},[]),c(j,{as:V,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 z(),c(B,{asChild:!0,loop:!0,trapped:a,onMountAutoFocus:e,onUnmountAutoFocus:r,children:c(Z,{asChild:!0,disableOutsidePointerEvents:s,onInteractOutside:m,onEscapeKeyDown:p,onPointerDownOutside:v,onFocusOutside:f,onDismiss:()=>l.onOpenChange(!1),children:c(X,{"data-state":q(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(w.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(Y,{...e,...a,ref:n})});K.displayName=po;function q(o){return o?"open":"closed"}var io=D,uo=S,lo=I,vo=L,fo=K;export{uo as A,vo as C,k as P,io as R,lo as T,fo as a};
@@ -1 +1 @@
1
- import{G as v,T as d,u as h,x as l}from"./register-Cd4Qh2V4.js";function P(e,u=[]){let n=[];function a(s,t){const o=v(t),c=n.length;n=[...n,t];function x(p){const{scope:f,children:S,...i}=p,C=f?.[e][c]||o,_=d(()=>i,Object.values(i));return h(C.Provider,{value:_,children:S})}function m(p,f){const S=f?.[e][c]||o,i=l(S);if(i)return i;if(t!==void 0)return t;throw new Error(`\`${p}\` must be used within \`${s}\``)}return x.displayName=s+"Provider",[x,m]}const r=()=>{const s=n.map(t=>v(t));return function(o){const c=o?.[e]||s;return d(()=>({[`__scope${e}`]:{...o,[e]:c}}),[o,c])}};return r.scopeName=e,[a,$(r,...u)]}function $(...e){const u=e[0];if(e.length===1)return u;const n=()=>{const a=e.map(r=>({useScope:r(),scopeName:r.scopeName}));return function(s){const t=a.reduce((o,{useScope:c,scopeName:x})=>{const p=c(s)[`__scope${x}`];return{...o,...p}},{});return d(()=>({[`__scope${u.scopeName}`]:t}),[t])}};return n.scopeName=u.scopeName,n}export{P as c};
1
+ import{G as v,T as d,u as h,x as l}from"./register-D184xJsC.js";function P(e,u=[]){let n=[];function a(s,t){const o=v(t),c=n.length;n=[...n,t];function x(p){const{scope:f,children:S,...i}=p,C=f?.[e][c]||o,_=d(()=>i,Object.values(i));return h(C.Provider,{value:_,children:S})}function m(p,f){const S=f?.[e][c]||o,i=l(S);if(i)return i;if(t!==void 0)return t;throw new Error(`\`${p}\` must be used within \`${s}\``)}return x.displayName=s+"Provider",[x,m]}const r=()=>{const s=n.map(t=>v(t));return function(o){const c=o?.[e]||s;return d(()=>({[`__scope${e}`]:{...o,[e]:c}}),[o,c])}};return r.scopeName=e,[a,$(r,...u)]}function $(...e){const u=e[0];if(e.length===1)return u;const n=()=>{const a=e.map(r=>({useScope:r(),scopeName:r.scopeName}));return function(s){const t=a.reduce((o,{useScope:c,scopeName:x})=>{const p=c(s)[`__scope${x}`];return{...o,...p}},{});return d(()=>({[`__scope${u.scopeName}`]:t}),[t])}};return n.scopeName=u.scopeName,n}export{P as c};
@@ -1 +1 @@
1
- import{w as n,u as f}from"./register-Cd4Qh2V4.js";import{c as m}from"./index-CBrz5xtv.js";import{u as p}from"./index-Bx1LqORX.js";import{P as u}from"./index-DXllU1i0.js";var P="Toggle",s=n((e,a)=>{const{pressed:t,defaultPressed:r=!1,onPressedChange:d,...i}=e,[o=!1,l]=p({prop:t,onChange:d,defaultProp:r});return f(u.button,{type:"button","aria-pressed":o,"data-state":o?"on":"off","data-disabled":e.disabled?"":void 0,...i,ref:a,onClick:m(e.onClick,()=>{e.disabled||l(!o)})})});s.displayName=P;var b=s;export{b as R,s as T};
1
+ import{w as n,u as f}from"./register-D184xJsC.js";import{c as m}from"./index-CBrz5xtv.js";import{u as p}from"./index-nbh7ArOF.js";import{P as u}from"./index-DgDOTd7A.js";var P="Toggle",s=n((e,a)=>{const{pressed:t,defaultPressed:r=!1,onPressedChange:d,...i}=e,[o=!1,l]=p({prop:t,onChange:d,defaultProp:r});return f(u.button,{type:"button","aria-pressed":o,"data-state":o?"on":"off","data-disabled":e.disabled?"":void 0,...i,ref:a,onClick:m(e.onClick,()=>{e.disabled||l(!o)})})});s.displayName=P;var b=s;export{b as R,s as T};
@@ -1 +1 @@
1
- import{A as n,y as u,T as c}from"./register-Cd4Qh2V4.js";function o(r){const e=n(r);return u(()=>{e.current=r}),c(()=>(...t)=>e.current?.(...t),[])}export{o as u};
1
+ import{A as n,y as u,T as c}from"./register-D184xJsC.js";function o(r){const e=n(r);return u(()=>{e.current=r}),c(()=>(...t)=>e.current?.(...t),[])}export{o as u};
@@ -1 +1 @@
1
- import{w as m,u as l,q as w,h as D,A as p,y as M}from"./register-Cd4Qh2V4.js";import{c as L}from"./index-CBrz5xtv.js";import{a as F}from"./index-DKzKWsoP.js";import{u as k}from"./index-Bx1LqORX.js";import{u as q}from"./index-CHylLgfg.js";import{u as B}from"./index-BZ1CVUwt.js";import{P as v}from"./index-DXllU1i0.js";import{P as G}from"./index-LFdW1wkC.js";import{u as $}from"./index-BJRMGfOc.js";var g="Collapsible",[H,oe]=F(g),[j,h]=H(g),E=m((e,a)=>{const{__scopeCollapsible:r,open:o,defaultOpen:t,disabled:s,onOpenChange:i,...C}=e,[d=!1,c]=k({prop:o,defaultProp:t,onChange:i});return l(j,{scope:r,disabled:s,contentId:$(),open:d,onOpenToggle:w(()=>c(f=>!f),[c]),children:l(v.div,{"data-state":P(d),"data-disabled":s?"":void 0,...C,ref:a})})});E.displayName=g;var I="CollapsibleTrigger",O=m((e,a)=>{const{__scopeCollapsible:r,...o}=e,t=h(I,r);return l(v.button,{type:"button","aria-controls":t.contentId,"aria-expanded":t.open||!1,"data-state":P(t.open),"data-disabled":t.disabled?"":void 0,disabled:t.disabled,...o,ref:a,onClick:L(e.onClick,t.onOpenToggle)})});O.displayName=I;var y="CollapsibleContent",S=m((e,a)=>{const{forceMount:r,...o}=e,t=h(y,e.__scopeCollapsible);return l(G,{present:r||t.open,children:({present:s})=>l(z,{...o,ref:a,present:s})})});S.displayName=y;var z=m((e,a)=>{const{__scopeCollapsible:r,present:o,children:t,...s}=e,i=h(y,r),[C,d]=D(o),c=p(null),f=B(a,c),N=p(0),x=N.current,R=p(0),_=R.current,b=i.open||C,A=p(b),u=p();return M(()=>{const n=requestAnimationFrame(()=>A.current=!1);return()=>cancelAnimationFrame(n)},[]),q(()=>{const n=c.current;if(n){u.current=u.current||{transitionDuration:n.style.transitionDuration,animationName:n.style.animationName},n.style.transitionDuration="0s",n.style.animationName="none";const T=n.getBoundingClientRect();N.current=T.height,R.current=T.width,A.current||(n.style.transitionDuration=u.current.transitionDuration,n.style.animationName=u.current.animationName),d(o)}},[i.open,o]),l(v.div,{"data-state":P(i.open),"data-disabled":i.disabled?"":void 0,id:i.contentId,hidden:!b,...s,ref:f,style:{["--radix-collapsible-content-height"]:x?`${x}px`:void 0,["--radix-collapsible-content-width"]:_?`${_}px`:void 0,...e.style},children:b&&t})});function P(e){return e?"open":"closed"}var J=E,K=O,Q=S;export{Q as C,J as R,K as T};
1
+ import{w as m,u as l,q as w,h as D,A as p,y as M}from"./register-D184xJsC.js";import{c as L}from"./index-CBrz5xtv.js";import{a as F}from"./index-nQdmovC7.js";import{u as k}from"./index-nbh7ArOF.js";import{u as q}from"./index-UpuvJrIi.js";import{u as B}from"./index-6hT6AUWb.js";import{P as v}from"./index-DgDOTd7A.js";import{P as G}from"./index-CU5EThoY.js";import{u as $}from"./index-plA5uo7k.js";var g="Collapsible",[H,oe]=F(g),[j,h]=H(g),E=m((e,a)=>{const{__scopeCollapsible:r,open:o,defaultOpen:t,disabled:s,onOpenChange:i,...C}=e,[d=!1,c]=k({prop:o,defaultProp:t,onChange:i});return l(j,{scope:r,disabled:s,contentId:$(),open:d,onOpenToggle:w(()=>c(f=>!f),[c]),children:l(v.div,{"data-state":P(d),"data-disabled":s?"":void 0,...C,ref:a})})});E.displayName=g;var I="CollapsibleTrigger",O=m((e,a)=>{const{__scopeCollapsible:r,...o}=e,t=h(I,r);return l(v.button,{type:"button","aria-controls":t.contentId,"aria-expanded":t.open||!1,"data-state":P(t.open),"data-disabled":t.disabled?"":void 0,disabled:t.disabled,...o,ref:a,onClick:L(e.onClick,t.onOpenToggle)})});O.displayName=I;var y="CollapsibleContent",S=m((e,a)=>{const{forceMount:r,...o}=e,t=h(y,e.__scopeCollapsible);return l(G,{present:r||t.open,children:({present:s})=>l(z,{...o,ref:a,present:s})})});S.displayName=y;var z=m((e,a)=>{const{__scopeCollapsible:r,present:o,children:t,...s}=e,i=h(y,r),[C,d]=D(o),c=p(null),f=B(a,c),N=p(0),x=N.current,R=p(0),_=R.current,b=i.open||C,A=p(b),u=p();return M(()=>{const n=requestAnimationFrame(()=>A.current=!1);return()=>cancelAnimationFrame(n)},[]),q(()=>{const n=c.current;if(n){u.current=u.current||{transitionDuration:n.style.transitionDuration,animationName:n.style.animationName},n.style.transitionDuration="0s",n.style.animationName="none";const T=n.getBoundingClientRect();N.current=T.height,R.current=T.width,A.current||(n.style.transitionDuration=u.current.transitionDuration,n.style.animationName=u.current.animationName),d(o)}},[i.open,o]),l(v.div,{"data-state":P(i.open),"data-disabled":i.disabled?"":void 0,id:i.contentId,hidden:!b,...s,ref:f,style:{["--radix-collapsible-content-height"]:x?`${x}px`:void 0,["--radix-collapsible-content-width"]:_?`${_}px`:void 0,...e.style},children:b&&t})});function P(e){return e?"open":"closed"}var J=E,K=O,Q=S;export{Q as C,J as R,K as T};
@@ -1 +1 @@
1
- import{w as m,u as d,A as R,y as x}from"./register-Cd4Qh2V4.js";import{c as T}from"./index-CBrz5xtv.js";import{a as E}from"./index-DKzKWsoP.js";import{c as I,u as D,R as V,I as G}from"./index-BO1Yrwdn.js";import{P as w}from"./index-LFdW1wkC.js";import{P as p}from"./index-DXllU1i0.js";import{u as L}from"./index-Bx1LqORX.js";import{u as $}from"./index-BJRMGfOc.js";var f="Tabs",[k,Y]=E(f,[I]),h=I(),[K,g]=k(f),C=m((e,n)=>{const{__scopeTabs:s,value:t,onValueChange:r,defaultValue:c,orientation:a="horizontal",dir:u,activationMode:v="automatic",...b}=e,i=D(u),[o,l]=L({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=f;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:T(e.onMouseDown,o=>{!r&&o.button===0&&o.ctrlKey===!1?a.onValueChange(t):o.preventDefault()}),onKeyDown:T(e.onKeyDown,o=>{[" ","Enter"].includes(o.key)&&a.onValueChange(t)}),onFocus:T(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(w,{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{w as m,u as d,A as R,y as x}from"./register-D184xJsC.js";import{c as T}from"./index-CBrz5xtv.js";import{a as E}from"./index-nQdmovC7.js";import{c as I,u as D,R as V,I as G}from"./index-D32H97y7.js";import{P as w}from"./index-CU5EThoY.js";import{P as p}from"./index-DgDOTd7A.js";import{u as L}from"./index-nbh7ArOF.js";import{u as $}from"./index-plA5uo7k.js";var f="Tabs",[k,Y]=E(f,[I]),h=I(),[K,g]=k(f),C=m((e,n)=>{const{__scopeTabs:s,value:t,onValueChange:r,defaultValue:c,orientation:a="horizontal",dir:u,activationMode:v="automatic",...b}=e,i=D(u),[o,l]=L({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=f;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:T(e.onMouseDown,o=>{!r&&o.button===0&&o.ctrlKey===!1?a.onValueChange(t):o.preventDefault()}),onKeyDown:T(e.onKeyDown,o=>{[" ","Enter"].includes(o.key)&&a.onValueChange(t)}),onFocus:T(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(w,{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};