@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,3096 @@
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/switch.tsx
34
+ var switch_exports = {};
35
+ __export(switch_exports, {
36
+ Switch: () => Switch2
37
+ });
38
+ module.exports = __toCommonJS(switch_exports);
39
+ var React10 = __toESM(require("react"));
40
+
41
+ // ../node_modules/.pnpm/@radix-ui+react-switch@1.2.5_@types+react-dom@19.2.3_@types+react@19.1.10__@types+react_df0c661b2d4b00af83e83e256ae42763/node_modules/@radix-ui/react-switch/dist/index.mjs
42
+ var React9 = __toESM(require("react"), 1);
43
+
44
+ // ../node_modules/.pnpm/@radix-ui+primitive@1.1.2/node_modules/@radix-ui/primitive/dist/index.mjs
45
+ function composeEventHandlers(originalEventHandler, ourEventHandler, { checkForDefaultPrevented = true } = {}) {
46
+ return function handleEvent(event) {
47
+ originalEventHandler?.(event);
48
+ if (checkForDefaultPrevented === false || !event.defaultPrevented) {
49
+ return ourEventHandler?.(event);
50
+ }
51
+ };
52
+ }
53
+
54
+ // ../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
55
+ var React = __toESM(require("react"), 1);
56
+ function setRef(ref, value) {
57
+ if (typeof ref === "function") {
58
+ return ref(value);
59
+ } else if (ref !== null && ref !== void 0) {
60
+ ref.current = value;
61
+ }
62
+ }
63
+ function composeRefs(...refs) {
64
+ return (node) => {
65
+ let hasCleanup = false;
66
+ const cleanups = refs.map((ref) => {
67
+ const cleanup = setRef(ref, node);
68
+ if (!hasCleanup && typeof cleanup == "function") {
69
+ hasCleanup = true;
70
+ }
71
+ return cleanup;
72
+ });
73
+ if (hasCleanup) {
74
+ return () => {
75
+ for (let i = 0; i < cleanups.length; i++) {
76
+ const cleanup = cleanups[i];
77
+ if (typeof cleanup == "function") {
78
+ cleanup();
79
+ } else {
80
+ setRef(refs[i], null);
81
+ }
82
+ }
83
+ };
84
+ }
85
+ };
86
+ }
87
+ function useComposedRefs(...refs) {
88
+ return React.useCallback(composeRefs(...refs), refs);
89
+ }
90
+
91
+ // ../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
92
+ var React2 = __toESM(require("react"), 1);
93
+ var import_jsx_runtime = require("react/jsx-runtime");
94
+ function createContextScope(scopeName, createContextScopeDeps = []) {
95
+ let defaultContexts = [];
96
+ function createContext3(rootComponentName, defaultContext) {
97
+ const BaseContext = React2.createContext(defaultContext);
98
+ const index = defaultContexts.length;
99
+ defaultContexts = [...defaultContexts, defaultContext];
100
+ const Provider = (props) => {
101
+ const { scope, children, ...context } = props;
102
+ const Context = scope?.[scopeName]?.[index] || BaseContext;
103
+ const value = React2.useMemo(() => context, Object.values(context));
104
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Context.Provider, { value, children });
105
+ };
106
+ Provider.displayName = rootComponentName + "Provider";
107
+ function useContext2(consumerName, scope) {
108
+ const Context = scope?.[scopeName]?.[index] || BaseContext;
109
+ const context = React2.useContext(Context);
110
+ if (context) return context;
111
+ if (defaultContext !== void 0) return defaultContext;
112
+ throw new Error(`\`${consumerName}\` must be used within \`${rootComponentName}\``);
113
+ }
114
+ return [Provider, useContext2];
115
+ }
116
+ const createScope = () => {
117
+ const scopeContexts = defaultContexts.map((defaultContext) => {
118
+ return React2.createContext(defaultContext);
119
+ });
120
+ return function useScope(scope) {
121
+ const contexts = scope?.[scopeName] || scopeContexts;
122
+ return React2.useMemo(
123
+ () => ({ [`__scope${scopeName}`]: { ...scope, [scopeName]: contexts } }),
124
+ [scope, contexts]
125
+ );
126
+ };
127
+ };
128
+ createScope.scopeName = scopeName;
129
+ return [createContext3, composeContextScopes(createScope, ...createContextScopeDeps)];
130
+ }
131
+ function composeContextScopes(...scopes) {
132
+ const baseScope = scopes[0];
133
+ if (scopes.length === 1) return baseScope;
134
+ const createScope = () => {
135
+ const scopeHooks = scopes.map((createScope2) => ({
136
+ useScope: createScope2(),
137
+ scopeName: createScope2.scopeName
138
+ }));
139
+ return function useComposedScopes(overrideScopes) {
140
+ const nextScopes = scopeHooks.reduce((nextScopes2, { useScope, scopeName }) => {
141
+ const scopeProps = useScope(overrideScopes);
142
+ const currentScope = scopeProps[`__scope${scopeName}`];
143
+ return { ...nextScopes2, ...currentScope };
144
+ }, {});
145
+ return React2.useMemo(() => ({ [`__scope${baseScope.scopeName}`]: nextScopes }), [nextScopes]);
146
+ };
147
+ };
148
+ createScope.scopeName = baseScope.scopeName;
149
+ return createScope;
150
+ }
151
+
152
+ // ../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
153
+ var React4 = __toESM(require("react"), 1);
154
+
155
+ // ../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
156
+ var React3 = __toESM(require("react"), 1);
157
+ var useLayoutEffect2 = globalThis?.document ? React3.useLayoutEffect : () => {
158
+ };
159
+
160
+ // ../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
161
+ var React22 = __toESM(require("react"), 1);
162
+ var useInsertionEffect = React4[" useInsertionEffect ".trim().toString()] || useLayoutEffect2;
163
+ function useControllableState({
164
+ prop,
165
+ defaultProp,
166
+ onChange = () => {
167
+ },
168
+ caller
169
+ }) {
170
+ const [uncontrolledProp, setUncontrolledProp, onChangeRef] = useUncontrolledState({
171
+ defaultProp,
172
+ onChange
173
+ });
174
+ const isControlled = prop !== void 0;
175
+ const value = isControlled ? prop : uncontrolledProp;
176
+ if (true) {
177
+ const isControlledRef = React4.useRef(prop !== void 0);
178
+ React4.useEffect(() => {
179
+ const wasControlled = isControlledRef.current;
180
+ if (wasControlled !== isControlled) {
181
+ const from = wasControlled ? "controlled" : "uncontrolled";
182
+ const to = isControlled ? "controlled" : "uncontrolled";
183
+ console.warn(
184
+ `${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.`
185
+ );
186
+ }
187
+ isControlledRef.current = isControlled;
188
+ }, [isControlled, caller]);
189
+ }
190
+ const setValue = React4.useCallback(
191
+ (nextValue) => {
192
+ if (isControlled) {
193
+ const value2 = isFunction(nextValue) ? nextValue(prop) : nextValue;
194
+ if (value2 !== prop) {
195
+ onChangeRef.current?.(value2);
196
+ }
197
+ } else {
198
+ setUncontrolledProp(nextValue);
199
+ }
200
+ },
201
+ [isControlled, prop, setUncontrolledProp, onChangeRef]
202
+ );
203
+ return [value, setValue];
204
+ }
205
+ function useUncontrolledState({
206
+ defaultProp,
207
+ onChange
208
+ }) {
209
+ const [value, setValue] = React4.useState(defaultProp);
210
+ const prevValueRef = React4.useRef(value);
211
+ const onChangeRef = React4.useRef(onChange);
212
+ useInsertionEffect(() => {
213
+ onChangeRef.current = onChange;
214
+ }, [onChange]);
215
+ React4.useEffect(() => {
216
+ if (prevValueRef.current !== value) {
217
+ onChangeRef.current?.(value);
218
+ prevValueRef.current = value;
219
+ }
220
+ }, [value, prevValueRef]);
221
+ return [value, setValue, onChangeRef];
222
+ }
223
+ function isFunction(value) {
224
+ return typeof value === "function";
225
+ }
226
+ var SYNC_STATE = Symbol("RADIX:SYNC_STATE");
227
+
228
+ // ../node_modules/.pnpm/@radix-ui+react-use-previous@1.1.1_@types+react@19.1.10_react@19.2.3/node_modules/@radix-ui/react-use-previous/dist/index.mjs
229
+ var React5 = __toESM(require("react"), 1);
230
+ function usePrevious(value) {
231
+ const ref = React5.useRef({ value, previous: value });
232
+ return React5.useMemo(() => {
233
+ if (ref.current.value !== value) {
234
+ ref.current.previous = ref.current.value;
235
+ ref.current.value = value;
236
+ }
237
+ return ref.current.previous;
238
+ }, [value]);
239
+ }
240
+
241
+ // ../node_modules/.pnpm/@radix-ui+react-use-size@1.1.1_@types+react@19.1.10_react@19.2.3/node_modules/@radix-ui/react-use-size/dist/index.mjs
242
+ var React6 = __toESM(require("react"), 1);
243
+ function useSize(element) {
244
+ const [size, setSize] = React6.useState(void 0);
245
+ useLayoutEffect2(() => {
246
+ if (element) {
247
+ setSize({ width: element.offsetWidth, height: element.offsetHeight });
248
+ const resizeObserver = new ResizeObserver((entries) => {
249
+ if (!Array.isArray(entries)) {
250
+ return;
251
+ }
252
+ if (!entries.length) {
253
+ return;
254
+ }
255
+ const entry = entries[0];
256
+ let width;
257
+ let height;
258
+ if ("borderBoxSize" in entry) {
259
+ const borderSizeEntry = entry["borderBoxSize"];
260
+ const borderSize = Array.isArray(borderSizeEntry) ? borderSizeEntry[0] : borderSizeEntry;
261
+ width = borderSize["inlineSize"];
262
+ height = borderSize["blockSize"];
263
+ } else {
264
+ width = element.offsetWidth;
265
+ height = element.offsetHeight;
266
+ }
267
+ setSize({ width, height });
268
+ });
269
+ resizeObserver.observe(element, { box: "border-box" });
270
+ return () => resizeObserver.unobserve(element);
271
+ } else {
272
+ setSize(void 0);
273
+ }
274
+ }, [element]);
275
+ return size;
276
+ }
277
+
278
+ // ../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
279
+ var React8 = __toESM(require("react"), 1);
280
+ var ReactDOM = __toESM(require("react-dom"), 1);
281
+
282
+ // ../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
283
+ var React7 = __toESM(require("react"), 1);
284
+ var import_jsx_runtime2 = require("react/jsx-runtime");
285
+ // @__NO_SIDE_EFFECTS__
286
+ function createSlot(ownerName) {
287
+ const SlotClone = /* @__PURE__ */ createSlotClone(ownerName);
288
+ const Slot2 = React7.forwardRef((props, forwardedRef) => {
289
+ const { children, ...slotProps } = props;
290
+ const childrenArray = React7.Children.toArray(children);
291
+ const slottable = childrenArray.find(isSlottable);
292
+ if (slottable) {
293
+ const newElement = slottable.props.children;
294
+ const newChildren = childrenArray.map((child) => {
295
+ if (child === slottable) {
296
+ if (React7.Children.count(newElement) > 1) return React7.Children.only(null);
297
+ return React7.isValidElement(newElement) ? newElement.props.children : null;
298
+ } else {
299
+ return child;
300
+ }
301
+ });
302
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(SlotClone, { ...slotProps, ref: forwardedRef, children: React7.isValidElement(newElement) ? React7.cloneElement(newElement, void 0, newChildren) : null });
303
+ }
304
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(SlotClone, { ...slotProps, ref: forwardedRef, children });
305
+ });
306
+ Slot2.displayName = `${ownerName}.Slot`;
307
+ return Slot2;
308
+ }
309
+ // @__NO_SIDE_EFFECTS__
310
+ function createSlotClone(ownerName) {
311
+ const SlotClone = React7.forwardRef((props, forwardedRef) => {
312
+ const { children, ...slotProps } = props;
313
+ if (React7.isValidElement(children)) {
314
+ const childrenRef = getElementRef(children);
315
+ const props2 = mergeProps(slotProps, children.props);
316
+ if (children.type !== React7.Fragment) {
317
+ props2.ref = forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef;
318
+ }
319
+ return React7.cloneElement(children, props2);
320
+ }
321
+ return React7.Children.count(children) > 1 ? React7.Children.only(null) : null;
322
+ });
323
+ SlotClone.displayName = `${ownerName}.SlotClone`;
324
+ return SlotClone;
325
+ }
326
+ var SLOTTABLE_IDENTIFIER = Symbol("radix.slottable");
327
+ function isSlottable(child) {
328
+ return React7.isValidElement(child) && typeof child.type === "function" && "__radixId" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER;
329
+ }
330
+ function mergeProps(slotProps, childProps) {
331
+ const overrideProps = { ...childProps };
332
+ for (const propName in childProps) {
333
+ const slotPropValue = slotProps[propName];
334
+ const childPropValue = childProps[propName];
335
+ const isHandler = /^on[A-Z]/.test(propName);
336
+ if (isHandler) {
337
+ if (slotPropValue && childPropValue) {
338
+ overrideProps[propName] = (...args) => {
339
+ const result = childPropValue(...args);
340
+ slotPropValue(...args);
341
+ return result;
342
+ };
343
+ } else if (slotPropValue) {
344
+ overrideProps[propName] = slotPropValue;
345
+ }
346
+ } else if (propName === "style") {
347
+ overrideProps[propName] = { ...slotPropValue, ...childPropValue };
348
+ } else if (propName === "className") {
349
+ overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(" ");
350
+ }
351
+ }
352
+ return { ...slotProps, ...overrideProps };
353
+ }
354
+ function getElementRef(element) {
355
+ let getter = Object.getOwnPropertyDescriptor(element.props, "ref")?.get;
356
+ let mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning;
357
+ if (mayWarn) {
358
+ return element.ref;
359
+ }
360
+ getter = Object.getOwnPropertyDescriptor(element, "ref")?.get;
361
+ mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning;
362
+ if (mayWarn) {
363
+ return element.props.ref;
364
+ }
365
+ return element.props.ref || element.ref;
366
+ }
367
+
368
+ // ../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
369
+ var import_jsx_runtime3 = require("react/jsx-runtime");
370
+ var NODES = [
371
+ "a",
372
+ "button",
373
+ "div",
374
+ "form",
375
+ "h2",
376
+ "h3",
377
+ "img",
378
+ "input",
379
+ "label",
380
+ "li",
381
+ "nav",
382
+ "ol",
383
+ "p",
384
+ "select",
385
+ "span",
386
+ "svg",
387
+ "ul"
388
+ ];
389
+ var Primitive = NODES.reduce((primitive, node) => {
390
+ const Slot = createSlot(`Primitive.${node}`);
391
+ const Node = React8.forwardRef((props, forwardedRef) => {
392
+ const { asChild, ...primitiveProps } = props;
393
+ const Comp = asChild ? Slot : node;
394
+ if (typeof window !== "undefined") {
395
+ window[Symbol.for("radix-ui")] = true;
396
+ }
397
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Comp, { ...primitiveProps, ref: forwardedRef });
398
+ });
399
+ Node.displayName = `Primitive.${node}`;
400
+ return { ...primitive, [node]: Node };
401
+ }, {});
402
+
403
+ // ../node_modules/.pnpm/@radix-ui+react-switch@1.2.5_@types+react-dom@19.2.3_@types+react@19.1.10__@types+react_df0c661b2d4b00af83e83e256ae42763/node_modules/@radix-ui/react-switch/dist/index.mjs
404
+ var import_jsx_runtime4 = require("react/jsx-runtime");
405
+ var SWITCH_NAME = "Switch";
406
+ var [createSwitchContext, createSwitchScope] = createContextScope(SWITCH_NAME);
407
+ var [SwitchProvider, useSwitchContext] = createSwitchContext(SWITCH_NAME);
408
+ var Switch = React9.forwardRef(
409
+ (props, forwardedRef) => {
410
+ const {
411
+ __scopeSwitch,
412
+ name,
413
+ checked: checkedProp,
414
+ defaultChecked,
415
+ required,
416
+ disabled,
417
+ value = "on",
418
+ onCheckedChange,
419
+ form,
420
+ ...switchProps
421
+ } = props;
422
+ const [button, setButton] = React9.useState(null);
423
+ const composedRefs = useComposedRefs(forwardedRef, (node) => setButton(node));
424
+ const hasConsumerStoppedPropagationRef = React9.useRef(false);
425
+ const isFormControl = button ? form || !!button.closest("form") : true;
426
+ const [checked, setChecked] = useControllableState({
427
+ prop: checkedProp,
428
+ defaultProp: defaultChecked ?? false,
429
+ onChange: onCheckedChange,
430
+ caller: SWITCH_NAME
431
+ });
432
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(SwitchProvider, { scope: __scopeSwitch, checked, disabled, children: [
433
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
434
+ Primitive.button,
435
+ {
436
+ type: "button",
437
+ role: "switch",
438
+ "aria-checked": checked,
439
+ "aria-required": required,
440
+ "data-state": getState(checked),
441
+ "data-disabled": disabled ? "" : void 0,
442
+ disabled,
443
+ value,
444
+ ...switchProps,
445
+ ref: composedRefs,
446
+ onClick: composeEventHandlers(props.onClick, (event) => {
447
+ setChecked((prevChecked) => !prevChecked);
448
+ if (isFormControl) {
449
+ hasConsumerStoppedPropagationRef.current = event.isPropagationStopped();
450
+ if (!hasConsumerStoppedPropagationRef.current) event.stopPropagation();
451
+ }
452
+ })
453
+ }
454
+ ),
455
+ isFormControl && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
456
+ SwitchBubbleInput,
457
+ {
458
+ control: button,
459
+ bubbles: !hasConsumerStoppedPropagationRef.current,
460
+ name,
461
+ value,
462
+ checked,
463
+ required,
464
+ disabled,
465
+ form,
466
+ style: { transform: "translateX(-100%)" }
467
+ }
468
+ )
469
+ ] });
470
+ }
471
+ );
472
+ Switch.displayName = SWITCH_NAME;
473
+ var THUMB_NAME = "SwitchThumb";
474
+ var SwitchThumb = React9.forwardRef(
475
+ (props, forwardedRef) => {
476
+ const { __scopeSwitch, ...thumbProps } = props;
477
+ const context = useSwitchContext(THUMB_NAME, __scopeSwitch);
478
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
479
+ Primitive.span,
480
+ {
481
+ "data-state": getState(context.checked),
482
+ "data-disabled": context.disabled ? "" : void 0,
483
+ ...thumbProps,
484
+ ref: forwardedRef
485
+ }
486
+ );
487
+ }
488
+ );
489
+ SwitchThumb.displayName = THUMB_NAME;
490
+ var BUBBLE_INPUT_NAME = "SwitchBubbleInput";
491
+ var SwitchBubbleInput = React9.forwardRef(
492
+ ({
493
+ __scopeSwitch,
494
+ control,
495
+ checked,
496
+ bubbles = true,
497
+ ...props
498
+ }, forwardedRef) => {
499
+ const ref = React9.useRef(null);
500
+ const composedRefs = useComposedRefs(ref, forwardedRef);
501
+ const prevChecked = usePrevious(checked);
502
+ const controlSize = useSize(control);
503
+ React9.useEffect(() => {
504
+ const input = ref.current;
505
+ if (!input) return;
506
+ const inputProto = window.HTMLInputElement.prototype;
507
+ const descriptor = Object.getOwnPropertyDescriptor(
508
+ inputProto,
509
+ "checked"
510
+ );
511
+ const setChecked = descriptor.set;
512
+ if (prevChecked !== checked && setChecked) {
513
+ const event = new Event("click", { bubbles });
514
+ setChecked.call(input, checked);
515
+ input.dispatchEvent(event);
516
+ }
517
+ }, [prevChecked, checked, bubbles]);
518
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
519
+ "input",
520
+ {
521
+ type: "checkbox",
522
+ "aria-hidden": true,
523
+ defaultChecked: checked,
524
+ ...props,
525
+ tabIndex: -1,
526
+ ref: composedRefs,
527
+ style: {
528
+ ...props.style,
529
+ ...controlSize,
530
+ position: "absolute",
531
+ pointerEvents: "none",
532
+ opacity: 0,
533
+ margin: 0
534
+ }
535
+ }
536
+ );
537
+ }
538
+ );
539
+ SwitchBubbleInput.displayName = BUBBLE_INPUT_NAME;
540
+ function getState(checked) {
541
+ return checked ? "checked" : "unchecked";
542
+ }
543
+ var Root = Switch;
544
+ var Thumb = SwitchThumb;
545
+
546
+ // ../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs
547
+ function r(e) {
548
+ var t, f, n = "";
549
+ if ("string" == typeof e || "number" == typeof e) n += e;
550
+ else if ("object" == typeof e) if (Array.isArray(e)) {
551
+ var o = e.length;
552
+ for (t = 0; t < o; t++) e[t] && (f = r(e[t])) && (n && (n += " "), n += f);
553
+ } else for (f in e) e[f] && (n && (n += " "), n += f);
554
+ return n;
555
+ }
556
+ function clsx() {
557
+ for (var e, t, f = 0, n = "", o = arguments.length; f < o; f++) (e = arguments[f]) && (t = r(e)) && (n && (n += " "), n += t);
558
+ return n;
559
+ }
560
+
561
+ // ../node_modules/.pnpm/tailwind-merge@2.6.0/node_modules/tailwind-merge/dist/bundle-mjs.mjs
562
+ var CLASS_PART_SEPARATOR = "-";
563
+ var createClassGroupUtils = (config) => {
564
+ const classMap = createClassMap(config);
565
+ const {
566
+ conflictingClassGroups,
567
+ conflictingClassGroupModifiers
568
+ } = config;
569
+ const getClassGroupId = (className) => {
570
+ const classParts = className.split(CLASS_PART_SEPARATOR);
571
+ if (classParts[0] === "" && classParts.length !== 1) {
572
+ classParts.shift();
573
+ }
574
+ return getGroupRecursive(classParts, classMap) || getGroupIdForArbitraryProperty(className);
575
+ };
576
+ const getConflictingClassGroupIds = (classGroupId, hasPostfixModifier) => {
577
+ const conflicts = conflictingClassGroups[classGroupId] || [];
578
+ if (hasPostfixModifier && conflictingClassGroupModifiers[classGroupId]) {
579
+ return [...conflicts, ...conflictingClassGroupModifiers[classGroupId]];
580
+ }
581
+ return conflicts;
582
+ };
583
+ return {
584
+ getClassGroupId,
585
+ getConflictingClassGroupIds
586
+ };
587
+ };
588
+ var getGroupRecursive = (classParts, classPartObject) => {
589
+ if (classParts.length === 0) {
590
+ return classPartObject.classGroupId;
591
+ }
592
+ const currentClassPart = classParts[0];
593
+ const nextClassPartObject = classPartObject.nextPart.get(currentClassPart);
594
+ const classGroupFromNextClassPart = nextClassPartObject ? getGroupRecursive(classParts.slice(1), nextClassPartObject) : void 0;
595
+ if (classGroupFromNextClassPart) {
596
+ return classGroupFromNextClassPart;
597
+ }
598
+ if (classPartObject.validators.length === 0) {
599
+ return void 0;
600
+ }
601
+ const classRest = classParts.join(CLASS_PART_SEPARATOR);
602
+ return classPartObject.validators.find(({
603
+ validator
604
+ }) => validator(classRest))?.classGroupId;
605
+ };
606
+ var arbitraryPropertyRegex = /^\[(.+)\]$/;
607
+ var getGroupIdForArbitraryProperty = (className) => {
608
+ if (arbitraryPropertyRegex.test(className)) {
609
+ const arbitraryPropertyClassName = arbitraryPropertyRegex.exec(className)[1];
610
+ const property = arbitraryPropertyClassName?.substring(0, arbitraryPropertyClassName.indexOf(":"));
611
+ if (property) {
612
+ return "arbitrary.." + property;
613
+ }
614
+ }
615
+ };
616
+ var createClassMap = (config) => {
617
+ const {
618
+ theme,
619
+ prefix
620
+ } = config;
621
+ const classMap = {
622
+ nextPart: /* @__PURE__ */ new Map(),
623
+ validators: []
624
+ };
625
+ const prefixedClassGroupEntries = getPrefixedClassGroupEntries(Object.entries(config.classGroups), prefix);
626
+ prefixedClassGroupEntries.forEach(([classGroupId, classGroup]) => {
627
+ processClassesRecursively(classGroup, classMap, classGroupId, theme);
628
+ });
629
+ return classMap;
630
+ };
631
+ var processClassesRecursively = (classGroup, classPartObject, classGroupId, theme) => {
632
+ classGroup.forEach((classDefinition) => {
633
+ if (typeof classDefinition === "string") {
634
+ const classPartObjectToEdit = classDefinition === "" ? classPartObject : getPart(classPartObject, classDefinition);
635
+ classPartObjectToEdit.classGroupId = classGroupId;
636
+ return;
637
+ }
638
+ if (typeof classDefinition === "function") {
639
+ if (isThemeGetter(classDefinition)) {
640
+ processClassesRecursively(classDefinition(theme), classPartObject, classGroupId, theme);
641
+ return;
642
+ }
643
+ classPartObject.validators.push({
644
+ validator: classDefinition,
645
+ classGroupId
646
+ });
647
+ return;
648
+ }
649
+ Object.entries(classDefinition).forEach(([key, classGroup2]) => {
650
+ processClassesRecursively(classGroup2, getPart(classPartObject, key), classGroupId, theme);
651
+ });
652
+ });
653
+ };
654
+ var getPart = (classPartObject, path) => {
655
+ let currentClassPartObject = classPartObject;
656
+ path.split(CLASS_PART_SEPARATOR).forEach((pathPart) => {
657
+ if (!currentClassPartObject.nextPart.has(pathPart)) {
658
+ currentClassPartObject.nextPart.set(pathPart, {
659
+ nextPart: /* @__PURE__ */ new Map(),
660
+ validators: []
661
+ });
662
+ }
663
+ currentClassPartObject = currentClassPartObject.nextPart.get(pathPart);
664
+ });
665
+ return currentClassPartObject;
666
+ };
667
+ var isThemeGetter = (func) => func.isThemeGetter;
668
+ var getPrefixedClassGroupEntries = (classGroupEntries, prefix) => {
669
+ if (!prefix) {
670
+ return classGroupEntries;
671
+ }
672
+ return classGroupEntries.map(([classGroupId, classGroup]) => {
673
+ const prefixedClassGroup = classGroup.map((classDefinition) => {
674
+ if (typeof classDefinition === "string") {
675
+ return prefix + classDefinition;
676
+ }
677
+ if (typeof classDefinition === "object") {
678
+ return Object.fromEntries(Object.entries(classDefinition).map(([key, value]) => [prefix + key, value]));
679
+ }
680
+ return classDefinition;
681
+ });
682
+ return [classGroupId, prefixedClassGroup];
683
+ });
684
+ };
685
+ var createLruCache = (maxCacheSize) => {
686
+ if (maxCacheSize < 1) {
687
+ return {
688
+ get: () => void 0,
689
+ set: () => {
690
+ }
691
+ };
692
+ }
693
+ let cacheSize = 0;
694
+ let cache = /* @__PURE__ */ new Map();
695
+ let previousCache = /* @__PURE__ */ new Map();
696
+ const update = (key, value) => {
697
+ cache.set(key, value);
698
+ cacheSize++;
699
+ if (cacheSize > maxCacheSize) {
700
+ cacheSize = 0;
701
+ previousCache = cache;
702
+ cache = /* @__PURE__ */ new Map();
703
+ }
704
+ };
705
+ return {
706
+ get(key) {
707
+ let value = cache.get(key);
708
+ if (value !== void 0) {
709
+ return value;
710
+ }
711
+ if ((value = previousCache.get(key)) !== void 0) {
712
+ update(key, value);
713
+ return value;
714
+ }
715
+ },
716
+ set(key, value) {
717
+ if (cache.has(key)) {
718
+ cache.set(key, value);
719
+ } else {
720
+ update(key, value);
721
+ }
722
+ }
723
+ };
724
+ };
725
+ var IMPORTANT_MODIFIER = "!";
726
+ var createParseClassName = (config) => {
727
+ const {
728
+ separator,
729
+ experimentalParseClassName
730
+ } = config;
731
+ const isSeparatorSingleCharacter = separator.length === 1;
732
+ const firstSeparatorCharacter = separator[0];
733
+ const separatorLength = separator.length;
734
+ const parseClassName = (className) => {
735
+ const modifiers = [];
736
+ let bracketDepth = 0;
737
+ let modifierStart = 0;
738
+ let postfixModifierPosition;
739
+ for (let index = 0; index < className.length; index++) {
740
+ let currentCharacter = className[index];
741
+ if (bracketDepth === 0) {
742
+ if (currentCharacter === firstSeparatorCharacter && (isSeparatorSingleCharacter || className.slice(index, index + separatorLength) === separator)) {
743
+ modifiers.push(className.slice(modifierStart, index));
744
+ modifierStart = index + separatorLength;
745
+ continue;
746
+ }
747
+ if (currentCharacter === "/") {
748
+ postfixModifierPosition = index;
749
+ continue;
750
+ }
751
+ }
752
+ if (currentCharacter === "[") {
753
+ bracketDepth++;
754
+ } else if (currentCharacter === "]") {
755
+ bracketDepth--;
756
+ }
757
+ }
758
+ const baseClassNameWithImportantModifier = modifiers.length === 0 ? className : className.substring(modifierStart);
759
+ const hasImportantModifier = baseClassNameWithImportantModifier.startsWith(IMPORTANT_MODIFIER);
760
+ const baseClassName = hasImportantModifier ? baseClassNameWithImportantModifier.substring(1) : baseClassNameWithImportantModifier;
761
+ const maybePostfixModifierPosition = postfixModifierPosition && postfixModifierPosition > modifierStart ? postfixModifierPosition - modifierStart : void 0;
762
+ return {
763
+ modifiers,
764
+ hasImportantModifier,
765
+ baseClassName,
766
+ maybePostfixModifierPosition
767
+ };
768
+ };
769
+ if (experimentalParseClassName) {
770
+ return (className) => experimentalParseClassName({
771
+ className,
772
+ parseClassName
773
+ });
774
+ }
775
+ return parseClassName;
776
+ };
777
+ var sortModifiers = (modifiers) => {
778
+ if (modifiers.length <= 1) {
779
+ return modifiers;
780
+ }
781
+ const sortedModifiers = [];
782
+ let unsortedModifiers = [];
783
+ modifiers.forEach((modifier) => {
784
+ const isArbitraryVariant = modifier[0] === "[";
785
+ if (isArbitraryVariant) {
786
+ sortedModifiers.push(...unsortedModifiers.sort(), modifier);
787
+ unsortedModifiers = [];
788
+ } else {
789
+ unsortedModifiers.push(modifier);
790
+ }
791
+ });
792
+ sortedModifiers.push(...unsortedModifiers.sort());
793
+ return sortedModifiers;
794
+ };
795
+ var createConfigUtils = (config) => ({
796
+ cache: createLruCache(config.cacheSize),
797
+ parseClassName: createParseClassName(config),
798
+ ...createClassGroupUtils(config)
799
+ });
800
+ var SPLIT_CLASSES_REGEX = /\s+/;
801
+ var mergeClassList = (classList, configUtils) => {
802
+ const {
803
+ parseClassName,
804
+ getClassGroupId,
805
+ getConflictingClassGroupIds
806
+ } = configUtils;
807
+ const classGroupsInConflict = [];
808
+ const classNames = classList.trim().split(SPLIT_CLASSES_REGEX);
809
+ let result = "";
810
+ for (let index = classNames.length - 1; index >= 0; index -= 1) {
811
+ const originalClassName = classNames[index];
812
+ const {
813
+ modifiers,
814
+ hasImportantModifier,
815
+ baseClassName,
816
+ maybePostfixModifierPosition
817
+ } = parseClassName(originalClassName);
818
+ let hasPostfixModifier = Boolean(maybePostfixModifierPosition);
819
+ let classGroupId = getClassGroupId(hasPostfixModifier ? baseClassName.substring(0, maybePostfixModifierPosition) : baseClassName);
820
+ if (!classGroupId) {
821
+ if (!hasPostfixModifier) {
822
+ result = originalClassName + (result.length > 0 ? " " + result : result);
823
+ continue;
824
+ }
825
+ classGroupId = getClassGroupId(baseClassName);
826
+ if (!classGroupId) {
827
+ result = originalClassName + (result.length > 0 ? " " + result : result);
828
+ continue;
829
+ }
830
+ hasPostfixModifier = false;
831
+ }
832
+ const variantModifier = sortModifiers(modifiers).join(":");
833
+ const modifierId = hasImportantModifier ? variantModifier + IMPORTANT_MODIFIER : variantModifier;
834
+ const classId = modifierId + classGroupId;
835
+ if (classGroupsInConflict.includes(classId)) {
836
+ continue;
837
+ }
838
+ classGroupsInConflict.push(classId);
839
+ const conflictGroups = getConflictingClassGroupIds(classGroupId, hasPostfixModifier);
840
+ for (let i = 0; i < conflictGroups.length; ++i) {
841
+ const group = conflictGroups[i];
842
+ classGroupsInConflict.push(modifierId + group);
843
+ }
844
+ result = originalClassName + (result.length > 0 ? " " + result : result);
845
+ }
846
+ return result;
847
+ };
848
+ function twJoin() {
849
+ let index = 0;
850
+ let argument;
851
+ let resolvedValue;
852
+ let string = "";
853
+ while (index < arguments.length) {
854
+ if (argument = arguments[index++]) {
855
+ if (resolvedValue = toValue(argument)) {
856
+ string && (string += " ");
857
+ string += resolvedValue;
858
+ }
859
+ }
860
+ }
861
+ return string;
862
+ }
863
+ var toValue = (mix) => {
864
+ if (typeof mix === "string") {
865
+ return mix;
866
+ }
867
+ let resolvedValue;
868
+ let string = "";
869
+ for (let k = 0; k < mix.length; k++) {
870
+ if (mix[k]) {
871
+ if (resolvedValue = toValue(mix[k])) {
872
+ string && (string += " ");
873
+ string += resolvedValue;
874
+ }
875
+ }
876
+ }
877
+ return string;
878
+ };
879
+ function createTailwindMerge(createConfigFirst, ...createConfigRest) {
880
+ let configUtils;
881
+ let cacheGet;
882
+ let cacheSet;
883
+ let functionToCall = initTailwindMerge;
884
+ function initTailwindMerge(classList) {
885
+ const config = createConfigRest.reduce((previousConfig, createConfigCurrent) => createConfigCurrent(previousConfig), createConfigFirst());
886
+ configUtils = createConfigUtils(config);
887
+ cacheGet = configUtils.cache.get;
888
+ cacheSet = configUtils.cache.set;
889
+ functionToCall = tailwindMerge;
890
+ return tailwindMerge(classList);
891
+ }
892
+ function tailwindMerge(classList) {
893
+ const cachedResult = cacheGet(classList);
894
+ if (cachedResult) {
895
+ return cachedResult;
896
+ }
897
+ const result = mergeClassList(classList, configUtils);
898
+ cacheSet(classList, result);
899
+ return result;
900
+ }
901
+ return function callTailwindMerge() {
902
+ return functionToCall(twJoin.apply(null, arguments));
903
+ };
904
+ }
905
+ var fromTheme = (key) => {
906
+ const themeGetter = (theme) => theme[key] || [];
907
+ themeGetter.isThemeGetter = true;
908
+ return themeGetter;
909
+ };
910
+ var arbitraryValueRegex = /^\[(?:([a-z-]+):)?(.+)\]$/i;
911
+ var fractionRegex = /^\d+\/\d+$/;
912
+ var stringLengths = /* @__PURE__ */ new Set(["px", "full", "screen"]);
913
+ var tshirtUnitRegex = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/;
914
+ 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$/;
915
+ var colorFunctionRegex = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/;
916
+ var shadowRegex = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;
917
+ var imageRegex = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;
918
+ var isLength = (value) => isNumber(value) || stringLengths.has(value) || fractionRegex.test(value);
919
+ var isArbitraryLength = (value) => getIsArbitraryValue(value, "length", isLengthOnly);
920
+ var isNumber = (value) => Boolean(value) && !Number.isNaN(Number(value));
921
+ var isArbitraryNumber = (value) => getIsArbitraryValue(value, "number", isNumber);
922
+ var isInteger = (value) => Boolean(value) && Number.isInteger(Number(value));
923
+ var isPercent = (value) => value.endsWith("%") && isNumber(value.slice(0, -1));
924
+ var isArbitraryValue = (value) => arbitraryValueRegex.test(value);
925
+ var isTshirtSize = (value) => tshirtUnitRegex.test(value);
926
+ var sizeLabels = /* @__PURE__ */ new Set(["length", "size", "percentage"]);
927
+ var isArbitrarySize = (value) => getIsArbitraryValue(value, sizeLabels, isNever);
928
+ var isArbitraryPosition = (value) => getIsArbitraryValue(value, "position", isNever);
929
+ var imageLabels = /* @__PURE__ */ new Set(["image", "url"]);
930
+ var isArbitraryImage = (value) => getIsArbitraryValue(value, imageLabels, isImage);
931
+ var isArbitraryShadow = (value) => getIsArbitraryValue(value, "", isShadow);
932
+ var isAny = () => true;
933
+ var getIsArbitraryValue = (value, label, testValue) => {
934
+ const result = arbitraryValueRegex.exec(value);
935
+ if (result) {
936
+ if (result[1]) {
937
+ return typeof label === "string" ? result[1] === label : label.has(result[1]);
938
+ }
939
+ return testValue(result[2]);
940
+ }
941
+ return false;
942
+ };
943
+ var isLengthOnly = (value) => (
944
+ // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
945
+ // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
946
+ // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
947
+ lengthUnitRegex.test(value) && !colorFunctionRegex.test(value)
948
+ );
949
+ var isNever = () => false;
950
+ var isShadow = (value) => shadowRegex.test(value);
951
+ var isImage = (value) => imageRegex.test(value);
952
+ var getDefaultConfig = () => {
953
+ const colors = fromTheme("colors");
954
+ const spacing = fromTheme("spacing");
955
+ const blur = fromTheme("blur");
956
+ const brightness = fromTheme("brightness");
957
+ const borderColor = fromTheme("borderColor");
958
+ const borderRadius = fromTheme("borderRadius");
959
+ const borderSpacing = fromTheme("borderSpacing");
960
+ const borderWidth = fromTheme("borderWidth");
961
+ const contrast = fromTheme("contrast");
962
+ const grayscale = fromTheme("grayscale");
963
+ const hueRotate = fromTheme("hueRotate");
964
+ const invert = fromTheme("invert");
965
+ const gap = fromTheme("gap");
966
+ const gradientColorStops = fromTheme("gradientColorStops");
967
+ const gradientColorStopPositions = fromTheme("gradientColorStopPositions");
968
+ const inset = fromTheme("inset");
969
+ const margin = fromTheme("margin");
970
+ const opacity = fromTheme("opacity");
971
+ const padding = fromTheme("padding");
972
+ const saturate = fromTheme("saturate");
973
+ const scale = fromTheme("scale");
974
+ const sepia = fromTheme("sepia");
975
+ const skew = fromTheme("skew");
976
+ const space = fromTheme("space");
977
+ const translate = fromTheme("translate");
978
+ const getOverscroll = () => ["auto", "contain", "none"];
979
+ const getOverflow = () => ["auto", "hidden", "clip", "visible", "scroll"];
980
+ const getSpacingWithAutoAndArbitrary = () => ["auto", isArbitraryValue, spacing];
981
+ const getSpacingWithArbitrary = () => [isArbitraryValue, spacing];
982
+ const getLengthWithEmptyAndArbitrary = () => ["", isLength, isArbitraryLength];
983
+ const getNumberWithAutoAndArbitrary = () => ["auto", isNumber, isArbitraryValue];
984
+ const getPositions = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"];
985
+ const getLineStyles = () => ["solid", "dashed", "dotted", "double", "none"];
986
+ const getBlendModes = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"];
987
+ const getAlign = () => ["start", "end", "center", "between", "around", "evenly", "stretch"];
988
+ const getZeroAndEmpty = () => ["", "0", isArbitraryValue];
989
+ const getBreaks = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"];
990
+ const getNumberAndArbitrary = () => [isNumber, isArbitraryValue];
991
+ return {
992
+ cacheSize: 500,
993
+ separator: ":",
994
+ theme: {
995
+ colors: [isAny],
996
+ spacing: [isLength, isArbitraryLength],
997
+ blur: ["none", "", isTshirtSize, isArbitraryValue],
998
+ brightness: getNumberAndArbitrary(),
999
+ borderColor: [colors],
1000
+ borderRadius: ["none", "", "full", isTshirtSize, isArbitraryValue],
1001
+ borderSpacing: getSpacingWithArbitrary(),
1002
+ borderWidth: getLengthWithEmptyAndArbitrary(),
1003
+ contrast: getNumberAndArbitrary(),
1004
+ grayscale: getZeroAndEmpty(),
1005
+ hueRotate: getNumberAndArbitrary(),
1006
+ invert: getZeroAndEmpty(),
1007
+ gap: getSpacingWithArbitrary(),
1008
+ gradientColorStops: [colors],
1009
+ gradientColorStopPositions: [isPercent, isArbitraryLength],
1010
+ inset: getSpacingWithAutoAndArbitrary(),
1011
+ margin: getSpacingWithAutoAndArbitrary(),
1012
+ opacity: getNumberAndArbitrary(),
1013
+ padding: getSpacingWithArbitrary(),
1014
+ saturate: getNumberAndArbitrary(),
1015
+ scale: getNumberAndArbitrary(),
1016
+ sepia: getZeroAndEmpty(),
1017
+ skew: getNumberAndArbitrary(),
1018
+ space: getSpacingWithArbitrary(),
1019
+ translate: getSpacingWithArbitrary()
1020
+ },
1021
+ classGroups: {
1022
+ // Layout
1023
+ /**
1024
+ * Aspect Ratio
1025
+ * @see https://tailwindcss.com/docs/aspect-ratio
1026
+ */
1027
+ aspect: [{
1028
+ aspect: ["auto", "square", "video", isArbitraryValue]
1029
+ }],
1030
+ /**
1031
+ * Container
1032
+ * @see https://tailwindcss.com/docs/container
1033
+ */
1034
+ container: ["container"],
1035
+ /**
1036
+ * Columns
1037
+ * @see https://tailwindcss.com/docs/columns
1038
+ */
1039
+ columns: [{
1040
+ columns: [isTshirtSize]
1041
+ }],
1042
+ /**
1043
+ * Break After
1044
+ * @see https://tailwindcss.com/docs/break-after
1045
+ */
1046
+ "break-after": [{
1047
+ "break-after": getBreaks()
1048
+ }],
1049
+ /**
1050
+ * Break Before
1051
+ * @see https://tailwindcss.com/docs/break-before
1052
+ */
1053
+ "break-before": [{
1054
+ "break-before": getBreaks()
1055
+ }],
1056
+ /**
1057
+ * Break Inside
1058
+ * @see https://tailwindcss.com/docs/break-inside
1059
+ */
1060
+ "break-inside": [{
1061
+ "break-inside": ["auto", "avoid", "avoid-page", "avoid-column"]
1062
+ }],
1063
+ /**
1064
+ * Box Decoration Break
1065
+ * @see https://tailwindcss.com/docs/box-decoration-break
1066
+ */
1067
+ "box-decoration": [{
1068
+ "box-decoration": ["slice", "clone"]
1069
+ }],
1070
+ /**
1071
+ * Box Sizing
1072
+ * @see https://tailwindcss.com/docs/box-sizing
1073
+ */
1074
+ box: [{
1075
+ box: ["border", "content"]
1076
+ }],
1077
+ /**
1078
+ * Display
1079
+ * @see https://tailwindcss.com/docs/display
1080
+ */
1081
+ 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"],
1082
+ /**
1083
+ * Floats
1084
+ * @see https://tailwindcss.com/docs/float
1085
+ */
1086
+ float: [{
1087
+ float: ["right", "left", "none", "start", "end"]
1088
+ }],
1089
+ /**
1090
+ * Clear
1091
+ * @see https://tailwindcss.com/docs/clear
1092
+ */
1093
+ clear: [{
1094
+ clear: ["left", "right", "both", "none", "start", "end"]
1095
+ }],
1096
+ /**
1097
+ * Isolation
1098
+ * @see https://tailwindcss.com/docs/isolation
1099
+ */
1100
+ isolation: ["isolate", "isolation-auto"],
1101
+ /**
1102
+ * Object Fit
1103
+ * @see https://tailwindcss.com/docs/object-fit
1104
+ */
1105
+ "object-fit": [{
1106
+ object: ["contain", "cover", "fill", "none", "scale-down"]
1107
+ }],
1108
+ /**
1109
+ * Object Position
1110
+ * @see https://tailwindcss.com/docs/object-position
1111
+ */
1112
+ "object-position": [{
1113
+ object: [...getPositions(), isArbitraryValue]
1114
+ }],
1115
+ /**
1116
+ * Overflow
1117
+ * @see https://tailwindcss.com/docs/overflow
1118
+ */
1119
+ overflow: [{
1120
+ overflow: getOverflow()
1121
+ }],
1122
+ /**
1123
+ * Overflow X
1124
+ * @see https://tailwindcss.com/docs/overflow
1125
+ */
1126
+ "overflow-x": [{
1127
+ "overflow-x": getOverflow()
1128
+ }],
1129
+ /**
1130
+ * Overflow Y
1131
+ * @see https://tailwindcss.com/docs/overflow
1132
+ */
1133
+ "overflow-y": [{
1134
+ "overflow-y": getOverflow()
1135
+ }],
1136
+ /**
1137
+ * Overscroll Behavior
1138
+ * @see https://tailwindcss.com/docs/overscroll-behavior
1139
+ */
1140
+ overscroll: [{
1141
+ overscroll: getOverscroll()
1142
+ }],
1143
+ /**
1144
+ * Overscroll Behavior X
1145
+ * @see https://tailwindcss.com/docs/overscroll-behavior
1146
+ */
1147
+ "overscroll-x": [{
1148
+ "overscroll-x": getOverscroll()
1149
+ }],
1150
+ /**
1151
+ * Overscroll Behavior Y
1152
+ * @see https://tailwindcss.com/docs/overscroll-behavior
1153
+ */
1154
+ "overscroll-y": [{
1155
+ "overscroll-y": getOverscroll()
1156
+ }],
1157
+ /**
1158
+ * Position
1159
+ * @see https://tailwindcss.com/docs/position
1160
+ */
1161
+ position: ["static", "fixed", "absolute", "relative", "sticky"],
1162
+ /**
1163
+ * Top / Right / Bottom / Left
1164
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
1165
+ */
1166
+ inset: [{
1167
+ inset: [inset]
1168
+ }],
1169
+ /**
1170
+ * Right / Left
1171
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
1172
+ */
1173
+ "inset-x": [{
1174
+ "inset-x": [inset]
1175
+ }],
1176
+ /**
1177
+ * Top / Bottom
1178
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
1179
+ */
1180
+ "inset-y": [{
1181
+ "inset-y": [inset]
1182
+ }],
1183
+ /**
1184
+ * Start
1185
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
1186
+ */
1187
+ start: [{
1188
+ start: [inset]
1189
+ }],
1190
+ /**
1191
+ * End
1192
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
1193
+ */
1194
+ end: [{
1195
+ end: [inset]
1196
+ }],
1197
+ /**
1198
+ * Top
1199
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
1200
+ */
1201
+ top: [{
1202
+ top: [inset]
1203
+ }],
1204
+ /**
1205
+ * Right
1206
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
1207
+ */
1208
+ right: [{
1209
+ right: [inset]
1210
+ }],
1211
+ /**
1212
+ * Bottom
1213
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
1214
+ */
1215
+ bottom: [{
1216
+ bottom: [inset]
1217
+ }],
1218
+ /**
1219
+ * Left
1220
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
1221
+ */
1222
+ left: [{
1223
+ left: [inset]
1224
+ }],
1225
+ /**
1226
+ * Visibility
1227
+ * @see https://tailwindcss.com/docs/visibility
1228
+ */
1229
+ visibility: ["visible", "invisible", "collapse"],
1230
+ /**
1231
+ * Z-Index
1232
+ * @see https://tailwindcss.com/docs/z-index
1233
+ */
1234
+ z: [{
1235
+ z: ["auto", isInteger, isArbitraryValue]
1236
+ }],
1237
+ // Flexbox and Grid
1238
+ /**
1239
+ * Flex Basis
1240
+ * @see https://tailwindcss.com/docs/flex-basis
1241
+ */
1242
+ basis: [{
1243
+ basis: getSpacingWithAutoAndArbitrary()
1244
+ }],
1245
+ /**
1246
+ * Flex Direction
1247
+ * @see https://tailwindcss.com/docs/flex-direction
1248
+ */
1249
+ "flex-direction": [{
1250
+ flex: ["row", "row-reverse", "col", "col-reverse"]
1251
+ }],
1252
+ /**
1253
+ * Flex Wrap
1254
+ * @see https://tailwindcss.com/docs/flex-wrap
1255
+ */
1256
+ "flex-wrap": [{
1257
+ flex: ["wrap", "wrap-reverse", "nowrap"]
1258
+ }],
1259
+ /**
1260
+ * Flex
1261
+ * @see https://tailwindcss.com/docs/flex
1262
+ */
1263
+ flex: [{
1264
+ flex: ["1", "auto", "initial", "none", isArbitraryValue]
1265
+ }],
1266
+ /**
1267
+ * Flex Grow
1268
+ * @see https://tailwindcss.com/docs/flex-grow
1269
+ */
1270
+ grow: [{
1271
+ grow: getZeroAndEmpty()
1272
+ }],
1273
+ /**
1274
+ * Flex Shrink
1275
+ * @see https://tailwindcss.com/docs/flex-shrink
1276
+ */
1277
+ shrink: [{
1278
+ shrink: getZeroAndEmpty()
1279
+ }],
1280
+ /**
1281
+ * Order
1282
+ * @see https://tailwindcss.com/docs/order
1283
+ */
1284
+ order: [{
1285
+ order: ["first", "last", "none", isInteger, isArbitraryValue]
1286
+ }],
1287
+ /**
1288
+ * Grid Template Columns
1289
+ * @see https://tailwindcss.com/docs/grid-template-columns
1290
+ */
1291
+ "grid-cols": [{
1292
+ "grid-cols": [isAny]
1293
+ }],
1294
+ /**
1295
+ * Grid Column Start / End
1296
+ * @see https://tailwindcss.com/docs/grid-column
1297
+ */
1298
+ "col-start-end": [{
1299
+ col: ["auto", {
1300
+ span: ["full", isInteger, isArbitraryValue]
1301
+ }, isArbitraryValue]
1302
+ }],
1303
+ /**
1304
+ * Grid Column Start
1305
+ * @see https://tailwindcss.com/docs/grid-column
1306
+ */
1307
+ "col-start": [{
1308
+ "col-start": getNumberWithAutoAndArbitrary()
1309
+ }],
1310
+ /**
1311
+ * Grid Column End
1312
+ * @see https://tailwindcss.com/docs/grid-column
1313
+ */
1314
+ "col-end": [{
1315
+ "col-end": getNumberWithAutoAndArbitrary()
1316
+ }],
1317
+ /**
1318
+ * Grid Template Rows
1319
+ * @see https://tailwindcss.com/docs/grid-template-rows
1320
+ */
1321
+ "grid-rows": [{
1322
+ "grid-rows": [isAny]
1323
+ }],
1324
+ /**
1325
+ * Grid Row Start / End
1326
+ * @see https://tailwindcss.com/docs/grid-row
1327
+ */
1328
+ "row-start-end": [{
1329
+ row: ["auto", {
1330
+ span: [isInteger, isArbitraryValue]
1331
+ }, isArbitraryValue]
1332
+ }],
1333
+ /**
1334
+ * Grid Row Start
1335
+ * @see https://tailwindcss.com/docs/grid-row
1336
+ */
1337
+ "row-start": [{
1338
+ "row-start": getNumberWithAutoAndArbitrary()
1339
+ }],
1340
+ /**
1341
+ * Grid Row End
1342
+ * @see https://tailwindcss.com/docs/grid-row
1343
+ */
1344
+ "row-end": [{
1345
+ "row-end": getNumberWithAutoAndArbitrary()
1346
+ }],
1347
+ /**
1348
+ * Grid Auto Flow
1349
+ * @see https://tailwindcss.com/docs/grid-auto-flow
1350
+ */
1351
+ "grid-flow": [{
1352
+ "grid-flow": ["row", "col", "dense", "row-dense", "col-dense"]
1353
+ }],
1354
+ /**
1355
+ * Grid Auto Columns
1356
+ * @see https://tailwindcss.com/docs/grid-auto-columns
1357
+ */
1358
+ "auto-cols": [{
1359
+ "auto-cols": ["auto", "min", "max", "fr", isArbitraryValue]
1360
+ }],
1361
+ /**
1362
+ * Grid Auto Rows
1363
+ * @see https://tailwindcss.com/docs/grid-auto-rows
1364
+ */
1365
+ "auto-rows": [{
1366
+ "auto-rows": ["auto", "min", "max", "fr", isArbitraryValue]
1367
+ }],
1368
+ /**
1369
+ * Gap
1370
+ * @see https://tailwindcss.com/docs/gap
1371
+ */
1372
+ gap: [{
1373
+ gap: [gap]
1374
+ }],
1375
+ /**
1376
+ * Gap X
1377
+ * @see https://tailwindcss.com/docs/gap
1378
+ */
1379
+ "gap-x": [{
1380
+ "gap-x": [gap]
1381
+ }],
1382
+ /**
1383
+ * Gap Y
1384
+ * @see https://tailwindcss.com/docs/gap
1385
+ */
1386
+ "gap-y": [{
1387
+ "gap-y": [gap]
1388
+ }],
1389
+ /**
1390
+ * Justify Content
1391
+ * @see https://tailwindcss.com/docs/justify-content
1392
+ */
1393
+ "justify-content": [{
1394
+ justify: ["normal", ...getAlign()]
1395
+ }],
1396
+ /**
1397
+ * Justify Items
1398
+ * @see https://tailwindcss.com/docs/justify-items
1399
+ */
1400
+ "justify-items": [{
1401
+ "justify-items": ["start", "end", "center", "stretch"]
1402
+ }],
1403
+ /**
1404
+ * Justify Self
1405
+ * @see https://tailwindcss.com/docs/justify-self
1406
+ */
1407
+ "justify-self": [{
1408
+ "justify-self": ["auto", "start", "end", "center", "stretch"]
1409
+ }],
1410
+ /**
1411
+ * Align Content
1412
+ * @see https://tailwindcss.com/docs/align-content
1413
+ */
1414
+ "align-content": [{
1415
+ content: ["normal", ...getAlign(), "baseline"]
1416
+ }],
1417
+ /**
1418
+ * Align Items
1419
+ * @see https://tailwindcss.com/docs/align-items
1420
+ */
1421
+ "align-items": [{
1422
+ items: ["start", "end", "center", "baseline", "stretch"]
1423
+ }],
1424
+ /**
1425
+ * Align Self
1426
+ * @see https://tailwindcss.com/docs/align-self
1427
+ */
1428
+ "align-self": [{
1429
+ self: ["auto", "start", "end", "center", "stretch", "baseline"]
1430
+ }],
1431
+ /**
1432
+ * Place Content
1433
+ * @see https://tailwindcss.com/docs/place-content
1434
+ */
1435
+ "place-content": [{
1436
+ "place-content": [...getAlign(), "baseline"]
1437
+ }],
1438
+ /**
1439
+ * Place Items
1440
+ * @see https://tailwindcss.com/docs/place-items
1441
+ */
1442
+ "place-items": [{
1443
+ "place-items": ["start", "end", "center", "baseline", "stretch"]
1444
+ }],
1445
+ /**
1446
+ * Place Self
1447
+ * @see https://tailwindcss.com/docs/place-self
1448
+ */
1449
+ "place-self": [{
1450
+ "place-self": ["auto", "start", "end", "center", "stretch"]
1451
+ }],
1452
+ // Spacing
1453
+ /**
1454
+ * Padding
1455
+ * @see https://tailwindcss.com/docs/padding
1456
+ */
1457
+ p: [{
1458
+ p: [padding]
1459
+ }],
1460
+ /**
1461
+ * Padding X
1462
+ * @see https://tailwindcss.com/docs/padding
1463
+ */
1464
+ px: [{
1465
+ px: [padding]
1466
+ }],
1467
+ /**
1468
+ * Padding Y
1469
+ * @see https://tailwindcss.com/docs/padding
1470
+ */
1471
+ py: [{
1472
+ py: [padding]
1473
+ }],
1474
+ /**
1475
+ * Padding Start
1476
+ * @see https://tailwindcss.com/docs/padding
1477
+ */
1478
+ ps: [{
1479
+ ps: [padding]
1480
+ }],
1481
+ /**
1482
+ * Padding End
1483
+ * @see https://tailwindcss.com/docs/padding
1484
+ */
1485
+ pe: [{
1486
+ pe: [padding]
1487
+ }],
1488
+ /**
1489
+ * Padding Top
1490
+ * @see https://tailwindcss.com/docs/padding
1491
+ */
1492
+ pt: [{
1493
+ pt: [padding]
1494
+ }],
1495
+ /**
1496
+ * Padding Right
1497
+ * @see https://tailwindcss.com/docs/padding
1498
+ */
1499
+ pr: [{
1500
+ pr: [padding]
1501
+ }],
1502
+ /**
1503
+ * Padding Bottom
1504
+ * @see https://tailwindcss.com/docs/padding
1505
+ */
1506
+ pb: [{
1507
+ pb: [padding]
1508
+ }],
1509
+ /**
1510
+ * Padding Left
1511
+ * @see https://tailwindcss.com/docs/padding
1512
+ */
1513
+ pl: [{
1514
+ pl: [padding]
1515
+ }],
1516
+ /**
1517
+ * Margin
1518
+ * @see https://tailwindcss.com/docs/margin
1519
+ */
1520
+ m: [{
1521
+ m: [margin]
1522
+ }],
1523
+ /**
1524
+ * Margin X
1525
+ * @see https://tailwindcss.com/docs/margin
1526
+ */
1527
+ mx: [{
1528
+ mx: [margin]
1529
+ }],
1530
+ /**
1531
+ * Margin Y
1532
+ * @see https://tailwindcss.com/docs/margin
1533
+ */
1534
+ my: [{
1535
+ my: [margin]
1536
+ }],
1537
+ /**
1538
+ * Margin Start
1539
+ * @see https://tailwindcss.com/docs/margin
1540
+ */
1541
+ ms: [{
1542
+ ms: [margin]
1543
+ }],
1544
+ /**
1545
+ * Margin End
1546
+ * @see https://tailwindcss.com/docs/margin
1547
+ */
1548
+ me: [{
1549
+ me: [margin]
1550
+ }],
1551
+ /**
1552
+ * Margin Top
1553
+ * @see https://tailwindcss.com/docs/margin
1554
+ */
1555
+ mt: [{
1556
+ mt: [margin]
1557
+ }],
1558
+ /**
1559
+ * Margin Right
1560
+ * @see https://tailwindcss.com/docs/margin
1561
+ */
1562
+ mr: [{
1563
+ mr: [margin]
1564
+ }],
1565
+ /**
1566
+ * Margin Bottom
1567
+ * @see https://tailwindcss.com/docs/margin
1568
+ */
1569
+ mb: [{
1570
+ mb: [margin]
1571
+ }],
1572
+ /**
1573
+ * Margin Left
1574
+ * @see https://tailwindcss.com/docs/margin
1575
+ */
1576
+ ml: [{
1577
+ ml: [margin]
1578
+ }],
1579
+ /**
1580
+ * Space Between X
1581
+ * @see https://tailwindcss.com/docs/space
1582
+ */
1583
+ "space-x": [{
1584
+ "space-x": [space]
1585
+ }],
1586
+ /**
1587
+ * Space Between X Reverse
1588
+ * @see https://tailwindcss.com/docs/space
1589
+ */
1590
+ "space-x-reverse": ["space-x-reverse"],
1591
+ /**
1592
+ * Space Between Y
1593
+ * @see https://tailwindcss.com/docs/space
1594
+ */
1595
+ "space-y": [{
1596
+ "space-y": [space]
1597
+ }],
1598
+ /**
1599
+ * Space Between Y Reverse
1600
+ * @see https://tailwindcss.com/docs/space
1601
+ */
1602
+ "space-y-reverse": ["space-y-reverse"],
1603
+ // Sizing
1604
+ /**
1605
+ * Width
1606
+ * @see https://tailwindcss.com/docs/width
1607
+ */
1608
+ w: [{
1609
+ w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw", isArbitraryValue, spacing]
1610
+ }],
1611
+ /**
1612
+ * Min-Width
1613
+ * @see https://tailwindcss.com/docs/min-width
1614
+ */
1615
+ "min-w": [{
1616
+ "min-w": [isArbitraryValue, spacing, "min", "max", "fit"]
1617
+ }],
1618
+ /**
1619
+ * Max-Width
1620
+ * @see https://tailwindcss.com/docs/max-width
1621
+ */
1622
+ "max-w": [{
1623
+ "max-w": [isArbitraryValue, spacing, "none", "full", "min", "max", "fit", "prose", {
1624
+ screen: [isTshirtSize]
1625
+ }, isTshirtSize]
1626
+ }],
1627
+ /**
1628
+ * Height
1629
+ * @see https://tailwindcss.com/docs/height
1630
+ */
1631
+ h: [{
1632
+ h: [isArbitraryValue, spacing, "auto", "min", "max", "fit", "svh", "lvh", "dvh"]
1633
+ }],
1634
+ /**
1635
+ * Min-Height
1636
+ * @see https://tailwindcss.com/docs/min-height
1637
+ */
1638
+ "min-h": [{
1639
+ "min-h": [isArbitraryValue, spacing, "min", "max", "fit", "svh", "lvh", "dvh"]
1640
+ }],
1641
+ /**
1642
+ * Max-Height
1643
+ * @see https://tailwindcss.com/docs/max-height
1644
+ */
1645
+ "max-h": [{
1646
+ "max-h": [isArbitraryValue, spacing, "min", "max", "fit", "svh", "lvh", "dvh"]
1647
+ }],
1648
+ /**
1649
+ * Size
1650
+ * @see https://tailwindcss.com/docs/size
1651
+ */
1652
+ size: [{
1653
+ size: [isArbitraryValue, spacing, "auto", "min", "max", "fit"]
1654
+ }],
1655
+ // Typography
1656
+ /**
1657
+ * Font Size
1658
+ * @see https://tailwindcss.com/docs/font-size
1659
+ */
1660
+ "font-size": [{
1661
+ text: ["base", isTshirtSize, isArbitraryLength]
1662
+ }],
1663
+ /**
1664
+ * Font Smoothing
1665
+ * @see https://tailwindcss.com/docs/font-smoothing
1666
+ */
1667
+ "font-smoothing": ["antialiased", "subpixel-antialiased"],
1668
+ /**
1669
+ * Font Style
1670
+ * @see https://tailwindcss.com/docs/font-style
1671
+ */
1672
+ "font-style": ["italic", "not-italic"],
1673
+ /**
1674
+ * Font Weight
1675
+ * @see https://tailwindcss.com/docs/font-weight
1676
+ */
1677
+ "font-weight": [{
1678
+ font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black", isArbitraryNumber]
1679
+ }],
1680
+ /**
1681
+ * Font Family
1682
+ * @see https://tailwindcss.com/docs/font-family
1683
+ */
1684
+ "font-family": [{
1685
+ font: [isAny]
1686
+ }],
1687
+ /**
1688
+ * Font Variant Numeric
1689
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1690
+ */
1691
+ "fvn-normal": ["normal-nums"],
1692
+ /**
1693
+ * Font Variant Numeric
1694
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1695
+ */
1696
+ "fvn-ordinal": ["ordinal"],
1697
+ /**
1698
+ * Font Variant Numeric
1699
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1700
+ */
1701
+ "fvn-slashed-zero": ["slashed-zero"],
1702
+ /**
1703
+ * Font Variant Numeric
1704
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1705
+ */
1706
+ "fvn-figure": ["lining-nums", "oldstyle-nums"],
1707
+ /**
1708
+ * Font Variant Numeric
1709
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1710
+ */
1711
+ "fvn-spacing": ["proportional-nums", "tabular-nums"],
1712
+ /**
1713
+ * Font Variant Numeric
1714
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1715
+ */
1716
+ "fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
1717
+ /**
1718
+ * Letter Spacing
1719
+ * @see https://tailwindcss.com/docs/letter-spacing
1720
+ */
1721
+ tracking: [{
1722
+ tracking: ["tighter", "tight", "normal", "wide", "wider", "widest", isArbitraryValue]
1723
+ }],
1724
+ /**
1725
+ * Line Clamp
1726
+ * @see https://tailwindcss.com/docs/line-clamp
1727
+ */
1728
+ "line-clamp": [{
1729
+ "line-clamp": ["none", isNumber, isArbitraryNumber]
1730
+ }],
1731
+ /**
1732
+ * Line Height
1733
+ * @see https://tailwindcss.com/docs/line-height
1734
+ */
1735
+ leading: [{
1736
+ leading: ["none", "tight", "snug", "normal", "relaxed", "loose", isLength, isArbitraryValue]
1737
+ }],
1738
+ /**
1739
+ * List Style Image
1740
+ * @see https://tailwindcss.com/docs/list-style-image
1741
+ */
1742
+ "list-image": [{
1743
+ "list-image": ["none", isArbitraryValue]
1744
+ }],
1745
+ /**
1746
+ * List Style Type
1747
+ * @see https://tailwindcss.com/docs/list-style-type
1748
+ */
1749
+ "list-style-type": [{
1750
+ list: ["none", "disc", "decimal", isArbitraryValue]
1751
+ }],
1752
+ /**
1753
+ * List Style Position
1754
+ * @see https://tailwindcss.com/docs/list-style-position
1755
+ */
1756
+ "list-style-position": [{
1757
+ list: ["inside", "outside"]
1758
+ }],
1759
+ /**
1760
+ * Placeholder Color
1761
+ * @deprecated since Tailwind CSS v3.0.0
1762
+ * @see https://tailwindcss.com/docs/placeholder-color
1763
+ */
1764
+ "placeholder-color": [{
1765
+ placeholder: [colors]
1766
+ }],
1767
+ /**
1768
+ * Placeholder Opacity
1769
+ * @see https://tailwindcss.com/docs/placeholder-opacity
1770
+ */
1771
+ "placeholder-opacity": [{
1772
+ "placeholder-opacity": [opacity]
1773
+ }],
1774
+ /**
1775
+ * Text Alignment
1776
+ * @see https://tailwindcss.com/docs/text-align
1777
+ */
1778
+ "text-alignment": [{
1779
+ text: ["left", "center", "right", "justify", "start", "end"]
1780
+ }],
1781
+ /**
1782
+ * Text Color
1783
+ * @see https://tailwindcss.com/docs/text-color
1784
+ */
1785
+ "text-color": [{
1786
+ text: [colors]
1787
+ }],
1788
+ /**
1789
+ * Text Opacity
1790
+ * @see https://tailwindcss.com/docs/text-opacity
1791
+ */
1792
+ "text-opacity": [{
1793
+ "text-opacity": [opacity]
1794
+ }],
1795
+ /**
1796
+ * Text Decoration
1797
+ * @see https://tailwindcss.com/docs/text-decoration
1798
+ */
1799
+ "text-decoration": ["underline", "overline", "line-through", "no-underline"],
1800
+ /**
1801
+ * Text Decoration Style
1802
+ * @see https://tailwindcss.com/docs/text-decoration-style
1803
+ */
1804
+ "text-decoration-style": [{
1805
+ decoration: [...getLineStyles(), "wavy"]
1806
+ }],
1807
+ /**
1808
+ * Text Decoration Thickness
1809
+ * @see https://tailwindcss.com/docs/text-decoration-thickness
1810
+ */
1811
+ "text-decoration-thickness": [{
1812
+ decoration: ["auto", "from-font", isLength, isArbitraryLength]
1813
+ }],
1814
+ /**
1815
+ * Text Underline Offset
1816
+ * @see https://tailwindcss.com/docs/text-underline-offset
1817
+ */
1818
+ "underline-offset": [{
1819
+ "underline-offset": ["auto", isLength, isArbitraryValue]
1820
+ }],
1821
+ /**
1822
+ * Text Decoration Color
1823
+ * @see https://tailwindcss.com/docs/text-decoration-color
1824
+ */
1825
+ "text-decoration-color": [{
1826
+ decoration: [colors]
1827
+ }],
1828
+ /**
1829
+ * Text Transform
1830
+ * @see https://tailwindcss.com/docs/text-transform
1831
+ */
1832
+ "text-transform": ["uppercase", "lowercase", "capitalize", "normal-case"],
1833
+ /**
1834
+ * Text Overflow
1835
+ * @see https://tailwindcss.com/docs/text-overflow
1836
+ */
1837
+ "text-overflow": ["truncate", "text-ellipsis", "text-clip"],
1838
+ /**
1839
+ * Text Wrap
1840
+ * @see https://tailwindcss.com/docs/text-wrap
1841
+ */
1842
+ "text-wrap": [{
1843
+ text: ["wrap", "nowrap", "balance", "pretty"]
1844
+ }],
1845
+ /**
1846
+ * Text Indent
1847
+ * @see https://tailwindcss.com/docs/text-indent
1848
+ */
1849
+ indent: [{
1850
+ indent: getSpacingWithArbitrary()
1851
+ }],
1852
+ /**
1853
+ * Vertical Alignment
1854
+ * @see https://tailwindcss.com/docs/vertical-align
1855
+ */
1856
+ "vertical-align": [{
1857
+ align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", isArbitraryValue]
1858
+ }],
1859
+ /**
1860
+ * Whitespace
1861
+ * @see https://tailwindcss.com/docs/whitespace
1862
+ */
1863
+ whitespace: [{
1864
+ whitespace: ["normal", "nowrap", "pre", "pre-line", "pre-wrap", "break-spaces"]
1865
+ }],
1866
+ /**
1867
+ * Word Break
1868
+ * @see https://tailwindcss.com/docs/word-break
1869
+ */
1870
+ break: [{
1871
+ break: ["normal", "words", "all", "keep"]
1872
+ }],
1873
+ /**
1874
+ * Hyphens
1875
+ * @see https://tailwindcss.com/docs/hyphens
1876
+ */
1877
+ hyphens: [{
1878
+ hyphens: ["none", "manual", "auto"]
1879
+ }],
1880
+ /**
1881
+ * Content
1882
+ * @see https://tailwindcss.com/docs/content
1883
+ */
1884
+ content: [{
1885
+ content: ["none", isArbitraryValue]
1886
+ }],
1887
+ // Backgrounds
1888
+ /**
1889
+ * Background Attachment
1890
+ * @see https://tailwindcss.com/docs/background-attachment
1891
+ */
1892
+ "bg-attachment": [{
1893
+ bg: ["fixed", "local", "scroll"]
1894
+ }],
1895
+ /**
1896
+ * Background Clip
1897
+ * @see https://tailwindcss.com/docs/background-clip
1898
+ */
1899
+ "bg-clip": [{
1900
+ "bg-clip": ["border", "padding", "content", "text"]
1901
+ }],
1902
+ /**
1903
+ * Background Opacity
1904
+ * @deprecated since Tailwind CSS v3.0.0
1905
+ * @see https://tailwindcss.com/docs/background-opacity
1906
+ */
1907
+ "bg-opacity": [{
1908
+ "bg-opacity": [opacity]
1909
+ }],
1910
+ /**
1911
+ * Background Origin
1912
+ * @see https://tailwindcss.com/docs/background-origin
1913
+ */
1914
+ "bg-origin": [{
1915
+ "bg-origin": ["border", "padding", "content"]
1916
+ }],
1917
+ /**
1918
+ * Background Position
1919
+ * @see https://tailwindcss.com/docs/background-position
1920
+ */
1921
+ "bg-position": [{
1922
+ bg: [...getPositions(), isArbitraryPosition]
1923
+ }],
1924
+ /**
1925
+ * Background Repeat
1926
+ * @see https://tailwindcss.com/docs/background-repeat
1927
+ */
1928
+ "bg-repeat": [{
1929
+ bg: ["no-repeat", {
1930
+ repeat: ["", "x", "y", "round", "space"]
1931
+ }]
1932
+ }],
1933
+ /**
1934
+ * Background Size
1935
+ * @see https://tailwindcss.com/docs/background-size
1936
+ */
1937
+ "bg-size": [{
1938
+ bg: ["auto", "cover", "contain", isArbitrarySize]
1939
+ }],
1940
+ /**
1941
+ * Background Image
1942
+ * @see https://tailwindcss.com/docs/background-image
1943
+ */
1944
+ "bg-image": [{
1945
+ bg: ["none", {
1946
+ "gradient-to": ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
1947
+ }, isArbitraryImage]
1948
+ }],
1949
+ /**
1950
+ * Background Color
1951
+ * @see https://tailwindcss.com/docs/background-color
1952
+ */
1953
+ "bg-color": [{
1954
+ bg: [colors]
1955
+ }],
1956
+ /**
1957
+ * Gradient Color Stops From Position
1958
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1959
+ */
1960
+ "gradient-from-pos": [{
1961
+ from: [gradientColorStopPositions]
1962
+ }],
1963
+ /**
1964
+ * Gradient Color Stops Via Position
1965
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1966
+ */
1967
+ "gradient-via-pos": [{
1968
+ via: [gradientColorStopPositions]
1969
+ }],
1970
+ /**
1971
+ * Gradient Color Stops To Position
1972
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1973
+ */
1974
+ "gradient-to-pos": [{
1975
+ to: [gradientColorStopPositions]
1976
+ }],
1977
+ /**
1978
+ * Gradient Color Stops From
1979
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1980
+ */
1981
+ "gradient-from": [{
1982
+ from: [gradientColorStops]
1983
+ }],
1984
+ /**
1985
+ * Gradient Color Stops Via
1986
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1987
+ */
1988
+ "gradient-via": [{
1989
+ via: [gradientColorStops]
1990
+ }],
1991
+ /**
1992
+ * Gradient Color Stops To
1993
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1994
+ */
1995
+ "gradient-to": [{
1996
+ to: [gradientColorStops]
1997
+ }],
1998
+ // Borders
1999
+ /**
2000
+ * Border Radius
2001
+ * @see https://tailwindcss.com/docs/border-radius
2002
+ */
2003
+ rounded: [{
2004
+ rounded: [borderRadius]
2005
+ }],
2006
+ /**
2007
+ * Border Radius Start
2008
+ * @see https://tailwindcss.com/docs/border-radius
2009
+ */
2010
+ "rounded-s": [{
2011
+ "rounded-s": [borderRadius]
2012
+ }],
2013
+ /**
2014
+ * Border Radius End
2015
+ * @see https://tailwindcss.com/docs/border-radius
2016
+ */
2017
+ "rounded-e": [{
2018
+ "rounded-e": [borderRadius]
2019
+ }],
2020
+ /**
2021
+ * Border Radius Top
2022
+ * @see https://tailwindcss.com/docs/border-radius
2023
+ */
2024
+ "rounded-t": [{
2025
+ "rounded-t": [borderRadius]
2026
+ }],
2027
+ /**
2028
+ * Border Radius Right
2029
+ * @see https://tailwindcss.com/docs/border-radius
2030
+ */
2031
+ "rounded-r": [{
2032
+ "rounded-r": [borderRadius]
2033
+ }],
2034
+ /**
2035
+ * Border Radius Bottom
2036
+ * @see https://tailwindcss.com/docs/border-radius
2037
+ */
2038
+ "rounded-b": [{
2039
+ "rounded-b": [borderRadius]
2040
+ }],
2041
+ /**
2042
+ * Border Radius Left
2043
+ * @see https://tailwindcss.com/docs/border-radius
2044
+ */
2045
+ "rounded-l": [{
2046
+ "rounded-l": [borderRadius]
2047
+ }],
2048
+ /**
2049
+ * Border Radius Start Start
2050
+ * @see https://tailwindcss.com/docs/border-radius
2051
+ */
2052
+ "rounded-ss": [{
2053
+ "rounded-ss": [borderRadius]
2054
+ }],
2055
+ /**
2056
+ * Border Radius Start End
2057
+ * @see https://tailwindcss.com/docs/border-radius
2058
+ */
2059
+ "rounded-se": [{
2060
+ "rounded-se": [borderRadius]
2061
+ }],
2062
+ /**
2063
+ * Border Radius End End
2064
+ * @see https://tailwindcss.com/docs/border-radius
2065
+ */
2066
+ "rounded-ee": [{
2067
+ "rounded-ee": [borderRadius]
2068
+ }],
2069
+ /**
2070
+ * Border Radius End Start
2071
+ * @see https://tailwindcss.com/docs/border-radius
2072
+ */
2073
+ "rounded-es": [{
2074
+ "rounded-es": [borderRadius]
2075
+ }],
2076
+ /**
2077
+ * Border Radius Top Left
2078
+ * @see https://tailwindcss.com/docs/border-radius
2079
+ */
2080
+ "rounded-tl": [{
2081
+ "rounded-tl": [borderRadius]
2082
+ }],
2083
+ /**
2084
+ * Border Radius Top Right
2085
+ * @see https://tailwindcss.com/docs/border-radius
2086
+ */
2087
+ "rounded-tr": [{
2088
+ "rounded-tr": [borderRadius]
2089
+ }],
2090
+ /**
2091
+ * Border Radius Bottom Right
2092
+ * @see https://tailwindcss.com/docs/border-radius
2093
+ */
2094
+ "rounded-br": [{
2095
+ "rounded-br": [borderRadius]
2096
+ }],
2097
+ /**
2098
+ * Border Radius Bottom Left
2099
+ * @see https://tailwindcss.com/docs/border-radius
2100
+ */
2101
+ "rounded-bl": [{
2102
+ "rounded-bl": [borderRadius]
2103
+ }],
2104
+ /**
2105
+ * Border Width
2106
+ * @see https://tailwindcss.com/docs/border-width
2107
+ */
2108
+ "border-w": [{
2109
+ border: [borderWidth]
2110
+ }],
2111
+ /**
2112
+ * Border Width X
2113
+ * @see https://tailwindcss.com/docs/border-width
2114
+ */
2115
+ "border-w-x": [{
2116
+ "border-x": [borderWidth]
2117
+ }],
2118
+ /**
2119
+ * Border Width Y
2120
+ * @see https://tailwindcss.com/docs/border-width
2121
+ */
2122
+ "border-w-y": [{
2123
+ "border-y": [borderWidth]
2124
+ }],
2125
+ /**
2126
+ * Border Width Start
2127
+ * @see https://tailwindcss.com/docs/border-width
2128
+ */
2129
+ "border-w-s": [{
2130
+ "border-s": [borderWidth]
2131
+ }],
2132
+ /**
2133
+ * Border Width End
2134
+ * @see https://tailwindcss.com/docs/border-width
2135
+ */
2136
+ "border-w-e": [{
2137
+ "border-e": [borderWidth]
2138
+ }],
2139
+ /**
2140
+ * Border Width Top
2141
+ * @see https://tailwindcss.com/docs/border-width
2142
+ */
2143
+ "border-w-t": [{
2144
+ "border-t": [borderWidth]
2145
+ }],
2146
+ /**
2147
+ * Border Width Right
2148
+ * @see https://tailwindcss.com/docs/border-width
2149
+ */
2150
+ "border-w-r": [{
2151
+ "border-r": [borderWidth]
2152
+ }],
2153
+ /**
2154
+ * Border Width Bottom
2155
+ * @see https://tailwindcss.com/docs/border-width
2156
+ */
2157
+ "border-w-b": [{
2158
+ "border-b": [borderWidth]
2159
+ }],
2160
+ /**
2161
+ * Border Width Left
2162
+ * @see https://tailwindcss.com/docs/border-width
2163
+ */
2164
+ "border-w-l": [{
2165
+ "border-l": [borderWidth]
2166
+ }],
2167
+ /**
2168
+ * Border Opacity
2169
+ * @see https://tailwindcss.com/docs/border-opacity
2170
+ */
2171
+ "border-opacity": [{
2172
+ "border-opacity": [opacity]
2173
+ }],
2174
+ /**
2175
+ * Border Style
2176
+ * @see https://tailwindcss.com/docs/border-style
2177
+ */
2178
+ "border-style": [{
2179
+ border: [...getLineStyles(), "hidden"]
2180
+ }],
2181
+ /**
2182
+ * Divide Width X
2183
+ * @see https://tailwindcss.com/docs/divide-width
2184
+ */
2185
+ "divide-x": [{
2186
+ "divide-x": [borderWidth]
2187
+ }],
2188
+ /**
2189
+ * Divide Width X Reverse
2190
+ * @see https://tailwindcss.com/docs/divide-width
2191
+ */
2192
+ "divide-x-reverse": ["divide-x-reverse"],
2193
+ /**
2194
+ * Divide Width Y
2195
+ * @see https://tailwindcss.com/docs/divide-width
2196
+ */
2197
+ "divide-y": [{
2198
+ "divide-y": [borderWidth]
2199
+ }],
2200
+ /**
2201
+ * Divide Width Y Reverse
2202
+ * @see https://tailwindcss.com/docs/divide-width
2203
+ */
2204
+ "divide-y-reverse": ["divide-y-reverse"],
2205
+ /**
2206
+ * Divide Opacity
2207
+ * @see https://tailwindcss.com/docs/divide-opacity
2208
+ */
2209
+ "divide-opacity": [{
2210
+ "divide-opacity": [opacity]
2211
+ }],
2212
+ /**
2213
+ * Divide Style
2214
+ * @see https://tailwindcss.com/docs/divide-style
2215
+ */
2216
+ "divide-style": [{
2217
+ divide: getLineStyles()
2218
+ }],
2219
+ /**
2220
+ * Border Color
2221
+ * @see https://tailwindcss.com/docs/border-color
2222
+ */
2223
+ "border-color": [{
2224
+ border: [borderColor]
2225
+ }],
2226
+ /**
2227
+ * Border Color X
2228
+ * @see https://tailwindcss.com/docs/border-color
2229
+ */
2230
+ "border-color-x": [{
2231
+ "border-x": [borderColor]
2232
+ }],
2233
+ /**
2234
+ * Border Color Y
2235
+ * @see https://tailwindcss.com/docs/border-color
2236
+ */
2237
+ "border-color-y": [{
2238
+ "border-y": [borderColor]
2239
+ }],
2240
+ /**
2241
+ * Border Color S
2242
+ * @see https://tailwindcss.com/docs/border-color
2243
+ */
2244
+ "border-color-s": [{
2245
+ "border-s": [borderColor]
2246
+ }],
2247
+ /**
2248
+ * Border Color E
2249
+ * @see https://tailwindcss.com/docs/border-color
2250
+ */
2251
+ "border-color-e": [{
2252
+ "border-e": [borderColor]
2253
+ }],
2254
+ /**
2255
+ * Border Color Top
2256
+ * @see https://tailwindcss.com/docs/border-color
2257
+ */
2258
+ "border-color-t": [{
2259
+ "border-t": [borderColor]
2260
+ }],
2261
+ /**
2262
+ * Border Color Right
2263
+ * @see https://tailwindcss.com/docs/border-color
2264
+ */
2265
+ "border-color-r": [{
2266
+ "border-r": [borderColor]
2267
+ }],
2268
+ /**
2269
+ * Border Color Bottom
2270
+ * @see https://tailwindcss.com/docs/border-color
2271
+ */
2272
+ "border-color-b": [{
2273
+ "border-b": [borderColor]
2274
+ }],
2275
+ /**
2276
+ * Border Color Left
2277
+ * @see https://tailwindcss.com/docs/border-color
2278
+ */
2279
+ "border-color-l": [{
2280
+ "border-l": [borderColor]
2281
+ }],
2282
+ /**
2283
+ * Divide Color
2284
+ * @see https://tailwindcss.com/docs/divide-color
2285
+ */
2286
+ "divide-color": [{
2287
+ divide: [borderColor]
2288
+ }],
2289
+ /**
2290
+ * Outline Style
2291
+ * @see https://tailwindcss.com/docs/outline-style
2292
+ */
2293
+ "outline-style": [{
2294
+ outline: ["", ...getLineStyles()]
2295
+ }],
2296
+ /**
2297
+ * Outline Offset
2298
+ * @see https://tailwindcss.com/docs/outline-offset
2299
+ */
2300
+ "outline-offset": [{
2301
+ "outline-offset": [isLength, isArbitraryValue]
2302
+ }],
2303
+ /**
2304
+ * Outline Width
2305
+ * @see https://tailwindcss.com/docs/outline-width
2306
+ */
2307
+ "outline-w": [{
2308
+ outline: [isLength, isArbitraryLength]
2309
+ }],
2310
+ /**
2311
+ * Outline Color
2312
+ * @see https://tailwindcss.com/docs/outline-color
2313
+ */
2314
+ "outline-color": [{
2315
+ outline: [colors]
2316
+ }],
2317
+ /**
2318
+ * Ring Width
2319
+ * @see https://tailwindcss.com/docs/ring-width
2320
+ */
2321
+ "ring-w": [{
2322
+ ring: getLengthWithEmptyAndArbitrary()
2323
+ }],
2324
+ /**
2325
+ * Ring Width Inset
2326
+ * @see https://tailwindcss.com/docs/ring-width
2327
+ */
2328
+ "ring-w-inset": ["ring-inset"],
2329
+ /**
2330
+ * Ring Color
2331
+ * @see https://tailwindcss.com/docs/ring-color
2332
+ */
2333
+ "ring-color": [{
2334
+ ring: [colors]
2335
+ }],
2336
+ /**
2337
+ * Ring Opacity
2338
+ * @see https://tailwindcss.com/docs/ring-opacity
2339
+ */
2340
+ "ring-opacity": [{
2341
+ "ring-opacity": [opacity]
2342
+ }],
2343
+ /**
2344
+ * Ring Offset Width
2345
+ * @see https://tailwindcss.com/docs/ring-offset-width
2346
+ */
2347
+ "ring-offset-w": [{
2348
+ "ring-offset": [isLength, isArbitraryLength]
2349
+ }],
2350
+ /**
2351
+ * Ring Offset Color
2352
+ * @see https://tailwindcss.com/docs/ring-offset-color
2353
+ */
2354
+ "ring-offset-color": [{
2355
+ "ring-offset": [colors]
2356
+ }],
2357
+ // Effects
2358
+ /**
2359
+ * Box Shadow
2360
+ * @see https://tailwindcss.com/docs/box-shadow
2361
+ */
2362
+ shadow: [{
2363
+ shadow: ["", "inner", "none", isTshirtSize, isArbitraryShadow]
2364
+ }],
2365
+ /**
2366
+ * Box Shadow Color
2367
+ * @see https://tailwindcss.com/docs/box-shadow-color
2368
+ */
2369
+ "shadow-color": [{
2370
+ shadow: [isAny]
2371
+ }],
2372
+ /**
2373
+ * Opacity
2374
+ * @see https://tailwindcss.com/docs/opacity
2375
+ */
2376
+ opacity: [{
2377
+ opacity: [opacity]
2378
+ }],
2379
+ /**
2380
+ * Mix Blend Mode
2381
+ * @see https://tailwindcss.com/docs/mix-blend-mode
2382
+ */
2383
+ "mix-blend": [{
2384
+ "mix-blend": [...getBlendModes(), "plus-lighter", "plus-darker"]
2385
+ }],
2386
+ /**
2387
+ * Background Blend Mode
2388
+ * @see https://tailwindcss.com/docs/background-blend-mode
2389
+ */
2390
+ "bg-blend": [{
2391
+ "bg-blend": getBlendModes()
2392
+ }],
2393
+ // Filters
2394
+ /**
2395
+ * Filter
2396
+ * @deprecated since Tailwind CSS v3.0.0
2397
+ * @see https://tailwindcss.com/docs/filter
2398
+ */
2399
+ filter: [{
2400
+ filter: ["", "none"]
2401
+ }],
2402
+ /**
2403
+ * Blur
2404
+ * @see https://tailwindcss.com/docs/blur
2405
+ */
2406
+ blur: [{
2407
+ blur: [blur]
2408
+ }],
2409
+ /**
2410
+ * Brightness
2411
+ * @see https://tailwindcss.com/docs/brightness
2412
+ */
2413
+ brightness: [{
2414
+ brightness: [brightness]
2415
+ }],
2416
+ /**
2417
+ * Contrast
2418
+ * @see https://tailwindcss.com/docs/contrast
2419
+ */
2420
+ contrast: [{
2421
+ contrast: [contrast]
2422
+ }],
2423
+ /**
2424
+ * Drop Shadow
2425
+ * @see https://tailwindcss.com/docs/drop-shadow
2426
+ */
2427
+ "drop-shadow": [{
2428
+ "drop-shadow": ["", "none", isTshirtSize, isArbitraryValue]
2429
+ }],
2430
+ /**
2431
+ * Grayscale
2432
+ * @see https://tailwindcss.com/docs/grayscale
2433
+ */
2434
+ grayscale: [{
2435
+ grayscale: [grayscale]
2436
+ }],
2437
+ /**
2438
+ * Hue Rotate
2439
+ * @see https://tailwindcss.com/docs/hue-rotate
2440
+ */
2441
+ "hue-rotate": [{
2442
+ "hue-rotate": [hueRotate]
2443
+ }],
2444
+ /**
2445
+ * Invert
2446
+ * @see https://tailwindcss.com/docs/invert
2447
+ */
2448
+ invert: [{
2449
+ invert: [invert]
2450
+ }],
2451
+ /**
2452
+ * Saturate
2453
+ * @see https://tailwindcss.com/docs/saturate
2454
+ */
2455
+ saturate: [{
2456
+ saturate: [saturate]
2457
+ }],
2458
+ /**
2459
+ * Sepia
2460
+ * @see https://tailwindcss.com/docs/sepia
2461
+ */
2462
+ sepia: [{
2463
+ sepia: [sepia]
2464
+ }],
2465
+ /**
2466
+ * Backdrop Filter
2467
+ * @deprecated since Tailwind CSS v3.0.0
2468
+ * @see https://tailwindcss.com/docs/backdrop-filter
2469
+ */
2470
+ "backdrop-filter": [{
2471
+ "backdrop-filter": ["", "none"]
2472
+ }],
2473
+ /**
2474
+ * Backdrop Blur
2475
+ * @see https://tailwindcss.com/docs/backdrop-blur
2476
+ */
2477
+ "backdrop-blur": [{
2478
+ "backdrop-blur": [blur]
2479
+ }],
2480
+ /**
2481
+ * Backdrop Brightness
2482
+ * @see https://tailwindcss.com/docs/backdrop-brightness
2483
+ */
2484
+ "backdrop-brightness": [{
2485
+ "backdrop-brightness": [brightness]
2486
+ }],
2487
+ /**
2488
+ * Backdrop Contrast
2489
+ * @see https://tailwindcss.com/docs/backdrop-contrast
2490
+ */
2491
+ "backdrop-contrast": [{
2492
+ "backdrop-contrast": [contrast]
2493
+ }],
2494
+ /**
2495
+ * Backdrop Grayscale
2496
+ * @see https://tailwindcss.com/docs/backdrop-grayscale
2497
+ */
2498
+ "backdrop-grayscale": [{
2499
+ "backdrop-grayscale": [grayscale]
2500
+ }],
2501
+ /**
2502
+ * Backdrop Hue Rotate
2503
+ * @see https://tailwindcss.com/docs/backdrop-hue-rotate
2504
+ */
2505
+ "backdrop-hue-rotate": [{
2506
+ "backdrop-hue-rotate": [hueRotate]
2507
+ }],
2508
+ /**
2509
+ * Backdrop Invert
2510
+ * @see https://tailwindcss.com/docs/backdrop-invert
2511
+ */
2512
+ "backdrop-invert": [{
2513
+ "backdrop-invert": [invert]
2514
+ }],
2515
+ /**
2516
+ * Backdrop Opacity
2517
+ * @see https://tailwindcss.com/docs/backdrop-opacity
2518
+ */
2519
+ "backdrop-opacity": [{
2520
+ "backdrop-opacity": [opacity]
2521
+ }],
2522
+ /**
2523
+ * Backdrop Saturate
2524
+ * @see https://tailwindcss.com/docs/backdrop-saturate
2525
+ */
2526
+ "backdrop-saturate": [{
2527
+ "backdrop-saturate": [saturate]
2528
+ }],
2529
+ /**
2530
+ * Backdrop Sepia
2531
+ * @see https://tailwindcss.com/docs/backdrop-sepia
2532
+ */
2533
+ "backdrop-sepia": [{
2534
+ "backdrop-sepia": [sepia]
2535
+ }],
2536
+ // Tables
2537
+ /**
2538
+ * Border Collapse
2539
+ * @see https://tailwindcss.com/docs/border-collapse
2540
+ */
2541
+ "border-collapse": [{
2542
+ border: ["collapse", "separate"]
2543
+ }],
2544
+ /**
2545
+ * Border Spacing
2546
+ * @see https://tailwindcss.com/docs/border-spacing
2547
+ */
2548
+ "border-spacing": [{
2549
+ "border-spacing": [borderSpacing]
2550
+ }],
2551
+ /**
2552
+ * Border Spacing X
2553
+ * @see https://tailwindcss.com/docs/border-spacing
2554
+ */
2555
+ "border-spacing-x": [{
2556
+ "border-spacing-x": [borderSpacing]
2557
+ }],
2558
+ /**
2559
+ * Border Spacing Y
2560
+ * @see https://tailwindcss.com/docs/border-spacing
2561
+ */
2562
+ "border-spacing-y": [{
2563
+ "border-spacing-y": [borderSpacing]
2564
+ }],
2565
+ /**
2566
+ * Table Layout
2567
+ * @see https://tailwindcss.com/docs/table-layout
2568
+ */
2569
+ "table-layout": [{
2570
+ table: ["auto", "fixed"]
2571
+ }],
2572
+ /**
2573
+ * Caption Side
2574
+ * @see https://tailwindcss.com/docs/caption-side
2575
+ */
2576
+ caption: [{
2577
+ caption: ["top", "bottom"]
2578
+ }],
2579
+ // Transitions and Animation
2580
+ /**
2581
+ * Tranisition Property
2582
+ * @see https://tailwindcss.com/docs/transition-property
2583
+ */
2584
+ transition: [{
2585
+ transition: ["none", "all", "", "colors", "opacity", "shadow", "transform", isArbitraryValue]
2586
+ }],
2587
+ /**
2588
+ * Transition Duration
2589
+ * @see https://tailwindcss.com/docs/transition-duration
2590
+ */
2591
+ duration: [{
2592
+ duration: getNumberAndArbitrary()
2593
+ }],
2594
+ /**
2595
+ * Transition Timing Function
2596
+ * @see https://tailwindcss.com/docs/transition-timing-function
2597
+ */
2598
+ ease: [{
2599
+ ease: ["linear", "in", "out", "in-out", isArbitraryValue]
2600
+ }],
2601
+ /**
2602
+ * Transition Delay
2603
+ * @see https://tailwindcss.com/docs/transition-delay
2604
+ */
2605
+ delay: [{
2606
+ delay: getNumberAndArbitrary()
2607
+ }],
2608
+ /**
2609
+ * Animation
2610
+ * @see https://tailwindcss.com/docs/animation
2611
+ */
2612
+ animate: [{
2613
+ animate: ["none", "spin", "ping", "pulse", "bounce", isArbitraryValue]
2614
+ }],
2615
+ // Transforms
2616
+ /**
2617
+ * Transform
2618
+ * @see https://tailwindcss.com/docs/transform
2619
+ */
2620
+ transform: [{
2621
+ transform: ["", "gpu", "none"]
2622
+ }],
2623
+ /**
2624
+ * Scale
2625
+ * @see https://tailwindcss.com/docs/scale
2626
+ */
2627
+ scale: [{
2628
+ scale: [scale]
2629
+ }],
2630
+ /**
2631
+ * Scale X
2632
+ * @see https://tailwindcss.com/docs/scale
2633
+ */
2634
+ "scale-x": [{
2635
+ "scale-x": [scale]
2636
+ }],
2637
+ /**
2638
+ * Scale Y
2639
+ * @see https://tailwindcss.com/docs/scale
2640
+ */
2641
+ "scale-y": [{
2642
+ "scale-y": [scale]
2643
+ }],
2644
+ /**
2645
+ * Rotate
2646
+ * @see https://tailwindcss.com/docs/rotate
2647
+ */
2648
+ rotate: [{
2649
+ rotate: [isInteger, isArbitraryValue]
2650
+ }],
2651
+ /**
2652
+ * Translate X
2653
+ * @see https://tailwindcss.com/docs/translate
2654
+ */
2655
+ "translate-x": [{
2656
+ "translate-x": [translate]
2657
+ }],
2658
+ /**
2659
+ * Translate Y
2660
+ * @see https://tailwindcss.com/docs/translate
2661
+ */
2662
+ "translate-y": [{
2663
+ "translate-y": [translate]
2664
+ }],
2665
+ /**
2666
+ * Skew X
2667
+ * @see https://tailwindcss.com/docs/skew
2668
+ */
2669
+ "skew-x": [{
2670
+ "skew-x": [skew]
2671
+ }],
2672
+ /**
2673
+ * Skew Y
2674
+ * @see https://tailwindcss.com/docs/skew
2675
+ */
2676
+ "skew-y": [{
2677
+ "skew-y": [skew]
2678
+ }],
2679
+ /**
2680
+ * Transform Origin
2681
+ * @see https://tailwindcss.com/docs/transform-origin
2682
+ */
2683
+ "transform-origin": [{
2684
+ origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left", isArbitraryValue]
2685
+ }],
2686
+ // Interactivity
2687
+ /**
2688
+ * Accent Color
2689
+ * @see https://tailwindcss.com/docs/accent-color
2690
+ */
2691
+ accent: [{
2692
+ accent: ["auto", colors]
2693
+ }],
2694
+ /**
2695
+ * Appearance
2696
+ * @see https://tailwindcss.com/docs/appearance
2697
+ */
2698
+ appearance: [{
2699
+ appearance: ["none", "auto"]
2700
+ }],
2701
+ /**
2702
+ * Cursor
2703
+ * @see https://tailwindcss.com/docs/cursor
2704
+ */
2705
+ cursor: [{
2706
+ 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]
2707
+ }],
2708
+ /**
2709
+ * Caret Color
2710
+ * @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
2711
+ */
2712
+ "caret-color": [{
2713
+ caret: [colors]
2714
+ }],
2715
+ /**
2716
+ * Pointer Events
2717
+ * @see https://tailwindcss.com/docs/pointer-events
2718
+ */
2719
+ "pointer-events": [{
2720
+ "pointer-events": ["none", "auto"]
2721
+ }],
2722
+ /**
2723
+ * Resize
2724
+ * @see https://tailwindcss.com/docs/resize
2725
+ */
2726
+ resize: [{
2727
+ resize: ["none", "y", "x", ""]
2728
+ }],
2729
+ /**
2730
+ * Scroll Behavior
2731
+ * @see https://tailwindcss.com/docs/scroll-behavior
2732
+ */
2733
+ "scroll-behavior": [{
2734
+ scroll: ["auto", "smooth"]
2735
+ }],
2736
+ /**
2737
+ * Scroll Margin
2738
+ * @see https://tailwindcss.com/docs/scroll-margin
2739
+ */
2740
+ "scroll-m": [{
2741
+ "scroll-m": getSpacingWithArbitrary()
2742
+ }],
2743
+ /**
2744
+ * Scroll Margin X
2745
+ * @see https://tailwindcss.com/docs/scroll-margin
2746
+ */
2747
+ "scroll-mx": [{
2748
+ "scroll-mx": getSpacingWithArbitrary()
2749
+ }],
2750
+ /**
2751
+ * Scroll Margin Y
2752
+ * @see https://tailwindcss.com/docs/scroll-margin
2753
+ */
2754
+ "scroll-my": [{
2755
+ "scroll-my": getSpacingWithArbitrary()
2756
+ }],
2757
+ /**
2758
+ * Scroll Margin Start
2759
+ * @see https://tailwindcss.com/docs/scroll-margin
2760
+ */
2761
+ "scroll-ms": [{
2762
+ "scroll-ms": getSpacingWithArbitrary()
2763
+ }],
2764
+ /**
2765
+ * Scroll Margin End
2766
+ * @see https://tailwindcss.com/docs/scroll-margin
2767
+ */
2768
+ "scroll-me": [{
2769
+ "scroll-me": getSpacingWithArbitrary()
2770
+ }],
2771
+ /**
2772
+ * Scroll Margin Top
2773
+ * @see https://tailwindcss.com/docs/scroll-margin
2774
+ */
2775
+ "scroll-mt": [{
2776
+ "scroll-mt": getSpacingWithArbitrary()
2777
+ }],
2778
+ /**
2779
+ * Scroll Margin Right
2780
+ * @see https://tailwindcss.com/docs/scroll-margin
2781
+ */
2782
+ "scroll-mr": [{
2783
+ "scroll-mr": getSpacingWithArbitrary()
2784
+ }],
2785
+ /**
2786
+ * Scroll Margin Bottom
2787
+ * @see https://tailwindcss.com/docs/scroll-margin
2788
+ */
2789
+ "scroll-mb": [{
2790
+ "scroll-mb": getSpacingWithArbitrary()
2791
+ }],
2792
+ /**
2793
+ * Scroll Margin Left
2794
+ * @see https://tailwindcss.com/docs/scroll-margin
2795
+ */
2796
+ "scroll-ml": [{
2797
+ "scroll-ml": getSpacingWithArbitrary()
2798
+ }],
2799
+ /**
2800
+ * Scroll Padding
2801
+ * @see https://tailwindcss.com/docs/scroll-padding
2802
+ */
2803
+ "scroll-p": [{
2804
+ "scroll-p": getSpacingWithArbitrary()
2805
+ }],
2806
+ /**
2807
+ * Scroll Padding X
2808
+ * @see https://tailwindcss.com/docs/scroll-padding
2809
+ */
2810
+ "scroll-px": [{
2811
+ "scroll-px": getSpacingWithArbitrary()
2812
+ }],
2813
+ /**
2814
+ * Scroll Padding Y
2815
+ * @see https://tailwindcss.com/docs/scroll-padding
2816
+ */
2817
+ "scroll-py": [{
2818
+ "scroll-py": getSpacingWithArbitrary()
2819
+ }],
2820
+ /**
2821
+ * Scroll Padding Start
2822
+ * @see https://tailwindcss.com/docs/scroll-padding
2823
+ */
2824
+ "scroll-ps": [{
2825
+ "scroll-ps": getSpacingWithArbitrary()
2826
+ }],
2827
+ /**
2828
+ * Scroll Padding End
2829
+ * @see https://tailwindcss.com/docs/scroll-padding
2830
+ */
2831
+ "scroll-pe": [{
2832
+ "scroll-pe": getSpacingWithArbitrary()
2833
+ }],
2834
+ /**
2835
+ * Scroll Padding Top
2836
+ * @see https://tailwindcss.com/docs/scroll-padding
2837
+ */
2838
+ "scroll-pt": [{
2839
+ "scroll-pt": getSpacingWithArbitrary()
2840
+ }],
2841
+ /**
2842
+ * Scroll Padding Right
2843
+ * @see https://tailwindcss.com/docs/scroll-padding
2844
+ */
2845
+ "scroll-pr": [{
2846
+ "scroll-pr": getSpacingWithArbitrary()
2847
+ }],
2848
+ /**
2849
+ * Scroll Padding Bottom
2850
+ * @see https://tailwindcss.com/docs/scroll-padding
2851
+ */
2852
+ "scroll-pb": [{
2853
+ "scroll-pb": getSpacingWithArbitrary()
2854
+ }],
2855
+ /**
2856
+ * Scroll Padding Left
2857
+ * @see https://tailwindcss.com/docs/scroll-padding
2858
+ */
2859
+ "scroll-pl": [{
2860
+ "scroll-pl": getSpacingWithArbitrary()
2861
+ }],
2862
+ /**
2863
+ * Scroll Snap Align
2864
+ * @see https://tailwindcss.com/docs/scroll-snap-align
2865
+ */
2866
+ "snap-align": [{
2867
+ snap: ["start", "end", "center", "align-none"]
2868
+ }],
2869
+ /**
2870
+ * Scroll Snap Stop
2871
+ * @see https://tailwindcss.com/docs/scroll-snap-stop
2872
+ */
2873
+ "snap-stop": [{
2874
+ snap: ["normal", "always"]
2875
+ }],
2876
+ /**
2877
+ * Scroll Snap Type
2878
+ * @see https://tailwindcss.com/docs/scroll-snap-type
2879
+ */
2880
+ "snap-type": [{
2881
+ snap: ["none", "x", "y", "both"]
2882
+ }],
2883
+ /**
2884
+ * Scroll Snap Type Strictness
2885
+ * @see https://tailwindcss.com/docs/scroll-snap-type
2886
+ */
2887
+ "snap-strictness": [{
2888
+ snap: ["mandatory", "proximity"]
2889
+ }],
2890
+ /**
2891
+ * Touch Action
2892
+ * @see https://tailwindcss.com/docs/touch-action
2893
+ */
2894
+ touch: [{
2895
+ touch: ["auto", "none", "manipulation"]
2896
+ }],
2897
+ /**
2898
+ * Touch Action X
2899
+ * @see https://tailwindcss.com/docs/touch-action
2900
+ */
2901
+ "touch-x": [{
2902
+ "touch-pan": ["x", "left", "right"]
2903
+ }],
2904
+ /**
2905
+ * Touch Action Y
2906
+ * @see https://tailwindcss.com/docs/touch-action
2907
+ */
2908
+ "touch-y": [{
2909
+ "touch-pan": ["y", "up", "down"]
2910
+ }],
2911
+ /**
2912
+ * Touch Action Pinch Zoom
2913
+ * @see https://tailwindcss.com/docs/touch-action
2914
+ */
2915
+ "touch-pz": ["touch-pinch-zoom"],
2916
+ /**
2917
+ * User Select
2918
+ * @see https://tailwindcss.com/docs/user-select
2919
+ */
2920
+ select: [{
2921
+ select: ["none", "text", "all", "auto"]
2922
+ }],
2923
+ /**
2924
+ * Will Change
2925
+ * @see https://tailwindcss.com/docs/will-change
2926
+ */
2927
+ "will-change": [{
2928
+ "will-change": ["auto", "scroll", "contents", "transform", isArbitraryValue]
2929
+ }],
2930
+ // SVG
2931
+ /**
2932
+ * Fill
2933
+ * @see https://tailwindcss.com/docs/fill
2934
+ */
2935
+ fill: [{
2936
+ fill: [colors, "none"]
2937
+ }],
2938
+ /**
2939
+ * Stroke Width
2940
+ * @see https://tailwindcss.com/docs/stroke-width
2941
+ */
2942
+ "stroke-w": [{
2943
+ stroke: [isLength, isArbitraryLength, isArbitraryNumber]
2944
+ }],
2945
+ /**
2946
+ * Stroke
2947
+ * @see https://tailwindcss.com/docs/stroke
2948
+ */
2949
+ stroke: [{
2950
+ stroke: [colors, "none"]
2951
+ }],
2952
+ // Accessibility
2953
+ /**
2954
+ * Screen Readers
2955
+ * @see https://tailwindcss.com/docs/screen-readers
2956
+ */
2957
+ sr: ["sr-only", "not-sr-only"],
2958
+ /**
2959
+ * Forced Color Adjust
2960
+ * @see https://tailwindcss.com/docs/forced-color-adjust
2961
+ */
2962
+ "forced-color-adjust": [{
2963
+ "forced-color-adjust": ["auto", "none"]
2964
+ }]
2965
+ },
2966
+ conflictingClassGroups: {
2967
+ overflow: ["overflow-x", "overflow-y"],
2968
+ overscroll: ["overscroll-x", "overscroll-y"],
2969
+ inset: ["inset-x", "inset-y", "start", "end", "top", "right", "bottom", "left"],
2970
+ "inset-x": ["right", "left"],
2971
+ "inset-y": ["top", "bottom"],
2972
+ flex: ["basis", "grow", "shrink"],
2973
+ gap: ["gap-x", "gap-y"],
2974
+ p: ["px", "py", "ps", "pe", "pt", "pr", "pb", "pl"],
2975
+ px: ["pr", "pl"],
2976
+ py: ["pt", "pb"],
2977
+ m: ["mx", "my", "ms", "me", "mt", "mr", "mb", "ml"],
2978
+ mx: ["mr", "ml"],
2979
+ my: ["mt", "mb"],
2980
+ size: ["w", "h"],
2981
+ "font-size": ["leading"],
2982
+ "fvn-normal": ["fvn-ordinal", "fvn-slashed-zero", "fvn-figure", "fvn-spacing", "fvn-fraction"],
2983
+ "fvn-ordinal": ["fvn-normal"],
2984
+ "fvn-slashed-zero": ["fvn-normal"],
2985
+ "fvn-figure": ["fvn-normal"],
2986
+ "fvn-spacing": ["fvn-normal"],
2987
+ "fvn-fraction": ["fvn-normal"],
2988
+ "line-clamp": ["display", "overflow"],
2989
+ 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"],
2990
+ "rounded-s": ["rounded-ss", "rounded-es"],
2991
+ "rounded-e": ["rounded-se", "rounded-ee"],
2992
+ "rounded-t": ["rounded-tl", "rounded-tr"],
2993
+ "rounded-r": ["rounded-tr", "rounded-br"],
2994
+ "rounded-b": ["rounded-br", "rounded-bl"],
2995
+ "rounded-l": ["rounded-tl", "rounded-bl"],
2996
+ "border-spacing": ["border-spacing-x", "border-spacing-y"],
2997
+ "border-w": ["border-w-s", "border-w-e", "border-w-t", "border-w-r", "border-w-b", "border-w-l"],
2998
+ "border-w-x": ["border-w-r", "border-w-l"],
2999
+ "border-w-y": ["border-w-t", "border-w-b"],
3000
+ "border-color": ["border-color-s", "border-color-e", "border-color-t", "border-color-r", "border-color-b", "border-color-l"],
3001
+ "border-color-x": ["border-color-r", "border-color-l"],
3002
+ "border-color-y": ["border-color-t", "border-color-b"],
3003
+ "scroll-m": ["scroll-mx", "scroll-my", "scroll-ms", "scroll-me", "scroll-mt", "scroll-mr", "scroll-mb", "scroll-ml"],
3004
+ "scroll-mx": ["scroll-mr", "scroll-ml"],
3005
+ "scroll-my": ["scroll-mt", "scroll-mb"],
3006
+ "scroll-p": ["scroll-px", "scroll-py", "scroll-ps", "scroll-pe", "scroll-pt", "scroll-pr", "scroll-pb", "scroll-pl"],
3007
+ "scroll-px": ["scroll-pr", "scroll-pl"],
3008
+ "scroll-py": ["scroll-pt", "scroll-pb"],
3009
+ touch: ["touch-x", "touch-y", "touch-pz"],
3010
+ "touch-x": ["touch"],
3011
+ "touch-y": ["touch"],
3012
+ "touch-pz": ["touch"]
3013
+ },
3014
+ conflictingClassGroupModifiers: {
3015
+ "font-size": ["leading"]
3016
+ }
3017
+ };
3018
+ };
3019
+ var mergeConfigs = (baseConfig, {
3020
+ cacheSize,
3021
+ prefix,
3022
+ separator,
3023
+ experimentalParseClassName,
3024
+ extend = {},
3025
+ override = {}
3026
+ }) => {
3027
+ overrideProperty(baseConfig, "cacheSize", cacheSize);
3028
+ overrideProperty(baseConfig, "prefix", prefix);
3029
+ overrideProperty(baseConfig, "separator", separator);
3030
+ overrideProperty(baseConfig, "experimentalParseClassName", experimentalParseClassName);
3031
+ for (const configKey in override) {
3032
+ overrideConfigProperties(baseConfig[configKey], override[configKey]);
3033
+ }
3034
+ for (const key in extend) {
3035
+ mergeConfigProperties(baseConfig[key], extend[key]);
3036
+ }
3037
+ return baseConfig;
3038
+ };
3039
+ var overrideProperty = (baseObject, overrideKey, overrideValue) => {
3040
+ if (overrideValue !== void 0) {
3041
+ baseObject[overrideKey] = overrideValue;
3042
+ }
3043
+ };
3044
+ var overrideConfigProperties = (baseObject, overrideObject) => {
3045
+ if (overrideObject) {
3046
+ for (const key in overrideObject) {
3047
+ overrideProperty(baseObject, key, overrideObject[key]);
3048
+ }
3049
+ }
3050
+ };
3051
+ var mergeConfigProperties = (baseObject, mergeObject) => {
3052
+ if (mergeObject) {
3053
+ for (const key in mergeObject) {
3054
+ const mergeValue = mergeObject[key];
3055
+ if (mergeValue !== void 0) {
3056
+ baseObject[key] = (baseObject[key] || []).concat(mergeValue);
3057
+ }
3058
+ }
3059
+ }
3060
+ };
3061
+ var extendTailwindMerge = (configExtension, ...createConfig) => typeof configExtension === "function" ? createTailwindMerge(getDefaultConfig, configExtension, ...createConfig) : createTailwindMerge(() => mergeConfigs(getDefaultConfig(), configExtension), ...createConfig);
3062
+
3063
+ // src/libraries/react/lib/utils.ts
3064
+ var twMerge = extendTailwindMerge({
3065
+ prefix: "au-"
3066
+ });
3067
+ function cn(...inputs) {
3068
+ return twMerge(clsx(inputs));
3069
+ }
3070
+
3071
+ // src/libraries/react/components/ui/switch.tsx
3072
+ var import_jsx_runtime5 = require("react/jsx-runtime");
3073
+ var Switch2 = React10.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
3074
+ Root,
3075
+ {
3076
+ className: cn(
3077
+ "au-peer au-inline-flex au-h-5 au-w-9 au-shrink-0 au-cursor-pointer au-items-center au-rounded-full au-border-2 au-border-transparent au-shadow-sm au-transition-colors focus-visible:au-outline-none focus-visible:au-ring-2 focus-visible:au-ring-ring focus-visible:au-ring-offset-2 focus-visible:au-ring-offset-background au-disabled:cursor-not-allowed au-disabled:opacity-50 data-[state=checked]:au-bg-primary data-[state=unchecked]:au-bg-input",
3078
+ className
3079
+ ),
3080
+ ...props,
3081
+ ref,
3082
+ children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
3083
+ Thumb,
3084
+ {
3085
+ className: cn(
3086
+ "au-pointer-events-none au-block au-h-4 au-w-4 au-rounded-full au-bg-background au-shadow-lg au-ring-0 au-transition-transform data-[state=checked]:au-translate-x-4 data-[state=unchecked]:au-translate-x-0"
3087
+ )
3088
+ }
3089
+ )
3090
+ }
3091
+ ));
3092
+ Switch2.displayName = Root.displayName;
3093
+ // Annotate the CommonJS export names for ESM import in node:
3094
+ 0 && (module.exports = {
3095
+ Switch
3096
+ });