@dub/ui 0.1.54 → 0.1.56

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 (586) hide show
  1. package/dist/accordion.mjs +1 -1
  2. package/dist/alert.mjs +1 -1
  3. package/dist/animated-size-container.mjs +1 -1
  4. package/dist/avatar.mjs +1 -1
  5. package/dist/badge.mjs +1 -1
  6. package/dist/blur-image.mjs +1 -1
  7. package/dist/button.mjs +1 -1
  8. package/dist/card-list/card-list-card.mjs +1 -1
  9. package/dist/card-list/card-list.mjs +1 -1
  10. package/dist/carousel.mjs +1 -1
  11. package/dist/checkbox.mjs +1 -1
  12. package/dist/chunk-23NDOR7C.mjs +2 -0
  13. package/dist/chunk-23WZJGND.mjs +2 -0
  14. package/dist/chunk-27HU6NGS.mjs +2 -0
  15. package/dist/chunk-2CGNAYG4.mjs +2 -0
  16. package/dist/chunk-2JE5SE7K.mjs +2 -0
  17. package/dist/chunk-2S46TRKP.mjs +2 -0
  18. package/dist/chunk-2SB65XU5.mjs +6 -0
  19. package/dist/chunk-2VOMTNWE.mjs +2 -0
  20. package/dist/chunk-2WLN2PGI.mjs +2 -0
  21. package/dist/chunk-2WZBCRME.mjs +2 -0
  22. package/dist/chunk-2ZXQBFQZ.mjs +2 -0
  23. package/dist/chunk-33X4DGEK.mjs +2 -0
  24. package/dist/chunk-36O7I5AO.mjs +2 -0
  25. package/dist/chunk-37GGJYHY.mjs +6 -0
  26. package/dist/chunk-37PAGNDO.mjs +2 -0
  27. package/dist/chunk-3BFLYPAF.mjs +2 -0
  28. package/dist/chunk-3HX5U2XW.mjs +2 -0
  29. package/dist/chunk-3IGXY4YL.mjs +6 -0
  30. package/dist/chunk-3N5KUJM5.mjs +2 -0
  31. package/dist/chunk-3PQYS47P.mjs +2 -0
  32. package/dist/chunk-3PZUMRJC.mjs +2 -0
  33. package/dist/chunk-3ST4N22Y.mjs +2 -0
  34. package/dist/chunk-3UD4GSL4.mjs +2 -0
  35. package/dist/chunk-3UORMNTJ.mjs +2 -0
  36. package/dist/chunk-3V5LYUOS.mjs +2 -0
  37. package/dist/chunk-3VQZ5FDA.mjs +2 -0
  38. package/dist/chunk-3WKP6SRA.mjs +2 -0
  39. package/dist/chunk-3WOWTVPR.mjs +2 -0
  40. package/dist/chunk-3YM3OBBI.mjs +2 -0
  41. package/dist/chunk-3ZPCBBZT.mjs +2 -0
  42. package/dist/chunk-3ZTOIX2A.mjs +2 -0
  43. package/dist/chunk-42676HMH.mjs +2 -0
  44. package/dist/chunk-47GVM7OY.mjs +2 -0
  45. package/dist/chunk-4EQ5SI7D.mjs +2 -0
  46. package/dist/chunk-4FDAE4LW.mjs +2 -0
  47. package/dist/chunk-4GXWKYK2.mjs +2 -0
  48. package/dist/chunk-4LNBEFLL.mjs +2 -0
  49. package/dist/chunk-4NH7JUBA.mjs +6 -0
  50. package/dist/chunk-4NY4DL6Z.mjs +2 -0
  51. package/dist/chunk-4OLXISGI.mjs +2 -0
  52. package/dist/chunk-4R5UFQZJ.mjs +2 -0
  53. package/dist/chunk-4UC3L663.mjs +2 -0
  54. package/dist/chunk-4UZWCDBH.mjs +2 -0
  55. package/dist/chunk-534BPRVZ.mjs +2 -0
  56. package/dist/chunk-55MTKXCB.mjs +2 -0
  57. package/dist/chunk-55PMEEPY.mjs +2 -0
  58. package/dist/chunk-5B4IYE46.mjs +2 -0
  59. package/dist/chunk-5EE42VOC.mjs +6 -0
  60. package/dist/chunk-5G6UZ3E2.mjs +2 -0
  61. package/dist/chunk-5GFIZCYK.mjs +2 -0
  62. package/dist/chunk-5JLOQ447.mjs +2 -0
  63. package/dist/chunk-5LKIQPGN.mjs +2 -0
  64. package/dist/chunk-5N57KQA7.mjs +2 -0
  65. package/dist/chunk-5NPOCL3F.mjs +2 -0
  66. package/dist/chunk-5NQWHOHK.mjs +2 -0
  67. package/dist/chunk-5P64XPBB.mjs +2 -0
  68. package/dist/chunk-5R7DL7XD.mjs +2 -0
  69. package/dist/chunk-5RCMVMQK.mjs +2 -0
  70. package/dist/chunk-5TISAX4N.mjs +2 -0
  71. package/dist/chunk-62NO6MCF.mjs +2 -0
  72. package/dist/chunk-64M4CYYQ.mjs +2 -0
  73. package/dist/chunk-64NE6Q6R.mjs +2 -0
  74. package/dist/chunk-6GYMBUS4.mjs +2 -0
  75. package/dist/chunk-6HLKGUQ2.mjs +2 -0
  76. package/dist/chunk-6NR26IGZ.mjs +2 -0
  77. package/dist/chunk-6QCQTMQU.mjs +2 -0
  78. package/dist/chunk-6RL6KQVR.mjs +2 -0
  79. package/dist/chunk-6T2KKT2L.mjs +2 -0
  80. package/dist/chunk-6TOTQPDL.mjs +2 -0
  81. package/dist/chunk-6X35U34M.mjs +2 -0
  82. package/dist/chunk-6ZX6XWDG.mjs +2 -0
  83. package/dist/chunk-72L3Z4C6.mjs +6 -0
  84. package/dist/chunk-73JII4W3.mjs +2 -0
  85. package/dist/chunk-77VB3H4D.mjs +2 -0
  86. package/dist/chunk-7A3EB447.mjs +2 -0
  87. package/dist/chunk-7A5RND6K.mjs +2 -0
  88. package/dist/chunk-7BL6KHHZ.mjs +2 -0
  89. package/dist/chunk-7ELQOYKY.mjs +2 -0
  90. package/dist/chunk-7LL43UGA.mjs +2 -0
  91. package/dist/chunk-7LV7OHZM.mjs +2 -0
  92. package/dist/chunk-7MUMDM6R.mjs +2 -0
  93. package/dist/chunk-7O4WDR7E.mjs +2 -0
  94. package/dist/chunk-7OPVMKL6.mjs +2 -0
  95. package/dist/chunk-7V4KCQBA.mjs +2 -0
  96. package/dist/chunk-7VXI3AU2.mjs +2 -0
  97. package/dist/chunk-A3HQ3HRQ.mjs +2 -0
  98. package/dist/chunk-A66FTKMV.mjs +2 -0
  99. package/dist/chunk-A6MU5MUS.mjs +2 -0
  100. package/dist/chunk-ABHTUMNO.mjs +2 -0
  101. package/dist/chunk-ABJQU3DT.mjs +2 -0
  102. package/dist/chunk-AEGZBXD3.mjs +2 -0
  103. package/dist/chunk-AEUUF7H6.mjs +2 -0
  104. package/dist/chunk-AFS6ETPE.mjs +2 -0
  105. package/dist/chunk-AKVPCSTH.mjs +2 -0
  106. package/dist/chunk-AL7RWCAF.mjs +2 -0
  107. package/dist/chunk-ALW7VAOR.mjs +2 -0
  108. package/dist/chunk-AQIBSN2C.mjs +2 -0
  109. package/dist/chunk-AQOPFUPM.mjs +2 -0
  110. package/dist/chunk-ARWZUX2F.mjs +2 -0
  111. package/dist/chunk-ATBJYUZV.mjs +2 -0
  112. package/dist/chunk-ATHVS2OH.mjs +2 -0
  113. package/dist/chunk-AV75PGHO.mjs +6 -0
  114. package/dist/chunk-AXPWQBVG.mjs +2 -0
  115. package/dist/chunk-AYFVXRLB.mjs +2 -0
  116. package/dist/chunk-AZGTDUXC.mjs +2 -0
  117. package/dist/chunk-B473XU47.mjs +6 -0
  118. package/dist/chunk-B6OTQKPK.mjs +2 -0
  119. package/dist/chunk-BDCQZEXP.mjs +2 -0
  120. package/dist/chunk-BIAIRAN3.mjs +2 -0
  121. package/dist/chunk-BLGOPX6H.mjs +2 -0
  122. package/dist/chunk-BMYCKUZT.mjs +2 -0
  123. package/dist/chunk-BNOB6AOD.mjs +2 -0
  124. package/dist/chunk-BNOYDEML.mjs +2 -0
  125. package/dist/chunk-BQXDS6SZ.mjs +2 -0
  126. package/dist/chunk-BRTJ3FKE.mjs +2 -0
  127. package/dist/chunk-BTMAEAXY.mjs +2 -0
  128. package/dist/chunk-BWJ42FN4.mjs +2 -0
  129. package/dist/chunk-BWOBKNZV.mjs +2 -0
  130. package/dist/chunk-C25ATLFD.mjs +2 -0
  131. package/dist/chunk-C2NZXC5A.mjs +2 -0
  132. package/dist/chunk-CDC7UXHX.mjs +2 -0
  133. package/dist/chunk-CDKURJNV.mjs +2 -0
  134. package/dist/chunk-CE5DS6SU.mjs +6 -0
  135. package/dist/chunk-CEF62S2S.mjs +2 -0
  136. package/dist/chunk-CEYRKFO7.mjs +2 -0
  137. package/dist/chunk-CHBFPC7K.mjs +2 -0
  138. package/dist/chunk-CJBK7USO.mjs +2 -0
  139. package/dist/chunk-CKTJZ6NY.mjs +2 -0
  140. package/dist/chunk-CKVMQ3GF.mjs +2 -0
  141. package/dist/chunk-CMOBBHD3.mjs +2 -0
  142. package/dist/chunk-CNIVR3IP.mjs +42 -0
  143. package/dist/chunk-CT2AEOVM.mjs +2 -0
  144. package/dist/chunk-CVX2PKLK.mjs +2 -0
  145. package/dist/chunk-CX7VKCW3.mjs +2 -0
  146. package/dist/chunk-CXAOLATV.mjs +2 -0
  147. package/dist/chunk-CYYSBJDQ.mjs +2 -0
  148. package/dist/chunk-D4AXRKCR.mjs +2 -0
  149. package/dist/chunk-D4C7ZLGV.mjs +2 -0
  150. package/dist/chunk-D4JEPE5O.mjs +2 -0
  151. package/dist/chunk-D4YLU4NN.mjs +2 -0
  152. package/dist/chunk-D6IC6ZCY.mjs +2 -0
  153. package/dist/chunk-DDLNUWIM.mjs +2 -0
  154. package/dist/chunk-DDOJYISQ.mjs +2 -0
  155. package/dist/chunk-DHTAACBW.mjs +2 -0
  156. package/dist/chunk-DJQXH64T.mjs +2 -0
  157. package/dist/chunk-DS6FFD65.mjs +2 -0
  158. package/dist/chunk-DUBAXHGE.mjs +6 -0
  159. package/dist/chunk-DVLEKTPP.mjs +2 -0
  160. package/dist/chunk-E427IY6E.mjs +2 -0
  161. package/dist/chunk-ECT6MV5O.mjs +2 -0
  162. package/dist/chunk-EIQOSGUU.mjs +2 -0
  163. package/dist/chunk-EKOJOFEZ.mjs +2 -0
  164. package/dist/chunk-ENNEDWYN.mjs +2 -0
  165. package/dist/chunk-EPUXP7TX.mjs +2 -0
  166. package/dist/chunk-EQ4F6URP.mjs +2 -0
  167. package/dist/chunk-ETMRYZ4D.mjs +2 -0
  168. package/dist/chunk-EVYEP7ME.mjs +2 -0
  169. package/dist/chunk-EXNVAM5N.mjs +2 -0
  170. package/dist/chunk-EZYPEJ5U.mjs +2 -0
  171. package/dist/chunk-F6BYQBQ7.mjs +2 -0
  172. package/dist/chunk-FA2ZXM2O.mjs +2 -0
  173. package/dist/chunk-FDCEKKA6.mjs +2 -0
  174. package/dist/chunk-FHJV2JPW.mjs +2 -0
  175. package/dist/chunk-FKJ3XVF6.mjs +2 -0
  176. package/dist/chunk-FNVLFG36.mjs +2 -0
  177. package/dist/chunk-FOYFJJWT.mjs +2 -0
  178. package/dist/chunk-FRF55NUB.mjs +2 -0
  179. package/dist/chunk-FWOJFOCB.mjs +2 -0
  180. package/dist/chunk-FZXD5CKS.mjs +2 -0
  181. package/dist/chunk-G2CKKQM4.mjs +2 -0
  182. package/dist/chunk-G3WP7JES.mjs +2 -0
  183. package/dist/chunk-G4J5B6WQ.mjs +2 -0
  184. package/dist/chunk-G7OZNAAC.mjs +2 -0
  185. package/dist/chunk-GBR4TZJB.mjs +2 -0
  186. package/dist/chunk-GC3YFEZT.mjs +2 -0
  187. package/dist/chunk-GCUYZO2M.mjs +2 -0
  188. package/dist/chunk-GENR6MNK.mjs +2 -0
  189. package/dist/chunk-GFYO5DEQ.mjs +2 -0
  190. package/dist/chunk-GHGNKP2R.mjs +2 -0
  191. package/dist/chunk-GME4ZF2C.mjs +2 -0
  192. package/dist/chunk-GN6OS64N.mjs +2 -0
  193. package/dist/chunk-GPBFEW5F.mjs +2 -0
  194. package/dist/chunk-GPO4FZRN.mjs +2 -0
  195. package/dist/chunk-GS636JKA.mjs +2 -0
  196. package/dist/chunk-GTTUR7QA.mjs +2 -0
  197. package/dist/chunk-GULORZWO.mjs +2 -0
  198. package/dist/chunk-GVP6GKM5.mjs +2 -0
  199. package/dist/chunk-H26HX4GU.mjs +2 -0
  200. package/dist/chunk-H2KPMT2L.mjs +2 -0
  201. package/dist/chunk-H3SI37GU.mjs +2 -0
  202. package/dist/chunk-H5ZEESFK.mjs +2 -0
  203. package/dist/chunk-H73NKFSA.mjs +2 -0
  204. package/dist/chunk-H74PHTIS.mjs +2 -0
  205. package/dist/chunk-H7XPZE46.mjs +2 -0
  206. package/dist/chunk-HBI23T3V.mjs +2 -0
  207. package/dist/chunk-HBQMWZ37.mjs +2 -0
  208. package/dist/chunk-HDLCSEMD.mjs +2 -0
  209. package/dist/chunk-HIREQFQ4.mjs +6 -0
  210. package/dist/chunk-HJDI4ACV.mjs +6 -0
  211. package/dist/chunk-HKYBISUM.mjs +2 -0
  212. package/dist/chunk-HNHKKDU2.mjs +2 -0
  213. package/dist/chunk-HNTUCBNY.mjs +6 -0
  214. package/dist/chunk-HOIXISZR.mjs +6 -0
  215. package/dist/chunk-HR7EOQDF.mjs +2 -0
  216. package/dist/chunk-HUKCLCRK.mjs +2 -0
  217. package/dist/chunk-HURP74YP.mjs +2 -0
  218. package/dist/chunk-HVB54OY4.mjs +2 -0
  219. package/dist/chunk-HZ4WIQF7.mjs +2 -0
  220. package/dist/chunk-I3S6LIX6.mjs +2 -0
  221. package/dist/chunk-I5N2OWCE.mjs +2 -0
  222. package/dist/chunk-I7WFEGJ6.mjs +2 -0
  223. package/dist/chunk-IAHGONA6.mjs +2 -0
  224. package/dist/chunk-IBR3Z6IE.mjs +2 -0
  225. package/dist/chunk-IFFVIO2A.mjs +2 -0
  226. package/dist/chunk-IFUKQ4I2.mjs +2 -0
  227. package/dist/chunk-IH6NNPVV.mjs +2 -0
  228. package/dist/chunk-IHSU5MHV.mjs +2 -0
  229. package/dist/chunk-IHW3KULD.mjs +2 -0
  230. package/dist/chunk-IIGTTVYL.mjs +6 -0
  231. package/dist/chunk-IIY4XNYD.mjs +2 -0
  232. package/dist/chunk-IOEALVFO.mjs +2 -0
  233. package/dist/chunk-IPITQB6G.mjs +2 -0
  234. package/dist/chunk-ITRVGN72.mjs +2 -0
  235. package/dist/chunk-IV3STE3P.mjs +2 -0
  236. package/dist/chunk-IYLTVNKD.mjs +2 -0
  237. package/dist/chunk-J74SR7PV.mjs +2 -0
  238. package/dist/chunk-JAYBFYGW.mjs +2 -0
  239. package/dist/chunk-JDOMKLNS.mjs +2 -0
  240. package/dist/chunk-JFL72ZVG.mjs +2 -0
  241. package/dist/chunk-JHBPJCLE.mjs +2 -0
  242. package/dist/chunk-JI5CVYPJ.mjs +2 -0
  243. package/dist/chunk-JLS2A7N6.mjs +2 -0
  244. package/dist/chunk-JMT5BHU6.mjs +2 -0
  245. package/dist/chunk-JOPBNXC5.mjs +2 -0
  246. package/dist/chunk-JP6RAL4I.mjs +2 -0
  247. package/dist/chunk-JPA7EPCH.mjs +2 -0
  248. package/dist/chunk-JQ74AJQZ.mjs +2 -0
  249. package/dist/chunk-JR2US6AN.mjs +2 -0
  250. package/dist/chunk-JRV67N3E.mjs +2 -0
  251. package/dist/chunk-JS5N2QX3.mjs +2 -0
  252. package/dist/chunk-JTIKVZI5.mjs +2 -0
  253. package/dist/chunk-JVHZ37YT.mjs +2 -0
  254. package/dist/chunk-JXZUBG5Y.mjs +2 -0
  255. package/dist/chunk-K2VFR73T.mjs +2 -0
  256. package/dist/chunk-K5KQBLCG.mjs +2 -0
  257. package/dist/chunk-K7IIEM3U.mjs +2 -0
  258. package/dist/chunk-KBTWKGPH.mjs +2 -0
  259. package/dist/chunk-KD47LV5N.mjs +2 -0
  260. package/dist/chunk-KEVPFK5U.mjs +2 -0
  261. package/dist/chunk-KGKUC4Q6.mjs +2 -0
  262. package/dist/chunk-KJLWJ5BH.mjs +2 -0
  263. package/dist/chunk-KKU2D6VI.mjs +2 -0
  264. package/dist/chunk-KMKMHO6S.mjs +2 -0
  265. package/dist/chunk-KNKKNNOG.mjs +2 -0
  266. package/dist/chunk-KOTCLWQ2.mjs +2 -0
  267. package/dist/chunk-KPDVPLOH.mjs +2 -0
  268. package/dist/chunk-KSAVWNRQ.mjs +2 -0
  269. package/dist/chunk-KSEVVU3Y.mjs +2 -0
  270. package/dist/chunk-KSXKEXJU.mjs +2 -0
  271. package/dist/chunk-L7MGORVB.mjs +2 -0
  272. package/dist/chunk-LBH7RVVD.mjs +2 -0
  273. package/dist/chunk-LBXXLWZW.mjs +2 -0
  274. package/dist/chunk-LCGC3PZN.mjs +2 -0
  275. package/dist/chunk-LCLKQE35.mjs +2 -0
  276. package/dist/chunk-LCYT4ROU.mjs +2 -0
  277. package/dist/chunk-LDW7KKPM.mjs +2 -0
  278. package/dist/chunk-LF5WEXG2.mjs +2 -0
  279. package/dist/chunk-LFE4KZRU.mjs +2 -0
  280. package/dist/chunk-LL7RB34K.mjs +2 -0
  281. package/dist/chunk-LLSSRTE5.mjs +2 -0
  282. package/dist/chunk-LNEH4XV5.mjs +2 -0
  283. package/dist/chunk-LRMNEM64.mjs +6 -0
  284. package/dist/chunk-LVQOJPQW.mjs +6 -0
  285. package/dist/chunk-LXNN3GX4.mjs +2 -0
  286. package/dist/chunk-M24ICGQX.mjs +2 -0
  287. package/dist/chunk-M3ENHC2P.mjs +2 -0
  288. package/dist/chunk-M4HZS252.mjs +2 -0
  289. package/dist/chunk-M6FT3CN4.mjs +2 -0
  290. package/dist/chunk-M6XAI5CN.mjs +2 -0
  291. package/dist/chunk-M7DHLISK.mjs +2 -0
  292. package/dist/chunk-MF3XISAW.mjs +2 -0
  293. package/dist/chunk-MIBQJABM.mjs +2 -0
  294. package/dist/chunk-MJY6UB4T.mjs +2 -0
  295. package/dist/chunk-MKLWYCEO.mjs +2 -0
  296. package/dist/chunk-MNXJAOB4.mjs +2 -0
  297. package/dist/chunk-MO7Q45AL.mjs +2 -0
  298. package/dist/chunk-MP3B3I67.mjs +2 -0
  299. package/dist/chunk-MPBPAFJI.mjs +2 -0
  300. package/dist/chunk-MPBWNVVK.mjs +2 -0
  301. package/dist/chunk-MSZNOA4Z.mjs +2 -0
  302. package/dist/chunk-MTP5EWTN.mjs +2 -0
  303. package/dist/chunk-MUDZYANE.mjs +2 -0
  304. package/dist/chunk-MUSCMCWM.mjs +2 -0
  305. package/dist/chunk-MVCDFIIL.mjs +2 -0
  306. package/dist/chunk-MWT5HTEP.mjs +2 -0
  307. package/dist/chunk-N4M4JQHI.mjs +2 -0
  308. package/dist/chunk-NARBFL5J.mjs +2 -0
  309. package/dist/chunk-NDERHZJT.mjs +2 -0
  310. package/dist/chunk-NHUS7JAU.mjs +2 -0
  311. package/dist/chunk-NI3EECXM.mjs +2 -0
  312. package/dist/chunk-NJV6EZYF.mjs +2 -0
  313. package/dist/chunk-NMGOMCXL.mjs +2 -0
  314. package/dist/chunk-NMTV5KK4.mjs +2 -0
  315. package/dist/chunk-NO2HQILR.mjs +2 -0
  316. package/dist/chunk-NPV46HGV.mjs +2 -0
  317. package/dist/chunk-NPWFVNFW.mjs +2 -0
  318. package/dist/chunk-NSYGRGNJ.mjs +2 -0
  319. package/dist/chunk-NUUJT3BM.mjs +2 -0
  320. package/dist/chunk-NWFZHBNM.mjs +2 -0
  321. package/dist/chunk-O2EFYDLJ.mjs +2 -0
  322. package/dist/chunk-O33LUKBJ.mjs +2 -0
  323. package/dist/chunk-O5FEJTEM.mjs +2 -0
  324. package/dist/chunk-OASMPPYS.mjs +2 -0
  325. package/dist/chunk-OCWW7DB6.mjs +2 -0
  326. package/dist/chunk-ODE7I3Q2.mjs +2 -0
  327. package/dist/chunk-OGT4O5WK.mjs +42 -0
  328. package/dist/chunk-OH6MRTBD.mjs +2 -0
  329. package/dist/chunk-OIFSSI2G.mjs +2 -0
  330. package/dist/chunk-OIGEFLLF.mjs +2 -0
  331. package/dist/chunk-ONBPDPKH.mjs +2 -0
  332. package/dist/chunk-OQCDTBGU.mjs +2 -0
  333. package/dist/chunk-OQCPKGEH.mjs +2 -0
  334. package/dist/chunk-OTAVO76S.mjs +2 -0
  335. package/dist/chunk-OURMUA5Y.mjs +2 -0
  336. package/dist/chunk-OVUYJMGK.mjs +2 -0
  337. package/dist/chunk-OXGVHPBG.mjs +2 -0
  338. package/dist/chunk-OZEQYTJ6.mjs +2 -0
  339. package/dist/chunk-P3P62EFA.mjs +2 -0
  340. package/dist/chunk-P4MRJZPT.mjs +2 -0
  341. package/dist/chunk-P4S2U3SH.mjs +2 -0
  342. package/dist/chunk-P7DS3BNM.mjs +2 -0
  343. package/dist/chunk-PBEDQYMS.mjs +2 -0
  344. package/dist/chunk-PC6LGRWQ.mjs +2 -0
  345. package/dist/chunk-PMPDDDML.mjs +2 -0
  346. package/dist/chunk-PP7CTU2Z.mjs +2 -0
  347. package/dist/chunk-PPGWDKOK.mjs +2 -0
  348. package/dist/chunk-PPNOF3YC.mjs +2 -0
  349. package/dist/chunk-PR7UHRSY.mjs +2 -0
  350. package/dist/chunk-PWHVVLX2.mjs +2 -0
  351. package/dist/chunk-Q2476BO7.mjs +2 -0
  352. package/dist/chunk-Q4N4BW3E.mjs +2 -0
  353. package/dist/chunk-Q5JPRN5X.mjs +2 -0
  354. package/dist/chunk-Q6ZROBP5.mjs +2 -0
  355. package/dist/chunk-QAXXAI44.mjs +2 -0
  356. package/dist/chunk-QC7OTQX4.mjs +2 -0
  357. package/dist/chunk-QCMNJ6RX.mjs +2 -0
  358. package/dist/chunk-QDV4GMST.mjs +2 -0
  359. package/dist/chunk-QFTVNYQM.mjs +2 -0
  360. package/dist/chunk-QFWGKIAY.mjs +6 -0
  361. package/dist/chunk-QG45JS34.mjs +2 -0
  362. package/dist/chunk-QOTJXOJE.mjs +2 -0
  363. package/dist/chunk-QQP6CL4T.mjs +2 -0
  364. package/dist/chunk-QRWOBXW4.mjs +2 -0
  365. package/dist/chunk-QSTDMSWY.mjs +2 -0
  366. package/dist/chunk-QUGTPUHE.mjs +2 -0
  367. package/dist/chunk-QYNLH47L.mjs +2 -0
  368. package/dist/chunk-QYSAA4YY.mjs +2 -0
  369. package/dist/chunk-QZ4OLOQJ.mjs +2 -0
  370. package/dist/chunk-R2LXZDHC.mjs +2 -0
  371. package/dist/chunk-R4VITMJA.mjs +2 -0
  372. package/dist/chunk-R4VJLKJR.mjs +42 -0
  373. package/dist/chunk-RAG5W2TB.mjs +2 -0
  374. package/dist/chunk-RC7ZWGOD.mjs +2 -0
  375. package/dist/chunk-RDP5LF3R.mjs +2 -0
  376. package/dist/chunk-REENLU3K.mjs +2 -0
  377. package/dist/chunk-RH5TFXH2.mjs +2 -0
  378. package/dist/chunk-RIF7OLJ5.mjs +6 -0
  379. package/dist/chunk-RIXDTB47.mjs +2 -0
  380. package/dist/chunk-RLGWFWEI.mjs +2 -0
  381. package/dist/chunk-ROJISAST.mjs +2 -0
  382. package/dist/chunk-RSZKVYNA.mjs +2 -0
  383. package/dist/chunk-RTAWCNHU.mjs +2 -0
  384. package/dist/chunk-RUPXUU27.mjs +2 -0
  385. package/dist/chunk-RUXRDUTG.mjs +6 -0
  386. package/dist/chunk-RVCCWBMV.mjs +2 -0
  387. package/dist/chunk-RXKG5RLG.mjs +2 -0
  388. package/dist/chunk-S2ZRQNR3.mjs +2 -0
  389. package/dist/chunk-S4R5RDME.mjs +2 -0
  390. package/dist/chunk-S5WFUTXU.mjs +2 -0
  391. package/dist/chunk-S7H7B6ZO.mjs +2 -0
  392. package/dist/chunk-S7RJHBBI.mjs +6 -0
  393. package/dist/chunk-SBNG5YHO.mjs +2 -0
  394. package/dist/chunk-SC7YGG55.mjs +6 -0
  395. package/dist/chunk-SEEWMDI3.mjs +2 -0
  396. package/dist/chunk-SESHSVQ5.mjs +2 -0
  397. package/dist/chunk-SGMRKWQJ.mjs +2 -0
  398. package/dist/chunk-SIT4ZKMN.mjs +2 -0
  399. package/dist/chunk-SMLXLNKS.mjs +2 -0
  400. package/dist/chunk-SNOXDAT7.mjs +2 -0
  401. package/dist/chunk-SQFR7U75.mjs +2 -0
  402. package/dist/chunk-SQMZFMYA.mjs +2 -0
  403. package/dist/chunk-SWPHLY7E.mjs +2 -0
  404. package/dist/chunk-SXXVQ3MY.mjs +2 -0
  405. package/dist/chunk-T2EZI4FR.mjs +2 -0
  406. package/dist/chunk-T42PCMK5.mjs +2 -0
  407. package/dist/chunk-T6FJ5WZ6.mjs +2 -0
  408. package/dist/chunk-T7RRV6MO.mjs +2 -0
  409. package/dist/chunk-TGWOSEEL.mjs +2 -0
  410. package/dist/chunk-TK2W4I5B.mjs +2 -0
  411. package/dist/chunk-TO4AWMII.mjs +6 -0
  412. package/dist/chunk-TOV2GNLT.mjs +2 -0
  413. package/dist/chunk-TRRYD7WY.mjs +2 -0
  414. package/dist/chunk-TTBXL73X.mjs +2 -0
  415. package/dist/chunk-TTWKUJAO.mjs +2 -0
  416. package/dist/chunk-TUN3I7XH.mjs +2 -0
  417. package/dist/chunk-TVKSNEQJ.mjs +2 -0
  418. package/dist/chunk-TYNQ3QYV.mjs +2 -0
  419. package/dist/chunk-U2WRXMET.mjs +2 -0
  420. package/dist/chunk-U6375HUU.mjs +2 -0
  421. package/dist/chunk-U6CRVGDW.mjs +2 -0
  422. package/dist/chunk-U7LQH6GV.mjs +2 -0
  423. package/dist/chunk-U7LZ7K26.mjs +6 -0
  424. package/dist/chunk-UGMTFPRT.mjs +2 -0
  425. package/dist/chunk-UH7M44WN.mjs +2 -0
  426. package/dist/chunk-UHFYLWGM.mjs +2 -0
  427. package/dist/chunk-UIN3VZIM.mjs +2 -0
  428. package/dist/chunk-UKDUI34F.mjs +2 -0
  429. package/dist/chunk-UMS2JUQY.mjs +2 -0
  430. package/dist/chunk-UN4PEHNQ.mjs +2 -0
  431. package/dist/chunk-UOOZ7FNR.mjs +2 -0
  432. package/dist/chunk-UOWJEIAY.mjs +2 -0
  433. package/dist/chunk-UTBKAGCV.mjs +2 -0
  434. package/dist/chunk-UWKKRQYL.mjs +2 -0
  435. package/dist/chunk-V3WAFDQC.mjs +2 -0
  436. package/dist/chunk-V6B6MYJW.mjs +2 -0
  437. package/dist/chunk-V6TVBQIS.mjs +6 -0
  438. package/dist/chunk-VCXX6QWH.mjs +2 -0
  439. package/dist/chunk-VDEVIUMO.mjs +2 -0
  440. package/dist/chunk-VH3ZPE3F.mjs +2 -0
  441. package/dist/chunk-VHBZNUHU.mjs +2 -0
  442. package/dist/chunk-VJOR3A7F.mjs +2 -0
  443. package/dist/chunk-VJSIGRJR.mjs +2 -0
  444. package/dist/chunk-VJVTBQ6O.mjs +2 -0
  445. package/dist/chunk-VJZUFDXY.mjs +2 -0
  446. package/dist/chunk-VQX4L2RZ.mjs +2 -0
  447. package/dist/chunk-VSN7G5KN.mjs +2 -0
  448. package/dist/chunk-VUFKVLRI.mjs +2 -0
  449. package/dist/chunk-VZXODMOQ.mjs +2 -0
  450. package/dist/chunk-W2BLJDRO.mjs +2 -0
  451. package/dist/chunk-W45II32I.mjs +2 -0
  452. package/dist/chunk-W5DLT5X6.mjs +2 -0
  453. package/dist/chunk-W5YHS7ZZ.mjs +6 -0
  454. package/dist/chunk-W7PI4UYT.mjs +2 -0
  455. package/dist/chunk-WB4ZLJWW.mjs +2 -0
  456. package/dist/chunk-WB7TZW5M.mjs +2 -0
  457. package/dist/chunk-WCJVEZF4.mjs +2 -0
  458. package/dist/chunk-WHHIQDGZ.mjs +2 -0
  459. package/dist/chunk-WMAG5TUS.mjs +2 -0
  460. package/dist/chunk-WOAZ56CH.mjs +2 -0
  461. package/dist/chunk-WQMRWJRU.mjs +2 -0
  462. package/dist/chunk-WXMSOZD5.mjs +2 -0
  463. package/dist/chunk-WY57S7IO.mjs +2 -0
  464. package/dist/chunk-WYUOC23C.mjs +2 -0
  465. package/dist/chunk-WZ5GEF6I.mjs +2 -0
  466. package/dist/chunk-X4Y3KW4F.mjs +2 -0
  467. package/dist/chunk-XCFNW3P4.mjs +2 -0
  468. package/dist/chunk-XD2EZSPQ.mjs +42 -0
  469. package/dist/chunk-XDJ5LDUZ.mjs +2 -0
  470. package/dist/chunk-XEHXPGKL.mjs +2 -0
  471. package/dist/chunk-XIETXXF2.mjs +2 -0
  472. package/dist/chunk-XIMUGRP5.mjs +2 -0
  473. package/dist/chunk-XJBIVLMN.mjs +2 -0
  474. package/dist/chunk-XKDWEEOG.mjs +2 -0
  475. package/dist/chunk-XKKNAETQ.mjs +2 -0
  476. package/dist/chunk-XKUUB4S3.mjs +2 -0
  477. package/dist/chunk-XP2UVT4E.mjs +2 -0
  478. package/dist/chunk-XPF7WKUM.mjs +2 -0
  479. package/dist/chunk-XS5MPVLF.mjs +2 -0
  480. package/dist/chunk-XSCXFY4Y.mjs +2 -0
  481. package/dist/chunk-XSR3TMCO.mjs +2 -0
  482. package/dist/chunk-XTASNETJ.mjs +2 -0
  483. package/dist/chunk-XW4KWZXE.mjs +6 -0
  484. package/dist/chunk-XYOQODZV.mjs +2 -0
  485. package/dist/chunk-Y3UDAM57.mjs +2 -0
  486. package/dist/chunk-Y7R334JN.mjs +2 -0
  487. package/dist/chunk-YC634SUM.mjs +2 -0
  488. package/dist/chunk-YCDQ2GDI.mjs +2 -0
  489. package/dist/chunk-YCIAALTS.mjs +2 -0
  490. package/dist/chunk-YCLPKG6F.mjs +2 -0
  491. package/dist/chunk-YDJX3HHA.mjs +6 -0
  492. package/dist/chunk-YDYWFBY6.mjs +2 -0
  493. package/dist/chunk-YHVVVPQK.mjs +2 -0
  494. package/dist/chunk-YJANHNDK.mjs +2 -0
  495. package/dist/chunk-YKFINYXE.mjs +2 -0
  496. package/dist/chunk-YKPKRF4H.mjs +2 -0
  497. package/dist/chunk-YN66WKFB.mjs +6 -0
  498. package/dist/chunk-YO6HOCT3.mjs +6 -0
  499. package/dist/chunk-YOMIO4S3.mjs +6 -0
  500. package/dist/chunk-YQ6TOHDR.mjs +2 -0
  501. package/dist/chunk-YU53ZEF6.mjs +2 -0
  502. package/dist/chunk-YW4GV4LY.mjs +2 -0
  503. package/dist/chunk-YW6X43VR.mjs +2 -0
  504. package/dist/chunk-YWHSH4CG.mjs +2 -0
  505. package/dist/chunk-YYSRT7TY.mjs +2 -0
  506. package/dist/chunk-Z53TPNYT.mjs +42 -0
  507. package/dist/chunk-Z6LRM6ZG.mjs +2 -0
  508. package/dist/chunk-Z77DH6LN.mjs +6 -0
  509. package/dist/chunk-ZAM7FELE.mjs +2 -0
  510. package/dist/chunk-ZEQFXR6C.mjs +2 -0
  511. package/dist/chunk-ZFNCHXVZ.mjs +2 -0
  512. package/dist/chunk-ZLUU5SZU.mjs +2 -0
  513. package/dist/chunk-ZSBV7KMZ.mjs +2 -0
  514. package/dist/chunk-ZTSTVUPR.mjs +2 -0
  515. package/dist/chunk-ZXDD673O.mjs +2 -0
  516. package/dist/chunk-ZYN4QP4S.mjs +2 -0
  517. package/dist/combobox/index.d.ts +1 -0
  518. package/dist/combobox/index.mjs +1 -1
  519. package/dist/composite-logo.mjs +1 -1
  520. package/dist/copy-button.mjs +1 -1
  521. package/dist/copy-text.mjs +1 -1
  522. package/dist/counting-numbers.mjs +1 -1
  523. package/dist/date-picker/calendar.mjs +1 -1
  524. package/dist/date-picker/date-range-picker.mjs +1 -1
  525. package/dist/date-picker/presets.mjs +1 -1
  526. package/dist/date-picker/trigger.mjs +1 -1
  527. package/dist/file-upload.mjs +1 -1
  528. package/dist/filter/filter-list.d.ts +1 -1
  529. package/dist/filter/filter-list.mjs +1 -1
  530. package/dist/filter/filter-select.d.ts +4 -2
  531. package/dist/filter/filter-select.mjs +1 -1
  532. package/dist/footer.mjs +1 -1
  533. package/dist/form.mjs +1 -1
  534. package/dist/grid.mjs +1 -1
  535. package/dist/hooks/use-keyboard-shortcut.mjs +1 -1
  536. package/dist/icons/default-domains/amazon.mjs +1 -1
  537. package/dist/icons/default-domains/chatgpt.mjs +1 -1
  538. package/dist/icons/default-domains/figma.mjs +1 -1
  539. package/dist/icons/default-domains/github-enhanced.mjs +1 -1
  540. package/dist/icons/default-domains/google-enhanced.mjs +1 -1
  541. package/dist/icons/default-domains/spotify.mjs +1 -1
  542. package/dist/icons/expanding-arrow.mjs +1 -1
  543. package/dist/icons/index.d.ts +1 -0
  544. package/dist/icons/index.mjs +1 -1
  545. package/dist/icons/linkedin.mjs +1 -1
  546. package/dist/icons/loading-circle.mjs +1 -1
  547. package/dist/icons/loading-spinner.mjs +1 -1
  548. package/dist/icons/nucleo/webhook.d.ts +6 -0
  549. package/dist/icons/nucleo/webhook.mjs +2 -0
  550. package/dist/icons/sort-order.mjs +1 -1
  551. package/dist/icons/twitter.mjs +1 -1
  552. package/dist/icons/youtube.mjs +1 -1
  553. package/dist/index.css +1 -1
  554. package/dist/index.d.ts +2 -1
  555. package/dist/index.mjs +1 -1
  556. package/dist/input-select.mjs +1 -1
  557. package/dist/input.mjs +1 -1
  558. package/dist/label.mjs +1 -1
  559. package/dist/link-logo.mjs +1 -1
  560. package/dist/link-preview.mjs +1 -1
  561. package/dist/logo.mjs +1 -1
  562. package/dist/max-width-wrapper.mjs +1 -1
  563. package/dist/modal.mjs +1 -1
  564. package/dist/nav/content/product-content.mjs +1 -1
  565. package/dist/nav/content/resources-content.mjs +1 -1
  566. package/dist/nav/content/shared.mjs +1 -1
  567. package/dist/nav/content/solutions-content.mjs +1 -1
  568. package/dist/nav/nav-mobile.mjs +1 -1
  569. package/dist/nav/nav.mjs +1 -1
  570. package/dist/nav-logo.mjs +1 -1
  571. package/dist/popover.mjs +1 -1
  572. package/dist/progress-bar.mjs +1 -1
  573. package/dist/radio-group.mjs +1 -1
  574. package/dist/sheet.mjs +1 -1
  575. package/dist/shimmer-dots.mjs +1 -1
  576. package/dist/status-badge.d.ts +1 -0
  577. package/dist/status-badge.mjs +1 -1
  578. package/dist/switch.mjs +1 -1
  579. package/dist/tab-select.mjs +1 -1
  580. package/dist/table/table.d.ts +2 -1
  581. package/dist/table/table.mjs +1 -1
  582. package/dist/toggle-group.mjs +1 -1
  583. package/dist/tooltip.mjs +1 -1
  584. package/dist/types-50b289da.d.ts +31 -0
  585. package/dist/wordmark.mjs +1 -1
  586. package/package.json +1 -1
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{c as M}from"./chunk-GCUYZO2M.mjs";import{a as $}from"./chunk-KD47LV5N.mjs";import{a as z}from"./chunk-GVBIGY6N.mjs";import{a as P}from"./chunk-NWME2ANF.mjs";import{a as H}from"./chunk-RUPXUU27.mjs";import{a as T}from"./chunk-LPV7TLRR.mjs";import{a as W}from"./chunk-YURUGH4S.mjs";import{a as j}from"./chunk-CKVMQ3GF.mjs";import{f as K,j as k}from"./chunk-OCWW7DB6.mjs";import{Command as y,useCommandState as G}from"cmdk";import{ChevronDown as J,ListFilter as X}from"lucide-react";import{Fragment as Y,forwardRef as _,isValidElement as V,useCallback as N,useEffect as w,useImperativeHandle as ee,useRef as S,useState as D}from"react";import{Fragment as se,jsx as n,jsxs as m}from"react/jsx-runtime";function be({filters:t,onSelect:o,onRemove:a,onOpenFilter:s,onSearchChange:l,onSelectedFilterChange:g,activeFilters:i,askAI:h,children:v,emptyState:c,className:Q}){var L,A;let{isMobile:U}=P(),f=S(null),C=S(),[x,b]=D(!1);M("f",()=>b(!0),{enabled:!x});let[d,R]=D(""),[u,F]=D(null),E=N(()=>{R(""),F(null)},[]);w(()=>{x||E()},[x]);let r=u?t.find(({key:e})=>e===u):null,Z=N(e=>{f.current&&(C.current={width:f.current.clientWidth,height:f.current.clientHeight}),R(""),F(e),s==null||s(e)},[]),I=N(e=>{if(!r||!i)return!1;let p=i.find(({key:q})=>q===u);return(p==null?void 0:p.value)===e||p&&r.multiple&&Array.isArray(p.value)&&p.value.includes(e)},[r]),O=N(e=>{r&&(I(e)?a(r.key,e):o(r.key,e),r.multiple||b(!1))},[i,r,h]);return w(()=>{l==null||l(d)},[d]),w(()=>{g==null||g(u)},[u]),w(()=>{(r==null?void 0:r.options)&&f.current&&(C.current={width:f.current.clientWidth,height:f.current.clientHeight})},[r==null?void 0:r.options]),n($,{openPopover:x,setOpenPopover:b,onEscapeKeyDown:e=>{u&&(e.preventDefault(),E())},content:n(H,{width:!U,height:!0,className:"rounded-[inherit]",style:{transform:"translateZ(0)"},children:m(y,{loop:!0,shouldFilter:!r||r.shouldFilter!==!1,children:[m("div",{className:"flex items-center overflow-hidden rounded-t-lg border-b border-gray-200",children:[n(re,{placeholder:`${(r==null?void 0:r.label)||"Filter"}...`,value:d,onValueChange:R,onKeyDown:e=>{(e.key==="Escape"||e.key==="Backspace"&&!d)&&(e.preventDefault(),e.stopPropagation(),u?E():b(!1))},emptySubmit:e=>{e.preventDefault(),e.stopPropagation(),h?(o("ai",r?`${r.label} ${d}`:d),b(!1)):O(d)}}),!r&&n("kbd",{className:"mr-2 hidden shrink-0 rounded bg-gray-200 px-2 py-0.5 text-xs font-light text-gray-500 md:block",children:"F"})]}),n(ne,{ref:f,children:m(y.List,{className:k("flex w-full flex-col gap-1 p-1",r?"min-w-[100px]":"min-w-[180px]"),children:[r?((A=(L=r.options)==null?void 0:L.filter(e=>!d||!e.hideDuringSearch))==null?void 0:A.map(e=>{let p=I(e.value);return n(B,{filter:r,option:e,right:p?n(T,{className:"h-4 w-4"}):e.right,onSelect:()=>O(e.value)},e.value)}))??n(y.Loading,{children:n("div",{className:"-m-1 flex items-center justify-center",style:C.current,children:n(j,{})})}):t.map(e=>m(Y,{children:[n(B,{filter:e,onSelect:()=>Z(e.key)}),e.separatorAfter&&n(y.Separator,{className:"-mx-1 my-1 border-b border-gray-200"})]},e.key)),(!r||r.options)&&n(oe,{search:d,askAI:h,children:c?te(c)?(c==null?void 0:c[u??"default"])??"No matches":c:"No matches"})]})},u)]})}),children:m("button",{type:"button",className:k("group flex h-10 cursor-pointer appearance-none items-center gap-x-2 truncate rounded-md border px-3 text-sm outline-none transition-all","border-gray-200 bg-white text-gray-900 placeholder-gray-400","focus-visible:border-gray-500 data-[state=open]:border-gray-500 data-[state=open]:ring-4 data-[state=open]:ring-gray-200",Q),children:[n(X,{className:"size-4 shrink-0"}),n("span",{className:"flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-left text-gray-900",children:v??"Filter"}),i!=null&&i.length?n("div",{className:"flex size-4 shrink-0 items-center justify-center rounded-full bg-black text-[0.625rem] text-white",children:i.length}):n(J,{className:"size-4 shrink-0 text-gray-400 transition-transform duration-75 group-data-[state=open]:rotate-180"})]})})}function te(t){return typeof t=="object"&&t!==null&&!V(t)}var re=t=>{let o=G(a=>a.filtered.count===0);return n(y.Input,{...t,size:1,className:"grow border-0 py-3 pl-4 pr-2 outline-none placeholder:text-gray-400 focus:ring-0 sm:text-sm",onKeyDown:a=>{var s,l;(s=t.onKeyDown)==null||s.call(t,a),a.key==="Enter"&&o&&((l=t.emptySubmit)==null||l.call(t,a))},autoCapitalize:"none"})},ne=_(({children:t},o)=>{let a=S(null);ee(o,()=>a.current);let{scrollProgress:s,updateScrollProgress:l}=z(a);return m(se,{children:[n("div",{className:"scrollbar-hide max-h-[50vh] w-screen overflow-y-scroll sm:w-auto",ref:a,onScroll:l,children:t}),n("div",{className:"pointer-events-none absolute bottom-0 left-0 hidden h-16 w-full bg-gradient-to-t from-white sm:block",style:{opacity:1-Math.pow(s,2)}})]})});function B({filter:t,option:o,right:a,onSelect:s}){var h,v;let{isMobile:l}=P(),g=o?o.icon??((h=t.getOptionIcon)==null?void 0:h.call(t,o.value,{key:t.key,option:o}))??t.icon:t.icon,i=o?o.label??((v=t.getOptionLabel)==null?void 0:v.call(t,o.value,{key:t.key,option:o})):t.label;return m(y.Item,{className:k("flex cursor-pointer items-center gap-3 whitespace-nowrap rounded-md px-3 py-2 text-left text-sm","data-[selected=true]:bg-gray-100"),onPointerDown:c=>{c.preventDefault()},onPointerUp:c=>{c.preventDefault(),l?setTimeout(s,100):s()},onSelect:s,value:i+(o==null?void 0:o.value),children:[n("span",{className:"shrink-0 text-gray-600",children:ae(g)?g:n(g,{className:"h-4 w-4"})}),K(i,48),n("div",{className:"ml-1 flex shrink-0 grow justify-end text-gray-500",children:a})]})}var oe=({search:t,askAI:o,children:a})=>o&&t?m(y.Empty,{className:"flex min-w-[180px] items-center space-x-2 rounded-md bg-gray-100 px-3 py-2",children:[n(W,{className:"h-4 w-4"}),m("p",{className:"text-center text-sm text-gray-600",children:["Ask AI ",m("span",{className:"text-black",children:['"',t,'"']})]})]}):n(y.Empty,{className:"p-2 text-center text-sm text-gray-400",children:a}),ae=t=>V(t);export{be as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{c as b}from"./chunk-DUBAXHGE.mjs";import{a as h}from"./chunk-A4XJCPDP.mjs";import{b as p,d as f,i as g,j as i}from"./chunk-6IZLSA2Z.mjs";import{ChevronDown as w,Menu as x,X as C}from"lucide-react";import r from"next/link";import{useParams as N}from"next/navigation";import{useEffect as _,useState as v}from"react";import z from"swr";import{Fragment as D,jsx as e,jsxs as s}from"react/jsx-runtime";function j({theme:n="light"}){let{domain:m="dub.co"}=N(),[a,o]=v(!1);_(()=>{a?document.body.style.overflow="hidden":document.body.style.overflow="auto"},[a]);let{data:t}=z(m==="dub.co"&&"/api/auth/session",g,{dedupingInterval:6e4});return s("div",{className:i(n==="dark"&&"dark"),children:[e("button",{onClick:()=>o(!a),className:i("fixed right-3 top-3 z-40 rounded-full p-2 transition-colors duration-200 hover:bg-gray-200 focus:outline-none active:bg-gray-300 lg:hidden dark:hover:bg-white/20 dark:active:bg-white/30",a&&"hover:bg-gray-100 active:bg-gray-200"),children:a?e(C,{className:"h-5 w-5 text-gray-600 dark:text-white/70"}):e(x,{className:"h-5 w-5 text-gray-600 dark:text-white/70"})}),e("nav",{className:i("fixed inset-0 z-20 hidden w-full bg-white px-5 py-16 lg:hidden dark:bg-black dark:text-white/70",a&&"block"),children:s("ul",{className:"grid divide-y divide-gray-200 dark:divide-white/[0.15]",children:[b.map(({name:l,href:u,childItems:d},c)=>e(L,{name:l,href:u,childItems:d,setOpen:o},c)),t&&Object.keys(t).length>0?e("li",{className:"py-3",children:e(r,{href:f,className:"flex w-full font-semibold capitalize",children:"Dashboard"})}):s(D,{children:[e("li",{className:"py-3",children:e(r,{href:`${f}/login`,className:"flex w-full font-semibold capitalize",children:"Log in"})}),e("li",{className:"py-3",children:e(r,{href:`${f}/register`,className:"flex w-full font-semibold capitalize",children:"Sign Up"})})]})]})})]})}var L=({name:n,href:m,childItems:a,setOpen:o})=>{let{domain:t="dub.co"}=N(),[l,u]=v(!1);return a?e("li",{className:"py-3",children:s(h,{height:!0,children:[s("button",{className:"flex w-full justify-between",onClick:()=>u(!l),children:[e("p",{className:"font-semibold",children:n}),e(w,{className:i("h-5 w-5 text-gray-500 transition-all dark:text-white/50",l&&"rotate-180")})]}),l&&e("div",{className:"grid gap-4 overflow-hidden py-4",children:a.map(({title:d,href:c,icon:y,iconClassName:k})=>s(r,{href:p(c,t,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:t,utm_content:d}),onClick:()=>o(!1),className:"flex w-full space-x-2",children:[e(y,{className:i("h-5 w-5 text-gray-500 dark:text-white/80",k)}),e("span",{className:"text-sm",children:d})]},c))})]})}):m?e("li",{className:"py-3",children:e(r,{href:p(m,t,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:t,utm_content:n}),onClick:()=>o(!1),className:"flex w-full font-semibold capitalize",children:n})}):null};export{j as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{j as n}from"./chunk-FHJV2JPW.mjs";import{sha256 as l}from"js-sha256";import{useMemo as o}from"react";function i(e){return o(()=>d(e),[e])}function d(e){if(!e)return"https://api.dicebear.com/7.x/micah/svg";if(e.image)return e.image;let r=`https://api.dicebear.com/7.x/micah/png/${encodeURIComponent(`seed=${encodeURIComponent(e.email||e.id||"")}`)}`;return e.email?`https://www.gravatar.com/avatar/${l(e.email)}?d=${encodeURIComponent(r)}`:r}import{jsx as a}from"react/jsx-runtime";function f({user:e={},className:r}){if(!e)return a("div",{className:n("h-10 w-10 animate-pulse rounded-full border border-gray-300 bg-gray-100",r)});let t=i(e);return a("img",{alt:`Avatar for ${e.name||e.email}`,referrerPolicy:"no-referrer",src:t,className:n("h-10 w-10 rounded-full border border-gray-300",r),draggable:!1})}function p({id:e,className:r}){return a("img",{src:`https://api.dicebear.com/9.x/shapes/svg?seed=${e}`,alt:"avatar",className:n("h-10 w-10 rounded-full",r),draggable:!1})}export{i as a,d as b,f as c,p as d};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{j as t}from"./chunk-OCWW7DB6.mjs";import{jsx as r}from"react/jsx-runtime";function h({className:o}){return r("svg",{width:"300",height:"300",viewBox:"0 0 300 300",version:"1.1",xmlns:"http://www.w3.org/2000/svg",className:t("p-px",o),children:r("path",{stroke:"currentColor",d:"M178.57 127.15 290.27 0h-26.46l-97.03 110.38L89.34 0H0l117.13 166.93L0 300.25h26.46l102.4-116.59 81.8 116.59h89.34M36.01 19.54H76.66l187.13 262.13h-40.66"})})}export{h as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{q as e}from"./chunk-OQCPKGEH.mjs";import{jsx as t,jsxs as o}from"react/jsx-runtime";function i({className:r}){return o("svg",{xmlns:"http://www.w3.org/2000/svg",version:"1.1",width:"256",height:"256",viewBox:"0 0 256 256",className:e("text-[#ff0000]",r),children:[t("defs",{}),t("g",{style:{stroke:"none",strokeWidth:0,strokeDasharray:"none",strokeLinecap:"butt",strokeLinejoin:"miter",strokeMiterlimit:10,fill:"#ff0000",fillRule:"nonzero",opacity:1},transform:"translate(1.4065934065934016 1.4065934065934016) scale(2.81 2.81)",children:t("path",{d:"M 88.119 23.338 c -1.035 -3.872 -4.085 -6.922 -7.957 -7.957 C 73.144 13.5 45 13.5 45 13.5 s -28.144 0 -35.162 1.881 c -3.872 1.035 -6.922 4.085 -7.957 7.957 C 0 30.356 0 45 0 45 s 0 14.644 1.881 21.662 c 1.035 3.872 4.085 6.922 7.957 7.957 C 16.856 76.5 45 76.5 45 76.5 s 28.144 0 35.162 -1.881 c 3.872 -1.035 6.922 -4.085 7.957 -7.957 C 90 59.644 90 45 90 45 S 90 30.356 88.119 23.338 z M 36 58.5 v -27 L 59.382 45 L 36 58.5 z",style:{stroke:"none",strokeWidth:1,strokeDasharray:"none",strokeLinecap:"butt",strokeLinejoin:"miter",strokeMiterlimit:10,fill:"currentColor",fillRule:"nonzero",opacity:1},transform:" matrix(1 0 0 1 0 0) ",strokeLinecap:"round"})})]})}export{i as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as v,b as g}from"./chunk-MYVDXJUG.mjs";import{a as c,c as u,d as N}from"./chunk-37PAGNDO.mjs";import{a as l}from"./chunk-TOV2GNLT.mjs";import{b as o,j as i,n as d}from"./chunk-FHJV2JPW.mjs";import{ChevronRight as h}from"lucide-react";import _ from"next/link";import{jsx as t,jsxs as a}from"react/jsx-runtime";function y({domain:e}){return a("div",{className:"grid w-[40rem] grid-cols-2",children:[a("div",{className:"p-5",children:[t("p",{className:i(c,"mb-2"),children:"Features"}),t("div",{className:"-mx-2 -mb-2 grid grid-cols-1 gap-0.5",children:v.map(({icon:m,title:r,description:s,href:n})=>t(u,{href:o(n,e,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:e,utm_content:r}),icon:t(N,{icon:m}),title:r,description:s},n))})]}),a("div",{className:"border-l border-gray-200 p-5 dark:border-white/20",children:[a(_,{href:o("/customers",e,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:e,utm_content:"Customer Stories"}),className:i(c,"group mb-2 flex items-center transition-colors hover:text-black dark:hover:text-white"),children:["Customer Stories",t(h,{className:"ml-0.5 h-2.5 w-2.5 transition-transform group-hover:translate-x-px"})]}),t("div",{className:"grid grid-cols-1",children:g.map(({icon:m,iconClassName:r,title:s,description:n,href:p})=>t(u,{href:o(p,e,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:e,utm_content:s}),className:"-mx-2",icon:t(m,{className:i("h-7 w-7 shrink-0 text-gray-600 transition-colors dark:text-white/60",r)}),title:s,description:n,descriptionLines:2},p))}),t("p",{className:i(c,"my-4"),children:"Compare"}),t("div",{className:"flex flex-col gap-1.5",children:d.map(({name:m,slug:r})=>a(_,{href:o(`/compare/${r}`,e,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:e,utm_content:`Dub vs. ${m}`}),className:"group flex items-center gap-0.5 text-gray-500 transition-colors hover:text-gray-700 dark:text-white/60 dark:hover:text-white/80",children:[a("p",{className:"text-sm font-medium",children:["Dub vs. ",m]})," ",t(l,{className:"h-3 w-3"})]},r))})]})]})}export{y as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{i as s}from"./chunk-O2EFYDLJ.mjs";import{AlertCircle as c,EyeIcon as u,EyeOffIcon as m}from"lucide-react";import f,{useCallback as p,useState as x}from"react";import{jsx as e,jsxs as o}from"react/jsx-runtime";var g=f.forwardRef(({className:n,type:a,...r},l)=>{let[t,i]=x(!1),d=p(()=>i(!t),[t,i]);return o("div",{children:[o("div",{className:"relative flex",children:[e("input",{type:t?"text":a,className:(void 0)("w-full max-w-md rounded-md border border-gray-300 text-gray-900 placeholder-gray-400 focus:border-gray-500 focus:outline-none focus:ring-gray-500 sm:text-sm",r.error&&"border-red-500 focus:border-red-500 focus:ring-red-500",n),ref:l,...r}),o("div",{className:"group",children:[r.error&&e("div",{className:"pointer-events-none absolute inset-y-0 right-0 flex flex-none items-center px-2.5",children:e(c,{className:(void 0)("size-5 text-white",a==="password"&&"transition-opacity group-hover:opacity-0"),fill:"#ef4444"})}),a==="password"&&e("button",{className:(void 0)("absolute inset-y-0 right-0 flex items-center px-3",r.error&&"opacity-0 transition-opacity group-hover:opacity-100"),type:"button",onClick:()=>d(),"aria-label":t?"Hide password":"Show Password",children:t?e(u,{className:"size-4 flex-none text-gray-500 transition hover:text-gray-700","aria-hidden":!0}):e(m,{className:"size-4 flex-none text-gray-500 transition hover:text-gray-700","aria-hidden":!0})})]})]}),r.error&&e("span",{className:"mt-2 block text-sm text-red-500",role:"alert","aria-live":"assertive",children:r.error})]})});g.displayName="Input";export{g as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{j as C}from"./chunk-OCWW7DB6.mjs";import{jsx as e,jsxs as o}from"react/jsx-runtime";function V({className:l}){return o("svg",{width:"177",height:"64",viewBox:"0 0 177 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:C("h-6 w-auto text-black dark:text-white",l),children:[e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M106.5 8H112.5V31.8666C112.5 31.911 112.501 31.9554 112.501 31.9999C112.501 32.0444 112.5 32.0888 112.5 32.1332V46H106.5V43.4909C104.232 45.0724 101.475 45.9999 98.5003 45.9999C90.7682 45.9999 84.5 39.7319 84.5 31.9999C84.5 24.2679 90.7682 17.9999 98.5003 17.9999C101.475 17.9999 104.232 18.9274 106.5 20.5089V8ZM98.5 39.9996C102.918 39.9996 106.5 36.418 106.5 31.9998C106.5 27.5816 102.918 24 98.5 24C94.0818 24 90.5 27.5816 90.5 31.9998C90.5 36.418 94.0818 39.9996 98.5 39.9996ZM148.5 8.0001H154.5V20.5096C156.768 18.9278 159.526 18.0002 162.5 18.0002C170.233 18.0002 176.501 24.2682 176.501 32.0002C176.501 39.7322 170.233 46.0002 162.5 46.0002C154.768 46.0002 148.5 39.7322 148.5 32.0002V32.0001V8.0001ZM162.5 39.9997C166.918 39.9997 170.5 36.4181 170.5 31.9999C170.5 27.5817 166.918 24.0001 162.5 24.0001C158.082 24.0001 154.5 27.5817 154.5 31.9999C154.5 36.4181 158.082 39.9997 162.5 39.9997ZM122.5 18H116.5V32C116.5 33.8385 116.862 35.659 117.566 37.3576C118.269 39.0561 119.301 40.5995 120.601 41.8995C121.901 43.1995 123.444 44.2307 125.143 44.9343C126.841 45.6379 128.662 46 130.5 46C132.339 46 134.159 45.6379 135.858 44.9343C137.557 44.2307 139.1 43.1995 140.4 41.8995C141.7 40.5995 142.731 39.0561 143.435 37.3576C144.139 35.659 144.501 33.8385 144.501 32H144.5V18H138.5V32H138.5C138.5 34.1216 137.657 36.1563 136.157 37.6566C134.657 39.1568 132.622 39.9996 130.5 39.9996C128.378 39.9996 126.344 39.1568 124.843 37.6566C123.343 36.1563 122.5 34.1216 122.5 32H122.5V18Z",fill:"currentColor"}),e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M32.5 64C50.1731 64 64.5 49.6731 64.5 32C64.5 20.1555 58.0648 9.81393 48.5 4.28099V31.9999V47.9998H40.5V45.8594C38.1466 47.2207 35.4143 47.9999 32.5 47.9999C23.6634 47.9999 16.5 40.8364 16.5 31.9999C16.5 23.1633 23.6634 15.9999 32.5 15.9999C35.4143 15.9999 38.1466 16.779 40.5 18.1404V1.00812C37.943 0.350018 35.2624 0 32.5 0C14.8269 0 0.500038 14.3269 0.500038 32C0.500038 49.6731 14.8269 64 32.5 64Z",fill:"currentColor"})]})}export{V as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{c as l,d as p}from"./chunk-CP3MQQGD.mjs";import{a as n,c,d as u}from"./chunk-UTBKAGCV.mjs";import{c as s,q as m}from"./chunk-OQCPKGEH.mjs";import{jsx as e,jsxs as d}from"react/jsx-runtime";function g({domain:o}){return d("div",{className:"grid w-[32rem] grid-cols-[5fr_3.5fr]",children:[d("div",{className:"p-5",children:[e("p",{className:m(n,"mb-2"),children:"Profiles"}),e("div",{className:"-mx-2 flex flex-col gap-0.5",children:l.map(({icon:i,title:r,description:t,href:a})=>e(c,{href:s(a,o,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:o,utm_content:r}),icon:e(u,{icon:i}),title:r,description:t}))})]}),d("div",{className:"border-l border-gray-200 p-5 dark:border-white/20",children:[e("p",{className:m(n,"mb-2"),children:"SDKs"}),e("div",{className:"-mx-2 flex flex-col gap-0.5",children:p.map(({icon:i,iconClassName:r,title:t,href:a})=>e(c,{href:s(a,o,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:o,utm_content:t}),icon:e(i,{className:m("h-5 w-5 shrink-0 text-gray-600 transition-colors dark:text-white/60",r)}),title:t,showArrow:!0},a))})]})]})}export{g as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as v,b as g}from"./chunk-3YM3OBBI.mjs";import{a as c,c as u,d as N}from"./chunk-PMPDDDML.mjs";import{a as l}from"./chunk-SWPHLY7E.mjs";import{b as o,j as i,n as d}from"./chunk-OCWW7DB6.mjs";import{ChevronRight as h}from"lucide-react";import _ from"next/link";import{jsx as t,jsxs as a}from"react/jsx-runtime";function y({domain:e}){return a("div",{className:"grid w-[40rem] grid-cols-2",children:[a("div",{className:"p-5",children:[t("p",{className:i(c,"mb-2"),children:"Features"}),t("div",{className:"-mx-2 -mb-2 grid grid-cols-1 gap-0.5",children:v.map(({icon:m,title:r,description:s,href:n})=>t(u,{href:o(n,e,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:e,utm_content:r}),icon:t(N,{icon:m}),title:r,description:s},n))})]}),a("div",{className:"border-l border-gray-200 p-5 dark:border-white/20",children:[a(_,{href:o("/customers",e,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:e,utm_content:"Customer Stories"}),className:i(c,"group mb-2 flex items-center transition-colors hover:text-black dark:hover:text-white"),children:["Customer Stories",t(h,{className:"ml-0.5 h-2.5 w-2.5 transition-transform group-hover:translate-x-px"})]}),t("div",{className:"grid grid-cols-1",children:g.map(({icon:m,iconClassName:r,title:s,description:n,href:p})=>t(u,{href:o(p,e,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:e,utm_content:s}),className:"-mx-2",icon:t(m,{className:i("h-7 w-7 shrink-0 text-gray-600 transition-colors dark:text-white/60",r)}),title:s,description:n,descriptionLines:2},p))}),t("p",{className:i(c,"my-4"),children:"Compare"}),t("div",{className:"flex flex-col gap-1.5",children:d.map(({name:m,slug:r})=>a(_,{href:o(`/compare/${r}`,e,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:e,utm_content:`Dub vs. ${m}`}),className:"group flex items-center gap-0.5 text-gray-500 transition-colors hover:text-gray-700 dark:text-white/60 dark:hover:text-white/80",children:[a("p",{className:"text-sm font-medium",children:["Dub vs. ",m]})," ",t(l,{className:"h-3 w-3"})]},r))})]})]})}export{y as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{c as A}from"./chunk-ZXIVOSYM.mjs";import{a as T}from"./chunk-TP6GCAKN.mjs";import{a as K}from"./chunk-GVBIGY6N.mjs";import{a as S}from"./chunk-NWME2ANF.mjs";import{a as M}from"./chunk-A4XJCPDP.mjs";import{a as j}from"./chunk-LPV7TLRR.mjs";import{a as z}from"./chunk-YURUGH4S.mjs";import{a as H}from"./chunk-SC5MU5OM.mjs";import{f as O,j as k}from"./chunk-6IZLSA2Z.mjs";import{Command as d,useCommandState as Q}from"cmdk";import{ChevronDown as U,ListFilter as Z}from"lucide-react";import{Fragment as q,forwardRef as G,isValidElement as $,useCallback as N,useEffect as J,useImperativeHandle as X,useRef as E,useState as R}from"react";import{Fragment as re,jsx as n,jsxs as i}from"react/jsx-runtime";function ge({filters:e,onSelect:r,onRemove:o,onOpenFilter:l,activeFilters:s,askAI:u,children:h,emptyState:c,className:b}){var L;let{isMobile:g}=S(),v=E(null),F=E(),[x,f]=R(!1);A("f",()=>f(!0),{enabled:!x});let[y,w]=R(""),[p,P]=R(null),C=N(()=>{w(""),P(null)},[]);J(()=>{x||C()},[x]);let a=p?e.find(({key:t})=>t===p):null,B=N(t=>{v.current&&(F.current={width:v.current.scrollWidth,height:v.current.scrollHeight}),w(""),P(t),l==null||l(t)},[]),D=N(t=>{if(!a||!s)return!1;let m=s.find(({key:V})=>V===p);return(m==null?void 0:m.value)===t||m&&a.multiple&&Array.isArray(m.value)&&m.value.includes(t)},[a]),I=N(t=>{a&&(D(t)?o(a.key,t):r(a.key,t),a.multiple||f(!1))},[s,a,u]);return n(T,{openPopover:x,setOpenPopover:f,onEscapeKeyDown:t=>{p&&(t.preventDefault(),C())},content:n(M,{width:!g,height:!0,className:"rounded-[inherit]",style:{transform:"translateZ(0)"},children:i(d,{loop:!0,children:[i("div",{className:"flex items-center overflow-hidden rounded-t-lg border-b border-gray-200",children:[n(_,{placeholder:`${(a==null?void 0:a.label)||"Filter"}...`,value:y,onValueChange:w,onKeyDown:t=>{(t.key==="Escape"||t.key==="Backspace"&&!y)&&(t.preventDefault(),t.stopPropagation(),p?C():f(!1))},emptySubmit:t=>{t.preventDefault(),t.stopPropagation(),u?(r("ai",a?`${a.label} ${y}`:y),f(!1)):I(y)}}),!a&&n("kbd",{className:"mr-2 hidden shrink-0 rounded bg-gray-200 px-2 py-0.5 text-xs font-light text-gray-500 md:block",children:"F"})]}),n(ee,{ref:v,children:i(d.List,{className:k("flex w-full flex-col gap-1 p-1",a?"min-w-[100px]":"min-w-[180px]"),children:[a?((L=a.options)==null?void 0:L.map(t=>{let m=D(t.value);return n(W,{filter:a,option:t,right:m?n(j,{className:"h-4 w-4"}):t.right,onSelect:()=>I(t.value)},t.value)}))??n(d.Loading,{children:n("div",{className:"-m-1 flex items-center justify-center",style:F.current,children:n(H,{})})}):e.map(t=>i(q,{children:[n(W,{filter:t,onSelect:()=>B(t.key)}),t.separatorAfter&&n(d.Separator,{className:"-mx-1 my-1 border-b border-gray-200"})]},t.key)),(!a||a.options)&&n(te,{search:y,askAI:u,children:c?Y(c)?(c==null?void 0:c[p??"default"])??"No matches":c:"No matches"})]})},p)]})}),children:i("button",{type:"button",className:k("group flex h-10 cursor-pointer appearance-none items-center gap-x-2 truncate rounded-md border px-3 text-sm outline-none transition-all","border-gray-200 bg-white text-gray-900 placeholder-gray-400","focus-visible:border-gray-500 data-[state=open]:border-gray-500 data-[state=open]:ring-4 data-[state=open]:ring-gray-200",b),children:[n(Z,{className:"size-4 shrink-0"}),n("span",{className:"flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-left text-gray-900",children:h??"Filter"}),s!=null&&s.length?n("div",{className:"flex size-4 shrink-0 items-center justify-center rounded-full bg-black text-[0.625rem] text-white",children:s.length}):n(U,{className:"size-4 shrink-0 text-gray-400 transition-transform duration-75 group-data-[state=open]:rotate-180"})]})})}function Y(e){return typeof e=="object"&&e!==null&&!$(e)}var _=e=>{let r=Q(o=>o.filtered.count===0);return n(d.Input,{...e,size:1,className:"grow border-0 py-3 pl-4 pr-2 outline-none placeholder:text-gray-400 focus:ring-0 sm:text-sm",onKeyDown:o=>{var l,s;(l=e.onKeyDown)==null||l.call(e,o),o.key==="Enter"&&r&&((s=e.emptySubmit)==null||s.call(e,o))},autoCapitalize:"none"})},ee=G(({children:e},r)=>{let o=E(null);X(r,()=>o.current);let{scrollProgress:l,updateScrollProgress:s}=K(o);return i(re,{children:[n("div",{className:"scrollbar-hide max-h-[50vh] w-screen overflow-y-scroll sm:w-auto",ref:o,onScroll:s,children:e}),n("div",{className:"pointer-events-none absolute bottom-0 left-0 hidden h-16 w-full bg-gradient-to-t from-white sm:block",style:{opacity:1-Math.pow(l,2)}})]})});function W({filter:e,option:r,right:o,onSelect:l}){var c,b;let{isMobile:s}=S(),u=r?r.icon??((c=e.getOptionIcon)==null?void 0:c.call(e,r.value,{key:e.key,option:r}))??e.icon:e.icon,h=r?r.label??((b=e.getOptionLabel)==null?void 0:b.call(e,r.value,{key:e.key,option:r})):e.label;return i(d.Item,{className:k("flex cursor-pointer items-center gap-3 whitespace-nowrap rounded-md px-3 py-2 text-left text-sm","data-[selected=true]:bg-gray-100"),onPointerDown:g=>{g.preventDefault()},onPointerUp:g=>{g.preventDefault(),s?setTimeout(l,100):l()},onSelect:l,value:h+(r==null?void 0:r.value),children:[n("span",{className:"shrink-0 text-gray-600",children:ne(u)?u:n(u,{className:"h-4 w-4"})}),O(h,48),n("div",{className:"ml-1 flex shrink-0 grow justify-end text-gray-500",children:o})]})}var te=({search:e,askAI:r,children:o})=>r&&e?i(d.Empty,{className:"flex min-w-[180px] items-center space-x-2 rounded-md bg-gray-100 px-3 py-2",children:[n(z,{className:"h-4 w-4"}),i("p",{className:"text-center text-sm text-gray-600",children:["Ask AI ",i("span",{className:"text-black",children:['"',e,'"']})]})]}):n(d.Empty,{className:"p-2 text-center text-sm text-gray-400",children:o}),ne=e=>$(e);export{ge as a};
@@ -0,0 +1,6 @@
1
+ "use client"
2
+ import{a as E}from"./chunk-UN4PEHNQ.mjs";import{a as H}from"./chunk-XPF7WKUM.mjs";import{a as T}from"./chunk-LDW7KKPM.mjs";import{a as _,d as L,e as V}from"./chunk-ODE7I3Q2.mjs";import{a as D}from"./chunk-NCVYFOCZ.mjs";import{a as x}from"./chunk-SFS4HLTS.mjs";import{a as W}from"./chunk-YYSRT7TY.mjs";import{k as S}from"./chunk-5P67N5YK.mjs";import{b as k,d as P,i as M,j as n,l as w}from"./chunk-6IZLSA2Z.mjs";import*as a from"@radix-ui/react-navigation-menu";import{cva as tt}from"class-variance-authority";import et from"js-cookie";import h from"next/link";import{useParams as ot,useSelectedLayoutSegment as rt}from"next/navigation";import{createContext as at}from"react";import it from"swr";import{useCallback as Z,useEffect as I,useState as U}from"react";function C(r){let[t,m]=U(!1),i=Z(()=>{m(window.scrollY>r)},[r]);return I(()=>(window.addEventListener("scroll",i),()=>window.removeEventListener("scroll",i)),[i]),I(()=>{i()},[i]),t}import*as d from"@radix-ui/react-popover";import{BoxSelect as j,Home as z,LayoutGrid as F,Type as $}from"lucide-react";import{useParams as K}from"next/navigation";import{useCallback as Y,useContext as q,useState as J}from"react";import{toast as R}from"sonner";import{jsx as o,jsxs as A}from"react/jsx-runtime";var Q=`<svg width="65" height="64" viewBox="0 0 65 64" fill="none" xmlns="http://www.w3.org/2000/svg">
3
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M32.5 64C50.1731 64 64.5 49.6731 64.5 32C64.5 20.1555 58.0648 9.81393 48.5 4.28099V31.9999V47.9998H40.5V45.8594C38.1466 47.2207 35.4143 47.9999 32.5 47.9999C23.6634 47.9999 16.5 40.8364 16.5 31.9999C16.5 23.1633 23.6634 15.9999 32.5 15.9999C35.4143 15.9999 38.1466 16.779 40.5 18.1404V1.00812C37.943 0.350018 35.2624 0 32.5 0C14.8269 0 0.500038 14.3269 0.500038 32C0.500038 49.6731 14.8269 64 32.5 64Z" fill="black"/>
4
+ </svg>`,X=`<svg width="46" height="24" viewBox="0 0 46 24" fill="none" xmlns="http://www.w3.org/2000/svg">
5
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M11 2H14V13.9332L14.0003 13.9731L14.0003 14C14.0003 14.0223 14.0002 14.0445 14 14.0668V21H11V19.7455C9.86619 20.5362 8.48733 21 7.00016 21C3.13408 21 0 17.866 0 14C0 10.134 3.13408 7 7.00016 7C8.48733 7 9.86619 7.46375 11 8.25452V2ZM7 17.9998C9.20914 17.9998 11 16.209 11 13.9999C11 11.7908 9.20914 10 7 10C4.79086 10 3 11.7908 3 13.9999C3 16.209 4.79086 17.9998 7 17.9998ZM32 2H35V8.25474C36.1339 7.46383 37.5128 7 39.0002 7C42.8662 7 46.0003 10.134 46.0003 14C46.0003 17.866 42.8662 21 39.0002 21C35.1341 21 32 17.866 32 14V2ZM39 17.9998C41.2091 17.9998 43 16.209 43 13.9999C43 11.7908 41.2091 10 39 10C36.7909 10 35 11.7908 35 13.9999C35 16.209 36.7909 17.9998 39 17.9998ZM19 7H16V14C16 14.9192 16.1811 15.8295 16.5329 16.6788C16.8846 17.5281 17.4003 18.2997 18.0503 18.9497C18.7003 19.5997 19.472 20.1154 20.3213 20.4671C21.1706 20.8189 22.0809 21 23.0002 21C23.9194 21 24.8297 20.8189 25.679 20.4671C26.5283 20.1154 27.3 19.5997 27.95 18.9497C28.6 18.2997 29.1157 17.5281 29.4675 16.6788C29.8192 15.8295 30.0003 14.9192 30.0003 14H30V7H27V14C27 15.0608 26.5785 16.0782 25.8284 16.8283C25.0783 17.5784 24.0609 17.9998 23 17.9998C21.9391 17.9998 20.9217 17.5784 20.1716 16.8283C19.4215 16.0782 19 15.0608 19 14V7Z" fill="black"/>
6
+ </svg>`;async function B(r){try{await navigator.clipboard.writeText(r),R.success("Copied to clipboard!")}catch(t){console.error("Failed to copy to clipboard.",t),R.error("Failed to copy to clipboard.")}}function O({variant:r="full",isInApp:t,className:m}){let{domain:i="dub.co"}=K(),{theme:s}=q(N),[g,u]=J(!1),b=Y(l=>{l.preventDefault(),u(!0)},[]);return A(d.Root,{open:g,onOpenChange:u,children:[o(d.Anchor,{asChild:!0,children:o("div",{onContextMenu:b,className:"max-w-fit",children:r==="full"?o(D,{className:m}):o(x,{className:n("h-8 w-8 transition-all duration-75 active:scale-95",m)})})}),o(d.Portal,{children:o(d.Content,{sideOffset:14,align:"start",className:n("z-50 -mt-1.5 -translate-x-10",s==="dark"&&"dark"),onClick:l=>{l.stopPropagation(),u(!1)},children:A("div",{className:"grid gap-1 rounded-lg border border-gray-200 bg-white p-2 drop-shadow-sm sm:min-w-[240px] dark:border-white/[0.15] dark:bg-black",children:[o(p,{text:"Copy Logo as SVG",variant:"outline",onClick:()=>B(Q),icon:o(x,{className:"h-4 w-4"})}),o(p,{text:"Copy Wordmark as SVG",variant:"outline",onClick:()=>B(X),icon:o($,{strokeWidth:2,className:"h-4 w-4"})}),o(p,{text:"Brand Guidelines",variant:"outline",onClick:()=>window.open("https://dub.co/brand","_blank"),icon:o(j,{strokeWidth:2,className:"h-4 w-4"})}),t||i!="dub.co"?o(p,{text:"Home Page",variant:"outline",onClick:()=>window.open(`https://dub.co${t?"/home":""}`,"_blank"),icon:o(z,{strokeWidth:2,className:"h-4 w-4"})}):o(p,{text:"Dashboard",variant:"outline",onClick:()=>window.open("https://app.dub.co","_blank"),icon:o(F,{strokeWidth:2,className:"h-4 w-4"})})]})})})]})}function p({className:r,...t}){return o(S,{className:n("h-9 justify-start px-3 font-medium hover:text-gray-700 dark:text-white/70 dark:hover:bg-white/[0.15] dark:hover:text-white",r),...t})}import{Fragment as lt,jsx as e,jsxs as c}from"react/jsx-runtime";var N=at({theme:"light"}),nt=[{name:"Product",content:E,childItems:_},{name:"Solutions",content:T,childItems:L},{name:"Customers",href:"/customers"},{name:"Pricing",href:"/pricing"},{name:"Resources",content:H,childItems:V}],G=tt(["block rounded-md px-3 py-1.5 text-sm text-gray-900/60 hover:text-gray-900/80","dark:text-white/70 dark:hover:text-white","transition-colors ease-out"],{variants:{isActive:{true:"text-gray-900/80 dark:text-white"}}});function Bt({theme:r="light"}){let{domain:t="dub.co"}=ot(),m=C(80),i=C(40),s=rt(),{data:g,isLoading:u}=it(t==="dub.co"&&"/api/auth/session",M,{dedupingInterval:6e4}),b=!!(t==="dub.co"&&et.get("dub_id"));return e(N.Provider,{value:{theme:r},children:c("div",{className:n("sticky inset-x-0 top-0 z-30 w-full transition-all",r==="dark"&&"dark"),children:[e("div",{className:n("absolute inset-0 block transition-all lg:hidden",i&&(s&&w.includes(s)?"bg-white dark:bg-black":"bg-white/75 backdrop-blur-md dark:bg-black/75"))}),e(W,{className:"relative",children:c("div",{className:"flex h-14 items-center justify-between",children:[e(h,{className:"grow basis-0",href:k("/",t,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:t,utm_content:"Logo"}),children:e(O,{})}),c(a.Root,{delayDuration:0,className:"relative hidden lg:block",children:[c(a.List,{className:"relative flex flex-row gap-2 px-2 py-0.5",children:[e("div",{className:"absolute inset-0 -z-[1]",children:e("div",{className:n("absolute left-1/2 top-1/2 h-full w-full -translate-x-1/2 -translate-y-1/2 rounded-full border border-gray-200 drop-shadow-sm transition-all dark:border-white/10",s&&w.includes(s)?"bg-white dark:bg-black":"bg-white/75 backdrop-blur-lg dark:bg-black/75",m&&"h-14 w-screen rounded-none drop-shadow-none")})}),nt.map(({name:l,href:v,content:f})=>{let y=v===`/${s}`||v==="/"&&s===null;return c(a.Item,{children:[e(st,{trigger:!!f,children:v!==void 0?e(h,{id:`nav-${v}`,href:k(v,t,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:t,utm_content:l}),className:G({isActive:y}),children:l}):e("button",{className:G({isActive:y}),children:l})}),f&&e(a.Content,{className:"data-[motion=from-start]:animate-enter-from-left data-[motion=from-end]:animate-enter-from-right data-[motion=to-start]:animate-exit-to-left data-[motion=to-end]:animate-exit-to-right absolute left-0 top-0",children:e(f,{domain:t})})]},l)})]}),e("div",{className:"absolute left-1/2 top-full mt-3 -translate-x-1/2",children:e(a.Viewport,{className:n("relative flex origin-[top_center] justify-start overflow-hidden rounded-[20px] border border-gray-200 bg-white shadow-md dark:border-white/[0.15] dark:bg-black","data-[state=closed]:animate-scale-out-content data-[state=open]:animate-scale-in-content","h-[var(--radix-navigation-menu-viewport-height)] w-[var(--radix-navigation-menu-viewport-width)] transition-[width,height]")})})]}),e("div",{className:"hidden grow basis-0 justify-end lg:flex",children:g&&Object.keys(g).length>0?e(h,{href:P,className:"animate-fade-in rounded-full border border-black bg-black px-4 py-1.5 text-sm text-white transition-all hover:bg-gray-800 hover:ring-4 hover:ring-gray-200 dark:border-white dark:bg-white dark:text-gray-600 dark:hover:bg-white dark:hover:text-gray-800 dark:hover:hover:shadow-[0_0_25px_5px_rgba(256,256,256,0.2)] dark:hover:ring-0",children:"Dashboard"}):u?null:c(lt,{children:[e(h,{href:b?"https://app.dub.co/login":"https://d.to/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 dark:text-white dark:hover:text-white/70",children:"Log in"}),e(h,{href:b?"https://app.dub.co/register":"https://d.to/try",className:"animate-fade-in rounded-full border border-black bg-black px-4 py-1.5 text-sm text-white transition-all hover:bg-gray-800 hover:ring-4 hover:ring-gray-200 dark:border-white dark:bg-white dark:text-gray-600 dark:hover:bg-white dark:hover:text-gray-800 dark:hover:hover:shadow-[0_0_25px_5px_rgba(256,256,256,0.2)] dark:hover:ring-0",children:"Sign Up"})]})})]})})]})})}function st({trigger:r,children:t}){return r?e(a.Trigger,{asChild:!0,children:t}):t}export{C as a,N as b,nt as c,Bt as d,O as e};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{c as l,d as p}from"./chunk-MYVDXJUG.mjs";import{a as n,c,d as u}from"./chunk-37PAGNDO.mjs";import{b as s,j as m}from"./chunk-FHJV2JPW.mjs";import{jsx as e,jsxs as d}from"react/jsx-runtime";function g({domain:o}){return d("div",{className:"grid w-[32rem] grid-cols-[5fr_3.5fr]",children:[d("div",{className:"p-5",children:[e("p",{className:m(n,"mb-2"),children:"Profiles"}),e("div",{className:"-mx-2 flex flex-col gap-0.5",children:l.map(({icon:i,title:r,description:t,href:a})=>e(c,{href:s(a,o,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:o,utm_content:r}),icon:e(u,{icon:i}),title:r,description:t}))})]}),d("div",{className:"border-l border-gray-200 p-5 dark:border-white/20",children:[e("p",{className:m(n,"mb-2"),children:"SDKs"}),e("div",{className:"-mx-2 flex flex-col gap-0.5",children:p.map(({icon:i,iconClassName:r,title:t,href:a})=>e(c,{href:s(a,o,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:o,utm_content:t}),icon:e(i,{className:m("h-5 w-5 shrink-0 text-gray-600 transition-colors dark:text-white/60",r)}),title:t,showArrow:!0},a))})]})]})}export{g as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as P}from"./chunk-6JPO26GL.mjs";import{a as k}from"./chunk-32C65ISH.mjs";import{a as C}from"./chunk-JFSNPBO7.mjs";import{a as m}from"./chunk-D7SRRREC.mjs";import{a as b}from"./chunk-LFGWL3ID.mjs";import{a as y}from"./chunk-CZSSD6PV.mjs";import{a as f}from"./chunk-BOCPUR5Z.mjs";import{a as g}from"./chunk-SBK5CRMY.mjs";import{a as d}from"./chunk-JBURS7BX.mjs";import{a as u}from"./chunk-DWACNU5E.mjs";import{a as h}from"./chunk-HYPLE4VW.mjs";import{a as p}from"./chunk-3KFNNXJ6.mjs";import{a as c}from"./chunk-KDNSFAET.mjs";import{a as l}from"./chunk-2W2M7KTU.mjs";import{a as o}from"./chunk-DMUERTF2.mjs";import{a}from"./chunk-PDSUXFDU.mjs";import{a as e}from"./chunk-NPWONPKN.mjs";import{a as s}from"./chunk-KYMBX7DZ.mjs";import{a as t}from"./chunk-2LBJI2KO.mjs";import{a as n}from"./chunk-TNAH7N5Q.mjs";import{a as r}from"./chunk-PRJVDP45.mjs";import{a as i}from"./chunk-ZJICX3BL.mjs";var x=[{title:"Advanced Analytics",description:"Powerful Analytics For The Modern Marketer",icon:p,href:"/help/article/dub-analytics"},{title:"Branded Links",description:"Branded Links That Stand Out",icon:g,href:"/features/branded-links"},{title:"QR Codes",description:"Gorgeous QR codes for your links",icon:b,href:"/features/qr-codes"},{title:"Personalization",description:"Personalize Your Short Links",icon:m,href:"/features/personalization"},{title:"Collaboration",description:"Collaborate With Your Team",icon:k,href:"/features/collaboration"},{title:"API",description:"Programmatic Link Creation",icon:P,href:"/docs/api-reference/introduction"}],R=[{icon:t,iconClassName:"group-hover:text-[#FF6363]",title:"Raycast",description:"How Raycast added link-sharing features to Ray.so with Dub.co's link infrastructure",href:"/customers/raycast"},{icon:o,iconClassName:"group-hover:text-[#268472]",title:"Tinybird",description:"How Tinybird uses Dub.co to enhance their digital marketing strategies",href:"/customers/tinybird"},{icon:e,iconClassName:"group-hover:text-[#4C51BF]",title:"Prisma",description:"How Prisma uses Dub.co to improve insights for pris.ly links",href:"/customers/prisma"}],v=[{icon:u,title:"Developers",description:"API for efficient link management",href:"/docs/introduction"},{icon:y,title:"Enterprise",description:"Scalable link management solutions",href:"/enterprise"}],T=[{icon:a,iconClassName:"py-0.5 group-hover:text-[#3178C6]",title:"Typescript",href:"/solutions/typescript"},{icon:s,iconClassName:"py-0.5 [&_.snake]:transition-colors group-hover:[&_.snake1]:text-[#3776ab] group-hover:[&_.snake2]:text-[#ffd343]",title:"Python",href:"/solutions/python"},{icon:i,iconClassName:"group-hover:text-[#00ACD7]",title:"Go",href:"/solutions/go"},{icon:n,iconClassName:"py-[3px] grayscale brightness-150 transition-[filter] group-hover:grayscale-0 group-hover:brightness-100",title:"Ruby",href:"/solutions/ruby"},{icon:r,iconClassName:"py-[3px] grayscale brightness-150 transition-[filter] group-hover:grayscale-0 group-hover:brightness-100",title:"PHP",href:"/solutions/php"}],B=[{icon:d,title:"Help Center",href:"/help"},{icon:l,title:"Docs",href:"/docs"},{icon:c,title:"Blog",href:"/blog"},{icon:h,title:"Changelog",href:"/changelog"},{icon:C,title:"Customers",href:"/customers"},{icon:f,title:"Brand",href:"/brand"}];export{x as a,R as b,v as c,T as d,B as e};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{j as n}from"./chunk-FOYFJJWT.mjs";import{jsx as e,jsxs as a}from"react/jsx-runtime";function h({cellSize:t=12,strokeWidth:s=1,patternOffset:r=[0,0],className:i}){return a("svg",{className:n("pointer-events-none absolute inset-0 text-black/10",i),width:"100%",height:"100%",children:[e("defs",{children:e("pattern",{id:"grid",x:r[0]-1,y:r[1]-1,width:t,height:t,patternUnits:"userSpaceOnUse",children:e("path",{d:`M ${t} 0 L 0 0 0 ${t}`,fill:"transparent",stroke:"currentColor",strokeWidth:s})})}),e("rect",{fill:"url(#grid)",width:"100%",height:"100%"})]})}export{h as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{e as _}from"./chunk-AV75PGHO.mjs";import{a as v}from"./chunk-LXNN3GX4.mjs";import{a as N}from"./chunk-YYSRT7TY.mjs";import{a as y}from"./chunk-GJAPZPRF.mjs";import{a as x}from"./chunk-53GPIIBD.mjs";import{a as f}from"./chunk-ALEYOCBW.mjs";import{a as b}from"./chunk-OKTE2ZBK.mjs";import{b as o,i as d,j as n,m as g,n as p,o as h}from"./chunk-6IZLSA2Z.mjs";import T from"next/image";import s from"next/link";import{useParams as E}from"next/navigation";import{useEffect as F,useState as w}from"react";import A from"swr";import{jsx as e,jsxs as r}from"react/jsx-runtime";var m={features:v.map(({title:a,href:t})=>({name:a,href:t})),product:[{name:"Blog",href:"/blog"},{name:"Brand",href:"/brand"},{name:"Changelog",href:"/changelog"},{name:"Customers",href:"/customers"},{name:"Enterprise",href:"/enterprise"},{name:"Pricing",href:"/pricing"},{name:"Help Center",href:"/help"}],compare:p.map(({name:a,slug:t})=>({name:a,href:`/compare/${t}`})),legal:h.map(({name:a,slug:t})=>({name:a,href:`/legal/${t}`})),tools:g.map(({name:a,slug:t})=>({name:a,href:`/tools/${t}`}))};function Y(){let{domain:a="dub.co"}=E();return e("footer",{children:r(N,{className:"relative z-10 overflow-hidden border border-b-0 border-gray-200 bg-white/50 pb-60 pt-16 backdrop-blur-lg md:rounded-t-2xl",children:[r("div",{className:"xl:grid xl:grid-cols-3 xl:gap-8",children:[r("div",{className:"space-y-6",children:[r(s,{href:o("/",a,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:a,utm_content:"Logo"}),className:"block max-w-fit",children:[r("span",{className:"sr-only",children:[process.env.NEXT_PUBLIC_APP_NAME," Logo"]}),e(_,{className:"h-8 text-gray-800"})]}),e("p",{className:"max-w-xs text-sm text-gray-500",children:"Giving modern marketing teams superpowers with short links that stand out."}),r("p",{className:"text-sm leading-5 text-gray-400",children:["\xA9 ",new Date().getFullYear()," Dub Technologies, Inc."]}),r("div",{className:"flex items-center space-x-3",children:[r("a",{href:"https://twitter.com/dubdotco",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"Twitter"}),e(x,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-black"})]}),r("a",{href:"https://github.com/dubinc/dub",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"Github"}),e(f,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-black"})]}),r("a",{href:"https://www.linkedin.com/company/dubinc",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"LinkedIn"}),e(b,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-[#0077b5]"})]}),r("a",{href:"https://www.youtube.com/@dubdotco",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"YouTube"}),e(y,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-[#ff0000]"})]})]}),e(D,{})]}),r("div",{className:"mt-16 grid grid-cols-2 gap-4 xl:col-span-2 xl:mt-0",children:[r("div",{className:"md:grid md:grid-cols-2",children:[r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Features"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.features.map(t=>e("li",{children:e(s,{href:o(t.href,a,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:a,utm_content:t.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:t.name})},t.name))})]}),r("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Product"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.product.map(t=>e("li",{children:e(s,{href:o(t.href,a,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:a,utm_content:t.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:t.name})},t.name))})]})]}),r("div",{className:"md:grid md:grid-cols-2",children:[r("div",{className:"flex flex-col space-y-8",children:[r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Compare"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.compare.map(t=>e("li",{children:e(s,{href:o(t.href,a,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:a,utm_content:t.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:t.name})},t.name))})]}),r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Legal"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.legal.map(t=>e("li",{children:e(s,{href:o(t.href,a,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:a,utm_content:t.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:t.name})},t.name))})]})]}),r("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Tools"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.tools.map(t=>e("li",{children:e(s,{href:o(t.href,a,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:a,utm_content:t.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:t.name})},t.name))})]})]})]})]}),e(T,{src:"https://assets.dub.co/footer.png",alt:"Dub Technologies, Inc. Logo",width:1959,height:625,className:"pointer-events-none absolute inset-x-0 bottom-0 z-0"})]})})}function D(){let{data:a}=A("https://status.dub.co/api/v1/summary",d),[t,l]=w("bg-gray-200"),[i,c]=w("Loading status...");return F(()=>{if(!a)return;let{ongoing_incidents:u}=a;if(u.length>0){let{current_worst_impact:k,name:L}=u[0],C=k==="degraded_performance"?"bg-yellow-500":"bg-red-500";c(L),l(C)}else c("All systems operational"),l("bg-green-500")},[a]),r(s,{href:"https://status.dub.co",target:"_blank",className:"group flex max-w-fit items-center space-x-2 rounded-md border border-gray-200 bg-white px-3 py-2 transition-colors hover:bg-gray-100",children:[r("div",{className:"relative h-3 w-3",children:[e("div",{className:n("absolute inset-0 m-auto h-3 w-3 animate-ping items-center justify-center rounded-full group-hover:animate-none",t,i==="Loading status..."&&"animate-none")}),e("div",{className:n("absolute inset-0 z-10 m-auto h-3 w-3 rounded-full",t)})]}),e("p",{className:"text-sm font-medium text-gray-800",children:i})]})}export{Y as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{j as s}from"./chunk-OCWW7DB6.mjs";import{AlertCircle as c,EyeIcon as u,EyeOffIcon as m}from"lucide-react";import f,{useCallback as p,useState as x}from"react";import{jsx as e,jsxs as o}from"react/jsx-runtime";var g=f.forwardRef(({className:n,type:a,...r},l)=>{let[t,i]=x(!1),d=p(()=>i(!t),[t,i]);return o("div",{children:[o("div",{className:"relative flex",children:[e("input",{type:t?"text":a,className:s("w-full max-w-md rounded-md border border-gray-300 text-gray-900 placeholder-gray-400 focus:border-gray-500 focus:outline-none focus:ring-gray-500 sm:text-sm",r.error&&"border-red-500 focus:border-red-500 focus:ring-red-500",n),ref:l,...r}),o("div",{className:"group",children:[r.error&&e("div",{className:"pointer-events-none absolute inset-y-0 right-0 flex flex-none items-center px-2.5",children:e(c,{className:s("size-5 text-white",a==="password"&&"transition-opacity group-hover:opacity-0"),fill:"#ef4444"})}),a==="password"&&e("button",{className:s("absolute inset-y-0 right-0 flex items-center px-3",r.error&&"opacity-0 transition-opacity group-hover:opacity-100"),type:"button",onClick:()=>d(),"aria-label":t?"Hide password":"Show Password",children:t?e(u,{className:"size-4 flex-none text-gray-500 transition hover:text-gray-700","aria-hidden":!0}):e(m,{className:"size-4 flex-none text-gray-500 transition hover:text-gray-700","aria-hidden":!0})})]})]}),r.error&&e("span",{className:"mt-2 block text-sm text-red-500",role:"alert","aria-live":"assertive",children:r.error})]})});g.displayName="Input";export{g as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as Q}from"./chunk-KD47LV5N.mjs";import{a as D}from"./chunk-GVBIGY6N.mjs";import{a as B}from"./chunk-NWME2ANF.mjs";import{a as F}from"./chunk-RUPXUU27.mjs";import{k as K}from"./chunk-TK2W4I5B.mjs";import{a as H}from"./chunk-WMTXO7RT.mjs";import{a as L}from"./chunk-JW75YDRU.mjs";import{a as $}from"./chunk-JOLDVN3E.mjs";import{a as V}from"./chunk-IHTRL6TU.mjs";import{a as M}from"./chunk-CKVMQ3GF.mjs";import{j as m}from"./chunk-OCWW7DB6.mjs";import{Command as b,CommandEmpty as le,CommandInput as re,CommandItem as ie}from"cmdk";import{ChevronDown as ce}from"lucide-react";import{isValidElement as me,useCallback as de,useEffect as v,useRef as pe,useState as f}from"react";import{Fragment as T,jsx as e,jsxs as i}from"react/jsx-runtime";function ue(s,a){return s===!0}function Pe({multiple:s,selected:a,setSelected:r,options:o,icon:d,placeholder:Z="Select...",searchPlaceholder:q="Search...",emptyState:x,createLabel:y,onCreate:g,buttonProps:c,shortcutHint:I,caret:G,side:J,open:X,onOpenChange:Y,onSearchChange:N,shouldFilter:P=!0,optionClassName:z,matchTriggerWidth:R,children:_}){let E=ue(s,r),n=Array.isArray(a)?a:a?[a]:[],{isMobile:ee}=B(),[te,se]=f(!1),C=X??te,h=Y??se,[l,w]=f(""),[W,O]=f(!1),[k,ae]=f(void 0),[oe,A]=f(!1),ne=t=>{var p;if(E){let S=n.some(({value:u})=>u===t.value);r(S?n.filter(({value:u})=>u!==t.value):[...n,t])}else r(n.length&&((p=n[0])==null?void 0:p.value)===t.value?null:t),h(!1)},j=de((t,p)=>p===""?[...n,...t.filter(S=>n.findIndex(u=>u.value===S.value)===-1)]:t,[n]);return v(()=>{W&&(ae(o&&j(o,l)),O(!1))},[W,o,j,l]),v(()=>{O(!0)},[o]),v(()=>{C||(w(""),O(!0))},[C]),v(()=>N==null?void 0:N(l),[l]),e(Q,{openPopover:C,setOpenPopover:h,align:"start",side:J,onWheel:t=>{t.stopPropagation()},popoverContentClassName:m(R&&"sm:w-[var(--radix-popover-trigger-width)]"),content:e(F,{width:!ee&&!R,height:!0,style:{transform:"translateZ(0)"},transition:{ease:"easeInOut",duration:.1},children:i(b,{loop:!0,shouldFilter:P,children:[i("div",{className:"flex items-center overflow-hidden rounded-t-lg border-b border-gray-200",children:[e(re,{placeholder:q,value:l,onValueChange:w,className:"grow border-0 py-3 pl-4 pr-2 outline-none placeholder:text-gray-400 focus:ring-0 sm:text-sm",onKeyDown:t=>{(t.key==="Escape"||t.key==="Backspace"&&!l)&&(t.preventDefault(),t.stopPropagation(),h(!1))}}),I&&e("kbd",{className:"mr-2 hidden shrink-0 rounded bg-gray-200 px-2 py-0.5 text-xs font-light text-gray-500 md:block",children:I})]}),e(fe,{children:e(b.List,{className:m("flex w-full min-w-[100px] flex-col gap-1 p-1"),children:k!==void 0?i(T,{children:[k.map(t=>e(xe,{option:t,multiple:E,selected:n.some(({value:p})=>p===t.value),onSelect:()=>ne(t),className:z},`${t.label}, ${t.value}`)),l.length>0&&g&&i(ie,{className:m("flex cursor-pointer items-center gap-3 whitespace-nowrap rounded-md px-3 py-2 text-left text-sm text-gray-700","data-[selected=true]:bg-gray-100",z),onSelect:async()=>{A(!0),await(g==null?void 0:g(l))&&(w(""),h(!1)),A(!1)},children:[oe?e(M,{className:"size-4 shrink-0"}):e(H,{className:"size-4 shrink-0"}),e("div",{className:"grow truncate",children:(y==null?void 0:y(l))||`Create "${l}"`})]}),P?e(le,{className:"flex h-12 items-center justify-center text-sm text-gray-500",children:x||"No matches"}):k.length===0?e("div",{className:"flex h-12 items-center justify-center text-sm text-gray-500",children:x||"No matches"}):null]}):e(b.Loading,{children:e("div",{className:"flex h-12 items-center justify-center",children:e(M,{})})})})})]})}),children:e(K,{variant:"secondary",...c,className:m(c==null?void 0:c.className,"flex gap-2"),textWrapperClassName:m(c==null?void 0:c.textWrapperClassName,"w-full flex items-center justify-start"),text:i(T,{children:[e("div",{className:"min-w-0 grow truncate text-left",children:_||n.map(t=>t.label).join(", ")||Z}),G&&e(ce,{className:"ml-1 size-4 shrink-0 text-gray-400 transition-transform duration-75 group-data-[state=open]:rotate-180"})]}),icon:d?U(d)?d:e(d,{className:"size-4"}):void 0})})}var fe=({children:s})=>{let a=pe(null),{scrollProgress:r,updateScrollProgress:o}=D(a);return i(T,{children:[e("div",{className:"scrollbar-hide max-h-[min(50vh,240px)] w-screen overflow-y-scroll sm:w-auto",ref:a,onScroll:o,children:s}),e("div",{className:"pointer-events-none absolute bottom-0 left-0 hidden h-16 w-full rounded-b-lg bg-gradient-to-t from-white sm:block",style:{opacity:1-Math.pow(r,2)}})]})};function xe({option:s,onSelect:a,multiple:r,selected:o,className:d}){return i(b.Item,{className:m("flex cursor-pointer items-center gap-3 whitespace-nowrap rounded-md px-3 py-2 text-left text-sm","data-[selected=true]:bg-gray-100",d),onSelect:a,value:s.label+(s==null?void 0:s.value),children:[r&&e("div",{className:"shrink-0 text-gray-600",children:o?e($,{className:"size-4 text-gray-600"}):e(V,{className:"size-4 text-gray-400"})}),i("div",{className:"flex min-w-0 grow items-center gap-1",children:[s.icon&&e("span",{className:"shrink-0 text-gray-600",children:U(s.icon)?s.icon:e(s.icon,{className:"h-4 w-4"})}),e("span",{className:"grow truncate",children:s.label})]}),!r&&o&&e(L,{className:"size-4 shrink-0 text-gray-600"})]})}var U=s=>me(s);export{Pe as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{j as e}from"./chunk-OCWW7DB6.mjs";import{jsx as t,jsxs as o}from"react/jsx-runtime";function i({className:r}){return o("svg",{xmlns:"http://www.w3.org/2000/svg",version:"1.1",width:"256",height:"256",viewBox:"0 0 256 256",className:e("text-[#ff0000]",r),children:[t("defs",{}),t("g",{style:{stroke:"none",strokeWidth:0,strokeDasharray:"none",strokeLinecap:"butt",strokeLinejoin:"miter",strokeMiterlimit:10,fill:"#ff0000",fillRule:"nonzero",opacity:1},transform:"translate(1.4065934065934016 1.4065934065934016) scale(2.81 2.81)",children:t("path",{d:"M 88.119 23.338 c -1.035 -3.872 -4.085 -6.922 -7.957 -7.957 C 73.144 13.5 45 13.5 45 13.5 s -28.144 0 -35.162 1.881 c -3.872 1.035 -6.922 4.085 -7.957 7.957 C 0 30.356 0 45 0 45 s 0 14.644 1.881 21.662 c 1.035 3.872 4.085 6.922 7.957 7.957 C 16.856 76.5 45 76.5 45 76.5 s 28.144 0 35.162 -1.881 c 3.872 -1.035 6.922 -4.085 7.957 -7.957 C 90 59.644 90 45 90 45 S 90 30.356 88.119 23.338 z M 36 58.5 v -27 L 59.382 45 L 36 58.5 z",style:{stroke:"none",strokeWidth:1,strokeDasharray:"none",strokeLinecap:"butt",strokeLinejoin:"miter",strokeMiterlimit:10,fill:"currentColor",fillRule:"nonzero",opacity:1},transform:" matrix(1 0 0 1 0 0) ",strokeLinecap:"round"})})]})}export{i as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{c as l,d as p}from"./chunk-MYVDXJUG.mjs";import{a as n,c,d as u}from"./chunk-BRTJ3FKE.mjs";import{b as s,i as m}from"./chunk-O2EFYDLJ.mjs";import{jsx as e,jsxs as d}from"react/jsx-runtime";function g({domain:o}){return d("div",{className:"grid w-[32rem] grid-cols-[5fr_3.5fr]",children:[d("div",{className:"p-5",children:[e("p",{className:(void 0)(n,"mb-2"),children:"Profiles"}),e("div",{className:"-mx-2 flex flex-col gap-0.5",children:l.map(({icon:i,title:r,description:t,href:a})=>e(c,{href:s(a,o,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:o,utm_content:r}),icon:e(u,{icon:i}),title:r,description:t}))})]}),d("div",{className:"border-l border-gray-200 p-5 dark:border-white/20",children:[e("p",{className:(void 0)(n,"mb-2"),children:"SDKs"}),e("div",{className:"-mx-2 flex flex-col gap-0.5",children:p.map(({icon:i,iconClassName:r,title:t,href:a})=>e(c,{href:s(a,o,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:o,utm_content:t}),icon:e(i,{className:(void 0)("h-5 w-5 shrink-0 text-gray-600 transition-colors dark:text-white/60",r)}),title:t,showArrow:!0},a))})]})]})}export{g as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{e as u}from"./chunk-OZIRG64I.mjs";import{a as m,c as g,e as k}from"./chunk-PMPDDDML.mjs";import{a as f}from"./chunk-NMTV5KK4.mjs";import{a as d}from"./chunk-7A5RND6K.mjs";import{a as p}from"./chunk-2CGNAYG4.mjs";import{a as c}from"./chunk-MSZNOA4Z.mjs";import{a as l}from"./chunk-3ST4N22Y.mjs";import{a as h}from"./chunk-QZ4OLOQJ.mjs";import{b as a,j as t}from"./chunk-OCWW7DB6.mjs";import{jsx as e,jsxs as s}from"react/jsx-runtime";var v=[{name:"Spotify Link Shortener",href:"/tools/spotify-link-shortener",icon:p},{name:"ChatGPT Link Shortener",href:"/tools/chatgpt-link-shortener",icon:l},{name:"GitHub Link Shortener",href:"/tools/github-link-shortener",icon:f},{name:"Google Link Shortener",href:"/tools/google-link-shortener",icon:d},{name:"Amazon Link Shortener",href:"/tools/amazon-link-shortener",icon:c},{name:"Figma Link Shortener",href:"/tools/figma-link-shortener",icon:h}];function _({domain:o}){return s("div",{className:"grid w-[32rem] grid-cols-[7fr_5fr]",children:[s("div",{className:"p-5",children:[e("p",{className:t(m,"mb-2"),children:"Tools"}),e("div",{className:"flex flex-col gap-2",children:v.map(({name:r,href:n,icon:i})=>e(k,{name:r,href:a(n,o,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:o,utm_content:r}),icon:e(i,{})}))})]}),s("div",{className:"border-l border-gray-200 p-5 dark:border-white/20",children:[e("p",{className:t(m,"mb-2"),children:"Resources"}),e("div",{className:"-mx-2 flex flex-col gap-0.5",children:u.map(({icon:r,title:n,href:i})=>e(g,{href:a(i,o,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:o,utm_content:n}),icon:e(r,{className:t("h-5 w-5 shrink-0 text-gray-600 dark:text-white/60")}),title:n,showArrow:!0}))})]})]})}export{_ as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{e as u}from"./chunk-E427IY6E.mjs";import{a as m,c as g,e as k}from"./chunk-ETVA6YOC.mjs";import{a as c}from"./chunk-BJHER3QM.mjs";import{a as l}from"./chunk-YMUES22A.mjs";import{a as h}from"./chunk-4WVM5INH.mjs";import{a as f}from"./chunk-S7ZYL2JZ.mjs";import{a as d}from"./chunk-OVMD74I4.mjs";import{a as p}from"./chunk-5L2MLHUY.mjs";import{b as a,j as t}from"./chunk-6IZLSA2Z.mjs";import{jsx as e,jsxs as s}from"react/jsx-runtime";var v=[{name:"Spotify Link Shortener",href:"/tools/spotify-link-shortener",icon:p},{name:"ChatGPT Link Shortener",href:"/tools/chatgpt-link-shortener",icon:l},{name:"GitHub Link Shortener",href:"/tools/github-link-shortener",icon:f},{name:"Google Link Shortener",href:"/tools/google-link-shortener",icon:d},{name:"Amazon Link Shortener",href:"/tools/amazon-link-shortener",icon:c},{name:"Figma Link Shortener",href:"/tools/figma-link-shortener",icon:h}];function _({domain:o}){return s("div",{className:"grid w-[32rem] grid-cols-[7fr_5fr]",children:[s("div",{className:"p-5",children:[e("p",{className:t(m,"mb-2"),children:"Tools"}),e("div",{className:"flex flex-col gap-2",children:v.map(({name:r,href:n,icon:i})=>e(k,{name:r,href:a(n,o,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:o,utm_content:r}),icon:e(i,{})}))})]}),s("div",{className:"border-l border-gray-200 p-5 dark:border-white/20",children:[e("p",{className:t(m,"mb-2"),children:"Resources"}),e("div",{className:"-mx-2 flex flex-col gap-0.5",children:u.map(({icon:r,title:n,href:i})=>e(g,{href:a(i,o,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:o,utm_content:n}),icon:e(r,{className:t("h-5 w-5 shrink-0 text-gray-600 dark:text-white/60")}),title:n,showArrow:!0}))})]})]})}export{_ as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{k as m}from"./chunk-3N5KUJM5.mjs";import{j as i}from"./chunk-FOYFJJWT.mjs";import{useMemo as x,useState as u}from"react";import{jsx as a,jsxs as r}from"react/jsx-runtime";function M({title:g,description:c,inputAttrs:e,helpText:s,buttonText:f="Save Changes",disabledTooltip:o,handleSubmit:y}){let[t,p]=u(e.defaultValue),[l,d]=u(!1),b=x(()=>l||!t||t===e.defaultValue,[l,t,e.defaultValue]);return r("form",{onSubmit:async n=>{n.preventDefault(),d(!0),await y({[e.name]:t}),d(!1)},className:"rounded-lg border border-gray-200 bg-white",children:[r("div",{className:"relative flex flex-col space-y-6 p-5 sm:p-10",children:[r("div",{className:"flex flex-col space-y-3",children:[a("h2",{className:"text-xl font-medium",children:g}),a("p",{className:"text-sm text-gray-500",children:c})]}),typeof e.defaultValue=="string"?a("input",{...e,type:e.type||"text",required:!0,disabled:!!o,onChange:n=>p(n.target.value),className:i("w-full max-w-md rounded-md border border-gray-300 text-gray-900 placeholder-gray-400 focus:border-gray-500 focus:outline-none focus:ring-gray-500 sm:text-sm",{"cursor-not-allowed bg-gray-100 text-gray-400":o})}):a("div",{className:"h-[2.35rem] w-full max-w-md animate-pulse rounded-md bg-gray-200"})]}),r("div",{className:"flex items-center justify-between space-x-4 rounded-b-lg border-t border-gray-200 bg-gray-50 p-3 sm:px-10",children:[typeof s=="string"?a("p",{className:"prose-sm prose-a:underline prose-a:underline-offset-4 hover:prose-a:text-gray-700 text-gray-500 transition-colors",dangerouslySetInnerHTML:{__html:s||""}}):s,a("div",{className:"shrink-0",children:a(m,{text:f,loading:l,disabled:b,disabledTooltip:o})})]})]})}export{M as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{c as b}from"./chunk-YO6HOCT3.mjs";import{a as h}from"./chunk-A4XJCPDP.mjs";import{b as p,d as f,i as g,j as i}from"./chunk-6IZLSA2Z.mjs";import{ChevronDown as w,Menu as x,X as C}from"lucide-react";import r from"next/link";import{useParams as N}from"next/navigation";import{useEffect as _,useState as v}from"react";import z from"swr";import{Fragment as D,jsx as e,jsxs as s}from"react/jsx-runtime";function j({theme:n="light"}){let{domain:m="dub.co"}=N(),[a,o]=v(!1);_(()=>{a?document.body.style.overflow="hidden":document.body.style.overflow="auto"},[a]);let{data:t}=z(m==="dub.co"&&"/api/auth/session",g,{dedupingInterval:6e4});return s("div",{className:i(n==="dark"&&"dark"),children:[e("button",{onClick:()=>o(!a),className:i("fixed right-3 top-3 z-40 rounded-full p-2 transition-colors duration-200 hover:bg-gray-200 focus:outline-none active:bg-gray-300 lg:hidden dark:hover:bg-white/20 dark:active:bg-white/30",a&&"hover:bg-gray-100 active:bg-gray-200"),children:a?e(C,{className:"h-5 w-5 text-gray-600 dark:text-white/70"}):e(x,{className:"h-5 w-5 text-gray-600 dark:text-white/70"})}),e("nav",{className:i("fixed inset-0 z-20 hidden w-full bg-white px-5 py-16 lg:hidden dark:bg-black dark:text-white/70",a&&"block"),children:s("ul",{className:"grid divide-y divide-gray-200 dark:divide-white/[0.15]",children:[b.map(({name:l,href:u,childItems:d},c)=>e(L,{name:l,href:u,childItems:d,setOpen:o},c)),t&&Object.keys(t).length>0?e("li",{className:"py-3",children:e(r,{href:f,className:"flex w-full font-semibold capitalize",children:"Dashboard"})}):s(D,{children:[e("li",{className:"py-3",children:e(r,{href:`${f}/login`,className:"flex w-full font-semibold capitalize",children:"Log in"})}),e("li",{className:"py-3",children:e(r,{href:`${f}/register`,className:"flex w-full font-semibold capitalize",children:"Sign Up"})})]})]})})]})}var L=({name:n,href:m,childItems:a,setOpen:o})=>{let{domain:t="dub.co"}=N(),[l,u]=v(!1);return a?e("li",{className:"py-3",children:s(h,{height:!0,children:[s("button",{className:"flex w-full justify-between",onClick:()=>u(!l),children:[e("p",{className:"font-semibold",children:n}),e(w,{className:i("h-5 w-5 text-gray-500 transition-all dark:text-white/50",l&&"rotate-180")})]}),l&&e("div",{className:"grid gap-4 overflow-hidden py-4",children:a.map(({title:d,href:c,icon:y,iconClassName:k})=>s(r,{href:p(c,t,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:t,utm_content:d}),onClick:()=>o(!1),className:"flex w-full space-x-2",children:[e(y,{className:i("h-5 w-5 text-gray-500 dark:text-white/80",k)}),e("span",{className:"text-sm",children:d})]},c))})]})}):m?e("li",{className:"py-3",children:e(r,{href:p(m,t,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:t,utm_content:n}),onClick:()=>o(!1),className:"flex w-full font-semibold capitalize",children:n})}):null};export{j as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{e as _}from"./chunk-IIGTTVYL.mjs";import{a as v}from"./chunk-CP3MQQGD.mjs";import{a as N}from"./chunk-YYSRT7TY.mjs";import{a as x}from"./chunk-53GPIIBD.mjs";import{a as y}from"./chunk-GJAPZPRF.mjs";import{a as b}from"./chunk-OKTE2ZBK.mjs";import{a as f}from"./chunk-ALEYOCBW.mjs";import{b as o,i as d,j as n,m as g,n as p,o as h}from"./chunk-6IZLSA2Z.mjs";import T from"next/image";import s from"next/link";import{useParams as E}from"next/navigation";import{useEffect as F,useState as w}from"react";import A from"swr";import{jsx as e,jsxs as r}from"react/jsx-runtime";var m={features:v.map(({title:a,href:t})=>({name:a,href:t})),product:[{name:"Blog",href:"/blog"},{name:"Brand",href:"/brand"},{name:"Changelog",href:"/changelog"},{name:"Customers",href:"/customers"},{name:"Enterprise",href:"/enterprise"},{name:"Pricing",href:"/pricing"},{name:"Help Center",href:"/help"}],compare:p.map(({name:a,slug:t})=>({name:a,href:`/compare/${t}`})),legal:h.map(({name:a,slug:t})=>({name:a,href:`/legal/${t}`})),tools:g.map(({name:a,slug:t})=>({name:a,href:`/tools/${t}`}))};function Y(){let{domain:a="dub.co"}=E();return e("footer",{children:r(N,{className:"relative z-10 overflow-hidden border border-b-0 border-gray-200 bg-white/50 pb-60 pt-16 backdrop-blur-lg md:rounded-t-2xl",children:[r("div",{className:"xl:grid xl:grid-cols-3 xl:gap-8",children:[r("div",{className:"space-y-6",children:[r(s,{href:o("/",a,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:a,utm_content:"Logo"}),className:"block max-w-fit",children:[r("span",{className:"sr-only",children:[process.env.NEXT_PUBLIC_APP_NAME," Logo"]}),e(_,{className:"h-8 text-gray-800"})]}),e("p",{className:"max-w-xs text-sm text-gray-500",children:"Giving modern marketing teams superpowers with short links that stand out."}),r("p",{className:"text-sm leading-5 text-gray-400",children:["\xA9 ",new Date().getFullYear()," Dub Technologies, Inc."]}),r("div",{className:"flex items-center space-x-3",children:[r("a",{href:"https://twitter.com/dubdotco",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"Twitter"}),e(x,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-black"})]}),r("a",{href:"https://github.com/dubinc/dub",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"Github"}),e(f,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-black"})]}),r("a",{href:"https://www.linkedin.com/company/dubinc",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"LinkedIn"}),e(b,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-[#0077b5]"})]}),r("a",{href:"https://www.youtube.com/@dubdotco",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"YouTube"}),e(y,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-[#ff0000]"})]})]}),e(D,{})]}),r("div",{className:"mt-16 grid grid-cols-2 gap-4 xl:col-span-2 xl:mt-0",children:[r("div",{className:"md:grid md:grid-cols-2",children:[r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Features"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.features.map(t=>e("li",{children:e(s,{href:o(t.href,a,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:a,utm_content:t.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:t.name})},t.name))})]}),r("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Product"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.product.map(t=>e("li",{children:e(s,{href:o(t.href,a,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:a,utm_content:t.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:t.name})},t.name))})]})]}),r("div",{className:"md:grid md:grid-cols-2",children:[r("div",{className:"flex flex-col space-y-8",children:[r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Compare"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.compare.map(t=>e("li",{children:e(s,{href:o(t.href,a,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:a,utm_content:t.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:t.name})},t.name))})]}),r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Legal"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.legal.map(t=>e("li",{children:e(s,{href:o(t.href,a,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:a,utm_content:t.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:t.name})},t.name))})]})]}),r("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Tools"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.tools.map(t=>e("li",{children:e(s,{href:o(t.href,a,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:a,utm_content:t.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:t.name})},t.name))})]})]})]})]}),e(T,{src:"https://assets.dub.co/footer.png",alt:"Dub Technologies, Inc. Logo",width:1959,height:625,className:"pointer-events-none absolute inset-x-0 bottom-0 z-0"})]})})}function D(){let{data:a}=A("https://status.dub.co/api/v1/summary",d),[t,l]=w("bg-gray-200"),[i,c]=w("Loading status...");return F(()=>{if(!a)return;let{ongoing_incidents:u}=a;if(u.length>0){let{current_worst_impact:k,name:L}=u[0],C=k==="degraded_performance"?"bg-yellow-500":"bg-red-500";c(L),l(C)}else c("All systems operational"),l("bg-green-500")},[a]),r(s,{href:"https://status.dub.co",target:"_blank",className:"group flex max-w-fit items-center space-x-2 rounded-md border border-gray-200 bg-white px-3 py-2 transition-colors hover:bg-gray-100",children:[r("div",{className:"relative h-3 w-3",children:[e("div",{className:n("absolute inset-0 m-auto h-3 w-3 animate-ping items-center justify-center rounded-full group-hover:animate-none",t,i==="Loading status..."&&"animate-none")}),e("div",{className:n("absolute inset-0 z-10 m-auto h-3 w-3 rounded-full",t)})]}),e("p",{className:"text-sm font-medium text-gray-800",children:i})]})}export{Y as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as u}from"./chunk-NWME2ANF.mjs";import{j as l}from"./chunk-FOYFJJWT.mjs";import*as o from"@radix-ui/react-dialog";import*as n from"@radix-ui/react-visually-hidden";import{useRouter as w}from"next/navigation";import{Drawer as a}from"vaul";import{jsx as e,jsxs as r}from"react/jsx-runtime";function C({children:d,className:s,showModal:p,setShowModal:i,onClose:c,desktopOnly:g,preventDefaultClose:f,drawerRootProps:D}){let b=w(),m=({dragged:t}={})=>{f&&!t||(c&&c(),i?i(!1):b.back())},{isMobile:y}=u();return y&&!g?e(a.Root,{open:i?p:!0,onOpenChange:t=>{t||m({dragged:!0})},...D,children:r(a.Portal,{children:[e(a.Overlay,{className:"fixed inset-0 z-50 bg-gray-100 bg-opacity-10 backdrop-blur"}),r(a.Content,{className:l("fixed bottom-0 left-0 right-0 z-50 rounded-t-[10px] border-t border-gray-200 bg-white",s),children:[r(n.Root,{children:[e(a.Title,{children:"Modal"}),e(a.Description,{children:"This is a modal"})]}),e("div",{className:"sticky top-0 z-20 flex w-full items-center justify-center rounded-t-[10px] bg-inherit",children:e("div",{className:"my-3 h-1 w-12 rounded-full bg-gray-300"})}),d]}),e(a.Overlay,{})]})}):e(o.Root,{open:i?p:!0,onOpenChange:t=>{t||m()},children:r(o.Portal,{children:[e(o.Overlay,{id:"modal-backdrop",className:"animate-fade-in fixed inset-0 z-40 bg-gray-100 bg-opacity-50 backdrop-blur-md"}),r(o.Content,{onOpenAutoFocus:t=>t.preventDefault(),onCloseAutoFocus:t=>t.preventDefault(),className:l("animate-scale-in fixed inset-0 z-40 m-auto max-h-fit w-full max-w-md overflow-hidden border border-gray-200 bg-white p-0 shadow-xl sm:rounded-2xl",s),children:[r(n.Root,{children:[e(o.Title,{children:"Modal"}),e(o.Description,{children:"This is a modal"})]}),d]})]})})}export{C as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as v,b as g}from"./chunk-OZIRG64I.mjs";import{a as c,c as u,d as N}from"./chunk-ZEQFXR6C.mjs";import{a as l}from"./chunk-O5FEJTEM.mjs";import{b as o,j as i,n as d}from"./chunk-FOYFJJWT.mjs";import{ChevronRight as h}from"lucide-react";import _ from"next/link";import{jsx as t,jsxs as a}from"react/jsx-runtime";function y({domain:e}){return a("div",{className:"grid w-[40rem] grid-cols-2",children:[a("div",{className:"p-5",children:[t("p",{className:i(c,"mb-2"),children:"Features"}),t("div",{className:"-mx-2 -mb-2 grid grid-cols-1 gap-0.5",children:v.map(({icon:m,title:r,description:s,href:n})=>t(u,{href:o(n,e,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:e,utm_content:r}),icon:t(N,{icon:m}),title:r,description:s},n))})]}),a("div",{className:"border-l border-gray-200 p-5 dark:border-white/20",children:[a(_,{href:o("/customers",e,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:e,utm_content:"Customer Stories"}),className:i(c,"group mb-2 flex items-center transition-colors hover:text-black dark:hover:text-white"),children:["Customer Stories",t(h,{className:"ml-0.5 h-2.5 w-2.5 transition-transform group-hover:translate-x-px"})]}),t("div",{className:"grid grid-cols-1",children:g.map(({icon:m,iconClassName:r,title:s,description:n,href:p})=>t(u,{href:o(p,e,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:e,utm_content:s}),className:"-mx-2",icon:t(m,{className:i("h-7 w-7 shrink-0 text-gray-600 transition-colors dark:text-white/60",r)}),title:s,description:n,descriptionLines:2},p))}),t("p",{className:i(c,"my-4"),children:"Compare"}),t("div",{className:"flex flex-col gap-1.5",children:d.map(({name:m,slug:r})=>a(_,{href:o(`/compare/${r}`,e,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:e,utm_content:`Dub vs. ${m}`}),className:"group flex items-center gap-0.5 text-gray-500 transition-colors hover:text-gray-700 dark:text-white/60 dark:hover:text-white/80",children:[a("p",{className:"text-sm font-medium",children:["Dub vs. ",m]})," ",t(l,{className:"h-3 w-3"})]},r))})]})]})}export{y as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as we,b as Ae}from"./chunk-AUBFB4SI.mjs";var le=we((lt,ie)=>{var I=1e3,L=I*60,O=L*60,P=O*24,We=P*7,qe=P*365.25;ie.exports=function(e,r){r=r||{};var t=typeof e;if(t==="string"&&e.length>0)return Ke(e);if(t==="number"&&isFinite(e))return r.long?Xe(e):Ye(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function Ke(e){if(e=String(e),!(e.length>100)){var 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*qe;case"weeks":case"week":case"w":return t*We;case"days":case"day":case"d":return t*P;case"hours":case"hour":case"hrs":case"hr":case"h":return t*O;case"minutes":case"minute":case"mins":case"min":case"m":return t*L;case"seconds":case"second":case"secs":case"sec":case"s":return t*I;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return t;default:return}}}}function Ye(e){var r=Math.abs(e);return r>=P?Math.round(e/P)+"d":r>=O?Math.round(e/O)+"h":r>=L?Math.round(e/L)+"m":r>=I?Math.round(e/I)+"s":e+"ms"}function Xe(e){var r=Math.abs(e);return r>=P?$(e,r,P,"day"):r>=O?$(e,r,O,"hour"):r>=L?$(e,r,L,"minute"):r>=I?$(e,r,I,"second"):e+" ms"}function $(e,r,t,o){var s=r>=t*1.5;return Math.round(e/t)+" "+o+(s?"s":"")}});var B=e=>{try{return new URL(e),!0}catch{return!1}},Ee=e=>{if(B(e))return e;try{if(e.includes(".")&&!e.includes(" "))return new URL(`https://${e}`).toString()}catch{}return e};var ke=(e,r,t)=>{if(r==="dub.co")return e;let o=new URL(e.startsWith("/")?`https://dub.co${e}`:e);return t&&Object.entries(t).forEach(([s,a])=>{o.searchParams.set(s,a)}),o.toString()};function G(e,r={digits:1}){if(!e)return"0";if(r.full)return Intl.NumberFormat("en-US").format(e);let t=/\.0+$|(\.[0-9]*[1-9])0+$/;if(e<1)return e.toFixed(r.digits).replace(t,"$1");var o=[{value:1,symbol:""},{value:1e3,symbol:"K"},{value:1e6,symbol:"M"},{value:1e9,symbol:"G"},{value:1e12,symbol:"T"},{value:1e15,symbol:"P"},{value:1e18,symbol:"E"}].slice().reverse().find(function(s){return e>=s.value});return o?(e/o.value).toFixed(r.digits).replace(t,"$1")+o.symbol:"0"}var Pe=process.env.NEXT_PUBLIC_APP_NAME||"Dub.co",ne=process.env.NEXT_PUBLIC_APP_SHORT_DOMAIN||"dub.sh",_e=`https://${process.env.NEXT_PUBLIC_APP_DOMAIN}`,Se=new Set([`app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"localhost:8888","localhost"]),Ie=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:"http://localhost:8888",Le=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_NGROK_URL||"http://localhost:8888",Oe=new Set([`api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`api-staging.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`api.${ne}`,"api.localhost:8888"]),Te=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://api-staging.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:"http://api.localhost:8888",Ce=new Set([`admin.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"admin.localhost:8888"]);var Ne=process.env.STORAGE_BASE_URL;var Me=new RegExp(/^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/),Ue=new RegExp(/^[0-9A-Za-z_\u0080-\uFFFF\/\-\p{Emoji}.]+$/u),ze=new RegExp(/^[a-zA-Z0-9\-]+$/);var De=e=>{if(B(e))return new URL(e).hostname.replace(/^www\./,"");try{if(e.includes(".")&&!e.includes(" "))return new URL(`https://${e}`).hostname.replace(/^www\./,"")}catch{return null}};var V=({name:e="Business",monthly:r=59,yearly:t=49,links:o=5e3,clicks:s=15e4,domains:a=40,tags:n=150,folders:l=150,users:c=15,ids:p=[]})=>({name:e,tagline:"For larger teams with increased usage",link:"https://dub.co/help/article/business-plan",price:{monthly:r,yearly:t,ids:p},limits:{links:o,clicks:s,domains:a,tags:n,folders:l,users:c,ai:1e3,api:3e3},colors:{bg:"bg-sky-900",text:"text-sky-900"},cta:{text:"Get started with Business",shortText:"Get started",href:"https://app.dub.co/register",color:"bg-black hover:bg-gray-800 hover:ring-gray-200"},featureTitle:"Everything in Pro, plus:",features:[{text:`${G(o,{full:!0})} new links/mo`},{text:`${G(s)} tracked clicks/mo`},{text:"3-year analytics retention"},{text:`${a} custom domains`},{text:`${c} users`},{text:"Real-time events stream",footnote:{title:"Get more data on your link clicks and QR code scans with a detailed, real-time stream of events in your workspace",cta:"Learn more.",href:"https://d.to/events"}},{text:"Event webhooks (beta)",footnote:{title:"Get notified when a link is clicked or a QR code is scanned using webhooks.",cta:"Learn more.",href:"https://d.to/webhooks"}}]}),S=[{name:"Free",tagline:"For hobby & side projects",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,domains:3,tags:5,folders:5,users:1,ai:10,api:60},colors:{bg:"bg-black",text:"text-black"},cta:{text:"Start for free",href:"https://app.dub.co/register",color:"bg-black hover:bg-gray-800 hover:ring-gray-200"},featureTitle:"What's included:",features:[{text:"25 new links/mo"},{text:"1K tracked clicks/mo"},{text:"30-day analytics retention"},{text:"3 custom domains"},{text:"1 user"},{text:"Advanced analytics",footnote:{title:"Get location (country, city, continent), device (type, browser, OS), and referer data on your clicks.",cta:"Learn more.",href:"https://dub.co/help/article/dub-analytics"}},{text:"10 AI credits/mo"},{text:"Basic support"},{text:"API Access",footnote:{title:"Programatically manage your links using our REST API.",cta:"Learn more.",href:"https://dub.co/docs/api-reference/introduction"}}]},{name:"Pro",tagline:"For startups & small businesses",link:"https://dub.co/help/article/pro-plan",price:{monthly:24,yearly:19,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ","price_1OTcQBAlJJEpqkPViGtGEsbb","price_1OYJeBAlJJEpqkPVLjTsjX0E","price_1OTcQBAlJJEpqkPVYlCMqdLL","price_1OYJeBAlJJEpqkPVnPGEZeb0"]},limits:{links:1e3,clicks:5e4,domains:10,tags:25,folders:25,users:5,ai:1e3,api:600},colors:{bg:"bg-blue-500",text:"text-blue-500"},cta:{text:"Get started with Pro",shortText:"Get started",href:"https://app.dub.co/register",color:"bg-blue-600 hover:bg-blue-700 hover:ring-blue-100"},featureTitle:"Everything in Free, plus:",features:[{text:"1,000 new links/mo"},{text:"50K tracked clicks/mo"},{text:"1-year analytics retention"},{text:"10 custom domains"},{text:"5 users"},{text:"Advanced link features",footnote:"Custom social media cards, password-protected links, link expiration, link cloaking, device targeting, geo targeting etc."},{text:"Unlimited AI credits",footnote:{title:"Subject to fair use policy \u2013 you will be notified if you exceed the limit, which are high enough for frequent usage.",cta:"Learn more.",href:"https://dub.co/blog/introducing-dub-ai"}},{text:"Priority support"},{text:"Premium dub.link domain",footnote:{title:"Stand out from the crowd with a premium dub.link domain.",cta:"Learn more.",href:"https://dub.co/help/article/default-dub-domains#premium-dublink-domain"}},{text:"Complimentary custom domain",footnote:{title:"All our paid plans come with a free .link custom domain, which helps improve click-through rates.",cta:"Learn more.",href:"https://dub.co/help/article/free-dot-link-domain"}}]},V({name:"Business",monthly:59,yearly:49,links:5e3,clicks:15e4,domains:40,tags:150,folders:150,users:15,ids:["price_1LodLoAlJJEpqkPV9rD0rlNL","price_1LodLoAlJJEpqkPVJdwv5zrG","price_1OZgmnAlJJEpqkPVOj4kV64R","price_1OzNlmAlJJEpqkPV7s9HXNAC","price_1OzNmXAlJJEpqkPVYO89lTdx","price_1OzOFIAlJJEpqkPVJxzc9irl","price_1OzOXMAlJJEpqkPV9ERrjjbw"]}),V({name:"Business Plus",monthly:119,yearly:99,links:15e3,clicks:4e5,domains:100,tags:300,folders:300,users:30,ids:["price_1OnWu0AlJJEpqkPVWk4144ZG","price_1OnWu0AlJJEpqkPVkDWVriAB","price_1OnaK3AlJJEpqkPVaCfCPdHi","price_1OzObrAlJJEpqkPVh6D9HWGO"]}),V({name:"Business Extra",monthly:249,yearly:199,links:4e4,clicks:1e6,domains:250,tags:500,folders:500,users:50,ids:["price_1OnWvCAlJJEpqkPVLzLHx5QD","price_1OnWvCAlJJEpqkPVHhCCvIOq","price_1OnaKJAlJJEpqkPVeJSvPfJb","price_1OzOg1AlJJEpqkPVPlsrxoWm"]}),V({name:"Business Max",monthly:499,yearly:399,links:1e5,clicks:25e5,domains:500,tags:1e3,folders:1e3,users:100,ids:["price_1OnWwLAlJJEpqkPVXtJyPqLk","price_1OnWwLAlJJEpqkPV4eMbOkNh","price_1OnaKOAlJJEpqkPVV6gkZPgt","price_1OzOh5AlJJEpqkPVtCSX7dlE"]}),{name:"Enterprise",tagline:"Custom tailored plans for large enterprises. Whether you're running a SMS campaign with millions of short links or a large marketing campaign with billions of clicks, we've got you covered.",link:"https://dub.co/enterprise",price:{monthly:null,yearly:null},limits:{links:25e4,clicks:5e6,domains:1e3,tags:1e3,folders:1e3,users:500,ai:1e4,api:1e4},colors:{bg:"bg-violet-600",text:"text-violet-600"},cta:{text:"Contact us",href:"/enterprise",color:"bg-gradient-to-r from-violet-600 to-pink-600 hover:ring-violet-100"},featureTitle:"Everything in Business, plus:",features:[{text:"Custom usage limits"},{text:"Volume discounts"},{text:"SSO/SAML"},{text:"Role-based access controls"},{text:"Custom contract & SLA"},{text:"Whiteglove onboarding"},{text:"Dedicated success manager"},{text:"Priority support"},{text:"Dedicated Slack channel"}]}],Be=S.find(e=>e.name==="Free"),Ge=S.find(e=>e.name==="Pro"),Ve=S.find(e=>e.name==="Business"),$e=S.find(e=>e.name==="Enterprise");var Je=S.filter(e=>e.name!=="Free"&&e.name!=="Enterprise");var je=(e,r)=>!e||e.length<=r?e??null:`${e.slice(0,r-3)}...`;var Fe=(e,r)=>e.map((t,o)=>({item:t,index:o})).sort((t,o)=>r(t.item,o.item)||t.index-o.index).map(({item:t})=>t);var ce=Ae(le(),1),He=(e,{withAgo:r}={})=>{if(!e)return"Never";let t=Date.now()-new Date(e).getTime();return t<1e3?"Just now":t>828e5?new Date(e).toLocaleDateString("en-US",{month:"short",day:"numeric",year:new Date(e).getFullYear()!==new Date().getFullYear()?"numeric":void 0}):`${(0,ce.default)(t)}${r?" ago":""}`};async function Ze(e,r){let t=await fetch(e,r);if(!t.ok){let o=await t.text(),s=new Error(o);throw s.status=t.status,s}return t.json()}function ue(e){var r,t,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(r=0;r<s;r++)e[r]&&(t=ue(e[r]))&&(o&&(o+=" "),o+=t)}else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}function de(){for(var e,r,t=0,o="",s=arguments.length;t<s;t++)(e=arguments[t])&&(r=ue(e))&&(o&&(o+=" "),o+=r);return o}var X="-";function Qe(e){let r=rr(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:o}=e;function s(n){let l=n.split(X);return l[0]===""&&l.length!==1&&l.shift(),fe(l,r)||er(n)}function a(n,l){let c=t[n]||[];return l&&o[n]?[...c,...o[n]]:c}return{getClassGroupId:s,getConflictingClassGroupIds:a}}function fe(e,r){var n;if(e.length===0)return r.classGroupId;let t=e[0],o=r.nextPart.get(t),s=o?fe(e.slice(1),o):void 0;if(s)return s;if(r.validators.length===0)return;let a=e.join(X);return(n=r.validators.find(({validator:l})=>l(a)))==null?void 0:n.classGroupId}var pe=/^\[(.+)\]$/;function er(e){if(pe.test(e)){let r=pe.exec(e)[1],t=r==null?void 0:r.substring(0,r.indexOf(":"));if(t)return"arbitrary.."+t}}function rr(e){let{theme:r,prefix:t}=e,o={nextPart:new Map,validators:[]};return or(Object.entries(e.classGroups),t).forEach(([a,n])=>{Y(n,o,a,r)}),o}function Y(e,r,t,o){e.forEach(s=>{if(typeof s=="string"){let a=s===""?r:me(r,s);a.classGroupId=t;return}if(typeof s=="function"){if(tr(s)){Y(s(o),r,t,o);return}r.validators.push({validator:s,classGroupId:t});return}Object.entries(s).forEach(([a,n])=>{Y(n,me(r,a),t,o)})})}function me(e,r){let t=e;return r.split(X).forEach(o=>{t.nextPart.has(o)||t.nextPart.set(o,{nextPart:new Map,validators:[]}),t=t.nextPart.get(o)}),t}function tr(e){return e.isThemeGetter}function or(e,r){return r?e.map(([t,o])=>{let s=o.map(a=>typeof a=="string"?r+a:typeof a=="object"?Object.fromEntries(Object.entries(a).map(([n,l])=>[r+n,l])):a);return[t,s]}):e}function sr(e){if(e<1)return{get:()=>{},set:()=>{}};let r=0,t=new Map,o=new Map;function s(a,n){t.set(a,n),r++,r>e&&(r=0,o=t,t=new Map)}return{get(a){let n=t.get(a);if(n!==void 0)return n;if((n=o.get(a))!==void 0)return s(a,n),n},set(a,n){t.has(a)?t.set(a,n):s(a,n)}}}var ge="!";function ar(e){let{separator:r,experimentalParseClassName:t}=e,o=r.length===1,s=r[0],a=r.length;function n(l){let c=[],p=0,m=0,g;for(let f=0;f<l.length;f++){let h=l[f];if(p===0){if(h===s&&(o||l.slice(f,f+a)===r)){c.push(l.slice(m,f)),m=f+a;continue}if(h==="/"){g=f;continue}}h==="["?p++:h==="]"&&p--}let b=c.length===0?l:l.substring(m),x=b.startsWith(ge),k=x?b.substring(1):b,y=g&&g>m?g-m:void 0;return{modifiers:c,hasImportantModifier:x,baseClassName:k,maybePostfixModifierPosition:y}}return t?function(c){return t({className:c,parseClassName:n})}:n}function nr(e){if(e.length<=1)return e;let r=[],t=[];return e.forEach(o=>{o[0]==="["?(r.push(...t.sort(),o),t=[]):t.push(o)}),r.push(...t.sort()),r}function ir(e){return{cache:sr(e.cacheSize),parseClassName:ar(e),...Qe(e)}}var lr=/\s+/;function cr(e,r){let{parseClassName:t,getClassGroupId:o,getConflictingClassGroupIds:s}=r,a=new Set;return e.trim().split(lr).map(n=>{let{modifiers:l,hasImportantModifier:c,baseClassName:p,maybePostfixModifierPosition:m}=t(n),g=Boolean(m),b=o(g?p.substring(0,m):p);if(!b){if(!g)return{isTailwindClass:!1,originalClassName:n};if(b=o(p),!b)return{isTailwindClass:!1,originalClassName:n};g=!1}let x=nr(l).join(":"),k=c?x+ge:x;return{isTailwindClass:!0,modifierId:k,classGroupId:b,originalClassName:n,hasPostfixModifier:g}}).reverse().filter(n=>{if(!n.isTailwindClass)return!0;let{modifierId:l,classGroupId:c,hasPostfixModifier:p}=n,m=l+c;return a.has(m)?!1:(a.add(m),s(c,p).forEach(g=>a.add(l+g)),!0)}).reverse().map(n=>n.originalClassName).join(" ")}function ur(){let e=0,r,t,o="";for(;e<arguments.length;)(r=arguments[e++])&&(t=he(r))&&(o&&(o+=" "),o+=t);return o}function he(e){if(typeof e=="string")return e;let r,t="";for(let o=0;o<e.length;o++)e[o]&&(r=he(e[o]))&&(t&&(t+=" "),t+=r);return t}function dr(e,...r){let t,o,s,a=n;function n(c){let p=r.reduce((m,g)=>g(m),e());return t=ir(p),o=t.cache.get,s=t.cache.set,a=l,l(c)}function l(c){let p=o(c);if(p)return p;let m=cr(c,t);return s(c,m),m}return function(){return a(ur.apply(null,arguments))}}function u(e){let r=t=>t[e]||[];return r.isThemeGetter=!0,r}var be=/^\[(?:([a-z-]+):)?(.+)\]$/i,pr=/^\d+\/\d+$/,mr=new Set(["px","full","screen"]),fr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,gr=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,hr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,br=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,yr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function w(e){return _(e)||mr.has(e)||pr.test(e)}function A(e){return T(e,"length",_r)}function _(e){return Boolean(e)&&!Number.isNaN(Number(e))}function J(e){return T(e,"number",_)}function R(e){return Boolean(e)&&Number.isInteger(Number(e))}function xr(e){return e.endsWith("%")&&_(e.slice(0,-1))}function i(e){return be.test(e)}function E(e){return fr.test(e)}var vr=new Set(["length","size","percentage"]);function wr(e){return T(e,vr,ye)}function Ar(e){return T(e,"position",ye)}var Er=new Set(["image","url"]);function kr(e){return T(e,Er,Ir)}function Pr(e){return T(e,"",Sr)}function M(){return!0}function T(e,r,t){let o=be.exec(e);return o?o[1]?typeof r=="string"?o[1]===r:r.has(o[1]):t(o[2]):!1}function _r(e){return gr.test(e)&&!hr.test(e)}function ye(){return!1}function Sr(e){return br.test(e)}function Ir(e){return yr.test(e)}function Lr(){let e=u("colors"),r=u("spacing"),t=u("blur"),o=u("brightness"),s=u("borderColor"),a=u("borderRadius"),n=u("borderSpacing"),l=u("borderWidth"),c=u("contrast"),p=u("grayscale"),m=u("hueRotate"),g=u("invert"),b=u("gap"),x=u("gradientColorStops"),k=u("gradientColorStopPositions"),y=u("inset"),f=u("margin"),h=u("opacity"),v=u("padding"),H=u("saturate"),j=u("scale"),Z=u("sepia"),Q=u("skew"),ee=u("space"),re=u("translate"),F=()=>["auto","contain","none"],W=()=>["auto","hidden","clip","visible","scroll"],q=()=>["auto",i,r],d=()=>[i,r],te=()=>["",w,A],U=()=>["auto",_,i],oe=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],z=()=>["solid","dashed","dotted","double","none"],se=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],K=()=>["start","end","center","between","around","evenly","stretch"],C=()=>["","0",i],ae=()=>["auto","avoid","all","avoid-page","page","left","right","column"],N=()=>[_,J],D=()=>[_,i];return{cacheSize:500,separator:":",theme:{colors:[M],spacing:[w,A],blur:["none","",E,i],brightness:N(),borderColor:[e],borderRadius:["none","","full",E,i],borderSpacing:d(),borderWidth:te(),contrast:N(),grayscale:C(),hueRotate:D(),invert:C(),gap:d(),gradientColorStops:[e],gradientColorStopPositions:[xr,A],inset:q(),margin:q(),opacity:N(),padding:d(),saturate:N(),scale:N(),sepia:C(),skew:D(),space:d(),translate:d()},classGroups:{aspect:[{aspect:["auto","square","video",i]}],container:["container"],columns:[{columns:[E]}],"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","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...oe(),i]}],overflow:[{overflow:W()}],"overflow-x":[{"overflow-x":W()}],"overflow-y":[{"overflow-y":W()}],overscroll:[{overscroll:F()}],"overscroll-x":[{"overscroll-x":F()}],"overscroll-y":[{"overscroll-y":F()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[y]}],"inset-x":[{"inset-x":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",R,i]}],basis:[{basis:q()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",i]}],grow:[{grow:C()}],shrink:[{shrink:C()}],order:[{order:["first","last","none",R,i]}],"grid-cols":[{"grid-cols":[M]}],"col-start-end":[{col:["auto",{span:["full",R,i]},i]}],"col-start":[{"col-start":U()}],"col-end":[{"col-end":U()}],"grid-rows":[{"grid-rows":[M]}],"row-start-end":[{row:["auto",{span:[R,i]},i]}],"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",i]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",i]}],gap:[{gap:[b]}],"gap-x":[{"gap-x":[b]}],"gap-y":[{"gap-y":[b]}],"justify-content":[{justify:["normal",...K()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...K(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...K(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[v]}],px:[{px:[v]}],py:[{py:[v]}],ps:[{ps:[v]}],pe:[{pe:[v]}],pt:[{pt:[v]}],pr:[{pr:[v]}],pb:[{pb:[v]}],pl:[{pl:[v]}],m:[{m:[f]}],mx:[{mx:[f]}],my:[{my:[f]}],ms:[{ms:[f]}],me:[{me:[f]}],mt:[{mt:[f]}],mr:[{mr:[f]}],mb:[{mb:[f]}],ml:[{ml:[f]}],"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","svw","lvw","dvw",i,r]}],"min-w":[{"min-w":[i,r,"min","max","fit"]}],"max-w":[{"max-w":[i,r,"none","full","min","max","fit","prose",{screen:[E]},E]}],h:[{h:[i,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[i,r,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[i,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[i,r,"auto","min","max","fit"]}],"font-size":[{text:["base",E,A]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",J]}],"font-family":[{font:[M]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",i]}],"line-clamp":[{"line-clamp":["none",_,J]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",w,i]}],"list-image":[{"list-image":["none",i]}],"list-style-type":[{list:["none","disc","decimal",i]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[h]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[h]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...z(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",w,A]}],"underline-offset":[{"underline-offset":["auto",w,i]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:d()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",i]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",i]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[h]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...oe(),Ar]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",wr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},kr]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[k]}],"gradient-via-pos":[{via:[k]}],"gradient-to-pos":[{to:[k]}],"gradient-from":[{from:[x]}],"gradient-via":[{via:[x]}],"gradient-to":[{to:[x]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[h]}],"border-style":[{border:[...z(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[h]}],"divide-style":[{divide:z()}],"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:["",...z()]}],"outline-offset":[{"outline-offset":[w,i]}],"outline-w":[{outline:[w,A]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:te()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[h]}],"ring-offset-w":[{"ring-offset":[w,A]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",E,Pr]}],"shadow-color":[{shadow:[M]}],opacity:[{opacity:[h]}],"mix-blend":[{"mix-blend":[...se(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":se()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[o]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",E,i]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[m]}],invert:[{invert:[g]}],saturate:[{saturate:[H]}],sepia:[{sepia:[Z]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[m]}],"backdrop-invert":[{"backdrop-invert":[g]}],"backdrop-opacity":[{"backdrop-opacity":[h]}],"backdrop-saturate":[{"backdrop-saturate":[H]}],"backdrop-sepia":[{"backdrop-sepia":[Z]}],"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",i]}],duration:[{duration:D()}],ease:[{ease:["linear","in","out","in-out",i]}],delay:[{delay:D()}],animate:[{animate:["none","spin","ping","pulse","bounce",i]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[j]}],"scale-x":[{"scale-x":[j]}],"scale-y":[{"scale-y":[j]}],rotate:[{rotate:[R,i]}],"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",i]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",i]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":d()}],"scroll-mx":[{"scroll-mx":d()}],"scroll-my":[{"scroll-my":d()}],"scroll-ms":[{"scroll-ms":d()}],"scroll-me":[{"scroll-me":d()}],"scroll-mt":[{"scroll-mt":d()}],"scroll-mr":[{"scroll-mr":d()}],"scroll-mb":[{"scroll-mb":d()}],"scroll-ml":[{"scroll-ml":d()}],"scroll-p":[{"scroll-p":d()}],"scroll-px":[{"scroll-px":d()}],"scroll-py":[{"scroll-py":d()}],"scroll-ps":[{"scroll-ps":d()}],"scroll-pe":[{"scroll-pe":d()}],"scroll-pt":[{"scroll-pt":d()}],"scroll-pr":[{"scroll-pr":d()}],"scroll-pb":[{"scroll-pb":d()}],"scroll-pl":[{"scroll-pl":d()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",i]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[w,A,J]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}var xe=dr(Lr);function Or(...e){return xe(de(e))}var ve=(e,r)=>{if(e===r)return!0;if(typeof e!="object"||typeof r!="object"||e===null||r===null)return!1;let t=Object.keys(e),o=Object.keys(r);if(t.length!==o.length)return!1;for(let s of t)if(!o.includes(s)||!ve(e[s],r[s]))return!1;return!0};var Tr=["stats","changelog","legal"],Cr=[{name:"Spotify Link Shortener",slug:"spotify-link-shortener"},{name:"ChatGPT Link Shortener",slug:"chatgpt-link-shortener"},{name:"GitHub Link Shortener",slug:"github-link-shortener"},{name:"Google Link Shortener",slug:"google-link-shortener"},{name:"Amazon Link Shortener",slug:"amazon-link-shortener"},{name:"Figma Link Shortener",slug:"figma-link-shortener"},{name:"Metatags API",slug:"metatags"},{name:"Link Inspector",slug:"inspector"},{name:"QR Code API",slug:"qr-code"},{name:"UTM Builder",slug:"utm-builder"}],Nr=[{name:"Bitly",slug:"bitly"},{name:"Rebrandly",slug:"rebrandly"},{name:"Short.io",slug:"short"}],Rr=[{name:"Privacy",slug:"privacy"},{name:"Terms",slug:"terms"},{name:"Subprocessors",slug:"subprocessors"},{name:"DPA",slug:"dpa"},{name:"Report Abuse",slug:"abuse"}];var Mr="https://www.google.com/s2/favicons?sz=64&domain_url=";var Ur=100,zr=60*60*24*14,Dr=new Date("2022-09-22T00:00:00.000Z");export{Ee as a,ke as b,G as c,Ie as d,De as e,je as f,Fe as g,He as h,Ze as i,Or as j,ve as k,Tr as l,Cr as m,Nr as n,Rr as o,Mr as p,Ur as q};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{i as t}from"./chunk-O2EFYDLJ.mjs";import{jsx as C,jsxs as a}from"react/jsx-runtime";function l({className:i}){return a("svg",{className:(void 0)("h-full w-full",i),viewBox:"0 0 222 222",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[C("circle",{cx:"111",cy:"111",r:"111",fill:"#0D1117"}),C("path",{d:"M111.001 44C72.8976 44 42 74.7556 42 112.696C42 143.048 61.7708 168.798 89.1868 177.882C92.6352 178.518 93.9013 176.392 93.9013 174.577C93.9013 172.939 93.8373 167.528 93.8076 161.787C74.6115 165.943 70.5609 153.682 70.5609 153.682C67.4222 145.742 62.8997 143.63 62.8997 143.63C56.6393 139.367 63.3716 139.454 63.3716 139.454C70.3004 139.939 73.9488 146.534 73.9488 146.534C80.103 157.036 90.0906 154 94.0281 152.244C94.6474 147.804 96.4356 144.774 98.4089 143.058C83.0829 141.321 66.972 135.431 66.972 109.108C66.972 101.608 69.6674 95.4801 74.0814 90.6693C73.3649 88.939 71.0031 81.952 74.7498 72.4896C74.7498 72.4896 80.544 70.6433 93.7299 79.5312C99.2339 78.0091 105.137 77.2458 111.001 77.2196C116.864 77.2458 122.772 78.0091 128.286 79.5312C141.456 70.6433 147.242 72.4896 147.242 72.4896C150.998 81.952 148.635 88.939 147.919 90.6693C152.343 95.4801 155.02 101.608 155.02 109.108C155.02 135.493 138.878 141.303 123.513 143.004C125.988 145.136 128.194 149.316 128.194 155.725C128.194 164.917 128.114 172.315 128.114 174.577C128.114 176.405 129.356 178.547 132.853 177.873C160.254 168.779 180 143.038 180 112.696C180 74.7556 149.107 44 111.001 44ZM67.843 141.859C67.691 142.201 67.1517 142.303 66.6603 142.069C66.1599 141.844 65.8788 141.379 66.041 141.037C66.1896 140.685 66.73 140.587 67.2294 140.823C67.731 141.047 68.0166 141.517 67.843 141.859ZM71.237 144.874C70.9079 145.178 70.2646 145.037 69.8282 144.557C69.3768 144.078 69.2923 143.438 69.6259 143.129C69.9653 142.826 70.5892 142.968 71.0416 143.447C71.493 143.931 71.5809 144.567 71.237 144.874ZM73.5655 148.732C73.1427 149.024 72.4514 148.75 72.0241 148.139C71.6013 147.529 71.6013 146.796 72.0332 146.502C72.4617 146.209 73.1427 146.473 73.5758 147.079C73.9974 147.7 73.9974 148.433 73.5655 148.732ZM77.5034 153.2C77.1252 153.615 76.3196 153.504 75.73 152.937C75.1267 152.383 74.9588 151.597 75.3381 151.182C75.7209 150.766 76.531 150.883 77.1252 151.445C77.7239 151.998 77.9067 152.789 77.5034 153.2ZM82.5928 154.708C82.4259 155.246 81.6501 155.491 80.8685 155.262C80.0881 155.027 79.5774 154.397 79.7351 153.853C79.8973 153.311 80.6766 153.056 81.4639 153.301C82.2431 153.535 82.755 154.161 82.5928 154.708ZM88.3847 155.348C88.4041 155.915 87.7414 156.384 86.921 156.395C86.096 156.413 85.4287 155.954 85.4196 155.397C85.4196 154.825 86.0674 154.359 86.8924 154.346C87.7128 154.33 88.3847 154.785 88.3847 155.348ZM94.0746 155.131C94.1729 155.684 93.6027 156.251 92.788 156.403C91.987 156.548 91.2455 156.207 91.1438 155.659C91.0444 155.092 91.6248 154.525 92.4247 154.378C93.2405 154.237 93.9706 154.569 94.0746 155.131Z",fill:"url(#paint0_radial_39_32)"}),C("defs",{children:a("radialGradient",{id:"paint0_radial_39_32",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(42 44) rotate(44.1575) scale(192.354 192.312)",children:[C("stop",{stopColor:"white",stopOpacity:"0.77"}),C("stop",{offset:"1",stopColor:"white",stopOpacity:"0.1"})]})})]})}export{l as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{c as b}from"./chunk-U7LZ7K26.mjs";import{a as h}from"./chunk-A4XJCPDP.mjs";import{b as p,d as f,i as g,j as i}from"./chunk-6IZLSA2Z.mjs";import{ChevronDown as w,Menu as x,X as C}from"lucide-react";import r from"next/link";import{useParams as N}from"next/navigation";import{useEffect as _,useState as v}from"react";import z from"swr";import{Fragment as D,jsx as e,jsxs as s}from"react/jsx-runtime";function j({theme:n="light"}){let{domain:m="dub.co"}=N(),[a,o]=v(!1);_(()=>{a?document.body.style.overflow="hidden":document.body.style.overflow="auto"},[a]);let{data:t}=z(m==="dub.co"&&"/api/auth/session",g,{dedupingInterval:6e4});return s("div",{className:i(n==="dark"&&"dark"),children:[e("button",{onClick:()=>o(!a),className:i("fixed right-3 top-3 z-40 rounded-full p-2 transition-colors duration-200 hover:bg-gray-200 focus:outline-none active:bg-gray-300 lg:hidden dark:hover:bg-white/20 dark:active:bg-white/30",a&&"hover:bg-gray-100 active:bg-gray-200"),children:a?e(C,{className:"h-5 w-5 text-gray-600 dark:text-white/70"}):e(x,{className:"h-5 w-5 text-gray-600 dark:text-white/70"})}),e("nav",{className:i("fixed inset-0 z-20 hidden w-full bg-white px-5 py-16 lg:hidden dark:bg-black dark:text-white/70",a&&"block"),children:s("ul",{className:"grid divide-y divide-gray-200 dark:divide-white/[0.15]",children:[b.map(({name:l,href:u,childItems:d},c)=>e(L,{name:l,href:u,childItems:d,setOpen:o},c)),t&&Object.keys(t).length>0?e("li",{className:"py-3",children:e(r,{href:f,className:"flex w-full font-semibold capitalize",children:"Dashboard"})}):s(D,{children:[e("li",{className:"py-3",children:e(r,{href:`${f}/login`,className:"flex w-full font-semibold capitalize",children:"Log in"})}),e("li",{className:"py-3",children:e(r,{href:`${f}/register`,className:"flex w-full font-semibold capitalize",children:"Sign Up"})})]})]})})]})}var L=({name:n,href:m,childItems:a,setOpen:o})=>{let{domain:t="dub.co"}=N(),[l,u]=v(!1);return a?e("li",{className:"py-3",children:s(h,{height:!0,children:[s("button",{className:"flex w-full justify-between",onClick:()=>u(!l),children:[e("p",{className:"font-semibold",children:n}),e(w,{className:i("h-5 w-5 text-gray-500 transition-all dark:text-white/50",l&&"rotate-180")})]}),l&&e("div",{className:"grid gap-4 overflow-hidden py-4",children:a.map(({title:d,href:c,icon:y,iconClassName:k})=>s(r,{href:p(c,t,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:t,utm_content:d}),onClick:()=>o(!1),className:"flex w-full space-x-2",children:[e(y,{className:i("h-5 w-5 text-gray-500 dark:text-white/80",k)}),e("span",{className:"text-sm",children:d})]},c))})]})}):m?e("li",{className:"py-3",children:e(r,{href:p(m,t,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:t,utm_content:n}),onClick:()=>o(!1),className:"flex w-full font-semibold capitalize",children:n})}):null};export{j as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as we,b as Ae}from"./chunk-AUBFB4SI.mjs";var le=we((lt,ie)=>{var I=1e3,L=I*60,O=L*60,P=O*24,We=P*7,qe=P*365.25;ie.exports=function(e,r){r=r||{};var t=typeof e;if(t==="string"&&e.length>0)return Ke(e);if(t==="number"&&isFinite(e))return r.long?Xe(e):Ye(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function Ke(e){if(e=String(e),!(e.length>100)){var 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*qe;case"weeks":case"week":case"w":return t*We;case"days":case"day":case"d":return t*P;case"hours":case"hour":case"hrs":case"hr":case"h":return t*O;case"minutes":case"minute":case"mins":case"min":case"m":return t*L;case"seconds":case"second":case"secs":case"sec":case"s":return t*I;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return t;default:return}}}}function Ye(e){var r=Math.abs(e);return r>=P?Math.round(e/P)+"d":r>=O?Math.round(e/O)+"h":r>=L?Math.round(e/L)+"m":r>=I?Math.round(e/I)+"s":e+"ms"}function Xe(e){var r=Math.abs(e);return r>=P?$(e,r,P,"day"):r>=O?$(e,r,O,"hour"):r>=L?$(e,r,L,"minute"):r>=I?$(e,r,I,"second"):e+" ms"}function $(e,r,t,o){var s=r>=t*1.5;return Math.round(e/t)+" "+o+(s?"s":"")}});var B=e=>{try{return new URL(e),!0}catch{return!1}},Ee=e=>{if(B(e))return e;try{if(e.includes(".")&&!e.includes(" "))return new URL(`https://${e}`).toString()}catch{}return e};var ke=(e,r,t)=>{if(r==="dub.co")return e;let o=new URL(e.startsWith("/")?`https://dub.co${e}`:e);return t&&Object.entries(t).forEach(([s,a])=>{o.searchParams.set(s,a)}),o.toString()};function G(e,r={digits:1}){if(!e)return"0";if(r.full)return Intl.NumberFormat("en-US").format(e);let t=/\.0+$|(\.[0-9]*[1-9])0+$/;if(e<1)return e.toFixed(r.digits).replace(t,"$1");var o=[{value:1,symbol:""},{value:1e3,symbol:"K"},{value:1e6,symbol:"M"},{value:1e9,symbol:"G"},{value:1e12,symbol:"T"},{value:1e15,symbol:"P"},{value:1e18,symbol:"E"}].slice().reverse().find(function(s){return e>=s.value});return o?(e/o.value).toFixed(r.digits).replace(t,"$1")+o.symbol:"0"}var Pe=process.env.NEXT_PUBLIC_APP_NAME||"Dub.co",ne=process.env.NEXT_PUBLIC_APP_SHORT_DOMAIN||"dub.sh",_e=`https://${process.env.NEXT_PUBLIC_APP_DOMAIN}`,Se=new Set([`app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"localhost:8888","localhost"]),Ie=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:"http://localhost:8888",Le=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_NGROK_URL||"http://localhost:8888",Oe=new Set([`api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`api-staging.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`api.${ne}`,"api.localhost:8888"]),Te=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://api-staging.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:"http://api.localhost:8888",Ce=new Set([`admin.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"admin.localhost:8888"]);var Ne=process.env.STORAGE_BASE_URL;var Me=new RegExp(/^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/),Ue=new RegExp(/^[0-9A-Za-z_\u0080-\uFFFF\/\-\p{Emoji}.]+$/u),ze=new RegExp(/^[a-zA-Z0-9\-]+$/);var De=e=>{if(B(e))return new URL(e).hostname.replace(/^www\./,"");try{if(e.includes(".")&&!e.includes(" "))return new URL(`https://${e}`).hostname.replace(/^www\./,"")}catch{return null}};var V=({name:e="Business",monthly:r=59,yearly:t=49,links:o=5e3,clicks:s=15e4,domains:a=40,tags:n=150,folders:l=150,users:c=15,ids:p=[]})=>({name:e,tagline:"For larger teams with increased usage",link:"https://dub.co/help/article/business-plan",price:{monthly:r,yearly:t,ids:p},limits:{links:o,clicks:s,domains:a,tags:n,folders:l,users:c,ai:1e3,api:3e3},colors:{bg:"bg-sky-900",text:"text-sky-900"},cta:{text:"Get started with Business",shortText:"Get started",href:"https://app.dub.co/register",color:"bg-black hover:bg-gray-800 hover:ring-gray-200"},featureTitle:"Everything in Pro, plus:",features:[{text:`${G(o,{full:!0})} new links/mo`},{text:`${G(s)} tracked clicks/mo`},{text:"3-year analytics retention"},{text:`${a} custom domains`},{text:`${c} users`},{text:"Real-time events stream",footnote:{title:"Get more data on your link clicks and QR code scans with a detailed, real-time stream of events in your workspace",cta:"Learn more.",href:"https://d.to/events"}},{text:"Event webhooks (beta)",footnote:{title:"Get notified when a link is clicked or a QR code is scanned using webhooks.",cta:"Learn more.",href:"https://d.to/webhooks"}}]}),S=[{name:"Free",tagline:"For hobby & side projects",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,domains:3,tags:5,folders:5,users:1,ai:10,api:60},colors:{bg:"bg-black",text:"text-black"},cta:{text:"Start for free",href:"https://app.dub.co/register",color:"bg-black hover:bg-gray-800 hover:ring-gray-200"},featureTitle:"What's included:",features:[{text:"25 new links/mo"},{text:"1K tracked clicks/mo"},{text:"30-day analytics retention"},{text:"3 custom domains"},{text:"1 user"},{text:"Advanced analytics",footnote:{title:"Get location (country, city, continent), device (type, browser, OS), and referer data on your clicks.",cta:"Learn more.",href:"https://dub.co/help/article/dub-analytics"}},{text:"10 AI credits/mo"},{text:"Basic support"},{text:"API Access",footnote:{title:"Programatically manage your links using our REST API.",cta:"Learn more.",href:"https://dub.co/docs/api-reference/introduction"}}]},{name:"Pro",tagline:"For startups & small businesses",link:"https://dub.co/help/article/pro-plan",price:{monthly:24,yearly:19,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ","price_1OTcQBAlJJEpqkPViGtGEsbb","price_1OYJeBAlJJEpqkPVLjTsjX0E","price_1OTcQBAlJJEpqkPVYlCMqdLL","price_1OYJeBAlJJEpqkPVnPGEZeb0"]},limits:{links:1e3,clicks:5e4,domains:10,tags:25,folders:25,users:5,ai:1e3,api:600},colors:{bg:"bg-blue-500",text:"text-blue-500"},cta:{text:"Get started with Pro",shortText:"Get started",href:"https://app.dub.co/register",color:"bg-blue-600 hover:bg-blue-700 hover:ring-blue-100"},featureTitle:"Everything in Free, plus:",features:[{text:"1,000 new links/mo"},{text:"50K tracked clicks/mo"},{text:"1-year analytics retention"},{text:"10 custom domains"},{text:"5 users"},{text:"Advanced link features",footnote:"Custom social media cards, password-protected links, link expiration, link cloaking, device targeting, geo targeting etc."},{text:"Unlimited AI credits",footnote:{title:"Subject to fair use policy \u2013 you will be notified if you exceed the limit, which are high enough for frequent usage.",cta:"Learn more.",href:"https://dub.co/blog/introducing-dub-ai"}},{text:"Priority support"},{text:"Premium dub.link domain",footnote:{title:"Stand out from the crowd with a premium dub.link domain.",cta:"Learn more.",href:"https://dub.co/help/article/default-dub-domains#premium-dublink-domain"}},{text:"Complimentary custom domain",footnote:{title:"All our paid plans come with a free .link custom domain, which helps improve click-through rates.",cta:"Learn more.",href:"https://dub.co/help/article/free-dot-link-domain"}}]},V({name:"Business",monthly:59,yearly:49,links:5e3,clicks:15e4,domains:40,tags:150,folders:150,users:15,ids:["price_1LodLoAlJJEpqkPV9rD0rlNL","price_1LodLoAlJJEpqkPVJdwv5zrG","price_1OZgmnAlJJEpqkPVOj4kV64R","price_1OzNlmAlJJEpqkPV7s9HXNAC","price_1OzNmXAlJJEpqkPVYO89lTdx","price_1OzOFIAlJJEpqkPVJxzc9irl","price_1OzOXMAlJJEpqkPV9ERrjjbw"]}),V({name:"Business Plus",monthly:119,yearly:99,links:15e3,clicks:4e5,domains:100,tags:300,folders:300,users:30,ids:["price_1OnWu0AlJJEpqkPVWk4144ZG","price_1OnWu0AlJJEpqkPVkDWVriAB","price_1OnaK3AlJJEpqkPVaCfCPdHi","price_1OzObrAlJJEpqkPVh6D9HWGO"]}),V({name:"Business Extra",monthly:249,yearly:199,links:4e4,clicks:1e6,domains:250,tags:500,folders:500,users:50,ids:["price_1OnWvCAlJJEpqkPVLzLHx5QD","price_1OnWvCAlJJEpqkPVHhCCvIOq","price_1OnaKJAlJJEpqkPVeJSvPfJb","price_1OzOg1AlJJEpqkPVPlsrxoWm"]}),V({name:"Business Max",monthly:499,yearly:399,links:1e5,clicks:25e5,domains:500,tags:1e3,folders:1e3,users:100,ids:["price_1OnWwLAlJJEpqkPVXtJyPqLk","price_1OnWwLAlJJEpqkPV4eMbOkNh","price_1OnaKOAlJJEpqkPVV6gkZPgt","price_1OzOh5AlJJEpqkPVtCSX7dlE"]}),{name:"Enterprise",tagline:"Custom tailored plans for large enterprises. Whether you're running a SMS campaign with millions of short links or a large marketing campaign with billions of clicks, we've got you covered.",link:"https://dub.co/enterprise",price:{monthly:null,yearly:null},limits:{links:25e4,clicks:5e6,domains:1e3,tags:1e3,folders:1e3,users:500,ai:1e4,api:1e4},colors:{bg:"bg-violet-600",text:"text-violet-600"},cta:{text:"Contact us",href:"/enterprise",color:"bg-gradient-to-r from-violet-600 to-pink-600 hover:ring-violet-100"},featureTitle:"Everything in Business, plus:",features:[{text:"Custom usage limits"},{text:"Volume discounts"},{text:"SSO/SAML"},{text:"Role-based access controls"},{text:"Custom contract & SLA"},{text:"Whiteglove onboarding"},{text:"Dedicated success manager"},{text:"Priority support"},{text:"Dedicated Slack channel"}]}],Be=S.find(e=>e.name==="Free"),Ge=S.find(e=>e.name==="Pro"),Ve=S.find(e=>e.name==="Business"),$e=S.find(e=>e.name==="Enterprise");var Je=S.filter(e=>e.name!=="Free"&&e.name!=="Enterprise");var je=(e,r)=>!e||e.length<=r?e??null:`${e.slice(0,r-3)}...`;var Fe=(e,r)=>e.map((t,o)=>({item:t,index:o})).sort((t,o)=>r(t.item,o.item)||t.index-o.index).map(({item:t})=>t);var ce=Ae(le(),1),He=(e,{withAgo:r}={})=>{if(!e)return"Never";let t=Date.now()-new Date(e).getTime();return t<1e3?"Just now":t>828e5?new Date(e).toLocaleDateString("en-US",{month:"short",day:"numeric",year:new Date(e).getFullYear()!==new Date().getFullYear()?"numeric":void 0}):`${(0,ce.default)(t)}${r?" ago":""}`};async function Ze(e,r){let t=await fetch(e,r);if(!t.ok){let o=await t.text(),s=new Error(o);throw s.status=t.status,s}return t.json()}function ue(e){var r,t,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(r=0;r<s;r++)e[r]&&(t=ue(e[r]))&&(o&&(o+=" "),o+=t)}else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}function de(){for(var e,r,t=0,o="",s=arguments.length;t<s;t++)(e=arguments[t])&&(r=ue(e))&&(o&&(o+=" "),o+=r);return o}var X="-";function Qe(e){let r=rr(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:o}=e;function s(n){let l=n.split(X);return l[0]===""&&l.length!==1&&l.shift(),fe(l,r)||er(n)}function a(n,l){let c=t[n]||[];return l&&o[n]?[...c,...o[n]]:c}return{getClassGroupId:s,getConflictingClassGroupIds:a}}function fe(e,r){var n;if(e.length===0)return r.classGroupId;let t=e[0],o=r.nextPart.get(t),s=o?fe(e.slice(1),o):void 0;if(s)return s;if(r.validators.length===0)return;let a=e.join(X);return(n=r.validators.find(({validator:l})=>l(a)))==null?void 0:n.classGroupId}var pe=/^\[(.+)\]$/;function er(e){if(pe.test(e)){let r=pe.exec(e)[1],t=r==null?void 0:r.substring(0,r.indexOf(":"));if(t)return"arbitrary.."+t}}function rr(e){let{theme:r,prefix:t}=e,o={nextPart:new Map,validators:[]};return or(Object.entries(e.classGroups),t).forEach(([a,n])=>{Y(n,o,a,r)}),o}function Y(e,r,t,o){e.forEach(s=>{if(typeof s=="string"){let a=s===""?r:me(r,s);a.classGroupId=t;return}if(typeof s=="function"){if(tr(s)){Y(s(o),r,t,o);return}r.validators.push({validator:s,classGroupId:t});return}Object.entries(s).forEach(([a,n])=>{Y(n,me(r,a),t,o)})})}function me(e,r){let t=e;return r.split(X).forEach(o=>{t.nextPart.has(o)||t.nextPart.set(o,{nextPart:new Map,validators:[]}),t=t.nextPart.get(o)}),t}function tr(e){return e.isThemeGetter}function or(e,r){return r?e.map(([t,o])=>{let s=o.map(a=>typeof a=="string"?r+a:typeof a=="object"?Object.fromEntries(Object.entries(a).map(([n,l])=>[r+n,l])):a);return[t,s]}):e}function sr(e){if(e<1)return{get:()=>{},set:()=>{}};let r=0,t=new Map,o=new Map;function s(a,n){t.set(a,n),r++,r>e&&(r=0,o=t,t=new Map)}return{get(a){let n=t.get(a);if(n!==void 0)return n;if((n=o.get(a))!==void 0)return s(a,n),n},set(a,n){t.has(a)?t.set(a,n):s(a,n)}}}var ge="!";function ar(e){let{separator:r,experimentalParseClassName:t}=e,o=r.length===1,s=r[0],a=r.length;function n(l){let c=[],p=0,m=0,g;for(let f=0;f<l.length;f++){let h=l[f];if(p===0){if(h===s&&(o||l.slice(f,f+a)===r)){c.push(l.slice(m,f)),m=f+a;continue}if(h==="/"){g=f;continue}}h==="["?p++:h==="]"&&p--}let b=c.length===0?l:l.substring(m),x=b.startsWith(ge),k=x?b.substring(1):b,y=g&&g>m?g-m:void 0;return{modifiers:c,hasImportantModifier:x,baseClassName:k,maybePostfixModifierPosition:y}}return t?function(c){return t({className:c,parseClassName:n})}:n}function nr(e){if(e.length<=1)return e;let r=[],t=[];return e.forEach(o=>{o[0]==="["?(r.push(...t.sort(),o),t=[]):t.push(o)}),r.push(...t.sort()),r}function ir(e){return{cache:sr(e.cacheSize),parseClassName:ar(e),...Qe(e)}}var lr=/\s+/;function cr(e,r){let{parseClassName:t,getClassGroupId:o,getConflictingClassGroupIds:s}=r,a=new Set;return e.trim().split(lr).map(n=>{let{modifiers:l,hasImportantModifier:c,baseClassName:p,maybePostfixModifierPosition:m}=t(n),g=Boolean(m),b=o(g?p.substring(0,m):p);if(!b){if(!g)return{isTailwindClass:!1,originalClassName:n};if(b=o(p),!b)return{isTailwindClass:!1,originalClassName:n};g=!1}let x=nr(l).join(":"),k=c?x+ge:x;return{isTailwindClass:!0,modifierId:k,classGroupId:b,originalClassName:n,hasPostfixModifier:g}}).reverse().filter(n=>{if(!n.isTailwindClass)return!0;let{modifierId:l,classGroupId:c,hasPostfixModifier:p}=n,m=l+c;return a.has(m)?!1:(a.add(m),s(c,p).forEach(g=>a.add(l+g)),!0)}).reverse().map(n=>n.originalClassName).join(" ")}function ur(){let e=0,r,t,o="";for(;e<arguments.length;)(r=arguments[e++])&&(t=he(r))&&(o&&(o+=" "),o+=t);return o}function he(e){if(typeof e=="string")return e;let r,t="";for(let o=0;o<e.length;o++)e[o]&&(r=he(e[o]))&&(t&&(t+=" "),t+=r);return t}function dr(e,...r){let t,o,s,a=n;function n(c){let p=r.reduce((m,g)=>g(m),e());return t=ir(p),o=t.cache.get,s=t.cache.set,a=l,l(c)}function l(c){let p=o(c);if(p)return p;let m=cr(c,t);return s(c,m),m}return function(){return a(ur.apply(null,arguments))}}function u(e){let r=t=>t[e]||[];return r.isThemeGetter=!0,r}var be=/^\[(?:([a-z-]+):)?(.+)\]$/i,pr=/^\d+\/\d+$/,mr=new Set(["px","full","screen"]),fr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,gr=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,hr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,br=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,yr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function w(e){return _(e)||mr.has(e)||pr.test(e)}function A(e){return T(e,"length",_r)}function _(e){return Boolean(e)&&!Number.isNaN(Number(e))}function J(e){return T(e,"number",_)}function R(e){return Boolean(e)&&Number.isInteger(Number(e))}function xr(e){return e.endsWith("%")&&_(e.slice(0,-1))}function i(e){return be.test(e)}function E(e){return fr.test(e)}var vr=new Set(["length","size","percentage"]);function wr(e){return T(e,vr,ye)}function Ar(e){return T(e,"position",ye)}var Er=new Set(["image","url"]);function kr(e){return T(e,Er,Ir)}function Pr(e){return T(e,"",Sr)}function M(){return!0}function T(e,r,t){let o=be.exec(e);return o?o[1]?typeof r=="string"?o[1]===r:r.has(o[1]):t(o[2]):!1}function _r(e){return gr.test(e)&&!hr.test(e)}function ye(){return!1}function Sr(e){return br.test(e)}function Ir(e){return yr.test(e)}function Lr(){let e=u("colors"),r=u("spacing"),t=u("blur"),o=u("brightness"),s=u("borderColor"),a=u("borderRadius"),n=u("borderSpacing"),l=u("borderWidth"),c=u("contrast"),p=u("grayscale"),m=u("hueRotate"),g=u("invert"),b=u("gap"),x=u("gradientColorStops"),k=u("gradientColorStopPositions"),y=u("inset"),f=u("margin"),h=u("opacity"),v=u("padding"),H=u("saturate"),j=u("scale"),Z=u("sepia"),Q=u("skew"),ee=u("space"),re=u("translate"),F=()=>["auto","contain","none"],W=()=>["auto","hidden","clip","visible","scroll"],q=()=>["auto",i,r],d=()=>[i,r],te=()=>["",w,A],U=()=>["auto",_,i],oe=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],z=()=>["solid","dashed","dotted","double","none"],se=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],K=()=>["start","end","center","between","around","evenly","stretch"],C=()=>["","0",i],ae=()=>["auto","avoid","all","avoid-page","page","left","right","column"],N=()=>[_,J],D=()=>[_,i];return{cacheSize:500,separator:":",theme:{colors:[M],spacing:[w,A],blur:["none","",E,i],brightness:N(),borderColor:[e],borderRadius:["none","","full",E,i],borderSpacing:d(),borderWidth:te(),contrast:N(),grayscale:C(),hueRotate:D(),invert:C(),gap:d(),gradientColorStops:[e],gradientColorStopPositions:[xr,A],inset:q(),margin:q(),opacity:N(),padding:d(),saturate:N(),scale:N(),sepia:C(),skew:D(),space:d(),translate:d()},classGroups:{aspect:[{aspect:["auto","square","video",i]}],container:["container"],columns:[{columns:[E]}],"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","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...oe(),i]}],overflow:[{overflow:W()}],"overflow-x":[{"overflow-x":W()}],"overflow-y":[{"overflow-y":W()}],overscroll:[{overscroll:F()}],"overscroll-x":[{"overscroll-x":F()}],"overscroll-y":[{"overscroll-y":F()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[y]}],"inset-x":[{"inset-x":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",R,i]}],basis:[{basis:q()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",i]}],grow:[{grow:C()}],shrink:[{shrink:C()}],order:[{order:["first","last","none",R,i]}],"grid-cols":[{"grid-cols":[M]}],"col-start-end":[{col:["auto",{span:["full",R,i]},i]}],"col-start":[{"col-start":U()}],"col-end":[{"col-end":U()}],"grid-rows":[{"grid-rows":[M]}],"row-start-end":[{row:["auto",{span:[R,i]},i]}],"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",i]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",i]}],gap:[{gap:[b]}],"gap-x":[{"gap-x":[b]}],"gap-y":[{"gap-y":[b]}],"justify-content":[{justify:["normal",...K()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...K(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...K(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[v]}],px:[{px:[v]}],py:[{py:[v]}],ps:[{ps:[v]}],pe:[{pe:[v]}],pt:[{pt:[v]}],pr:[{pr:[v]}],pb:[{pb:[v]}],pl:[{pl:[v]}],m:[{m:[f]}],mx:[{mx:[f]}],my:[{my:[f]}],ms:[{ms:[f]}],me:[{me:[f]}],mt:[{mt:[f]}],mr:[{mr:[f]}],mb:[{mb:[f]}],ml:[{ml:[f]}],"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","svw","lvw","dvw",i,r]}],"min-w":[{"min-w":[i,r,"min","max","fit"]}],"max-w":[{"max-w":[i,r,"none","full","min","max","fit","prose",{screen:[E]},E]}],h:[{h:[i,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[i,r,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[i,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[i,r,"auto","min","max","fit"]}],"font-size":[{text:["base",E,A]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",J]}],"font-family":[{font:[M]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",i]}],"line-clamp":[{"line-clamp":["none",_,J]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",w,i]}],"list-image":[{"list-image":["none",i]}],"list-style-type":[{list:["none","disc","decimal",i]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[h]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[h]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...z(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",w,A]}],"underline-offset":[{"underline-offset":["auto",w,i]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:d()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",i]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",i]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[h]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...oe(),Ar]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",wr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},kr]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[k]}],"gradient-via-pos":[{via:[k]}],"gradient-to-pos":[{to:[k]}],"gradient-from":[{from:[x]}],"gradient-via":[{via:[x]}],"gradient-to":[{to:[x]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[h]}],"border-style":[{border:[...z(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[h]}],"divide-style":[{divide:z()}],"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:["",...z()]}],"outline-offset":[{"outline-offset":[w,i]}],"outline-w":[{outline:[w,A]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:te()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[h]}],"ring-offset-w":[{"ring-offset":[w,A]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",E,Pr]}],"shadow-color":[{shadow:[M]}],opacity:[{opacity:[h]}],"mix-blend":[{"mix-blend":[...se(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":se()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[o]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",E,i]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[m]}],invert:[{invert:[g]}],saturate:[{saturate:[H]}],sepia:[{sepia:[Z]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[m]}],"backdrop-invert":[{"backdrop-invert":[g]}],"backdrop-opacity":[{"backdrop-opacity":[h]}],"backdrop-saturate":[{"backdrop-saturate":[H]}],"backdrop-sepia":[{"backdrop-sepia":[Z]}],"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",i]}],duration:[{duration:D()}],ease:[{ease:["linear","in","out","in-out",i]}],delay:[{delay:D()}],animate:[{animate:["none","spin","ping","pulse","bounce",i]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[j]}],"scale-x":[{"scale-x":[j]}],"scale-y":[{"scale-y":[j]}],rotate:[{rotate:[R,i]}],"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",i]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",i]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":d()}],"scroll-mx":[{"scroll-mx":d()}],"scroll-my":[{"scroll-my":d()}],"scroll-ms":[{"scroll-ms":d()}],"scroll-me":[{"scroll-me":d()}],"scroll-mt":[{"scroll-mt":d()}],"scroll-mr":[{"scroll-mr":d()}],"scroll-mb":[{"scroll-mb":d()}],"scroll-ml":[{"scroll-ml":d()}],"scroll-p":[{"scroll-p":d()}],"scroll-px":[{"scroll-px":d()}],"scroll-py":[{"scroll-py":d()}],"scroll-ps":[{"scroll-ps":d()}],"scroll-pe":[{"scroll-pe":d()}],"scroll-pt":[{"scroll-pt":d()}],"scroll-pr":[{"scroll-pr":d()}],"scroll-pb":[{"scroll-pb":d()}],"scroll-pl":[{"scroll-pl":d()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",i]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[w,A,J]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}var xe=dr(Lr);function Or(...e){return xe(de(e))}var ve=(e,r)=>{if(e===r)return!0;if(typeof e!="object"||typeof r!="object"||e===null||r===null)return!1;let t=Object.keys(e),o=Object.keys(r);if(t.length!==o.length)return!1;for(let s of t)if(!o.includes(s)||!ve(e[s],r[s]))return!1;return!0};var Tr=["stats","changelog","legal"],Cr=[{name:"Spotify Link Shortener",slug:"spotify-link-shortener"},{name:"ChatGPT Link Shortener",slug:"chatgpt-link-shortener"},{name:"GitHub Link Shortener",slug:"github-link-shortener"},{name:"Google Link Shortener",slug:"google-link-shortener"},{name:"Amazon Link Shortener",slug:"amazon-link-shortener"},{name:"Figma Link Shortener",slug:"figma-link-shortener"},{name:"Metatags API",slug:"metatags"},{name:"Link Inspector",slug:"inspector"},{name:"QR Code API",slug:"qr-code"},{name:"UTM Builder",slug:"utm-builder"}],Nr=[{name:"Bitly",slug:"bitly"},{name:"Rebrandly",slug:"rebrandly"},{name:"Short.io",slug:"short"}],Rr=[{name:"Privacy",slug:"privacy"},{name:"Terms",slug:"terms"},{name:"Subprocessors",slug:"subprocessors"},{name:"DPA",slug:"dpa"},{name:"Report Abuse",slug:"abuse"}];var Mr="https://www.google.com/s2/favicons?sz=64&domain_url=";var Ur=100,zr=60*60*24*14,Dr=new Date("2022-09-22T00:00:00.000Z");export{Ee as a,ke as b,G as c,Ie as d,De as e,je as f,Fe as g,He as h,Ze as i,Or as j,ve as k,Tr as l,Cr as m,Nr as n,Rr as o,Mr as p,Ur as q};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as c}from"./chunk-UUJYTAK4.mjs";import{a as s}from"./chunk-GV2NLM3E.mjs";import{a as o}from"./chunk-IGIB6XZB.mjs";import{a as i}from"./chunk-GYE7FFDN.mjs";import{q as a}from"./chunk-OQCPKGEH.mjs";import{cva as u}from"class-variance-authority";import{jsx as m,jsxs as x}from"react/jsx-runtime";var d=u("flex gap-1.5 items-center max-w-fit rounded-md px-2 py-1 text-xs font-medium whitespace-nowrap",{variants:{variant:{neutral:"bg-gray-500/[.15] text-gray-600",success:"bg-green-500/[.15] text-green-600",pending:"bg-orange-500/[.15] text-orange-600",error:"bg-red-500/[.15] text-red-600"}},defaultVariants:{variant:"neutral"}}),f={neutral:i,success:s,pending:o,error:c};function y({className:l,variant:e,icon:t,onClick:r,children:p,...g}){let n=t!==null?t??f[e??"neutral"]:null;return x("span",{className:a(d({variant:e}),r&&"cursor-pointer select-none transition-[filter] duration-150 hover:brightness-75 hover:saturate-[1.25]",l),onClick:r,...g,children:[n&&m(n,{className:"h-3 w-3 shrink-0"}),p]})}export{d as a,y as b};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{i as t}from"./chunk-O2EFYDLJ.mjs";import{motion as r}from"framer-motion";import{jsx as e,jsxs as c}from"react/jsx-runtime";var n="M6.75 8.25L4 11L1.25 8.25",s="M6.75 3.75L4 1L1.25 3.75";function i({order:o,className:a}){return c("svg",{className:(void 0)("w-2 text-gray-950",a),viewBox:"0 0 8 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e(r.path,{className:(void 0)(!o&&"opacity-40"),animate:{d:o==="asc"?s:n},stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e(r.path,{className:"opacity-40",animate:{d:o==="asc"?n:s},stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}export{i as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{j as e}from"./chunk-FHJV2JPW.mjs";import{useState as n}from"react";import{toast as u}from"sonner";import{jsx as p}from"react/jsx-runtime";function g({value:o,children:s,className:r,successMessage:a}){let[c,t]=n(!1);return p("button",{onClick:i=>{i.stopPropagation(),t(!0),navigator.clipboard.writeText(o).then(()=>{u.success(a||"Copied to clipboard!")}),setTimeout(()=>t(!1),3e3)},type:"button",className:e("cursor-copy text-sm text-gray-700 decoration-dotted hover:underline",c&&"cursor-default",r),children:s})}export{g as a};