@hirely/ui 0.1.6 → 0.1.7

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 (496) hide show
  1. package/README.md +228 -123
  2. package/dist/_virtual/_rolldown/runtime.cjs.js +1 -0
  3. package/dist/components/ui/accordion.cjs.js +2 -0
  4. package/dist/components/ui/accordion.cjs.js.map +1 -0
  5. package/dist/components/ui/accordion.d.ts +1 -1
  6. package/dist/components/ui/accordion.es.js +55 -0
  7. package/dist/components/ui/accordion.es.js.map +1 -0
  8. package/dist/components/ui/alert-dialog.cjs.js +2 -0
  9. package/dist/components/ui/alert-dialog.cjs.js.map +1 -0
  10. package/dist/components/ui/alert-dialog.d.ts +2 -2
  11. package/dist/components/ui/alert-dialog.es.js +97 -0
  12. package/dist/components/ui/alert-dialog.es.js.map +1 -0
  13. package/dist/components/ui/alert-wrapper.cjs.js +2 -0
  14. package/dist/components/ui/alert-wrapper.cjs.js.map +1 -0
  15. package/dist/components/ui/{AlertWrapper.d.ts → alert-wrapper.d.ts} +2 -2
  16. package/dist/components/ui/alert-wrapper.es.js +20 -0
  17. package/dist/components/ui/alert-wrapper.es.js.map +1 -0
  18. package/dist/components/ui/alert.cjs.js +2 -0
  19. package/dist/components/ui/alert.cjs.js.map +1 -0
  20. package/dist/components/ui/alert.d.ts +2 -2
  21. package/dist/components/ui/alert.es.js +45 -0
  22. package/dist/components/ui/alert.es.js.map +1 -0
  23. package/dist/components/ui/aspect-ratio.cjs.js +2 -0
  24. package/dist/components/ui/aspect-ratio.cjs.js.map +1 -0
  25. package/dist/components/ui/aspect-ratio.es.js +15 -0
  26. package/dist/components/ui/aspect-ratio.es.js.map +1 -0
  27. package/dist/components/ui/attachment.cjs.js +2 -0
  28. package/dist/components/ui/attachment.cjs.js.map +1 -0
  29. package/dist/components/ui/attachment.d.ts +6 -6
  30. package/dist/components/ui/attachment.es.js +106 -0
  31. package/dist/components/ui/attachment.es.js.map +1 -0
  32. package/dist/components/ui/avatar.cjs.js +2 -0
  33. package/dist/components/ui/avatar.cjs.js.map +1 -0
  34. package/dist/components/ui/avatar.d.ts +1 -1
  35. package/dist/components/ui/avatar.es.js +52 -0
  36. package/dist/components/ui/avatar.es.js.map +1 -0
  37. package/dist/components/ui/badge.cjs.js +2 -0
  38. package/dist/components/ui/badge.cjs.js.map +1 -0
  39. package/dist/components/ui/badge.d.ts +5 -5
  40. package/dist/components/ui/badge.es.js +31 -0
  41. package/dist/components/ui/badge.es.js.map +1 -0
  42. package/dist/components/ui/breadcrumb.cjs.js +2 -0
  43. package/dist/components/ui/breadcrumb.cjs.js.map +1 -0
  44. package/dist/components/ui/breadcrumb.d.ts +1 -1
  45. package/dist/components/ui/breadcrumb.es.js +74 -0
  46. package/dist/components/ui/breadcrumb.es.js.map +1 -0
  47. package/dist/components/ui/bubble.cjs.js +2 -0
  48. package/dist/components/ui/bubble.cjs.js.map +1 -0
  49. package/dist/components/ui/bubble.d.ts +4 -4
  50. package/dist/components/ui/bubble.es.js +75 -0
  51. package/dist/components/ui/bubble.es.js.map +1 -0
  52. package/dist/components/ui/button-group.cjs.js +2 -0
  53. package/dist/components/ui/button-group.cjs.js.map +1 -0
  54. package/dist/components/ui/button-group.d.ts +5 -5
  55. package/dist/components/ui/button-group.es.js +43 -0
  56. package/dist/components/ui/button-group.es.js.map +1 -0
  57. package/dist/components/ui/button.cjs.js +2 -0
  58. package/dist/components/ui/button.cjs.js.map +1 -0
  59. package/dist/components/ui/button.d.ts +5 -5
  60. package/dist/components/ui/button.es.js +46 -0
  61. package/dist/components/ui/button.es.js.map +1 -0
  62. package/dist/components/ui/calendar.cjs.js +2 -0
  63. package/dist/components/ui/calendar.cjs.js.map +1 -0
  64. package/dist/components/ui/calendar.d.ts +2 -2
  65. package/dist/components/ui/calendar.es.js +93 -0
  66. package/dist/components/ui/calendar.es.js.map +1 -0
  67. package/dist/components/ui/card.cjs.js +2 -0
  68. package/dist/components/ui/card.cjs.js.map +1 -0
  69. package/dist/components/ui/card.es.js +58 -0
  70. package/dist/components/ui/card.es.js.map +1 -0
  71. package/dist/components/ui/carousel.cjs.js +2 -0
  72. package/dist/components/ui/carousel.cjs.js.map +1 -0
  73. package/dist/components/ui/carousel.d.ts +2 -2
  74. package/dist/components/ui/carousel.es.js +113 -0
  75. package/dist/components/ui/carousel.es.js.map +1 -0
  76. package/dist/components/ui/chart.cjs.js +8 -0
  77. package/dist/components/ui/chart.cjs.js.map +1 -0
  78. package/dist/components/ui/chart.d.ts +1 -1
  79. package/dist/components/ui/chart.es.js +133 -0
  80. package/dist/components/ui/chart.es.js.map +1 -0
  81. package/dist/components/ui/checkbox.cjs.js +2 -0
  82. package/dist/components/ui/checkbox.cjs.js.map +1 -0
  83. package/dist/components/ui/checkbox.d.ts +1 -1
  84. package/dist/components/ui/checkbox.es.js +22 -0
  85. package/dist/components/ui/checkbox.es.js.map +1 -0
  86. package/dist/components/ui/collapsible.cjs.js +2 -0
  87. package/dist/components/ui/collapsible.cjs.js.map +1 -0
  88. package/dist/components/ui/collapsible.d.ts +1 -1
  89. package/dist/components/ui/collapsible.es.js +25 -0
  90. package/dist/components/ui/collapsible.es.js.map +1 -0
  91. package/dist/components/ui/combobox.cjs.js +2 -0
  92. package/dist/components/ui/combobox.cjs.js.map +1 -0
  93. package/dist/components/ui/combobox.d.ts +2 -2
  94. package/dist/components/ui/combobox.es.js +164 -0
  95. package/dist/components/ui/combobox.es.js.map +1 -0
  96. package/dist/components/ui/command.cjs.js +2 -0
  97. package/dist/components/ui/command.cjs.js.map +1 -0
  98. package/dist/components/ui/command.d.ts +2 -2
  99. package/dist/components/ui/command.es.js +89 -0
  100. package/dist/components/ui/command.es.js.map +1 -0
  101. package/dist/components/ui/context-menu.cjs.js +2 -0
  102. package/dist/components/ui/context-menu.cjs.js.map +1 -0
  103. package/dist/components/ui/context-menu.d.ts +1 -1
  104. package/dist/components/ui/context-menu.es.js +135 -0
  105. package/dist/components/ui/context-menu.es.js.map +1 -0
  106. package/dist/components/ui/dialog.cjs.js +2 -0
  107. package/dist/components/ui/dialog.cjs.js.map +1 -0
  108. package/dist/components/ui/dialog.d.ts +1 -1
  109. package/dist/components/ui/dialog.es.js +93 -0
  110. package/dist/components/ui/dialog.es.js.map +1 -0
  111. package/dist/components/ui/direction.d.ts +1 -1
  112. package/dist/components/ui/direction.es.js +2 -0
  113. package/dist/components/ui/drawer.cjs.js +2 -0
  114. package/dist/components/ui/drawer.cjs.js.map +1 -0
  115. package/dist/components/ui/drawer.d.ts +1 -1
  116. package/dist/components/ui/drawer.es.js +123 -0
  117. package/dist/components/ui/drawer.es.js.map +1 -0
  118. package/dist/components/ui/dropdown-menu.cjs.js +2 -0
  119. package/dist/components/ui/dropdown-menu.cjs.js.map +1 -0
  120. package/dist/components/ui/dropdown-menu.d.ts +1 -1
  121. package/dist/components/ui/dropdown-menu.es.js +138 -0
  122. package/dist/components/ui/dropdown-menu.es.js.map +1 -0
  123. package/dist/components/ui/empty.cjs.js +2 -0
  124. package/dist/components/ui/empty.cjs.js.map +1 -0
  125. package/dist/components/ui/empty.d.ts +9 -8
  126. package/dist/components/ui/empty.es.js +62 -0
  127. package/dist/components/ui/empty.es.js.map +1 -0
  128. package/dist/components/ui/field.cjs.js +2 -0
  129. package/dist/components/ui/field.cjs.js.map +1 -0
  130. package/dist/components/ui/field.d.ts +3 -3
  131. package/dist/components/ui/field.es.js +110 -0
  132. package/dist/components/ui/field.es.js.map +1 -0
  133. package/dist/components/ui/hover-card.cjs.js +2 -0
  134. package/dist/components/ui/hover-card.cjs.js.map +1 -0
  135. package/dist/components/ui/hover-card.d.ts +1 -1
  136. package/dist/components/ui/hover-card.es.js +38 -0
  137. package/dist/components/ui/hover-card.es.js.map +1 -0
  138. package/dist/components/ui/input-group.cjs.js +2 -0
  139. package/dist/components/ui/input-group.cjs.js.map +1 -0
  140. package/dist/components/ui/input-group.d.ts +6 -6
  141. package/dist/components/ui/input-group.es.js +79 -0
  142. package/dist/components/ui/input-group.es.js.map +1 -0
  143. package/dist/components/ui/input-otp.cjs.js +2 -0
  144. package/dist/components/ui/input-otp.cjs.js.map +1 -0
  145. package/dist/components/ui/input-otp.d.ts +1 -1
  146. package/dist/components/ui/input-otp.es.js +48 -0
  147. package/dist/components/ui/input-otp.es.js.map +1 -0
  148. package/dist/components/ui/input.cjs.js +2 -0
  149. package/dist/components/ui/input.cjs.js.map +1 -0
  150. package/dist/components/ui/input.es.js +17 -0
  151. package/dist/components/ui/input.es.js.map +1 -0
  152. package/dist/components/ui/item.cjs.js +2 -0
  153. package/dist/components/ui/item.cjs.js.map +1 -0
  154. package/dist/components/ui/item.d.ts +6 -6
  155. package/dist/components/ui/item.es.js +123 -0
  156. package/dist/components/ui/item.es.js.map +1 -0
  157. package/dist/components/ui/kbd.cjs.js +2 -0
  158. package/dist/components/ui/kbd.cjs.js.map +1 -0
  159. package/dist/components/ui/kbd.d.ts +3 -2
  160. package/dist/components/ui/kbd.es.js +22 -0
  161. package/dist/components/ui/kbd.es.js.map +1 -0
  162. package/dist/components/ui/label.cjs.js +2 -0
  163. package/dist/components/ui/label.cjs.js.map +1 -0
  164. package/dist/components/ui/label.es.js +16 -0
  165. package/dist/components/ui/label.es.js.map +1 -0
  166. package/dist/components/ui/marker.cjs.js +2 -0
  167. package/dist/components/ui/marker.cjs.js.map +1 -0
  168. package/dist/components/ui/marker.d.ts +3 -3
  169. package/dist/components/ui/marker.es.js +45 -0
  170. package/dist/components/ui/marker.es.js.map +1 -0
  171. package/dist/components/ui/menubar.cjs.js +2 -0
  172. package/dist/components/ui/menubar.cjs.js.map +1 -0
  173. package/dist/components/ui/menubar.d.ts +3 -3
  174. package/dist/components/ui/menubar.es.js +137 -0
  175. package/dist/components/ui/menubar.es.js.map +1 -0
  176. package/dist/components/ui/message-scroller.cjs.js +2 -0
  177. package/dist/components/ui/message-scroller.cjs.js.map +1 -0
  178. package/dist/components/ui/message-scroller.d.ts +2 -2
  179. package/dist/components/ui/message-scroller.es.js +63 -0
  180. package/dist/components/ui/message-scroller.es.js.map +1 -0
  181. package/dist/components/ui/message.cjs.js +2 -0
  182. package/dist/components/ui/message.cjs.js.map +1 -0
  183. package/dist/components/ui/message.es.js +51 -0
  184. package/dist/components/ui/message.es.js.map +1 -0
  185. package/dist/components/ui/native-select.cjs.js +2 -0
  186. package/dist/components/ui/native-select.cjs.js.map +1 -0
  187. package/dist/components/ui/native-select.es.js +40 -0
  188. package/dist/components/ui/native-select.es.js.map +1 -0
  189. package/dist/components/ui/navigation-menu.cjs.js +2 -0
  190. package/dist/components/ui/navigation-menu.cjs.js.map +1 -0
  191. package/dist/components/ui/navigation-menu.d.ts +2 -2
  192. package/dist/components/ui/navigation-menu.es.js +84 -0
  193. package/dist/components/ui/navigation-menu.es.js.map +1 -0
  194. package/dist/components/ui/pagination.cjs.js +2 -0
  195. package/dist/components/ui/pagination.cjs.js.map +1 -0
  196. package/dist/components/ui/pagination.d.ts +1 -1
  197. package/dist/components/ui/pagination.es.js +82 -0
  198. package/dist/components/ui/pagination.es.js.map +1 -0
  199. package/dist/components/ui/popover.cjs.js +2 -0
  200. package/dist/components/ui/popover.cjs.js.map +1 -0
  201. package/dist/components/ui/popover.d.ts +1 -1
  202. package/dist/components/ui/popover.es.js +56 -0
  203. package/dist/components/ui/popover.es.js.map +1 -0
  204. package/dist/components/ui/progress.cjs.js +2 -0
  205. package/dist/components/ui/progress.cjs.js.map +1 -0
  206. package/dist/components/ui/progress.d.ts +1 -1
  207. package/dist/components/ui/progress.es.js +46 -0
  208. package/dist/components/ui/progress.es.js.map +1 -0
  209. package/dist/components/ui/radio-group.cjs.js +2 -0
  210. package/dist/components/ui/radio-group.cjs.js.map +1 -0
  211. package/dist/components/ui/radio-group.d.ts +2 -2
  212. package/dist/components/ui/radio-group.es.js +28 -0
  213. package/dist/components/ui/radio-group.es.js.map +1 -0
  214. package/dist/components/ui/resizable.cjs.js +2 -0
  215. package/dist/components/ui/resizable.cjs.js.map +1 -0
  216. package/dist/components/ui/resizable.es.js +30 -0
  217. package/dist/components/ui/resizable.es.js.map +1 -0
  218. package/dist/components/ui/scroll-area.cjs.js +2 -0
  219. package/dist/components/ui/scroll-area.cjs.js.map +1 -0
  220. package/dist/components/ui/scroll-area.d.ts +1 -1
  221. package/dist/components/ui/scroll-area.es.js +37 -0
  222. package/dist/components/ui/scroll-area.es.js.map +1 -0
  223. package/dist/components/ui/select.cjs.js +2 -0
  224. package/dist/components/ui/select.cjs.js.map +1 -0
  225. package/dist/components/ui/select.d.ts +1 -1
  226. package/dist/components/ui/select.es.js +100 -0
  227. package/dist/components/ui/select.es.js.map +1 -0
  228. package/dist/components/ui/separator.cjs.js +2 -0
  229. package/dist/components/ui/separator.cjs.js.map +1 -0
  230. package/dist/components/ui/separator.d.ts +1 -1
  231. package/dist/components/ui/separator.es.js +16 -0
  232. package/dist/components/ui/separator.es.js.map +1 -0
  233. package/dist/components/ui/sheet.cjs.js +2 -0
  234. package/dist/components/ui/sheet.cjs.js.map +1 -0
  235. package/dist/components/ui/sheet.d.ts +1 -1
  236. package/dist/components/ui/sheet.es.js +90 -0
  237. package/dist/components/ui/sheet.es.js.map +1 -0
  238. package/dist/components/ui/sidebar.cjs.js +2 -0
  239. package/dist/components/ui/sidebar.cjs.js.map +1 -0
  240. package/dist/components/ui/sidebar.d.ts +19 -8
  241. package/dist/components/ui/sidebar.es.js +363 -0
  242. package/dist/components/ui/sidebar.es.js.map +1 -0
  243. package/dist/components/ui/skeleton.cjs.js +2 -0
  244. package/dist/components/ui/skeleton.cjs.js.map +1 -0
  245. package/dist/components/ui/skeleton.d.ts +2 -1
  246. package/dist/components/ui/skeleton.es.js +15 -0
  247. package/dist/components/ui/skeleton.es.js.map +1 -0
  248. package/dist/components/ui/slider.cjs.js +2 -0
  249. package/dist/components/ui/slider.cjs.js.map +1 -0
  250. package/dist/components/ui/slider.d.ts +1 -1
  251. package/dist/components/ui/slider.es.js +35 -0
  252. package/dist/components/ui/slider.es.js.map +1 -0
  253. package/dist/components/ui/sonner.cjs.js +2 -0
  254. package/dist/components/ui/sonner.cjs.js.map +1 -0
  255. package/dist/components/ui/sonner.d.ts +22 -2
  256. package/dist/components/ui/sonner.es.js +29 -0
  257. package/dist/components/ui/sonner.es.js.map +1 -0
  258. package/dist/components/ui/spinner.cjs.js +2 -0
  259. package/dist/components/ui/spinner.cjs.js.map +1 -0
  260. package/dist/components/ui/spinner.d.ts +2 -1
  261. package/dist/components/ui/spinner.es.js +18 -0
  262. package/dist/components/ui/spinner.es.js.map +1 -0
  263. package/dist/components/ui/switch.cjs.js +2 -0
  264. package/dist/components/ui/switch.cjs.js.map +1 -0
  265. package/dist/components/ui/switch.d.ts +1 -1
  266. package/dist/components/ui/switch.es.js +20 -0
  267. package/dist/components/ui/switch.es.js.map +1 -0
  268. package/dist/components/ui/table.cjs.js +2 -0
  269. package/dist/components/ui/table.cjs.js.map +1 -0
  270. package/dist/components/ui/table.es.js +69 -0
  271. package/dist/components/ui/table.es.js.map +1 -0
  272. package/dist/components/ui/tabs.cjs.js +2 -0
  273. package/dist/components/ui/tabs.cjs.js.map +1 -0
  274. package/dist/components/ui/tabs.d.ts +3 -3
  275. package/dist/components/ui/tabs.es.js +46 -0
  276. package/dist/components/ui/tabs.es.js.map +1 -0
  277. package/dist/components/ui/textarea.cjs.js +2 -0
  278. package/dist/components/ui/textarea.cjs.js.map +1 -0
  279. package/dist/components/ui/textarea.es.js +15 -0
  280. package/dist/components/ui/textarea.es.js.map +1 -0
  281. package/dist/components/ui/toggle-group.cjs.js +2 -0
  282. package/dist/components/ui/toggle-group.cjs.js.map +1 -0
  283. package/dist/components/ui/toggle-group.d.ts +4 -4
  284. package/dist/components/ui/toggle-group.es.js +54 -0
  285. package/dist/components/ui/toggle-group.es.js.map +1 -0
  286. package/dist/components/ui/toggle.cjs.js +2 -0
  287. package/dist/components/ui/toggle.cjs.js.map +1 -0
  288. package/dist/components/ui/toggle.d.ts +3 -3
  289. package/dist/components/ui/toggle.es.js +38 -0
  290. package/dist/components/ui/toggle.es.js.map +1 -0
  291. package/dist/components/ui/tooltip.cjs.js +2 -0
  292. package/dist/components/ui/tooltip.cjs.js.map +1 -0
  293. package/dist/components/ui/tooltip.d.ts +1 -1
  294. package/dist/components/ui/tooltip.es.js +42 -0
  295. package/dist/components/ui/tooltip.es.js.map +1 -0
  296. package/dist/hooks/index.cjs.js +1 -0
  297. package/dist/hooks/index.d.ts +10 -0
  298. package/dist/hooks/index.es.js +2 -0
  299. package/dist/hooks/use-mobile.cjs.js +2 -0
  300. package/dist/hooks/use-mobile.cjs.js.map +1 -0
  301. package/dist/hooks/use-mobile.es.js +16 -0
  302. package/dist/hooks/use-mobile.es.js.map +1 -0
  303. package/dist/index.cjs.js +1 -7
  304. package/dist/index.d.ts +62 -61
  305. package/dist/index.es.js +63 -5447
  306. package/dist/lib/utils.d.ts +1 -1
  307. package/dist/node_modules/.bun/@radix-ui_primitive@1.1.5/node_modules/@radix-ui/primitive/dist/index.cjs.js +2 -0
  308. package/dist/node_modules/.bun/@radix-ui_primitive@1.1.5/node_modules/@radix-ui/primitive/dist/index.cjs.js.map +1 -0
  309. package/dist/node_modules/.bun/@radix-ui_primitive@1.1.5/node_modules/@radix-ui/primitive/dist/index.es.js +10 -0
  310. package/dist/node_modules/.bun/@radix-ui_primitive@1.1.5/node_modules/@radix-ui/primitive/dist/index.es.js.map +1 -0
  311. 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 +2 -0
  312. 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 +1 -0
  313. 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 +27 -0
  314. 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 +1 -0
  315. package/dist/node_modules/.bun/@radix-ui_react-context@1.2.0_93dbe784b8baa420/node_modules/@radix-ui/react-context/dist/index.cjs.js +2 -0
  316. package/dist/node_modules/.bun/@radix-ui_react-context@1.2.0_93dbe784b8baa420/node_modules/@radix-ui/react-context/dist/index.cjs.js.map +1 -0
  317. package/dist/node_modules/.bun/@radix-ui_react-context@1.2.0_93dbe784b8baa420/node_modules/@radix-ui/react-context/dist/index.es.js +63 -0
  318. package/dist/node_modules/.bun/@radix-ui_react-context@1.2.0_93dbe784b8baa420/node_modules/@radix-ui/react-context/dist/index.es.js.map +1 -0
  319. package/dist/node_modules/.bun/@radix-ui_react-dialog@1.1.19_ae2b4604ef263bc9/node_modules/@radix-ui/react-dialog/dist/index.cjs.js +2 -0
  320. package/dist/node_modules/.bun/@radix-ui_react-dialog@1.1.19_ae2b4604ef263bc9/node_modules/@radix-ui/react-dialog/dist/index.cjs.js.map +1 -0
  321. package/dist/node_modules/.bun/@radix-ui_react-dialog@1.1.19_ae2b4604ef263bc9/node_modules/@radix-ui/react-dialog/dist/index.es.js +201 -0
  322. package/dist/node_modules/.bun/@radix-ui_react-dialog@1.1.19_ae2b4604ef263bc9/node_modules/@radix-ui/react-dialog/dist/index.es.js.map +1 -0
  323. 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 +2 -0
  324. 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 +1 -0
  325. 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 +175 -0
  326. 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 +1 -0
  327. 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 +2 -0
  328. 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 +1 -0
  329. 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 +24 -0
  330. 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 +1 -0
  331. 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 +2 -0
  332. 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 +1 -0
  333. 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 +149 -0
  334. 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 +1 -0
  335. package/dist/node_modules/.bun/@radix-ui_react-id@1.1.2_93dbe784b8baa420/node_modules/@radix-ui/react-id/dist/index.cjs.js +2 -0
  336. package/dist/node_modules/.bun/@radix-ui_react-id@1.1.2_93dbe784b8baa420/node_modules/@radix-ui/react-id/dist/index.cjs.js.map +1 -0
  337. package/dist/node_modules/.bun/@radix-ui_react-id@1.1.2_93dbe784b8baa420/node_modules/@radix-ui/react-id/dist/index.es.js +14 -0
  338. package/dist/node_modules/.bun/@radix-ui_react-id@1.1.2_93dbe784b8baa420/node_modules/@radix-ui/react-id/dist/index.es.js.map +1 -0
  339. package/dist/node_modules/.bun/@radix-ui_react-portal@1.1.13_ae2b4604ef263bc9/node_modules/@radix-ui/react-portal/dist/index.cjs.js +2 -0
  340. package/dist/node_modules/.bun/@radix-ui_react-portal@1.1.13_ae2b4604ef263bc9/node_modules/@radix-ui/react-portal/dist/index.cjs.js.map +1 -0
  341. package/dist/node_modules/.bun/@radix-ui_react-portal@1.1.13_ae2b4604ef263bc9/node_modules/@radix-ui/react-portal/dist/index.es.js +21 -0
  342. package/dist/node_modules/.bun/@radix-ui_react-portal@1.1.13_ae2b4604ef263bc9/node_modules/@radix-ui/react-portal/dist/index.es.js.map +1 -0
  343. package/dist/node_modules/.bun/@radix-ui_react-presence@1.1.7_ae2b4604ef263bc9/node_modules/@radix-ui/react-presence/dist/index.cjs.js +2 -0
  344. package/dist/node_modules/.bun/@radix-ui_react-presence@1.1.7_ae2b4604ef263bc9/node_modules/@radix-ui/react-presence/dist/index.cjs.js.map +1 -0
  345. package/dist/node_modules/.bun/@radix-ui_react-presence@1.1.7_ae2b4604ef263bc9/node_modules/@radix-ui/react-presence/dist/index.es.js +90 -0
  346. package/dist/node_modules/.bun/@radix-ui_react-presence@1.1.7_ae2b4604ef263bc9/node_modules/@radix-ui/react-presence/dist/index.es.js.map +1 -0
  347. package/dist/node_modules/.bun/@radix-ui_react-primitive@2.1.7_ae2b4604ef263bc9/node_modules/@radix-ui/react-primitive/dist/index.cjs.js +2 -0
  348. package/dist/node_modules/.bun/@radix-ui_react-primitive@2.1.7_ae2b4604ef263bc9/node_modules/@radix-ui/react-primitive/dist/index.cjs.js.map +1 -0
  349. package/dist/node_modules/.bun/@radix-ui_react-primitive@2.1.7_ae2b4604ef263bc9/node_modules/@radix-ui/react-primitive/dist/index.es.js +43 -0
  350. package/dist/node_modules/.bun/@radix-ui_react-primitive@2.1.7_ae2b4604ef263bc9/node_modules/@radix-ui/react-primitive/dist/index.es.js.map +1 -0
  351. package/dist/node_modules/.bun/@radix-ui_react-slot@1.3.0_93dbe784b8baa420/node_modules/@radix-ui/react-slot/dist/index.cjs.js +2 -0
  352. package/dist/node_modules/.bun/@radix-ui_react-slot@1.3.0_93dbe784b8baa420/node_modules/@radix-ui/react-slot/dist/index.cjs.js.map +1 -0
  353. package/dist/node_modules/.bun/@radix-ui_react-slot@1.3.0_93dbe784b8baa420/node_modules/@radix-ui/react-slot/dist/index.es.js +67 -0
  354. package/dist/node_modules/.bun/@radix-ui_react-slot@1.3.0_93dbe784b8baa420/node_modules/@radix-ui/react-slot/dist/index.es.js.map +1 -0
  355. 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 +2 -0
  356. 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 +1 -0
  357. 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 +12 -0
  358. 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 +1 -0
  359. 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 +2 -0
  360. 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 +1 -0
  361. 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 +47 -0
  362. 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 +1 -0
  363. 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 +2 -0
  364. 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 +1 -0
  365. 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 +7 -0
  366. 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 +1 -0
  367. package/dist/node_modules/.bun/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.cjs.js +2 -0
  368. package/dist/node_modules/.bun/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.cjs.js.map +1 -0
  369. package/dist/node_modules/.bun/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.es.js +48 -0
  370. package/dist/node_modules/.bun/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.es.js.map +1 -0
  371. package/dist/node_modules/.bun/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.cjs.js +2 -0
  372. package/dist/node_modules/.bun/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.cjs.js.map +1 -0
  373. package/dist/node_modules/.bun/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.es.js +35 -0
  374. package/dist/node_modules/.bun/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.es.js.map +1 -0
  375. package/dist/node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.cjs.js +2 -0
  376. package/dist/node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.cjs.js.map +1 -0
  377. package/dist/node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.es.js +18 -0
  378. package/dist/node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.es.js.map +1 -0
  379. package/dist/node_modules/.bun/cmdk@1.1.1_ae2b4604ef263bc9/node_modules/cmdk/dist/chunk-NZJY6EH4.cjs.js +2 -0
  380. package/dist/node_modules/.bun/cmdk@1.1.1_ae2b4604ef263bc9/node_modules/cmdk/dist/chunk-NZJY6EH4.cjs.js.map +1 -0
  381. package/dist/node_modules/.bun/cmdk@1.1.1_ae2b4604ef263bc9/node_modules/cmdk/dist/chunk-NZJY6EH4.es.js +19 -0
  382. package/dist/node_modules/.bun/cmdk@1.1.1_ae2b4604ef263bc9/node_modules/cmdk/dist/chunk-NZJY6EH4.es.js.map +1 -0
  383. package/dist/node_modules/.bun/cmdk@1.1.1_ae2b4604ef263bc9/node_modules/cmdk/dist/index.cjs.js +2 -0
  384. package/dist/node_modules/.bun/cmdk@1.1.1_ae2b4604ef263bc9/node_modules/cmdk/dist/index.cjs.js.map +1 -0
  385. package/dist/node_modules/.bun/cmdk@1.1.1_ae2b4604ef263bc9/node_modules/cmdk/dist/index.es.js +446 -0
  386. package/dist/node_modules/.bun/cmdk@1.1.1_ae2b4604ef263bc9/node_modules/cmdk/dist/index.es.js.map +1 -0
  387. package/dist/node_modules/.bun/cnfast@0.0.8/node_modules/cnfast/dist/index.cjs.js +2 -0
  388. package/dist/node_modules/.bun/cnfast@0.0.8/node_modules/cnfast/dist/index.cjs.js.map +1 -0
  389. package/dist/node_modules/.bun/cnfast@0.0.8/node_modules/cnfast/dist/index.es.js +1860 -0
  390. package/dist/node_modules/.bun/cnfast@0.0.8/node_modules/cnfast/dist/index.es.js.map +1 -0
  391. package/dist/node_modules/.bun/embla-carousel-react@8.6.0_e14d3f224186685e/node_modules/embla-carousel-react/esm/embla-carousel-react.esm.cjs.js +2 -0
  392. 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 +1 -0
  393. package/dist/node_modules/.bun/embla-carousel-react@8.6.0_e14d3f224186685e/node_modules/embla-carousel-react/esm/embla-carousel-react.esm.es.js +25 -0
  394. 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 +1 -0
  395. 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 +2 -0
  396. 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 +1 -0
  397. 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 +32 -0
  398. 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 +1 -0
  399. package/dist/node_modules/.bun/embla-carousel@8.6.0/node_modules/embla-carousel/esm/embla-carousel.esm.cjs.js +2 -0
  400. package/dist/node_modules/.bun/embla-carousel@8.6.0/node_modules/embla-carousel/esm/embla-carousel.esm.cjs.js.map +1 -0
  401. package/dist/node_modules/.bun/embla-carousel@8.6.0/node_modules/embla-carousel/esm/embla-carousel.esm.es.js +1019 -0
  402. package/dist/node_modules/.bun/embla-carousel@8.6.0/node_modules/embla-carousel/esm/embla-carousel.esm.es.js.map +1 -0
  403. package/dist/node_modules/.bun/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.cjs.js +2 -0
  404. package/dist/node_modules/.bun/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.cjs.js.map +1 -0
  405. package/dist/node_modules/.bun/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.es.js +9 -0
  406. package/dist/node_modules/.bun/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.es.js.map +1 -0
  407. package/dist/node_modules/.bun/input-otp@1.4.2_7492c01c6988791b/node_modules/input-otp/dist/index.cjs.js +21 -0
  408. package/dist/node_modules/.bun/input-otp@1.4.2_7492c01c6988791b/node_modules/input-otp/dist/index.cjs.js.map +1 -0
  409. package/dist/node_modules/.bun/input-otp@1.4.2_7492c01c6988791b/node_modules/input-otp/dist/index.es.js +351 -0
  410. package/dist/node_modules/.bun/input-otp@1.4.2_7492c01c6988791b/node_modules/input-otp/dist/index.es.js.map +1 -0
  411. package/dist/node_modules/.bun/react-remove-scroll-bar@2.3.8_93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/component.cjs.js +39 -0
  412. 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 +1 -0
  413. package/dist/node_modules/.bun/react-remove-scroll-bar@2.3.8_93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/component.es.js +72 -0
  414. 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 +1 -0
  415. package/dist/node_modules/.bun/react-remove-scroll-bar@2.3.8_93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/constants.cjs.js +2 -0
  416. 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 +1 -0
  417. package/dist/node_modules/.bun/react-remove-scroll-bar@2.3.8_93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/constants.es.js +6 -0
  418. 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 +1 -0
  419. package/dist/node_modules/.bun/react-remove-scroll-bar@2.3.8_93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/index.cjs.js +1 -0
  420. package/dist/node_modules/.bun/react-remove-scroll-bar@2.3.8_93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/index.es.js +4 -0
  421. package/dist/node_modules/.bun/react-remove-scroll-bar@2.3.8_93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/utils.cjs.js +2 -0
  422. 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 +1 -0
  423. package/dist/node_modules/.bun/react-remove-scroll-bar@2.3.8_93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/utils.es.js +29 -0
  424. 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 +1 -0
  425. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/Combination.cjs.js +2 -0
  426. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/Combination.cjs.js.map +1 -0
  427. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/Combination.es.js +16 -0
  428. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/Combination.es.js.map +1 -0
  429. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/SideEffect.cjs.js +5 -0
  430. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/SideEffect.cjs.js.map +1 -0
  431. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/SideEffect.es.js +118 -0
  432. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/SideEffect.es.js.map +1 -0
  433. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/UI.cjs.js +2 -0
  434. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/UI.cjs.js.map +1 -0
  435. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/UI.es.js +54 -0
  436. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/UI.es.js.map +1 -0
  437. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.cjs.js +2 -0
  438. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.cjs.js.map +1 -0
  439. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.es.js +15 -0
  440. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.es.js.map +1 -0
  441. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/handleScroll.cjs.js +2 -0
  442. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/handleScroll.cjs.js.map +1 -0
  443. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/handleScroll.es.js +54 -0
  444. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/handleScroll.es.js.map +1 -0
  445. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/medium.cjs.js +2 -0
  446. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/medium.cjs.js.map +1 -0
  447. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/medium.es.js +7 -0
  448. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/medium.es.js.map +1 -0
  449. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/sidecar.cjs.js +2 -0
  450. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/sidecar.cjs.js.map +1 -0
  451. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/sidecar.es.js +9 -0
  452. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/sidecar.es.js.map +1 -0
  453. package/dist/node_modules/.bun/react-resizable-panels@4.12.1_7492c01c6988791b/node_modules/react-resizable-panels/dist/react-resizable-panels.cjs.js +2 -0
  454. package/dist/node_modules/.bun/react-resizable-panels@4.12.1_7492c01c6988791b/node_modules/react-resizable-panels/dist/react-resizable-panels.cjs.js.map +1 -0
  455. package/dist/node_modules/.bun/react-resizable-panels@4.12.1_7492c01c6988791b/node_modules/react-resizable-panels/dist/react-resizable-panels.es.js +1550 -0
  456. package/dist/node_modules/.bun/react-resizable-panels@4.12.1_7492c01c6988791b/node_modules/react-resizable-panels/dist/react-resizable-panels.es.js.map +1 -0
  457. package/dist/node_modules/.bun/react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/component.cjs.js +2 -0
  458. package/dist/node_modules/.bun/react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/component.cjs.js.map +1 -0
  459. package/dist/node_modules/.bun/react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/component.es.js +13 -0
  460. package/dist/node_modules/.bun/react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/component.es.js.map +1 -0
  461. package/dist/node_modules/.bun/react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/hook.cjs.js +2 -0
  462. package/dist/node_modules/.bun/react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/hook.cjs.js.map +1 -0
  463. package/dist/node_modules/.bun/react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/hook.es.js +17 -0
  464. package/dist/node_modules/.bun/react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/hook.es.js.map +1 -0
  465. package/dist/node_modules/.bun/react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/index.cjs.js +1 -0
  466. package/dist/node_modules/.bun/react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/index.es.js +4 -0
  467. package/dist/node_modules/.bun/react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/singleton.cjs.js +2 -0
  468. package/dist/node_modules/.bun/react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/singleton.cjs.js.map +1 -0
  469. package/dist/node_modules/.bun/react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/singleton.es.js +30 -0
  470. package/dist/node_modules/.bun/react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/singleton.es.js.map +1 -0
  471. package/dist/node_modules/.bun/tslib@2.8.1/node_modules/tslib/tslib.es6.cjs.js +2 -0
  472. package/dist/node_modules/.bun/tslib@2.8.1/node_modules/tslib/tslib.es6.cjs.js.map +1 -0
  473. package/dist/node_modules/.bun/tslib@2.8.1/node_modules/tslib/tslib.es6.es.js +21 -0
  474. package/dist/node_modules/.bun/tslib@2.8.1/node_modules/tslib/tslib.es6.es.js.map +1 -0
  475. package/dist/node_modules/.bun/use-callback-ref@1.3.3_93dbe784b8baa420/node_modules/use-callback-ref/dist/es2015/assignRef.cjs.js +2 -0
  476. package/dist/node_modules/.bun/use-callback-ref@1.3.3_93dbe784b8baa420/node_modules/use-callback-ref/dist/es2015/assignRef.cjs.js.map +1 -0
  477. package/dist/node_modules/.bun/use-callback-ref@1.3.3_93dbe784b8baa420/node_modules/use-callback-ref/dist/es2015/assignRef.es.js +8 -0
  478. package/dist/node_modules/.bun/use-callback-ref@1.3.3_93dbe784b8baa420/node_modules/use-callback-ref/dist/es2015/assignRef.es.js.map +1 -0
  479. package/dist/node_modules/.bun/use-callback-ref@1.3.3_93dbe784b8baa420/node_modules/use-callback-ref/dist/es2015/useMergeRef.cjs.js +2 -0
  480. package/dist/node_modules/.bun/use-callback-ref@1.3.3_93dbe784b8baa420/node_modules/use-callback-ref/dist/es2015/useMergeRef.cjs.js.map +1 -0
  481. package/dist/node_modules/.bun/use-callback-ref@1.3.3_93dbe784b8baa420/node_modules/use-callback-ref/dist/es2015/useMergeRef.es.js +28 -0
  482. package/dist/node_modules/.bun/use-callback-ref@1.3.3_93dbe784b8baa420/node_modules/use-callback-ref/dist/es2015/useMergeRef.es.js.map +1 -0
  483. package/dist/node_modules/.bun/use-callback-ref@1.3.3_93dbe784b8baa420/node_modules/use-callback-ref/dist/es2015/useRef.cjs.js +2 -0
  484. package/dist/node_modules/.bun/use-callback-ref@1.3.3_93dbe784b8baa420/node_modules/use-callback-ref/dist/es2015/useRef.cjs.js.map +1 -0
  485. package/dist/node_modules/.bun/use-callback-ref@1.3.3_93dbe784b8baa420/node_modules/use-callback-ref/dist/es2015/useRef.es.js +24 -0
  486. package/dist/node_modules/.bun/use-callback-ref@1.3.3_93dbe784b8baa420/node_modules/use-callback-ref/dist/es2015/useRef.es.js.map +1 -0
  487. package/dist/node_modules/.bun/use-sidecar@1.1.3_93dbe784b8baa420/node_modules/use-sidecar/dist/es2015/exports.cjs.js +2 -0
  488. package/dist/node_modules/.bun/use-sidecar@1.1.3_93dbe784b8baa420/node_modules/use-sidecar/dist/es2015/exports.cjs.js.map +1 -0
  489. package/dist/node_modules/.bun/use-sidecar@1.1.3_93dbe784b8baa420/node_modules/use-sidecar/dist/es2015/exports.es.js +18 -0
  490. package/dist/node_modules/.bun/use-sidecar@1.1.3_93dbe784b8baa420/node_modules/use-sidecar/dist/es2015/exports.es.js.map +1 -0
  491. package/dist/node_modules/.bun/use-sidecar@1.1.3_93dbe784b8baa420/node_modules/use-sidecar/dist/es2015/medium.cjs.js +2 -0
  492. package/dist/node_modules/.bun/use-sidecar@1.1.3_93dbe784b8baa420/node_modules/use-sidecar/dist/es2015/medium.cjs.js.map +1 -0
  493. package/dist/node_modules/.bun/use-sidecar@1.1.3_93dbe784b8baa420/node_modules/use-sidecar/dist/es2015/medium.es.js +71 -0
  494. package/dist/node_modules/.bun/use-sidecar@1.1.3_93dbe784b8baa420/node_modules/use-sidecar/dist/es2015/medium.es.js.map +1 -0
  495. package/package.json +87 -25
  496. package/src/index.css +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.es.js","names":["U","S"],"sources":["../../../../../../../../../node_modules/.bun/input-otp@1.4.2+7492c01c6988791b/node_modules/input-otp/dist/index.mjs"],"sourcesContent":["var Bt=Object.defineProperty,At=Object.defineProperties;var kt=Object.getOwnPropertyDescriptors;var Y=Object.getOwnPropertySymbols;var gt=Object.prototype.hasOwnProperty,Et=Object.prototype.propertyIsEnumerable;var vt=(r,s,e)=>s in r?Bt(r,s,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[s]=e,St=(r,s)=>{for(var e in s||(s={}))gt.call(s,e)&&vt(r,e,s[e]);if(Y)for(var e of Y(s))Et.call(s,e)&&vt(r,e,s[e]);return r},bt=(r,s)=>At(r,kt(s));var Pt=(r,s)=>{var e={};for(var u in r)gt.call(r,u)&&s.indexOf(u)<0&&(e[u]=r[u]);if(r!=null&&Y)for(var u of Y(r))s.indexOf(u)<0&&Et.call(r,u)&&(e[u]=r[u]);return e};import*as n from\"react\";function ht(r){let s=setTimeout(r,0),e=setTimeout(r,10),u=setTimeout(r,50);return[s,e,u]}import*as U from\"react\";function _t(r){let s=U.useRef();return U.useEffect(()=>{s.current=r}),s.current}import*as S from\"react\";var Ot=18,wt=40,Gt=`${wt}px`,xt=[\"[data-lastpass-icon-root]\",\"com-1password-button\",\"[data-dashlanecreated]\",'[style$=\"2147483647 !important;\"]'].join(\",\");function Tt({containerRef:r,inputRef:s,pushPasswordManagerStrategy:e,isFocused:u}){let[P,D]=S.useState(!1),[G,H]=S.useState(!1),[F,W]=S.useState(!1),Z=S.useMemo(()=>e===\"none\"?!1:(e===\"increase-width\"||e===\"experimental-no-flickering\")&&P&&G,[P,G,e]),T=S.useCallback(()=>{let f=r.current,h=s.current;if(!f||!h||F||e===\"none\")return;let a=f,B=a.getBoundingClientRect().left+a.offsetWidth,A=a.getBoundingClientRect().top+a.offsetHeight/2,z=B-Ot,q=A;document.querySelectorAll(xt).length===0&&document.elementFromPoint(z,q)===f||(D(!0),W(!0))},[r,s,F,e]);return S.useEffect(()=>{let f=r.current;if(!f||e===\"none\")return;function h(){let A=window.innerWidth-f.getBoundingClientRect().right;H(A>=wt)}h();let a=setInterval(h,1e3);return()=>{clearInterval(a)}},[r,e]),S.useEffect(()=>{let f=u||document.activeElement===s.current;if(e===\"none\"||!f)return;let h=setTimeout(T,0),a=setTimeout(T,2e3),B=setTimeout(T,5e3),A=setTimeout(()=>{W(!0)},6e3);return()=>{clearTimeout(h),clearTimeout(a),clearTimeout(B),clearTimeout(A)}},[s,u,e,T]),{hasPWMBadge:P,willPushPWMBadge:Z,PWM_BADGE_SPACE_WIDTH:Gt}}var jt=n.createContext({}),Lt=n.forwardRef((A,B)=>{var z=A,{value:r,onChange:s,maxLength:e,textAlign:u=\"left\",pattern:P,placeholder:D,inputMode:G=\"numeric\",onComplete:H,pushPasswordManagerStrategy:F=\"increase-width\",pasteTransformer:W,containerClassName:Z,noScriptCSSFallback:T=Nt,render:f,children:h}=z,a=Pt(z,[\"value\",\"onChange\",\"maxLength\",\"textAlign\",\"pattern\",\"placeholder\",\"inputMode\",\"onComplete\",\"pushPasswordManagerStrategy\",\"pasteTransformer\",\"containerClassName\",\"noScriptCSSFallback\",\"render\",\"children\"]);var X,lt,ut,dt,ft;let[q,nt]=n.useState(typeof a.defaultValue==\"string\"?a.defaultValue:\"\"),i=r!=null?r:q,I=_t(i),x=n.useCallback(t=>{s==null||s(t),nt(t)},[s]),m=n.useMemo(()=>P?typeof P==\"string\"?new RegExp(P):P:null,[P]),l=n.useRef(null),K=n.useRef(null),J=n.useRef({value:i,onChange:x,isIOS:typeof window!=\"undefined\"&&((lt=(X=window==null?void 0:window.CSS)==null?void 0:X.supports)==null?void 0:lt.call(X,\"-webkit-touch-callout\",\"none\"))}),V=n.useRef({prev:[(ut=l.current)==null?void 0:ut.selectionStart,(dt=l.current)==null?void 0:dt.selectionEnd,(ft=l.current)==null?void 0:ft.selectionDirection]});n.useImperativeHandle(B,()=>l.current,[]),n.useEffect(()=>{let t=l.current,o=K.current;if(!t||!o)return;J.current.value!==t.value&&J.current.onChange(t.value),V.current.prev=[t.selectionStart,t.selectionEnd,t.selectionDirection];function d(){if(document.activeElement!==t){L(null),N(null);return}let c=t.selectionStart,b=t.selectionEnd,mt=t.selectionDirection,v=t.maxLength,C=t.value,_=V.current.prev,g=-1,E=-1,w;if(C.length!==0&&c!==null&&b!==null){let Dt=c===b,Ht=c===C.length&&C.length<v;if(Dt&&!Ht){let y=c;if(y===0)g=0,E=1,w=\"forward\";else if(y===v)g=y-1,E=y,w=\"backward\";else if(v>1&&C.length>1){let et=0;if(_[0]!==null&&_[1]!==null){w=y<_[1]?\"backward\":\"forward\";let Wt=_[0]===_[1]&&_[0]<v;w===\"backward\"&&!Wt&&(et=-1)}g=et+y,E=et+y+1}}g!==-1&&E!==-1&&g!==E&&l.current.setSelectionRange(g,E,w)}let pt=g!==-1?g:c,Rt=E!==-1?E:b,yt=w!=null?w:mt;L(pt),N(Rt),V.current.prev=[pt,Rt,yt]}if(document.addEventListener(\"selectionchange\",d,{capture:!0}),d(),document.activeElement===t&&Q(!0),!document.getElementById(\"input-otp-style\")){let c=document.createElement(\"style\");if(c.id=\"input-otp-style\",document.head.appendChild(c),c.sheet){let b=\"background: transparent !important; color: transparent !important; border-color: transparent !important; opacity: 0 !important; box-shadow: none !important; -webkit-box-shadow: none !important; -webkit-text-fill-color: transparent !important;\";$(c.sheet,\"[data-input-otp]::selection { background: transparent !important; color: transparent !important; }\"),$(c.sheet,`[data-input-otp]:autofill { ${b} }`),$(c.sheet,`[data-input-otp]:-webkit-autofill { ${b} }`),$(c.sheet,\"@supports (-webkit-touch-callout: none) { [data-input-otp] { letter-spacing: -.6em !important; font-weight: 100 !important; font-stretch: ultra-condensed; font-optical-sizing: none !important; left: -1px !important; right: 1px !important; } }\"),$(c.sheet,\"[data-input-otp] + * { pointer-events: all !important; }\")}}let R=()=>{o&&o.style.setProperty(\"--root-height\",`${t.clientHeight}px`)};R();let p=new ResizeObserver(R);return p.observe(t),()=>{document.removeEventListener(\"selectionchange\",d,{capture:!0}),p.disconnect()}},[]);let[ot,rt]=n.useState(!1),[j,Q]=n.useState(!1),[M,L]=n.useState(null),[k,N]=n.useState(null);n.useEffect(()=>{ht(()=>{var R,p,c,b;(R=l.current)==null||R.dispatchEvent(new Event(\"input\"));let t=(p=l.current)==null?void 0:p.selectionStart,o=(c=l.current)==null?void 0:c.selectionEnd,d=(b=l.current)==null?void 0:b.selectionDirection;t!==null&&o!==null&&(L(t),N(o),V.current.prev=[t,o,d])})},[i,j]),n.useEffect(()=>{I!==void 0&&i!==I&&I.length<e&&i.length===e&&(H==null||H(i))},[e,H,I,i]);let O=Tt({containerRef:K,inputRef:l,pushPasswordManagerStrategy:F,isFocused:j}),st=n.useCallback(t=>{let o=t.currentTarget.value.slice(0,e);if(o.length>0&&m&&!m.test(o)){t.preventDefault();return}typeof I==\"string\"&&o.length<I.length&&document.dispatchEvent(new Event(\"selectionchange\")),x(o)},[e,x,I,m]),at=n.useCallback(()=>{var t;if(l.current){let o=Math.min(l.current.value.length,e-1),d=l.current.value.length;(t=l.current)==null||t.setSelectionRange(o,d),L(o),N(d)}Q(!0)},[e]),ct=n.useCallback(t=>{var g,E;let o=l.current;if(!W&&(!J.current.isIOS||!t.clipboardData||!o))return;let d=t.clipboardData.getData(\"text/plain\"),R=W?W(d):d;t.preventDefault();let p=(g=l.current)==null?void 0:g.selectionStart,c=(E=l.current)==null?void 0:E.selectionEnd,v=(p!==c?i.slice(0,p)+R+i.slice(c):i.slice(0,p)+R+i.slice(p)).slice(0,e);if(v.length>0&&m&&!m.test(v))return;o.value=v,x(v);let C=Math.min(v.length,e-1),_=v.length;o.setSelectionRange(C,_),L(C),N(_)},[e,x,m,i]),It=n.useMemo(()=>({position:\"relative\",cursor:a.disabled?\"default\":\"text\",userSelect:\"none\",WebkitUserSelect:\"none\",pointerEvents:\"none\"}),[a.disabled]),it=n.useMemo(()=>({position:\"absolute\",inset:0,width:O.willPushPWMBadge?`calc(100% + ${O.PWM_BADGE_SPACE_WIDTH})`:\"100%\",clipPath:O.willPushPWMBadge?`inset(0 ${O.PWM_BADGE_SPACE_WIDTH} 0 0)`:void 0,height:\"100%\",display:\"flex\",textAlign:u,opacity:\"1\",color:\"transparent\",pointerEvents:\"all\",background:\"transparent\",caretColor:\"transparent\",border:\"0 solid transparent\",outline:\"0 solid transparent\",boxShadow:\"none\",lineHeight:\"1\",letterSpacing:\"-.5em\",fontSize:\"var(--root-height)\",fontFamily:\"monospace\",fontVariantNumeric:\"tabular-nums\"}),[O.PWM_BADGE_SPACE_WIDTH,O.willPushPWMBadge,u]),Mt=n.useMemo(()=>n.createElement(\"input\",bt(St({autoComplete:a.autoComplete||\"one-time-code\"},a),{\"data-input-otp\":!0,\"data-input-otp-placeholder-shown\":i.length===0||void 0,\"data-input-otp-mss\":M,\"data-input-otp-mse\":k,inputMode:G,pattern:m==null?void 0:m.source,\"aria-placeholder\":D,style:it,maxLength:e,value:i,ref:l,onPaste:t=>{var o;ct(t),(o=a.onPaste)==null||o.call(a,t)},onChange:st,onMouseOver:t=>{var o;rt(!0),(o=a.onMouseOver)==null||o.call(a,t)},onMouseLeave:t=>{var o;rt(!1),(o=a.onMouseLeave)==null||o.call(a,t)},onFocus:t=>{var o;at(),(o=a.onFocus)==null||o.call(a,t)},onBlur:t=>{var o;Q(!1),(o=a.onBlur)==null||o.call(a,t)}})),[st,at,ct,G,it,e,k,M,a,m==null?void 0:m.source,i]),tt=n.useMemo(()=>({slots:Array.from({length:e}).map((t,o)=>{var c;let d=j&&M!==null&&k!==null&&(M===k&&o===M||o>=M&&o<k),R=i[o]!==void 0?i[o]:null,p=i[0]!==void 0?null:(c=D==null?void 0:D[o])!=null?c:null;return{char:R,placeholderChar:p,isActive:d,hasFakeCaret:d&&R===null}}),isFocused:j,isHovering:!a.disabled&&ot}),[j,ot,e,k,M,a.disabled,i]),Ct=n.useMemo(()=>f?f(tt):n.createElement(jt.Provider,{value:tt},h),[h,tt,f]);return n.createElement(n.Fragment,null,T!==null&&n.createElement(\"noscript\",null,n.createElement(\"style\",null,T)),n.createElement(\"div\",{ref:K,\"data-input-otp-container\":!0,style:It,className:Z},Ct,n.createElement(\"div\",{style:{position:\"absolute\",inset:0,pointerEvents:\"none\"}},Mt)))});Lt.displayName=\"Input\";function $(r,s){try{r.insertRule(s)}catch(e){console.error(\"input-otp could not insert CSS rule:\",s)}}var Nt=`\n[data-input-otp] {\n --nojs-bg: white !important;\n --nojs-fg: black !important;\n\n background-color: var(--nojs-bg) !important;\n color: var(--nojs-fg) !important;\n caret-color: var(--nojs-fg) !important;\n letter-spacing: .25em !important;\n text-align: center !important;\n border: 1px solid var(--nojs-fg) !important;\n border-radius: 4px !important;\n width: 100% !important;\n}\n@media (prefers-color-scheme: dark) {\n [data-input-otp] {\n --nojs-bg: black !important;\n --nojs-fg: white !important;\n }\n}`;var Kt=\"^\\\\d+$\",Jt=\"^[a-zA-Z]+$\",Qt=\"^[a-zA-Z0-9]+$\";export{Lt as OTPInput,jt as OTPInputContext,Jt as REGEXP_ONLY_CHARS,Kt as REGEXP_ONLY_DIGITS,Qt as REGEXP_ONLY_DIGITS_AND_CHARS};\n//# sourceMappingURL=index.mjs.map"],"x_google_ignoreList":[0],"mappings":";;AAAA,IAAI,IAAG,OAAO,gBAAe,IAAG,OAAO,kBAAqB,IAAG,OAAO,2BAA8B,IAAE,OAAO,uBAA0B,IAAG,OAAO,UAAU,gBAAe,IAAG,OAAO,UAAU,sBAAyB,KAAI,GAAE,GAAE,MAAI,KAAK,IAAE,EAAG,GAAE,GAAE;CAAC,YAAW,CAAC;CAAE,cAAa,CAAC;CAAE,UAAS,CAAC;CAAE,OAAM;AAAC,CAAC,IAAE,EAAE,KAAG,GAAE,KAAI,GAAE,MAAI;CAAC,KAAI,IAAI,KAAK,AAAI,MAAE,CAAC,GAAG,EAAG,KAAK,GAAE,CAAC,KAAG,EAAG,GAAE,GAAE,EAAE,EAAE;CAAE,IAAG,GAAE,KAAI,IAAI,KAAK,EAAE,CAAC,GAAE,EAAG,KAAK,GAAE,CAAC,KAAG,EAAG,GAAE,GAAE,EAAE,EAAE;CAAE,OAAO;AAAC,GAAE,KAAI,GAAE,MAAI,EAAG,GAAE,EAAG,CAAC,CAAC,GAAM,KAAI,GAAE,MAAI;CAAC,IAAI,IAAE,CAAC;CAAE,KAAI,IAAI,KAAK,GAAE,EAAG,KAAK,GAAE,CAAC,KAAG,EAAE,QAAQ,CAAC,IAAE,MAAI,EAAE,KAAG,EAAE;CAAI,IAAG,KAAG,QAAM,GAAE,KAAI,IAAI,KAAK,EAAE,CAAC,GAAE,EAAE,QAAQ,CAAC,IAAE,KAAG,EAAG,KAAK,GAAE,CAAC,MAAI,EAAE,KAAG,EAAE;CAAI,OAAO;AAAC;AAA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C,UAAS;EAAW,OAAM;EAAE,eAAc;CAAM,EAAC,GAAE,CAAE,CAAC,CAAC;AAAC,CAAC;AAAE,EAAG,cAAY;AAAQ,SAAS,EAAE,GAAE,GAAE;CAAC,IAAG;EAAC,EAAE,WAAW,CAAC;CAAC,QAAS;EAAC,QAAQ,MAAM,wCAAuC,CAAC;CAAC;AAAC;AAAC,IAAI,IAAG"}
@@ -0,0 +1,39 @@
1
+ const e=require("../../../../../../../_virtual/_rolldown/runtime.cjs.js"),t=require("./constants.cjs.js"),n=require("../../../../../react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/component.cjs.js");require("../../../../../react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/index.cjs.js");const r=require("./utils.cjs.js");let i=require("react");i=e.__toESM(i);var a=n.styleSingleton(),o=`data-scroll-locked`,s=function(e,n,r,i){var a=e.left,s=e.top,c=e.right,l=e.gap;return r===void 0&&(r=`margin`),`
2
+ .${t.noScrollbarsClassName} {
3
+ overflow: hidden ${i};
4
+ padding-right: ${l}px ${i};
5
+ }
6
+ body[${o}] {
7
+ overflow: hidden ${i};
8
+ overscroll-behavior: contain;
9
+ ${[n&&`position: relative ${i};`,r===`margin`&&`
10
+ padding-left: ${a}px;
11
+ padding-top: ${s}px;
12
+ padding-right: ${c}px;
13
+ margin-left:0;
14
+ margin-top:0;
15
+ margin-right: ${l}px ${i};
16
+ `,r===`padding`&&`padding-right: ${l}px ${i};`].filter(Boolean).join(``)}
17
+ }
18
+
19
+ .${t.zeroRightClassName} {
20
+ right: ${l}px ${i};
21
+ }
22
+
23
+ .${t.fullWidthClassName} {
24
+ margin-right: ${l}px ${i};
25
+ }
26
+
27
+ .${t.zeroRightClassName} .${t.zeroRightClassName} {
28
+ right: 0 ${i};
29
+ }
30
+
31
+ .${t.fullWidthClassName} .${t.fullWidthClassName} {
32
+ margin-right: 0 ${i};
33
+ }
34
+
35
+ body[${o}] {
36
+ ${t.removedBarSizeVariable}: ${l}px;
37
+ }
38
+ `},c=function(){var e=parseInt(document.body.getAttribute(`data-scroll-locked`)||`0`,10);return isFinite(e)?e:0},l=function(){i.useEffect(function(){return document.body.setAttribute(o,(c()+1).toString()),function(){var e=c()-1;e<=0?document.body.removeAttribute(o):document.body.setAttribute(o,e.toString())}},[])},u=function(e){var t=e.noRelative,n=e.noImportant,o=e.gapMode,c=o===void 0?`margin`:o;l();var u=i.useMemo(function(){return r.getGapWidth(c)},[c]);return i.createElement(a,{styles:s(u,!t,c,n?``:`!important`)})};exports.RemoveScrollBar=u,exports.lockAttribute=o,exports.useLockAttribute=l;
39
+ //# sourceMappingURL=component.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"component.cjs.js","names":["styleSingleton","noScrollbarsClassName","zeroRightClassName","fullWidthClassName","removedBarSizeVariable","React","getGapWidth"],"sources":["../../../../../../../../../../node_modules/.bun/react-remove-scroll-bar@2.3.8+93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/component.js"],"sourcesContent":["import * as React from 'react';\nimport { styleSingleton } from 'react-style-singleton';\nimport { fullWidthClassName, zeroRightClassName, noScrollbarsClassName, removedBarSizeVariable } from './constants';\nimport { getGapWidth } from './utils';\nvar Style = styleSingleton();\nexport var lockAttribute = 'data-scroll-locked';\n// important tip - once we measure scrollBar width and remove them\n// we could not repeat this operation\n// thus we are using style-singleton - only the first \"yet correct\" style will be applied.\nvar getStyles = function (_a, allowRelative, gapMode, important) {\n var left = _a.left, top = _a.top, right = _a.right, gap = _a.gap;\n if (gapMode === void 0) { gapMode = 'margin'; }\n return \"\\n .\".concat(noScrollbarsClassName, \" {\\n overflow: hidden \").concat(important, \";\\n padding-right: \").concat(gap, \"px \").concat(important, \";\\n }\\n body[\").concat(lockAttribute, \"] {\\n overflow: hidden \").concat(important, \";\\n overscroll-behavior: contain;\\n \").concat([\n allowRelative && \"position: relative \".concat(important, \";\"),\n gapMode === 'margin' &&\n \"\\n padding-left: \".concat(left, \"px;\\n padding-top: \").concat(top, \"px;\\n padding-right: \").concat(right, \"px;\\n margin-left:0;\\n margin-top:0;\\n margin-right: \").concat(gap, \"px \").concat(important, \";\\n \"),\n gapMode === 'padding' && \"padding-right: \".concat(gap, \"px \").concat(important, \";\"),\n ]\n .filter(Boolean)\n .join(''), \"\\n }\\n \\n .\").concat(zeroRightClassName, \" {\\n right: \").concat(gap, \"px \").concat(important, \";\\n }\\n \\n .\").concat(fullWidthClassName, \" {\\n margin-right: \").concat(gap, \"px \").concat(important, \";\\n }\\n \\n .\").concat(zeroRightClassName, \" .\").concat(zeroRightClassName, \" {\\n right: 0 \").concat(important, \";\\n }\\n \\n .\").concat(fullWidthClassName, \" .\").concat(fullWidthClassName, \" {\\n margin-right: 0 \").concat(important, \";\\n }\\n \\n body[\").concat(lockAttribute, \"] {\\n \").concat(removedBarSizeVariable, \": \").concat(gap, \"px;\\n }\\n\");\n};\nvar getCurrentUseCounter = function () {\n var counter = parseInt(document.body.getAttribute(lockAttribute) || '0', 10);\n return isFinite(counter) ? counter : 0;\n};\nexport var useLockAttribute = function () {\n React.useEffect(function () {\n document.body.setAttribute(lockAttribute, (getCurrentUseCounter() + 1).toString());\n return function () {\n var newCounter = getCurrentUseCounter() - 1;\n if (newCounter <= 0) {\n document.body.removeAttribute(lockAttribute);\n }\n else {\n document.body.setAttribute(lockAttribute, newCounter.toString());\n }\n };\n }, []);\n};\n/**\n * Removes page scrollbar and blocks page scroll when mounted\n */\nexport var RemoveScrollBar = function (_a) {\n var noRelative = _a.noRelative, noImportant = _a.noImportant, _b = _a.gapMode, gapMode = _b === void 0 ? 'margin' : _b;\n useLockAttribute();\n /*\n gap will be measured on every component mount\n however it will be used only by the \"first\" invocation\n due to singleton nature of <Style\n */\n var gap = React.useMemo(function () { return getGapWidth(gapMode); }, [gapMode]);\n return React.createElement(Style, { styles: getStyles(gap, !noRelative, gapMode, !noImportant ? '!important' : '') });\n};\n"],"x_google_ignoreList":[0],"mappings":"8bAIA,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,OAAOC,EAAAA,YAAY,CAAO,CAAG,EAAG,CAAC,CAAO,CAAC,EAC/E,OAAOD,EAAM,cAAc,EAAO,CAAE,OAAQ,EAAU,EAAK,CAAC,EAAY,EAAU,EAA6B,GAAf,YAAiB,CAAE,CAAC,CACxH"}
@@ -0,0 +1,72 @@
1
+ import { fullWidthClassName as e, noScrollbarsClassName as t, removedBarSizeVariable as n, zeroRightClassName as r } from "./constants.es.js";
2
+ import { styleSingleton as i } from "../../../../../react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/component.es.js";
3
+ import "../../../../../react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/index.es.js";
4
+ import { getGapWidth as a } from "./utils.es.js";
5
+ import * as o from "react";
6
+ //#region ../../node_modules/.bun/react-remove-scroll-bar@2.3.8+93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/component.js
7
+ var s = i(), c = "data-scroll-locked", l = function(i, a, o, s) {
8
+ var l = i.left, u = i.top, d = i.right, f = i.gap;
9
+ return o === void 0 && (o = "margin"), `
10
+ .${t} {
11
+ overflow: hidden ${s};
12
+ padding-right: ${f}px ${s};
13
+ }
14
+ body[${c}] {
15
+ overflow: hidden ${s};
16
+ overscroll-behavior: contain;
17
+ ${[
18
+ a && `position: relative ${s};`,
19
+ o === "margin" && `
20
+ padding-left: ${l}px;
21
+ padding-top: ${u}px;
22
+ padding-right: ${d}px;
23
+ margin-left:0;
24
+ margin-top:0;
25
+ margin-right: ${f}px ${s};
26
+ `,
27
+ o === "padding" && `padding-right: ${f}px ${s};`
28
+ ].filter(Boolean).join("")}
29
+ }
30
+
31
+ .${r} {
32
+ right: ${f}px ${s};
33
+ }
34
+
35
+ .${e} {
36
+ margin-right: ${f}px ${s};
37
+ }
38
+
39
+ .${r} .${r} {
40
+ right: 0 ${s};
41
+ }
42
+
43
+ .${e} .${e} {
44
+ margin-right: 0 ${s};
45
+ }
46
+
47
+ body[${c}] {
48
+ ${n}: ${f}px;
49
+ }
50
+ `;
51
+ }, u = function() {
52
+ var e = parseInt(document.body.getAttribute("data-scroll-locked") || "0", 10);
53
+ return isFinite(e) ? e : 0;
54
+ }, d = function() {
55
+ o.useEffect(function() {
56
+ return document.body.setAttribute(c, (u() + 1).toString()), function() {
57
+ var e = u() - 1;
58
+ e <= 0 ? document.body.removeAttribute(c) : document.body.setAttribute(c, e.toString());
59
+ };
60
+ }, []);
61
+ }, f = function(e) {
62
+ var t = e.noRelative, n = e.noImportant, r = e.gapMode, i = r === void 0 ? "margin" : r;
63
+ d();
64
+ var c = o.useMemo(function() {
65
+ return a(i);
66
+ }, [i]);
67
+ return o.createElement(s, { styles: l(c, !t, i, n ? "" : "!important") });
68
+ };
69
+ //#endregion
70
+ export { f as RemoveScrollBar, c as lockAttribute, d as useLockAttribute };
71
+
72
+ //# sourceMappingURL=component.es.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"component.es.js","names":[],"sources":["../../../../../../../../../../node_modules/.bun/react-remove-scroll-bar@2.3.8+93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/component.js"],"sourcesContent":["import * as React from 'react';\nimport { styleSingleton } from 'react-style-singleton';\nimport { fullWidthClassName, zeroRightClassName, noScrollbarsClassName, removedBarSizeVariable } from './constants';\nimport { getGapWidth } from './utils';\nvar Style = styleSingleton();\nexport var lockAttribute = 'data-scroll-locked';\n// important tip - once we measure scrollBar width and remove them\n// we could not repeat this operation\n// thus we are using style-singleton - only the first \"yet correct\" style will be applied.\nvar getStyles = function (_a, allowRelative, gapMode, important) {\n var left = _a.left, top = _a.top, right = _a.right, gap = _a.gap;\n if (gapMode === void 0) { gapMode = 'margin'; }\n return \"\\n .\".concat(noScrollbarsClassName, \" {\\n overflow: hidden \").concat(important, \";\\n padding-right: \").concat(gap, \"px \").concat(important, \";\\n }\\n body[\").concat(lockAttribute, \"] {\\n overflow: hidden \").concat(important, \";\\n overscroll-behavior: contain;\\n \").concat([\n allowRelative && \"position: relative \".concat(important, \";\"),\n gapMode === 'margin' &&\n \"\\n padding-left: \".concat(left, \"px;\\n padding-top: \").concat(top, \"px;\\n padding-right: \").concat(right, \"px;\\n margin-left:0;\\n margin-top:0;\\n margin-right: \").concat(gap, \"px \").concat(important, \";\\n \"),\n gapMode === 'padding' && \"padding-right: \".concat(gap, \"px \").concat(important, \";\"),\n ]\n .filter(Boolean)\n .join(''), \"\\n }\\n \\n .\").concat(zeroRightClassName, \" {\\n right: \").concat(gap, \"px \").concat(important, \";\\n }\\n \\n .\").concat(fullWidthClassName, \" {\\n margin-right: \").concat(gap, \"px \").concat(important, \";\\n }\\n \\n .\").concat(zeroRightClassName, \" .\").concat(zeroRightClassName, \" {\\n right: 0 \").concat(important, \";\\n }\\n \\n .\").concat(fullWidthClassName, \" .\").concat(fullWidthClassName, \" {\\n margin-right: 0 \").concat(important, \";\\n }\\n \\n body[\").concat(lockAttribute, \"] {\\n \").concat(removedBarSizeVariable, \": \").concat(gap, \"px;\\n }\\n\");\n};\nvar getCurrentUseCounter = function () {\n var counter = parseInt(document.body.getAttribute(lockAttribute) || '0', 10);\n return isFinite(counter) ? counter : 0;\n};\nexport var useLockAttribute = function () {\n React.useEffect(function () {\n document.body.setAttribute(lockAttribute, (getCurrentUseCounter() + 1).toString());\n return function () {\n var newCounter = getCurrentUseCounter() - 1;\n if (newCounter <= 0) {\n document.body.removeAttribute(lockAttribute);\n }\n else {\n document.body.setAttribute(lockAttribute, newCounter.toString());\n }\n };\n }, []);\n};\n/**\n * Removes page scrollbar and blocks page scroll when mounted\n */\nexport var RemoveScrollBar = function (_a) {\n var noRelative = _a.noRelative, noImportant = _a.noImportant, _b = _a.gapMode, gapMode = _b === void 0 ? 'margin' : _b;\n useLockAttribute();\n /*\n gap will be measured on every component mount\n however it will be used only by the \"first\" invocation\n due to singleton nature of <Style\n */\n var gap = React.useMemo(function () { return getGapWidth(gapMode); }, [gapMode]);\n return React.createElement(Style, { styles: getStyles(gap, !noRelative, gap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AO,EAAY,CAAO;CAAG,GAAG,CAAC,CAAO,CAAC;CAC/E,OAAO,EAAM,cAAc,GAAO,EAAE,QAAQ,EAAU,GAAK,CAAC,GAAY,GAAU,IAA6B,KAAf,YAAiB,EAAE,CAAC;AACxH"}
@@ -0,0 +1,2 @@
1
+ var e=`right-scroll-bar-position`,t=`width-before-scroll-bar`,n=`with-scroll-bars-hidden`,r=`--removed-body-scroll-bar-size`;exports.fullWidthClassName=t,exports.noScrollbarsClassName=n,exports.removedBarSizeVariable=r,exports.zeroRightClassName=e;
2
+ //# sourceMappingURL=constants.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.cjs.js","names":[],"sources":["../../../../../../../../../../node_modules/.bun/react-remove-scroll-bar@2.3.8+93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/constants.js"],"sourcesContent":["export var zeroRightClassName = 'right-scroll-bar-position';\nexport var fullWidthClassName = 'width-before-scroll-bar';\nexport var noScrollbarsClassName = 'with-scroll-bars-hidden';\n/**\n * Name of a CSS variable containing the amount of \"hidden\" scrollbar\n * ! might be undefined ! use will fallback!\n */\nexport var removedBarSizeVariable = '--removed-body-scroll-bar-size';\n"],"x_google_ignoreList":[0],"mappings":"AAAA,IAAW,EAAqB,4BACrB,EAAqB,0BACrB,EAAwB,0BAKxB,EAAyB"}
@@ -0,0 +1,6 @@
1
+ //#region ../../node_modules/.bun/react-remove-scroll-bar@2.3.8+93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/constants.js
2
+ var e = "right-scroll-bar-position", t = "width-before-scroll-bar", n = "with-scroll-bars-hidden", r = "--removed-body-scroll-bar-size";
3
+ //#endregion
4
+ export { t as fullWidthClassName, n as noScrollbarsClassName, r as removedBarSizeVariable, e as zeroRightClassName };
5
+
6
+ //# sourceMappingURL=constants.es.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.es.js","names":[],"sources":["../../../../../../../../../../node_modules/.bun/react-remove-scroll-bar@2.3.8+93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/constants.js"],"sourcesContent":["export var zeroRightClassName = 'right-scroll-bar-position';\nexport var fullWidthClassName = 'width-before-scroll-bar';\nexport var noScrollbarsClassName = 'with-scroll-bars-hidden';\n/**\n * Name of a CSS variable containing the amount of \"hidden\" scrollbar\n * ! might be undefined ! use will fallback!\n */\nexport var removedBarSizeVariable = '--removed-body-scroll-bar-size';\n"],"x_google_ignoreList":[0],"mappings":";AAAA,IAAW,IAAqB,6BACrB,IAAqB,2BACrB,IAAwB,2BAKxB,IAAyB"}
@@ -0,0 +1 @@
1
+ require("./constants.cjs.js"),require("./utils.cjs.js");const e=require("./component.cjs.js");exports.RemoveScrollBar=e.RemoveScrollBar;
@@ -0,0 +1,4 @@
1
+ import "./constants.es.js";
2
+ import "./utils.es.js";
3
+ import { RemoveScrollBar as e } from "./component.es.js";
4
+ export { e as RemoveScrollBar };
@@ -0,0 +1,2 @@
1
+ var e={left:0,top:0,right:0,gap:0},t=function(e){return parseInt(e||``,10)||0},n=function(e){var n=window.getComputedStyle(document.body),r=n[e===`padding`?`paddingLeft`:`marginLeft`],i=n[e===`padding`?`paddingTop`:`marginTop`],a=n[e===`padding`?`paddingRight`:`marginRight`];return[t(r),t(i),t(a)]},r=function(t){if(t===void 0&&(t=`margin`),typeof window>`u`)return e;var r=n(t),i=document.documentElement.clientWidth,a=window.innerWidth;return{left:r[0],top:r[1],right:r[2],gap:Math.max(0,a-i+r[2]-r[0])}};exports.getGapWidth=r,exports.zeroGap=e;
2
+ //# sourceMappingURL=utils.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.cjs.js","names":[],"sources":["../../../../../../../../../../node_modules/.bun/react-remove-scroll-bar@2.3.8+93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/utils.js"],"sourcesContent":["export var zeroGap = {\n left: 0,\n top: 0,\n right: 0,\n gap: 0,\n};\nvar parse = function (x) { return parseInt(x || '', 10) || 0; };\nvar getOffset = function (gapMode) {\n var cs = window.getComputedStyle(document.body);\n var left = cs[gapMode === 'padding' ? 'paddingLeft' : 'marginLeft'];\n var top = cs[gapMode === 'padding' ? 'paddingTop' : 'marginTop'];\n var right = cs[gapMode === 'padding' ? 'paddingRight' : 'marginRight'];\n return [parse(left), parse(top), parse(right)];\n};\nexport var getGapWidth = function (gapMode) {\n if (gapMode === void 0) { gapMode = 'margin'; }\n if (typeof window === 'undefined') {\n return zeroGap;\n }\n var offsets = getOffset(gapMode);\n var documentWidth = document.documentElement.clientWidth;\n var windowWidth = window.innerWidth;\n return {\n left: offsets[0],\n top: offsets[1],\n right: offsets[2],\n gap: Math.max(0, windowWidth - documentWidth + offsets[2] - offsets[0]),\n };\n};\n"],"x_google_ignoreList":[0],"mappings":"AAAA,IAAW,EAAU,CACjB,KAAM,EACN,IAAK,EACL,MAAO,EACP,IAAK,CACT,EACI,EAAQ,SAAU,EAAG,CAAE,OAAO,SAAS,GAAK,GAAI,EAAE,GAAK,CAAG,EAC1D,EAAY,SAAU,EAAS,CAC/B,IAAI,EAAK,OAAO,iBAAiB,SAAS,IAAI,EAC1C,EAAO,EAAG,IAAY,UAAY,cAAgB,cAClD,EAAM,EAAG,IAAY,UAAY,aAAe,aAChD,EAAQ,EAAG,IAAY,UAAY,eAAiB,eACxD,MAAO,CAAC,EAAM,CAAI,EAAG,EAAM,CAAG,EAAG,EAAM,CAAK,CAAC,CACjD,EACW,EAAc,SAAU,EAAS,CAExC,GADI,IAAY,IAAK,KAAK,EAAU,UAChC,OAAO,OAAW,IAClB,OAAO,EAEX,IAAI,EAAU,EAAU,CAAO,EAC3B,EAAgB,SAAS,gBAAgB,YACzC,EAAc,OAAO,WACzB,MAAO,CACH,KAAM,EAAQ,GACd,IAAK,EAAQ,GACb,MAAO,EAAQ,GACf,IAAK,KAAK,IAAI,EAAG,EAAc,EAAgB,EAAQ,GAAK,EAAQ,EAAE,CAC1E,CACJ"}
@@ -0,0 +1,29 @@
1
+ //#region ../../node_modules/.bun/react-remove-scroll-bar@2.3.8+93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/utils.js
2
+ var e = {
3
+ left: 0,
4
+ top: 0,
5
+ right: 0,
6
+ gap: 0
7
+ }, t = function(e) {
8
+ return parseInt(e || "", 10) || 0;
9
+ }, n = function(e) {
10
+ var n = window.getComputedStyle(document.body), r = n[e === "padding" ? "paddingLeft" : "marginLeft"], i = n[e === "padding" ? "paddingTop" : "marginTop"], a = n[e === "padding" ? "paddingRight" : "marginRight"];
11
+ return [
12
+ t(r),
13
+ t(i),
14
+ t(a)
15
+ ];
16
+ }, r = function(t) {
17
+ if (t === void 0 && (t = "margin"), typeof window > "u") return e;
18
+ var r = n(t), i = document.documentElement.clientWidth, a = window.innerWidth;
19
+ return {
20
+ left: r[0],
21
+ top: r[1],
22
+ right: r[2],
23
+ gap: Math.max(0, a - i + r[2] - r[0])
24
+ };
25
+ };
26
+ //#endregion
27
+ export { r as getGapWidth, e as zeroGap };
28
+
29
+ //# sourceMappingURL=utils.es.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.es.js","names":[],"sources":["../../../../../../../../../../node_modules/.bun/react-remove-scroll-bar@2.3.8+93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/utils.js"],"sourcesContent":["export var zeroGap = {\n left: 0,\n top: 0,\n right: 0,\n gap: 0,\n};\nvar parse = function (x) { return parseInt(x || '', 10) || 0; };\nvar getOffset = function (gapMode) {\n var cs = window.getComputedStyle(document.body);\n var left = cs[gapMode === 'padding' ? 'paddingLeft' : 'marginLeft'];\n var top = cs[gapMode === 'padding' ? 'paddingTop' : 'marginTop'];\n var right = cs[gapMode === 'padding' ? 'paddingRight' : 'marginRight'];\n return [parse(left), parse(top), parse(right)];\n};\nexport var getGapWidth = function (gapMode) {\n if (gapMode === void 0) { gapMode = 'margin'; }\n if (typeof window === 'undefined') {\n return zeroGap;\n }\n var offsets = getOffset(gapMode);\n var documentWidth = document.documentElement.clientWidth;\n var windowWidth = window.innerWidth;\n return {\n left: offsets[0],\n top: offsets[1],\n right: offsets[2],\n gap: Math.max(0, windowWidth - documentWidth + offsets[2] - offsets[0]),\n };\n};\n"],"x_google_ignoreList":[0],"mappings":";AAAA,IAAW,IAAU;CACjB,MAAM;CACN,KAAK;CACL,OAAO;CACP,KAAK;AACT,GACI,IAAQ,SAAU,GAAG;CAAE,OAAO,SAAS,KAAK,IAAI,EAAE,KAAK;AAAG,GAC1D,IAAY,SAAU,GAAS;CAC/B,IAAI,IAAK,OAAO,iBAAiB,SAAS,IAAI,GAC1C,IAAO,EAAG,MAAY,YAAY,gBAAgB,eAClD,IAAM,EAAG,MAAY,YAAY,eAAe,cAChD,IAAQ,EAAG,MAAY,YAAY,iBAAiB;CACxD,OAAO;EAAC,EAAM,CAAI;EAAG,EAAM,CAAG;EAAG,EAAM,CAAK;CAAC;AACjD,GACW,IAAc,SAAU,GAAS;CAExC,IADI,MAAY,KAAK,MAAK,IAAU,WAChC,OAAO,SAAW,KAClB,OAAO;CAEX,IAAI,IAAU,EAAU,CAAO,GAC3B,IAAgB,SAAS,gBAAgB,aACzC,IAAc,OAAO;CACzB,OAAO;EACH,MAAM,EAAQ;EACd,KAAK,EAAQ;EACb,OAAO,EAAQ;EACf,KAAK,KAAK,IAAI,GAAG,IAAc,IAAgB,EAAQ,KAAK,EAAQ,EAAE;CAC1E;AACJ"}
@@ -0,0 +1,2 @@
1
+ const e=require("../../../../../../../_virtual/_rolldown/runtime.cjs.js"),t=require("../../../../../tslib@2.8.1/node_modules/tslib/tslib.es6.cjs.js"),n=require("./UI.cjs.js"),r=require("./sidecar.cjs.js");let i=require("react");i=e.__toESM(i);var a=i.forwardRef(function(e,a){return i.createElement(n.RemoveScroll,t.__assign({},e,{ref:a,sideCar:r.default}))});a.classNames=n.RemoveScroll.classNames,exports.default=a;
2
+ //# sourceMappingURL=Combination.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Combination.cjs.js","names":["React","RemoveScroll","__assign","SideCar"],"sources":["../../../../../../../../../../node_modules/.bun/react-remove-scroll@2.7.2+93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/Combination.js"],"sourcesContent":["import { __assign } from \"tslib\";\nimport * as React from 'react';\nimport { RemoveScroll } from './UI';\nimport SideCar from './sidecar';\nvar ReactRemoveScroll = React.forwardRef(function (props, ref) { return (React.createElement(RemoveScroll, __assign({}, props, { ref: ref, sideCar: SideCar }))); });\nReactRemoveScroll.classNames = RemoveScroll.classNames;\nexport default ReactRemoveScroll;\n"],"x_google_ignoreList":[0],"mappings":"mPAIA,IAAI,EAAoBA,EAAM,WAAW,SAAU,EAAO,EAAK,CAAE,OAAQA,EAAM,cAAcC,EAAAA,aAAcC,EAAAA,SAAS,CAAC,EAAG,EAAO,CAAO,MAAK,QAASC,EAAAA,OAAQ,CAAC,CAAC,CAAI,CAAC,EACnK,EAAkB,WAAaF,EAAAA,aAAa"}
@@ -0,0 +1,16 @@
1
+ import { __assign as e } from "../../../../../tslib@2.8.1/node_modules/tslib/tslib.es6.es.js";
2
+ import { RemoveScroll as t } from "./UI.es.js";
3
+ import n from "./sidecar.es.js";
4
+ import * as r from "react";
5
+ //#region ../../node_modules/.bun/react-remove-scroll@2.7.2+93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/Combination.js
6
+ var i = r.forwardRef(function(i, a) {
7
+ return r.createElement(t, e({}, i, {
8
+ ref: a,
9
+ sideCar: n
10
+ }));
11
+ });
12
+ i.classNames = t.classNames;
13
+ //#endregion
14
+ export { i as default };
15
+
16
+ //# sourceMappingURL=Combination.es.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Combination.es.js","names":["SideCar"],"sources":["../../../../../../../../../../node_modules/.bun/react-remove-scroll@2.7.2+93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/Combination.js"],"sourcesContent":["import { __assign } from \"tslib\";\nimport * as React from 'react';\nimport { RemoveScroll } from './UI';\nimport SideCar from './sidecar';\nvar ReactRemoveScroll = React.forwardRef(function (props, ref) { return (React.createElement(RemoveScroll, __assign({}, props, { ref: ref, sideCar: SideCar }))); });\nReactRemoveScroll.classNames = RemoveScroll.classNames;\nexport default ReactRemoveScroll;\n"],"x_google_ignoreList":[0],"mappings":";;;;;AAIA,IAAI,IAAoB,EAAM,WAAW,SAAU,GAAO,GAAK;CAAE,OAAQ,EAAM,cAAc,GAAc,EAAS,CAAC,GAAG,GAAO;EAAO;EAAK,SAASA;CAAQ,CAAC,CAAC;AAAI,CAAC;AACnK,EAAkB,aAAa,EAAa"}
@@ -0,0 +1,5 @@
1
+ const e=require("../../../../../../../_virtual/_rolldown/runtime.cjs.js"),t=require("../../../../../tslib@2.8.1/node_modules/tslib/tslib.es6.cjs.js"),n=require("../../../../../react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/component.cjs.js");require("../../../../../react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/index.cjs.js");const r=require("../../../../../react-remove-scroll-bar@2.3.8_93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/component.cjs.js");require("../../../../../react-remove-scroll-bar@2.3.8_93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/index.cjs.js");const i=require("./aggresiveCapture.cjs.js"),a=require("./handleScroll.cjs.js");let o=require("react");o=e.__toESM(o);var s=function(e){return`changedTouches`in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},c=function(e){return[e.deltaX,e.deltaY]},l=function(e){return e&&`current`in e?e.current:e},u=function(e,t){return e[0]===t[0]&&e[1]===t[1]},d=function(e){return`
2
+ .block-interactivity-${e} {pointer-events: none;}
3
+ .allow-interactivity-${e} {pointer-events: all;}
4
+ `},f=0,p=[];function m(e){var m=o.useRef([]),g=o.useRef([0,0]),_=o.useRef(),v=o.useState(f++)[0],y=o.useState(n.styleSingleton)[0],b=o.useRef(e);o.useEffect(function(){b.current=e},[e]),o.useEffect(function(){if(e.inert){document.body.classList.add(`block-interactivity-${v}`);var n=t.__spreadArray([e.lockRef.current],(e.shards||[]).map(l),!0).filter(Boolean);return n.forEach(function(e){return e.classList.add(`allow-interactivity-${v}`)}),function(){document.body.classList.remove(`block-interactivity-${v}`),n.forEach(function(e){return e.classList.remove(`allow-interactivity-${v}`)})}}},[e.inert,e.lockRef.current,e.shards]);var x=o.useCallback(function(e,t){if(`touches`in e&&e.touches.length===2||e.type===`wheel`&&e.ctrlKey)return!b.current.allowPinchZoom;var n=s(e),r=g.current,i=`deltaX`in e?e.deltaX:r[0]-n[0],o=`deltaY`in e?e.deltaY:r[1]-n[1],c,l=e.target,u=Math.abs(i)>Math.abs(o)?`h`:`v`;if(`touches`in e&&u===`h`&&l.type===`range`)return!1;var d=window.getSelection(),f=d&&d.anchorNode;if(f&&(f===l||f.contains(l)))return!1;var p=a.locationCouldBeScrolled(u,l);if(!p)return!0;if(p?c=u:(c=u===`v`?`h`:`v`,p=a.locationCouldBeScrolled(u,l)),!p)return!1;if(!_.current&&`changedTouches`in e&&(i||o)&&(_.current=c),!c)return!0;var m=_.current||c;return a.handleScroll(m,t,e,m===`h`?i:o,!0)},[]),S=o.useCallback(function(e){var t=e;if(!(!p.length||p[p.length-1]!==y)){var n=`deltaY`in t?c(t):s(t),r=m.current.filter(function(e){return e.name===t.type&&(e.target===t.target||t.target===e.shadowParent)&&u(e.delta,n)})[0];if(r&&r.should){t.cancelable&&t.preventDefault();return}if(!r){var i=(b.current.shards||[]).map(l).filter(Boolean).filter(function(e){return e.contains(t.target)});(i.length>0?x(t,i[0]):!b.current.noIsolation)&&t.cancelable&&t.preventDefault()}}},[]),C=o.useCallback(function(e,t,n,r){var i={name:e,delta:t,target:n,should:r,shadowParent:h(n)};m.current.push(i),setTimeout(function(){m.current=m.current.filter(function(e){return e!==i})},1)},[]),w=o.useCallback(function(e){g.current=s(e),_.current=void 0},[]),T=o.useCallback(function(t){C(t.type,c(t),t.target,x(t,e.lockRef.current))},[]),E=o.useCallback(function(t){C(t.type,s(t),t.target,x(t,e.lockRef.current))},[]);o.useEffect(function(){return p.push(y),e.setCallbacks({onScrollCapture:T,onWheelCapture:T,onTouchMoveCapture:E}),document.addEventListener(`wheel`,S,i.nonPassive),document.addEventListener(`touchmove`,S,i.nonPassive),document.addEventListener(`touchstart`,w,i.nonPassive),function(){p=p.filter(function(e){return e!==y}),document.removeEventListener(`wheel`,S,i.nonPassive),document.removeEventListener(`touchmove`,S,i.nonPassive),document.removeEventListener(`touchstart`,w,i.nonPassive)}},[]);var D=e.removeScrollBar,O=e.inert;return o.createElement(o.Fragment,null,O?o.createElement(y,{styles:d(v)}):null,D?o.createElement(r.RemoveScrollBar,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function h(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}exports.RemoveScrollSideCar=m,exports.getDeltaXY=c,exports.getTouchXY=s;
5
+ //# sourceMappingURL=SideEffect.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SideEffect.cjs.js","names":["React","styleSingleton","__spreadArray","locationCouldBeScrolled","handleScroll","nonPassive","RemoveScrollBar"],"sources":["../../../../../../../../../../node_modules/.bun/react-remove-scroll@2.7.2+93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/SideEffect.js"],"sourcesContent":["import { __spreadArray } from \"tslib\";\nimport * as React from 'react';\nimport { RemoveScrollBar } from 'react-remove-scroll-bar';\nimport { styleSingleton } from 'react-style-singleton';\nimport { nonPassive } from './aggresiveCapture';\nimport { handleScroll, locationCouldBeScrolled } from './handleScroll';\nexport var getTouchXY = function (event) {\n return 'changedTouches' in event ? [event.changedTouches[0].clientX, event.changedTouches[0].clientY] : [0, 0];\n};\nexport var getDeltaXY = function (event) { return [event.deltaX, event.deltaY]; };\nvar extractRef = function (ref) {\n return ref && 'current' in ref ? ref.current : ref;\n};\nvar deltaCompare = function (x, y) { return x[0] === y[0] && x[1] === y[1]; };\nvar generateStyle = function (id) { return \"\\n .block-interactivity-\".concat(id, \" {pointer-events: none;}\\n .allow-interactivity-\").concat(id, \" {pointer-events: all;}\\n\"); };\nvar idCounter = 0;\nvar lockStack = [];\nexport function RemoveScrollSideCar(props) {\n var shouldPreventQueue = React.useRef([]);\n var touchStartRef = React.useRef([0, 0]);\n var activeAxis = React.useRef();\n var id = React.useState(idCounter++)[0];\n var Style = React.useState(styleSingleton)[0];\n var lastProps = React.useRef(props);\n React.useEffect(function () {\n lastProps.current = props;\n }, [props]);\n React.useEffect(function () {\n if (props.inert) {\n document.body.classList.add(\"block-interactivity-\".concat(id));\n var allow_1 = __spreadArray([props.lockRef.current], (props.shards || []).map(extractRef), true).filter(Boolean);\n allow_1.forEach(function (el) { return el.classList.add(\"allow-interactivity-\".concat(id)); });\n return function () {\n document.body.classList.remove(\"block-interactivity-\".concat(id));\n allow_1.forEach(function (el) { return el.classList.remove(\"allow-interactivity-\".concat(id)); });\n };\n }\n return;\n }, [props.inert, props.lockRef.current, props.shards]);\n var shouldCancelEvent = React.useCallback(function (event, parent) {\n if (('touches' in event && event.touches.length === 2) || (event.type === 'wheel' && event.ctrlKey)) {\n return !lastProps.current.allowPinchZoom;\n }\n var touch = getTouchXY(event);\n var touchStart = touchStartRef.current;\n var deltaX = 'deltaX' in event ? event.deltaX : touchStart[0] - touch[0];\n var deltaY = 'deltaY' in event ? event.deltaY : touchStart[1] - touch[1];\n var currentAxis;\n var target = event.target;\n var moveDirection = Math.abs(deltaX) > Math.abs(deltaY) ? 'h' : 'v';\n // allow horizontal touch move on Range inputs. They will not cause any scroll\n if ('touches' in event && moveDirection === 'h' && target.type === 'range') {\n return false;\n }\n // allow drag selection (iOS); check if selection's anchorNode is the same as target or contains target\n var selection = window.getSelection();\n var anchorNode = selection && selection.anchorNode;\n var isTouchingSelection = anchorNode ? anchorNode === target || anchorNode.contains(target) : false;\n if (isTouchingSelection) {\n return false;\n }\n var canBeScrolledInMainDirection = locationCouldBeScrolled(moveDirection, target);\n if (!canBeScrolledInMainDirection) {\n return true;\n }\n if (canBeScrolledInMainDirection) {\n currentAxis = moveDirection;\n }\n else {\n currentAxis = moveDirection === 'v' ? 'h' : 'v';\n canBeScrolledInMainDirection = locationCouldBeScrolled(moveDirection, target);\n // other axis might be not scrollable\n }\n if (!canBeScrolledInMainDirection) {\n return false;\n }\n if (!activeAxis.current && 'changedTouches' in event && (deltaX || deltaY)) {\n activeAxis.current = currentAxis;\n }\n if (!currentAxis) {\n return true;\n }\n var cancelingAxis = activeAxis.current || currentAxis;\n return handleScroll(cancelingAxis, parent, event, cancelingAxis === 'h' ? deltaX : deltaY, true);\n }, []);\n var shouldPrevent = React.useCallback(function (_event) {\n var event = _event;\n if (!lockStack.length || lockStack[lockStack.length - 1] !== Style) {\n // not the last active\n return;\n }\n var delta = 'deltaY' in event ? getDeltaXY(event) : getTouchXY(event);\n var sourceEvent = shouldPreventQueue.current.filter(function (e) { return e.name === event.type && (e.target === event.target || event.target === e.shadowParent) && deltaCompare(e.delta, delta); })[0];\n // self event, and should be canceled\n if (sourceEvent && sourceEvent.should) {\n if (event.cancelable) {\n event.preventDefault();\n }\n return;\n }\n // outside or shard event\n if (!sourceEvent) {\n var shardNodes = (lastProps.current.shards || [])\n .map(extractRef)\n .filter(Boolean)\n .filter(function (node) { return node.contains(event.target); });\n var shouldStop = shardNodes.length > 0 ? shouldCancelEvent(event, shardNodes[0]) : !lastProps.current.noIsolation;\n if (shouldStop) {\n if (event.cancelable) {\n event.preventDefault();\n }\n }\n }\n }, []);\n var shouldCancel = React.useCallback(function (name, delta, target, should) {\n var event = { name: name, delta: delta, target: target, should: should, shadowParent: getOutermostShadowParent(target) };\n shouldPreventQueue.current.push(event);\n setTimeout(function () {\n shouldPreventQueue.current = shouldPreventQueue.current.filter(function (e) { return e !== event; });\n }, 1);\n }, []);\n var scrollTouchStart = React.useCallback(function (event) {\n touchStartRef.current = getTouchXY(event);\n activeAxis.current = undefined;\n }, []);\n var scrollWheel = React.useCallback(function (event) {\n shouldCancel(event.type, getDeltaXY(event), event.target, shouldCancelEvent(event, props.lockRef.current));\n }, []);\n var scrollTouchMove = React.useCallback(function (event) {\n shouldCancel(event.type, getTouchXY(event), event.target, shouldCancelEvent(event, props.lockRef.current));\n }, []);\n React.useEffect(function () {\n lockStack.push(Style);\n props.setCallbacks({\n onScrollCapture: scrollWheel,\n onWheelCapture: scrollWheel,\n onTouchMoveCapture: scrollTouchMove,\n });\n document.addEventListener('wheel', shouldPrevent, nonPassive);\n document.addEventListener('touchmove', shouldPrevent, nonPassive);\n document.addEventListener('touchstart', scrollTouchStart, nonPassive);\n return function () {\n lockStack = lockStack.filter(function (inst) { return inst !== Style; });\n document.removeEventListener('wheel', shouldPrevent, nonPassive);\n document.removeEventListener('touchmove', shouldPrevent, nonPassive);\n document.removeEventListener('touchstart', scrollTouchStart, nonPassive);\n };\n }, []);\n var removeScrollBar = props.removeScrollBar, inert = props.inert;\n return (React.createElement(React.Fragment, null,\n inert ? React.createElement(Style, { styles: generateStyle(id) }) : null,\n removeScrollBar ? React.createElement(RemoveScrollBar, { noRelative: props.noRelative, gapMode: props.gapMode }) : null));\n}\nfunction getOutermostShadowParent(node) {\n var shadowParent = null;\n while (node !== null) {\n if (node instanceof ShadowRoot) {\n shadowParent = node.host;\n node = node.host;\n }\n node = node.parentNode;\n }\n return shadowParent;\n}\n"],"x_google_ignoreList":[0],"mappings":"kzBAMA,IAAW,EAAa,SAAU,EAAO,CACrC,MAAO,mBAAoB,EAAQ,CAAC,EAAM,eAAe,EAAE,CAAC,QAAS,EAAM,eAAe,EAAE,CAAC,OAAO,EAAI,CAAC,EAAG,CAAC,CACjH,EACW,EAAa,SAAU,EAAO,CAAE,MAAO,CAAC,EAAM,OAAQ,EAAM,MAAM,CAAG,EAC5E,EAAa,SAAU,EAAK,CAC5B,OAAO,GAAO,YAAa,EAAM,EAAI,QAAU,CACnD,EACI,EAAe,SAAU,EAAG,EAAG,CAAE,OAAO,EAAE,KAAO,EAAE,IAA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,EAC5D,SAAS,iBAAiB,YAAa,EAAeA,EAAAA,UAAU,EAChE,SAAS,iBAAiB,aAAc,EAAkBA,EAAAA,UAAU,EAC7D,UAAY,CACf,EAAY,EAAU,OAAO,SAAU,EAAM,CAAE,OAAO,IAAS,CAAO,CAAC,EACvE,SAAS,oBAAoB,QAAS,EAAeA,EAAAA,UAAU,EAC/D,SAAS,oBAAoB,YAAa,EAAeA,EAAAA,UAAU,EACnE,SAAS,oBAAoB,aAAc,EAAkBA,EAAAA,UAAU,CAC3E,CACJ,EAAG,CAAC,CAAC,EACL,IAAI,EAAkB,EAAM,gBAAiB,EAAQ,EAAM,MAC3D,OAAQL,EAAM,cAAcA,EAAM,SAAU,KACxC,EAAQA,EAAM,cAAc,EAAO,CAAE,OAAQ,EAAc,CAAE,CAAE,CAAC,EAAI,KACpE,EAAkBA,EAAM,cAAcM,EAAAA,gBAAiB,CAAE,WAAY,EAAM,WAAY,QAAS,EAAM,OAAQ,CAAC,EAAI,IAAI,CAC/H,CACA,SAAS,EAAyB,EAAM,CAEpC,IADA,IAAI,EAAe,KACZ,IAAS,MACR,aAAgB,aAChB,EAAe,EAAK,KACpB,EAAO,EAAK,MAEhB,EAAO,EAAK,WAEhB,OAAO,CACX"}
@@ -0,0 +1,118 @@
1
+ import { __spreadArray as e } from "../../../../../tslib@2.8.1/node_modules/tslib/tslib.es6.es.js";
2
+ import { styleSingleton as t } from "../../../../../react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/component.es.js";
3
+ import "../../../../../react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/index.es.js";
4
+ import { RemoveScrollBar as n } from "../../../../../react-remove-scroll-bar@2.3.8_93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/component.es.js";
5
+ import "../../../../../react-remove-scroll-bar@2.3.8_93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/index.es.js";
6
+ import { nonPassive as r } from "./aggresiveCapture.es.js";
7
+ import { handleScroll as i, locationCouldBeScrolled as a } from "./handleScroll.es.js";
8
+ import * as o from "react";
9
+ //#region ../../node_modules/.bun/react-remove-scroll@2.7.2+93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/SideEffect.js
10
+ var s = function(e) {
11
+ return "changedTouches" in e ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0];
12
+ }, c = function(e) {
13
+ return [e.deltaX, e.deltaY];
14
+ }, l = function(e) {
15
+ return e && "current" in e ? e.current : e;
16
+ }, u = function(e, t) {
17
+ return e[0] === t[0] && e[1] === t[1];
18
+ }, d = function(e) {
19
+ return `
20
+ .block-interactivity-${e} {pointer-events: none;}
21
+ .allow-interactivity-${e} {pointer-events: all;}
22
+ `;
23
+ }, f = 0, p = [];
24
+ function m(m) {
25
+ var g = o.useRef([]), _ = o.useRef([0, 0]), v = o.useRef(), y = o.useState(f++)[0], b = o.useState(t)[0], x = o.useRef(m);
26
+ o.useEffect(function() {
27
+ x.current = m;
28
+ }, [m]), o.useEffect(function() {
29
+ if (m.inert) {
30
+ document.body.classList.add(`block-interactivity-${y}`);
31
+ var t = e([m.lockRef.current], (m.shards || []).map(l), !0).filter(Boolean);
32
+ return t.forEach(function(e) {
33
+ return e.classList.add(`allow-interactivity-${y}`);
34
+ }), function() {
35
+ document.body.classList.remove(`block-interactivity-${y}`), t.forEach(function(e) {
36
+ return e.classList.remove(`allow-interactivity-${y}`);
37
+ });
38
+ };
39
+ }
40
+ }, [
41
+ m.inert,
42
+ m.lockRef.current,
43
+ m.shards
44
+ ]);
45
+ var S = o.useCallback(function(e, t) {
46
+ if ("touches" in e && e.touches.length === 2 || e.type === "wheel" && e.ctrlKey) return !x.current.allowPinchZoom;
47
+ var n = s(e), r = _.current, o = "deltaX" in e ? e.deltaX : r[0] - n[0], c = "deltaY" in e ? e.deltaY : r[1] - n[1], l, u = e.target, d = Math.abs(o) > Math.abs(c) ? "h" : "v";
48
+ if ("touches" in e && d === "h" && u.type === "range") return !1;
49
+ var f = window.getSelection(), p = f && f.anchorNode;
50
+ if (p && (p === u || p.contains(u))) return !1;
51
+ var m = a(d, u);
52
+ if (!m) return !0;
53
+ if (m ? l = d : (l = d === "v" ? "h" : "v", m = a(d, u)), !m) return !1;
54
+ if (!v.current && "changedTouches" in e && (o || c) && (v.current = l), !l) return !0;
55
+ var h = v.current || l;
56
+ return i(h, t, e, h === "h" ? o : c, !0);
57
+ }, []), C = o.useCallback(function(e) {
58
+ var t = e;
59
+ if (!(!p.length || p[p.length - 1] !== b)) {
60
+ var n = "deltaY" in t ? c(t) : s(t), r = g.current.filter(function(e) {
61
+ return e.name === t.type && (e.target === t.target || t.target === e.shadowParent) && u(e.delta, n);
62
+ })[0];
63
+ if (r && r.should) {
64
+ t.cancelable && t.preventDefault();
65
+ return;
66
+ }
67
+ if (!r) {
68
+ var i = (x.current.shards || []).map(l).filter(Boolean).filter(function(e) {
69
+ return e.contains(t.target);
70
+ });
71
+ (i.length > 0 ? S(t, i[0]) : !x.current.noIsolation) && t.cancelable && t.preventDefault();
72
+ }
73
+ }
74
+ }, []), w = o.useCallback(function(e, t, n, r) {
75
+ var i = {
76
+ name: e,
77
+ delta: t,
78
+ target: n,
79
+ should: r,
80
+ shadowParent: h(n)
81
+ };
82
+ g.current.push(i), setTimeout(function() {
83
+ g.current = g.current.filter(function(e) {
84
+ return e !== i;
85
+ });
86
+ }, 1);
87
+ }, []), T = o.useCallback(function(e) {
88
+ _.current = s(e), v.current = void 0;
89
+ }, []), E = o.useCallback(function(e) {
90
+ w(e.type, c(e), e.target, S(e, m.lockRef.current));
91
+ }, []), D = o.useCallback(function(e) {
92
+ w(e.type, s(e), e.target, S(e, m.lockRef.current));
93
+ }, []);
94
+ o.useEffect(function() {
95
+ return p.push(b), m.setCallbacks({
96
+ onScrollCapture: E,
97
+ onWheelCapture: E,
98
+ onTouchMoveCapture: D
99
+ }), document.addEventListener("wheel", C, r), document.addEventListener("touchmove", C, r), document.addEventListener("touchstart", T, r), function() {
100
+ p = p.filter(function(e) {
101
+ return e !== b;
102
+ }), document.removeEventListener("wheel", C, r), document.removeEventListener("touchmove", C, r), document.removeEventListener("touchstart", T, r);
103
+ };
104
+ }, []);
105
+ var O = m.removeScrollBar, k = m.inert;
106
+ return o.createElement(o.Fragment, null, k ? o.createElement(b, { styles: d(y) }) : null, O ? o.createElement(n, {
107
+ noRelative: m.noRelative,
108
+ gapMode: m.gapMode
109
+ }) : null);
110
+ }
111
+ function h(e) {
112
+ for (var t = null; e !== null;) e instanceof ShadowRoot && (t = e.host, e = e.host), e = e.parentNode;
113
+ return t;
114
+ }
115
+ //#endregion
116
+ export { m as RemoveScrollSideCar, c as getDeltaXY, s as getTouchXY };
117
+
118
+ //# sourceMappingURL=SideEffect.es.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SideEffect.es.js","names":[],"sources":["../../../../../../../../../../node_modules/.bun/react-remove-scroll@2.7.2+93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/SideEffect.js"],"sourcesContent":["import { __spreadArray } from \"tslib\";\nimport * as React from 'react';\nimport { RemoveScrollBar } from 'react-remove-scroll-bar';\nimport { styleSingleton } from 'react-style-singleton';\nimport { nonPassive } from './aggresiveCapture';\nimport { handleScroll, locationCouldBeScrolled } from './handleScroll';\nexport var getTouchXY = function (event) {\n return 'changedTouches' in event ? [event.changedTouches[0].clientX, event.changedTouches[0].clientY] : [0, 0];\n};\nexport var getDeltaXY = function (event) { return [event.deltaX, event.deltaY]; };\nvar extractRef = function (ref) {\n return ref && 'current' in ref ? ref.current : ref;\n};\nvar deltaCompare = function (x, y) { return x[0] === y[0] && x[1] === y[1]; };\nvar generateStyle = function (id) { return \"\\n .block-interactivity-\".concat(id, \" {pointer-events: none;}\\n .allow-interactivity-\").concat(id, \" {pointer-events: all;}\\n\"); };\nvar idCounter = 0;\nvar lockStack = [];\nexport function RemoveScrollSideCar(props) {\n var shouldPreventQueue = React.useRef([]);\n var touchStartRef = React.useRef([0, 0]);\n var activeAxis = React.useRef();\n var id = React.useState(idCounter++)[0];\n var Style = React.useState(styleSingleton)[0];\n var lastProps = React.useRef(props);\n React.useEffect(function () {\n lastProps.current = props;\n }, [props]);\n React.useEffect(function () {\n if (props.inert) {\n document.body.classList.add(\"block-interactivity-\".concat(id));\n var allow_1 = __spreadArray([props.lockRef.current], (props.shards || []).map(extractRef), true).filter(Boolean);\n allow_1.forEach(function (el) { return el.classList.add(\"allow-interactivity-\".concat(id)); });\n return function () {\n document.body.classList.remove(\"block-interactivity-\".concat(id));\n allow_1.forEach(function (el) { return el.classList.remove(\"allow-interactivity-\".concat(id)); });\n };\n }\n return;\n }, [props.inert, props.lockRef.current, props.shards]);\n var shouldCancelEvent = React.useCallback(function (event, parent) {\n if (('touches' in event && event.touches.length === 2) || (event.type === 'wheel' && event.ctrlKey)) {\n return !lastProps.current.allowPinchZoom;\n }\n var touch = getTouchXY(event);\n var touchStart = touchStartRef.current;\n var deltaX = 'deltaX' in event ? event.deltaX : touchStart[0] - touch[0];\n var deltaY = 'deltaY' in event ? event.deltaY : touchStart[1] - touch[1];\n var currentAxis;\n var target = event.target;\n var moveDirection = Math.abs(deltaX) > Math.abs(deltaY) ? 'h' : 'v';\n // allow horizontal touch move on Range inputs. They will not cause any scroll\n if ('touches' in event && moveDirection === 'h' && target.type === 'range') {\n return false;\n }\n // allow drag selection (iOS); check if selection's anchorNode is the same as target or contains target\n var selection = window.getSelection();\n var anchorNode = selection && selection.anchorNode;\n var isTouchingSelection = anchorNode ? anchorNode === target || anchorNode.contains(target) : false;\n if (isTouchingSelection) {\n return false;\n }\n var canBeScrolledInMainDirection = locationCouldBeScrolled(moveDirection, target);\n if (!canBeScrolledInMainDirection) {\n return true;\n }\n if (canBeScrolledInMainDirection) {\n currentAxis = moveDirection;\n }\n else {\n currentAxis = moveDirection === 'v' ? 'h' : 'v';\n canBeScrolledInMainDirection = locationCouldBeScrolled(moveDirection, target);\n // other axis might be not scrollable\n }\n if (!canBeScrolledInMainDirection) {\n return false;\n }\n if (!activeAxis.current && 'changedTouches' in event && (deltaX || deltaY)) {\n activeAxis.current = currentAxis;\n }\n if (!currentAxis) {\n return true;\n }\n var cancelingAxis = activeAxis.current || currentAxis;\n return handleScroll(cancelingAxis, parent, event, cancelingAxis === 'h' ? deltaX : deltaY, true);\n }, []);\n var shouldPrevent = React.useCallback(function (_event) {\n var event = _event;\n if (!lockStack.length || lockStack[lockStack.length - 1] !== Style) {\n // not the last active\n return;\n }\n var delta = 'deltaY' in event ? getDeltaXY(event) : getTouchXY(event);\n var sourceEvent = shouldPreventQueue.current.filter(function (e) { return e.name === event.type && (e.target === event.target || event.target === e.shadowParent) && deltaCompare(e.delta, delta); })[0];\n // self event, and should be canceled\n if (sourceEvent && sourceEvent.should) {\n if (event.cancelable) {\n event.preventDefault();\n }\n return;\n }\n // outside or shard event\n if (!sourceEvent) {\n var shardNodes = (lastProps.current.shards || [])\n .map(extractRef)\n .filter(Boolean)\n .filter(function (node) { return node.contains(event.target); });\n var shouldStop = shardNodes.length > 0 ? shouldCancelEvent(event, shardNodes[0]) : !lastProps.current.noIsolation;\n if (shouldStop) {\n if (event.cancelable) {\n event.preventDefault();\n }\n }\n }\n }, []);\n var shouldCancel = React.useCallback(function (name, delta, target, should) {\n var event = { name: name, delta: delta, target: target, should: should, shadowParent: getOutermostShadowParent(target) };\n shouldPreventQueue.current.push(event);\n setTimeout(function () {\n shouldPreventQueue.current = shouldPreventQueue.current.filter(function (e) { return e !== event; });\n }, 1);\n }, []);\n var scrollTouchStart = React.useCallback(function (event) {\n touchStartRef.current = getTouchXY(event);\n activeAxis.current = undefined;\n }, []);\n var scrollWheel = React.useCallback(function (event) {\n shouldCancel(event.type, getDeltaXY(event), event.target, shouldCancelEvent(event, props.lockRef.current));\n }, []);\n var scrollTouchMove = React.useCallback(function (event) {\n shouldCancel(event.type, getTouchXY(event), event.target, shouldCancelEvent(event, props.lockRef.current));\n }, []);\n React.useEffect(function () {\n lockStack.push(Style);\n props.setCallbacks({\n onScrollCapture: scrollWheel,\n onWheelCapture: scrollWheel,\n onTouchMoveCapture: scrollTouchMove,\n });\n document.addEventListener('wheel', shouldPrevent, nonPassive);\n document.addEventListener('touchmove', shouldPrevent, nonPassive);\n document.addEventListener('touchstart', scrollTouchStart, nonPassive);\n return function () {\n lockStack = lockStack.filter(function (inst) { return inst !== Style; });\n document.removeEventListener('wheel', shouldPrevent, nonPassive);\n document.removeEventListener('touchmove', shouldPrevent, nonPassive);\n document.removeEventListener('touchstart', scrollTouchStart, nonPassive);\n };\n }, []);\n var removeScrollBar = props.removeScrollBar, inert = props.inert;\n return (React.createElement(React.Fragment, null,\n inert ? React.createElement(Style, { styles: generateStyle(id) }) : null,\n removeScrollBar ? React.createElement(RemoveScrollBar, { noRelative: props.noRelative, gapMode: props.gapMode }) : null));\n}\nfunction getOutermostShadowParent(node) {\n var shadowParent = null;\n while (node !== null) {\n if (node instanceof ShadowRoot) {\n shadowParent = node.host;\n node = node.host;\n }\n node = node.parentNode;\n }\n return shadowParent;\n}\n"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;AAMA,IAAW,IAAa,SAAU,GAAO;CACrC,OAAO,oBAAoB,IAAQ,CAAC,EAAM,eAAe,EAAE,CAAC,SAAS,EAAM,eAAe,EAAE,CAAC,OAAO,IAAI,CAAC,GAAG,CAAC;AACjH,GACW,IAAa,SAAU,GAAO;CAAE,OAAO,CAAC,EAAM,QAAQ,EAAM,MAAM;AAAG,GAC5E,IAAa,SAAU,GAAK;CAC5B,OAAO,KAAO,aAAa,IAAM,EAAI,UAAU;AACnD,GACI,IAAe,SAAU,GAAG,GAAG;CAAE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE;AAAI,GACxE,IAAgB,SAAU,GAAI;CAAE,OAAO;yBAAmC;yBAAgE;;AAAkC,GAC5K,IAAY,GACZ,IAAY,CAAC;AACjB,SAAgB,EAAoB,GAAO;CACvC,IAAI,IAAqB,EAAM,OAAO,CAAC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C/D,SAAS,oBAAoB,aAAa,GAAe,CAAU,GACnE,SAAS,oBAAoB,cAAc,GAAkB,CAAU;EAC3E;CACJ,GAAG,CAAC,CAAC;CACL,IAAI,IAAkB,EAAM,iBAAiB,IAAQ,EAAM;CAC3D,OAAQ,EAAM,cAAc,EAAM,UAAU,MACxC,IAAQ,EAAM,cAAc,GAAO,EAAE,QAAQ,EAAc,CAAE,EAAE,CAAC,IAAI,MACpE,IAAkB,EAAM,cAAc,GAAiB;EAAE,YAAY,EAAM;EAAY,SAAS,EAAM;CAAQ,CAAC,IAAI,IAAI;AAC/H;AACA,SAAS,EAAyB,GAAM;CAEpC,KADA,IAAI,IAAe,MACZ,MAAS,OAKZ,AAJI,aAAgB,eAChB,IAAe,EAAK,MACpB,IAAO,EAAK,OAEhB,IAAO,EAAK;CAEhB,OAAO;AACX"}
@@ -0,0 +1,2 @@
1
+ const e=require("../../../../../../../_virtual/_rolldown/runtime.cjs.js"),t=require("../../../../../tslib@2.8.1/node_modules/tslib/tslib.es6.cjs.js"),n=require("../../../../../react-remove-scroll-bar@2.3.8_93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/constants.cjs.js"),r=require("../../../../../use-callback-ref@1.3.3_93dbe784b8baa420/node_modules/use-callback-ref/dist/es2015/useMergeRef.cjs.js"),i=require("./medium.cjs.js");let a=require("react");a=e.__toESM(a);var o=function(){},s=a.forwardRef(function(e,n){var s=a.useRef(null),c=a.useState({onScrollCapture:o,onWheelCapture:o,onTouchMoveCapture:o}),l=c[0],u=c[1],d=e.forwardProps,f=e.children,p=e.className,m=e.removeScrollBar,h=e.enabled,g=e.shards,_=e.sideCar,v=e.noRelative,y=e.noIsolation,b=e.inert,x=e.allowPinchZoom,S=e.as,C=S===void 0?`div`:S,w=e.gapMode,T=t.__rest(e,[`forwardProps`,`children`,`className`,`removeScrollBar`,`enabled`,`shards`,`sideCar`,`noRelative`,`noIsolation`,`inert`,`allowPinchZoom`,`as`,`gapMode`]),E=_,D=r.useMergeRefs([s,n]),O=t.__assign(t.__assign({},T),l);return a.createElement(a.Fragment,null,h&&a.createElement(E,{sideCar:i.effectCar,removeScrollBar:m,shards:g,noRelative:v,noIsolation:y,inert:b,setCallbacks:u,allowPinchZoom:!!x,lockRef:s,gapMode:w}),d?a.cloneElement(a.Children.only(f),t.__assign(t.__assign({},O),{ref:D})):a.createElement(C,t.__assign({},O,{className:p,ref:D}),f))});s.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},s.classNames={fullWidth:n.fullWidthClassName,zeroRight:n.zeroRightClassName},exports.RemoveScroll=s;
2
+ //# sourceMappingURL=UI.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UI.cjs.js","names":["React","__rest","useMergeRefs","__assign","effectCar","fullWidthClassName","zeroRightClassName"],"sources":["../../../../../../../../../../node_modules/.bun/react-remove-scroll@2.7.2+93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/UI.js"],"sourcesContent":["import { __assign, __rest } from \"tslib\";\nimport * as React from 'react';\nimport { fullWidthClassName, zeroRightClassName } from 'react-remove-scroll-bar/constants';\nimport { useMergeRefs } from 'use-callback-ref';\nimport { effectCar } from './medium';\nvar nothing = function () {\n return;\n};\n/**\n * Removes scrollbar from the page and contain the scroll within the Lock\n */\nvar RemoveScroll = React.forwardRef(function (props, parentRef) {\n var ref = React.useRef(null);\n var _a = React.useState({\n onScrollCapture: nothing,\n onWheelCapture: nothing,\n onTouchMoveCapture: nothing,\n }), callbacks = _a[0], setCallbacks = _a[1];\n var forwardProps = props.forwardProps, children = props.children, className = props.className, removeScrollBar = props.removeScrollBar, enabled = props.enabled, shards = props.shards, sideCar = props.sideCar, noRelative = props.noRelative, noIsolation = props.noIsolation, inert = props.inert, allowPinchZoom = props.allowPinchZoom, _b = props.as, Container = _b === void 0 ? 'div' : _b, gapMode = props.gapMode, rest = __rest(props, [\"forwardProps\", \"children\", \"className\", \"removeScrollBar\", \"enabled\", \"shards\", \"sideCar\", \"noRelative\", \"noIsolation\", \"inert\", \"allowPinchZoom\", \"as\", \"gapMode\"]);\n var SideCar = sideCar;\n var containerRef = useMergeRefs([ref, parentRef]);\n var containerProps = __assign(__assign({}, rest), callbacks);\n return (React.createElement(React.Fragment, null,\n enabled && (React.createElement(SideCar, { sideCar: effectCar, removeScrollBar: removeScrollBar, shards: shards, noRelative: noRelative, noIsolation: noIsolation, inert: inert, setCallbacks: setCallbacks, allowPinchZoom: !!allowPinchZoom, lockRef: ref, gapMode: gapMode })),\n forwardProps ? (React.cloneElement(React.Children.only(children), __assign(__assign({}, containerProps), { ref: containerRef }))) : (React.createElement(Container, __assign({}, containerProps, { className: className, ref: containerRef }), children))));\n});\nRemoveScroll.defaultProps = {\n enabled: true,\n removeScrollBar: true,\n inert: false,\n};\nRemoveScroll.classNames = {\n fullWidth: fullWidthClassName,\n zeroRight: zeroRightClassName,\n};\nexport { RemoveScroll };\n"],"x_google_ignoreList":[0],"mappings":"ueAKA,IAAI,EAAU,UAAY,CAE1B,EAII,EAAeA,EAAM,WAAW,SAAU,EAAO,EAAW,CAC5D,IAAI,EAAMA,EAAM,OAAO,IAAI,EACvB,EAAKA,EAAM,SAAS,CACpB,gBAAiB,EACjB,eAAgB,EAChB,mBAAoB,CACxB,CAAC,EAAG,EAAY,EAAG,GAAI,EAAe,EAAG,GACrC,EAAe,EAAM,aAAc,EAAW,EAAM,SAAU,EAAY,EAAM,UAAW,EAAkB,EAAM,gBAAiB,EAAU,EAAM,QAAS,EAAS,EAAM,OAAQ,EAAU,EAAM,QAAS,EAAa,EAAM,WAAY,EAAc,EAAM,YAAa,EAAQ,EAAM,MAAO,EAAiB,EAAM,eAAgB,EAAK,EAAM,GAAI,EAAY,IAAO,IAAK,GAAI,MAAQ,EAAI,EAAU,EAAM,QAAS,EAAOC,EAAAA,OAAO,EAAO,CAAC,eAAgB,WAAY,YAAa,kBAAmB,UAAW,SAAU,UAAW,aAAc,cAAe,QAAS,iBAAkB,KAAM,SAAS,CAAC,EACnlB,EAAU,EACV,EAAeC,EAAAA,aAAa,CAAC,EAAK,CAAS,CAAC,EAC5C,EAAiBC,EAAAA,SAASA,EAAAA,SAAS,CAAC,EAAG,CAAI,EAAG,CAAS,EAC3D,OAAQH,EAAM,cAAcA,EAAM,SAAU,KACxC,GAAYA,EAAM,cAAc,EAAS,CAAE,QAASI,EAAAA,UAA4B,kBAAyB,SAAoB,aAAyB,cAAoB,QAAqB,eAAc,eAAgB,CAAC,CAAC,EAAgB,QAAS,EAAc,SAAQ,CAAC,EAC/Q,EAAgBJ,EAAM,aAAaA,EAAM,SAAS,KAAK,CAAQ,EAAGG,EAAAA,SAASA,EAAAA,SAAS,CAAC,EAAG,CAAc,EAAG,CAAE,IAAK,CAAa,CAAC,CAAC,EAAMH,EAAM,cAAc,EAAWG,EAAAA,SAAS,CAAC,EAAG,EAAgB,CAAa,YAAW,IAAK,CAAa,CAAC,EAAG,CAAQ,CAAE,CACjQ,CAAC,EACD,EAAa,aAAe,CACxB,QAAS,GACT,gBAAiB,GACjB,MAAO,EACX,EACA,EAAa,WAAa,CACtB,UAAWE,EAAAA,mBACX,UAAWC,EAAAA,kBACf"}
@@ -0,0 +1,54 @@
1
+ import { __assign as e, __rest as t } from "../../../../../tslib@2.8.1/node_modules/tslib/tslib.es6.es.js";
2
+ import { fullWidthClassName as n, zeroRightClassName as r } from "../../../../../react-remove-scroll-bar@2.3.8_93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/constants.es.js";
3
+ import { useMergeRefs as i } from "../../../../../use-callback-ref@1.3.3_93dbe784b8baa420/node_modules/use-callback-ref/dist/es2015/useMergeRef.es.js";
4
+ import { effectCar as a } from "./medium.es.js";
5
+ import * as o from "react";
6
+ //#region ../../node_modules/.bun/react-remove-scroll@2.7.2+93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/UI.js
7
+ var s = function() {}, c = o.forwardRef(function(n, r) {
8
+ var c = o.useRef(null), l = o.useState({
9
+ onScrollCapture: s,
10
+ onWheelCapture: s,
11
+ onTouchMoveCapture: s
12
+ }), u = l[0], d = l[1], f = n.forwardProps, p = n.children, m = n.className, h = n.removeScrollBar, g = n.enabled, _ = n.shards, v = n.sideCar, y = n.noRelative, b = n.noIsolation, x = n.inert, S = n.allowPinchZoom, C = n.as, w = C === void 0 ? "div" : C, T = n.gapMode, E = t(n, [
13
+ "forwardProps",
14
+ "children",
15
+ "className",
16
+ "removeScrollBar",
17
+ "enabled",
18
+ "shards",
19
+ "sideCar",
20
+ "noRelative",
21
+ "noIsolation",
22
+ "inert",
23
+ "allowPinchZoom",
24
+ "as",
25
+ "gapMode"
26
+ ]), D = v, O = i([c, r]), k = e(e({}, E), u);
27
+ return o.createElement(o.Fragment, null, g && o.createElement(D, {
28
+ sideCar: a,
29
+ removeScrollBar: h,
30
+ shards: _,
31
+ noRelative: y,
32
+ noIsolation: b,
33
+ inert: x,
34
+ setCallbacks: d,
35
+ allowPinchZoom: !!S,
36
+ lockRef: c,
37
+ gapMode: T
38
+ }), f ? o.cloneElement(o.Children.only(p), e(e({}, k), { ref: O })) : o.createElement(w, e({}, k, {
39
+ className: m,
40
+ ref: O
41
+ }), p));
42
+ });
43
+ c.defaultProps = {
44
+ enabled: !0,
45
+ removeScrollBar: !0,
46
+ inert: !1
47
+ }, c.classNames = {
48
+ fullWidth: n,
49
+ zeroRight: r
50
+ };
51
+ //#endregion
52
+ export { c as RemoveScroll };
53
+
54
+ //# sourceMappingURL=UI.es.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UI.es.js","names":[],"sources":["../../../../../../../../../../node_modules/.bun/react-remove-scroll@2.7.2+93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/UI.js"],"sourcesContent":["import { __assign, __rest } from \"tslib\";\nimport * as React from 'react';\nimport { fullWidthClassName, zeroRightClassName } from 'react-remove-scroll-bar/constants';\nimport { useMergeRefs } from 'use-callback-ref';\nimport { effectCar } from './medium';\nvar nothing = function () {\n return;\n};\n/**\n * Removes scrollbar from the page and contain the scroll within the Lock\n */\nvar RemoveScroll = React.forwardRef(function (props, parentRef) {\n var ref = React.useRef(null);\n var _a = React.useState({\n onScrollCapture: nothing,\n onWheelCapture: nothing,\n onTouchMoveCapture: nothing,\n }), callbacks = _a[0], setCallbacks = _a[1];\n var forwardProps = props.forwardProps, children = props.children, className = props.className, removeScrollBar = props.removeScrollBar, enabled = props.enabled, shards = props.shards, sideCar = props.sideCar, noRelative = props.noRelative, noIsolation = props.noIsolation, inert = props.inert, allowPinchZoom = props.allowPinchZoom, _b = props.as, Container = _b === void 0 ? 'div' : _b, gapMode = props.gapMode, rest = __rest(props, [\"forwardProps\", \"children\", \"className\", \"removeScrollBar\", \"enabled\", \"shards\", \"sideCar\", \"noRelative\", \"noIsolation\", \"inert\", \"allowPinchZoom\", \"as\", \"gapMode\"]);\n var SideCar = sideCar;\n var containerRef = useMergeRefs([ref, parentRef]);\n var containerProps = __assign(__assign({}, rest), callbacks);\n return (React.createElement(React.Fragment, null,\n enabled && (React.createElement(SideCar, { sideCar: effectCar, removeScrollBar: removeScrollBar, shards: shards, noRelative: noRelative, noIsolation: noIsolation, inert: inert, setCallbacks: setCallbacks, allowPinchZoom: !!allowPinchZoom, lockRef: ref, gapMode: gapMode })),\n forwardProps ? (React.cloneElement(React.Children.only(children), __assign(__assign({}, containerProps), { ref: containerRef }))) : (React.createElement(Container, __assign({}, containerProps, { className: className, ref: containerRef }), children))));\n});\nRemoveScroll.defaultProps = {\n enabled: true,\n removeScrollBar: true,\n inert: false,\n};\nRemoveScroll.classNames = {\n fullWidth: fullWidthClassName,\n zeroRight: zeroRightClassName,\n};\nexport { RemoveScroll };\n"],"x_google_ignoreList":[0],"mappings":";;;;;;AAKA,IAAI,IAAU,WAAY,CAE1B,GAII,IAAe,EAAM,WAAW,SAAU,GAAO,GAAW;CAC5D,IAAI,IAAM,EAAM,OAAO,IAAI,GACvB,IAAK,EAAM,SAAS;EACpB,iBAAiB;EACjB,gBAAgB;EAChB,oBAAoB;CACxB,CAAC,GAAG,IAAY,EAAG,IAAI,IAAe,EAAG,IACrC,IAAe,EAAM,cAAc,IAAW,EAAM,UAAU,IAAY,EAAM,WAAW,IAAkB,EAAM,iBAAiB,IAAU,EAAM,SAAS,IAAS,EAAM,QAAQ,IAAU,EAAM,SAAS,IAAa,EAAM,YAAY,IAAc,EAAM,aAAa,IAAQ,EAAM,OAAO,IAAiB,EAAM,gBAAgB,IAAK,EAAM,IAAI,IAAY,MAAO,KAAK,IAAI,QAAQ,GAAI,IAAU,EAAM,SAAS,IAAO,EAAO,GAAO;EAAC;EAAgB;EAAY;EAAa;EAAmB;EAAW;EAAU;EAAW;EAAc;EAAe;EAAS;EAAkB;EAAM;CAAS,CAAC,GACnlB,IAAU,GACV,IAAe,EAAa,CAAC,GAAK,CAAS,CAAC,GAC5C,IAAiB,EAAS,EAAS,CAAC,GAAG,CAAI,GAAG,CAAS;CAC3D,OAAQ,EAAM,cAAc,EAAM,UAAU,MACxC,KAAY,EAAM,cAAc,GAAS;EAAE,SAAS;EAA4B;EAAyB;EAAoB;EAAyB;EAAoB;EAAqB;EAAc,gBAAgB,CAAC,CAAC;EAAgB,SAAS;EAAc;CAAQ,CAAC,GAC/Q,IAAgB,EAAM,aAAa,EAAM,SAAS,KAAK,CAAQ,GAAG,EAAS,EAAS,CAAC,GAAG,CAAc,GAAG,EAAE,KAAK,EAAa,CAAC,CAAC,IAAM,EAAM,cAAc,GAAW,EAAS,CAAC,GAAG,GAAgB;EAAa;EAAW,KAAK;CAAa,CAAC,GAAG,CAAQ,CAAE;AACjQ,CAAC;AACD,EAAa,eAAe;CACxB,SAAS;CACT,iBAAiB;CACjB,OAAO;AACX,GACA,EAAa,aAAa;CACtB,WAAW;CACX,WAAW;AACf"}
@@ -0,0 +1,2 @@
1
+ var e=!1;if(typeof window<`u`)try{var t=Object.defineProperty({},"passive",{get:function(){return e=!0,!0}});window.addEventListener(`test`,t,t),window.removeEventListener(`test`,t,t)}catch{e=!1}var n=e?{passive:!1}:!1;exports.nonPassive=n;
2
+ //# sourceMappingURL=aggresiveCapture.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aggresiveCapture.cjs.js","names":[],"sources":["../../../../../../../../../../node_modules/.bun/react-remove-scroll@2.7.2+93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js"],"sourcesContent":["var passiveSupported = false;\nif (typeof window !== 'undefined') {\n try {\n var options = Object.defineProperty({}, 'passive', {\n get: function () {\n passiveSupported = true;\n return true;\n },\n });\n // @ts-ignore\n window.addEventListener('test', options, options);\n // @ts-ignore\n window.removeEventListener('test', options, options);\n }\n catch (err) {\n passiveSupported = false;\n }\n}\nexport var nonPassive = passiveSupported ? { passive: false } : false;\n"],"x_google_ignoreList":[0],"mappings":"AAAA,IAAI,EAAmB,GACvB,GAAI,OAAO,OAAW,IAClB,GAAI,CACA,IAAI,EAAU,OAAO,eAAe,CAAC,EAAG,UAAW,CAC/C,IAAK,UAAY,CAEb,MADA,GAAmB,GACZ,EACX,CACJ,CAAC,EAED,OAAO,iBAAiB,OAAQ,EAAS,CAAO,EAEhD,OAAO,oBAAoB,OAAQ,EAAS,CAAO,CACvD,MACY,CACR,EAAmB,EACvB,CAEJ,IAAW,EAAa,EAAmB,CAAE,QAAS,EAAM,EAAI"}