@hirely/ui 0.1.7 → 0.1.9

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 (617) hide show
  1. package/README.md +23 -8
  2. package/dist/_virtual/_rolldown/runtime.js +13 -0
  3. package/dist/components/ui/{accordion.es.js → accordion.js} +2 -2
  4. package/dist/components/ui/accordion.js.map +1 -0
  5. package/dist/components/ui/{alert-dialog.es.js → alert-dialog.js} +3 -3
  6. package/dist/components/ui/alert-dialog.js.map +1 -0
  7. package/dist/components/ui/{alert-wrapper.es.js → alert-wrapper.js} +3 -3
  8. package/dist/components/ui/alert-wrapper.js.map +1 -0
  9. package/dist/components/ui/{alert.es.js → alert.js} +3 -3
  10. package/dist/components/ui/alert.js.map +1 -0
  11. package/dist/components/ui/{aspect-ratio.es.js → aspect-ratio.js} +2 -2
  12. package/dist/components/ui/aspect-ratio.js.map +1 -0
  13. package/dist/components/ui/{attachment.es.js → attachment.js} +4 -4
  14. package/dist/components/ui/attachment.js.map +1 -0
  15. package/dist/components/ui/{avatar.es.js → avatar.js} +2 -2
  16. package/dist/components/ui/avatar.js.map +1 -0
  17. package/dist/components/ui/{badge.es.js → badge.js} +3 -3
  18. package/dist/components/ui/badge.js.map +1 -0
  19. package/dist/components/ui/bouncy-accordion.d.ts +28 -0
  20. package/dist/components/ui/bouncy-accordion.js +148 -0
  21. package/dist/components/ui/bouncy-accordion.js.map +1 -0
  22. package/dist/components/ui/{breadcrumb.es.js → breadcrumb.js} +2 -2
  23. package/dist/components/ui/breadcrumb.js.map +1 -0
  24. package/dist/components/ui/{bubble.es.js → bubble.js} +3 -3
  25. package/dist/components/ui/bubble.js.map +1 -0
  26. package/dist/components/ui/{button-group.es.js → button-group.js} +4 -4
  27. package/dist/components/ui/button-group.js.map +1 -0
  28. package/dist/components/ui/{button.es.js → button.js} +3 -3
  29. package/dist/components/ui/button.js.map +1 -0
  30. package/dist/components/ui/{calendar.es.js → calendar.js} +3 -3
  31. package/dist/components/ui/calendar.js.map +1 -0
  32. package/dist/components/ui/{card.es.js → card.js} +4 -4
  33. package/dist/components/ui/card.js.map +1 -0
  34. package/dist/components/ui/{carousel.es.js → carousel.js} +4 -4
  35. package/dist/components/ui/carousel.js.map +1 -0
  36. package/dist/components/ui/{chart.es.js → chart.js} +2 -2
  37. package/dist/components/ui/chart.js.map +1 -0
  38. package/dist/components/ui/{checkbox.es.js → checkbox.js} +2 -2
  39. package/dist/components/ui/checkbox.js.map +1 -0
  40. package/dist/components/ui/{collapsible.es.js → collapsible.js} +1 -1
  41. package/dist/components/ui/collapsible.js.map +1 -0
  42. package/dist/components/ui/{combobox.es.js → combobox.js} +4 -4
  43. package/dist/components/ui/combobox.js.map +1 -0
  44. package/dist/components/ui/{command.es.js → command.js} +5 -5
  45. package/dist/components/ui/command.js.map +1 -0
  46. package/dist/components/ui/{context-menu.es.js → context-menu.js} +2 -2
  47. package/dist/components/ui/context-menu.js.map +1 -0
  48. package/dist/components/ui/dashboard-pagination.d.ts +7 -0
  49. package/dist/components/ui/{dialog.es.js → dialog.js} +3 -3
  50. package/dist/components/ui/dialog.js.map +1 -0
  51. package/dist/components/ui/{drawer.es.js → drawer.js} +2 -2
  52. package/dist/components/ui/drawer.js.map +1 -0
  53. package/dist/components/ui/{dropdown-menu.es.js → dropdown-menu.js} +2 -2
  54. package/dist/components/ui/dropdown-menu.js.map +1 -0
  55. package/dist/components/ui/{empty.es.js → empty.js} +3 -3
  56. package/dist/components/ui/empty.js.map +1 -0
  57. package/dist/components/ui/{field.es.js → field.js} +5 -5
  58. package/dist/components/ui/field.js.map +1 -0
  59. package/dist/components/ui/generate-ai-button.d.ts +10 -0
  60. package/dist/components/ui/generate-ai-button.js +20 -0
  61. package/dist/components/ui/generate-ai-button.js.map +1 -0
  62. package/dist/components/ui/{hover-card.es.js → hover-card.js} +2 -2
  63. package/dist/components/ui/hover-card.js.map +1 -0
  64. package/dist/components/ui/image-cropper.d.ts +19 -0
  65. package/dist/components/ui/image-cropper.js +155 -0
  66. package/dist/components/ui/image-cropper.js.map +1 -0
  67. package/dist/components/ui/image-upload.d.ts +30 -0
  68. package/dist/components/ui/image-upload.js +121 -0
  69. package/dist/components/ui/image-upload.js.map +1 -0
  70. package/dist/components/ui/{input-group.es.js → input-group.js} +6 -6
  71. package/dist/components/ui/input-group.js.map +1 -0
  72. package/dist/components/ui/{input-otp.es.js → input-otp.js} +3 -3
  73. package/dist/components/ui/input-otp.js.map +1 -0
  74. package/dist/components/ui/{input.es.js → input.js} +2 -2
  75. package/dist/components/ui/input.js.map +1 -0
  76. package/dist/components/ui/{item.es.js → item.js} +4 -4
  77. package/dist/components/ui/item.js.map +1 -0
  78. package/dist/components/ui/{kbd.es.js → kbd.js} +2 -2
  79. package/dist/components/ui/kbd.js.map +1 -0
  80. package/dist/components/ui/{label.es.js → label.js} +2 -2
  81. package/dist/components/ui/label.js.map +1 -0
  82. package/dist/components/ui/{marker.es.js → marker.js} +3 -3
  83. package/dist/components/ui/marker.js.map +1 -0
  84. package/dist/components/ui/{menubar.es.js → menubar.js} +3 -3
  85. package/dist/components/ui/menubar.js.map +1 -0
  86. package/dist/components/ui/{message-scroller.es.js → message-scroller.js} +3 -3
  87. package/dist/components/ui/message-scroller.js.map +1 -0
  88. package/dist/components/ui/{message.es.js → message.js} +2 -2
  89. package/dist/components/ui/message.js.map +1 -0
  90. package/dist/components/ui/{native-select.es.js → native-select.js} +2 -2
  91. package/dist/components/ui/native-select.js.map +1 -0
  92. package/dist/components/ui/{navigation-menu.es.js → navigation-menu.js} +3 -3
  93. package/dist/components/ui/navigation-menu.js.map +1 -0
  94. package/dist/components/ui/not-found-dashboard.d.ts +5 -0
  95. package/dist/components/ui/{pagination.es.js → pagination.js} +3 -3
  96. package/dist/components/ui/pagination.js.map +1 -0
  97. package/dist/components/ui/{popover.es.js → popover.js} +2 -2
  98. package/dist/components/ui/popover.js.map +1 -0
  99. package/dist/components/ui/{progress.es.js → progress.js} +2 -2
  100. package/dist/components/ui/progress.js.map +1 -0
  101. package/dist/components/ui/{radio-group.es.js → radio-group.js} +2 -2
  102. package/dist/components/ui/radio-group.js.map +1 -0
  103. package/dist/components/ui/{resizable.es.js → resizable.js} +3 -3
  104. package/dist/components/ui/resizable.js.map +1 -0
  105. package/dist/components/ui/{scroll-area.es.js → scroll-area.js} +2 -2
  106. package/dist/components/ui/scroll-area.js.map +1 -0
  107. package/dist/components/ui/{select.es.js → select.js} +2 -2
  108. package/dist/components/ui/select.js.map +1 -0
  109. package/dist/components/ui/{separator.es.js → separator.js} +2 -2
  110. package/dist/components/ui/separator.js.map +1 -0
  111. package/dist/components/ui/{sheet.es.js → sheet.js} +3 -3
  112. package/dist/components/ui/sheet.js.map +1 -0
  113. package/dist/components/ui/{sidebar.es.js → sidebar.js} +10 -10
  114. package/dist/components/ui/sidebar.js.map +1 -0
  115. package/dist/components/ui/{skeleton.es.js → skeleton.js} +2 -2
  116. package/dist/components/ui/skeleton.js.map +1 -0
  117. package/dist/components/ui/{slider.es.js → slider.js} +4 -4
  118. package/dist/components/ui/slider.js.map +1 -0
  119. package/dist/components/ui/{sonner.es.js → sonner.js} +1 -1
  120. package/dist/components/ui/sonner.js.map +1 -0
  121. package/dist/components/ui/{spinner.es.js → spinner.js} +2 -2
  122. package/dist/components/ui/spinner.js.map +1 -0
  123. package/dist/components/ui/stats-header.d.ts +13 -0
  124. package/dist/components/ui/{switch.es.js → switch.js} +2 -2
  125. package/dist/components/ui/switch.js.map +1 -0
  126. package/dist/components/ui/{table.es.js → table.js} +2 -2
  127. package/dist/components/ui/table.js.map +1 -0
  128. package/dist/components/ui/{tabs.es.js → tabs.js} +3 -3
  129. package/dist/components/ui/tabs.js.map +1 -0
  130. package/dist/components/ui/text-header.d.ts +6 -0
  131. package/dist/components/ui/{textarea.es.js → textarea.js} +2 -2
  132. package/dist/components/ui/textarea.js.map +1 -0
  133. package/dist/components/ui/{toggle-group.es.js → toggle-group.js} +3 -3
  134. package/dist/components/ui/toggle-group.js.map +1 -0
  135. package/dist/components/ui/{toggle.es.js → toggle.js} +3 -3
  136. package/dist/components/ui/toggle.js.map +1 -0
  137. package/dist/components/ui/{tooltip.es.js → tooltip.js} +2 -2
  138. package/dist/components/ui/tooltip.js.map +1 -0
  139. package/dist/functions/cropImage.d.ts +15 -0
  140. package/dist/functions/cropImage.js +38 -0
  141. package/dist/functions/cropImage.js.map +1 -0
  142. package/dist/hooks/index.js +2 -0
  143. package/dist/hooks/{use-mobile.es.js → use-mobile.js} +1 -1
  144. package/dist/hooks/use-mobile.js.map +1 -0
  145. package/dist/index.d.ts +8 -0
  146. package/dist/index.js +67 -0
  147. package/dist/lib/ease.d.ts +39 -0
  148. package/dist/lib/ease.js +11 -0
  149. package/dist/lib/ease.js.map +1 -0
  150. package/dist/node_modules/.bun/@radix-ui_primitive@1.1.5/node_modules/@radix-ui/primitive/dist/{index.es.js → index.js} +1 -1
  151. package/dist/node_modules/.bun/@radix-ui_primitive@1.1.5/node_modules/@radix-ui/primitive/dist/index.js.map +1 -0
  152. package/dist/node_modules/.bun/@radix-ui_react-compose-refs@1.1.3_93dbe784b8baa420/node_modules/@radix-ui/react-compose-refs/dist/{index.es.js → index.js} +1 -1
  153. package/dist/node_modules/.bun/@radix-ui_react-compose-refs@1.1.3_93dbe784b8baa420/node_modules/@radix-ui/react-compose-refs/dist/index.js.map +1 -0
  154. package/dist/node_modules/.bun/@radix-ui_react-context@1.2.0_93dbe784b8baa420/node_modules/@radix-ui/react-context/dist/{index.es.js → index.js} +1 -1
  155. package/dist/node_modules/.bun/@radix-ui_react-context@1.2.0_93dbe784b8baa420/node_modules/@radix-ui/react-context/dist/index.js.map +1 -0
  156. package/dist/node_modules/.bun/@radix-ui_react-dialog@1.1.19_ae2b4604ef263bc9/node_modules/@radix-ui/react-dialog/dist/{index.es.js → index.js} +15 -15
  157. package/dist/node_modules/.bun/@radix-ui_react-dialog@1.1.19_ae2b4604ef263bc9/node_modules/@radix-ui/react-dialog/dist/index.js.map +1 -0
  158. package/dist/node_modules/.bun/@radix-ui_react-dismissable-layer@1.1.15_ae2b4604ef263bc9/node_modules/@radix-ui/react-dismissable-layer/dist/{index.es.js → index.js} +5 -5
  159. package/dist/node_modules/.bun/@radix-ui_react-dismissable-layer@1.1.15_ae2b4604ef263bc9/node_modules/@radix-ui/react-dismissable-layer/dist/index.js.map +1 -0
  160. package/dist/node_modules/.bun/@radix-ui_react-focus-guards@1.1.4_93dbe784b8baa420/node_modules/@radix-ui/react-focus-guards/dist/{index.es.js → index.js} +1 -1
  161. package/dist/node_modules/.bun/@radix-ui_react-focus-guards@1.1.4_93dbe784b8baa420/node_modules/@radix-ui/react-focus-guards/dist/index.js.map +1 -0
  162. package/dist/node_modules/.bun/@radix-ui_react-focus-scope@1.1.12_ae2b4604ef263bc9/node_modules/@radix-ui/react-focus-scope/dist/{index.es.js → index.js} +4 -4
  163. package/dist/node_modules/.bun/@radix-ui_react-focus-scope@1.1.12_ae2b4604ef263bc9/node_modules/@radix-ui/react-focus-scope/dist/index.js.map +1 -0
  164. package/dist/node_modules/.bun/@radix-ui_react-id@1.1.2_93dbe784b8baa420/node_modules/@radix-ui/react-id/dist/{index.es.js → index.js} +2 -2
  165. package/dist/node_modules/.bun/@radix-ui_react-id@1.1.2_93dbe784b8baa420/node_modules/@radix-ui/react-id/dist/index.js.map +1 -0
  166. package/dist/node_modules/.bun/@radix-ui_react-portal@1.1.13_ae2b4604ef263bc9/node_modules/@radix-ui/react-portal/dist/{index.es.js → index.js} +3 -3
  167. package/dist/node_modules/.bun/@radix-ui_react-portal@1.1.13_ae2b4604ef263bc9/node_modules/@radix-ui/react-portal/dist/index.js.map +1 -0
  168. package/dist/node_modules/.bun/@radix-ui_react-presence@1.1.7_ae2b4604ef263bc9/node_modules/@radix-ui/react-presence/dist/{index.es.js → index.js} +2 -2
  169. package/dist/node_modules/.bun/@radix-ui_react-presence@1.1.7_ae2b4604ef263bc9/node_modules/@radix-ui/react-presence/dist/index.js.map +1 -0
  170. package/dist/node_modules/.bun/@radix-ui_react-primitive@2.1.7_ae2b4604ef263bc9/node_modules/@radix-ui/react-primitive/dist/{index.es.js → index.js} +2 -2
  171. package/dist/node_modules/.bun/@radix-ui_react-primitive@2.1.7_ae2b4604ef263bc9/node_modules/@radix-ui/react-primitive/dist/index.js.map +1 -0
  172. package/dist/node_modules/.bun/@radix-ui_react-slot@1.3.0_93dbe784b8baa420/node_modules/@radix-ui/react-slot/dist/{index.es.js → index.js} +2 -2
  173. package/dist/node_modules/.bun/@radix-ui_react-slot@1.3.0_93dbe784b8baa420/node_modules/@radix-ui/react-slot/dist/index.js.map +1 -0
  174. package/dist/node_modules/.bun/@radix-ui_react-use-callback-ref@1.1.2_93dbe784b8baa420/node_modules/@radix-ui/react-use-callback-ref/dist/{index.es.js → index.js} +1 -1
  175. package/dist/node_modules/.bun/@radix-ui_react-use-callback-ref@1.1.2_93dbe784b8baa420/node_modules/@radix-ui/react-use-callback-ref/dist/index.js.map +1 -0
  176. package/dist/node_modules/.bun/@radix-ui_react-use-controllable-state@1.2.3_93dbe784b8baa420/node_modules/@radix-ui/react-use-controllable-state/dist/{index.es.js → index.js} +2 -2
  177. package/dist/node_modules/.bun/@radix-ui_react-use-controllable-state@1.2.3_93dbe784b8baa420/node_modules/@radix-ui/react-use-controllable-state/dist/index.js.map +1 -0
  178. package/dist/node_modules/.bun/@radix-ui_react-use-layout-effect@1.1.2_93dbe784b8baa420/node_modules/@radix-ui/react-use-layout-effect/dist/{index.es.js → index.js} +1 -1
  179. package/dist/node_modules/.bun/@radix-ui_react-use-layout-effect@1.1.2_93dbe784b8baa420/node_modules/@radix-ui/react-use-layout-effect/dist/index.js.map +1 -0
  180. package/dist/node_modules/.bun/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/{index.es.js → index.js} +1 -1
  181. package/dist/node_modules/.bun/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.js.map +1 -0
  182. package/dist/node_modules/.bun/attr-accept@2.2.5/node_modules/attr-accept/dist/es/index.js +21 -0
  183. package/dist/node_modules/.bun/attr-accept@2.2.5/node_modules/attr-accept/dist/es/index.js.map +1 -0
  184. package/dist/node_modules/.bun/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/{index.es.js → index.js} +2 -2
  185. package/dist/node_modules/.bun/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.js.map +1 -0
  186. package/dist/node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/{clsx.es.js → clsx.js} +1 -1
  187. package/dist/node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.js.map +1 -0
  188. package/dist/node_modules/.bun/cmdk@1.1.1_ae2b4604ef263bc9/node_modules/cmdk/dist/{chunk-NZJY6EH4.es.js → chunk-NZJY6EH4.js} +1 -1
  189. package/dist/node_modules/.bun/cmdk@1.1.1_ae2b4604ef263bc9/node_modules/cmdk/dist/chunk-NZJY6EH4.js.map +1 -0
  190. package/dist/node_modules/.bun/cmdk@1.1.1_ae2b4604ef263bc9/node_modules/cmdk/dist/{index.es.js → index.js} +6 -6
  191. package/dist/node_modules/.bun/cmdk@1.1.1_ae2b4604ef263bc9/node_modules/cmdk/dist/index.js.map +1 -0
  192. package/dist/node_modules/.bun/cnfast@0.0.8/node_modules/cnfast/dist/{index.es.js → index.js} +1 -1
  193. package/dist/node_modules/.bun/cnfast@0.0.8/node_modules/cnfast/dist/index.js.map +1 -0
  194. package/dist/node_modules/.bun/embla-carousel-react@8.6.0_e14d3f224186685e/node_modules/embla-carousel-react/esm/{embla-carousel-react.esm.es.js → embla-carousel-react.esm.js} +3 -3
  195. package/dist/node_modules/.bun/embla-carousel-react@8.6.0_e14d3f224186685e/node_modules/embla-carousel-react/esm/embla-carousel-react.esm.js.map +1 -0
  196. package/dist/node_modules/.bun/embla-carousel-reactive-utils@8.6.0_3dde5556684c958d/node_modules/embla-carousel-reactive-utils/esm/{embla-carousel-reactive-utils.esm.es.js → embla-carousel-reactive-utils.esm.js} +1 -1
  197. package/dist/node_modules/.bun/embla-carousel-reactive-utils@8.6.0_3dde5556684c958d/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.js.map +1 -0
  198. package/dist/node_modules/.bun/embla-carousel@8.6.0/node_modules/embla-carousel/esm/{embla-carousel.esm.es.js → embla-carousel.esm.js} +1 -1
  199. package/dist/node_modules/.bun/embla-carousel@8.6.0/node_modules/embla-carousel/esm/embla-carousel.esm.js.map +1 -0
  200. package/dist/node_modules/.bun/file-selector@2.1.2/node_modules/file-selector/dist/es2015/file-selector.js +111 -0
  201. package/dist/node_modules/.bun/file-selector@2.1.2/node_modules/file-selector/dist/es2015/file-selector.js.map +1 -0
  202. package/dist/node_modules/.bun/file-selector@2.1.2/node_modules/file-selector/dist/es2015/file.js +1236 -0
  203. package/dist/node_modules/.bun/file-selector@2.1.2/node_modules/file-selector/dist/es2015/file.js.map +1 -0
  204. package/dist/node_modules/.bun/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/{index.es.js → index.js} +1 -1
  205. package/dist/node_modules/.bun/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.js.map +1 -0
  206. package/dist/node_modules/.bun/input-otp@1.4.2_7492c01c6988791b/node_modules/input-otp/dist/{index.es.js → index.js} +1 -1
  207. package/dist/node_modules/.bun/input-otp@1.4.2_7492c01c6988791b/node_modules/input-otp/dist/index.js.map +1 -0
  208. package/dist/node_modules/.bun/normalize-wheel@1.0.1/node_modules/normalize-wheel/index.js +11 -0
  209. package/dist/node_modules/.bun/normalize-wheel@1.0.1/node_modules/normalize-wheel/index.js.map +1 -0
  210. package/dist/node_modules/.bun/normalize-wheel@1.0.1/node_modules/normalize-wheel/src/ExecutionEnvironment.js +17 -0
  211. package/dist/node_modules/.bun/normalize-wheel@1.0.1/node_modules/normalize-wheel/src/ExecutionEnvironment.js.map +1 -0
  212. package/dist/node_modules/.bun/normalize-wheel@1.0.1/node_modules/normalize-wheel/src/UserAgent_DEPRECATED.js +79 -0
  213. package/dist/node_modules/.bun/normalize-wheel@1.0.1/node_modules/normalize-wheel/src/UserAgent_DEPRECATED.js.map +1 -0
  214. package/dist/node_modules/.bun/normalize-wheel@1.0.1/node_modules/normalize-wheel/src/isEventSupported.js +22 -0
  215. package/dist/node_modules/.bun/normalize-wheel@1.0.1/node_modules/normalize-wheel/src/isEventSupported.js.map +1 -0
  216. package/dist/node_modules/.bun/normalize-wheel@1.0.1/node_modules/normalize-wheel/src/normalizeWheel.js +24 -0
  217. package/dist/node_modules/.bun/normalize-wheel@1.0.1/node_modules/normalize-wheel/src/normalizeWheel.js.map +1 -0
  218. package/dist/node_modules/.bun/object-assign@4.1.1/node_modules/object-assign/index.js +41 -0
  219. package/dist/node_modules/.bun/object-assign@4.1.1/node_modules/object-assign/index.js.map +1 -0
  220. package/dist/node_modules/.bun/prop-types@15.8.1/node_modules/prop-types/checkPropTypes.js +46 -0
  221. package/dist/node_modules/.bun/prop-types@15.8.1/node_modules/prop-types/checkPropTypes.js.map +1 -0
  222. package/dist/node_modules/.bun/prop-types@15.8.1/node_modules/prop-types/factoryWithThrowingShims.js +49 -0
  223. package/dist/node_modules/.bun/prop-types@15.8.1/node_modules/prop-types/factoryWithThrowingShims.js.map +1 -0
  224. package/dist/node_modules/.bun/prop-types@15.8.1/node_modules/prop-types/factoryWithTypeCheckers.js +272 -0
  225. package/dist/node_modules/.bun/prop-types@15.8.1/node_modules/prop-types/factoryWithTypeCheckers.js.map +1 -0
  226. package/dist/node_modules/.bun/prop-types@15.8.1/node_modules/prop-types/index.js +16 -0
  227. package/dist/node_modules/.bun/prop-types@15.8.1/node_modules/prop-types/index.js.map +1 -0
  228. package/dist/node_modules/.bun/prop-types@15.8.1/node_modules/prop-types/lib/ReactPropTypesSecret.js +10 -0
  229. package/dist/node_modules/.bun/prop-types@15.8.1/node_modules/prop-types/lib/ReactPropTypesSecret.js.map +1 -0
  230. package/dist/node_modules/.bun/prop-types@15.8.1/node_modules/prop-types/lib/has.js +10 -0
  231. package/dist/node_modules/.bun/prop-types@15.8.1/node_modules/prop-types/lib/has.js.map +1 -0
  232. package/dist/node_modules/.bun/react-dropzone@15.0.0_e14d3f224186685e/node_modules/react-dropzone/dist/es/index.js +485 -0
  233. package/dist/node_modules/.bun/react-dropzone@15.0.0_e14d3f224186685e/node_modules/react-dropzone/dist/es/index.js.map +1 -0
  234. package/dist/node_modules/.bun/react-dropzone@15.0.0_e14d3f224186685e/node_modules/react-dropzone/dist/es/utils/index.js +201 -0
  235. package/dist/node_modules/.bun/react-dropzone@15.0.0_e14d3f224186685e/node_modules/react-dropzone/dist/es/utils/index.js.map +1 -0
  236. package/dist/node_modules/.bun/react-easy-crop@6.2.2_7492c01c6988791b/node_modules/react-easy-crop/index.module.js +512 -0
  237. package/dist/node_modules/.bun/react-easy-crop@6.2.2_7492c01c6988791b/node_modules/react-easy-crop/index.module.js.map +1 -0
  238. package/dist/node_modules/.bun/react-is@16.13.1/node_modules/react-is/cjs/react-is.development.js +84 -0
  239. package/dist/node_modules/.bun/react-is@16.13.1/node_modules/react-is/cjs/react-is.development.js.map +1 -0
  240. package/dist/node_modules/.bun/react-is@16.13.1/node_modules/react-is/cjs/react-is.production.min.js +64 -0
  241. package/dist/node_modules/.bun/react-is@16.13.1/node_modules/react-is/cjs/react-is.production.min.js.map +1 -0
  242. package/dist/node_modules/.bun/react-is@16.13.1/node_modules/react-is/index.js +12 -0
  243. package/dist/node_modules/.bun/react-is@16.13.1/node_modules/react-is/index.js.map +1 -0
  244. package/dist/node_modules/.bun/react-remove-scroll-bar@2.3.8_93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/{component.es.js → component.js} +5 -5
  245. package/dist/node_modules/.bun/react-remove-scroll-bar@2.3.8_93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/component.js.map +1 -0
  246. package/dist/node_modules/.bun/react-remove-scroll-bar@2.3.8_93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/{constants.es.js → constants.js} +1 -1
  247. package/dist/node_modules/.bun/react-remove-scroll-bar@2.3.8_93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/constants.js.map +1 -0
  248. package/dist/node_modules/.bun/react-remove-scroll-bar@2.3.8_93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/index.js +4 -0
  249. package/dist/node_modules/.bun/react-remove-scroll-bar@2.3.8_93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/{utils.es.js → utils.js} +1 -1
  250. package/dist/node_modules/.bun/react-remove-scroll-bar@2.3.8_93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/utils.js.map +1 -0
  251. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/{Combination.es.js → Combination.js} +4 -4
  252. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/Combination.js.map +1 -0
  253. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/{SideEffect.es.js → SideEffect.js} +8 -8
  254. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/SideEffect.js.map +1 -0
  255. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/{UI.es.js → UI.js} +5 -5
  256. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/UI.js.map +1 -0
  257. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/{aggresiveCapture.es.js → aggresiveCapture.js} +1 -1
  258. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js.map +1 -0
  259. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/{handleScroll.es.js → handleScroll.js} +1 -1
  260. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/handleScroll.js.map +1 -0
  261. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/{medium.es.js → medium.js} +2 -2
  262. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/medium.js.map +1 -0
  263. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/{sidecar.es.js → sidecar.js} +4 -4
  264. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/sidecar.js.map +1 -0
  265. package/dist/node_modules/.bun/react-resizable-panels@4.12.1_7492c01c6988791b/node_modules/react-resizable-panels/dist/{react-resizable-panels.es.js → react-resizable-panels.js} +1 -1
  266. package/dist/node_modules/.bun/react-resizable-panels@4.12.1_7492c01c6988791b/node_modules/react-resizable-panels/dist/react-resizable-panels.js.map +1 -0
  267. package/dist/node_modules/.bun/react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/{component.es.js → component.js} +2 -2
  268. package/dist/node_modules/.bun/react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/component.js.map +1 -0
  269. package/dist/node_modules/.bun/react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/{hook.es.js → hook.js} +2 -2
  270. package/dist/node_modules/.bun/react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/hook.js.map +1 -0
  271. package/dist/node_modules/.bun/react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/index.js +4 -0
  272. package/dist/node_modules/.bun/react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/{singleton.es.js → singleton.js} +2 -2
  273. package/dist/node_modules/.bun/react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/singleton.js.map +1 -0
  274. package/dist/node_modules/.bun/tslib@2.8.1/node_modules/tslib/{tslib.es6.es.js → tslib.es6.js} +30 -3
  275. package/dist/node_modules/.bun/tslib@2.8.1/node_modules/tslib/tslib.es6.js.map +1 -0
  276. package/dist/node_modules/.bun/use-callback-ref@1.3.3_93dbe784b8baa420/node_modules/use-callback-ref/dist/es2015/{assignRef.es.js → assignRef.js} +1 -1
  277. package/dist/node_modules/.bun/use-callback-ref@1.3.3_93dbe784b8baa420/node_modules/use-callback-ref/dist/es2015/assignRef.js.map +1 -0
  278. package/dist/node_modules/.bun/use-callback-ref@1.3.3_93dbe784b8baa420/node_modules/use-callback-ref/dist/es2015/{useMergeRef.es.js → useMergeRef.js} +3 -3
  279. package/dist/node_modules/.bun/use-callback-ref@1.3.3_93dbe784b8baa420/node_modules/use-callback-ref/dist/es2015/useMergeRef.js.map +1 -0
  280. package/dist/node_modules/.bun/use-callback-ref@1.3.3_93dbe784b8baa420/node_modules/use-callback-ref/dist/es2015/{useRef.es.js → useRef.js} +1 -1
  281. package/dist/node_modules/.bun/use-callback-ref@1.3.3_93dbe784b8baa420/node_modules/use-callback-ref/dist/es2015/useRef.js.map +1 -0
  282. package/dist/node_modules/.bun/use-sidecar@1.1.3_93dbe784b8baa420/node_modules/use-sidecar/dist/es2015/{exports.es.js → exports.js} +2 -2
  283. package/dist/node_modules/.bun/use-sidecar@1.1.3_93dbe784b8baa420/node_modules/use-sidecar/dist/es2015/exports.js.map +1 -0
  284. package/dist/node_modules/.bun/use-sidecar@1.1.3_93dbe784b8baa420/node_modules/use-sidecar/dist/es2015/{medium.es.js → medium.js} +2 -2
  285. package/dist/node_modules/.bun/use-sidecar@1.1.3_93dbe784b8baa420/node_modules/use-sidecar/dist/es2015/medium.js.map +1 -0
  286. package/package.json +296 -13
  287. package/dist/_virtual/_rolldown/runtime.cjs.js +0 -1
  288. package/dist/components/ui/accordion.cjs.js +0 -2
  289. package/dist/components/ui/accordion.cjs.js.map +0 -1
  290. package/dist/components/ui/accordion.es.js.map +0 -1
  291. package/dist/components/ui/alert-dialog.cjs.js +0 -2
  292. package/dist/components/ui/alert-dialog.cjs.js.map +0 -1
  293. package/dist/components/ui/alert-dialog.es.js.map +0 -1
  294. package/dist/components/ui/alert-wrapper.cjs.js +0 -2
  295. package/dist/components/ui/alert-wrapper.cjs.js.map +0 -1
  296. package/dist/components/ui/alert-wrapper.es.js.map +0 -1
  297. package/dist/components/ui/alert.cjs.js +0 -2
  298. package/dist/components/ui/alert.cjs.js.map +0 -1
  299. package/dist/components/ui/alert.es.js.map +0 -1
  300. package/dist/components/ui/aspect-ratio.cjs.js +0 -2
  301. package/dist/components/ui/aspect-ratio.cjs.js.map +0 -1
  302. package/dist/components/ui/aspect-ratio.es.js.map +0 -1
  303. package/dist/components/ui/attachment.cjs.js +0 -2
  304. package/dist/components/ui/attachment.cjs.js.map +0 -1
  305. package/dist/components/ui/attachment.es.js.map +0 -1
  306. package/dist/components/ui/avatar.cjs.js +0 -2
  307. package/dist/components/ui/avatar.cjs.js.map +0 -1
  308. package/dist/components/ui/avatar.es.js.map +0 -1
  309. package/dist/components/ui/badge.cjs.js +0 -2
  310. package/dist/components/ui/badge.cjs.js.map +0 -1
  311. package/dist/components/ui/badge.es.js.map +0 -1
  312. package/dist/components/ui/breadcrumb.cjs.js +0 -2
  313. package/dist/components/ui/breadcrumb.cjs.js.map +0 -1
  314. package/dist/components/ui/breadcrumb.es.js.map +0 -1
  315. package/dist/components/ui/bubble.cjs.js +0 -2
  316. package/dist/components/ui/bubble.cjs.js.map +0 -1
  317. package/dist/components/ui/bubble.es.js.map +0 -1
  318. package/dist/components/ui/button-group.cjs.js +0 -2
  319. package/dist/components/ui/button-group.cjs.js.map +0 -1
  320. package/dist/components/ui/button-group.es.js.map +0 -1
  321. package/dist/components/ui/button.cjs.js +0 -2
  322. package/dist/components/ui/button.cjs.js.map +0 -1
  323. package/dist/components/ui/button.es.js.map +0 -1
  324. package/dist/components/ui/calendar.cjs.js +0 -2
  325. package/dist/components/ui/calendar.cjs.js.map +0 -1
  326. package/dist/components/ui/calendar.es.js.map +0 -1
  327. package/dist/components/ui/card.cjs.js +0 -2
  328. package/dist/components/ui/card.cjs.js.map +0 -1
  329. package/dist/components/ui/card.es.js.map +0 -1
  330. package/dist/components/ui/carousel.cjs.js +0 -2
  331. package/dist/components/ui/carousel.cjs.js.map +0 -1
  332. package/dist/components/ui/carousel.es.js.map +0 -1
  333. package/dist/components/ui/chart.cjs.js +0 -8
  334. package/dist/components/ui/chart.cjs.js.map +0 -1
  335. package/dist/components/ui/chart.es.js.map +0 -1
  336. package/dist/components/ui/checkbox.cjs.js +0 -2
  337. package/dist/components/ui/checkbox.cjs.js.map +0 -1
  338. package/dist/components/ui/checkbox.es.js.map +0 -1
  339. package/dist/components/ui/collapsible.cjs.js +0 -2
  340. package/dist/components/ui/collapsible.cjs.js.map +0 -1
  341. package/dist/components/ui/collapsible.es.js.map +0 -1
  342. package/dist/components/ui/combobox.cjs.js +0 -2
  343. package/dist/components/ui/combobox.cjs.js.map +0 -1
  344. package/dist/components/ui/combobox.es.js.map +0 -1
  345. package/dist/components/ui/command.cjs.js +0 -2
  346. package/dist/components/ui/command.cjs.js.map +0 -1
  347. package/dist/components/ui/command.es.js.map +0 -1
  348. package/dist/components/ui/context-menu.cjs.js +0 -2
  349. package/dist/components/ui/context-menu.cjs.js.map +0 -1
  350. package/dist/components/ui/context-menu.es.js.map +0 -1
  351. package/dist/components/ui/dialog.cjs.js +0 -2
  352. package/dist/components/ui/dialog.cjs.js.map +0 -1
  353. package/dist/components/ui/dialog.es.js.map +0 -1
  354. package/dist/components/ui/drawer.cjs.js +0 -2
  355. package/dist/components/ui/drawer.cjs.js.map +0 -1
  356. package/dist/components/ui/drawer.es.js.map +0 -1
  357. package/dist/components/ui/dropdown-menu.cjs.js +0 -2
  358. package/dist/components/ui/dropdown-menu.cjs.js.map +0 -1
  359. package/dist/components/ui/dropdown-menu.es.js.map +0 -1
  360. package/dist/components/ui/empty.cjs.js +0 -2
  361. package/dist/components/ui/empty.cjs.js.map +0 -1
  362. package/dist/components/ui/empty.es.js.map +0 -1
  363. package/dist/components/ui/field.cjs.js +0 -2
  364. package/dist/components/ui/field.cjs.js.map +0 -1
  365. package/dist/components/ui/field.es.js.map +0 -1
  366. package/dist/components/ui/hover-card.cjs.js +0 -2
  367. package/dist/components/ui/hover-card.cjs.js.map +0 -1
  368. package/dist/components/ui/hover-card.es.js.map +0 -1
  369. package/dist/components/ui/input-group.cjs.js +0 -2
  370. package/dist/components/ui/input-group.cjs.js.map +0 -1
  371. package/dist/components/ui/input-group.es.js.map +0 -1
  372. package/dist/components/ui/input-otp.cjs.js +0 -2
  373. package/dist/components/ui/input-otp.cjs.js.map +0 -1
  374. package/dist/components/ui/input-otp.es.js.map +0 -1
  375. package/dist/components/ui/input.cjs.js +0 -2
  376. package/dist/components/ui/input.cjs.js.map +0 -1
  377. package/dist/components/ui/input.es.js.map +0 -1
  378. package/dist/components/ui/item.cjs.js +0 -2
  379. package/dist/components/ui/item.cjs.js.map +0 -1
  380. package/dist/components/ui/item.es.js.map +0 -1
  381. package/dist/components/ui/kbd.cjs.js +0 -2
  382. package/dist/components/ui/kbd.cjs.js.map +0 -1
  383. package/dist/components/ui/kbd.es.js.map +0 -1
  384. package/dist/components/ui/label.cjs.js +0 -2
  385. package/dist/components/ui/label.cjs.js.map +0 -1
  386. package/dist/components/ui/label.es.js.map +0 -1
  387. package/dist/components/ui/marker.cjs.js +0 -2
  388. package/dist/components/ui/marker.cjs.js.map +0 -1
  389. package/dist/components/ui/marker.es.js.map +0 -1
  390. package/dist/components/ui/menubar.cjs.js +0 -2
  391. package/dist/components/ui/menubar.cjs.js.map +0 -1
  392. package/dist/components/ui/menubar.es.js.map +0 -1
  393. package/dist/components/ui/message-scroller.cjs.js +0 -2
  394. package/dist/components/ui/message-scroller.cjs.js.map +0 -1
  395. package/dist/components/ui/message-scroller.es.js.map +0 -1
  396. package/dist/components/ui/message.cjs.js +0 -2
  397. package/dist/components/ui/message.cjs.js.map +0 -1
  398. package/dist/components/ui/message.es.js.map +0 -1
  399. package/dist/components/ui/native-select.cjs.js +0 -2
  400. package/dist/components/ui/native-select.cjs.js.map +0 -1
  401. package/dist/components/ui/native-select.es.js.map +0 -1
  402. package/dist/components/ui/navigation-menu.cjs.js +0 -2
  403. package/dist/components/ui/navigation-menu.cjs.js.map +0 -1
  404. package/dist/components/ui/navigation-menu.es.js.map +0 -1
  405. package/dist/components/ui/pagination.cjs.js +0 -2
  406. package/dist/components/ui/pagination.cjs.js.map +0 -1
  407. package/dist/components/ui/pagination.es.js.map +0 -1
  408. package/dist/components/ui/popover.cjs.js +0 -2
  409. package/dist/components/ui/popover.cjs.js.map +0 -1
  410. package/dist/components/ui/popover.es.js.map +0 -1
  411. package/dist/components/ui/progress.cjs.js +0 -2
  412. package/dist/components/ui/progress.cjs.js.map +0 -1
  413. package/dist/components/ui/progress.es.js.map +0 -1
  414. package/dist/components/ui/radio-group.cjs.js +0 -2
  415. package/dist/components/ui/radio-group.cjs.js.map +0 -1
  416. package/dist/components/ui/radio-group.es.js.map +0 -1
  417. package/dist/components/ui/resizable.cjs.js +0 -2
  418. package/dist/components/ui/resizable.cjs.js.map +0 -1
  419. package/dist/components/ui/resizable.es.js.map +0 -1
  420. package/dist/components/ui/scroll-area.cjs.js +0 -2
  421. package/dist/components/ui/scroll-area.cjs.js.map +0 -1
  422. package/dist/components/ui/scroll-area.es.js.map +0 -1
  423. package/dist/components/ui/select.cjs.js +0 -2
  424. package/dist/components/ui/select.cjs.js.map +0 -1
  425. package/dist/components/ui/select.es.js.map +0 -1
  426. package/dist/components/ui/separator.cjs.js +0 -2
  427. package/dist/components/ui/separator.cjs.js.map +0 -1
  428. package/dist/components/ui/separator.es.js.map +0 -1
  429. package/dist/components/ui/sheet.cjs.js +0 -2
  430. package/dist/components/ui/sheet.cjs.js.map +0 -1
  431. package/dist/components/ui/sheet.es.js.map +0 -1
  432. package/dist/components/ui/sidebar.cjs.js +0 -2
  433. package/dist/components/ui/sidebar.cjs.js.map +0 -1
  434. package/dist/components/ui/sidebar.es.js.map +0 -1
  435. package/dist/components/ui/skeleton.cjs.js +0 -2
  436. package/dist/components/ui/skeleton.cjs.js.map +0 -1
  437. package/dist/components/ui/skeleton.es.js.map +0 -1
  438. package/dist/components/ui/slider.cjs.js +0 -2
  439. package/dist/components/ui/slider.cjs.js.map +0 -1
  440. package/dist/components/ui/slider.es.js.map +0 -1
  441. package/dist/components/ui/sonner.cjs.js +0 -2
  442. package/dist/components/ui/sonner.cjs.js.map +0 -1
  443. package/dist/components/ui/sonner.es.js.map +0 -1
  444. package/dist/components/ui/spinner.cjs.js +0 -2
  445. package/dist/components/ui/spinner.cjs.js.map +0 -1
  446. package/dist/components/ui/spinner.es.js.map +0 -1
  447. package/dist/components/ui/switch.cjs.js +0 -2
  448. package/dist/components/ui/switch.cjs.js.map +0 -1
  449. package/dist/components/ui/switch.es.js.map +0 -1
  450. package/dist/components/ui/table.cjs.js +0 -2
  451. package/dist/components/ui/table.cjs.js.map +0 -1
  452. package/dist/components/ui/table.es.js.map +0 -1
  453. package/dist/components/ui/tabs.cjs.js +0 -2
  454. package/dist/components/ui/tabs.cjs.js.map +0 -1
  455. package/dist/components/ui/tabs.es.js.map +0 -1
  456. package/dist/components/ui/textarea.cjs.js +0 -2
  457. package/dist/components/ui/textarea.cjs.js.map +0 -1
  458. package/dist/components/ui/textarea.es.js.map +0 -1
  459. package/dist/components/ui/toggle-group.cjs.js +0 -2
  460. package/dist/components/ui/toggle-group.cjs.js.map +0 -1
  461. package/dist/components/ui/toggle-group.es.js.map +0 -1
  462. package/dist/components/ui/toggle.cjs.js +0 -2
  463. package/dist/components/ui/toggle.cjs.js.map +0 -1
  464. package/dist/components/ui/toggle.es.js.map +0 -1
  465. package/dist/components/ui/tooltip.cjs.js +0 -2
  466. package/dist/components/ui/tooltip.cjs.js.map +0 -1
  467. package/dist/components/ui/tooltip.es.js.map +0 -1
  468. package/dist/hooks/index.cjs.js +0 -1
  469. package/dist/hooks/index.es.js +0 -2
  470. package/dist/hooks/use-mobile.cjs.js +0 -2
  471. package/dist/hooks/use-mobile.cjs.js.map +0 -1
  472. package/dist/hooks/use-mobile.es.js.map +0 -1
  473. package/dist/index.cjs.js +0 -1
  474. package/dist/index.es.js +0 -63
  475. package/dist/node_modules/.bun/@radix-ui_primitive@1.1.5/node_modules/@radix-ui/primitive/dist/index.cjs.js +0 -2
  476. package/dist/node_modules/.bun/@radix-ui_primitive@1.1.5/node_modules/@radix-ui/primitive/dist/index.cjs.js.map +0 -1
  477. package/dist/node_modules/.bun/@radix-ui_primitive@1.1.5/node_modules/@radix-ui/primitive/dist/index.es.js.map +0 -1
  478. package/dist/node_modules/.bun/@radix-ui_react-compose-refs@1.1.3_93dbe784b8baa420/node_modules/@radix-ui/react-compose-refs/dist/index.cjs.js +0 -2
  479. package/dist/node_modules/.bun/@radix-ui_react-compose-refs@1.1.3_93dbe784b8baa420/node_modules/@radix-ui/react-compose-refs/dist/index.cjs.js.map +0 -1
  480. package/dist/node_modules/.bun/@radix-ui_react-compose-refs@1.1.3_93dbe784b8baa420/node_modules/@radix-ui/react-compose-refs/dist/index.es.js.map +0 -1
  481. package/dist/node_modules/.bun/@radix-ui_react-context@1.2.0_93dbe784b8baa420/node_modules/@radix-ui/react-context/dist/index.cjs.js +0 -2
  482. package/dist/node_modules/.bun/@radix-ui_react-context@1.2.0_93dbe784b8baa420/node_modules/@radix-ui/react-context/dist/index.cjs.js.map +0 -1
  483. package/dist/node_modules/.bun/@radix-ui_react-context@1.2.0_93dbe784b8baa420/node_modules/@radix-ui/react-context/dist/index.es.js.map +0 -1
  484. package/dist/node_modules/.bun/@radix-ui_react-dialog@1.1.19_ae2b4604ef263bc9/node_modules/@radix-ui/react-dialog/dist/index.cjs.js +0 -2
  485. package/dist/node_modules/.bun/@radix-ui_react-dialog@1.1.19_ae2b4604ef263bc9/node_modules/@radix-ui/react-dialog/dist/index.cjs.js.map +0 -1
  486. package/dist/node_modules/.bun/@radix-ui_react-dialog@1.1.19_ae2b4604ef263bc9/node_modules/@radix-ui/react-dialog/dist/index.es.js.map +0 -1
  487. package/dist/node_modules/.bun/@radix-ui_react-dismissable-layer@1.1.15_ae2b4604ef263bc9/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs.js +0 -2
  488. package/dist/node_modules/.bun/@radix-ui_react-dismissable-layer@1.1.15_ae2b4604ef263bc9/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs.js.map +0 -1
  489. package/dist/node_modules/.bun/@radix-ui_react-dismissable-layer@1.1.15_ae2b4604ef263bc9/node_modules/@radix-ui/react-dismissable-layer/dist/index.es.js.map +0 -1
  490. package/dist/node_modules/.bun/@radix-ui_react-focus-guards@1.1.4_93dbe784b8baa420/node_modules/@radix-ui/react-focus-guards/dist/index.cjs.js +0 -2
  491. package/dist/node_modules/.bun/@radix-ui_react-focus-guards@1.1.4_93dbe784b8baa420/node_modules/@radix-ui/react-focus-guards/dist/index.cjs.js.map +0 -1
  492. package/dist/node_modules/.bun/@radix-ui_react-focus-guards@1.1.4_93dbe784b8baa420/node_modules/@radix-ui/react-focus-guards/dist/index.es.js.map +0 -1
  493. package/dist/node_modules/.bun/@radix-ui_react-focus-scope@1.1.12_ae2b4604ef263bc9/node_modules/@radix-ui/react-focus-scope/dist/index.cjs.js +0 -2
  494. package/dist/node_modules/.bun/@radix-ui_react-focus-scope@1.1.12_ae2b4604ef263bc9/node_modules/@radix-ui/react-focus-scope/dist/index.cjs.js.map +0 -1
  495. package/dist/node_modules/.bun/@radix-ui_react-focus-scope@1.1.12_ae2b4604ef263bc9/node_modules/@radix-ui/react-focus-scope/dist/index.es.js.map +0 -1
  496. package/dist/node_modules/.bun/@radix-ui_react-id@1.1.2_93dbe784b8baa420/node_modules/@radix-ui/react-id/dist/index.cjs.js +0 -2
  497. package/dist/node_modules/.bun/@radix-ui_react-id@1.1.2_93dbe784b8baa420/node_modules/@radix-ui/react-id/dist/index.cjs.js.map +0 -1
  498. package/dist/node_modules/.bun/@radix-ui_react-id@1.1.2_93dbe784b8baa420/node_modules/@radix-ui/react-id/dist/index.es.js.map +0 -1
  499. package/dist/node_modules/.bun/@radix-ui_react-portal@1.1.13_ae2b4604ef263bc9/node_modules/@radix-ui/react-portal/dist/index.cjs.js +0 -2
  500. package/dist/node_modules/.bun/@radix-ui_react-portal@1.1.13_ae2b4604ef263bc9/node_modules/@radix-ui/react-portal/dist/index.cjs.js.map +0 -1
  501. package/dist/node_modules/.bun/@radix-ui_react-portal@1.1.13_ae2b4604ef263bc9/node_modules/@radix-ui/react-portal/dist/index.es.js.map +0 -1
  502. package/dist/node_modules/.bun/@radix-ui_react-presence@1.1.7_ae2b4604ef263bc9/node_modules/@radix-ui/react-presence/dist/index.cjs.js +0 -2
  503. package/dist/node_modules/.bun/@radix-ui_react-presence@1.1.7_ae2b4604ef263bc9/node_modules/@radix-ui/react-presence/dist/index.cjs.js.map +0 -1
  504. package/dist/node_modules/.bun/@radix-ui_react-presence@1.1.7_ae2b4604ef263bc9/node_modules/@radix-ui/react-presence/dist/index.es.js.map +0 -1
  505. package/dist/node_modules/.bun/@radix-ui_react-primitive@2.1.7_ae2b4604ef263bc9/node_modules/@radix-ui/react-primitive/dist/index.cjs.js +0 -2
  506. package/dist/node_modules/.bun/@radix-ui_react-primitive@2.1.7_ae2b4604ef263bc9/node_modules/@radix-ui/react-primitive/dist/index.cjs.js.map +0 -1
  507. package/dist/node_modules/.bun/@radix-ui_react-primitive@2.1.7_ae2b4604ef263bc9/node_modules/@radix-ui/react-primitive/dist/index.es.js.map +0 -1
  508. package/dist/node_modules/.bun/@radix-ui_react-slot@1.3.0_93dbe784b8baa420/node_modules/@radix-ui/react-slot/dist/index.cjs.js +0 -2
  509. package/dist/node_modules/.bun/@radix-ui_react-slot@1.3.0_93dbe784b8baa420/node_modules/@radix-ui/react-slot/dist/index.cjs.js.map +0 -1
  510. package/dist/node_modules/.bun/@radix-ui_react-slot@1.3.0_93dbe784b8baa420/node_modules/@radix-ui/react-slot/dist/index.es.js.map +0 -1
  511. package/dist/node_modules/.bun/@radix-ui_react-use-callback-ref@1.1.2_93dbe784b8baa420/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs.js +0 -2
  512. package/dist/node_modules/.bun/@radix-ui_react-use-callback-ref@1.1.2_93dbe784b8baa420/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs.js.map +0 -1
  513. package/dist/node_modules/.bun/@radix-ui_react-use-callback-ref@1.1.2_93dbe784b8baa420/node_modules/@radix-ui/react-use-callback-ref/dist/index.es.js.map +0 -1
  514. package/dist/node_modules/.bun/@radix-ui_react-use-controllable-state@1.2.3_93dbe784b8baa420/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs.js +0 -2
  515. package/dist/node_modules/.bun/@radix-ui_react-use-controllable-state@1.2.3_93dbe784b8baa420/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs.js.map +0 -1
  516. package/dist/node_modules/.bun/@radix-ui_react-use-controllable-state@1.2.3_93dbe784b8baa420/node_modules/@radix-ui/react-use-controllable-state/dist/index.es.js.map +0 -1
  517. package/dist/node_modules/.bun/@radix-ui_react-use-layout-effect@1.1.2_93dbe784b8baa420/node_modules/@radix-ui/react-use-layout-effect/dist/index.cjs.js +0 -2
  518. package/dist/node_modules/.bun/@radix-ui_react-use-layout-effect@1.1.2_93dbe784b8baa420/node_modules/@radix-ui/react-use-layout-effect/dist/index.cjs.js.map +0 -1
  519. package/dist/node_modules/.bun/@radix-ui_react-use-layout-effect@1.1.2_93dbe784b8baa420/node_modules/@radix-ui/react-use-layout-effect/dist/index.es.js.map +0 -1
  520. package/dist/node_modules/.bun/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.cjs.js +0 -2
  521. package/dist/node_modules/.bun/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.cjs.js.map +0 -1
  522. package/dist/node_modules/.bun/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.es.js.map +0 -1
  523. package/dist/node_modules/.bun/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.cjs.js +0 -2
  524. package/dist/node_modules/.bun/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.cjs.js.map +0 -1
  525. package/dist/node_modules/.bun/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.es.js.map +0 -1
  526. package/dist/node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.cjs.js +0 -2
  527. package/dist/node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.cjs.js.map +0 -1
  528. package/dist/node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.es.js.map +0 -1
  529. package/dist/node_modules/.bun/cmdk@1.1.1_ae2b4604ef263bc9/node_modules/cmdk/dist/chunk-NZJY6EH4.cjs.js +0 -2
  530. package/dist/node_modules/.bun/cmdk@1.1.1_ae2b4604ef263bc9/node_modules/cmdk/dist/chunk-NZJY6EH4.cjs.js.map +0 -1
  531. package/dist/node_modules/.bun/cmdk@1.1.1_ae2b4604ef263bc9/node_modules/cmdk/dist/chunk-NZJY6EH4.es.js.map +0 -1
  532. package/dist/node_modules/.bun/cmdk@1.1.1_ae2b4604ef263bc9/node_modules/cmdk/dist/index.cjs.js +0 -2
  533. package/dist/node_modules/.bun/cmdk@1.1.1_ae2b4604ef263bc9/node_modules/cmdk/dist/index.cjs.js.map +0 -1
  534. package/dist/node_modules/.bun/cmdk@1.1.1_ae2b4604ef263bc9/node_modules/cmdk/dist/index.es.js.map +0 -1
  535. package/dist/node_modules/.bun/cnfast@0.0.8/node_modules/cnfast/dist/index.cjs.js +0 -2
  536. package/dist/node_modules/.bun/cnfast@0.0.8/node_modules/cnfast/dist/index.cjs.js.map +0 -1
  537. package/dist/node_modules/.bun/cnfast@0.0.8/node_modules/cnfast/dist/index.es.js.map +0 -1
  538. package/dist/node_modules/.bun/embla-carousel-react@8.6.0_e14d3f224186685e/node_modules/embla-carousel-react/esm/embla-carousel-react.esm.cjs.js +0 -2
  539. package/dist/node_modules/.bun/embla-carousel-react@8.6.0_e14d3f224186685e/node_modules/embla-carousel-react/esm/embla-carousel-react.esm.cjs.js.map +0 -1
  540. package/dist/node_modules/.bun/embla-carousel-react@8.6.0_e14d3f224186685e/node_modules/embla-carousel-react/esm/embla-carousel-react.esm.es.js.map +0 -1
  541. package/dist/node_modules/.bun/embla-carousel-reactive-utils@8.6.0_3dde5556684c958d/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.cjs.js +0 -2
  542. package/dist/node_modules/.bun/embla-carousel-reactive-utils@8.6.0_3dde5556684c958d/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.cjs.js.map +0 -1
  543. package/dist/node_modules/.bun/embla-carousel-reactive-utils@8.6.0_3dde5556684c958d/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.es.js.map +0 -1
  544. package/dist/node_modules/.bun/embla-carousel@8.6.0/node_modules/embla-carousel/esm/embla-carousel.esm.cjs.js +0 -2
  545. package/dist/node_modules/.bun/embla-carousel@8.6.0/node_modules/embla-carousel/esm/embla-carousel.esm.cjs.js.map +0 -1
  546. package/dist/node_modules/.bun/embla-carousel@8.6.0/node_modules/embla-carousel/esm/embla-carousel.esm.es.js.map +0 -1
  547. package/dist/node_modules/.bun/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.cjs.js +0 -2
  548. package/dist/node_modules/.bun/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.cjs.js.map +0 -1
  549. package/dist/node_modules/.bun/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.es.js.map +0 -1
  550. package/dist/node_modules/.bun/input-otp@1.4.2_7492c01c6988791b/node_modules/input-otp/dist/index.cjs.js +0 -21
  551. package/dist/node_modules/.bun/input-otp@1.4.2_7492c01c6988791b/node_modules/input-otp/dist/index.cjs.js.map +0 -1
  552. package/dist/node_modules/.bun/input-otp@1.4.2_7492c01c6988791b/node_modules/input-otp/dist/index.es.js.map +0 -1
  553. package/dist/node_modules/.bun/react-remove-scroll-bar@2.3.8_93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/component.cjs.js +0 -39
  554. package/dist/node_modules/.bun/react-remove-scroll-bar@2.3.8_93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/component.cjs.js.map +0 -1
  555. package/dist/node_modules/.bun/react-remove-scroll-bar@2.3.8_93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/component.es.js.map +0 -1
  556. package/dist/node_modules/.bun/react-remove-scroll-bar@2.3.8_93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/constants.cjs.js +0 -2
  557. package/dist/node_modules/.bun/react-remove-scroll-bar@2.3.8_93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/constants.cjs.js.map +0 -1
  558. package/dist/node_modules/.bun/react-remove-scroll-bar@2.3.8_93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/constants.es.js.map +0 -1
  559. package/dist/node_modules/.bun/react-remove-scroll-bar@2.3.8_93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/index.cjs.js +0 -1
  560. package/dist/node_modules/.bun/react-remove-scroll-bar@2.3.8_93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/index.es.js +0 -4
  561. package/dist/node_modules/.bun/react-remove-scroll-bar@2.3.8_93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/utils.cjs.js +0 -2
  562. package/dist/node_modules/.bun/react-remove-scroll-bar@2.3.8_93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/utils.cjs.js.map +0 -1
  563. package/dist/node_modules/.bun/react-remove-scroll-bar@2.3.8_93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/utils.es.js.map +0 -1
  564. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/Combination.cjs.js +0 -2
  565. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/Combination.cjs.js.map +0 -1
  566. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/Combination.es.js.map +0 -1
  567. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/SideEffect.cjs.js +0 -5
  568. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/SideEffect.cjs.js.map +0 -1
  569. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/SideEffect.es.js.map +0 -1
  570. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/UI.cjs.js +0 -2
  571. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/UI.cjs.js.map +0 -1
  572. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/UI.es.js.map +0 -1
  573. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.cjs.js +0 -2
  574. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.cjs.js.map +0 -1
  575. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.es.js.map +0 -1
  576. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/handleScroll.cjs.js +0 -2
  577. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/handleScroll.cjs.js.map +0 -1
  578. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/handleScroll.es.js.map +0 -1
  579. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/medium.cjs.js +0 -2
  580. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/medium.cjs.js.map +0 -1
  581. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/medium.es.js.map +0 -1
  582. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/sidecar.cjs.js +0 -2
  583. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/sidecar.cjs.js.map +0 -1
  584. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/sidecar.es.js.map +0 -1
  585. package/dist/node_modules/.bun/react-resizable-panels@4.12.1_7492c01c6988791b/node_modules/react-resizable-panels/dist/react-resizable-panels.cjs.js +0 -2
  586. package/dist/node_modules/.bun/react-resizable-panels@4.12.1_7492c01c6988791b/node_modules/react-resizable-panels/dist/react-resizable-panels.cjs.js.map +0 -1
  587. package/dist/node_modules/.bun/react-resizable-panels@4.12.1_7492c01c6988791b/node_modules/react-resizable-panels/dist/react-resizable-panels.es.js.map +0 -1
  588. package/dist/node_modules/.bun/react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/component.cjs.js +0 -2
  589. package/dist/node_modules/.bun/react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/component.cjs.js.map +0 -1
  590. package/dist/node_modules/.bun/react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/component.es.js.map +0 -1
  591. package/dist/node_modules/.bun/react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/hook.cjs.js +0 -2
  592. package/dist/node_modules/.bun/react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/hook.cjs.js.map +0 -1
  593. package/dist/node_modules/.bun/react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/hook.es.js.map +0 -1
  594. package/dist/node_modules/.bun/react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/index.cjs.js +0 -1
  595. package/dist/node_modules/.bun/react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/index.es.js +0 -4
  596. package/dist/node_modules/.bun/react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/singleton.cjs.js +0 -2
  597. package/dist/node_modules/.bun/react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/singleton.cjs.js.map +0 -1
  598. package/dist/node_modules/.bun/react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/singleton.es.js.map +0 -1
  599. package/dist/node_modules/.bun/tslib@2.8.1/node_modules/tslib/tslib.es6.cjs.js +0 -2
  600. package/dist/node_modules/.bun/tslib@2.8.1/node_modules/tslib/tslib.es6.cjs.js.map +0 -1
  601. package/dist/node_modules/.bun/tslib@2.8.1/node_modules/tslib/tslib.es6.es.js.map +0 -1
  602. package/dist/node_modules/.bun/use-callback-ref@1.3.3_93dbe784b8baa420/node_modules/use-callback-ref/dist/es2015/assignRef.cjs.js +0 -2
  603. package/dist/node_modules/.bun/use-callback-ref@1.3.3_93dbe784b8baa420/node_modules/use-callback-ref/dist/es2015/assignRef.cjs.js.map +0 -1
  604. package/dist/node_modules/.bun/use-callback-ref@1.3.3_93dbe784b8baa420/node_modules/use-callback-ref/dist/es2015/assignRef.es.js.map +0 -1
  605. package/dist/node_modules/.bun/use-callback-ref@1.3.3_93dbe784b8baa420/node_modules/use-callback-ref/dist/es2015/useMergeRef.cjs.js +0 -2
  606. package/dist/node_modules/.bun/use-callback-ref@1.3.3_93dbe784b8baa420/node_modules/use-callback-ref/dist/es2015/useMergeRef.cjs.js.map +0 -1
  607. package/dist/node_modules/.bun/use-callback-ref@1.3.3_93dbe784b8baa420/node_modules/use-callback-ref/dist/es2015/useMergeRef.es.js.map +0 -1
  608. package/dist/node_modules/.bun/use-callback-ref@1.3.3_93dbe784b8baa420/node_modules/use-callback-ref/dist/es2015/useRef.cjs.js +0 -2
  609. package/dist/node_modules/.bun/use-callback-ref@1.3.3_93dbe784b8baa420/node_modules/use-callback-ref/dist/es2015/useRef.cjs.js.map +0 -1
  610. package/dist/node_modules/.bun/use-callback-ref@1.3.3_93dbe784b8baa420/node_modules/use-callback-ref/dist/es2015/useRef.es.js.map +0 -1
  611. package/dist/node_modules/.bun/use-sidecar@1.1.3_93dbe784b8baa420/node_modules/use-sidecar/dist/es2015/exports.cjs.js +0 -2
  612. package/dist/node_modules/.bun/use-sidecar@1.1.3_93dbe784b8baa420/node_modules/use-sidecar/dist/es2015/exports.cjs.js.map +0 -1
  613. package/dist/node_modules/.bun/use-sidecar@1.1.3_93dbe784b8baa420/node_modules/use-sidecar/dist/es2015/exports.es.js.map +0 -1
  614. package/dist/node_modules/.bun/use-sidecar@1.1.3_93dbe784b8baa420/node_modules/use-sidecar/dist/es2015/medium.cjs.js +0 -2
  615. package/dist/node_modules/.bun/use-sidecar@1.1.3_93dbe784b8baa420/node_modules/use-sidecar/dist/es2015/medium.cjs.js.map +0 -1
  616. package/dist/node_modules/.bun/use-sidecar@1.1.3_93dbe784b8baa420/node_modules/use-sidecar/dist/es2015/medium.es.js.map +0 -1
  617. /package/dist/components/ui/{direction.es.js → direction.js} +0 -0
@@ -0,0 +1,20 @@
1
+ import { cn as e } from "../../node_modules/.bun/cnfast@0.0.8/node_modules/cnfast/dist/index.js";
2
+ import { Button as t } from "./button.js";
3
+ import { Sparkles as n } from "lucide-react";
4
+ import { jsx as r, jsxs as i } from "react/jsx-runtime";
5
+ import a from "react";
6
+ //#region src/components/ui/generate-ai-button.tsx
7
+ var o = a.forwardRef(({ className: a, label: o = "Auto-Fill with AI", variant: s = "outline", size: c = "lg", type: l = "button", icon: u = /* @__PURE__ */ r(n, { className: "w-4 h-4" }), ...d }, f) => /* @__PURE__ */ i(t, {
8
+ ref: f,
9
+ type: l,
10
+ variant: s,
11
+ size: c,
12
+ className: e("w-full bg-primary/10 cursor-pointer text-primary rounded-full text-xs md:text-sm font-medium transition-all hover:bg-primary/10 hover:text-primary border-primary/20 mb-6", a),
13
+ ...d,
14
+ children: [u, o]
15
+ }));
16
+ o.displayName = "GenerateAiButton";
17
+ //#endregion
18
+ export { o as GenerateAiButton };
19
+
20
+ //# sourceMappingURL=generate-ai-button.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generate-ai-button.js","names":[],"sources":["../../../src/components/ui/generate-ai-button.tsx"],"sourcesContent":["import React from 'react';\nimport { Button } from \"./button\";\nimport { Sparkles } from \"lucide-react\";\nimport { cn } from \"../../lib/utils\";\n\ninterface GenerateAiButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {\n label?: string;\n variant?: \"destructive\" | \"outline\" | \"secondary\" | \"default\" | \"link\" | \"ghost\" | null;\n size?: \"default\" | \"sm\" | \"lg\" | \"xs\" | \"icon\" | \"icon-xs\" | \"icon-sm\" | \"icon-lg\" | null;\n type?: \"button\" | \"submit\" | \"reset\" | undefined;\n icon?: React.ReactNode;\n}\n\nexport const GenerateAiButton = React.forwardRef<HTMLButtonElement, GenerateAiButtonProps>(\n ({ className, label = \"Auto-Fill with AI\", variant = \"outline\", size = \"lg\", type = \"button\", icon = <Sparkles className=\"w-4 h-4\" />, ...props }, ref) => {\n return (\n <Button\n ref={ref}\n type={type}\n variant={variant}\n size={size}\n className={cn(\n \"w-full bg-primary/10 cursor-pointer text-primary rounded-full text-xs md:text-sm font-medium transition-all hover:bg-primary/10 hover:text-primary border-primary/20 mb-6\",\n className\n )}\n {...props}\n >\n {icon}\n {label}\n </Button>\n );\n }\n);\n\nGenerateAiButton.displayName = \"GenerateAiButton\";\n"],"mappings":";;;;;;AAaA,IAAa,IAAmB,EAAM,YACjC,EAAE,cAAW,WAAQ,qBAAqB,aAAU,WAAW,UAAO,MAAM,UAAO,UAAU,UAAO,kBAAC,GAAD,EAAU,WAAU,UAAW,CAAA,GAAG,GAAG,KAAS,MAE3I,kBAAC,GAAD;CACS;CACC;CACG;CACH;CACN,WAAW,EACP,6KACA,CACJ;CACA,GAAI;WATR,CAWK,GACA,CACG;EAGpB;AAEA,EAAiB,cAAc"}
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { cn as e } from "../../node_modules/.bun/cnfast@0.0.8/node_modules/cnfast/dist/index.es.js";
2
+ import { cn as e } from "../../node_modules/.bun/cnfast@0.0.8/node_modules/cnfast/dist/index.js";
3
3
  import { jsx as t } from "react/jsx-runtime";
4
4
  import { PreviewCard as n } from "@base-ui/react/preview-card";
5
5
  //#region src/components/ui/hover-card.tsx
@@ -35,4 +35,4 @@ function a({ className: r, side: i = "bottom", sideOffset: a = 4, align: o = "ce
35
35
  //#endregion
36
36
  export { r as HoverCard, a as HoverCardContent, i as HoverCardTrigger };
37
37
 
38
- //# sourceMappingURL=hover-card.es.js.map
38
+ //# sourceMappingURL=hover-card.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hover-card.js","names":[],"sources":["../../../src/components/ui/hover-card.tsx"],"sourcesContent":["\"use client\"\n\nimport { PreviewCard as PreviewCardPrimitive } from \"@base-ui/react/preview-card\"\n\nimport { cn } from \"../../lib/utils\"\n\nfunction HoverCard({ ...props }: PreviewCardPrimitive.Root.Props) {\n return <PreviewCardPrimitive.Root data-slot=\"hover-card\" {...props} />\n}\n\nfunction HoverCardTrigger({ ...props }: PreviewCardPrimitive.Trigger.Props) {\n return (\n <PreviewCardPrimitive.Trigger data-slot=\"hover-card-trigger\" {...props} />\n )\n}\n\nfunction HoverCardContent({\n className,\n side = \"bottom\",\n sideOffset = 4,\n align = \"center\",\n alignOffset = 4,\n ...props\n}: PreviewCardPrimitive.Popup.Props &\n Pick<\n PreviewCardPrimitive.Positioner.Props,\n \"align\" | \"alignOffset\" | \"side\" | \"sideOffset\"\n >) {\n return (\n <PreviewCardPrimitive.Portal data-slot=\"hover-card-portal\">\n <PreviewCardPrimitive.Positioner\n align={align}\n alignOffset={alignOffset}\n side={side}\n sideOffset={sideOffset}\n className=\"isolate z-50\"\n >\n <PreviewCardPrimitive.Popup\n data-slot=\"hover-card-content\"\n className={cn(\n \"z-50 w-64 origin-(--transform-origin) rounded-lg bg-popover p-2.5 text-sm text-popover-foreground shadow-md ring-1 ring-foreground/10 outline-hidden duration-100 data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-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 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95\",\n className\n )}\n {...props}\n />\n </PreviewCardPrimitive.Positioner>\n </PreviewCardPrimitive.Portal>\n )\n}\n\nexport { HoverCard, HoverCardTrigger, HoverCardContent }\n"],"mappings":";;;;;AAMA,SAAS,EAAU,EAAE,GAAG,KAA0C;CAChE,OAAO,kBAAC,EAAqB,MAAtB;EAA2B,aAAU;EAAa,GAAI;CAAQ,CAAA;AACvE;AAEA,SAAS,EAAiB,EAAE,GAAG,KAA6C;CAC1E,OACE,kBAAC,EAAqB,SAAtB;EAA8B,aAAU;EAAqB,GAAI;CAAQ,CAAA;AAE7E;AAEA,SAAS,EAAiB,EACxB,cACA,UAAO,UACP,gBAAa,GACb,WAAQ,UACR,iBAAc,GACd,GAAG,KAKA;CACH,OACE,kBAAC,EAAqB,QAAtB;EAA6B,aAAU;YACrC,kBAAC,EAAqB,YAAtB;GACS;GACM;GACP;GACM;GACZ,WAAU;aAEV,kBAAC,EAAqB,OAAtB;IACE,aAAU;IACV,WAAW,EACT,iiBACA,CACF;IACA,GAAI;GACL,CAAA;EAC8B,CAAA;CACN,CAAA;AAEjC"}
@@ -0,0 +1,19 @@
1
+ export interface ImageCropperClassNames {
2
+ root?: string;
3
+ cropArea?: string;
4
+ ambientBackground?: string;
5
+ controls?: string;
6
+ sliderRow?: string;
7
+ actions?: string;
8
+ }
9
+ interface ImageCropperProps {
10
+ imageSrc: string;
11
+ onCropSave: (croppedFile: File) => void;
12
+ onCancel: () => void;
13
+ aspect?: number;
14
+ title?: string;
15
+ classNames?: ImageCropperClassNames;
16
+ cropHeight?: string;
17
+ }
18
+ export declare function ImageCropper({ imageSrc, onCropSave, onCancel, aspect, title, classNames, cropHeight, }: ImageCropperProps): import("react").JSX.Element;
19
+ export {};
@@ -0,0 +1,155 @@
1
+ import { cn as e } from "../../node_modules/.bun/cnfast@0.0.8/node_modules/cnfast/dist/index.js";
2
+ import { Button as t } from "./button.js";
3
+ import { Slider as n } from "./slider.js";
4
+ import r from "../../node_modules/.bun/react-easy-crop@6.2.2_7492c01c6988791b/node_modules/react-easy-crop/index.module.js";
5
+ import i from "../../functions/cropImage.js";
6
+ import { Check as a, Loader2 as o, RotateCw as s, X as c, ZoomIn as l } from "lucide-react";
7
+ import { jsx as u, jsxs as d } from "react/jsx-runtime";
8
+ import { useCallback as f, useId as p, useState as m } from "react";
9
+ //#region src/components/ui/image-cropper.tsx
10
+ function h({ imageSrc: h, onCropSave: g, onCancel: _, aspect: v = 1, title: y = "Crop Image", classNames: b, cropHeight: x = "350px" }) {
11
+ let [S, C] = m({
12
+ x: 0,
13
+ y: 0
14
+ }), [w, T] = m(1), [E, D] = m(0), [O, k] = m(null), [A, j] = m(!1), [M, N] = m(null), P = p(), F = `${P}-zoom-label`, I = `${P}-rotation-label`, L = f((e, t) => {
15
+ k(t);
16
+ }, []);
17
+ return /* @__PURE__ */ d("div", {
18
+ className: e("flex flex-col gap-4 w-full", b?.root),
19
+ children: [
20
+ /* @__PURE__ */ u("h2", {
21
+ className: "sr-only",
22
+ children: y
23
+ }),
24
+ /* @__PURE__ */ d("div", {
25
+ className: e("w-full bg-neutral-950 rounded-3xl overflow-hidden shadow-2xl border border-neutral-800 relative", b?.cropArea),
26
+ style: { height: x },
27
+ children: [/* @__PURE__ */ u("div", {
28
+ className: e("absolute inset-0 w-full h-full scale-125 blur-2xl opacity-20 pointer-events-none", b?.ambientBackground),
29
+ children: /* @__PURE__ */ u("img", {
30
+ src: h,
31
+ alt: "",
32
+ className: "w-full h-full object-cover"
33
+ })
34
+ }), /* @__PURE__ */ u(r, {
35
+ image: h,
36
+ crop: S,
37
+ zoom: w,
38
+ rotation: E,
39
+ aspect: v,
40
+ onCropChange: C,
41
+ onCropComplete: L,
42
+ onZoomChange: T,
43
+ onRotationChange: D,
44
+ classes: { containerClassName: "z-10" }
45
+ })]
46
+ }),
47
+ /* @__PURE__ */ d("div", {
48
+ className: e("space-y-4 px-1", b?.controls),
49
+ children: [
50
+ /* @__PURE__ */ d("div", {
51
+ className: e("space-y-3", b?.sliderRow),
52
+ children: [/* @__PURE__ */ d("div", {
53
+ className: "flex items-center justify-between",
54
+ children: [/* @__PURE__ */ d("label", {
55
+ id: F,
56
+ className: "flex items-center gap-2 text-sm font-medium text-muted-foreground",
57
+ children: [/* @__PURE__ */ u(l, {
58
+ className: "w-4 h-4",
59
+ "aria-hidden": !0
60
+ }), /* @__PURE__ */ u("span", { children: "Zoom" })]
61
+ }), /* @__PURE__ */ d("span", {
62
+ className: "text-xs font-mono bg-secondary px-2 py-1 rounded-md",
63
+ children: [Math.round(w * 100), "%"]
64
+ })]
65
+ }), /* @__PURE__ */ u(n, {
66
+ value: [w],
67
+ min: 1,
68
+ max: 3,
69
+ step: .1,
70
+ onValueChange: (e) => {
71
+ let t = Array.isArray(e) ? e[0] : e;
72
+ T(t);
73
+ },
74
+ "aria-labelledby": F,
75
+ className: "py-2"
76
+ })]
77
+ }),
78
+ /* @__PURE__ */ d("div", {
79
+ className: e("space-y-3", b?.sliderRow),
80
+ children: [/* @__PURE__ */ d("div", {
81
+ className: "flex items-center justify-between",
82
+ children: [/* @__PURE__ */ d("label", {
83
+ id: I,
84
+ className: "flex items-center gap-2 text-sm font-medium text-muted-foreground",
85
+ children: [/* @__PURE__ */ u(s, {
86
+ className: "w-4 h-4",
87
+ "aria-hidden": !0
88
+ }), /* @__PURE__ */ u("span", { children: "Rotation" })]
89
+ }), /* @__PURE__ */ d("span", {
90
+ className: "text-xs font-mono bg-secondary px-2 py-1 rounded-md",
91
+ children: [E, "°"]
92
+ })]
93
+ }), /* @__PURE__ */ u(n, {
94
+ value: [E],
95
+ min: 0,
96
+ max: 360,
97
+ step: 1,
98
+ onValueChange: (e) => {
99
+ let t = Array.isArray(e) ? e[0] : e;
100
+ D(t);
101
+ },
102
+ "aria-labelledby": I,
103
+ className: "py-1"
104
+ })]
105
+ }),
106
+ M && /* @__PURE__ */ u("p", {
107
+ className: "text-sm text-destructive",
108
+ role: "alert",
109
+ children: M
110
+ }),
111
+ /* @__PURE__ */ d("div", {
112
+ className: e("flex justify-end gap-2 pt-2", b?.actions),
113
+ children: [/* @__PURE__ */ d(t, {
114
+ type: "button",
115
+ variant: "ghost",
116
+ onClick: _,
117
+ disabled: A,
118
+ className: "rounded-full gap-2",
119
+ children: [/* @__PURE__ */ u(c, {
120
+ className: "w-4 h-4",
121
+ "aria-hidden": !0
122
+ }), "Cancel"]
123
+ }), /* @__PURE__ */ d(t, {
124
+ type: "button",
125
+ onClick: async () => {
126
+ if (!(!h || !O)) try {
127
+ j(!0), N(null);
128
+ let e = await i(h, O, E);
129
+ e && g(e);
130
+ } catch (e) {
131
+ console.error("Failed to crop image:", e), N("Failed to crop image. Please try again.");
132
+ } finally {
133
+ j(!1);
134
+ }
135
+ },
136
+ disabled: A || !O,
137
+ className: "rounded-full gap-2 px-6",
138
+ children: [A ? /* @__PURE__ */ u(o, {
139
+ className: "w-4 h-4 animate-spin",
140
+ "aria-hidden": !0
141
+ }) : /* @__PURE__ */ u(a, {
142
+ className: "w-4 h-4",
143
+ "aria-hidden": !0
144
+ }), A ? "Saving…" : "Apply Crop"]
145
+ })]
146
+ })
147
+ ]
148
+ })
149
+ ]
150
+ });
151
+ }
152
+ //#endregion
153
+ export { h as ImageCropper };
154
+
155
+ //# sourceMappingURL=image-cropper.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"image-cropper.js","names":[],"sources":["../../../src/components/ui/image-cropper.tsx"],"sourcesContent":["import { useState, useCallback, useId } from \"react\";\nimport Cropper from \"react-easy-crop\";\nimport { ZoomIn, RotateCw, Check, X, Loader2 } from \"lucide-react\";\nimport { Button } from \"./button\";\nimport { Slider } from \"./slider\";\nimport getCroppedImg from \"../../functions/cropImage\";\nimport { cn } from \"../../lib/utils\";\n\nexport interface ImageCropperClassNames {\n root?: string;\n cropArea?: string;\n ambientBackground?: string;\n controls?: string;\n sliderRow?: string;\n actions?: string;\n}\n\ninterface ImageCropperProps {\n imageSrc: string;\n onCropSave: (croppedFile: File) => void;\n onCancel: () => void;\n aspect?: number;\n title?: string;\n classNames?: ImageCropperClassNames;\n cropHeight?: string;\n}\n\nexport function ImageCropper({\n imageSrc,\n onCropSave,\n onCancel,\n aspect = 1,\n title = \"Crop Image\",\n classNames,\n cropHeight = \"350px\",\n}: ImageCropperProps) {\n const [crop, setCrop] = useState({ x: 0, y: 0 });\n const [zoom, setZoom] = useState(1);\n const [rotation, setRotation] = useState(0);\n const [croppedAreaPixels, setCroppedAreaPixels] = useState<any>(null);\n const [saving, setSaving] = useState(false);\n const [error, setError] = useState<string | null>(null);\n const id = useId();\n const zoomLabelId = `${id}-zoom-label`;\n const rotationLabelId = `${id}-rotation-label`;\n\n const onCropComplete = useCallback(\n (_croppedArea: any, croppedAreaPixels: any) => {\n setCroppedAreaPixels(croppedAreaPixels);\n },\n []\n );\n\n const handleSave = async () => {\n if (!imageSrc || !croppedAreaPixels) return;\n try {\n setSaving(true);\n setError(null);\n const croppedImage = await getCroppedImg(\n imageSrc,\n croppedAreaPixels,\n rotation\n );\n if (croppedImage) {\n onCropSave(croppedImage);\n }\n } catch (e) {\n console.error(\"Failed to crop image:\", e);\n setError(\"Failed to crop image. Please try again.\");\n } finally {\n setSaving(false);\n }\n };\n\n return (\n <div className={cn(\"flex flex-col gap-4 w-full\", classNames?.root)}>\n {/* Heading for screen readers */}\n <h2 className=\"sr-only\">{title}</h2>\n\n <div\n className={cn(\n \"w-full bg-neutral-950 rounded-3xl overflow-hidden shadow-2xl border border-neutral-800 relative\",\n classNames?.cropArea\n )}\n style={{ height: cropHeight }}\n >\n {/* Ambient Background layer */}\n <div\n className={cn(\n \"absolute inset-0 w-full h-full scale-125 blur-2xl opacity-20 pointer-events-none\",\n classNames?.ambientBackground\n )}\n >\n <img\n src={imageSrc}\n alt=\"\"\n className=\"w-full h-full object-cover\"\n />\n </div>\n\n <Cropper\n image={imageSrc}\n crop={crop}\n zoom={zoom}\n rotation={rotation}\n aspect={aspect}\n onCropChange={setCrop}\n onCropComplete={onCropComplete}\n onZoomChange={setZoom}\n onRotationChange={setRotation}\n classes={{ containerClassName: \"z-10\" }}\n />\n </div>\n\n <div className={cn(\"space-y-4 px-1\", classNames?.controls)}>\n {/* Zoom */}\n <div className={cn(\"space-y-3\", classNames?.sliderRow)}>\n <div className=\"flex items-center justify-between\">\n <label\n id={zoomLabelId}\n className=\"flex items-center gap-2 text-sm font-medium text-muted-foreground\"\n >\n <ZoomIn className=\"w-4 h-4\" aria-hidden />\n <span>Zoom</span>\n </label>\n <span className=\"text-xs font-mono bg-secondary px-2 py-1 rounded-md\">\n {Math.round(zoom * 100)}%\n </span>\n </div>\n <Slider\n value={[zoom]}\n min={1}\n max={3}\n step={0.1}\n onValueChange={(value) => {\n const newValue = Array.isArray(value) ? value[0] : value;\n setZoom(newValue);\n }}\n aria-labelledby={zoomLabelId}\n className=\"py-2\"\n />\n </div>\n\n {/* Rotation */}\n <div className={cn(\"space-y-3\", classNames?.sliderRow)}>\n <div className=\"flex items-center justify-between\">\n <label\n id={rotationLabelId}\n className=\"flex items-center gap-2 text-sm font-medium text-muted-foreground\"\n >\n <RotateCw className=\"w-4 h-4\" aria-hidden />\n <span>Rotation</span>\n </label>\n <span className=\"text-xs font-mono bg-secondary px-2 py-1 rounded-md\">\n {rotation}°\n </span>\n </div>\n <Slider\n value={[rotation]}\n min={0}\n max={360}\n step={1}\n onValueChange={(value) => {\n const newValue = Array.isArray(value) ? value[0] : value;\n setRotation(newValue);\n }}\n aria-labelledby={rotationLabelId}\n className=\"py-1\"\n />\n </div>\n\n {error && (\n <p className=\"text-sm text-destructive\" role=\"alert\">\n {error}\n </p>\n )}\n\n <div className={cn(\"flex justify-end gap-2 pt-2\", classNames?.actions)}>\n <Button\n type=\"button\"\n variant=\"ghost\"\n onClick={onCancel}\n disabled={saving}\n className=\"rounded-full gap-2\"\n >\n <X className=\"w-4 h-4\" aria-hidden />\n Cancel\n </Button>\n <Button\n type=\"button\"\n onClick={handleSave}\n disabled={saving || !croppedAreaPixels}\n className=\"rounded-full gap-2 px-6\"\n >\n {saving ? (\n <Loader2 className=\"w-4 h-4 animate-spin\" aria-hidden />\n ) : (\n <Check className=\"w-4 h-4\" aria-hidden />\n )}\n {saving ? \"Saving…\" : \"Apply Crop\"}\n </Button>\n </div>\n </div>\n </div>\n );\n}"],"mappings":"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"}
@@ -0,0 +1,30 @@
1
+ import { default as React } from 'react';
2
+ export interface ImageUploadClassNames {
3
+ root?: string;
4
+ dropzone?: string;
5
+ preview?: string;
6
+ previewImage?: string;
7
+ removeButton?: string;
8
+ swapOverlay?: string;
9
+ emptyState?: string;
10
+ emptyIcon?: string;
11
+ error?: string;
12
+ }
13
+ interface ImageUploadProps {
14
+ value?: string | File;
15
+ onChange: (file?: File) => void;
16
+ onRemove: () => void;
17
+ className?: string;
18
+ classNames?: ImageUploadClassNames;
19
+ /** Max file size in bytes (default: 5MB) */
20
+ maxSize?: number;
21
+ /** Custom alt text for the preview image */
22
+ alt?: string;
23
+ /** Disable the upload */
24
+ disabled?: boolean;
25
+ /** Show loading spinner */
26
+ loading?: boolean;
27
+ }
28
+ export declare function ImageUpload({ value, onChange, onRemove, className, classNames, maxSize, // 5MB default
29
+ alt, disabled, loading, }: ImageUploadProps): React.JSX.Element;
30
+ export {};
@@ -0,0 +1,121 @@
1
+ "use client";
2
+ import { cn as e } from "../../node_modules/.bun/cnfast@0.0.8/node_modules/cnfast/dist/index.js";
3
+ import { Button as t } from "./button.js";
4
+ import { useDropzone as n } from "../../node_modules/.bun/react-dropzone@15.0.0_e14d3f224186685e/node_modules/react-dropzone/dist/es/index.js";
5
+ import { AlertCircle as r, Loader2 as i, Upload as a, X as o } from "lucide-react";
6
+ import { jsx as s, jsxs as c } from "react/jsx-runtime";
7
+ import l, { useCallback as u, useState as d } from "react";
8
+ //#region src/components/ui/image-upload.tsx
9
+ function f({ value: f, onChange: p, onRemove: m, className: h, classNames: g, maxSize: _ = 5 * 1024 * 1024, alt: v = "Upload preview", disabled: y = !1, loading: b = !1 }) {
10
+ let [x, S] = d(null), [C, w] = d(null);
11
+ l.useEffect(() => {
12
+ if (typeof f == "string") S(f);
13
+ else if (f instanceof File) {
14
+ let e = URL.createObjectURL(f);
15
+ return S(e), () => URL.revokeObjectURL(e);
16
+ } else S(null);
17
+ }, [f]);
18
+ let { getRootProps: T, getInputProps: E, isDragActive: D } = n({
19
+ onDrop: u((e, t) => {
20
+ if (w(null), t.length > 0) {
21
+ let e = t[0];
22
+ e.errors[0]?.code === "file-too-large" ? w(`File is too large. Max size is ${_ / (1024 * 1024)}MB.`) : e.errors[0]?.code === "file-invalid-type" ? w("Invalid file type. Please upload PNG, JPG, WEBP, or JPEG.") : w("Could not upload file. Please try again.");
23
+ return;
24
+ }
25
+ let n = e[0];
26
+ n && p(n);
27
+ }, [p, _]),
28
+ accept: { "image/*": [
29
+ ".jpeg",
30
+ ".jpg",
31
+ ".png",
32
+ ".webp"
33
+ ] },
34
+ maxFiles: 1,
35
+ multiple: !1,
36
+ maxSize: _,
37
+ disabled: y
38
+ }), O = (e) => {
39
+ e.stopPropagation(), w(null), m(), S(null);
40
+ };
41
+ return /* @__PURE__ */ c("div", {
42
+ className: e("w-full", h, g?.root),
43
+ children: [/* @__PURE__ */ c("div", {
44
+ ...T(),
45
+ className: e("w-full", g?.dropzone),
46
+ children: [/* @__PURE__ */ s("input", { ...E() }), b ? /* @__PURE__ */ c("div", {
47
+ className: e("flex flex-col items-center justify-center gap-3 rounded-lg border-2 border-dashed border-muted-foreground/25 bg-muted/50 py-12 text-center", g?.emptyState),
48
+ children: [/* @__PURE__ */ s(i, { className: "h-8 w-8 animate-spin text-muted-foreground" }), /* @__PURE__ */ s("p", {
49
+ className: "text-sm text-muted-foreground",
50
+ children: "Processing image…"
51
+ })]
52
+ }) : x ? /* @__PURE__ */ c("div", {
53
+ className: e("relative w-full overflow-hidden rounded-lg border border-border", "aspect-square max-w-[400px] mx-auto sm:aspect-video sm:max-h-[200px] sm:max-w-none", "cursor-pointer group/preview", g?.preview),
54
+ children: [
55
+ /* @__PURE__ */ s(t, {
56
+ type: "button",
57
+ onClick: O,
58
+ variant: "destructive",
59
+ size: "icon",
60
+ "aria-label": "Remove image",
61
+ className: e("absolute right-2 top-2 z-10 rounded-full h-8 w-8 shadow-lg opacity-0 group-hover/preview:opacity-100 transition-opacity", g?.removeButton),
62
+ children: /* @__PURE__ */ s(o, { className: "h-4 w-4" })
63
+ }),
64
+ /* @__PURE__ */ c("div", {
65
+ className: e("absolute inset-0 z-5 bg-black/40 flex flex-col items-center justify-center opacity-0 group-hover/preview:opacity-100 transition-opacity", g?.swapOverlay),
66
+ children: [/* @__PURE__ */ s(a, { className: "w-8 h-8 text-white mb-2" }), /* @__PURE__ */ s("span", {
67
+ className: "text-sm font-bold text-white uppercase tracking-widest",
68
+ children: "Swap Image"
69
+ })]
70
+ }),
71
+ /* @__PURE__ */ s("div", {
72
+ className: "absolute inset-0 w-full h-full scale-110 blur-xl opacity-30",
73
+ children: /* @__PURE__ */ s("img", {
74
+ sizes: "(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw",
75
+ src: x,
76
+ alt: "",
77
+ className: "object-cover w-full h-full"
78
+ })
79
+ }),
80
+ /* @__PURE__ */ s("div", { className: "absolute inset-0 bg-neutral-900/40" }),
81
+ /* @__PURE__ */ s("img", {
82
+ sizes: "(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw",
83
+ src: x,
84
+ alt: v,
85
+ className: e("size-full object-cover transition-all duration-300 relative z-0", g?.previewImage)
86
+ })
87
+ ]
88
+ }) : /* @__PURE__ */ s("div", {
89
+ className: e("relative flex cursor-pointer flex-col items-center justify-center rounded-lg border-2 border-dashed border-muted-foreground/25 bg-muted/50 p-6 sm:p-12 text-center transition hover:bg-muted/80", D && "border-primary bg-primary/5", y && "opacity-50 cursor-not-allowed", g?.emptyState),
90
+ children: /* @__PURE__ */ c("div", {
91
+ className: "flex flex-col items-center gap-2 text-muted-foreground",
92
+ children: [/* @__PURE__ */ s("div", {
93
+ className: e("rounded-full bg-background p-4 shadow-sm border border-border", g?.emptyIcon),
94
+ children: /* @__PURE__ */ s(a, { className: "h-6 w-6" })
95
+ }), /* @__PURE__ */ c("div", {
96
+ className: "flex flex-col gap-1",
97
+ children: [/* @__PURE__ */ s("p", {
98
+ className: "text-sm font-semibold text-foreground",
99
+ children: "Click to upload or drag and drop"
100
+ }), /* @__PURE__ */ c("p", {
101
+ className: "text-xs",
102
+ children: [
103
+ "PNG, JPG, WEBP or JPEG (max. ",
104
+ _ / (1024 * 1024),
105
+ "MB)"
106
+ ]
107
+ })]
108
+ })]
109
+ })
110
+ })]
111
+ }), C && /* @__PURE__ */ c("div", {
112
+ role: "alert",
113
+ className: e("mt-2 flex items-center gap-2 text-sm text-destructive", g?.error),
114
+ children: [/* @__PURE__ */ s(r, { className: "h-4 w-4 shrink-0" }), /* @__PURE__ */ s("span", { children: C })]
115
+ })]
116
+ });
117
+ }
118
+ //#endregion
119
+ export { f as ImageUpload };
120
+
121
+ //# sourceMappingURL=image-upload.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"image-upload.js","names":[],"sources":["../../../src/components/ui/image-upload.tsx"],"sourcesContent":["\"use client\";\n\nimport React, { useCallback, useState } from \"react\";\nimport { useDropzone, type FileRejection } from \"react-dropzone\";\nimport { Upload, X, AlertCircle, Loader2 } from \"lucide-react\";\nimport { Button } from \"./button\";\nimport { cn } from \"../../lib/utils\";\n\nexport interface ImageUploadClassNames {\n root?: string;\n dropzone?: string;\n preview?: string;\n previewImage?: string;\n removeButton?: string;\n swapOverlay?: string;\n emptyState?: string;\n emptyIcon?: string;\n error?: string;\n}\n\ninterface ImageUploadProps {\n value?: string | File;\n onChange: (file?: File) => void;\n onRemove: () => void;\n className?: string;\n classNames?: ImageUploadClassNames;\n /** Max file size in bytes (default: 5MB) */\n maxSize?: number;\n /** Custom alt text for the preview image */\n alt?: string;\n /** Disable the upload */\n disabled?: boolean;\n /** Show loading spinner */\n loading?: boolean;\n}\n\nexport function ImageUpload({\n value,\n onChange,\n onRemove,\n className,\n classNames,\n maxSize = 5 * 1024 * 1024, // 5MB default\n alt = \"Upload preview\",\n disabled = false,\n loading = false,\n}: ImageUploadProps) {\n const [preview, setPreview] = useState<string | null>(null);\n const [error, setError] = useState<string | null>(null);\n\n // Generate preview from value\n React.useEffect(() => {\n if (typeof value === \"string\") {\n setPreview(value);\n } else if (value instanceof File) {\n const objectUrl = URL.createObjectURL(value);\n setPreview(objectUrl);\n return () => URL.revokeObjectURL(objectUrl);\n } else {\n setPreview(null);\n }\n }, [value]);\n\n const onDrop = useCallback(\n (acceptedFiles: File[], rejectedFiles: FileRejection[]) => {\n setError(null);\n\n if (rejectedFiles.length > 0) {\n const rejection = rejectedFiles[0];\n if (rejection.errors[0]?.code === \"file-too-large\") {\n setError(`File is too large. Max size is ${maxSize / (1024 * 1024)}MB.`);\n } else if (rejection.errors[0]?.code === \"file-invalid-type\") {\n setError(\"Invalid file type. Please upload PNG, JPG, WEBP, or JPEG.\");\n } else {\n setError(\"Could not upload file. Please try again.\");\n }\n return;\n }\n\n const file = acceptedFiles[0];\n if (file) {\n onChange(file);\n }\n },\n [onChange, maxSize]\n );\n\n const { getRootProps, getInputProps, isDragActive } = useDropzone({\n onDrop,\n accept: {\n \"image/*\": [\".jpeg\", \".jpg\", \".png\", \".webp\"],\n },\n maxFiles: 1,\n multiple: false,\n maxSize,\n disabled,\n });\n\n const handleRemove = (e: React.MouseEvent) => {\n e.stopPropagation();\n setError(null);\n onRemove();\n setPreview(null);\n };\n\n return (\n <div className={cn(\"w-full\", className, classNames?.root)}>\n <div\n {...getRootProps()}\n className={cn(\"w-full\", classNames?.dropzone)}\n >\n <input {...getInputProps()} />\n\n {loading ? (\n // Loading state\n <div\n className={cn(\n \"flex flex-col items-center justify-center gap-3 rounded-lg border-2 border-dashed border-muted-foreground/25 bg-muted/50 py-12 text-center\",\n classNames?.emptyState\n )}\n >\n <Loader2 className=\"h-8 w-8 animate-spin text-muted-foreground\" />\n <p className=\"text-sm text-muted-foreground\">Processing image…</p>\n </div>\n ) : preview ? (\n // Preview state\n <div\n className={cn(\n \"relative w-full overflow-hidden rounded-lg border border-border\",\n \"aspect-square max-w-[400px] mx-auto sm:aspect-video sm:max-h-[200px] sm:max-w-none\", // sensible defaults\n \"cursor-pointer group/preview\",\n classNames?.preview\n )}\n >\n {/* Remove button */}\n <Button\n type=\"button\"\n onClick={handleRemove}\n variant=\"destructive\"\n size=\"icon\"\n aria-label=\"Remove image\"\n className={cn(\n \"absolute right-2 top-2 z-10 rounded-full h-8 w-8 shadow-lg opacity-0 group-hover/preview:opacity-100 transition-opacity\",\n classNames?.removeButton\n )}\n >\n <X className=\"h-4 w-4\" />\n </Button>\n\n {/* Swap overlay */}\n <div\n className={cn(\n \"absolute inset-0 z-5 bg-black/40 flex flex-col items-center justify-center opacity-0 group-hover/preview:opacity-100 transition-opacity\",\n classNames?.swapOverlay\n )}\n >\n <Upload className=\"w-8 h-8 text-white mb-2\" />\n <span className=\"text-sm font-bold text-white uppercase tracking-widest\">\n Swap Image\n </span>\n </div>\n\n {/* Ambient blurred background */}\n <div className=\"absolute inset-0 w-full h-full scale-110 blur-xl opacity-30\">\n <img\n sizes=\"(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw\"\n src={preview}\n alt=\"\"\n className=\"object-cover w-full h-full\"\n />\n </div>\n\n {/* Dark tint */}\n <div className=\"absolute inset-0 bg-neutral-900/40\" />\n\n {/* Main image */}\n <img\n sizes=\"(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw\"\n src={preview}\n alt={alt}\n className={cn(\n \"size-full object-cover transition-all duration-300 relative z-0\",\n classNames?.previewImage\n )}\n />\n </div>\n ) : (\n // Empty state\n <div\n className={cn(\n \"relative flex cursor-pointer flex-col items-center justify-center rounded-lg border-2 border-dashed border-muted-foreground/25 bg-muted/50 p-6 sm:p-12 text-center transition hover:bg-muted/80\",\n isDragActive && \"border-primary bg-primary/5\",\n disabled && \"opacity-50 cursor-not-allowed\",\n classNames?.emptyState\n )}\n >\n <div className=\"flex flex-col items-center gap-2 text-muted-foreground\">\n <div\n className={cn(\n \"rounded-full bg-background p-4 shadow-sm border border-border\",\n classNames?.emptyIcon\n )}\n >\n <Upload className=\"h-6 w-6\" />\n </div>\n <div className=\"flex flex-col gap-1\">\n <p className=\"text-sm font-semibold text-foreground\">\n Click to upload or drag and drop\n </p>\n <p className=\"text-xs\">\n PNG, JPG, WEBP or JPEG (max. {maxSize / (1024 * 1024)}MB)\n </p>\n </div>\n </div>\n </div>\n )}\n </div>\n\n {/* Error message */}\n {error && (\n <div\n role=\"alert\"\n className={cn(\n \"mt-2 flex items-center gap-2 text-sm text-destructive\",\n classNames?.error\n )}\n >\n <AlertCircle className=\"h-4 w-4 shrink-0\" />\n <span>{error}</span>\n </div>\n )}\n </div>\n );\n}"],"mappings":"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"}
@@ -1,8 +1,8 @@
1
- import { cn as e } from "../../node_modules/.bun/cnfast@0.0.8/node_modules/cnfast/dist/index.es.js";
2
- import { cva as t } from "../../node_modules/.bun/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.es.js";
3
- import { Button as n } from "./button.es.js";
4
- import { Input as r } from "./input.es.js";
5
- import { Textarea as i } from "./textarea.es.js";
1
+ import { cn as e } from "../../node_modules/.bun/cnfast@0.0.8/node_modules/cnfast/dist/index.js";
2
+ import { cva as t } from "../../node_modules/.bun/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.js";
3
+ import { Button as n } from "./button.js";
4
+ import { Input as r } from "./input.js";
5
+ import { Textarea as i } from "./textarea.js";
6
6
  import { jsx as a } from "react/jsx-runtime";
7
7
  import "react";
8
8
  //#region src/components/ui/input-group.tsx
@@ -76,4 +76,4 @@ function p({ className: t, ...n }) {
76
76
  //#endregion
77
77
  export { o as InputGroup, c as InputGroupAddon, u as InputGroupButton, f as InputGroupInput, d as InputGroupText, p as InputGroupTextarea };
78
78
 
79
- //# sourceMappingURL=input-group.es.js.map
79
+ //# sourceMappingURL=input-group.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"input-group.js","names":[],"sources":["../../../src/components/ui/input-group.tsx"],"sourcesContent":["import * as React from \"react\"\nimport { cva, type VariantProps } from \"class-variance-authority\"\n\nimport { cn } from \"../../lib/utils\"\nimport { Button } from \"./button\"\nimport { Input } from \"./input\"\nimport { Textarea } from \"./textarea\"\n\nfunction InputGroup({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"input-group\"\n role=\"group\"\n className={cn(\n \"group/input-group relative flex h-8 w-full min-w-0 items-center rounded-lg border border-input transition-colors outline-none in-data-[slot=combobox-content]:focus-within:border-inherit in-data-[slot=combobox-content]:focus-within:ring-0 has-disabled:bg-input/50 has-disabled:opacity-50 has-[[data-slot=input-group-control]:focus-visible]:border-ring has-[[data-slot=input-group-control]:focus-visible]:ring-3 has-[[data-slot=input-group-control]:focus-visible]:ring-ring/50 has-[[data-slot][aria-invalid=true]]:border-destructive has-[[data-slot][aria-invalid=true]]:ring-3 has-[[data-slot][aria-invalid=true]]:ring-destructive/20 has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:flex-col has-[>textarea]:h-auto dark:bg-input/30 dark:has-disabled:bg-input/80 dark:has-[[data-slot][aria-invalid=true]]:ring-destructive/40 has-[>[data-align=block-end]]:[&>input]:pt-3 has-[>[data-align=block-start]]:[&>input]:pb-3 has-[>[data-align=inline-end]]:[&>input]:pr-1.5 has-[>[data-align=inline-start]]:[&>input]:pl-1.5\",\n className\n )}\n {...props}\n />\n )\n}\n\nconst inputGroupAddonVariants = cva(\n \"flex h-auto cursor-text items-center justify-center gap-2 py-1.5 text-sm font-medium text-muted-foreground select-none group-data-[disabled=true]/input-group:opacity-50 [&>kbd]:rounded-[calc(var(--radius)-5px)] [&>svg:not([class*='size-'])]:size-4\",\n {\n variants: {\n align: {\n \"inline-start\":\n \"order-first pl-2 has-[>button]:ml-[-0.3rem] has-[>kbd]:ml-[-0.15rem]\",\n \"inline-end\":\n \"order-last pr-2 has-[>button]:mr-[-0.3rem] has-[>kbd]:mr-[-0.15rem]\",\n \"block-start\":\n \"order-first w-full justify-start px-2.5 pt-2 group-has-[>input]/input-group:pt-2 [.border-b]:pb-2\",\n \"block-end\":\n \"order-last w-full justify-start px-2.5 pb-2 group-has-[>input]/input-group:pb-2 [.border-t]:pt-2\",\n },\n },\n defaultVariants: {\n align: \"inline-start\",\n },\n }\n)\n\nfunction InputGroupAddon({\n className,\n align = \"inline-start\",\n ...props\n}: React.ComponentProps<\"div\"> & VariantProps<typeof inputGroupAddonVariants>) {\n return (\n <div\n role=\"group\"\n data-slot=\"input-group-addon\"\n data-align={align}\n className={cn(inputGroupAddonVariants({ align }), className)}\n onClick={(e) => {\n if ((e.target as HTMLElement).closest(\"button\")) {\n return\n }\n e.currentTarget.parentElement?.querySelector(\"input\")?.focus()\n }}\n {...props}\n />\n )\n}\n\nconst inputGroupButtonVariants = cva(\n \"flex items-center gap-2 text-sm shadow-none\",\n {\n variants: {\n size: {\n xs: \"h-6 gap-1 rounded-[calc(var(--radius)-3px)] px-1.5 [&>svg:not([class*='size-'])]:size-3.5\",\n sm: \"\",\n \"icon-xs\":\n \"size-6 rounded-[calc(var(--radius)-3px)] p-0 has-[>svg]:p-0\",\n \"icon-sm\": \"size-8 p-0 has-[>svg]:p-0\",\n },\n },\n defaultVariants: {\n size: \"xs\",\n },\n }\n)\n\nfunction InputGroupButton({\n className,\n type = \"button\",\n variant = \"ghost\",\n size = \"xs\",\n ...props\n}: Omit<React.ComponentProps<typeof Button>, \"size\" | \"type\"> &\n VariantProps<typeof inputGroupButtonVariants> & {\n type?: \"button\" | \"submit\" | \"reset\"\n }) {\n return (\n <Button\n type={type}\n data-size={size}\n variant={variant}\n className={cn(inputGroupButtonVariants({ size }), className)}\n {...props}\n />\n )\n}\n\nfunction InputGroupText({ className, ...props }: React.ComponentProps<\"span\">) {\n return (\n <span\n className={cn(\n \"flex items-center gap-2 text-sm text-muted-foreground [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4\",\n className\n )}\n {...props}\n />\n )\n}\n\nfunction InputGroupInput({\n className,\n ...props\n}: React.ComponentProps<\"input\">) {\n return (\n <Input\n data-slot=\"input-group-control\"\n className={cn(\n \"flex-1 rounded-none border-0 bg-transparent shadow-none ring-0 focus-visible:ring-0 disabled:bg-transparent aria-invalid:ring-0 dark:bg-transparent dark:disabled:bg-transparent\",\n className\n )}\n {...props}\n />\n )\n}\n\nfunction InputGroupTextarea({\n className,\n ...props\n}: React.ComponentProps<\"textarea\">) {\n return (\n <Textarea\n data-slot=\"input-group-control\"\n className={cn(\n \"flex-1 resize-none rounded-none border-0 bg-transparent py-2 shadow-none ring-0 focus-visible:ring-0 disabled:bg-transparent aria-invalid:ring-0 dark:bg-transparent dark:disabled:bg-transparent\",\n className\n )}\n {...props}\n />\n )\n}\n\nexport {\n InputGroup,\n InputGroupAddon,\n InputGroupButton,\n InputGroupText,\n InputGroupInput,\n InputGroupTextarea,\n}\n"],"mappings":";;;;;;;;AAQA,SAAS,EAAW,EAAE,cAAW,GAAG,KAAsC;CACxE,OACE,kBAAC,OAAD;EACE,aAAU;EACV,MAAK;EACL,WAAW,EACT,ylCACA,CACF;EACA,GAAI;CACL,CAAA;AAEL;AAEA,IAAM,IAA0B,EAC9B,2PACA;CACE,UAAU,EACR,OAAO;EACL,gBACE;EACF,cACE;EACF,eACE;EACF,aACE;CACJ,EACF;CACA,iBAAiB,EACf,OAAO,eACT;AACF,CACF;AAEA,SAAS,EAAgB,EACvB,cACA,WAAQ,gBACR,GAAG,KAC0E;CAC7E,OACE,kBAAC,OAAD;EACE,MAAK;EACL,aAAU;EACV,cAAY;EACZ,WAAW,EAAG,EAAwB,EAAE,SAAM,CAAC,GAAG,CAAS;EAC3D,UAAU,MAAM;GACT,EAAE,OAAuB,QAAQ,QAAQ,KAG9C,EAAE,cAAc,eAAe,cAAc,OAAO,CAAC,EAAE,MAAM;EAC/D;EACA,GAAI;CACL,CAAA;AAEL;AAEA,IAAM,IAA2B,EAC/B,+CACA;CACE,UAAU,EACR,MAAM;EACJ,IAAI;EACJ,IAAI;EACJ,WACE;EACF,WAAW;CACb,EACF;CACA,iBAAiB,EACf,MAAM,KACR;AACF,CACF;AAEA,SAAS,EAAiB,EACxB,cACA,UAAO,UACP,aAAU,SACV,UAAO,MACP,GAAG,KAIA;CACH,OACE,kBAAC,GAAD;EACQ;EACN,aAAW;EACF;EACT,WAAW,EAAG,EAAyB,EAAE,QAAK,CAAC,GAAG,CAAS;EAC3D,GAAI;CACL,CAAA;AAEL;AAEA,SAAS,EAAe,EAAE,cAAW,GAAG,KAAuC;CAC7E,OACE,kBAAC,QAAD;EACE,WAAW,EACT,0HACA,CACF;EACA,GAAI;CACL,CAAA;AAEL;AAEA,SAAS,EAAgB,EACvB,cACA,GAAG,KAC6B;CAChC,OACE,kBAAC,GAAD;EACE,aAAU;EACV,WAAW,EACT,oLACA,CACF;EACA,GAAI;CACL,CAAA;AAEL;AAEA,SAAS,EAAmB,EAC1B,cACA,GAAG,KACgC;CACnC,OACE,kBAAC,GAAD;EACE,aAAU;EACV,WAAW,EACT,qMACA,CACF;EACA,GAAI;CACL,CAAA;AAEL"}
@@ -1,5 +1,5 @@
1
- import { cn as e } from "../../node_modules/.bun/cnfast@0.0.8/node_modules/cnfast/dist/index.es.js";
2
- import { OTPInput as t, OTPInputContext as n } from "../../node_modules/.bun/input-otp@1.4.2_7492c01c6988791b/node_modules/input-otp/dist/index.es.js";
1
+ import { cn as e } from "../../node_modules/.bun/cnfast@0.0.8/node_modules/cnfast/dist/index.js";
2
+ import { OTPInput as t, OTPInputContext as n } from "../../node_modules/.bun/input-otp@1.4.2_7492c01c6988791b/node_modules/input-otp/dist/index.js";
3
3
  import { MinusIcon as r } from "lucide-react";
4
4
  import { jsx as i, jsxs as a } from "react/jsx-runtime";
5
5
  import * as o from "react";
@@ -45,4 +45,4 @@ function u({ ...e }) {
45
45
  //#endregion
46
46
  export { s as InputOTP, c as InputOTPGroup, u as InputOTPSeparator, l as InputOTPSlot };
47
47
 
48
- //# sourceMappingURL=input-otp.es.js.map
48
+ //# sourceMappingURL=input-otp.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"input-otp.js","names":[],"sources":["../../../src/components/ui/input-otp.tsx"],"sourcesContent":["import * as React from \"react\"\nimport { OTPInput, OTPInputContext } from \"input-otp\"\n\nimport { cn } from \"../../lib/utils\"\nimport { MinusIcon } from \"lucide-react\"\n\nfunction InputOTP({\n className,\n containerClassName,\n ...props\n}: React.ComponentProps<typeof OTPInput> & {\n containerClassName?: string\n}) {\n return (\n <OTPInput\n data-slot=\"input-otp\"\n containerClassName={cn(\n \"cn-input-otp flex items-center has-disabled:opacity-50\",\n containerClassName\n )}\n spellCheck={false}\n className={cn(\"disabled:cursor-not-allowed\", className)}\n {...props}\n />\n )\n}\n\nfunction InputOTPGroup({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"input-otp-group\"\n className={cn(\n \"flex items-center rounded-lg has-aria-invalid:border-destructive has-aria-invalid:ring-3 has-aria-invalid:ring-destructive/20 dark:has-aria-invalid:ring-destructive/40\",\n className\n )}\n {...props}\n />\n )\n}\n\nfunction InputOTPSlot({\n index,\n className,\n ...props\n}: React.ComponentProps<\"div\"> & {\n index: number\n}) {\n const inputOTPContext = React.useContext(OTPInputContext)\n const { char, hasFakeCaret, isActive } = inputOTPContext?.slots[index] ?? {}\n\n return (\n <div\n data-slot=\"input-otp-slot\"\n data-active={isActive}\n className={cn(\n \"relative flex size-8 items-center justify-center border-y border-r border-input text-sm transition-all outline-none first:rounded-l-lg first:border-l last:rounded-r-lg aria-invalid:border-destructive data-[active=true]:z-10 data-[active=true]:border-ring data-[active=true]:ring-3 data-[active=true]:ring-ring/50 data-[active=true]:aria-invalid:border-destructive data-[active=true]:aria-invalid:ring-destructive/20 dark:bg-input/30 dark:data-[active=true]:aria-invalid:ring-destructive/40\",\n className\n )}\n {...props}\n >\n {char}\n {hasFakeCaret && (\n <div className=\"pointer-events-none absolute inset-0 flex items-center justify-center\">\n <div className=\"h-4 w-px animate-caret-blink bg-foreground duration-1000\" />\n </div>\n )}\n </div>\n )\n}\n\nfunction InputOTPSeparator({ ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"input-otp-separator\"\n className=\"flex items-center [&_svg:not([class*='size-'])]:size-4\"\n role=\"separator\"\n {...props}\n >\n <MinusIcon\n />\n </div>\n )\n}\n\nexport { InputOTP, InputOTPGroup, InputOTPSlot, InputOTPSeparator }\n"],"mappings":";;;;;;AAMA,SAAS,EAAS,EAChB,cACA,uBACA,GAAG,KAGF;CACD,OACE,kBAAC,GAAD;EACE,aAAU;EACV,oBAAoB,EAClB,0DACA,CACF;EACA,YAAY;EACZ,WAAW,EAAG,+BAA+B,CAAS;EACtD,GAAI;CACL,CAAA;AAEL;AAEA,SAAS,EAAc,EAAE,cAAW,GAAG,KAAsC;CAC3E,OACE,kBAAC,OAAD;EACE,aAAU;EACV,WAAW,EACT,2KACA,CACF;EACA,GAAI;CACL,CAAA;AAEL;AAEA,SAAS,EAAa,EACpB,UACA,cACA,GAAG,KAGF;CAED,IAAM,EAAE,SAAM,iBAAc,gBADJ,EAAM,WAAW,CACA,CAAA,EAAiB,MAAM,MAAU,CAAC;CAE3E,OACE,kBAAC,OAAD;EACE,aAAU;EACV,eAAa;EACb,WAAW,EACT,6eACA,CACF;EACA,GAAI;YAPN,CASG,GACA,KACC,kBAAC,OAAD;GAAK,WAAU;aACb,kBAAC,OAAD,EAAK,WAAU,2DAA4D,CAAA;EACxE,CAAA,CAEJ;;AAET;AAEA,SAAS,EAAkB,EAAE,GAAG,KAAsC;CACpE,OACE,kBAAC,OAAD;EACE,aAAU;EACV,WAAU;EACV,MAAK;EACL,GAAI;YAEJ,kBAAC,GAAD,CACC,CAAA;CACE,CAAA;AAET"}
@@ -1,4 +1,4 @@
1
- import { cn as e } from "../../node_modules/.bun/cnfast@0.0.8/node_modules/cnfast/dist/index.es.js";
1
+ import { cn as e } from "../../node_modules/.bun/cnfast@0.0.8/node_modules/cnfast/dist/index.js";
2
2
  import { jsx as t } from "react/jsx-runtime";
3
3
  import "react";
4
4
  import { Input as n } from "@base-ui/react/input";
@@ -14,4 +14,4 @@ function r({ className: r, type: i, ...a }) {
14
14
  //#endregion
15
15
  export { r as Input };
16
16
 
17
- //# sourceMappingURL=input.es.js.map
17
+ //# sourceMappingURL=input.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"input.js","names":[],"sources":["../../../src/components/ui/input.tsx"],"sourcesContent":["import * as React from \"react\"\nimport { Input as InputPrimitive } from \"@base-ui/react/input\"\n\nimport { cn } from \"../../lib/utils\"\n\nfunction Input({ className, type, ...props }: React.ComponentProps<\"input\">) {\n return (\n <InputPrimitive\n type={type}\n data-slot=\"input\"\n className={cn(\n \"h-8 w-full min-w-0 rounded-lg border border-input bg-transparent px-2.5 py-1 text-base transition-colors outline-none file:inline-flex file:h-6 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:pointer-events-none disabled:cursor-not-allowed disabled:bg-input/50 disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-sm dark:bg-input/30 dark:disabled:bg-input/80 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40\",\n className\n )}\n {...props}\n />\n )\n}\n\nexport { Input }\n"],"mappings":";;;;;AAKA,SAAS,EAAM,EAAE,cAAW,SAAM,GAAG,KAAwC;CAC3E,OACE,kBAAC,GAAD;EACQ;EACN,aAAU;EACV,WAAW,EACT,+oBACA,CACF;EACA,GAAI;CACL,CAAA;AAEL"}
@@ -1,6 +1,6 @@
1
- import { cn as e } from "../../node_modules/.bun/cnfast@0.0.8/node_modules/cnfast/dist/index.es.js";
2
- import { cva as t } from "../../node_modules/.bun/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.es.js";
3
- import { Separator as n } from "./separator.es.js";
1
+ import { cn as e } from "../../node_modules/.bun/cnfast@0.0.8/node_modules/cnfast/dist/index.js";
2
+ import { cva as t } from "../../node_modules/.bun/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.js";
3
+ import { Separator as n } from "./separator.js";
4
4
  import { jsx as r } from "react/jsx-runtime";
5
5
  import "react";
6
6
  import { mergeProps as i } from "@base-ui/react/merge-props";
@@ -120,4 +120,4 @@ function _({ className: t, ...n }) {
120
120
  //#endregion
121
121
  export { l as Item, h as ItemActions, f as ItemContent, m as ItemDescription, _ as ItemFooter, o as ItemGroup, g as ItemHeader, d as ItemMedia, s as ItemSeparator, p as ItemTitle };
122
122
 
123
- //# sourceMappingURL=item.es.js.map
123
+ //# sourceMappingURL=item.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"item.js","names":[],"sources":["../../../src/components/ui/item.tsx"],"sourcesContent":["import * as React from \"react\"\nimport { mergeProps } from \"@base-ui/react/merge-props\"\nimport { useRender } from \"@base-ui/react/use-render\"\nimport { cva, type VariantProps } from \"class-variance-authority\"\n\nimport { cn } from \"../../lib/utils\"\nimport { Separator } from \"./separator\"\n\nfunction ItemGroup({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n role=\"list\"\n data-slot=\"item-group\"\n className={cn(\n \"group/item-group flex w-full flex-col gap-4 has-data-[size=sm]:gap-2.5 has-data-[size=xs]:gap-2\",\n className\n )}\n {...props}\n />\n )\n}\n\nfunction ItemSeparator({\n className,\n ...props\n}: React.ComponentProps<typeof Separator>) {\n return (\n <Separator\n data-slot=\"item-separator\"\n orientation=\"horizontal\"\n className={cn(\"my-2\", className)}\n {...props}\n />\n )\n}\n\nconst itemVariants = cva(\n \"group/item flex w-full flex-wrap items-center rounded-lg border text-sm transition-colors duration-100 outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 [a]:transition-colors [a]:hover:bg-muted\",\n {\n variants: {\n variant: {\n default: \"border-transparent\",\n outline: \"border-border\",\n muted: \"border-transparent bg-muted/50\",\n },\n size: {\n default: \"gap-2.5 px-3 py-2.5\",\n sm: \"gap-2.5 px-3 py-2.5\",\n xs: \"gap-2 px-2.5 py-2 in-data-[slot=dropdown-menu-content]:p-0\",\n },\n },\n defaultVariants: {\n variant: \"default\",\n size: \"default\",\n },\n }\n)\n\nfunction Item({\n className,\n variant = \"default\",\n size = \"default\",\n render,\n ...props\n}: useRender.ComponentProps<\"div\"> & VariantProps<typeof itemVariants>) {\n return useRender({\n defaultTagName: \"div\",\n props: mergeProps<\"div\">(\n {\n className: cn(itemVariants({ variant, size, className })),\n },\n props\n ),\n render,\n state: {\n slot: \"item\",\n variant,\n size,\n },\n })\n}\n\nconst itemMediaVariants = cva(\n \"flex shrink-0 items-center justify-center gap-2 group-has-data-[slot=item-description]/item:translate-y-0.5 group-has-data-[slot=item-description]/item:self-start [&_svg]:pointer-events-none\",\n {\n variants: {\n variant: {\n default: \"bg-transparent\",\n icon: \"[&_svg:not([class*='size-'])]:size-4\",\n image:\n \"size-10 overflow-hidden rounded-sm group-data-[size=sm]/item:size-8 group-data-[size=xs]/item:size-6 [&_img]:size-full [&_img]:object-cover\",\n },\n },\n defaultVariants: {\n variant: \"default\",\n },\n }\n)\n\nfunction ItemMedia({\n className,\n variant = \"default\",\n ...props\n}: React.ComponentProps<\"div\"> & VariantProps<typeof itemMediaVariants>) {\n return (\n <div\n data-slot=\"item-media\"\n data-variant={variant}\n className={cn(itemMediaVariants({ variant, className }))}\n {...props}\n />\n )\n}\n\nfunction ItemContent({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"item-content\"\n className={cn(\n \"flex flex-1 flex-col gap-1 group-data-[size=xs]/item:gap-0 [&+[data-slot=item-content]]:flex-none\",\n className\n )}\n {...props}\n />\n )\n}\n\nfunction ItemTitle({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"item-title\"\n className={cn(\n \"line-clamp-1 flex w-fit items-center gap-2 text-sm leading-snug font-medium underline-offset-4\",\n className\n )}\n {...props}\n />\n )\n}\n\nfunction ItemDescription({ className, ...props }: React.ComponentProps<\"p\">) {\n return (\n <p\n data-slot=\"item-description\"\n className={cn(\n \"line-clamp-2 text-left text-sm leading-normal font-normal text-muted-foreground group-data-[size=xs]/item:text-xs [&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary\",\n className\n )}\n {...props}\n />\n )\n}\n\nfunction ItemActions({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"item-actions\"\n className={cn(\"flex items-center gap-2\", className)}\n {...props}\n />\n )\n}\n\nfunction ItemHeader({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"item-header\"\n className={cn(\n \"flex basis-full items-center justify-between gap-2\",\n className\n )}\n {...props}\n />\n )\n}\n\nfunction ItemFooter({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"item-footer\"\n className={cn(\n \"flex basis-full items-center justify-between gap-2\",\n className\n )}\n {...props}\n />\n )\n}\n\nexport {\n Item,\n ItemMedia,\n ItemContent,\n ItemActions,\n ItemGroup,\n ItemSeparator,\n ItemTitle,\n ItemDescription,\n ItemHeader,\n ItemFooter,\n}\n"],"mappings":";;;;;;;;AAQA,SAAS,EAAU,EAAE,cAAW,GAAG,KAAsC;CACvE,OACE,kBAAC,OAAD;EACE,MAAK;EACL,aAAU;EACV,WAAW,EACT,mGACA,CACF;EACA,GAAI;CACL,CAAA;AAEL;AAEA,SAAS,EAAc,EACrB,cACA,GAAG,KACsC;CACzC,OACE,kBAAC,GAAD;EACE,aAAU;EACV,aAAY;EACZ,WAAW,EAAG,QAAQ,CAAS;EAC/B,GAAI;CACL,CAAA;AAEL;AAEA,IAAM,IAAe,EACnB,8OACA;CACE,UAAU;EACR,SAAS;GACP,SAAS;GACT,SAAS;GACT,OAAO;EACT;EACA,MAAM;GACJ,SAAS;GACT,IAAI;GACJ,IAAI;EACN;CACF;CACA,iBAAiB;EACf,SAAS;EACT,MAAM;CACR;AACF,CACF;AAEA,SAAS,EAAK,EACZ,cACA,aAAU,WACV,UAAO,WACP,WACA,GAAG,KACmE;CACtE,OAAO,EAAU;EACf,gBAAgB;EAChB,OAAO,EACL,EACE,WAAW,EAAG,EAAa;GAAE;GAAS;GAAM;EAAU,CAAC,CAAC,EAC1D,GACA,CACF;EACA;EACA,OAAO;GACL,MAAM;GACN;GACA;EACF;CACF,CAAC;AACH;AAEA,IAAM,IAAoB,EACxB,kMACA;CACE,UAAU,EACR,SAAS;EACP,SAAS;EACT,MAAM;EACN,OACE;CACJ,EACF;CACA,iBAAiB,EACf,SAAS,UACX;AACF,CACF;AAEA,SAAS,EAAU,EACjB,cACA,aAAU,WACV,GAAG,KACoE;CACvE,OACE,kBAAC,OAAD;EACE,aAAU;EACV,gBAAc;EACd,WAAW,EAAG,EAAkB;GAAE;GAAS;EAAU,CAAC,CAAC;EACvD,GAAI;CACL,CAAA;AAEL;AAEA,SAAS,EAAY,EAAE,cAAW,GAAG,KAAsC;CACzE,OACE,kBAAC,OAAD;EACE,aAAU;EACV,WAAW,EACT,qGACA,CACF;EACA,GAAI;CACL,CAAA;AAEL;AAEA,SAAS,EAAU,EAAE,cAAW,GAAG,KAAsC;CACvE,OACE,kBAAC,OAAD;EACE,aAAU;EACV,WAAW,EACT,kGACA,CACF;EACA,GAAI;CACL,CAAA;AAEL;AAEA,SAAS,EAAgB,EAAE,cAAW,GAAG,KAAoC;CAC3E,OACE,kBAAC,KAAD;EACE,aAAU;EACV,WAAW,EACT,uLACA,CACF;EACA,GAAI;CACL,CAAA;AAEL;AAEA,SAAS,EAAY,EAAE,cAAW,GAAG,KAAsC;CACzE,OACE,kBAAC,OAAD;EACE,aAAU;EACV,WAAW,EAAG,2BAA2B,CAAS;EAClD,GAAI;CACL,CAAA;AAEL;AAEA,SAAS,EAAW,EAAE,cAAW,GAAG,KAAsC;CACxE,OACE,kBAAC,OAAD;EACE,aAAU;EACV,WAAW,EACT,sDACA,CACF;EACA,GAAI;CACL,CAAA;AAEL;AAEA,SAAS,EAAW,EAAE,cAAW,GAAG,KAAsC;CACxE,OACE,kBAAC,OAAD;EACE,aAAU;EACV,WAAW,EACT,sDACA,CACF;EACA,GAAI;CACL,CAAA;AAEL"}
@@ -1,4 +1,4 @@
1
- import { cn as e } from "../../node_modules/.bun/cnfast@0.0.8/node_modules/cnfast/dist/index.es.js";
1
+ import { cn as e } from "../../node_modules/.bun/cnfast@0.0.8/node_modules/cnfast/dist/index.js";
2
2
  import { jsx as t } from "react/jsx-runtime";
3
3
  import "react";
4
4
  //#region src/components/ui/kbd.tsx
@@ -19,4 +19,4 @@ function r({ className: n, ...r }) {
19
19
  //#endregion
20
20
  export { n as Kbd, r as KbdGroup };
21
21
 
22
- //# sourceMappingURL=kbd.es.js.map
22
+ //# sourceMappingURL=kbd.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"kbd.js","names":[],"sources":["../../../src/components/ui/kbd.tsx"],"sourcesContent":["import * as React from \"react\"\n\nimport { cn } from \"../../lib/utils\"\n\nfunction Kbd({ className, ...props }: React.ComponentProps<\"kbd\">) {\n return (\n <kbd\n data-slot=\"kbd\"\n className={cn(\n \"pointer-events-none inline-flex h-5 w-fit min-w-5 items-center justify-center gap-1 rounded-sm bg-muted px-1 font-sans text-xs font-medium text-muted-foreground select-none in-data-[slot=tooltip-content]:bg-background/20 in-data-[slot=tooltip-content]:text-background dark:in-data-[slot=tooltip-content]:bg-background/10 [&_svg:not([class*='size-'])]:size-3\",\n className\n )}\n {...props}\n />\n )\n}\n\nfunction KbdGroup({ className, ...props }: React.ComponentProps<\"kbd\">) {\n return (\n <kbd\n data-slot=\"kbd-group\"\n className={cn(\"inline-flex items-center gap-1\", className)}\n {...props}\n />\n )\n}\n\nexport { Kbd, KbdGroup }\n"],"mappings":";;;;AAIA,SAAS,EAAI,EAAE,cAAW,GAAG,KAAsC;CACjE,OACE,kBAAC,OAAD;EACE,aAAU;EACV,WAAW,EACT,yWACA,CACF;EACA,GAAI;CACL,CAAA;AAEL;AAEA,SAAS,EAAS,EAAE,cAAW,GAAG,KAAsC;CACtE,OACE,kBAAC,OAAD;EACE,aAAU;EACV,WAAW,EAAG,kCAAkC,CAAS;EACzD,GAAI;CACL,CAAA;AAEL"}
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { cn as e } from "../../node_modules/.bun/cnfast@0.0.8/node_modules/cnfast/dist/index.es.js";
2
+ import { cn as e } from "../../node_modules/.bun/cnfast@0.0.8/node_modules/cnfast/dist/index.js";
3
3
  import { jsx as t } from "react/jsx-runtime";
4
4
  import "react";
5
5
  //#region src/components/ui/label.tsx
@@ -13,4 +13,4 @@ function n({ className: n, ...r }) {
13
13
  //#endregion
14
14
  export { n as Label };
15
15
 
16
- //# sourceMappingURL=label.es.js.map
16
+ //# sourceMappingURL=label.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"label.js","names":[],"sources":["../../../src/components/ui/label.tsx"],"sourcesContent":["\"use client\"\n\nimport * as React from \"react\"\n\nimport { cn } from \"../../lib/utils\"\n\nfunction Label({ className, ...props }: React.ComponentProps<\"label\">) {\n return (\n <label\n data-slot=\"label\"\n className={cn(\n \"flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50\",\n className\n )}\n {...props}\n />\n )\n}\n\nexport { Label }\n"],"mappings":";;;;;AAMA,SAAS,EAAM,EAAE,cAAW,GAAG,KAAwC;CACrE,OACE,kBAAC,SAAD;EACE,aAAU;EACV,WAAW,EACT,uNACA,CACF;EACA,GAAI;CACL,CAAA;AAEL"}
@@ -1,5 +1,5 @@
1
- import { cn as e } from "../../node_modules/.bun/cnfast@0.0.8/node_modules/cnfast/dist/index.es.js";
2
- import { cva as t } from "../../node_modules/.bun/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.es.js";
1
+ import { cn as e } from "../../node_modules/.bun/cnfast@0.0.8/node_modules/cnfast/dist/index.js";
2
+ import { cva as t } from "../../node_modules/.bun/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.js";
3
3
  import { jsx as n } from "react/jsx-runtime";
4
4
  import "react";
5
5
  import { mergeProps as r } from "@base-ui/react/merge-props";
@@ -42,4 +42,4 @@ function c({ className: t, ...r }) {
42
42
  //#endregion
43
43
  export { o as Marker, c as MarkerContent, s as MarkerIcon, a as markerVariants };
44
44
 
45
- //# sourceMappingURL=marker.es.js.map
45
+ //# sourceMappingURL=marker.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"marker.js","names":[],"sources":["../../../src/components/ui/marker.tsx"],"sourcesContent":["import * as React from \"react\"\nimport { mergeProps } from \"@base-ui/react/merge-props\"\nimport { useRender } from \"@base-ui/react/use-render\"\nimport { cva, type VariantProps } from \"class-variance-authority\"\n\nimport { cn } from \"../../lib/utils\"\n\nconst markerVariants = cva(\n \"group/marker relative flex min-h-4 w-full items-center gap-2 text-left text-sm text-muted-foreground [&_svg:not([class*='size-'])]:size-4 [a]:underline [a]:underline-offset-3 [a]:hover:text-foreground\",\n {\n variants: {\n variant: {\n default: \"\",\n separator:\n \"before:mr-1 before:h-px before:min-w-0 before:flex-1 before:bg-border after:ml-1 after:h-px after:min-w-0 after:flex-1 after:bg-border\",\n border: \"border-b border-border pb-2\",\n },\n },\n }\n)\n\nfunction Marker({\n className,\n variant = \"default\",\n render,\n ...props\n}: useRender.ComponentProps<\"div\"> & VariantProps<typeof markerVariants>) {\n return useRender({\n defaultTagName: \"div\",\n props: mergeProps<\"div\">(\n {\n className: cn(markerVariants({ variant, className })),\n },\n props\n ),\n render,\n state: {\n slot: \"marker\",\n variant,\n },\n })\n}\n\nfunction MarkerIcon({ className, ...props }: React.ComponentProps<\"span\">) {\n return (\n <span\n data-slot=\"marker-icon\"\n aria-hidden=\"true\"\n className={cn(\n \"size-4 shrink-0 [&_svg:not([class*='size-'])]:size-4\",\n className\n )}\n {...props}\n />\n )\n}\n\nfunction MarkerContent({ className, ...props }: React.ComponentProps<\"span\">) {\n return (\n <span\n data-slot=\"marker-content\"\n className={cn(\n \"min-w-0 wrap-break-word group-data-[variant=separator]/marker:flex-none group-data-[variant=separator]/marker:text-center *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground\",\n className\n )}\n {...props}\n />\n )\n}\n\nexport { Marker, MarkerIcon, MarkerContent, markerVariants }\n"],"mappings":";;;;;;;AAOA,IAAM,IAAiB,EACrB,4MACA,EACE,UAAU,EACR,SAAS;CACP,SAAS;CACT,WACE;CACF,QAAQ;AACV,EACF,EACF,CACF;AAEA,SAAS,EAAO,EACd,cACA,aAAU,WACV,WACA,GAAG,KACqE;CACxE,OAAO,EAAU;EACf,gBAAgB;EAChB,OAAO,EACL,EACE,WAAW,EAAG,EAAe;GAAE;GAAS;EAAU,CAAC,CAAC,EACtD,GACA,CACF;EACA;EACA,OAAO;GACL,MAAM;GACN;EACF;CACF,CAAC;AACH;AAEA,SAAS,EAAW,EAAE,cAAW,GAAG,KAAuC;CACzE,OACE,kBAAC,QAAD;EACE,aAAU;EACV,eAAY;EACZ,WAAW,EACT,wDACA,CACF;EACA,GAAI;CACL,CAAA;AAEL;AAEA,SAAS,EAAc,EAAE,cAAW,GAAG,KAAuC;CAC5E,OACE,kBAAC,QAAD;EACE,aAAU;EACV,WAAW,EACT,kMACA,CACF;EACA,GAAI;CACL,CAAA;AAEL"}