@stardeckai/autumn-js 0.1.85

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 (536) hide show
  1. package/LICENSE.md +7 -0
  2. package/README.md +12 -0
  3. package/dist/libraries/backend/balancesTypes-BrQjQCw3.d.ts +1822 -0
  4. package/dist/libraries/backend/balancesTypes-Dk9mLKO8.d.mts +1822 -0
  5. package/dist/libraries/backend/better-auth.d.mts +772 -0
  6. package/dist/libraries/backend/better-auth.d.ts +772 -0
  7. package/dist/libraries/backend/better-auth.js +2872 -0
  8. package/dist/libraries/backend/better-auth.mjs +482 -0
  9. package/dist/libraries/backend/chunk-4LJK3VUJ.mjs +48 -0
  10. package/dist/libraries/backend/chunk-7AOVJSWM.mjs +158 -0
  11. package/dist/libraries/backend/chunk-ENC3BP6R.mjs +53 -0
  12. package/dist/libraries/backend/chunk-IZDJ3I6T.mjs +1749 -0
  13. package/dist/libraries/backend/chunk-KSG3E4Q2.mjs +8 -0
  14. package/dist/libraries/backend/chunk-LM7CBUUT.mjs +95 -0
  15. package/dist/libraries/backend/chunk-NRKSUO62.mjs +115 -0
  16. package/dist/libraries/backend/chunk-SGEUXFOF.mjs +40 -0
  17. package/dist/libraries/backend/chunk-SRJD6EXQ.mjs +104 -0
  18. package/dist/libraries/backend/chunk-UNZHJTEY.mjs +18 -0
  19. package/dist/libraries/backend/chunk-ZGBFNNRL.mjs +78 -0
  20. package/dist/libraries/backend/chunk-ZW3KBZDU.mjs +30 -0
  21. package/dist/libraries/backend/constants.d.mts +4 -0
  22. package/dist/libraries/backend/constants.d.ts +4 -0
  23. package/dist/libraries/backend/constants.js +33 -0
  24. package/dist/libraries/backend/constants.mjs +8 -0
  25. package/dist/libraries/backend/convex.d.mts +16 -0
  26. package/dist/libraries/backend/convex.d.ts +16 -0
  27. package/dist/libraries/backend/convex.js +2468 -0
  28. package/dist/libraries/backend/convex.mjs +164 -0
  29. package/dist/libraries/backend/elysia.d.mts +35 -0
  30. package/dist/libraries/backend/elysia.d.ts +35 -0
  31. package/dist/libraries/backend/elysia.js +2399 -0
  32. package/dist/libraries/backend/elysia.mjs +102 -0
  33. package/dist/libraries/backend/express.d.mts +16 -0
  34. package/dist/libraries/backend/express.d.ts +16 -0
  35. package/dist/libraries/backend/express.js +2371 -0
  36. package/dist/libraries/backend/express.mjs +72 -0
  37. package/dist/libraries/backend/fastify.d.mts +9 -0
  38. package/dist/libraries/backend/fastify.d.ts +9 -0
  39. package/dist/libraries/backend/fastify.js +2368 -0
  40. package/dist/libraries/backend/fastify.mjs +69 -0
  41. package/dist/libraries/backend/hono.d.mts +12 -0
  42. package/dist/libraries/backend/hono.d.ts +12 -0
  43. package/dist/libraries/backend/hono.js +2365 -0
  44. package/dist/libraries/backend/hono.mjs +66 -0
  45. package/dist/libraries/backend/index.d.mts +25 -0
  46. package/dist/libraries/backend/index.d.ts +25 -0
  47. package/dist/libraries/backend/index.js +2376 -0
  48. package/dist/libraries/backend/index.mjs +74 -0
  49. package/dist/libraries/backend/next.d.mts +13 -0
  50. package/dist/libraries/backend/next.d.ts +13 -0
  51. package/dist/libraries/backend/next.js +2395 -0
  52. package/dist/libraries/backend/next.mjs +94 -0
  53. package/dist/libraries/backend/react-router.d.mts +12 -0
  54. package/dist/libraries/backend/react-router.d.ts +12 -0
  55. package/dist/libraries/backend/react-router.js +2396 -0
  56. package/dist/libraries/backend/react-router.mjs +97 -0
  57. package/dist/libraries/backend/remix_dep.d.mts +15 -0
  58. package/dist/libraries/backend/remix_dep.d.ts +15 -0
  59. package/dist/libraries/backend/remix_dep.js +2360 -0
  60. package/dist/libraries/backend/remix_dep.mjs +73 -0
  61. package/dist/libraries/backend/response-BBvvMvoC.d.mts +30 -0
  62. package/dist/libraries/backend/response-BBvvMvoC.d.ts +30 -0
  63. package/dist/libraries/backend/routes/analyticsRoutes.d.mts +6 -0
  64. package/dist/libraries/backend/routes/analyticsRoutes.d.ts +6 -0
  65. package/dist/libraries/backend/routes/analyticsRoutes.js +1936 -0
  66. package/dist/libraries/backend/routes/analyticsRoutes.mjs +10 -0
  67. package/dist/libraries/backend/routes/backendRouter.d.mts +12 -0
  68. package/dist/libraries/backend/routes/backendRouter.d.ts +12 -0
  69. package/dist/libraries/backend/routes/backendRouter.js +2304 -0
  70. package/dist/libraries/backend/routes/backendRouter.mjs +15 -0
  71. package/dist/libraries/backend/routes/basePath.d.mts +2 -0
  72. package/dist/libraries/backend/routes/basePath.d.ts +2 -0
  73. package/dist/libraries/backend/routes/basePath.js +1 -0
  74. package/dist/libraries/backend/routes/basePath.mjs +0 -0
  75. package/dist/libraries/backend/routes/entityRoutes.d.mts +6 -0
  76. package/dist/libraries/backend/routes/entityRoutes.d.ts +6 -0
  77. package/dist/libraries/backend/routes/entityRoutes.js +1963 -0
  78. package/dist/libraries/backend/routes/entityRoutes.mjs +10 -0
  79. package/dist/libraries/backend/routes/genRoutes.d.mts +6 -0
  80. package/dist/libraries/backend/routes/genRoutes.d.ts +6 -0
  81. package/dist/libraries/backend/routes/genRoutes.js +2041 -0
  82. package/dist/libraries/backend/routes/genRoutes.mjs +10 -0
  83. package/dist/libraries/backend/routes/productRoutes.d.mts +6 -0
  84. package/dist/libraries/backend/routes/productRoutes.d.ts +6 -0
  85. package/dist/libraries/backend/routes/productRoutes.js +1913 -0
  86. package/dist/libraries/backend/routes/productRoutes.mjs +10 -0
  87. package/dist/libraries/backend/routes/referralRoutes.d.mts +6 -0
  88. package/dist/libraries/backend/routes/referralRoutes.d.ts +6 -0
  89. package/dist/libraries/backend/routes/referralRoutes.js +1931 -0
  90. package/dist/libraries/backend/routes/referralRoutes.mjs +10 -0
  91. package/dist/libraries/backend/schemas/zod.d.mts +71 -0
  92. package/dist/libraries/backend/schemas/zod.d.ts +71 -0
  93. package/dist/libraries/backend/schemas/zod.js +101 -0
  94. package/dist/libraries/backend/schemas/zod.mjs +68 -0
  95. package/dist/libraries/backend/supabase.d.mts +9 -0
  96. package/dist/libraries/backend/supabase.d.ts +9 -0
  97. package/dist/libraries/backend/supabase.js +2394 -0
  98. package/dist/libraries/backend/supabase.mjs +95 -0
  99. package/dist/libraries/backend/tanstack.d.mts +32 -0
  100. package/dist/libraries/backend/tanstack.d.ts +32 -0
  101. package/dist/libraries/backend/tanstack.js +2384 -0
  102. package/dist/libraries/backend/tanstack.mjs +83 -0
  103. package/dist/libraries/backend/utils/AuthFunction.d.mts +9 -0
  104. package/dist/libraries/backend/utils/AuthFunction.d.ts +9 -0
  105. package/dist/libraries/backend/utils/AuthFunction.js +18 -0
  106. package/dist/libraries/backend/utils/AuthFunction.mjs +0 -0
  107. package/dist/libraries/backend/utils/backendRes.d.mts +19 -0
  108. package/dist/libraries/backend/utils/backendRes.d.ts +19 -0
  109. package/dist/libraries/backend/utils/backendRes.js +1791 -0
  110. package/dist/libraries/backend/utils/backendRes.mjs +10 -0
  111. package/dist/libraries/backend/utils/betterAuth/middlewares.d.mts +26 -0
  112. package/dist/libraries/backend/utils/betterAuth/middlewares.d.ts +26 -0
  113. package/dist/libraries/backend/utils/betterAuth/middlewares.js +130 -0
  114. package/dist/libraries/backend/utils/betterAuth/middlewares.mjs +10 -0
  115. package/dist/libraries/backend/utils/betterAuth/types.d.mts +19 -0
  116. package/dist/libraries/backend/utils/betterAuth/types.d.ts +19 -0
  117. package/dist/libraries/backend/utils/betterAuth/types.js +18 -0
  118. package/dist/libraries/backend/utils/betterAuth/types.mjs +0 -0
  119. package/dist/libraries/backend/utils/logBackendErrors.d.mts +5 -0
  120. package/dist/libraries/backend/utils/logBackendErrors.d.ts +5 -0
  121. package/dist/libraries/backend/utils/logBackendErrors.js +73 -0
  122. package/dist/libraries/backend/utils/logBackendErrors.mjs +13 -0
  123. package/dist/libraries/backend/utils/secretKeyCheck.d.mts +13 -0
  124. package/dist/libraries/backend/utils/secretKeyCheck.d.ts +13 -0
  125. package/dist/libraries/backend/utils/secretKeyCheck.js +42 -0
  126. package/dist/libraries/backend/utils/secretKeyCheck.mjs +6 -0
  127. package/dist/libraries/backend/utils/withAuth.d.mts +29 -0
  128. package/dist/libraries/backend/utils/withAuth.d.ts +29 -0
  129. package/dist/libraries/backend/utils/withAuth.js +1892 -0
  130. package/dist/libraries/backend/utils/withAuth.mjs +9 -0
  131. package/dist/libraries/react/AutumnContext.d.mts +34 -0
  132. package/dist/libraries/react/AutumnContext.d.ts +34 -0
  133. package/dist/libraries/react/AutumnContext.js +2162 -0
  134. package/dist/libraries/react/AutumnContext.mjs +20 -0
  135. package/dist/libraries/react/BaseAutumnProvider.d.mts +18 -0
  136. package/dist/libraries/react/BaseAutumnProvider.d.ts +18 -0
  137. package/dist/libraries/react/BaseAutumnProvider.js +2833 -0
  138. package/dist/libraries/react/BaseAutumnProvider.mjs +25 -0
  139. package/dist/libraries/react/ReactAutumnClient-BJzchCM3.d.ts +304 -0
  140. package/dist/libraries/react/ReactAutumnClient-Cc2rjUsz.d.mts +304 -0
  141. package/dist/libraries/react/ReactAutumnProvider.d.mts +20 -0
  142. package/dist/libraries/react/ReactAutumnProvider.d.ts +20 -0
  143. package/dist/libraries/react/ReactAutumnProvider.js +3229 -0
  144. package/dist/libraries/react/ReactAutumnProvider.mjs +26 -0
  145. package/dist/libraries/react/attachTypes-BNlJ6XXa.d.mts +69 -0
  146. package/dist/libraries/react/attachTypes-eg914-6v.d.ts +69 -0
  147. package/dist/libraries/react/chunk-2ZZJUGBO.mjs +138 -0
  148. package/dist/libraries/react/chunk-4J2T27L6.mjs +99 -0
  149. package/dist/libraries/react/chunk-4J6OC4ZQ.mjs +2532 -0
  150. package/dist/libraries/react/chunk-6EXNYWJX.mjs +67 -0
  151. package/dist/libraries/react/chunk-736TFHSL.mjs +18 -0
  152. package/dist/libraries/react/chunk-ACRIHVEO.mjs +134 -0
  153. package/dist/libraries/react/chunk-ACSLCOHZ.mjs +198 -0
  154. package/dist/libraries/react/chunk-BGOD72CO.mjs +20 -0
  155. package/dist/libraries/react/chunk-BLM4DAAR.mjs +158 -0
  156. package/dist/libraries/react/chunk-BVK3DYFG.mjs +157 -0
  157. package/dist/libraries/react/chunk-CIBQ4BJU.mjs +19 -0
  158. package/dist/libraries/react/chunk-CSHDMTUY.mjs +52 -0
  159. package/dist/libraries/react/chunk-D2TXVOAD.mjs +50 -0
  160. package/dist/libraries/react/chunk-EAZME3W6.mjs +89 -0
  161. package/dist/libraries/react/chunk-FDURBIAI.mjs +2520 -0
  162. package/dist/libraries/react/chunk-FK5QRKSW.mjs +747 -0
  163. package/dist/libraries/react/chunk-GUM4HIGI.mjs +30 -0
  164. package/dist/libraries/react/chunk-I5ZGIAIX.mjs +57 -0
  165. package/dist/libraries/react/chunk-IKJYNTI5.mjs +1335 -0
  166. package/dist/libraries/react/chunk-J24P6YUI.mjs +25 -0
  167. package/dist/libraries/react/chunk-JNGOZQHP.mjs +62 -0
  168. package/dist/libraries/react/chunk-JVCOY7ZL.mjs +22 -0
  169. package/dist/libraries/react/chunk-KEGHYZMH.mjs +584 -0
  170. package/dist/libraries/react/chunk-LDGZ322L.mjs +92 -0
  171. package/dist/libraries/react/chunk-MPAPGILW.mjs +360 -0
  172. package/dist/libraries/react/chunk-NBCD7YQN.mjs +151 -0
  173. package/dist/libraries/react/chunk-OO5IBU2P.mjs +67 -0
  174. package/dist/libraries/react/chunk-OYBOLAL5.mjs +31 -0
  175. package/dist/libraries/react/chunk-Q24L3UDQ.mjs +206 -0
  176. package/dist/libraries/react/chunk-R4I7MVEX.mjs +46 -0
  177. package/dist/libraries/react/chunk-RFSQBGLO.mjs +21 -0
  178. package/dist/libraries/react/chunk-SGEO7BFC.mjs +44 -0
  179. package/dist/libraries/react/chunk-SUENW2KS.mjs +17 -0
  180. package/dist/libraries/react/chunk-TI73WOTR.mjs +256 -0
  181. package/dist/libraries/react/chunk-URQMBRFZ.mjs +62 -0
  182. package/dist/libraries/react/chunk-V575SGOW.mjs +12 -0
  183. package/dist/libraries/react/chunk-VPW2CMGB.mjs +165 -0
  184. package/dist/libraries/react/chunk-WA7QZHL5.mjs +101 -0
  185. package/dist/libraries/react/chunk-WFFVOEUG.mjs +15 -0
  186. package/dist/libraries/react/chunk-WVKYZYFT.mjs +37 -0
  187. package/dist/libraries/react/chunk-XDQLJ7QR.mjs +17 -0
  188. package/dist/libraries/react/chunk-XGG7IZUQ.mjs +218 -0
  189. package/dist/libraries/react/chunk-ZBHCIMJH.mjs +448 -0
  190. package/dist/libraries/react/chunk-ZJPIZX24.mjs +1736 -0
  191. package/dist/libraries/react/chunk-ZPW4DL3O.mjs +96 -0
  192. package/dist/libraries/react/client/ConvexAutumnClient.d.mts +77 -0
  193. package/dist/libraries/react/client/ConvexAutumnClient.d.ts +77 -0
  194. package/dist/libraries/react/client/ConvexAutumnClient.js +2119 -0
  195. package/dist/libraries/react/client/ConvexAutumnClient.mjs +9 -0
  196. package/dist/libraries/react/client/ReactAutumnClient.d.mts +9 -0
  197. package/dist/libraries/react/client/ReactAutumnClient.d.ts +9 -0
  198. package/dist/libraries/react/client/ReactAutumnClient.js +2120 -0
  199. package/dist/libraries/react/client/ReactAutumnClient.mjs +17 -0
  200. package/dist/libraries/react/client/clientAnalyticsMethods.d.mts +14 -0
  201. package/dist/libraries/react/client/clientAnalyticsMethods.d.ts +14 -0
  202. package/dist/libraries/react/client/clientAnalyticsMethods.js +41 -0
  203. package/dist/libraries/react/client/clientAnalyticsMethods.mjs +10 -0
  204. package/dist/libraries/react/client/clientCompMethods.d.mts +33 -0
  205. package/dist/libraries/react/client/clientCompMethods.d.ts +33 -0
  206. package/dist/libraries/react/client/clientCompMethods.js +35 -0
  207. package/dist/libraries/react/client/clientCompMethods.mjs +11 -0
  208. package/dist/libraries/react/client/clientCusMethods.d.mts +16 -0
  209. package/dist/libraries/react/client/clientCusMethods.d.ts +16 -0
  210. package/dist/libraries/react/client/clientCusMethods.js +38 -0
  211. package/dist/libraries/react/client/clientCusMethods.mjs +8 -0
  212. package/dist/libraries/react/client/clientEntityMethods.d.mts +16 -0
  213. package/dist/libraries/react/client/clientEntityMethods.d.ts +16 -0
  214. package/dist/libraries/react/client/clientEntityMethods.js +58 -0
  215. package/dist/libraries/react/client/clientEntityMethods.mjs +12 -0
  216. package/dist/libraries/react/client/clientGenMethods.d.mts +22 -0
  217. package/dist/libraries/react/client/clientGenMethods.d.ts +22 -0
  218. package/dist/libraries/react/client/clientGenMethods.js +97 -0
  219. package/dist/libraries/react/client/clientGenMethods.mjs +22 -0
  220. package/dist/libraries/react/client/clientProdMethods.d.mts +15 -0
  221. package/dist/libraries/react/client/clientProdMethods.d.ts +15 -0
  222. package/dist/libraries/react/client/clientProdMethods.js +35 -0
  223. package/dist/libraries/react/client/clientProdMethods.mjs +8 -0
  224. package/dist/libraries/react/client/clientReferralMethods.d.mts +15 -0
  225. package/dist/libraries/react/client/clientReferralMethods.d.ts +15 -0
  226. package/dist/libraries/react/client/clientReferralMethods.js +41 -0
  227. package/dist/libraries/react/client/clientReferralMethods.mjs +10 -0
  228. package/dist/libraries/react/client/types/clientAnalyticsTypes.d.mts +78 -0
  229. package/dist/libraries/react/client/types/clientAnalyticsTypes.d.ts +78 -0
  230. package/dist/libraries/react/client/types/clientAnalyticsTypes.js +92 -0
  231. package/dist/libraries/react/client/types/clientAnalyticsTypes.mjs +62 -0
  232. package/dist/libraries/react/client/types/clientAttachTypes.d.mts +48 -0
  233. package/dist/libraries/react/client/types/clientAttachTypes.d.ts +48 -0
  234. package/dist/libraries/react/client/types/clientAttachTypes.js +76 -0
  235. package/dist/libraries/react/client/types/clientAttachTypes.mjs +50 -0
  236. package/dist/libraries/react/client/types/clientCusTypes.d.mts +5 -0
  237. package/dist/libraries/react/client/types/clientCusTypes.d.ts +5 -0
  238. package/dist/libraries/react/client/types/clientCusTypes.js +20 -0
  239. package/dist/libraries/react/client/types/clientCusTypes.mjs +2 -0
  240. package/dist/libraries/react/client/types/clientEntTypes.d.mts +19 -0
  241. package/dist/libraries/react/client/types/clientEntTypes.d.ts +19 -0
  242. package/dist/libraries/react/client/types/clientEntTypes.js +48 -0
  243. package/dist/libraries/react/client/types/clientEntTypes.mjs +22 -0
  244. package/dist/libraries/react/client/types/clientGenTypes.d.mts +56 -0
  245. package/dist/libraries/react/client/types/clientGenTypes.d.ts +56 -0
  246. package/dist/libraries/react/client/types/clientGenTypes.js +1819 -0
  247. package/dist/libraries/react/client/types/clientGenTypes.mjs +54 -0
  248. package/dist/libraries/react/client/types/clientPricingTableTypes.d.mts +20 -0
  249. package/dist/libraries/react/client/types/clientPricingTableTypes.d.ts +20 -0
  250. package/dist/libraries/react/client/types/clientPricingTableTypes.js +20 -0
  251. package/dist/libraries/react/client/types/clientPricingTableTypes.mjs +2 -0
  252. package/dist/libraries/react/client/types/clientProdTypes.d.mts +5 -0
  253. package/dist/libraries/react/client/types/clientProdTypes.d.ts +5 -0
  254. package/dist/libraries/react/client/types/clientProdTypes.js +20 -0
  255. package/dist/libraries/react/client/types/clientProdTypes.mjs +2 -0
  256. package/dist/libraries/react/client/types/clientReferralTypes.d.mts +12 -0
  257. package/dist/libraries/react/client/types/clientReferralTypes.d.ts +12 -0
  258. package/dist/libraries/react/client/types/clientReferralTypes.js +40 -0
  259. package/dist/libraries/react/client/types/clientReferralTypes.mjs +15 -0
  260. package/dist/libraries/react/client/types/responseTypes.d.mts +2 -0
  261. package/dist/libraries/react/client/types/responseTypes.d.ts +2 -0
  262. package/dist/libraries/react/client/types/responseTypes.js +3 -0
  263. package/dist/libraries/react/client/types/responseTypes.mjs +2 -0
  264. package/dist/libraries/react/components/checkout-dialog/checkout-dialog-synced.css +1460 -0
  265. package/dist/libraries/react/components/checkout-dialog/checkout-dialog-synced.d.mts +25 -0
  266. package/dist/libraries/react/components/checkout-dialog/checkout-dialog-synced.d.ts +25 -0
  267. package/dist/libraries/react/components/checkout-dialog/checkout-dialog-synced.js +11543 -0
  268. package/dist/libraries/react/components/checkout-dialog/checkout-dialog-synced.mjs +57 -0
  269. package/dist/libraries/react/components/checkout-dialog/lib/checkout-content.d.mts +11 -0
  270. package/dist/libraries/react/components/checkout-dialog/lib/checkout-content.d.ts +11 -0
  271. package/dist/libraries/react/components/checkout-dialog/lib/checkout-content.js +181 -0
  272. package/dist/libraries/react/components/checkout-dialog/lib/checkout-content.mjs +8 -0
  273. package/dist/libraries/react/components/paywall-dialog/lib/paywall-content.d.mts +9 -0
  274. package/dist/libraries/react/components/paywall-dialog/lib/paywall-content.d.ts +9 -0
  275. package/dist/libraries/react/components/paywall-dialog/lib/paywall-content.js +80 -0
  276. package/dist/libraries/react/components/paywall-dialog/lib/paywall-content.mjs +8 -0
  277. package/dist/libraries/react/components/paywall-dialog/paywall-dialog-synced.css +1460 -0
  278. package/dist/libraries/react/components/paywall-dialog/paywall-dialog-synced.d.mts +11 -0
  279. package/dist/libraries/react/components/paywall-dialog/paywall-dialog-synced.d.ts +11 -0
  280. package/dist/libraries/react/components/paywall-dialog/paywall-dialog-synced.js +10566 -0
  281. package/dist/libraries/react/components/paywall-dialog/paywall-dialog-synced.mjs +53 -0
  282. package/dist/libraries/react/components/pricing-table/lib/pricing-table-content.d.mts +9 -0
  283. package/dist/libraries/react/components/pricing-table/lib/pricing-table-content.d.ts +9 -0
  284. package/dist/libraries/react/components/pricing-table/lib/pricing-table-content.js +85 -0
  285. package/dist/libraries/react/components/pricing-table/lib/pricing-table-content.mjs +8 -0
  286. package/dist/libraries/react/components/pricing-table/pricing-table-synced.css +1460 -0
  287. package/dist/libraries/react/components/pricing-table/pricing-table-synced.d.mts +52 -0
  288. package/dist/libraries/react/components/pricing-table/pricing-table-synced.d.ts +52 -0
  289. package/dist/libraries/react/components/pricing-table/pricing-table-synced.js +11834 -0
  290. package/dist/libraries/react/components/pricing-table/pricing-table-synced.mjs +66 -0
  291. package/dist/libraries/react/components/ui/accordion.d.mts +15 -0
  292. package/dist/libraries/react/components/ui/accordion.d.ts +15 -0
  293. package/dist/libraries/react/components/ui/accordion.js +3679 -0
  294. package/dist/libraries/react/components/ui/accordion.mjs +19 -0
  295. package/dist/libraries/react/components/ui/button.d.mts +11 -0
  296. package/dist/libraries/react/components/ui/button.d.ts +11 -0
  297. package/dist/libraries/react/components/ui/button.js +2776 -0
  298. package/dist/libraries/react/components/ui/button.mjs +12 -0
  299. package/dist/libraries/react/components/ui/dialog.d.mts +29 -0
  300. package/dist/libraries/react/components/ui/dialog.d.ts +29 -0
  301. package/dist/libraries/react/components/ui/dialog.js +4880 -0
  302. package/dist/libraries/react/components/ui/dialog.mjs +33 -0
  303. package/dist/libraries/react/components/ui/input.d.mts +5 -0
  304. package/dist/libraries/react/components/ui/input.d.ts +5 -0
  305. package/dist/libraries/react/components/ui/input.js +2587 -0
  306. package/dist/libraries/react/components/ui/input.mjs +9 -0
  307. package/dist/libraries/react/components/ui/popover.d.mts +11 -0
  308. package/dist/libraries/react/components/ui/popover.d.ts +11 -0
  309. package/dist/libraries/react/components/ui/popover.js +6852 -0
  310. package/dist/libraries/react/components/ui/popover.mjs +20 -0
  311. package/dist/libraries/react/components/ui/switch.d.mts +8 -0
  312. package/dist/libraries/react/components/ui/switch.d.ts +8 -0
  313. package/dist/libraries/react/components/ui/switch.js +3096 -0
  314. package/dist/libraries/react/components/ui/switch.mjs +13 -0
  315. package/dist/libraries/react/cusTypes-CfdKzRo3.d.mts +210 -0
  316. package/dist/libraries/react/cusTypes-CmjJWspY.d.ts +210 -0
  317. package/dist/libraries/react/error-DHbclCVh.d.mts +17 -0
  318. package/dist/libraries/react/error-DHbclCVh.d.ts +17 -0
  319. package/dist/libraries/react/errorUtils/logAuthError.d.mts +3 -0
  320. package/dist/libraries/react/errorUtils/logAuthError.d.ts +3 -0
  321. package/dist/libraries/react/errorUtils/logAuthError.js +45 -0
  322. package/dist/libraries/react/errorUtils/logAuthError.mjs +8 -0
  323. package/dist/libraries/react/errorUtils/logFetchError.d.mts +8 -0
  324. package/dist/libraries/react/errorUtils/logFetchError.d.ts +8 -0
  325. package/dist/libraries/react/errorUtils/logFetchError.js +42 -0
  326. package/dist/libraries/react/errorUtils/logFetchError.mjs +8 -0
  327. package/dist/libraries/react/eventTypes-5iJYcv30.d.mts +26 -0
  328. package/dist/libraries/react/eventTypes-5iJYcv30.d.ts +26 -0
  329. package/dist/libraries/react/genTypes-BouhbtKm.d.ts +24 -0
  330. package/dist/libraries/react/genTypes-DT5O0rCP.d.mts +24 -0
  331. package/dist/libraries/react/hooks/helpers/handleCheck.d.mts +34 -0
  332. package/dist/libraries/react/hooks/helpers/handleCheck.d.ts +34 -0
  333. package/dist/libraries/react/hooks/helpers/handleCheck.js +1917 -0
  334. package/dist/libraries/react/hooks/helpers/handleCheck.mjs +11 -0
  335. package/dist/libraries/react/hooks/helpers/useAutumnBase.d.mts +32 -0
  336. package/dist/libraries/react/hooks/helpers/useAutumnBase.d.ts +32 -0
  337. package/dist/libraries/react/hooks/helpers/useAutumnBase.js +2115 -0
  338. package/dist/libraries/react/hooks/helpers/useAutumnBase.mjs +10 -0
  339. package/dist/libraries/react/hooks/helpers/useDialog.d.mts +3 -0
  340. package/dist/libraries/react/hooks/helpers/useDialog.d.ts +3 -0
  341. package/dist/libraries/react/hooks/helpers/useDialog.js +44 -0
  342. package/dist/libraries/react/hooks/helpers/useDialog.mjs +8 -0
  343. package/dist/libraries/react/hooks/useAggregateEvents.d.mts +20 -0
  344. package/dist/libraries/react/hooks/useAggregateEvents.d.ts +20 -0
  345. package/dist/libraries/react/hooks/useAggregateEvents.js +2216 -0
  346. package/dist/libraries/react/hooks/useAggregateEvents.mjs +19 -0
  347. package/dist/libraries/react/hooks/useAnalytics.d.mts +21 -0
  348. package/dist/libraries/react/hooks/useAnalytics.d.ts +21 -0
  349. package/dist/libraries/react/hooks/useAnalytics.js +2201 -0
  350. package/dist/libraries/react/hooks/useAnalytics.mjs +19 -0
  351. package/dist/libraries/react/hooks/useCustomer.d.mts +89 -0
  352. package/dist/libraries/react/hooks/useCustomer.d.ts +89 -0
  353. package/dist/libraries/react/hooks/useCustomer.js +2738 -0
  354. package/dist/libraries/react/hooks/useCustomer.mjs +23 -0
  355. package/dist/libraries/react/hooks/useCustomerBase.d.mts +91 -0
  356. package/dist/libraries/react/hooks/useCustomerBase.d.ts +91 -0
  357. package/dist/libraries/react/hooks/useCustomerBase.js +2728 -0
  358. package/dist/libraries/react/hooks/useCustomerBase.mjs +22 -0
  359. package/dist/libraries/react/hooks/useEntity.d.mts +30 -0
  360. package/dist/libraries/react/hooks/useEntity.d.ts +30 -0
  361. package/dist/libraries/react/hooks/useEntity.js +2740 -0
  362. package/dist/libraries/react/hooks/useEntity.mjs +23 -0
  363. package/dist/libraries/react/hooks/useEntityBase.d.mts +39 -0
  364. package/dist/libraries/react/hooks/useEntityBase.d.ts +39 -0
  365. package/dist/libraries/react/hooks/useEntityBase.js +2732 -0
  366. package/dist/libraries/react/hooks/useEntityBase.mjs +22 -0
  367. package/dist/libraries/react/hooks/useListEvents.d.mts +43 -0
  368. package/dist/libraries/react/hooks/useListEvents.d.ts +43 -0
  369. package/dist/libraries/react/hooks/useListEvents.js +2238 -0
  370. package/dist/libraries/react/hooks/useListEvents.mjs +19 -0
  371. package/dist/libraries/react/hooks/usePaywall.d.mts +13 -0
  372. package/dist/libraries/react/hooks/usePaywall.d.ts +13 -0
  373. package/dist/libraries/react/hooks/usePaywall.js +2194 -0
  374. package/dist/libraries/react/hooks/usePaywall.mjs +19 -0
  375. package/dist/libraries/react/hooks/usePricingTable.d.mts +15 -0
  376. package/dist/libraries/react/hooks/usePricingTable.d.ts +15 -0
  377. package/dist/libraries/react/hooks/usePricingTable.js +2363 -0
  378. package/dist/libraries/react/hooks/usePricingTable.mjs +20 -0
  379. package/dist/libraries/react/hooks/usePricingTableBase.d.mts +25 -0
  380. package/dist/libraries/react/hooks/usePricingTableBase.d.ts +25 -0
  381. package/dist/libraries/react/hooks/usePricingTableBase.js +1957 -0
  382. package/dist/libraries/react/hooks/usePricingTableBase.mjs +9 -0
  383. package/dist/libraries/react/hooks/useProductsBase.d.mts +19 -0
  384. package/dist/libraries/react/hooks/useProductsBase.d.ts +19 -0
  385. package/dist/libraries/react/hooks/useProductsBase.js +55 -0
  386. package/dist/libraries/react/hooks/useProductsBase.mjs +21 -0
  387. package/dist/libraries/react/index.d.mts +951 -0
  388. package/dist/libraries/react/index.d.ts +951 -0
  389. package/dist/libraries/react/index.js +12709 -0
  390. package/dist/libraries/react/index.mjs +12662 -0
  391. package/dist/libraries/react/lib/utils.d.mts +5 -0
  392. package/dist/libraries/react/lib/utils.d.ts +5 -0
  393. package/dist/libraries/react/lib/utils.js +2556 -0
  394. package/dist/libraries/react/lib/utils.mjs +8 -0
  395. package/dist/libraries/react/prodTypes-C4aZSZfO.d.mts +171 -0
  396. package/dist/libraries/react/prodTypes-C4aZSZfO.d.ts +171 -0
  397. package/dist/libraries/react/utils/compareParams.d.mts +3 -0
  398. package/dist/libraries/react/utils/compareParams.d.ts +3 -0
  399. package/dist/libraries/react/utils/compareParams.js +47 -0
  400. package/dist/libraries/react/utils/compareParams.mjs +23 -0
  401. package/dist/libraries/react/utils/errorUtils.d.mts +20 -0
  402. package/dist/libraries/react/utils/errorUtils.d.ts +20 -0
  403. package/dist/libraries/react/utils/errorUtils.js +61 -0
  404. package/dist/libraries/react/utils/errorUtils.mjs +36 -0
  405. package/dist/libraries/react/utils/inject-styles.d.mts +4 -0
  406. package/dist/libraries/react/utils/inject-styles.d.ts +4 -0
  407. package/dist/libraries/react/utils/inject-styles.js +61 -0
  408. package/dist/libraries/react/utils/inject-styles.mjs +10 -0
  409. package/dist/next/AutumnProvider.d.mts +30 -0
  410. package/dist/next/AutumnProvider.d.ts +30 -0
  411. package/dist/next/AutumnProvider.js +68 -0
  412. package/dist/next/AutumnProvider.mjs +44 -0
  413. package/dist/next/client/AutumnClientProvider.d.mts +2 -0
  414. package/dist/next/client/AutumnClientProvider.d.ts +2 -0
  415. package/dist/next/client/AutumnClientProvider.js +2 -0
  416. package/dist/next/client/AutumnClientProvider.mjs +2 -0
  417. package/dist/next/client/NextAutumnClient.d.mts +375 -0
  418. package/dist/next/client/NextAutumnClient.d.ts +375 -0
  419. package/dist/next/client/NextAutumnClient.js +107 -0
  420. package/dist/next/client/NextAutumnClient.mjs +107 -0
  421. package/dist/next/client/NextAutumnProvider.d.mts +13 -0
  422. package/dist/next/client/NextAutumnProvider.d.ts +13 -0
  423. package/dist/next/client/NextAutumnProvider.js +23 -0
  424. package/dist/next/client/NextAutumnProvider.mjs +23 -0
  425. package/dist/next/client/clientAttachTypes-CZ0FmsbF.d.mts +104 -0
  426. package/dist/next/client/clientAttachTypes-Dczm087t.d.ts +104 -0
  427. package/dist/next/client/clientEntTypes-CeaZbrIq.d.ts +73 -0
  428. package/dist/next/client/clientEntTypes-jltPLNQ5.d.mts +73 -0
  429. package/dist/next/client/clientUtils.d.mts +18 -0
  430. package/dist/next/client/clientUtils.d.ts +18 -0
  431. package/dist/next/client/clientUtils.js +72 -0
  432. package/dist/next/client/clientUtils.mjs +72 -0
  433. package/dist/next/client/cusTypes-BgJmgZt6.d.ts +215 -0
  434. package/dist/next/client/cusTypes-BngiltFz.d.mts +215 -0
  435. package/dist/next/client/error-DHbclCVh.d.mts +17 -0
  436. package/dist/next/client/error-DHbclCVh.d.ts +17 -0
  437. package/dist/next/client/hooks/useAutumn.d.mts +20 -0
  438. package/dist/next/client/hooks/useAutumn.d.ts +20 -0
  439. package/dist/next/client/hooks/useAutumn.js +17 -0
  440. package/dist/next/client/hooks/useAutumn.mjs +17 -0
  441. package/dist/next/client/hooks/useCustomer.d.mts +89 -0
  442. package/dist/next/client/hooks/useCustomer.d.ts +89 -0
  443. package/dist/next/client/hooks/useCustomer.js +15 -0
  444. package/dist/next/client/hooks/useCustomer.mjs +15 -0
  445. package/dist/next/client/hooks/useEntity.d.mts +27 -0
  446. package/dist/next/client/hooks/useEntity.d.ts +27 -0
  447. package/dist/next/client/hooks/useEntity.js +11 -0
  448. package/dist/next/client/hooks/useEntity.mjs +11 -0
  449. package/dist/next/client/hooks/usePricingTable.d.mts +33 -0
  450. package/dist/next/client/hooks/usePricingTable.d.ts +33 -0
  451. package/dist/next/client/hooks/usePricingTable.js +14 -0
  452. package/dist/next/client/hooks/usePricingTable.mjs +14 -0
  453. package/dist/next/client/prodTypes-G6W3NUPg.d.mts +162 -0
  454. package/dist/next/client/prodTypes-G6W3NUPg.d.ts +162 -0
  455. package/dist/next/client/response-CLgEplsF.d.ts +16 -0
  456. package/dist/next/client/response-DKQ_cb7U.d.mts +16 -0
  457. package/dist/next/client/types.d.mts +74 -0
  458. package/dist/next/client/types.d.ts +74 -0
  459. package/dist/next/client/types.js +21 -0
  460. package/dist/next/client/types.mjs +21 -0
  461. package/dist/next/enums.d.mts +5 -0
  462. package/dist/next/enums.d.ts +5 -0
  463. package/dist/next/enums.js +31 -0
  464. package/dist/next/enums.mjs +7 -0
  465. package/dist/next/index.d.mts +19 -0
  466. package/dist/next/index.d.ts +19 -0
  467. package/dist/next/index.js +22 -0
  468. package/dist/next/index.mjs +1 -0
  469. package/dist/next/server/auth/authPlugin.d.mts +13 -0
  470. package/dist/next/server/auth/authPlugin.d.ts +13 -0
  471. package/dist/next/server/auth/authPlugin.js +11 -0
  472. package/dist/next/server/auth/authPlugin.mjs +11 -0
  473. package/dist/next/server/auth/clerk-wrapper.d.mts +3 -0
  474. package/dist/next/server/auth/clerk-wrapper.d.ts +3 -0
  475. package/dist/next/server/auth/clerk-wrapper.js +22 -0
  476. package/dist/next/server/auth/clerk-wrapper.mjs +22 -0
  477. package/dist/next/server/auth/get-next-headers.d.mts +6 -0
  478. package/dist/next/server/auth/get-next-headers.d.ts +6 -0
  479. package/dist/next/server/auth/get-next-headers.js +18 -0
  480. package/dist/next/server/auth/get-next-headers.mjs +18 -0
  481. package/dist/next/server/auth/handleAuthProvider.d.mts +44 -0
  482. package/dist/next/server/auth/handleAuthProvider.d.ts +44 -0
  483. package/dist/next/server/auth/handleAuthProvider.js +179 -0
  484. package/dist/next/server/auth/handleAuthProvider.mjs +179 -0
  485. package/dist/next/server/auth/supabase-wrapper.d.mts +3 -0
  486. package/dist/next/server/auth/supabase-wrapper.d.ts +3 -0
  487. package/dist/next/server/auth/supabase-wrapper.js +45 -0
  488. package/dist/next/server/auth/supabase-wrapper.mjs +45 -0
  489. package/dist/next/server/auth/withNextAuth.d.mts +16 -0
  490. package/dist/next/server/auth/withNextAuth.d.ts +16 -0
  491. package/dist/next/server/auth/withNextAuth.js +42 -0
  492. package/dist/next/server/auth/withNextAuth.mjs +42 -0
  493. package/dist/next/server/componentActions.d.mts +12 -0
  494. package/dist/next/server/componentActions.d.ts +12 -0
  495. package/dist/next/server/componentActions.js +21 -0
  496. package/dist/next/server/componentActions.mjs +21 -0
  497. package/dist/next/server/cusActions.d.mts +1421 -0
  498. package/dist/next/server/cusActions.d.ts +1421 -0
  499. package/dist/next/server/cusActions.js +70 -0
  500. package/dist/next/server/cusActions.mjs +70 -0
  501. package/dist/next/server/cusTypes-C7g7DT5P.d.mts +444 -0
  502. package/dist/next/server/cusTypes-C7g7DT5P.d.ts +444 -0
  503. package/dist/next/server/genActions.d.mts +86 -0
  504. package/dist/next/server/genActions.d.ts +86 -0
  505. package/dist/next/server/genActions.js +90 -0
  506. package/dist/next/server/genActions.mjs +90 -0
  507. package/dist/next/server/response-Bal_cFRb.d.mts +30 -0
  508. package/dist/next/server/response-Bal_cFRb.d.ts +30 -0
  509. package/dist/next/server/utils.d.mts +5 -0
  510. package/dist/next/server/utils.d.ts +5 -0
  511. package/dist/next/server/utils.js +16 -0
  512. package/dist/next/server/utils.mjs +16 -0
  513. package/dist/sdk/index.d.mts +2859 -0
  514. package/dist/sdk/index.d.ts +2859 -0
  515. package/dist/sdk/index.js +1832 -0
  516. package/dist/sdk/index.mjs +1742 -0
  517. package/dist/styles/global.css +1498 -0
  518. package/dist/utils/chunk-EG37DNU2.mjs +40 -0
  519. package/dist/utils/encryptUtils.d.mts +4 -0
  520. package/dist/utils/encryptUtils.d.ts +4 -0
  521. package/dist/utils/encryptUtils.js +1811 -0
  522. package/dist/utils/encryptUtils.mjs +1742 -0
  523. package/dist/utils/entityUtils.d.mts +3 -0
  524. package/dist/utils/entityUtils.d.ts +3 -0
  525. package/dist/utils/entityUtils.js +35 -0
  526. package/dist/utils/entityUtils.mjs +10 -0
  527. package/dist/utils/logger.d.mts +45 -0
  528. package/dist/utils/logger.d.ts +45 -0
  529. package/dist/utils/logger.js +64 -0
  530. package/dist/utils/logger.mjs +6 -0
  531. package/dist/utils/toSnakeCase.d.mts +7 -0
  532. package/dist/utils/toSnakeCase.d.ts +7 -0
  533. package/dist/utils/toSnakeCase.js +64 -0
  534. package/dist/utils/toSnakeCase.mjs +39 -0
  535. package/package.json +201 -0
  536. package/tsup.config.ts +213 -0
@@ -0,0 +1,4880 @@
1
+ "use client";
2
+
3
+ "use strict";
4
+ "use client";
5
+ var __create = Object.create;
6
+ var __defProp = Object.defineProperty;
7
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
8
+ var __getOwnPropNames = Object.getOwnPropertyNames;
9
+ var __getProtoOf = Object.getPrototypeOf;
10
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
11
+ var __export = (target, all) => {
12
+ for (var name in all)
13
+ __defProp(target, name, { get: all[name], enumerable: true });
14
+ };
15
+ var __copyProps = (to, from, except, desc) => {
16
+ if (from && typeof from === "object" || typeof from === "function") {
17
+ for (let key of __getOwnPropNames(from))
18
+ if (!__hasOwnProp.call(to, key) && key !== except)
19
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
20
+ }
21
+ return to;
22
+ };
23
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
24
+ // If the importer is in node compatibility mode or this is not an ESM
25
+ // file that has been converted to a CommonJS file using a Babel-
26
+ // compatible transform (i.e. "__esModule" has not been set), then set
27
+ // "default" to the CommonJS "module.exports" for node compatibility.
28
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
29
+ mod
30
+ ));
31
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
32
+
33
+ // src/libraries/react/components/ui/dialog.tsx
34
+ var dialog_exports = {};
35
+ __export(dialog_exports, {
36
+ Dialog: () => Dialog2,
37
+ DialogClose: () => DialogClose2,
38
+ DialogContent: () => DialogContent2,
39
+ DialogDescription: () => DialogDescription2,
40
+ DialogFooter: () => DialogFooter,
41
+ DialogHeader: () => DialogHeader,
42
+ DialogOverlay: () => DialogOverlay2,
43
+ DialogPortal: () => DialogPortal2,
44
+ DialogTitle: () => DialogTitle2,
45
+ DialogTrigger: () => DialogTrigger2
46
+ });
47
+ module.exports = __toCommonJS(dialog_exports);
48
+ var React25 = __toESM(require("react"));
49
+
50
+ // ../node_modules/.pnpm/@radix-ui+react-dialog@1.1.14_@types+react-dom@19.2.3_@types+react@19.1.10__@types+reac_3a07165b274db87b4246f37627276027/node_modules/@radix-ui/react-dialog/dist/index.mjs
51
+ var React24 = __toESM(require("react"), 1);
52
+
53
+ // ../node_modules/.pnpm/@radix-ui+primitive@1.1.2/node_modules/@radix-ui/primitive/dist/index.mjs
54
+ function composeEventHandlers(originalEventHandler, ourEventHandler, { checkForDefaultPrevented = true } = {}) {
55
+ return function handleEvent(event) {
56
+ originalEventHandler?.(event);
57
+ if (checkForDefaultPrevented === false || !event.defaultPrevented) {
58
+ return ourEventHandler?.(event);
59
+ }
60
+ };
61
+ }
62
+
63
+ // ../node_modules/.pnpm/@radix-ui+react-compose-refs@1.1.2_@types+react@19.1.10_react@19.2.3/node_modules/@radix-ui/react-compose-refs/dist/index.mjs
64
+ var React = __toESM(require("react"), 1);
65
+ function setRef(ref, value) {
66
+ if (typeof ref === "function") {
67
+ return ref(value);
68
+ } else if (ref !== null && ref !== void 0) {
69
+ ref.current = value;
70
+ }
71
+ }
72
+ function composeRefs(...refs) {
73
+ return (node) => {
74
+ let hasCleanup = false;
75
+ const cleanups = refs.map((ref) => {
76
+ const cleanup = setRef(ref, node);
77
+ if (!hasCleanup && typeof cleanup == "function") {
78
+ hasCleanup = true;
79
+ }
80
+ return cleanup;
81
+ });
82
+ if (hasCleanup) {
83
+ return () => {
84
+ for (let i = 0; i < cleanups.length; i++) {
85
+ const cleanup = cleanups[i];
86
+ if (typeof cleanup == "function") {
87
+ cleanup();
88
+ } else {
89
+ setRef(refs[i], null);
90
+ }
91
+ }
92
+ };
93
+ }
94
+ };
95
+ }
96
+ function useComposedRefs(...refs) {
97
+ return React.useCallback(composeRefs(...refs), refs);
98
+ }
99
+
100
+ // ../node_modules/.pnpm/@radix-ui+react-context@1.1.2_@types+react@19.1.10_react@19.2.3/node_modules/@radix-ui/react-context/dist/index.mjs
101
+ var React2 = __toESM(require("react"), 1);
102
+ var import_jsx_runtime = require("react/jsx-runtime");
103
+ function createContext2(rootComponentName, defaultContext) {
104
+ const Context = React2.createContext(defaultContext);
105
+ const Provider = (props) => {
106
+ const { children, ...context } = props;
107
+ const value = React2.useMemo(() => context, Object.values(context));
108
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Context.Provider, { value, children });
109
+ };
110
+ Provider.displayName = rootComponentName + "Provider";
111
+ function useContext22(consumerName) {
112
+ const context = React2.useContext(Context);
113
+ if (context) return context;
114
+ if (defaultContext !== void 0) return defaultContext;
115
+ throw new Error(`\`${consumerName}\` must be used within \`${rootComponentName}\``);
116
+ }
117
+ return [Provider, useContext22];
118
+ }
119
+ function createContextScope(scopeName, createContextScopeDeps = []) {
120
+ let defaultContexts = [];
121
+ function createContext32(rootComponentName, defaultContext) {
122
+ const BaseContext = React2.createContext(defaultContext);
123
+ const index = defaultContexts.length;
124
+ defaultContexts = [...defaultContexts, defaultContext];
125
+ const Provider = (props) => {
126
+ const { scope, children, ...context } = props;
127
+ const Context = scope?.[scopeName]?.[index] || BaseContext;
128
+ const value = React2.useMemo(() => context, Object.values(context));
129
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Context.Provider, { value, children });
130
+ };
131
+ Provider.displayName = rootComponentName + "Provider";
132
+ function useContext22(consumerName, scope) {
133
+ const Context = scope?.[scopeName]?.[index] || BaseContext;
134
+ const context = React2.useContext(Context);
135
+ if (context) return context;
136
+ if (defaultContext !== void 0) return defaultContext;
137
+ throw new Error(`\`${consumerName}\` must be used within \`${rootComponentName}\``);
138
+ }
139
+ return [Provider, useContext22];
140
+ }
141
+ const createScope = () => {
142
+ const scopeContexts = defaultContexts.map((defaultContext) => {
143
+ return React2.createContext(defaultContext);
144
+ });
145
+ return function useScope(scope) {
146
+ const contexts = scope?.[scopeName] || scopeContexts;
147
+ return React2.useMemo(
148
+ () => ({ [`__scope${scopeName}`]: { ...scope, [scopeName]: contexts } }),
149
+ [scope, contexts]
150
+ );
151
+ };
152
+ };
153
+ createScope.scopeName = scopeName;
154
+ return [createContext32, composeContextScopes(createScope, ...createContextScopeDeps)];
155
+ }
156
+ function composeContextScopes(...scopes) {
157
+ const baseScope = scopes[0];
158
+ if (scopes.length === 1) return baseScope;
159
+ const createScope = () => {
160
+ const scopeHooks = scopes.map((createScope2) => ({
161
+ useScope: createScope2(),
162
+ scopeName: createScope2.scopeName
163
+ }));
164
+ return function useComposedScopes(overrideScopes) {
165
+ const nextScopes = scopeHooks.reduce((nextScopes2, { useScope, scopeName }) => {
166
+ const scopeProps = useScope(overrideScopes);
167
+ const currentScope = scopeProps[`__scope${scopeName}`];
168
+ return { ...nextScopes2, ...currentScope };
169
+ }, {});
170
+ return React2.useMemo(() => ({ [`__scope${baseScope.scopeName}`]: nextScopes }), [nextScopes]);
171
+ };
172
+ };
173
+ createScope.scopeName = baseScope.scopeName;
174
+ return createScope;
175
+ }
176
+
177
+ // ../node_modules/.pnpm/@radix-ui+react-id@1.1.1_@types+react@19.1.10_react@19.2.3/node_modules/@radix-ui/react-id/dist/index.mjs
178
+ var React4 = __toESM(require("react"), 1);
179
+
180
+ // ../node_modules/.pnpm/@radix-ui+react-use-layout-effect@1.1.1_@types+react@19.1.10_react@19.2.3/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs
181
+ var React3 = __toESM(require("react"), 1);
182
+ var useLayoutEffect2 = globalThis?.document ? React3.useLayoutEffect : () => {
183
+ };
184
+
185
+ // ../node_modules/.pnpm/@radix-ui+react-id@1.1.1_@types+react@19.1.10_react@19.2.3/node_modules/@radix-ui/react-id/dist/index.mjs
186
+ var useReactId = React4[" useId ".trim().toString()] || (() => void 0);
187
+ var count = 0;
188
+ function useId(deterministicId) {
189
+ const [id, setId] = React4.useState(useReactId());
190
+ useLayoutEffect2(() => {
191
+ if (!deterministicId) setId((reactId) => reactId ?? String(count++));
192
+ }, [deterministicId]);
193
+ return deterministicId || (id ? `radix-${id}` : "");
194
+ }
195
+
196
+ // ../node_modules/.pnpm/@radix-ui+react-use-controllable-state@1.2.2_@types+react@19.1.10_react@19.2.3/node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs
197
+ var React5 = __toESM(require("react"), 1);
198
+ var React22 = __toESM(require("react"), 1);
199
+ var useInsertionEffect = React5[" useInsertionEffect ".trim().toString()] || useLayoutEffect2;
200
+ function useControllableState({
201
+ prop,
202
+ defaultProp,
203
+ onChange = () => {
204
+ },
205
+ caller
206
+ }) {
207
+ const [uncontrolledProp, setUncontrolledProp, onChangeRef] = useUncontrolledState({
208
+ defaultProp,
209
+ onChange
210
+ });
211
+ const isControlled = prop !== void 0;
212
+ const value = isControlled ? prop : uncontrolledProp;
213
+ if (true) {
214
+ const isControlledRef = React5.useRef(prop !== void 0);
215
+ React5.useEffect(() => {
216
+ const wasControlled = isControlledRef.current;
217
+ if (wasControlled !== isControlled) {
218
+ const from = wasControlled ? "controlled" : "uncontrolled";
219
+ const to = isControlled ? "controlled" : "uncontrolled";
220
+ console.warn(
221
+ `${caller} is changing from ${from} to ${to}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`
222
+ );
223
+ }
224
+ isControlledRef.current = isControlled;
225
+ }, [isControlled, caller]);
226
+ }
227
+ const setValue = React5.useCallback(
228
+ (nextValue) => {
229
+ if (isControlled) {
230
+ const value2 = isFunction(nextValue) ? nextValue(prop) : nextValue;
231
+ if (value2 !== prop) {
232
+ onChangeRef.current?.(value2);
233
+ }
234
+ } else {
235
+ setUncontrolledProp(nextValue);
236
+ }
237
+ },
238
+ [isControlled, prop, setUncontrolledProp, onChangeRef]
239
+ );
240
+ return [value, setValue];
241
+ }
242
+ function useUncontrolledState({
243
+ defaultProp,
244
+ onChange
245
+ }) {
246
+ const [value, setValue] = React5.useState(defaultProp);
247
+ const prevValueRef = React5.useRef(value);
248
+ const onChangeRef = React5.useRef(onChange);
249
+ useInsertionEffect(() => {
250
+ onChangeRef.current = onChange;
251
+ }, [onChange]);
252
+ React5.useEffect(() => {
253
+ if (prevValueRef.current !== value) {
254
+ onChangeRef.current?.(value);
255
+ prevValueRef.current = value;
256
+ }
257
+ }, [value, prevValueRef]);
258
+ return [value, setValue, onChangeRef];
259
+ }
260
+ function isFunction(value) {
261
+ return typeof value === "function";
262
+ }
263
+ var SYNC_STATE = Symbol("RADIX:SYNC_STATE");
264
+
265
+ // ../node_modules/.pnpm/@radix-ui+react-dismissable-layer@1.1.10_@types+react-dom@19.2.3_@types+react@19.1.10___a75ae06ee9e29285ce19390aace95a02/node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs
266
+ var React10 = __toESM(require("react"), 1);
267
+
268
+ // ../node_modules/.pnpm/@radix-ui+react-primitive@2.1.3_@types+react-dom@19.2.3_@types+react@19.1.10__@types+re_f8fc61f39a09b99c4b88664f4d20e190/node_modules/@radix-ui/react-primitive/dist/index.mjs
269
+ var React7 = __toESM(require("react"), 1);
270
+ var ReactDOM = __toESM(require("react-dom"), 1);
271
+
272
+ // ../node_modules/.pnpm/@radix-ui+react-slot@1.2.3_@types+react@19.1.10_react@19.2.3/node_modules/@radix-ui/react-slot/dist/index.mjs
273
+ var React6 = __toESM(require("react"), 1);
274
+ var import_jsx_runtime2 = require("react/jsx-runtime");
275
+ // @__NO_SIDE_EFFECTS__
276
+ function createSlot(ownerName) {
277
+ const SlotClone = /* @__PURE__ */ createSlotClone(ownerName);
278
+ const Slot2 = React6.forwardRef((props, forwardedRef) => {
279
+ const { children, ...slotProps } = props;
280
+ const childrenArray = React6.Children.toArray(children);
281
+ const slottable = childrenArray.find(isSlottable);
282
+ if (slottable) {
283
+ const newElement = slottable.props.children;
284
+ const newChildren = childrenArray.map((child) => {
285
+ if (child === slottable) {
286
+ if (React6.Children.count(newElement) > 1) return React6.Children.only(null);
287
+ return React6.isValidElement(newElement) ? newElement.props.children : null;
288
+ } else {
289
+ return child;
290
+ }
291
+ });
292
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(SlotClone, { ...slotProps, ref: forwardedRef, children: React6.isValidElement(newElement) ? React6.cloneElement(newElement, void 0, newChildren) : null });
293
+ }
294
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(SlotClone, { ...slotProps, ref: forwardedRef, children });
295
+ });
296
+ Slot2.displayName = `${ownerName}.Slot`;
297
+ return Slot2;
298
+ }
299
+ // @__NO_SIDE_EFFECTS__
300
+ function createSlotClone(ownerName) {
301
+ const SlotClone = React6.forwardRef((props, forwardedRef) => {
302
+ const { children, ...slotProps } = props;
303
+ if (React6.isValidElement(children)) {
304
+ const childrenRef = getElementRef(children);
305
+ const props2 = mergeProps(slotProps, children.props);
306
+ if (children.type !== React6.Fragment) {
307
+ props2.ref = forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef;
308
+ }
309
+ return React6.cloneElement(children, props2);
310
+ }
311
+ return React6.Children.count(children) > 1 ? React6.Children.only(null) : null;
312
+ });
313
+ SlotClone.displayName = `${ownerName}.SlotClone`;
314
+ return SlotClone;
315
+ }
316
+ var SLOTTABLE_IDENTIFIER = Symbol("radix.slottable");
317
+ function isSlottable(child) {
318
+ return React6.isValidElement(child) && typeof child.type === "function" && "__radixId" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER;
319
+ }
320
+ function mergeProps(slotProps, childProps) {
321
+ const overrideProps = { ...childProps };
322
+ for (const propName in childProps) {
323
+ const slotPropValue = slotProps[propName];
324
+ const childPropValue = childProps[propName];
325
+ const isHandler = /^on[A-Z]/.test(propName);
326
+ if (isHandler) {
327
+ if (slotPropValue && childPropValue) {
328
+ overrideProps[propName] = (...args) => {
329
+ const result = childPropValue(...args);
330
+ slotPropValue(...args);
331
+ return result;
332
+ };
333
+ } else if (slotPropValue) {
334
+ overrideProps[propName] = slotPropValue;
335
+ }
336
+ } else if (propName === "style") {
337
+ overrideProps[propName] = { ...slotPropValue, ...childPropValue };
338
+ } else if (propName === "className") {
339
+ overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(" ");
340
+ }
341
+ }
342
+ return { ...slotProps, ...overrideProps };
343
+ }
344
+ function getElementRef(element) {
345
+ let getter = Object.getOwnPropertyDescriptor(element.props, "ref")?.get;
346
+ let mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning;
347
+ if (mayWarn) {
348
+ return element.ref;
349
+ }
350
+ getter = Object.getOwnPropertyDescriptor(element, "ref")?.get;
351
+ mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning;
352
+ if (mayWarn) {
353
+ return element.props.ref;
354
+ }
355
+ return element.props.ref || element.ref;
356
+ }
357
+
358
+ // ../node_modules/.pnpm/@radix-ui+react-primitive@2.1.3_@types+react-dom@19.2.3_@types+react@19.1.10__@types+re_f8fc61f39a09b99c4b88664f4d20e190/node_modules/@radix-ui/react-primitive/dist/index.mjs
359
+ var import_jsx_runtime3 = require("react/jsx-runtime");
360
+ var NODES = [
361
+ "a",
362
+ "button",
363
+ "div",
364
+ "form",
365
+ "h2",
366
+ "h3",
367
+ "img",
368
+ "input",
369
+ "label",
370
+ "li",
371
+ "nav",
372
+ "ol",
373
+ "p",
374
+ "select",
375
+ "span",
376
+ "svg",
377
+ "ul"
378
+ ];
379
+ var Primitive = NODES.reduce((primitive, node) => {
380
+ const Slot2 = createSlot(`Primitive.${node}`);
381
+ const Node2 = React7.forwardRef((props, forwardedRef) => {
382
+ const { asChild, ...primitiveProps } = props;
383
+ const Comp = asChild ? Slot2 : node;
384
+ if (typeof window !== "undefined") {
385
+ window[Symbol.for("radix-ui")] = true;
386
+ }
387
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Comp, { ...primitiveProps, ref: forwardedRef });
388
+ });
389
+ Node2.displayName = `Primitive.${node}`;
390
+ return { ...primitive, [node]: Node2 };
391
+ }, {});
392
+ function dispatchDiscreteCustomEvent(target, event) {
393
+ if (target) ReactDOM.flushSync(() => target.dispatchEvent(event));
394
+ }
395
+
396
+ // ../node_modules/.pnpm/@radix-ui+react-use-callback-ref@1.1.1_@types+react@19.1.10_react@19.2.3/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs
397
+ var React8 = __toESM(require("react"), 1);
398
+ function useCallbackRef(callback) {
399
+ const callbackRef = React8.useRef(callback);
400
+ React8.useEffect(() => {
401
+ callbackRef.current = callback;
402
+ });
403
+ return React8.useMemo(() => (...args) => callbackRef.current?.(...args), []);
404
+ }
405
+
406
+ // ../node_modules/.pnpm/@radix-ui+react-use-escape-keydown@1.1.1_@types+react@19.1.10_react@19.2.3/node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs
407
+ var React9 = __toESM(require("react"), 1);
408
+ function useEscapeKeydown(onEscapeKeyDownProp, ownerDocument = globalThis?.document) {
409
+ const onEscapeKeyDown = useCallbackRef(onEscapeKeyDownProp);
410
+ React9.useEffect(() => {
411
+ const handleKeyDown = (event) => {
412
+ if (event.key === "Escape") {
413
+ onEscapeKeyDown(event);
414
+ }
415
+ };
416
+ ownerDocument.addEventListener("keydown", handleKeyDown, { capture: true });
417
+ return () => ownerDocument.removeEventListener("keydown", handleKeyDown, { capture: true });
418
+ }, [onEscapeKeyDown, ownerDocument]);
419
+ }
420
+
421
+ // ../node_modules/.pnpm/@radix-ui+react-dismissable-layer@1.1.10_@types+react-dom@19.2.3_@types+react@19.1.10___a75ae06ee9e29285ce19390aace95a02/node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs
422
+ var import_jsx_runtime4 = require("react/jsx-runtime");
423
+ var DISMISSABLE_LAYER_NAME = "DismissableLayer";
424
+ var CONTEXT_UPDATE = "dismissableLayer.update";
425
+ var POINTER_DOWN_OUTSIDE = "dismissableLayer.pointerDownOutside";
426
+ var FOCUS_OUTSIDE = "dismissableLayer.focusOutside";
427
+ var originalBodyPointerEvents;
428
+ var DismissableLayerContext = React10.createContext({
429
+ layers: /* @__PURE__ */ new Set(),
430
+ layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
431
+ branches: /* @__PURE__ */ new Set()
432
+ });
433
+ var DismissableLayer = React10.forwardRef(
434
+ (props, forwardedRef) => {
435
+ const {
436
+ disableOutsidePointerEvents = false,
437
+ onEscapeKeyDown,
438
+ onPointerDownOutside,
439
+ onFocusOutside,
440
+ onInteractOutside,
441
+ onDismiss,
442
+ ...layerProps
443
+ } = props;
444
+ const context = React10.useContext(DismissableLayerContext);
445
+ const [node, setNode] = React10.useState(null);
446
+ const ownerDocument = node?.ownerDocument ?? globalThis?.document;
447
+ const [, force] = React10.useState({});
448
+ const composedRefs = useComposedRefs(forwardedRef, (node2) => setNode(node2));
449
+ const layers = Array.from(context.layers);
450
+ const [highestLayerWithOutsidePointerEventsDisabled] = [...context.layersWithOutsidePointerEventsDisabled].slice(-1);
451
+ const highestLayerWithOutsidePointerEventsDisabledIndex = layers.indexOf(highestLayerWithOutsidePointerEventsDisabled);
452
+ const index = node ? layers.indexOf(node) : -1;
453
+ const isBodyPointerEventsDisabled = context.layersWithOutsidePointerEventsDisabled.size > 0;
454
+ const isPointerEventsEnabled = index >= highestLayerWithOutsidePointerEventsDisabledIndex;
455
+ const pointerDownOutside = usePointerDownOutside((event) => {
456
+ const target = event.target;
457
+ const isPointerDownOnBranch = [...context.branches].some((branch) => branch.contains(target));
458
+ if (!isPointerEventsEnabled || isPointerDownOnBranch) return;
459
+ onPointerDownOutside?.(event);
460
+ onInteractOutside?.(event);
461
+ if (!event.defaultPrevented) onDismiss?.();
462
+ }, ownerDocument);
463
+ const focusOutside = useFocusOutside((event) => {
464
+ const target = event.target;
465
+ const isFocusInBranch = [...context.branches].some((branch) => branch.contains(target));
466
+ if (isFocusInBranch) return;
467
+ onFocusOutside?.(event);
468
+ onInteractOutside?.(event);
469
+ if (!event.defaultPrevented) onDismiss?.();
470
+ }, ownerDocument);
471
+ useEscapeKeydown((event) => {
472
+ const isHighestLayer = index === context.layers.size - 1;
473
+ if (!isHighestLayer) return;
474
+ onEscapeKeyDown?.(event);
475
+ if (!event.defaultPrevented && onDismiss) {
476
+ event.preventDefault();
477
+ onDismiss();
478
+ }
479
+ }, ownerDocument);
480
+ React10.useEffect(() => {
481
+ if (!node) return;
482
+ if (disableOutsidePointerEvents) {
483
+ if (context.layersWithOutsidePointerEventsDisabled.size === 0) {
484
+ originalBodyPointerEvents = ownerDocument.body.style.pointerEvents;
485
+ ownerDocument.body.style.pointerEvents = "none";
486
+ }
487
+ context.layersWithOutsidePointerEventsDisabled.add(node);
488
+ }
489
+ context.layers.add(node);
490
+ dispatchUpdate();
491
+ return () => {
492
+ if (disableOutsidePointerEvents && context.layersWithOutsidePointerEventsDisabled.size === 1) {
493
+ ownerDocument.body.style.pointerEvents = originalBodyPointerEvents;
494
+ }
495
+ };
496
+ }, [node, ownerDocument, disableOutsidePointerEvents, context]);
497
+ React10.useEffect(() => {
498
+ return () => {
499
+ if (!node) return;
500
+ context.layers.delete(node);
501
+ context.layersWithOutsidePointerEventsDisabled.delete(node);
502
+ dispatchUpdate();
503
+ };
504
+ }, [node, context]);
505
+ React10.useEffect(() => {
506
+ const handleUpdate = () => force({});
507
+ document.addEventListener(CONTEXT_UPDATE, handleUpdate);
508
+ return () => document.removeEventListener(CONTEXT_UPDATE, handleUpdate);
509
+ }, []);
510
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
511
+ Primitive.div,
512
+ {
513
+ ...layerProps,
514
+ ref: composedRefs,
515
+ style: {
516
+ pointerEvents: isBodyPointerEventsDisabled ? isPointerEventsEnabled ? "auto" : "none" : void 0,
517
+ ...props.style
518
+ },
519
+ onFocusCapture: composeEventHandlers(props.onFocusCapture, focusOutside.onFocusCapture),
520
+ onBlurCapture: composeEventHandlers(props.onBlurCapture, focusOutside.onBlurCapture),
521
+ onPointerDownCapture: composeEventHandlers(
522
+ props.onPointerDownCapture,
523
+ pointerDownOutside.onPointerDownCapture
524
+ )
525
+ }
526
+ );
527
+ }
528
+ );
529
+ DismissableLayer.displayName = DISMISSABLE_LAYER_NAME;
530
+ var BRANCH_NAME = "DismissableLayerBranch";
531
+ var DismissableLayerBranch = React10.forwardRef((props, forwardedRef) => {
532
+ const context = React10.useContext(DismissableLayerContext);
533
+ const ref = React10.useRef(null);
534
+ const composedRefs = useComposedRefs(forwardedRef, ref);
535
+ React10.useEffect(() => {
536
+ const node = ref.current;
537
+ if (node) {
538
+ context.branches.add(node);
539
+ return () => {
540
+ context.branches.delete(node);
541
+ };
542
+ }
543
+ }, [context.branches]);
544
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Primitive.div, { ...props, ref: composedRefs });
545
+ });
546
+ DismissableLayerBranch.displayName = BRANCH_NAME;
547
+ function usePointerDownOutside(onPointerDownOutside, ownerDocument = globalThis?.document) {
548
+ const handlePointerDownOutside = useCallbackRef(onPointerDownOutside);
549
+ const isPointerInsideReactTreeRef = React10.useRef(false);
550
+ const handleClickRef = React10.useRef(() => {
551
+ });
552
+ React10.useEffect(() => {
553
+ const handlePointerDown = (event) => {
554
+ if (event.target && !isPointerInsideReactTreeRef.current) {
555
+ let handleAndDispatchPointerDownOutsideEvent2 = function() {
556
+ handleAndDispatchCustomEvent(
557
+ POINTER_DOWN_OUTSIDE,
558
+ handlePointerDownOutside,
559
+ eventDetail,
560
+ { discrete: true }
561
+ );
562
+ };
563
+ var handleAndDispatchPointerDownOutsideEvent = handleAndDispatchPointerDownOutsideEvent2;
564
+ const eventDetail = { originalEvent: event };
565
+ if (event.pointerType === "touch") {
566
+ ownerDocument.removeEventListener("click", handleClickRef.current);
567
+ handleClickRef.current = handleAndDispatchPointerDownOutsideEvent2;
568
+ ownerDocument.addEventListener("click", handleClickRef.current, { once: true });
569
+ } else {
570
+ handleAndDispatchPointerDownOutsideEvent2();
571
+ }
572
+ } else {
573
+ ownerDocument.removeEventListener("click", handleClickRef.current);
574
+ }
575
+ isPointerInsideReactTreeRef.current = false;
576
+ };
577
+ const timerId = window.setTimeout(() => {
578
+ ownerDocument.addEventListener("pointerdown", handlePointerDown);
579
+ }, 0);
580
+ return () => {
581
+ window.clearTimeout(timerId);
582
+ ownerDocument.removeEventListener("pointerdown", handlePointerDown);
583
+ ownerDocument.removeEventListener("click", handleClickRef.current);
584
+ };
585
+ }, [ownerDocument, handlePointerDownOutside]);
586
+ return {
587
+ // ensures we check React component tree (not just DOM tree)
588
+ onPointerDownCapture: () => isPointerInsideReactTreeRef.current = true
589
+ };
590
+ }
591
+ function useFocusOutside(onFocusOutside, ownerDocument = globalThis?.document) {
592
+ const handleFocusOutside = useCallbackRef(onFocusOutside);
593
+ const isFocusInsideReactTreeRef = React10.useRef(false);
594
+ React10.useEffect(() => {
595
+ const handleFocus = (event) => {
596
+ if (event.target && !isFocusInsideReactTreeRef.current) {
597
+ const eventDetail = { originalEvent: event };
598
+ handleAndDispatchCustomEvent(FOCUS_OUTSIDE, handleFocusOutside, eventDetail, {
599
+ discrete: false
600
+ });
601
+ }
602
+ };
603
+ ownerDocument.addEventListener("focusin", handleFocus);
604
+ return () => ownerDocument.removeEventListener("focusin", handleFocus);
605
+ }, [ownerDocument, handleFocusOutside]);
606
+ return {
607
+ onFocusCapture: () => isFocusInsideReactTreeRef.current = true,
608
+ onBlurCapture: () => isFocusInsideReactTreeRef.current = false
609
+ };
610
+ }
611
+ function dispatchUpdate() {
612
+ const event = new CustomEvent(CONTEXT_UPDATE);
613
+ document.dispatchEvent(event);
614
+ }
615
+ function handleAndDispatchCustomEvent(name, handler, detail, { discrete }) {
616
+ const target = detail.originalEvent.target;
617
+ const event = new CustomEvent(name, { bubbles: false, cancelable: true, detail });
618
+ if (handler) target.addEventListener(name, handler, { once: true });
619
+ if (discrete) {
620
+ dispatchDiscreteCustomEvent(target, event);
621
+ } else {
622
+ target.dispatchEvent(event);
623
+ }
624
+ }
625
+
626
+ // ../node_modules/.pnpm/@radix-ui+react-focus-scope@1.1.7_@types+react-dom@19.2.3_@types+react@19.1.10__@types+_5ef8b38ef364f44ea1b47f419e2150cb/node_modules/@radix-ui/react-focus-scope/dist/index.mjs
627
+ var React11 = __toESM(require("react"), 1);
628
+ var import_jsx_runtime5 = require("react/jsx-runtime");
629
+ var AUTOFOCUS_ON_MOUNT = "focusScope.autoFocusOnMount";
630
+ var AUTOFOCUS_ON_UNMOUNT = "focusScope.autoFocusOnUnmount";
631
+ var EVENT_OPTIONS = { bubbles: false, cancelable: true };
632
+ var FOCUS_SCOPE_NAME = "FocusScope";
633
+ var FocusScope = React11.forwardRef((props, forwardedRef) => {
634
+ const {
635
+ loop = false,
636
+ trapped = false,
637
+ onMountAutoFocus: onMountAutoFocusProp,
638
+ onUnmountAutoFocus: onUnmountAutoFocusProp,
639
+ ...scopeProps
640
+ } = props;
641
+ const [container, setContainer] = React11.useState(null);
642
+ const onMountAutoFocus = useCallbackRef(onMountAutoFocusProp);
643
+ const onUnmountAutoFocus = useCallbackRef(onUnmountAutoFocusProp);
644
+ const lastFocusedElementRef = React11.useRef(null);
645
+ const composedRefs = useComposedRefs(forwardedRef, (node) => setContainer(node));
646
+ const focusScope = React11.useRef({
647
+ paused: false,
648
+ pause() {
649
+ this.paused = true;
650
+ },
651
+ resume() {
652
+ this.paused = false;
653
+ }
654
+ }).current;
655
+ React11.useEffect(() => {
656
+ if (trapped) {
657
+ let handleFocusIn2 = function(event) {
658
+ if (focusScope.paused || !container) return;
659
+ const target = event.target;
660
+ if (container.contains(target)) {
661
+ lastFocusedElementRef.current = target;
662
+ } else {
663
+ focus(lastFocusedElementRef.current, { select: true });
664
+ }
665
+ }, handleFocusOut2 = function(event) {
666
+ if (focusScope.paused || !container) return;
667
+ const relatedTarget = event.relatedTarget;
668
+ if (relatedTarget === null) return;
669
+ if (!container.contains(relatedTarget)) {
670
+ focus(lastFocusedElementRef.current, { select: true });
671
+ }
672
+ }, handleMutations2 = function(mutations) {
673
+ const focusedElement = document.activeElement;
674
+ if (focusedElement !== document.body) return;
675
+ for (const mutation of mutations) {
676
+ if (mutation.removedNodes.length > 0) focus(container);
677
+ }
678
+ };
679
+ var handleFocusIn = handleFocusIn2, handleFocusOut = handleFocusOut2, handleMutations = handleMutations2;
680
+ document.addEventListener("focusin", handleFocusIn2);
681
+ document.addEventListener("focusout", handleFocusOut2);
682
+ const mutationObserver = new MutationObserver(handleMutations2);
683
+ if (container) mutationObserver.observe(container, { childList: true, subtree: true });
684
+ return () => {
685
+ document.removeEventListener("focusin", handleFocusIn2);
686
+ document.removeEventListener("focusout", handleFocusOut2);
687
+ mutationObserver.disconnect();
688
+ };
689
+ }
690
+ }, [trapped, container, focusScope.paused]);
691
+ React11.useEffect(() => {
692
+ if (container) {
693
+ focusScopesStack.add(focusScope);
694
+ const previouslyFocusedElement = document.activeElement;
695
+ const hasFocusedCandidate = container.contains(previouslyFocusedElement);
696
+ if (!hasFocusedCandidate) {
697
+ const mountEvent = new CustomEvent(AUTOFOCUS_ON_MOUNT, EVENT_OPTIONS);
698
+ container.addEventListener(AUTOFOCUS_ON_MOUNT, onMountAutoFocus);
699
+ container.dispatchEvent(mountEvent);
700
+ if (!mountEvent.defaultPrevented) {
701
+ focusFirst(removeLinks(getTabbableCandidates(container)), { select: true });
702
+ if (document.activeElement === previouslyFocusedElement) {
703
+ focus(container);
704
+ }
705
+ }
706
+ }
707
+ return () => {
708
+ container.removeEventListener(AUTOFOCUS_ON_MOUNT, onMountAutoFocus);
709
+ setTimeout(() => {
710
+ const unmountEvent = new CustomEvent(AUTOFOCUS_ON_UNMOUNT, EVENT_OPTIONS);
711
+ container.addEventListener(AUTOFOCUS_ON_UNMOUNT, onUnmountAutoFocus);
712
+ container.dispatchEvent(unmountEvent);
713
+ if (!unmountEvent.defaultPrevented) {
714
+ focus(previouslyFocusedElement ?? document.body, { select: true });
715
+ }
716
+ container.removeEventListener(AUTOFOCUS_ON_UNMOUNT, onUnmountAutoFocus);
717
+ focusScopesStack.remove(focusScope);
718
+ }, 0);
719
+ };
720
+ }
721
+ }, [container, onMountAutoFocus, onUnmountAutoFocus, focusScope]);
722
+ const handleKeyDown = React11.useCallback(
723
+ (event) => {
724
+ if (!loop && !trapped) return;
725
+ if (focusScope.paused) return;
726
+ const isTabKey = event.key === "Tab" && !event.altKey && !event.ctrlKey && !event.metaKey;
727
+ const focusedElement = document.activeElement;
728
+ if (isTabKey && focusedElement) {
729
+ const container2 = event.currentTarget;
730
+ const [first, last] = getTabbableEdges(container2);
731
+ const hasTabbableElementsInside = first && last;
732
+ if (!hasTabbableElementsInside) {
733
+ if (focusedElement === container2) event.preventDefault();
734
+ } else {
735
+ if (!event.shiftKey && focusedElement === last) {
736
+ event.preventDefault();
737
+ if (loop) focus(first, { select: true });
738
+ } else if (event.shiftKey && focusedElement === first) {
739
+ event.preventDefault();
740
+ if (loop) focus(last, { select: true });
741
+ }
742
+ }
743
+ }
744
+ },
745
+ [loop, trapped, focusScope.paused]
746
+ );
747
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Primitive.div, { tabIndex: -1, ...scopeProps, ref: composedRefs, onKeyDown: handleKeyDown });
748
+ });
749
+ FocusScope.displayName = FOCUS_SCOPE_NAME;
750
+ function focusFirst(candidates, { select = false } = {}) {
751
+ const previouslyFocusedElement = document.activeElement;
752
+ for (const candidate of candidates) {
753
+ focus(candidate, { select });
754
+ if (document.activeElement !== previouslyFocusedElement) return;
755
+ }
756
+ }
757
+ function getTabbableEdges(container) {
758
+ const candidates = getTabbableCandidates(container);
759
+ const first = findVisible(candidates, container);
760
+ const last = findVisible(candidates.reverse(), container);
761
+ return [first, last];
762
+ }
763
+ function getTabbableCandidates(container) {
764
+ const nodes = [];
765
+ const walker = document.createTreeWalker(container, NodeFilter.SHOW_ELEMENT, {
766
+ acceptNode: (node) => {
767
+ const isHiddenInput = node.tagName === "INPUT" && node.type === "hidden";
768
+ if (node.disabled || node.hidden || isHiddenInput) return NodeFilter.FILTER_SKIP;
769
+ return node.tabIndex >= 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
770
+ }
771
+ });
772
+ while (walker.nextNode()) nodes.push(walker.currentNode);
773
+ return nodes;
774
+ }
775
+ function findVisible(elements, container) {
776
+ for (const element of elements) {
777
+ if (!isHidden(element, { upTo: container })) return element;
778
+ }
779
+ }
780
+ function isHidden(node, { upTo }) {
781
+ if (getComputedStyle(node).visibility === "hidden") return true;
782
+ while (node) {
783
+ if (upTo !== void 0 && node === upTo) return false;
784
+ if (getComputedStyle(node).display === "none") return true;
785
+ node = node.parentElement;
786
+ }
787
+ return false;
788
+ }
789
+ function isSelectableInput(element) {
790
+ return element instanceof HTMLInputElement && "select" in element;
791
+ }
792
+ function focus(element, { select = false } = {}) {
793
+ if (element && element.focus) {
794
+ const previouslyFocusedElement = document.activeElement;
795
+ element.focus({ preventScroll: true });
796
+ if (element !== previouslyFocusedElement && isSelectableInput(element) && select)
797
+ element.select();
798
+ }
799
+ }
800
+ var focusScopesStack = createFocusScopesStack();
801
+ function createFocusScopesStack() {
802
+ let stack = [];
803
+ return {
804
+ add(focusScope) {
805
+ const activeFocusScope = stack[0];
806
+ if (focusScope !== activeFocusScope) {
807
+ activeFocusScope?.pause();
808
+ }
809
+ stack = arrayRemove(stack, focusScope);
810
+ stack.unshift(focusScope);
811
+ },
812
+ remove(focusScope) {
813
+ stack = arrayRemove(stack, focusScope);
814
+ stack[0]?.resume();
815
+ }
816
+ };
817
+ }
818
+ function arrayRemove(array, item) {
819
+ const updatedArray = [...array];
820
+ const index = updatedArray.indexOf(item);
821
+ if (index !== -1) {
822
+ updatedArray.splice(index, 1);
823
+ }
824
+ return updatedArray;
825
+ }
826
+ function removeLinks(items) {
827
+ return items.filter((item) => item.tagName !== "A");
828
+ }
829
+
830
+ // ../node_modules/.pnpm/@radix-ui+react-portal@1.1.9_@types+react-dom@19.2.3_@types+react@19.1.10__@types+react_5524b086c128f0791c9cd7e1892ae36a/node_modules/@radix-ui/react-portal/dist/index.mjs
831
+ var React12 = __toESM(require("react"), 1);
832
+ var import_react_dom = __toESM(require("react-dom"), 1);
833
+ var import_jsx_runtime6 = require("react/jsx-runtime");
834
+ var PORTAL_NAME = "Portal";
835
+ var Portal = React12.forwardRef((props, forwardedRef) => {
836
+ const { container: containerProp, ...portalProps } = props;
837
+ const [mounted, setMounted] = React12.useState(false);
838
+ useLayoutEffect2(() => setMounted(true), []);
839
+ const container = containerProp || mounted && globalThis?.document?.body;
840
+ return container ? import_react_dom.default.createPortal(/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Primitive.div, { ...portalProps, ref: forwardedRef }), container) : null;
841
+ });
842
+ Portal.displayName = PORTAL_NAME;
843
+
844
+ // ../node_modules/.pnpm/@radix-ui+react-presence@1.1.4_@types+react-dom@19.2.3_@types+react@19.1.10__@types+rea_8360ff57be752315af757bc04841172a/node_modules/@radix-ui/react-presence/dist/index.mjs
845
+ var React23 = __toESM(require("react"), 1);
846
+ var React13 = __toESM(require("react"), 1);
847
+ function useStateMachine(initialState, machine) {
848
+ return React13.useReducer((state, event) => {
849
+ const nextState = machine[state][event];
850
+ return nextState ?? state;
851
+ }, initialState);
852
+ }
853
+ var Presence = (props) => {
854
+ const { present, children } = props;
855
+ const presence = usePresence(present);
856
+ const child = typeof children === "function" ? children({ present: presence.isPresent }) : React23.Children.only(children);
857
+ const ref = useComposedRefs(presence.ref, getElementRef2(child));
858
+ const forceMount = typeof children === "function";
859
+ return forceMount || presence.isPresent ? React23.cloneElement(child, { ref }) : null;
860
+ };
861
+ Presence.displayName = "Presence";
862
+ function usePresence(present) {
863
+ const [node, setNode] = React23.useState();
864
+ const stylesRef = React23.useRef(null);
865
+ const prevPresentRef = React23.useRef(present);
866
+ const prevAnimationNameRef = React23.useRef("none");
867
+ const initialState = present ? "mounted" : "unmounted";
868
+ const [state, send] = useStateMachine(initialState, {
869
+ mounted: {
870
+ UNMOUNT: "unmounted",
871
+ ANIMATION_OUT: "unmountSuspended"
872
+ },
873
+ unmountSuspended: {
874
+ MOUNT: "mounted",
875
+ ANIMATION_END: "unmounted"
876
+ },
877
+ unmounted: {
878
+ MOUNT: "mounted"
879
+ }
880
+ });
881
+ React23.useEffect(() => {
882
+ const currentAnimationName = getAnimationName(stylesRef.current);
883
+ prevAnimationNameRef.current = state === "mounted" ? currentAnimationName : "none";
884
+ }, [state]);
885
+ useLayoutEffect2(() => {
886
+ const styles = stylesRef.current;
887
+ const wasPresent = prevPresentRef.current;
888
+ const hasPresentChanged = wasPresent !== present;
889
+ if (hasPresentChanged) {
890
+ const prevAnimationName = prevAnimationNameRef.current;
891
+ const currentAnimationName = getAnimationName(styles);
892
+ if (present) {
893
+ send("MOUNT");
894
+ } else if (currentAnimationName === "none" || styles?.display === "none") {
895
+ send("UNMOUNT");
896
+ } else {
897
+ const isAnimating = prevAnimationName !== currentAnimationName;
898
+ if (wasPresent && isAnimating) {
899
+ send("ANIMATION_OUT");
900
+ } else {
901
+ send("UNMOUNT");
902
+ }
903
+ }
904
+ prevPresentRef.current = present;
905
+ }
906
+ }, [present, send]);
907
+ useLayoutEffect2(() => {
908
+ if (node) {
909
+ let timeoutId;
910
+ const ownerWindow = node.ownerDocument.defaultView ?? window;
911
+ const handleAnimationEnd = (event) => {
912
+ const currentAnimationName = getAnimationName(stylesRef.current);
913
+ const isCurrentAnimation = currentAnimationName.includes(event.animationName);
914
+ if (event.target === node && isCurrentAnimation) {
915
+ send("ANIMATION_END");
916
+ if (!prevPresentRef.current) {
917
+ const currentFillMode = node.style.animationFillMode;
918
+ node.style.animationFillMode = "forwards";
919
+ timeoutId = ownerWindow.setTimeout(() => {
920
+ if (node.style.animationFillMode === "forwards") {
921
+ node.style.animationFillMode = currentFillMode;
922
+ }
923
+ });
924
+ }
925
+ }
926
+ };
927
+ const handleAnimationStart = (event) => {
928
+ if (event.target === node) {
929
+ prevAnimationNameRef.current = getAnimationName(stylesRef.current);
930
+ }
931
+ };
932
+ node.addEventListener("animationstart", handleAnimationStart);
933
+ node.addEventListener("animationcancel", handleAnimationEnd);
934
+ node.addEventListener("animationend", handleAnimationEnd);
935
+ return () => {
936
+ ownerWindow.clearTimeout(timeoutId);
937
+ node.removeEventListener("animationstart", handleAnimationStart);
938
+ node.removeEventListener("animationcancel", handleAnimationEnd);
939
+ node.removeEventListener("animationend", handleAnimationEnd);
940
+ };
941
+ } else {
942
+ send("ANIMATION_END");
943
+ }
944
+ }, [node, send]);
945
+ return {
946
+ isPresent: ["mounted", "unmountSuspended"].includes(state),
947
+ ref: React23.useCallback((node2) => {
948
+ stylesRef.current = node2 ? getComputedStyle(node2) : null;
949
+ setNode(node2);
950
+ }, [])
951
+ };
952
+ }
953
+ function getAnimationName(styles) {
954
+ return styles?.animationName || "none";
955
+ }
956
+ function getElementRef2(element) {
957
+ let getter = Object.getOwnPropertyDescriptor(element.props, "ref")?.get;
958
+ let mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning;
959
+ if (mayWarn) {
960
+ return element.ref;
961
+ }
962
+ getter = Object.getOwnPropertyDescriptor(element, "ref")?.get;
963
+ mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning;
964
+ if (mayWarn) {
965
+ return element.props.ref;
966
+ }
967
+ return element.props.ref || element.ref;
968
+ }
969
+
970
+ // ../node_modules/.pnpm/@radix-ui+react-focus-guards@1.1.2_@types+react@19.1.10_react@19.2.3/node_modules/@radix-ui/react-focus-guards/dist/index.mjs
971
+ var React14 = __toESM(require("react"), 1);
972
+ var count2 = 0;
973
+ function useFocusGuards() {
974
+ React14.useEffect(() => {
975
+ const edgeGuards = document.querySelectorAll("[data-radix-focus-guard]");
976
+ document.body.insertAdjacentElement("afterbegin", edgeGuards[0] ?? createFocusGuard());
977
+ document.body.insertAdjacentElement("beforeend", edgeGuards[1] ?? createFocusGuard());
978
+ count2++;
979
+ return () => {
980
+ if (count2 === 1) {
981
+ document.querySelectorAll("[data-radix-focus-guard]").forEach((node) => node.remove());
982
+ }
983
+ count2--;
984
+ };
985
+ }, []);
986
+ }
987
+ function createFocusGuard() {
988
+ const element = document.createElement("span");
989
+ element.setAttribute("data-radix-focus-guard", "");
990
+ element.tabIndex = 0;
991
+ element.style.outline = "none";
992
+ element.style.opacity = "0";
993
+ element.style.position = "fixed";
994
+ element.style.pointerEvents = "none";
995
+ return element;
996
+ }
997
+
998
+ // ../node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.mjs
999
+ var __assign = function() {
1000
+ __assign = Object.assign || function __assign2(t) {
1001
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
1002
+ s = arguments[i];
1003
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
1004
+ }
1005
+ return t;
1006
+ };
1007
+ return __assign.apply(this, arguments);
1008
+ };
1009
+ function __rest(s, e) {
1010
+ var t = {};
1011
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
1012
+ t[p] = s[p];
1013
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
1014
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
1015
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
1016
+ t[p[i]] = s[p[i]];
1017
+ }
1018
+ return t;
1019
+ }
1020
+ function __spreadArray(to, from, pack) {
1021
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
1022
+ if (ar || !(i in from)) {
1023
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
1024
+ ar[i] = from[i];
1025
+ }
1026
+ }
1027
+ return to.concat(ar || Array.prototype.slice.call(from));
1028
+ }
1029
+
1030
+ // ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@19.1.10_react@19.2.3/node_modules/react-remove-scroll/dist/es2015/Combination.js
1031
+ var React21 = __toESM(require("react"));
1032
+
1033
+ // ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@19.1.10_react@19.2.3/node_modules/react-remove-scroll/dist/es2015/UI.js
1034
+ var React17 = __toESM(require("react"));
1035
+
1036
+ // ../node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types+react@19.1.10_react@19.2.3/node_modules/react-remove-scroll-bar/dist/es2015/constants.js
1037
+ var zeroRightClassName = "right-scroll-bar-position";
1038
+ var fullWidthClassName = "width-before-scroll-bar";
1039
+ var noScrollbarsClassName = "with-scroll-bars-hidden";
1040
+ var removedBarSizeVariable = "--removed-body-scroll-bar-size";
1041
+
1042
+ // ../node_modules/.pnpm/use-callback-ref@1.3.3_@types+react@19.1.10_react@19.2.3/node_modules/use-callback-ref/dist/es2015/assignRef.js
1043
+ function assignRef(ref, value) {
1044
+ if (typeof ref === "function") {
1045
+ ref(value);
1046
+ } else if (ref) {
1047
+ ref.current = value;
1048
+ }
1049
+ return ref;
1050
+ }
1051
+
1052
+ // ../node_modules/.pnpm/use-callback-ref@1.3.3_@types+react@19.1.10_react@19.2.3/node_modules/use-callback-ref/dist/es2015/useRef.js
1053
+ var import_react = require("react");
1054
+ function useCallbackRef2(initialValue, callback) {
1055
+ var ref = (0, import_react.useState)(function() {
1056
+ return {
1057
+ // value
1058
+ value: initialValue,
1059
+ // last callback
1060
+ callback,
1061
+ // "memoized" public interface
1062
+ facade: {
1063
+ get current() {
1064
+ return ref.value;
1065
+ },
1066
+ set current(value) {
1067
+ var last = ref.value;
1068
+ if (last !== value) {
1069
+ ref.value = value;
1070
+ ref.callback(value, last);
1071
+ }
1072
+ }
1073
+ }
1074
+ };
1075
+ })[0];
1076
+ ref.callback = callback;
1077
+ return ref.facade;
1078
+ }
1079
+
1080
+ // ../node_modules/.pnpm/use-callback-ref@1.3.3_@types+react@19.1.10_react@19.2.3/node_modules/use-callback-ref/dist/es2015/useMergeRef.js
1081
+ var React15 = __toESM(require("react"));
1082
+ var useIsomorphicLayoutEffect = typeof window !== "undefined" ? React15.useLayoutEffect : React15.useEffect;
1083
+ var currentValues = /* @__PURE__ */ new WeakMap();
1084
+ function useMergeRefs(refs, defaultValue) {
1085
+ var callbackRef = useCallbackRef2(defaultValue || null, function(newValue) {
1086
+ return refs.forEach(function(ref) {
1087
+ return assignRef(ref, newValue);
1088
+ });
1089
+ });
1090
+ useIsomorphicLayoutEffect(function() {
1091
+ var oldValue = currentValues.get(callbackRef);
1092
+ if (oldValue) {
1093
+ var prevRefs_1 = new Set(oldValue);
1094
+ var nextRefs_1 = new Set(refs);
1095
+ var current_1 = callbackRef.current;
1096
+ prevRefs_1.forEach(function(ref) {
1097
+ if (!nextRefs_1.has(ref)) {
1098
+ assignRef(ref, null);
1099
+ }
1100
+ });
1101
+ nextRefs_1.forEach(function(ref) {
1102
+ if (!prevRefs_1.has(ref)) {
1103
+ assignRef(ref, current_1);
1104
+ }
1105
+ });
1106
+ }
1107
+ currentValues.set(callbackRef, refs);
1108
+ }, [refs]);
1109
+ return callbackRef;
1110
+ }
1111
+
1112
+ // ../node_modules/.pnpm/use-sidecar@1.1.3_@types+react@19.1.10_react@19.2.3/node_modules/use-sidecar/dist/es2015/medium.js
1113
+ function ItoI(a) {
1114
+ return a;
1115
+ }
1116
+ function innerCreateMedium(defaults, middleware) {
1117
+ if (middleware === void 0) {
1118
+ middleware = ItoI;
1119
+ }
1120
+ var buffer = [];
1121
+ var assigned = false;
1122
+ var medium = {
1123
+ read: function() {
1124
+ if (assigned) {
1125
+ throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");
1126
+ }
1127
+ if (buffer.length) {
1128
+ return buffer[buffer.length - 1];
1129
+ }
1130
+ return defaults;
1131
+ },
1132
+ useMedium: function(data) {
1133
+ var item = middleware(data, assigned);
1134
+ buffer.push(item);
1135
+ return function() {
1136
+ buffer = buffer.filter(function(x) {
1137
+ return x !== item;
1138
+ });
1139
+ };
1140
+ },
1141
+ assignSyncMedium: function(cb) {
1142
+ assigned = true;
1143
+ while (buffer.length) {
1144
+ var cbs = buffer;
1145
+ buffer = [];
1146
+ cbs.forEach(cb);
1147
+ }
1148
+ buffer = {
1149
+ push: function(x) {
1150
+ return cb(x);
1151
+ },
1152
+ filter: function() {
1153
+ return buffer;
1154
+ }
1155
+ };
1156
+ },
1157
+ assignMedium: function(cb) {
1158
+ assigned = true;
1159
+ var pendingQueue = [];
1160
+ if (buffer.length) {
1161
+ var cbs = buffer;
1162
+ buffer = [];
1163
+ cbs.forEach(cb);
1164
+ pendingQueue = buffer;
1165
+ }
1166
+ var executeQueue = function() {
1167
+ var cbs2 = pendingQueue;
1168
+ pendingQueue = [];
1169
+ cbs2.forEach(cb);
1170
+ };
1171
+ var cycle = function() {
1172
+ return Promise.resolve().then(executeQueue);
1173
+ };
1174
+ cycle();
1175
+ buffer = {
1176
+ push: function(x) {
1177
+ pendingQueue.push(x);
1178
+ cycle();
1179
+ },
1180
+ filter: function(filter) {
1181
+ pendingQueue = pendingQueue.filter(filter);
1182
+ return buffer;
1183
+ }
1184
+ };
1185
+ }
1186
+ };
1187
+ return medium;
1188
+ }
1189
+ function createSidecarMedium(options) {
1190
+ if (options === void 0) {
1191
+ options = {};
1192
+ }
1193
+ var medium = innerCreateMedium(null);
1194
+ medium.options = __assign({ async: true, ssr: false }, options);
1195
+ return medium;
1196
+ }
1197
+
1198
+ // ../node_modules/.pnpm/use-sidecar@1.1.3_@types+react@19.1.10_react@19.2.3/node_modules/use-sidecar/dist/es2015/exports.js
1199
+ var React16 = __toESM(require("react"));
1200
+ var SideCar = function(_a) {
1201
+ var sideCar = _a.sideCar, rest = __rest(_a, ["sideCar"]);
1202
+ if (!sideCar) {
1203
+ throw new Error("Sidecar: please provide `sideCar` property to import the right car");
1204
+ }
1205
+ var Target = sideCar.read();
1206
+ if (!Target) {
1207
+ throw new Error("Sidecar medium not found");
1208
+ }
1209
+ return React16.createElement(Target, __assign({}, rest));
1210
+ };
1211
+ SideCar.isSideCarExport = true;
1212
+ function exportSidecar(medium, exported) {
1213
+ medium.useMedium(exported);
1214
+ return SideCar;
1215
+ }
1216
+
1217
+ // ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@19.1.10_react@19.2.3/node_modules/react-remove-scroll/dist/es2015/medium.js
1218
+ var effectCar = createSidecarMedium();
1219
+
1220
+ // ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@19.1.10_react@19.2.3/node_modules/react-remove-scroll/dist/es2015/UI.js
1221
+ var nothing = function() {
1222
+ return;
1223
+ };
1224
+ var RemoveScroll = React17.forwardRef(function(props, parentRef) {
1225
+ var ref = React17.useRef(null);
1226
+ var _a = React17.useState({
1227
+ onScrollCapture: nothing,
1228
+ onWheelCapture: nothing,
1229
+ onTouchMoveCapture: nothing
1230
+ }), callbacks = _a[0], setCallbacks = _a[1];
1231
+ 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"]);
1232
+ var SideCar2 = sideCar;
1233
+ var containerRef = useMergeRefs([ref, parentRef]);
1234
+ var containerProps = __assign(__assign({}, rest), callbacks);
1235
+ return React17.createElement(
1236
+ React17.Fragment,
1237
+ null,
1238
+ enabled && React17.createElement(SideCar2, { sideCar: effectCar, removeScrollBar, shards, noRelative, noIsolation, inert, setCallbacks, allowPinchZoom: !!allowPinchZoom, lockRef: ref, gapMode }),
1239
+ forwardProps ? React17.cloneElement(React17.Children.only(children), __assign(__assign({}, containerProps), { ref: containerRef })) : React17.createElement(Container, __assign({}, containerProps, { className, ref: containerRef }), children)
1240
+ );
1241
+ });
1242
+ RemoveScroll.defaultProps = {
1243
+ enabled: true,
1244
+ removeScrollBar: true,
1245
+ inert: false
1246
+ };
1247
+ RemoveScroll.classNames = {
1248
+ fullWidth: fullWidthClassName,
1249
+ zeroRight: zeroRightClassName
1250
+ };
1251
+
1252
+ // ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@19.1.10_react@19.2.3/node_modules/react-remove-scroll/dist/es2015/SideEffect.js
1253
+ var React20 = __toESM(require("react"));
1254
+
1255
+ // ../node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types+react@19.1.10_react@19.2.3/node_modules/react-remove-scroll-bar/dist/es2015/component.js
1256
+ var React19 = __toESM(require("react"));
1257
+
1258
+ // ../node_modules/.pnpm/react-style-singleton@2.2.3_@types+react@19.1.10_react@19.2.3/node_modules/react-style-singleton/dist/es2015/hook.js
1259
+ var React18 = __toESM(require("react"));
1260
+
1261
+ // ../node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.js
1262
+ var currentNonce;
1263
+ var getNonce = function() {
1264
+ if (currentNonce) {
1265
+ return currentNonce;
1266
+ }
1267
+ if (typeof __webpack_nonce__ !== "undefined") {
1268
+ return __webpack_nonce__;
1269
+ }
1270
+ return void 0;
1271
+ };
1272
+
1273
+ // ../node_modules/.pnpm/react-style-singleton@2.2.3_@types+react@19.1.10_react@19.2.3/node_modules/react-style-singleton/dist/es2015/singleton.js
1274
+ function makeStyleTag() {
1275
+ if (!document)
1276
+ return null;
1277
+ var tag = document.createElement("style");
1278
+ tag.type = "text/css";
1279
+ var nonce = getNonce();
1280
+ if (nonce) {
1281
+ tag.setAttribute("nonce", nonce);
1282
+ }
1283
+ return tag;
1284
+ }
1285
+ function injectStyles(tag, css) {
1286
+ if (tag.styleSheet) {
1287
+ tag.styleSheet.cssText = css;
1288
+ } else {
1289
+ tag.appendChild(document.createTextNode(css));
1290
+ }
1291
+ }
1292
+ function insertStyleTag(tag) {
1293
+ var head = document.head || document.getElementsByTagName("head")[0];
1294
+ head.appendChild(tag);
1295
+ }
1296
+ var stylesheetSingleton = function() {
1297
+ var counter = 0;
1298
+ var stylesheet = null;
1299
+ return {
1300
+ add: function(style) {
1301
+ if (counter == 0) {
1302
+ if (stylesheet = makeStyleTag()) {
1303
+ injectStyles(stylesheet, style);
1304
+ insertStyleTag(stylesheet);
1305
+ }
1306
+ }
1307
+ counter++;
1308
+ },
1309
+ remove: function() {
1310
+ counter--;
1311
+ if (!counter && stylesheet) {
1312
+ stylesheet.parentNode && stylesheet.parentNode.removeChild(stylesheet);
1313
+ stylesheet = null;
1314
+ }
1315
+ }
1316
+ };
1317
+ };
1318
+
1319
+ // ../node_modules/.pnpm/react-style-singleton@2.2.3_@types+react@19.1.10_react@19.2.3/node_modules/react-style-singleton/dist/es2015/hook.js
1320
+ var styleHookSingleton = function() {
1321
+ var sheet = stylesheetSingleton();
1322
+ return function(styles, isDynamic) {
1323
+ React18.useEffect(function() {
1324
+ sheet.add(styles);
1325
+ return function() {
1326
+ sheet.remove();
1327
+ };
1328
+ }, [styles && isDynamic]);
1329
+ };
1330
+ };
1331
+
1332
+ // ../node_modules/.pnpm/react-style-singleton@2.2.3_@types+react@19.1.10_react@19.2.3/node_modules/react-style-singleton/dist/es2015/component.js
1333
+ var styleSingleton = function() {
1334
+ var useStyle = styleHookSingleton();
1335
+ var Sheet = function(_a) {
1336
+ var styles = _a.styles, dynamic = _a.dynamic;
1337
+ useStyle(styles, dynamic);
1338
+ return null;
1339
+ };
1340
+ return Sheet;
1341
+ };
1342
+
1343
+ // ../node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types+react@19.1.10_react@19.2.3/node_modules/react-remove-scroll-bar/dist/es2015/utils.js
1344
+ var zeroGap = {
1345
+ left: 0,
1346
+ top: 0,
1347
+ right: 0,
1348
+ gap: 0
1349
+ };
1350
+ var parse = function(x) {
1351
+ return parseInt(x || "", 10) || 0;
1352
+ };
1353
+ var getOffset = function(gapMode) {
1354
+ var cs = window.getComputedStyle(document.body);
1355
+ var left = cs[gapMode === "padding" ? "paddingLeft" : "marginLeft"];
1356
+ var top = cs[gapMode === "padding" ? "paddingTop" : "marginTop"];
1357
+ var right = cs[gapMode === "padding" ? "paddingRight" : "marginRight"];
1358
+ return [parse(left), parse(top), parse(right)];
1359
+ };
1360
+ var getGapWidth = function(gapMode) {
1361
+ if (gapMode === void 0) {
1362
+ gapMode = "margin";
1363
+ }
1364
+ if (typeof window === "undefined") {
1365
+ return zeroGap;
1366
+ }
1367
+ var offsets = getOffset(gapMode);
1368
+ var documentWidth = document.documentElement.clientWidth;
1369
+ var windowWidth = window.innerWidth;
1370
+ return {
1371
+ left: offsets[0],
1372
+ top: offsets[1],
1373
+ right: offsets[2],
1374
+ gap: Math.max(0, windowWidth - documentWidth + offsets[2] - offsets[0])
1375
+ };
1376
+ };
1377
+
1378
+ // ../node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types+react@19.1.10_react@19.2.3/node_modules/react-remove-scroll-bar/dist/es2015/component.js
1379
+ var Style = styleSingleton();
1380
+ var lockAttribute = "data-scroll-locked";
1381
+ var getStyles = function(_a, allowRelative, gapMode, important) {
1382
+ var left = _a.left, top = _a.top, right = _a.right, gap = _a.gap;
1383
+ if (gapMode === void 0) {
1384
+ gapMode = "margin";
1385
+ }
1386
+ 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([
1387
+ allowRelative && "position: relative ".concat(important, ";"),
1388
+ gapMode === "margin" && "\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 "),
1389
+ gapMode === "padding" && "padding-right: ".concat(gap, "px ").concat(important, ";")
1390
+ ].filter(Boolean).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");
1391
+ };
1392
+ var getCurrentUseCounter = function() {
1393
+ var counter = parseInt(document.body.getAttribute(lockAttribute) || "0", 10);
1394
+ return isFinite(counter) ? counter : 0;
1395
+ };
1396
+ var useLockAttribute = function() {
1397
+ React19.useEffect(function() {
1398
+ document.body.setAttribute(lockAttribute, (getCurrentUseCounter() + 1).toString());
1399
+ return function() {
1400
+ var newCounter = getCurrentUseCounter() - 1;
1401
+ if (newCounter <= 0) {
1402
+ document.body.removeAttribute(lockAttribute);
1403
+ } else {
1404
+ document.body.setAttribute(lockAttribute, newCounter.toString());
1405
+ }
1406
+ };
1407
+ }, []);
1408
+ };
1409
+ var RemoveScrollBar = function(_a) {
1410
+ var noRelative = _a.noRelative, noImportant = _a.noImportant, _b = _a.gapMode, gapMode = _b === void 0 ? "margin" : _b;
1411
+ useLockAttribute();
1412
+ var gap = React19.useMemo(function() {
1413
+ return getGapWidth(gapMode);
1414
+ }, [gapMode]);
1415
+ return React19.createElement(Style, { styles: getStyles(gap, !noRelative, gapMode, !noImportant ? "!important" : "") });
1416
+ };
1417
+
1418
+ // ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@19.1.10_react@19.2.3/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js
1419
+ var passiveSupported = false;
1420
+ if (typeof window !== "undefined") {
1421
+ try {
1422
+ options = Object.defineProperty({}, "passive", {
1423
+ get: function() {
1424
+ passiveSupported = true;
1425
+ return true;
1426
+ }
1427
+ });
1428
+ window.addEventListener("test", options, options);
1429
+ window.removeEventListener("test", options, options);
1430
+ } catch (err) {
1431
+ passiveSupported = false;
1432
+ }
1433
+ }
1434
+ var options;
1435
+ var nonPassive = passiveSupported ? { passive: false } : false;
1436
+
1437
+ // ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@19.1.10_react@19.2.3/node_modules/react-remove-scroll/dist/es2015/handleScroll.js
1438
+ var alwaysContainsScroll = function(node) {
1439
+ return node.tagName === "TEXTAREA";
1440
+ };
1441
+ var elementCanBeScrolled = function(node, overflow) {
1442
+ if (!(node instanceof Element)) {
1443
+ return false;
1444
+ }
1445
+ var styles = window.getComputedStyle(node);
1446
+ return (
1447
+ // not-not-scrollable
1448
+ styles[overflow] !== "hidden" && // contains scroll inside self
1449
+ !(styles.overflowY === styles.overflowX && !alwaysContainsScroll(node) && styles[overflow] === "visible")
1450
+ );
1451
+ };
1452
+ var elementCouldBeVScrolled = function(node) {
1453
+ return elementCanBeScrolled(node, "overflowY");
1454
+ };
1455
+ var elementCouldBeHScrolled = function(node) {
1456
+ return elementCanBeScrolled(node, "overflowX");
1457
+ };
1458
+ var locationCouldBeScrolled = function(axis, node) {
1459
+ var ownerDocument = node.ownerDocument;
1460
+ var current = node;
1461
+ do {
1462
+ if (typeof ShadowRoot !== "undefined" && current instanceof ShadowRoot) {
1463
+ current = current.host;
1464
+ }
1465
+ var isScrollable = elementCouldBeScrolled(axis, current);
1466
+ if (isScrollable) {
1467
+ var _a = getScrollVariables(axis, current), scrollHeight = _a[1], clientHeight = _a[2];
1468
+ if (scrollHeight > clientHeight) {
1469
+ return true;
1470
+ }
1471
+ }
1472
+ current = current.parentNode;
1473
+ } while (current && current !== ownerDocument.body);
1474
+ return false;
1475
+ };
1476
+ var getVScrollVariables = function(_a) {
1477
+ var scrollTop = _a.scrollTop, scrollHeight = _a.scrollHeight, clientHeight = _a.clientHeight;
1478
+ return [
1479
+ scrollTop,
1480
+ scrollHeight,
1481
+ clientHeight
1482
+ ];
1483
+ };
1484
+ var getHScrollVariables = function(_a) {
1485
+ var scrollLeft = _a.scrollLeft, scrollWidth = _a.scrollWidth, clientWidth = _a.clientWidth;
1486
+ return [
1487
+ scrollLeft,
1488
+ scrollWidth,
1489
+ clientWidth
1490
+ ];
1491
+ };
1492
+ var elementCouldBeScrolled = function(axis, node) {
1493
+ return axis === "v" ? elementCouldBeVScrolled(node) : elementCouldBeHScrolled(node);
1494
+ };
1495
+ var getScrollVariables = function(axis, node) {
1496
+ return axis === "v" ? getVScrollVariables(node) : getHScrollVariables(node);
1497
+ };
1498
+ var getDirectionFactor = function(axis, direction) {
1499
+ return axis === "h" && direction === "rtl" ? -1 : 1;
1500
+ };
1501
+ var handleScroll = function(axis, endTarget, event, sourceDelta, noOverscroll) {
1502
+ var directionFactor = getDirectionFactor(axis, window.getComputedStyle(endTarget).direction);
1503
+ var delta = directionFactor * sourceDelta;
1504
+ var target = event.target;
1505
+ var targetInLock = endTarget.contains(target);
1506
+ var shouldCancelScroll = false;
1507
+ var isDeltaPositive = delta > 0;
1508
+ var availableScroll = 0;
1509
+ var availableScrollTop = 0;
1510
+ do {
1511
+ if (!target) {
1512
+ break;
1513
+ }
1514
+ var _a = getScrollVariables(axis, target), position = _a[0], scroll_1 = _a[1], capacity = _a[2];
1515
+ var elementScroll = scroll_1 - capacity - directionFactor * position;
1516
+ if (position || elementScroll) {
1517
+ if (elementCouldBeScrolled(axis, target)) {
1518
+ availableScroll += elementScroll;
1519
+ availableScrollTop += position;
1520
+ }
1521
+ }
1522
+ var parent_1 = target.parentNode;
1523
+ target = parent_1 && parent_1.nodeType === Node.DOCUMENT_FRAGMENT_NODE ? parent_1.host : parent_1;
1524
+ } while (
1525
+ // portaled content
1526
+ !targetInLock && target !== document.body || // self content
1527
+ targetInLock && (endTarget.contains(target) || endTarget === target)
1528
+ );
1529
+ if (isDeltaPositive && (noOverscroll && Math.abs(availableScroll) < 1 || !noOverscroll && delta > availableScroll)) {
1530
+ shouldCancelScroll = true;
1531
+ } else if (!isDeltaPositive && (noOverscroll && Math.abs(availableScrollTop) < 1 || !noOverscroll && -delta > availableScrollTop)) {
1532
+ shouldCancelScroll = true;
1533
+ }
1534
+ return shouldCancelScroll;
1535
+ };
1536
+
1537
+ // ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@19.1.10_react@19.2.3/node_modules/react-remove-scroll/dist/es2015/SideEffect.js
1538
+ var getTouchXY = function(event) {
1539
+ return "changedTouches" in event ? [event.changedTouches[0].clientX, event.changedTouches[0].clientY] : [0, 0];
1540
+ };
1541
+ var getDeltaXY = function(event) {
1542
+ return [event.deltaX, event.deltaY];
1543
+ };
1544
+ var extractRef = function(ref) {
1545
+ return ref && "current" in ref ? ref.current : ref;
1546
+ };
1547
+ var deltaCompare = function(x, y) {
1548
+ return x[0] === y[0] && x[1] === y[1];
1549
+ };
1550
+ var generateStyle = function(id) {
1551
+ return "\n .block-interactivity-".concat(id, " {pointer-events: none;}\n .allow-interactivity-").concat(id, " {pointer-events: all;}\n");
1552
+ };
1553
+ var idCounter = 0;
1554
+ var lockStack = [];
1555
+ function RemoveScrollSideCar(props) {
1556
+ var shouldPreventQueue = React20.useRef([]);
1557
+ var touchStartRef = React20.useRef([0, 0]);
1558
+ var activeAxis = React20.useRef();
1559
+ var id = React20.useState(idCounter++)[0];
1560
+ var Style2 = React20.useState(styleSingleton)[0];
1561
+ var lastProps = React20.useRef(props);
1562
+ React20.useEffect(function() {
1563
+ lastProps.current = props;
1564
+ }, [props]);
1565
+ React20.useEffect(function() {
1566
+ if (props.inert) {
1567
+ document.body.classList.add("block-interactivity-".concat(id));
1568
+ var allow_1 = __spreadArray([props.lockRef.current], (props.shards || []).map(extractRef), true).filter(Boolean);
1569
+ allow_1.forEach(function(el) {
1570
+ return el.classList.add("allow-interactivity-".concat(id));
1571
+ });
1572
+ return function() {
1573
+ document.body.classList.remove("block-interactivity-".concat(id));
1574
+ allow_1.forEach(function(el) {
1575
+ return el.classList.remove("allow-interactivity-".concat(id));
1576
+ });
1577
+ };
1578
+ }
1579
+ return;
1580
+ }, [props.inert, props.lockRef.current, props.shards]);
1581
+ var shouldCancelEvent = React20.useCallback(function(event, parent) {
1582
+ if ("touches" in event && event.touches.length === 2 || event.type === "wheel" && event.ctrlKey) {
1583
+ return !lastProps.current.allowPinchZoom;
1584
+ }
1585
+ var touch = getTouchXY(event);
1586
+ var touchStart = touchStartRef.current;
1587
+ var deltaX = "deltaX" in event ? event.deltaX : touchStart[0] - touch[0];
1588
+ var deltaY = "deltaY" in event ? event.deltaY : touchStart[1] - touch[1];
1589
+ var currentAxis;
1590
+ var target = event.target;
1591
+ var moveDirection = Math.abs(deltaX) > Math.abs(deltaY) ? "h" : "v";
1592
+ if ("touches" in event && moveDirection === "h" && target.type === "range") {
1593
+ return false;
1594
+ }
1595
+ var canBeScrolledInMainDirection = locationCouldBeScrolled(moveDirection, target);
1596
+ if (!canBeScrolledInMainDirection) {
1597
+ return true;
1598
+ }
1599
+ if (canBeScrolledInMainDirection) {
1600
+ currentAxis = moveDirection;
1601
+ } else {
1602
+ currentAxis = moveDirection === "v" ? "h" : "v";
1603
+ canBeScrolledInMainDirection = locationCouldBeScrolled(moveDirection, target);
1604
+ }
1605
+ if (!canBeScrolledInMainDirection) {
1606
+ return false;
1607
+ }
1608
+ if (!activeAxis.current && "changedTouches" in event && (deltaX || deltaY)) {
1609
+ activeAxis.current = currentAxis;
1610
+ }
1611
+ if (!currentAxis) {
1612
+ return true;
1613
+ }
1614
+ var cancelingAxis = activeAxis.current || currentAxis;
1615
+ return handleScroll(cancelingAxis, parent, event, cancelingAxis === "h" ? deltaX : deltaY, true);
1616
+ }, []);
1617
+ var shouldPrevent = React20.useCallback(function(_event) {
1618
+ var event = _event;
1619
+ if (!lockStack.length || lockStack[lockStack.length - 1] !== Style2) {
1620
+ return;
1621
+ }
1622
+ var delta = "deltaY" in event ? getDeltaXY(event) : getTouchXY(event);
1623
+ var sourceEvent = shouldPreventQueue.current.filter(function(e) {
1624
+ return e.name === event.type && (e.target === event.target || event.target === e.shadowParent) && deltaCompare(e.delta, delta);
1625
+ })[0];
1626
+ if (sourceEvent && sourceEvent.should) {
1627
+ if (event.cancelable) {
1628
+ event.preventDefault();
1629
+ }
1630
+ return;
1631
+ }
1632
+ if (!sourceEvent) {
1633
+ var shardNodes = (lastProps.current.shards || []).map(extractRef).filter(Boolean).filter(function(node) {
1634
+ return node.contains(event.target);
1635
+ });
1636
+ var shouldStop = shardNodes.length > 0 ? shouldCancelEvent(event, shardNodes[0]) : !lastProps.current.noIsolation;
1637
+ if (shouldStop) {
1638
+ if (event.cancelable) {
1639
+ event.preventDefault();
1640
+ }
1641
+ }
1642
+ }
1643
+ }, []);
1644
+ var shouldCancel = React20.useCallback(function(name, delta, target, should) {
1645
+ var event = { name, delta, target, should, shadowParent: getOutermostShadowParent(target) };
1646
+ shouldPreventQueue.current.push(event);
1647
+ setTimeout(function() {
1648
+ shouldPreventQueue.current = shouldPreventQueue.current.filter(function(e) {
1649
+ return e !== event;
1650
+ });
1651
+ }, 1);
1652
+ }, []);
1653
+ var scrollTouchStart = React20.useCallback(function(event) {
1654
+ touchStartRef.current = getTouchXY(event);
1655
+ activeAxis.current = void 0;
1656
+ }, []);
1657
+ var scrollWheel = React20.useCallback(function(event) {
1658
+ shouldCancel(event.type, getDeltaXY(event), event.target, shouldCancelEvent(event, props.lockRef.current));
1659
+ }, []);
1660
+ var scrollTouchMove = React20.useCallback(function(event) {
1661
+ shouldCancel(event.type, getTouchXY(event), event.target, shouldCancelEvent(event, props.lockRef.current));
1662
+ }, []);
1663
+ React20.useEffect(function() {
1664
+ lockStack.push(Style2);
1665
+ props.setCallbacks({
1666
+ onScrollCapture: scrollWheel,
1667
+ onWheelCapture: scrollWheel,
1668
+ onTouchMoveCapture: scrollTouchMove
1669
+ });
1670
+ document.addEventListener("wheel", shouldPrevent, nonPassive);
1671
+ document.addEventListener("touchmove", shouldPrevent, nonPassive);
1672
+ document.addEventListener("touchstart", scrollTouchStart, nonPassive);
1673
+ return function() {
1674
+ lockStack = lockStack.filter(function(inst) {
1675
+ return inst !== Style2;
1676
+ });
1677
+ document.removeEventListener("wheel", shouldPrevent, nonPassive);
1678
+ document.removeEventListener("touchmove", shouldPrevent, nonPassive);
1679
+ document.removeEventListener("touchstart", scrollTouchStart, nonPassive);
1680
+ };
1681
+ }, []);
1682
+ var removeScrollBar = props.removeScrollBar, inert = props.inert;
1683
+ return React20.createElement(
1684
+ React20.Fragment,
1685
+ null,
1686
+ inert ? React20.createElement(Style2, { styles: generateStyle(id) }) : null,
1687
+ removeScrollBar ? React20.createElement(RemoveScrollBar, { noRelative: props.noRelative, gapMode: props.gapMode }) : null
1688
+ );
1689
+ }
1690
+ function getOutermostShadowParent(node) {
1691
+ var shadowParent = null;
1692
+ while (node !== null) {
1693
+ if (node instanceof ShadowRoot) {
1694
+ shadowParent = node.host;
1695
+ node = node.host;
1696
+ }
1697
+ node = node.parentNode;
1698
+ }
1699
+ return shadowParent;
1700
+ }
1701
+
1702
+ // ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@19.1.10_react@19.2.3/node_modules/react-remove-scroll/dist/es2015/sidecar.js
1703
+ var sidecar_default = exportSidecar(effectCar, RemoveScrollSideCar);
1704
+
1705
+ // ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@19.1.10_react@19.2.3/node_modules/react-remove-scroll/dist/es2015/Combination.js
1706
+ var ReactRemoveScroll = React21.forwardRef(function(props, ref) {
1707
+ return React21.createElement(RemoveScroll, __assign({}, props, { ref, sideCar: sidecar_default }));
1708
+ });
1709
+ ReactRemoveScroll.classNames = RemoveScroll.classNames;
1710
+ var Combination_default = ReactRemoveScroll;
1711
+
1712
+ // ../node_modules/.pnpm/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.js
1713
+ var getDefaultParent = function(originalTarget) {
1714
+ if (typeof document === "undefined") {
1715
+ return null;
1716
+ }
1717
+ var sampleTarget = Array.isArray(originalTarget) ? originalTarget[0] : originalTarget;
1718
+ return sampleTarget.ownerDocument.body;
1719
+ };
1720
+ var counterMap = /* @__PURE__ */ new WeakMap();
1721
+ var uncontrolledNodes = /* @__PURE__ */ new WeakMap();
1722
+ var markerMap = {};
1723
+ var lockCount = 0;
1724
+ var unwrapHost = function(node) {
1725
+ return node && (node.host || unwrapHost(node.parentNode));
1726
+ };
1727
+ var correctTargets = function(parent, targets) {
1728
+ return targets.map(function(target) {
1729
+ if (parent.contains(target)) {
1730
+ return target;
1731
+ }
1732
+ var correctedTarget = unwrapHost(target);
1733
+ if (correctedTarget && parent.contains(correctedTarget)) {
1734
+ return correctedTarget;
1735
+ }
1736
+ console.error("aria-hidden", target, "in not contained inside", parent, ". Doing nothing");
1737
+ return null;
1738
+ }).filter(function(x) {
1739
+ return Boolean(x);
1740
+ });
1741
+ };
1742
+ var applyAttributeToOthers = function(originalTarget, parentNode, markerName, controlAttribute) {
1743
+ var targets = correctTargets(parentNode, Array.isArray(originalTarget) ? originalTarget : [originalTarget]);
1744
+ if (!markerMap[markerName]) {
1745
+ markerMap[markerName] = /* @__PURE__ */ new WeakMap();
1746
+ }
1747
+ var markerCounter = markerMap[markerName];
1748
+ var hiddenNodes = [];
1749
+ var elementsToKeep = /* @__PURE__ */ new Set();
1750
+ var elementsToStop = new Set(targets);
1751
+ var keep = function(el) {
1752
+ if (!el || elementsToKeep.has(el)) {
1753
+ return;
1754
+ }
1755
+ elementsToKeep.add(el);
1756
+ keep(el.parentNode);
1757
+ };
1758
+ targets.forEach(keep);
1759
+ var deep = function(parent) {
1760
+ if (!parent || elementsToStop.has(parent)) {
1761
+ return;
1762
+ }
1763
+ Array.prototype.forEach.call(parent.children, function(node) {
1764
+ if (elementsToKeep.has(node)) {
1765
+ deep(node);
1766
+ } else {
1767
+ try {
1768
+ var attr = node.getAttribute(controlAttribute);
1769
+ var alreadyHidden = attr !== null && attr !== "false";
1770
+ var counterValue = (counterMap.get(node) || 0) + 1;
1771
+ var markerValue = (markerCounter.get(node) || 0) + 1;
1772
+ counterMap.set(node, counterValue);
1773
+ markerCounter.set(node, markerValue);
1774
+ hiddenNodes.push(node);
1775
+ if (counterValue === 1 && alreadyHidden) {
1776
+ uncontrolledNodes.set(node, true);
1777
+ }
1778
+ if (markerValue === 1) {
1779
+ node.setAttribute(markerName, "true");
1780
+ }
1781
+ if (!alreadyHidden) {
1782
+ node.setAttribute(controlAttribute, "true");
1783
+ }
1784
+ } catch (e) {
1785
+ console.error("aria-hidden: cannot operate on ", node, e);
1786
+ }
1787
+ }
1788
+ });
1789
+ };
1790
+ deep(parentNode);
1791
+ elementsToKeep.clear();
1792
+ lockCount++;
1793
+ return function() {
1794
+ hiddenNodes.forEach(function(node) {
1795
+ var counterValue = counterMap.get(node) - 1;
1796
+ var markerValue = markerCounter.get(node) - 1;
1797
+ counterMap.set(node, counterValue);
1798
+ markerCounter.set(node, markerValue);
1799
+ if (!counterValue) {
1800
+ if (!uncontrolledNodes.has(node)) {
1801
+ node.removeAttribute(controlAttribute);
1802
+ }
1803
+ uncontrolledNodes.delete(node);
1804
+ }
1805
+ if (!markerValue) {
1806
+ node.removeAttribute(markerName);
1807
+ }
1808
+ });
1809
+ lockCount--;
1810
+ if (!lockCount) {
1811
+ counterMap = /* @__PURE__ */ new WeakMap();
1812
+ counterMap = /* @__PURE__ */ new WeakMap();
1813
+ uncontrolledNodes = /* @__PURE__ */ new WeakMap();
1814
+ markerMap = {};
1815
+ }
1816
+ };
1817
+ };
1818
+ var hideOthers = function(originalTarget, parentNode, markerName) {
1819
+ if (markerName === void 0) {
1820
+ markerName = "data-aria-hidden";
1821
+ }
1822
+ var targets = Array.from(Array.isArray(originalTarget) ? originalTarget : [originalTarget]);
1823
+ var activeParentNode = parentNode || getDefaultParent(originalTarget);
1824
+ if (!activeParentNode) {
1825
+ return function() {
1826
+ return null;
1827
+ };
1828
+ }
1829
+ targets.push.apply(targets, Array.from(activeParentNode.querySelectorAll("[aria-live], script")));
1830
+ return applyAttributeToOthers(targets, activeParentNode, markerName, "aria-hidden");
1831
+ };
1832
+
1833
+ // ../node_modules/.pnpm/@radix-ui+react-dialog@1.1.14_@types+react-dom@19.2.3_@types+react@19.1.10__@types+reac_3a07165b274db87b4246f37627276027/node_modules/@radix-ui/react-dialog/dist/index.mjs
1834
+ var import_jsx_runtime7 = require("react/jsx-runtime");
1835
+ var DIALOG_NAME = "Dialog";
1836
+ var [createDialogContext, createDialogScope] = createContextScope(DIALOG_NAME);
1837
+ var [DialogProvider, useDialogContext] = createDialogContext(DIALOG_NAME);
1838
+ var Dialog = (props) => {
1839
+ const {
1840
+ __scopeDialog,
1841
+ children,
1842
+ open: openProp,
1843
+ defaultOpen,
1844
+ onOpenChange,
1845
+ modal = true
1846
+ } = props;
1847
+ const triggerRef = React24.useRef(null);
1848
+ const contentRef = React24.useRef(null);
1849
+ const [open, setOpen] = useControllableState({
1850
+ prop: openProp,
1851
+ defaultProp: defaultOpen ?? false,
1852
+ onChange: onOpenChange,
1853
+ caller: DIALOG_NAME
1854
+ });
1855
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
1856
+ DialogProvider,
1857
+ {
1858
+ scope: __scopeDialog,
1859
+ triggerRef,
1860
+ contentRef,
1861
+ contentId: useId(),
1862
+ titleId: useId(),
1863
+ descriptionId: useId(),
1864
+ open,
1865
+ onOpenChange: setOpen,
1866
+ onOpenToggle: React24.useCallback(() => setOpen((prevOpen) => !prevOpen), [setOpen]),
1867
+ modal,
1868
+ children
1869
+ }
1870
+ );
1871
+ };
1872
+ Dialog.displayName = DIALOG_NAME;
1873
+ var TRIGGER_NAME = "DialogTrigger";
1874
+ var DialogTrigger = React24.forwardRef(
1875
+ (props, forwardedRef) => {
1876
+ const { __scopeDialog, ...triggerProps } = props;
1877
+ const context = useDialogContext(TRIGGER_NAME, __scopeDialog);
1878
+ const composedTriggerRef = useComposedRefs(forwardedRef, context.triggerRef);
1879
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
1880
+ Primitive.button,
1881
+ {
1882
+ type: "button",
1883
+ "aria-haspopup": "dialog",
1884
+ "aria-expanded": context.open,
1885
+ "aria-controls": context.contentId,
1886
+ "data-state": getState(context.open),
1887
+ ...triggerProps,
1888
+ ref: composedTriggerRef,
1889
+ onClick: composeEventHandlers(props.onClick, context.onOpenToggle)
1890
+ }
1891
+ );
1892
+ }
1893
+ );
1894
+ DialogTrigger.displayName = TRIGGER_NAME;
1895
+ var PORTAL_NAME2 = "DialogPortal";
1896
+ var [PortalProvider, usePortalContext] = createDialogContext(PORTAL_NAME2, {
1897
+ forceMount: void 0
1898
+ });
1899
+ var DialogPortal = (props) => {
1900
+ const { __scopeDialog, forceMount, children, container } = props;
1901
+ const context = useDialogContext(PORTAL_NAME2, __scopeDialog);
1902
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(PortalProvider, { scope: __scopeDialog, forceMount, children: React24.Children.map(children, (child) => /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(Portal, { asChild: true, container, children: child }) })) });
1903
+ };
1904
+ DialogPortal.displayName = PORTAL_NAME2;
1905
+ var OVERLAY_NAME = "DialogOverlay";
1906
+ var DialogOverlay = React24.forwardRef(
1907
+ (props, forwardedRef) => {
1908
+ const portalContext = usePortalContext(OVERLAY_NAME, props.__scopeDialog);
1909
+ const { forceMount = portalContext.forceMount, ...overlayProps } = props;
1910
+ const context = useDialogContext(OVERLAY_NAME, props.__scopeDialog);
1911
+ return context.modal ? /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(DialogOverlayImpl, { ...overlayProps, ref: forwardedRef }) }) : null;
1912
+ }
1913
+ );
1914
+ DialogOverlay.displayName = OVERLAY_NAME;
1915
+ var Slot = createSlot("DialogOverlay.RemoveScroll");
1916
+ var DialogOverlayImpl = React24.forwardRef(
1917
+ (props, forwardedRef) => {
1918
+ const { __scopeDialog, ...overlayProps } = props;
1919
+ const context = useDialogContext(OVERLAY_NAME, __scopeDialog);
1920
+ return (
1921
+ // Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`
1922
+ // ie. when `Overlay` and `Content` are siblings
1923
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(Combination_default, { as: Slot, allowPinchZoom: true, shards: [context.contentRef], children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
1924
+ Primitive.div,
1925
+ {
1926
+ "data-state": getState(context.open),
1927
+ ...overlayProps,
1928
+ ref: forwardedRef,
1929
+ style: { pointerEvents: "auto", ...overlayProps.style }
1930
+ }
1931
+ ) })
1932
+ );
1933
+ }
1934
+ );
1935
+ var CONTENT_NAME = "DialogContent";
1936
+ var DialogContent = React24.forwardRef(
1937
+ (props, forwardedRef) => {
1938
+ const portalContext = usePortalContext(CONTENT_NAME, props.__scopeDialog);
1939
+ const { forceMount = portalContext.forceMount, ...contentProps } = props;
1940
+ const context = useDialogContext(CONTENT_NAME, props.__scopeDialog);
1941
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(Presence, { present: forceMount || context.open, children: context.modal ? /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(DialogContentModal, { ...contentProps, ref: forwardedRef }) : /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(DialogContentNonModal, { ...contentProps, ref: forwardedRef }) });
1942
+ }
1943
+ );
1944
+ DialogContent.displayName = CONTENT_NAME;
1945
+ var DialogContentModal = React24.forwardRef(
1946
+ (props, forwardedRef) => {
1947
+ const context = useDialogContext(CONTENT_NAME, props.__scopeDialog);
1948
+ const contentRef = React24.useRef(null);
1949
+ const composedRefs = useComposedRefs(forwardedRef, context.contentRef, contentRef);
1950
+ React24.useEffect(() => {
1951
+ const content = contentRef.current;
1952
+ if (content) return hideOthers(content);
1953
+ }, []);
1954
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
1955
+ DialogContentImpl,
1956
+ {
1957
+ ...props,
1958
+ ref: composedRefs,
1959
+ trapFocus: context.open,
1960
+ disableOutsidePointerEvents: true,
1961
+ onCloseAutoFocus: composeEventHandlers(props.onCloseAutoFocus, (event) => {
1962
+ event.preventDefault();
1963
+ context.triggerRef.current?.focus();
1964
+ }),
1965
+ onPointerDownOutside: composeEventHandlers(props.onPointerDownOutside, (event) => {
1966
+ const originalEvent = event.detail.originalEvent;
1967
+ const ctrlLeftClick = originalEvent.button === 0 && originalEvent.ctrlKey === true;
1968
+ const isRightClick = originalEvent.button === 2 || ctrlLeftClick;
1969
+ if (isRightClick) event.preventDefault();
1970
+ }),
1971
+ onFocusOutside: composeEventHandlers(
1972
+ props.onFocusOutside,
1973
+ (event) => event.preventDefault()
1974
+ )
1975
+ }
1976
+ );
1977
+ }
1978
+ );
1979
+ var DialogContentNonModal = React24.forwardRef(
1980
+ (props, forwardedRef) => {
1981
+ const context = useDialogContext(CONTENT_NAME, props.__scopeDialog);
1982
+ const hasInteractedOutsideRef = React24.useRef(false);
1983
+ const hasPointerDownOutsideRef = React24.useRef(false);
1984
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
1985
+ DialogContentImpl,
1986
+ {
1987
+ ...props,
1988
+ ref: forwardedRef,
1989
+ trapFocus: false,
1990
+ disableOutsidePointerEvents: false,
1991
+ onCloseAutoFocus: (event) => {
1992
+ props.onCloseAutoFocus?.(event);
1993
+ if (!event.defaultPrevented) {
1994
+ if (!hasInteractedOutsideRef.current) context.triggerRef.current?.focus();
1995
+ event.preventDefault();
1996
+ }
1997
+ hasInteractedOutsideRef.current = false;
1998
+ hasPointerDownOutsideRef.current = false;
1999
+ },
2000
+ onInteractOutside: (event) => {
2001
+ props.onInteractOutside?.(event);
2002
+ if (!event.defaultPrevented) {
2003
+ hasInteractedOutsideRef.current = true;
2004
+ if (event.detail.originalEvent.type === "pointerdown") {
2005
+ hasPointerDownOutsideRef.current = true;
2006
+ }
2007
+ }
2008
+ const target = event.target;
2009
+ const targetIsTrigger = context.triggerRef.current?.contains(target);
2010
+ if (targetIsTrigger) event.preventDefault();
2011
+ if (event.detail.originalEvent.type === "focusin" && hasPointerDownOutsideRef.current) {
2012
+ event.preventDefault();
2013
+ }
2014
+ }
2015
+ }
2016
+ );
2017
+ }
2018
+ );
2019
+ var DialogContentImpl = React24.forwardRef(
2020
+ (props, forwardedRef) => {
2021
+ const { __scopeDialog, trapFocus, onOpenAutoFocus, onCloseAutoFocus, ...contentProps } = props;
2022
+ const context = useDialogContext(CONTENT_NAME, __scopeDialog);
2023
+ const contentRef = React24.useRef(null);
2024
+ const composedRefs = useComposedRefs(forwardedRef, contentRef);
2025
+ useFocusGuards();
2026
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
2027
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
2028
+ FocusScope,
2029
+ {
2030
+ asChild: true,
2031
+ loop: true,
2032
+ trapped: trapFocus,
2033
+ onMountAutoFocus: onOpenAutoFocus,
2034
+ onUnmountAutoFocus: onCloseAutoFocus,
2035
+ children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
2036
+ DismissableLayer,
2037
+ {
2038
+ role: "dialog",
2039
+ id: context.contentId,
2040
+ "aria-describedby": context.descriptionId,
2041
+ "aria-labelledby": context.titleId,
2042
+ "data-state": getState(context.open),
2043
+ ...contentProps,
2044
+ ref: composedRefs,
2045
+ onDismiss: () => context.onOpenChange(false)
2046
+ }
2047
+ )
2048
+ }
2049
+ ),
2050
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
2051
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(TitleWarning, { titleId: context.titleId }),
2052
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(DescriptionWarning, { contentRef, descriptionId: context.descriptionId })
2053
+ ] })
2054
+ ] });
2055
+ }
2056
+ );
2057
+ var TITLE_NAME = "DialogTitle";
2058
+ var DialogTitle = React24.forwardRef(
2059
+ (props, forwardedRef) => {
2060
+ const { __scopeDialog, ...titleProps } = props;
2061
+ const context = useDialogContext(TITLE_NAME, __scopeDialog);
2062
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(Primitive.h2, { id: context.titleId, ...titleProps, ref: forwardedRef });
2063
+ }
2064
+ );
2065
+ DialogTitle.displayName = TITLE_NAME;
2066
+ var DESCRIPTION_NAME = "DialogDescription";
2067
+ var DialogDescription = React24.forwardRef(
2068
+ (props, forwardedRef) => {
2069
+ const { __scopeDialog, ...descriptionProps } = props;
2070
+ const context = useDialogContext(DESCRIPTION_NAME, __scopeDialog);
2071
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(Primitive.p, { id: context.descriptionId, ...descriptionProps, ref: forwardedRef });
2072
+ }
2073
+ );
2074
+ DialogDescription.displayName = DESCRIPTION_NAME;
2075
+ var CLOSE_NAME = "DialogClose";
2076
+ var DialogClose = React24.forwardRef(
2077
+ (props, forwardedRef) => {
2078
+ const { __scopeDialog, ...closeProps } = props;
2079
+ const context = useDialogContext(CLOSE_NAME, __scopeDialog);
2080
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
2081
+ Primitive.button,
2082
+ {
2083
+ type: "button",
2084
+ ...closeProps,
2085
+ ref: forwardedRef,
2086
+ onClick: composeEventHandlers(props.onClick, () => context.onOpenChange(false))
2087
+ }
2088
+ );
2089
+ }
2090
+ );
2091
+ DialogClose.displayName = CLOSE_NAME;
2092
+ function getState(open) {
2093
+ return open ? "open" : "closed";
2094
+ }
2095
+ var TITLE_WARNING_NAME = "DialogTitleWarning";
2096
+ var [WarningProvider, useWarningContext] = createContext2(TITLE_WARNING_NAME, {
2097
+ contentName: CONTENT_NAME,
2098
+ titleName: TITLE_NAME,
2099
+ docsSlug: "dialog"
2100
+ });
2101
+ var TitleWarning = ({ titleId }) => {
2102
+ const titleWarningContext = useWarningContext(TITLE_WARNING_NAME);
2103
+ const MESSAGE = `\`${titleWarningContext.contentName}\` requires a \`${titleWarningContext.titleName}\` for the component to be accessible for screen reader users.
2104
+
2105
+ If you want to hide the \`${titleWarningContext.titleName}\`, you can wrap it with our VisuallyHidden component.
2106
+
2107
+ For more information, see https://radix-ui.com/primitives/docs/components/${titleWarningContext.docsSlug}`;
2108
+ React24.useEffect(() => {
2109
+ if (titleId) {
2110
+ const hasTitle = document.getElementById(titleId);
2111
+ if (!hasTitle) console.error(MESSAGE);
2112
+ }
2113
+ }, [MESSAGE, titleId]);
2114
+ return null;
2115
+ };
2116
+ var DESCRIPTION_WARNING_NAME = "DialogDescriptionWarning";
2117
+ var DescriptionWarning = ({ contentRef, descriptionId }) => {
2118
+ const descriptionWarningContext = useWarningContext(DESCRIPTION_WARNING_NAME);
2119
+ const MESSAGE = `Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${descriptionWarningContext.contentName}}.`;
2120
+ React24.useEffect(() => {
2121
+ const describedById = contentRef.current?.getAttribute("aria-describedby");
2122
+ if (descriptionId && describedById) {
2123
+ const hasDescription = document.getElementById(descriptionId);
2124
+ if (!hasDescription) console.warn(MESSAGE);
2125
+ }
2126
+ }, [MESSAGE, contentRef, descriptionId]);
2127
+ return null;
2128
+ };
2129
+ var Root = Dialog;
2130
+ var Trigger = DialogTrigger;
2131
+ var Portal2 = DialogPortal;
2132
+ var Overlay = DialogOverlay;
2133
+ var Content = DialogContent;
2134
+ var Title = DialogTitle;
2135
+ var Description = DialogDescription;
2136
+ var Close = DialogClose;
2137
+
2138
+ // ../node_modules/.pnpm/lucide-react@0.523.0_react@19.2.3/node_modules/lucide-react/dist/esm/createLucideIcon.js
2139
+ var import_react3 = require("react");
2140
+
2141
+ // ../node_modules/.pnpm/lucide-react@0.523.0_react@19.2.3/node_modules/lucide-react/dist/esm/shared/src/utils.js
2142
+ var toKebabCase = (string) => string.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
2143
+ var toCamelCase = (string) => string.replace(
2144
+ /^([A-Z])|[\s-_]+(\w)/g,
2145
+ (match, p1, p2) => p2 ? p2.toUpperCase() : p1.toLowerCase()
2146
+ );
2147
+ var toPascalCase = (string) => {
2148
+ const camelCase = toCamelCase(string);
2149
+ return camelCase.charAt(0).toUpperCase() + camelCase.slice(1);
2150
+ };
2151
+ var mergeClasses = (...classes) => classes.filter((className, index, array) => {
2152
+ return Boolean(className) && className.trim() !== "" && array.indexOf(className) === index;
2153
+ }).join(" ").trim();
2154
+ var hasA11yProp = (props) => {
2155
+ for (const prop in props) {
2156
+ if (prop.startsWith("aria-") || prop === "role" || prop === "title") {
2157
+ return true;
2158
+ }
2159
+ }
2160
+ };
2161
+
2162
+ // ../node_modules/.pnpm/lucide-react@0.523.0_react@19.2.3/node_modules/lucide-react/dist/esm/Icon.js
2163
+ var import_react2 = require("react");
2164
+
2165
+ // ../node_modules/.pnpm/lucide-react@0.523.0_react@19.2.3/node_modules/lucide-react/dist/esm/defaultAttributes.js
2166
+ var defaultAttributes = {
2167
+ xmlns: "http://www.w3.org/2000/svg",
2168
+ width: 24,
2169
+ height: 24,
2170
+ viewBox: "0 0 24 24",
2171
+ fill: "none",
2172
+ stroke: "currentColor",
2173
+ strokeWidth: 2,
2174
+ strokeLinecap: "round",
2175
+ strokeLinejoin: "round"
2176
+ };
2177
+
2178
+ // ../node_modules/.pnpm/lucide-react@0.523.0_react@19.2.3/node_modules/lucide-react/dist/esm/Icon.js
2179
+ var Icon = (0, import_react2.forwardRef)(
2180
+ ({
2181
+ color = "currentColor",
2182
+ size = 24,
2183
+ strokeWidth = 2,
2184
+ absoluteStrokeWidth,
2185
+ className = "",
2186
+ children,
2187
+ iconNode,
2188
+ ...rest
2189
+ }, ref) => (0, import_react2.createElement)(
2190
+ "svg",
2191
+ {
2192
+ ref,
2193
+ ...defaultAttributes,
2194
+ width: size,
2195
+ height: size,
2196
+ stroke: color,
2197
+ strokeWidth: absoluteStrokeWidth ? Number(strokeWidth) * 24 / Number(size) : strokeWidth,
2198
+ className: mergeClasses("lucide", className),
2199
+ ...!children && !hasA11yProp(rest) && { "aria-hidden": "true" },
2200
+ ...rest
2201
+ },
2202
+ [
2203
+ ...iconNode.map(([tag, attrs]) => (0, import_react2.createElement)(tag, attrs)),
2204
+ ...Array.isArray(children) ? children : [children]
2205
+ ]
2206
+ )
2207
+ );
2208
+
2209
+ // ../node_modules/.pnpm/lucide-react@0.523.0_react@19.2.3/node_modules/lucide-react/dist/esm/createLucideIcon.js
2210
+ var createLucideIcon = (iconName, iconNode) => {
2211
+ const Component = (0, import_react3.forwardRef)(
2212
+ ({ className, ...props }, ref) => (0, import_react3.createElement)(Icon, {
2213
+ ref,
2214
+ iconNode,
2215
+ className: mergeClasses(
2216
+ `lucide-${toKebabCase(toPascalCase(iconName))}`,
2217
+ `lucide-${iconName}`,
2218
+ className
2219
+ ),
2220
+ ...props
2221
+ })
2222
+ );
2223
+ Component.displayName = toPascalCase(iconName);
2224
+ return Component;
2225
+ };
2226
+
2227
+ // ../node_modules/.pnpm/lucide-react@0.523.0_react@19.2.3/node_modules/lucide-react/dist/esm/icons/x.js
2228
+ var __iconNode = [
2229
+ ["path", { d: "M18 6 6 18", key: "1bl5f8" }],
2230
+ ["path", { d: "m6 6 12 12", key: "d8bk6v" }]
2231
+ ];
2232
+ var X = createLucideIcon("x", __iconNode);
2233
+
2234
+ // ../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs
2235
+ function r(e) {
2236
+ var t, f, n = "";
2237
+ if ("string" == typeof e || "number" == typeof e) n += e;
2238
+ else if ("object" == typeof e) if (Array.isArray(e)) {
2239
+ var o = e.length;
2240
+ for (t = 0; t < o; t++) e[t] && (f = r(e[t])) && (n && (n += " "), n += f);
2241
+ } else for (f in e) e[f] && (n && (n += " "), n += f);
2242
+ return n;
2243
+ }
2244
+ function clsx() {
2245
+ for (var e, t, f = 0, n = "", o = arguments.length; f < o; f++) (e = arguments[f]) && (t = r(e)) && (n && (n += " "), n += t);
2246
+ return n;
2247
+ }
2248
+
2249
+ // ../node_modules/.pnpm/tailwind-merge@2.6.0/node_modules/tailwind-merge/dist/bundle-mjs.mjs
2250
+ var CLASS_PART_SEPARATOR = "-";
2251
+ var createClassGroupUtils = (config) => {
2252
+ const classMap = createClassMap(config);
2253
+ const {
2254
+ conflictingClassGroups,
2255
+ conflictingClassGroupModifiers
2256
+ } = config;
2257
+ const getClassGroupId = (className) => {
2258
+ const classParts = className.split(CLASS_PART_SEPARATOR);
2259
+ if (classParts[0] === "" && classParts.length !== 1) {
2260
+ classParts.shift();
2261
+ }
2262
+ return getGroupRecursive(classParts, classMap) || getGroupIdForArbitraryProperty(className);
2263
+ };
2264
+ const getConflictingClassGroupIds = (classGroupId, hasPostfixModifier) => {
2265
+ const conflicts = conflictingClassGroups[classGroupId] || [];
2266
+ if (hasPostfixModifier && conflictingClassGroupModifiers[classGroupId]) {
2267
+ return [...conflicts, ...conflictingClassGroupModifiers[classGroupId]];
2268
+ }
2269
+ return conflicts;
2270
+ };
2271
+ return {
2272
+ getClassGroupId,
2273
+ getConflictingClassGroupIds
2274
+ };
2275
+ };
2276
+ var getGroupRecursive = (classParts, classPartObject) => {
2277
+ if (classParts.length === 0) {
2278
+ return classPartObject.classGroupId;
2279
+ }
2280
+ const currentClassPart = classParts[0];
2281
+ const nextClassPartObject = classPartObject.nextPart.get(currentClassPart);
2282
+ const classGroupFromNextClassPart = nextClassPartObject ? getGroupRecursive(classParts.slice(1), nextClassPartObject) : void 0;
2283
+ if (classGroupFromNextClassPart) {
2284
+ return classGroupFromNextClassPart;
2285
+ }
2286
+ if (classPartObject.validators.length === 0) {
2287
+ return void 0;
2288
+ }
2289
+ const classRest = classParts.join(CLASS_PART_SEPARATOR);
2290
+ return classPartObject.validators.find(({
2291
+ validator
2292
+ }) => validator(classRest))?.classGroupId;
2293
+ };
2294
+ var arbitraryPropertyRegex = /^\[(.+)\]$/;
2295
+ var getGroupIdForArbitraryProperty = (className) => {
2296
+ if (arbitraryPropertyRegex.test(className)) {
2297
+ const arbitraryPropertyClassName = arbitraryPropertyRegex.exec(className)[1];
2298
+ const property = arbitraryPropertyClassName?.substring(0, arbitraryPropertyClassName.indexOf(":"));
2299
+ if (property) {
2300
+ return "arbitrary.." + property;
2301
+ }
2302
+ }
2303
+ };
2304
+ var createClassMap = (config) => {
2305
+ const {
2306
+ theme,
2307
+ prefix
2308
+ } = config;
2309
+ const classMap = {
2310
+ nextPart: /* @__PURE__ */ new Map(),
2311
+ validators: []
2312
+ };
2313
+ const prefixedClassGroupEntries = getPrefixedClassGroupEntries(Object.entries(config.classGroups), prefix);
2314
+ prefixedClassGroupEntries.forEach(([classGroupId, classGroup]) => {
2315
+ processClassesRecursively(classGroup, classMap, classGroupId, theme);
2316
+ });
2317
+ return classMap;
2318
+ };
2319
+ var processClassesRecursively = (classGroup, classPartObject, classGroupId, theme) => {
2320
+ classGroup.forEach((classDefinition) => {
2321
+ if (typeof classDefinition === "string") {
2322
+ const classPartObjectToEdit = classDefinition === "" ? classPartObject : getPart(classPartObject, classDefinition);
2323
+ classPartObjectToEdit.classGroupId = classGroupId;
2324
+ return;
2325
+ }
2326
+ if (typeof classDefinition === "function") {
2327
+ if (isThemeGetter(classDefinition)) {
2328
+ processClassesRecursively(classDefinition(theme), classPartObject, classGroupId, theme);
2329
+ return;
2330
+ }
2331
+ classPartObject.validators.push({
2332
+ validator: classDefinition,
2333
+ classGroupId
2334
+ });
2335
+ return;
2336
+ }
2337
+ Object.entries(classDefinition).forEach(([key, classGroup2]) => {
2338
+ processClassesRecursively(classGroup2, getPart(classPartObject, key), classGroupId, theme);
2339
+ });
2340
+ });
2341
+ };
2342
+ var getPart = (classPartObject, path) => {
2343
+ let currentClassPartObject = classPartObject;
2344
+ path.split(CLASS_PART_SEPARATOR).forEach((pathPart) => {
2345
+ if (!currentClassPartObject.nextPart.has(pathPart)) {
2346
+ currentClassPartObject.nextPart.set(pathPart, {
2347
+ nextPart: /* @__PURE__ */ new Map(),
2348
+ validators: []
2349
+ });
2350
+ }
2351
+ currentClassPartObject = currentClassPartObject.nextPart.get(pathPart);
2352
+ });
2353
+ return currentClassPartObject;
2354
+ };
2355
+ var isThemeGetter = (func) => func.isThemeGetter;
2356
+ var getPrefixedClassGroupEntries = (classGroupEntries, prefix) => {
2357
+ if (!prefix) {
2358
+ return classGroupEntries;
2359
+ }
2360
+ return classGroupEntries.map(([classGroupId, classGroup]) => {
2361
+ const prefixedClassGroup = classGroup.map((classDefinition) => {
2362
+ if (typeof classDefinition === "string") {
2363
+ return prefix + classDefinition;
2364
+ }
2365
+ if (typeof classDefinition === "object") {
2366
+ return Object.fromEntries(Object.entries(classDefinition).map(([key, value]) => [prefix + key, value]));
2367
+ }
2368
+ return classDefinition;
2369
+ });
2370
+ return [classGroupId, prefixedClassGroup];
2371
+ });
2372
+ };
2373
+ var createLruCache = (maxCacheSize) => {
2374
+ if (maxCacheSize < 1) {
2375
+ return {
2376
+ get: () => void 0,
2377
+ set: () => {
2378
+ }
2379
+ };
2380
+ }
2381
+ let cacheSize = 0;
2382
+ let cache = /* @__PURE__ */ new Map();
2383
+ let previousCache = /* @__PURE__ */ new Map();
2384
+ const update = (key, value) => {
2385
+ cache.set(key, value);
2386
+ cacheSize++;
2387
+ if (cacheSize > maxCacheSize) {
2388
+ cacheSize = 0;
2389
+ previousCache = cache;
2390
+ cache = /* @__PURE__ */ new Map();
2391
+ }
2392
+ };
2393
+ return {
2394
+ get(key) {
2395
+ let value = cache.get(key);
2396
+ if (value !== void 0) {
2397
+ return value;
2398
+ }
2399
+ if ((value = previousCache.get(key)) !== void 0) {
2400
+ update(key, value);
2401
+ return value;
2402
+ }
2403
+ },
2404
+ set(key, value) {
2405
+ if (cache.has(key)) {
2406
+ cache.set(key, value);
2407
+ } else {
2408
+ update(key, value);
2409
+ }
2410
+ }
2411
+ };
2412
+ };
2413
+ var IMPORTANT_MODIFIER = "!";
2414
+ var createParseClassName = (config) => {
2415
+ const {
2416
+ separator,
2417
+ experimentalParseClassName
2418
+ } = config;
2419
+ const isSeparatorSingleCharacter = separator.length === 1;
2420
+ const firstSeparatorCharacter = separator[0];
2421
+ const separatorLength = separator.length;
2422
+ const parseClassName = (className) => {
2423
+ const modifiers = [];
2424
+ let bracketDepth = 0;
2425
+ let modifierStart = 0;
2426
+ let postfixModifierPosition;
2427
+ for (let index = 0; index < className.length; index++) {
2428
+ let currentCharacter = className[index];
2429
+ if (bracketDepth === 0) {
2430
+ if (currentCharacter === firstSeparatorCharacter && (isSeparatorSingleCharacter || className.slice(index, index + separatorLength) === separator)) {
2431
+ modifiers.push(className.slice(modifierStart, index));
2432
+ modifierStart = index + separatorLength;
2433
+ continue;
2434
+ }
2435
+ if (currentCharacter === "/") {
2436
+ postfixModifierPosition = index;
2437
+ continue;
2438
+ }
2439
+ }
2440
+ if (currentCharacter === "[") {
2441
+ bracketDepth++;
2442
+ } else if (currentCharacter === "]") {
2443
+ bracketDepth--;
2444
+ }
2445
+ }
2446
+ const baseClassNameWithImportantModifier = modifiers.length === 0 ? className : className.substring(modifierStart);
2447
+ const hasImportantModifier = baseClassNameWithImportantModifier.startsWith(IMPORTANT_MODIFIER);
2448
+ const baseClassName = hasImportantModifier ? baseClassNameWithImportantModifier.substring(1) : baseClassNameWithImportantModifier;
2449
+ const maybePostfixModifierPosition = postfixModifierPosition && postfixModifierPosition > modifierStart ? postfixModifierPosition - modifierStart : void 0;
2450
+ return {
2451
+ modifiers,
2452
+ hasImportantModifier,
2453
+ baseClassName,
2454
+ maybePostfixModifierPosition
2455
+ };
2456
+ };
2457
+ if (experimentalParseClassName) {
2458
+ return (className) => experimentalParseClassName({
2459
+ className,
2460
+ parseClassName
2461
+ });
2462
+ }
2463
+ return parseClassName;
2464
+ };
2465
+ var sortModifiers = (modifiers) => {
2466
+ if (modifiers.length <= 1) {
2467
+ return modifiers;
2468
+ }
2469
+ const sortedModifiers = [];
2470
+ let unsortedModifiers = [];
2471
+ modifiers.forEach((modifier) => {
2472
+ const isArbitraryVariant = modifier[0] === "[";
2473
+ if (isArbitraryVariant) {
2474
+ sortedModifiers.push(...unsortedModifiers.sort(), modifier);
2475
+ unsortedModifiers = [];
2476
+ } else {
2477
+ unsortedModifiers.push(modifier);
2478
+ }
2479
+ });
2480
+ sortedModifiers.push(...unsortedModifiers.sort());
2481
+ return sortedModifiers;
2482
+ };
2483
+ var createConfigUtils = (config) => ({
2484
+ cache: createLruCache(config.cacheSize),
2485
+ parseClassName: createParseClassName(config),
2486
+ ...createClassGroupUtils(config)
2487
+ });
2488
+ var SPLIT_CLASSES_REGEX = /\s+/;
2489
+ var mergeClassList = (classList, configUtils) => {
2490
+ const {
2491
+ parseClassName,
2492
+ getClassGroupId,
2493
+ getConflictingClassGroupIds
2494
+ } = configUtils;
2495
+ const classGroupsInConflict = [];
2496
+ const classNames = classList.trim().split(SPLIT_CLASSES_REGEX);
2497
+ let result = "";
2498
+ for (let index = classNames.length - 1; index >= 0; index -= 1) {
2499
+ const originalClassName = classNames[index];
2500
+ const {
2501
+ modifiers,
2502
+ hasImportantModifier,
2503
+ baseClassName,
2504
+ maybePostfixModifierPosition
2505
+ } = parseClassName(originalClassName);
2506
+ let hasPostfixModifier = Boolean(maybePostfixModifierPosition);
2507
+ let classGroupId = getClassGroupId(hasPostfixModifier ? baseClassName.substring(0, maybePostfixModifierPosition) : baseClassName);
2508
+ if (!classGroupId) {
2509
+ if (!hasPostfixModifier) {
2510
+ result = originalClassName + (result.length > 0 ? " " + result : result);
2511
+ continue;
2512
+ }
2513
+ classGroupId = getClassGroupId(baseClassName);
2514
+ if (!classGroupId) {
2515
+ result = originalClassName + (result.length > 0 ? " " + result : result);
2516
+ continue;
2517
+ }
2518
+ hasPostfixModifier = false;
2519
+ }
2520
+ const variantModifier = sortModifiers(modifiers).join(":");
2521
+ const modifierId = hasImportantModifier ? variantModifier + IMPORTANT_MODIFIER : variantModifier;
2522
+ const classId = modifierId + classGroupId;
2523
+ if (classGroupsInConflict.includes(classId)) {
2524
+ continue;
2525
+ }
2526
+ classGroupsInConflict.push(classId);
2527
+ const conflictGroups = getConflictingClassGroupIds(classGroupId, hasPostfixModifier);
2528
+ for (let i = 0; i < conflictGroups.length; ++i) {
2529
+ const group = conflictGroups[i];
2530
+ classGroupsInConflict.push(modifierId + group);
2531
+ }
2532
+ result = originalClassName + (result.length > 0 ? " " + result : result);
2533
+ }
2534
+ return result;
2535
+ };
2536
+ function twJoin() {
2537
+ let index = 0;
2538
+ let argument;
2539
+ let resolvedValue;
2540
+ let string = "";
2541
+ while (index < arguments.length) {
2542
+ if (argument = arguments[index++]) {
2543
+ if (resolvedValue = toValue(argument)) {
2544
+ string && (string += " ");
2545
+ string += resolvedValue;
2546
+ }
2547
+ }
2548
+ }
2549
+ return string;
2550
+ }
2551
+ var toValue = (mix) => {
2552
+ if (typeof mix === "string") {
2553
+ return mix;
2554
+ }
2555
+ let resolvedValue;
2556
+ let string = "";
2557
+ for (let k = 0; k < mix.length; k++) {
2558
+ if (mix[k]) {
2559
+ if (resolvedValue = toValue(mix[k])) {
2560
+ string && (string += " ");
2561
+ string += resolvedValue;
2562
+ }
2563
+ }
2564
+ }
2565
+ return string;
2566
+ };
2567
+ function createTailwindMerge(createConfigFirst, ...createConfigRest) {
2568
+ let configUtils;
2569
+ let cacheGet;
2570
+ let cacheSet;
2571
+ let functionToCall = initTailwindMerge;
2572
+ function initTailwindMerge(classList) {
2573
+ const config = createConfigRest.reduce((previousConfig, createConfigCurrent) => createConfigCurrent(previousConfig), createConfigFirst());
2574
+ configUtils = createConfigUtils(config);
2575
+ cacheGet = configUtils.cache.get;
2576
+ cacheSet = configUtils.cache.set;
2577
+ functionToCall = tailwindMerge;
2578
+ return tailwindMerge(classList);
2579
+ }
2580
+ function tailwindMerge(classList) {
2581
+ const cachedResult = cacheGet(classList);
2582
+ if (cachedResult) {
2583
+ return cachedResult;
2584
+ }
2585
+ const result = mergeClassList(classList, configUtils);
2586
+ cacheSet(classList, result);
2587
+ return result;
2588
+ }
2589
+ return function callTailwindMerge() {
2590
+ return functionToCall(twJoin.apply(null, arguments));
2591
+ };
2592
+ }
2593
+ var fromTheme = (key) => {
2594
+ const themeGetter = (theme) => theme[key] || [];
2595
+ themeGetter.isThemeGetter = true;
2596
+ return themeGetter;
2597
+ };
2598
+ var arbitraryValueRegex = /^\[(?:([a-z-]+):)?(.+)\]$/i;
2599
+ var fractionRegex = /^\d+\/\d+$/;
2600
+ var stringLengths = /* @__PURE__ */ new Set(["px", "full", "screen"]);
2601
+ var tshirtUnitRegex = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/;
2602
+ var lengthUnitRegex = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/;
2603
+ var colorFunctionRegex = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/;
2604
+ var shadowRegex = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;
2605
+ var imageRegex = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;
2606
+ var isLength = (value) => isNumber(value) || stringLengths.has(value) || fractionRegex.test(value);
2607
+ var isArbitraryLength = (value) => getIsArbitraryValue(value, "length", isLengthOnly);
2608
+ var isNumber = (value) => Boolean(value) && !Number.isNaN(Number(value));
2609
+ var isArbitraryNumber = (value) => getIsArbitraryValue(value, "number", isNumber);
2610
+ var isInteger = (value) => Boolean(value) && Number.isInteger(Number(value));
2611
+ var isPercent = (value) => value.endsWith("%") && isNumber(value.slice(0, -1));
2612
+ var isArbitraryValue = (value) => arbitraryValueRegex.test(value);
2613
+ var isTshirtSize = (value) => tshirtUnitRegex.test(value);
2614
+ var sizeLabels = /* @__PURE__ */ new Set(["length", "size", "percentage"]);
2615
+ var isArbitrarySize = (value) => getIsArbitraryValue(value, sizeLabels, isNever);
2616
+ var isArbitraryPosition = (value) => getIsArbitraryValue(value, "position", isNever);
2617
+ var imageLabels = /* @__PURE__ */ new Set(["image", "url"]);
2618
+ var isArbitraryImage = (value) => getIsArbitraryValue(value, imageLabels, isImage);
2619
+ var isArbitraryShadow = (value) => getIsArbitraryValue(value, "", isShadow);
2620
+ var isAny = () => true;
2621
+ var getIsArbitraryValue = (value, label, testValue) => {
2622
+ const result = arbitraryValueRegex.exec(value);
2623
+ if (result) {
2624
+ if (result[1]) {
2625
+ return typeof label === "string" ? result[1] === label : label.has(result[1]);
2626
+ }
2627
+ return testValue(result[2]);
2628
+ }
2629
+ return false;
2630
+ };
2631
+ var isLengthOnly = (value) => (
2632
+ // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
2633
+ // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
2634
+ // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
2635
+ lengthUnitRegex.test(value) && !colorFunctionRegex.test(value)
2636
+ );
2637
+ var isNever = () => false;
2638
+ var isShadow = (value) => shadowRegex.test(value);
2639
+ var isImage = (value) => imageRegex.test(value);
2640
+ var getDefaultConfig = () => {
2641
+ const colors = fromTheme("colors");
2642
+ const spacing = fromTheme("spacing");
2643
+ const blur = fromTheme("blur");
2644
+ const brightness = fromTheme("brightness");
2645
+ const borderColor = fromTheme("borderColor");
2646
+ const borderRadius = fromTheme("borderRadius");
2647
+ const borderSpacing = fromTheme("borderSpacing");
2648
+ const borderWidth = fromTheme("borderWidth");
2649
+ const contrast = fromTheme("contrast");
2650
+ const grayscale = fromTheme("grayscale");
2651
+ const hueRotate = fromTheme("hueRotate");
2652
+ const invert = fromTheme("invert");
2653
+ const gap = fromTheme("gap");
2654
+ const gradientColorStops = fromTheme("gradientColorStops");
2655
+ const gradientColorStopPositions = fromTheme("gradientColorStopPositions");
2656
+ const inset = fromTheme("inset");
2657
+ const margin = fromTheme("margin");
2658
+ const opacity = fromTheme("opacity");
2659
+ const padding = fromTheme("padding");
2660
+ const saturate = fromTheme("saturate");
2661
+ const scale = fromTheme("scale");
2662
+ const sepia = fromTheme("sepia");
2663
+ const skew = fromTheme("skew");
2664
+ const space = fromTheme("space");
2665
+ const translate = fromTheme("translate");
2666
+ const getOverscroll = () => ["auto", "contain", "none"];
2667
+ const getOverflow = () => ["auto", "hidden", "clip", "visible", "scroll"];
2668
+ const getSpacingWithAutoAndArbitrary = () => ["auto", isArbitraryValue, spacing];
2669
+ const getSpacingWithArbitrary = () => [isArbitraryValue, spacing];
2670
+ const getLengthWithEmptyAndArbitrary = () => ["", isLength, isArbitraryLength];
2671
+ const getNumberWithAutoAndArbitrary = () => ["auto", isNumber, isArbitraryValue];
2672
+ const getPositions = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"];
2673
+ const getLineStyles = () => ["solid", "dashed", "dotted", "double", "none"];
2674
+ const getBlendModes = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"];
2675
+ const getAlign = () => ["start", "end", "center", "between", "around", "evenly", "stretch"];
2676
+ const getZeroAndEmpty = () => ["", "0", isArbitraryValue];
2677
+ const getBreaks = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"];
2678
+ const getNumberAndArbitrary = () => [isNumber, isArbitraryValue];
2679
+ return {
2680
+ cacheSize: 500,
2681
+ separator: ":",
2682
+ theme: {
2683
+ colors: [isAny],
2684
+ spacing: [isLength, isArbitraryLength],
2685
+ blur: ["none", "", isTshirtSize, isArbitraryValue],
2686
+ brightness: getNumberAndArbitrary(),
2687
+ borderColor: [colors],
2688
+ borderRadius: ["none", "", "full", isTshirtSize, isArbitraryValue],
2689
+ borderSpacing: getSpacingWithArbitrary(),
2690
+ borderWidth: getLengthWithEmptyAndArbitrary(),
2691
+ contrast: getNumberAndArbitrary(),
2692
+ grayscale: getZeroAndEmpty(),
2693
+ hueRotate: getNumberAndArbitrary(),
2694
+ invert: getZeroAndEmpty(),
2695
+ gap: getSpacingWithArbitrary(),
2696
+ gradientColorStops: [colors],
2697
+ gradientColorStopPositions: [isPercent, isArbitraryLength],
2698
+ inset: getSpacingWithAutoAndArbitrary(),
2699
+ margin: getSpacingWithAutoAndArbitrary(),
2700
+ opacity: getNumberAndArbitrary(),
2701
+ padding: getSpacingWithArbitrary(),
2702
+ saturate: getNumberAndArbitrary(),
2703
+ scale: getNumberAndArbitrary(),
2704
+ sepia: getZeroAndEmpty(),
2705
+ skew: getNumberAndArbitrary(),
2706
+ space: getSpacingWithArbitrary(),
2707
+ translate: getSpacingWithArbitrary()
2708
+ },
2709
+ classGroups: {
2710
+ // Layout
2711
+ /**
2712
+ * Aspect Ratio
2713
+ * @see https://tailwindcss.com/docs/aspect-ratio
2714
+ */
2715
+ aspect: [{
2716
+ aspect: ["auto", "square", "video", isArbitraryValue]
2717
+ }],
2718
+ /**
2719
+ * Container
2720
+ * @see https://tailwindcss.com/docs/container
2721
+ */
2722
+ container: ["container"],
2723
+ /**
2724
+ * Columns
2725
+ * @see https://tailwindcss.com/docs/columns
2726
+ */
2727
+ columns: [{
2728
+ columns: [isTshirtSize]
2729
+ }],
2730
+ /**
2731
+ * Break After
2732
+ * @see https://tailwindcss.com/docs/break-after
2733
+ */
2734
+ "break-after": [{
2735
+ "break-after": getBreaks()
2736
+ }],
2737
+ /**
2738
+ * Break Before
2739
+ * @see https://tailwindcss.com/docs/break-before
2740
+ */
2741
+ "break-before": [{
2742
+ "break-before": getBreaks()
2743
+ }],
2744
+ /**
2745
+ * Break Inside
2746
+ * @see https://tailwindcss.com/docs/break-inside
2747
+ */
2748
+ "break-inside": [{
2749
+ "break-inside": ["auto", "avoid", "avoid-page", "avoid-column"]
2750
+ }],
2751
+ /**
2752
+ * Box Decoration Break
2753
+ * @see https://tailwindcss.com/docs/box-decoration-break
2754
+ */
2755
+ "box-decoration": [{
2756
+ "box-decoration": ["slice", "clone"]
2757
+ }],
2758
+ /**
2759
+ * Box Sizing
2760
+ * @see https://tailwindcss.com/docs/box-sizing
2761
+ */
2762
+ box: [{
2763
+ box: ["border", "content"]
2764
+ }],
2765
+ /**
2766
+ * Display
2767
+ * @see https://tailwindcss.com/docs/display
2768
+ */
2769
+ display: ["block", "inline-block", "inline", "flex", "inline-flex", "table", "inline-table", "table-caption", "table-cell", "table-column", "table-column-group", "table-footer-group", "table-header-group", "table-row-group", "table-row", "flow-root", "grid", "inline-grid", "contents", "list-item", "hidden"],
2770
+ /**
2771
+ * Floats
2772
+ * @see https://tailwindcss.com/docs/float
2773
+ */
2774
+ float: [{
2775
+ float: ["right", "left", "none", "start", "end"]
2776
+ }],
2777
+ /**
2778
+ * Clear
2779
+ * @see https://tailwindcss.com/docs/clear
2780
+ */
2781
+ clear: [{
2782
+ clear: ["left", "right", "both", "none", "start", "end"]
2783
+ }],
2784
+ /**
2785
+ * Isolation
2786
+ * @see https://tailwindcss.com/docs/isolation
2787
+ */
2788
+ isolation: ["isolate", "isolation-auto"],
2789
+ /**
2790
+ * Object Fit
2791
+ * @see https://tailwindcss.com/docs/object-fit
2792
+ */
2793
+ "object-fit": [{
2794
+ object: ["contain", "cover", "fill", "none", "scale-down"]
2795
+ }],
2796
+ /**
2797
+ * Object Position
2798
+ * @see https://tailwindcss.com/docs/object-position
2799
+ */
2800
+ "object-position": [{
2801
+ object: [...getPositions(), isArbitraryValue]
2802
+ }],
2803
+ /**
2804
+ * Overflow
2805
+ * @see https://tailwindcss.com/docs/overflow
2806
+ */
2807
+ overflow: [{
2808
+ overflow: getOverflow()
2809
+ }],
2810
+ /**
2811
+ * Overflow X
2812
+ * @see https://tailwindcss.com/docs/overflow
2813
+ */
2814
+ "overflow-x": [{
2815
+ "overflow-x": getOverflow()
2816
+ }],
2817
+ /**
2818
+ * Overflow Y
2819
+ * @see https://tailwindcss.com/docs/overflow
2820
+ */
2821
+ "overflow-y": [{
2822
+ "overflow-y": getOverflow()
2823
+ }],
2824
+ /**
2825
+ * Overscroll Behavior
2826
+ * @see https://tailwindcss.com/docs/overscroll-behavior
2827
+ */
2828
+ overscroll: [{
2829
+ overscroll: getOverscroll()
2830
+ }],
2831
+ /**
2832
+ * Overscroll Behavior X
2833
+ * @see https://tailwindcss.com/docs/overscroll-behavior
2834
+ */
2835
+ "overscroll-x": [{
2836
+ "overscroll-x": getOverscroll()
2837
+ }],
2838
+ /**
2839
+ * Overscroll Behavior Y
2840
+ * @see https://tailwindcss.com/docs/overscroll-behavior
2841
+ */
2842
+ "overscroll-y": [{
2843
+ "overscroll-y": getOverscroll()
2844
+ }],
2845
+ /**
2846
+ * Position
2847
+ * @see https://tailwindcss.com/docs/position
2848
+ */
2849
+ position: ["static", "fixed", "absolute", "relative", "sticky"],
2850
+ /**
2851
+ * Top / Right / Bottom / Left
2852
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
2853
+ */
2854
+ inset: [{
2855
+ inset: [inset]
2856
+ }],
2857
+ /**
2858
+ * Right / Left
2859
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
2860
+ */
2861
+ "inset-x": [{
2862
+ "inset-x": [inset]
2863
+ }],
2864
+ /**
2865
+ * Top / Bottom
2866
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
2867
+ */
2868
+ "inset-y": [{
2869
+ "inset-y": [inset]
2870
+ }],
2871
+ /**
2872
+ * Start
2873
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
2874
+ */
2875
+ start: [{
2876
+ start: [inset]
2877
+ }],
2878
+ /**
2879
+ * End
2880
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
2881
+ */
2882
+ end: [{
2883
+ end: [inset]
2884
+ }],
2885
+ /**
2886
+ * Top
2887
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
2888
+ */
2889
+ top: [{
2890
+ top: [inset]
2891
+ }],
2892
+ /**
2893
+ * Right
2894
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
2895
+ */
2896
+ right: [{
2897
+ right: [inset]
2898
+ }],
2899
+ /**
2900
+ * Bottom
2901
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
2902
+ */
2903
+ bottom: [{
2904
+ bottom: [inset]
2905
+ }],
2906
+ /**
2907
+ * Left
2908
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
2909
+ */
2910
+ left: [{
2911
+ left: [inset]
2912
+ }],
2913
+ /**
2914
+ * Visibility
2915
+ * @see https://tailwindcss.com/docs/visibility
2916
+ */
2917
+ visibility: ["visible", "invisible", "collapse"],
2918
+ /**
2919
+ * Z-Index
2920
+ * @see https://tailwindcss.com/docs/z-index
2921
+ */
2922
+ z: [{
2923
+ z: ["auto", isInteger, isArbitraryValue]
2924
+ }],
2925
+ // Flexbox and Grid
2926
+ /**
2927
+ * Flex Basis
2928
+ * @see https://tailwindcss.com/docs/flex-basis
2929
+ */
2930
+ basis: [{
2931
+ basis: getSpacingWithAutoAndArbitrary()
2932
+ }],
2933
+ /**
2934
+ * Flex Direction
2935
+ * @see https://tailwindcss.com/docs/flex-direction
2936
+ */
2937
+ "flex-direction": [{
2938
+ flex: ["row", "row-reverse", "col", "col-reverse"]
2939
+ }],
2940
+ /**
2941
+ * Flex Wrap
2942
+ * @see https://tailwindcss.com/docs/flex-wrap
2943
+ */
2944
+ "flex-wrap": [{
2945
+ flex: ["wrap", "wrap-reverse", "nowrap"]
2946
+ }],
2947
+ /**
2948
+ * Flex
2949
+ * @see https://tailwindcss.com/docs/flex
2950
+ */
2951
+ flex: [{
2952
+ flex: ["1", "auto", "initial", "none", isArbitraryValue]
2953
+ }],
2954
+ /**
2955
+ * Flex Grow
2956
+ * @see https://tailwindcss.com/docs/flex-grow
2957
+ */
2958
+ grow: [{
2959
+ grow: getZeroAndEmpty()
2960
+ }],
2961
+ /**
2962
+ * Flex Shrink
2963
+ * @see https://tailwindcss.com/docs/flex-shrink
2964
+ */
2965
+ shrink: [{
2966
+ shrink: getZeroAndEmpty()
2967
+ }],
2968
+ /**
2969
+ * Order
2970
+ * @see https://tailwindcss.com/docs/order
2971
+ */
2972
+ order: [{
2973
+ order: ["first", "last", "none", isInteger, isArbitraryValue]
2974
+ }],
2975
+ /**
2976
+ * Grid Template Columns
2977
+ * @see https://tailwindcss.com/docs/grid-template-columns
2978
+ */
2979
+ "grid-cols": [{
2980
+ "grid-cols": [isAny]
2981
+ }],
2982
+ /**
2983
+ * Grid Column Start / End
2984
+ * @see https://tailwindcss.com/docs/grid-column
2985
+ */
2986
+ "col-start-end": [{
2987
+ col: ["auto", {
2988
+ span: ["full", isInteger, isArbitraryValue]
2989
+ }, isArbitraryValue]
2990
+ }],
2991
+ /**
2992
+ * Grid Column Start
2993
+ * @see https://tailwindcss.com/docs/grid-column
2994
+ */
2995
+ "col-start": [{
2996
+ "col-start": getNumberWithAutoAndArbitrary()
2997
+ }],
2998
+ /**
2999
+ * Grid Column End
3000
+ * @see https://tailwindcss.com/docs/grid-column
3001
+ */
3002
+ "col-end": [{
3003
+ "col-end": getNumberWithAutoAndArbitrary()
3004
+ }],
3005
+ /**
3006
+ * Grid Template Rows
3007
+ * @see https://tailwindcss.com/docs/grid-template-rows
3008
+ */
3009
+ "grid-rows": [{
3010
+ "grid-rows": [isAny]
3011
+ }],
3012
+ /**
3013
+ * Grid Row Start / End
3014
+ * @see https://tailwindcss.com/docs/grid-row
3015
+ */
3016
+ "row-start-end": [{
3017
+ row: ["auto", {
3018
+ span: [isInteger, isArbitraryValue]
3019
+ }, isArbitraryValue]
3020
+ }],
3021
+ /**
3022
+ * Grid Row Start
3023
+ * @see https://tailwindcss.com/docs/grid-row
3024
+ */
3025
+ "row-start": [{
3026
+ "row-start": getNumberWithAutoAndArbitrary()
3027
+ }],
3028
+ /**
3029
+ * Grid Row End
3030
+ * @see https://tailwindcss.com/docs/grid-row
3031
+ */
3032
+ "row-end": [{
3033
+ "row-end": getNumberWithAutoAndArbitrary()
3034
+ }],
3035
+ /**
3036
+ * Grid Auto Flow
3037
+ * @see https://tailwindcss.com/docs/grid-auto-flow
3038
+ */
3039
+ "grid-flow": [{
3040
+ "grid-flow": ["row", "col", "dense", "row-dense", "col-dense"]
3041
+ }],
3042
+ /**
3043
+ * Grid Auto Columns
3044
+ * @see https://tailwindcss.com/docs/grid-auto-columns
3045
+ */
3046
+ "auto-cols": [{
3047
+ "auto-cols": ["auto", "min", "max", "fr", isArbitraryValue]
3048
+ }],
3049
+ /**
3050
+ * Grid Auto Rows
3051
+ * @see https://tailwindcss.com/docs/grid-auto-rows
3052
+ */
3053
+ "auto-rows": [{
3054
+ "auto-rows": ["auto", "min", "max", "fr", isArbitraryValue]
3055
+ }],
3056
+ /**
3057
+ * Gap
3058
+ * @see https://tailwindcss.com/docs/gap
3059
+ */
3060
+ gap: [{
3061
+ gap: [gap]
3062
+ }],
3063
+ /**
3064
+ * Gap X
3065
+ * @see https://tailwindcss.com/docs/gap
3066
+ */
3067
+ "gap-x": [{
3068
+ "gap-x": [gap]
3069
+ }],
3070
+ /**
3071
+ * Gap Y
3072
+ * @see https://tailwindcss.com/docs/gap
3073
+ */
3074
+ "gap-y": [{
3075
+ "gap-y": [gap]
3076
+ }],
3077
+ /**
3078
+ * Justify Content
3079
+ * @see https://tailwindcss.com/docs/justify-content
3080
+ */
3081
+ "justify-content": [{
3082
+ justify: ["normal", ...getAlign()]
3083
+ }],
3084
+ /**
3085
+ * Justify Items
3086
+ * @see https://tailwindcss.com/docs/justify-items
3087
+ */
3088
+ "justify-items": [{
3089
+ "justify-items": ["start", "end", "center", "stretch"]
3090
+ }],
3091
+ /**
3092
+ * Justify Self
3093
+ * @see https://tailwindcss.com/docs/justify-self
3094
+ */
3095
+ "justify-self": [{
3096
+ "justify-self": ["auto", "start", "end", "center", "stretch"]
3097
+ }],
3098
+ /**
3099
+ * Align Content
3100
+ * @see https://tailwindcss.com/docs/align-content
3101
+ */
3102
+ "align-content": [{
3103
+ content: ["normal", ...getAlign(), "baseline"]
3104
+ }],
3105
+ /**
3106
+ * Align Items
3107
+ * @see https://tailwindcss.com/docs/align-items
3108
+ */
3109
+ "align-items": [{
3110
+ items: ["start", "end", "center", "baseline", "stretch"]
3111
+ }],
3112
+ /**
3113
+ * Align Self
3114
+ * @see https://tailwindcss.com/docs/align-self
3115
+ */
3116
+ "align-self": [{
3117
+ self: ["auto", "start", "end", "center", "stretch", "baseline"]
3118
+ }],
3119
+ /**
3120
+ * Place Content
3121
+ * @see https://tailwindcss.com/docs/place-content
3122
+ */
3123
+ "place-content": [{
3124
+ "place-content": [...getAlign(), "baseline"]
3125
+ }],
3126
+ /**
3127
+ * Place Items
3128
+ * @see https://tailwindcss.com/docs/place-items
3129
+ */
3130
+ "place-items": [{
3131
+ "place-items": ["start", "end", "center", "baseline", "stretch"]
3132
+ }],
3133
+ /**
3134
+ * Place Self
3135
+ * @see https://tailwindcss.com/docs/place-self
3136
+ */
3137
+ "place-self": [{
3138
+ "place-self": ["auto", "start", "end", "center", "stretch"]
3139
+ }],
3140
+ // Spacing
3141
+ /**
3142
+ * Padding
3143
+ * @see https://tailwindcss.com/docs/padding
3144
+ */
3145
+ p: [{
3146
+ p: [padding]
3147
+ }],
3148
+ /**
3149
+ * Padding X
3150
+ * @see https://tailwindcss.com/docs/padding
3151
+ */
3152
+ px: [{
3153
+ px: [padding]
3154
+ }],
3155
+ /**
3156
+ * Padding Y
3157
+ * @see https://tailwindcss.com/docs/padding
3158
+ */
3159
+ py: [{
3160
+ py: [padding]
3161
+ }],
3162
+ /**
3163
+ * Padding Start
3164
+ * @see https://tailwindcss.com/docs/padding
3165
+ */
3166
+ ps: [{
3167
+ ps: [padding]
3168
+ }],
3169
+ /**
3170
+ * Padding End
3171
+ * @see https://tailwindcss.com/docs/padding
3172
+ */
3173
+ pe: [{
3174
+ pe: [padding]
3175
+ }],
3176
+ /**
3177
+ * Padding Top
3178
+ * @see https://tailwindcss.com/docs/padding
3179
+ */
3180
+ pt: [{
3181
+ pt: [padding]
3182
+ }],
3183
+ /**
3184
+ * Padding Right
3185
+ * @see https://tailwindcss.com/docs/padding
3186
+ */
3187
+ pr: [{
3188
+ pr: [padding]
3189
+ }],
3190
+ /**
3191
+ * Padding Bottom
3192
+ * @see https://tailwindcss.com/docs/padding
3193
+ */
3194
+ pb: [{
3195
+ pb: [padding]
3196
+ }],
3197
+ /**
3198
+ * Padding Left
3199
+ * @see https://tailwindcss.com/docs/padding
3200
+ */
3201
+ pl: [{
3202
+ pl: [padding]
3203
+ }],
3204
+ /**
3205
+ * Margin
3206
+ * @see https://tailwindcss.com/docs/margin
3207
+ */
3208
+ m: [{
3209
+ m: [margin]
3210
+ }],
3211
+ /**
3212
+ * Margin X
3213
+ * @see https://tailwindcss.com/docs/margin
3214
+ */
3215
+ mx: [{
3216
+ mx: [margin]
3217
+ }],
3218
+ /**
3219
+ * Margin Y
3220
+ * @see https://tailwindcss.com/docs/margin
3221
+ */
3222
+ my: [{
3223
+ my: [margin]
3224
+ }],
3225
+ /**
3226
+ * Margin Start
3227
+ * @see https://tailwindcss.com/docs/margin
3228
+ */
3229
+ ms: [{
3230
+ ms: [margin]
3231
+ }],
3232
+ /**
3233
+ * Margin End
3234
+ * @see https://tailwindcss.com/docs/margin
3235
+ */
3236
+ me: [{
3237
+ me: [margin]
3238
+ }],
3239
+ /**
3240
+ * Margin Top
3241
+ * @see https://tailwindcss.com/docs/margin
3242
+ */
3243
+ mt: [{
3244
+ mt: [margin]
3245
+ }],
3246
+ /**
3247
+ * Margin Right
3248
+ * @see https://tailwindcss.com/docs/margin
3249
+ */
3250
+ mr: [{
3251
+ mr: [margin]
3252
+ }],
3253
+ /**
3254
+ * Margin Bottom
3255
+ * @see https://tailwindcss.com/docs/margin
3256
+ */
3257
+ mb: [{
3258
+ mb: [margin]
3259
+ }],
3260
+ /**
3261
+ * Margin Left
3262
+ * @see https://tailwindcss.com/docs/margin
3263
+ */
3264
+ ml: [{
3265
+ ml: [margin]
3266
+ }],
3267
+ /**
3268
+ * Space Between X
3269
+ * @see https://tailwindcss.com/docs/space
3270
+ */
3271
+ "space-x": [{
3272
+ "space-x": [space]
3273
+ }],
3274
+ /**
3275
+ * Space Between X Reverse
3276
+ * @see https://tailwindcss.com/docs/space
3277
+ */
3278
+ "space-x-reverse": ["space-x-reverse"],
3279
+ /**
3280
+ * Space Between Y
3281
+ * @see https://tailwindcss.com/docs/space
3282
+ */
3283
+ "space-y": [{
3284
+ "space-y": [space]
3285
+ }],
3286
+ /**
3287
+ * Space Between Y Reverse
3288
+ * @see https://tailwindcss.com/docs/space
3289
+ */
3290
+ "space-y-reverse": ["space-y-reverse"],
3291
+ // Sizing
3292
+ /**
3293
+ * Width
3294
+ * @see https://tailwindcss.com/docs/width
3295
+ */
3296
+ w: [{
3297
+ w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw", isArbitraryValue, spacing]
3298
+ }],
3299
+ /**
3300
+ * Min-Width
3301
+ * @see https://tailwindcss.com/docs/min-width
3302
+ */
3303
+ "min-w": [{
3304
+ "min-w": [isArbitraryValue, spacing, "min", "max", "fit"]
3305
+ }],
3306
+ /**
3307
+ * Max-Width
3308
+ * @see https://tailwindcss.com/docs/max-width
3309
+ */
3310
+ "max-w": [{
3311
+ "max-w": [isArbitraryValue, spacing, "none", "full", "min", "max", "fit", "prose", {
3312
+ screen: [isTshirtSize]
3313
+ }, isTshirtSize]
3314
+ }],
3315
+ /**
3316
+ * Height
3317
+ * @see https://tailwindcss.com/docs/height
3318
+ */
3319
+ h: [{
3320
+ h: [isArbitraryValue, spacing, "auto", "min", "max", "fit", "svh", "lvh", "dvh"]
3321
+ }],
3322
+ /**
3323
+ * Min-Height
3324
+ * @see https://tailwindcss.com/docs/min-height
3325
+ */
3326
+ "min-h": [{
3327
+ "min-h": [isArbitraryValue, spacing, "min", "max", "fit", "svh", "lvh", "dvh"]
3328
+ }],
3329
+ /**
3330
+ * Max-Height
3331
+ * @see https://tailwindcss.com/docs/max-height
3332
+ */
3333
+ "max-h": [{
3334
+ "max-h": [isArbitraryValue, spacing, "min", "max", "fit", "svh", "lvh", "dvh"]
3335
+ }],
3336
+ /**
3337
+ * Size
3338
+ * @see https://tailwindcss.com/docs/size
3339
+ */
3340
+ size: [{
3341
+ size: [isArbitraryValue, spacing, "auto", "min", "max", "fit"]
3342
+ }],
3343
+ // Typography
3344
+ /**
3345
+ * Font Size
3346
+ * @see https://tailwindcss.com/docs/font-size
3347
+ */
3348
+ "font-size": [{
3349
+ text: ["base", isTshirtSize, isArbitraryLength]
3350
+ }],
3351
+ /**
3352
+ * Font Smoothing
3353
+ * @see https://tailwindcss.com/docs/font-smoothing
3354
+ */
3355
+ "font-smoothing": ["antialiased", "subpixel-antialiased"],
3356
+ /**
3357
+ * Font Style
3358
+ * @see https://tailwindcss.com/docs/font-style
3359
+ */
3360
+ "font-style": ["italic", "not-italic"],
3361
+ /**
3362
+ * Font Weight
3363
+ * @see https://tailwindcss.com/docs/font-weight
3364
+ */
3365
+ "font-weight": [{
3366
+ font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black", isArbitraryNumber]
3367
+ }],
3368
+ /**
3369
+ * Font Family
3370
+ * @see https://tailwindcss.com/docs/font-family
3371
+ */
3372
+ "font-family": [{
3373
+ font: [isAny]
3374
+ }],
3375
+ /**
3376
+ * Font Variant Numeric
3377
+ * @see https://tailwindcss.com/docs/font-variant-numeric
3378
+ */
3379
+ "fvn-normal": ["normal-nums"],
3380
+ /**
3381
+ * Font Variant Numeric
3382
+ * @see https://tailwindcss.com/docs/font-variant-numeric
3383
+ */
3384
+ "fvn-ordinal": ["ordinal"],
3385
+ /**
3386
+ * Font Variant Numeric
3387
+ * @see https://tailwindcss.com/docs/font-variant-numeric
3388
+ */
3389
+ "fvn-slashed-zero": ["slashed-zero"],
3390
+ /**
3391
+ * Font Variant Numeric
3392
+ * @see https://tailwindcss.com/docs/font-variant-numeric
3393
+ */
3394
+ "fvn-figure": ["lining-nums", "oldstyle-nums"],
3395
+ /**
3396
+ * Font Variant Numeric
3397
+ * @see https://tailwindcss.com/docs/font-variant-numeric
3398
+ */
3399
+ "fvn-spacing": ["proportional-nums", "tabular-nums"],
3400
+ /**
3401
+ * Font Variant Numeric
3402
+ * @see https://tailwindcss.com/docs/font-variant-numeric
3403
+ */
3404
+ "fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
3405
+ /**
3406
+ * Letter Spacing
3407
+ * @see https://tailwindcss.com/docs/letter-spacing
3408
+ */
3409
+ tracking: [{
3410
+ tracking: ["tighter", "tight", "normal", "wide", "wider", "widest", isArbitraryValue]
3411
+ }],
3412
+ /**
3413
+ * Line Clamp
3414
+ * @see https://tailwindcss.com/docs/line-clamp
3415
+ */
3416
+ "line-clamp": [{
3417
+ "line-clamp": ["none", isNumber, isArbitraryNumber]
3418
+ }],
3419
+ /**
3420
+ * Line Height
3421
+ * @see https://tailwindcss.com/docs/line-height
3422
+ */
3423
+ leading: [{
3424
+ leading: ["none", "tight", "snug", "normal", "relaxed", "loose", isLength, isArbitraryValue]
3425
+ }],
3426
+ /**
3427
+ * List Style Image
3428
+ * @see https://tailwindcss.com/docs/list-style-image
3429
+ */
3430
+ "list-image": [{
3431
+ "list-image": ["none", isArbitraryValue]
3432
+ }],
3433
+ /**
3434
+ * List Style Type
3435
+ * @see https://tailwindcss.com/docs/list-style-type
3436
+ */
3437
+ "list-style-type": [{
3438
+ list: ["none", "disc", "decimal", isArbitraryValue]
3439
+ }],
3440
+ /**
3441
+ * List Style Position
3442
+ * @see https://tailwindcss.com/docs/list-style-position
3443
+ */
3444
+ "list-style-position": [{
3445
+ list: ["inside", "outside"]
3446
+ }],
3447
+ /**
3448
+ * Placeholder Color
3449
+ * @deprecated since Tailwind CSS v3.0.0
3450
+ * @see https://tailwindcss.com/docs/placeholder-color
3451
+ */
3452
+ "placeholder-color": [{
3453
+ placeholder: [colors]
3454
+ }],
3455
+ /**
3456
+ * Placeholder Opacity
3457
+ * @see https://tailwindcss.com/docs/placeholder-opacity
3458
+ */
3459
+ "placeholder-opacity": [{
3460
+ "placeholder-opacity": [opacity]
3461
+ }],
3462
+ /**
3463
+ * Text Alignment
3464
+ * @see https://tailwindcss.com/docs/text-align
3465
+ */
3466
+ "text-alignment": [{
3467
+ text: ["left", "center", "right", "justify", "start", "end"]
3468
+ }],
3469
+ /**
3470
+ * Text Color
3471
+ * @see https://tailwindcss.com/docs/text-color
3472
+ */
3473
+ "text-color": [{
3474
+ text: [colors]
3475
+ }],
3476
+ /**
3477
+ * Text Opacity
3478
+ * @see https://tailwindcss.com/docs/text-opacity
3479
+ */
3480
+ "text-opacity": [{
3481
+ "text-opacity": [opacity]
3482
+ }],
3483
+ /**
3484
+ * Text Decoration
3485
+ * @see https://tailwindcss.com/docs/text-decoration
3486
+ */
3487
+ "text-decoration": ["underline", "overline", "line-through", "no-underline"],
3488
+ /**
3489
+ * Text Decoration Style
3490
+ * @see https://tailwindcss.com/docs/text-decoration-style
3491
+ */
3492
+ "text-decoration-style": [{
3493
+ decoration: [...getLineStyles(), "wavy"]
3494
+ }],
3495
+ /**
3496
+ * Text Decoration Thickness
3497
+ * @see https://tailwindcss.com/docs/text-decoration-thickness
3498
+ */
3499
+ "text-decoration-thickness": [{
3500
+ decoration: ["auto", "from-font", isLength, isArbitraryLength]
3501
+ }],
3502
+ /**
3503
+ * Text Underline Offset
3504
+ * @see https://tailwindcss.com/docs/text-underline-offset
3505
+ */
3506
+ "underline-offset": [{
3507
+ "underline-offset": ["auto", isLength, isArbitraryValue]
3508
+ }],
3509
+ /**
3510
+ * Text Decoration Color
3511
+ * @see https://tailwindcss.com/docs/text-decoration-color
3512
+ */
3513
+ "text-decoration-color": [{
3514
+ decoration: [colors]
3515
+ }],
3516
+ /**
3517
+ * Text Transform
3518
+ * @see https://tailwindcss.com/docs/text-transform
3519
+ */
3520
+ "text-transform": ["uppercase", "lowercase", "capitalize", "normal-case"],
3521
+ /**
3522
+ * Text Overflow
3523
+ * @see https://tailwindcss.com/docs/text-overflow
3524
+ */
3525
+ "text-overflow": ["truncate", "text-ellipsis", "text-clip"],
3526
+ /**
3527
+ * Text Wrap
3528
+ * @see https://tailwindcss.com/docs/text-wrap
3529
+ */
3530
+ "text-wrap": [{
3531
+ text: ["wrap", "nowrap", "balance", "pretty"]
3532
+ }],
3533
+ /**
3534
+ * Text Indent
3535
+ * @see https://tailwindcss.com/docs/text-indent
3536
+ */
3537
+ indent: [{
3538
+ indent: getSpacingWithArbitrary()
3539
+ }],
3540
+ /**
3541
+ * Vertical Alignment
3542
+ * @see https://tailwindcss.com/docs/vertical-align
3543
+ */
3544
+ "vertical-align": [{
3545
+ align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", isArbitraryValue]
3546
+ }],
3547
+ /**
3548
+ * Whitespace
3549
+ * @see https://tailwindcss.com/docs/whitespace
3550
+ */
3551
+ whitespace: [{
3552
+ whitespace: ["normal", "nowrap", "pre", "pre-line", "pre-wrap", "break-spaces"]
3553
+ }],
3554
+ /**
3555
+ * Word Break
3556
+ * @see https://tailwindcss.com/docs/word-break
3557
+ */
3558
+ break: [{
3559
+ break: ["normal", "words", "all", "keep"]
3560
+ }],
3561
+ /**
3562
+ * Hyphens
3563
+ * @see https://tailwindcss.com/docs/hyphens
3564
+ */
3565
+ hyphens: [{
3566
+ hyphens: ["none", "manual", "auto"]
3567
+ }],
3568
+ /**
3569
+ * Content
3570
+ * @see https://tailwindcss.com/docs/content
3571
+ */
3572
+ content: [{
3573
+ content: ["none", isArbitraryValue]
3574
+ }],
3575
+ // Backgrounds
3576
+ /**
3577
+ * Background Attachment
3578
+ * @see https://tailwindcss.com/docs/background-attachment
3579
+ */
3580
+ "bg-attachment": [{
3581
+ bg: ["fixed", "local", "scroll"]
3582
+ }],
3583
+ /**
3584
+ * Background Clip
3585
+ * @see https://tailwindcss.com/docs/background-clip
3586
+ */
3587
+ "bg-clip": [{
3588
+ "bg-clip": ["border", "padding", "content", "text"]
3589
+ }],
3590
+ /**
3591
+ * Background Opacity
3592
+ * @deprecated since Tailwind CSS v3.0.0
3593
+ * @see https://tailwindcss.com/docs/background-opacity
3594
+ */
3595
+ "bg-opacity": [{
3596
+ "bg-opacity": [opacity]
3597
+ }],
3598
+ /**
3599
+ * Background Origin
3600
+ * @see https://tailwindcss.com/docs/background-origin
3601
+ */
3602
+ "bg-origin": [{
3603
+ "bg-origin": ["border", "padding", "content"]
3604
+ }],
3605
+ /**
3606
+ * Background Position
3607
+ * @see https://tailwindcss.com/docs/background-position
3608
+ */
3609
+ "bg-position": [{
3610
+ bg: [...getPositions(), isArbitraryPosition]
3611
+ }],
3612
+ /**
3613
+ * Background Repeat
3614
+ * @see https://tailwindcss.com/docs/background-repeat
3615
+ */
3616
+ "bg-repeat": [{
3617
+ bg: ["no-repeat", {
3618
+ repeat: ["", "x", "y", "round", "space"]
3619
+ }]
3620
+ }],
3621
+ /**
3622
+ * Background Size
3623
+ * @see https://tailwindcss.com/docs/background-size
3624
+ */
3625
+ "bg-size": [{
3626
+ bg: ["auto", "cover", "contain", isArbitrarySize]
3627
+ }],
3628
+ /**
3629
+ * Background Image
3630
+ * @see https://tailwindcss.com/docs/background-image
3631
+ */
3632
+ "bg-image": [{
3633
+ bg: ["none", {
3634
+ "gradient-to": ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
3635
+ }, isArbitraryImage]
3636
+ }],
3637
+ /**
3638
+ * Background Color
3639
+ * @see https://tailwindcss.com/docs/background-color
3640
+ */
3641
+ "bg-color": [{
3642
+ bg: [colors]
3643
+ }],
3644
+ /**
3645
+ * Gradient Color Stops From Position
3646
+ * @see https://tailwindcss.com/docs/gradient-color-stops
3647
+ */
3648
+ "gradient-from-pos": [{
3649
+ from: [gradientColorStopPositions]
3650
+ }],
3651
+ /**
3652
+ * Gradient Color Stops Via Position
3653
+ * @see https://tailwindcss.com/docs/gradient-color-stops
3654
+ */
3655
+ "gradient-via-pos": [{
3656
+ via: [gradientColorStopPositions]
3657
+ }],
3658
+ /**
3659
+ * Gradient Color Stops To Position
3660
+ * @see https://tailwindcss.com/docs/gradient-color-stops
3661
+ */
3662
+ "gradient-to-pos": [{
3663
+ to: [gradientColorStopPositions]
3664
+ }],
3665
+ /**
3666
+ * Gradient Color Stops From
3667
+ * @see https://tailwindcss.com/docs/gradient-color-stops
3668
+ */
3669
+ "gradient-from": [{
3670
+ from: [gradientColorStops]
3671
+ }],
3672
+ /**
3673
+ * Gradient Color Stops Via
3674
+ * @see https://tailwindcss.com/docs/gradient-color-stops
3675
+ */
3676
+ "gradient-via": [{
3677
+ via: [gradientColorStops]
3678
+ }],
3679
+ /**
3680
+ * Gradient Color Stops To
3681
+ * @see https://tailwindcss.com/docs/gradient-color-stops
3682
+ */
3683
+ "gradient-to": [{
3684
+ to: [gradientColorStops]
3685
+ }],
3686
+ // Borders
3687
+ /**
3688
+ * Border Radius
3689
+ * @see https://tailwindcss.com/docs/border-radius
3690
+ */
3691
+ rounded: [{
3692
+ rounded: [borderRadius]
3693
+ }],
3694
+ /**
3695
+ * Border Radius Start
3696
+ * @see https://tailwindcss.com/docs/border-radius
3697
+ */
3698
+ "rounded-s": [{
3699
+ "rounded-s": [borderRadius]
3700
+ }],
3701
+ /**
3702
+ * Border Radius End
3703
+ * @see https://tailwindcss.com/docs/border-radius
3704
+ */
3705
+ "rounded-e": [{
3706
+ "rounded-e": [borderRadius]
3707
+ }],
3708
+ /**
3709
+ * Border Radius Top
3710
+ * @see https://tailwindcss.com/docs/border-radius
3711
+ */
3712
+ "rounded-t": [{
3713
+ "rounded-t": [borderRadius]
3714
+ }],
3715
+ /**
3716
+ * Border Radius Right
3717
+ * @see https://tailwindcss.com/docs/border-radius
3718
+ */
3719
+ "rounded-r": [{
3720
+ "rounded-r": [borderRadius]
3721
+ }],
3722
+ /**
3723
+ * Border Radius Bottom
3724
+ * @see https://tailwindcss.com/docs/border-radius
3725
+ */
3726
+ "rounded-b": [{
3727
+ "rounded-b": [borderRadius]
3728
+ }],
3729
+ /**
3730
+ * Border Radius Left
3731
+ * @see https://tailwindcss.com/docs/border-radius
3732
+ */
3733
+ "rounded-l": [{
3734
+ "rounded-l": [borderRadius]
3735
+ }],
3736
+ /**
3737
+ * Border Radius Start Start
3738
+ * @see https://tailwindcss.com/docs/border-radius
3739
+ */
3740
+ "rounded-ss": [{
3741
+ "rounded-ss": [borderRadius]
3742
+ }],
3743
+ /**
3744
+ * Border Radius Start End
3745
+ * @see https://tailwindcss.com/docs/border-radius
3746
+ */
3747
+ "rounded-se": [{
3748
+ "rounded-se": [borderRadius]
3749
+ }],
3750
+ /**
3751
+ * Border Radius End End
3752
+ * @see https://tailwindcss.com/docs/border-radius
3753
+ */
3754
+ "rounded-ee": [{
3755
+ "rounded-ee": [borderRadius]
3756
+ }],
3757
+ /**
3758
+ * Border Radius End Start
3759
+ * @see https://tailwindcss.com/docs/border-radius
3760
+ */
3761
+ "rounded-es": [{
3762
+ "rounded-es": [borderRadius]
3763
+ }],
3764
+ /**
3765
+ * Border Radius Top Left
3766
+ * @see https://tailwindcss.com/docs/border-radius
3767
+ */
3768
+ "rounded-tl": [{
3769
+ "rounded-tl": [borderRadius]
3770
+ }],
3771
+ /**
3772
+ * Border Radius Top Right
3773
+ * @see https://tailwindcss.com/docs/border-radius
3774
+ */
3775
+ "rounded-tr": [{
3776
+ "rounded-tr": [borderRadius]
3777
+ }],
3778
+ /**
3779
+ * Border Radius Bottom Right
3780
+ * @see https://tailwindcss.com/docs/border-radius
3781
+ */
3782
+ "rounded-br": [{
3783
+ "rounded-br": [borderRadius]
3784
+ }],
3785
+ /**
3786
+ * Border Radius Bottom Left
3787
+ * @see https://tailwindcss.com/docs/border-radius
3788
+ */
3789
+ "rounded-bl": [{
3790
+ "rounded-bl": [borderRadius]
3791
+ }],
3792
+ /**
3793
+ * Border Width
3794
+ * @see https://tailwindcss.com/docs/border-width
3795
+ */
3796
+ "border-w": [{
3797
+ border: [borderWidth]
3798
+ }],
3799
+ /**
3800
+ * Border Width X
3801
+ * @see https://tailwindcss.com/docs/border-width
3802
+ */
3803
+ "border-w-x": [{
3804
+ "border-x": [borderWidth]
3805
+ }],
3806
+ /**
3807
+ * Border Width Y
3808
+ * @see https://tailwindcss.com/docs/border-width
3809
+ */
3810
+ "border-w-y": [{
3811
+ "border-y": [borderWidth]
3812
+ }],
3813
+ /**
3814
+ * Border Width Start
3815
+ * @see https://tailwindcss.com/docs/border-width
3816
+ */
3817
+ "border-w-s": [{
3818
+ "border-s": [borderWidth]
3819
+ }],
3820
+ /**
3821
+ * Border Width End
3822
+ * @see https://tailwindcss.com/docs/border-width
3823
+ */
3824
+ "border-w-e": [{
3825
+ "border-e": [borderWidth]
3826
+ }],
3827
+ /**
3828
+ * Border Width Top
3829
+ * @see https://tailwindcss.com/docs/border-width
3830
+ */
3831
+ "border-w-t": [{
3832
+ "border-t": [borderWidth]
3833
+ }],
3834
+ /**
3835
+ * Border Width Right
3836
+ * @see https://tailwindcss.com/docs/border-width
3837
+ */
3838
+ "border-w-r": [{
3839
+ "border-r": [borderWidth]
3840
+ }],
3841
+ /**
3842
+ * Border Width Bottom
3843
+ * @see https://tailwindcss.com/docs/border-width
3844
+ */
3845
+ "border-w-b": [{
3846
+ "border-b": [borderWidth]
3847
+ }],
3848
+ /**
3849
+ * Border Width Left
3850
+ * @see https://tailwindcss.com/docs/border-width
3851
+ */
3852
+ "border-w-l": [{
3853
+ "border-l": [borderWidth]
3854
+ }],
3855
+ /**
3856
+ * Border Opacity
3857
+ * @see https://tailwindcss.com/docs/border-opacity
3858
+ */
3859
+ "border-opacity": [{
3860
+ "border-opacity": [opacity]
3861
+ }],
3862
+ /**
3863
+ * Border Style
3864
+ * @see https://tailwindcss.com/docs/border-style
3865
+ */
3866
+ "border-style": [{
3867
+ border: [...getLineStyles(), "hidden"]
3868
+ }],
3869
+ /**
3870
+ * Divide Width X
3871
+ * @see https://tailwindcss.com/docs/divide-width
3872
+ */
3873
+ "divide-x": [{
3874
+ "divide-x": [borderWidth]
3875
+ }],
3876
+ /**
3877
+ * Divide Width X Reverse
3878
+ * @see https://tailwindcss.com/docs/divide-width
3879
+ */
3880
+ "divide-x-reverse": ["divide-x-reverse"],
3881
+ /**
3882
+ * Divide Width Y
3883
+ * @see https://tailwindcss.com/docs/divide-width
3884
+ */
3885
+ "divide-y": [{
3886
+ "divide-y": [borderWidth]
3887
+ }],
3888
+ /**
3889
+ * Divide Width Y Reverse
3890
+ * @see https://tailwindcss.com/docs/divide-width
3891
+ */
3892
+ "divide-y-reverse": ["divide-y-reverse"],
3893
+ /**
3894
+ * Divide Opacity
3895
+ * @see https://tailwindcss.com/docs/divide-opacity
3896
+ */
3897
+ "divide-opacity": [{
3898
+ "divide-opacity": [opacity]
3899
+ }],
3900
+ /**
3901
+ * Divide Style
3902
+ * @see https://tailwindcss.com/docs/divide-style
3903
+ */
3904
+ "divide-style": [{
3905
+ divide: getLineStyles()
3906
+ }],
3907
+ /**
3908
+ * Border Color
3909
+ * @see https://tailwindcss.com/docs/border-color
3910
+ */
3911
+ "border-color": [{
3912
+ border: [borderColor]
3913
+ }],
3914
+ /**
3915
+ * Border Color X
3916
+ * @see https://tailwindcss.com/docs/border-color
3917
+ */
3918
+ "border-color-x": [{
3919
+ "border-x": [borderColor]
3920
+ }],
3921
+ /**
3922
+ * Border Color Y
3923
+ * @see https://tailwindcss.com/docs/border-color
3924
+ */
3925
+ "border-color-y": [{
3926
+ "border-y": [borderColor]
3927
+ }],
3928
+ /**
3929
+ * Border Color S
3930
+ * @see https://tailwindcss.com/docs/border-color
3931
+ */
3932
+ "border-color-s": [{
3933
+ "border-s": [borderColor]
3934
+ }],
3935
+ /**
3936
+ * Border Color E
3937
+ * @see https://tailwindcss.com/docs/border-color
3938
+ */
3939
+ "border-color-e": [{
3940
+ "border-e": [borderColor]
3941
+ }],
3942
+ /**
3943
+ * Border Color Top
3944
+ * @see https://tailwindcss.com/docs/border-color
3945
+ */
3946
+ "border-color-t": [{
3947
+ "border-t": [borderColor]
3948
+ }],
3949
+ /**
3950
+ * Border Color Right
3951
+ * @see https://tailwindcss.com/docs/border-color
3952
+ */
3953
+ "border-color-r": [{
3954
+ "border-r": [borderColor]
3955
+ }],
3956
+ /**
3957
+ * Border Color Bottom
3958
+ * @see https://tailwindcss.com/docs/border-color
3959
+ */
3960
+ "border-color-b": [{
3961
+ "border-b": [borderColor]
3962
+ }],
3963
+ /**
3964
+ * Border Color Left
3965
+ * @see https://tailwindcss.com/docs/border-color
3966
+ */
3967
+ "border-color-l": [{
3968
+ "border-l": [borderColor]
3969
+ }],
3970
+ /**
3971
+ * Divide Color
3972
+ * @see https://tailwindcss.com/docs/divide-color
3973
+ */
3974
+ "divide-color": [{
3975
+ divide: [borderColor]
3976
+ }],
3977
+ /**
3978
+ * Outline Style
3979
+ * @see https://tailwindcss.com/docs/outline-style
3980
+ */
3981
+ "outline-style": [{
3982
+ outline: ["", ...getLineStyles()]
3983
+ }],
3984
+ /**
3985
+ * Outline Offset
3986
+ * @see https://tailwindcss.com/docs/outline-offset
3987
+ */
3988
+ "outline-offset": [{
3989
+ "outline-offset": [isLength, isArbitraryValue]
3990
+ }],
3991
+ /**
3992
+ * Outline Width
3993
+ * @see https://tailwindcss.com/docs/outline-width
3994
+ */
3995
+ "outline-w": [{
3996
+ outline: [isLength, isArbitraryLength]
3997
+ }],
3998
+ /**
3999
+ * Outline Color
4000
+ * @see https://tailwindcss.com/docs/outline-color
4001
+ */
4002
+ "outline-color": [{
4003
+ outline: [colors]
4004
+ }],
4005
+ /**
4006
+ * Ring Width
4007
+ * @see https://tailwindcss.com/docs/ring-width
4008
+ */
4009
+ "ring-w": [{
4010
+ ring: getLengthWithEmptyAndArbitrary()
4011
+ }],
4012
+ /**
4013
+ * Ring Width Inset
4014
+ * @see https://tailwindcss.com/docs/ring-width
4015
+ */
4016
+ "ring-w-inset": ["ring-inset"],
4017
+ /**
4018
+ * Ring Color
4019
+ * @see https://tailwindcss.com/docs/ring-color
4020
+ */
4021
+ "ring-color": [{
4022
+ ring: [colors]
4023
+ }],
4024
+ /**
4025
+ * Ring Opacity
4026
+ * @see https://tailwindcss.com/docs/ring-opacity
4027
+ */
4028
+ "ring-opacity": [{
4029
+ "ring-opacity": [opacity]
4030
+ }],
4031
+ /**
4032
+ * Ring Offset Width
4033
+ * @see https://tailwindcss.com/docs/ring-offset-width
4034
+ */
4035
+ "ring-offset-w": [{
4036
+ "ring-offset": [isLength, isArbitraryLength]
4037
+ }],
4038
+ /**
4039
+ * Ring Offset Color
4040
+ * @see https://tailwindcss.com/docs/ring-offset-color
4041
+ */
4042
+ "ring-offset-color": [{
4043
+ "ring-offset": [colors]
4044
+ }],
4045
+ // Effects
4046
+ /**
4047
+ * Box Shadow
4048
+ * @see https://tailwindcss.com/docs/box-shadow
4049
+ */
4050
+ shadow: [{
4051
+ shadow: ["", "inner", "none", isTshirtSize, isArbitraryShadow]
4052
+ }],
4053
+ /**
4054
+ * Box Shadow Color
4055
+ * @see https://tailwindcss.com/docs/box-shadow-color
4056
+ */
4057
+ "shadow-color": [{
4058
+ shadow: [isAny]
4059
+ }],
4060
+ /**
4061
+ * Opacity
4062
+ * @see https://tailwindcss.com/docs/opacity
4063
+ */
4064
+ opacity: [{
4065
+ opacity: [opacity]
4066
+ }],
4067
+ /**
4068
+ * Mix Blend Mode
4069
+ * @see https://tailwindcss.com/docs/mix-blend-mode
4070
+ */
4071
+ "mix-blend": [{
4072
+ "mix-blend": [...getBlendModes(), "plus-lighter", "plus-darker"]
4073
+ }],
4074
+ /**
4075
+ * Background Blend Mode
4076
+ * @see https://tailwindcss.com/docs/background-blend-mode
4077
+ */
4078
+ "bg-blend": [{
4079
+ "bg-blend": getBlendModes()
4080
+ }],
4081
+ // Filters
4082
+ /**
4083
+ * Filter
4084
+ * @deprecated since Tailwind CSS v3.0.0
4085
+ * @see https://tailwindcss.com/docs/filter
4086
+ */
4087
+ filter: [{
4088
+ filter: ["", "none"]
4089
+ }],
4090
+ /**
4091
+ * Blur
4092
+ * @see https://tailwindcss.com/docs/blur
4093
+ */
4094
+ blur: [{
4095
+ blur: [blur]
4096
+ }],
4097
+ /**
4098
+ * Brightness
4099
+ * @see https://tailwindcss.com/docs/brightness
4100
+ */
4101
+ brightness: [{
4102
+ brightness: [brightness]
4103
+ }],
4104
+ /**
4105
+ * Contrast
4106
+ * @see https://tailwindcss.com/docs/contrast
4107
+ */
4108
+ contrast: [{
4109
+ contrast: [contrast]
4110
+ }],
4111
+ /**
4112
+ * Drop Shadow
4113
+ * @see https://tailwindcss.com/docs/drop-shadow
4114
+ */
4115
+ "drop-shadow": [{
4116
+ "drop-shadow": ["", "none", isTshirtSize, isArbitraryValue]
4117
+ }],
4118
+ /**
4119
+ * Grayscale
4120
+ * @see https://tailwindcss.com/docs/grayscale
4121
+ */
4122
+ grayscale: [{
4123
+ grayscale: [grayscale]
4124
+ }],
4125
+ /**
4126
+ * Hue Rotate
4127
+ * @see https://tailwindcss.com/docs/hue-rotate
4128
+ */
4129
+ "hue-rotate": [{
4130
+ "hue-rotate": [hueRotate]
4131
+ }],
4132
+ /**
4133
+ * Invert
4134
+ * @see https://tailwindcss.com/docs/invert
4135
+ */
4136
+ invert: [{
4137
+ invert: [invert]
4138
+ }],
4139
+ /**
4140
+ * Saturate
4141
+ * @see https://tailwindcss.com/docs/saturate
4142
+ */
4143
+ saturate: [{
4144
+ saturate: [saturate]
4145
+ }],
4146
+ /**
4147
+ * Sepia
4148
+ * @see https://tailwindcss.com/docs/sepia
4149
+ */
4150
+ sepia: [{
4151
+ sepia: [sepia]
4152
+ }],
4153
+ /**
4154
+ * Backdrop Filter
4155
+ * @deprecated since Tailwind CSS v3.0.0
4156
+ * @see https://tailwindcss.com/docs/backdrop-filter
4157
+ */
4158
+ "backdrop-filter": [{
4159
+ "backdrop-filter": ["", "none"]
4160
+ }],
4161
+ /**
4162
+ * Backdrop Blur
4163
+ * @see https://tailwindcss.com/docs/backdrop-blur
4164
+ */
4165
+ "backdrop-blur": [{
4166
+ "backdrop-blur": [blur]
4167
+ }],
4168
+ /**
4169
+ * Backdrop Brightness
4170
+ * @see https://tailwindcss.com/docs/backdrop-brightness
4171
+ */
4172
+ "backdrop-brightness": [{
4173
+ "backdrop-brightness": [brightness]
4174
+ }],
4175
+ /**
4176
+ * Backdrop Contrast
4177
+ * @see https://tailwindcss.com/docs/backdrop-contrast
4178
+ */
4179
+ "backdrop-contrast": [{
4180
+ "backdrop-contrast": [contrast]
4181
+ }],
4182
+ /**
4183
+ * Backdrop Grayscale
4184
+ * @see https://tailwindcss.com/docs/backdrop-grayscale
4185
+ */
4186
+ "backdrop-grayscale": [{
4187
+ "backdrop-grayscale": [grayscale]
4188
+ }],
4189
+ /**
4190
+ * Backdrop Hue Rotate
4191
+ * @see https://tailwindcss.com/docs/backdrop-hue-rotate
4192
+ */
4193
+ "backdrop-hue-rotate": [{
4194
+ "backdrop-hue-rotate": [hueRotate]
4195
+ }],
4196
+ /**
4197
+ * Backdrop Invert
4198
+ * @see https://tailwindcss.com/docs/backdrop-invert
4199
+ */
4200
+ "backdrop-invert": [{
4201
+ "backdrop-invert": [invert]
4202
+ }],
4203
+ /**
4204
+ * Backdrop Opacity
4205
+ * @see https://tailwindcss.com/docs/backdrop-opacity
4206
+ */
4207
+ "backdrop-opacity": [{
4208
+ "backdrop-opacity": [opacity]
4209
+ }],
4210
+ /**
4211
+ * Backdrop Saturate
4212
+ * @see https://tailwindcss.com/docs/backdrop-saturate
4213
+ */
4214
+ "backdrop-saturate": [{
4215
+ "backdrop-saturate": [saturate]
4216
+ }],
4217
+ /**
4218
+ * Backdrop Sepia
4219
+ * @see https://tailwindcss.com/docs/backdrop-sepia
4220
+ */
4221
+ "backdrop-sepia": [{
4222
+ "backdrop-sepia": [sepia]
4223
+ }],
4224
+ // Tables
4225
+ /**
4226
+ * Border Collapse
4227
+ * @see https://tailwindcss.com/docs/border-collapse
4228
+ */
4229
+ "border-collapse": [{
4230
+ border: ["collapse", "separate"]
4231
+ }],
4232
+ /**
4233
+ * Border Spacing
4234
+ * @see https://tailwindcss.com/docs/border-spacing
4235
+ */
4236
+ "border-spacing": [{
4237
+ "border-spacing": [borderSpacing]
4238
+ }],
4239
+ /**
4240
+ * Border Spacing X
4241
+ * @see https://tailwindcss.com/docs/border-spacing
4242
+ */
4243
+ "border-spacing-x": [{
4244
+ "border-spacing-x": [borderSpacing]
4245
+ }],
4246
+ /**
4247
+ * Border Spacing Y
4248
+ * @see https://tailwindcss.com/docs/border-spacing
4249
+ */
4250
+ "border-spacing-y": [{
4251
+ "border-spacing-y": [borderSpacing]
4252
+ }],
4253
+ /**
4254
+ * Table Layout
4255
+ * @see https://tailwindcss.com/docs/table-layout
4256
+ */
4257
+ "table-layout": [{
4258
+ table: ["auto", "fixed"]
4259
+ }],
4260
+ /**
4261
+ * Caption Side
4262
+ * @see https://tailwindcss.com/docs/caption-side
4263
+ */
4264
+ caption: [{
4265
+ caption: ["top", "bottom"]
4266
+ }],
4267
+ // Transitions and Animation
4268
+ /**
4269
+ * Tranisition Property
4270
+ * @see https://tailwindcss.com/docs/transition-property
4271
+ */
4272
+ transition: [{
4273
+ transition: ["none", "all", "", "colors", "opacity", "shadow", "transform", isArbitraryValue]
4274
+ }],
4275
+ /**
4276
+ * Transition Duration
4277
+ * @see https://tailwindcss.com/docs/transition-duration
4278
+ */
4279
+ duration: [{
4280
+ duration: getNumberAndArbitrary()
4281
+ }],
4282
+ /**
4283
+ * Transition Timing Function
4284
+ * @see https://tailwindcss.com/docs/transition-timing-function
4285
+ */
4286
+ ease: [{
4287
+ ease: ["linear", "in", "out", "in-out", isArbitraryValue]
4288
+ }],
4289
+ /**
4290
+ * Transition Delay
4291
+ * @see https://tailwindcss.com/docs/transition-delay
4292
+ */
4293
+ delay: [{
4294
+ delay: getNumberAndArbitrary()
4295
+ }],
4296
+ /**
4297
+ * Animation
4298
+ * @see https://tailwindcss.com/docs/animation
4299
+ */
4300
+ animate: [{
4301
+ animate: ["none", "spin", "ping", "pulse", "bounce", isArbitraryValue]
4302
+ }],
4303
+ // Transforms
4304
+ /**
4305
+ * Transform
4306
+ * @see https://tailwindcss.com/docs/transform
4307
+ */
4308
+ transform: [{
4309
+ transform: ["", "gpu", "none"]
4310
+ }],
4311
+ /**
4312
+ * Scale
4313
+ * @see https://tailwindcss.com/docs/scale
4314
+ */
4315
+ scale: [{
4316
+ scale: [scale]
4317
+ }],
4318
+ /**
4319
+ * Scale X
4320
+ * @see https://tailwindcss.com/docs/scale
4321
+ */
4322
+ "scale-x": [{
4323
+ "scale-x": [scale]
4324
+ }],
4325
+ /**
4326
+ * Scale Y
4327
+ * @see https://tailwindcss.com/docs/scale
4328
+ */
4329
+ "scale-y": [{
4330
+ "scale-y": [scale]
4331
+ }],
4332
+ /**
4333
+ * Rotate
4334
+ * @see https://tailwindcss.com/docs/rotate
4335
+ */
4336
+ rotate: [{
4337
+ rotate: [isInteger, isArbitraryValue]
4338
+ }],
4339
+ /**
4340
+ * Translate X
4341
+ * @see https://tailwindcss.com/docs/translate
4342
+ */
4343
+ "translate-x": [{
4344
+ "translate-x": [translate]
4345
+ }],
4346
+ /**
4347
+ * Translate Y
4348
+ * @see https://tailwindcss.com/docs/translate
4349
+ */
4350
+ "translate-y": [{
4351
+ "translate-y": [translate]
4352
+ }],
4353
+ /**
4354
+ * Skew X
4355
+ * @see https://tailwindcss.com/docs/skew
4356
+ */
4357
+ "skew-x": [{
4358
+ "skew-x": [skew]
4359
+ }],
4360
+ /**
4361
+ * Skew Y
4362
+ * @see https://tailwindcss.com/docs/skew
4363
+ */
4364
+ "skew-y": [{
4365
+ "skew-y": [skew]
4366
+ }],
4367
+ /**
4368
+ * Transform Origin
4369
+ * @see https://tailwindcss.com/docs/transform-origin
4370
+ */
4371
+ "transform-origin": [{
4372
+ origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left", isArbitraryValue]
4373
+ }],
4374
+ // Interactivity
4375
+ /**
4376
+ * Accent Color
4377
+ * @see https://tailwindcss.com/docs/accent-color
4378
+ */
4379
+ accent: [{
4380
+ accent: ["auto", colors]
4381
+ }],
4382
+ /**
4383
+ * Appearance
4384
+ * @see https://tailwindcss.com/docs/appearance
4385
+ */
4386
+ appearance: [{
4387
+ appearance: ["none", "auto"]
4388
+ }],
4389
+ /**
4390
+ * Cursor
4391
+ * @see https://tailwindcss.com/docs/cursor
4392
+ */
4393
+ cursor: [{
4394
+ cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", isArbitraryValue]
4395
+ }],
4396
+ /**
4397
+ * Caret Color
4398
+ * @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
4399
+ */
4400
+ "caret-color": [{
4401
+ caret: [colors]
4402
+ }],
4403
+ /**
4404
+ * Pointer Events
4405
+ * @see https://tailwindcss.com/docs/pointer-events
4406
+ */
4407
+ "pointer-events": [{
4408
+ "pointer-events": ["none", "auto"]
4409
+ }],
4410
+ /**
4411
+ * Resize
4412
+ * @see https://tailwindcss.com/docs/resize
4413
+ */
4414
+ resize: [{
4415
+ resize: ["none", "y", "x", ""]
4416
+ }],
4417
+ /**
4418
+ * Scroll Behavior
4419
+ * @see https://tailwindcss.com/docs/scroll-behavior
4420
+ */
4421
+ "scroll-behavior": [{
4422
+ scroll: ["auto", "smooth"]
4423
+ }],
4424
+ /**
4425
+ * Scroll Margin
4426
+ * @see https://tailwindcss.com/docs/scroll-margin
4427
+ */
4428
+ "scroll-m": [{
4429
+ "scroll-m": getSpacingWithArbitrary()
4430
+ }],
4431
+ /**
4432
+ * Scroll Margin X
4433
+ * @see https://tailwindcss.com/docs/scroll-margin
4434
+ */
4435
+ "scroll-mx": [{
4436
+ "scroll-mx": getSpacingWithArbitrary()
4437
+ }],
4438
+ /**
4439
+ * Scroll Margin Y
4440
+ * @see https://tailwindcss.com/docs/scroll-margin
4441
+ */
4442
+ "scroll-my": [{
4443
+ "scroll-my": getSpacingWithArbitrary()
4444
+ }],
4445
+ /**
4446
+ * Scroll Margin Start
4447
+ * @see https://tailwindcss.com/docs/scroll-margin
4448
+ */
4449
+ "scroll-ms": [{
4450
+ "scroll-ms": getSpacingWithArbitrary()
4451
+ }],
4452
+ /**
4453
+ * Scroll Margin End
4454
+ * @see https://tailwindcss.com/docs/scroll-margin
4455
+ */
4456
+ "scroll-me": [{
4457
+ "scroll-me": getSpacingWithArbitrary()
4458
+ }],
4459
+ /**
4460
+ * Scroll Margin Top
4461
+ * @see https://tailwindcss.com/docs/scroll-margin
4462
+ */
4463
+ "scroll-mt": [{
4464
+ "scroll-mt": getSpacingWithArbitrary()
4465
+ }],
4466
+ /**
4467
+ * Scroll Margin Right
4468
+ * @see https://tailwindcss.com/docs/scroll-margin
4469
+ */
4470
+ "scroll-mr": [{
4471
+ "scroll-mr": getSpacingWithArbitrary()
4472
+ }],
4473
+ /**
4474
+ * Scroll Margin Bottom
4475
+ * @see https://tailwindcss.com/docs/scroll-margin
4476
+ */
4477
+ "scroll-mb": [{
4478
+ "scroll-mb": getSpacingWithArbitrary()
4479
+ }],
4480
+ /**
4481
+ * Scroll Margin Left
4482
+ * @see https://tailwindcss.com/docs/scroll-margin
4483
+ */
4484
+ "scroll-ml": [{
4485
+ "scroll-ml": getSpacingWithArbitrary()
4486
+ }],
4487
+ /**
4488
+ * Scroll Padding
4489
+ * @see https://tailwindcss.com/docs/scroll-padding
4490
+ */
4491
+ "scroll-p": [{
4492
+ "scroll-p": getSpacingWithArbitrary()
4493
+ }],
4494
+ /**
4495
+ * Scroll Padding X
4496
+ * @see https://tailwindcss.com/docs/scroll-padding
4497
+ */
4498
+ "scroll-px": [{
4499
+ "scroll-px": getSpacingWithArbitrary()
4500
+ }],
4501
+ /**
4502
+ * Scroll Padding Y
4503
+ * @see https://tailwindcss.com/docs/scroll-padding
4504
+ */
4505
+ "scroll-py": [{
4506
+ "scroll-py": getSpacingWithArbitrary()
4507
+ }],
4508
+ /**
4509
+ * Scroll Padding Start
4510
+ * @see https://tailwindcss.com/docs/scroll-padding
4511
+ */
4512
+ "scroll-ps": [{
4513
+ "scroll-ps": getSpacingWithArbitrary()
4514
+ }],
4515
+ /**
4516
+ * Scroll Padding End
4517
+ * @see https://tailwindcss.com/docs/scroll-padding
4518
+ */
4519
+ "scroll-pe": [{
4520
+ "scroll-pe": getSpacingWithArbitrary()
4521
+ }],
4522
+ /**
4523
+ * Scroll Padding Top
4524
+ * @see https://tailwindcss.com/docs/scroll-padding
4525
+ */
4526
+ "scroll-pt": [{
4527
+ "scroll-pt": getSpacingWithArbitrary()
4528
+ }],
4529
+ /**
4530
+ * Scroll Padding Right
4531
+ * @see https://tailwindcss.com/docs/scroll-padding
4532
+ */
4533
+ "scroll-pr": [{
4534
+ "scroll-pr": getSpacingWithArbitrary()
4535
+ }],
4536
+ /**
4537
+ * Scroll Padding Bottom
4538
+ * @see https://tailwindcss.com/docs/scroll-padding
4539
+ */
4540
+ "scroll-pb": [{
4541
+ "scroll-pb": getSpacingWithArbitrary()
4542
+ }],
4543
+ /**
4544
+ * Scroll Padding Left
4545
+ * @see https://tailwindcss.com/docs/scroll-padding
4546
+ */
4547
+ "scroll-pl": [{
4548
+ "scroll-pl": getSpacingWithArbitrary()
4549
+ }],
4550
+ /**
4551
+ * Scroll Snap Align
4552
+ * @see https://tailwindcss.com/docs/scroll-snap-align
4553
+ */
4554
+ "snap-align": [{
4555
+ snap: ["start", "end", "center", "align-none"]
4556
+ }],
4557
+ /**
4558
+ * Scroll Snap Stop
4559
+ * @see https://tailwindcss.com/docs/scroll-snap-stop
4560
+ */
4561
+ "snap-stop": [{
4562
+ snap: ["normal", "always"]
4563
+ }],
4564
+ /**
4565
+ * Scroll Snap Type
4566
+ * @see https://tailwindcss.com/docs/scroll-snap-type
4567
+ */
4568
+ "snap-type": [{
4569
+ snap: ["none", "x", "y", "both"]
4570
+ }],
4571
+ /**
4572
+ * Scroll Snap Type Strictness
4573
+ * @see https://tailwindcss.com/docs/scroll-snap-type
4574
+ */
4575
+ "snap-strictness": [{
4576
+ snap: ["mandatory", "proximity"]
4577
+ }],
4578
+ /**
4579
+ * Touch Action
4580
+ * @see https://tailwindcss.com/docs/touch-action
4581
+ */
4582
+ touch: [{
4583
+ touch: ["auto", "none", "manipulation"]
4584
+ }],
4585
+ /**
4586
+ * Touch Action X
4587
+ * @see https://tailwindcss.com/docs/touch-action
4588
+ */
4589
+ "touch-x": [{
4590
+ "touch-pan": ["x", "left", "right"]
4591
+ }],
4592
+ /**
4593
+ * Touch Action Y
4594
+ * @see https://tailwindcss.com/docs/touch-action
4595
+ */
4596
+ "touch-y": [{
4597
+ "touch-pan": ["y", "up", "down"]
4598
+ }],
4599
+ /**
4600
+ * Touch Action Pinch Zoom
4601
+ * @see https://tailwindcss.com/docs/touch-action
4602
+ */
4603
+ "touch-pz": ["touch-pinch-zoom"],
4604
+ /**
4605
+ * User Select
4606
+ * @see https://tailwindcss.com/docs/user-select
4607
+ */
4608
+ select: [{
4609
+ select: ["none", "text", "all", "auto"]
4610
+ }],
4611
+ /**
4612
+ * Will Change
4613
+ * @see https://tailwindcss.com/docs/will-change
4614
+ */
4615
+ "will-change": [{
4616
+ "will-change": ["auto", "scroll", "contents", "transform", isArbitraryValue]
4617
+ }],
4618
+ // SVG
4619
+ /**
4620
+ * Fill
4621
+ * @see https://tailwindcss.com/docs/fill
4622
+ */
4623
+ fill: [{
4624
+ fill: [colors, "none"]
4625
+ }],
4626
+ /**
4627
+ * Stroke Width
4628
+ * @see https://tailwindcss.com/docs/stroke-width
4629
+ */
4630
+ "stroke-w": [{
4631
+ stroke: [isLength, isArbitraryLength, isArbitraryNumber]
4632
+ }],
4633
+ /**
4634
+ * Stroke
4635
+ * @see https://tailwindcss.com/docs/stroke
4636
+ */
4637
+ stroke: [{
4638
+ stroke: [colors, "none"]
4639
+ }],
4640
+ // Accessibility
4641
+ /**
4642
+ * Screen Readers
4643
+ * @see https://tailwindcss.com/docs/screen-readers
4644
+ */
4645
+ sr: ["sr-only", "not-sr-only"],
4646
+ /**
4647
+ * Forced Color Adjust
4648
+ * @see https://tailwindcss.com/docs/forced-color-adjust
4649
+ */
4650
+ "forced-color-adjust": [{
4651
+ "forced-color-adjust": ["auto", "none"]
4652
+ }]
4653
+ },
4654
+ conflictingClassGroups: {
4655
+ overflow: ["overflow-x", "overflow-y"],
4656
+ overscroll: ["overscroll-x", "overscroll-y"],
4657
+ inset: ["inset-x", "inset-y", "start", "end", "top", "right", "bottom", "left"],
4658
+ "inset-x": ["right", "left"],
4659
+ "inset-y": ["top", "bottom"],
4660
+ flex: ["basis", "grow", "shrink"],
4661
+ gap: ["gap-x", "gap-y"],
4662
+ p: ["px", "py", "ps", "pe", "pt", "pr", "pb", "pl"],
4663
+ px: ["pr", "pl"],
4664
+ py: ["pt", "pb"],
4665
+ m: ["mx", "my", "ms", "me", "mt", "mr", "mb", "ml"],
4666
+ mx: ["mr", "ml"],
4667
+ my: ["mt", "mb"],
4668
+ size: ["w", "h"],
4669
+ "font-size": ["leading"],
4670
+ "fvn-normal": ["fvn-ordinal", "fvn-slashed-zero", "fvn-figure", "fvn-spacing", "fvn-fraction"],
4671
+ "fvn-ordinal": ["fvn-normal"],
4672
+ "fvn-slashed-zero": ["fvn-normal"],
4673
+ "fvn-figure": ["fvn-normal"],
4674
+ "fvn-spacing": ["fvn-normal"],
4675
+ "fvn-fraction": ["fvn-normal"],
4676
+ "line-clamp": ["display", "overflow"],
4677
+ rounded: ["rounded-s", "rounded-e", "rounded-t", "rounded-r", "rounded-b", "rounded-l", "rounded-ss", "rounded-se", "rounded-ee", "rounded-es", "rounded-tl", "rounded-tr", "rounded-br", "rounded-bl"],
4678
+ "rounded-s": ["rounded-ss", "rounded-es"],
4679
+ "rounded-e": ["rounded-se", "rounded-ee"],
4680
+ "rounded-t": ["rounded-tl", "rounded-tr"],
4681
+ "rounded-r": ["rounded-tr", "rounded-br"],
4682
+ "rounded-b": ["rounded-br", "rounded-bl"],
4683
+ "rounded-l": ["rounded-tl", "rounded-bl"],
4684
+ "border-spacing": ["border-spacing-x", "border-spacing-y"],
4685
+ "border-w": ["border-w-s", "border-w-e", "border-w-t", "border-w-r", "border-w-b", "border-w-l"],
4686
+ "border-w-x": ["border-w-r", "border-w-l"],
4687
+ "border-w-y": ["border-w-t", "border-w-b"],
4688
+ "border-color": ["border-color-s", "border-color-e", "border-color-t", "border-color-r", "border-color-b", "border-color-l"],
4689
+ "border-color-x": ["border-color-r", "border-color-l"],
4690
+ "border-color-y": ["border-color-t", "border-color-b"],
4691
+ "scroll-m": ["scroll-mx", "scroll-my", "scroll-ms", "scroll-me", "scroll-mt", "scroll-mr", "scroll-mb", "scroll-ml"],
4692
+ "scroll-mx": ["scroll-mr", "scroll-ml"],
4693
+ "scroll-my": ["scroll-mt", "scroll-mb"],
4694
+ "scroll-p": ["scroll-px", "scroll-py", "scroll-ps", "scroll-pe", "scroll-pt", "scroll-pr", "scroll-pb", "scroll-pl"],
4695
+ "scroll-px": ["scroll-pr", "scroll-pl"],
4696
+ "scroll-py": ["scroll-pt", "scroll-pb"],
4697
+ touch: ["touch-x", "touch-y", "touch-pz"],
4698
+ "touch-x": ["touch"],
4699
+ "touch-y": ["touch"],
4700
+ "touch-pz": ["touch"]
4701
+ },
4702
+ conflictingClassGroupModifiers: {
4703
+ "font-size": ["leading"]
4704
+ }
4705
+ };
4706
+ };
4707
+ var mergeConfigs = (baseConfig, {
4708
+ cacheSize,
4709
+ prefix,
4710
+ separator,
4711
+ experimentalParseClassName,
4712
+ extend = {},
4713
+ override = {}
4714
+ }) => {
4715
+ overrideProperty(baseConfig, "cacheSize", cacheSize);
4716
+ overrideProperty(baseConfig, "prefix", prefix);
4717
+ overrideProperty(baseConfig, "separator", separator);
4718
+ overrideProperty(baseConfig, "experimentalParseClassName", experimentalParseClassName);
4719
+ for (const configKey in override) {
4720
+ overrideConfigProperties(baseConfig[configKey], override[configKey]);
4721
+ }
4722
+ for (const key in extend) {
4723
+ mergeConfigProperties(baseConfig[key], extend[key]);
4724
+ }
4725
+ return baseConfig;
4726
+ };
4727
+ var overrideProperty = (baseObject, overrideKey, overrideValue) => {
4728
+ if (overrideValue !== void 0) {
4729
+ baseObject[overrideKey] = overrideValue;
4730
+ }
4731
+ };
4732
+ var overrideConfigProperties = (baseObject, overrideObject) => {
4733
+ if (overrideObject) {
4734
+ for (const key in overrideObject) {
4735
+ overrideProperty(baseObject, key, overrideObject[key]);
4736
+ }
4737
+ }
4738
+ };
4739
+ var mergeConfigProperties = (baseObject, mergeObject) => {
4740
+ if (mergeObject) {
4741
+ for (const key in mergeObject) {
4742
+ const mergeValue = mergeObject[key];
4743
+ if (mergeValue !== void 0) {
4744
+ baseObject[key] = (baseObject[key] || []).concat(mergeValue);
4745
+ }
4746
+ }
4747
+ }
4748
+ };
4749
+ var extendTailwindMerge = (configExtension, ...createConfig) => typeof configExtension === "function" ? createTailwindMerge(getDefaultConfig, configExtension, ...createConfig) : createTailwindMerge(() => mergeConfigs(getDefaultConfig(), configExtension), ...createConfig);
4750
+
4751
+ // src/libraries/react/lib/utils.ts
4752
+ var twMerge = extendTailwindMerge({
4753
+ prefix: "au-"
4754
+ });
4755
+ function cn(...inputs) {
4756
+ return twMerge(clsx(inputs));
4757
+ }
4758
+
4759
+ // src/libraries/react/components/ui/dialog.tsx
4760
+ var import_jsx_runtime8 = require("react/jsx-runtime");
4761
+ var Dialog2 = Root;
4762
+ var DialogTrigger2 = Trigger;
4763
+ var DialogPortal2 = ({
4764
+ children,
4765
+ ...props
4766
+ }) => {
4767
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(Portal2, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { className: "au-root", children }) });
4768
+ };
4769
+ var DialogClose2 = Close;
4770
+ var DialogOverlay2 = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
4771
+ Overlay,
4772
+ {
4773
+ ref,
4774
+ className: cn(
4775
+ "au-fixed au-inset-0 au-z-50 data-[state=open]:au-animate-in data-[state=closed]:au-animate-out data-[state=closed]:au-fade-out-0 data-[state=open]:au-fade-in-0 au-backdrop-blur-sm au-bg-black/40",
4776
+ className
4777
+ ),
4778
+ ...props
4779
+ }
4780
+ ));
4781
+ DialogOverlay2.displayName = Overlay.displayName;
4782
+ var DialogContent2 = React25.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(DialogPortal2, { children: [
4783
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(DialogOverlay2, {}),
4784
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(
4785
+ Content,
4786
+ {
4787
+ ref,
4788
+ className: cn(
4789
+ `au-fixed au-left-[50%] au-top-[50%] au-z-50 au-grid au-w-full au-max-w-lg au-translate-x-[-50%] au-translate-y-[-50%] au-gap-4 au-border au-bg-background au-p-6 au-shadow-lg au-duration-200 data-[state=open]:au-animate-in data-[state=closed]:au-animate-out data-[state=closed]:au-fade-out-0 data-[state=open]:au-fade-in-0 data-[state=closed]:au-zoom-out-95 data-[state=open]:au-zoom-in-95 data-[state=closed]:au-slide-out-to-left-1/2 data-[state=closed]:au-slide-out-to-top-[48%] data-[state=open]:au-slide-in-from-left-1/2 data-[state=open]:au-slide-in-from-top-[48%] sm:au-rounded-lg`,
4790
+ className
4791
+ ),
4792
+ ...props,
4793
+ children: [
4794
+ children,
4795
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(Close, { className: "au-absolute au-right-4 au-top-4 au-rounded-sm au-opacity-70 au-ring-offset-background au-transition-opacity hover:au-opacity-100 focus:au-outline-none focus:au-ring-2 focus:au-ring-ring focus:au-ring-offset-2 disabled:au-pointer-events-none data-[state=open]:au-bg-accent data-[state=open]:au-text-muted-foreground", children: [
4796
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(X, { className: "au-h-4 au-w-4" }),
4797
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "au-sr-only", children: "Close" })
4798
+ ] })
4799
+ ]
4800
+ }
4801
+ )
4802
+ ] }));
4803
+ DialogContent2.displayName = Content.displayName;
4804
+ var DialogHeader = ({
4805
+ className,
4806
+ ...props
4807
+ }) => /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
4808
+ "div",
4809
+ {
4810
+ className: cn(
4811
+ "au-flex au-flex-col au-space-y-1.5 au-text-center sm:au-text-left",
4812
+ className
4813
+ ),
4814
+ ...props
4815
+ }
4816
+ );
4817
+ DialogHeader.displayName = "DialogHeader";
4818
+ var DialogFooter = ({
4819
+ className,
4820
+ ...props
4821
+ }) => /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
4822
+ "div",
4823
+ {
4824
+ className: cn(
4825
+ "au-flex au-flex-col-reverse sm:au-flex-row sm:au-justify-end sm:au-space-x-2",
4826
+ className
4827
+ ),
4828
+ ...props
4829
+ }
4830
+ );
4831
+ DialogFooter.displayName = "DialogFooter";
4832
+ var DialogTitle2 = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
4833
+ Title,
4834
+ {
4835
+ ref,
4836
+ className: cn(
4837
+ "au-text-lg au-font-semibold au-leading-none au-tracking-tight",
4838
+ className
4839
+ ),
4840
+ ...props
4841
+ }
4842
+ ));
4843
+ DialogTitle2.displayName = Title.displayName;
4844
+ var DialogDescription2 = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
4845
+ Description,
4846
+ {
4847
+ ref,
4848
+ className: cn("au-text-sm au-text-muted-foreground", className),
4849
+ ...props
4850
+ }
4851
+ ));
4852
+ DialogDescription2.displayName = Description.displayName;
4853
+ // Annotate the CommonJS export names for ESM import in node:
4854
+ 0 && (module.exports = {
4855
+ Dialog,
4856
+ DialogClose,
4857
+ DialogContent,
4858
+ DialogDescription,
4859
+ DialogFooter,
4860
+ DialogHeader,
4861
+ DialogOverlay,
4862
+ DialogPortal,
4863
+ DialogTitle,
4864
+ DialogTrigger
4865
+ });
4866
+ /*! Bundled license information:
4867
+
4868
+ lucide-react/dist/esm/shared/src/utils.js:
4869
+ lucide-react/dist/esm/defaultAttributes.js:
4870
+ lucide-react/dist/esm/Icon.js:
4871
+ lucide-react/dist/esm/createLucideIcon.js:
4872
+ lucide-react/dist/esm/icons/x.js:
4873
+ lucide-react/dist/esm/lucide-react.js:
4874
+ (**
4875
+ * @license lucide-react v0.523.0 - ISC
4876
+ *
4877
+ * This source code is licensed under the ISC license.
4878
+ * See the LICENSE file in the root directory of this source tree.
4879
+ *)
4880
+ */