@dub/ui 0.0.10 → 0.0.11

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 (422) hide show
  1. package/dist/accordion.mjs +1 -1
  2. package/dist/avatar.mjs +1 -1
  3. package/dist/background.mjs +1 -1
  4. package/dist/badge.d.ts +1 -1
  5. package/dist/badge.mjs +1 -1
  6. package/dist/button.mjs +1 -1
  7. package/dist/chunk-34QZWZ66.mjs +2 -0
  8. package/dist/{chunk-RNKR6YN2.mjs → chunk-3QDYTCLM.mjs} +1 -1
  9. package/dist/{chunk-4GBYDO2W.mjs → chunk-ALKMEJZH.mjs} +1 -1
  10. package/dist/{chunk-2CR6AI65.mjs → chunk-BT3NG2ML.mjs} +1 -1
  11. package/dist/chunk-CBIZ6F4N.mjs +2 -0
  12. package/dist/{chunk-5UODCYNT.mjs → chunk-DYPAN6S2.mjs} +1 -1
  13. package/dist/{chunk-FRGZUJQA.mjs → chunk-EIJALNVV.mjs} +1 -1
  14. package/dist/{chunk-4OESW4SN.mjs → chunk-EKM2VYVY.mjs} +1 -1
  15. package/dist/{chunk-I57LZ6JE.mjs → chunk-F4CMPQYR.mjs} +1 -1
  16. package/dist/chunk-FQCMMULB.mjs +2 -0
  17. package/dist/chunk-FUARWWSQ.mjs +2 -0
  18. package/dist/{chunk-KPHCANWX.mjs → chunk-GPRSZCSS.mjs} +1 -1
  19. package/dist/chunk-OWWISQCJ.mjs +2 -0
  20. package/dist/{chunk-AYEBTJIP.mjs → chunk-QALLFNJG.mjs} +1 -1
  21. package/dist/{chunk-L5KPIGCR.mjs → chunk-RXBP3K6C.mjs} +1 -1
  22. package/dist/chunk-SRMSHAMY.mjs +2 -0
  23. package/dist/{chunk-C36I25XS.mjs → chunk-V6AHQUAL.mjs} +1 -1
  24. package/dist/chunk-VSTIDWB3.mjs +2 -0
  25. package/dist/chunk-WVSAM7GQ.mjs +8 -0
  26. package/dist/{chunk-3BKA5UEZ.mjs → chunk-XCZIW2HS.mjs} +1 -1
  27. package/dist/{chunk-WRYK2ZBF.mjs → chunk-XHWKWQFP.mjs} +1 -1
  28. package/dist/{chunk-4B27GTB4.mjs → chunk-Z5AE5E5J.mjs} +1 -1
  29. package/dist/copy-button.mjs +1 -1
  30. package/dist/footer.mjs +1 -1
  31. package/dist/form.mjs +1 -1
  32. package/dist/icon-menu.mjs +1 -1
  33. package/dist/icons/copy.mjs +1 -1
  34. package/dist/icons/expanding-arrow.mjs +1 -1
  35. package/dist/icons/facebook.mjs +1 -1
  36. package/dist/icons/github.mjs +1 -1
  37. package/dist/icons/google.mjs +1 -1
  38. package/dist/icons/index.mjs +1 -1
  39. package/dist/icons/linkedin.mjs +1 -1
  40. package/dist/icons/loading-circle.mjs +1 -1
  41. package/dist/icons/loading-dots.mjs +1 -1
  42. package/dist/icons/loading-spinner.mjs +1 -1
  43. package/dist/icons/logo.mjs +1 -1
  44. package/dist/icons/logotype.mjs +1 -1
  45. package/dist/icons/magic.mjs +1 -1
  46. package/dist/icons/photo.mjs +1 -1
  47. package/dist/icons/tick.mjs +1 -1
  48. package/dist/icons/twitter.mjs +1 -1
  49. package/dist/icons/unsplash.mjs +1 -1
  50. package/dist/index.mjs +1 -1
  51. package/dist/link-preview.mjs +1 -1
  52. package/dist/max-width-wrapper.mjs +1 -1
  53. package/dist/modal.mjs +1 -1
  54. package/dist/nav-mobile.mjs +1 -1
  55. package/dist/nav.mjs +1 -1
  56. package/dist/popover.mjs +1 -1
  57. package/dist/switch.mjs +1 -1
  58. package/dist/tab-select.mjs +1 -1
  59. package/dist/tooltip.mjs +1 -1
  60. package/package.json +6 -3
  61. package/dist/accordion.d.mts +0 -9
  62. package/dist/avatar.d.mts +0 -15
  63. package/dist/background/index.css +0 -1
  64. package/dist/background/index.d.ts +0 -5
  65. package/dist/background/index.mjs +0 -2
  66. package/dist/background.d.mts +0 -5
  67. package/dist/badge.d.mts +0 -12
  68. package/dist/blur-image.d.ts +0 -6
  69. package/dist/blur-image.mjs +0 -2
  70. package/dist/button.css +0 -1
  71. package/dist/button.d.mts +0 -13
  72. package/dist/chunk-244OSE43.mjs +0 -2
  73. package/dist/chunk-25PGVVAM.mjs +0 -2
  74. package/dist/chunk-2FLE5ENB.mjs +0 -2
  75. package/dist/chunk-2K4UXZ2O.mjs +0 -2
  76. package/dist/chunk-2KZFWJJX.mjs +0 -2
  77. package/dist/chunk-2O5K4D5Q.mjs +0 -2
  78. package/dist/chunk-2SFV6FGR.mjs +0 -2
  79. package/dist/chunk-2YOIFRK2.mjs +0 -2
  80. package/dist/chunk-2ZQKPJ36.mjs +0 -2
  81. package/dist/chunk-33QWEDY7.mjs +0 -8
  82. package/dist/chunk-34KNHUS2.mjs +0 -8
  83. package/dist/chunk-3GU5I4KI.mjs +0 -2
  84. package/dist/chunk-3P45QYZN.mjs +0 -3
  85. package/dist/chunk-3Q6B4UEP.mjs +0 -2
  86. package/dist/chunk-3S3WMTNJ.mjs +0 -2
  87. package/dist/chunk-3Y5WGFFC.mjs +0 -2
  88. package/dist/chunk-3YDMSFPQ.mjs +0 -2
  89. package/dist/chunk-3ZOR7HDE.mjs +0 -2
  90. package/dist/chunk-3ZYSUBXB.mjs +0 -2
  91. package/dist/chunk-4555QYZ6.mjs +0 -2
  92. package/dist/chunk-46KYE2TK.mjs +0 -2
  93. package/dist/chunk-4AZEWR5Q.mjs +0 -2
  94. package/dist/chunk-4JKAA2S4.mjs +0 -2
  95. package/dist/chunk-4JXT2OCG.mjs +0 -2
  96. package/dist/chunk-4QDUUMAW.mjs +0 -2
  97. package/dist/chunk-4SI5X5GP.mjs +0 -2
  98. package/dist/chunk-4XBYRIVX.mjs +0 -2
  99. package/dist/chunk-4Y22ZONT.mjs +0 -2
  100. package/dist/chunk-4ZSCYPP2.mjs +0 -2
  101. package/dist/chunk-56D4WGXU.mjs +0 -2
  102. package/dist/chunk-56DTUGDB.mjs +0 -2
  103. package/dist/chunk-5A2BHTHD.mjs +0 -2
  104. package/dist/chunk-5JYRCHLM.mjs +0 -2
  105. package/dist/chunk-5O4OBNYJ.mjs +0 -2
  106. package/dist/chunk-5SGX2GJA.mjs +0 -2
  107. package/dist/chunk-5VNTIKQZ.mjs +0 -2
  108. package/dist/chunk-5WZZBGKJ.mjs +0 -2
  109. package/dist/chunk-6C6ANQBQ.mjs +0 -2
  110. package/dist/chunk-6DKNMNDW.mjs +0 -2
  111. package/dist/chunk-6GJY5OO4.mjs +0 -2
  112. package/dist/chunk-6KTUEBPU.mjs +0 -2
  113. package/dist/chunk-6S57E6BS.mjs +0 -2
  114. package/dist/chunk-6TNUMRJD.mjs +0 -3
  115. package/dist/chunk-7AQLFQZX.mjs +0 -2
  116. package/dist/chunk-7FBJXRA5.mjs +0 -2
  117. package/dist/chunk-7FTHTS2N.mjs +0 -2
  118. package/dist/chunk-7GWUKTP3.mjs +0 -2
  119. package/dist/chunk-7H5OX7XA.mjs +0 -2
  120. package/dist/chunk-7HABTH45.mjs +0 -2
  121. package/dist/chunk-7JAMW2DV.mjs +0 -2
  122. package/dist/chunk-7LB36OSM.mjs +0 -2
  123. package/dist/chunk-7O2ZOJNB.mjs +0 -2
  124. package/dist/chunk-7QQZYSZX.mjs +0 -2
  125. package/dist/chunk-7RM43KIQ.mjs +0 -2
  126. package/dist/chunk-7UOWPARW.mjs +0 -2
  127. package/dist/chunk-A3PUDJ7V.mjs +0 -1
  128. package/dist/chunk-AACJEMFS.mjs +0 -2
  129. package/dist/chunk-ABLQYIFT.mjs +0 -2
  130. package/dist/chunk-ALFYYHAX.mjs +0 -2
  131. package/dist/chunk-AUVV5HUC.mjs +0 -2
  132. package/dist/chunk-AWTFGVB4.mjs +0 -2
  133. package/dist/chunk-AZD2JXYJ.mjs +0 -2
  134. package/dist/chunk-B3VKF2VA.mjs +0 -2
  135. package/dist/chunk-B4HABAR3.mjs +0 -2
  136. package/dist/chunk-B6VWIQYU.mjs +0 -3
  137. package/dist/chunk-B7YPSVHM.mjs +0 -2
  138. package/dist/chunk-BCILXFZH.mjs +0 -2
  139. package/dist/chunk-BHTYGPAI.mjs +0 -2
  140. package/dist/chunk-BIFPQJQ5.mjs +0 -2
  141. package/dist/chunk-BPS3E7K6.mjs +0 -2
  142. package/dist/chunk-BZJK6BT5.mjs +0 -2
  143. package/dist/chunk-BZY4AURF.mjs +0 -2
  144. package/dist/chunk-C33FCZ32.mjs +0 -2
  145. package/dist/chunk-C3ZLFBBA.mjs +0 -1
  146. package/dist/chunk-C4PESNHJ.mjs +0 -2
  147. package/dist/chunk-C5IOO5UD.mjs +0 -2
  148. package/dist/chunk-CBHHIJGG.mjs +0 -2
  149. package/dist/chunk-CCKZ5QDB.mjs +0 -2
  150. package/dist/chunk-CFCHBBAJ.mjs +0 -2
  151. package/dist/chunk-CJLSWYVX.mjs +0 -2
  152. package/dist/chunk-CMCBEA3Q.mjs +0 -2
  153. package/dist/chunk-D2Q6GSHJ.mjs +0 -2
  154. package/dist/chunk-D3NFRR3I.mjs +0 -2
  155. package/dist/chunk-DG5QULNJ.mjs +0 -2
  156. package/dist/chunk-DHJFK2S6.mjs +0 -2
  157. package/dist/chunk-DIJAPN4A.mjs +0 -2
  158. package/dist/chunk-DL45ZZDE.mjs +0 -2
  159. package/dist/chunk-DMNL3RKY.mjs +0 -2
  160. package/dist/chunk-DNZ5INSW.mjs +0 -2
  161. package/dist/chunk-DOE7DSDC.mjs +0 -2
  162. package/dist/chunk-DZBC27CZ.mjs +0 -2
  163. package/dist/chunk-E2TMZ3II.mjs +0 -2
  164. package/dist/chunk-E5ZJGOXG.mjs +0 -2
  165. package/dist/chunk-ECNXBGSQ.mjs +0 -2
  166. package/dist/chunk-EFQSHW3O.mjs +0 -2
  167. package/dist/chunk-EGZBNRFB.mjs +0 -2
  168. package/dist/chunk-EL4XTTMC.mjs +0 -2
  169. package/dist/chunk-EY55E5DB.mjs +0 -2
  170. package/dist/chunk-F6OPUNTW.mjs +0 -2
  171. package/dist/chunk-F6RVKSBN.mjs +0 -2
  172. package/dist/chunk-FMOY54OP.mjs +0 -2
  173. package/dist/chunk-FN3LMKBG.mjs +0 -2
  174. package/dist/chunk-FO6VIUXZ.mjs +0 -2
  175. package/dist/chunk-FR336PIX.mjs +0 -2
  176. package/dist/chunk-FV4B2NDA.mjs +0 -2
  177. package/dist/chunk-G4OA5JMW.mjs +0 -2
  178. package/dist/chunk-G4PPRIHO.mjs +0 -2
  179. package/dist/chunk-GA4JDGWI.mjs +0 -2
  180. package/dist/chunk-GF6NH2NZ.mjs +0 -2
  181. package/dist/chunk-GFMXORYG.mjs +0 -2
  182. package/dist/chunk-GR726Z6I.mjs +0 -2
  183. package/dist/chunk-GRAJLMHF.mjs +0 -2
  184. package/dist/chunk-GU5N46TF.mjs +0 -2
  185. package/dist/chunk-GVANYQ67.mjs +0 -1
  186. package/dist/chunk-GVCIDQOF.mjs +0 -2
  187. package/dist/chunk-GXDFY5X2.mjs +0 -2
  188. package/dist/chunk-HCV274NJ.mjs +0 -2
  189. package/dist/chunk-HFY7GEA4.mjs +0 -2
  190. package/dist/chunk-HI3TSQ5W.mjs +0 -2
  191. package/dist/chunk-HMVFMHDB.mjs +0 -2
  192. package/dist/chunk-HNCJ4TJR.mjs +0 -2
  193. package/dist/chunk-HRN3EQEB.mjs +0 -2
  194. package/dist/chunk-HVUZJJ5O.mjs +0 -2
  195. package/dist/chunk-HWUBBMWD.mjs +0 -2
  196. package/dist/chunk-HZBYDQAF.mjs +0 -2
  197. package/dist/chunk-I23BSUWS.mjs +0 -2
  198. package/dist/chunk-IG7XYDDR.mjs +0 -2
  199. package/dist/chunk-IHPV7RPK.mjs +0 -2
  200. package/dist/chunk-IJBZR4LN.mjs +0 -8
  201. package/dist/chunk-IJKZ5HB5.mjs +0 -2
  202. package/dist/chunk-IK4XBUOE.mjs +0 -2
  203. package/dist/chunk-IMRGY4OW.mjs +0 -2
  204. package/dist/chunk-ITDAQXDS.mjs +0 -1
  205. package/dist/chunk-IWV22LBB.mjs +0 -2
  206. package/dist/chunk-IY2HG3NK.mjs +0 -8
  207. package/dist/chunk-IYAB6FPB.mjs +0 -2
  208. package/dist/chunk-IZXIJLTW.mjs +0 -2
  209. package/dist/chunk-J2NIO4NV.mjs +0 -2
  210. package/dist/chunk-J5SA2VPW.mjs +0 -3
  211. package/dist/chunk-J63GHRZH.mjs +0 -2
  212. package/dist/chunk-JBL2DUF5.mjs +0 -2
  213. package/dist/chunk-JEJ4EWU7.mjs +0 -2
  214. package/dist/chunk-JESSRQ5J.mjs +0 -2
  215. package/dist/chunk-JF4XLNZS.mjs +0 -2
  216. package/dist/chunk-JIFH2LYE.mjs +0 -3
  217. package/dist/chunk-JJNAD6S4.mjs +0 -3
  218. package/dist/chunk-JLET4OCX.mjs +0 -3
  219. package/dist/chunk-JORK4T7Q.mjs +0 -2
  220. package/dist/chunk-JP7IWWG3.mjs +0 -2
  221. package/dist/chunk-JVM44TKC.mjs +0 -2
  222. package/dist/chunk-JYDIVZNI.mjs +0 -2
  223. package/dist/chunk-KBSQGAWB.mjs +0 -2
  224. package/dist/chunk-KDGZ6H77.mjs +0 -2
  225. package/dist/chunk-KF5NIC53.mjs +0 -2
  226. package/dist/chunk-KKCOE2RH.mjs +0 -2
  227. package/dist/chunk-KMHFLT2M.mjs +0 -2
  228. package/dist/chunk-KNYITJKS.mjs +0 -2
  229. package/dist/chunk-KQEO6U4W.mjs +0 -2
  230. package/dist/chunk-KQFL4H7A.mjs +0 -2
  231. package/dist/chunk-KUSH4SR2.mjs +0 -2
  232. package/dist/chunk-KVVEZANZ.mjs +0 -2
  233. package/dist/chunk-KWZ4DBE4.mjs +0 -2
  234. package/dist/chunk-L6UWBEZE.mjs +0 -2
  235. package/dist/chunk-LAQSQMES.mjs +0 -2
  236. package/dist/chunk-LFMW2GVW.mjs +0 -3
  237. package/dist/chunk-LMXROOMK.mjs +0 -2
  238. package/dist/chunk-LRCJQIJG.mjs +0 -2
  239. package/dist/chunk-M4Q2EF5G.mjs +0 -2
  240. package/dist/chunk-MBHBXZRO.mjs +0 -2
  241. package/dist/chunk-MCXA7VY2.mjs +0 -2
  242. package/dist/chunk-MKKBN6XG.mjs +0 -2
  243. package/dist/chunk-MN57ZXBI.mjs +0 -2
  244. package/dist/chunk-MO5Z5S7B.mjs +0 -2
  245. package/dist/chunk-MOPBLS6N.mjs +0 -2
  246. package/dist/chunk-MQPIKWNS.mjs +0 -2
  247. package/dist/chunk-MRCUHGHS.mjs +0 -2
  248. package/dist/chunk-MYBLDYMF.mjs +0 -2
  249. package/dist/chunk-MYKWMBLF.mjs +0 -2
  250. package/dist/chunk-N3JNQNDM.mjs +0 -2
  251. package/dist/chunk-N7BNEQPU.mjs +0 -2
  252. package/dist/chunk-NA4EVPAY.mjs +0 -2
  253. package/dist/chunk-NEH5H6FT.mjs +0 -8
  254. package/dist/chunk-NFAXHR5T.mjs +0 -2
  255. package/dist/chunk-NJKAWDPD.mjs +0 -2
  256. package/dist/chunk-NKUXJNX4.mjs +0 -2
  257. package/dist/chunk-NPDJHIVO.mjs +0 -2
  258. package/dist/chunk-NRQQTGF4.mjs +0 -2
  259. package/dist/chunk-NSWEINWF.mjs +0 -2
  260. package/dist/chunk-NVP2CVZ6.mjs +0 -2
  261. package/dist/chunk-NWB2AZNS.mjs +0 -2
  262. package/dist/chunk-NX47KGRW.mjs +0 -2
  263. package/dist/chunk-NYBTLOVB.mjs +0 -3
  264. package/dist/chunk-O55CBIBG.mjs +0 -8
  265. package/dist/chunk-OCYEAVPN.mjs +0 -2
  266. package/dist/chunk-OGAYDFMV.mjs +0 -2
  267. package/dist/chunk-OI77O6SL.mjs +0 -2
  268. package/dist/chunk-OIIHWZYP.mjs +0 -2
  269. package/dist/chunk-OIU4BN7T.mjs +0 -2
  270. package/dist/chunk-OJXGRTYX.mjs +0 -2
  271. package/dist/chunk-OKOSJ4DF.mjs +0 -2
  272. package/dist/chunk-OLQNYINM.mjs +0 -2
  273. package/dist/chunk-OMIP4OG5.mjs +0 -2
  274. package/dist/chunk-OTLHHZOF.mjs +0 -2
  275. package/dist/chunk-OTU3L2XF.mjs +0 -2
  276. package/dist/chunk-OX66FZYY.mjs +0 -2
  277. package/dist/chunk-OXANJWH4.mjs +0 -2
  278. package/dist/chunk-OYLESSIG.mjs +0 -2
  279. package/dist/chunk-PG4Y6KIL.mjs +0 -2
  280. package/dist/chunk-PGXM347Z.mjs +0 -2
  281. package/dist/chunk-PIEMQYVU.mjs +0 -2
  282. package/dist/chunk-PISF5LGD.mjs +0 -2
  283. package/dist/chunk-PJ73TQBC.mjs +0 -2
  284. package/dist/chunk-PKQIORD7.mjs +0 -2
  285. package/dist/chunk-PMAKRWPB.mjs +0 -2
  286. package/dist/chunk-PPNWHWNQ.mjs +0 -2
  287. package/dist/chunk-PPR7AQWS.mjs +0 -2
  288. package/dist/chunk-PRHSFG2M.mjs +0 -2
  289. package/dist/chunk-PRUCD3QQ.mjs +0 -2
  290. package/dist/chunk-PVPFL6D6.mjs +0 -2
  291. package/dist/chunk-Q64KZRX2.mjs +0 -2
  292. package/dist/chunk-QDT2R7NG.mjs +0 -2
  293. package/dist/chunk-QLD74AUU.mjs +0 -2
  294. package/dist/chunk-QLYNYMOT.mjs +0 -2
  295. package/dist/chunk-QP2EHAF7.mjs +0 -2
  296. package/dist/chunk-QS3K2BUJ.mjs +0 -2
  297. package/dist/chunk-QTY5FUJ3.mjs +0 -2
  298. package/dist/chunk-QXM65Z6A.mjs +0 -2
  299. package/dist/chunk-QZJO3GBP.mjs +0 -2
  300. package/dist/chunk-RF3BM6RY.mjs +0 -2
  301. package/dist/chunk-RF6IPNCO.mjs +0 -2
  302. package/dist/chunk-RF757N25.mjs +0 -3
  303. package/dist/chunk-RQBEORWD.mjs +0 -2
  304. package/dist/chunk-RRZDOFPB.mjs +0 -2
  305. package/dist/chunk-RT4DYHL4.mjs +0 -2
  306. package/dist/chunk-RWND7PHS.mjs +0 -2
  307. package/dist/chunk-S32PKYSI.mjs +0 -8
  308. package/dist/chunk-S7GVW42L.mjs +0 -2
  309. package/dist/chunk-SGDLNADF.mjs +0 -2
  310. package/dist/chunk-SJHDGCSL.mjs +0 -2
  311. package/dist/chunk-SRB37H2M.mjs +0 -2
  312. package/dist/chunk-SUMICSDA.mjs +0 -2
  313. package/dist/chunk-SVXEWZS2.mjs +0 -2
  314. package/dist/chunk-SWY5WJTL.mjs +0 -2
  315. package/dist/chunk-T2HLWVVR.mjs +0 -3
  316. package/dist/chunk-TECUUTR4.mjs +0 -2
  317. package/dist/chunk-TEYRN5YH.mjs +0 -2
  318. package/dist/chunk-TFO3ND3W.mjs +0 -2
  319. package/dist/chunk-TL4MBWLU.mjs +0 -2
  320. package/dist/chunk-TLCO7PTI.mjs +0 -2
  321. package/dist/chunk-TN7DEVEE.mjs +0 -2
  322. package/dist/chunk-TNTITL6S.mjs +0 -3
  323. package/dist/chunk-TRZ3KXED.mjs +0 -8
  324. package/dist/chunk-TSU5QRYZ.mjs +0 -2
  325. package/dist/chunk-TTICNZG7.mjs +0 -2
  326. package/dist/chunk-U7OUT2WV.mjs +0 -1
  327. package/dist/chunk-UBZTDYQG.mjs +0 -2
  328. package/dist/chunk-UEZD34PU.mjs +0 -2
  329. package/dist/chunk-UKAF5WRD.mjs +0 -2
  330. package/dist/chunk-UQPZMB6C.mjs +0 -2
  331. package/dist/chunk-UTIBO7SO.mjs +0 -2
  332. package/dist/chunk-UVSGUIBW.mjs +0 -8
  333. package/dist/chunk-VAQHITBV.mjs +0 -2
  334. package/dist/chunk-VBY3N2TS.mjs +0 -3
  335. package/dist/chunk-VE55VEAS.mjs +0 -2
  336. package/dist/chunk-VFWL5XAA.mjs +0 -2
  337. package/dist/chunk-VIDJ5SRV.mjs +0 -2
  338. package/dist/chunk-VYZ5ATAV.mjs +0 -2
  339. package/dist/chunk-W2MLKAZN.mjs +0 -2
  340. package/dist/chunk-W65Y5YRU.mjs +0 -2
  341. package/dist/chunk-W6R5YWL6.mjs +0 -2
  342. package/dist/chunk-WB7VZJZA.mjs +0 -2
  343. package/dist/chunk-WBE6IBQV.mjs +0 -2
  344. package/dist/chunk-WDSNVW3W.mjs +0 -2
  345. package/dist/chunk-WPUTXRJH.mjs +0 -2
  346. package/dist/chunk-WURMVTJP.mjs +0 -2
  347. package/dist/chunk-WWM6WQCY.mjs +0 -2
  348. package/dist/chunk-X2XFCFUL.mjs +0 -2
  349. package/dist/chunk-X374ODLH.mjs +0 -2
  350. package/dist/chunk-X4ANTLIN.mjs +0 -2
  351. package/dist/chunk-X7ADEEVD.mjs +0 -8
  352. package/dist/chunk-XCUSS3YO.mjs +0 -2
  353. package/dist/chunk-XE5CT2M3.mjs +0 -2
  354. package/dist/chunk-XE5QS5VD.mjs +0 -8
  355. package/dist/chunk-XG3NPZVV.mjs +0 -2
  356. package/dist/chunk-XHGXSXB3.mjs +0 -2
  357. package/dist/chunk-XNUMP3VC.mjs +0 -2
  358. package/dist/chunk-XQ47XIIO.mjs +0 -2
  359. package/dist/chunk-XQPGNFHA.mjs +0 -2
  360. package/dist/chunk-XRF5F4ZR.mjs +0 -2
  361. package/dist/chunk-XW75EZ3L.mjs +0 -2
  362. package/dist/chunk-XYVV643U.mjs +0 -8
  363. package/dist/chunk-XZMMZD3Z.mjs +0 -2
  364. package/dist/chunk-XZSQWDME.mjs +0 -2
  365. package/dist/chunk-YBWQTHOI.mjs +0 -2
  366. package/dist/chunk-YOWYEBY3.mjs +0 -2
  367. package/dist/chunk-YQXTW7IL.mjs +0 -2
  368. package/dist/chunk-YVROMH7J.mjs +0 -2
  369. package/dist/chunk-YVVQMYLM.mjs +0 -2
  370. package/dist/chunk-Z46XMMXR.mjs +0 -2
  371. package/dist/chunk-Z6OTDJ3S.mjs +0 -2
  372. package/dist/chunk-ZGUSKAF7.mjs +0 -2
  373. package/dist/chunk-ZMZG5IED.mjs +0 -8
  374. package/dist/chunk-ZNLJMM2N.mjs +0 -2
  375. package/dist/chunk-ZSF6CHQK.mjs +0 -2
  376. package/dist/chunk-ZXOXZAH4.mjs +0 -2
  377. package/dist/copy-button.css +0 -1
  378. package/dist/copy-button.d.mts +0 -8
  379. package/dist/footer.css +0 -1
  380. package/dist/footer.d.mts +0 -5
  381. package/dist/form.css +0 -1
  382. package/dist/form.d.mts +0 -14
  383. package/dist/google-b9019ca9.d.ts +0 -7
  384. package/dist/grid-AJXQWCY6.svg +0 -5
  385. package/dist/icon-menu.d.mts +0 -10
  386. package/dist/icons/copy.d.mts +0 -7
  387. package/dist/icons/expanding-arrow.d.mts +0 -7
  388. package/dist/icons/facebook.d.mts +0 -8
  389. package/dist/icons/github.d.mts +0 -7
  390. package/dist/icons/google.d.mts +0 -7
  391. package/dist/icons/index.css +0 -1
  392. package/dist/icons/index.d.mts +0 -17
  393. package/dist/icons/linkedin.d.mts +0 -8
  394. package/dist/icons/loading-circle.d.mts +0 -7
  395. package/dist/icons/loading-dots.css +0 -1
  396. package/dist/icons/loading-dots.d.mts +0 -5
  397. package/dist/icons/loading-spinner.css +0 -1
  398. package/dist/icons/loading-spinner.d.mts +0 -7
  399. package/dist/icons/logo.d.mts +0 -7
  400. package/dist/icons/logotype.d.mts +0 -7
  401. package/dist/icons/magic.d.mts +0 -7
  402. package/dist/icons/photo.d.mts +0 -7
  403. package/dist/icons/tick.d.mts +0 -7
  404. package/dist/icons/twitter.d.mts +0 -7
  405. package/dist/icons/unsplash.d.mts +0 -7
  406. package/dist/index.d.mts +0 -69
  407. package/dist/link-preview.css +0 -1
  408. package/dist/link-preview.d.mts +0 -7
  409. package/dist/max-width-wrapper.d.mts +0 -9
  410. package/dist/modal.d.mts +0 -14
  411. package/dist/nav-mobile.css +0 -1
  412. package/dist/nav-mobile.d.mts +0 -5
  413. package/dist/nav.css +0 -1
  414. package/dist/nav.d.mts +0 -9
  415. package/dist/number-tooltip.d.ts +0 -12
  416. package/dist/number-tooltip.mjs +0 -2
  417. package/dist/number.d.ts +0 -12
  418. package/dist/number.mjs +0 -2
  419. package/dist/popover.d.mts +0 -13
  420. package/dist/switch.d.mts +0 -14
  421. package/dist/tab-select.d.mts +0 -9
  422. package/dist/tooltip.d.mts +0 -32
@@ -1,2 +0,0 @@
1
- "use client"
2
- import{a as n}from"./chunk-GXDFY5X2.mjs";import*as t from"@radix-ui/react-switch";import{cn as a}from"lib";import{jsx as e}from"react/jsx-runtime";function f({fn:s,trackDimensions:c,thumbDimensions:l,thumbTranslate:i,checked:d=!0,disabled:r=!1,disabledTooltip:o}){return o?e(n,{content:o,children:e("div",{className:"radix-state-checked:bg-gray-300 relative inline-flex h-4 w-8 flex-shrink-0 cursor-not-allowed rounded-full border-2 border-transparent bg-gray-200",children:e("div",{className:"h-3 w-3 transform rounded-full bg-white shadow-lg"})})}):e(t.Root,{checked:d,name:"switch",onCheckedChange:u=>s(u),disabled:r,className:a(r?"cursor-not-allowed bg-gray-300":"radix-state-checked:bg-blue-500 radix-state-unchecked:bg-gray-200 cursor-pointer focus:outline-none focus-visible:ring focus-visible:ring-blue-500 focus-visible:ring-opacity-75","relative inline-flex h-4 w-8 flex-shrink-0 rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out",c),children:e(t.Thumb,{className:a(`radix-state-checked:${i}`,"radix-state-unchecked:translate-x-0","pointer-events-none h-3 w-3 translate-x-4 transform rounded-full bg-white shadow-lg ring-0 transition duration-200 ease-in-out",l,i)})})}export{f as a};
@@ -1,2 +0,0 @@
1
- "use client"
2
- import{a as c}from"./chunk-2TGXECZQ.mjs";import{a as g}from"./chunk-OMIP4OG5.mjs";import{fetcher as v,getDomainWithoutWWW as y,getUrlFromString as h}from"lib";import{Link2 as x}from"lucide-react";import{useRouter as N,useSearchParams as w}from"next/navigation";import{useEffect as L,useMemo as R,useRef as W}from"react";import k from"swr";import{useDebounce as E}from"use-debounce";import{Fragment as F,jsx as e,jsxs as t}from"react/jsx-runtime";function V({defaultUrl:r}){let f=N(),l=w(),o=r||(l==null?void 0:l.get("url"))||"https://github.com/steven-tey/dub",[a]=E(h(o),500),i=R(()=>y(a||""),[a]),{data:p,isValidating:b}=k(a&&`/api/edge/metatags?url=${a}`,v,{revalidateOnFocus:!1}),{title:n,description:m,image:d}=p||{},s=W(null);return L(()=>{!r&&s.current&&s.current.select()},[r]),t(F,{children:[!r&&t("div",{className:"relative flex items-center",children:[e(x,{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:!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:o,onChange:u=>f.replace(`/tools/metatags${u.target.value.length>0?`?url=${u.target.value}`:""}`),"aria-invalid":"true"})]}),t("div",{className:"relative overflow-hidden rounded-md border border-gray-300 bg-gray-50",children:[b&&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(g,{})}),d?e("img",{src:d,alt:"Preview",className:"h-[250px] w-full border-b border-gray-300 object-cover"}):t("div",{className:"flex h-[250px] w-full flex-col items-center justify-center space-y-4 border-b border-gray-300",children:[e(c,{className:"h-8 w-8 text-gray-400"}),e("p",{className:"text-sm text-gray-400",children:"Enter a link to generate a preview."})]}),t("div",{className:"grid gap-1 bg-white p-3 text-left",children:[i?e("p",{className:"text-sm text-[#536471]",children:i}):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"}),m?e("p",{className:"line-clamp-2 text-sm text-[#536471]",children:m}):t("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"})]})]})]})]})}export{V as a};
@@ -1,2 +0,0 @@
1
- "use client"
2
- import{e as u}from"./chunk-NHHVF35L.mjs";import{a as g}from"./chunk-J63GHRZH.mjs";import{a as p}from"./chunk-CFCHBBAJ.mjs";import{a as d}from"./chunk-5A2BHTHD.mjs";import*as i from"@radix-ui/react-navigation-menu";import s from"@vercel/analytics";import{APP_DOMAIN as v,SHOW_BACKGROUND_SEGMENTS as N,cn as c}from"lib";import{ChevronDown as h}from"lucide-react";import n from"next/link";import{useParams as k,useSelectedLayoutSegment as y}from"next/navigation";import{jsx as e,jsxs as a}from"react/jsx-runtime";var w=[{name:"Customers",slug:"customers"},{name:"Changelog",slug:"changelog"},{name:"Help",slug:"help"},{name:"Pricing",slug:"pricing"}];function W(){let{domain:t="dub.co"}=k(),f=u(80),m=y(),l=m==="help";return e("div",{className:c("sticky inset-x-0 top-0 z-30 w-full transition-all",{"border-b border-gray-200 bg-white/75 backdrop-blur-lg":f,"border-b border-gray-200 bg-white":m&&!N.includes(m)}),children:e(p,{...l&&{className:"max-w-screen-lg"},children:a("div",{className:"flex h-14 items-center justify-between",children:[a("div",{className:"flex items-center space-x-4",children:[e(n,{href:t==="dub.co"?"/":"https://dub.co",...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:"logo"})}},children:e(d,{})}),l?a("div",{className:"flex items-center",children:[e("div",{className:"mr-3 h-5 border-l-2 border-gray-400"}),e(n,{href:"/help",className:"font-display text-lg font-bold text-gray-700",children:"Help Center"})]}):a(i.Root,{delayDuration:0,className:"relative hidden lg:block",children:[a(i.List,{className:"flex flex-row space-x-2 p-4",children:[a(i.Item,{children:[a(i.Trigger,{className:"group flex items-center space-x-2 rounded-md px-3 py-2 text-sm font-medium hover:bg-gray-100 focus:outline-none",children:[e("p",{className:c("text-sm font-medium text-gray-500 transition-colors ease-out group-hover:text-black",{"text-black":m==="features"}),children:"Features"}),e(h,{className:"h-4 w-4 transition-all group-data-[state=open]:rotate-180"})]}),e(i.Content,{children:e("div",{className:"grid w-[32rem] grid-cols-2 gap-1 p-3",children:g.map(({slug:r,icon:o,title:b,shortTitle:x})=>a(n,{href:t==="dub.co"?`/features/${r}`:`https://dub.co/features/${r}`,...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:`navbar item (features/${r})`})}},className:"rounded-lg p-3 transition-colors hover:bg-gray-100 active:bg-gray-200",children:[a("div",{className:"flex items-center space-x-2",children:[e(o,{className:"h-4 w-4 text-gray-700"}),e("p",{className:"text-sm font-medium text-gray-700",children:x})]}),e("p",{className:"mt-1 line-clamp-1 text-sm text-gray-500",children:b})]},r))})})]}),w.map(({name:r,slug:o})=>e(i.Item,{asChild:!0,children:e(n,{id:`nav-${o}`,href:t==="dub.co"?`/${o}`:`https://dub.co/${o}`,...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:`navbar item (${o})`})}},className:c("rounded-md px-3 py-2 text-sm font-medium text-gray-500 transition-colors ease-out hover:text-black",{"text-black":m===o}),children:r},o)},o))]}),e(i.Viewport,{className:"data-[state=closed]:animate-scale-out-content data-[state=open]:animate-scale-in-content absolute left-0 top-full flex w-[var(--radix-navigation-menu-viewport-width)] origin-[top_center] justify-start rounded-lg border border-gray-200 bg-white shadow-lg"})]})]}),a("div",{className:"hidden lg:block",children:[e(n,{href:`${v}/login`,...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:"navbar item (login)"})}},className:"animate-fade-in rounded-full px-4 py-1.5 text-sm font-medium text-gray-500 transition-colors ease-out hover:text-black",children:"Log in"}),e(n,{href:`${v}/register`,...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:"navbar item (signup)"})}},className:"animate-fade-in rounded-full border border-black bg-black px-4 py-1.5 text-sm text-white transition-all hover:bg-white hover:text-black",children:"Sign Up"})]})]})})})}export{w as a,W as b};
@@ -1,2 +0,0 @@
1
- "use client"
2
- import{jsx as e}from"react/jsx-runtime";var n=()=>e("span",{className:"inline-flex items-center",children:[...Array(3)].map((i,a)=>e("span",{style:{animationDelay:`${.2*a}s`,width:"5px",height:"5px",borderRadius:"50%",display:"inline-block",margin:"0 1px"},className:"animate-blink"},a))}),s=n;export{s as a};
@@ -1,2 +0,0 @@
1
- "use client"
2
- import{a as u}from"./chunk-GFMXORYG.mjs";import{a as c}from"./chunk-J63GHRZH.mjs";import{APP_DOMAIN as p,cn as r}from"lib";import{ChevronDown as g,Menu as b,X as N}from"lucide-react";import i from"next/link";import{useParams as h}from"next/navigation";import{useState as f}from"react";import{Fragment as y,jsx as e,jsxs as s}from"react/jsx-runtime";function z(){let{domain:l="dub.co"}=h(),[t,o]=f(!1),[n,d]=f(!1);return s(y,{children:[e("button",{onClick:()=>o(!t),className:r("absolute 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",t&&"hover:bg-gray-100 active:bg-gray-200"),children:t?e(N,{className:"h-5 w-5 text-gray-600"}):e(b,{className:"h-5 w-5 text-gray-600"})}),e("nav",{className:r("fixed inset-0 z-20 hidden w-full bg-white px-5 py-16",t&&"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:()=>d(!n),children:[e("p",{className:"font-semibold",children:"Features"}),e(g,{className:r("h-5 w-5 text-gray-500 transition-all",n&&"rotate-180")})]}),n&&e("div",{className:"grid gap-4 overflow-hidden py-4",children:c.map(a=>s(i,{href:l==="dub.co"?`/features/${a.slug}`:`https://dub.co/features/${a.slug}?utm_source=${l}&utm_medium=referral&utm_campaign=custom-domain`,onClick:()=>o(!1),className:"flex w-full space-x-2",children:[e(a.icon,{className:"h-5 w-5 text-gray-500"}),e("span",{className:"text-sm",children:a.shortTitle})]},a.slug))})]}),u.map(({name:a,slug:m})=>e("li",{className:"py-3",children:e(i,{href:l==="dub.co"?`/${m}`:`https://dub.co/${m}?utm_source=${l}&utm_medium=referral&utm_campaign=custom-domain`,onClick:()=>o(!1),className:"flex w-full font-semibold capitalize",children:a})},m)),e("li",{className:"py-3",children:e(i,{href:`${p}/login`,className:"flex w-full font-semibold capitalize",children:"Log in"})}),e("li",{className:"py-3",children:e(i,{href:`${p}/register`,className:"flex w-full font-semibold capitalize",children:"Sign Up"})})]})})]})}export{z as a};
@@ -1,2 +0,0 @@
1
- "use client"
2
- import*as e from"@radix-ui/react-accordion";import{cn as a}from"lib";import{ChevronDown as m}from"lucide-react";import*as n from"react";import{jsx as r,jsxs as p}from"react/jsx-runtime";var v=e.Root,d=n.forwardRef(({className:o,...t},i)=>r(e.Item,{ref:i,className:a("border-b border-b-slate-200 py-3 last:border-none",o),...t}));d.displayName="AccordionItem";var s=n.forwardRef(({className:o,children:t,...i},c)=>r(e.Header,{className:"flex",children:p(e.Trigger,{ref:c,className:a("flex flex-1 items-center justify-between font-medium transition-all sm:text-lg [&[data-state=open]>svg]:rotate-180",o),...i,children:[t,r(m,{className:"h-5 w-5 transition-transform duration-300"})]})}));s.displayName=e.Trigger.displayName;var f=n.forwardRef(({className:o,children:t,...i},c)=>r(e.Content,{ref:c,className:a("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};
@@ -1,2 +0,0 @@
1
- "use client"
2
- import{a as l}from"./chunk-Z46XMMXR.mjs";import{a}from"./chunk-LRCJQIJG.mjs";import{cn as d}from"lib";import{jsx as t,jsxs as b}from"react/jsx-runtime";function g({text:n,variant:r="primary",loading:o,icon:i,disabledTooltip:s,...e}){return s?t(l,{content:s,fullWidth:!0,children:t("div",{className:"flex h-10 w-full cursor-not-allowed items-center justify-center rounded-md border border-gray-200 bg-gray-100 px-4 text-sm text-gray-400 transition-all focus:outline-none",children:t("p",{children:n})})}):b("button",{type:e.onClick?"button":"submit",className:d("flex h-10 w-full items-center justify-center space-x-2 rounded-md border px-4 text-sm transition-all focus:outline-none",e.disabled||o?"cursor-not-allowed border-gray-200 bg-gray-100 text-gray-400":{"border-black bg-black text-white hover:bg-white hover:text-black":r==="primary","border-gray-200 bg-white text-gray-500 hover:border-black hover:text-black":r==="secondary","border-blue-500 bg-blue-500 text-white hover:bg-white hover:text-blue-500":r==="success","border-red-500 bg-red-500 text-white hover:bg-white hover:text-red-500":r==="danger"},e.className),disabled:e.disabled||o,...e,children:[o?t(a,{}):i||null,t("p",{children:n})]})}export{g as a};
@@ -1,2 +0,0 @@
1
- "use client"
2
- import{a as g}from"./chunk-2SFV6FGR.mjs";import{a as c}from"./chunk-2TGXECZQ.mjs";import{fetcher as v,getDomainWithoutWWW as y,getUrlFromString as h}from"@dub/lib";import{Link2 as x}from"lucide-react";import{useRouter as N,useSearchParams as w}from"next/navigation";import{useEffect as L,useMemo as R,useRef as W}from"react";import k from"swr";import{useDebounce as E}from"use-debounce";import{Fragment as F,jsx as e,jsxs as t}from"react/jsx-runtime";function V({defaultUrl:r}){let f=N(),l=w(),o=r||(l==null?void 0:l.get("url"))||"https://github.com/steven-tey/dub",[a]=E(h(o),500),i=R(()=>y(a||""),[a]),{data:p,isValidating:b}=k(a&&`/api/edge/metatags?url=${a}`,v,{revalidateOnFocus:!1}),{title:n,description:m,image:d}=p||{},s=W(null);return L(()=>{!r&&s.current&&s.current.select()},[r]),t(F,{children:[!r&&t("div",{className:"relative flex items-center",children:[e(x,{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:!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:o,onChange:u=>f.replace(`/tools/metatags${u.target.value.length>0?`?url=${u.target.value}`:""}`),"aria-invalid":"true"})]}),t("div",{className:"relative overflow-hidden rounded-md border border-gray-300 bg-gray-50",children:[b&&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(g,{})}),d?e("img",{src:d,alt:"Preview",className:"h-[250px] w-full border-b border-gray-300 object-cover"}):t("div",{className:"flex h-[250px] w-full flex-col items-center justify-center space-y-4 border-b border-gray-300",children:[e(c,{className:"h-8 w-8 text-gray-400"}),e("p",{className:"text-sm text-gray-400",children:"Enter a link to generate a preview."})]}),t("div",{className:"grid gap-1 bg-white p-3 text-left",children:[i?e("p",{className:"text-sm text-[#536471]",children:i}):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"}),m?e("p",{className:"line-clamp-2 text-sm text-[#536471]",children:m}):t("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"})]})]})]})]})}export{V as a};
@@ -1,2 +0,0 @@
1
- "use client"
2
- import{a}from"./chunk-TLCO7PTI.mjs";import{a as i}from"./chunk-5SGX2GJA.mjs";import*as t from"@radix-ui/react-switch";import{jsx as e}from"react/jsx-runtime";function f({fn:s,trackDimensions:c,thumbDimensions:l,thumbTranslate:r,checked:d=!0,disabled:o=!1,disabledTooltip:n}){return n?e(a,{content:n,children:e("div",{className:"radix-state-checked:bg-gray-300 relative inline-flex h-4 w-8 flex-shrink-0 cursor-not-allowed rounded-full border-2 border-transparent bg-gray-200",children:e("div",{className:"h-3 w-3 transform rounded-full bg-white shadow-lg"})})}):e(t.Root,{checked:d,name:"switch",onCheckedChange:u=>s(u),disabled:o,className:i(o?"cursor-not-allowed bg-gray-300":"radix-state-checked:bg-blue-500 radix-state-unchecked:bg-gray-200 cursor-pointer focus:outline-none focus-visible:ring focus-visible:ring-blue-500 focus-visible:ring-opacity-75","relative inline-flex h-4 w-8 flex-shrink-0 rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out",c),children:e(t.Thumb,{className:i(`radix-state-checked:${r}`,"radix-state-unchecked:translate-x-0","pointer-events-none h-3 w-3 translate-x-4 transform rounded-full bg-white shadow-lg ring-0 transition duration-200 ease-in-out",l,r)})})}export{f as a};
@@ -1,2 +0,0 @@
1
- "use client"
2
- import{d as g}from"./chunk-NHHVF35L.mjs";import*as o from"@radix-ui/react-dialog";import{cn as m}from"lib";import{useRouter as D}from"next/navigation";import{Drawer as a}from"vaul";import{jsx as t,jsxs as i}from"react/jsx-runtime";function x({children:n,className:l,dialogOnly:f,showModal:d,setShowModal:r,onClose:s,preventDefaultClose:u}){let p=D(),c=({dragged:e}={})=>{u&&!e||(s&&s(),r?r(!1):p.back())},{isMobile:b}=g();return b&&!f?i(a.Root,{open:r?d:!0,onOpenChange:e=>{e||c({dragged:!0})},children:[t(a.Overlay,{className:"fixed inset-0 z-40 bg-gray-100 bg-opacity-10 backdrop-blur"}),i(a.Portal,{children:[i(a.Content,{className:m("fixed bottom-0 left-0 right-0 z-50 mt-24 rounded-t-[10px] border-t border-gray-200 bg-white",l),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"})}),n]}),t(a.Overlay,{})]})]}):t(o.Root,{open:r?d:!0,onOpenChange:e=>{e||c()},children:i(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:m("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 md:rounded-2xl",l),children:n})]})})}export{x as a};
@@ -1,2 +0,0 @@
1
- "use client"
2
- import{a as u}from"./chunk-HFY7GEA4.mjs";import{a as c}from"./chunk-J63GHRZH.mjs";import{APP_DOMAIN as f,cn as r}from"@dub/lib";import{ChevronDown as g,Menu as N,X as y}from"lucide-react";import l from"next/link";import{useParams as h}from"next/navigation";import{useState as p}from"react";import{Fragment as v,jsx as e,jsxs as s}from"react/jsx-runtime";function C(){let{domain:i="dub.co"}=h(),[o,n]=p(!1),[m,d]=p(!1);return s(v,{children:[e("button",{onClick:()=>n(!o),className:r("absolute 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",o&&"hover:bg-gray-100 active:bg-gray-200"),children:o?e(y,{className:"h-5 w-5 text-gray-600"}):e(N,{className:"h-5 w-5 text-gray-600"})}),e("nav",{className:r("fixed inset-0 z-20 hidden w-full bg-white px-5 py-16",o&&"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:()=>d(!m),children:[e("p",{className:"font-semibold",children:"Features"}),e(g,{className:r("h-5 w-5 text-gray-500 transition-all",m&&"rotate-180")})]}),m&&e("div",{className:"grid gap-4 overflow-hidden py-4",children:c.map(({slug:a,icon:t,shortTitle:b})=>s(l,{href:i==="dub.co"?`/features/${a}`:`https://dub.co/features/${a}?utm_source=${i}&utm_medium=referral&utm_campaign=custom-domain`,onClick:()=>n(!1),className:"flex w-full space-x-2",children:[e(t,{className:"h-5 w-5 text-gray-500"}),e("span",{className:"text-sm",children:b})]},a))})]}),u.map(({name:a,slug:t})=>e("li",{className:"py-3",children:e(l,{href:i==="dub.co"?`/${t}`:`https://dub.co/${t}?utm_source=${i}&utm_medium=referral&utm_campaign=custom-domain`,onClick:()=>n(!1),className:"flex w-full font-semibold capitalize",children:a})},t)),e("li",{className:"py-3",children:e(l,{href:`${f}/login`,className:"flex w-full font-semibold capitalize",children:"Log in"})}),e("li",{className:"py-3",children:e(l,{href:`${f}/register`,className:"flex w-full font-semibold capitalize",children:"Sign Up"})})]})})]})}export{C as a};
@@ -1 +0,0 @@
1
- "use client"
@@ -1,2 +0,0 @@
1
- "use client"
2
- import{a as m}from"./chunk-2ZQKPJ36.mjs";import{nFormatter as l,timeAgo as n}from"lib";import{jsx as a,jsxs as o}from"react/jsx-runtime";function c({value:t,unit:i="total clicks",children:r,lastClicked:e}){return(!t||t<1e3)&&!e?r:a(m,{content:o("div",{className:"block max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:[o("p",{className:"text-sm font-semibold text-gray-700",children:[l(t||0,{full:!0})," ",i]}),e&&o("p",{className:"mt-1 text-xs text-gray-500",children:["Last clicked ",n(e,{withAgo:!0})]})]}),children:r})}export{c as a};
@@ -1,2 +0,0 @@
1
- "use client"
2
- import{cn as i}from"lib";import{jsx as t}from"react/jsx-runtime";function r({className:a}){return t("div",{style:{position:"relative",top:"50%",left:"50%"},className:i("loading-spinner","h-5 w-5",a),children:s.map((e,n)=>t("div",{style:e,className:"animate-spinner"},n))})}var s=[...Array(12)].map((a,e)=>({animationDelay:`${-1.2+.1*e}s`,background:"gray",position:"absolute",borderRadius:"1rem",width:"30%",height:"8%",left:"-10%",top:"-4%",transform:`rotate(${30*e}deg) translate(120%)`}));export{r as a};
@@ -1,2 +0,0 @@
1
- "use client"
2
- import{a as f}from"./chunk-WPUTXRJH.mjs";import{a as u}from"./chunk-573R3EDL.mjs";import{a as c,d as l}from"./chunk-XW75EZ3L.mjs";import{ChevronDown as g,Menu as N,X as y}from"lucide-react";import n from"next/link";import{useParams as h}from"next/navigation";import{useState as p}from"react";import{Fragment as v,jsx as e,jsxs as s}from"react/jsx-runtime";function C(){let{domain:i="dub.co"}=h(),[o,m]=p(!1),[r,d]=p(!1);return s(v,{children:[e("button",{onClick:()=>m(!o),className:l("absolute 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",o&&"hover:bg-gray-100 active:bg-gray-200"),children:o?e(y,{className:"h-5 w-5 text-gray-600"}):e(N,{className:"h-5 w-5 text-gray-600"})}),e("nav",{className:l("fixed inset-0 z-20 hidden w-full bg-white px-5 py-16",o&&"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:()=>d(!r),children:[e("p",{className:"font-semibold",children:"Features"}),e(g,{className:l("h-5 w-5 text-gray-500 transition-all",r&&"rotate-180")})]}),r&&e("div",{className:"grid gap-4 overflow-hidden py-4",children:u.map(({slug:a,icon:t,shortTitle:b})=>s(n,{href:i==="dub.co"?`/features/${a}`:`https://dub.co/features/${a}?utm_source=${i}&utm_medium=referral&utm_campaign=custom-domain`,onClick:()=>m(!1),className:"flex w-full space-x-2",children:[e(t,{className:"h-5 w-5 text-gray-500"}),e("span",{className:"text-sm",children:b})]},a))})]}),f.map(({name:a,slug:t})=>e("li",{className:"py-3",children:e(n,{href:i==="dub.co"?`/${t}`:`https://dub.co/${t}?utm_source=${i}&utm_medium=referral&utm_campaign=custom-domain`,onClick:()=>m(!1),className:"flex w-full font-semibold capitalize",children:a})},t)),e("li",{className:"py-3",children:e(n,{href:`${c}/login`,className:"flex w-full font-semibold capitalize",children:"Log in"})}),e("li",{className:"py-3",children:e(n,{href:`${c}/register`,className:"flex w-full font-semibold capitalize",children:"Sign Up"})})]})})]})}export{C as a};
@@ -1,2 +0,0 @@
1
- "use client"
2
- import{a}from"./chunk-EHYVEIOL.mjs";import{a as e}from"./chunk-Z5P2KHPP.mjs";import{cn as n}from"@dub/lib";import{useState as p}from"react";import{toast as u}from"sonner";import{jsx as t,jsxs as c}from"react/jsx-runtime";function f({value:r,className:s}){let[i,o]=p(!1);return c("button",{onClick:l=>{l.stopPropagation(),o(!0),navigator.clipboard.writeText(r).then(()=>{u.success("Copied to clipboard!")}),setTimeout(()=>o(!1),3e3)},className:n("group rounded-full bg-gray-100 p-1.5 transition-all duration-75 hover:scale-105 hover:bg-blue-100 active:scale-95",s),children:[t("span",{className:"sr-only",children:"Copy"}),i?t(a,{className:"text-gray-700 transition-all group-hover:text-blue-800"}):t(e,{className:"text-gray-700 transition-all group-hover:text-blue-800"})]})}export{f as a};
@@ -1,2 +0,0 @@
1
- "use client"
2
- import{a as g}from"./chunk-PPNWHWNQ.mjs";import{e as u}from"./chunk-NHHVF35L.mjs";import{a as d}from"./chunk-WURMVTJP.mjs";import*as i from"@radix-ui/react-navigation-menu";import s from"@vercel/analytics";import{APP_DOMAIN as p,SHOW_BACKGROUND_SEGMENTS as x,cn as c}from"@dub/utils";import{ChevronDown as N}from"lucide-react";import n from"next/link";import{useParams as h,useSelectedLayoutSegment as k}from"next/navigation";import{FEATURES_LIST as y}from"@dub/utils/src/constants/content";import{jsx as e,jsxs as a}from"react/jsx-runtime";var w=[{name:"Customers",slug:"customers"},{name:"Changelog",slug:"changelog"},{name:"Help",slug:"help"},{name:"Pricing",slug:"pricing"}];function W(){let{domain:t="dub.co"}=h(),v=u(80),m=k(),l=m==="help";return e("div",{className:c("sticky inset-x-0 top-0 z-30 w-full transition-all",{"border-b border-gray-200 bg-white/75 backdrop-blur-lg":v,"border-b border-gray-200 bg-white":m&&!x.includes(m)}),children:e(g,{...l&&{className:"max-w-screen-lg"},children:a("div",{className:"flex h-14 items-center justify-between",children:[a("div",{className:"flex items-center space-x-4",children:[e(n,{href:t==="dub.co"?"/":"https://dub.co",...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:"logo"})}},children:e(d,{})}),l?a("div",{className:"flex items-center",children:[e("div",{className:"mr-3 h-5 border-l-2 border-gray-400"}),e(n,{href:"/help",className:"font-display text-lg font-bold text-gray-700",children:"Help Center"})]}):a(i.Root,{delayDuration:0,className:"relative hidden lg:block",children:[a(i.List,{className:"flex flex-row space-x-2 p-4",children:[a(i.Item,{children:[a(i.Trigger,{className:"group flex items-center space-x-2 rounded-md px-3 py-2 text-sm font-medium hover:bg-gray-100 focus:outline-none",children:[e("p",{className:c("text-sm font-medium text-gray-500 transition-colors ease-out group-hover:text-black",{"text-black":m==="features"}),children:"Features"}),e(N,{className:"h-4 w-4 transition-all group-data-[state=open]:rotate-180"})]}),e(i.Content,{children:e("div",{className:"grid w-[32rem] grid-cols-2 gap-1 p-3",children:y.map(({slug:r,icon:o,title:f,shortTitle:b})=>a(n,{href:t==="dub.co"?`/features/${r}`:`https://dub.co/features/${r}`,...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:`navbar item (features/${r})`})}},className:"rounded-lg p-3 transition-colors hover:bg-gray-100 active:bg-gray-200",children:[a("div",{className:"flex items-center space-x-2",children:[e(o,{className:"h-4 w-4 text-gray-700"}),e("p",{className:"text-sm font-medium text-gray-700",children:b})]}),e("p",{className:"mt-1 line-clamp-1 text-sm text-gray-500",children:f})]},r))})})]}),w.map(({name:r,slug:o})=>e(i.Item,{asChild:!0,children:e(n,{id:`nav-${o}`,href:t==="dub.co"?`/${o}`:`https://dub.co/${o}`,...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:`navbar item (${o})`})}},className:c("rounded-md px-3 py-2 text-sm font-medium text-gray-500 transition-colors ease-out hover:text-black",{"text-black":m===o}),children:r},o)},o))]}),e(i.Viewport,{className:"data-[state=closed]:animate-scale-out-content data-[state=open]:animate-scale-in-content absolute left-0 top-full flex w-[var(--radix-navigation-menu-viewport-width)] origin-[top_center] justify-start rounded-lg border border-gray-200 bg-white shadow-lg"})]})]}),a("div",{className:"hidden lg:block",children:[e(n,{href:`${p}/login`,...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:"navbar item (login)"})}},className:"animate-fade-in rounded-full px-4 py-1.5 text-sm font-medium text-gray-500 transition-colors ease-out hover:text-black",children:"Log in"}),e(n,{href:`${p}/register`,...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:"navbar item (signup)"})}},className:"animate-fade-in rounded-full border border-black bg-black px-4 py-1.5 text-sm text-white transition-all hover:bg-white hover:text-black",children:"Sign Up"})]})]})})})}export{w as a,W as b};
@@ -1,2 +0,0 @@
1
- "use client"
2
- import{a as Le,b as De}from"./chunk-AUBFB4SI.mjs";var Re=Le((Or,ke)=>{var O=1e3,N=O*60,L=N*60,I=L*24,Ze=I*7,We=I*365.25;ke.exports=function(e,r){r=r||{};var t=typeof e;if(t==="string"&&e.length>0)return qe(e);if(t==="number"&&isFinite(e))return r.long?Xe(e):Je(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function qe(e){if(e=String(e),!(e.length>100)){var r=/^(-?(?:\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(!!r){var t=parseFloat(r[1]),o=(r[2]||"ms").toLowerCase();switch(o){case"years":case"year":case"yrs":case"yr":case"y":return t*We;case"weeks":case"week":case"w":return t*Ze;case"days":case"day":case"d":return t*I;case"hours":case"hour":case"hrs":case"hr":case"h":return t*L;case"minutes":case"minute":case"mins":case"min":case"m":return t*N;case"seconds":case"second":case"secs":case"sec":case"s":return t*O;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return t;default:return}}}}function Je(e){var r=Math.abs(e);return r>=I?Math.round(e/I)+"d":r>=L?Math.round(e/L)+"h":r>=N?Math.round(e/N)+"m":r>=O?Math.round(e/O)+"s":e+"ms"}function Xe(e){var r=Math.abs(e);return r>=I?F(e,r,I,"day"):r>=L?F(e,r,L,"hour"):r>=N?F(e,r,N,"minute"):r>=O?F(e,r,O,"second"):e+" ms"}function F(e,r,t,o){var i=r>=t*1.5;return Math.round(e/t)+" "+o+(i?"s":"")}});function ie(e){var r,t,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e))for(r=0;r<e.length;r++)e[r]&&(t=ie(e[r]))&&(o&&(o+=" "),o+=t);else for(r in e)e[r]&&(o&&(o+=" "),o+=r);return o}function se(){for(var e,r,t=0,o="";t<arguments.length;)(e=arguments[t++])&&(r=ie(e))&&(o&&(o+=" "),o+=r);return o}function le(){for(var e=0,r,t,o="";e<arguments.length;)(r=arguments[e++])&&(t=ce(r))&&(o&&(o+=" "),o+=t);return o}function ce(e){if(typeof e=="string")return e;for(var r,t="",o=0;o<e.length;o++)e[o]&&(r=ce(e[o]))&&(t&&(t+=" "),t+=r);return t}var Z="-";function pe(e){var r=ze(e),t=e.conflictingClassGroups,o=e.conflictingClassGroupModifiers,i=o===void 0?{}:o;function s(a){var l=a.split(Z);return l[0]===""&&l.length!==1&&l.shift(),fe(l,r)||Ge(a)}function n(a,l){var u=t[a]||[];return l&&i[a]?[].concat(u,i[a]):u}return{getClassGroupId:s,getConflictingClassGroupIds:n}}function fe(e,r){var n;if(e.length===0)return r.classGroupId;var t=e[0],o=r.nextPart.get(t),i=o?fe(e.slice(1),o):void 0;if(i)return i;if(r.validators.length!==0){var s=e.join(Z);return(n=r.validators.find(function(a){var l=a.validator;return l(s)}))==null?void 0:n.classGroupId}}var ue=/^\[(.+)\]$/;function Ge(e){if(ue.test(e)){var r=ue.exec(e)[1],t=r==null?void 0:r.substring(0,r.indexOf(":"));if(t)return"arbitrary.."+t}}function ze(e){var r=e.theme,t=e.prefix,o={nextPart:new Map,validators:[]},i=Ue(Object.entries(e.classGroups),t);return i.forEach(function(s){var n=s[0],a=s[1];Y(a,o,n,r)}),o}function Y(e,r,t,o){e.forEach(function(i){if(typeof i=="string"){var s=i===""?r:de(r,i);s.classGroupId=t;return}if(typeof i=="function"){if(Pe(i)){Y(i(o),r,t,o);return}r.validators.push({validator:i,classGroupId:t});return}Object.entries(i).forEach(function(n){var a=n[0],l=n[1];Y(l,de(r,a),t,o)})})}function de(e,r){var t=e;return r.split(Z).forEach(function(o){t.nextPart.has(o)||t.nextPart.set(o,{nextPart:new Map,validators:[]}),t=t.nextPart.get(o)}),t}function Pe(e){return e.isThemeGetter}function Ue(e,r){return r?e.map(function(t){var o=t[0],i=t[1],s=i.map(function(n){return typeof n=="string"?r+n:typeof n=="object"?Object.fromEntries(Object.entries(n).map(function(a){var l=a[0],u=a[1];return[r+l,u]})):n});return[o,s]}):e}function ge(e){if(e<1)return{get:function(){},set:function(){}};var r=0,t=new Map,o=new Map;function i(s,n){t.set(s,n),r++,r>e&&(r=0,o=t,t=new Map)}return{get:function(n){var a=t.get(n);if(a!==void 0)return a;if((a=o.get(n))!==void 0)return i(n,a),a},set:function(n,a){t.has(n)?t.set(n,a):i(n,a)}}}var W="!";function me(e){var r=e.separator||":",t=r.length===1,o=r[0],i=r.length;return function(n){for(var a=[],l=0,u=0,f,d=0;d<n.length;d++){var g=n[d];if(l===0){if(g===o&&(t||n.slice(d,d+i)===r)){a.push(n.slice(u,d)),u=d+i;continue}if(g==="/"){f=d;continue}}g==="["?l++:g==="]"&&l--}var h=a.length===0?n:n.substring(u),v=h.startsWith(W),m=v?h.substring(1):h,w=f&&f>u?f-u:void 0;return{modifiers:a,hasImportantModifier:v,baseClassName:m,maybePostfixModifierPosition:w}}}function he(e){if(e.length<=1)return e;var r=[],t=[];return e.forEach(function(o){var i=o[0]==="[";i?(r.push.apply(r,t.sort().concat([o])),t=[]):t.push(o)}),r.push.apply(r,t.sort()),r}function be(e){return{cache:ge(e.cacheSize),splitModifiers:me(e),...pe(e)}}var Be=/\s+/;function ye(e,r){var t=r.splitModifiers,o=r.getClassGroupId,i=r.getConflictingClassGroupIds,s=new Set;return e.trim().split(Be).map(function(n){var a=t(n),l=a.modifiers,u=a.hasImportantModifier,f=a.baseClassName,d=a.maybePostfixModifierPosition,g=o(d?f.substring(0,d):f),h=Boolean(d);if(!g){if(!d)return{isTailwindClass:!1,originalClassName:n};if(g=o(f),!g)return{isTailwindClass:!1,originalClassName:n};h=!1}var v=he(l).join(":"),m=u?v+W:v;return{isTailwindClass:!0,modifierId:m,classGroupId:g,originalClassName:n,hasPostfixModifier:h}}).reverse().filter(function(n){if(!n.isTailwindClass)return!0;var a=n.modifierId,l=n.classGroupId,u=n.hasPostfixModifier,f=a+l;return s.has(f)?!1:(s.add(f),i(l,u).forEach(function(d){return s.add(a+d)}),!0)}).reverse().map(function(n){return n.originalClassName}).join(" ")}function ve(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];var o,i,s,n=a;function a(u){var f=r[0],d=r.slice(1),g=d.reduce(function(h,v){return v(h)},f());return o=be(g),i=o.cache.get,s=o.cache.set,n=l,l(u)}function l(u){var f=i(u);if(f)return f;var d=ye(u,o);return s(u,d),d}return function(){return n(le.apply(null,arguments))}}function c(e){var r=function(o){return o[e]||[]};return r.isThemeGetter=!0,r}var xe=/^\[(?:([a-z-]+):)?(.+)\]$/i,_e=/^\d+\/\d+$/,Fe=new Set(["px","full","screen"]),Ke=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Ve=/\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))|^0$/,He=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;function y(e){return C(e)||Fe.has(e)||_e.test(e)||S(e)}function S(e){return E(e,"length",je)}function Se(e){return E(e,"size",Ie)}function Ae(e){return E(e,"position",Ie)}function Me(e){return E(e,"url",$e)}function P(e){return E(e,"number",C)}function C(e){return!Number.isNaN(Number(e))}function Ce(e){return e.endsWith("%")&&C(e.slice(0,-1))}function k(e){return we(e)||E(e,"number",we)}function p(e){return xe.test(e)}function R(){return!0}function A(e){return Ke.test(e)}function Ee(e){return E(e,"",Ye)}function E(e,r,t){var o=xe.exec(e);return o?o[1]?o[1]===r:t(o[2]):!1}function je(e){return Ve.test(e)}function Ie(){return!1}function $e(e){return e.startsWith("url(")}function we(e){return Number.isInteger(Number(e))}function Ye(e){return He.test(e)}function Te(){var e=c("colors"),r=c("spacing"),t=c("blur"),o=c("brightness"),i=c("borderColor"),s=c("borderRadius"),n=c("borderSpacing"),a=c("borderWidth"),l=c("contrast"),u=c("grayscale"),f=c("hueRotate"),d=c("invert"),g=c("gap"),h=c("gradientColorStops"),v=c("gradientColorStopPositions"),m=c("inset"),w=c("margin"),M=c("opacity"),x=c("padding"),J=c("saturate"),K=c("scale"),X=c("sepia"),Q=c("skew"),ee=c("space"),re=c("translate"),V=function(){return["auto","contain","none"]},H=function(){return["auto","hidden","clip","visible","scroll"]},j=function(){return["auto",r]},te=function(){return["",y]},U=function(){return["auto",C,p]},oe=function(){return["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"]},B=function(){return["solid","dashed","dotted","double","none"]},ne=function(){return["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"]},$=function(){return["start","end","center","between","around","evenly","stretch"]},G=function(){return["","0",p]},ae=function(){return["auto","avoid","all","avoid-page","page","left","right","column"]},z=function(){return[C,P]},_=function(){return[C,p]};return{cacheSize:500,theme:{colors:[R],spacing:[y],blur:["none","",A,S],brightness:z(),borderColor:[e],borderRadius:["none","","full",A,S],borderSpacing:[r],borderWidth:te(),contrast:z(),grayscale:G(),hueRotate:_(),invert:G(),gap:[r],gradientColorStops:[e],gradientColorStopPositions:[Ce,S],inset:j(),margin:j(),opacity:z(),padding:[r],saturate:z(),scale:z(),sepia:G(),skew:_(),space:[r],translate:[r]},classGroups:{aspect:[{aspect:["auto","square","video",p]}],container:["container"],columns:[{columns:[A]}],"break-after":[{"break-after":ae()}],"break-before":[{"break-before":ae()}],"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"]}],clear:[{clear:["left","right","both","none"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[].concat(oe(),[p])}],overflow:[{overflow:H()}],"overflow-x":[{"overflow-x":H()}],"overflow-y":[{"overflow-y":H()}],overscroll:[{overscroll:V()}],"overscroll-x":[{"overscroll-x":V()}],"overscroll-y":[{"overscroll-y":V()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",k]}],basis:[{basis:j()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",p]}],grow:[{grow:G()}],shrink:[{shrink:G()}],order:[{order:["first","last","none",k]}],"grid-cols":[{"grid-cols":[R]}],"col-start-end":[{col:["auto",{span:[k]},p]}],"col-start":[{"col-start":U()}],"col-end":[{"col-end":U()}],"grid-rows":[{"grid-rows":[R]}],"row-start-end":[{row:["auto",{span:[k]},p]}],"row-start":[{"row-start":U()}],"row-end":[{"row-end":U()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",p]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",p]}],gap:[{gap:[g]}],"gap-x":[{"gap-x":[g]}],"gap-y":[{"gap-y":[g]}],"justify-content":[{justify:["normal"].concat($())}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal"].concat($(),["baseline"])}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[].concat($(),["baseline"])}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[x]}],px:[{px:[x]}],py:[{py:[x]}],ps:[{ps:[x]}],pe:[{pe:[x]}],pt:[{pt:[x]}],pr:[{pr:[x]}],pb:[{pb:[x]}],pl:[{pl:[x]}],m:[{m:[w]}],mx:[{mx:[w]}],my:[{my:[w]}],ms:[{ms:[w]}],me:[{me:[w]}],mt:[{mt:[w]}],mr:[{mr:[w]}],mb:[{mb:[w]}],ml:[{ml:[w]}],"space-x":[{"space-x":[ee]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[ee]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit",r]}],"min-w":[{"min-w":["min","max","fit",y]}],"max-w":[{"max-w":["0","none","full","min","max","fit","prose",{screen:[A]},A,S]}],h:[{h:[r,"auto","min","max","fit"]}],"min-h":[{"min-h":["min","max","fit",y]}],"max-h":[{"max-h":[r,"min","max","fit"]}],"font-size":[{text:["base",A,S]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",P]}],"font-family":[{font:[R]}],"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",S]}],"line-clamp":[{"line-clamp":["none",C,P]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",y]}],"list-image":[{"list-image":["none",p]}],"list-style-type":[{list:["none","disc","decimal",p]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[M]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[M]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[].concat(B(),["wavy"])}],"text-decoration-thickness":[{decoration:["auto","from-font",y]}],"underline-offset":[{"underline-offset":["auto",y]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],indent:[{indent:[r]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",S]}],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",p]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[M]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[].concat(oe(),[Ae])}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Se]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Me]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[v]}],"gradient-via-pos":[{via:[v]}],"gradient-to-pos":[{to:[v]}],"gradient-from":[{from:[h]}],"gradient-via":[{via:[h]}],"gradient-to":[{to:[h]}],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:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[M]}],"border-style":[{border:[].concat(B(),["hidden"])}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[M]}],"divide-style":[{divide:B()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:[""].concat(B())}],"outline-offset":[{"outline-offset":[y]}],"outline-w":[{outline:[y]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:te()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[M]}],"ring-offset-w":[{"ring-offset":[y]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",A,Ee]}],"shadow-color":[{shadow:[R]}],opacity:[{opacity:[M]}],"mix-blend":[{"mix-blend":ne()}],"bg-blend":[{"bg-blend":ne()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[o]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",A,p]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[d]}],saturate:[{saturate:[J]}],sepia:[{sepia:[X]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[M]}],"backdrop-saturate":[{"backdrop-saturate":[J]}],"backdrop-sepia":[{"backdrop-sepia":[X]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[n]}],"border-spacing-x":[{"border-spacing-x":[n]}],"border-spacing-y":[{"border-spacing-y":[n]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",p]}],duration:[{duration:_()}],ease:[{ease:["linear","in","out","in-out",p]}],delay:[{delay:_()}],animate:[{animate:["none","spin","ping","pulse","bounce",p]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[K]}],"scale-x":[{"scale-x":[K]}],"scale-y":[{"scale-y":[K]}],rotate:[{rotate:[k,p]}],"translate-x":[{"translate-x":[re]}],"translate-y":[{"translate-y":[re]}],"skew-x":[{"skew-x":[Q]}],"skew-y":[{"skew-y":[Q]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",p]}],accent:[{accent:["auto",e]}],appearance:["appearance-none"],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",p]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":[r]}],"scroll-mx":[{"scroll-mx":[r]}],"scroll-my":[{"scroll-my":[r]}],"scroll-ms":[{"scroll-ms":[r]}],"scroll-me":[{"scroll-me":[r]}],"scroll-mt":[{"scroll-mt":[r]}],"scroll-mr":[{"scroll-mr":[r]}],"scroll-mb":[{"scroll-mb":[r]}],"scroll-ml":[{"scroll-ml":[r]}],"scroll-p":[{"scroll-p":[r]}],"scroll-px":[{"scroll-px":[r]}],"scroll-py":[{"scroll-py":[r]}],"scroll-ps":[{"scroll-ps":[r]}],"scroll-pe":[{"scroll-pe":[r]}],"scroll-pt":[{"scroll-pt":[r]}],"scroll-pr":[{"scroll-pr":[r]}],"scroll-pb":[{"scroll-pb":[r]}],"scroll-pl":[{"scroll-pl":[r]}],"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","pinch-zoom","manipulation",{pan:["x","left","right","y","up","down"]}]}],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",p]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[y,P]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"]},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"],"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"],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"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}var q=ve(Te);var ar=De(Re());import Oe from"crypto";var Qe=128,T,D;function er(e){!T||T.length<e?(T=Buffer.allocUnsafe(e*Qe),Oe.getRandomValues(T),D=0):D+e>T.length&&(Oe.getRandomValues(T),D=0),D+=e}function rr(e){return er(e-=0),T.subarray(D-e,D)}function tr(e,r,t){let o=(2<<31-Math.clz32(e.length-1|1))-1,i=Math.ceil(1.6*o*r/e.length);return(s=r)=>{let n="";for(;;){let a=t(i),l=i;for(;l--;)if(n+=e[a[l]&o]||"",n.length===s)return n}}}function Ne(e,r=21){return tr(e,r,rr)}var qr=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?"https://app.dub.co":process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?"https://preview.dub.co":"http://localhost:8888",Jr=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?"https://app.dub.co":process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?"https://preview.dub.co":process.env.NGROK_URL;var Xr=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?"https://api.dub.co":process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?"https://api.dub.sh":"http://api.localhost:8888";function dt(...e){return q(se(e))}var pt=Ne("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",7);var ft=new RegExp(/^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/),gt=new RegExp(/^[0-9A-Za-z\u0080-\uFFFF\/\-]*$/u),mt=new RegExp(/^[a-zA-Z0-9\-]+$/);var ht={cron:process.env.DUB_SLACK_HOOK_CRON,links:process.env.DUB_SLACK_HOOK_LINKS};export{dt as a};
@@ -1,2 +0,0 @@
1
- "use client"
2
- import{a as u}from"./chunk-5WZZBGKJ.mjs";import{a as c}from"./chunk-J63GHRZH.mjs";import{APP_DOMAIN as f,cn as r}from"@dub/utils";import{ChevronDown as g,Menu as N,X as y}from"lucide-react";import l from"next/link";import{useParams as h}from"next/navigation";import{useState as p}from"react";import{Fragment as v,jsx as e,jsxs as s}from"react/jsx-runtime";function C(){let{domain:i="dub.co"}=h(),[o,n]=p(!1),[m,d]=p(!1);return s(v,{children:[e("button",{onClick:()=>n(!o),className:r("absolute 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",o&&"hover:bg-gray-100 active:bg-gray-200"),children:o?e(y,{className:"h-5 w-5 text-gray-600"}):e(N,{className:"h-5 w-5 text-gray-600"})}),e("nav",{className:r("fixed inset-0 z-20 hidden w-full bg-white px-5 py-16",o&&"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:()=>d(!m),children:[e("p",{className:"font-semibold",children:"Features"}),e(g,{className:r("h-5 w-5 text-gray-500 transition-all",m&&"rotate-180")})]}),m&&e("div",{className:"grid gap-4 overflow-hidden py-4",children:c.map(({slug:a,icon:t,shortTitle:b})=>s(l,{href:i==="dub.co"?`/features/${a}`:`https://dub.co/features/${a}?utm_source=${i}&utm_medium=referral&utm_campaign=custom-domain`,onClick:()=>n(!1),className:"flex w-full space-x-2",children:[e(t,{className:"h-5 w-5 text-gray-500"}),e("span",{className:"text-sm",children:b})]},a))})]}),u.map(({name:a,slug:t})=>e("li",{className:"py-3",children:e(l,{href:i==="dub.co"?`/${t}`:`https://dub.co/${t}?utm_source=${i}&utm_medium=referral&utm_campaign=custom-domain`,onClick:()=>n(!1),className:"flex w-full font-semibold capitalize",children:a})},t)),e("li",{className:"py-3",children:e(l,{href:`${f}/login`,className:"flex w-full font-semibold capitalize",children:"Log in"})}),e("li",{className:"py-3",children:e(l,{href:`${f}/register`,className:"flex w-full font-semibold capitalize",children:"Sign Up"})})]})})]})}export{C as a};
@@ -1,2 +0,0 @@
1
- "use client"
2
- import{d as g}from"./chunk-NHHVF35L.mjs";import*as o from"@radix-ui/react-dialog";import{cn as m}from"@dub/utils";import{useRouter as D}from"next/navigation";import{Drawer as a}from"vaul";import{jsx as t,jsxs as i}from"react/jsx-runtime";function x({children:n,className:l,dialogOnly:f,showModal:d,setShowModal:r,onClose:s,preventDefaultClose:u}){let p=D(),c=({dragged:e}={})=>{u&&!e||(s&&s(),r?r(!1):p.back())},{isMobile:b}=g();return b&&!f?i(a.Root,{open:r?d:!0,onOpenChange:e=>{e||c({dragged:!0})},children:[t(a.Overlay,{className:"fixed inset-0 z-40 bg-gray-100 bg-opacity-10 backdrop-blur"}),i(a.Portal,{children:[i(a.Content,{className:m("fixed bottom-0 left-0 right-0 z-50 mt-24 rounded-t-[10px] border-t border-gray-200 bg-white",l),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"})}),n]}),t(a.Overlay,{})]})]}):t(o.Root,{open:r?d:!0,onOpenChange:e=>{e||c()},children:i(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:m("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 md:rounded-2xl",l),children:n})]})})}export{x as a};
@@ -1,3 +0,0 @@
1
- "use client"
2
- import{a as r}from"./chunk-HRN3EQEB.mjs";import{jsx as l,jsxs as t}from"react/jsx-runtime";function s({className:o}){return t("div",{className:"group",children:[l("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 248 204",className:r("group-hover:hidden",o),children:l("path",{fill:"currentColor",d:"M221.95 51.29c.15 2.17.15 4.34.15 6.53 0 66.73-50.8 143.69-143.69 143.69v-.04c-27.44.04-54.31-7.82-77.41-22.64 3.99.48 8 .72 12.02.73 22.74.02 44.83-7.61 62.72-21.66-21.61-.41-40.56-14.5-47.18-35.07 7.57 1.46 15.37 1.16 22.8-.87-23.56-4.76-40.51-25.46-40.51-49.5v-.64c7.02 3.91 14.88 6.08 22.92 6.32C11.58 63.31 4.74 33.79 18.14 10.71c25.64 31.55 63.47 50.73 104.08 52.76-4.07-17.54 1.49-35.92 14.61-48.25 20.34-19.12 52.33-18.14 71.45 2.19 11.31-2.23 22.15-6.38 32.07-12.26-3.77 11.69-11.66 21.62-22.2 27.93 10.01-1.18 19.79-3.86 29-7.95-6.78 10.16-15.32 19.01-25.2 26.16z"})}),l("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1668.56 1221.19",className:r("hidden scale-150 group-hover:block",o),children:l("g",{transform:"translate(52.390088,-25.058597)",children:l("path",{fill:"currentColor",d:`M283.94,167.31l386.39,516.64L281.5,1104h87.51l340.42-367.76L984.48,1104h297.8L874.15,558.3l361.92-390.99
3
- h-87.51l-313.51,338.7l-253.31-338.7H283.94z M412.63,231.77h136.81l604.13,807.76h-136.81L412.63,231.77z`})})})]})}export{s as a};
@@ -1,2 +0,0 @@
1
- "use client"
2
- import{a as e,c as a}from"./chunk-HZBYDQAF.mjs";import{cn as n}from"@dub/utils";import{cva as b}from"class-variance-authority";import{jsx as l}from"react/jsx-runtime";var d=b("max-w-fit rounded-full border px-2 py-px text-xs font-medium capitalize",{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",black:"border-black bg-black text-white",gray:"border-gray-400 bg-gray-400 text-white",neutral:"border-gray-400 text-gray-500"}},defaultVariants:{variant:"neutral"}});function u(g){var t=g,{className:r,variant:o}=t,i=a(t,["className","variant"]);return l("span",e({className:n(d({variant:o}),r)},i))}export{d as a,u as b};
@@ -1,2 +0,0 @@
1
- "use client"
2
- import{a as n}from"./chunk-4Y22ZONT.mjs";import{cn as a}from"@dub/utils";import*as t from"@radix-ui/react-switch";import{jsx as e}from"react/jsx-runtime";function f({fn:s,trackDimensions:c,thumbDimensions:l,thumbTranslate:i,checked:d=!0,disabled:r=!1,disabledTooltip:o}){return o?e(n,{content:o,children:e("div",{className:"radix-state-checked:bg-gray-300 relative inline-flex h-4 w-8 flex-shrink-0 cursor-not-allowed rounded-full border-2 border-transparent bg-gray-200",children:e("div",{className:"h-3 w-3 transform rounded-full bg-white shadow-lg"})})}):e(t.Root,{checked:d,name:"switch",onCheckedChange:u=>s(u),disabled:r,className:a(r?"cursor-not-allowed bg-gray-300":"radix-state-checked:bg-blue-500 radix-state-unchecked:bg-gray-200 cursor-pointer focus:outline-none focus-visible:ring focus-visible:ring-blue-500 focus-visible:ring-opacity-75","relative inline-flex h-4 w-8 flex-shrink-0 rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out",c),children:e(t.Thumb,{className:a(`radix-state-checked:${i}`,"radix-state-unchecked:translate-x-0","pointer-events-none h-3 w-3 translate-x-4 transform rounded-full bg-white shadow-lg ring-0 transition duration-200 ease-in-out",l,i)})})}export{f as a};
@@ -1,2 +0,0 @@
1
- "use client"
2
- import{a as l}from"./chunk-TN7DEVEE.mjs";import{a}from"./chunk-RF3BM6RY.mjs";import{cn as d}from"lib";import{jsx as t,jsxs as b}from"react/jsx-runtime";function g({text:n,variant:r="primary",loading:o,icon:i,disabledTooltip:s,...e}){return s?t(l,{content:s,fullWidth:!0,children:t("div",{className:"flex h-10 w-full cursor-not-allowed items-center justify-center rounded-md border border-gray-200 bg-gray-100 px-4 text-sm text-gray-400 transition-all focus:outline-none",children:t("p",{children:n})})}):b("button",{type:e.onClick?"button":"submit",className:d("flex h-10 w-full items-center justify-center space-x-2 rounded-md border px-4 text-sm transition-all focus:outline-none",e.disabled||o?"cursor-not-allowed border-gray-200 bg-gray-100 text-gray-400":{"border-black bg-black text-white hover:bg-white hover:text-black":r==="primary","border-gray-200 bg-white text-gray-500 hover:border-black hover:text-black":r==="secondary","border-blue-500 bg-blue-500 text-white hover:bg-white hover:text-blue-500":r==="success","border-red-500 bg-red-500 text-white hover:bg-white hover:text-red-500":r==="danger"},e.className),disabled:e.disabled||o,...e,children:[o?t(a,{}):i||null,t("p",{children:n})]})}export{g as a};
@@ -1,2 +0,0 @@
1
- "use client"
2
- import{a as n}from"./chunk-CMCBEA3Q.mjs";import{cn as x}from"@dub/utils";import{useMemo as y,useState as i}from"react";import{jsx as e,jsxs as r}from"react/jsx-runtime";function T({title:m,description:u,inputData:t,helpText:g,buttonText:c="Save Changes",disabledTooltip:s,handleSubmit:f}){let[a,b]=i(t.defaultValue),[l,d]=i(!1),p=y(()=>l||!a||a===t.defaultValue,[l,a,t.defaultValue]);return r("form",{onSubmit:async o=>{o.preventDefault(),d(!0),await f({[t.name]:a}),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:[e("h2",{className:"text-xl font-medium",children:m}),e("p",{className:"text-sm text-gray-500",children:u})]}),typeof t.defaultValue=="string"?e("input",{...t,type:"text",required:!0,disabled:!!s,onChange:o=>b(o.target.value),className:x("w-full max-w-md rounded-md border border-gray-300 text-gray-900 placeholder-gray-300 focus:border-gray-500 focus:outline-none focus:ring-gray-500 sm:text-sm",{"cursor-not-allowed bg-gray-100 text-gray-400":s})}):e("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 rounded-b-lg border-t border-gray-200 bg-gray-50 p-3 sm:px-10",children:[e("p",{className:"text-sm text-gray-500",children:g}),e("div",{children:e(n,{text:c,loading:l,disabled:p,disabledTooltip:s})})]})]})}export{T as a};
@@ -1,2 +0,0 @@
1
- "use client"
2
- import{d as x}from"./chunk-NHHVF35L.mjs";import{f as c,g as p}from"./chunk-XW75EZ3L.mjs";import{a as m,b as d}from"./chunk-LMXROOMK.mjs";import*as a from"@radix-ui/react-tooltip";import{HelpCircle as f}from"lucide-react";import u from"next/link";import{Drawer as n}from"vaul";import{jsx as t,jsxs as o}from"react/jsx-runtime";function g({children:r,content:e,fullWidth:i}){let{isMobile:l}=x();return l?o(n.Root,{children:[t(n.Trigger,{className:`${i?"w-full":"inline-flex"} md:hidden`,onClick:s=>{s.stopPropagation()},children:r}),t(n.Overlay,{className:"fixed inset-0 z-40 bg-gray-100 bg-opacity-10 backdrop-blur"}),o(n.Portal,{children:[o(n.Content,{className:"fixed bottom-0 left-0 right-0 z-50 mt-24 rounded-t-[10px] border-t border-gray-200 bg-white",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"})}),t("div",{className:"flex min-h-[150px] w-full items-center justify-center overflow-hidden bg-white align-middle shadow-xl",children:typeof e=="string"?t("span",{className:"block text-center text-sm text-gray-700",children:e}):e})]}),t(n.Overlay,{})]})]}):t(a.Provider,{delayDuration:100,children:o(a.Root,{children:[t(a.Trigger,{className:"md:inline-flex",asChild:!0,children:r}),t(a.Content,{sideOffset:8,side:"top",className:"animate-slide-up-fade z-[99] items-center overflow-hidden rounded-md border border-gray-200 bg-white shadow-md md:block",children:typeof e=="string"?t("div",{className:"block max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:e}):e})]})})}function N({title:r,cta:e,href:i,target:l,onClick:s}){return o("div",{className:"flex flex-col items-center space-y-3 p-4 text-center md:max-w-xs",children:[t("p",{className:"text-sm text-gray-700",children:r}),e&&(i?t(u,d(m({href:i},l?{target:l}:{}),{className:"mt-4 w-full rounded-md border border-black bg-black px-3 py-1.5 text-center text-sm text-white transition-all hover:bg-white hover:text-black",children:e})):s?t("button",{type:"button",className:"mt-4 w-full rounded-md border border-black bg-black px-3 py-1.5 text-center text-sm text-white transition-all hover:bg-white hover:text-black",onClick:s,children:e}):null)]})}function T({title:r,cta:e,href:i}){return o("div",{className:"max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:[r," ",t("a",{href:i,target:"_blank",rel:"noopener noreferrer",className:"inline-flex text-gray-500 underline underline-offset-4 hover:text-gray-800",children:e})]})}function k({content:r}){return t(g,{content:r,children:t(f,{className:"h-4 w-4 text-gray-500"})})}function P({value:r,unit:e="total clicks",children:i,lastClicked:l}){return(!r||r<1e3)&&!l?i:t(g,{content:o("div",{className:"block max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:[o("p",{className:"text-sm font-semibold text-gray-700",children:[c(r||0,{full:!0})," ",e]}),l&&o("p",{className:"mt-1 text-xs text-gray-500",children:["Last clicked ",p(l,{withAgo:!0})]})]}),children:i})}export{g as a,N as b,T as c,k as d,P as e};
@@ -1,2 +0,0 @@
1
- "use client"
2
- import{useSelectedLayoutSegment as l}from"next/navigation";var t={};import{SHOW_BACKGROUND_SEGMENTS as m}from"lib";import{jsx as n}from"react/jsx-runtime";function c(){let e;try{e=l()}catch{}return!e||m.includes(e)?n("div",{className:t.main,children:n("div",{className:t.content})}):null}export{c as a};
@@ -1,2 +0,0 @@
1
- "use client"
2
- import{a as c}from"./chunk-4Y22ZONT.mjs";import{a as u}from"./chunk-PPR7AQWS.mjs";import{a as l,b as d,c as b}from"./chunk-HZBYDQAF.mjs";import{cn as m}from"@dub/utils";import{jsx as t,jsxs as g}from"react/jsx-runtime";function p(h){var a=h,{text:n,variant:r="primary",loading:o,icon:i,disabledTooltip:s}=a,e=b(a,["text","variant","loading","icon","disabledTooltip"]);return s?t(c,{content:s,fullWidth:!0,children:t("div",{className:"flex h-10 w-full cursor-not-allowed items-center justify-center rounded-md border border-gray-200 bg-gray-100 px-4 text-sm text-gray-400 transition-all focus:outline-none",children:t("p",{children:n})})}):g("button",d(l({type:e.onClick?"button":"submit",className:m("flex h-10 w-full items-center justify-center space-x-2 rounded-md border px-4 text-sm transition-all focus:outline-none",e.disabled||o?"cursor-not-allowed border-gray-200 bg-gray-100 text-gray-400":{"border-black bg-black text-white hover:bg-white hover:text-black":r==="primary","border-gray-200 bg-white text-gray-500 hover:border-black hover:text-black":r==="secondary","border-blue-500 bg-blue-500 text-white hover:bg-white hover:text-blue-500":r==="success","border-red-500 bg-red-500 text-white hover:bg-white hover:text-red-500":r==="danger"},e.className),disabled:e.disabled||o},e),{children:[o?t(u,{}):i||null,t("p",{children:n})]}))}export{p as a};
@@ -1,2 +0,0 @@
1
- "use client"
2
- import{a as g}from"./chunk-J63GHRZH.mjs";import{a as p}from"./chunk-244OSE43.mjs";import{a as d}from"./chunk-TNTITL6S.mjs";import{a as c}from"./chunk-5EWSH7PD.mjs";import{a as i}from"./chunk-IYAB6FPB.mjs";import{a as n}from"./chunk-T4YFARK5.mjs";import o from"@vercel/analytics";import m from"next/link";import{useParams as h}from"next/navigation";import{jsx as e,jsxs as r}from"react/jsx-runtime";var l={features:g.map(({shortTitle:t,slug:s})=>({name:t,href:`/features/${s}`})),product:[{name:"Blog",href:"/blog"},{name:"Changelog",href:"/changelog"},{name:"Customer Stories",href:"/customers"},{name:"Help Center",href:"/help"},{name:"Pricing",href:"/pricing"}],tools:[{name:"Metatags API",href:"/tools/metatags"},{name:"Link Inspector",href:"/tools/inspector"}],legal:[{name:"Privacy",href:"/privacy"},{name:"Terms",href:"/terms"},{name:"Abuse",href:"/abuse"}]};function N(){let{domain:t="dub.co"}=h(),s=a=>t==="dub.co"?a:`https://dub.co${a}`;return e("footer",{className:"z-10 border-t border-gray-200 bg-white/50 py-8 backdrop-blur-lg",children:r(p,{className:"pt-10",children:[r("div",{className:"xl:grid xl:grid-cols-5 xl:gap-8",children:[r("div",{className:"space-y-8 xl:col-span-2",children:[r(m,{href:s("/"),...t!=="dub.co"&&{onClick:()=>{o.track("Referred from custom domain",{domain:t,medium:"footer item (logo)"})}},children:[e("span",{className:"sr-only",children:"Dub.co Logo"}),e(i,{className:"h-7 text-gray-600"})]}),e("p",{className:"max-w-xs text-sm text-gray-500",children:"Giving modern marketing teams superpowers with short links that stand out."}),r("div",{className:"flex items-center space-x-2",children:[r("a",{href:"https://twitter.com/dubdotco",target:"_blank",rel:"noreferrer",className:"group rounded-md p-2 transition-colors hover:bg-gray-100 active:bg-gray-200",children:[e("span",{className:"sr-only",children:"Twitter"}),e(d,{className:"h-5 w-5 text-gray-600"})]}),e("div",{className:"h-8 border-l border-gray-200"}),r("a",{href:"https://github.com/steven-tey/dub",target:"_blank",rel:"noreferrer",className:"rounded-md p-2 transition-colors hover:bg-gray-100 active:bg-gray-200",children:[e("span",{className:"sr-only",children:"Github"}),e(n,{className:"h-5 w-5 text-gray-600"})]}),e("div",{className:"h-8 border-l border-gray-200"}),r("a",{href:"https://www.linkedin.com/company/dubhq/",target:"_blank",rel:"noreferrer",className:"rounded-md p-2 transition-colors hover:bg-gray-100 active:bg-gray-200",children:[e("span",{className:"sr-only",children:"LinkedIn"}),e(c,{className:"h-5 w-5",fill:"#52525B"})]})]})]}),r("div",{className:"mt-16 grid grid-cols-2 gap-8 xl:col-span-3 xl:mt-0",children:[r("div",{className:"md:grid md:grid-cols-2 md:gap-8",children:[r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-900",children:"Features"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:l.features.map(a=>e("li",{children:e(m,{href:s(a.href),...t!=="dub.co"&&{onClick:()=>{o.track("Referred from custom domain",{domain:t,medium:`footer item (${a.name})`})}},className:"text-sm text-gray-500 hover:text-gray-900",children:a.name})},a.name))})]}),r("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-600",children:"Product"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:l.product.map(a=>e("li",{children:e(m,{href:s(a.href),...t!=="dub.co"&&{onClick:()=>{o.track("Referred from custom domain",{domain:t,medium:`footer item (${a.name})`})}},className:"text-sm text-gray-500 hover:text-gray-900",children:a.name})},a.name))})]})]}),r("div",{className:"md:grid md:grid-cols-2 md:gap-8",children:[r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-600",children:"Tools"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:l.tools.map(a=>e("li",{children:e(m,{href:s(a.href),...t!=="dub.co"&&{onClick:()=>{o.track("Referred from custom domain",{domain:t,medium:`footer item (${a.name})`})}},className:"text-sm text-gray-500 hover:text-gray-900",children:a.name})},a.name))})]}),r("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-600",children:"Legal"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:l.legal.map(a=>e("li",{children:e(m,{href:s(a.href),...t!=="dub.co"&&{onClick:()=>{o.track("Referred from custom domain",{domain:t,medium:`footer item (${a.name})`})}},className:"text-sm text-gray-500 hover:text-gray-900",children:a.name})},a.name))})]})]})]})]}),e("div",{className:"mt-16 border-t border-gray-900/10 pt-8 sm:mt-20 lg:mt-24",children:r("p",{className:"text-sm leading-5 text-gray-500",children:["\xA9 ",new Date().getFullYear()," Dub.co"]})})]})})}export{N as a};
@@ -1 +0,0 @@
1
- "use client"
@@ -1,2 +0,0 @@
1
- "use client"
2
- import{a}from"./chunk-EHYVEIOL.mjs";import{a as e}from"./chunk-Z5P2KHPP.mjs";import{cn as n}from"@dub/utils";import{useState as p}from"react";import{toast as u}from"sonner";import{jsx as t,jsxs as c}from"react/jsx-runtime";function f({value:r,className:s}){let[i,o]=p(!1);return c("button",{onClick:l=>{l.stopPropagation(),o(!0),navigator.clipboard.writeText(r).then(()=>{u.success("Copied to clipboard!")}),setTimeout(()=>o(!1),3e3)},className:n("group rounded-full bg-gray-100 p-1.5 transition-all duration-75 hover:scale-105 hover:bg-blue-100 active:scale-95",s),children:[t("span",{className:"sr-only",children:"Copy"}),i?t(a,{className:"text-gray-700 transition-all group-hover:text-blue-800"}):t(e,{className:"text-gray-700 transition-all group-hover:text-blue-800"})]})}export{f as a};
@@ -1,2 +0,0 @@
1
- "use client"
2
- import{a as g}from"./chunk-J63GHRZH.mjs";import{a as p}from"./chunk-CFCHBBAJ.mjs";import{e as u}from"./chunk-NHHVF35L.mjs";import{a as d}from"./chunk-5A2BHTHD.mjs";import*as i from"@radix-ui/react-navigation-menu";import s from"@vercel/analytics";import{APP_DOMAIN as v,SHOW_BACKGROUND_SEGMENTS as x,cn as l}from"lib";import{ChevronDown as N}from"lucide-react";import r from"next/link";import{useParams as h,useSelectedLayoutSegment as k}from"next/navigation";import{jsx as e,jsxs as a}from"react/jsx-runtime";var y=[{name:"Customers",slug:"customers"},{name:"Changelog",slug:"changelog"},{name:"Help",slug:"help"},{name:"Pricing",slug:"pricing"}];function T(){let{domain:t="dub.co"}=h(),f=u(80),n=k(),c=n==="help";return e("div",{className:l("sticky inset-x-0 top-0 z-30 w-full transition-all",{"border-b border-gray-200 bg-white/75 backdrop-blur-lg":f,"border-b border-gray-200 bg-white":n&&!x.includes(n)}),children:e(p,{...c&&{className:"max-w-screen-lg"},children:a("div",{className:"flex h-14 items-center justify-between",children:[a("div",{className:"flex items-center space-x-4",children:[e(r,{href:t==="dub.co"?"/":"https://dub.co",...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:"logo"})}},children:e(d,{})}),c?a("div",{className:"flex items-center",children:[e("div",{className:"mr-3 h-5 border-l-2 border-gray-400"}),e(r,{href:"/help",className:"font-display text-lg font-bold text-gray-700",children:"Help Center"})]}):a(i.Root,{delayDuration:0,className:"relative hidden lg:block",children:[a(i.List,{className:"flex flex-row space-x-2 p-4",children:[a(i.Item,{children:[a(i.Trigger,{className:"group flex items-center space-x-2 rounded-md px-3 py-2 text-sm font-medium hover:bg-gray-100 focus:outline-none",children:[e("p",{className:l("text-sm font-medium text-gray-500 transition-colors ease-out group-hover:text-black",{"text-black":n==="features"}),children:"Features"}),e(N,{className:"h-4 w-4 transition-all group-data-[state=open]:rotate-180"})]}),e(i.Content,{children:e("div",{className:"grid w-[32rem] grid-cols-2 gap-1 p-3",children:g.map(({slug:m,icon:o,shortTitle:b})=>a(r,{href:t==="dub.co"?`/features/${m}`:`https://dub.co/features/${feature.slug}`,...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:`navbar item (features/${m})`})}},className:"rounded-lg p-3 transition-colors hover:bg-gray-100 active:bg-gray-200",children:[a("div",{className:"flex items-center space-x-2",children:[e(o,{className:"h-4 w-4 text-gray-700"}),e("p",{className:"text-sm font-medium text-gray-700",children:b})]}),e("p",{className:"mt-1 line-clamp-1 text-sm text-gray-500",children:title})]},m))})})]}),y.map(({name:m,slug:o})=>e(i.Item,{asChild:!0,children:e(r,{id:`nav-${o}`,href:t==="dub.co"?`/${o}`:`https://dub.co/${o}`,...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:`navbar item (${o})`})}},className:l("rounded-md px-3 py-2 text-sm font-medium text-gray-500 transition-colors ease-out hover:text-black",{"text-black":n===o}),children:m},o)},o))]}),e(i.Viewport,{className:"data-[state=closed]:animate-scale-out-content data-[state=open]:animate-scale-in-content absolute left-0 top-full flex w-[var(--radix-navigation-menu-viewport-width)] origin-[top_center] justify-start rounded-lg border border-gray-200 bg-white shadow-lg"})]})]}),a("div",{className:"hidden lg:block",children:[e(r,{href:`${v}/login`,...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:"navbar item (login)"})}},className:"animate-fade-in rounded-full px-4 py-1.5 text-sm font-medium text-gray-500 transition-colors ease-out hover:text-black",children:"Log in"}),e(r,{href:`${v}/register`,...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:"navbar item (signup)"})}},className:"animate-fade-in rounded-full border border-black bg-black px-4 py-1.5 text-sm text-white transition-all hover:bg-white hover:text-black",children:"Sign Up"})]})]})})})}export{y as a,T as b};
@@ -1,2 +0,0 @@
1
- "use client"
2
- import{useSelectedLayoutSegment as o}from"next/navigation";import{jsx as e}from"react/jsx-runtime";function i(){let t;try{t=o()}catch{}return e("div",{className:"background-main",children:e("div",{className:"background-content"})})}export{i as a};
@@ -1,2 +0,0 @@
1
- "use client"
2
- import{cn as n}from"lib";import{jsx as t}from"react/jsx-runtime";function s({className:i}){return t("div",{style:r.outerDiv,className:n("h-5 w-5",i),children:t("div",{style:r.loadingSpinner,className:n("loading-spinner","h-5 w-5",i),children:o.map((e,a)=>t("div",{style:e,className:"animate-spinner"},a))})})}var r={outerDiv:{height:"5rem",width:"5rem"},loadingSpinner:{position:"relative",top:"50%",left:"50%"}},o=[...Array(12)].map((i,e)=>({animation:`spinner 1.2s linear infinite ${-1.2+.1*e}s`,background:"gray",position:"absolute",borderRadius:"1rem",width:"30%",height:"8%",left:"-10%",top:"-4%",transform:`rotate(${30*e}deg) translate(120%)`}));export{s as a};
@@ -1,2 +0,0 @@
1
- "use client"
2
- import{cn as a}from"lib";import{jsx as o}from"react/jsx-runtime";function c({className:e,children:r}){return o("div",{className:a("mx-auto w-full max-w-screen-xl px-2.5 lg:px-20",e),children:r})}export{c as a};
@@ -1,2 +0,0 @@
1
- "use client"
2
- import{a as l}from"./chunk-DZBC27CZ.mjs";import{a}from"./chunk-PPR7AQWS.mjs";import{cn as d}from"@dub/utils";import{jsx as t,jsxs as b}from"react/jsx-runtime";function g({text:n,variant:r="primary",loading:o,icon:i,disabledTooltip:s,...e}){return s?t(l,{content:s,fullWidth:!0,children:t("div",{className:"flex h-10 w-full cursor-not-allowed items-center justify-center rounded-md border border-gray-200 bg-gray-100 px-4 text-sm text-gray-400 transition-all focus:outline-none",children:t("p",{children:n})})}):b("button",{type:e.onClick?"button":"submit",className:d("flex h-10 w-full items-center justify-center space-x-2 rounded-md border px-4 text-sm transition-all focus:outline-none",e.disabled||o?"cursor-not-allowed border-gray-200 bg-gray-100 text-gray-400":{"border-black bg-black text-white hover:bg-white hover:text-black":r==="primary","border-gray-200 bg-white text-gray-500 hover:border-black hover:text-black":r==="secondary","border-blue-500 bg-blue-500 text-white hover:bg-white hover:text-blue-500":r==="success","border-red-500 bg-red-500 text-white hover:bg-white hover:text-red-500":r==="danger"},e.className),disabled:e.disabled||o,...e,children:[o?t(a,{}):i||null,t("p",{children:n})]})}export{g as a};
@@ -1,2 +0,0 @@
1
- "use client"
2
- import{a as l}from"./chunk-OCYEAVPN.mjs";import{a}from"./chunk-PPR7AQWS.mjs";import{cn as d}from"@dub/utils";import{jsx as t,jsxs as b}from"react/jsx-runtime";function g({text:n,variant:r="primary",loading:o,icon:i,disabledTooltip:s,...e}){return s?t(l,{content:s,fullWidth:!0,children:t("div",{className:"flex h-10 w-full cursor-not-allowed items-center justify-center rounded-md border border-gray-200 bg-gray-100 px-4 text-sm text-gray-400 transition-all focus:outline-none",children:t("p",{children:n})})}):b("button",{type:e.onClick?"button":"submit",className:d("flex h-10 w-full items-center justify-center space-x-2 rounded-md border px-4 text-sm transition-all focus:outline-none",e.disabled||o?"cursor-not-allowed border-gray-200 bg-gray-100 text-gray-400":{"border-black bg-black text-white hover:bg-white hover:text-black":r==="primary","border-gray-200 bg-white text-gray-500 hover:border-black hover:text-black":r==="secondary","border-blue-500 bg-blue-500 text-white hover:bg-white hover:text-blue-500":r==="success","border-red-500 bg-red-500 text-white hover:bg-white hover:text-red-500":r==="danger"},e.className),disabled:e.disabled||o,...e,children:[o?t(a,{}):i||null,t("p",{children:n})]})}export{g as a};
@@ -1,2 +0,0 @@
1
- "use client"
2
- import{cn as r}from"lib";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",{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",black:"border-black bg-black text-white",gray:"border-gray-400 bg-gray-400 text-white",neutral:"border-gray-400 text-gray-500"}},defaultVariants:{variant:"neutral"}});function l({className:t,variant:e,...a}){return n("span",{className:r(i({variant:e}),t),...a})}export{i as a,l as b};
@@ -1,2 +0,0 @@
1
- "use client"
2
- import{a as l}from"./chunk-Z46XMMXR.mjs";import{a}from"./chunk-J5SA2VPW.mjs";import{cn as d}from"lib";import{jsx as t,jsxs as b}from"react/jsx-runtime";function g({text:n,variant:r="primary",loading:o,icon:i,disabledTooltip:s,...e}){return s?t(l,{content:s,fullWidth:!0,children:t("div",{className:"flex h-10 w-full cursor-not-allowed items-center justify-center rounded-md border border-gray-200 bg-gray-100 px-4 text-sm text-gray-400 transition-all focus:outline-none",children:t("p",{children:n})})}):b("button",{type:e.onClick?"button":"submit",className:d("flex h-10 w-full items-center justify-center space-x-2 rounded-md border px-4 text-sm transition-all focus:outline-none",e.disabled||o?"cursor-not-allowed border-gray-200 bg-gray-100 text-gray-400":{"border-black bg-black text-white hover:bg-white hover:text-black":r==="primary","border-gray-200 bg-white text-gray-500 hover:border-black hover:text-black":r==="secondary","border-blue-500 bg-blue-500 text-white hover:bg-white hover:text-blue-500":r==="success","border-red-500 bg-red-500 text-white hover:bg-white hover:text-red-500":r==="danger"},e.className),disabled:e.disabled||o,...e,children:[o?t(a,{}):i||null,t("p",{children:n})]})}export{g as a};
@@ -1,2 +0,0 @@
1
- "use client"
2
- import{a as n}from"./chunk-PRUCD3QQ.mjs";import{cn as x}from"lib";import{useMemo as y,useState as i}from"react";import{jsx as e,jsxs as r}from"react/jsx-runtime";function T({title:m,description:u,inputData:t,helpText:g,buttonText:c="Save Changes",disabledTooltip:s,handleSubmit:f}){let[a,b]=i(t.defaultValue),[l,d]=i(!1),p=y(()=>l||!a||a===t.defaultValue,[l,a,t.defaultValue]);return r("form",{onSubmit:async o=>{o.preventDefault(),d(!0),await f({[t.name]:a}),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:[e("h2",{className:"text-xl font-medium",children:m}),e("p",{className:"text-sm text-gray-500",children:u})]}),typeof t.defaultValue=="string"?e("input",{...t,type:"text",required:!0,disabled:!!s,onChange:o=>b(o.target.value),className:x("w-full max-w-md rounded-md border border-gray-300 text-gray-900 placeholder-gray-300 focus:border-gray-500 focus:outline-none focus:ring-gray-500 sm:text-sm",{"cursor-not-allowed bg-gray-100 text-gray-400":s})}):e("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 rounded-b-lg border-t border-gray-200 bg-gray-50 p-3 sm:px-10",children:[e("p",{className:"text-sm text-gray-500",children:g}),e("div",{children:e(n,{text:c,loading:l,disabled:p,disabledTooltip:s})})]})]})}export{T as a};
@@ -1,2 +0,0 @@
1
- "use client"
2
- import{cn as l}from"lib";import{jsx as n}from"react/jsx-runtime";function t({user:a={},className:i}){return a?n("img",{alt:`Avatar for ${(a==null?void 0:a.name)||(a==null?void 0:a.email)}`,src:(a==null?void 0:a.image)||`https://avatars.dicebear.com/api/micah/${a==null?void 0:a.email}.svg`,className:l("h-10 w-10 rounded-full border border-gray-300",i),draggable:!1}):n("div",{className:l("h-10 w-10 animate-pulse rounded-full border border-gray-300 bg-gray-100",i)})}function e({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{t as a,e as b};
@@ -1,2 +0,0 @@
1
- "use client"
2
- import{a as c,b as p}from"./chunk-I23BSUWS.mjs";import{a as u}from"./chunk-FR336PIX.mjs";import{a as i}from"./chunk-W2MLKAZN.mjs";import o from"next/link";import{useParams as g}from"next/navigation";import{useState as f}from"react";import{ChevronDown as b,Menu as N,X as h}from"lucide-react";import{Fragment as y,jsx as e,jsxs as s}from"react/jsx-runtime";function C(){let{domain:l="dub.co"}=g(),[t,m]=f(!1),[n,d]=f(!1);return s(y,{children:[e("button",{onClick:()=>m(!t),className:i("absolute 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",t&&"hover:bg-gray-100 active:bg-gray-200"),children:t?e(h,{className:"h-5 w-5 text-gray-600"}):e(N,{className:"h-5 w-5 text-gray-600"})}),e("nav",{className:i("fixed inset-0 z-20 hidden w-full bg-white px-5 py-16",t&&"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:()=>d(!n),children:[e("p",{className:"font-semibold",children:"Features"}),e(b,{className:i("h-5 w-5 text-gray-500 transition-all",n&&"rotate-180")})]}),n&&e("div",{className:"grid gap-4 overflow-hidden py-4",children:u.map(a=>s(o,{href:l==="dub.co"?`/features/${a.slug}`:`https://dub.co/features/${a.slug}?utm_source=${l}&utm_medium=referral&utm_campaign=custom-domain`,onClick:()=>m(!1),className:"flex w-full space-x-2",children:[e(a.icon,{className:"h-5 w-5 text-gray-500"}),e("span",{className:"text-sm",children:a.shortTitle})]},a.slug))})]}),p.map(({name:a,slug:r})=>e("li",{className:"py-3",children:e(o,{href:l==="dub.co"?`/${r}`:`https://dub.co/${r}?utm_source=${l}&utm_medium=referral&utm_campaign=custom-domain`,onClick:()=>m(!1),className:"flex w-full font-semibold capitalize",children:a})},r)),e("li",{className:"py-3",children:e(o,{href:`${c}/login`,className:"flex w-full font-semibold capitalize",children:"Log in"})}),e("li",{className:"py-3",children:e(o,{href:`${c}/register`,className:"flex w-full font-semibold capitalize",children:"Sign Up"})})]})})]})}export{C as a};
@@ -1,2 +0,0 @@
1
- "use client"
2
- import{d as l}from"./chunk-XW75EZ3L.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};
@@ -1,2 +0,0 @@
1
- "use client"
2
- import{Airplay as e,BarChart as t,Link2 as o,QrCode as i,Users as r}from"lucide-react";var a=[{title:"Powerful Analytics For The Modern Marketer",shortTitle:"Advanced Analytics",accordionTitle:"Analytics that matter",description:"Dub provides powerful analytics for your links, including geolocation, device, browser, and referrer information.",icon:t,slug:"analytics",thumbnail:"https://d2vwwcvoksz7ty.cloudfront.net/features/analytics.png",thumbnailBlurhash:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAdCAYAAADoxT9SAAAACXBIWXMAAAsTAAALEwEAmpwYAAAE+0lEQVR4nL2Y63qiShBF5/2f8czkpjGCgoLQV+yzq6saGpVMYjznx/ok0JBa7GrQ/mWsC7fQhLE3MEEJl8eMteP51hH+L8g4e81SXUv8WhS5KFJpwlyhdSZicpGpYCf8VSgT+09EliQYPs5j3ZVIknA+41O5+9K5S6RXE0lEJZEok6Xhhwx/zaLU99L5lkguMJGOuyiiMxHnWMB/wi2py3TMF5L5skifiXQzbJTpIZJkpkQykWGBeHxJRtpLtn8s0pNILtGbcIrYSEcoJzIe53hcY2CRJCOFDxfM0xlGmVtz50EiNt79Too/dUxLn72LRBnlRWaYZPwZEsxwwf8iYpKItE+SaEWgOREu0naEx3EPoQEyQyZDBU8yudRcYrieJ9bHVr17sjOTCKWRJBpwhMShJdzIsfXY73GchIYo1Eehc5QhHOEzpP1szlh8zo9FXBQZJSBwhEDd2FAdbdgfXNhl7I8e+32o2wFSA6SGKNXrc0QRhtH2HFOb468Rkfw99U0RPpl6n+YAtc8RbVQ3VDAKr10oKhe2xF6oPPb5UNYeYgOkBqTFQi3RE2dc74zrnmNqiT4m6EdorqlR5oEiNBeohaqG7z5JfKD4zc6F91LYefztsd9HKRLaQ4YSOkhKKak2kzsJnfIjc5kHiVAaSYTSKGuWoOLXhQurrQtvwqrwYV36KEVClBClQ0KUUNVcivkoRnMrPTBOSUY5kZEX7iNExraSNCgJkqDiXz9ceNlM0N9vWwgVnFBquaJObedZiuZTQ3PKQ2x6WLCQm95PhnmoCLXVVtJYicTzuwtPxFrA9rMI0RgaG1vuou121HoHzw+JJskg/Y7/J8lwKm5M5X6RNNHH+WEhYlGcxV23SMCicBv+rG34vWJom/Y9gyhTcHrrMknxQ4KSpTblJx7fqPgoP00ieSp3iWiJs5NHL4nQY/emCAr/IxL/yOfvNQs9b0iGxxKrwkLIRpmPPQslmUpkUiozEf0TEW0zEXslskJhrxuDO29QtIFAxpr3PeHYy4eJMq+ZzPuOZPhaRWVDeZEKPVwelAh/841vdXkZHhp6CRr8Y4N+N+G9MCgMhYrMkxSfBIjnDUmALfOGc9alYZG9iNR8g/afJXKXSP4VPooYiBikYkJ9NJikkNlPMqstF5uEqHjiZaORhoasUGikwSIbnPuBa2xxU0oRqXCj6ofOkZkIf3VvSQYih0YjFR3KSk8yKGxNRVKxeeHCqmDWJbPZ6VGiwE3hNLh16Tscpc8i9gdPrdmPKjOKUCrtSSMVjVRYZldDBkLbPQpDcRsU+V5OBSfedxMbGkvngDJKGEiYmAZJHE/p54Edf7j9UMRkIjp0nQ4niDQQOSKVA2TqwyQUExKpSBKMRauRgsaCHZ2La1SQqBskjbRJohGJUWS2LpCWnr4gkiR0WnBQOvQkEmUUZBRkmCjUcEKVSEUxoYyoGbujYgE6j6B2pfl3MlMSszQmrtfSFkTGQeOqiRYRFSGRJEO0klBMqWWpQyqw4WKrRuGuK/4UahpL55yYhtpWfj4vSdwSSSyIpDRYQilIKCUy/UyIkbYDbSdyHcOFqjkYk463PUNrAGlBo8/baXEN7SsicQVRi4jK6IPqM2bHcmk90gknyEdwvItgP67fC2Oxhlcvk4ReWBi8KXJl+ImIvkSrYCI6bjPYNowai1UZ2G8meKy5zeIK51zoX56UB7vUOlYfAAAAAElFTkSuQmCC",videoUrl:"https://www.youtube.com/embed/i05FamHTn_I?si=gRnWs5Kf2n6Qyqmd&autoplay=1",videoLength:"2:56",bentoTitle:"Detailed insights for every click",bentoDescription:"Dub provides detailed analytics for every click on your links. See where your audience is coming from and what devices they are using.",bentoFeatures:[{title:"Time-series data",description:"See how your links are performing over time with a beautiful time-series chart.",image:"https://d2vwwcvoksz7ty.cloudfront.net/features/time-series-data.png"},{title:"Geographic data",description:"Understand your audience with geographic data \u2013\xA0on both a country and city level.",image:"https://d2vwwcvoksz7ty.cloudfront.net/features/geo-data.png"},{title:"Device data",description:"See what devices your audience is using to click on your links"},{title:"Referrer data",description:"Understand which websites are driving the most traffic to your links."},{title:"404 monitoring",description:"Monitor your links for 404 errors and notifies you when they occur."}]},{title:"Branded Links That Stand Out",shortTitle:"Branded Links",accordionTitle:"Use your own domain",description:"Dub offers free and unlimited custom domains on all plans for you to create branded links that stand out.",icon:e,slug:"branded-links",thumbnail:"https://d2vwwcvoksz7ty.cloudfront.net/features/branded-links.png",thumbnailBlurhash:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAdCAYAAADoxT9SAAAACXBIWXMAAAsTAAALEwEAmpwYAAADYElEQVR4nMWY2XLDIAxF/f9/28QGs5myCSQBXtLM9OFO09axdXwlIVjccXjnotyJjqZw/UHkv6B83/gsY63XWvt9V15K6YUQfts2v64rVfjbtgkvwjX7vvsFgrVRNsoyuV7p+iPJcR0j2GulGMLzjDFeKZWCwxDv99u/ol7v9DlqXQNMuCYCLzMAg2Xgs6vK3zkqUAf2RxBwI775BPF6UUWYABhB43WL5QGHG0VpIjtQADKOwR0V7inQFGSlID8/ABNdKSkWQXLwWTVwTaWIbFWEwSJAD2F6kJZab0itgSMIxHQAOWAdbpi1KzOQRVAuCbuUa+k+TAeSakSmguY18io1QkD6N48BivYsuZsqgOFAZzBTiA5Ep2LnXSumUi70NUOsuXNtAXhRGIBDVACuBiQLDABp3dIMOtyVKxQkt1/oXA2mACWorbbf6EZswQsEX99+ukG0tkiqcCGW9ltQ/CmIQwimuPIcpKwjJr/YncAUIIAS2YkIIUI9LRxCIggCIFT4YpBUCSTDmAYzAAFXnoBAeun6ggGmAFWoBhH/t7Q64C7sSZtoWgvMWqGoM7FucEdrIO6y4OvCDOuYgbqFNCtAAAWfS8yXIBRGUU1AtM5rDQe504LppEHXN9pZNanrBYq6r4nY/rgjIIABEH0DxN1owf3c10YjDGUrFDSrhUBwEJZa3BVRHJEcpDzMfhuEL95PQMQEYisdDFpyghiBuPupNYKxCAaPUpcgo5QaCbqZLGtNdsOktDKD+rg/c30T5ARGJDWI7IauNxyn1ZMp+EMQ+YEjojgiU0ssIMwR2Mu4/0st2noBLAe/lwUIIFQdaVJbTFuAEYR7tDdpQPPOxYfcOQh6+y2lKExapDCIxiAWFfonjhydIyOQi641d0RiRwpEXJSuHLm3IJ61X/dJ+/0wtYojBu/3B4cYVy58ZR3BqTXURWrR9HJdwXOYuxB1xK8aguh5sU8gKsgO6WXmrkxg7kFQNxJEGoMGINNZawIiCojEICS9TH0wP1I6Oz8bHT2Zk5SiIGgnWIHkaEPV/o5rBIN0riBNz8guxO/zfRCUWgRGzWHwin8n6A6CpVQFUQbvR/oUmwoBcAgMMoN5Ihx8fzQ1Aqn7Ev0YpINh52K6jC51oDwNmmtwxlYn7fb7L/LDQmuPkz48AAAAAElFTkSuQmCC",videoUrl:"https://www.youtube.com/embed/LbgvQxLVqq4?si=7_sJVXFZINPxbAdM&autoplay=1",videoLength:"3:23",bentoTitle:"Impress your audience with branded links",bentoDescription:"Create custom short links that match your brand and stand out from the crowd, with free and unlimited custom domains on all plans.",bentoFeatures:[{title:"Unlimited custom domains",description:"Add as many custom domains as you want to your project at no extra cost.",image:"https://d2vwwcvoksz7ty.cloudfront.net/features/domains.png",href:"/help/article/how-to-add-custom-domain"},{title:"Custom Social Media Cards",description:"Customize the title, description, and image of your links when shared on social media.",image:"https://d2vwwcvoksz7ty.cloudfront.net/features/social-cards.png",href:"/help/article/how-to-create-link#custom-social-media-cards"},{title:"Free SSL certificates",description:"Dub automatically provisions SSL certificates for your custom domains."},{title:"Link cloaking",description:"Hide your destination URL with link cloaking to make your links look cleaner.",href:"/help/article/how-to-create-link#link-cloaking"},{title:"Custom QR codes",description:"With Dub Pro, you can create branded QR codes for your links.",href:"/features/qr-codes"}]},{title:"Free QR Code Generator",shortTitle:"QR Codes",accordionTitle:"Free QR Code Generator",description:"QR codes and short links are like peas in a pod. Dub offers free QR codes for every short link you create.",icon:i,slug:"qr-codes",thumbnail:"https://d2vwwcvoksz7ty.cloudfront.net/features/qr-codes.png",thumbnailBlurhash:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAdCAYAAADoxT9SAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFvklEQVR4nL2Y23qaUBCF+/7v1CZpG1uTeD4jooIgCHISMb2arhnEIzbaNrmYD90aMv9ea2Y2flqnr5SsN9dFuqH1SeRrb/1t9v1XiZRjw/GL0tdftDkJWZd4PYv8Hqfx6X+AHH5nlXCk29jsIkkOoNZboC1MMUgBxJsg6eGubZMr2uU3QCTpVUrxhdhByfe3SSC5zeYyyKXEC0EOLXJppw9B1yd24uQ40ShGRCmFHOGagjBFZFde48/jmGFzoFyZ/waSx7kqR0kXAmwkQU7YD9a09BHLhLyDWC7xGdYDfJ4BZX9XBHKtla4GubT7pwpkAFnCrruixWJFjhOTvQu8x5rrJgLIsGGYweSqpFuY09r47yB7m2VFHK94Z3MAJO/GNLcjsuYhmWZIxizYRkgzvDetiGw7Fkgvh4nSE1VuK+43QHKYY7BDiEggsLs+EnM5wQDJ+6TrHk0mHmljl0YaYuSSpnk0Hi9pOvVpBqj5PBIYthrXjYAkm0KQWyAugJxHZqdcCSTiIyE3gAJLMgwXyTo0VOc0GFjU61vU7ZkIfo01xSFVXQByCZhAlHG9TJXcXoUgN0DcAMJq8D9GAiEngt21GWIBCJuUISduULutU7OpU6ORXVutGXW7FgBtUUjXfcDzJqy2IOnHgxyq4SxgFRNKTOZQgiE48QnVahpVKhq9vPB1jPdTrBsCMxw6ogrXENuLuxiDXLTW+4EkFEQxipXV8Eg3bFJHJuzDyXLiKj09KfSzjPipULk8pOdnjWrVCZQxRJXx2BN7OYtYQHimJElxsb8LyIpBYKsgjGArtgerAcsoOrU7vPNDQAzox48ePT5mUSoNAKOKQk1YrY960dAEGGTBILDWn7rWu4FIfQTsbxSt6aA7zaDGhBpNFVbqA6JD37616OGhSQ/3Lfr6tS1AZShUrWrU6Rgoeht1skTBh+hcK9xzvTuy5DC3dqvbQJI9iLNAkZtsK/a+RvW6AjW69P07AB7qdHdXoy9fanR/1wBMi36UevTyrEgNKQMTdbKgueWT50XSxnmwsnWPZ9dHgcwykE53RLU6W6gDkAbd3zNEhT5/rtAdYL5CnVKpA5CB1NFgMAOIQ5a1lM4XhitpInz/87PcO1vLEWuhnWpQpAdFGgN6eu7ARqwAlLhniAquVVitAcu1qQLrtQCiDAyA2FDEKwD5N1Wu71rbYpcasbIa6fdRyC0FBd1Fp2pClTpgqrAYIADFcOVym6qVPmbMiBQ0hyladgYS4H6x3JdnlICsPwKE268MQ+5amNRTE4lNUMQq6qSPVtsGTIMeS3UA1aj0WBe4Z6hVr/XxvRFmCUCmFkBcHCJ9nIYjKJ2pkpyp8i4gm+1A5DkSYI5gShtz1IkuqrSgSq2Gon5pU/mpKUDlclPgqtUu6mNAPdhQVXV0LYBgI3hD9iB7VZL3BsmOKDzZQyl4E/ZiVVR1CpgRrKPgaNIDUAdWY4A2XjMEq6Gg0DXMER3HGotsAVkCJJTN+WCQA3tBFdtxpXtNpjMoM5VEu70hgAZQqC/Br7tdBaAqgCcodAMDESB2BuJvQaL4HOTWoXg1yNF5SwajLxbjDjbVTdntIZIdKJoknoeijAAxRnNAfegznLXmePByL4Lkavzjo+6l2OxUiaR7ZRZjGFbGgs2M2RyFbOI8ZaA1T3ehjaeihA4IVmM+d3BE8VBrfqG1TkGuBboS5FVa475Wkp0yHtoot2Qb6lhIkhXiOtA5oBRfDQCwEvx5rsbSD6Sd74t9PxT/5mnxepCDWtk/KfJzRSzquDmQ48FyC0maleIrq8BrDLFwMzX2ttqDrNMPBDl8WsyV4QbAzyl8xOf5wEAO7MNQfOVgAFYihzhW48+2usZefwVyCYaPMKwOzxoXCfOsyIMB2E45hNTGH211/mvj+jBOQa7+uXR9+pMQQLYwfMyIomMgTpihOHwOBsB6DlE0CI8T/3UhihX6DZrKi05GV59sAAAAAElFTkSuQmCC",videoUrl:"https://www.youtube.com/embed/fcWkUZoJJ7w?si=LKNOO67aL6Q-3xN4&autoplay=1",videoLength:"1:07",bentoTitle:"Gorgeous QR codes for your links",bentoDescription:"Create beautiful flyers and posters with QR codes for your links."},{title:"Personalize Your Short Links",shortTitle:"Personalization",accordionTitle:"Personalize Your Short links",description:"Customize your link's behavior with device targeting, geo targeting, link cloaking, and more.",icon:o,slug:"personalization",thumbnail:"https://d2vwwcvoksz7ty.cloudfront.net/features/personalization.png",thumbnailBlurhash:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAdCAYAAADoxT9SAAAACXBIWXMAAAsTAAALEwEAmpwYAAAGlElEQVR4nL2YB1NUSxBG/fcUKGlJokiQjBIkZyTnnOMiGVzMEgz0m9NLrwOSCtZH1dRd7t6d6dNfh5n7SG74Ozs7k1+/fsnJyYl8//5dvnz5Ih8/fpRQKCT7+/uys7MrW1vbsrm5GRlbW1vu/o7s7u7qM+/fv5cPHz7Ip0+f3O8/6xyMr1+/6vj27ZvOfXR0pOucnp7Kjx8/5OfPn7r279+/1Q7GTX+PbgNhwuPjY10UCAzb29tTg9+925BgMChra2uREQyuu/vvFAogngWc3wLD+Pz5IpDBsI7B+CAG8yAQvMMiGBAKHUYg1tfXZXV1VZaWlmRxcfF8LMny8rK7v6bfG4yvioJ4MLepEjUQJmUhDDk4OJDt7W01cmVlRRYWFmR2dlZmZmZ08Hl+fl7hgEQZnud3h4eHERBTxYcxEFS5LrzuDcIETMpCpsbGxoYaCQTGT05OysTEhI7JySm9Nz+/oMoQdqgHyAVFLkH4ivwzEKRmUcJje3tH1cDjeH9iYlJGR8dkZGTEjVEZGxtTML4j1MgZwoukB8QAwuPvHPlfQDAG76IG4YP3R0dHZXBwSPr7B2RgYEA/cw9AYABGFT9PGCS+Jf9V4XVVwkcFhAUBwbvkxuzsnIyPT8jQ0LCD6Jeenl7p7e2Vvr7+CMzU1JQC8zy/s+rFOHRhSs4YlMGgzOWEjzqI5QexTx5gLCp0d/dIZ2fn+ehyUD16n3AjzObm5lRFfmv9hblwDLmjYA4KoMswBsJ4MMjx8R8QqhDhgreHh4dVhbdv30pbW5u0tra60Sbt7R0K1NfX5xQbcsqNK4wlPzlmfYaKZo3Teg0w1lP88IqaIru7YRCSGE8TQt3d3QrR1NQkDQ2NbjRIY2OjtLS0OKB26eoKA1mozc3Na7XDGYQcxYA5yT2/cVq++KpgS1RATJE/IIPqeYyur6+X2tpaqa6ulprqGv0MVFNTswIRbjxPVaNMA0UxAAogVAIGZQgzcoYQQ5WogjDx3t5+BARjyAPCCjVqamqksrJKysvL5fXr126US0VFhVRVVbnvas+BOlRBFAIKlSyHlp1CwFjzNFXIFb/DRwUEb5GwBkK1wrj6+gY1+NWrV1JcXCyFhUVuFOooKiqS0tIyB1mpKjU2Nmku4QBTiRxCHXIIR5EzhBhrEl6WJ1EBIQH39w8ugFBqyY/a2jpVAoiXL19KTk6OZGdny4sXL/Sam5urUABVVFRq+BF2AJFDwDAfpZqcsZ0A4Ux4WZ7cVoLvDMLkF0H61JhqlxNlZWWSn5/vjM+WzMxMycjIkLS0NB18zsrKigDxLArV1dXp7wk3KuD09LSqwhrkIz2G8PLz5N4gdha5CoTSS6K/efNGSkpKJC8vT549e6bGJycHJDExyY1ESUpO1nsAohDApaWlmlMo09HRoWHKnCQ/uUJ4kfSsa2X43iD+oeoyCF0dkObmFs0Pwgoj8X5yICDx8fES9/ixxMbGymN3BSgQSHHfP9WQAwZlCDOcgSo0UHKF5knSW56Q8HfJkzuDsFeiidEDLLRMkQsgToEnT54oRExMjF75PzEpSVJTU1U1wgwVcQJVj1whvNgxUI7JE9azhMeGqICEt/EhXYA4pg8QDiQ7pZdQyc3L1fAJpAQkISFB4uLiFIIrCiU5EEIMEMLwLiAk/D8BQfKVlVWZnpnW7QdllGZI7ygoKNCwSU9PV1WAQYl4dwUiJeXuoXUVyG2V60YQvGAgJB+bPkokTYyGhgHNzc0aXqhC+aVCEWKEUcDlS4q7AvfUqcV3qEEo0jBxAp2fMKXrMy/z47DLoRUVEDvq+tsUa4pUHaoPJRUYvE2+PH/+XMOIKyrk5Obod0DQd+j4OMF6CV1+wc1L1cJhflN8MIj/KgiZqVx2JrGtPNULrwJDqGAkQHR16+7kA6HEd6iHEtYQ2erYDtnOLnaipMj4W/oHgVD6AME7eAlvBdeDqoq/nUcZPIyRFAASmYHh/E8DBJZneNbfSOKUJW+/RVj5+y2//D4IhMmYFC/ZSZFYpoEBY4csjOOAhULh80mrVjb+pzCggH/wIjz9I7Ft520HfPlc8qCqhaRMRp6E322FtPPSHIFBGYwhxvEuCmEo+cMIn+UH9T7G88x123g7k7COqXHXM8mNIPwQT5gq9soU6YHxX9QBxMYPA9k3YSyDz/bOizyw916UcVTAIYQTx4TrTolRA2Gi69//7mioUc3s9SlepnFyZQDKCL9SDd541LVDla/GbfnB3395WbgdqvKtmQAAAABJRU5ErkJggg==",videoUrl:"https://www.youtube.com/embed/K2UdLK8k1I4?si=79hu5XSW9pSjODOm&autoplay=1",videoLength:"2:25",bentoTitle:"Optimize your links for every audience",bentoDescription:"Get the most out of every click by delivering the right experience to the right audience.",bentoFeatures:[{title:"Device targeting",description:"Redirect your audience to different destinations based on their device type (e.g. iOS/Android).",image:"https://d2vwwcvoksz7ty.cloudfront.net/features/device-targeting.png",href:"/help/article/how-to-create-link#device-targeting-ios--android"},{title:"Geo targeting",description:"Redirect your audience to different destinations based on their country of origin.",image:"https://d2vwwcvoksz7ty.cloudfront.net/features/geo-targeting.png",href:"/help/article/how-to-create-link#geo-targeting"},{title:"Expiration dates",description:"Automatically disable your links after a certain date & time.",href:"/help/article/how-to-create-link#expiration-date"},{title:"Password protection",description:"Protect your links with passwords to prevent unauthorized access.",href:"/help/article/how-to-create-link#password-protection"},{title:"Link cloaking",description:"Hide your destination URL with link cloaking to make your links look cleaner.",href:"/help/article/how-to-create-link#link-cloaking"}]},{title:"Collaborate With Your Team",shortTitle:"Team Collaboration",accordionTitle:"Collaborate With Your Team",description:"Invite your teammates to collaborate on your links. For enterprises, Dub offers SAML SSO for better security.",icon:r,slug:"collaboration",thumbnail:"https://d2vwwcvoksz7ty.cloudfront.net/features/collaboration.png",thumbnailBlurhash:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAdCAYAAADoxT9SAAAACXBIWXMAAAsTAAALEwEAmpwYAAAE0UlEQVR4nM2YC3eiWBCE5///yIlRQN6vyxu0p6ovILLZTMzDXc+pg6AJ/VnVfYFf8g2v6/Uql8tl1TRNq8ZxvNP2s+X7/HvqK69f3wGxgOyLH4bhTW2hvgvmW0D2EEvBfd+/qbdg/hOQ5aQW4opiLijqBsFiu65TtW27UTcfvwfaw3wG6CGQPYB1wkJYgEE6FMiCGxTeNI2qrqH5/QJFoC3M00DuIS4rBH/NYRhXFxRCi6+lqqhqo1qPL0DWme9x5UMg70GwiH5xAQWyWGOMFGUpRVFInlO5brlf4jg/r2agxZnFlc/2yxdAFohBWhTD+BhTKUCW5ZKmmSRJInFMxbrlPo8TjEB0aYFhxL7S+A+B3ENMa2M3TatOlKXRIpMk1cLDKJIwDCWAuI2wz+Npms4wRqPGmP04yJsQu0jRDQtRKEQUxRIEofh+IOezv4r7BKJDdIZRW1zZxut5IPOYZbNaNxCpotTiothCsHDXO4vjepArLrYe9i1MpDGjK+yXLQj//2ca/iGQ26ide2N1o0JfFPilU0BEcvZ8cRxPTkdXjkdnleO4KwxdIzh7hfFin/w8yOW6cwMgHUCaDm40cMOgqFyiMBH/HIrrnBXi9eDI4XCCjnh/UhgXgHSLrqSIIZ2sq/qu4Xm+HwHRxW8Zt4AY4Ea/xMrUUuQASXIJgxhuBOKcznJ8deXwAoiX46rjK1w5eepYGETaTytI+0yQ8QbStYM0dSumrCXPjCQxQRI5u+E9yO8F5rQBCRQ6SbLng0wzyNAzVqOC1FUnpmgkTwESAcSfQY6+HA+evL4gWr8hbBmzE+AYO8YvCtEjACkRyxrxtCCjnucG8mGOx0DGLUizBykAkgIkEvcUoGi48kIYNPzBVYec41k8N5DAx3oSpZKluQ4KDgxOwKeBTOMFINMK0gCkKlopMkytuJQoyCXw4IpDGDjz6lvBIffki+dgbTlH+B4WRUQxz0rtMfYahwdje9mDfBDmQUf2IP0MUgPESBzClXMmvmthPMCoAMDI+V6s8UuiTLKk0CFRmUann714nJ4DMg1bkHEG6aTMEK+kkiSEK36uMHSGQL4bK0BwTjR6cZihNwodEKbA1XCFq+CWV8HjT4PIPLWuGq1RQSYFaSv0SdmLyeFKSlcsTBwUChQBSOVnOJbpQEhjC1EWlbrR1J0ODvbe9FwQuAKQvpmkrQFitq4AJsKaApgEMSNQjL7hew6DFH3EwVDklY5tuqGx6v4HII0ZFMRkdGWGgTMpgaJSxUGQJcZCYDAwUuoGhkXb9BZkuEWL53t0cr0Pcv1LtGYQxkthEDE6QyBGTYVBUFJ5o6O6Klt1gpEiBGPF/hgGe2swzSCXnwJZxu+4aXYFQcMv8TKYYAqjQuFafKsiQGVaXXuaup8hrBsWZLyBLK48sLp/AOTfxi9BAMHJZex6woIJsBedMGWjcbrBdHcw7BGuI9Pqyg3myyDX90AQiQWkJkjZasElldc3FVYEMcbC2GjxKQsfVvChhX0Cc+fK5fJQvB4EmWaQ5aKx11+XvzILVYii1qm0VUlh3JZlrdPKwjR3MP0MM+5gPhqvv4D88yHcclPFSLCIum71nsSCAKKo9P6Eq/aqwoq3w7y2MqaeHw01enliH9z1O1ceezz0B49+MX0EZnFXAAAAAElFTkSuQmCC",videoUrl:"https://www.youtube.com/embed/_m9RM8L6TOw?si=49_XIkQ7g-61dRtV&autoplay=1",videoLength:"2:13",bentoTitle:"Seamless collaboration for marketing teams",bentoDescription:"View and manage your team's links in one place, with fine-grained permissions and SAML SSO for enterprises.",bentoFeatures:[{title:"Unlimited teammates",description:"All paid plans come with unlimited teammates, so you can work with your team without worrying about extra costs.",image:"https://d2vwwcvoksz7ty.cloudfront.net/features/teammates.png",href:"/help/article/how-to-invite-teammates"},{title:"SAML SSO",description:"Dub offers SAML SSO for enterprises to provide better security and control over their projects.",image:"https://d2vwwcvoksz7ty.cloudfront.net/features/saml.png",href:"/help/category/saml-sso"},{title:"Tags & comments",description:"Organize your links with tags and comments to provide context for your team.",href:"/help/article/how-to-use-tags"},{title:"Fine-grained permissions",description:"Enterprises on Dub can set role-based access controls (RBAC) to control who can create, edit, and delete links."},{title:"Team analytics",description:"See how your team is performing with team analytics, including link clicks and top referrers."}]}];export{a};
@@ -1,2 +0,0 @@
1
- "use client"
2
- import{a as l}from"./chunk-Z46XMMXR.mjs";import{a}from"./chunk-N7BNEQPU.mjs";import{cn as d}from"lib";import{jsx as t,jsxs as b}from"react/jsx-runtime";function g({text:n,variant:r="primary",loading:o,icon:i,disabledTooltip:s,...e}){return s?t(l,{content:s,fullWidth:!0,children:t("div",{className:"flex h-10 w-full cursor-not-allowed items-center justify-center rounded-md border border-gray-200 bg-gray-100 px-4 text-sm text-gray-400 transition-all focus:outline-none",children:t("p",{children:n})})}):b("button",{type:e.onClick?"button":"submit",className:d("flex h-10 w-full items-center justify-center space-x-2 rounded-md border px-4 text-sm transition-all focus:outline-none",e.disabled||o?"cursor-not-allowed border-gray-200 bg-gray-100 text-gray-400":{"border-black bg-black text-white hover:bg-white hover:text-black":r==="primary","border-gray-200 bg-white text-gray-500 hover:border-black hover:text-black":r==="secondary","border-blue-500 bg-blue-500 text-white hover:bg-white hover:text-blue-500":r==="success","border-red-500 bg-red-500 text-white hover:bg-white hover:text-red-500":r==="danger"},e.className),disabled:e.disabled||o,...e,children:[o?t(a,{}):i||null,t("p",{children:n})]})}export{g as a};
@@ -1,2 +0,0 @@
1
- "use client"
2
- import{a as l}from"./chunk-Z46XMMXR.mjs";import{a}from"./chunk-NPDJHIVO.mjs";import{cn as d}from"lib";import{jsx as t,jsxs as b}from"react/jsx-runtime";function g({text:n,variant:r="primary",loading:o,icon:i,disabledTooltip:s,...e}){return s?t(l,{content:s,fullWidth:!0,children:t("div",{className:"flex h-10 w-full cursor-not-allowed items-center justify-center rounded-md border border-gray-200 bg-gray-100 px-4 text-sm text-gray-400 transition-all focus:outline-none",children:t("p",{children:n})})}):b("button",{type:e.onClick?"button":"submit",className:d("flex h-10 w-full items-center justify-center space-x-2 rounded-md border px-4 text-sm transition-all focus:outline-none",e.disabled||o?"cursor-not-allowed border-gray-200 bg-gray-100 text-gray-400":{"border-black bg-black text-white hover:bg-white hover:text-black":r==="primary","border-gray-200 bg-white text-gray-500 hover:border-black hover:text-black":r==="secondary","border-blue-500 bg-blue-500 text-white hover:bg-white hover:text-blue-500":r==="success","border-red-500 bg-red-500 text-white hover:bg-white hover:text-red-500":r==="danger"},e.className),disabled:e.disabled||o,...e,children:[o?t(a,{}):i||null,t("p",{children:n})]})}export{g as a};
@@ -1,2 +0,0 @@
1
- "use client"
2
- import{d as m}from"./chunk-NHHVF35L.mjs";import{nFormatter as c,timeAgo as p}from"@dub/utils";import*as a from"@radix-ui/react-tooltip";import{HelpCircle as x}from"lucide-react";import g from"next/link";import{Drawer as n}from"vaul";import{jsx as t,jsxs as o}from"react/jsx-runtime";function d({children:r,content:e,fullWidth:i}){let{isMobile:l}=m();return l?o(n.Root,{children:[t(n.Trigger,{className:`${i?"w-full":"inline-flex"} md:hidden`,onClick:s=>{s.stopPropagation()},children:r}),t(n.Overlay,{className:"fixed inset-0 z-40 bg-gray-100 bg-opacity-10 backdrop-blur"}),o(n.Portal,{children:[o(n.Content,{className:"fixed bottom-0 left-0 right-0 z-50 mt-24 rounded-t-[10px] border-t border-gray-200 bg-white",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"})}),t("div",{className:"flex min-h-[150px] w-full items-center justify-center overflow-hidden bg-white align-middle shadow-xl",children:typeof e=="string"?t("span",{className:"block text-center text-sm text-gray-700",children:e}):e})]}),t(n.Overlay,{})]})]}):t(a.Provider,{delayDuration:0,children:o(a.Root,{children:[t(a.Trigger,{className:"md:inline-flex",asChild:!0,children:r}),t(a.Content,{sideOffset:8,side:"top",className:"animate-slide-up-fade z-[99] items-center overflow-hidden rounded-md border border-gray-200 bg-white shadow-md md:block",children:typeof e=="string"?t("div",{className:"block max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:e}):e})]})})}function h({title:r,cta:e,href:i,target:l,onClick:s}){return o("div",{className:"flex flex-col items-center space-y-3 p-4 text-center md:max-w-xs",children:[t("p",{className:"text-sm text-gray-700",children:r}),e&&(i?t(g,{href:i,...l?{target:l}:{},className:"mt-4 w-full rounded-md border border-black bg-black px-3 py-1.5 text-center text-sm text-white transition-all hover:bg-white hover:text-black",children:e}):s?t("button",{type:"button",className:"mt-4 w-full rounded-md border border-black bg-black px-3 py-1.5 text-center text-sm text-white transition-all hover:bg-white hover:text-black",onClick:s,children:e}):null)]})}function w({title:r,cta:e,href:i}){return o("div",{className:"max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:[r," ",t("a",{href:i,target:"_blank",rel:"noopener noreferrer",className:"inline-flex text-gray-500 underline underline-offset-4 hover:text-gray-800",children:e})]})}function N({content:r}){return t(d,{content:r,children:t(x,{className:"h-4 w-4 text-gray-500"})})}function T({value:r,unit:e="total clicks",children:i,lastClicked:l}){return(!r||r<1e3)&&!l?i:t(d,{content:o("div",{className:"block max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:[o("p",{className:"text-sm font-semibold text-gray-700",children:[c(r||0,{full:!0})," ",e]}),l&&o("p",{className:"mt-1 text-xs text-gray-500",children:["Last clicked ",p(l,{withAgo:!0})]})]}),children:i})}export{d as a,h as b,w as c,N as d,T as e};
@@ -1,2 +0,0 @@
1
- "use client"
2
- import{a as Ne,b as Ue}from"./chunk-AUBFB4SI.mjs";var ce=Ne((wr,le)=>{var k=1e3,R=k*60,L=R*60,E=L*24,Pe=E*7,ze=E*365.25;le.exports=function(e,r){r=r||{};var t=typeof e;if(t==="string"&&e.length>0)return Ge(e);if(t==="number"&&isFinite(e))return r.long?_e(e):Be(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function Ge(e){if(e=String(e),!(e.length>100)){var r=/^(-?(?:\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(!!r){var t=parseFloat(r[1]),o=(r[2]||"ms").toLowerCase();switch(o){case"years":case"year":case"yrs":case"yr":case"y":return t*ze;case"weeks":case"week":case"w":return t*Pe;case"days":case"day":case"d":return t*E;case"hours":case"hour":case"hrs":case"hr":case"h":return t*L;case"minutes":case"minute":case"mins":case"min":case"m":return t*R;case"seconds":case"second":case"secs":case"sec":case"s":return t*k;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return t;default:return}}}}function Be(e){var r=Math.abs(e);return r>=E?Math.round(e/E)+"d":r>=L?Math.round(e/L)+"h":r>=R?Math.round(e/R)+"m":r>=k?Math.round(e/k)+"s":e+"ms"}function _e(e){var r=Math.abs(e);return r>=E?F(e,r,E,"day"):r>=L?F(e,r,L,"hour"):r>=R?F(e,r,R,"minute"):r>=k?F(e,r,k,"second"):e+" ms"}function F(e,r,t,o){var s=r>=t*1.5;return Math.round(e/t)+" "+o+(s?"s":"")}});function se(e){var r,t,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e))for(r=0;r<e.length;r++)e[r]&&(t=se(e[r]))&&(o&&(o+=" "),o+=t);else for(r in e)e[r]&&(o&&(o+=" "),o+=r);return o}function ie(){for(var e,r,t=0,o="";t<arguments.length;)(e=arguments[t++])&&(r=se(e))&&(o&&(o+=" "),o+=r);return o}var sr=Ue(ce());import ue from"crypto";var Fe=128,I,O;function Ve(e){!I||I.length<e?(I=Buffer.allocUnsafe(e*Fe),ue.getRandomValues(I),O=0):O+e>I.length&&(ue.getRandomValues(I),O=0),O+=e}function Ke(e){return Ve(e-=0),I.subarray(O-e,O)}function He(e,r,t){let o=(2<<31-Math.clz32(e.length-1|1))-1,s=Math.ceil(1.6*o*r/e.length);return(i=r)=>{let n="";for(;;){let a=t(s),l=s;for(;l--;)if(n+=e[a[l]&o]||"",n.length===i)return n}}}function de(e,r=21){return He(e,r,Ke)}function pe(){for(var e=0,r,t,o="";e<arguments.length;)(r=arguments[e++])&&(t=fe(r))&&(o&&(o+=" "),o+=t);return o}function fe(e){if(typeof e=="string")return e;for(var r,t="",o=0;o<e.length;o++)e[o]&&(r=fe(e[o]))&&(t&&(t+=" "),t+=r);return t}var Z="-";function he(e){var r=$e(e),t=e.conflictingClassGroups,o=e.conflictingClassGroupModifiers,s=o===void 0?{}:o;function i(a){var l=a.split(Z);return l[0]===""&&l.length!==1&&l.shift(),be(l,r)||je(a)}function n(a,l){var u=t[a]||[];return l&&s[a]?[].concat(u,s[a]):u}return{getClassGroupId:i,getConflictingClassGroupIds:n}}function be(e,r){var n;if(e.length===0)return r.classGroupId;var t=e[0],o=r.nextPart.get(t),s=o?be(e.slice(1),o):void 0;if(s)return s;if(r.validators.length!==0){var i=e.join(Z);return(n=r.validators.find(function(a){var l=a.validator;return l(i)}))==null?void 0:n.classGroupId}}var ge=/^\[(.+)\]$/;function je(e){if(ge.test(e)){var r=ge.exec(e)[1],t=r==null?void 0:r.substring(0,r.indexOf(":"));if(t)return"arbitrary.."+t}}function $e(e){var r=e.theme,t=e.prefix,o={nextPart:new Map,validators:[]},s=Ze(Object.entries(e.classGroups),t);return s.forEach(function(i){var n=i[0],a=i[1];Y(a,o,n,r)}),o}function Y(e,r,t,o){e.forEach(function(s){if(typeof s=="string"){var i=s===""?r:me(r,s);i.classGroupId=t;return}if(typeof s=="function"){if(Ye(s)){Y(s(o),r,t,o);return}r.validators.push({validator:s,classGroupId:t});return}Object.entries(s).forEach(function(n){var a=n[0],l=n[1];Y(l,me(r,a),t,o)})})}function me(e,r){var t=e;return r.split(Z).forEach(function(o){t.nextPart.has(o)||t.nextPart.set(o,{nextPart:new Map,validators:[]}),t=t.nextPart.get(o)}),t}function Ye(e){return e.isThemeGetter}function Ze(e,r){return r?e.map(function(t){var o=t[0],s=t[1],i=s.map(function(n){return typeof n=="string"?r+n:typeof n=="object"?Object.fromEntries(Object.entries(n).map(function(a){var l=a[0],u=a[1];return[r+l,u]})):n});return[o,i]}):e}function ye(e){if(e<1)return{get:function(){},set:function(){}};var r=0,t=new Map,o=new Map;function s(i,n){t.set(i,n),r++,r>e&&(r=0,o=t,t=new Map)}return{get:function(n){var a=t.get(n);if(a!==void 0)return a;if((a=o.get(n))!==void 0)return s(n,a),a},set:function(n,a){t.has(n)?t.set(n,a):s(n,a)}}}var W="!";function ve(e){var r=e.separator||":",t=r.length===1,o=r[0],s=r.length;return function(n){for(var a=[],l=0,u=0,f,d=0;d<n.length;d++){var g=n[d];if(l===0){if(g===o&&(t||n.slice(d,d+s)===r)){a.push(n.slice(u,d)),u=d+s;continue}if(g==="/"){f=d;continue}}g==="["?l++:g==="]"&&l--}var h=a.length===0?n:n.substring(u),v=h.startsWith(W),m=v?h.substring(1):h,x=f&&f>u?f-u:void 0;return{modifiers:a,hasImportantModifier:v,baseClassName:m,maybePostfixModifierPosition:x}}}function xe(e){if(e.length<=1)return e;var r=[],t=[];return e.forEach(function(o){var s=o[0]==="[";s?(r.push.apply(r,t.sort().concat([o])),t=[]):t.push(o)}),r.push.apply(r,t.sort()),r}function we(e){return{cache:ye(e.cacheSize),splitModifiers:ve(e),...he(e)}}var We=/\s+/;function Se(e,r){var t=r.splitModifiers,o=r.getClassGroupId,s=r.getConflictingClassGroupIds,i=new Set;return e.trim().split(We).map(function(n){var a=t(n),l=a.modifiers,u=a.hasImportantModifier,f=a.baseClassName,d=a.maybePostfixModifierPosition,g=o(d?f.substring(0,d):f),h=Boolean(d);if(!g){if(!d)return{isTailwindClass:!1,originalClassName:n};if(g=o(f),!g)return{isTailwindClass:!1,originalClassName:n};h=!1}var v=xe(l).join(":"),m=u?v+W:v;return{isTailwindClass:!0,modifierId:m,classGroupId:g,originalClassName:n,hasPostfixModifier:h}}).reverse().filter(function(n){if(!n.isTailwindClass)return!0;var a=n.modifierId,l=n.classGroupId,u=n.hasPostfixModifier,f=a+l;return i.has(f)?!1:(i.add(f),s(l,u).forEach(function(d){return i.add(a+d)}),!0)}).reverse().map(function(n){return n.originalClassName}).join(" ")}function Ae(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];var o,s,i,n=a;function a(u){var f=r[0],d=r.slice(1),g=d.reduce(function(h,v){return v(h)},f());return o=we(g),s=o.cache.get,i=o.cache.set,n=l,l(u)}function l(u){var f=s(u);if(f)return f;var d=Se(u,o);return i(u,d),d}return function(){return n(pe.apply(null,arguments))}}function c(e){var r=function(o){return o[e]||[]};return r.isThemeGetter=!0,r}var Ce=/^\[(?:([a-z-]+):)?(.+)\]$/i,qe=/^\d+\/\d+$/,Je=new Set(["px","full","screen"]),Xe=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Qe=/\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))|^0$/,er=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;function y(e){return C(e)||Je.has(e)||qe.test(e)||S(e)}function S(e){return T(e,"length",rr)}function Ee(e){return T(e,"size",Le)}function Ie(e){return T(e,"position",Le)}function Te(e){return T(e,"url",tr)}function z(e){return T(e,"number",C)}function C(e){return!Number.isNaN(Number(e))}function ke(e){return e.endsWith("%")&&C(e.slice(0,-1))}function N(e){return Me(e)||T(e,"number",Me)}function p(e){return Ce.test(e)}function U(){return!0}function A(e){return Xe.test(e)}function Re(e){return T(e,"",or)}function T(e,r,t){var o=Ce.exec(e);return o?o[1]?o[1]===r:t(o[2]):!1}function rr(e){return Qe.test(e)}function Le(){return!1}function tr(e){return e.startsWith("url(")}function Me(e){return Number.isInteger(Number(e))}function or(e){return er.test(e)}function Oe(){var e=c("colors"),r=c("spacing"),t=c("blur"),o=c("brightness"),s=c("borderColor"),i=c("borderRadius"),n=c("borderSpacing"),a=c("borderWidth"),l=c("contrast"),u=c("grayscale"),f=c("hueRotate"),d=c("invert"),g=c("gap"),h=c("gradientColorStops"),v=c("gradientColorStopPositions"),m=c("inset"),x=c("margin"),M=c("opacity"),w=c("padding"),J=c("saturate"),V=c("scale"),X=c("sepia"),Q=c("skew"),ee=c("space"),re=c("translate"),K=function(){return["auto","contain","none"]},H=function(){return["auto","hidden","clip","visible","scroll"]},j=function(){return["auto",r]},te=function(){return["",y]},G=function(){return["auto",C,p]},oe=function(){return["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"]},B=function(){return["solid","dashed","dotted","double","none"]},ne=function(){return["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"]},$=function(){return["start","end","center","between","around","evenly","stretch"]},D=function(){return["","0",p]},ae=function(){return["auto","avoid","all","avoid-page","page","left","right","column"]},P=function(){return[C,z]},_=function(){return[C,p]};return{cacheSize:500,theme:{colors:[U],spacing:[y],blur:["none","",A,S],brightness:P(),borderColor:[e],borderRadius:["none","","full",A,S],borderSpacing:[r],borderWidth:te(),contrast:P(),grayscale:D(),hueRotate:_(),invert:D(),gap:[r],gradientColorStops:[e],gradientColorStopPositions:[ke,S],inset:j(),margin:j(),opacity:P(),padding:[r],saturate:P(),scale:P(),sepia:D(),skew:_(),space:[r],translate:[r]},classGroups:{aspect:[{aspect:["auto","square","video",p]}],container:["container"],columns:[{columns:[A]}],"break-after":[{"break-after":ae()}],"break-before":[{"break-before":ae()}],"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"]}],clear:[{clear:["left","right","both","none"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[].concat(oe(),[p])}],overflow:[{overflow:H()}],"overflow-x":[{"overflow-x":H()}],"overflow-y":[{"overflow-y":H()}],overscroll:[{overscroll:K()}],"overscroll-x":[{"overscroll-x":K()}],"overscroll-y":[{"overscroll-y":K()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",N]}],basis:[{basis:j()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",p]}],grow:[{grow:D()}],shrink:[{shrink:D()}],order:[{order:["first","last","none",N]}],"grid-cols":[{"grid-cols":[U]}],"col-start-end":[{col:["auto",{span:[N]},p]}],"col-start":[{"col-start":G()}],"col-end":[{"col-end":G()}],"grid-rows":[{"grid-rows":[U]}],"row-start-end":[{row:["auto",{span:[N]},p]}],"row-start":[{"row-start":G()}],"row-end":[{"row-end":G()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",p]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",p]}],gap:[{gap:[g]}],"gap-x":[{"gap-x":[g]}],"gap-y":[{"gap-y":[g]}],"justify-content":[{justify:["normal"].concat($())}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal"].concat($(),["baseline"])}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[].concat($(),["baseline"])}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[w]}],px:[{px:[w]}],py:[{py:[w]}],ps:[{ps:[w]}],pe:[{pe:[w]}],pt:[{pt:[w]}],pr:[{pr:[w]}],pb:[{pb:[w]}],pl:[{pl:[w]}],m:[{m:[x]}],mx:[{mx:[x]}],my:[{my:[x]}],ms:[{ms:[x]}],me:[{me:[x]}],mt:[{mt:[x]}],mr:[{mr:[x]}],mb:[{mb:[x]}],ml:[{ml:[x]}],"space-x":[{"space-x":[ee]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[ee]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit",r]}],"min-w":[{"min-w":["min","max","fit",y]}],"max-w":[{"max-w":["0","none","full","min","max","fit","prose",{screen:[A]},A,S]}],h:[{h:[r,"auto","min","max","fit"]}],"min-h":[{"min-h":["min","max","fit",y]}],"max-h":[{"max-h":[r,"min","max","fit"]}],"font-size":[{text:["base",A,S]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",z]}],"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",S]}],"line-clamp":[{"line-clamp":["none",C,z]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",y]}],"list-image":[{"list-image":["none",p]}],"list-style-type":[{list:["none","disc","decimal",p]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[M]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[M]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[].concat(B(),["wavy"])}],"text-decoration-thickness":[{decoration:["auto","from-font",y]}],"underline-offset":[{"underline-offset":["auto",y]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],indent:[{indent:[r]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",S]}],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",p]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[M]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[].concat(oe(),[Ie])}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Ee]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Te]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[v]}],"gradient-via-pos":[{via:[v]}],"gradient-to-pos":[{to:[v]}],"gradient-from":[{from:[h]}],"gradient-via":[{via:[h]}],"gradient-to":[{to:[h]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[M]}],"border-style":[{border:[].concat(B(),["hidden"])}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[M]}],"divide-style":[{divide:B()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:[""].concat(B())}],"outline-offset":[{"outline-offset":[y]}],"outline-w":[{outline:[y]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:te()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[M]}],"ring-offset-w":[{"ring-offset":[y]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",A,Re]}],"shadow-color":[{shadow:[U]}],opacity:[{opacity:[M]}],"mix-blend":[{"mix-blend":ne()}],"bg-blend":[{"bg-blend":ne()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[o]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",A,p]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[d]}],saturate:[{saturate:[J]}],sepia:[{sepia:[X]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[M]}],"backdrop-saturate":[{"backdrop-saturate":[J]}],"backdrop-sepia":[{"backdrop-sepia":[X]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[n]}],"border-spacing-x":[{"border-spacing-x":[n]}],"border-spacing-y":[{"border-spacing-y":[n]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",p]}],duration:[{duration:_()}],ease:[{ease:["linear","in","out","in-out",p]}],delay:[{delay:_()}],animate:[{animate:["none","spin","ping","pulse","bounce",p]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[V]}],"scale-x":[{"scale-x":[V]}],"scale-y":[{"scale-y":[V]}],rotate:[{rotate:[N,p]}],"translate-x":[{"translate-x":[re]}],"translate-y":[{"translate-y":[re]}],"skew-x":[{"skew-x":[Q]}],"skew-y":[{"skew-y":[Q]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",p]}],accent:[{accent:["auto",e]}],appearance:["appearance-none"],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",p]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":[r]}],"scroll-mx":[{"scroll-mx":[r]}],"scroll-my":[{"scroll-my":[r]}],"scroll-ms":[{"scroll-ms":[r]}],"scroll-me":[{"scroll-me":[r]}],"scroll-mt":[{"scroll-mt":[r]}],"scroll-mr":[{"scroll-mr":[r]}],"scroll-mb":[{"scroll-mb":[r]}],"scroll-ml":[{"scroll-ml":[r]}],"scroll-p":[{"scroll-p":[r]}],"scroll-px":[{"scroll-px":[r]}],"scroll-py":[{"scroll-py":[r]}],"scroll-ps":[{"scroll-ps":[r]}],"scroll-pe":[{"scroll-pe":[r]}],"scroll-pt":[{"scroll-pt":[r]}],"scroll-pr":[{"scroll-pr":[r]}],"scroll-pb":[{"scroll-pb":[r]}],"scroll-pl":[{"scroll-pl":[r]}],"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","pinch-zoom","manipulation",{pan:["x","left","right","y","up","down"]}]}],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",p]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[y,z]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"]},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"],"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"],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"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}var q=Ae(Oe);var ar=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?"https://dub.co":process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://${process.env.NEXT_PUBLIC_VERCEL_URL}`:"http://home.localhost:8888";var Jr=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"||process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?"https://app.dub.co":"http://localhost:8888",Xr=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?"https://app.dub.co":process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?"https://preview.dub.co":process.env.NGROK_URL;var Qr=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?"https://api.dub.co":process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?"https://api.dub.sh":"http://api.localhost:8888";function dt(...e){return q(ie(e))}var pt=de("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",7);var ft=new RegExp(/^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/),gt=new RegExp(/^[0-9A-Za-z\u0080-\uFFFF\/\-]*$/u),mt=new RegExp(/^[a-zA-Z0-9\-]+$/);var ht={cron:process.env.DUB_SLACK_HOOK_CRON,links:process.env.DUB_SLACK_HOOK_LINKS};export{dt as a};
@@ -1,2 +0,0 @@
1
- "use client"
2
- import{cn as l}from"lib";import{jsx as b}from"react/jsx-runtime";function o({variant:e,className:t,children:r}){return b("span",{className:l("max-w-fit rounded-full border px-2 py-px text-xs font-medium capitalize",{"border-violet-600 bg-violet-600 text-white":e==="violet","border-blue-500 bg-blue-500 text-white":e==="blue","border-black bg-black text-white":e==="black","border-gray-400 bg-gray-400 text-white":e==="gray","border-gray-400 text-gray-500":e==="neutral"},t),children:r})}export{o as a};