@dub/ui 0.1.7 → 0.1.8

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 (372) hide show
  1. package/dist/accordion.mjs +1 -1
  2. package/dist/avatar.mjs +1 -1
  3. package/dist/badge.mjs +1 -1
  4. package/dist/blur-image.mjs +1 -1
  5. package/dist/button.mjs +1 -1
  6. package/dist/checkbox.mjs +1 -1
  7. package/dist/chunk-24ZUEHCC.mjs +2 -0
  8. package/dist/chunk-26MVMZNZ.mjs +2 -0
  9. package/dist/chunk-2ADAYQMU.mjs +2 -0
  10. package/dist/chunk-2DXY3AWQ.mjs +2 -0
  11. package/dist/chunk-2IXC2EEG.mjs +2 -0
  12. package/dist/chunk-2IYBPKU6.mjs +2 -0
  13. package/dist/chunk-2MRRN5CV.mjs +2 -0
  14. package/dist/chunk-2S6KEHF7.mjs +2 -0
  15. package/dist/chunk-2ZO3JRB5.mjs +2 -0
  16. package/dist/chunk-32Y6VWLQ.mjs +2 -0
  17. package/dist/chunk-37XAOWFG.mjs +2 -0
  18. package/dist/chunk-3DHBCOGV.mjs +2 -0
  19. package/dist/chunk-3GIUPYEY.mjs +2 -0
  20. package/dist/chunk-3HK46A2N.mjs +2 -0
  21. package/dist/chunk-3HOR7XUZ.mjs +2 -0
  22. package/dist/chunk-3K3SDHTH.mjs +2 -0
  23. package/dist/chunk-3KDO7AWB.mjs +2 -0
  24. package/dist/chunk-3LDOIFKM.mjs +2 -0
  25. package/dist/chunk-3N5PGMX7.mjs +2 -0
  26. package/dist/chunk-3OZFXG32.mjs +2 -0
  27. package/dist/chunk-3RDLJPU3.mjs +2 -0
  28. package/dist/chunk-3UTRAQWG.mjs +2 -0
  29. package/dist/chunk-3VFCMN7K.mjs +2 -0
  30. package/dist/chunk-432QTAJK.mjs +2 -0
  31. package/dist/chunk-47VKJSIB.mjs +2 -0
  32. package/dist/chunk-4G7PYH2Q.mjs +2 -0
  33. package/dist/chunk-4LUYCYRE.mjs +2 -0
  34. package/dist/chunk-4OQAAKGX.mjs +2 -0
  35. package/dist/chunk-4PXG6GVK.mjs +2 -0
  36. package/dist/chunk-4WDXMEEW.mjs +2 -0
  37. package/dist/chunk-4WOL67MO.mjs +2 -0
  38. package/dist/chunk-5A3CHOWZ.mjs +2 -0
  39. package/dist/chunk-5I6IS5CH.mjs +2 -0
  40. package/dist/chunk-5L6BGN5G.mjs +2 -0
  41. package/dist/chunk-5OOLIHWT.mjs +2 -0
  42. package/dist/chunk-5P7KVMLV.mjs +2 -0
  43. package/dist/chunk-5RYCMD7D.mjs +2 -0
  44. package/dist/chunk-5TRMU5QZ.mjs +2 -0
  45. package/dist/chunk-5XABV2G2.mjs +2 -0
  46. package/dist/chunk-5YN5Y5VJ.mjs +2 -0
  47. package/dist/chunk-6D6LC5FG.mjs +2 -0
  48. package/dist/chunk-6DEF6JUY.mjs +2 -0
  49. package/dist/chunk-6FM2RYQX.mjs +2 -0
  50. package/dist/chunk-6JVAM7T5.mjs +2 -0
  51. package/dist/chunk-6S6Y4DNI.mjs +2 -0
  52. package/dist/chunk-6SFJQ6UX.mjs +2 -0
  53. package/dist/chunk-6VNH74EJ.mjs +2 -0
  54. package/dist/chunk-6X7GHM7F.mjs +2 -0
  55. package/dist/chunk-7574536H.mjs +2 -0
  56. package/dist/chunk-7BRBQTLF.mjs +2 -0
  57. package/dist/chunk-7IDMMOBD.mjs +2 -0
  58. package/dist/chunk-7OSQNJUP.mjs +2 -0
  59. package/dist/chunk-7SO7THSF.mjs +2 -0
  60. package/dist/chunk-7UN4BOXA.mjs +2 -0
  61. package/dist/chunk-7VLRNLAX.mjs +2 -0
  62. package/dist/chunk-7VUK73JC.mjs +2 -0
  63. package/dist/chunk-7WZ4CHJC.mjs +2 -0
  64. package/dist/chunk-7YZ7PFIZ.mjs +2 -0
  65. package/dist/chunk-A4BQ7SC4.mjs +2 -0
  66. package/dist/chunk-A53WBV37.mjs +2 -0
  67. package/dist/chunk-AHWIKLBG.mjs +2 -0
  68. package/dist/chunk-AJFL2TVZ.mjs +2 -0
  69. package/dist/chunk-AQJGFPDK.mjs +2 -0
  70. package/dist/chunk-ARXC4PTN.mjs +2 -0
  71. package/dist/chunk-ATT544K2.mjs +2 -0
  72. package/dist/chunk-AWLTT4J7.mjs +2 -0
  73. package/dist/chunk-AWOW5YKE.mjs +2 -0
  74. package/dist/chunk-AWY4QQFD.mjs +2 -0
  75. package/dist/chunk-AY5R32XE.mjs +2 -0
  76. package/dist/chunk-B2HJWQN6.mjs +2 -0
  77. package/dist/chunk-B3NBAVU5.mjs +2 -0
  78. package/dist/chunk-B6GRYMVJ.mjs +2 -0
  79. package/dist/chunk-BDRDVFTR.mjs +2 -0
  80. package/dist/chunk-BKKQONMF.mjs +2 -0
  81. package/dist/chunk-BOGOLW47.mjs +2 -0
  82. package/dist/chunk-BSHBI3DC.mjs +2 -0
  83. package/dist/chunk-BUCZV5GP.mjs +2 -0
  84. package/dist/chunk-C2TGXYLN.mjs +2 -0
  85. package/dist/chunk-C2VK7UKT.mjs +2 -0
  86. package/dist/chunk-C6M5TN5Z.mjs +2 -0
  87. package/dist/chunk-CBX6XMS5.mjs +2 -0
  88. package/dist/chunk-CCPK36B5.mjs +2 -0
  89. package/dist/chunk-CCVJ32TF.mjs +2 -0
  90. package/dist/chunk-CD5IGEVN.mjs +2 -0
  91. package/dist/chunk-CDDU2T25.mjs +2 -0
  92. package/dist/chunk-CJTBJCEN.mjs +2 -0
  93. package/dist/chunk-CK5XFMYX.mjs +2 -0
  94. package/dist/chunk-CKFPP66I.mjs +2 -0
  95. package/dist/chunk-CN5IFEHF.mjs +2 -0
  96. package/dist/chunk-CT6645JZ.mjs +2 -0
  97. package/dist/chunk-CY74GUGQ.mjs +2 -0
  98. package/dist/chunk-DC3WAGZS.mjs +2 -0
  99. package/dist/chunk-DFSUUK7Z.mjs +2 -0
  100. package/dist/chunk-DH46R22X.mjs +2 -0
  101. package/dist/chunk-DKRHK2YU.mjs +2 -0
  102. package/dist/chunk-DMREGDCK.mjs +2 -0
  103. package/dist/chunk-DXXRHZGW.mjs +2 -0
  104. package/dist/chunk-DYFGNOHN.mjs +2 -0
  105. package/dist/chunk-DZF5D5F6.mjs +2 -0
  106. package/dist/chunk-E47ETLWX.mjs +2 -0
  107. package/dist/chunk-E4IZTA5R.mjs +2 -0
  108. package/dist/chunk-E7TDSU3K.mjs +2 -0
  109. package/dist/chunk-EGGPDO5U.mjs +2 -0
  110. package/dist/chunk-EGSHOUSJ.mjs +2 -0
  111. package/dist/chunk-EHXHW75R.mjs +2 -0
  112. package/dist/chunk-EIPMBGAW.mjs +2 -0
  113. package/dist/chunk-ERV2GISJ.mjs +2 -0
  114. package/dist/chunk-EYOFVLNA.mjs +2 -0
  115. package/dist/chunk-F5V7MVU3.mjs +2 -0
  116. package/dist/chunk-FFSTAAM6.mjs +2 -0
  117. package/dist/chunk-FOW5JGSZ.mjs +2 -0
  118. package/dist/chunk-FWZLTPEW.mjs +2 -0
  119. package/dist/chunk-FZK6UHSH.mjs +2 -0
  120. package/dist/chunk-G63JLOSX.mjs +2 -0
  121. package/dist/chunk-GB4DHHC6.mjs +2 -0
  122. package/dist/chunk-GI3GN7Q7.mjs +2 -0
  123. package/dist/chunk-GJMJ54O5.mjs +2 -0
  124. package/dist/chunk-GKRHGVOL.mjs +2 -0
  125. package/dist/chunk-GLGERLWV.mjs +2 -0
  126. package/dist/chunk-GQTTHETT.mjs +2 -0
  127. package/dist/chunk-GWD3KI3U.mjs +2 -0
  128. package/dist/chunk-HADI4EED.mjs +2 -0
  129. package/dist/chunk-HDEDVXLU.mjs +2 -0
  130. package/dist/chunk-HDZUAKMG.mjs +2 -0
  131. package/dist/chunk-HFOXNTZ2.mjs +2 -0
  132. package/dist/chunk-HFRAFOLB.mjs +2 -0
  133. package/dist/chunk-HFSH7TBM.mjs +2 -0
  134. package/dist/chunk-HH5T5KBM.mjs +2 -0
  135. package/dist/chunk-HJAHJ7MP.mjs +2 -0
  136. package/dist/chunk-HKCRRVJM.mjs +2 -0
  137. package/dist/chunk-HLVZYJAG.mjs +2 -0
  138. package/dist/chunk-HRWL5HAT.mjs +2 -0
  139. package/dist/chunk-HSGA5S5V.mjs +2 -0
  140. package/dist/chunk-HSJ3RH6K.mjs +2 -0
  141. package/dist/chunk-HVJQ3H77.mjs +2 -0
  142. package/dist/chunk-I4QYAGPT.mjs +2 -0
  143. package/dist/chunk-IABYIDE5.mjs +2 -0
  144. package/dist/chunk-IAC7JAVS.mjs +2 -0
  145. package/dist/chunk-IC3JNRIF.mjs +2 -0
  146. package/dist/chunk-IDIODIUK.mjs +2 -0
  147. package/dist/chunk-IFSJGCZ5.mjs +2 -0
  148. package/dist/chunk-IGWOZ4ZZ.mjs +2 -0
  149. package/dist/chunk-IIJSETZY.mjs +2 -0
  150. package/dist/chunk-IJIHPJZ4.mjs +2 -0
  151. package/dist/chunk-IOCEOSQ6.mjs +2 -0
  152. package/dist/chunk-IPL6UWWS.mjs +2 -0
  153. package/dist/chunk-IS7TWI2E.mjs +2 -0
  154. package/dist/chunk-ISW4IPSY.mjs +2 -0
  155. package/dist/chunk-IUOAVXV7.mjs +2 -0
  156. package/dist/chunk-IWUL7VK4.mjs +2 -0
  157. package/dist/chunk-IYDMMXDE.mjs +2 -0
  158. package/dist/chunk-J5ZRWID4.mjs +2 -0
  159. package/dist/chunk-JAZSJGJR.mjs +2 -0
  160. package/dist/chunk-JKH733PA.mjs +2 -0
  161. package/dist/chunk-JKQZSV3Y.mjs +2 -0
  162. package/dist/chunk-JMGMXNIO.mjs +2 -0
  163. package/dist/chunk-JNE7PBQJ.mjs +2 -0
  164. package/dist/chunk-JNQEL3JP.mjs +2 -0
  165. package/dist/chunk-JNVNO46I.mjs +2 -0
  166. package/dist/chunk-JVZAOFHI.mjs +2 -0
  167. package/dist/chunk-JWUYI4F4.mjs +2 -0
  168. package/dist/chunk-JYFR2E7G.mjs +2 -0
  169. package/dist/chunk-K3UON74Y.mjs +2 -0
  170. package/dist/chunk-K54LIU5G.mjs +2 -0
  171. package/dist/chunk-KA4M6WOV.mjs +2 -0
  172. package/dist/chunk-KDJWX4IP.mjs +2 -0
  173. package/dist/chunk-KEH573NY.mjs +2 -0
  174. package/dist/chunk-KH7ZT2MC.mjs +2 -0
  175. package/dist/chunk-KO7UPEPI.mjs +2 -0
  176. package/dist/chunk-KOOIZREV.mjs +2 -0
  177. package/dist/chunk-KSCNDDSQ.mjs +2 -0
  178. package/dist/chunk-KTKWGDAH.mjs +2 -0
  179. package/dist/chunk-KV2NB6U6.mjs +2 -0
  180. package/dist/chunk-KV4AY6XD.mjs +2 -0
  181. package/dist/chunk-KWQHACDJ.mjs +2 -0
  182. package/dist/chunk-KYAFGTAR.mjs +2 -0
  183. package/dist/chunk-KZZ2RMPJ.mjs +2 -0
  184. package/dist/chunk-L23BITUK.mjs +2 -0
  185. package/dist/chunk-L47XC67T.mjs +2 -0
  186. package/dist/chunk-L5O5YRCH.mjs +2 -0
  187. package/dist/chunk-L6355EHM.mjs +2 -0
  188. package/dist/chunk-L67XSKVP.mjs +2 -0
  189. package/dist/chunk-LE5SPNK6.mjs +2 -0
  190. package/dist/chunk-LEOPHPZN.mjs +2 -0
  191. package/dist/chunk-LIGWPR7U.mjs +2 -0
  192. package/dist/chunk-LJDXKUHK.mjs +2 -0
  193. package/dist/chunk-LJVTQWAS.mjs +2 -0
  194. package/dist/chunk-LNJTMND4.mjs +2 -0
  195. package/dist/chunk-LNU7VIFN.mjs +2 -0
  196. package/dist/chunk-LO2MF3SE.mjs +2 -0
  197. package/dist/chunk-LQUBIB26.mjs +2 -0
  198. package/dist/chunk-LTPGTC5F.mjs +2 -0
  199. package/dist/chunk-LXNS5TCM.mjs +2 -0
  200. package/dist/chunk-M4C3F3UC.mjs +2 -0
  201. package/dist/chunk-MAPS7CGR.mjs +2 -0
  202. package/dist/chunk-MCXNS53S.mjs +2 -0
  203. package/dist/chunk-MGRXAVNA.mjs +2 -0
  204. package/dist/chunk-MI34H255.mjs +2 -0
  205. package/dist/chunk-MIXGYRTY.mjs +2 -0
  206. package/dist/chunk-MLZXCQ2Y.mjs +2 -0
  207. package/dist/chunk-MMGDMDRM.mjs +2 -0
  208. package/dist/chunk-MQP6NPNK.mjs +2 -0
  209. package/dist/chunk-MZPA2XTY.mjs +2 -0
  210. package/dist/chunk-N3FQ36PA.mjs +2 -0
  211. package/dist/chunk-N46RANZZ.mjs +2 -0
  212. package/dist/chunk-N7E3VKAH.mjs +2 -0
  213. package/dist/chunk-NBATYMTX.mjs +2 -0
  214. package/dist/chunk-NBPMEGLD.mjs +2 -0
  215. package/dist/chunk-NJI5XP6E.mjs +2 -0
  216. package/dist/chunk-NMV7FMEZ.mjs +2 -0
  217. package/dist/chunk-NOAASY22.mjs +2 -0
  218. package/dist/chunk-NTW2NMAM.mjs +2 -0
  219. package/dist/chunk-O2VMCQAO.mjs +2 -0
  220. package/dist/chunk-O6HWIMMC.mjs +2 -0
  221. package/dist/chunk-O7MH2NLA.mjs +2 -0
  222. package/dist/chunk-OAB726RR.mjs +2 -0
  223. package/dist/chunk-OJGDWULD.mjs +2 -0
  224. package/dist/chunk-OJSXFFL2.mjs +2 -0
  225. package/dist/chunk-OKZSDZBW.mjs +2 -0
  226. package/dist/chunk-OLKIRT6H.mjs +2 -0
  227. package/dist/chunk-OQ6GMG7U.mjs +2 -0
  228. package/dist/chunk-OQD3PLYN.mjs +2 -0
  229. package/dist/chunk-OYOA22FF.mjs +2 -0
  230. package/dist/chunk-PBDB6C6A.mjs +2 -0
  231. package/dist/chunk-PCXZYI3T.mjs +2 -0
  232. package/dist/chunk-PFQ5QF5X.mjs +2 -0
  233. package/dist/chunk-PGN3IVQH.mjs +2 -0
  234. package/dist/chunk-PPUP6FHC.mjs +2 -0
  235. package/dist/chunk-PX2NTE3N.mjs +2 -0
  236. package/dist/chunk-Q4FER62O.mjs +2 -0
  237. package/dist/chunk-Q5MI4R4H.mjs +2 -0
  238. package/dist/chunk-QBFXFK6Z.mjs +2 -0
  239. package/dist/chunk-QCS5JEAW.mjs +2 -0
  240. package/dist/chunk-QDSAPNCW.mjs +2 -0
  241. package/dist/chunk-QFHN6IA7.mjs +2 -0
  242. package/dist/chunk-QFW2SJDI.mjs +2 -0
  243. package/dist/chunk-QIBAG4Y6.mjs +2 -0
  244. package/dist/chunk-QIOX7LWM.mjs +2 -0
  245. package/dist/chunk-QIZUWBYD.mjs +2 -0
  246. package/dist/chunk-QM3HOPC7.mjs +2 -0
  247. package/dist/chunk-QP43UDHR.mjs +2 -0
  248. package/dist/chunk-QPLDLSOR.mjs +2 -0
  249. package/dist/chunk-QVNGKS7D.mjs +2 -0
  250. package/dist/chunk-QXZQ7KFE.mjs +2 -0
  251. package/dist/chunk-R7DAC5OF.mjs +2 -0
  252. package/dist/chunk-RCACRYBW.mjs +2 -0
  253. package/dist/chunk-RLU5KZRJ.mjs +2 -0
  254. package/dist/chunk-RNJVIHHV.mjs +2 -0
  255. package/dist/chunk-RNXDXC6G.mjs +2 -0
  256. package/dist/chunk-RPRGYYNQ.mjs +2 -0
  257. package/dist/chunk-RVKN3OZQ.mjs +2 -0
  258. package/dist/chunk-RW6VYU27.mjs +2 -0
  259. package/dist/chunk-RYTBEDJJ.mjs +2 -0
  260. package/dist/chunk-S25MO75E.mjs +2 -0
  261. package/dist/chunk-S2KOK4RQ.mjs +2 -0
  262. package/dist/chunk-S33GNVRU.mjs +2 -0
  263. package/dist/chunk-S5WQ6664.mjs +2 -0
  264. package/dist/chunk-S7VGKT4H.mjs +2 -0
  265. package/dist/chunk-SERT4MAK.mjs +2 -0
  266. package/dist/chunk-SERTTJ6B.mjs +2 -0
  267. package/dist/chunk-SICTFKNO.mjs +2 -0
  268. package/dist/chunk-SJYE4ISS.mjs +2 -0
  269. package/dist/chunk-SKDMCCGL.mjs +2 -0
  270. package/dist/chunk-SOH72QBG.mjs +2 -0
  271. package/dist/chunk-SVB47L4G.mjs +2 -0
  272. package/dist/chunk-SYFYJLHQ.mjs +2 -0
  273. package/dist/chunk-SZFOL54K.mjs +2 -0
  274. package/dist/chunk-TEVT546E.mjs +2 -0
  275. package/dist/chunk-TFN3QTCW.mjs +2 -0
  276. package/dist/chunk-TIHB6I7P.mjs +2 -0
  277. package/dist/chunk-TO7ES3WU.mjs +2 -0
  278. package/dist/chunk-TP7EBGGM.mjs +2 -0
  279. package/dist/chunk-TSPNDZ22.mjs +2 -0
  280. package/dist/chunk-TTNVMAT4.mjs +2 -0
  281. package/dist/chunk-TVZUIRYY.mjs +2 -0
  282. package/dist/chunk-U3OWRGQR.mjs +2 -0
  283. package/dist/chunk-UBDGDZX3.mjs +2 -0
  284. package/dist/chunk-UIVM3Q7T.mjs +2 -0
  285. package/dist/chunk-UJWMCK33.mjs +2 -0
  286. package/dist/chunk-UNZLJDEE.mjs +2 -0
  287. package/dist/chunk-UQEC4KF2.mjs +2 -0
  288. package/dist/chunk-UQS24NOE.mjs +2 -0
  289. package/dist/chunk-USDBNGIG.mjs +2 -0
  290. package/dist/chunk-V6OVQLS4.mjs +2 -0
  291. package/dist/chunk-VDWXTNLZ.mjs +2 -0
  292. package/dist/chunk-VIDTMWXO.mjs +2 -0
  293. package/dist/chunk-VJ6EA5BI.mjs +2 -0
  294. package/dist/chunk-VLIVYEMN.mjs +2 -0
  295. package/dist/chunk-VM3S6S3E.mjs +2 -0
  296. package/dist/chunk-VMBWSJGO.mjs +2 -0
  297. package/dist/chunk-VNMXO66S.mjs +2 -0
  298. package/dist/chunk-VOPHGQ6A.mjs +2 -0
  299. package/dist/chunk-VUSOPX7F.mjs +2 -0
  300. package/dist/chunk-VZLQQUAS.mjs +2 -0
  301. package/dist/chunk-W4K2SCRV.mjs +2 -0
  302. package/dist/chunk-W4XM7WOB.mjs +2 -0
  303. package/dist/chunk-WBG4PJ5A.mjs +2 -0
  304. package/dist/chunk-WCVAHSHW.mjs +2 -0
  305. package/dist/chunk-WLJ4IS4W.mjs +2 -0
  306. package/dist/chunk-WMJCZTBE.mjs +2 -0
  307. package/dist/chunk-WXLWUU2B.mjs +2 -0
  308. package/dist/chunk-X3DFE7NE.mjs +2 -0
  309. package/dist/chunk-XA6HZP2X.mjs +1 -0
  310. package/dist/chunk-XB5SAOVP.mjs +2 -0
  311. package/dist/chunk-XDOAMVK4.mjs +2 -0
  312. package/dist/chunk-XF6UKTZS.mjs +2 -0
  313. package/dist/chunk-XFGV73AQ.mjs +2 -0
  314. package/dist/chunk-XFQ67UOL.mjs +2 -0
  315. package/dist/chunk-XHWHK5XI.mjs +2 -0
  316. package/dist/chunk-XLS2MRDP.mjs +2 -0
  317. package/dist/chunk-XWOU6GVM.mjs +2 -0
  318. package/dist/chunk-XWQSEMNF.mjs +2 -0
  319. package/dist/chunk-XYXF7OGA.mjs +2 -0
  320. package/dist/chunk-Y5FHYRSG.mjs +2 -0
  321. package/dist/chunk-Y73YSCZ6.mjs +2 -0
  322. package/dist/chunk-Y76FFTMB.mjs +2 -0
  323. package/dist/chunk-YCBPGXWJ.mjs +2 -0
  324. package/dist/chunk-YEIDNEGQ.mjs +2 -0
  325. package/dist/chunk-YID66YZY.mjs +2 -0
  326. package/dist/chunk-YJPUXWUD.mjs +2 -0
  327. package/dist/chunk-YKKGRKWB.mjs +2 -0
  328. package/dist/chunk-YSKZCP3E.mjs +2 -0
  329. package/dist/chunk-YTA72QV7.mjs +2 -0
  330. package/dist/chunk-YUISZ7X6.mjs +2 -0
  331. package/dist/chunk-Z2GE5MIQ.mjs +2 -0
  332. package/dist/chunk-Z3BXP4PL.mjs +2 -0
  333. package/dist/chunk-Z7FGJ5AC.mjs +2 -0
  334. package/dist/chunk-ZA7ABSOP.mjs +2 -0
  335. package/dist/chunk-ZBX6JYDE.mjs +2 -0
  336. package/dist/chunk-ZLMDD676.mjs +2 -0
  337. package/dist/chunk-ZU672PFE.mjs +2 -0
  338. package/dist/chunk-ZUDHZKXC.mjs +2 -0
  339. package/dist/chunk-ZYRDGCEA.mjs +2 -0
  340. package/dist/copy-button.mjs +1 -1
  341. package/dist/counting-numbers.mjs +1 -1
  342. package/dist/footer.mjs +1 -1
  343. package/dist/form.mjs +1 -1
  344. package/dist/icons/expanding-arrow.mjs +1 -1
  345. package/dist/icons/index.mjs +1 -1
  346. package/dist/icons/loading-circle.mjs +1 -1
  347. package/dist/icons/loading-spinner.mjs +1 -1
  348. package/dist/icons/logo.mjs +1 -1
  349. package/dist/icons/logotype.mjs +1 -1
  350. package/dist/icons/product-hunt.d.ts +7 -0
  351. package/dist/icons/product-hunt.mjs +2 -0
  352. package/dist/icons/youtube.mjs +1 -1
  353. package/dist/index.css +1 -1
  354. package/dist/index.mjs +1 -1
  355. package/dist/input-select.mjs +1 -1
  356. package/dist/label.mjs +1 -1
  357. package/dist/link-logo.mjs +1 -1
  358. package/dist/link-preview.mjs +1 -1
  359. package/dist/max-width-wrapper.mjs +1 -1
  360. package/dist/modal.mjs +1 -1
  361. package/dist/nav-mobile.mjs +1 -1
  362. package/dist/nav.mjs +1 -1
  363. package/dist/popover.mjs +1 -1
  364. package/dist/popup.d.ts +14 -0
  365. package/dist/popup.mjs +2 -0
  366. package/dist/product-hunt-f8a3747c.d.ts +7 -0
  367. package/dist/progress-bar.mjs +1 -1
  368. package/dist/radio-group.mjs +1 -1
  369. package/dist/switch.mjs +1 -1
  370. package/dist/tab-select.mjs +1 -1
  371. package/dist/tooltip.mjs +1 -1
  372. package/package.json +1 -1
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{f as o}from"./chunk-UQEC4KF2.mjs";import*as e from"@radix-ui/react-label";import{cva as m}from"class-variance-authority";import*as t from"react";import{jsx as s}from"react/jsx-runtime";var l=m("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),p=t.forwardRef(({className:a,...i},r)=>s(e.Root,{ref:r,className:o(l(),a),...i}));p.displayName=e.Root.displayName;export{p as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as l}from"./chunk-7SO7THSF.mjs";import{f as e,g as s}from"./chunk-HH5T5KBM.mjs";import{Globe as o}from"lucide-react";import{jsx as m}from"react/jsx-runtime";function f({apexDomain:r,className:t}){return r?m(l,{src:`${void 0}${r}`,alt:r,className:(void 0)("h-8 w-8 rounded-full sm:h-10 sm:w-10",t),width:20,height:20}):m("div",{className:(void 0)("flex h-8 w-8 items-center justify-center rounded-full bg-gray-100 px-0 sm:h-10 sm:w-10",t),children:m(o,{className:"h-4 w-4 text-gray-600 sm:h-5 sm:w-5"})})}export{f as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{g as r}from"./chunk-HH5T5KBM.mjs";import*as e from"@radix-ui/react-accordion";import{ChevronDown as m}from"lucide-react";import*as c from"react";import{jsx as n,jsxs as l}from"react/jsx-runtime";var v=e.Root,d=c.forwardRef(({className:o,...t},i)=>n(e.Item,{ref:i,className:(void 0)("border-b border-b-slate-200 py-3 last:border-none",o),...t}));d.displayName="AccordionItem";var s=c.forwardRef(({className:o,children:t,...i},a)=>n(e.Header,{className:"flex",children:l(e.Trigger,{ref:a,className:(void 0)("flex flex-1 items-center justify-between font-medium transition-all sm:text-lg [&[data-state=open]>svg]:rotate-180",o),...i,children:[t,n(m,{className:"h-5 w-5 flex-none transition-transform duration-300"})]})}));s.displayName=e.Trigger.displayName;var f=c.forwardRef(({className:o,children:t,...i},a)=>n(e.Content,{ref:a,className:(void 0)("data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm text-gray-500 transition-all sm:text-base",o),...i,children:t}));f.displayName=e.Content.displayName;export{v as a,d as b,s as c,f as d};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{f as l}from"./chunk-CJTBJCEN.mjs";import{jsx as C,jsxs as t}from"react/jsx-runtime";function e({className:r}){return t("svg",{width:"834",height:"236",viewBox:"0 0 834 236",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:l("h-6 w-24",r),children:[C("path",{d:"M266 119.5C266 181.632 215.632 232 153.5 232C91.368 232 41 181.632 41 119.5C41 57.368 91.368 7 153.5 7C215.632 7 266 57.368 266 119.5Z",fill:"currentColor"}),C("mask",{id:"mask0_46_2",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"41",y:"7",width:"225",height:"225",children:C("path",{d:"M266 119.5C266 181.632 215.632 232 153.5 232C91.368 232 41 181.632 41 119.5C41 57.368 91.368 7 153.5 7C215.632 7 266 57.368 266 119.5Z",fill:"currentColor"})}),t("g",{mask:"url(#mask0_46_2)",children:[C("ellipse",{cx:"153",cy:"124.5",rx:"58",ry:"57.5",fill:"white"}),C("path",{d:"M185 -10H211V181H185V-10Z",fill:"white"})]}),C("path",{d:"M397.25 213.75C385.25 213.75 374.833 211.083 366 205.75C357.167 200.417 350.25 192.917 345.25 183.25C340.417 173.417 338 161.917 338 148.75C338 135.417 340.5 123.75 345.5 113.75C350.5 103.583 357.583 95.6667 366.75 90C376.083 84.3333 387.083 81.5 399.75 81.5C407.583 81.5 414.833 82.9167 421.5 85.75C428.333 88.5833 433.583 92.3333 437.25 97V22H475.75V210.5H439.5L437.5 194.5C434.167 200.167 428.833 204.833 421.5 208.5C414.333 212 406.25 213.75 397.25 213.75ZM406.5 178.5C412.5 178.5 417.75 177.25 422.25 174.75C426.917 172.083 430.5 168.417 433 163.75C435.667 158.917 437 153.417 437 147.25C437 140.917 435.667 135.417 433 130.75C430.5 126.083 426.917 122.5 422.25 120C417.75 117.333 412.5 116 406.5 116C400.5 116 395.25 117.333 390.75 120C386.25 122.667 382.75 126.333 380.25 131C377.917 135.667 376.75 141.083 376.75 147.25C376.75 153.417 377.917 158.833 380.25 163.5C382.75 168.167 386.25 171.833 390.75 174.5C395.25 177.167 400.5 178.5 406.5 178.5Z",fill:"currentColor"}),C("path",{d:"M587.662 85.5H626.162C626.162 85.5 626.162 148.5 626.162 164C626.162 179.5 623.786 191.5 616.5 200.5C609.214 209.5 594 213.75 582.162 213.75C570.324 213.75 564.412 213.75 564.412 213.75C564.412 213.75 556.662 213.75 549.162 213.75C534.995 213.75 523.745 209.333 515.412 200.5C507.245 191.5 503.162 179.333 503.162 164V85.5H541.662V150C541.662 160.167 543.495 167.667 547.162 172.5C550.829 177.167 556.579 179.5 564.412 179.5C572.745 179.5 578.662 177.25 582.162 172.75C585.829 168.083 587.662 160.667 587.662 150.5V85.5Z",fill:"currentColor"}),C("path",{d:"M691.303 210.5H655.053V22H693.553V100C697.386 94.3333 703.053 89.8333 710.553 86.5C718.219 83 726.553 81.25 735.553 81.25C747.219 81.25 757.303 84.0833 765.803 89.75C774.469 95.4167 781.136 103.333 785.803 113.5C790.469 123.667 792.803 135.583 792.803 149.25C792.803 162.083 790.219 173.417 785.053 183.25C780.053 192.917 772.969 200.417 763.803 205.75C754.803 211.083 744.386 213.75 732.553 213.75C723.886 213.75 715.969 212 708.803 208.5C701.803 204.833 696.636 200.167 693.303 194.5L691.303 210.5ZM693.803 147.25C693.803 153.417 695.053 158.917 697.553 163.75C700.219 168.417 703.803 172.083 708.303 174.75C712.969 177.25 718.303 178.5 724.303 178.5C730.469 178.5 735.719 177.167 740.053 174.5C744.553 171.833 747.969 168.167 750.303 163.5C752.803 158.833 754.053 153.417 754.053 147.25C754.053 141.083 752.803 135.667 750.303 131C747.969 126.333 744.553 122.667 740.053 120C735.719 117.333 730.469 116 724.303 116C718.303 116 712.969 117.333 708.303 120C703.803 122.5 700.219 126.083 697.553 130.75C695.053 135.417 693.803 140.917 693.803 147.25Z",fill:"currentColor"})]})}export{e as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as ke,b as Pe}from"./chunk-AUBFB4SI.mjs";var ue=ke((Xt,pe)=>{var O=1e3,C=O*60,L=C*60,S=L*24,qe=S*7,We=S*365.25;pe.exports=function(e,t){t=t||{};var r=typeof e;if(r==="string"&&e.length>0)return Ke(e);if(r==="number"&&isFinite(e))return t.long?Ye(e):He(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function Ke(e){if(e=String(e),!(e.length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!!t){var r=parseFloat(t[1]),o=(t[2]||"ms").toLowerCase();switch(o){case"years":case"year":case"yrs":case"yr":case"y":return r*We;case"weeks":case"week":case"w":return r*qe;case"days":case"day":case"d":return r*S;case"hours":case"hour":case"hrs":case"hr":case"h":return r*L;case"minutes":case"minute":case"mins":case"min":case"m":return r*C;case"seconds":case"second":case"secs":case"sec":case"s":return r*O;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}function He(e){var t=Math.abs(e);return t>=S?Math.round(e/S)+"d":t>=L?Math.round(e/L)+"h":t>=C?Math.round(e/C)+"m":t>=O?Math.round(e/O)+"s":e+"ms"}function Ye(e){var t=Math.abs(e);return t>=S?$(e,t,S,"day"):t>=L?$(e,t,L,"hour"):t>=C?$(e,t,C,"minute"):t>=O?$(e,t,O,"second"):e+" ms"}function $(e,t,r,o){var n=t>=r*1.5;return Math.round(e/r)+" "+o+(n?"s":"")}});function M(e,t={digits:1}){if(!e)return"0";if(t.full)return Intl.NumberFormat("en-US").format(e);let r=[{value:1,symbol:""},{value:1e3,symbol:"K"},{value:1e6,symbol:"M"},{value:1e9,symbol:"G"},{value:1e12,symbol:"T"},{value:1e15,symbol:"P"},{value:1e18,symbol:"E"}],o=/\.0+$|(\.[0-9]*[1-9])0+$/;var n=r.slice().reverse().find(function(s){return e>=s.value});return n?(e/n.value).toFixed(t.digits).replace(o,"$1")+n.symbol:"0"}var J=e=>{try{return new URL(e),!0}catch{return!1}},Se=e=>{if(J(e))return e;try{if(e.includes(".")&&!e.includes(" "))return new URL(`https://${e}`).toString()}catch{}return""};var Ie=new RegExp(/^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/),Oe=new RegExp(/^[0-9A-Za-z\u0080-\uFFFF\/\-]*$/u),Ce=new RegExp(/^[a-zA-Z0-9\-]+$/);var Le=e=>{if(J(e))return new URL(e).hostname.replace(/^www\./,"");try{if(e.includes(".")&&!e.includes(" "))return new URL(`https://${e}`).hostname.replace(/^www\./,"")}catch{return null}};var j=({name:e="Business",monthly:t=59,yearly:r=49,links:o=5e3,clicks:n=15e4,domains:s=40,tags:a=150,users:l=15,ids:p=[]})=>({name:e,tagline:"For larger teams with increased usage",link:"https://dub.co/help/article/business-plan",price:{monthly:t,yearly:r,ids:p},limits:{links:o,clicks:n,domains:s,tags:a,users:l},colors:{bg:"bg-sky-900",text:"text-sky-900"},cta:{text:"Get started with Business",shortText:"Get started",href:"https://app.dub.co/register",color:"bg-sky-900 border-sky-900 hover:text-sky-900"},featureTitle:"Everything in Pro, plus:",features:[{text:`${M(o,{full:!0})} new links/mo`},{text:`${M(n)} tracked clicks/mo`},{text:"2-year analytics retention"},{text:`${s} custom domains`},{text:`${l} users`},{text:`${M(a,{full:!0})} tags`,footnote:{title:"Organize your links with tags.",cta:"Learn more.",href:"https://dub.co/help/article/how-to-use-tags"}},{text:"Elevated support",footnote:"Email and chat support."},{text:"Custom branding",footnote:{title:"Set custom QR code logos, password-protected links logos, and more.",cta:"Learn more.",href:"https://dub.co/help/article/custom-qr-codes"}}]}),I=[{name:"Free",tagline:"For hobby & side projects",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,domains:3,tags:5,users:1},colors:{bg:"bg-black",text:"text-black"},cta:{text:"Start for free",href:"https://app.dub.co/register",color:"bg-black border-black hover:text-black"},featureTitle:"What's included:",features:[{text:"25 new links/mo"},{text:"1K tracked clicks/mo"},{text:"30-day analytics retention"},{text:"3 custom domains"},{text:"1 user"},{text:"Community support",footnote:"Help center + GitHub discussions."},{text:"API Access",footnote:{title:"Programatically manage your links using our REST API.",cta:"Learn more.",href:"https://dub.co/docs/api-reference/introduction"}}]},{name:"Pro",tagline:"For startups & small businesses",link:"https://dub.co/help/article/pro-plan",price:{monthly:24,yearly:19,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ","price_1OTcQBAlJJEpqkPViGtGEsbb","price_1OYJeBAlJJEpqkPVLjTsjX0E","price_1OTcQBAlJJEpqkPVYlCMqdLL","price_1OYJeBAlJJEpqkPVnPGEZeb0"]},limits:{links:1e3,clicks:5e4,domains:10,tags:25,users:5},colors:{bg:"bg-blue-500",text:"text-blue-500"},cta:{text:"Get started with Pro",shortText:"Get started",href:"https://app.dub.co/register",color:"bg-blue-500 border-blue-500 hover:text-blue-500"},featureTitle:"Everything in Free, plus:",features:[{text:"1,000 new links/mo"},{text:"50K tracked clicks/mo"},{text:"1-year analytics retention"},{text:"10 custom domains"},{text:"5 users"},{text:"Basic support",footnote:"Basic email support."},{text:"Root domain redirect",footnote:{title:"Redirect vistors that land on the root of your domain (e.g. yourdomain.com) to a page of your choice.",cta:"Learn more.",href:"https://dub.co/help/article/how-to-redirect-root-domain"}},{text:"Advanced link features",footnote:"Custom social media cards, password-protected links, link expiration, link cloaking, device targeting, geo targeting etc."}]},j({name:"Business",monthly:59,yearly:49,links:5e3,clicks:15e4,domains:40,tags:150,users:15,ids:["price_1LodLoAlJJEpqkPV9rD0rlNL","price_1LodLoAlJJEpqkPVJdwv5zrG","price_1OZgmnAlJJEpqkPVOj4kV64R","price_1OzNlmAlJJEpqkPV7s9HXNAC","price_1OzNmXAlJJEpqkPVYO89lTdx","price_1OzOFIAlJJEpqkPVJxzc9irl","price_1OzOXMAlJJEpqkPV9ERrjjbw"]}),j({name:"Business Plus",monthly:119,yearly:99,links:15e3,clicks:4e5,domains:100,tags:300,users:40,ids:["price_1OnWu0AlJJEpqkPVWk4144ZG","price_1OnWu0AlJJEpqkPVkDWVriAB","price_1OnaK3AlJJEpqkPVaCfCPdHi","price_1OzObrAlJJEpqkPVh6D9HWGO"]}),j({name:"Business Extra",monthly:249,yearly:199,links:4e4,clicks:1e6,domains:250,tags:500,users:100,ids:["price_1OnWvCAlJJEpqkPVLzLHx5QD","price_1OnWvCAlJJEpqkPVHhCCvIOq","price_1OnaKJAlJJEpqkPVeJSvPfJb","price_1OzOg1AlJJEpqkPVPlsrxoWm"]}),j({name:"Business Max",monthly:499,yearly:399,links:1e5,clicks:25e5,domains:500,tags:1e3,users:250,ids:["price_1OnWwLAlJJEpqkPVXtJyPqLk","price_1OnWwLAlJJEpqkPV4eMbOkNh","price_1OnaKOAlJJEpqkPVV6gkZPgt","price_1OzOh5AlJJEpqkPVtCSX7dlE"]}),{name:"Enterprise",tagline:"Custom tailored plans for large enterprises. Whether you're running a SMS campaign with millions of short links or a large marketing campaign with billions of clicks, we've got you covered.",link:"https://dub.co/enterprise",price:{monthly:null,yearly:null},limits:{links:null,clicks:null,domains:null},colors:{bg:"bg-violet-600",text:"text-violet-600"},cta:{text:"Contact us",href:"/enterprise",color:"bg-violet-600 border-violet-600 hover:text-violet-600"},featureTitle:"Everything in Business, plus:",features:[{text:"Custom usage limits"},{text:"Volume discounts"},{text:"SSO/SAML"},{text:"Role-based access controls"},{text:"Custom contract & SLA"},{text:"Whiteglove onboarding"},{text:"Dedicated success manager"},{text:"Priority support"},{text:"Dedicated Slack channel"}]}],Te=I.find(e=>e.name==="Free"),Ne=I.find(e=>e.name==="Pro"),ze=I.find(e=>e.name==="Business"),Me=I.find(e=>e.name==="Enterprise");var Re=I.filter(e=>e.name!=="Free"&&e.name!=="Enterprise");var Ue=process.env.NEXT_PUBLIC_APP_NAME||"Dub.co",X=process.env.NEXT_PUBLIC_APP_SHORT_DOMAIN||"dub.sh",De=`https://${process.env.NEXT_PUBLIC_APP_DOMAIN}`,Be=new Set([`app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"localhost:8888","localhost"]),Ve=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:"http://localhost:8888",Ge=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NGROK_URL||"http://localhost:8888",Je=new Set([`api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`api-staging.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`api.${X}`,"api.localhost:8888"]),je=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://api-staging.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:"http://api.localhost:8888",$e=new Set([`admin.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"admin.localhost:8888"]);var P="cl7pj5kq4006835rbjlt2ofka";var de=[{id:"clce1z7ch00j0rbstbjufva4j",slug:X,verified:!0,primary:!0,archived:!1,publicStats:!1,target:`https://${process.env.NEXT_PUBLIC_APP_DOMAIN}`,type:"redirect",placeholder:"https://dub.co/help/article/what-is-dub",clicks:0,allowedHostnames:[],projectId:P},...process.env.NEXT_PUBLIC_IS_DUB?[{id:"clce1z7cs00y8rbstk4xtnj0k",slug:"chatg.pt",verified:!0,primary:!1,archived:!1,publicStats:!1,target:"https://dub.co/tools/chatgpt-link-shortener",type:"redirect",placeholder:"https://chat.openai.com/g/g-UGjKKONEe-domainsgpt",clicks:0,allowedHostnames:["chat.openai.com"],projectId:P},{id:"cloxw8y2u0003js08a7mqg1j8",slug:"spti.fi",verified:!0,primary:!1,archived:!1,publicStats:!1,target:"https://dub.co/tools/spotify-link-shortener",type:"redirect",placeholder:"https://open.spotify.com/album/1SCyi9a5pOasikidToUY5y",clicks:0,allowedHostnames:["open.spotify.com"],projectId:P},{id:"cltgtd6s5000341itdszz20u2",slug:"git.new",verified:!0,primary:!1,archived:!1,publicStats:!1,target:"https://dub.co/tools/github-link-shortener",type:"redirect",placeholder:"https://github.com/dubinc/dub",clicks:0,allowedHostnames:["github.com","gist.github.com"],projectId:P},{id:"cloxw8qtk000bjt08n9b812vs",slug:"amzn.id",verified:!0,primary:!1,archived:!1,publicStats:!1,target:"https://dub.co/tools/amazon-link-shortener",type:"redirect",placeholder:"https://www.amazon.com/dp/B0BW4SWNC8",clicks:0,allowedHostnames:["amazon.com","amazon.co.uk","amazon.ca","amazon.es"],projectId:P},{id:"clugy7euh000a11h6ignmj42o",slug:"loooooooo.ng",verified:!0,primary:!1,archived:!0,publicStats:!0,target:"https://dub.co/tools/url-lengthener",type:"redirect",placeholder:"https://d.to/long",clicks:0,projectId:P}]:[]],Fe=de.map(e=>e.slug);var me=Pe(ue(),1),Xe=(e,{withAgo:t}={})=>{if(!e)return"Never";let r=Date.now()-new Date(e).getTime();return r<1e3?"Just now":r>828e5?new Date(e).toLocaleDateString("en-US",{month:"short",day:"numeric",year:new Date(e).getFullYear()!==new Date().getFullYear()?"numeric":void 0}):`${(0,me.default)(r)}${t?" ago":""}`};function fe(e){var t,r,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(r=fe(e[t]))&&(o&&(o+=" "),o+=r)}else for(r in e)e[r]&&(o&&(o+=" "),o+=r);return o}function he(){for(var e,t,r=0,o="",n=arguments.length;r<n;r++)(e=arguments[r])&&(t=fe(e))&&(o&&(o+=" "),o+=t);return o}var Q="-";function Ze(e){let t=et(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;function n(a){let l=a.split(Q);return l[0]===""&&l.length!==1&&l.shift(),ye(l,t)||Qe(a)}function s(a,l){let p=r[a]||[];return l&&o[a]?[...p,...o[a]]:p}return{getClassGroupId:n,getConflictingClassGroupIds:s}}function ye(e,t){var a;if(e.length===0)return t.classGroupId;let r=e[0],o=t.nextPart.get(r),n=o?ye(e.slice(1),o):void 0;if(n)return n;if(t.validators.length===0)return;let s=e.join(Q);return(a=t.validators.find(({validator:l})=>l(s)))==null?void 0:a.classGroupId}var ge=/^\[(.+)\]$/;function Qe(e){if(ge.test(e)){let t=ge.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}}function et(e){let{theme:t,prefix:r}=e,o={nextPart:new Map,validators:[]};return rt(Object.entries(e.classGroups),r).forEach(([s,a])=>{Z(a,o,s,t)}),o}function Z(e,t,r,o){e.forEach(n=>{if(typeof n=="string"){let s=n===""?t:be(t,n);s.classGroupId=r;return}if(typeof n=="function"){if(tt(n)){Z(n(o),t,r,o);return}t.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([s,a])=>{Z(a,be(t,s),r,o)})})}function be(e,t){let r=e;return t.split(Q).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r}function tt(e){return e.isThemeGetter}function rt(e,t){return t?e.map(([r,o])=>{let n=o.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([a,l])=>[t+a,l])):s);return[r,n]}):e}function ot(e){if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,o=new Map;function n(s,a){r.set(s,a),t++,t>e&&(t=0,o=r,r=new Map)}return{get(s){let a=r.get(s);if(a!==void 0)return a;if((a=o.get(s))!==void 0)return n(s,a),a},set(s,a){r.has(s)?r.set(s,a):n(s,a)}}}var xe="!";function st(e){let t=e.separator,r=t.length===1,o=t[0],n=t.length;return function(a){let l=[],p=0,m=0,u;for(let f=0;f<a.length;f++){let g=a[f];if(p===0){if(g===o&&(r||a.slice(f,f+n)===t)){l.push(a.slice(m,f)),m=f+n;continue}if(g==="/"){u=f;continue}}g==="["?p++:g==="]"&&p--}let h=l.length===0?a:a.substring(m),b=h.startsWith(xe),v=b?h.substring(1):h,k=u&&u>m?u-m:void 0;return{modifiers:l,hasImportantModifier:b,baseClassName:v,maybePostfixModifierPosition:k}}}function at(e){if(e.length<=1)return e;let t=[],r=[];return e.forEach(o=>{o[0]==="["?(t.push(...r.sort(),o),r=[]):r.push(o)}),t.push(...r.sort()),t}function nt(e){return{cache:ot(e.cacheSize),splitModifiers:st(e),...Ze(e)}}var it=/\s+/;function lt(e,t){let{splitModifiers:r,getClassGroupId:o,getConflictingClassGroupIds:n}=t,s=new Set;return e.trim().split(it).map(a=>{let{modifiers:l,hasImportantModifier:p,baseClassName:m,maybePostfixModifierPosition:u}=r(a),h=o(u?m.substring(0,u):m),b=Boolean(u);if(!h){if(!u)return{isTailwindClass:!1,originalClassName:a};if(h=o(m),!h)return{isTailwindClass:!1,originalClassName:a};b=!1}let v=at(l).join(":"),k=p?v+xe:v;return{isTailwindClass:!0,modifierId:k,classGroupId:h,originalClassName:a,hasPostfixModifier:b}}).reverse().filter(a=>{if(!a.isTailwindClass)return!0;let{modifierId:l,classGroupId:p,hasPostfixModifier:m}=a,u=l+p;return s.has(u)?!1:(s.add(u),n(p,m).forEach(h=>s.add(l+h)),!0)}).reverse().map(a=>a.originalClassName).join(" ")}function ct(){let e=0,t,r,o="";for(;e<arguments.length;)(t=arguments[e++])&&(r=ve(t))&&(o&&(o+=" "),o+=r);return o}function ve(e){if(typeof e=="string")return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=ve(e[o]))&&(r&&(r+=" "),r+=t);return r}function dt(e,...t){let r,o,n,s=a;function a(p){let m=t.reduce((u,h)=>h(u),e());return r=nt(m),o=r.cache.get,n=r.cache.set,s=l,l(p)}function l(p){let m=o(p);if(m)return m;let u=lt(p,r);return n(p,u),u}return function(){return s(ct.apply(null,arguments))}}function c(e){let t=r=>r[e]||[];return t.isThemeGetter=!0,t}var we=/^\[(?:([a-z-]+):)?(.+)\]$/i,pt=/^\d+\/\d+$/,ut=new Set(["px","full","screen"]),mt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ft=/\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$/,ht=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,gt=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,bt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function x(e){return _(e)||ut.has(e)||pt.test(e)}function A(e){return T(e,"length",Pt)}function _(e){return Boolean(e)&&!Number.isNaN(Number(e))}function F(e){return T(e,"number",_)}function R(e){return Boolean(e)&&Number.isInteger(Number(e))}function yt(e){return e.endsWith("%")&&_(e.slice(0,-1))}function i(e){return we.test(e)}function E(e){return mt.test(e)}var xt=new Set(["length","size","percentage"]);function vt(e){return T(e,xt,Ae)}function wt(e){return T(e,"position",Ae)}var At=new Set(["image","url"]);function Et(e){return T(e,At,_t)}function kt(e){return T(e,"",St)}function U(){return!0}function T(e,t,r){let o=we.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):r(o[2]):!1}function Pt(e){return ft.test(e)&&!ht.test(e)}function Ae(){return!1}function St(e){return gt.test(e)}function _t(e){return bt.test(e)}function It(){let e=c("colors"),t=c("spacing"),r=c("blur"),o=c("brightness"),n=c("borderColor"),s=c("borderRadius"),a=c("borderSpacing"),l=c("borderWidth"),p=c("contrast"),m=c("grayscale"),u=c("hueRotate"),h=c("invert"),b=c("gap"),v=c("gradientColorStops"),k=c("gradientColorStopPositions"),f=c("inset"),g=c("margin"),w=c("opacity"),y=c("padding"),te=c("saturate"),q=c("scale"),re=c("sepia"),oe=c("skew"),se=c("space"),ae=c("translate"),W=()=>["auto","contain","none"],K=()=>["auto","hidden","clip","visible","scroll"],H=()=>["auto",i,t],d=()=>[i,t],ne=()=>["",x,A],B=()=>["auto",_,i],ie=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],V=()=>["solid","dashed","dotted","double","none"],le=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"],Y=()=>["start","end","center","between","around","evenly","stretch"],N=()=>["","0",i],ce=()=>["auto","avoid","all","avoid-page","page","left","right","column"],z=()=>[_,F],G=()=>[_,i];return{cacheSize:500,separator:":",theme:{colors:[U],spacing:[x,A],blur:["none","",E,i],brightness:z(),borderColor:[e],borderRadius:["none","","full",E,i],borderSpacing:d(),borderWidth:ne(),contrast:z(),grayscale:N(),hueRotate:G(),invert:N(),gap:d(),gradientColorStops:[e],gradientColorStopPositions:[yt,A],inset:H(),margin:H(),opacity:z(),padding:d(),saturate:z(),scale:z(),sepia:N(),skew:G(),space:d(),translate:d()},classGroups:{aspect:[{aspect:["auto","square","video",i]}],container:["container"],columns:[{columns:[E]}],"break-after":[{"break-after":ce()}],"break-before":[{"break-before":ce()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],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"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...ie(),i]}],overflow:[{overflow:K()}],"overflow-x":[{"overflow-x":K()}],"overflow-y":[{"overflow-y":K()}],overscroll:[{overscroll:W()}],"overscroll-x":[{"overscroll-x":W()}],"overscroll-y":[{"overscroll-y":W()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[f]}],"inset-x":[{"inset-x":[f]}],"inset-y":[{"inset-y":[f]}],start:[{start:[f]}],end:[{end:[f]}],top:[{top:[f]}],right:[{right:[f]}],bottom:[{bottom:[f]}],left:[{left:[f]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",R,i]}],basis:[{basis:H()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",i]}],grow:[{grow:N()}],shrink:[{shrink:N()}],order:[{order:["first","last","none",R,i]}],"grid-cols":[{"grid-cols":[U]}],"col-start-end":[{col:["auto",{span:["full",R,i]},i]}],"col-start":[{"col-start":B()}],"col-end":[{"col-end":B()}],"grid-rows":[{"grid-rows":[U]}],"row-start-end":[{row:["auto",{span:[R,i]},i]}],"row-start":[{"row-start":B()}],"row-end":[{"row-end":B()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",i]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",i]}],gap:[{gap:[b]}],"gap-x":[{"gap-x":[b]}],"gap-y":[{"gap-y":[b]}],"justify-content":[{justify:["normal",...Y()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Y(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Y(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[y]}],px:[{px:[y]}],py:[{py:[y]}],ps:[{ps:[y]}],pe:[{pe:[y]}],pt:[{pt:[y]}],pr:[{pr:[y]}],pb:[{pb:[y]}],pl:[{pl:[y]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[se]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[se]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",i,t]}],"min-w":[{"min-w":[i,t,"min","max","fit"]}],"max-w":[{"max-w":[i,t,"none","full","min","max","fit","prose",{screen:[E]},E]}],h:[{h:[i,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[i,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[i,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[i,t,"auto","min","max","fit"]}],"font-size":[{text:["base",E,A]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",F]}],"font-family":[{font:[U]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",i]}],"line-clamp":[{"line-clamp":["none",_,F]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",x,i]}],"list-image":[{"list-image":["none",i]}],"list-style-type":[{list:["none","disc","decimal",i]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[w]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[w]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...V(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",x,A]}],"underline-offset":[{"underline-offset":["auto",x,i]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:d()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",i]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",i]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[w]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ie(),wt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",vt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Et]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[k]}],"gradient-via-pos":[{via:[k]}],"gradient-to-pos":[{to:[k]}],"gradient-from":[{from:[v]}],"gradient-via":[{via:[v]}],"gradient-to":[{to:[v]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[w]}],"border-style":[{border:[...V(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[w]}],"divide-style":[{divide:V()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...V()]}],"outline-offset":[{"outline-offset":[x,i]}],"outline-w":[{outline:[x,A]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:ne()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[w]}],"ring-offset-w":[{"ring-offset":[x,A]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",E,kt]}],"shadow-color":[{shadow:[U]}],opacity:[{opacity:[w]}],"mix-blend":[{"mix-blend":le()}],"bg-blend":[{"bg-blend":le()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[p]}],"drop-shadow":[{"drop-shadow":["","none",E,i]}],grayscale:[{grayscale:[m]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[h]}],saturate:[{saturate:[te]}],sepia:[{sepia:[re]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[p]}],"backdrop-grayscale":[{"backdrop-grayscale":[m]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[h]}],"backdrop-opacity":[{"backdrop-opacity":[w]}],"backdrop-saturate":[{"backdrop-saturate":[te]}],"backdrop-sepia":[{"backdrop-sepia":[re]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",i]}],duration:[{duration:G()}],ease:[{ease:["linear","in","out","in-out",i]}],delay:[{delay:G()}],animate:[{animate:["none","spin","ping","pulse","bounce",i]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[q]}],"scale-x":[{"scale-x":[q]}],"scale-y":[{"scale-y":[q]}],rotate:[{rotate:[R,i]}],"translate-x":[{"translate-x":[ae]}],"translate-y":[{"translate-y":[ae]}],"skew-x":[{"skew-x":[oe]}],"skew-y":[{"skew-y":[oe]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",i]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{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",i]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":d()}],"scroll-mx":[{"scroll-mx":d()}],"scroll-my":[{"scroll-my":d()}],"scroll-ms":[{"scroll-ms":d()}],"scroll-me":[{"scroll-me":d()}],"scroll-mt":[{"scroll-mt":d()}],"scroll-mr":[{"scroll-mr":d()}],"scroll-mb":[{"scroll-mb":d()}],"scroll-ml":[{"scroll-ml":d()}],"scroll-p":[{"scroll-p":d()}],"scroll-px":[{"scroll-px":d()}],"scroll-py":[{"scroll-py":d()}],"scroll-ps":[{"scroll-ps":d()}],"scroll-pe":[{"scroll-pe":d()}],"scroll-pt":[{"scroll-pt":d()}],"scroll-pr":[{"scroll-pr":d()}],"scroll-pb":[{"scroll-pb":d()}],"scroll-pl":[{"scroll-pl":d()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",i]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[x,A,F]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],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"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}var Ee=dt(It);function Ot(...e){return Ee(he(e))}export{M as a,Se as b,Le as c,Ve as d,Xe as e,Ot as f,Ct as g,D as h,ee as i};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{e as D}from"./chunk-NJODFR67.mjs";import{a as S}from"./chunk-4FIKBXJ3.mjs";import{b as L}from"./chunk-3MGZP5EP.mjs";import{h as p}from"./chunk-YV33XVHD.mjs";import{Command as n,useCommandState as T}from"cmdk";import{Check as O,ChevronDown as x,Search as w,X as N}from"lucide-react";import{useEffect as E,useRef as j,useState as M}from"react";import{Drawer as d}from"vaul";import{Fragment as z,jsx as a,jsxs as t}from"react/jsx-runtime";function U({items:b,selectedItem:r,setSelectedItem:c,className:y,disabled:R,adjustForMobile:P,icon:h,inputAttrs:f,noItemsElement:m}){let u=j(null),[s,e]=M(!1),[i,g]=M((r==null?void 0:r.value)||"");E(()=>{let o=l=>{u.current&&!u.current.contains(l.target)&&e(!1)};if(s)return document.addEventListener("click",o),()=>document.removeEventListener("click",o)},[u,s]),E(()=>{r!=null&&r.value||g("")},[r==null?void 0:r.value]);let{isMobile:C}=D(),v=()=>{let o=T(l=>l.filtered.count===0);return a(z,{children:a(n.Input,{placeholder:(f==null?void 0:f.placeholder)||"Search...",autoFocus:s&&!C,onFocusCapture:()=>e(!0),onFocus:()=>e(!0),value:i,onValueChange:g,onKeyDown:l=>{l.key==="Escape"?(l.preventDefault(),e(!1)):l.key==="Enter"&&o?e(!1):l.key.match(/^[a-z0-9]$/i)&&!l.metaKey&&e(!0)},disabled:R,className:"block w-full truncate rounded-md border-none px-0 text-base text-gray-900 placeholder-gray-400 outline-none outline-0 transition-all duration-300 focus:ring-0 md:text-sm"})})},k=()=>b.map(o=>t(n.Item,{value:o.value,disabled:o.disabled,onSelect:()=>{c(o),g(o.value),e(!1)},className:"group flex cursor-pointer items-center justify-between rounded-md px-4 py-2 text-sm text-gray-900 hover:bg-gray-100 hover:text-gray-900 active:bg-gray-200 aria-disabled:cursor-not-allowed aria-disabled:opacity-75 aria-disabled:hover:bg-white aria-selected:bg-gray-100 aria-selected:text-gray-900",children:[t("div",{className:"flex items-center space-x-2",children:[o.image&&a(S,{src:o.image,alt:o.value,className:"h-4 w-4 rounded-full",width:16,height:16}),a("p",{className:p("whitespace-nowrap py-0.5 text-sm",o.color&&"rounded-md px-2",o.color==="red"&&"bg-red-100 text-red-600",o.color==="yellow"&&"bg-yellow-100 text-yellow-600",o.color==="green"&&"bg-green-100 text-green-600",o.color==="blue"&&"bg-blue-100 text-blue-600",o.color==="purple"&&"bg-purple-100 text-purple-600",o.color==="brown"&&"bg-brown-100 text-brown-600"),children:o.value}),o.label&&a(L,{className:"text-xs",variant:"neutral",children:o.label})]}),a(O,{className:"invisible h-5 w-5 text-gray-500 aria-selected:visible"})]},o.id));return C&&P?t(d.Root,{open:s,onOpenChange:e,children:[a(d.Trigger,{className:"sm:hidden",asChild:!0,children:a(n,{ref:u,className:"relative",loop:!0,children:t("div",{className:p("group relative rounded-md border border-gray-300 bg-white px-1 focus-within:border-gray-500 focus-within:ring-1 focus-within:ring-gray-500 md:min-w-[140px]",y),children:[a("div",{className:"absolute inset-y-0 left-0 flex items-center justify-center pl-3 text-gray-400",children:r&&r.image?a("img",{src:r.image,alt:r.value,className:"h-4 w-4 rounded-full"}):h||a(w,{className:"h-4 w-4 text-gray-400"})}),t("div",{className:"flex h-10 px-8",children:[a(v,{}),i||(r==null?void 0:r.value)!==""?a("button",{onClick:o=>{o.preventDefault(),c(null),g("")},className:"absolute inset-y-0 right-0 my-auto",children:a(N,{className:"h-7 w-7 pr-3 text-gray-400"})}):a(x,{className:"absolute inset-y-0 right-0 my-auto h-7 w-7 pr-3 text-gray-400 transition-all"})]})]})})}),a(d.Overlay,{className:"fixed inset-0 z-40 bg-gray-100 bg-opacity-10 backdrop-blur"}),t(d.Portal,{children:[a(d.Content,{className:"fixed bottom-0 left-0 right-0 z-50 mt-24 rounded-t-lg border-t border-gray-200 bg-white",children:t(n,{ref:u,className:"relative",loop:!0,children:[t("div",{className:p("group relative mb-2 rounded-t-md border-b border-gray-300 bg-white p-1 sm:border sm:py-0 sm:focus-within:border-gray-500 sm:focus-within:ring-1 sm:focus-within:ring-gray-200",y),children:[a("div",{className:"absolute inset-y-0 left-0 flex items-center justify-center pl-3 text-gray-400",children:r&&r.image?a("img",{src:r.image,alt:r.value,className:"h-4 w-4 rounded-full"}):h||a(w,{className:"h-4 w-4 text-gray-400"})}),t("div",{className:"flex h-10 px-8",children:[a(v,{}),i&&(r==null?void 0:r.value)!==""?a("button",{onClick:()=>{c(null),g("")},className:"absolute inset-y-0 right-0 my-auto",children:a(N,{className:"h-7 w-7 pr-3 text-gray-400"})}):a(x,{className:"absolute inset-y-0 right-0 my-auto h-7 w-7 rotate-180 pl-3 text-gray-400 transition-all"})]})]}),s&&t(n.List,{className:"dub-scrollbar h-[70vh] overflow-y-auto p-2",children:[b.length===0&&i===""&&(m?a("div",{children:m}):a("p",{className:"px-4 py-2 text-sm text-gray-600",children:"No items found."})),i!==""&&a(n.Empty,{className:"px-4 py-2 text-sm text-gray-600",children:"No results found."}),a(k,{})]})]})}),a(d.Overlay,{})]})]}):t(n,{ref:u,className:"relative",loop:!0,children:[t("div",{className:p("group rounded-md border border-gray-200 bg-white px-1 transition-all focus-within:border-gray-500 focus-within:ring-4 focus-within:ring-gray-200",y),children:[a("div",{onClick:()=>e(o=>!o),className:"absolute inset-y-0 left-0 flex cursor-pointer items-center justify-center pl-3 text-gray-400",children:r&&r.image?a("img",{src:r.image,alt:r.value,className:"h-4 w-4 rounded-full"}):h||a(w,{className:"h-4 w-4 text-gray-400"})}),t("div",{className:"flex h-10 px-8",children:[a(v,{}),i&&(r==null?void 0:r.value)!==""?a("button",{onClick:()=>{c(null),g("")},className:"absolute inset-y-0 right-0 my-auto",children:a(N,{className:"h-7 w-7 pr-3 text-gray-400"})}):a(x,{onClick:()=>e(o=>!o),className:`absolute inset-y-0 right-0 my-auto mr-3 h-4 w-4 cursor-pointer text-gray-400 transition-all ${s&&"rotate-180"}`})]})]}),s&&t(n.List,{className:"dub-scrollbar absolute z-20 mt-2 h-[calc(var(--cmdk-list-height)+17px)] max-h-[300px] w-full min-w-[160px] overflow-auto rounded-md border border-gray-200 bg-white p-2 shadow-md transition-all duration-75",children:[b.length===0&&i===""&&(m?a("div",{children:m}):a("p",{className:"px-4 py-2 text-sm text-gray-600",children:"No items found."})),i!==""&&a(n.Empty,{className:"px-4 py-2 text-sm text-gray-600",children:"No results found."}),a(k,{})]})]})}export{U as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{e as L}from"./chunk-JNE7PBQJ.mjs";import{a as S}from"./chunk-7BRBQTLF.mjs";import{b as k}from"./chunk-DYFGNOHN.mjs";import{f as g}from"./chunk-CJTBJCEN.mjs";import{Command as i,useCommandState as T}from"cmdk";import{Check as O,ChevronDown as x,Search as w,X as j}from"lucide-react";import{memo as z,useEffect as D,useRef as B,useState as E}from"react";import{Drawer as d}from"vaul";import{jsx as a,jsxs as e}from"react/jsx-runtime";function W({items:m,selectedItem:r,setSelectedItem:N,className:b,disabled:M,adjustForMobile:R,icon:y,inputAttrs:f,noItemsElement:p}){let u=B(null),[s,t]=E(!1),[n,c]=E((r==null?void 0:r.value)||"");D(()=>{let o=l=>{u.current&&!u.current.contains(l.target)&&t(!1)};if(s)return document.addEventListener("click",o),()=>document.removeEventListener("click",o)},[u,s]),D(()=>{r!=null&&r.value||c("")},[r==null?void 0:r.value]);let{isMobile:P}=L(),h=z(()=>{let o=T(l=>l.filtered.count===0);return a(i.Input,{placeholder:(f==null?void 0:f.placeholder)||"Search...",autoFocus:s,onFocus:()=>t(!0),value:n,onValueChange:c,onKeyDown:l=>{l.key==="Escape"?(l.preventDefault(),t(!1)):l.key==="Enter"&&o?t(!1):l.key.match(/^[a-z0-9]$/i)&&!l.metaKey&&t(!0)},disabled:M,className:"block w-full truncate rounded-md border-none px-0 text-base text-gray-900 placeholder-gray-400 outline-none outline-0 transition-all duration-300 focus:ring-0 md:text-sm"})}),v=()=>a("button",{onClick:()=>{N(null),c("")},className:"absolute inset-y-0 right-0 my-auto",children:a(j,{className:"h-7 w-7 pr-3 text-gray-400"})}),C=()=>m.map(o=>e(i.Item,{value:o.value,disabled:o.disabled,onSelect:()=>{N(o),c(o.value),t(!1)},className:"group flex cursor-pointer items-center justify-between rounded-md px-4 py-2 text-sm text-gray-900 hover:bg-gray-100 hover:text-gray-900 active:bg-gray-200 aria-disabled:cursor-not-allowed aria-disabled:opacity-75 aria-disabled:hover:bg-white aria-selected:bg-gray-100 aria-selected:text-gray-900",children:[e("div",{className:"flex items-center space-x-2",children:[o.image&&a(S,{src:o.image,alt:o.value,className:"h-4 w-4 rounded-full",width:16,height:16}),a("p",{className:g("whitespace-nowrap py-0.5 text-sm",o.color&&"rounded-md px-2",o.color==="red"&&"bg-red-100 text-red-600",o.color==="yellow"&&"bg-yellow-100 text-yellow-600",o.color==="green"&&"bg-green-100 text-green-600",o.color==="blue"&&"bg-blue-100 text-blue-600",o.color==="purple"&&"bg-purple-100 text-purple-600",o.color==="brown"&&"bg-brown-100 text-brown-600"),children:o.value}),o.label&&a(k,{className:"text-xs",variant:"neutral",children:o.label})]}),a(O,{className:"invisible h-5 w-5 text-gray-500 aria-selected:visible"})]},o.id));return P&&R?e(d.Root,{open:s,onOpenChange:t,children:[a(d.Trigger,{className:"sm:hidden",asChild:!0,children:a(i,{ref:u,className:"relative",loop:!0,children:e("div",{className:g("group relative rounded-md border border-gray-300 bg-white px-1 focus-within:border-gray-500 focus-within:ring-1 focus-within:ring-gray-500 md:min-w-[140px]",b),children:[a("div",{className:"absolute inset-y-0 left-0 flex items-center justify-center pl-3 text-gray-400",children:r&&r.image?a("img",{src:r.image,alt:r.value,className:"h-4 w-4 rounded-full"}):y||a(w,{className:"h-4 w-4 text-gray-400"})}),e("div",{className:"flex h-10 px-8",children:[a(h,{}),n||(r==null?void 0:r.value)!==""?a(v,{}):a(x,{className:"absolute inset-y-0 right-0 my-auto h-7 w-7 pr-3 text-gray-400 transition-all"})]})]})})}),a(d.Overlay,{className:"fixed inset-0 z-40 bg-gray-100 bg-opacity-10 backdrop-blur"}),e(d.Portal,{children:[a(d.Content,{className:"fixed bottom-0 left-0 right-0 z-50 mt-24 rounded-t-lg border-t border-gray-200 bg-white",children:e(i,{ref:u,className:"relative",loop:!0,children:[e("div",{className:g("group relative mb-2 rounded-t-md border-b border-gray-300 bg-white p-1 sm:border sm:py-0 sm:focus-within:border-gray-500 sm:focus-within:ring-1 sm:focus-within:ring-gray-200",b),children:[a("div",{className:"absolute inset-y-0 left-0 flex items-center justify-center pl-3 text-gray-400",children:r&&r.image?a("img",{src:r.image,alt:r.value,className:"h-4 w-4 rounded-full"}):y||a(w,{className:"h-4 w-4 text-gray-400"})}),e("div",{className:"flex h-10 px-8",children:[a(h,{}),n||(r==null?void 0:r.value)!==""?a(v,{}):a(x,{className:"absolute inset-y-0 right-0 my-auto h-7 w-7 rotate-180 pl-3 text-gray-400 transition-all"})]})]}),s&&e(i.List,{className:"dub-scrollbar h-[70vh] overflow-y-auto p-2",children:[m.length===0&&n===""&&(p?a("div",{children:p}):a("p",{className:"px-4 py-2 text-sm text-gray-600",children:"No items found."})),n!==""&&a(i.Empty,{className:"px-4 py-2 text-sm text-gray-600",children:"No results found."}),a(C,{})]})]})}),a(d.Overlay,{})]})]}):e(i,{ref:u,className:"relative",loop:!0,children:[e("div",{className:g("group rounded-md border border-gray-200 bg-white px-1 transition-all focus-within:border-gray-500 focus-within:ring-4 focus-within:ring-gray-200",b),children:[a("div",{onClick:()=>t(o=>!o),className:"absolute inset-y-0 left-0 flex cursor-pointer items-center justify-center pl-3 text-gray-400",children:r&&r.image?a("img",{src:r.image,alt:r.value,className:"h-4 w-4 rounded-full"}):y||a(w,{className:"h-4 w-4 text-gray-400"})}),e("div",{className:"flex h-10 px-8",children:[a(h,{}),n||(r==null?void 0:r.value)!==""?a(v,{}):a(x,{onClick:()=>t(o=>!o),className:`absolute inset-y-0 right-0 my-auto mr-3 h-4 w-4 cursor-pointer text-gray-400 transition-all ${s&&"rotate-180"}`})]})]}),s&&e(i.List,{className:"dub-scrollbar absolute z-20 mt-2 h-[calc(var(--cmdk-list-height)+17px)] max-h-[300px] w-full min-w-[160px] overflow-auto rounded-md border border-gray-200 bg-white p-2 shadow-md transition-all duration-75",children:[m.length===0&&n===""&&(p?a("div",{children:p}):a("p",{className:"px-4 py-2 text-sm text-gray-600",children:"No items found."})),n!==""&&a(i.Empty,{className:"px-4 py-2 text-sm text-gray-600",children:"No results found."}),a(C,{})]})]})}export{W as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{e as f}from"./chunk-MQP6NPNK.mjs";import{g as i}from"./chunk-5XABV2G2.mjs";import*as o from"@radix-ui/react-dialog";import{useRouter as D}from"next/navigation";import{Drawer as a}from"vaul";import{jsx as t,jsxs as n}from"react/jsx-runtime";function x({children:l,className:d,showModal:s,setShowModal:r,onClose:c,desktopOnly:g,preventDefaultClose:u}){let p=D(),m=({dragged:e}={})=>{u&&!e||(c&&c(),r?r(!1):p.back())},{isMobile:b}=f();return b&&!g?n(a.Root,{open:r?s:!0,onOpenChange:e=>{e||m({dragged:!0})},children:[t(a.Overlay,{className:"fixed inset-0 z-40 bg-gray-100 bg-opacity-10 backdrop-blur"}),n(a.Portal,{children:[n(a.Content,{className:i("fixed bottom-0 left-0 right-0 z-50 mt-24 rounded-t-[10px] border-t border-gray-200 bg-white",d),children:[t("div",{className:"sticky top-0 z-20 flex w-full items-center justify-center rounded-t-[10px] bg-inherit",children:t("div",{className:"my-3 h-1 w-12 rounded-full bg-gray-300"})}),l]}),t(a.Overlay,{})]})]}):t(o.Root,{open:r?s:!0,onOpenChange:e=>{e||m()},children:n(o.Portal,{children:[t(o.Overlay,{id:"modal-backdrop",className:"animate-fade-in fixed inset-0 z-40 bg-gray-100 bg-opacity-50 backdrop-blur-md"}),t(o.Content,{onOpenAutoFocus:e=>e.preventDefault(),onCloseAutoFocus:e=>e.preventDefault(),className:i("animate-scale-in fixed inset-0 z-40 m-auto max-h-fit w-full max-w-md overflow-hidden border border-gray-200 bg-white p-0 shadow-xl sm:rounded-2xl",d),children:l})]})})}export{x as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as s}from"./chunk-CJTBJCEN.mjs";import{Slot as g}from"@radix-ui/react-slot";import w,{useEffect as y,useState as R}from"react";import{jsx as V}from"react/jsx-runtime";var F=w.forwardRef(({asChild:m,className:u,children:e,duration:t=250,as:c="span",...i},p)=>{let[n,l]=R(Number(e));return y(()=>{if(isNaN(Number(e))){console.warn("CountingNumbers expects a numeric value as children.");return}let f=Number(e),o=n,N=f,d=performance.now(),r=()=>{let b=performance.now(),a=Math.min((b-d)/t,1),C=o+(N-o)*a;l(Math.round(C)),a<1&&requestAnimationFrame(r)};requestAnimationFrame(r)},[e,t]),V(m?g:c,{ref:p,className:u,...i,children:s(n)})});F.displayName="CountingNumbers";export{F as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{e as D}from"./chunk-NJODFR67.mjs";import{a as S}from"./chunk-4FIKBXJ3.mjs";import{b as L}from"./chunk-3MGZP5EP.mjs";import{h as p}from"./chunk-YV33XVHD.mjs";import{Command as n,useCommandState as T}from"cmdk";import{Check as O,ChevronDown as x,Search as w,X as N}from"lucide-react";import{useEffect as E,useRef as j,useState as M}from"react";import{Drawer as d}from"vaul";import{Fragment as z,jsx as a,jsxs as t}from"react/jsx-runtime";function U({items:b,selectedItem:r,setSelectedItem:c,className:y,disabled:R,adjustForMobile:P,icon:h,inputAttrs:f,noItemsElement:m}){let u=j(null),[s,e]=M(!1),[i,g]=M((r==null?void 0:r.value)||"");E(()=>{let o=l=>{u.current&&!u.current.contains(l.target)&&e(!1)};if(s)return document.addEventListener("click",o),()=>document.removeEventListener("click",o)},[u,s]),E(()=>{r!=null&&r.value||g("")},[r==null?void 0:r.value]);let{isMobile:C}=D(),v=()=>{let o=T(l=>l.filtered.count===0);return a(z,{children:a(n.Input,{placeholder:(f==null?void 0:f.placeholder)||"Search...",autoFocus:s&&!C,onFocus:()=>e(!0),value:i,onValueChange:g,onKeyDown:l=>{l.key==="Escape"?(l.preventDefault(),e(!1)):l.key==="Enter"&&o?e(!1):l.key.match(/^[a-z0-9]$/i)&&!l.metaKey&&e(!0)},disabled:R,className:"block w-full truncate rounded-md border-none px-0 text-base text-gray-900 placeholder-gray-400 outline-none outline-0 transition-all duration-300 focus:ring-0 md:text-sm"})})},k=()=>b.map(o=>t(n.Item,{value:o.value,disabled:o.disabled,onSelect:()=>{c(o),g(o.value),e(!1)},className:"group flex cursor-pointer items-center justify-between rounded-md px-4 py-2 text-sm text-gray-900 hover:bg-gray-100 hover:text-gray-900 active:bg-gray-200 aria-disabled:cursor-not-allowed aria-disabled:opacity-75 aria-disabled:hover:bg-white aria-selected:bg-gray-100 aria-selected:text-gray-900",children:[t("div",{className:"flex items-center space-x-2",children:[o.image&&a(S,{src:o.image,alt:o.value,className:"h-4 w-4 rounded-full",width:16,height:16}),a("p",{className:p("whitespace-nowrap py-0.5 text-sm",o.color&&"rounded-md px-2",o.color==="red"&&"bg-red-100 text-red-600",o.color==="yellow"&&"bg-yellow-100 text-yellow-600",o.color==="green"&&"bg-green-100 text-green-600",o.color==="blue"&&"bg-blue-100 text-blue-600",o.color==="purple"&&"bg-purple-100 text-purple-600",o.color==="brown"&&"bg-brown-100 text-brown-600"),children:o.value}),o.label&&a(L,{className:"text-xs",variant:"neutral",children:o.label})]}),a(O,{className:"invisible h-5 w-5 text-gray-500 aria-selected:visible"})]},o.id));return C&&P?t(d.Root,{open:s,onOpenChange:e,children:[a(d.Trigger,{className:"sm:hidden",asChild:!0,children:a(n,{ref:u,className:"relative",loop:!0,children:t("div",{className:p("group relative rounded-md border border-gray-300 bg-white px-1 focus-within:border-gray-500 focus-within:ring-1 focus-within:ring-gray-500 md:min-w-[140px]",y),children:[a("div",{className:"absolute inset-y-0 left-0 flex items-center justify-center pl-3 text-gray-400",children:r&&r.image?a("img",{src:r.image,alt:r.value,className:"h-4 w-4 rounded-full"}):h||a(w,{className:"h-4 w-4 text-gray-400"})}),t("div",{className:"flex h-10 px-8",children:[a(v,{}),i&&(r==null?void 0:r.value)!==""?a("button",{onClick:o=>{o.preventDefault(),c(null),g("")},className:"absolute inset-y-0 right-0 my-auto",children:a(N,{className:"h-7 w-7 pr-3 text-gray-400"})}):a(x,{className:"absolute inset-y-0 right-0 my-auto h-7 w-7 pr-3 text-gray-400 transition-all"})]})]})})}),a(d.Overlay,{className:"fixed inset-0 z-40 bg-gray-100 bg-opacity-10 backdrop-blur"}),t(d.Portal,{children:[a(d.Content,{className:"fixed bottom-0 left-0 right-0 z-50 mt-24 rounded-t-lg border-t border-gray-200 bg-white",children:t(n,{ref:u,className:"relative",loop:!0,children:[t("div",{className:p("group relative mb-2 rounded-t-md border-b border-gray-300 bg-white p-1 sm:border sm:py-0 sm:focus-within:border-gray-500 sm:focus-within:ring-1 sm:focus-within:ring-gray-200",y),children:[a("div",{className:"absolute inset-y-0 left-0 flex items-center justify-center pl-3 text-gray-400",children:r&&r.image?a("img",{src:r.image,alt:r.value,className:"h-4 w-4 rounded-full"}):h||a(w,{className:"h-4 w-4 text-gray-400"})}),t("div",{className:"flex h-10 px-8",children:[a(v,{}),i&&(r==null?void 0:r.value)!==""?a("button",{onClick:()=>{c(null),g("")},className:"absolute inset-y-0 right-0 my-auto",children:a(N,{className:"h-7 w-7 pr-3 text-gray-400"})}):a(x,{className:"absolute inset-y-0 right-0 my-auto h-7 w-7 rotate-180 pl-3 text-gray-400 transition-all"})]})]}),s&&t(n.List,{className:"dub-scrollbar h-[70vh] overflow-y-auto p-2",children:[b.length===0&&i===""&&(m?a("div",{children:m}):a("p",{className:"px-4 py-2 text-sm text-gray-600",children:"No items found."})),i!==""&&a(n.Empty,{className:"px-4 py-2 text-sm text-gray-600",children:"No results found."}),a(k,{})]})]})}),a(d.Overlay,{})]})]}):t(n,{ref:u,className:"relative",loop:!0,children:[t("div",{className:p("group rounded-md border border-gray-200 bg-white px-1 transition-all focus-within:border-gray-500 focus-within:ring-4 focus-within:ring-gray-200",y),children:[a("div",{onClick:()=>e(o=>!o),className:"absolute inset-y-0 left-0 flex cursor-pointer items-center justify-center pl-3 text-gray-400",children:r&&r.image?a("img",{src:r.image,alt:r.value,className:"h-4 w-4 rounded-full"}):h||a(w,{className:"h-4 w-4 text-gray-400"})}),t("div",{className:"flex h-10 px-8",children:[a(v,{}),i&&(r==null?void 0:r.value)!==""?a("button",{onClick:()=>{c(null),g("")},className:"absolute inset-y-0 right-0 my-auto",children:a(N,{className:"h-7 w-7 pr-3 text-gray-400"})}):a(x,{onClick:()=>e(o=>!o),className:`absolute inset-y-0 right-0 my-auto mr-3 h-4 w-4 cursor-pointer text-gray-400 transition-all ${s&&"rotate-180"}`})]})]}),s&&t(n.List,{className:"dub-scrollbar absolute z-20 mt-2 h-[calc(var(--cmdk-list-height)+17px)] max-h-[300px] w-full min-w-[160px] overflow-auto rounded-md border border-gray-200 bg-white p-2 shadow-md transition-all duration-75",children:[b.length===0&&i===""&&(m?a("div",{children:m}):a("p",{className:"px-4 py-2 text-sm text-gray-600",children:"No items found."})),i!==""&&a(n.Empty,{className:"px-4 py-2 text-sm text-gray-600",children:"No results found."}),a(k,{})]})]})}export{U as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{e as f}from"./chunk-QIOX7LWM.mjs";import{h as i}from"./chunk-GI3GN7Q7.mjs";import*as o from"@radix-ui/react-dialog";import{useRouter as D}from"next/navigation";import{Drawer as a}from"vaul";import{jsx as t,jsxs as n}from"react/jsx-runtime";function x({children:l,className:d,showModal:s,setShowModal:r,onClose:c,desktopOnly:g,preventDefaultClose:u}){let p=D(),m=({dragged:e}={})=>{u&&!e||(c&&c(),r?r(!1):p.back())},{isMobile:b}=f();return b&&!g?n(a.Root,{open:r?s:!0,onOpenChange:e=>{e||m({dragged:!0})},children:[t(a.Overlay,{className:"fixed inset-0 z-40 bg-gray-100 bg-opacity-10 backdrop-blur"}),n(a.Portal,{children:[n(a.Content,{className:i("fixed bottom-0 left-0 right-0 z-50 mt-24 rounded-t-[10px] border-t border-gray-200 bg-white",d),children:[t("div",{className:"sticky top-0 z-20 flex w-full items-center justify-center rounded-t-[10px] bg-inherit",children:t("div",{className:"my-3 h-1 w-12 rounded-full bg-gray-300"})}),l]}),t(a.Overlay,{})]})]}):t(o.Root,{open:r?s:!0,onOpenChange:e=>{e||m()},children:n(o.Portal,{children:[t(o.Overlay,{id:"modal-backdrop",className:"animate-fade-in fixed inset-0 z-40 bg-gray-100 bg-opacity-50 backdrop-blur-md"}),t(o.Content,{onOpenAutoFocus:e=>e.preventDefault(),onCloseAutoFocus:e=>e.preventDefault(),className:i("animate-scale-in fixed inset-0 z-40 m-auto max-h-fit w-full max-w-md overflow-hidden border border-gray-200 bg-white p-0 shadow-xl sm:rounded-2xl",d),children:l})]})})}export{x as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{g as i}from"./chunk-HH5T5KBM.mjs";import{jsx as e,jsxs as o}from"react/jsx-runtime";function t({className:l}){return o("svg",{width:"191",height:"191",viewBox:"0 0 191 191",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:(void 0)("h-10 w-10 text-black",l),children:[e("g",{clipPath:"url(#clip0_1301_107)",children:e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M122 -14H144 9.17859 129.788 5.96937 122 3.72462V-14ZM122 3.72462C113.586 1.29941 104.695 0 95.5 0C42.7568 0 0 42.7568 0 95.5C0 148.243 42.7568 191 95.5 191C148.243 191 191 148.243 191 95.5C191 60.462 172.131 29.8311 144 13.2146V100V148H122V140.897C114.258 146.018 104.977 149 95 149C67.938 149 46 127.062 46 100C46 72.938 67.938 51 95 51C104.977 51 114.258 53.982 122 59.1034V3.72462Z",fill:"currentColor",shapeRendering:"geometricPrecision"})}),e("defs",{children:e("clipPath",{id:"clip0_1301_107",children:e("rect",{width:"191",height:"191",rx:"95.5",fill:"white"})})})]})}export{t as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as r}from"./chunk-EHYVEIOL.mjs";import{a}from"./chunk-BKZ6TNZC.mjs";import{g as e}from"./chunk-5XABV2G2.mjs";import{useState as u}from"react";import{toast as m}from"sonner";import{jsx as o,jsxs as g}from"react/jsx-runtime";function y({value:s,className:i,icon:n}){let[l,t]=u(!1),c=n||a;return g("button",{onClick:p=>{p.stopPropagation(),t(!0),navigator.clipboard.writeText(s).then(()=>{m.success("Copied to clipboard!")}),setTimeout(()=>t(!1),3e3)},className:e("group rounded-full bg-gray-100 p-1.5 transition-all duration-75 hover:scale-105 hover:bg-blue-100 active:scale-95",i),children:[o("span",{className:"sr-only",children:"Copy"}),l?o(r,{className:"text-gray-700 transition-all group-hover:text-blue-800"}):o(c,{className:"text-gray-700 transition-all group-hover:text-blue-800"})]})}export{y as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{g as r}from"./chunk-5XABV2G2.mjs";import*as e from"@radix-ui/react-accordion";import{ChevronDown as m}from"lucide-react";import*as c from"react";import{jsx as n,jsxs as l}from"react/jsx-runtime";var v=e.Root,d=c.forwardRef(({className:o,...t},i)=>n(e.Item,{ref:i,className:r("border-b border-b-slate-200 py-3 last:border-none",o),...t}));d.displayName="AccordionItem";var s=c.forwardRef(({className:o,children:t,...i},a)=>n(e.Header,{className:"flex",children:l(e.Trigger,{ref:a,className:r("flex flex-1 items-center justify-between font-medium transition-all sm:text-lg [&[data-state=open]>svg]:rotate-180",o),...i,children:[t,n(m,{className:"h-5 w-5 flex-none transition-transform duration-300"})]})}));s.displayName=e.Trigger.displayName;var f=c.forwardRef(({className:o,children:t,...i},a)=>n(e.Content,{ref:a,className:r("data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm text-gray-500 transition-all sm:text-base",o),...i,children:t}));f.displayName=e.Content.displayName;export{v as a,d as b,s as c,f as d};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{g as l}from"./chunk-HH5T5KBM.mjs";import{jsx as t,jsxs as e}from"react/jsx-runtime";function o({className:a}){return e("div",{className:"group relative flex items-center",children:[t("svg",{className:(void 0)("absolute h-4 w-4 transition-all group-hover:translate-x-1 group-hover:opacity-0",a),xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16",width:"16",height:"16",children:t("path",{fillRule:"evenodd",d:"M6.22 3.22a.75.75 0 011.06 0l4.25 4.25a.75.75 0 010 1.06l-4.25 4.25a.75.75 0 01-1.06-1.06L9.94 8 6.22 4.28a.75.75 0 010-1.06z"})}),t("svg",{className:`${a||"h-4 w-4"} absolute opacity-0 transition-all group-hover:translate-x-1 group-hover:opacity-100`,xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16",width:"16",height:"16",children:t("path",{fillRule:"evenodd",d:"M8.22 2.97a.75.75 0 011.06 0l4.25 4.25a.75.75 0 010 1.06l-4.25 4.25a.75.75 0 01-1.06-1.06l2.97-2.97H3.75a.75.75 0 010-1.5h7.44L8.22 4.03a.75.75 0 010-1.06z"})})]})}export{o as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{h as l}from"./chunk-GI3GN7Q7.mjs";import{jsx as t,jsxs as e}from"react/jsx-runtime";function o({className:a}){return e("div",{className:"group relative flex items-center",children:[t("svg",{className:l("absolute h-4 w-4 transition-all group-hover:translate-x-1 group-hover:opacity-0",a),xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16",width:"16",height:"16",children:t("path",{fillRule:"evenodd",d:"M6.22 3.22a.75.75 0 011.06 0l4.25 4.25a.75.75 0 010 1.06l-4.25 4.25a.75.75 0 01-1.06-1.06L9.94 8 6.22 4.28a.75.75 0 010-1.06z"})}),t("svg",{className:`${a||"h-4 w-4"} absolute opacity-0 transition-all group-hover:translate-x-1 group-hover:opacity-100`,xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16",width:"16",height:"16",children:t("path",{fillRule:"evenodd",d:"M8.22 2.97a.75.75 0 011.06 0l4.25 4.25a.75.75 0 010 1.06l-4.25 4.25a.75.75 0 01-1.06-1.06l2.97-2.97H3.75a.75.75 0 010-1.5h7.44L8.22 4.03a.75.75 0 010-1.06z"})})]})}export{o as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as u}from"./chunk-6SFJQ6UX.mjs";import{a as p}from"./chunk-A75RGEGE.mjs";import{a as t,e as d,g as n}from"./chunk-HH5T5KBM.mjs";import{ChevronDown as N,Menu as v,X as w}from"lucide-react";import i from"next/link";import{useParams as x}from"next/navigation";import{useEffect as k,useState as b}from"react";import L from"swr";import{Fragment as h,jsx as e,jsxs as s}from"react/jsx-runtime";function D(){let{domain:r="dub.co"}=x(),[a,c]=b(!1),[m,y]=b(!1);k(()=>{a?document.body.style.overflow="hidden":document.body.style.overflow="auto"},[a]);let{data:f}=L(r==="dub.co"&&"/api/auth/session",void 0,{dedupingInterval:6e4});return s(h,{children:[e("button",{onClick:()=>c(!a),className:(void 0)("fixed right-3 top-3 z-40 rounded-full p-2 transition-colors duration-200 hover:bg-gray-200 focus:outline-none active:bg-gray-300 lg:hidden",a&&"hover:bg-gray-100 active:bg-gray-200"),children:a?e(w,{className:"h-5 w-5 text-gray-600"}):e(v,{className:"h-5 w-5 text-gray-600"})}),e("nav",{className:(void 0)("fixed inset-0 z-20 hidden w-full bg-white px-5 py-16 lg:hidden",a&&"block"),children:s("ul",{className:"grid divide-y divide-gray-200",children:[s("li",{className:"py-3",children:[s("button",{className:"flex w-full justify-between",onClick:()=>y(!m),children:[e("p",{className:"font-semibold",children:"Features"}),e(N,{className:(void 0)("h-5 w-5 text-gray-500 transition-all",m&&"rotate-180")})]}),m&&e("div",{className:"grid gap-4 overflow-hidden py-4",children:p.map(({slug:l,icon:o,shortTitle:g})=>s(i,{href:r==="dub.co"?`/${l}`:`https://dub.co/${l}`,onClick:()=>c(!1),className:"flex w-full space-x-2",children:[e(o,{className:"h-5 w-5 text-gray-500"}),e("span",{className:"text-sm",children:g})]},l))})]}),u.map(({name:l,slug:o})=>e("li",{className:"py-3",children:e(i,{href:r==="dub.co"?`/${o}`:`https://dub.co/${o}`,onClick:()=>c(!1),className:"flex w-full font-semibold capitalize",children:l})},o)),f&&Object.keys(f).length>0?e("li",{className:"py-3",children:e(i,{href:void 0,className:"flex w-full font-semibold capitalize",children:"Dashboard"})}):s(h,{children:[e("li",{className:"py-3",children:e(i,{href:`${void 0}/login`,className:"flex w-full font-semibold capitalize",children:"Log in"})}),e("li",{className:"py-3",children:e(i,{href:`${void 0}/register`,className:"flex w-full font-semibold capitalize",children:"Sign Up"})})]})]})})]})}export{D as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{g as e}from"./chunk-KSCNDDSQ.mjs";import{jsx as o}from"react/jsx-runtime";function c({className:r,children:a}){return o("div",{className:e("mx-auto w-full max-w-screen-xl px-2.5 lg:px-20",r),children:a})}export{c as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{e as L}from"./chunk-QIOX7LWM.mjs";import{a as S}from"./chunk-SOH72QBG.mjs";import{b as k}from"./chunk-JNVNO46I.mjs";import{h as g}from"./chunk-GI3GN7Q7.mjs";import{Command as i,useCommandState as T}from"cmdk";import{Check as O,ChevronDown as x,Search as w,X as j}from"lucide-react";import{memo as z,useEffect as D,useRef as B,useState as E}from"react";import{Drawer as d}from"vaul";import{jsx as a,jsxs as e}from"react/jsx-runtime";function W({items:m,selectedItem:r,setSelectedItem:N,className:b,disabled:M,adjustForMobile:R,icon:y,inputAttrs:f,noItemsElement:p}){let u=B(null),[s,t]=E(!1),[n,c]=E((r==null?void 0:r.value)||"");D(()=>{let o=l=>{u.current&&!u.current.contains(l.target)&&t(!1)};if(s)return document.addEventListener("click",o),()=>document.removeEventListener("click",o)},[u,s]),D(()=>{r!=null&&r.value||c("")},[r==null?void 0:r.value]);let{isMobile:P}=L(),h=z(()=>{let o=T(l=>l.filtered.count===0);return a(i.Input,{placeholder:(f==null?void 0:f.placeholder)||"Search...",autoFocus:s,onFocus:()=>t(!0),value:n,onValueChange:c,onKeyDown:l=>{l.key==="Escape"?(l.preventDefault(),t(!1)):l.key==="Enter"&&o?t(!1):l.key.match(/^[a-z0-9]$/i)&&!l.metaKey&&t(!0)},disabled:M,className:"block w-full truncate rounded-md border-none px-0 text-base text-gray-900 placeholder-gray-400 outline-none outline-0 transition-all duration-300 focus:ring-0 md:text-sm"})}),v=()=>a("button",{onClick:()=>{N(null),c("")},className:"absolute inset-y-0 right-0 my-auto",children:a(j,{className:"h-7 w-7 pr-3 text-gray-400"})}),C=()=>m.map(o=>e(i.Item,{value:o.value,disabled:o.disabled,onSelect:()=>{N(o),c(o.value),t(!1)},className:"group flex cursor-pointer items-center justify-between rounded-md px-4 py-2 text-sm text-gray-900 hover:bg-gray-100 hover:text-gray-900 active:bg-gray-200 aria-disabled:cursor-not-allowed aria-disabled:opacity-75 aria-disabled:hover:bg-white aria-selected:bg-gray-100 aria-selected:text-gray-900",children:[e("div",{className:"flex items-center space-x-2",children:[o.image&&a(S,{src:o.image,alt:o.value,className:"h-4 w-4 rounded-full",width:16,height:16}),a("p",{className:g("whitespace-nowrap py-0.5 text-sm",o.color&&"rounded-md px-2",o.color==="red"&&"bg-red-100 text-red-600",o.color==="yellow"&&"bg-yellow-100 text-yellow-600",o.color==="green"&&"bg-green-100 text-green-600",o.color==="blue"&&"bg-blue-100 text-blue-600",o.color==="purple"&&"bg-purple-100 text-purple-600",o.color==="brown"&&"bg-brown-100 text-brown-600"),children:o.value}),o.label&&a(k,{className:"text-xs",variant:"neutral",children:o.label})]}),a(O,{className:"invisible h-5 w-5 text-gray-500 aria-selected:visible"})]},o.id));return P&&R?e(d.Root,{open:s,onOpenChange:t,children:[a(d.Trigger,{className:"sm:hidden",asChild:!0,children:a(i,{ref:u,className:"relative",loop:!0,children:e("div",{className:g("group relative rounded-md border border-gray-300 bg-white px-1 focus-within:border-gray-500 focus-within:ring-1 focus-within:ring-gray-500 md:min-w-[140px]",b),children:[a("div",{className:"absolute inset-y-0 left-0 flex items-center justify-center pl-3 text-gray-400",children:r&&r.image?a("img",{src:r.image,alt:r.value,className:"h-4 w-4 rounded-full"}):y||a(w,{className:"h-4 w-4 text-gray-400"})}),e("div",{className:"flex h-10 px-8",children:[a(h,{}),n||(r==null?void 0:r.value)!==""?a(v,{}):a(x,{className:"absolute inset-y-0 right-0 my-auto h-7 w-7 pr-3 text-gray-400 transition-all"})]})]})})}),a(d.Overlay,{className:"fixed inset-0 z-40 bg-gray-100 bg-opacity-10 backdrop-blur"}),e(d.Portal,{children:[a(d.Content,{className:"fixed bottom-0 left-0 right-0 z-50 mt-24 rounded-t-lg border-t border-gray-200 bg-white",children:e(i,{ref:u,className:"relative",loop:!0,children:[e("div",{className:g("group relative mb-2 rounded-t-md border-b border-gray-300 bg-white p-1 sm:border sm:py-0 sm:focus-within:border-gray-500 sm:focus-within:ring-1 sm:focus-within:ring-gray-200",b),children:[a("div",{className:"absolute inset-y-0 left-0 flex items-center justify-center pl-3 text-gray-400",children:r&&r.image?a("img",{src:r.image,alt:r.value,className:"h-4 w-4 rounded-full"}):y||a(w,{className:"h-4 w-4 text-gray-400"})}),e("div",{className:"flex h-10 px-8",children:[a(h,{}),n||(r==null?void 0:r.value)!==""?a(v,{}):a(x,{className:"absolute inset-y-0 right-0 my-auto h-7 w-7 rotate-180 pl-3 text-gray-400 transition-all"})]})]}),s&&e(i.List,{className:"dub-scrollbar h-[70vh] overflow-y-auto p-2",children:[m.length===0&&n===""&&(p?a("div",{children:p}):a("p",{className:"px-4 py-2 text-sm text-gray-600",children:"No items found."})),n!==""&&a(i.Empty,{className:"px-4 py-2 text-sm text-gray-600",children:"No results found."}),a(C,{})]})]})}),a(d.Overlay,{})]})]}):e(i,{ref:u,className:"relative",loop:!0,children:[e("div",{className:g("group rounded-md border border-gray-200 bg-white px-1 transition-all focus-within:border-gray-500 focus-within:ring-4 focus-within:ring-gray-200",b),children:[a("div",{onClick:()=>t(o=>!o),className:"absolute inset-y-0 left-0 flex cursor-pointer items-center justify-center pl-3 text-gray-400",children:r&&r.image?a("img",{src:r.image,alt:r.value,className:"h-4 w-4 rounded-full"}):y||a(w,{className:"h-4 w-4 text-gray-400"})}),e("div",{className:"flex h-10 px-8",children:[a(h,{}),n||(r==null?void 0:r.value)!==""?a(v,{}):a(x,{onClick:()=>t(o=>!o),className:`absolute inset-y-0 right-0 my-auto mr-3 h-4 w-4 cursor-pointer text-gray-400 transition-all ${s&&"rotate-180"}`})]})]}),s&&e(i.List,{className:"dub-scrollbar absolute z-20 mt-2 h-[calc(var(--cmdk-list-height)+17px)] max-h-[300px] w-full min-w-[160px] overflow-auto rounded-md border border-gray-200 bg-white p-2 shadow-md transition-all duration-75",children:[m.length===0&&n===""&&(p?a("div",{children:p}):a("p",{className:"px-4 py-2 text-sm text-gray-600",children:"No items found."})),n!==""&&a(i.Empty,{className:"px-4 py-2 text-sm text-gray-600",children:"No results found."}),a(C,{})]})]})}export{W as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as v}from"./chunk-A75RGEGE.mjs";import{a as N}from"./chunk-VZLQQUAS.mjs";import{a as x}from"./chunk-B5QYWKCW.mjs";import{a as f}from"./chunk-KV2NB6U6.mjs";import{a as y}from"./chunk-VWVFVW4E.mjs";import{a as h}from"./chunk-T4YFARK5.mjs";import{a as b}from"./chunk-BDMXJXHH.mjs";import{e as u,g as l,i as g,j as p}from"./chunk-KSCNDDSQ.mjs";import m from"@vercel/analytics";import C from"next/image";import s from"next/link";import{useParams as T}from"next/navigation";import{useEffect as P,useState as k}from"react";import R from"swr";import{jsx as e,jsxs as t}from"react/jsx-runtime";var n={features:v.map(({shortTitle:r,slug:o})=>({name:r,href:`/${o}`})),product:[{name:"Blog",href:"/blog"},{name:"Changelog",href:"/changelog"},{name:"Customers",href:"/customers"},{name:"Pricing",href:"/pricing"},{name:"Enterprise",href:"/enterprise"},{name:"Help Center",href:"/help"}],compare:p.map(({name:r,slug:o})=>({name:r,href:`/compare/${o}`})),legal:[{name:"Privacy",href:"/privacy"},{name:"Terms",href:"/terms"},{name:"Abuse",href:"/abuse"}],tools:g.map(({name:r,slug:o})=>({name:r,href:`/tools/${o}`}))};function D(){let{domain:r="dub.co"}=T(),o=a=>r==="dub.co"?a:`https://dub.co${a}`;return e("footer",{children:t(N,{className:"relative z-10 overflow-hidden border border-b-0 border-gray-200 bg-white/50 pb-60 pt-16 backdrop-blur-lg md:rounded-t-2xl",children:[t("div",{className:"xl:grid xl:grid-cols-3 xl:gap-8",children:[t("div",{className:"space-y-6",children:[t(s,{href:o("/"),...r!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:r,medium:"footer item (logo)"})}},children:[t("span",{className:"sr-only",children:[process.env.NEXT_PUBLIC_APP_NAME," Logo"]}),e(f,{className:"h-7 text-gray-800"})]}),e("p",{className:"max-w-xs text-sm text-gray-500",children:"Giving modern marketing teams superpowers with short links that stand out."}),t("p",{className:"text-sm leading-5 text-gray-400",children:["\xA9 ",new Date().getFullYear()," Dub Technologies, Inc."]}),t("div",{className:"flex items-center space-x-3",children:[t("a",{href:"https://twitter.com/dubdotco",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"Twitter"}),e(y,{className:"h-4 w-4 text-gray-600"})]}),t("a",{href:"https://github.com/dubinc/dub",target:"_blank",rel:"noreferrer",className:"rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"Github"}),e(h,{className:"h-4 w-4 text-gray-600"})]}),t("a",{href:"https://www.linkedin.com/company/dubinc",target:"_blank",rel:"noreferrer",className:"rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"LinkedIn"}),e(b,{className:"h-4 w-4 text-gray-600"})]}),t("a",{href:"https://www.youtube.com/@dubdotco",target:"_blank",rel:"noreferrer",className:"rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"YouTube"}),e(x,{className:"h-4 w-4 text-gray-600"})]})]}),e($,{})]}),t("div",{className:"mt-16 grid grid-cols-2 gap-4 xl:col-span-2 xl:mt-0",children:[t("div",{className:"md:grid md:grid-cols-2",children:[t("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Features"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:n.features.map(a=>e("li",{children:e(s,{href:o(a.href),...r!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:r,medium:`footer item (${a.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.name))})]}),t("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Product"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:n.product.map(a=>e("li",{children:e(s,{href:o(a.href),...r!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:r,medium:`footer item (${a.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.name))})]})]}),t("div",{className:"md:grid md:grid-cols-2",children:[t("div",{className:"flex flex-col space-y-8",children:[t("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Compare"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:n.compare.map(a=>e("li",{children:e(s,{href:o(a.href),...r!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:r,medium:`footer item (${a.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.name))})]}),t("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Legal"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:n.legal.map(a=>e("li",{children:e(s,{href:o(a.href),...r!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:r,medium:`footer item (${a.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.name))})]})]}),t("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Tools"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:n.tools.map(a=>e("li",{children:e(s,{href:o(a.href),...r!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:r,medium:`footer item (${a.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.name))})]})]})]})]}),e(C,{src:"https://assets.dub.co/footer.png",alt:"Dub Technologies, Inc. Logo",width:1959,height:625,className:"pointer-events-none absolute inset-x-0 bottom-0 z-0"})]})})}function $(){let{data:r}=R("https://status.dub.co/api/v1/summary",u),[o,a]=k("bg-gray-200"),[i,c]=k("Loading status...");return P(()=>{if(!r)return;let{ongoing_incidents:d}=r;if(d.length>0){let{current_worst_impact:w,name:L}=d[0],_=w==="degraded_performance"?"bg-yellow-500":"bg-red-500";c(L),a(_)}else c("All systems operational"),a("bg-green-500")},[r]),t(s,{href:"https://status.dub.co",target:"_blank",className:"group flex max-w-fit items-center space-x-2 rounded-md border border-gray-200 bg-white px-3 py-2 transition-colors hover:bg-gray-100",children:[t("div",{className:"relative h-3 w-3",children:[e("div",{className:l("absolute inset-0 m-auto h-3 w-3 animate-ping items-center justify-center rounded-full group-hover:animate-none",o,i==="Loading status..."&&"animate-none")}),e("div",{className:l("absolute inset-0 z-10 m-auto h-3 w-3 rounded-full",o)})]}),e("p",{className:"text-sm font-medium text-gray-800",children:i})]})}export{D as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{e as E}from"./chunk-NJODFR67.mjs";import{a as D}from"./chunk-4FIKBXJ3.mjs";import{b as S}from"./chunk-3MGZP5EP.mjs";import{h as d}from"./chunk-YV33XVHD.mjs";import{Command as l,useCommandState as O}from"cmdk";import{Check as j,ChevronDown as x,Search as w,X as N}from"lucide-react";import{useEffect as M,useMemo as z,useRef as H,useState as R}from"react";import{Drawer as g}from"vaul";import{Fragment as B,jsx as a,jsxs as t}from"react/jsx-runtime";function Y({items:y,selectedItem:o,setSelectedItem:p,className:b,disabled:C,adjustForMobile:P,icon:h,inputAttrs:c,noItemsElement:m}){let s=H(null),[n,e]=R(!1),[i,u]=R((o==null?void 0:o.value)||"");M(()=>{let r=T=>{s.current&&!s.current.contains(T.target)&&e(!1)};if(n)return document.addEventListener("click",r),()=>document.removeEventListener("click",r)},[s,n]),M(()=>{o!=null&&o.value||u("")},[o==null?void 0:o.value]);let{isMobile:f}=E(),k=O(r=>r.filtered.count===0),v=z(()=>a(B,{children:a(l.Input,{placeholder:(c==null?void 0:c.placeholder)||"Search...",autoFocus:n&&!f,onFocus:()=>e(!0),value:i,onValueChange:u,onKeyDown:r=>{r.key==="Escape"?(r.preventDefault(),e(!1)):r.key==="Enter"&&k?e(!1):r.key.match(/^[a-z0-9]$/i)&&!r.metaKey&&e(!0)},disabled:C,className:"block w-full truncate rounded-md border-none px-0 text-base text-gray-900 placeholder-gray-400 outline-none outline-0 transition-all duration-300 focus:ring-0 md:text-sm"})}),[C,k,c,f,n]),L=()=>y.map(r=>t(l.Item,{value:r.value,disabled:r.disabled,onSelect:()=>{p(r),u(r.value),e(!1)},className:"group flex cursor-pointer items-center justify-between rounded-md px-4 py-2 text-sm text-gray-900 hover:bg-gray-100 hover:text-gray-900 active:bg-gray-200 aria-disabled:cursor-not-allowed aria-disabled:opacity-75 aria-disabled:hover:bg-white aria-selected:bg-gray-100 aria-selected:text-gray-900",children:[t("div",{className:"flex items-center space-x-2",children:[r.image&&a(D,{src:r.image,alt:r.value,className:"h-4 w-4 rounded-full",width:16,height:16}),a("p",{className:d("whitespace-nowrap py-0.5 text-sm",r.color&&"rounded-md px-2",r.color==="red"&&"bg-red-100 text-red-600",r.color==="yellow"&&"bg-yellow-100 text-yellow-600",r.color==="green"&&"bg-green-100 text-green-600",r.color==="blue"&&"bg-blue-100 text-blue-600",r.color==="purple"&&"bg-purple-100 text-purple-600",r.color==="brown"&&"bg-brown-100 text-brown-600"),children:r.value}),r.label&&a(S,{className:"text-xs",variant:"neutral",children:r.label})]}),a(j,{className:"invisible h-5 w-5 text-gray-500 aria-selected:visible"})]},r.id));return f&&P?t(g.Root,{open:n,onOpenChange:e,children:[a(g.Trigger,{className:"sm:hidden",asChild:!0,children:a(l,{ref:s,className:"relative",loop:!0,children:t("div",{className:d("group relative rounded-md border border-gray-300 bg-white px-1 focus-within:border-gray-500 focus-within:ring-1 focus-within:ring-gray-500 md:min-w-[140px]",b),children:[a("div",{className:"absolute inset-y-0 left-0 flex items-center justify-center pl-3 text-gray-400",children:o&&o.image?a("img",{src:o.image,alt:o.value,className:"h-4 w-4 rounded-full"}):h||a(w,{className:"h-4 w-4 text-gray-400"})}),t("div",{className:"flex h-10 px-8",children:[a(v,{}),i||(o==null?void 0:o.value)!==""?a("button",{onClick:r=>{r.preventDefault(),p(null),u("")},className:"absolute inset-y-0 right-0 my-auto",children:a(N,{className:"h-7 w-7 pr-3 text-gray-400"})}):a(x,{className:"absolute inset-y-0 right-0 my-auto h-7 w-7 pr-3 text-gray-400 transition-all"})]})]})})}),a(g.Overlay,{className:"fixed inset-0 z-40 bg-gray-100 bg-opacity-10 backdrop-blur"}),t(g.Portal,{children:[a(g.Content,{className:"fixed bottom-0 left-0 right-0 z-50 mt-24 rounded-t-lg border-t border-gray-200 bg-white",children:t(l,{ref:s,className:"relative",loop:!0,children:[t("div",{className:d("group relative mb-2 rounded-t-md border-b border-gray-300 bg-white p-1 sm:border sm:py-0 sm:focus-within:border-gray-500 sm:focus-within:ring-1 sm:focus-within:ring-gray-200",b),children:[a("div",{className:"absolute inset-y-0 left-0 flex items-center justify-center pl-3 text-gray-400",children:o&&o.image?a("img",{src:o.image,alt:o.value,className:"h-4 w-4 rounded-full"}):h||a(w,{className:"h-4 w-4 text-gray-400"})}),t("div",{className:"flex h-10 px-8",children:[a(v,{}),i||(o==null?void 0:o.value)!==""?a("button",{onClick:()=>{p(null),u("")},className:"absolute inset-y-0 right-0 my-auto",children:a(N,{className:"h-7 w-7 pr-3 text-gray-400"})}):a(x,{className:"absolute inset-y-0 right-0 my-auto h-7 w-7 rotate-180 pl-3 text-gray-400 transition-all"})]})]}),n&&t(l.List,{className:"dub-scrollbar h-[70vh] overflow-y-auto p-2",children:[y.length===0&&i===""&&(m?a("div",{children:m}):a("p",{className:"px-4 py-2 text-sm text-gray-600",children:"No items found."})),i!==""&&a(l.Empty,{className:"px-4 py-2 text-sm text-gray-600",children:"No results found."}),a(L,{})]})]})}),a(g.Overlay,{})]})]}):t(l,{ref:s,className:"relative",loop:!0,children:[t("div",{className:d("group rounded-md border border-gray-200 bg-white px-1 transition-all focus-within:border-gray-500 focus-within:ring-4 focus-within:ring-gray-200",b),children:[a("div",{onClick:()=>e(r=>!r),className:"absolute inset-y-0 left-0 flex cursor-pointer items-center justify-center pl-3 text-gray-400",children:o&&o.image?a("img",{src:o.image,alt:o.value,className:"h-4 w-4 rounded-full"}):h||a(w,{className:"h-4 w-4 text-gray-400"})}),t("div",{className:"flex h-10 px-8",children:[a(v,{}),i||(o==null?void 0:o.value)!==""?a("button",{onClick:()=>{p(null),u("")},className:"absolute inset-y-0 right-0 my-auto",children:a(N,{className:"h-7 w-7 pr-3 text-gray-400"})}):a(x,{onClick:()=>e(r=>!r),className:`absolute inset-y-0 right-0 my-auto mr-3 h-4 w-4 cursor-pointer text-gray-400 transition-all ${n&&"rotate-180"}`})]})]}),n&&t(l.List,{className:"dub-scrollbar absolute z-20 mt-2 h-[calc(var(--cmdk-list-height)+17px)] max-h-[300px] w-full min-w-[160px] overflow-auto rounded-md border border-gray-200 bg-white p-2 shadow-md transition-all duration-75",children:[y.length===0&&i===""&&(m?a("div",{children:m}):a("p",{className:"px-4 py-2 text-sm text-gray-600",children:"No items found."})),i!==""&&a(l.Empty,{className:"px-4 py-2 text-sm text-gray-600",children:"No results found."}),a(L,{})]})]})}export{Y as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{e as L}from"./chunk-5P7KVMLV.mjs";import{a as S}from"./chunk-7SO7THSF.mjs";import{b as k}from"./chunk-M4C3F3UC.mjs";import{g}from"./chunk-HH5T5KBM.mjs";import{Command as i,useCommandState as T}from"cmdk";import{Check as O,ChevronDown as x,Search as w,X as j}from"lucide-react";import{memo as z,useEffect as D,useRef as B,useState as E}from"react";import{Drawer as d}from"vaul";import{jsx as a,jsxs as e}from"react/jsx-runtime";function W({items:m,selectedItem:r,setSelectedItem:N,className:b,disabled:M,adjustForMobile:R,icon:y,inputAttrs:f,noItemsElement:p}){let u=B(null),[s,t]=E(!1),[n,c]=E((r==null?void 0:r.value)||"");D(()=>{let o=l=>{u.current&&!u.current.contains(l.target)&&t(!1)};if(s)return document.addEventListener("click",o),()=>document.removeEventListener("click",o)},[u,s]),D(()=>{r!=null&&r.value||c("")},[r==null?void 0:r.value]);let{isMobile:P}=L(),h=z(()=>{let o=T(l=>l.filtered.count===0);return a(i.Input,{placeholder:(f==null?void 0:f.placeholder)||"Search...",autoFocus:s,onFocus:()=>t(!0),value:n,onValueChange:c,onKeyDown:l=>{l.key==="Escape"?(l.preventDefault(),t(!1)):l.key==="Enter"&&o?t(!1):l.key.match(/^[a-z0-9]$/i)&&!l.metaKey&&t(!0)},disabled:M,className:"block w-full truncate rounded-md border-none px-0 text-base text-gray-900 placeholder-gray-400 outline-none outline-0 transition-all duration-300 focus:ring-0 md:text-sm"})}),v=()=>a("button",{onClick:()=>{N(null),c("")},className:"absolute inset-y-0 right-0 my-auto",children:a(j,{className:"h-7 w-7 pr-3 text-gray-400"})}),C=()=>m.map(o=>e(i.Item,{value:o.value,disabled:o.disabled,onSelect:()=>{N(o),c(o.value),t(!1)},className:"group flex cursor-pointer items-center justify-between rounded-md px-4 py-2 text-sm text-gray-900 hover:bg-gray-100 hover:text-gray-900 active:bg-gray-200 aria-disabled:cursor-not-allowed aria-disabled:opacity-75 aria-disabled:hover:bg-white aria-selected:bg-gray-100 aria-selected:text-gray-900",children:[e("div",{className:"flex items-center space-x-2",children:[o.image&&a(S,{src:o.image,alt:o.value,className:"h-4 w-4 rounded-full",width:16,height:16}),a("p",{className:(void 0)("whitespace-nowrap py-0.5 text-sm",o.color&&"rounded-md px-2",o.color==="red"&&"bg-red-100 text-red-600",o.color==="yellow"&&"bg-yellow-100 text-yellow-600",o.color==="green"&&"bg-green-100 text-green-600",o.color==="blue"&&"bg-blue-100 text-blue-600",o.color==="purple"&&"bg-purple-100 text-purple-600",o.color==="brown"&&"bg-brown-100 text-brown-600"),children:o.value}),o.label&&a(k,{className:"text-xs",variant:"neutral",children:o.label})]}),a(O,{className:"invisible h-5 w-5 text-gray-500 aria-selected:visible"})]},o.id));return P&&R?e(d.Root,{open:s,onOpenChange:t,children:[a(d.Trigger,{className:"sm:hidden",asChild:!0,children:a(i,{ref:u,className:"relative",loop:!0,children:e("div",{className:(void 0)("group relative rounded-md border border-gray-300 bg-white px-1 focus-within:border-gray-500 focus-within:ring-1 focus-within:ring-gray-500 md:min-w-[140px]",b),children:[a("div",{className:"absolute inset-y-0 left-0 flex items-center justify-center pl-3 text-gray-400",children:r&&r.image?a("img",{src:r.image,alt:r.value,className:"h-4 w-4 rounded-full"}):y||a(w,{className:"h-4 w-4 text-gray-400"})}),e("div",{className:"flex h-10 px-8",children:[a(h,{}),n||(r==null?void 0:r.value)!==""?a(v,{}):a(x,{className:"absolute inset-y-0 right-0 my-auto h-7 w-7 pr-3 text-gray-400 transition-all"})]})]})})}),a(d.Overlay,{className:"fixed inset-0 z-40 bg-gray-100 bg-opacity-10 backdrop-blur"}),e(d.Portal,{children:[a(d.Content,{className:"fixed bottom-0 left-0 right-0 z-50 mt-24 rounded-t-lg border-t border-gray-200 bg-white",children:e(i,{ref:u,className:"relative",loop:!0,children:[e("div",{className:(void 0)("group relative mb-2 rounded-t-md border-b border-gray-300 bg-white p-1 sm:border sm:py-0 sm:focus-within:border-gray-500 sm:focus-within:ring-1 sm:focus-within:ring-gray-200",b),children:[a("div",{className:"absolute inset-y-0 left-0 flex items-center justify-center pl-3 text-gray-400",children:r&&r.image?a("img",{src:r.image,alt:r.value,className:"h-4 w-4 rounded-full"}):y||a(w,{className:"h-4 w-4 text-gray-400"})}),e("div",{className:"flex h-10 px-8",children:[a(h,{}),n||(r==null?void 0:r.value)!==""?a(v,{}):a(x,{className:"absolute inset-y-0 right-0 my-auto h-7 w-7 rotate-180 pl-3 text-gray-400 transition-all"})]})]}),s&&e(i.List,{className:"dub-scrollbar h-[70vh] overflow-y-auto p-2",children:[m.length===0&&n===""&&(p?a("div",{children:p}):a("p",{className:"px-4 py-2 text-sm text-gray-600",children:"No items found."})),n!==""&&a(i.Empty,{className:"px-4 py-2 text-sm text-gray-600",children:"No results found."}),a(C,{})]})]})}),a(d.Overlay,{})]})]}):e(i,{ref:u,className:"relative",loop:!0,children:[e("div",{className:(void 0)("group rounded-md border border-gray-200 bg-white px-1 transition-all focus-within:border-gray-500 focus-within:ring-4 focus-within:ring-gray-200",b),children:[a("div",{onClick:()=>t(o=>!o),className:"absolute inset-y-0 left-0 flex cursor-pointer items-center justify-center pl-3 text-gray-400",children:r&&r.image?a("img",{src:r.image,alt:r.value,className:"h-4 w-4 rounded-full"}):y||a(w,{className:"h-4 w-4 text-gray-400"})}),e("div",{className:"flex h-10 px-8",children:[a(h,{}),n||(r==null?void 0:r.value)!==""?a(v,{}):a(x,{onClick:()=>t(o=>!o),className:`absolute inset-y-0 right-0 my-auto mr-3 h-4 w-4 cursor-pointer text-gray-400 transition-all ${s&&"rotate-180"}`})]})]}),s&&e(i.List,{className:"dub-scrollbar absolute z-20 mt-2 h-[calc(var(--cmdk-list-height)+17px)] max-h-[300px] w-full min-w-[160px] overflow-auto rounded-md border border-gray-200 bg-white p-2 shadow-md transition-all duration-75",children:[m.length===0&&n===""&&(p?a("div",{children:p}):a("p",{className:"px-4 py-2 text-sm text-gray-600",children:"No items found."})),n!==""&&a(i.Empty,{className:"px-4 py-2 text-sm text-gray-600",children:"No results found."}),a(C,{})]})]})}export{W as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{g as e}from"./chunk-HH5T5KBM.mjs";import{jsx as o}from"react/jsx-runtime";function c({className:r,children:a}){return o("div",{className:(void 0)("mx-auto w-full max-w-screen-xl px-2.5 lg:px-20",r),children:a})}export{c as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{e as y}from"./chunk-QIOX7LWM.mjs";import{a as p}from"./chunk-2TGXECZQ.mjs";import{a as o}from"./chunk-KTKWGDAH.mjs";import{b as g,c as f,f as b}from"./chunk-GI3GN7Q7.mjs";import{Link2 as v}from"lucide-react";import{useRouter as k,useSearchParams as R}from"next/navigation";import{useEffect as E,useMemo as P,useRef as W}from"react";import M from"swr";import{useDebounce as j}from"use-debounce";import{Fragment as h,jsx as e,jsxs as r}from"react/jsx-runtime";function I({defaultUrl:t}){let x=k(),l=R(),i=t||(l==null?void 0:l.get("url"))||"https://github.com/dubinc/dub",[a]=j(g(i),500),d=P(()=>f(a||""),[a]),{data:N,isValidating:w}=M(a&&`/api/metatags?url=${a}`,b,{revalidateOnFocus:!1}),{title:n,description:u,image:c}=N||{},s=W(null);E(()=>{!t&&s.current&&s.current.select()},[t]);let{isMobile:L}=y();return r(h,{children:[!t&&r("div",{className:"relative flex items-center",children:[e(v,{className:"absolute inset-y-0 left-0 my-2 ml-3 w-5 text-gray-400"}),e("input",{ref:s,name:"url",id:"url",type:"url",autoFocus:!L,className:"block w-full rounded-md border-gray-200 pl-10 text-sm text-gray-900 placeholder-gray-400 shadow-lg focus:border-gray-500 focus:outline-none focus:ring-gray-500",placeholder:"Enter your URL",defaultValue:i,onChange:m=>x.replace(`/tools/metatags${m.target.value.length>0?`?url=${m.target.value}`:""}`),"aria-invalid":"true"})]}),r("div",{className:"relative overflow-hidden rounded-md border border-gray-300 bg-gray-50",children:[w&&e("div",{className:"absolute flex h-[250px] w-full flex-col items-center justify-center space-y-4 border-b border-gray-300 bg-gray-50",children:e(o,{})}),c?e("img",{src:c,alt:"Preview",className:"h-[250px] w-full border-b border-gray-300 object-cover"}):r("div",{className:"flex h-[250px] w-full flex-col items-center justify-center space-y-4 border-b border-gray-300",children:[e(p,{className:"h-8 w-8 text-gray-400"}),e("p",{className:"text-sm text-gray-400",children:"Enter a link to generate a preview."})]}),r("div",{className:"grid gap-1 bg-white p-3 text-left",children:[d?e("p",{className:"text-sm text-[#536471]",children:d}):e("div",{className:"mb-1 h-4 w-24 rounded-md bg-gray-100"}),n?e("h3",{className:"truncate text-sm font-medium text-[#0f1419]",children:n}):e("div",{className:"mb-1 h-4 w-full rounded-md bg-gray-100"}),u?e("p",{className:"line-clamp-2 text-sm text-[#536471]",children:u}):r("div",{className:"grid gap-2",children:[e("div",{className:"h-4 w-full rounded-md bg-gray-100"}),e("div",{className:"h-4 w-48 rounded-md bg-gray-100"})]})]})]})]})}function O({defaultUrl:t}){return r(h,{children:[r("div",{className:"relative flex items-center",children:[e(v,{className:"absolute inset-y-0 left-0 my-2 ml-3 w-5 text-gray-400"}),e("input",{name:"url",id:"url",type:"url",disabled:!0,className:"block w-full rounded-md border-gray-200 pl-10 text-sm text-gray-900 placeholder-gray-400 shadow-lg focus:border-gray-500 focus:outline-none focus:ring-gray-500",placeholder:"Enter your URL",defaultValue:t||"https://github.com/dubinc/dub"})]}),e("div",{className:"relative overflow-hidden rounded-md border border-gray-300 bg-gray-50",children:e("div",{className:"absolute flex h-[250px] w-full flex-col items-center justify-center space-y-4 border-b border-gray-300 bg-gray-50",children:e(o,{})})})]})}export{I as a,O as b};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{g as t}from"./chunk-XFGV73AQ.mjs";import{cva as o}from"class-variance-authority";import{jsx as n}from"react/jsx-runtime";var i=o("max-w-fit rounded-full border px-2 py-px text-xs font-medium capitalize whitespace-nowrap",{variants:{variant:{default:"border-gray-400 text-gray-500",violet:"border-violet-600 bg-violet-600 text-white",blue:"border-blue-500 bg-blue-500 text-white",sky:"border-sky-900 bg-sky-900 text-white",black:"border-black bg-black text-white",gray:"border-gray-200 bg-gray-100 text-gray-800",neutral:"border-gray-400 text-gray-500",rainbow:"bg-gradient-to-r from-violet-600 to-pink-600 text-white border-transparent"}},defaultVariants:{variant:"neutral"}});function g({className:e,variant:r,...a}){return n("span",{className:(void 0)(i({variant:r}),e),...a})}export{i as a,g as b};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as u}from"./chunk-C2VK7UKT.mjs";import{a as p}from"./chunk-A75RGEGE.mjs";import{d as t,f as d,h as n}from"./chunk-GI3GN7Q7.mjs";import{ChevronDown as N,Menu as v,X as w}from"lucide-react";import i from"next/link";import{useParams as x}from"next/navigation";import{useEffect as k,useState as b}from"react";import L from"swr";import{Fragment as h,jsx as e,jsxs as s}from"react/jsx-runtime";function D(){let{domain:r="dub.co"}=x(),[a,c]=b(!1),[m,y]=b(!1);k(()=>{a?document.body.style.overflow="hidden":document.body.style.overflow="auto"},[a]);let{data:f}=L(r==="dub.co"&&"/api/auth/session",d,{dedupingInterval:6e4});return s(h,{children:[e("button",{onClick:()=>c(!a),className:n("fixed right-3 top-3 z-40 rounded-full p-2 transition-colors duration-200 hover:bg-gray-200 focus:outline-none active:bg-gray-300 lg:hidden",a&&"hover:bg-gray-100 active:bg-gray-200"),children:a?e(w,{className:"h-5 w-5 text-gray-600"}):e(v,{className:"h-5 w-5 text-gray-600"})}),e("nav",{className:n("fixed inset-0 z-20 hidden w-full bg-white px-5 py-16 lg:hidden",a&&"block"),children:s("ul",{className:"grid divide-y divide-gray-200",children:[s("li",{className:"py-3",children:[s("button",{className:"flex w-full justify-between",onClick:()=>y(!m),children:[e("p",{className:"font-semibold",children:"Features"}),e(N,{className:n("h-5 w-5 text-gray-500 transition-all",m&&"rotate-180")})]}),m&&e("div",{className:"grid gap-4 overflow-hidden py-4",children:p.map(({slug:l,icon:o,shortTitle:g})=>s(i,{href:r==="dub.co"?`/${l}`:`https://dub.co/${l}`,onClick:()=>c(!1),className:"flex w-full space-x-2",children:[e(o,{className:"h-5 w-5 text-gray-500"}),e("span",{className:"text-sm",children:g})]},l))})]}),u.map(({name:l,slug:o})=>e("li",{className:"py-3",children:e(i,{href:r==="dub.co"?`/${o}`:`https://dub.co/${o}`,onClick:()=>c(!1),className:"flex w-full font-semibold capitalize",children:l})},o)),f&&Object.keys(f).length>0?e("li",{className:"py-3",children:e(i,{href:t,className:"flex w-full font-semibold capitalize",children:"Dashboard"})}):s(h,{children:[e("li",{className:"py-3",children:e(i,{href:`${t}/login`,className:"flex w-full font-semibold capitalize",children:"Log in"})}),e("li",{className:"py-3",children:e(i,{href:`${t}/register`,className:"flex w-full font-semibold capitalize",children:"Sign Up"})})]})]})})]})}export{D as a};
@@ -0,0 +1 @@
1
+ "use client"
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{f as e}from"./chunk-UQEC4KF2.mjs";import{jsx as n}from"react/jsx-runtime";function l({user:a={},className:i}){return a?n("img",{alt:`Avatar for ${(a==null?void 0:a.name)||(a==null?void 0:a.email)}`,referrerPolicy:"no-referrer",src:(a==null?void 0:a.image)||`https://api.dicebear.com/7.x/micah/svg?seed=${a==null?void 0:a.email}`,className:e("h-10 w-10 rounded-full border border-gray-300",i),draggable:!1}):n("div",{className:e("h-10 w-10 animate-pulse rounded-full border border-gray-300 bg-gray-100",i)})}function d({id:a}){return n("img",{src:`https://api.dicebear.com/7.x/shapes/svg?seed=${a}`,alt:"avatar",className:"h-10 w-10 rounded-full",draggable:!1})}export{l as a,d as b};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{g as i}from"./chunk-XFGV73AQ.mjs";import{jsx as e,jsxs as o}from"react/jsx-runtime";function t({className:l}){return o("svg",{width:"191",height:"191",viewBox:"0 0 191 191",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:(void 0)("h-10 w-10 text-black",l),children:[e("g",{clipPath:"url(#clip0_1301_107)",children:e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M122 -14H144 9.17859 129.788 5.96937 122 3.72462V-14ZM122 3.72462C113.586 1.29941 104.695 0 95.5 0C42.7568 0 0 42.7568 0 95.5C0 148.243 42.7568 191 95.5 191C148.243 191 191 148.243 191 95.5C191 60.462 172.131 29.8311 144 13.2146V100V148H122V140.897C114.258 146.018 104.977 149 95 149C67.938 149 46 127.062 46 100C46 72.938 67.938 51 95 51C104.977 51 114.258 53.982 122 59.1034V3.72462Z",fill:"currentColor",shapeRendering:"geometricPrecision"})}),e("defs",{children:e("clipPath",{id:"clip0_1301_107",children:e("rect",{width:"191",height:"191",rx:"95.5",fill:"white"})})})]})}export{t as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{e as y}from"./chunk-IPL6UWWS.mjs";import{a as p}from"./chunk-2TGXECZQ.mjs";import{a as o}from"./chunk-HSGA5S5V.mjs";import{a as g,c as f,f as b}from"./chunk-IDIODIUK.mjs";import{Link2 as v}from"lucide-react";import{useRouter as k,useSearchParams as R}from"next/navigation";import{useEffect as E,useMemo as P,useRef as W}from"react";import M from"swr";import{useDebounce as j}from"use-debounce";import{Fragment as h,jsx as e,jsxs as r}from"react/jsx-runtime";function I({defaultUrl:t}){let x=k(),l=R(),i=t||(l==null?void 0:l.get("url"))||"https://github.com/dubinc/dub",[a]=j((void 0)(i),500),d=P(()=>(void 0)(a||""),[a]),{data:N,isValidating:w}=M(a&&`/api/metatags?url=${a}`,g,{revalidateOnFocus:!1}),{title:n,description:u,image:c}=N||{},s=W(null);E(()=>{!t&&s.current&&s.current.select()},[t]);let{isMobile:L}=y();return r(h,{children:[!t&&r("div",{className:"relative flex items-center",children:[e(v,{className:"absolute inset-y-0 left-0 my-2 ml-3 w-5 text-gray-400"}),e("input",{ref:s,name:"url",id:"url",type:"url",autoFocus:!L,className:"block w-full rounded-md border-gray-200 pl-10 text-sm text-gray-900 placeholder-gray-400 shadow-lg focus:border-gray-500 focus:outline-none focus:ring-gray-500",placeholder:"Enter your URL",defaultValue:i,onChange:m=>x.replace(`/tools/metatags${m.target.value.length>0?`?url=${m.target.value}`:""}`),"aria-invalid":"true"})]}),r("div",{className:"relative overflow-hidden rounded-md border border-gray-300 bg-gray-50",children:[w&&e("div",{className:"absolute flex h-[250px] w-full flex-col items-center justify-center space-y-4 border-b border-gray-300 bg-gray-50",children:e(o,{})}),c?e("img",{src:c,alt:"Preview",className:"h-[250px] w-full border-b border-gray-300 object-cover"}):r("div",{className:"flex h-[250px] w-full flex-col items-center justify-center space-y-4 border-b border-gray-300",children:[e(p,{className:"h-8 w-8 text-gray-400"}),e("p",{className:"text-sm text-gray-400",children:"Enter a link to generate a preview."})]}),r("div",{className:"grid gap-1 bg-white p-3 text-left",children:[d?e("p",{className:"text-sm text-[#536471]",children:d}):e("div",{className:"mb-1 h-4 w-24 rounded-md bg-gray-100"}),n?e("h3",{className:"truncate text-sm font-medium text-[#0f1419]",children:n}):e("div",{className:"mb-1 h-4 w-full rounded-md bg-gray-100"}),u?e("p",{className:"line-clamp-2 text-sm text-[#536471]",children:u}):r("div",{className:"grid gap-2",children:[e("div",{className:"h-4 w-full rounded-md bg-gray-100"}),e("div",{className:"h-4 w-48 rounded-md bg-gray-100"})]})]})]})]})}function O({defaultUrl:t}){return r(h,{children:[r("div",{className:"relative flex items-center",children:[e(v,{className:"absolute inset-y-0 left-0 my-2 ml-3 w-5 text-gray-400"}),e("input",{name:"url",id:"url",type:"url",disabled:!0,className:"block w-full rounded-md border-gray-200 pl-10 text-sm text-gray-900 placeholder-gray-400 shadow-lg focus:border-gray-500 focus:outline-none focus:ring-gray-500",placeholder:"Enter your URL",defaultValue:t||"https://github.com/dubinc/dub"})]}),e("div",{className:"relative overflow-hidden rounded-md border border-gray-300 bg-gray-50",children:e("div",{className:"absolute flex h-[250px] w-full flex-col items-center justify-center space-y-4 border-b border-gray-300 bg-gray-50",children:e(o,{})})})]})}export{I as a,O as b};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ function E(r,e={digits:1}){if(!r)return"0";if(e.full)return Intl.NumberFormat("en-US").format(r);let A=[{value:1,symbol:""},{value:1e3,symbol:"K"},{value:1e6,symbol:"M"},{value:1e9,symbol:"G"},{value:1e12,symbol:"T"},{value:1e15,symbol:"P"},{value:1e18,symbol:"E"}],i=/\.0+$|(\.[0-9]*[1-9])0+$/;var t=A.slice().reverse().find(function(_){return r>=_.value});return t?(r/t.value).toFixed(e.digits).replace(i,"$1")+t.symbol:"0"}export{E as a,a as b,S as c,s as d,I as e,o as f,D as g,m as h};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{k as s}from"./chunk-KSCNDDSQ.mjs";import{Slot as g}from"@radix-ui/react-slot";import w,{useEffect as y,useState as R}from"react";import{jsx as V}from"react/jsx-runtime";var F=w.forwardRef(({asChild:m,className:u,children:e,duration:t=250,as:c="span",...i},p)=>{let[n,l]=R(Number(e));return y(()=>{if(isNaN(Number(e))){console.warn("CountingNumbers expects a numeric value as children.");return}let f=Number(e),o=n,N=f,d=performance.now(),r=()=>{let b=performance.now(),a=Math.min((b-d)/t,1),C=o+(N-o)*a;l(Math.round(C)),a<1&&requestAnimationFrame(r)};requestAnimationFrame(r)},[e,t]),V(m?g:c,{ref:p,className:u,...i,children:(void 0)(n)})});F.displayName="CountingNumbers";export{F as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as r}from"./chunk-WFO5EVTJ.mjs";import{AnimatePresence as m,motion as d}from"framer-motion";import s from"js-cookie";import{X as l}from"lucide-react";import c from"next/image";import g from"next/link";import{createContext as h,useState as b}from"react";import{Fragment as v,jsx as e,jsxs as o}from"react/jsx-runtime";var n=h({hidePopup:()=>{}});function H({children:i,hiddenCookieId:t}){let[a,u]=b(t&&s.get(t)==="1"),p=()=>{u(!0),t&&s.set(t,"1")};return e(r,{children:e(n.Provider,{value:{hidePopup:p},children:e(m,{children:!a&&e(d.div,{className:"xs:left-4 xs:mx-auto xs:max-w-xs group fixed bottom-4 z-40 mx-2 rounded-lg border border-gray-200 bg-white p-2 pb-4 pr-4 shadow-md",initial:{opacity:0,y:50},animate:{opacity:1,y:0},exit:{y:250},children:i},"popup")})})})}var _=()=>{let{hidePopup:i}=useContext(n);return o(v,{children:[o("div",{className:"invisible absolute right-4 top-4 h-3 w-3 group-hover:invisible sm:visible",children:[e("div",{className:"absolute inset-0 m-auto h-3 w-3 animate-ping items-center justify-center rounded-full bg-green-500"}),e("div",{className:"absolute inset-0 z-10 m-auto h-3 w-3 rounded-full bg-green-500"})]}),e("button",{className:"visible absolute right-2.5 top-2.5 rounded-full p-1 transition-colors hover:bg-gray-100 active:scale-90 group-hover:visible sm:invisible",onClick:i,children:e(l,{className:"h-4 w-4 text-gray-500"})}),o(g,{href:"https://d.to/ph?utm_source=badge-featured&utm_medium=badge&utm_souce=badge-dub",target:"_blank",children:[e(c,{src:"https://assets.dub.co/misc/product-hunt.png",alt:"Product Hunt",width:100,height:100,className:"h-24"}),o("div",{className:"-mt-2 px-4",children:[e("p",{className:"mb-1 font-medium text-gray-800",children:"We're live on Product Hunt!"}),e("p",{className:"text-sm text-gray-500 underline-offset-4 transition-all group-hover:text-gray-800 group-hover:underline",children:"Join the conversation and help us get to #1 Product of the Month \u2197"})]})]})]})};export{n as a,H as b,_ as c};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{g as e}from"./chunk-XFGV73AQ.mjs";import{jsx as o}from"react/jsx-runtime";function c({className:r,children:a}){return o("div",{className:(void 0)("mx-auto w-full max-w-screen-xl px-2.5 lg:px-20",r),children:a})}export{c as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as m}from"./chunk-YJPUXWUD.mjs";import{f as i}from"./chunk-CJTBJCEN.mjs";import{useMemo as x,useState as u}from"react";import{jsx as a,jsxs as r}from"react/jsx-runtime";function M({title:g,description:c,inputAttrs:e,helpText:s,buttonText:f="Save Changes",disabledTooltip:o,handleSubmit:y}){let[t,p]=u(e.defaultValue),[l,d]=u(!1),b=x(()=>l||!t||t===e.defaultValue,[l,t,e.defaultValue]);return r("form",{onSubmit:async n=>{n.preventDefault(),d(!0),await y({[e.name]:t}),d(!1)},className:"rounded-lg border border-gray-200 bg-white",children:[r("div",{className:"relative flex flex-col space-y-6 p-5 sm:p-10",children:[r("div",{className:"flex flex-col space-y-3",children:[a("h2",{className:"text-xl font-medium",children:g}),a("p",{className:"text-sm text-gray-500",children:c})]}),typeof e.defaultValue=="string"?a("input",{...e,type:e.type||"text",required:!0,disabled:!!o,onChange:n=>p(n.target.value),className:i("w-full max-w-md rounded-md border border-gray-300 text-gray-900 placeholder-gray-400 focus:border-gray-500 focus:outline-none focus:ring-gray-500 sm:text-sm",{"cursor-not-allowed bg-gray-100 text-gray-400":o})}):a("div",{className:"h-[2.35rem] w-full max-w-md animate-pulse rounded-md bg-gray-200"})]}),r("div",{className:"flex items-center justify-between space-x-4 rounded-b-lg border-t border-gray-200 bg-gray-50 p-3 sm:px-10",children:[typeof s=="string"?a("p",{className:"prose-sm prose-a:underline prose-a:underline-offset-4 hover:prose-a:text-gray-700 text-gray-500 transition-colors",dangerouslySetInnerHTML:{__html:s||""}}):s,a("div",{className:"shrink-0",children:a(m,{text:f,loading:l,disabled:b,disabledTooltip:o})})]})]})}export{M as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as r}from"./chunk-WFO5EVTJ.mjs";import{AnimatePresence as p,motion as m}from"framer-motion";import n from"js-cookie";import{X as l}from"lucide-react";import c from"next/image";import h from"next/link";import{createContext as g,useContext as b,useState as v}from"react";import{jsx as e,jsxs as t}from"react/jsx-runtime";var s=g({hidePopup:()=>{}});function H({children:o,hiddenCookieId:i}){let[a,u]=v(n.get(i)==="1"),d=()=>{u(!0),n.set(i,"1")};return e(r,{children:e(s.Provider,{value:{hidePopup:d},children:e(p,{children:!a&&o})})})}var _=()=>{let{hidePopup:o}=b(s);return t(m.div,{initial:{y:50},animate:{y:0},exit:{y:50},className:"xs:left-4 xs:mx-auto xs:max-w-xs group fixed bottom-4 z-40 mx-2 rounded-lg border border-gray-200 bg-white p-2 pb-4 pr-4 shadow-md",children:[t("div",{className:"invisible absolute right-4 top-4 h-3 w-3 group-hover:invisible sm:visible",children:[e("div",{className:"absolute inset-0 m-auto h-3 w-3 animate-ping items-center justify-center rounded-full bg-green-500"}),e("div",{className:"absolute inset-0 z-10 m-auto h-3 w-3 rounded-full bg-green-500"})]}),e("button",{className:"visible absolute right-2.5 top-2.5 rounded-full p-1 transition-colors hover:bg-gray-100 active:scale-90 group-hover:visible sm:invisible",onClick:o,children:e(l,{className:"h-4 w-4 text-gray-500"})}),t(h,{href:"https://d.to/ph?utm_source=badge-featured&utm_medium=badge&utm_souce=badge-dub",target:"_blank",children:[e(c,{src:"https://assets.dub.co/misc/product-hunt.png",alt:"Product Hunt",width:100,height:100,className:"h-24"}),t("div",{className:"-mt-2 px-4",children:[e("p",{className:"mb-1 font-medium text-gray-800",children:"We're live on Product Hunt!"}),e("p",{className:"text-sm text-gray-500 underline-offset-4 transition-all group-hover:text-gray-800 group-hover:underline",children:"Join the conversation and help us get to #1 Product of the Month \u2197"})]})]})]},"popup")};export{s as a,H as b,_ as c};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{g as l}from"./chunk-XFGV73AQ.mjs";import{jsx as t,jsxs as e}from"react/jsx-runtime";function o({className:a}){return e("div",{className:"group relative flex items-center",children:[t("svg",{className:(void 0)("absolute h-4 w-4 transition-all group-hover:translate-x-1 group-hover:opacity-0",a),xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16",width:"16",height:"16",children:t("path",{fillRule:"evenodd",d:"M6.22 3.22a.75.75 0 011.06 0l4.25 4.25a.75.75 0 010 1.06l-4.25 4.25a.75.75 0 01-1.06-1.06L9.94 8 6.22 4.28a.75.75 0 010-1.06z"})}),t("svg",{className:`${a||"h-4 w-4"} absolute opacity-0 transition-all group-hover:translate-x-1 group-hover:opacity-100`,xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16",width:"16",height:"16",children:t("path",{fillRule:"evenodd",d:"M8.22 2.97a.75.75 0 011.06 0l4.25 4.25a.75.75 0 010 1.06l-4.25 4.25a.75.75 0 01-1.06-1.06l2.97-2.97H3.75a.75.75 0 010-1.5h7.44L8.22 4.03a.75.75 0 010-1.06z"})})]})}export{o as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as s}from"./chunk-5XABV2G2.mjs";import{Slot as g}from"@radix-ui/react-slot";import w,{useEffect as y,useState as R}from"react";import{jsx as V}from"react/jsx-runtime";var F=w.forwardRef(({asChild:m,className:u,children:e,duration:t=250,as:c="span",...i},p)=>{let[n,l]=R(Number(e));return y(()=>{if(isNaN(Number(e))){console.warn("CountingNumbers expects a numeric value as children.");return}let f=Number(e),o=n,N=f,d=performance.now(),r=()=>{let b=performance.now(),a=Math.min((b-d)/t,1),C=o+(N-o)*a;l(Math.round(C)),a<1&&requestAnimationFrame(r)};requestAnimationFrame(r)},[e,t]),V(m?g:c,{ref:p,className:u,...i,children:s(n)})});F.displayName="CountingNumbers";export{F as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as v}from"./chunk-A75RGEGE.mjs";import{a as N}from"./chunk-IWUL7VK4.mjs";import{a as x}from"./chunk-5RYCMD7D.mjs";import{a as f}from"./chunk-RW6VYU27.mjs";import{a as y}from"./chunk-VWVFVW4E.mjs";import{a as h}from"./chunk-T4YFARK5.mjs";import{a as b}from"./chunk-BDMXJXHH.mjs";import{f as u,h as l,j as g,k as p}from"./chunk-GI3GN7Q7.mjs";import m from"@vercel/analytics";import C from"next/image";import s from"next/link";import{useParams as T}from"next/navigation";import{useEffect as P,useState as k}from"react";import R from"swr";import{jsx as e,jsxs as t}from"react/jsx-runtime";var n={features:v.map(({shortTitle:r,slug:o})=>({name:r,href:`/${o}`})),product:[{name:"Blog",href:"/blog"},{name:"Changelog",href:"/changelog"},{name:"Customers",href:"/customers"},{name:"Pricing",href:"/pricing"},{name:"Enterprise",href:"/enterprise"},{name:"Help Center",href:"/help"}],compare:p.map(({name:r,slug:o})=>({name:r,href:`/compare/${o}`})),legal:[{name:"Privacy",href:"/privacy"},{name:"Terms",href:"/terms"},{name:"Abuse",href:"/abuse"}],tools:g.map(({name:r,slug:o})=>({name:r,href:`/tools/${o}`}))};function D(){let{domain:r="dub.co"}=T(),o=a=>r==="dub.co"?a:`https://dub.co${a}`;return e("footer",{children:t(N,{className:"relative z-10 overflow-hidden border border-b-0 border-gray-200 bg-white/50 pb-60 pt-16 backdrop-blur-lg md:rounded-t-2xl",children:[t("div",{className:"xl:grid xl:grid-cols-3 xl:gap-8",children:[t("div",{className:"space-y-6",children:[t(s,{href:o("/"),...r!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:r,medium:"footer item (logo)"})}},children:[t("span",{className:"sr-only",children:[process.env.NEXT_PUBLIC_APP_NAME," Logo"]}),e(f,{className:"h-7 text-gray-800"})]}),e("p",{className:"max-w-xs text-sm text-gray-500",children:"Giving modern marketing teams superpowers with short links that stand out."}),t("p",{className:"text-sm leading-5 text-gray-400",children:["\xA9 ",new Date().getFullYear()," Dub Technologies, Inc."]}),t("div",{className:"flex items-center space-x-3",children:[t("a",{href:"https://twitter.com/dubdotco",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"Twitter"}),e(y,{className:"h-4 w-4 text-gray-600"})]}),t("a",{href:"https://github.com/dubinc/dub",target:"_blank",rel:"noreferrer",className:"rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"Github"}),e(h,{className:"h-4 w-4 text-gray-600"})]}),t("a",{href:"https://www.linkedin.com/company/dubinc",target:"_blank",rel:"noreferrer",className:"rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"LinkedIn"}),e(b,{className:"h-4 w-4 text-gray-600"})]}),t("a",{href:"https://www.youtube.com/@dubdotco",target:"_blank",rel:"noreferrer",className:"rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"YouTube"}),e(x,{className:"h-4 w-4 text-gray-600"})]})]}),e($,{})]}),t("div",{className:"mt-16 grid grid-cols-2 gap-4 xl:col-span-2 xl:mt-0",children:[t("div",{className:"md:grid md:grid-cols-2",children:[t("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Features"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:n.features.map(a=>e("li",{children:e(s,{href:o(a.href),...r!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:r,medium:`footer item (${a.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.name))})]}),t("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Product"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:n.product.map(a=>e("li",{children:e(s,{href:o(a.href),...r!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:r,medium:`footer item (${a.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.name))})]})]}),t("div",{className:"md:grid md:grid-cols-2",children:[t("div",{className:"flex flex-col space-y-8",children:[t("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Compare"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:n.compare.map(a=>e("li",{children:e(s,{href:o(a.href),...r!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:r,medium:`footer item (${a.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.name))})]}),t("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Legal"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:n.legal.map(a=>e("li",{children:e(s,{href:o(a.href),...r!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:r,medium:`footer item (${a.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.name))})]})]}),t("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Tools"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:n.tools.map(a=>e("li",{children:e(s,{href:o(a.href),...r!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:r,medium:`footer item (${a.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.name))})]})]})]})]}),e(C,{src:"https://assets.dub.co/footer.png",alt:"Dub Technologies, Inc. Logo",width:1959,height:625,className:"pointer-events-none absolute inset-x-0 bottom-0 z-0"})]})})}function $(){let{data:r}=R("https://status.dub.co/api/v1/summary",u),[o,a]=k("bg-gray-200"),[i,c]=k("Loading status...");return P(()=>{if(!r)return;let{ongoing_incidents:d}=r;if(d.length>0){let{current_worst_impact:w,name:L}=d[0],_=w==="degraded_performance"?"bg-yellow-500":"bg-red-500";c(L),a(_)}else c("All systems operational"),a("bg-green-500")},[r]),t(s,{href:"https://status.dub.co",target:"_blank",className:"group flex max-w-fit items-center space-x-2 rounded-md border border-gray-200 bg-white px-3 py-2 transition-colors hover:bg-gray-100",children:[t("div",{className:"relative h-3 w-3",children:[e("div",{className:l("absolute inset-0 m-auto h-3 w-3 animate-ping items-center justify-center rounded-full group-hover:animate-none",o,i==="Loading status..."&&"animate-none")}),e("div",{className:l("absolute inset-0 z-10 m-auto h-3 w-3 rounded-full",o)})]}),e("p",{className:"text-sm font-medium text-gray-800",children:i})]})}export{D as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{b as s}from"./chunk-2ADAYQMU.mjs";import{a as l}from"./chunk-HFSH7TBM.mjs";import{g as t}from"./chunk-HH5T5KBM.mjs";import{jsx as o,jsxs as u}from"react/jsx-runtime";function h({text:g,variant:e="primary",className:a,loading:d,icon:i,shortcut:r,disabledTooltip:b,...n}){return b?o(s,{content:b,children:u("div",{className:(void 0)("flex h-10 w-full cursor-not-allowed items-center justify-center space-x-2 rounded-md border border-gray-200 bg-gray-100 px-4 text-sm text-gray-400 transition-all focus:outline-none",{"border-transparent bg-transparent":e.endsWith("outline")},a),children:[i,o("p",{className:(void 0)(r&&"flex-1 text-left"),children:g}),r&&o("kbd",{className:(void 0)("hidden rounded bg-gray-200 px-2 py-0.5 text-xs font-light text-gray-400 md:inline-block",{"bg-gray-100":e.endsWith("outline")}),children:r})]})}):u("button",{type:n.onClick?"button":"submit",className:(void 0)("group flex h-10 w-full items-center justify-center space-x-2 rounded-md border px-4 text-sm transition-all",n.disabled||d?"cursor-not-allowed border-gray-200 bg-gray-100 text-gray-400":{"border-black bg-black text-white hover:bg-white hover:text-black":e==="primary","border-gray-200 bg-white text-gray-600 hover:bg-gray-100":e==="secondary","border-transparent text-gray-500 duration-75 hover:bg-gray-100":e==="outline","border-blue-500 bg-blue-500 text-white hover:bg-white hover:text-blue-500":e==="success","border-red-500 bg-red-500 text-white hover:bg-white hover:text-red-500":e==="danger","border-transparent bg-white text-red-500 hover:bg-red-600 hover:text-white":e==="danger-outline"},a),disabled:n.disabled||d,...n,children:[d?o(l,{}):i||null,g&&o("p",{className:(void 0)(r&&"flex-1 text-left"),children:g}),r&&o("kbd",{className:(void 0)("hidden rounded px-2 py-0.5 text-xs font-light transition-all duration-75 md:inline-block",{"bg-gray-700 text-gray-400 group-hover:bg-gray-100 group-hover:text-gray-500":e==="primary","bg-gray-200 text-gray-400 group-hover:bg-gray-100 group-hover:text-gray-500":e==="secondary","bg-gray-100 text-gray-500 group-hover:bg-gray-200":e==="outline","bg-red-100 text-red-600 group-hover:bg-red-500 group-hover:text-white":e==="danger-outline"}),children:r})]})}export{h as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{g as n}from"./chunk-XFGV73AQ.mjs";import g from"next/image";import{useEffect as i,useState as r}from"react";import{jsx as u}from"react/jsx-runtime";function v(t){let[o,c]=r(!0),[l,e]=r(t.src);i(()=>e(t.src),[t.src]);let m=s=>{c(!1);let a=s.target;a.naturalWidth<=16&&a.naturalHeight<=16&&e(`https://avatar.vercel.sh/${encodeURIComponent(t.alt)}`)};return u(g,{...t,src:l,alt:t.alt,className:(void 0)(o?"blur-[2px]":"blur-0",t.className),onLoad:m,onError:()=>{e(`https://avatar.vercel.sh/${encodeURIComponent(t.alt)}`)},unoptimized:!0})}export{v as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as v}from"./chunk-A75RGEGE.mjs";import{a as N}from"./chunk-IWUL7VK4.mjs";import{a as x}from"./chunk-3N5PGMX7.mjs";import{a as f}from"./chunk-RW6VYU27.mjs";import{a as y}from"./chunk-VWVFVW4E.mjs";import{a as h}from"./chunk-T4YFARK5.mjs";import{a as b}from"./chunk-BDMXJXHH.mjs";import{f as u,h as l,j as g,k as p}from"./chunk-GI3GN7Q7.mjs";import m from"@vercel/analytics";import C from"next/image";import s from"next/link";import{useParams as T}from"next/navigation";import{useEffect as P,useState as k}from"react";import R from"swr";import{jsx as e,jsxs as t}from"react/jsx-runtime";var n={features:v.map(({shortTitle:a,slug:o})=>({name:a,href:`/${o}`})),product:[{name:"Blog",href:"/blog"},{name:"Changelog",href:"/changelog"},{name:"Customers",href:"/customers"},{name:"Pricing",href:"/pricing"},{name:"Enterprise",href:"/enterprise"},{name:"Help Center",href:"/help"}],compare:p.map(({name:a,slug:o})=>({name:a,href:`/compare/${o}`})),legal:[{name:"Privacy",href:"/privacy"},{name:"Terms",href:"/terms"},{name:"Abuse",href:"/abuse"}],tools:g.map(({name:a,slug:o})=>({name:a,href:`/tools/${o}`}))};function D(){let{domain:a="dub.co"}=T(),o=r=>a==="dub.co"?r:`https://dub.co${r}`;return e("footer",{children:t(N,{className:"relative z-10 overflow-hidden border border-b-0 border-gray-200 bg-white/50 pb-60 pt-16 backdrop-blur-lg md:rounded-t-2xl",children:[t("div",{className:"xl:grid xl:grid-cols-3 xl:gap-8",children:[t("div",{className:"space-y-6",children:[t(s,{href:o("/"),...a!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:a,medium:"footer item (logo)"})}},children:[t("span",{className:"sr-only",children:[process.env.NEXT_PUBLIC_APP_NAME," Logo"]}),e(f,{className:"h-7 text-gray-800"})]}),e("p",{className:"max-w-xs text-sm text-gray-500",children:"Giving modern marketing teams superpowers with short links that stand out."}),t("p",{className:"text-sm leading-5 text-gray-400",children:["\xA9 ",new Date().getFullYear()," Dub Technologies, Inc."]}),t("div",{className:"flex items-center space-x-3",children:[t("a",{href:"https://twitter.com/dubdotco",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"Twitter"}),e(y,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-black"})]}),t("a",{href:"https://github.com/dubinc/dub",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"Github"}),e(h,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-black"})]}),t("a",{href:"https://www.linkedin.com/company/dubinc",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"LinkedIn"}),e(b,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-[#0077b5]"})]}),t("a",{href:"https://www.youtube.com/@dubdotco",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"YouTube"}),e(x,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-[#ff0000]"})]})]}),e($,{})]}),t("div",{className:"mt-16 grid grid-cols-2 gap-4 xl:col-span-2 xl:mt-0",children:[t("div",{className:"md:grid md:grid-cols-2",children:[t("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Features"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:n.features.map(r=>e("li",{children:e(s,{href:o(r.href),...a!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:a,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:r.name})},r.name))})]}),t("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Product"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:n.product.map(r=>e("li",{children:e(s,{href:o(r.href),...a!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:a,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:r.name})},r.name))})]})]}),t("div",{className:"md:grid md:grid-cols-2",children:[t("div",{className:"flex flex-col space-y-8",children:[t("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Compare"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:n.compare.map(r=>e("li",{children:e(s,{href:o(r.href),...a!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:a,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:r.name})},r.name))})]}),t("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Legal"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:n.legal.map(r=>e("li",{children:e(s,{href:o(r.href),...a!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:a,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:r.name})},r.name))})]})]}),t("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Tools"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:n.tools.map(r=>e("li",{children:e(s,{href:o(r.href),...a!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:a,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:r.name})},r.name))})]})]})]})]}),e(C,{src:"https://assets.dub.co/footer.png",alt:"Dub Technologies, Inc. Logo",width:1959,height:625,className:"pointer-events-none absolute inset-x-0 bottom-0 z-0"})]})})}function $(){let{data:a}=R("https://status.dub.co/api/v1/summary",u),[o,r]=k("bg-gray-200"),[i,c]=k("Loading status...");return P(()=>{if(!a)return;let{ongoing_incidents:d}=a;if(d.length>0){let{current_worst_impact:w,name:L}=d[0],_=w==="degraded_performance"?"bg-yellow-500":"bg-red-500";c(L),r(_)}else c("All systems operational"),r("bg-green-500")},[a]),t(s,{href:"https://status.dub.co",target:"_blank",className:"group flex max-w-fit items-center space-x-2 rounded-md border border-gray-200 bg-white px-3 py-2 transition-colors hover:bg-gray-100",children:[t("div",{className:"relative h-3 w-3",children:[e("div",{className:l("absolute inset-0 m-auto h-3 w-3 animate-ping items-center justify-center rounded-full group-hover:animate-none",o,i==="Loading status..."&&"animate-none")}),e("div",{className:l("absolute inset-0 z-10 m-auto h-3 w-3 rounded-full",o)})]}),e("p",{className:"text-sm font-medium text-gray-800",children:i})]})}export{D as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{g as l}from"./chunk-5XABV2G2.mjs";import{jsx as t,jsxs as e}from"react/jsx-runtime";function o({className:a}){return e("div",{className:"group relative flex items-center",children:[t("svg",{className:l("absolute h-4 w-4 transition-all group-hover:translate-x-1 group-hover:opacity-0",a),xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16",width:"16",height:"16",children:t("path",{fillRule:"evenodd",d:"M6.22 3.22a.75.75 0 011.06 0l4.25 4.25a.75.75 0 010 1.06l-4.25 4.25a.75.75 0 01-1.06-1.06L9.94 8 6.22 4.28a.75.75 0 010-1.06z"})}),t("svg",{className:`${a||"h-4 w-4"} absolute opacity-0 transition-all group-hover:translate-x-1 group-hover:opacity-100`,xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16",width:"16",height:"16",children:t("path",{fillRule:"evenodd",d:"M8.22 2.97a.75.75 0 011.06 0l4.25 4.25a.75.75 0 010 1.06l-4.25 4.25a.75.75 0 01-1.06-1.06l2.97-2.97H3.75a.75.75 0 010-1.5h7.44L8.22 4.03a.75.75 0 010-1.06z"})})]})}export{o as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{b as s}from"./chunk-Q4FER62O.mjs";import{a as l}from"./chunk-K54LIU5G.mjs";import{f as t}from"./chunk-CJTBJCEN.mjs";import{jsx as o,jsxs as u}from"react/jsx-runtime";function h({text:g,variant:e="primary",className:a,loading:d,icon:i,shortcut:r,disabledTooltip:b,...n}){return b?o(s,{content:b,children:u("div",{className:t("flex h-10 w-full cursor-not-allowed items-center justify-center space-x-2 rounded-md border border-gray-200 bg-gray-100 px-4 text-sm text-gray-400 transition-all focus:outline-none",{"border-transparent bg-transparent":e.endsWith("outline")},a),children:[i,o("p",{className:t(r&&"flex-1 text-left"),children:g}),r&&o("kbd",{className:t("hidden rounded bg-gray-200 px-2 py-0.5 text-xs font-light text-gray-400 md:inline-block",{"bg-gray-100":e.endsWith("outline")}),children:r})]})}):u("button",{type:n.onClick?"button":"submit",className:t("group flex h-10 w-full items-center justify-center space-x-2 rounded-md border px-4 text-sm transition-all",n.disabled||d?"cursor-not-allowed border-gray-200 bg-gray-100 text-gray-400":{"border-black bg-black text-white hover:bg-white hover:text-black":e==="primary","border-gray-200 bg-white text-gray-600 hover:bg-gray-100":e==="secondary","border-transparent text-gray-500 duration-75 hover:bg-gray-100":e==="outline","border-blue-500 bg-blue-500 text-white hover:bg-white hover:text-blue-500":e==="success","border-red-500 bg-red-500 text-white hover:bg-white hover:text-red-500":e==="danger","border-transparent bg-white text-red-500 hover:bg-red-600 hover:text-white":e==="danger-outline"},a),disabled:n.disabled||d,...n,children:[d?o(l,{}):i||null,g&&o("p",{className:t(r&&"flex-1 text-left"),children:g}),r&&o("kbd",{className:t("hidden rounded px-2 py-0.5 text-xs font-light transition-all duration-75 md:inline-block",{"bg-gray-700 text-gray-400 group-hover:bg-gray-100 group-hover:text-gray-500":e==="primary","bg-gray-200 text-gray-400 group-hover:bg-gray-100 group-hover:text-gray-500":e==="secondary","bg-gray-100 text-gray-500 group-hover:bg-gray-200":e==="outline","bg-red-100 text-red-600 group-hover:bg-red-500 group-hover:text-white":e==="danger-outline"}),children:r})]})}export{h as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{g as e}from"./chunk-5XABV2G2.mjs";import{jsx as o}from"react/jsx-runtime";function c({className:r,children:a}){return o("div",{className:e("mx-auto w-full max-w-screen-xl px-2.5 lg:px-20",r),children:a})}export{c as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{g as r}from"./chunk-KSCNDDSQ.mjs";import*as e from"@radix-ui/react-accordion";import{ChevronDown as m}from"lucide-react";import*as c from"react";import{jsx as n,jsxs as l}from"react/jsx-runtime";var v=e.Root,d=c.forwardRef(({className:o,...t},i)=>n(e.Item,{ref:i,className:r("border-b border-b-slate-200 py-3 last:border-none",o),...t}));d.displayName="AccordionItem";var s=c.forwardRef(({className:o,children:t,...i},a)=>n(e.Header,{className:"flex",children:l(e.Trigger,{ref:a,className:r("flex flex-1 items-center justify-between font-medium transition-all sm:text-lg [&[data-state=open]>svg]:rotate-180",o),...i,children:[t,n(m,{className:"h-5 w-5 flex-none transition-transform duration-300"})]})}));s.displayName=e.Trigger.displayName;var f=c.forwardRef(({className:o,children:t,...i},a)=>n(e.Content,{ref:a,className:r("data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm text-gray-500 transition-all sm:text-base",o),...i,children:t}));f.displayName=e.Content.displayName;export{v as a,d as b,s as c,f as d};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as u}from"./chunk-3UTRAQWG.mjs";import{a as p}from"./chunk-A75RGEGE.mjs";import{a as d,c as t,g as n}from"./chunk-IDIODIUK.mjs";import{ChevronDown as N,Menu as v,X as w}from"lucide-react";import i from"next/link";import{useParams as x}from"next/navigation";import{useEffect as k,useState as b}from"react";import L from"swr";import{Fragment as h,jsx as e,jsxs as s}from"react/jsx-runtime";function D(){let{domain:r="dub.co"}=x(),[a,c]=b(!1),[m,y]=b(!1);k(()=>{a?document.body.style.overflow="hidden":document.body.style.overflow="auto"},[a]);let{data:f}=L(r==="dub.co"&&"/api/auth/session",d,{dedupingInterval:6e4});return s(h,{children:[e("button",{onClick:()=>c(!a),className:(void 0)("fixed right-3 top-3 z-40 rounded-full p-2 transition-colors duration-200 hover:bg-gray-200 focus:outline-none active:bg-gray-300 lg:hidden",a&&"hover:bg-gray-100 active:bg-gray-200"),children:a?e(w,{className:"h-5 w-5 text-gray-600"}):e(v,{className:"h-5 w-5 text-gray-600"})}),e("nav",{className:(void 0)("fixed inset-0 z-20 hidden w-full bg-white px-5 py-16 lg:hidden",a&&"block"),children:s("ul",{className:"grid divide-y divide-gray-200",children:[s("li",{className:"py-3",children:[s("button",{className:"flex w-full justify-between",onClick:()=>y(!m),children:[e("p",{className:"font-semibold",children:"Features"}),e(N,{className:(void 0)("h-5 w-5 text-gray-500 transition-all",m&&"rotate-180")})]}),m&&e("div",{className:"grid gap-4 overflow-hidden py-4",children:p.map(({slug:l,icon:o,shortTitle:g})=>s(i,{href:r==="dub.co"?`/${l}`:`https://dub.co/${l}`,onClick:()=>c(!1),className:"flex w-full space-x-2",children:[e(o,{className:"h-5 w-5 text-gray-500"}),e("span",{className:"text-sm",children:g})]},l))})]}),u.map(({name:l,slug:o})=>e("li",{className:"py-3",children:e(i,{href:r==="dub.co"?`/${o}`:`https://dub.co/${o}`,onClick:()=>c(!1),className:"flex w-full font-semibold capitalize",children:l})},o)),f&&Object.keys(f).length>0?e("li",{className:"py-3",children:e(i,{href:void 0,className:"flex w-full font-semibold capitalize",children:"Dashboard"})}):s(h,{children:[e("li",{className:"py-3",children:e(i,{href:`${void 0}/login`,className:"flex w-full font-semibold capitalize",children:"Log in"})}),e("li",{className:"py-3",children:e(i,{href:`${void 0}/register`,className:"flex w-full font-semibold capitalize",children:"Sign Up"})})]})]})})]})}export{D as a};