@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
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.es.js","names":[],"sources":["../../../../../../../../../../node_modules/.bun/@radix-ui+react-focus-guards@1.1.4+93dbe784b8baa420/node_modules/@radix-ui/react-focus-guards/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// src/focus-guards.tsx\nimport * as React from \"react\";\nvar count = 0;\nvar guards = null;\nfunction FocusGuards(props) {\n useFocusGuards();\n return props.children;\n}\nfunction useFocusGuards() {\n React.useEffect(() => {\n if (!guards) {\n guards = { start: createFocusGuard(), end: createFocusGuard() };\n }\n const { start, end } = guards;\n if (document.body.firstElementChild !== start) {\n document.body.insertAdjacentElement(\"afterbegin\", start);\n }\n if (document.body.lastElementChild !== end) {\n document.body.insertAdjacentElement(\"beforeend\", end);\n }\n count++;\n return () => {\n if (count === 1) {\n guards?.start.remove();\n guards?.end.remove();\n guards = null;\n }\n count = Math.max(0, count - 1);\n };\n }, []);\n}\nfunction createFocusGuard() {\n const element = document.createElement(\"span\");\n element.setAttribute(\"data-radix-focus-guard\", \"\");\n element.tabIndex = 0;\n element.style.outline = \"none\";\n element.style.opacity = \"0\";\n element.style.position = \"fixed\";\n element.style.pointerEvents = \"none\";\n return element;\n}\nexport {\n FocusGuards,\n FocusGuards as Root,\n useFocusGuards\n};\n//# sourceMappingURL=index.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;AAIA,IAAI,IAAQ,GACR,IAAS;AAKb,SAAS,IAAiB;CACxB,EAAM,gBAAgB;EACpB,AACE,MAAS;GAAE,OAAO,EAAiB;GAAG,KAAK,EAAiB;EAAE;EAEhE,IAAM,EAAE,UAAO,WAAQ;EAQvB,OAPI,SAAS,KAAK,sBAAsB,KACtC,SAAS,KAAK,sBAAsB,cAAc,CAAK,GAErD,SAAS,KAAK,qBAAqB,KACrC,SAAS,KAAK,sBAAsB,aAAa,CAAG,GAEtD,WACa;GAMX,AALI,MAAU,MACZ,GAAQ,MAAM,OAAO,GACrB,GAAQ,IAAI,OAAO,GACnB,IAAS,OAEX,IAAQ,KAAK,IAAI,GAAG,IAAQ,CAAC;EAC/B;CACF,GAAG,CAAC,CAAC;AACP;AACA,SAAS,IAAmB;CAC1B,IAAM,IAAU,SAAS,cAAc,MAAM;CAO7C,OANA,EAAQ,aAAa,0BAA0B,EAAE,GACjD,EAAQ,WAAW,GACnB,EAAQ,MAAM,UAAU,QACxB,EAAQ,MAAM,UAAU,KACxB,EAAQ,MAAM,WAAW,SACzB,EAAQ,MAAM,gBAAgB,QACvB;AACT"}
@@ -1,2 +0,0 @@
1
- "use client";const e=require("../../../../../../../_virtual/_rolldown/runtime.cjs.js"),t=require("../../../../../@radix-ui_react-compose-refs@1.1.3_93dbe784b8baa420/node_modules/@radix-ui/react-compose-refs/dist/index.cjs.js"),n=require("../../../../../@radix-ui_react-primitive@2.1.7_ae2b4604ef263bc9/node_modules/@radix-ui/react-primitive/dist/index.cjs.js"),r=require("../../../../../@radix-ui_react-use-callback-ref@1.1.2_93dbe784b8baa420/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs.js");let i=require("react/jsx-runtime"),a=require("react");a=e.__toESM(a,1);var o=`focusScope.autoFocusOnMount`,s=`focusScope.autoFocusOnUnmount`,c={bubbles:!1,cancelable:!0},l=`FocusScope`,u=a.forwardRef((e,l)=>{let{loop:u=!1,trapped:m=!1,onMountAutoFocus:h,onUnmountAutoFocus:g,...y}=e,[b,S]=a.useState(null),C=r.useCallbackRef(h),w=r.useCallbackRef(g),T=a.useRef(null),E=t.useComposedRefs(l,S),D=a.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;a.useEffect(()=>{if(m){let e=function(e){if(D.paused||!b)return;let t=e.target;b.contains(t)?T.current=t:_(T.current,{select:!0})},t=function(e){if(D.paused||!b)return;let t=e.relatedTarget;t!==null&&(b.contains(t)||_(T.current,{select:!0}))},n=function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&_(b)};document.addEventListener(`focusin`,e),document.addEventListener(`focusout`,t);let r=new MutationObserver(n);return b&&r.observe(b,{childList:!0,subtree:!0}),()=>{document.removeEventListener(`focusin`,e),document.removeEventListener(`focusout`,t),r.disconnect()}}},[m,b,D.paused]),a.useEffect(()=>{if(b){v.add(D);let e=document.activeElement;if(!b.contains(e)){let t=new CustomEvent(o,c);b.addEventListener(o,C),b.dispatchEvent(t),t.defaultPrevented||(d(x(p(b)),{select:!0}),document.activeElement===e&&_(b))}return()=>{b.removeEventListener(o,C),setTimeout(()=>{let t=new CustomEvent(s,c);b.addEventListener(s,w),b.dispatchEvent(t),t.defaultPrevented||_(e??document.body,{select:!0}),b.removeEventListener(s,w),v.remove(D)},0)}}},[b,C,w,D]);let O=a.useCallback(e=>{if(!u&&!m||D.paused)return;let t=e.key===`Tab`&&!e.altKey&&!e.ctrlKey&&!e.metaKey,n=document.activeElement;if(t&&n){let t=e.currentTarget,[r,i]=f(t);r&&i?!e.shiftKey&&n===i?(e.preventDefault(),u&&_(r,{select:!0})):e.shiftKey&&n===r&&(e.preventDefault(),u&&_(i,{select:!0})):n===t&&e.preventDefault()}},[u,m,D.paused]);return(0,i.jsx)(n.Primitive.div,{tabIndex:-1,...y,ref:E,onKeyDown:O})});u.displayName=l;function d(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(_(r,{select:t}),document.activeElement!==n)return}function f(e){let t=p(e);return[m(t,e),m(t.reverse(),e)]}function p(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t=e.tagName===`INPUT`&&e.type===`hidden`;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function m(e,t){let n=typeof t.checkVisibility==`function`&&t.checkVisibility({checkVisibilityCSS:!0});for(let r of e)if(!(n?!r.checkVisibility({checkVisibilityCSS:!0}):h(r,{upTo:t})))return r}function h(e,{upTo:t}){if(getComputedStyle(e).visibility===`hidden`)return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display===`none`)return!0;e=e.parentElement}return!1}function g(e){return e instanceof HTMLInputElement&&`select`in e}function _(e,{select:t=!1}={}){if(e&&e.focus){let n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&g(e)&&t&&e.select()}}var v=y();function y(){let e=[];return{add(t){let n=e[0];t!==n&&n?.pause(),e=b(e,t),e.unshift(t)},remove(t){e=b(e,t),e[0]?.resume()}}}function b(e,t){let n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function x(e){return e.filter(e=>e.tagName!==`A`)}exports.FocusScope=u;
2
- //# sourceMappingURL=index.cjs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs.js","names":["React","useCallbackRef","useComposedRefs","Primitive"],"sources":["../../../../../../../../../../node_modules/.bun/@radix-ui+react-focus-scope@1.1.12+ae2b4604ef263bc9/node_modules/@radix-ui/react-focus-scope/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// src/focus-scope.tsx\nimport * as React from \"react\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { useCallbackRef } from \"@radix-ui/react-use-callback-ref\";\nimport { jsx } from \"react/jsx-runtime\";\nvar AUTOFOCUS_ON_MOUNT = \"focusScope.autoFocusOnMount\";\nvar AUTOFOCUS_ON_UNMOUNT = \"focusScope.autoFocusOnUnmount\";\nvar EVENT_OPTIONS = { bubbles: false, cancelable: true };\nvar FOCUS_SCOPE_NAME = \"FocusScope\";\nvar FocusScope = React.forwardRef((props, forwardedRef) => {\n const {\n loop = false,\n trapped = false,\n onMountAutoFocus: onMountAutoFocusProp,\n onUnmountAutoFocus: onUnmountAutoFocusProp,\n ...scopeProps\n } = props;\n const [container, setContainer] = React.useState(null);\n const onMountAutoFocus = useCallbackRef(onMountAutoFocusProp);\n const onUnmountAutoFocus = useCallbackRef(onUnmountAutoFocusProp);\n const lastFocusedElementRef = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, setContainer);\n const focusScope = React.useRef({\n paused: false,\n pause() {\n this.paused = true;\n },\n resume() {\n this.paused = false;\n }\n }).current;\n React.useEffect(() => {\n if (trapped) {\n let handleFocusIn2 = function(event) {\n if (focusScope.paused || !container) return;\n const target = event.target;\n if (container.contains(target)) {\n lastFocusedElementRef.current = target;\n } else {\n focus(lastFocusedElementRef.current, { select: true });\n }\n }, handleFocusOut2 = function(event) {\n if (focusScope.paused || !container) return;\n const relatedTarget = event.relatedTarget;\n if (relatedTarget === null) return;\n if (!container.contains(relatedTarget)) {\n focus(lastFocusedElementRef.current, { select: true });\n }\n }, handleMutations2 = function(mutations) {\n const focusedElement = document.activeElement;\n if (focusedElement !== document.body) return;\n for (const mutation of mutations) {\n if (mutation.removedNodes.length > 0) focus(container);\n }\n };\n var handleFocusIn = handleFocusIn2, handleFocusOut = handleFocusOut2, handleMutations = handleMutations2;\n document.addEventListener(\"focusin\", handleFocusIn2);\n document.addEventListener(\"focusout\", handleFocusOut2);\n const mutationObserver = new MutationObserver(handleMutations2);\n if (container) mutationObserver.observe(container, { childList: true, subtree: true });\n return () => {\n document.removeEventListener(\"focusin\", handleFocusIn2);\n document.removeEventListener(\"focusout\", handleFocusOut2);\n mutationObserver.disconnect();\n };\n }\n }, [trapped, container, focusScope.paused]);\n React.useEffect(() => {\n if (container) {\n focusScopesStack.add(focusScope);\n const previouslyFocusedElement = document.activeElement;\n const hasFocusedCandidate = container.contains(previouslyFocusedElement);\n if (!hasFocusedCandidate) {\n const mountEvent = new CustomEvent(AUTOFOCUS_ON_MOUNT, EVENT_OPTIONS);\n container.addEventListener(AUTOFOCUS_ON_MOUNT, onMountAutoFocus);\n container.dispatchEvent(mountEvent);\n if (!mountEvent.defaultPrevented) {\n focusFirst(removeLinks(getTabbableCandidates(container)), { select: true });\n if (document.activeElement === previouslyFocusedElement) {\n focus(container);\n }\n }\n }\n return () => {\n container.removeEventListener(AUTOFOCUS_ON_MOUNT, onMountAutoFocus);\n setTimeout(() => {\n const unmountEvent = new CustomEvent(AUTOFOCUS_ON_UNMOUNT, EVENT_OPTIONS);\n container.addEventListener(AUTOFOCUS_ON_UNMOUNT, onUnmountAutoFocus);\n container.dispatchEvent(unmountEvent);\n if (!unmountEvent.defaultPrevented) {\n focus(previouslyFocusedElement ?? document.body, { select: true });\n }\n container.removeEventListener(AUTOFOCUS_ON_UNMOUNT, onUnmountAutoFocus);\n focusScopesStack.remove(focusScope);\n }, 0);\n };\n }\n }, [container, onMountAutoFocus, onUnmountAutoFocus, focusScope]);\n const handleKeyDown = React.useCallback(\n (event) => {\n if (!loop && !trapped) return;\n if (focusScope.paused) return;\n const isTabKey = event.key === \"Tab\" && !event.altKey && !event.ctrlKey && !event.metaKey;\n const focusedElement = document.activeElement;\n if (isTabKey && focusedElement) {\n const container2 = event.currentTarget;\n const [first, last] = getTabbableEdges(container2);\n const hasTabbableElementsInside = first && last;\n if (!hasTabbableElementsInside) {\n if (focusedElement === container2) event.preventDefault();\n } else {\n if (!event.shiftKey && focusedElement === last) {\n event.preventDefault();\n if (loop) focus(first, { select: true });\n } else if (event.shiftKey && focusedElement === first) {\n event.preventDefault();\n if (loop) focus(last, { select: true });\n }\n }\n }\n },\n [loop, trapped, focusScope.paused]\n );\n return /* @__PURE__ */ jsx(Primitive.div, { tabIndex: -1, ...scopeProps, ref: composedRefs, onKeyDown: handleKeyDown });\n});\nFocusScope.displayName = FOCUS_SCOPE_NAME;\nfunction focusFirst(candidates, { select = false } = {}) {\n const previouslyFocusedElement = document.activeElement;\n for (const candidate of candidates) {\n focus(candidate, { select });\n if (document.activeElement !== previouslyFocusedElement) return;\n }\n}\nfunction getTabbableEdges(container) {\n const candidates = getTabbableCandidates(container);\n const first = findVisible(candidates, container);\n const last = findVisible(candidates.reverse(), container);\n return [first, last];\n}\nfunction getTabbableCandidates(container) {\n const nodes = [];\n const walker = document.createTreeWalker(container, NodeFilter.SHOW_ELEMENT, {\n acceptNode: (node) => {\n const isHiddenInput = node.tagName === \"INPUT\" && node.type === \"hidden\";\n if (node.disabled || node.hidden || isHiddenInput) return NodeFilter.FILTER_SKIP;\n return node.tabIndex >= 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;\n }\n });\n while (walker.nextNode()) nodes.push(walker.currentNode);\n return nodes;\n}\nfunction findVisible(elements, container) {\n const canUseCheckVisibility = typeof container.checkVisibility === \"function\" && container.checkVisibility({ checkVisibilityCSS: true });\n for (const element of elements) {\n const hidden = canUseCheckVisibility ? !element.checkVisibility({ checkVisibilityCSS: true }) : isHidden(element, { upTo: container });\n if (!hidden) {\n return element;\n }\n }\n}\nfunction isHidden(node, { upTo }) {\n if (getComputedStyle(node).visibility === \"hidden\") return true;\n while (node) {\n if (upTo !== void 0 && node === upTo) return false;\n if (getComputedStyle(node).display === \"none\") return true;\n node = node.parentElement;\n }\n return false;\n}\nfunction isSelectableInput(element) {\n return element instanceof HTMLInputElement && \"select\" in element;\n}\nfunction focus(element, { select = false } = {}) {\n if (element && element.focus) {\n const previouslyFocusedElement = document.activeElement;\n element.focus({ preventScroll: true });\n if (element !== previouslyFocusedElement && isSelectableInput(element) && select)\n element.select();\n }\n}\nvar focusScopesStack = createFocusScopesStack();\nfunction createFocusScopesStack() {\n let stack = [];\n return {\n add(focusScope) {\n const activeFocusScope = stack[0];\n if (focusScope !== activeFocusScope) {\n activeFocusScope?.pause();\n }\n stack = arrayRemove(stack, focusScope);\n stack.unshift(focusScope);\n },\n remove(focusScope) {\n stack = arrayRemove(stack, focusScope);\n stack[0]?.resume();\n }\n };\n}\nfunction arrayRemove(array, item) {\n const updatedArray = [...array];\n const index = updatedArray.indexOf(item);\n if (index !== -1) {\n updatedArray.splice(index, 1);\n }\n return updatedArray;\n}\nfunction removeLinks(items) {\n return items.filter((item) => item.tagName !== \"A\");\n}\nvar Root = FocusScope;\nexport {\n FocusScope,\n Root\n};\n//# sourceMappingURL=index.mjs.map\n"],"x_google_ignoreList":[0],"mappings":"okBAQA,IAAI,EAAqB,8BACrB,EAAuB,gCACvB,EAAgB,CAAE,QAAS,GAAO,WAAY,EAAK,EACnD,EAAmB,aACnB,EAAaA,EAAM,YAAY,EAAO,IAAiB,CACzD,GAAM,CACJ,OAAO,GACP,UAAU,GACV,iBAAkB,EAClB,mBAAoB,EACpB,GAAG,GACD,EACE,CAAC,EAAW,GAAgBA,EAAM,SAAS,IAAI,EAC/C,EAAmBC,EAAAA,eAAe,CAAoB,EACtD,EAAqBA,EAAAA,eAAe,CAAsB,EAC1D,EAAwBD,EAAM,OAAO,IAAI,EACzC,EAAeE,EAAAA,gBAAgB,EAAc,CAAY,EACzD,EAAaF,EAAM,OAAO,CAC9B,OAAQ,GACR,OAAQ,CACN,KAAK,OAAS,EAChB,EACA,QAAS,CACP,KAAK,OAAS,EAChB,CACF,CAAC,CAAC,CAAC,QACH,EAAM,cAAgB,CACpB,GAAI,EAAS,CACX,IAAI,EAAiB,SAAS,EAAO,CACnC,GAAI,EAAW,QAAU,CAAC,EAAW,OACrC,IAAM,EAAS,EAAM,OACjB,EAAU,SAAS,CAAM,EAC3B,EAAsB,QAAU,EAEhC,EAAM,EAAsB,QAAS,CAAE,OAAQ,EAAK,CAAC,CAEzD,EAAG,EAAkB,SAAS,EAAO,CACnC,GAAI,EAAW,QAAU,CAAC,EAAW,OACrC,IAAM,EAAgB,EAAM,cACxB,IAAkB,OACjB,EAAU,SAAS,CAAa,GACnC,EAAM,EAAsB,QAAS,CAAE,OAAQ,EAAK,CAAC,EAEzD,EAAG,EAAmB,SAAS,EAAW,CACjB,YAAS,gBACT,SAAS,KAChC,IAAK,IAAM,KAAY,EACjB,EAAS,aAAa,OAAS,GAAG,EAAM,CAAS,CAEzD,EAEA,SAAS,iBAAiB,UAAW,CAAc,EACnD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CACT,CACA,SAAS,EAAY,EAAO,CAC1B,OAAO,EAAM,OAAQ,GAAS,EAAK,UAAY,GAAG,CACpD"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.es.js","names":[],"sources":["../../../../../../../../../../node_modules/.bun/@radix-ui+react-focus-scope@1.1.12+ae2b4604ef263bc9/node_modules/@radix-ui/react-focus-scope/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// src/focus-scope.tsx\nimport * as React from \"react\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { useCallbackRef } from \"@radix-ui/react-use-callback-ref\";\nimport { jsx } from \"react/jsx-runtime\";\nvar AUTOFOCUS_ON_MOUNT = \"focusScope.autoFocusOnMount\";\nvar AUTOFOCUS_ON_UNMOUNT = \"focusScope.autoFocusOnUnmount\";\nvar EVENT_OPTIONS = { bubbles: false, cancelable: true };\nvar FOCUS_SCOPE_NAME = \"FocusScope\";\nvar FocusScope = React.forwardRef((props, forwardedRef) => {\n const {\n loop = false,\n trapped = false,\n onMountAutoFocus: onMountAutoFocusProp,\n onUnmountAutoFocus: onUnmountAutoFocusProp,\n ...scopeProps\n } = props;\n const [container, setContainer] = React.useState(null);\n const onMountAutoFocus = useCallbackRef(onMountAutoFocusProp);\n const onUnmountAutoFocus = useCallbackRef(onUnmountAutoFocusProp);\n const lastFocusedElementRef = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, setContainer);\n const focusScope = React.useRef({\n paused: false,\n pause() {\n this.paused = true;\n },\n resume() {\n this.paused = false;\n }\n }).current;\n React.useEffect(() => {\n if (trapped) {\n let handleFocusIn2 = function(event) {\n if (focusScope.paused || !container) return;\n const target = event.target;\n if (container.contains(target)) {\n lastFocusedElementRef.current = target;\n } else {\n focus(lastFocusedElementRef.current, { select: true });\n }\n }, handleFocusOut2 = function(event) {\n if (focusScope.paused || !container) return;\n const relatedTarget = event.relatedTarget;\n if (relatedTarget === null) return;\n if (!container.contains(relatedTarget)) {\n focus(lastFocusedElementRef.current, { select: true });\n }\n }, handleMutations2 = function(mutations) {\n const focusedElement = document.activeElement;\n if (focusedElement !== document.body) return;\n for (const mutation of mutations) {\n if (mutation.removedNodes.length > 0) focus(container);\n }\n };\n var handleFocusIn = handleFocusIn2, handleFocusOut = handleFocusOut2, handleMutations = handleMutations2;\n document.addEventListener(\"focusin\", handleFocusIn2);\n document.addEventListener(\"focusout\", handleFocusOut2);\n const mutationObserver = new MutationObserver(handleMutations2);\n if (container) mutationObserver.observe(container, { childList: true, subtree: true });\n return () => {\n document.removeEventListener(\"focusin\", handleFocusIn2);\n document.removeEventListener(\"focusout\", handleFocusOut2);\n mutationObserver.disconnect();\n };\n }\n }, [trapped, container, focusScope.paused]);\n React.useEffect(() => {\n if (container) {\n focusScopesStack.add(focusScope);\n const previouslyFocusedElement = document.activeElement;\n const hasFocusedCandidate = container.contains(previouslyFocusedElement);\n if (!hasFocusedCandidate) {\n const mountEvent = new CustomEvent(AUTOFOCUS_ON_MOUNT, EVENT_OPTIONS);\n container.addEventListener(AUTOFOCUS_ON_MOUNT, onMountAutoFocus);\n container.dispatchEvent(mountEvent);\n if (!mountEvent.defaultPrevented) {\n focusFirst(removeLinks(getTabbableCandidates(container)), { select: true });\n if (document.activeElement === previouslyFocusedElement) {\n focus(container);\n }\n }\n }\n return () => {\n container.removeEventListener(AUTOFOCUS_ON_MOUNT, onMountAutoFocus);\n setTimeout(() => {\n const unmountEvent = new CustomEvent(AUTOFOCUS_ON_UNMOUNT, EVENT_OPTIONS);\n container.addEventListener(AUTOFOCUS_ON_UNMOUNT, onUnmountAutoFocus);\n container.dispatchEvent(unmountEvent);\n if (!unmountEvent.defaultPrevented) {\n focus(previouslyFocusedElement ?? document.body, { select: true });\n }\n container.removeEventListener(AUTOFOCUS_ON_UNMOUNT, onUnmountAutoFocus);\n focusScopesStack.remove(focusScope);\n }, 0);\n };\n }\n }, [container, onMountAutoFocus, onUnmountAutoFocus, focusScope]);\n const handleKeyDown = React.useCallback(\n (event) => {\n if (!loop && !trapped) return;\n if (focusScope.paused) return;\n const isTabKey = event.key === \"Tab\" && !event.altKey && !event.ctrlKey && !event.metaKey;\n const focusedElement = document.activeElement;\n if (isTabKey && focusedElement) {\n const container2 = event.currentTarget;\n const [first, last] = getTabbableEdges(container2);\n const hasTabbableElementsInside = first && last;\n if (!hasTabbableElementsInside) {\n if (focusedElement === container2) event.preventDefault();\n } else {\n if (!event.shiftKey && focusedElement === last) {\n event.preventDefault();\n if (loop) focus(first, { select: true });\n } else if (event.shiftKey && focusedElement === first) {\n event.preventDefault();\n if (loop) focus(last, { select: true });\n }\n }\n }\n },\n [loop, trapped, focusScope.paused]\n );\n return /* @__PURE__ */ jsx(Primitive.div, { tabIndex: -1, ...scopeProps, ref: composedRefs, onKeyDown: handleKeyDown });\n});\nFocusScope.displayName = FOCUS_SCOPE_NAME;\nfunction focusFirst(candidates, { select = false } = {}) {\n const previouslyFocusedElement = document.activeElement;\n for (const candidate of candidates) {\n focus(candidate, { select });\n if (document.activeElement !== previouslyFocusedElement) return;\n }\n}\nfunction getTabbableEdges(container) {\n const candidates = getTabbableCandidates(container);\n const first = findVisible(candidates, container);\n const last = findVisible(candidates.reverse(), container);\n return [first, last];\n}\nfunction getTabbableCandidates(container) {\n const nodes = [];\n const walker = document.createTreeWalker(container, NodeFilter.SHOW_ELEMENT, {\n acceptNode: (node) => {\n const isHiddenInput = node.tagName === \"INPUT\" && node.type === \"hidden\";\n if (node.disabled || node.hidden || isHiddenInput) return NodeFilter.FILTER_SKIP;\n return node.tabIndex >= 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;\n }\n });\n while (walker.nextNode()) nodes.push(walker.currentNode);\n return nodes;\n}\nfunction findVisible(elements, container) {\n const canUseCheckVisibility = typeof container.checkVisibility === \"function\" && container.checkVisibility({ checkVisibilityCSS: true });\n for (const element of elements) {\n const hidden = canUseCheckVisibility ? !element.checkVisibility({ checkVisibilityCSS: true }) : isHidden(element, { upTo: container });\n if (!hidden) {\n return element;\n }\n }\n}\nfunction isHidden(node, { upTo }) {\n if (getComputedStyle(node).visibility === \"hidden\") return true;\n while (node) {\n if (upTo !== void 0 && node === upTo) return false;\n if (getComputedStyle(node).display === \"none\") return true;\n node = node.parentElement;\n }\n return false;\n}\nfunction isSelectableInput(element) {\n return element instanceof HTMLInputElement && \"select\" in element;\n}\nfunction focus(element, { select = false } = {}) {\n if (element && element.focus) {\n const previouslyFocusedElement = document.activeElement;\n element.focus({ preventScroll: true });\n if (element !== previouslyFocusedElement && isSelectableInput(element) && select)\n element.select();\n }\n}\nvar focusScopesStack = createFocusScopesStack();\nfunction createFocusScopesStack() {\n let stack = [];\n return {\n add(focusScope) {\n const activeFocusScope = stack[0];\n if (focusScope !== activeFocusScope) {\n activeFocusScope?.pause();\n }\n stack = arrayRemove(stack, focusScope);\n stack.unshift(focusScope);\n },\n remove(focusScope) {\n stack = arrayRemove(stack, focusScope);\n stack[0]?.resume();\n }\n };\n}\nfunction arrayRemove(array, item) {\n const updatedArray = [...array];\n const index = updatedArray.indexOf(item);\n if (index !== -1) {\n updatedArray.splice(index, 1);\n }\n return updatedArray;\n}\nfunction removeLinks(items) {\n return items.filter((item) => item.tagName !== \"A\");\n}\nvar Root = FocusScope;\nexport {\n FocusScope,\n Root\n};\n//# sourceMappingURL=index.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;;;;;AAQA,IAAI,IAAqB,+BACrB,IAAuB,iCACvB,IAAgB;CAAE,SAAS;CAAO,YAAY;AAAK,GACnD,IAAmB,cACnB,IAAa,EAAM,YAAY,GAAO,MAAiB;CACzD,IAAM,EACJ,UAAO,IACP,aAAU,IACV,kBAAkB,GAClB,oBAAoB,GACpB,GAAG,MACD,GACE,CAAC,GAAW,KAAgB,EAAM,SAAS,IAAI,GAC/C,IAAmB,EAAe,CAAoB,GACtD,IAAqB,EAAe,CAAsB,GAC1D,IAAwB,EAAM,OAAO,IAAI,GACzC,IAAe,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;AACA,SAAS,EAAkB,GAAS;CAClC,OAAO,aAAmB,oBAAoB,YAAY;AAC5D;AACA,SAAS,EAAM,GAAS,EAAE,YAAS,OAAU,CAAC,GAAG;CAC/C,IAAI,KAAW,EAAQ,OAAO;EAC5B,IAAM,IAA2B,SAAS;EAE1C,AADA,EAAQ,MAAM,EAAE,eAAe,GAAK,CAAC,GACjC,MAAY,KAA4B,EAAkB,CAAO,KAAK,KACxE,EAAQ,OAAO;CACnB;AACF;AACA,IAAI,IAAmB,EAAuB;AAC9C,SAAS,IAAyB;CAChC,IAAI,IAAQ,CAAC;CACb,OAAO;EACL,IAAI,GAAY;GACd,IAAM,IAAmB,EAAM;GAK/B,AAJI,MAAe,KACjB,GAAkB,MAAM,GAE1B,IAAQ,EAAY,GAAO,CAAU,GACrC,EAAM,QAAQ,CAAU;EAC1B;EACA,OAAO,GAAY;GAEjB,AADA,IAAQ,EAAY,GAAO,CAAU,GACrC,EAAM,EAAE,EAAE,OAAO;EACnB;CACF;AACF;AACA,SAAS,EAAY,GAAO,GAAM;CAChC,IAAM,IAAe,CAAC,GAAG,CAAK,GACxB,IAAQ,EAAa,QAAQ,CAAI;CAIvC,OAHI,MAAU,MACZ,EAAa,OAAO,GAAO,CAAC,GAEvB;AACT;AACA,SAAS,EAAY,GAAO;CAC1B,OAAO,EAAM,QAAQ,MAAS,EAAK,YAAY,GAAG;AACpD"}
@@ -1,2 +0,0 @@
1
- const e=require("../../../../../../../_virtual/_rolldown/runtime.cjs.js"),t=require("../../../../../@radix-ui_react-use-layout-effect@1.1.2_93dbe784b8baa420/node_modules/@radix-ui/react-use-layout-effect/dist/index.cjs.js");let n=require("react");n=e.__toESM(n,1);var r=n.useId||(()=>void 0),i=0;function a(e){let[a,o]=n.useState(r());return t.useLayoutEffect(()=>{e||o(e=>e??String(i++))},[e]),e||(a?`radix-${a}`:``)}exports.useId=a;
2
- //# sourceMappingURL=index.cjs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs.js","names":["React"],"sources":["../../../../../../../../../../node_modules/.bun/@radix-ui+react-id@1.1.2+93dbe784b8baa420/node_modules/@radix-ui/react-id/dist/index.mjs"],"sourcesContent":["// src/id.tsx\nimport * as React from \"react\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\nvar useReactId = React[\" useId \".trim().toString()] || (() => void 0);\nvar count = 0;\nfunction useId(deterministicId) {\n const [id, setId] = React.useState(useReactId());\n useLayoutEffect(() => {\n if (!deterministicId) setId((reactId) => reactId ?? String(count++));\n }, [deterministicId]);\n return deterministicId || (id ? `radix-${id}` : \"\");\n}\nexport {\n useId\n};\n//# sourceMappingURL=index.mjs.map\n"],"x_google_ignoreList":[0],"mappings":"wQAGA,IAAI,EAAaA,EAAM,YAAuC,IAAK,IAC/D,EAAQ,EACZ,SAAS,EAAM,EAAiB,CAC9B,GAAM,CAAC,EAAI,GAASA,EAAM,SAAS,EAAW,CAAC,EAI/C,OAHA,EAAA,oBAAsB,CACf,GAAiB,EAAO,GAAY,GAAW,OAAO,GAAO,CAAC,CACrE,EAAG,CAAC,CAAe,CAAC,EACb,IAAoB,EAAK,SAAS,IAAO,GAClD"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.es.js","names":["useId"],"sources":["../../../../../../../../../../node_modules/.bun/@radix-ui+react-id@1.1.2+93dbe784b8baa420/node_modules/@radix-ui/react-id/dist/index.mjs"],"sourcesContent":["// src/id.tsx\nimport * as React from \"react\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\nvar useReactId = React[\" useId \".trim().toString()] || (() => void 0);\nvar count = 0;\nfunction useId(deterministicId) {\n const [id, setId] = React.useState(useReactId());\n useLayoutEffect(() => {\n if (!deterministicId) setId((reactId) => reactId ?? String(count++));\n }, [deterministicId]);\n return deterministicId || (id ? `radix-${id}` : \"\");\n}\nexport {\n useId\n};\n//# sourceMappingURL=index.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;AAGA,IAAI,IAAa,EAAM,gBAAuC,KAAK,IAC/D,IAAQ;AACZ,SAASA,EAAM,GAAiB;CAC9B,IAAM,CAAC,GAAI,KAAS,EAAM,SAAS,EAAW,CAAC;CAI/C,OAHA,QAAsB;EACpB,AAAK,KAAiB,GAAO,MAAY,KAAW,OAAO,GAAO,CAAC;CACrE,GAAG,CAAC,CAAe,CAAC,GACb,MAAoB,IAAK,SAAS,MAAO;AAClD"}
@@ -1,2 +0,0 @@
1
- "use client";const e=require("../../../../../../../_virtual/_rolldown/runtime.cjs.js"),t=require("../../../../../@radix-ui_react-use-layout-effect@1.1.2_93dbe784b8baa420/node_modules/@radix-ui/react-use-layout-effect/dist/index.cjs.js"),n=require("../../../../../@radix-ui_react-primitive@2.1.7_ae2b4604ef263bc9/node_modules/@radix-ui/react-primitive/dist/index.cjs.js");let r=require("react/jsx-runtime"),i=require("react");i=e.__toESM(i,1);let a=require("react-dom");a=e.__toESM(a,1);var o=`Portal`,s=i.forwardRef((e,o)=>{let{container:s,...c}=e,[l,u]=i.useState(!1);t.useLayoutEffect(()=>u(!0),[]);let d=s||l&&globalThis?.document?.body;return d?a.createPortal((0,r.jsx)(n.Primitive.div,{...c,ref:o}),d):null});s.displayName=o,exports.Portal=s;
2
- //# sourceMappingURL=index.cjs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs.js","names":["React","ReactDOM","Primitive"],"sources":["../../../../../../../../../../node_modules/.bun/@radix-ui+react-portal@1.1.13+ae2b4604ef263bc9/node_modules/@radix-ui/react-portal/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// src/portal.tsx\nimport * as React from \"react\";\nimport * as ReactDOM from \"react-dom\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\nimport { jsx } from \"react/jsx-runtime\";\nvar PORTAL_NAME = \"Portal\";\nvar Portal = React.forwardRef((props, forwardedRef) => {\n const { container: containerProp, ...portalProps } = props;\n const [mounted, setMounted] = React.useState(false);\n useLayoutEffect(() => setMounted(true), []);\n const container = containerProp || mounted && globalThis?.document?.body;\n return container ? ReactDOM.createPortal(/* @__PURE__ */ jsx(Primitive.div, { ...portalProps, ref: forwardedRef }), container) : null;\n});\nPortal.displayName = PORTAL_NAME;\nvar Root = Portal;\nexport {\n Portal,\n Root\n};\n//# sourceMappingURL=index.mjs.map\n"],"x_google_ignoreList":[0],"mappings":"seAQA,IAAI,EAAc,SACd,EAASA,EAAM,YAAY,EAAO,IAAiB,CACrD,GAAM,CAAE,UAAW,EAAe,GAAG,GAAgB,EAC/C,CAAC,EAAS,GAAcA,EAAM,SAAS,EAAK,EAClD,EAAA,oBAAsB,EAAW,EAAI,EAAG,CAAC,CAAC,EAC1C,IAAM,EAAY,GAAiB,GAAW,YAAY,UAAU,KACpE,OAAO,EAAYC,EAAS,cAA6B,EAAA,EAAA,IAAA,CAAIC,EAAAA,UAAU,IAAK,CAAE,GAAG,EAAa,IAAK,CAAa,CAAC,EAAG,CAAS,EAAI,IACnI,CAAC,EACD,EAAO,YAAc"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.es.js","names":[],"sources":["../../../../../../../../../../node_modules/.bun/@radix-ui+react-portal@1.1.13+ae2b4604ef263bc9/node_modules/@radix-ui/react-portal/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// src/portal.tsx\nimport * as React from \"react\";\nimport * as ReactDOM from \"react-dom\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\nimport { jsx } from \"react/jsx-runtime\";\nvar PORTAL_NAME = \"Portal\";\nvar Portal = React.forwardRef((props, forwardedRef) => {\n const { container: containerProp, ...portalProps } = props;\n const [mounted, setMounted] = React.useState(false);\n useLayoutEffect(() => setMounted(true), []);\n const container = containerProp || mounted && globalThis?.document?.body;\n return container ? ReactDOM.createPortal(/* @__PURE__ */ jsx(Primitive.div, { ...portalProps, ref: forwardedRef }), container) : null;\n});\nPortal.displayName = PORTAL_NAME;\nvar Root = Portal;\nexport {\n Portal,\n Root\n};\n//# sourceMappingURL=index.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;;;;;AAQA,IAAI,IAAc,UACd,IAAS,EAAM,YAAY,GAAO,MAAiB;CACrD,IAAM,EAAE,WAAW,GAAe,GAAG,MAAgB,GAC/C,CAAC,GAAS,KAAc,EAAM,SAAS,EAAK;CAClD,QAAsB,EAAW,EAAI,GAAG,CAAC,CAAC;CAC1C,IAAM,IAAY,KAAiB,KAAW,YAAY,UAAU;CACpE,OAAO,IAAY,EAAS,aAA6B,kBAAI,EAAU,KAAK;EAAE,GAAG;EAAa,KAAK;CAAa,CAAC,GAAG,CAAS,IAAI;AACnI,CAAC;AACD,EAAO,cAAc"}
@@ -1,2 +0,0 @@
1
- "use client";const e=require("../../../../../../../_virtual/_rolldown/runtime.cjs.js"),t=require("../../../../../@radix-ui_react-use-layout-effect@1.1.2_93dbe784b8baa420/node_modules/@radix-ui/react-use-layout-effect/dist/index.cjs.js");let n=require("react");n=e.__toESM(n,1);function r(e,t){return n.useReducer((e,n)=>t[e][n]??e,e)}var i=e=>{let{present:t,children:r}=e,i=a(t),o=typeof r==`function`?r({present:i.isPresent}):n.Children.only(r),c=s(i.ref,l(o));return typeof r==`function`||i.isPresent?n.cloneElement(o,{ref:c}):null};i.displayName=`Presence`;function a(e){let[i,a]=n.useState(),o=n.useRef(null),s=n.useRef(e),l=n.useRef(`none`),u=n.useRef(void 0),[d,f]=r(e?`mounted`:`unmounted`,{mounted:{UNMOUNT:`unmounted`,ANIMATION_OUT:`unmountSuspended`},unmountSuspended:{MOUNT:`mounted`,ANIMATION_END:`unmounted`},unmounted:{MOUNT:`mounted`}});return n.useEffect(()=>{d===`mounted`?(l.current=u.current??c(o.current),u.current=void 0):l.current=`none`},[d]),t.useLayoutEffect(()=>{let t=o.current,n=s.current;if(n!==e){let r=l.current,i=c(t);e?(u.current=i,f(`MOUNT`)):i===`none`||t?.display===`none`?f(`UNMOUNT`):f(n&&r!==i?`ANIMATION_OUT`:`UNMOUNT`),s.current=e}},[e,f]),t.useLayoutEffect(()=>{if(i){let e,t=i.ownerDocument.defaultView??window,n=n=>{let r=c(o.current).includes(CSS.escape(n.animationName));if(n.target===i&&r&&(f(`ANIMATION_END`),!s.current)){let n=i.style.animationFillMode;i.style.animationFillMode=`forwards`,e=t.setTimeout(()=>{i.style.animationFillMode===`forwards`&&(i.style.animationFillMode=n)})}},r=e=>{e.target===i&&(l.current=c(o.current))};return i.addEventListener(`animationstart`,r),i.addEventListener(`animationcancel`,n),i.addEventListener(`animationend`,n),()=>{t.clearTimeout(e),i.removeEventListener(`animationstart`,r),i.removeEventListener(`animationcancel`,n),i.removeEventListener(`animationend`,n)}}else f(`ANIMATION_END`)},[i,f]),{isPresent:[`mounted`,`unmountSuspended`].includes(d),ref:n.useCallback(e=>{if(e){let t=getComputedStyle(e);o.current=t,u.current=c(t)}else o.current=null;a(e)},[])}}function o(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}function s(...e){let t=n.useRef(e);return t.current=e,n.useCallback(e=>{let n=t.current,r=!1,i=n.map(t=>{let n=o(t,e);return!r&&typeof n==`function`&&(r=!0),n});if(r)return()=>{for(let e=0;e<i.length;e++){let t=i[e];typeof t==`function`?t():o(n[e],null)}}},[])}function c(e){return e?.animationName||`none`}function l(e){let t=Object.getOwnPropertyDescriptor(e.props,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}exports.Presence=i;
2
- //# sourceMappingURL=index.cjs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs.js","names":["React","React2"],"sources":["../../../../../../../../../../node_modules/.bun/@radix-ui+react-presence@1.1.7+ae2b4604ef263bc9/node_modules/@radix-ui/react-presence/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// src/presence.tsx\nimport * as React2 from \"react\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\n\n// src/use-state-machine.tsx\nimport * as React from \"react\";\nfunction useStateMachine(initialState, machine) {\n return React.useReducer((state, event) => {\n const nextState = machine[state][event];\n return nextState ?? state;\n }, initialState);\n}\n\n// src/presence.tsx\nvar Presence = (props) => {\n const { present, children } = props;\n const presence = usePresence(present);\n const child = typeof children === \"function\" ? children({ present: presence.isPresent }) : React2.Children.only(children);\n const ref = useStableComposedRefs(presence.ref, getElementRef(child));\n const forceMount = typeof children === \"function\";\n return forceMount || presence.isPresent ? React2.cloneElement(child, { ref }) : null;\n};\nPresence.displayName = \"Presence\";\nfunction usePresence(present) {\n const [node, setNode] = React2.useState();\n const stylesRef = React2.useRef(null);\n const prevPresentRef = React2.useRef(present);\n const prevAnimationNameRef = React2.useRef(\"none\");\n const mountAnimationNameRef = React2.useRef(void 0);\n const initialState = present ? \"mounted\" : \"unmounted\";\n const [state, send] = useStateMachine(initialState, {\n mounted: {\n UNMOUNT: \"unmounted\",\n ANIMATION_OUT: \"unmountSuspended\"\n },\n unmountSuspended: {\n MOUNT: \"mounted\",\n ANIMATION_END: \"unmounted\"\n },\n unmounted: {\n MOUNT: \"mounted\"\n }\n });\n React2.useEffect(() => {\n if (state === \"mounted\") {\n prevAnimationNameRef.current = mountAnimationNameRef.current ?? getAnimationName(stylesRef.current);\n mountAnimationNameRef.current = void 0;\n } else {\n prevAnimationNameRef.current = \"none\";\n }\n }, [state]);\n useLayoutEffect(() => {\n const styles = stylesRef.current;\n const wasPresent = prevPresentRef.current;\n const hasPresentChanged = wasPresent !== present;\n if (hasPresentChanged) {\n const prevAnimationName = prevAnimationNameRef.current;\n const currentAnimationName = getAnimationName(styles);\n if (present) {\n mountAnimationNameRef.current = currentAnimationName;\n send(\"MOUNT\");\n } else if (currentAnimationName === \"none\" || styles?.display === \"none\") {\n send(\"UNMOUNT\");\n } else {\n const isAnimating = prevAnimationName !== currentAnimationName;\n if (wasPresent && isAnimating) {\n send(\"ANIMATION_OUT\");\n } else {\n send(\"UNMOUNT\");\n }\n }\n prevPresentRef.current = present;\n }\n }, [present, send]);\n useLayoutEffect(() => {\n if (node) {\n let timeoutId;\n const ownerWindow = node.ownerDocument.defaultView ?? window;\n const handleAnimationEnd = (event) => {\n const currentAnimationName = getAnimationName(stylesRef.current);\n const isCurrentAnimation = currentAnimationName.includes(CSS.escape(event.animationName));\n if (event.target === node && isCurrentAnimation) {\n send(\"ANIMATION_END\");\n if (!prevPresentRef.current) {\n const currentFillMode = node.style.animationFillMode;\n node.style.animationFillMode = \"forwards\";\n timeoutId = ownerWindow.setTimeout(() => {\n if (node.style.animationFillMode === \"forwards\") {\n node.style.animationFillMode = currentFillMode;\n }\n });\n }\n }\n };\n const handleAnimationStart = (event) => {\n if (event.target === node) {\n prevAnimationNameRef.current = getAnimationName(stylesRef.current);\n }\n };\n node.addEventListener(\"animationstart\", handleAnimationStart);\n node.addEventListener(\"animationcancel\", handleAnimationEnd);\n node.addEventListener(\"animationend\", handleAnimationEnd);\n return () => {\n ownerWindow.clearTimeout(timeoutId);\n node.removeEventListener(\"animationstart\", handleAnimationStart);\n node.removeEventListener(\"animationcancel\", handleAnimationEnd);\n node.removeEventListener(\"animationend\", handleAnimationEnd);\n };\n } else {\n send(\"ANIMATION_END\");\n }\n }, [node, send]);\n return {\n isPresent: [\"mounted\", \"unmountSuspended\"].includes(state),\n ref: React2.useCallback((node2) => {\n if (node2) {\n const styles = getComputedStyle(node2);\n stylesRef.current = styles;\n mountAnimationNameRef.current = getAnimationName(styles);\n } else {\n stylesRef.current = null;\n }\n setNode(node2);\n }, [])\n };\n}\nfunction setRef(ref, value) {\n if (typeof ref === \"function\") {\n return ref(value);\n } else if (ref !== null && ref !== void 0) {\n ref.current = value;\n }\n}\nfunction useStableComposedRefs(...refs) {\n const refsRef = React2.useRef(refs);\n refsRef.current = refs;\n return React2.useCallback((node) => {\n const currentRefs = refsRef.current;\n let hasCleanup = false;\n const cleanups = currentRefs.map((ref) => {\n const cleanup = setRef(ref, node);\n if (!hasCleanup && typeof cleanup === \"function\") {\n hasCleanup = true;\n }\n return cleanup;\n });\n if (hasCleanup) {\n return () => {\n for (let i = 0; i < cleanups.length; i++) {\n const cleanup = cleanups[i];\n if (typeof cleanup === \"function\") {\n cleanup();\n } else {\n setRef(currentRefs[i], null);\n }\n }\n };\n }\n }, []);\n}\nfunction getAnimationName(styles) {\n return styles?.animationName || \"none\";\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\nvar Root = Presence;\nexport {\n Presence,\n Root\n};\n//# sourceMappingURL=index.mjs.map\n"],"x_google_ignoreList":[0],"mappings":"qRAQA,SAAS,EAAgB,EAAc,EAAS,CAC9C,OAAOA,EAAM,YAAY,EAAO,IACZ,EAAQ,EAAM,CAAC,IACb,EACnB,CAAY,CACjB,CAGA,IAAI,EAAY,GAAU,CACxB,GAAM,CAAE,UAAS,YAAa,EACxB,EAAW,EAAY,CAAO,EAC9B,EAAQ,OAAO,GAAa,WAAa,EAAS,CAAE,QAAS,EAAS,SAAU,CAAC,EAAIC,EAAO,SAAS,KAAK,CAAQ,EAClH,EAAM,EAAsB,EAAS,IAAK,EAAc,CAAK,CAAC,EAEpE,OADmB,OAAO,GAAa,YAClB,EAAS,UAAYA,EAAO,aAAa,EAAO,CAAE,KAAI,CAAC,EAAI,IAClF,EACA,EAAS,YAAc,WACvB,SAAS,EAAY,EAAS,CAC5B,GAAM,CAAC,EAAM,GAAWA,EAAO,SAAS,EAClC,EAAYA,EAAO,OAAO,IAAI,EAC9B,EAAiBA,EAAO,OAAO,CAAO,EAC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OAAO,GAAQ,eAAiB,MAClC,CACA,SAAS,EAAc,EAAS,CAC9B,IAAI,EAAS,OAAO,yBAAyB,EAAQ,MAAO,KAAK,CAAC,EAAE,IAChE,EAAU,GAAU,mBAAoB,GAAU,EAAO,eAS7D,OARI,EACK,EAAQ,KAEjB,EAAS,OAAO,yBAAyB,EAAS,KAAK,CAAC,EAAE,IAC1D,EAAU,GAAU,mBAAoB,GAAU,EAAO,eACrD,EACK,EAAQ,MAAM,IAEhB,EAAQ,MAAM,KAAO,EAAQ,IACtC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.es.js","names":["React"],"sources":["../../../../../../../../../../node_modules/.bun/@radix-ui+react-presence@1.1.7+ae2b4604ef263bc9/node_modules/@radix-ui/react-presence/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// src/presence.tsx\nimport * as React2 from \"react\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\n\n// src/use-state-machine.tsx\nimport * as React from \"react\";\nfunction useStateMachine(initialState, machine) {\n return React.useReducer((state, event) => {\n const nextState = machine[state][event];\n return nextState ?? state;\n }, initialState);\n}\n\n// src/presence.tsx\nvar Presence = (props) => {\n const { present, children } = props;\n const presence = usePresence(present);\n const child = typeof children === \"function\" ? children({ present: presence.isPresent }) : React2.Children.only(children);\n const ref = useStableComposedRefs(presence.ref, getElementRef(child));\n const forceMount = typeof children === \"function\";\n return forceMount || presence.isPresent ? React2.cloneElement(child, { ref }) : null;\n};\nPresence.displayName = \"Presence\";\nfunction usePresence(present) {\n const [node, setNode] = React2.useState();\n const stylesRef = React2.useRef(null);\n const prevPresentRef = React2.useRef(present);\n const prevAnimationNameRef = React2.useRef(\"none\");\n const mountAnimationNameRef = React2.useRef(void 0);\n const initialState = present ? \"mounted\" : \"unmounted\";\n const [state, send] = useStateMachine(initialState, {\n mounted: {\n UNMOUNT: \"unmounted\",\n ANIMATION_OUT: \"unmountSuspended\"\n },\n unmountSuspended: {\n MOUNT: \"mounted\",\n ANIMATION_END: \"unmounted\"\n },\n unmounted: {\n MOUNT: \"mounted\"\n }\n });\n React2.useEffect(() => {\n if (state === \"mounted\") {\n prevAnimationNameRef.current = mountAnimationNameRef.current ?? getAnimationName(stylesRef.current);\n mountAnimationNameRef.current = void 0;\n } else {\n prevAnimationNameRef.current = \"none\";\n }\n }, [state]);\n useLayoutEffect(() => {\n const styles = stylesRef.current;\n const wasPresent = prevPresentRef.current;\n const hasPresentChanged = wasPresent !== present;\n if (hasPresentChanged) {\n const prevAnimationName = prevAnimationNameRef.current;\n const currentAnimationName = getAnimationName(styles);\n if (present) {\n mountAnimationNameRef.current = currentAnimationName;\n send(\"MOUNT\");\n } else if (currentAnimationName === \"none\" || styles?.display === \"none\") {\n send(\"UNMOUNT\");\n } else {\n const isAnimating = prevAnimationName !== currentAnimationName;\n if (wasPresent && isAnimating) {\n send(\"ANIMATION_OUT\");\n } else {\n send(\"UNMOUNT\");\n }\n }\n prevPresentRef.current = present;\n }\n }, [present, send]);\n useLayoutEffect(() => {\n if (node) {\n let timeoutId;\n const ownerWindow = node.ownerDocument.defaultView ?? window;\n const handleAnimationEnd = (event) => {\n const currentAnimationName = getAnimationName(stylesRef.current);\n const isCurrentAnimation = currentAnimationName.includes(CSS.escape(event.animationName));\n if (event.target === node && isCurrentAnimation) {\n send(\"ANIMATION_END\");\n if (!prevPresentRef.current) {\n const currentFillMode = node.style.animationFillMode;\n node.style.animationFillMode = \"forwards\";\n timeoutId = ownerWindow.setTimeout(() => {\n if (node.style.animationFillMode === \"forwards\") {\n node.style.animationFillMode = currentFillMode;\n }\n });\n }\n }\n };\n const handleAnimationStart = (event) => {\n if (event.target === node) {\n prevAnimationNameRef.current = getAnimationName(stylesRef.current);\n }\n };\n node.addEventListener(\"animationstart\", handleAnimationStart);\n node.addEventListener(\"animationcancel\", handleAnimationEnd);\n node.addEventListener(\"animationend\", handleAnimationEnd);\n return () => {\n ownerWindow.clearTimeout(timeoutId);\n node.removeEventListener(\"animationstart\", handleAnimationStart);\n node.removeEventListener(\"animationcancel\", handleAnimationEnd);\n node.removeEventListener(\"animationend\", handleAnimationEnd);\n };\n } else {\n send(\"ANIMATION_END\");\n }\n }, [node, send]);\n return {\n isPresent: [\"mounted\", \"unmountSuspended\"].includes(state),\n ref: React2.useCallback((node2) => {\n if (node2) {\n const styles = getComputedStyle(node2);\n stylesRef.current = styles;\n mountAnimationNameRef.current = getAnimationName(styles);\n } else {\n stylesRef.current = null;\n }\n setNode(node2);\n }, [])\n };\n}\nfunction setRef(ref, value) {\n if (typeof ref === \"function\") {\n return ref(value);\n } else if (ref !== null && ref !== void 0) {\n ref.current = value;\n }\n}\nfunction useStableComposedRefs(...refs) {\n const refsRef = React2.useRef(refs);\n refsRef.current = refs;\n return React2.useCallback((node) => {\n const currentRefs = refsRef.current;\n let hasCleanup = false;\n const cleanups = currentRefs.map((ref) => {\n const cleanup = setRef(ref, node);\n if (!hasCleanup && typeof cleanup === \"function\") {\n hasCleanup = true;\n }\n return cleanup;\n });\n if (hasCleanup) {\n return () => {\n for (let i = 0; i < cleanups.length; i++) {\n const cleanup = cleanups[i];\n if (typeof cleanup === \"function\") {\n cleanup();\n } else {\n setRef(currentRefs[i], null);\n }\n }\n };\n }\n }, []);\n}\nfunction getAnimationName(styles) {\n return styles?.animationName || \"none\";\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\nvar Root = Presence;\nexport {\n Presence,\n Root\n};\n//# sourceMappingURL=index.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;;AAQA,SAAS,EAAgB,GAAc,GAAS;CAC9C,OAAOA,EAAM,YAAY,GAAO,MACZ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AQ,SACjB,EAAI,UAAU;AAElB;AACA,SAAS,EAAsB,GAAG,GAAM;CACtC,IAAM,IAAU,EAAO,OAAO,CAAI;CAElC,OADA,EAAQ,UAAU,GACX,EAAO,aAAa,MAAS;EAClC,IAAM,IAAc,EAAQ,SACxB,IAAa,IACX,IAAW,EAAY,KAAK,MAAQ;GACxC,IAAM,IAAU,EAAO,GAAK,CAAI;GAIhC,OAHI,CAAC,KAAc,OAAO,KAAY,eACpC,IAAa,KAER;EACT,CAAC;EACD,IAAI,GACF,aAAa;GACX,KAAK,IAAI,IAAI,GAAG,IAAI,EAAS,QAAQ,KAAK;IACxC,IAAM,IAAU,EAAS;IACzB,AAAI,OAAO,KAAY,aACrB,EAAQ,IAER,EAAO,EAAY,IAAI,IAAI;GAE/B;EACF;CAEJ,GAAG,CAAC,CAAC;AACP;AACA,SAAS,EAAiB,GAAQ;CAChC,OAAO,GAAQ,iBAAiB;AAClC;AACA,SAAS,EAAc,GAAS;CAC9B,IAAI,IAAS,OAAO,yBAAyB,EAAQ,OAAO,KAAK,CAAC,EAAE,KAChE,IAAU,KAAU,oBAAoB,KAAU,EAAO;CAS7D,OARI,IACK,EAAQ,OAEjB,IAAS,OAAO,yBAAyB,GAAS,KAAK,CAAC,EAAE,KAC1D,IAAU,KAAU,oBAAoB,KAAU,EAAO,gBACrD,IACK,EAAQ,MAAM,MAEhB,EAAQ,MAAM,OAAO,EAAQ;AACtC"}
@@ -1,2 +0,0 @@
1
- const e=require("../../../../../../../_virtual/_rolldown/runtime.cjs.js"),t=require("../../../../../@radix-ui_react-slot@1.3.0_93dbe784b8baa420/node_modules/@radix-ui/react-slot/dist/index.cjs.js");let n=require("react/jsx-runtime"),r=require("react");r=e.__toESM(r,1);let i=require("react-dom");i=e.__toESM(i,1);var a=[`a`,`button`,`div`,`form`,`h2`,`h3`,`img`,`input`,`label`,`li`,`nav`,`ol`,`p`,`select`,`span`,`svg`,`ul`].reduce((e,i)=>{let a=t.createSlot(`Primitive.${i}`),o=r.forwardRef((e,t)=>{let{asChild:r,...o}=e,s=r?a:i;return typeof window<`u`&&(window[Symbol.for(`radix-ui`)]=!0),(0,n.jsx)(s,{...o,ref:t})});return o.displayName=`Primitive.${i}`,{...e,[i]:o}},{});function o(e,t){e&&i.flushSync(()=>e.dispatchEvent(t))}exports.Primitive=a,exports.dispatchDiscreteCustomEvent=o;
2
- //# sourceMappingURL=index.cjs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs.js","names":["createSlot","React"],"sources":["../../../../../../../../../../node_modules/.bun/@radix-ui+react-primitive@2.1.7+ae2b4604ef263bc9/node_modules/@radix-ui/react-primitive/dist/index.mjs"],"sourcesContent":["// src/primitive.tsx\nimport * as React from \"react\";\nimport * as ReactDOM from \"react-dom\";\nimport { createSlot } from \"@radix-ui/react-slot\";\nimport { jsx } from \"react/jsx-runtime\";\nvar NODES = [\n \"a\",\n \"button\",\n \"div\",\n \"form\",\n \"h2\",\n \"h3\",\n \"img\",\n \"input\",\n \"label\",\n \"li\",\n \"nav\",\n \"ol\",\n \"p\",\n \"select\",\n \"span\",\n \"svg\",\n \"ul\"\n];\nvar Primitive = NODES.reduce((primitive, node) => {\n const Slot = createSlot(`Primitive.${node}`);\n const Node = React.forwardRef((props, forwardedRef) => {\n const { asChild, ...primitiveProps } = props;\n const Comp = asChild ? Slot : node;\n if (typeof window !== \"undefined\") {\n window[Symbol.for(\"radix-ui\")] = true;\n }\n return /* @__PURE__ */ jsx(Comp, { ...primitiveProps, ref: forwardedRef });\n });\n Node.displayName = `Primitive.${node}`;\n return { ...primitive, [node]: Node };\n}, {});\nfunction dispatchDiscreteCustomEvent(target, event) {\n if (target) ReactDOM.flushSync(() => target.dispatchEvent(event));\n}\nvar Root = Primitive;\nexport {\n Primitive,\n Root,\n dispatchDiscreteCustomEvent\n};\n//# sourceMappingURL=index.mjs.map\n"],"x_google_ignoreList":[0],"mappings":"yTAwBA,IAAI,EAAY,CAlBd,IACA,SACA,MACA,OACA,KACA,KACA,MACA,QACA,QACA,KACA,MACA,KACA,IACA,SACA,OACA,MACA,IAEkB,CAAC,CAAC,QAAQ,EAAW,IAAS,CAChD,IAAM,EAAOA,EAAAA,WAAW,aAAa,GAAM,EACrC,EAAOC,EAAM,YAAY,EAAO,IAAiB,CACrD,GAAM,CAAE,UAAS,GAAG,GAAmB,EACjC,EAAO,EAAU,EAAO,EAI9B,OAHI,OAAO,OAAW,MACpB,OAAO,OAAO,IAAI,UAAU,GAAK,KAEZ,EAAA,EAAA,IAAA,CAAI,EAAM,CAAE,GAAG,EAAgB,IAAK,CAAa,CAAC,CAC3E,CAAC,EAED,MADA,GAAK,YAAc,aAAa,IACzB,CAAE,GAAG,GAAY,GAAO,CAAK,CACtC,EAAG,CAAC,CAAC,EACL,SAAS,EAA4B,EAAQ,EAAO,CAC9C,GAAQ,EAAS,cAAgB,EAAO,cAAc,CAAK,CAAC,CAClE"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.es.js","names":[],"sources":["../../../../../../../../../../node_modules/.bun/@radix-ui+react-primitive@2.1.7+ae2b4604ef263bc9/node_modules/@radix-ui/react-primitive/dist/index.mjs"],"sourcesContent":["// src/primitive.tsx\nimport * as React from \"react\";\nimport * as ReactDOM from \"react-dom\";\nimport { createSlot } from \"@radix-ui/react-slot\";\nimport { jsx } from \"react/jsx-runtime\";\nvar NODES = [\n \"a\",\n \"button\",\n \"div\",\n \"form\",\n \"h2\",\n \"h3\",\n \"img\",\n \"input\",\n \"label\",\n \"li\",\n \"nav\",\n \"ol\",\n \"p\",\n \"select\",\n \"span\",\n \"svg\",\n \"ul\"\n];\nvar Primitive = NODES.reduce((primitive, node) => {\n const Slot = createSlot(`Primitive.${node}`);\n const Node = React.forwardRef((props, forwardedRef) => {\n const { asChild, ...primitiveProps } = props;\n const Comp = asChild ? Slot : node;\n if (typeof window !== \"undefined\") {\n window[Symbol.for(\"radix-ui\")] = true;\n }\n return /* @__PURE__ */ jsx(Comp, { ...primitiveProps, ref: forwardedRef });\n });\n Node.displayName = `Primitive.${node}`;\n return { ...primitive, [node]: Node };\n}, {});\nfunction dispatchDiscreteCustomEvent(target, event) {\n if (target) ReactDOM.flushSync(() => target.dispatchEvent(event));\n}\nvar Root = Primitive;\nexport {\n Primitive,\n Root,\n dispatchDiscreteCustomEvent\n};\n//# sourceMappingURL=index.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;;;AAwBA,IAAI,IAAY;CAlBd;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AAEkB,CAAC,CAAC,QAAQ,GAAW,MAAS;CAChD,IAAM,IAAO,EAAW,aAAa,GAAM,GACrC,IAAO,EAAM,YAAY,GAAO,MAAiB;EACrD,IAAM,EAAE,YAAS,GAAG,MAAmB,GACjC,IAAO,IAAU,IAAO;EAI9B,OAHI,OAAO,SAAW,QACpB,OAAO,OAAO,IAAI,UAAU,KAAK,KAEZ,kBAAI,GAAM;GAAE,GAAG;GAAgB,KAAK;EAAa,CAAC;CAC3E,CAAC;CAED,OADA,EAAK,cAAc,aAAa,KACzB;EAAE,GAAG;GAAY,IAAO;CAAK;AACtC,GAAG,CAAC,CAAC;AACL,SAAS,EAA4B,GAAQ,GAAO;CAClD,AAAI,KAAQ,EAAS,gBAAgB,EAAO,cAAc,CAAK,CAAC;AAClE"}
@@ -1,2 +0,0 @@
1
- const e=require("../../../../../../../_virtual/_rolldown/runtime.cjs.js"),t=require("../../../../../@radix-ui_react-compose-refs@1.1.3_93dbe784b8baa420/node_modules/@radix-ui/react-compose-refs/dist/index.cjs.js");let n=require("react");n=e.__toESM(n,1);function r(e){let r=n.forwardRef((r,i)=>{let{children:l,...d}=r,h=null,g=!1,_=[];u(l)&&typeof m==`function`&&(l=m(l._payload)),n.Children.forEach(l,e=>{if(c(e)){g=!0;let t=e,n=`child`in t.props?t.props.child:t.props.children;u(n)&&typeof m==`function`&&(n=m(n._payload)),h=a(t,n),_.push(h?.props?.children)}else _.push(e)}),h?h=n.cloneElement(h,void 0,_):!g&&n.Children.count(l)===1&&n.isValidElement(l)&&(h=l);let v=h?s(h):void 0,y=t.useComposedRefs(i,v);if(!h){if(l||l===0)throw Error(g?p(e):f(e));return l}let b=o(d,h.props??{});return h.type!==n.Fragment&&(b.ref=i?y:v),n.cloneElement(h,b)});return r.displayName=`${e}.Slot`,r}var i=Symbol.for(`radix.slottable`),a=(e,t)=>{if(`child`in e.props){let t=e.props.child;return n.isValidElement(t)?n.cloneElement(t,void 0,e.props.children(t.props.children)):null}return n.isValidElement(t)?t:null};function o(e,t){let n={...t};for(let r in t){let i=e[r],a=t[r];/^on[A-Z]/.test(r)?i&&a?n[r]=(...e)=>{let t=a(...e);return i(...e),t}:i&&(n[r]=i):r===`style`?n[r]={...i,...a}:r===`className`&&(n[r]=[i,a].filter(Boolean).join(` `))}return{...e,...n}}function s(e){let t=Object.getOwnPropertyDescriptor(e.props,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function c(e){return n.isValidElement(e)&&typeof e.type==`function`&&`__radixId`in e.type&&e.type.__radixId===i}var l=Symbol.for(`react.lazy`);function u(e){return typeof e==`object`&&!!e&&`$$typeof`in e&&e.$$typeof===l&&`_payload`in e&&d(e._payload)}function d(e){return typeof e==`object`&&!!e&&`then`in e}var f=e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,p=e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,m=n.use;exports.createSlot=r;
2
- //# sourceMappingURL=index.cjs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs.js","names":["React","useComposedRefs"],"sources":["../../../../../../../../../../node_modules/.bun/@radix-ui+react-slot@1.3.0+93dbe784b8baa420/node_modules/@radix-ui/react-slot/dist/index.mjs"],"sourcesContent":["// src/slot.tsx\nimport * as React from \"react\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\n// @__NO_SIDE_EFFECTS__\nfunction createSlot(ownerName) {\n const Slot2 = React.forwardRef((props, forwardedRef) => {\n let { children, ...slotProps } = props;\n let slottableElement = null;\n let hasSlottable = false;\n const newChildren = [];\n if (isLazyComponent(children) && typeof use === \"function\") {\n children = use(children._payload);\n }\n React.Children.forEach(children, (maybeSlottable) => {\n if (isSlottable(maybeSlottable)) {\n hasSlottable = true;\n const slottable = maybeSlottable;\n let child = \"child\" in slottable.props ? slottable.props.child : slottable.props.children;\n if (isLazyComponent(child) && typeof use === \"function\") {\n child = use(child._payload);\n }\n slottableElement = getSlottableElementFromSlottable(slottable, child);\n newChildren.push(slottableElement?.props?.children);\n } else {\n newChildren.push(maybeSlottable);\n }\n });\n if (slottableElement) {\n slottableElement = React.cloneElement(slottableElement, void 0, newChildren);\n } else if (\n // A `Slottable` was found but it didn't resolve to a single element (e.g.\n // it wrapped multiple elements, text, or a render-prop `child` that\n // wasn't an element). Don't fall back to treating the `Slottable` wrapper\n // itself as the slot target — throw a descriptive error below instead.\n !hasSlottable && React.Children.count(children) === 1 && React.isValidElement(children)\n ) {\n slottableElement = children;\n }\n const slottableElementRef = slottableElement ? getElementRef(slottableElement) : void 0;\n const composedRef = useComposedRefs(forwardedRef, slottableElementRef);\n if (!slottableElement) {\n if (children || children === 0) {\n throw new Error(\n hasSlottable ? createSlottableError(ownerName) : createSlotError(ownerName)\n );\n }\n return children;\n }\n const mergedProps = mergeProps(slotProps, slottableElement.props ?? {});\n if (slottableElement.type !== React.Fragment) {\n mergedProps.ref = forwardedRef ? composedRef : slottableElementRef;\n }\n return React.cloneElement(slottableElement, mergedProps);\n });\n Slot2.displayName = `${ownerName}.Slot`;\n return Slot2;\n}\nvar Slot = /* @__PURE__ */ createSlot(\"Slot\");\nvar SLOTTABLE_IDENTIFIER = Symbol.for(\"radix.slottable\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlottable(ownerName) {\n const Slottable2 = (props) => \"child\" in props ? props.children(props.child) : props.children;\n Slottable2.displayName = `${ownerName}.Slottable`;\n Slottable2.__radixId = SLOTTABLE_IDENTIFIER;\n return Slottable2;\n}\nvar Slottable = /* @__PURE__ */ createSlottable(\"Slottable\");\nvar getSlottableElementFromSlottable = (slottable, child) => {\n if (\"child\" in slottable.props) {\n const child2 = slottable.props.child;\n if (!React.isValidElement(child2)) return null;\n return React.cloneElement(child2, void 0, slottable.props.children(child2.props.children));\n }\n return React.isValidElement(child) ? child : null;\n};\nfunction mergeProps(slotProps, childProps) {\n const overrideProps = { ...childProps };\n for (const propName in childProps) {\n const slotPropValue = slotProps[propName];\n const childPropValue = childProps[propName];\n const isHandler = /^on[A-Z]/.test(propName);\n if (isHandler) {\n if (slotPropValue && childPropValue) {\n overrideProps[propName] = (...args) => {\n const result = childPropValue(...args);\n slotPropValue(...args);\n return result;\n };\n } else if (slotPropValue) {\n overrideProps[propName] = slotPropValue;\n }\n } else if (propName === \"style\") {\n overrideProps[propName] = { ...slotPropValue, ...childPropValue };\n } else if (propName === \"className\") {\n overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(\" \");\n }\n }\n return { ...slotProps, ...overrideProps };\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\nfunction isSlottable(child) {\n return React.isValidElement(child) && typeof child.type === \"function\" && \"__radixId\" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER;\n}\nvar REACT_LAZY_TYPE = Symbol.for(\"react.lazy\");\nfunction isLazyComponent(element) {\n return element != null && typeof element === \"object\" && \"$$typeof\" in element && element.$$typeof === REACT_LAZY_TYPE && \"_payload\" in element && isPromiseLike(element._payload);\n}\nfunction isPromiseLike(value) {\n return typeof value === \"object\" && value !== null && \"then\" in value;\n}\nvar createSlotError = (ownerName) => {\n return `${ownerName} failed to slot onto its children. Expected a single React element child or \\`Slottable\\`.`;\n};\nvar createSlottableError = (ownerName) => {\n return `${ownerName} failed to slot onto its \\`Slottable\\`. Expected \\`Slottable\\` to receive a single React element child.`;\n};\nvar use = React[\" use \".trim().toString()];\nexport {\n Slot as Root,\n Slot,\n Slottable,\n createSlot,\n createSlottable\n};\n//# sourceMappingURL=index.mjs.map\n"],"x_google_ignoreList":[0],"mappings":"8PAIA,SAAS,EAAW,EAAW,CAC7B,IAAM,EAAQA,EAAM,YAAY,EAAO,IAAiB,CACtD,GAAI,CAAE,WAAU,GAAG,GAAc,EAC7B,EAAmB,KACnB,EAAe,GACb,EAAc,CAAC,EACjB,EAAgB,CAAQ,GAAK,OAAO,GAAQ,aAC9C,EAAW,EAAI,EAAS,QAAQ,GAElC,EAAM,SAAS,QAAQ,EAAW,GAAmB,CACnD,GAAI,EAAY,CAAc,EAAG,CAC/B,EAAe,GACf,IAAM,EAAY,EACd,EAAQ,UAAW,EAAU,MAAQ,EAAU,MAAM,MAAQ,EAAU,MAAM,SAC7E,EAAgB,CAAK,GAAK,OAAO,GAAQ,aAC3C,EAAQ,EAAI,EAAM,QAAQ,GAE5B,EAAmB,EAAiC,EAAW,CAAK,EACpE,EAAY,KAAK,GAAkB,OAAO,QAAQ,CACpD,MACE,EAAY,KAAK,CAAc,CAEnC,CAAC,EACG,EACF,EAAmBA,EAAM,aAAa,EAAkB,IAAK,GAAG,CAAW,EAM3E,CAAC,GAAgBA,EAAM,SAAS,MAAM,CAAQ,IAAM,GAAKA,EAAM,eAAe,CAAQ,IAEtF,EAAmB,GAErB,IAAM,EAAsB,EAAmB,EAAc,CAAgB,EAAI,IAAK,GAChF,EAAcC,EAAAA,gBAAgB,EAAc,CAAmB,E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K,CAAC,EAAE,IAChE,EAAU,GAAU,mBAAoB,GAAU,EAAO,eAS7D,OARI,EACK,EAAQ,KAEjB,EAAS,OAAO,yBAAyB,EAAS,KAAK,CAAC,EAAE,IAC1D,EAAU,GAAU,mBAAoB,GAAU,EAAO,eACrD,EACK,EAAQ,MAAM,IAEhB,EAAQ,MAAM,KAAO,EAAQ,IACtC,CACA,SAAS,EAAY,EAAO,CAC1B,OAAOA,EAAM,eAAe,CAAK,GAAK,OAAO,EAAM,MAAS,YAAc,cAAe,EAAM,MAAQ,EAAM,KAAK,YAAc,CAClI,CACA,IAAI,EAAkB,OAAO,IAAI,YAAY,EAC7C,SAAS,EAAgB,EAAS,CAChC,OAA0B,OAAO,GAAY,YAAtC,GAAkD,aAAc,GAAW,EAAQ,WAAa,GAAmB,aAAc,GAAW,EAAc,EAAQ,QAAQ,CACnL,CACA,SAAS,EAAc,EAAO,CAC5B,OAAO,OAAO,GAAU,YAAY,GAAkB,SAAU,CAClE,CACA,IAAI,EAAmB,GACd,GAAG,EAAU,4FAElB,EAAwB,GACnB,GAAG,EAAU,yGAElB,EAAMA,EAAM"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.es.js","names":[],"sources":["../../../../../../../../../../node_modules/.bun/@radix-ui+react-slot@1.3.0+93dbe784b8baa420/node_modules/@radix-ui/react-slot/dist/index.mjs"],"sourcesContent":["// src/slot.tsx\nimport * as React from \"react\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\n// @__NO_SIDE_EFFECTS__\nfunction createSlot(ownerName) {\n const Slot2 = React.forwardRef((props, forwardedRef) => {\n let { children, ...slotProps } = props;\n let slottableElement = null;\n let hasSlottable = false;\n const newChildren = [];\n if (isLazyComponent(children) && typeof use === \"function\") {\n children = use(children._payload);\n }\n React.Children.forEach(children, (maybeSlottable) => {\n if (isSlottable(maybeSlottable)) {\n hasSlottable = true;\n const slottable = maybeSlottable;\n let child = \"child\" in slottable.props ? slottable.props.child : slottable.props.children;\n if (isLazyComponent(child) && typeof use === \"function\") {\n child = use(child._payload);\n }\n slottableElement = getSlottableElementFromSlottable(slottable, child);\n newChildren.push(slottableElement?.props?.children);\n } else {\n newChildren.push(maybeSlottable);\n }\n });\n if (slottableElement) {\n slottableElement = React.cloneElement(slottableElement, void 0, newChildren);\n } else if (\n // A `Slottable` was found but it didn't resolve to a single element (e.g.\n // it wrapped multiple elements, text, or a render-prop `child` that\n // wasn't an element). Don't fall back to treating the `Slottable` wrapper\n // itself as the slot target — throw a descriptive error below instead.\n !hasSlottable && React.Children.count(children) === 1 && React.isValidElement(children)\n ) {\n slottableElement = children;\n }\n const slottableElementRef = slottableElement ? getElementRef(slottableElement) : void 0;\n const composedRef = useComposedRefs(forwardedRef, slottableElementRef);\n if (!slottableElement) {\n if (children || children === 0) {\n throw new Error(\n hasSlottable ? createSlottableError(ownerName) : createSlotError(ownerName)\n );\n }\n return children;\n }\n const mergedProps = mergeProps(slotProps, slottableElement.props ?? {});\n if (slottableElement.type !== React.Fragment) {\n mergedProps.ref = forwardedRef ? composedRef : slottableElementRef;\n }\n return React.cloneElement(slottableElement, mergedProps);\n });\n Slot2.displayName = `${ownerName}.Slot`;\n return Slot2;\n}\nvar Slot = /* @__PURE__ */ createSlot(\"Slot\");\nvar SLOTTABLE_IDENTIFIER = Symbol.for(\"radix.slottable\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlottable(ownerName) {\n const Slottable2 = (props) => \"child\" in props ? props.children(props.child) : props.children;\n Slottable2.displayName = `${ownerName}.Slottable`;\n Slottable2.__radixId = SLOTTABLE_IDENTIFIER;\n return Slottable2;\n}\nvar Slottable = /* @__PURE__ */ createSlottable(\"Slottable\");\nvar getSlottableElementFromSlottable = (slottable, child) => {\n if (\"child\" in slottable.props) {\n const child2 = slottable.props.child;\n if (!React.isValidElement(child2)) return null;\n return React.cloneElement(child2, void 0, slottable.props.children(child2.props.children));\n }\n return React.isValidElement(child) ? child : null;\n};\nfunction mergeProps(slotProps, childProps) {\n const overrideProps = { ...childProps };\n for (const propName in childProps) {\n const slotPropValue = slotProps[propName];\n const childPropValue = childProps[propName];\n const isHandler = /^on[A-Z]/.test(propName);\n if (isHandler) {\n if (slotPropValue && childPropValue) {\n overrideProps[propName] = (...args) => {\n const result = childPropValue(...args);\n slotPropValue(...args);\n return result;\n };\n } else if (slotPropValue) {\n overrideProps[propName] = slotPropValue;\n }\n } else if (propName === \"style\") {\n overrideProps[propName] = { ...slotPropValue, ...childPropValue };\n } else if (propName === \"className\") {\n overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(\" \");\n }\n }\n return { ...slotProps, ...overrideProps };\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\nfunction isSlottable(child) {\n return React.isValidElement(child) && typeof child.type === \"function\" && \"__radixId\" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER;\n}\nvar REACT_LAZY_TYPE = Symbol.for(\"react.lazy\");\nfunction isLazyComponent(element) {\n return element != null && typeof element === \"object\" && \"$$typeof\" in element && element.$$typeof === REACT_LAZY_TYPE && \"_payload\" in element && isPromiseLike(element._payload);\n}\nfunction isPromiseLike(value) {\n return typeof value === \"object\" && value !== null && \"then\" in value;\n}\nvar createSlotError = (ownerName) => {\n return `${ownerName} failed to slot onto its children. Expected a single React element child or \\`Slottable\\`.`;\n};\nvar createSlottableError = (ownerName) => {\n return `${ownerName} failed to slot onto its \\`Slottable\\`. Expected \\`Slottable\\` to receive a single React element child.`;\n};\nvar use = React[\" use \".trim().toString()];\nexport {\n Slot as Root,\n Slot,\n Slottable,\n createSlot,\n createSlottable\n};\n//# sourceMappingURL=index.mjs.map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AAO,IAAI,YAAY;AAC7C,SAAS,EAAgB,GAAS;CAChC,OAA0B,OAAO,KAAY,cAAtC,KAAkD,cAAc,KAAW,EAAQ,aAAa,KAAmB,cAAc,KAAW,EAAc,EAAQ,QAAQ;AACnL;AACA,SAAS,EAAc,GAAO;CAC5B,OAAO,OAAO,KAAU,cAAY,KAAkB,UAAU;AAClE;AACA,IAAI,KAAmB,MACd,GAAG,EAAU,6FAElB,KAAwB,MACnB,GAAG,EAAU,0GAElB,IAAM,EAAM"}
@@ -1,2 +0,0 @@
1
- const e=require("../../../../../../../_virtual/_rolldown/runtime.cjs.js");let t=require("react");t=e.__toESM(t,1);function n(e){let n=t.useRef(e);return t.useEffect(()=>{n.current=e}),t.useMemo(()=>((...e)=>n.current?.(...e)),[])}exports.useCallbackRef=n;
2
- //# sourceMappingURL=index.cjs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs.js","names":["React"],"sources":["../../../../../../../../../../node_modules/.bun/@radix-ui+react-use-callback-ref@1.1.2+93dbe784b8baa420/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs"],"sourcesContent":["// src/use-callback-ref.tsx\nimport * as React from \"react\";\nfunction useCallbackRef(callback) {\n const callbackRef = React.useRef(callback);\n React.useEffect(() => {\n callbackRef.current = callback;\n });\n return React.useMemo(() => ((...args) => callbackRef.current?.(...args)), []);\n}\nexport {\n useCallbackRef\n};\n//# sourceMappingURL=index.mjs.map\n"],"x_google_ignoreList":[0],"mappings":"kHAEA,SAAS,EAAe,EAAU,CAChC,IAAM,EAAcA,EAAM,OAAO,CAAQ,EAIzC,OAHA,EAAM,cAAgB,CACpB,EAAY,QAAU,CACxB,CAAC,EACMA,EAAM,cAAgB,GAAG,IAAS,EAAY,UAAU,GAAG,CAAI,GAAI,CAAC,CAAC,CAC9E"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.es.js","names":[],"sources":["../../../../../../../../../../node_modules/.bun/@radix-ui+react-use-callback-ref@1.1.2+93dbe784b8baa420/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs"],"sourcesContent":["// src/use-callback-ref.tsx\nimport * as React from \"react\";\nfunction useCallbackRef(callback) {\n const callbackRef = React.useRef(callback);\n React.useEffect(() => {\n callbackRef.current = callback;\n });\n return React.useMemo(() => ((...args) => callbackRef.current?.(...args)), []);\n}\nexport {\n useCallbackRef\n};\n//# sourceMappingURL=index.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;AAEA,SAAS,EAAe,GAAU;CAChC,IAAM,IAAc,EAAM,OAAO,CAAQ;CAIzC,OAHA,EAAM,gBAAgB;EACpB,EAAY,UAAU;CACxB,CAAC,GACM,EAAM,gBAAgB,GAAG,MAAS,EAAY,UAAU,GAAG,CAAI,IAAI,CAAC,CAAC;AAC9E"}
@@ -1,2 +0,0 @@
1
- const e=require("../../../../../../../_virtual/_rolldown/runtime.cjs.js"),t=require("../../../../../@radix-ui_react-use-layout-effect@1.1.2_93dbe784b8baa420/node_modules/@radix-ui/react-use-layout-effect/dist/index.cjs.js");let n=require("react");n=e.__toESM(n,1);var r=n.useInsertionEffect||t.useLayoutEffect;function i({prop:e,defaultProp:t,onChange:r=()=>{},caller:i}){let[s,c,l]=a({defaultProp:t,onChange:r}),u=e!==void 0,d=u?e:s;{let t=n.useRef(e!==void 0);n.useEffect(()=>{let e=t.current;e!==u&&console.warn(`${i} is changing from ${e?`controlled`:`uncontrolled`} to ${u?`controlled`:`uncontrolled`}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),t.current=u},[u,i])}return[d,n.useCallback(t=>{if(u){let n=o(t)?t(e):t;n!==e&&l.current?.(n)}else c(t)},[u,e,c,l])]}function a({defaultProp:e,onChange:t}){let[i,a]=n.useState(e),o=n.useRef(i),s=n.useRef(t);return r(()=>{s.current=t},[t]),n.useEffect(()=>{o.current!==i&&(s.current?.(i),o.current=i)},[i,o]),[i,a,s]}function o(e){return typeof e==`function`}exports.useControllableState=i;
2
- //# sourceMappingURL=index.cjs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs.js","names":["React","useLayoutEffect"],"sources":["../../../../../../../../../../node_modules/.bun/@radix-ui+react-use-controllable-state@1.2.3+93dbe784b8baa420/node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs"],"sourcesContent":["// src/use-controllable-state.tsx\nimport * as React from \"react\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\nvar useInsertionEffect = React[\" useInsertionEffect \".trim().toString()] || useLayoutEffect;\nfunction useControllableState({\n prop,\n defaultProp,\n onChange = () => {\n },\n caller\n}) {\n const [uncontrolledProp, setUncontrolledProp, onChangeRef] = useUncontrolledState({\n defaultProp,\n onChange\n });\n const isControlled = prop !== void 0;\n const value = isControlled ? prop : uncontrolledProp;\n if (true) {\n const isControlledRef = React.useRef(prop !== void 0);\n React.useEffect(() => {\n const wasControlled = isControlledRef.current;\n if (wasControlled !== isControlled) {\n const from = wasControlled ? \"controlled\" : \"uncontrolled\";\n const to = isControlled ? \"controlled\" : \"uncontrolled\";\n console.warn(\n `${caller} is changing from ${from} to ${to}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`\n );\n }\n isControlledRef.current = isControlled;\n }, [isControlled, caller]);\n }\n const setValue = React.useCallback(\n (nextValue) => {\n if (isControlled) {\n const value2 = isFunction(nextValue) ? nextValue(prop) : nextValue;\n if (value2 !== prop) {\n onChangeRef.current?.(value2);\n }\n } else {\n setUncontrolledProp(nextValue);\n }\n },\n [isControlled, prop, setUncontrolledProp, onChangeRef]\n );\n return [value, setValue];\n}\nfunction useUncontrolledState({\n defaultProp,\n onChange\n}) {\n const [value, setValue] = React.useState(defaultProp);\n const prevValueRef = React.useRef(value);\n const onChangeRef = React.useRef(onChange);\n useInsertionEffect(() => {\n onChangeRef.current = onChange;\n }, [onChange]);\n React.useEffect(() => {\n if (prevValueRef.current !== value) {\n onChangeRef.current?.(value);\n prevValueRef.current = value;\n }\n }, [value, prevValueRef]);\n return [value, setValue, onChangeRef];\n}\nfunction isFunction(value) {\n return typeof value === \"function\";\n}\n\n// src/use-controllable-state-reducer.tsx\nimport * as React2 from \"react\";\nimport { useEffectEvent } from \"@radix-ui/react-use-effect-event\";\nvar SYNC_STATE = Symbol(\"RADIX:SYNC_STATE\");\nfunction useControllableStateReducer(reducer, userArgs, initialArg, init) {\n const { prop: controlledState, defaultProp, onChange: onChangeProp, caller } = userArgs;\n const isControlled = controlledState !== void 0;\n const onChange = useEffectEvent(onChangeProp);\n if (true) {\n const isControlledRef = React2.useRef(controlledState !== void 0);\n React2.useEffect(() => {\n const wasControlled = isControlledRef.current;\n if (wasControlled !== isControlled) {\n const from = wasControlled ? \"controlled\" : \"uncontrolled\";\n const to = isControlled ? \"controlled\" : \"uncontrolled\";\n console.warn(\n `${caller} is changing from ${from} to ${to}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`\n );\n }\n isControlledRef.current = isControlled;\n }, [isControlled, caller]);\n }\n const args = [{ ...initialArg, state: defaultProp }];\n if (init) {\n args.push(init);\n }\n const [internalState, dispatch] = React2.useReducer(\n (state2, action) => {\n if (action.type === SYNC_STATE) {\n return { ...state2, state: action.state };\n }\n const next = reducer(state2, action);\n if (isControlled && !Object.is(next.state, state2.state)) {\n onChange(next.state);\n }\n return next;\n },\n ...args\n );\n const uncontrolledState = internalState.state;\n const prevValueRef = React2.useRef(uncontrolledState);\n React2.useEffect(() => {\n if (prevValueRef.current !== uncontrolledState) {\n prevValueRef.current = uncontrolledState;\n if (!isControlled) {\n onChange(uncontrolledState);\n }\n }\n }, [uncontrolledState, prevValueRef, isControlled]);\n const state = React2.useMemo(() => {\n const isControlled2 = controlledState !== void 0;\n if (isControlled2) {\n return { ...internalState, state: controlledState };\n }\n return internalState;\n }, [internalState, controlledState]);\n React2.useEffect(() => {\n if (isControlled && !Object.is(controlledState, internalState.state)) {\n dispatch({ type: SYNC_STATE, state: controlledState });\n }\n }, [controlledState, internalState.state, isControlled]);\n return [state, dispatch];\n}\nexport {\n useControllableState,\n useControllableStateReducer\n};\n//# sourceMappingURL=index.mjs.map\n"],"x_google_ignoreList":[0],"mappings":"wQAGA,IAAI,EAAqBA,EAAM,oBAA6CC,EAAAA,gBAC5E,SAAS,EAAqB,CAC5B,OACA,cACA,eAAiB,CACjB,EACA,UACC,CACD,GAAM,CAAC,EAAkB,EAAqB,GAAe,EAAqB,CAChF,cACA,UACF,CAAC,EACK,EAAe,IAAS,IAAK,GAC7B,EAAQ,EAAe,EAAO,EAC1B,CACR,IAAM,EAAkBD,EAAM,OAAO,IAAS,IAAK,EAAC,EACpD,EAAM,cAAgB,CACpB,IAAM,EAAgB,EAAgB,QAClC,IAAkB,GAGpB,QAAQ,KACN,GAAG,EAAO,oBAHC,EAAgB,aAAe,eAGP,MAF1B,EAAe,aAAe,eAEK,2KAC9C,EAEF,EAAgB,QAAU,CAC5B,EAAG,CAAC,EAAc,CAAM,CAAC,CAC3B,CAcA,MAAO,CAAC,EAbSA,EAAM,YACpB,GAAc,CACb,GAAI,EAAc,CAChB,IAAM,EAAS,EAAW,CAAS,EAAI,EAAU,CAAI,EAAI,EACrD,IAAW,GACb,EAAY,UAAU,CAAM,CAEhC,MACE,EAAoB,CAAS,CAEjC,EACA,CAAC,EAAc,EAAM,EAAqB,CAAW,CAEjC,CAAC,CACzB,CACA,SAAS,EAAqB,CAC5B,cACA,YACC,CACD,GAAM,CAAC,EAAO,GAAYA,EAAM,SAAS,CAAW,EAC9C,EAAeA,EAAM,OAAO,CAAK,EACjC,EAAcA,EAAM,OAAO,CAAQ,EAUzC,OATA,MAAyB,CACvB,EAAY,QAAU,CACxB,EAAG,CAAC,CAAQ,CAAC,EACb,EAAM,cAAgB,CAChB,EAAa,UAAY,IAC3B,EAAY,UAAU,CAAK,EAC3B,EAAa,QAAU,EAE3B,EAAG,CAAC,EAAO,CAAY,CAAC,EACjB,CAAC,EAAO,EAAU,CAAW,CACtC,CACA,SAAS,EAAW,EAAO,CACzB,OAAO,OAAO,GAAU,UAC1B"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.es.js","names":["useLayoutEffect"],"sources":["../../../../../../../../../../node_modules/.bun/@radix-ui+react-use-controllable-state@1.2.3+93dbe784b8baa420/node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs"],"sourcesContent":["// src/use-controllable-state.tsx\nimport * as React from \"react\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\nvar useInsertionEffect = React[\" useInsertionEffect \".trim().toString()] || useLayoutEffect;\nfunction useControllableState({\n prop,\n defaultProp,\n onChange = () => {\n },\n caller\n}) {\n const [uncontrolledProp, setUncontrolledProp, onChangeRef] = useUncontrolledState({\n defaultProp,\n onChange\n });\n const isControlled = prop !== void 0;\n const value = isControlled ? prop : uncontrolledProp;\n if (true) {\n const isControlledRef = React.useRef(prop !== void 0);\n React.useEffect(() => {\n const wasControlled = isControlledRef.current;\n if (wasControlled !== isControlled) {\n const from = wasControlled ? \"controlled\" : \"uncontrolled\";\n const to = isControlled ? \"controlled\" : \"uncontrolled\";\n console.warn(\n `${caller} is changing from ${from} to ${to}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`\n );\n }\n isControlledRef.current = isControlled;\n }, [isControlled, caller]);\n }\n const setValue = React.useCallback(\n (nextValue) => {\n if (isControlled) {\n const value2 = isFunction(nextValue) ? nextValue(prop) : nextValue;\n if (value2 !== prop) {\n onChangeRef.current?.(value2);\n }\n } else {\n setUncontrolledProp(nextValue);\n }\n },\n [isControlled, prop, setUncontrolledProp, onChangeRef]\n );\n return [value, setValue];\n}\nfunction useUncontrolledState({\n defaultProp,\n onChange\n}) {\n const [value, setValue] = React.useState(defaultProp);\n const prevValueRef = React.useRef(value);\n const onChangeRef = React.useRef(onChange);\n useInsertionEffect(() => {\n onChangeRef.current = onChange;\n }, [onChange]);\n React.useEffect(() => {\n if (prevValueRef.current !== value) {\n onChangeRef.current?.(value);\n prevValueRef.current = value;\n }\n }, [value, prevValueRef]);\n return [value, setValue, onChangeRef];\n}\nfunction isFunction(value) {\n return typeof value === \"function\";\n}\n\n// src/use-controllable-state-reducer.tsx\nimport * as React2 from \"react\";\nimport { useEffectEvent } from \"@radix-ui/react-use-effect-event\";\nvar SYNC_STATE = Symbol(\"RADIX:SYNC_STATE\");\nfunction useControllableStateReducer(reducer, userArgs, initialArg, init) {\n const { prop: controlledState, defaultProp, onChange: onChangeProp, caller } = userArgs;\n const isControlled = controlledState !== void 0;\n const onChange = useEffectEvent(onChangeProp);\n if (true) {\n const isControlledRef = React2.useRef(controlledState !== void 0);\n React2.useEffect(() => {\n const wasControlled = isControlledRef.current;\n if (wasControlled !== isControlled) {\n const from = wasControlled ? \"controlled\" : \"uncontrolled\";\n const to = isControlled ? \"controlled\" : \"uncontrolled\";\n console.warn(\n `${caller} is changing from ${from} to ${to}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`\n );\n }\n isControlledRef.current = isControlled;\n }, [isControlled, caller]);\n }\n const args = [{ ...initialArg, state: defaultProp }];\n if (init) {\n args.push(init);\n }\n const [internalState, dispatch] = React2.useReducer(\n (state2, action) => {\n if (action.type === SYNC_STATE) {\n return { ...state2, state: action.state };\n }\n const next = reducer(state2, action);\n if (isControlled && !Object.is(next.state, state2.state)) {\n onChange(next.state);\n }\n return next;\n },\n ...args\n );\n const uncontrolledState = internalState.state;\n const prevValueRef = React2.useRef(uncontrolledState);\n React2.useEffect(() => {\n if (prevValueRef.current !== uncontrolledState) {\n prevValueRef.current = uncontrolledState;\n if (!isControlled) {\n onChange(uncontrolledState);\n }\n }\n }, [uncontrolledState, prevValueRef, isControlled]);\n const state = React2.useMemo(() => {\n const isControlled2 = controlledState !== void 0;\n if (isControlled2) {\n return { ...internalState, state: controlledState };\n }\n return internalState;\n }, [internalState, controlledState]);\n React2.useEffect(() => {\n if (isControlled && !Object.is(controlledState, internalState.state)) {\n dispatch({ type: SYNC_STATE, state: controlledState });\n }\n }, [controlledState, internalState.state, isControlled]);\n return [state, dispatch];\n}\nexport {\n useControllableState,\n useControllableStateReducer\n};\n//# sourceMappingURL=index.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;AAGA,IAAI,IAAqB,EAAM,sBAA6CA;AAC5E,SAAS,EAAqB,EAC5B,SACA,gBACA,oBAAiB,CACjB,GACA,aACC;CACD,IAAM,CAAC,GAAkB,GAAqB,KAAe,EAAqB;EAChF;EACA;CACF,CAAC,GACK,IAAe,MAAS,KAAK,GAC7B,IAAQ,IAAe,IAAO;CAC1B;EACR,IAAM,IAAkB,EAAM,OAAO,MAAS,KAAK,CAAC;EACpD,EAAM,gBAAgB;GACpB,IAAM,IAAgB,EAAgB;GAQtC,AAPI,MAAkB,KAGpB,QAAQ,KACN,GAAG,EAAO,oBAHC,IAAgB,eAAe,eAGP,MAF1B,IAAe,eAAe,eAEK,2KAC9C,GAEF,EAAgB,UAAU;EAC5B,GAAG,CAAC,GAAc,CAAM,CAAC;CAC3B;CAcA,OAAO,CAAC,GAbS,EAAM,aACpB,MAAc;EACb,IAAI,GAAc;GAChB,IAAM,IAAS,EAAW,CAAS,IAAI,EAAU,CAAI,IAAI;GACzD,AAAI,MAAW,KACb,EAAY,UAAU,CAAM;EAEhC,OACE,EAAoB,CAAS;CAEjC,GACA;EAAC;EAAc;EAAM;EAAqB;CAAW,CAEjC,CAAC;AACzB;AACA,SAAS,EAAqB,EAC5B,gBACA,eACC;CACD,IAAM,CAAC,GAAO,KAAY,EAAM,SAAS,CAAW,GAC9C,IAAe,EAAM,OAAO,CAAK,GACjC,IAAc,EAAM,OAAO,CAAQ;CAUzC,OATA,QAAyB;EACvB,EAAY,UAAU;CACxB,GAAG,CAAC,CAAQ,CAAC,GACb,EAAM,gBAAgB;EACpB,AAAI,EAAa,YAAY,MAC3B,EAAY,UAAU,CAAK,GAC3B,EAAa,UAAU;CAE3B,GAAG,CAAC,GAAO,CAAY,CAAC,GACjB;EAAC;EAAO;EAAU;CAAW;AACtC;AACA,SAAS,EAAW,GAAO;CACzB,OAAO,OAAO,KAAU;AAC1B"}
@@ -1,2 +0,0 @@
1
- const e=require("../../../../../../../_virtual/_rolldown/runtime.cjs.js");let t=require("react");t=e.__toESM(t,1);var n=globalThis?.document?t.useLayoutEffect:()=>{};exports.useLayoutEffect=n;
2
- //# sourceMappingURL=index.cjs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs.js","names":["React"],"sources":["../../../../../../../../../../node_modules/.bun/@radix-ui+react-use-layout-effect@1.1.2+93dbe784b8baa420/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs"],"sourcesContent":["// src/use-layout-effect.tsx\nimport * as React from \"react\";\nvar useLayoutEffect2 = globalThis?.document ? React.useLayoutEffect : () => {\n};\nexport {\n useLayoutEffect2 as useLayoutEffect\n};\n//# sourceMappingURL=index.mjs.map\n"],"x_google_ignoreList":[0],"mappings":"kHAEA,IAAI,EAAmB,YAAY,SAAWA,EAAM,oBAAwB,CAC5E"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.es.js","names":[],"sources":["../../../../../../../../../../node_modules/.bun/@radix-ui+react-use-layout-effect@1.1.2+93dbe784b8baa420/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs"],"sourcesContent":["// src/use-layout-effect.tsx\nimport * as React from \"react\";\nvar useLayoutEffect2 = globalThis?.document ? React.useLayoutEffect : () => {\n};\nexport {\n useLayoutEffect2 as useLayoutEffect\n};\n//# sourceMappingURL=index.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;AAEA,IAAI,IAAmB,YAAY,WAAW,EAAM,wBAAwB,CAC5E"}
@@ -1,2 +0,0 @@
1
- var e=function(e){return typeof document>`u`?null:(Array.isArray(e)?e[0]:e).ownerDocument.body},t=new WeakMap,n=new WeakMap,r={},i=0,a=function(e){return e&&(e.host||a(e.parentNode))},o=function(e,t){return t.map(function(t){if(e.contains(t))return t;var n=a(t);return n&&e.contains(n)?n:(console.error(`aria-hidden`,t,`in not contained inside`,e,`. Doing nothing`),null)}).filter(function(e){return!!e})},s=function(e,a,s,c){var l=o(a,Array.isArray(e)?e:[e]);r[s]||(r[s]=new WeakMap);var u=r[s],d=[],f=new Set,p=new Set(l),m=function(e){!e||f.has(e)||(f.add(e),m(e.parentNode))};l.forEach(m);var h=function(e){!e||p.has(e)||Array.prototype.forEach.call(e.children,function(e){if(f.has(e))h(e);else try{var r=e.getAttribute(c),i=r!==null&&r!==`false`,a=(t.get(e)||0)+1,o=(u.get(e)||0)+1;t.set(e,a),u.set(e,o),d.push(e),a===1&&i&&n.set(e,!0),o===1&&e.setAttribute(s,`true`),i||e.setAttribute(c,`true`)}catch(t){console.error(`aria-hidden: cannot operate on `,e,t)}})};return h(a),f.clear(),i++,function(){d.forEach(function(e){var r=t.get(e)-1,i=u.get(e)-1;t.set(e,r),u.set(e,i),r||(n.has(e)||e.removeAttribute(c),n.delete(e)),i||e.removeAttribute(s)}),i--,i||(t=new WeakMap,t=new WeakMap,n=new WeakMap,r={})}},c=function(t,n,r){r===void 0&&(r=`data-aria-hidden`);var i=Array.from(Array.isArray(t)?t:[t]),a=n||e(t);return a?(i.push.apply(i,Array.from(a.querySelectorAll(`[aria-live], script`))),s(i,a,r,`aria-hidden`)):function(){return null}};exports.hideOthers=c;
2
- //# sourceMappingURL=index.cjs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs.js","names":[],"sources":["../../../../../../../../../../node_modules/.bun/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.js"],"sourcesContent":["var getDefaultParent = function (originalTarget) {\n if (typeof document === 'undefined') {\n return null;\n }\n var sampleTarget = Array.isArray(originalTarget) ? originalTarget[0] : originalTarget;\n return sampleTarget.ownerDocument.body;\n};\nvar counterMap = new WeakMap();\nvar uncontrolledNodes = new WeakMap();\nvar markerMap = {};\nvar lockCount = 0;\nvar unwrapHost = function (node) {\n return node && (node.host || unwrapHost(node.parentNode));\n};\nvar correctTargets = function (parent, targets) {\n return targets\n .map(function (target) {\n if (parent.contains(target)) {\n return target;\n }\n var correctedTarget = unwrapHost(target);\n if (correctedTarget && parent.contains(correctedTarget)) {\n return correctedTarget;\n }\n console.error('aria-hidden', target, 'in not contained inside', parent, '. Doing nothing');\n return null;\n })\n .filter(function (x) { return Boolean(x); });\n};\n/**\n * Marks everything except given node(or nodes) as aria-hidden\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @param {String} [controlAttribute] - html Attribute to control\n * @return {Undo} undo command\n */\nvar applyAttributeToOthers = function (originalTarget, parentNode, markerName, controlAttribute) {\n var targets = correctTargets(parentNode, Array.isArray(originalTarget) ? originalTarget : [originalTarget]);\n if (!markerMap[markerName]) {\n markerMap[markerName] = new WeakMap();\n }\n var markerCounter = markerMap[markerName];\n var hiddenNodes = [];\n var elementsToKeep = new Set();\n var elementsToStop = new Set(targets);\n var keep = function (el) {\n if (!el || elementsToKeep.has(el)) {\n return;\n }\n elementsToKeep.add(el);\n keep(el.parentNode);\n };\n targets.forEach(keep);\n var deep = function (parent) {\n if (!parent || elementsToStop.has(parent)) {\n return;\n }\n Array.prototype.forEach.call(parent.children, function (node) {\n if (elementsToKeep.has(node)) {\n deep(node);\n }\n else {\n try {\n var attr = node.getAttribute(controlAttribute);\n var alreadyHidden = attr !== null && attr !== 'false';\n var counterValue = (counterMap.get(node) || 0) + 1;\n var markerValue = (markerCounter.get(node) || 0) + 1;\n counterMap.set(node, counterValue);\n markerCounter.set(node, markerValue);\n hiddenNodes.push(node);\n if (counterValue === 1 && alreadyHidden) {\n uncontrolledNodes.set(node, true);\n }\n if (markerValue === 1) {\n node.setAttribute(markerName, 'true');\n }\n if (!alreadyHidden) {\n node.setAttribute(controlAttribute, 'true');\n }\n }\n catch (e) {\n console.error('aria-hidden: cannot operate on ', node, e);\n }\n }\n });\n };\n deep(parentNode);\n elementsToKeep.clear();\n lockCount++;\n return function () {\n hiddenNodes.forEach(function (node) {\n var counterValue = counterMap.get(node) - 1;\n var markerValue = markerCounter.get(node) - 1;\n counterMap.set(node, counterValue);\n markerCounter.set(node, markerValue);\n if (!counterValue) {\n if (!uncontrolledNodes.has(node)) {\n node.removeAttribute(controlAttribute);\n }\n uncontrolledNodes.delete(node);\n }\n if (!markerValue) {\n node.removeAttribute(markerName);\n }\n });\n lockCount--;\n if (!lockCount) {\n // clear\n counterMap = new WeakMap();\n counterMap = new WeakMap();\n uncontrolledNodes = new WeakMap();\n markerMap = {};\n }\n };\n};\n/**\n * Marks everything except given node(or nodes) as aria-hidden\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @return {Undo} undo command\n */\nexport var hideOthers = function (originalTarget, parentNode, markerName) {\n if (markerName === void 0) { markerName = 'data-aria-hidden'; }\n var targets = Array.from(Array.isArray(originalTarget) ? originalTarget : [originalTarget]);\n var activeParentNode = parentNode || getDefaultParent(originalTarget);\n if (!activeParentNode) {\n return function () { return null; };\n }\n // we should not hide aria-live elements - https://github.com/theKashey/aria-hidden/issues/10\n // and script elements, as they have no impact on accessibility.\n targets.push.apply(targets, Array.from(activeParentNode.querySelectorAll('[aria-live], script')));\n return applyAttributeToOthers(targets, activeParentNode, markerName, 'aria-hidden');\n};\n/**\n * Marks everything except given node(or nodes) as inert\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @return {Undo} undo command\n */\nexport var inertOthers = function (originalTarget, parentNode, markerName) {\n if (markerName === void 0) { markerName = 'data-inert-ed'; }\n var activeParentNode = parentNode || getDefaultParent(originalTarget);\n if (!activeParentNode) {\n return function () { return null; };\n }\n return applyAttributeToOthers(originalTarget, activeParentNode, markerName, 'inert');\n};\n/**\n * @returns if current browser supports inert\n */\nexport var supportsInert = function () {\n return typeof HTMLElement !== 'undefined' && HTMLElement.prototype.hasOwnProperty('inert');\n};\n/**\n * Automatic function to \"suppress\" DOM elements - _hide_ or _inert_ in the best possible way\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @return {Undo} undo command\n */\nexport var suppressOthers = function (originalTarget, parentNode, markerName) {\n if (markerName === void 0) { markerName = 'data-suppressed'; }\n return (supportsInert() ? inertOthers : hideOthers)(originalTarget, parentNode, markerName);\n};\n"],"x_google_ignoreList":[0],"mappings":"AAAA,IAAI,EAAmB,SAAU,EAAgB,CAK7C,OAJI,OAAO,SAAa,IACb,MAEQ,MAAM,QAAQ,CAAc,EAAI,EAAe,GAAK,EAAA,CACnD,cAAc,IACtC,EACI,EAAa,IAAI,QACjB,EAAoB,IAAI,QACxB,EAAY,CAAC,EACb,EAAY,EACZ,EAAa,SAAU,EAAM,CAC7B,OAAO,IAAS,EAAK,MAAQ,EAAW,EAAK,UAAU,EAC3D,EACI,EAAiB,SAAU,EAAQ,EAAS,CAC5C,OAAO,EACF,IAAI,SAAU,EAAQ,CACvB,GAAI,EAAO,SAAS,CAAM,EACtB,OAAO,EAEX,IAAI,EAAkB,EAAW,CAAM,EAKvC,OAJI,GAAmB,EAAO,SAAS,CAAe,EAC3C,GAEX,QAAQ,MAAM,cAAe,EAAQ,0BAA2B,EAAQ,iBAAiB,EAClF,KACX,CAAC,CAAC,CACG,OAAO,SAAU,EAAG,CAAE,MAAO,EAAQ,CAAI,CAAC,CACnD,EASI,EAAyB,SAAU,EAAgB,EAAY,EAAY,EAAkB,CAC7F,IAAI,EAAU,EAAe,EAAY,MAAM,QAAQ,CAAc,EAAI,EAAiB,CAAC,CAAc,CAAC,EACrG,EAAU,KACX,EAAU,GAAc,IAAI,SAEhC,IAAI,EAAgB,EAAU,GAC1B,EAAc,CAAC,EACf,EAAiB,IAAI,IACrB,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EAAY,CAAC,EAErB,CACJ,EAQW,EAAa,SAAU,EAAgB,EAAY,EAAY,CAClE,IAAe,IAAK,KAAK,EAAa,oBAC1C,IAAI,EAAU,MAAM,KAAK,MAAM,QAAQ,CAAc,EAAI,EAAiB,CAAC,CAAc,CAAC,EACtF,EAAmB,GAAc,EAAiB,CAAc,EAOpE,OANK,GAKL,EAAQ,KAAK,MAAM,EAAS,MAAM,KAAK,EAAiB,iBAAiB,qBAAqB,CAAC,CAAC,EACzF,EAAuB,EAAS,EAAkB,EAAY,aAAa,GALvE,UAAY,CAAE,OAAO,IAAM,CAM1C"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.es.js","names":[],"sources":["../../../../../../../../../../node_modules/.bun/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.js"],"sourcesContent":["var getDefaultParent = function (originalTarget) {\n if (typeof document === 'undefined') {\n return null;\n }\n var sampleTarget = Array.isArray(originalTarget) ? originalTarget[0] : originalTarget;\n return sampleTarget.ownerDocument.body;\n};\nvar counterMap = new WeakMap();\nvar uncontrolledNodes = new WeakMap();\nvar markerMap = {};\nvar lockCount = 0;\nvar unwrapHost = function (node) {\n return node && (node.host || unwrapHost(node.parentNode));\n};\nvar correctTargets = function (parent, targets) {\n return targets\n .map(function (target) {\n if (parent.contains(target)) {\n return target;\n }\n var correctedTarget = unwrapHost(target);\n if (correctedTarget && parent.contains(correctedTarget)) {\n return correctedTarget;\n }\n console.error('aria-hidden', target, 'in not contained inside', parent, '. Doing nothing');\n return null;\n })\n .filter(function (x) { return Boolean(x); });\n};\n/**\n * Marks everything except given node(or nodes) as aria-hidden\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @param {String} [controlAttribute] - html Attribute to control\n * @return {Undo} undo command\n */\nvar applyAttributeToOthers = function (originalTarget, parentNode, markerName, controlAttribute) {\n var targets = correctTargets(parentNode, Array.isArray(originalTarget) ? originalTarget : [originalTarget]);\n if (!markerMap[markerName]) {\n markerMap[markerName] = new WeakMap();\n }\n var markerCounter = markerMap[markerName];\n var hiddenNodes = [];\n var elementsToKeep = new Set();\n var elementsToStop = new Set(targets);\n var keep = function (el) {\n if (!el || elementsToKeep.has(el)) {\n return;\n }\n elementsToKeep.add(el);\n keep(el.parentNode);\n };\n targets.forEach(keep);\n var deep = function (parent) {\n if (!parent || elementsToStop.has(parent)) {\n return;\n }\n Array.prototype.forEach.call(parent.children, function (node) {\n if (elementsToKeep.has(node)) {\n deep(node);\n }\n else {\n try {\n var attr = node.getAttribute(controlAttribute);\n var alreadyHidden = attr !== null && attr !== 'false';\n var counterValue = (counterMap.get(node) || 0) + 1;\n var markerValue = (markerCounter.get(node) || 0) + 1;\n counterMap.set(node, counterValue);\n markerCounter.set(node, markerValue);\n hiddenNodes.push(node);\n if (counterValue === 1 && alreadyHidden) {\n uncontrolledNodes.set(node, true);\n }\n if (markerValue === 1) {\n node.setAttribute(markerName, 'true');\n }\n if (!alreadyHidden) {\n node.setAttribute(controlAttribute, 'true');\n }\n }\n catch (e) {\n console.error('aria-hidden: cannot operate on ', node, e);\n }\n }\n });\n };\n deep(parentNode);\n elementsToKeep.clear();\n lockCount++;\n return function () {\n hiddenNodes.forEach(function (node) {\n var counterValue = counterMap.get(node) - 1;\n var markerValue = markerCounter.get(node) - 1;\n counterMap.set(node, counterValue);\n markerCounter.set(node, markerValue);\n if (!counterValue) {\n if (!uncontrolledNodes.has(node)) {\n node.removeAttribute(controlAttribute);\n }\n uncontrolledNodes.delete(node);\n }\n if (!markerValue) {\n node.removeAttribute(markerName);\n }\n });\n lockCount--;\n if (!lockCount) {\n // clear\n counterMap = new WeakMap();\n counterMap = new WeakMap();\n uncontrolledNodes = new WeakMap();\n markerMap = {};\n }\n };\n};\n/**\n * Marks everything except given node(or nodes) as aria-hidden\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @return {Undo} undo command\n */\nexport var hideOthers = function (originalTarget, parentNode, markerName) {\n if (markerName === void 0) { markerName = 'data-aria-hidden'; }\n var targets = Array.from(Array.isArray(originalTarget) ? originalTarget : [originalTarget]);\n var activeParentNode = parentNode || getDefaultParent(originalTarget);\n if (!activeParentNode) {\n return function () { return null; };\n }\n // we should not hide aria-live elements - https://github.com/theKashey/aria-hidden/issues/10\n // and script elements, as they have no impact on accessibility.\n targets.push.apply(targets, Array.from(activeParentNode.querySelectorAll('[aria-live], script')));\n return applyAttributeToOthers(targets, activeParentNode, markerName, 'aria-hidden');\n};\n/**\n * Marks everything except given node(or nodes) as inert\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @return {Undo} undo command\n */\nexport var inertOthers = function (originalTarget, parentNode, markerName) {\n if (markerName === void 0) { markerName = 'data-inert-ed'; }\n var activeParentNode = parentNode || getDefaultParent(originalTarget);\n if (!activeParentNode) {\n return function () { return null; };\n }\n return applyAttributeToOthers(originalTarget, activeParentNode, markerName, 'inert');\n};\n/**\n * @returns if current browser supports inert\n */\nexport var supportsInert = function () {\n return typeof HTMLElement !== 'undefined' && HTMLElement.prototype.hasOwnProperty('inert');\n};\n/**\n * Automatic function to \"suppress\" DOM elements - _hide_ or _inert_ in the best possible way\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @return {Undo} undo command\n */\nexport var suppressOthers = function (originalTarget, parentNode, markerName) {\n if (markerName === void 0) { markerName = 'data-suppressed'; }\n return (supportsInert() ? inertOthers : hideOthers)(originalTarget, parentNode, markerName);\n};\n"],"x_google_ignoreList":[0],"mappings":";AAAA,IAAI,IAAmB,SAAU,GAAgB;CAK7C,OAJI,OAAO,WAAa,MACb,QAEQ,MAAM,QAAQ,CAAc,IAAI,EAAe,KAAK,EAAA,CACnD,cA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clsx/dist/clsx.cjs.js");var t=e=>typeof e==`boolean`?`${e}`:e===0?`0`:e,n=e.clsx,r=(e,r)=>i=>{if(r?.variants==null)return n(e,i?.class,i?.className);let{variants:a,defaultVariants:o}=r,s=Object.keys(a).map(e=>{let n=i?.[e],r=o?.[e];if(n===null)return null;let s=t(n)||t(r);return a[e][s]}),c=i&&Object.entries(i).reduce((e,t)=>{let[n,r]=t;return r===void 0||(e[n]=r),e},{});return n(e,s,r?.compoundVariants?.reduce((e,t)=>{let{class:n,className:r,...i}=t;return Object.entries(i).every(e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...o,...c}[t]):{...o,...c}[t]===n})?[...e,n,r]:e},[]),i?.class,i?.className)};exports.cva=r,exports.cx=n;
2
- //# sourceMappingURL=index.cjs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs.js","names":["clsx"],"sources":["../../../../../../../../../node_modules/.bun/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.mjs"],"sourcesContent":["/**\n * Copyright 2022 Joe Bell. All rights reserved.\n *\n * This file is licensed to you under the Apache License, Version 2.0\n * (the \"License\"); you may not use this file except in compliance with the\n * License. You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR REPRESENTATIONS OF ANY KIND, either express or implied. See the\n * License for the specific language governing permissions and limitations under\n * the License.\n */ import { clsx } from \"clsx\";\nconst falsyToString = (value)=>typeof value === \"boolean\" ? `${value}` : value === 0 ? \"0\" : value;\nexport const cx = clsx;\nexport const cva = (base, config)=>(props)=>{\n var _config_compoundVariants;\n if ((config === null || config === void 0 ? void 0 : config.variants) == null) return cx(base, props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);\n const { variants, defaultVariants } = config;\n const getVariantClassNames = Object.keys(variants).map((variant)=>{\n const variantProp = props === null || props === void 0 ? void 0 : props[variant];\n const defaultVariantProp = defaultVariants === null || defaultVariants === void 0 ? void 0 : defaultVariants[variant];\n if (variantProp === null) return null;\n const variantKey = falsyToString(variantProp) || falsyToString(defaultVariantProp);\n return variants[variant][variantKey];\n });\n const propsWithoutUndefined = props && Object.entries(props).reduce((acc, param)=>{\n let [key, value] = param;\n if (value === undefined) {\n return acc;\n }\n acc[key] = value;\n return acc;\n }, {});\n const getCompoundVariantClassNames = config === null || config === void 0 ? void 0 : (_config_compoundVariants = config.compoundVariants) === null || _config_compoundVariants === void 0 ? void 0 : _config_compoundVariants.reduce((acc, param)=>{\n let { class: cvClass, className: cvClassName, ...compoundVariantOptions } = param;\n return Object.entries(compoundVariantOptions).every((param)=>{\n let [key, value] = param;\n return Array.isArray(value) ? value.includes({\n ...defaultVariants,\n ...propsWithoutUndefined\n }[key]) : ({\n ...defaultVariants,\n ...propsWithoutUndefined\n })[key] === value;\n }) ? [\n ...acc,\n cvClass,\n cvClassName\n ] : acc;\n }, []);\n return cx(base, getVariantClassNames, getCompoundVariantClassNames, props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);\n };\n\n"],"x_google_ignoreList":[0],"mappings":"6EAeA,IAAM,EAAiB,GAAQ,OAAO,GAAU,UAAY,GAAG,IAAU,IAAU,EAAI,IAAM,EAChF,EAAKA,EAAAA,KACL,GAAO,EAAM,IAAU,GAAQ,CAEpC,GAAK,GAAuD,UAAa,KAAM,OAAO,EAAG,EAAM,GAAoD,MAAO,GAAoD,SAAS,EACvN,GAAM,CAAE,WAAU,mBAAoB,EAChC,EAAuB,OAAO,KAAK,CAAQ,CAAC,CAAC,IAAK,GAAU,CAC9D,IAAM,EAAc,IAAoD,GAClE,EAAqB,IAAkF,GAC7G,GAAI,IAAgB,KAAM,OAAO,KACjC,IAAM,EAAa,EAAc,CAAW,GAAK,EAAc,CAAkB,EACjF,OAAO,EAAS,EAAQ,CAAC,EAC7B,CAAC,EACK,EAAwB,GAAS,OAAO,QAAQ,CAAK,CAAC,CAAC,QAAQ,EAAK,IAAQ,CAC9E,GAAI,CAAC,EAAK,GAAS,EAKnB,OAJI,IAAU,IAAA,KAGd,EAAI,GAAO,GAFA,CAIf,EAAG,CAAC,CAAC,EAkBL,OAAO,EAAG,EAAM,EAjBqB,GAAmF,kBAAsG,QAAQ,EAAK,IAAQ,CAC/O,GAAI,CAAE,MAAO,EAAS,UAAW,EAAa,GAAG,GAA2B,EAC5E,OAAO,OAAO,QAAQ,CAAsB,CAAC,CAAC,MAAO,GAAQ,CACzD,GAAI,CAAC,EAAK,GAAS,EACnB,OAAO,MAAM,QAAQ,CAAK,EAAI,EAAM,SAAS,CACzC,GAAG,EACH,GAAG,CACP,EAAE,EAAI,EAAK,CACP,GAAG,EACH,GAAG,CACP,EAAG,KAAS,CAChB,CAAC,EAAI,CACD,GAAG,EACH,EACA,CACJ,EAAI,CACR,EAAG,CAAC,CAAC,EAC+D,GAAoD,MAAO,GAAoD,SAAS,CAChM"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.es.js","names":[],"sources":["../../../../../../../../../node_modules/.bun/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.mjs"],"sourcesContent":["/**\n * Copyright 2022 Joe Bell. All rights reserved.\n *\n * This file is licensed to you under the Apache License, Version 2.0\n * (the \"License\"); you may not use this file except in compliance with the\n * License. You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR REPRESENTATIONS OF ANY KIND, either express or implied. See the\n * License for the specific language governing permissions and limitations under\n * the License.\n */ import { clsx } from \"clsx\";\nconst falsyToString = (value)=>typeof value === \"boolean\" ? `${value}` : value === 0 ? \"0\" : value;\nexport const cx = clsx;\nexport const cva = (base, config)=>(props)=>{\n var _config_compoundVariants;\n if ((config === null || config === void 0 ? void 0 : config.variants) == null) return cx(base, props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);\n const { variants, defaultVariants } = config;\n const getVariantClassNames = Object.keys(variants).map((variant)=>{\n const variantProp = props === null || props === void 0 ? void 0 : props[variant];\n const defaultVariantProp = defaultVariants === null || defaultVariants === void 0 ? void 0 : defaultVariants[variant];\n if (variantProp === null) return null;\n const variantKey = falsyToString(variantProp) || falsyToString(defaultVariantProp);\n return variants[variant][variantKey];\n });\n const propsWithoutUndefined = props && Object.entries(props).reduce((acc, param)=>{\n let [key, value] = param;\n if (value === undefined) {\n return acc;\n }\n acc[key] = value;\n return acc;\n }, {});\n const getCompoundVariantClassNames = config === null || config === void 0 ? void 0 : (_config_compoundVariants = config.compoundVariants) === null || _config_compoundVariants === void 0 ? void 0 : _config_compoundVariants.reduce((acc, param)=>{\n let { class: cvClass, className: cvClassName, ...compoundVariantOptions } = param;\n return Object.entries(compoundVariantOptions).every((param)=>{\n let [key, value] = param;\n return Array.isArray(value) ? value.includes({\n ...defaultVariants,\n ...propsWithoutUndefined\n }[key]) : ({\n ...defaultVariants,\n ...propsWithoutUndefined\n })[key] === value;\n }) ? [\n ...acc,\n cvClass,\n cvClassName\n ] : acc;\n }, []);\n return cx(base, getVariantClassNames, getCompoundVariantClassNames, props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);\n };\n\n"],"x_google_ignoreList":[0],"mappings":";;AAeA,IAAM,KAAiB,MAAQ,OAAO,KAAU,YAAY,GAAG,MAAU,MAAU,IAAI,MAAM,GAChF,IAAK,GACL,KAAO,GAAM,OAAU,MAAQ;CAEpC,IAAK,GAAuD,YAAa,MAAM,OAAO,EAAG,GAAM,GAAoD,OAAO,GAAoD,SAAS;CACvN,IAAM,EAAE,aAAU,uBAAoB,GAChC,IAAuB,OAAO,KAAK,CAAQ,CAAC,CAAC,KAAK,MAAU;EAC9D,IAAM,IAAc,IAAoD,IAClE,IAAqB,IAAkF;EAC7G,IAAI,MAAgB,MAAM,OAAO;EACjC,IAAM,IAAa,EAAc,CAAW,KAAK,EAAc,CAAkB;EACjF,OAAO,EAAS,EAAQ,CAAC;CAC7B,CAAC,GACK,IAAwB,KAAS,OAAO,QAAQ,CAAK,CAAC,CAAC,QAAQ,GAAK,MAAQ;EAC9E,IAAI,CAAC,GAAK,KAAS;EAKnB,OAJI,MAAU,KAAA,MAGd,EAAI,KAAO,IAFA;CAIf,GAAG,CAAC,CAAC;CAkBL,OAAO,EAAG,GAAM,GAjBqB,GAAmF,kBAAsG,QAAQ,GAAK,MAAQ;EAC/O,IAAI,EAAE,OAAO,GAAS,WAAW,GAAa,GAAG,MAA2B;EAC5E,OAAO,OAAO,QAAQ,CAAsB,CAAC,CAAC,OAAO,MAAQ;GACzD,IAAI,CAAC,GAAK,KAAS;GACnB,OAAO,MAAM,QAAQ,CAAK,IAAI,EAAM,SAAS;IACzC,GAAG;IACH,GAAG;GACP,EAAE,EAAI,IAAK;IACP,GAAG;IACH,GAAG;GACP,EAAG,OAAS;EAChB,CAAC,IAAI;GACD,GAAG;GACH;GACA;EACJ,IAAI;CACR,GAAG,CAAC,CAAC,GAC+D,GAAoD,OAAO,GAAoD,SAAS;AAChM"}
@@ -1,2 +0,0 @@
1
- function e(t){var n,r,i=``;if(typeof t==`string`||typeof t==`number`)i+=t;else if(typeof t==`object`)if(Array.isArray(t)){var a=t.length;for(n=0;n<a;n++)t[n]&&(r=e(t[n]))&&(i&&(i+=` `),i+=r)}else for(r in t)t[r]&&(i&&(i+=` `),i+=r);return i}function t(){for(var t,n,r=0,i=``,a=arguments.length;r<a;r++)(t=arguments[r])&&(n=e(t))&&(i&&(i+=` `),i+=n);return i}exports.clsx=t,exports.default=t;
2
- //# sourceMappingURL=clsx.cjs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"clsx.cjs.js","names":[],"sources":["../../../../../../../../../node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs"],"sourcesContent":["function r(e){var t,f,n=\"\";if(\"string\"==typeof e||\"number\"==typeof e)n+=e;else if(\"object\"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=\" \"),n+=f)}else for(f in e)e[f]&&(n&&(n+=\" \"),n+=f);return n}export function clsx(){for(var e,t,f=0,n=\"\",o=arguments.length;f<o;f++)(e=arguments[f])&&(t=r(e))&&(n&&(n+=\" \"),n+=t);return n}export default clsx;"],"x_google_ignoreList":[0],"mappings":"AAAA,SAAS,EAAE,EAAE,CAAC,IAAI,EAAE,EAAE,EAAE,GAAG,GAAa,OAAO,GAAjB,UAA8B,OAAO,GAAjB,SAAmB,GAAG,OAAO,GAAa,OAAO,GAAjB,SAAmB,GAAG,MAAM,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,EAAE,OAAO,IAAI,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,EAAE,EAAE,KAAK,IAAI,GAAG,KAAK,GAAG,EAAE,MAAM,IAAI,KAAK,EAAE,EAAE,KAAK,IAAI,GAAG,KAAK,GAAG,GAAG,OAAO,CAAC,CAAC,SAAgB,GAAM,CAAC,IAAI,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,GAAG,EAAE,UAAU,OAAO,EAAE,EAAE,KAAK,EAAE,UAAU,MAAM,EAAE,EAAE,CAAC,KAAK,IAAI,GAAG,KAAK,GAAG,GAAG,OAAO,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"clsx.es.js","names":[],"sources":["../../../../../../../../../node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs"],"sourcesContent":["function r(e){var t,f,n=\"\";if(\"string\"==typeof e||\"number\"==typeof e)n+=e;else if(\"object\"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=\" \"),n+=f)}else for(f in e)e[f]&&(n&&(n+=\" \"),n+=f);return n}export function clsx(){for(var e,t,f=0,n=\"\",o=arguments.length;f<o;f++)(e=arguments[f])&&(t=r(e))&&(n&&(n+=\" \"),n+=t);return n}export default clsx;"],"x_google_ignoreList":[0],"mappings":";AAAA,SAAS,EAAE,GAAE;CAAC,IAAI,GAAE,GAAE,IAAE;CAAG,IAAa,OAAO,KAAjB,YAA8B,OAAO,KAAjB,UAAmB,KAAG;MAAO,IAAa,OAAO,KAAjB,UAAmB,IAAG,MAAM,QAAQ,CAAC,GAAE;EAAC,IAAI,IAAE,EAAE;EAAO,KAAI,IAAE,GAAE,IAAE,GAAE,KAAI,EAAE,OAAK,IAAE,EAAE,EAAE,EAAE,OAAK,MAAI,KAAG,MAAK,KAAG;CAAE,OAAM,KAAI,KAAK,GAAE,EAAE,OAAK,MAAI,KAAG,MAAK,KAAG;CAAG,OAAO;AAAC;AAAC,SAAgB,IAAM;CAAC,KAAI,IAAI,GAAE,GAAE,IAAE,GAAE,IAAE,IAAG,IAAE,UAAU,QAAO,IAAE,GAAE,KAAI,CAAC,IAAE,UAAU,QAAM,IAAE,EAAE,CAAC,OAAK,MAAI,KAAG,MAAK,KAAG;CAAG,OAAO;AAAC"}
@@ -1,2 +0,0 @@
1
- var e=.1,t=.999,n=/[\\\/_+.#"@\[\(\{&]/,r=/[\\\/_+.#"@\[\(\{&]/g,i=/[\s-]/,a=/[\s-]/g;function o(s,c,l,u,d,f,p){if(f===c.length)return d===s.length?1:.99;var m=`${d},${f}`;if(p[m]!==void 0)return p[m];for(var h=u.charAt(f),g=l.indexOf(h,d),_=0,v,y,b,x;g>=0;)v=o(s,c,l,u,g+1,f+1,p),v>_&&(g===d?v*=1:n.test(s.charAt(g-1))?(v*=.8,b=s.slice(d,g-1).match(r),b&&d>0&&(v*=t**b.length)):i.test(s.charAt(g-1))?(v*=.9,x=s.slice(d,g-1).match(a),x&&d>0&&(v*=t**x.length)):(v*=.17,d>0&&(v*=t**(g-d))),s.charAt(g)!==c.charAt(f)&&(v*=.9999)),(v<e&&l.charAt(g-1)===u.charAt(f+1)||u.charAt(f+1)===u.charAt(f)&&l.charAt(g-1)!==u.charAt(f))&&(y=o(s,c,l,u,g+1,f+2,p),y*e>v&&(v=y*e)),v>_&&(_=v),g=l.indexOf(h,g+1);return p[m]=_,_}function s(e){return e.toLowerCase().replace(a,` `)}function c(e,t,n){return e=n&&n.length>0?`${e+` `+n.join(` `)}`:e,o(e,t,s(e),s(t),0,0,{})}exports.a=c;
2
- //# sourceMappingURL=chunk-NZJY6EH4.cjs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"chunk-NZJY6EH4.cjs.js","names":[],"sources":["../../../../../../../../../node_modules/.bun/cmdk@1.1.1+ae2b4604ef263bc9/node_modules/cmdk/dist/chunk-NZJY6EH4.mjs"],"sourcesContent":["var U=1,Y=.9,H=.8,J=.17,p=.1,u=.999,$=.9999;var k=.99,m=/[\\\\\\/_+.#\"@\\[\\(\\{&]/,B=/[\\\\\\/_+.#\"@\\[\\(\\{&]/g,K=/[\\s-]/,X=/[\\s-]/g;function G(_,C,h,P,A,f,O){if(f===C.length)return A===_.length?U:k;var T=`${A},${f}`;if(O[T]!==void 0)return O[T];for(var L=P.charAt(f),c=h.indexOf(L,A),S=0,E,N,R,M;c>=0;)E=G(_,C,h,P,c+1,f+1,O),E>S&&(c===A?E*=U:m.test(_.charAt(c-1))?(E*=H,R=_.slice(A,c-1).match(B),R&&A>0&&(E*=Math.pow(u,R.length))):K.test(_.charAt(c-1))?(E*=Y,M=_.slice(A,c-1).match(X),M&&A>0&&(E*=Math.pow(u,M.length))):(E*=J,A>0&&(E*=Math.pow(u,c-A))),_.charAt(c)!==C.charAt(f)&&(E*=$)),(E<p&&h.charAt(c-1)===P.charAt(f+1)||P.charAt(f+1)===P.charAt(f)&&h.charAt(c-1)!==P.charAt(f))&&(N=G(_,C,h,P,c+1,f+2,O),N*p>E&&(E=N*p)),E>S&&(S=E),c=h.indexOf(L,c+1);return O[T]=S,S}function D(_){return _.toLowerCase().replace(X,\" \")}function W(_,C,h){return _=h&&h.length>0?`${_+\" \"+h.join(\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AE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE,QAAQ,EAAE,EAAE,CAAC,EAAE,MAAO,GAAE,GAAG,EAAE,CAAC,CAAC,SAAS,EAAE,EAAE,CAAC,OAAO,EAAE,YAAY,CAAC,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAC,SAAS,EAAE,EAAE,EAAE,EAAE,CAAC,MAAO,GAAE,GAAG,EAAE,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,KAAK,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"chunk-NZJY6EH4.es.js","names":[],"sources":["../../../../../../../../../node_modules/.bun/cmdk@1.1.1+ae2b4604ef263bc9/node_modules/cmdk/dist/chunk-NZJY6EH4.mjs"],"sourcesContent":["var U=1,Y=.9,H=.8,J=.17,p=.1,u=.999,$=.9999;var k=.99,m=/[\\\\\\/_+.#\"@\\[\\(\\{&]/,B=/[\\\\\\/_+.#\"@\\[\\(\\{&]/g,K=/[\\s-]/,X=/[\\s-]/g;function G(_,C,h,P,A,f,O){if(f===C.length)return A===_.length?U:k;var T=`${A},${f}`;if(O[T]!==void 0)return O[T];for(var L=P.charAt(f),c=h.indexOf(L,A),S=0,E,N,R,M;c>=0;)E=G(_,C,h,P,c+1,f+1,O),E>S&&(c===A?E*=U:m.test(_.charAt(c-1))?(E*=H,R=_.slice(A,c-1).match(B),R&&A>0&&(E*=Math.pow(u,R.length))):K.test(_.charAt(c-1))?(E*=Y,M=_.slice(A,c-1).match(X),M&&A>0&&(E*=Math.pow(u,M.length))):(E*=J,A>0&&(E*=Math.pow(u,c-A))),_.charAt(c)!==C.charAt(f)&&(E*=$)),(E<p&&h.charAt(c-1)===P.charAt(f+1)||P.charAt(f+1)===P.charAt(f)&&h.charAt(c-1)!==P.charAt(f))&&(N=G(_,C,h,P,c+1,f+2,O),N*p>E&&(E=N*p)),E>S&&(S=E),c=h.indexOf(L,c+1);return O[T]=S,S}function D(_){return _.toLowerCase().replace(X,\" \")}function W(_,C,h){return _=h&&h.length>0?`${_+\" \"+h.join(\" \")}`:_,G(_,C,D(_),D(C),0,0,{})}export{W as a};\n"],"x_google_ignoreList":[0],"mappings":";AAAA,IAAwB,IAAE,IAAG,IAAE,MAAuB,IAAE,uBAAsB,IAAE,wBAAuB,IAAE,SAAQ,IAAE;AAAS,SAAS,EAAE,GAAE,GAAE,GAAE,GAAE,GAAE,GAAE,GAAE;CAAC,IAAG,MAAI,EAAE,QAAO,OAAO,MAAI,EAAE,SAAO,IAAE;CAAE,IAAI,IAAE,GAAG,EAAE,GAAG;CAAI,IAAG,EAAE,OAAK,KAAK,GAAE,OAAO,EAAE;CAAG,KAAI,IAAI,IAAE,EAAE,OAAO,CAAC,GAAE,IAAE,EAAE,QAAQ,GAAE,CAAC,GAAE,IAAE,GAAE,GAAE,GAAE,GAAE,GAAE,KAAG,IAAG,IAAE,EAAE,GAAE,GAAE,GAAE,GAAE,IAAE,GAAE,IAAE,GAAE,CAAC,GAAE,IAAE,MAAI,MAAI,IAAE,KAAG,IAAE,EAAE,KAAK,EAAE,OAAO,IAAE,CAAC,CAAC,KAAG,KAAG,IAAE,IAAE,EAAE,MAAM,GAAE,IAAE,CAAC,CAAC,CAAC,MAAM,CAAC,GAAE,KAAG,IAAE,MAAI,KAAY,KAAE,EAAE,WAAU,EAAE,KAAK,EAAE,OAAO,IAAE,CAAC,CAAC,KAAG,KAAG,IAAE,IAAE,EAAE,MAAM,GAAE,IAAE,CAAC,CAAC,CAAC,MAAM,CAAC,GAAE,KAAG,IAAE,MAAI,KAAY,KAAE,EAAE,YAAW,KAAG,KAAE,IAAE,MAAI,KAAY,MAAE,IAAE,MAAK,EAAE,OAAO,CAAC,MAAI,EAAE,OAAO,CAAC,MAAI,KAAG,UAAK,IAAE,KAAG,EAAE,OAAO,IAAE,CAAC,MAAI,EAAE,OAAO,IAAE,CAAC,KAAG,EAAE,OAAO,IAAE,CAAC,MAAI,EAAE,OAAO,CAAC,KAAG,EAAE,OAAO,IAAE,CAAC,MAAI,EAAE,OAAO,CAAC,OAAK,IAAE,EAAE,GAAE,GAAE,GAAE,GAAE,IAAE,GAAE,IAAE,GAAE,CAAC,GAAE,IAAE,IAAE,MAAI,IAAE,IAAE,KAAI,IAAE,MAAI,IAAE,IAAG,IAAE,EAAE,QAAQ,GAAE,IAAE,CAAC;CAAE,OAAO,EAAE,KAAG,GAAE;AAAC;AAAC,SAAS,EAAE,GAAE;CAAC,OAAO,EAAE,YAAY,CAAC,CAAC,QAAQ,GAAE,GAAG;AAAC;AAAC,SAAS,EAAE,GAAE,GAAE,GAAE;CAAC,OAAO,IAAE,KAAG,EAAE,SAAO,IAAE,GAAG,IAAE,MAAI,EAAE,KAAK,GAAG,MAAI,GAAE,EAAE,GAAE,GAAE,EAAE,CAAC,GAAE,EAAE,CAAC,GAAE,GAAE,GAAE,CAAC,CAAC;AAAC"}
@@ -1,2 +0,0 @@
1
- "use client";const e=require("../../../../../../_virtual/_rolldown/runtime.cjs.js"),t=require("./chunk-NZJY6EH4.cjs.js"),n=require("../../../../@radix-ui_react-compose-refs@1.1.3_93dbe784b8baa420/node_modules/@radix-ui/react-compose-refs/dist/index.cjs.js"),r=require("../../../../@radix-ui_react-id@1.1.2_93dbe784b8baa420/node_modules/@radix-ui/react-id/dist/index.cjs.js"),i=require("../../../../@radix-ui_react-primitive@2.1.7_ae2b4604ef263bc9/node_modules/@radix-ui/react-primitive/dist/index.cjs.js"),a=require("../../../../@radix-ui_react-dialog@1.1.19_ae2b4604ef263bc9/node_modules/@radix-ui/react-dialog/dist/index.cjs.js");let o=require("react");o=e.__toESM(o,1);var s=`[cmdk-group=""]`,c=`[cmdk-group-items=""]`,l=`[cmdk-group-heading=""]`,u=`[cmdk-item=""]`,d=`${u}:not([aria-disabled="true"])`,f=`cmdk-item-select`,p=`data-value`,m=(e,n,r)=>t.a(e,n,r),h=o.createContext(void 0),g=()=>o.useContext(h),_=o.createContext(void 0),v=()=>o.useContext(_),y=o.createContext(void 0),b=o.forwardRef((e,t)=>{let n=M(()=>({search:``,value:e.value??e.defaultValue??``,selectedItemId:void 0,filtered:{count:0,items:new Map,groups:new Set}})),a=M(()=>new Set),g=M(()=>new Map),v=M(()=>new Map),y=M(()=>new Set),b=A(e),{label:x,children:S,value:C,onValueChange:w,filter:T,shouldFilter:E,loop:D,disablePointerSelection:O=!1,vimBindings:k=!0,...N}=e,P=r.useId(),F=r.useId(),L=r.useId(),R=o.useRef(null),z=ne();j(()=>{if(C!==void 0){let e=C.trim();n.current.value=e,B.emit()}},[C]),j(()=>{z(6,K)},[]);let B=o.useMemo(()=>({subscribe:e=>(y.current.add(e),()=>y.current.delete(e)),snapshot:()=>n.current,setState:(e,t,r)=>{var i,a,o;if(!Object.is(n.current[e],t)){if(n.current[e]=t,e===`search`)G(),U(),z(1,W);else if(e===`value`){if(document.activeElement.hasAttribute(`cmdk-input`)||document.activeElement.hasAttribute(`cmdk-root`)){let e=document.getElementById(L);e?e.focus():(i=document.getElementById(P))==null||i.focus()}if(z(7,()=>{n.current.selectedItemId=q()?.id,B.emit()}),r||z(5,K),b.current?.value!==void 0){let e=t??``;(o=(a=b.current).onValueChange)==null||o.call(a,e);return}}B.emit()}},emit:()=>{y.current.forEach(e=>e())}}),[]),V=o.useMemo(()=>({value:(e,t,r)=>{t!==v.current.get(e)?.value&&(v.current.set(e,{value:t,keywords:r}),n.current.filtered.items.set(e,H(t,r)),z(2,()=>{U(),B.emit()}))},item:(e,t)=>(a.current.add(e),t&&(g.current.has(t)?g.current.get(t).add(e):g.current.set(t,new Set([e]))),z(3,()=>{G(),U(),n.current.value||W(),B.emit()}),()=>{v.current.delete(e),a.current.delete(e),n.current.filtered.items.delete(e);let t=q();z(4,()=>{G(),t?.getAttribute(`id`)===e&&W(),B.emit()})}),group:e=>(g.current.has(e)||g.current.set(e,new Set),()=>{v.current.delete(e),g.current.delete(e)}),filter:()=>b.current.shouldFilter,label:x||e[`aria-label`],getDisablePointerSelection:()=>b.current.disablePointerSelection,listId:P,inputId:L,labelId:F,listInnerRef:R}),[]);function H(e,t){let r=b.current?.filter??m;return e?r(e,n.current.search,t):0}function U(){if(!n.current.search||b.current.shouldFilter===!1)return;let e=n.current.filtered.items,t=[];n.current.filtered.groups.forEach(n=>{let r=g.current.get(n),i=0;r.forEach(t=>{let n=e.get(t);i=Math.max(n,i)}),t.push([n,i])});let r=R.current;J().sort((t,n)=>{let r=t.getAttribute(`id`),i=n.getAttribute(`id`);return(e.get(i)??0)-(e.get(r)??0)}).forEach(e=>{let t=e.closest(c);t?t.appendChild(e.parentElement===t?e:e.closest(`${c} > *`)):r.appendChild(e.parentElement===r?e:e.closest(`${c} > *`))}),t.sort((e,t)=>t[1]-e[1]).forEach(e=>{let t=R.current?.querySelector(`${s}[${p}="${encodeURIComponent(e[0])}"]`);t?.parentElement.appendChild(t)})}function W(){let e=J().find(e=>e.getAttribute(`aria-disabled`)!==`true`)?.getAttribute(p);B.setState(`value`,e||void 0)}function G(){if(!n.current.search||b.current.shouldFilter===!1){n.current.filtered.count=a.current.size;return}n.current.filtered.groups=new Set;let e=0;for(let t of a.current){let r=H(v.current.get(t)?.value??``,v.current.get(t)?.keywords??[]);n.current.filtered.items.set(t,r),r>0&&e++}for(let[e,t]of g.current)for(let r of t)if(n.current.filtered.items.get(r)>0){n.current.filtered.groups.add(e);break}n.current.filtered.count=e}function K(){var e;let t=q();t&&(t.parentElement?.firstChild===t&&((e=t.closest(s)?.querySelector(l))==null||e.scrollIntoView({block:`nearest`})),t.scrollIntoView({block:`nearest`}))}function q(){return R.current?.querySelector(`${u}[aria-selected="true"]`)}function J(){return Array.from(R.current?.querySelectorAll(d)||[])}function Y(e){let t=J()[e];t&&B.setState(`value`,t.getAttribute(p))}function X(e){var t;let n=q(),r=J(),i=r.findIndex(e=>e===n),a=r[i+e];(t=b.current)!=null&&t.loop&&(a=i+e<0?r[r.length-1]:i+e===r.length?r[0]:r[i+e]),a&&B.setState(`value`,a.getAttribute(p))}function Z(e){let t=q()?.closest(s),n;for(;t&&!n;)t=e>0?ee(t,s):te(t,s),n=t?.querySelector(d);n?B.setState(`value`,n.getAttribute(p)):X(e)}let Q=()=>Y(J().length-1),$=e=>{e.preventDefault(),e.metaKey?Q():e.altKey?Z(1):X(1)},ie=e=>{e.preventDefault(),e.metaKey?Y(0):e.altKey?Z(-1):X(-1)};return o.createElement(i.Primitive.div,{ref:t,tabIndex:-1,...N,"cmdk-root":``,onKeyDown:e=>{var t;(t=N.onKeyDown)==null||t.call(N,e);let n=e.nativeEvent.isComposing||e.keyCode===229;if(!(e.defaultPrevented||n))switch(e.key){case`n`:case`j`:k&&e.ctrlKey&&$(e);break;case`ArrowDown`:$(e);break;case`p`:case`k`:k&&e.ctrlKey&&ie(e);break;case`ArrowUp`:ie(e);break;case`Home`:e.preventDefault(),Y(0);break;case`End`:e.preventDefault(),Q();break;case`Enter`:{e.preventDefault();let t=q();if(t){let e=new Event(f);t.dispatchEvent(e)}}}}},o.createElement(`label`,{"cmdk-label":``,htmlFor:V.inputId,id:V.labelId,style:re},x),I(e,e=>o.createElement(_.Provider,{value:B},o.createElement(h.Provider,{value:V},e))))}),x=o.forwardRef((e,t)=>{let a=r.useId(),s=o.useRef(null),c=o.useContext(y),l=g(),u=A(e),d=u.current?.forceMount??c?.forceMount;j(()=>{if(!d)return l.item(a,c?.id)},[d]);let p=P(a,s,[e.value,e.children,s],e.keywords),m=v(),h=N(e=>e.value&&e.value===p.current),_=N(e=>d||l.filter()===!1?!0:!e.search||e.filtered.items.get(a)>0);o.useEffect(()=>{let t=s.current;if(!(!t||e.disabled))return t.addEventListener(f,b),()=>t.removeEventListener(f,b)},[_,e.onSelect,e.disabled]);function b(){var e,t;x(),(t=(e=u.current).onSelect)==null||t.call(e,p.current)}function x(){m.setState(`value`,p.current,!0)}if(!_)return null;let{disabled:S,value:C,onSelect:w,forceMount:T,keywords:E,...D}=e;return o.createElement(i.Primitive.div,{ref:n.composeRefs(s,t),...D,id:a,"cmdk-item":``,role:`option`,"aria-disabled":!!S,"aria-selected":!!h,"data-disabled":!!S,"data-selected":!!h,onPointerMove:S||l.getDisablePointerSelection()?void 0:x,onClick:S?void 0:b},e.children)}),S=o.forwardRef((e,t)=>{let{heading:a,children:s,forceMount:c,...l}=e,u=r.useId(),d=o.useRef(null),f=o.useRef(null),p=r.useId(),m=g(),h=N(e=>c||m.filter()===!1?!0:!e.search||e.filtered.groups.has(u));j(()=>m.group(u),[]),P(u,d,[e.value,e.heading,f]);let _=o.useMemo(()=>({id:u,forceMount:c}),[c]);return o.createElement(i.Primitive.div,{ref:n.composeRefs(d,t),...l,"cmdk-group":``,role:`presentation`,hidden:!h||void 0},a&&o.createElement(`div`,{ref:f,"cmdk-group-heading":``,"aria-hidden":!0,id:p},a),I(e,e=>o.createElement(`div`,{"cmdk-group-items":``,role:`group`,"aria-labelledby":a?p:void 0},o.createElement(y.Provider,{value:_},e))))}),C=o.forwardRef((e,t)=>{let{alwaysRender:r,...a}=e,s=o.useRef(null),c=N(e=>!e.search);return!r&&!c?null:o.createElement(i.Primitive.div,{ref:n.composeRefs(s,t),...a,"cmdk-separator":``,role:`separator`})}),w=o.forwardRef((e,t)=>{let{onValueChange:n,...r}=e,a=e.value!=null,s=v(),c=N(e=>e.search),l=N(e=>e.selectedItemId),u=g();return o.useEffect(()=>{e.value!=null&&s.setState(`search`,e.value)},[e.value]),o.createElement(i.Primitive.input,{ref:t,...r,"cmdk-input":``,autoComplete:`off`,autoCorrect:`off`,spellCheck:!1,"aria-autocomplete":`list`,role:`combobox`,"aria-expanded":!0,"aria-controls":u.listId,"aria-labelledby":u.labelId,"aria-activedescendant":l,id:u.inputId,type:`text`,value:a?e.value:c,onChange:e=>{a||s.setState(`search`,e.target.value),n?.(e.target.value)}})}),T=o.forwardRef((e,t)=>{let{children:r,label:a=`Suggestions`,...s}=e,c=o.useRef(null),l=o.useRef(null),u=N(e=>e.selectedItemId),d=g();return o.useEffect(()=>{if(l.current&&c.current){let e=l.current,t=c.current,n,r=new ResizeObserver(()=>{n=requestAnimationFrame(()=>{let n=e.offsetHeight;t.style.setProperty(`--cmdk-list-height`,n.toFixed(1)+`px`)})});return r.observe(e),()=>{cancelAnimationFrame(n),r.unobserve(e)}}},[]),o.createElement(i.Primitive.div,{ref:n.composeRefs(c,t),...s,"cmdk-list":``,role:`listbox`,tabIndex:-1,"aria-activedescendant":u,"aria-label":a,id:d.listId},I(e,e=>o.createElement(`div`,{ref:n.composeRefs(l,d.listInnerRef),"cmdk-list-sizer":``},e)))}),E=o.forwardRef((e,t)=>{let{open:n,onOpenChange:r,overlayClassName:i,contentClassName:s,container:c,...l}=e;return o.createElement(a.Dialog,{open:n,onOpenChange:r},o.createElement(a.DialogPortal,{container:c},o.createElement(a.DialogOverlay,{"cmdk-overlay":``,className:i}),o.createElement(a.Content,{"aria-label":e.label,"cmdk-dialog":``,className:s},o.createElement(b,{ref:t,...l}))))}),D=o.forwardRef((e,t)=>N(e=>e.filtered.count===0)?o.createElement(i.Primitive.div,{ref:t,...e,"cmdk-empty":``,role:`presentation`}):null),O=o.forwardRef((e,t)=>{let{progress:n,children:r,label:a=`Loading...`,...s}=e;return o.createElement(i.Primitive.div,{ref:t,...s,"cmdk-loading":``,role:`progressbar`,"aria-valuenow":n,"aria-valuemin":0,"aria-valuemax":100,"aria-label":a},I(e,e=>o.createElement(`div`,{"aria-hidden":!0},e)))}),k=Object.assign(b,{List:T,Item:x,Input:w,Group:S,Separator:C,Dialog:E,Empty:D,Loading:O});function ee(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return n;n=n.nextElementSibling}}function te(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return n;n=n.previousElementSibling}}function A(e){let t=o.useRef(e);return j(()=>{t.current=e}),t}var j=typeof window>`u`?o.useEffect:o.useLayoutEffect;function M(e){let t=o.useRef();return t.current===void 0&&(t.current=e()),t}function N(e){let t=v(),n=()=>e(t.snapshot());return o.useSyncExternalStore(t.subscribe,n,n)}function P(e,t,n,r=[]){let i=o.useRef(),a=g();return j(()=>{var o;let s=(()=>{for(let e of n){if(typeof e==`string`)return e.trim();if(typeof e==`object`&&`current`in e)return e.current?e.current.textContent?.trim():i.current}})(),c=r.map(e=>e.trim());a.value(e,s,c),(o=t.current)==null||o.setAttribute(p,s),i.current=s}),i}var ne=()=>{let[e,t]=o.useState(),n=M(()=>new Map);return j(()=>{n.current.forEach(e=>e()),n.current=new Map},[e]),(e,r)=>{n.current.set(e,r),t({})}};function F(e){let t=e.type;return typeof t==`function`?t(e.props):`render`in t?t.render(e.props):e}function I({asChild:e,children:t},n){return e&&o.isValidElement(t)?o.cloneElement(F(t),{ref:t.ref},n(t.props.children)):n(t)}var re={position:`absolute`,width:`1px`,height:`1px`,padding:`0`,margin:`-1px`,overflow:`hidden`,clip:`rect(0, 0, 0, 0)`,whiteSpace:`nowrap`,borderWidth:`0`};exports.Command=k,exports.CommandDialog=E,exports.CommandEmpty=D,exports.CommandGroup=S,exports.CommandInput=w,exports.CommandItem=x,exports.CommandList=T,exports.CommandLoading=O,exports.CommandRoot=b,exports.CommandSeparator=C,exports.defaultFilter=m,exports.useCommandState=N;
2
- //# sourceMappingURL=index.cjs.js.map