react-start-kit 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (531) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +99 -0
  3. package/dist/accordion/index.cjs.js +2 -0
  4. package/dist/accordion/index.cjs.js.map +1 -0
  5. package/dist/accordion/index.es.js +287 -0
  6. package/dist/accordion/index.es.js.map +1 -0
  7. package/dist/alert/index.cjs.js +2 -0
  8. package/dist/alert/index.cjs.js.map +1 -0
  9. package/dist/alert/index.es.js +8 -0
  10. package/dist/alert/index.es.js.map +1 -0
  11. package/dist/alert-dialog/index.cjs.js +2 -0
  12. package/dist/alert-dialog/index.cjs.js.map +1 -0
  13. package/dist/alert-dialog/index.es.js +15 -0
  14. package/dist/alert-dialog/index.es.js.map +1 -0
  15. package/dist/avatar/index.cjs.js +2 -0
  16. package/dist/avatar/index.cjs.js.map +1 -0
  17. package/dist/avatar/index.es.js +8 -0
  18. package/dist/avatar/index.es.js.map +1 -0
  19. package/dist/badge/index.cjs.js +2 -0
  20. package/dist/badge/index.cjs.js.map +1 -0
  21. package/dist/badge/index.es.js +6 -0
  22. package/dist/badge/index.es.js.map +1 -0
  23. package/dist/breadcrumb/index.cjs.js +2 -0
  24. package/dist/breadcrumb/index.cjs.js.map +1 -0
  25. package/dist/breadcrumb/index.es.js +10 -0
  26. package/dist/breadcrumb/index.es.js.map +1 -0
  27. package/dist/button/index.cjs.js +2 -0
  28. package/dist/button/index.cjs.js.map +1 -0
  29. package/dist/button/index.es.js +11 -0
  30. package/dist/button/index.es.js.map +1 -0
  31. package/dist/calendar/index.cjs.js +2 -0
  32. package/dist/calendar/index.cjs.js.map +1 -0
  33. package/dist/calendar/index.es.js +11 -0
  34. package/dist/calendar/index.es.js.map +1 -0
  35. package/dist/card/index.cjs.js +2 -0
  36. package/dist/card/index.cjs.js.map +1 -0
  37. package/dist/card/index.es.js +10 -0
  38. package/dist/card/index.es.js.map +1 -0
  39. package/dist/carousel/index.cjs.js +12 -0
  40. package/dist/carousel/index.cjs.js.map +1 -0
  41. package/dist/carousel/index.es.js +1441 -0
  42. package/dist/carousel/index.es.js.map +1 -0
  43. package/dist/chunks/_commonjsHelpers-DKOUU3wS.cjs.js +2 -0
  44. package/dist/chunks/_commonjsHelpers-DKOUU3wS.cjs.js.map +1 -0
  45. package/dist/chunks/_commonjsHelpers-DaMA6jEr.es.js +9 -0
  46. package/dist/chunks/_commonjsHelpers-DaMA6jEr.es.js.map +1 -0
  47. package/dist/chunks/alert-B9rImkiX.es.js +53 -0
  48. package/dist/chunks/alert-B9rImkiX.es.js.map +1 -0
  49. package/dist/chunks/alert-BNcf_eJn.cjs.js +2 -0
  50. package/dist/chunks/alert-BNcf_eJn.cjs.js.map +1 -0
  51. package/dist/chunks/alert-dialog-BfBtlIHj.cjs.js +8 -0
  52. package/dist/chunks/alert-dialog-BfBtlIHj.cjs.js.map +1 -0
  53. package/dist/chunks/alert-dialog-BrCPhmhd.es.js +209 -0
  54. package/dist/chunks/alert-dialog-BrCPhmhd.es.js.map +1 -0
  55. package/dist/chunks/avatar-CQMWDnOM.cjs.js +18 -0
  56. package/dist/chunks/avatar-CQMWDnOM.cjs.js.map +1 -0
  57. package/dist/chunks/avatar-zl4cf4c2.es.js +333 -0
  58. package/dist/chunks/avatar-zl4cf4c2.es.js.map +1 -0
  59. package/dist/chunks/badge-1ocx6hox.cjs.js +2 -0
  60. package/dist/chunks/badge-1ocx6hox.cjs.js.map +1 -0
  61. package/dist/chunks/badge-CPzxgRrM.es.js +75 -0
  62. package/dist/chunks/badge-CPzxgRrM.es.js.map +1 -0
  63. package/dist/chunks/breadcrumb-BrMrkZfa.es.js +82 -0
  64. package/dist/chunks/breadcrumb-BrMrkZfa.es.js.map +1 -0
  65. package/dist/chunks/breadcrumb-iPT-f06l.cjs.js +2 -0
  66. package/dist/chunks/breadcrumb-iPT-f06l.cjs.js.map +1 -0
  67. package/dist/chunks/button-CpKtD3qG.cjs.js +2 -0
  68. package/dist/chunks/button-CpKtD3qG.cjs.js.map +1 -0
  69. package/dist/chunks/button-DTRIYqDb.es.js +50 -0
  70. package/dist/chunks/button-DTRIYqDb.es.js.map +1 -0
  71. package/dist/chunks/button-group-B4h4-5eB.es.js +76 -0
  72. package/dist/chunks/button-group-B4h4-5eB.es.js.map +1 -0
  73. package/dist/chunks/button-group-CaFYso6b.cjs.js +2 -0
  74. package/dist/chunks/button-group-CaFYso6b.cjs.js.map +1 -0
  75. package/dist/chunks/card-B1sx5mON.cjs.js +2 -0
  76. package/dist/chunks/card-B1sx5mON.cjs.js.map +1 -0
  77. package/dist/chunks/card-BJ0eqFqO.es.js +74 -0
  78. package/dist/chunks/card-BJ0eqFqO.es.js.map +1 -0
  79. package/dist/chunks/check-B6UTraXT.cjs.js +7 -0
  80. package/dist/chunks/check-B6UTraXT.cjs.js.map +1 -0
  81. package/dist/chunks/check-DFKaRaBZ.es.js +12 -0
  82. package/dist/chunks/check-DFKaRaBZ.es.js.map +1 -0
  83. package/dist/chunks/chevron-down-DDxUy1A2.es.js +12 -0
  84. package/dist/chunks/chevron-down-DDxUy1A2.es.js.map +1 -0
  85. package/dist/chunks/chevron-down-T-PkxHnH.cjs.js +7 -0
  86. package/dist/chunks/chevron-down-T-PkxHnH.cjs.js.map +1 -0
  87. package/dist/chunks/chevron-left-B_pqqZqr.cjs.js +7 -0
  88. package/dist/chunks/chevron-left-B_pqqZqr.cjs.js.map +1 -0
  89. package/dist/chunks/chevron-left-CfOUdNQ0.es.js +12 -0
  90. package/dist/chunks/chevron-left-CfOUdNQ0.es.js.map +1 -0
  91. package/dist/chunks/chevron-right-BNG-Ugyb.es.js +12 -0
  92. package/dist/chunks/chevron-right-BNG-Ugyb.es.js.map +1 -0
  93. package/dist/chunks/chevron-right-BxyusM7v.cjs.js +7 -0
  94. package/dist/chunks/chevron-right-BxyusM7v.cjs.js.map +1 -0
  95. package/dist/chunks/circle--GxygOe5.es.js +12 -0
  96. package/dist/chunks/circle--GxygOe5.es.js.map +1 -0
  97. package/dist/chunks/circle-DjcntFbc.cjs.js +7 -0
  98. package/dist/chunks/circle-DjcntFbc.cjs.js.map +1 -0
  99. package/dist/chunks/collapsible-CBOSWBKB.cjs.js +2 -0
  100. package/dist/chunks/collapsible-CBOSWBKB.cjs.js.map +1 -0
  101. package/dist/chunks/collapsible-Ddd6kxXS.es.js +35 -0
  102. package/dist/chunks/collapsible-Ddd6kxXS.es.js.map +1 -0
  103. package/dist/chunks/createLucideIcon-CyFYF6Ug.es.js +124 -0
  104. package/dist/chunks/createLucideIcon-CyFYF6Ug.es.js.map +1 -0
  105. package/dist/chunks/createLucideIcon-HtK0p34L.cjs.js +42 -0
  106. package/dist/chunks/createLucideIcon-HtK0p34L.cjs.js.map +1 -0
  107. package/dist/chunks/dialog-BWF5BkHj.cjs.js +2 -0
  108. package/dist/chunks/dialog-BWF5BkHj.cjs.js.map +1 -0
  109. package/dist/chunks/dialog-D9BMBoAJ.es.js +105 -0
  110. package/dist/chunks/dialog-D9BMBoAJ.es.js.map +1 -0
  111. package/dist/chunks/dropdown-menu-Bu9wADja.cjs.js +2 -0
  112. package/dist/chunks/dropdown-menu-Bu9wADja.cjs.js.map +1 -0
  113. package/dist/chunks/dropdown-menu-CcnxQ7Zj.es.js +980 -0
  114. package/dist/chunks/dropdown-menu-CcnxQ7Zj.es.js.map +1 -0
  115. package/dist/chunks/ellipsis-9FjKj8zv.es.js +16 -0
  116. package/dist/chunks/ellipsis-9FjKj8zv.es.js.map +1 -0
  117. package/dist/chunks/ellipsis-FJjSjEdP.cjs.js +7 -0
  118. package/dist/chunks/ellipsis-FJjSjEdP.cjs.js.map +1 -0
  119. package/dist/chunks/index-BKZjW6I1.es.js +692 -0
  120. package/dist/chunks/index-BKZjW6I1.es.js.map +1 -0
  121. package/dist/chunks/index-BVqmUhu5.es.js +221 -0
  122. package/dist/chunks/index-BVqmUhu5.es.js.map +1 -0
  123. package/dist/chunks/index-BdfbDt7y.es.js +64 -0
  124. package/dist/chunks/index-BdfbDt7y.es.js.map +1 -0
  125. package/dist/chunks/index-Bli6ZByj.es.js +1571 -0
  126. package/dist/chunks/index-Bli6ZByj.es.js.map +1 -0
  127. package/dist/chunks/index-Br4MVOGV.es.js +12 -0
  128. package/dist/chunks/index-Br4MVOGV.es.js.map +1 -0
  129. package/dist/chunks/index-BruMW80s.cjs.js +2 -0
  130. package/dist/chunks/index-BruMW80s.cjs.js.map +1 -0
  131. package/dist/chunks/index-C28jaZCP.cjs.js +2 -0
  132. package/dist/chunks/index-C28jaZCP.cjs.js.map +1 -0
  133. package/dist/chunks/index-C8ni3LLa.cjs.js +2 -0
  134. package/dist/chunks/index-C8ni3LLa.cjs.js.map +1 -0
  135. package/dist/chunks/index-CGLGXpw0.cjs.js +2 -0
  136. package/dist/chunks/index-CGLGXpw0.cjs.js.map +1 -0
  137. package/dist/chunks/index-CItoM52t.cjs.js +2 -0
  138. package/dist/chunks/index-CItoM52t.cjs.js.map +1 -0
  139. package/dist/chunks/index-CJ0fGifh.cjs.js +2 -0
  140. package/dist/chunks/index-CJ0fGifh.cjs.js.map +1 -0
  141. package/dist/chunks/index-CMEUY8i_.cjs.js +2 -0
  142. package/dist/chunks/index-CMEUY8i_.cjs.js.map +1 -0
  143. package/dist/chunks/index-CN4RxFxN.cjs.js +2 -0
  144. package/dist/chunks/index-CN4RxFxN.cjs.js.map +1 -0
  145. package/dist/chunks/index-CNbacFZ5.es.js +116 -0
  146. package/dist/chunks/index-CNbacFZ5.es.js.map +1 -0
  147. package/dist/chunks/index-CbjDVb-G.es.js +93 -0
  148. package/dist/chunks/index-CbjDVb-G.es.js.map +1 -0
  149. package/dist/chunks/index-ClNIHY-1.es.js +134 -0
  150. package/dist/chunks/index-ClNIHY-1.es.js.map +1 -0
  151. package/dist/chunks/index-Clo5BFLY.es.js +32 -0
  152. package/dist/chunks/index-Clo5BFLY.es.js.map +1 -0
  153. package/dist/chunks/index-CtCzh8NB.cjs.js +6 -0
  154. package/dist/chunks/index-CtCzh8NB.cjs.js.map +1 -0
  155. package/dist/chunks/index-D9zW9Tk7.cjs.js +2 -0
  156. package/dist/chunks/index-D9zW9Tk7.cjs.js.map +1 -0
  157. package/dist/chunks/index-DBXFJW5M.es.js +11 -0
  158. package/dist/chunks/index-DBXFJW5M.es.js.map +1 -0
  159. package/dist/chunks/index-DG15yxNP.cjs.js +42 -0
  160. package/dist/chunks/index-DG15yxNP.cjs.js.map +1 -0
  161. package/dist/chunks/index-DGEvZwN5.cjs.js +2 -0
  162. package/dist/chunks/index-DGEvZwN5.cjs.js.map +1 -0
  163. package/dist/chunks/index-DLcqcWxM.es.js +30 -0
  164. package/dist/chunks/index-DLcqcWxM.es.js.map +1 -0
  165. package/dist/chunks/index-DNQZbZsM.es.js +179 -0
  166. package/dist/chunks/index-DNQZbZsM.es.js.map +1 -0
  167. package/dist/chunks/index-DnRKXUWD.cjs.js +2 -0
  168. package/dist/chunks/index-DnRKXUWD.cjs.js.map +1 -0
  169. package/dist/chunks/index-Dt3MSLsk.es.js +7 -0
  170. package/dist/chunks/index-Dt3MSLsk.es.js.map +1 -0
  171. package/dist/chunks/index-DvGm4EwH.es.js +62 -0
  172. package/dist/chunks/index-DvGm4EwH.es.js.map +1 -0
  173. package/dist/chunks/index-DwYXX2sM.es.js +14 -0
  174. package/dist/chunks/index-DwYXX2sM.es.js.map +1 -0
  175. package/dist/chunks/index-is755vrc.cjs.js +2 -0
  176. package/dist/chunks/index-is755vrc.cjs.js.map +1 -0
  177. package/dist/chunks/index-jFOWwfD3.cjs.js +2 -0
  178. package/dist/chunks/index-jFOWwfD3.cjs.js.map +1 -0
  179. package/dist/chunks/index-pF_O2Ico.cjs.js +2 -0
  180. package/dist/chunks/index-pF_O2Ico.cjs.js.map +1 -0
  181. package/dist/chunks/index-pQxT4IlV.cjs.js +2 -0
  182. package/dist/chunks/index-pQxT4IlV.cjs.js.map +1 -0
  183. package/dist/chunks/index-rKs9bXHr.es.js +7 -0
  184. package/dist/chunks/index-rKs9bXHr.es.js.map +1 -0
  185. package/dist/chunks/index-xA4mlFw5.es.js +35 -0
  186. package/dist/chunks/index-xA4mlFw5.es.js.map +1 -0
  187. package/dist/chunks/index-x_Mxo00P.cjs.js +2 -0
  188. package/dist/chunks/index-x_Mxo00P.cjs.js.map +1 -0
  189. package/dist/chunks/index-xl-szYFX.es.js +290 -0
  190. package/dist/chunks/index-xl-szYFX.es.js.map +1 -0
  191. package/dist/chunks/pagination-DFYeehFF.es.js +113 -0
  192. package/dist/chunks/pagination-DFYeehFF.es.js.map +1 -0
  193. package/dist/chunks/pagination-LHTb7tXo.cjs.js +2 -0
  194. package/dist/chunks/pagination-LHTb7tXo.cjs.js.map +1 -0
  195. package/dist/chunks/popover-Bh6emR_J.cjs.js +2 -0
  196. package/dist/chunks/popover-Bh6emR_J.cjs.js.map +1 -0
  197. package/dist/chunks/popover-BredK0sg.es.js +285 -0
  198. package/dist/chunks/popover-BredK0sg.es.js.map +1 -0
  199. package/dist/chunks/scroll-area-CwWjTiks.es.js +555 -0
  200. package/dist/chunks/scroll-area-CwWjTiks.es.js.map +1 -0
  201. package/dist/chunks/scroll-area-Nj6J9MqV.cjs.js +2 -0
  202. package/dist/chunks/scroll-area-Nj6J9MqV.cjs.js.map +1 -0
  203. package/dist/chunks/select-BTgKkicD.es.js +1404 -0
  204. package/dist/chunks/select-BTgKkicD.es.js.map +1 -0
  205. package/dist/chunks/select-D703Xctn.cjs.js +7 -0
  206. package/dist/chunks/select-D703Xctn.cjs.js.map +1 -0
  207. package/dist/chunks/separator-CGvV-BlI.cjs.js +2 -0
  208. package/dist/chunks/separator-CGvV-BlI.cjs.js.map +1 -0
  209. package/dist/chunks/separator-CgP4OHOF.es.js +67 -0
  210. package/dist/chunks/separator-CgP4OHOF.es.js.map +1 -0
  211. package/dist/chunks/sheet-BL1AP0aU.cjs.js +2 -0
  212. package/dist/chunks/sheet-BL1AP0aU.cjs.js.map +1 -0
  213. package/dist/chunks/sheet-CKsRhiVy.es.js +136 -0
  214. package/dist/chunks/sheet-CKsRhiVy.es.js.map +1 -0
  215. package/dist/chunks/skeleton-C7pnV7bc.cjs.js +2 -0
  216. package/dist/chunks/skeleton-C7pnV7bc.cjs.js.map +1 -0
  217. package/dist/chunks/skeleton-DKbF2Fso.es.js +18 -0
  218. package/dist/chunks/skeleton-DKbF2Fso.es.js.map +1 -0
  219. package/dist/chunks/table-BTb0KUhR.es.js +90 -0
  220. package/dist/chunks/table-BTb0KUhR.es.js.map +1 -0
  221. package/dist/chunks/table-Dxainp0Z.cjs.js +2 -0
  222. package/dist/chunks/table-Dxainp0Z.cjs.js.map +1 -0
  223. package/dist/chunks/tabs-BnamvF0S.es.js +317 -0
  224. package/dist/chunks/tabs-BnamvF0S.es.js.map +1 -0
  225. package/dist/chunks/tabs-CDt2LiNL.cjs.js +6 -0
  226. package/dist/chunks/tabs-CDt2LiNL.cjs.js.map +1 -0
  227. package/dist/chunks/textarea-4zXXFdLZ.cjs.js +187 -0
  228. package/dist/chunks/textarea-4zXXFdLZ.cjs.js.map +1 -0
  229. package/dist/chunks/textarea-CBSWNU0D.es.js +17234 -0
  230. package/dist/chunks/textarea-CBSWNU0D.es.js.map +1 -0
  231. package/dist/chunks/timepicker-CVkum2UK.es.js +3394 -0
  232. package/dist/chunks/timepicker-CVkum2UK.es.js.map +1 -0
  233. package/dist/chunks/timepicker-nlKbDl_W.cjs.js +7 -0
  234. package/dist/chunks/timepicker-nlKbDl_W.cjs.js.map +1 -0
  235. package/dist/chunks/tooltip-CsZB0nVr.cjs.js +2 -0
  236. package/dist/chunks/tooltip-CsZB0nVr.cjs.js.map +1 -0
  237. package/dist/chunks/tooltip-Dtzkuphk.es.js +341 -0
  238. package/dist/chunks/tooltip-Dtzkuphk.es.js.map +1 -0
  239. package/dist/chunks/utils-C4d7Ql9-.cjs.js +2 -0
  240. package/dist/chunks/utils-C4d7Ql9-.cjs.js.map +1 -0
  241. package/dist/chunks/utils-CnvKSirc.es.js +2778 -0
  242. package/dist/chunks/utils-CnvKSirc.es.js.map +1 -0
  243. package/dist/chunks/x-8d8XBbXN.es.js +15 -0
  244. package/dist/chunks/x-8d8XBbXN.es.js.map +1 -0
  245. package/dist/chunks/x-Ev63aQi_.cjs.js +7 -0
  246. package/dist/chunks/x-Ev63aQi_.cjs.js.map +1 -0
  247. package/dist/collapsible/index.cjs.js +2 -0
  248. package/dist/collapsible/index.cjs.js.map +1 -0
  249. package/dist/collapsible/index.es.js +7 -0
  250. package/dist/collapsible/index.es.js.map +1 -0
  251. package/dist/dialog/index.cjs.js +2 -0
  252. package/dist/dialog/index.cjs.js.map +1 -0
  253. package/dist/dialog/index.es.js +14 -0
  254. package/dist/dialog/index.es.js.map +1 -0
  255. package/dist/dropdown/index.cjs.js +2 -0
  256. package/dist/dropdown/index.cjs.js.map +1 -0
  257. package/dist/dropdown/index.es.js +19 -0
  258. package/dist/dropdown/index.es.js.map +1 -0
  259. package/dist/form/index.cjs.js +2 -0
  260. package/dist/form/index.cjs.js.map +1 -0
  261. package/dist/form/index.es.js +36 -0
  262. package/dist/form/index.es.js.map +1 -0
  263. package/dist/index.cjs.js +2 -0
  264. package/dist/index.cjs.js.map +1 -0
  265. package/dist/index.es.js +171 -0
  266. package/dist/index.es.js.map +1 -0
  267. package/dist/pagination/index.cjs.js +2 -0
  268. package/dist/pagination/index.cjs.js.map +1 -0
  269. package/dist/pagination/index.es.js +11 -0
  270. package/dist/pagination/index.es.js.map +1 -0
  271. package/dist/popover/index.cjs.js +2 -0
  272. package/dist/popover/index.cjs.js.map +1 -0
  273. package/dist/popover/index.es.js +7 -0
  274. package/dist/popover/index.es.js.map +1 -0
  275. package/dist/progress/index.cjs.js +7 -0
  276. package/dist/progress/index.cjs.js.map +1 -0
  277. package/dist/progress/index.es.js +194 -0
  278. package/dist/progress/index.es.js.map +1 -0
  279. package/dist/scroll-area/index.cjs.js +2 -0
  280. package/dist/scroll-area/index.cjs.js.map +1 -0
  281. package/dist/scroll-area/index.es.js +6 -0
  282. package/dist/scroll-area/index.es.js.map +1 -0
  283. package/dist/separator/index.cjs.js +2 -0
  284. package/dist/separator/index.cjs.js.map +1 -0
  285. package/dist/separator/index.es.js +5 -0
  286. package/dist/separator/index.es.js.map +1 -0
  287. package/dist/sheet/index.cjs.js +2 -0
  288. package/dist/sheet/index.cjs.js.map +1 -0
  289. package/dist/sheet/index.es.js +12 -0
  290. package/dist/sheet/index.es.js.map +1 -0
  291. package/dist/skeleton/index.cjs.js +2 -0
  292. package/dist/skeleton/index.cjs.js.map +1 -0
  293. package/dist/skeleton/index.es.js +5 -0
  294. package/dist/skeleton/index.es.js.map +1 -0
  295. package/dist/styles.css +7 -0
  296. package/dist/tab/index.cjs.js +2 -0
  297. package/dist/tab/index.cjs.js.map +1 -0
  298. package/dist/tab/index.es.js +8 -0
  299. package/dist/tab/index.es.js.map +1 -0
  300. package/dist/table/index.cjs.js +2 -0
  301. package/dist/table/index.cjs.js.map +1 -0
  302. package/dist/table/index.es.js +12 -0
  303. package/dist/table/index.es.js.map +1 -0
  304. package/dist/tooltip/index.cjs.js +2 -0
  305. package/dist/tooltip/index.cjs.js.map +1 -0
  306. package/dist/tooltip/index.es.js +8 -0
  307. package/dist/tooltip/index.es.js.map +1 -0
  308. package/dist/types/App.d.ts +9 -0
  309. package/dist/types/App.d.ts.map +1 -0
  310. package/dist/types/hooks/use-mobile.d.ts +8 -0
  311. package/dist/types/hooks/use-mobile.d.ts.map +1 -0
  312. package/dist/types/index.d.ts +28 -0
  313. package/dist/types/index.d.ts.map +1 -0
  314. package/dist/types/lib/day.d.ts +7 -0
  315. package/dist/types/lib/day.d.ts.map +1 -0
  316. package/dist/types/lib/index.d.ts +6 -0
  317. package/dist/types/lib/index.d.ts.map +1 -0
  318. package/dist/types/lib/utils.d.ts +10 -0
  319. package/dist/types/lib/utils.d.ts.map +1 -0
  320. package/dist/types/main.d.ts +1 -0
  321. package/dist/types/main.d.ts.map +1 -0
  322. package/dist/types/stories/Accordion.stories.d.ts +17 -0
  323. package/dist/types/stories/Accordion.stories.d.ts.map +1 -0
  324. package/dist/types/stories/Alert.stories.d.ts +26 -0
  325. package/dist/types/stories/Alert.stories.d.ts.map +1 -0
  326. package/dist/types/stories/AlertDialog.stories.d.ts +18 -0
  327. package/dist/types/stories/AlertDialog.stories.d.ts.map +1 -0
  328. package/dist/types/stories/Avatar.stories.d.ts +27 -0
  329. package/dist/types/stories/Avatar.stories.d.ts.map +1 -0
  330. package/dist/types/stories/Badge.stories.d.ts +44 -0
  331. package/dist/types/stories/Badge.stories.d.ts.map +1 -0
  332. package/dist/types/stories/Breadcrumb.stories.d.ts +20 -0
  333. package/dist/types/stories/Breadcrumb.stories.d.ts.map +1 -0
  334. package/dist/types/stories/Button.stories.d.ts +48 -0
  335. package/dist/types/stories/Button.stories.d.ts.map +1 -0
  336. package/dist/types/stories/ButtonGroup.stories.d.ts +29 -0
  337. package/dist/types/stories/ButtonGroup.stories.d.ts.map +1 -0
  338. package/dist/types/stories/Calendar.stories.d.ts +35 -0
  339. package/dist/types/stories/Calendar.stories.d.ts.map +1 -0
  340. package/dist/types/stories/Card.stories.d.ts +17 -0
  341. package/dist/types/stories/Card.stories.d.ts.map +1 -0
  342. package/dist/types/stories/Carousel.stories.d.ts +23 -0
  343. package/dist/types/stories/Carousel.stories.d.ts.map +1 -0
  344. package/dist/types/stories/Checkbox.stories.d.ts +31 -0
  345. package/dist/types/stories/Checkbox.stories.d.ts.map +1 -0
  346. package/dist/types/stories/Collapsible.stories.d.ts +17 -0
  347. package/dist/types/stories/Collapsible.stories.d.ts.map +1 -0
  348. package/dist/types/stories/DatePicker.stories.d.ts +14 -0
  349. package/dist/types/stories/DatePicker.stories.d.ts.map +1 -0
  350. package/dist/types/stories/Dialog.stories.d.ts +18 -0
  351. package/dist/types/stories/Dialog.stories.d.ts.map +1 -0
  352. package/dist/types/stories/DropdownMenu.stories.d.ts +17 -0
  353. package/dist/types/stories/DropdownMenu.stories.d.ts.map +1 -0
  354. package/dist/types/stories/FilepondContainer.stories.d.ts +21 -0
  355. package/dist/types/stories/FilepondContainer.stories.d.ts.map +1 -0
  356. package/dist/types/stories/Form.stories.d.ts +15 -0
  357. package/dist/types/stories/Form.stories.d.ts.map +1 -0
  358. package/dist/types/stories/HtmlEditor.stories.d.ts +27 -0
  359. package/dist/types/stories/HtmlEditor.stories.d.ts.map +1 -0
  360. package/dist/types/stories/Input.stories.d.ts +40 -0
  361. package/dist/types/stories/Input.stories.d.ts.map +1 -0
  362. package/dist/types/stories/Label.stories.d.ts +19 -0
  363. package/dist/types/stories/Label.stories.d.ts.map +1 -0
  364. package/dist/types/stories/MaskInput.stories.d.ts +115 -0
  365. package/dist/types/stories/MaskInput.stories.d.ts.map +1 -0
  366. package/dist/types/stories/Pagination.stories.d.ts +21 -0
  367. package/dist/types/stories/Pagination.stories.d.ts.map +1 -0
  368. package/dist/types/stories/Popover.stories.d.ts +17 -0
  369. package/dist/types/stories/Popover.stories.d.ts.map +1 -0
  370. package/dist/types/stories/Progress.stories.d.ts +33 -0
  371. package/dist/types/stories/Progress.stories.d.ts.map +1 -0
  372. package/dist/types/stories/RadioGroup.stories.d.ts +18 -0
  373. package/dist/types/stories/RadioGroup.stories.d.ts.map +1 -0
  374. package/dist/types/stories/ReactSelect.stories.d.ts +39 -0
  375. package/dist/types/stories/ReactSelect.stories.d.ts.map +1 -0
  376. package/dist/types/stories/ScrollArea.stories.d.ts +18 -0
  377. package/dist/types/stories/ScrollArea.stories.d.ts.map +1 -0
  378. package/dist/types/stories/Select.stories.d.ts +18 -0
  379. package/dist/types/stories/Select.stories.d.ts.map +1 -0
  380. package/dist/types/stories/Separator.stories.d.ts +28 -0
  381. package/dist/types/stories/Separator.stories.d.ts.map +1 -0
  382. package/dist/types/stories/Sheet.stories.d.ts +21 -0
  383. package/dist/types/stories/Sheet.stories.d.ts.map +1 -0
  384. package/dist/types/stories/Skeleton.stories.d.ts +22 -0
  385. package/dist/types/stories/Skeleton.stories.d.ts.map +1 -0
  386. package/dist/types/stories/Switch.stories.d.ts +29 -0
  387. package/dist/types/stories/Switch.stories.d.ts.map +1 -0
  388. package/dist/types/stories/Table.stories.d.ts +17 -0
  389. package/dist/types/stories/Table.stories.d.ts.map +1 -0
  390. package/dist/types/stories/Tabs.stories.d.ts +19 -0
  391. package/dist/types/stories/Tabs.stories.d.ts.map +1 -0
  392. package/dist/types/stories/Textarea.stories.d.ts +34 -0
  393. package/dist/types/stories/Textarea.stories.d.ts.map +1 -0
  394. package/dist/types/stories/TimePicker.stories.d.ts +33 -0
  395. package/dist/types/stories/TimePicker.stories.d.ts.map +1 -0
  396. package/dist/types/stories/Tooltip.stories.d.ts +27 -0
  397. package/dist/types/stories/Tooltip.stories.d.ts.map +1 -0
  398. package/dist/types/types/element-data.type.d.ts +8 -0
  399. package/dist/types/types/element-data.type.d.ts.map +1 -0
  400. package/dist/types/types/index.d.ts +2 -0
  401. package/dist/types/types/index.d.ts.map +1 -0
  402. package/dist/types/ui/accordion/accordion.d.ts +69 -0
  403. package/dist/types/ui/accordion/accordion.d.ts.map +1 -0
  404. package/dist/types/ui/accordion/index.d.ts +2 -0
  405. package/dist/types/ui/accordion/index.d.ts.map +1 -0
  406. package/dist/types/ui/alert/alert.d.ts +31 -0
  407. package/dist/types/ui/alert/alert.d.ts.map +1 -0
  408. package/dist/types/ui/alert/index.d.ts +2 -0
  409. package/dist/types/ui/alert/index.d.ts.map +1 -0
  410. package/dist/types/ui/alert-dialog/alert-dialog.d.ts +62 -0
  411. package/dist/types/ui/alert-dialog/alert-dialog.d.ts.map +1 -0
  412. package/dist/types/ui/alert-dialog/index.d.ts +2 -0
  413. package/dist/types/ui/alert-dialog/index.d.ts.map +1 -0
  414. package/dist/types/ui/avatar/avatar.d.ts +86 -0
  415. package/dist/types/ui/avatar/avatar.d.ts.map +1 -0
  416. package/dist/types/ui/avatar/index.d.ts +2 -0
  417. package/dist/types/ui/avatar/index.d.ts.map +1 -0
  418. package/dist/types/ui/badge/badge.d.ts +45 -0
  419. package/dist/types/ui/badge/badge.d.ts.map +1 -0
  420. package/dist/types/ui/badge/index.d.ts +2 -0
  421. package/dist/types/ui/badge/index.d.ts.map +1 -0
  422. package/dist/types/ui/breadcrumb/breadcrumb.d.ts +60 -0
  423. package/dist/types/ui/breadcrumb/breadcrumb.d.ts.map +1 -0
  424. package/dist/types/ui/breadcrumb/index.d.ts +2 -0
  425. package/dist/types/ui/breadcrumb/index.d.ts.map +1 -0
  426. package/dist/types/ui/button/button-group.d.ts +43 -0
  427. package/dist/types/ui/button/button-group.d.ts.map +1 -0
  428. package/dist/types/ui/button/button.d.ts +42 -0
  429. package/dist/types/ui/button/button.d.ts.map +1 -0
  430. package/dist/types/ui/button/index.d.ts +3 -0
  431. package/dist/types/ui/button/index.d.ts.map +1 -0
  432. package/dist/types/ui/calendar/calendar.d.ts +84 -0
  433. package/dist/types/ui/calendar/calendar.d.ts.map +1 -0
  434. package/dist/types/ui/calendar/datepicker.d.ts +8 -0
  435. package/dist/types/ui/calendar/datepicker.d.ts.map +1 -0
  436. package/dist/types/ui/calendar/index.d.ts +4 -0
  437. package/dist/types/ui/calendar/index.d.ts.map +1 -0
  438. package/dist/types/ui/calendar/timepicker.d.ts +38 -0
  439. package/dist/types/ui/calendar/timepicker.d.ts.map +1 -0
  440. package/dist/types/ui/card/card.d.ts +39 -0
  441. package/dist/types/ui/card/card.d.ts.map +1 -0
  442. package/dist/types/ui/card/index.d.ts +2 -0
  443. package/dist/types/ui/card/index.d.ts.map +1 -0
  444. package/dist/types/ui/carousel/carousel.d.ts +73 -0
  445. package/dist/types/ui/carousel/carousel.d.ts.map +1 -0
  446. package/dist/types/ui/carousel/index.d.ts +2 -0
  447. package/dist/types/ui/carousel/index.d.ts.map +1 -0
  448. package/dist/types/ui/collapsible/collapsible.d.ts +18 -0
  449. package/dist/types/ui/collapsible/collapsible.d.ts.map +1 -0
  450. package/dist/types/ui/collapsible/index.d.ts +2 -0
  451. package/dist/types/ui/collapsible/index.d.ts.map +1 -0
  452. package/dist/types/ui/dialog/dialog.d.ts +76 -0
  453. package/dist/types/ui/dialog/dialog.d.ts.map +1 -0
  454. package/dist/types/ui/dialog/index.d.ts +2 -0
  455. package/dist/types/ui/dialog/index.d.ts.map +1 -0
  456. package/dist/types/ui/dropdown/dropdown-menu.d.ts +88 -0
  457. package/dist/types/ui/dropdown/dropdown-menu.d.ts.map +1 -0
  458. package/dist/types/ui/dropdown/index.d.ts +2 -0
  459. package/dist/types/ui/dropdown/index.d.ts.map +1 -0
  460. package/dist/types/ui/form/checkbox.d.ts +16 -0
  461. package/dist/types/ui/form/checkbox.d.ts.map +1 -0
  462. package/dist/types/ui/form/filepond-container.d.ts +25 -0
  463. package/dist/types/ui/form/filepond-container.d.ts.map +1 -0
  464. package/dist/types/ui/form/form.d.ts +68 -0
  465. package/dist/types/ui/form/form.d.ts.map +1 -0
  466. package/dist/types/ui/form/html-editor.d.ts +38 -0
  467. package/dist/types/ui/form/html-editor.d.ts.map +1 -0
  468. package/dist/types/ui/form/index.d.ts +13 -0
  469. package/dist/types/ui/form/index.d.ts.map +1 -0
  470. package/dist/types/ui/form/input-mask.d.ts +111 -0
  471. package/dist/types/ui/form/input-mask.d.ts.map +1 -0
  472. package/dist/types/ui/form/input.d.ts +33 -0
  473. package/dist/types/ui/form/input.d.ts.map +1 -0
  474. package/dist/types/ui/form/label.d.ts +11 -0
  475. package/dist/types/ui/form/label.d.ts.map +1 -0
  476. package/dist/types/ui/form/radio-group.d.ts +25 -0
  477. package/dist/types/ui/form/radio-group.d.ts.map +1 -0
  478. package/dist/types/ui/form/react-select.d.ts +40 -0
  479. package/dist/types/ui/form/react-select.d.ts.map +1 -0
  480. package/dist/types/ui/form/select.d.ts +100 -0
  481. package/dist/types/ui/form/select.d.ts.map +1 -0
  482. package/dist/types/ui/form/switch.d.ts +16 -0
  483. package/dist/types/ui/form/switch.d.ts.map +1 -0
  484. package/dist/types/ui/form/textarea.d.ts +19 -0
  485. package/dist/types/ui/form/textarea.d.ts.map +1 -0
  486. package/dist/types/ui/pagination/index.d.ts +2 -0
  487. package/dist/types/ui/pagination/index.d.ts.map +1 -0
  488. package/dist/types/ui/pagination/pagination.d.ts +78 -0
  489. package/dist/types/ui/pagination/pagination.d.ts.map +1 -0
  490. package/dist/types/ui/popover/index.d.ts +2 -0
  491. package/dist/types/ui/popover/index.d.ts.map +1 -0
  492. package/dist/types/ui/popover/popover.d.ts +29 -0
  493. package/dist/types/ui/popover/popover.d.ts.map +1 -0
  494. package/dist/types/ui/progress/index.d.ts +2 -0
  495. package/dist/types/ui/progress/index.d.ts.map +1 -0
  496. package/dist/types/ui/progress/progress.d.ts +14 -0
  497. package/dist/types/ui/progress/progress.d.ts.map +1 -0
  498. package/dist/types/ui/scroll-area/index.d.ts +2 -0
  499. package/dist/types/ui/scroll-area/index.d.ts.map +1 -0
  500. package/dist/types/ui/scroll-area/scroll-area.d.ts +20 -0
  501. package/dist/types/ui/scroll-area/scroll-area.d.ts.map +1 -0
  502. package/dist/types/ui/separator/index.d.ts +2 -0
  503. package/dist/types/ui/separator/index.d.ts.map +1 -0
  504. package/dist/types/ui/separator/separator.d.ts +13 -0
  505. package/dist/types/ui/separator/separator.d.ts.map +1 -0
  506. package/dist/types/ui/sheet/index.d.ts +2 -0
  507. package/dist/types/ui/sheet/index.d.ts.map +1 -0
  508. package/dist/types/ui/sheet/sheet.d.ts +61 -0
  509. package/dist/types/ui/sheet/sheet.d.ts.map +1 -0
  510. package/dist/types/ui/skeleton/index.d.ts +2 -0
  511. package/dist/types/ui/skeleton/index.d.ts.map +1 -0
  512. package/dist/types/ui/skeleton/skeleton.d.ts +8 -0
  513. package/dist/types/ui/skeleton/skeleton.d.ts.map +1 -0
  514. package/dist/types/ui/tab/index.d.ts +2 -0
  515. package/dist/types/ui/tab/index.d.ts.map +1 -0
  516. package/dist/types/ui/tab/tabs.d.ts +50 -0
  517. package/dist/types/ui/tab/tabs.d.ts.map +1 -0
  518. package/dist/types/ui/table/index.d.ts +2 -0
  519. package/dist/types/ui/table/index.d.ts.map +1 -0
  520. package/dist/types/ui/table/table.d.ts +43 -0
  521. package/dist/types/ui/table/table.d.ts.map +1 -0
  522. package/dist/types/ui/tooltip/index.d.ts +2 -0
  523. package/dist/types/ui/tooltip/index.d.ts.map +1 -0
  524. package/dist/types/ui/tooltip/tooltip.d.ts +15 -0
  525. package/dist/types/ui/tooltip/tooltip.d.ts.map +1 -0
  526. package/dist/types/vite-env.d.ts +1 -0
  527. package/dist/utils/index.cjs.js +2 -0
  528. package/dist/utils/index.cjs.js.map +1 -0
  529. package/dist/utils/index.es.js +287 -0
  530. package/dist/utils/index.es.js.map +1 -0
  531. package/package.json +366 -0
@@ -0,0 +1,7 @@
1
+ "use strict";const p=require("react/jsx-runtime"),le=require("react"),At=require("react-dom"),Ve=require("./index-C8ni3LLa.cjs.js"),T=require("./index-D9zW9Tk7.cjs.js"),Lt=require("./index-pF_O2Ico.cjs.js"),$=require("./index-jFOWwfD3.cjs.js"),zt=require("./index-DnRKXUWD.cjs.js"),kt=require("./index-CItoM52t.cjs.js"),pe=require("./index-DG15yxNP.cjs.js"),me=require("./index-BruMW80s.cjs.js"),ae=require("./index-CGLGXpw0.cjs.js"),Vt=require("./index-CN4RxFxN.cjs.js"),G=require("./index-pQxT4IlV.cjs.js"),Ht=require("./index-C28jaZCP.cjs.js"),Y=require("./utils-C4d7Ql9-.cjs.js"),Wt=require("./check-B6UTraXT.cjs.js"),$e=require("./chevron-down-T-PkxHnH.cjs.js"),Bt=require("./createLucideIcon-HtK0p34L.cjs.js");function qe(t){if(t&&t.__esModule)return t;const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const o in t)if(o!=="default"){const r=Object.getOwnPropertyDescriptor(t,o);Object.defineProperty(e,o,r.get?r:{enumerable:!0,get:()=>t[o]})}}return e.default=t,Object.freeze(e)}const i=qe(le),Ke=qe(At);/**
2
+ * @license lucide-react v0.563.0 - ISC
3
+ *
4
+ * This source code is licensed under the ISC license.
5
+ * See the LICENSE file in the root directory of this source tree.
6
+ */const Ft=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],Ut=Bt.createLucideIcon("chevron-up",Ft);function Ge(t){const e=i.useRef({value:t,previous:t});return i.useMemo(()=>(e.current.value!==t&&(e.current.previous=e.current.value,e.current.value=t),e.current.previous),[t])}function ge(){return ge=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var o=arguments[e];for(var r in o)({}).hasOwnProperty.call(o,r)&&(t[r]=o[r])}return t},ge.apply(null,arguments)}function Se(t,e){return Se=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,r){return o.__proto__=r,o},Se(t,e)}function Re(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function $t(t){const e=qt(t),o=i.forwardRef((r,s)=>{const{children:m,...c}=r,l=i.Children.toArray(m),a=l.find(Gt);if(a){const v=a.props.children,g=l.map(x=>x===a?i.Children.count(v)>1?i.Children.only(null):i.isValidElement(v)?v.props.children:null:x);return p.jsx(e,{...c,ref:s,children:i.isValidElement(v)?i.cloneElement(v,void 0,g):null})}return p.jsx(e,{...c,ref:s,children:m})});return o.displayName=`${t}.Slot`,o}function qt(t){const e=i.forwardRef((o,r)=>{const{children:s,...m}=o;if(i.isValidElement(s)){const c=Zt(s),l=Yt(m,s.props);return s.type!==i.Fragment&&(l.ref=r?$.composeRefs(r,c):c),i.cloneElement(s,l)}return i.Children.count(s)>1?i.Children.only(null):null});return e.displayName=`${t}.SlotClone`,e}var Kt=Symbol("radix.slottable");function Gt(t){return i.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===Kt}function Yt(t,e){const o={...e};for(const r in e){const s=t[r],m=e[r];/^on[A-Z]/.test(r)?s&&m?o[r]=(...l)=>{const a=m(...l);return s(...l),a}:s&&(o[r]=s):r==="style"?o[r]={...s,...m}:r==="className"&&(o[r]=[s,m].filter(Boolean).join(" "))}return{...t,...o}}function Zt(t){var r,s;let e=(r=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:r.get,o=e&&"isReactWarning"in e&&e.isReactWarning;return o?t.ref:(e=(s=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:s.get,o=e&&"isReactWarning"in e&&e.isReactWarning,o?t.props.ref:t.props.ref||t.ref)}var Xt=[" ","Enter","ArrowUp","ArrowDown"],Jt=[" ","Enter"],te="Select",[xe,we,Qt]=Lt.createCollection(te),[ce]=T.createContextScope(te,[Qt,ae.createPopperScope]),Ie=ae.createPopperScope(),[eo,Z]=ce(te),[to,oo]=ce(te),Ye=t=>{const{__scopeSelect:e,children:o,open:r,defaultOpen:s,onOpenChange:m,value:c,defaultValue:l,onValueChange:a,dir:v,name:g,autoComplete:x,disabled:P,required:C,form:w}=t,n=Ie(e),[d,f]=i.useState(null),[u,h]=i.useState(null),[b,S]=i.useState(!1),E=zt.useDirection(v),[I,M]=me.useControllableState({prop:r,defaultProp:s??!1,onChange:m,caller:te}),[j,V]=me.useControllableState({prop:c,defaultProp:l,onChange:a,caller:te}),A=i.useRef(null),W=d?w||!!d.closest("form"):!0,[q,B]=i.useState(new Set),F=Array.from(q).map(D=>D.props.value).join(";");return p.jsx(ae.Root2,{...n,children:p.jsxs(eo,{required:C,scope:e,trigger:d,onTriggerChange:f,valueNode:u,onValueNodeChange:h,valueNodeHasChildren:b,onValueNodeHasChildrenChange:S,contentId:me.useId(),value:j,onValueChange:V,open:I,onOpenChange:M,dir:E,triggerPointerDownPosRef:A,disabled:P,children:[p.jsx(xe.Provider,{scope:e,children:p.jsx(to,{scope:t.__scopeSelect,onNativeOptionAdd:i.useCallback(D=>{B(L=>new Set(L).add(D))},[]),onNativeOptionRemove:i.useCallback(D=>{B(L=>{const z=new Set(L);return z.delete(D),z})},[]),children:o})}),W?p.jsxs(xt,{"aria-hidden":!0,required:C,tabIndex:-1,name:g,autoComplete:x,value:j,onChange:D=>V(D.target.value),disabled:P,form:w,children:[j===void 0?p.jsx("option",{value:""}):null,Array.from(q)]},F):null]})})};Ye.displayName=te;var Ze="SelectTrigger",Xe=i.forwardRef((t,e)=>{const{__scopeSelect:o,disabled:r=!1,...s}=t,m=Ie(o),c=Z(Ze,o),l=c.disabled||r,a=$.useComposedRefs(e,c.onTriggerChange),v=we(o),g=i.useRef("touch"),[x,P,C]=It(n=>{const d=v().filter(h=>!h.disabled),f=d.find(h=>h.value===c.value),u=Ct(d,n,f);u!==void 0&&c.onValueChange(u.value)}),w=n=>{l||(c.onOpenChange(!0),C()),n&&(c.triggerPointerDownPosRef.current={x:Math.round(n.pageX),y:Math.round(n.pageY)})};return p.jsx(ae.Anchor,{asChild:!0,...m,children:p.jsx(T.Primitive.button,{type:"button",role:"combobox","aria-controls":c.contentId,"aria-expanded":c.open,"aria-required":c.required,"aria-autocomplete":"none",dir:c.dir,"data-state":c.open?"open":"closed",disabled:l,"data-disabled":l?"":void 0,"data-placeholder":wt(c.value)?"":void 0,...s,ref:a,onClick:T.composeEventHandlers(s.onClick,n=>{n.currentTarget.focus(),g.current!=="mouse"&&w(n)}),onPointerDown:T.composeEventHandlers(s.onPointerDown,n=>{g.current=n.pointerType;const d=n.target;d.hasPointerCapture(n.pointerId)&&d.releasePointerCapture(n.pointerId),n.button===0&&n.ctrlKey===!1&&n.pointerType==="mouse"&&(w(n),n.preventDefault())}),onKeyDown:T.composeEventHandlers(s.onKeyDown,n=>{const d=x.current!=="";!(n.ctrlKey||n.altKey||n.metaKey)&&n.key.length===1&&P(n.key),!(d&&n.key===" ")&&Xt.includes(n.key)&&(w(),n.preventDefault())})})})});Xe.displayName=Ze;var Je="SelectValue",Qe=i.forwardRef((t,e)=>{const{__scopeSelect:o,className:r,style:s,children:m,placeholder:c="",...l}=t,a=Z(Je,o),{onValueNodeHasChildrenChange:v}=a,g=m!==void 0,x=$.useComposedRefs(e,a.onValueNodeChange);return G.useLayoutEffect2(()=>{v(g)},[v,g]),p.jsx(T.Primitive.span,{...l,ref:x,style:{pointerEvents:"none"},children:wt(a.value)?p.jsx(p.Fragment,{children:c}):m})});Qe.displayName=Je;var no="SelectIcon",et=i.forwardRef((t,e)=>{const{__scopeSelect:o,children:r,...s}=t;return p.jsx(T.Primitive.span,{"aria-hidden":!0,...s,ref:e,children:r||"▼"})});et.displayName=no;var ro="SelectPortal",tt=t=>p.jsx(pe.Portal,{asChild:!0,...t});tt.displayName=ro;var oe="SelectContent",ot=i.forwardRef((t,e)=>{const o=Z(oe,t.__scopeSelect),[r,s]=i.useState();if(G.useLayoutEffect2(()=>{s(new DocumentFragment)},[]),!o.open){const m=r;return m?Ke.createPortal(p.jsx(nt,{scope:t.__scopeSelect,children:p.jsx(xe.Slot,{scope:t.__scopeSelect,children:p.jsx("div",{children:t.children})})}),m):null}return p.jsx(rt,{...t,ref:e})});ot.displayName=oe;var U=10,[nt,X]=ce(oe),so="SelectContentImpl",io=$t("SelectContent.RemoveScroll"),rt=i.forwardRef((t,e)=>{const{__scopeSelect:o,position:r="item-aligned",onCloseAutoFocus:s,onEscapeKeyDown:m,onPointerDownOutside:c,side:l,sideOffset:a,align:v,alignOffset:g,arrowPadding:x,collisionBoundary:P,collisionPadding:C,sticky:w,hideWhenDetached:n,avoidCollisions:d,...f}=t,u=Z(oe,o),[h,b]=i.useState(null),[S,E]=i.useState(null),I=$.useComposedRefs(e,y=>b(y)),[M,j]=i.useState(null),[V,A]=i.useState(null),W=we(o),[q,B]=i.useState(!1),F=i.useRef(!1);i.useEffect(()=>{if(h)return pe.hideOthers(h)},[h]),pe.useFocusGuards();const D=i.useCallback(y=>{const[O,...k]=W().map(_=>_.ref.current),[N]=k.slice(-1),R=document.activeElement;for(const _ of y)if(_===R||(_==null||_.scrollIntoView({block:"nearest"}),_===O&&S&&(S.scrollTop=0),_===N&&S&&(S.scrollTop=S.scrollHeight),_==null||_.focus(),document.activeElement!==R))return},[W,S]),L=i.useCallback(()=>D([M,h]),[D,M,h]);i.useEffect(()=>{q&&L()},[q,L]);const{onOpenChange:z,triggerPointerDownPosRef:K}=u;i.useEffect(()=>{if(h){let y={x:0,y:0};const O=N=>{var R,_;y={x:Math.abs(Math.round(N.pageX)-(((R=K.current)==null?void 0:R.x)??0)),y:Math.abs(Math.round(N.pageY)-(((_=K.current)==null?void 0:_.y)??0))}},k=N=>{y.x<=10&&y.y<=10?N.preventDefault():h.contains(N.target)||z(!1),document.removeEventListener("pointermove",O),K.current=null};return K.current!==null&&(document.addEventListener("pointermove",O),document.addEventListener("pointerup",k,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",O),document.removeEventListener("pointerup",k,{capture:!0})}}},[h,z,K]),i.useEffect(()=>{const y=()=>z(!1);return window.addEventListener("blur",y),window.addEventListener("resize",y),()=>{window.removeEventListener("blur",y),window.removeEventListener("resize",y)}},[z]);const[ne,re]=It(y=>{const O=W().filter(R=>!R.disabled),k=O.find(R=>R.ref.current===document.activeElement),N=Ct(O,y,k);N&&setTimeout(()=>N.ref.current.focus())}),de=i.useCallback((y,O,k)=>{const N=!F.current&&!k;(u.value!==void 0&&u.value===O||N)&&(j(y),N&&(F.current=!0))},[u.value]),se=i.useCallback(()=>h==null?void 0:h.focus(),[h]),H=i.useCallback((y,O,k)=>{const N=!F.current&&!k;(u.value!==void 0&&u.value===O||N)&&A(y)},[u.value]),J=r==="popper"?_e:st,ue=J===_e?{side:l,sideOffset:a,align:v,alignOffset:g,arrowPadding:x,collisionBoundary:P,collisionPadding:C,sticky:w,hideWhenDetached:n,avoidCollisions:d}:{};return p.jsx(nt,{scope:o,content:h,viewport:S,onViewportChange:E,itemRefCallback:de,selectedItem:M,onItemLeave:se,itemTextRefCallback:H,focusSelectedItem:L,selectedItemText:V,position:r,isPositioned:q,searchRef:ne,children:p.jsx(pe.ReactRemoveScroll,{as:io,allowPinchZoom:!0,children:p.jsx(pe.FocusScope,{asChild:!0,trapped:u.open,onMountAutoFocus:y=>{y.preventDefault()},onUnmountAutoFocus:T.composeEventHandlers(s,y=>{var O;(O=u.trigger)==null||O.focus({preventScroll:!0}),y.preventDefault()}),children:p.jsx(kt.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:m,onPointerDownOutside:c,onFocusOutside:y=>y.preventDefault(),onDismiss:()=>u.onOpenChange(!1),children:p.jsx(J,{role:"listbox",id:u.contentId,"data-state":u.open?"open":"closed",dir:u.dir,onContextMenu:y=>y.preventDefault(),...f,...ue,onPlaced:()=>B(!0),ref:I,style:{display:"flex",flexDirection:"column",outline:"none",...f.style},onKeyDown:T.composeEventHandlers(f.onKeyDown,y=>{const O=y.ctrlKey||y.altKey||y.metaKey;if(y.key==="Tab"&&y.preventDefault(),!O&&y.key.length===1&&re(y.key),["ArrowUp","ArrowDown","Home","End"].includes(y.key)){let N=W().filter(R=>!R.disabled).map(R=>R.ref.current);if(["ArrowUp","End"].includes(y.key)&&(N=N.slice().reverse()),["ArrowUp","ArrowDown"].includes(y.key)){const R=y.target,_=N.indexOf(R);N=N.slice(_+1)}setTimeout(()=>D(N)),y.preventDefault()}})})})})})})});rt.displayName=so;var lo="SelectItemAlignedPosition",st=i.forwardRef((t,e)=>{const{__scopeSelect:o,onPlaced:r,...s}=t,m=Z(oe,o),c=X(oe,o),[l,a]=i.useState(null),[v,g]=i.useState(null),x=$.useComposedRefs(e,I=>g(I)),P=we(o),C=i.useRef(!1),w=i.useRef(!0),{viewport:n,selectedItem:d,selectedItemText:f,focusSelectedItem:u}=c,h=i.useCallback(()=>{if(m.trigger&&m.valueNode&&l&&v&&n&&d&&f){const I=m.trigger.getBoundingClientRect(),M=v.getBoundingClientRect(),j=m.valueNode.getBoundingClientRect(),V=f.getBoundingClientRect();if(m.dir!=="rtl"){const R=V.left-M.left,_=j.left-R,Q=I.left-_,ee=I.width+Q,Ce=Math.max(ee,M.width),be=window.innerWidth-U,Te=Ve.clamp(_,[U,Math.max(U,be-Ce)]);l.style.minWidth=ee+"px",l.style.left=Te+"px"}else{const R=M.right-V.right,_=window.innerWidth-j.right-R,Q=window.innerWidth-I.right-_,ee=I.width+Q,Ce=Math.max(ee,M.width),be=window.innerWidth-U,Te=Ve.clamp(_,[U,Math.max(U,be-Ce)]);l.style.minWidth=ee+"px",l.style.right=Te+"px"}const A=P(),W=window.innerHeight-U*2,q=n.scrollHeight,B=window.getComputedStyle(v),F=parseInt(B.borderTopWidth,10),D=parseInt(B.paddingTop,10),L=parseInt(B.borderBottomWidth,10),z=parseInt(B.paddingBottom,10),K=F+D+q+z+L,ne=Math.min(d.offsetHeight*5,K),re=window.getComputedStyle(n),de=parseInt(re.paddingTop,10),se=parseInt(re.paddingBottom,10),H=I.top+I.height/2-U,J=W-H,ue=d.offsetHeight/2,y=d.offsetTop+ue,O=F+D+y,k=K-O;if(O<=H){const R=A.length>0&&d===A[A.length-1].ref.current;l.style.bottom="0px";const _=v.clientHeight-n.offsetTop-n.offsetHeight,Q=Math.max(J,ue+(R?se:0)+_+L),ee=O+Q;l.style.height=ee+"px"}else{const R=A.length>0&&d===A[0].ref.current;l.style.top="0px";const Q=Math.max(H,F+n.offsetTop+(R?de:0)+ue)+k;l.style.height=Q+"px",n.scrollTop=O-H+n.offsetTop}l.style.margin=`${U}px 0`,l.style.minHeight=ne+"px",l.style.maxHeight=W+"px",r==null||r(),requestAnimationFrame(()=>C.current=!0)}},[P,m.trigger,m.valueNode,l,v,n,d,f,m.dir,r]);G.useLayoutEffect2(()=>h(),[h]);const[b,S]=i.useState();G.useLayoutEffect2(()=>{v&&S(window.getComputedStyle(v).zIndex)},[v]);const E=i.useCallback(I=>{I&&w.current===!0&&(h(),u==null||u(),w.current=!1)},[h,u]);return p.jsx(co,{scope:o,contentWrapper:l,shouldExpandOnScrollRef:C,onScrollButtonChange:E,children:p.jsx("div",{ref:a,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:b},children:p.jsx(T.Primitive.div,{...s,ref:x,style:{boxSizing:"border-box",maxHeight:"100%",...s.style}})})})});st.displayName=lo;var ao="SelectPopperPosition",_e=i.forwardRef((t,e)=>{const{__scopeSelect:o,align:r="start",collisionPadding:s=U,...m}=t,c=Ie(o);return p.jsx(ae.Content,{...c,...m,ref:e,align:r,collisionPadding:s,style:{boxSizing:"border-box",...m.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});_e.displayName=ao;var[co,De]=ce(oe,{}),Ne="SelectViewport",it=i.forwardRef((t,e)=>{const{__scopeSelect:o,nonce:r,...s}=t,m=X(Ne,o),c=De(Ne,o),l=$.useComposedRefs(e,m.onViewportChange),a=i.useRef(0);return p.jsxs(p.Fragment,{children:[p.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:r}),p.jsx(xe.Slot,{scope:o,children:p.jsx(T.Primitive.div,{"data-radix-select-viewport":"",role:"presentation",...s,ref:l,style:{position:"relative",flex:1,overflow:"hidden auto",...s.style},onScroll:T.composeEventHandlers(s.onScroll,v=>{const g=v.currentTarget,{contentWrapper:x,shouldExpandOnScrollRef:P}=c;if(P!=null&&P.current&&x){const C=Math.abs(a.current-g.scrollTop);if(C>0){const w=window.innerHeight-U*2,n=parseFloat(x.style.minHeight),d=parseFloat(x.style.height),f=Math.max(n,d);if(f<w){const u=f+C,h=Math.min(w,u),b=u-h;x.style.height=h+"px",x.style.bottom==="0px"&&(g.scrollTop=b>0?b:0,x.style.justifyContent="flex-end")}}}a.current=g.scrollTop})})})]})});it.displayName=Ne;var lt="SelectGroup",[uo,po]=ce(lt),at=i.forwardRef((t,e)=>{const{__scopeSelect:o,...r}=t,s=me.useId();return p.jsx(uo,{scope:o,id:s,children:p.jsx(T.Primitive.div,{role:"group","aria-labelledby":s,...r,ref:e})})});at.displayName=lt;var ct="SelectLabel",dt=i.forwardRef((t,e)=>{const{__scopeSelect:o,...r}=t,s=po(ct,o);return p.jsx(T.Primitive.div,{id:s.id,...r,ref:e})});dt.displayName=ct;var ye="SelectItem",[fo,ut]=ce(ye),pt=i.forwardRef((t,e)=>{const{__scopeSelect:o,value:r,disabled:s=!1,textValue:m,...c}=t,l=Z(ye,o),a=X(ye,o),v=l.value===r,[g,x]=i.useState(m??""),[P,C]=i.useState(!1),w=$.useComposedRefs(e,u=>{var h;return(h=a.itemRefCallback)==null?void 0:h.call(a,u,r,s)}),n=me.useId(),d=i.useRef("touch"),f=()=>{s||(l.onValueChange(r),l.onOpenChange(!1))};if(r==="")throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return p.jsx(fo,{scope:o,value:r,disabled:s,textId:n,isSelected:v,onItemTextChange:i.useCallback(u=>{x(h=>h||((u==null?void 0:u.textContent)??"").trim())},[]),children:p.jsx(xe.ItemSlot,{scope:o,value:r,disabled:s,textValue:g,children:p.jsx(T.Primitive.div,{role:"option","aria-labelledby":n,"data-highlighted":P?"":void 0,"aria-selected":v&&P,"data-state":v?"checked":"unchecked","aria-disabled":s||void 0,"data-disabled":s?"":void 0,tabIndex:s?void 0:-1,...c,ref:w,onFocus:T.composeEventHandlers(c.onFocus,()=>C(!0)),onBlur:T.composeEventHandlers(c.onBlur,()=>C(!1)),onClick:T.composeEventHandlers(c.onClick,()=>{d.current!=="mouse"&&f()}),onPointerUp:T.composeEventHandlers(c.onPointerUp,()=>{d.current==="mouse"&&f()}),onPointerDown:T.composeEventHandlers(c.onPointerDown,u=>{d.current=u.pointerType}),onPointerMove:T.composeEventHandlers(c.onPointerMove,u=>{var h;d.current=u.pointerType,s?(h=a.onItemLeave)==null||h.call(a):d.current==="mouse"&&u.currentTarget.focus({preventScroll:!0})}),onPointerLeave:T.composeEventHandlers(c.onPointerLeave,u=>{var h;u.currentTarget===document.activeElement&&((h=a.onItemLeave)==null||h.call(a))}),onKeyDown:T.composeEventHandlers(c.onKeyDown,u=>{var b;((b=a.searchRef)==null?void 0:b.current)!==""&&u.key===" "||(Jt.includes(u.key)&&f(),u.key===" "&&u.preventDefault())})})})})});pt.displayName=ye;var fe="SelectItemText",ft=i.forwardRef((t,e)=>{const{__scopeSelect:o,className:r,style:s,...m}=t,c=Z(fe,o),l=X(fe,o),a=ut(fe,o),v=oo(fe,o),[g,x]=i.useState(null),P=$.useComposedRefs(e,f=>x(f),a.onItemTextChange,f=>{var u;return(u=l.itemTextRefCallback)==null?void 0:u.call(l,f,a.value,a.disabled)}),C=g==null?void 0:g.textContent,w=i.useMemo(()=>p.jsx("option",{value:a.value,disabled:a.disabled,children:C},a.value),[a.disabled,a.value,C]),{onNativeOptionAdd:n,onNativeOptionRemove:d}=v;return G.useLayoutEffect2(()=>(n(w),()=>d(w)),[n,d,w]),p.jsxs(p.Fragment,{children:[p.jsx(T.Primitive.span,{id:a.textId,...m,ref:P}),a.isSelected&&c.valueNode&&!c.valueNodeHasChildren?Ke.createPortal(m.children,c.valueNode):null]})});ft.displayName=fe;var mt="SelectItemIndicator",ht=i.forwardRef((t,e)=>{const{__scopeSelect:o,...r}=t;return ut(mt,o).isSelected?p.jsx(T.Primitive.span,{"aria-hidden":!0,...r,ref:e}):null});ht.displayName=mt;var Oe="SelectScrollUpButton",vt=i.forwardRef((t,e)=>{const o=X(Oe,t.__scopeSelect),r=De(Oe,t.__scopeSelect),[s,m]=i.useState(!1),c=$.useComposedRefs(e,r.onScrollButtonChange);return G.useLayoutEffect2(()=>{if(o.viewport&&o.isPositioned){let l=function(){const v=a.scrollTop>0;m(v)};const a=o.viewport;return l(),a.addEventListener("scroll",l),()=>a.removeEventListener("scroll",l)}},[o.viewport,o.isPositioned]),s?p.jsx(St,{...t,ref:c,onAutoScroll:()=>{const{viewport:l,selectedItem:a}=o;l&&a&&(l.scrollTop=l.scrollTop-a.offsetHeight)}}):null});vt.displayName=Oe;var Me="SelectScrollDownButton",gt=i.forwardRef((t,e)=>{const o=X(Me,t.__scopeSelect),r=De(Me,t.__scopeSelect),[s,m]=i.useState(!1),c=$.useComposedRefs(e,r.onScrollButtonChange);return G.useLayoutEffect2(()=>{if(o.viewport&&o.isPositioned){let l=function(){const v=a.scrollHeight-a.clientHeight,g=Math.ceil(a.scrollTop)<v;m(g)};const a=o.viewport;return l(),a.addEventListener("scroll",l),()=>a.removeEventListener("scroll",l)}},[o.viewport,o.isPositioned]),s?p.jsx(St,{...t,ref:c,onAutoScroll:()=>{const{viewport:l,selectedItem:a}=o;l&&a&&(l.scrollTop=l.scrollTop+a.offsetHeight)}}):null});gt.displayName=Me;var St=i.forwardRef((t,e)=>{const{__scopeSelect:o,onAutoScroll:r,...s}=t,m=X("SelectScrollButton",o),c=i.useRef(null),l=we(o),a=i.useCallback(()=>{c.current!==null&&(window.clearInterval(c.current),c.current=null)},[]);return i.useEffect(()=>()=>a(),[a]),G.useLayoutEffect2(()=>{var g;const v=l().find(x=>x.ref.current===document.activeElement);(g=v==null?void 0:v.ref.current)==null||g.scrollIntoView({block:"nearest"})},[l]),p.jsx(T.Primitive.div,{"aria-hidden":!0,...s,ref:e,style:{flexShrink:0,...s.style},onPointerDown:T.composeEventHandlers(s.onPointerDown,()=>{c.current===null&&(c.current=window.setInterval(r,50))}),onPointerMove:T.composeEventHandlers(s.onPointerMove,()=>{var v;(v=m.onItemLeave)==null||v.call(m),c.current===null&&(c.current=window.setInterval(r,50))}),onPointerLeave:T.composeEventHandlers(s.onPointerLeave,()=>{a()})})}),mo="SelectSeparator",yt=i.forwardRef((t,e)=>{const{__scopeSelect:o,...r}=t;return p.jsx(T.Primitive.div,{"aria-hidden":!0,...r,ref:e})});yt.displayName=mo;var je="SelectArrow",ho=i.forwardRef((t,e)=>{const{__scopeSelect:o,...r}=t,s=Ie(o),m=Z(je,o),c=X(je,o);return m.open&&c.position==="popper"?p.jsx(ae.Arrow,{...s,...r,ref:e}):null});ho.displayName=je;var vo="SelectBubbleInput",xt=i.forwardRef(({__scopeSelect:t,value:e,...o},r)=>{const s=i.useRef(null),m=$.useComposedRefs(r,s),c=Ge(e);return i.useEffect(()=>{const l=s.current;if(!l)return;const a=window.HTMLSelectElement.prototype,g=Object.getOwnPropertyDescriptor(a,"value").set;if(c!==e&&g){const x=new Event("change",{bubbles:!0});g.call(l,e),l.dispatchEvent(x)}},[c,e]),p.jsx(T.Primitive.select,{...o,style:{...Ht.VISUALLY_HIDDEN_STYLES,...o.style},ref:m,defaultValue:e})});xt.displayName=vo;function wt(t){return t===""||t===void 0}function It(t){const e=Vt.useCallbackRef(t),o=i.useRef(""),r=i.useRef(0),s=i.useCallback(c=>{const l=o.current+c;e(l),(function a(v){o.current=v,window.clearTimeout(r.current),v!==""&&(r.current=window.setTimeout(()=>a(""),1e3))})(l)},[e]),m=i.useCallback(()=>{o.current="",window.clearTimeout(r.current)},[]);return i.useEffect(()=>()=>window.clearTimeout(r.current),[]),[o,s,m]}function Ct(t,e,o){const s=e.length>1&&Array.from(e).every(v=>v===e[0])?e[0]:e,m=o?t.indexOf(o):-1;let c=go(t,Math.max(m,0));s.length===1&&(c=c.filter(v=>v!==o));const a=c.find(v=>v.textValue.toLowerCase().startsWith(s.toLowerCase()));return a!==o?a:void 0}function go(t,e){return t.map((o,r)=>t[(e+r)%t.length])}var So=Ye,bt=Xe,yo=Qe,xo=et,wo=tt,Tt=ot,Io=it,Co=at,Et=dt,Pt=pt,bo=ft,To=ht,Rt=vt,_t=gt,Nt=yt;function Eo(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,Se(t,e)}var He=Number.isNaN||function(e){return typeof e=="number"&&e!==e};function Po(t,e){return!!(t===e||He(t)&&He(e))}function Ro(t,e){if(t.length!==e.length)return!1;for(var o=0;o<t.length;o++)if(!Po(t[o],e[o]))return!1;return!0}function Ee(t,e){e===void 0&&(e=Ro);var o,r=[],s,m=!1;function c(){for(var l=[],a=0;a<arguments.length;a++)l[a]=arguments[a];return m&&o===this&&e(l,r)||(s=t.apply(this,l),m=!0,o=this,r=l),s}return c}var _o=typeof performance=="object"&&typeof performance.now=="function",We=_o?function(){return performance.now()}:function(){return Date.now()};function Be(t){cancelAnimationFrame(t.id)}function No(t,e){var o=We();function r(){We()-o>=e?t.call(null):s.id=requestAnimationFrame(r)}var s={id:requestAnimationFrame(r)};return s}var Pe=-1;function Fe(t){if(t===void 0&&(t=!1),Pe===-1||t){var e=document.createElement("div"),o=e.style;o.width="50px",o.height="50px",o.overflow="scroll",document.body.appendChild(e),Pe=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}return Pe}var ie=null;function Ue(t){if(t===void 0&&(t=!1),ie===null||t){var e=document.createElement("div"),o=e.style;o.width="50px",o.height="50px",o.overflow="scroll",o.direction="rtl";var r=document.createElement("div"),s=r.style;return s.width="100px",s.height="100px",e.appendChild(r),document.body.appendChild(e),e.scrollLeft>0?ie="positive-descending":(e.scrollLeft=1,e.scrollLeft===0?ie="negative":ie="positive-ascending"),document.body.removeChild(e),ie}return ie}process.env.NODE_ENV;var Oo=150,Mo=function(e,o){return e},he=null,ve=null;process.env.NODE_ENV!=="production"&&typeof window<"u"&&typeof window.WeakSet<"u"&&(he=new WeakSet,ve=new WeakSet);function jo(t){var e,o=t.getItemOffset,r=t.getEstimatedTotalSize,s=t.getItemSize,m=t.getOffsetForIndexAndAlignment,c=t.getStartIndexForOffset,l=t.getStopIndexForStartIndex,a=t.initInstanceProps,v=t.shouldResetStyleCacheOnItemSizeChange,g=t.validateProps;return e=(function(x){Eo(P,x);function P(w){var n;return n=x.call(this,w)||this,n._instanceProps=a(n.props,Re(n)),n._outerRef=void 0,n._resetIsScrollingTimeoutId=null,n.state={instance:Re(n),isScrolling:!1,scrollDirection:"forward",scrollOffset:typeof n.props.initialScrollOffset=="number"?n.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},n._callOnItemsRendered=void 0,n._callOnItemsRendered=Ee(function(d,f,u,h){return n.props.onItemsRendered({overscanStartIndex:d,overscanStopIndex:f,visibleStartIndex:u,visibleStopIndex:h})}),n._callOnScroll=void 0,n._callOnScroll=Ee(function(d,f,u){return n.props.onScroll({scrollDirection:d,scrollOffset:f,scrollUpdateWasRequested:u})}),n._getItemStyle=void 0,n._getItemStyle=function(d){var f=n.props,u=f.direction,h=f.itemSize,b=f.layout,S=n._getItemStyleCache(v&&h,v&&b,v&&u),E;if(S.hasOwnProperty(d))E=S[d];else{var I=o(n.props,d,n._instanceProps),M=s(n.props,d,n._instanceProps),j=u==="horizontal"||b==="horizontal",V=u==="rtl",A=j?I:0;S[d]=E={position:"absolute",left:V?void 0:A,right:V?A:void 0,top:j?0:I,height:j?"100%":M,width:j?M:"100%"}}return E},n._getItemStyleCache=void 0,n._getItemStyleCache=Ee(function(d,f,u){return{}}),n._onScrollHorizontal=function(d){var f=d.currentTarget,u=f.clientWidth,h=f.scrollLeft,b=f.scrollWidth;n.setState(function(S){if(S.scrollOffset===h)return null;var E=n.props.direction,I=h;if(E==="rtl")switch(Ue()){case"negative":I=-h;break;case"positive-descending":I=b-u-h;break}return I=Math.max(0,Math.min(I,b-u)),{isScrolling:!0,scrollDirection:S.scrollOffset<I?"forward":"backward",scrollOffset:I,scrollUpdateWasRequested:!1}},n._resetIsScrollingDebounced)},n._onScrollVertical=function(d){var f=d.currentTarget,u=f.clientHeight,h=f.scrollHeight,b=f.scrollTop;n.setState(function(S){if(S.scrollOffset===b)return null;var E=Math.max(0,Math.min(b,h-u));return{isScrolling:!0,scrollDirection:S.scrollOffset<E?"forward":"backward",scrollOffset:E,scrollUpdateWasRequested:!1}},n._resetIsScrollingDebounced)},n._outerRefSetter=function(d){var f=n.props.outerRef;n._outerRef=d,typeof f=="function"?f(d):f!=null&&typeof f=="object"&&f.hasOwnProperty("current")&&(f.current=d)},n._resetIsScrollingDebounced=function(){n._resetIsScrollingTimeoutId!==null&&Be(n._resetIsScrollingTimeoutId),n._resetIsScrollingTimeoutId=No(n._resetIsScrolling,Oo)},n._resetIsScrolling=function(){n._resetIsScrollingTimeoutId=null,n.setState({isScrolling:!1},function(){n._getItemStyleCache(-1,null)})},n}P.getDerivedStateFromProps=function(n,d){return Do(n,d),g(n),null};var C=P.prototype;return C.scrollTo=function(n){n=Math.max(0,n),this.setState(function(d){return d.scrollOffset===n?null:{scrollDirection:d.scrollOffset<n?"forward":"backward",scrollOffset:n,scrollUpdateWasRequested:!0}},this._resetIsScrollingDebounced)},C.scrollToItem=function(n,d){d===void 0&&(d="auto");var f=this.props,u=f.itemCount,h=f.layout,b=this.state.scrollOffset;n=Math.max(0,Math.min(n,u-1));var S=0;if(this._outerRef){var E=this._outerRef;h==="vertical"?S=E.scrollWidth>E.clientWidth?Fe():0:S=E.scrollHeight>E.clientHeight?Fe():0}this.scrollTo(m(this.props,n,d,b,this._instanceProps,S))},C.componentDidMount=function(){var n=this.props,d=n.direction,f=n.initialScrollOffset,u=n.layout;if(typeof f=="number"&&this._outerRef!=null){var h=this._outerRef;d==="horizontal"||u==="horizontal"?h.scrollLeft=f:h.scrollTop=f}this._callPropsCallbacks()},C.componentDidUpdate=function(){var n=this.props,d=n.direction,f=n.layout,u=this.state,h=u.scrollOffset,b=u.scrollUpdateWasRequested;if(b&&this._outerRef!=null){var S=this._outerRef;if(d==="horizontal"||f==="horizontal")if(d==="rtl")switch(Ue()){case"negative":S.scrollLeft=-h;break;case"positive-ascending":S.scrollLeft=h;break;default:var E=S.clientWidth,I=S.scrollWidth;S.scrollLeft=I-E-h;break}else S.scrollLeft=h;else S.scrollTop=h}this._callPropsCallbacks()},C.componentWillUnmount=function(){this._resetIsScrollingTimeoutId!==null&&Be(this._resetIsScrollingTimeoutId)},C.render=function(){var n=this.props,d=n.children,f=n.className,u=n.direction,h=n.height,b=n.innerRef,S=n.innerElementType,E=n.innerTagName,I=n.itemCount,M=n.itemData,j=n.itemKey,V=j===void 0?Mo:j,A=n.layout,W=n.outerElementType,q=n.outerTagName,B=n.style,F=n.useIsScrolling,D=n.width,L=this.state.isScrolling,z=u==="horizontal"||A==="horizontal",K=z?this._onScrollHorizontal:this._onScrollVertical,ne=this._getRangeToRender(),re=ne[0],de=ne[1],se=[];if(I>0)for(var H=re;H<=de;H++)se.push(le.createElement(d,{data:M,key:V(H,M),index:H,isScrolling:F?L:void 0,style:this._getItemStyle(H)}));var J=r(this.props,this._instanceProps);return le.createElement(W||q||"div",{className:f,onScroll:K,ref:this._outerRefSetter,style:ge({position:"relative",height:h,width:D,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:u},B)},le.createElement(S||E||"div",{children:se,ref:b,style:{height:z?"100%":J,pointerEvents:L?"none":void 0,width:z?J:"100%"}}))},C._callPropsCallbacks=function(){if(typeof this.props.onItemsRendered=="function"){var n=this.props.itemCount;if(n>0){var d=this._getRangeToRender(),f=d[0],u=d[1],h=d[2],b=d[3];this._callOnItemsRendered(f,u,h,b)}}if(typeof this.props.onScroll=="function"){var S=this.state,E=S.scrollDirection,I=S.scrollOffset,M=S.scrollUpdateWasRequested;this._callOnScroll(E,I,M)}},C._getRangeToRender=function(){var n=this.props,d=n.itemCount,f=n.overscanCount,u=this.state,h=u.isScrolling,b=u.scrollDirection,S=u.scrollOffset;if(d===0)return[0,0,0,0];var E=c(this.props,S,this._instanceProps),I=l(this.props,E,S,this._instanceProps),M=!h||b==="backward"?Math.max(1,f):1,j=!h||b==="forward"?Math.max(1,f):1;return[Math.max(0,E-M),Math.max(0,Math.min(d-1,I+j)),E,I]},P})(le.PureComponent),e.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},e}var Do=function(e,o){var r=e.children,s=e.direction,m=e.height,c=e.layout,l=e.innerTagName,a=e.outerTagName,v=e.width,g=o.instance;if(process.env.NODE_ENV!=="production"){(l!=null||a!=null)&&ve&&!ve.has(g)&&(ve.add(g),console.warn("The innerTagName and outerTagName props have been deprecated. Please use the innerElementType and outerElementType props instead."));var x=s==="horizontal"||c==="horizontal";switch(s){case"horizontal":case"vertical":he&&!he.has(g)&&(he.add(g),console.warn('The direction prop should be either "ltr" (default) or "rtl". Please use the layout prop to specify "vertical" (default) or "horizontal" orientation.'));break;case"ltr":case"rtl":break;default:throw Error('An invalid "direction" prop has been specified. Value should be either "ltr" or "rtl". '+('"'+s+'" was specified.'))}switch(c){case"horizontal":case"vertical":break;default:throw Error('An invalid "layout" prop has been specified. Value should be either "horizontal" or "vertical". '+('"'+c+'" was specified.'))}if(r==null)throw Error('An invalid "children" prop has been specified. Value should be a React component. '+('"'+(r===null?"null":typeof r)+'" was specified.'));if(x&&typeof v!="number")throw Error('An invalid "width" prop has been specified. Horizontal lists must specify a number for width. '+('"'+(v===null?"null":typeof v)+'" was specified.'));if(!x&&typeof m!="number")throw Error('An invalid "height" prop has been specified. Vertical lists must specify a number for height. '+('"'+(m===null?"null":typeof m)+'" was specified.'))}},Ao=jo({getItemOffset:function(e,o){var r=e.itemSize;return o*r},getItemSize:function(e,o){var r=e.itemSize;return r},getEstimatedTotalSize:function(e){var o=e.itemCount,r=e.itemSize;return r*o},getOffsetForIndexAndAlignment:function(e,o,r,s,m,c){var l=e.direction,a=e.height,v=e.itemCount,g=e.itemSize,x=e.layout,P=e.width,C=l==="horizontal"||x==="horizontal",w=C?P:a,n=Math.max(0,v*g-w),d=Math.min(n,o*g),f=Math.max(0,o*g-w+g+c);switch(r==="smart"&&(s>=f-w&&s<=d+w?r="auto":r="center"),r){case"start":return d;case"end":return f;case"center":{var u=Math.round(f+(d-f)/2);return u<Math.ceil(w/2)?0:u>n+Math.floor(w/2)?n:u}case"auto":default:return s>=f&&s<=d?s:s<f?f:d}},getStartIndexForOffset:function(e,o){var r=e.itemCount,s=e.itemSize;return Math.max(0,Math.min(r-1,Math.floor(o/s)))},getStopIndexForStartIndex:function(e,o,r){var s=e.direction,m=e.height,c=e.itemCount,l=e.itemSize,a=e.layout,v=e.width,g=s==="horizontal"||a==="horizontal",x=o*l,P=g?v:m,C=Math.ceil((P+r-x)/l);return Math.max(0,Math.min(c-1,o+C-1))},initInstanceProps:function(e){},shouldResetStyleCacheOnItemSizeChange:!0,validateProps:function(e){var o=e.itemSize;if(process.env.NODE_ENV!=="production"&&typeof o!="number")throw Error('An invalid "itemSize" prop has been specified. Value should be a number. '+('"'+(o===null?"null":typeof o)+'" was specified.'))}});const Lo=So,zo=Co,ko=yo,Ot=i.forwardRef(({className:t,children:e,variant:o="default",...r},s)=>p.jsxs(bt,{ref:s,className:Y.cn("border-border-alpha-strong focus:ring-primary data-placeholder:[&>span]:text-body-sm-regular! flex h-10 w-full items-center justify-between rounded-lg border px-3 py-2 focus:ring-2 focus:ring-offset-2 focus:ring-offset-transparent focus:outline-none disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1","focus:ring-offset-bg data-placeholder:[&>span]:text-secondary/70 focus:ring-item-primary focus:ring-2 focus:ring-offset-2",o==="failure"&&"focus:ring-destructive border-destructive text-destructive! data-placeholder:[&>span]:text-destructive",t),...r,children:[e,p.jsx(xo,{asChild:!0,children:p.jsx($e.ChevronDown,{className:"h-4 w-4 opacity-50"})})]}));Ot.displayName=bt.displayName;const Ae=i.forwardRef(({className:t,...e},o)=>p.jsx(Rt,{ref:o,className:Y.cn("flex cursor-default items-center justify-center py-1",t),...e,children:p.jsx(Ut,{className:"size-4"})}));Ae.displayName=Rt.displayName;const Le=i.forwardRef(({className:t,...e},o)=>p.jsx(_t,{ref:o,className:Y.cn("flex cursor-default items-center justify-center py-1",t),...e,children:p.jsx($e.ChevronDown,{className:"h-4 w-4"})}));Le.displayName=_t.displayName;const ze=i.forwardRef(({className:t,children:e,position:o="popper",...r},s)=>p.jsx(wo,{children:p.jsxs(Tt,{ref:s,className:Y.cn("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border shadow-md",o==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",t),position:o,...r,children:[p.jsx(Ae,{}),p.jsx(Io,{className:Y.cn("p-1",o==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:e}),p.jsx(Le,{})]})}));ze.displayName=Tt.displayName;const Mt=i.forwardRef(({className:t,...e},o)=>p.jsx(Et,{ref:o,className:Y.cn("py-1.5 pr-2 pl-8 text-sm font-semibold",t),...e}));Mt.displayName=Et.displayName;const ke=i.forwardRef(({className:t,children:e,...o},r)=>p.jsxs(Pt,{ref:r,className:Y.cn("focus:bg-accent focus:text-accent-foreground relative flex w-full cursor-default items-center rounded-sm py-1.5 pr-2 pl-8 text-sm outline-none select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),...o,children:[p.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:p.jsx(To,{children:p.jsx(Wt.Check,{className:"h-4 w-4"})})}),p.jsx(bo,{children:e})]}));ke.displayName=Pt.displayName;const jt=i.forwardRef(({className:t,...e},o)=>p.jsx(Nt,{ref:o,className:Y.cn("bg-muted -mx-1 my-1 h-px",t),...e}));jt.displayName=Nt.displayName;const Dt=i.forwardRef(({className:t,options:e,position:o="popper",itemHeight:r=35,maxHeight:s=300,...m},c)=>{const l=le.useRef(null),a=({index:v,style:g})=>{const x=e[v];return p.jsx("div",{style:g,children:p.jsx(ke,{value:`${x.value}`,children:x.label})})};return p.jsx(ze,{ref:c,...m,children:p.jsx(Ao,{ref:l,height:Math.min(s,e.length*r),itemCount:e.length,itemSize:r,width:"100%",children:a})})});Dt.displayName="VirtualizedSelectContent";exports.Select=Lo;exports.SelectContent=ze;exports.SelectGroup=zo;exports.SelectItem=ke;exports.SelectLabel=Mt;exports.SelectScrollDownButton=Le;exports.SelectScrollUpButton=Ae;exports.SelectSeparator=jt;exports.SelectTrigger=Ot;exports.SelectValue=ko;exports.VirtualizedSelectContent=Dt;exports._assertThisInitialized=Re;exports._extends=ge;exports._setPrototypeOf=Se;exports.usePrevious=Ge;
7
+ //# sourceMappingURL=select-D703Xctn.cjs.js.map