@dub/ui 0.1.11 → 0.1.13

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 (474) hide show
  1. package/dist/accordion.mjs +1 -1
  2. package/dist/avatar.mjs +1 -1
  3. package/dist/badge.mjs +1 -1
  4. package/dist/blur-image.mjs +1 -1
  5. package/dist/button.mjs +1 -1
  6. package/dist/checkbox.mjs +1 -1
  7. package/dist/chunk-276W46WF.mjs +2 -0
  8. package/dist/chunk-2CPZ4ZE6.mjs +2 -0
  9. package/dist/chunk-2GJ7BF6V.mjs +2 -0
  10. package/dist/chunk-2KKU2VSI.mjs +2 -0
  11. package/dist/chunk-2N5SLVQ5.mjs +2 -0
  12. package/dist/chunk-2P2XYUW5.mjs +2 -0
  13. package/dist/chunk-2P4WWFAB.mjs +2 -0
  14. package/dist/chunk-2QK6XSG7.mjs +2 -0
  15. package/dist/chunk-2REOLEIJ.mjs +2 -0
  16. package/dist/chunk-2RSMCJBJ.mjs +2 -0
  17. package/dist/chunk-2VJEX3S5.mjs +2 -0
  18. package/dist/chunk-36RGJUKR.mjs +2 -0
  19. package/dist/chunk-3AY5HZMA.mjs +2 -0
  20. package/dist/chunk-3DJZFJD4.mjs +2 -0
  21. package/dist/chunk-3FKL4G5K.mjs +2 -0
  22. package/dist/chunk-3HAKTGUV.mjs +2 -0
  23. package/dist/chunk-3I6NUXH5.mjs +2 -0
  24. package/dist/chunk-3JT332VY.mjs +2 -0
  25. package/dist/chunk-3LJRBTPA.mjs +2 -0
  26. package/dist/chunk-3MHDMKBK.mjs +2 -0
  27. package/dist/chunk-3VZK4TDY.mjs +2 -0
  28. package/dist/chunk-3XAGCYYM.mjs +2 -0
  29. package/dist/chunk-45CHMYLW.mjs +2 -0
  30. package/dist/chunk-45YQQHIF.mjs +2 -0
  31. package/dist/chunk-46BDRFIO.mjs +2 -0
  32. package/dist/chunk-4AJKDN6G.mjs +2 -0
  33. package/dist/chunk-4BXZESTU.mjs +2 -0
  34. package/dist/chunk-4CA4TVFB.mjs +2 -0
  35. package/dist/chunk-4FF5OL62.mjs +2 -0
  36. package/dist/chunk-4QCGW2OY.mjs +2 -0
  37. package/dist/chunk-4RGG5CWR.mjs +2 -0
  38. package/dist/chunk-4V45ZRSO.mjs +2 -0
  39. package/dist/chunk-4VIUDU2K.mjs +2 -0
  40. package/dist/chunk-4VQRLFHM.mjs +2 -0
  41. package/dist/chunk-4XT7DQYP.mjs +2 -0
  42. package/dist/chunk-525BJF5V.mjs +2 -0
  43. package/dist/chunk-53YL5O34.mjs +2 -0
  44. package/dist/chunk-5CSOBGFS.mjs +2 -0
  45. package/dist/chunk-5HKJIEQK.mjs +7 -0
  46. package/dist/chunk-5MD762E4.mjs +2 -0
  47. package/dist/chunk-5SNSSF3X.mjs +14 -0
  48. package/dist/chunk-5VBCR6Z2.mjs +2 -0
  49. package/dist/chunk-5XABYFR7.mjs +2 -0
  50. package/dist/chunk-5ZVESORR.mjs +2 -0
  51. package/dist/chunk-62FC3PUD.mjs +2 -0
  52. package/dist/chunk-62YVEUMV.mjs +2 -0
  53. package/dist/chunk-65YBHFBQ.mjs +2 -0
  54. package/dist/chunk-65YXXG5Z.mjs +2 -0
  55. package/dist/chunk-66NCLB7F.mjs +2 -0
  56. package/dist/chunk-6DAS6BC3.mjs +2 -0
  57. package/dist/chunk-6EUXTYZS.mjs +2 -0
  58. package/dist/chunk-6GNET5PR.mjs +2 -0
  59. package/dist/chunk-6HCFJXK7.mjs +2 -0
  60. package/dist/chunk-6JH2N2EX.mjs +2 -0
  61. package/dist/chunk-6JNVH5EW.mjs +2 -0
  62. package/dist/chunk-6JWW7JNE.mjs +2 -0
  63. package/dist/chunk-6KEKSFFX.mjs +2 -0
  64. package/dist/chunk-6PYUCKYQ.mjs +2 -0
  65. package/dist/chunk-6REG5FE6.mjs +2 -0
  66. package/dist/chunk-6TFL7ZBB.mjs +2 -0
  67. package/dist/chunk-6TXKYHXW.mjs +2 -0
  68. package/dist/chunk-73IUWDSN.mjs +2 -0
  69. package/dist/chunk-73KEVVOX.mjs +2 -0
  70. package/dist/chunk-73ZNTC2B.mjs +2 -0
  71. package/dist/chunk-75G5SHEB.mjs +2 -0
  72. package/dist/chunk-76WLXMIK.mjs +2 -0
  73. package/dist/chunk-77G6KT3W.mjs +2 -0
  74. package/dist/chunk-77MTPSJL.mjs +7 -0
  75. package/dist/chunk-7ARJDC2Z.mjs +2 -0
  76. package/dist/chunk-7D4ZS4PH.mjs +2 -0
  77. package/dist/chunk-7FJL2LFN.mjs +2 -0
  78. package/dist/chunk-7HZEQINP.mjs +2 -0
  79. package/dist/chunk-7ILHLZNV.mjs +2 -0
  80. package/dist/chunk-7P2VLXDJ.mjs +2 -0
  81. package/dist/chunk-7USY3U5Y.mjs +2 -0
  82. package/dist/chunk-7V27NR4Z.mjs +2 -0
  83. package/dist/chunk-7VUPGABB.mjs +2 -0
  84. package/dist/chunk-7WBQ3YV7.mjs +2 -0
  85. package/dist/chunk-7XGI2SRI.mjs +2 -0
  86. package/dist/chunk-ABFV2QMX.mjs +2 -0
  87. package/dist/chunk-AESJMV2T.mjs +2 -0
  88. package/dist/chunk-AIH2TIHT.mjs +2 -0
  89. package/dist/chunk-ANSFSWL6.mjs +2 -0
  90. package/dist/chunk-AVM5HOTV.mjs +2 -0
  91. package/dist/chunk-AXBWAKNT.mjs +2 -0
  92. package/dist/chunk-AXVXO3ZJ.mjs +2 -0
  93. package/dist/chunk-B2CTF7QG.mjs +2 -0
  94. package/dist/chunk-B3NNGVFI.mjs +2 -0
  95. package/dist/chunk-B4DRHJYS.mjs +2 -0
  96. package/dist/chunk-B4OQFBGG.mjs +2 -0
  97. package/dist/chunk-B6LOESRR.mjs +2 -0
  98. package/dist/chunk-B7JGWAIZ.mjs +2 -0
  99. package/dist/chunk-BA5ZKFLW.mjs +2 -0
  100. package/dist/chunk-BAFHO4XI.mjs +2 -0
  101. package/dist/chunk-BAOX5RS6.mjs +2 -0
  102. package/dist/chunk-BBHK44ON.mjs +2 -0
  103. package/dist/chunk-BC73ESZH.mjs +2 -0
  104. package/dist/chunk-BGCJQIDH.mjs +2 -0
  105. package/dist/chunk-BKYS4HE5.mjs +2 -0
  106. package/dist/chunk-BMDN5BI3.mjs +2 -0
  107. package/dist/chunk-BNAUWEYY.mjs +2 -0
  108. package/dist/chunk-BOQJK2B5.mjs +2 -0
  109. package/dist/chunk-BSGT2NF6.mjs +2 -0
  110. package/dist/chunk-BSXXM6QQ.mjs +2 -0
  111. package/dist/chunk-BUNVQ2WH.mjs +2 -0
  112. package/dist/chunk-BW4C2OKQ.mjs +2 -0
  113. package/dist/chunk-C25EFVHY.mjs +2 -0
  114. package/dist/chunk-C2HXTN5P.mjs +2 -0
  115. package/dist/chunk-C45RMODA.mjs +14 -0
  116. package/dist/chunk-C4UOZW2Y.mjs +2 -0
  117. package/dist/chunk-C6UNPM2B.mjs +2 -0
  118. package/dist/chunk-C72IQ7KG.mjs +2 -0
  119. package/dist/chunk-C7INR5T7.mjs +2 -0
  120. package/dist/chunk-CCXMHRCG.mjs +2 -0
  121. package/dist/chunk-CDWU3DZQ.mjs +2 -0
  122. package/dist/chunk-CF4JO44M.mjs +2 -0
  123. package/dist/chunk-CFAMVXYR.mjs +2 -0
  124. package/dist/chunk-CHTNGVIK.mjs +2 -0
  125. package/dist/chunk-CIB3WAEE.mjs +2 -0
  126. package/dist/chunk-D24LHUDA.mjs +2 -0
  127. package/dist/chunk-D4GOH7YF.mjs +2 -0
  128. package/dist/chunk-DCNUS6TK.mjs +2 -0
  129. package/dist/chunk-DDMBK7WX.mjs +2 -0
  130. package/dist/chunk-DDUF7PO7.mjs +2 -0
  131. package/dist/chunk-DFBU5AWJ.mjs +2 -0
  132. package/dist/chunk-DKF3JLZL.mjs +2 -0
  133. package/dist/chunk-DRHG63KA.mjs +2 -0
  134. package/dist/chunk-DRONHFRG.mjs +2 -0
  135. package/dist/chunk-DSISUPVI.mjs +2 -0
  136. package/dist/chunk-DTIT4522.mjs +2 -0
  137. package/dist/chunk-DWQMIUCJ.mjs +2 -0
  138. package/dist/chunk-E6C6TBON.mjs +2 -0
  139. package/dist/chunk-EARIQRPH.mjs +2 -0
  140. package/dist/chunk-EB4TUAE3.mjs +2 -0
  141. package/dist/chunk-EB6MTXOJ.mjs +2 -0
  142. package/dist/chunk-EC35JW5Z.mjs +2 -0
  143. package/dist/chunk-EDLKLRRU.mjs +2 -0
  144. package/dist/chunk-EDYEC2UW.mjs +2 -0
  145. package/dist/chunk-EEGRZG6M.mjs +2 -0
  146. package/dist/chunk-EERT6N22.mjs +2 -0
  147. package/dist/chunk-EHQ5Y6ZB.mjs +2 -0
  148. package/dist/chunk-EHT4LQK7.mjs +2 -0
  149. package/dist/chunk-EPABDYC7.mjs +2 -0
  150. package/dist/chunk-EQF7NWG3.mjs +2 -0
  151. package/dist/chunk-ERNUZHW7.mjs +2 -0
  152. package/dist/chunk-ESQ53AT2.mjs +2 -0
  153. package/dist/chunk-ESXKKCC3.mjs +2 -0
  154. package/dist/chunk-EUBCJR37.mjs +2 -0
  155. package/dist/chunk-EUZ4PLSH.mjs +2 -0
  156. package/dist/chunk-EWRWEAK2.mjs +2 -0
  157. package/dist/chunk-EXFD3JIZ.mjs +2 -0
  158. package/dist/chunk-F2YHVYSJ.mjs +2 -0
  159. package/dist/chunk-F5JCWKIV.mjs +2 -0
  160. package/dist/chunk-FFOPAS2B.mjs +2 -0
  161. package/dist/chunk-FKCFTZQT.mjs +2 -0
  162. package/dist/chunk-FM2AMJG3.mjs +2 -0
  163. package/dist/chunk-FPYN2O6E.mjs +2 -0
  164. package/dist/chunk-FQ7WMEHO.mjs +2 -0
  165. package/dist/chunk-FRNLB4GJ.mjs +2 -0
  166. package/dist/chunk-FT7ASSHM.mjs +2 -0
  167. package/dist/chunk-FUX3EOWT.mjs +7 -0
  168. package/dist/chunk-FWYIB5LD.mjs +2 -0
  169. package/dist/chunk-FX5LCKM5.mjs +2 -0
  170. package/dist/chunk-G2SVDOAG.mjs +2 -0
  171. package/dist/chunk-G4SOZAEG.mjs +2 -0
  172. package/dist/chunk-G5OPSCY5.mjs +2 -0
  173. package/dist/chunk-G65VIGQW.mjs +2 -0
  174. package/dist/chunk-G732I6LI.mjs +2 -0
  175. package/dist/chunk-GAKKDOYT.mjs +2 -0
  176. package/dist/chunk-GBTTMOB5.mjs +2 -0
  177. package/dist/chunk-GFPHNLHE.mjs +2 -0
  178. package/dist/chunk-GGAGWXU5.mjs +2 -0
  179. package/dist/chunk-GGHP6SAM.mjs +2 -0
  180. package/dist/chunk-GGUJQ5NL.mjs +2 -0
  181. package/dist/chunk-GLHY6VUV.mjs +2 -0
  182. package/dist/chunk-GLQVL5K4.mjs +2 -0
  183. package/dist/chunk-GMLYY3EY.mjs +2 -0
  184. package/dist/chunk-GNAFXE6P.mjs +2 -0
  185. package/dist/chunk-GP7GXSDV.mjs +2 -0
  186. package/dist/chunk-GUOMXSMW.mjs +2 -0
  187. package/dist/chunk-GV74USUK.mjs +2 -0
  188. package/dist/chunk-GWJFVOEZ.mjs +2 -0
  189. package/dist/chunk-GY7HGDFN.mjs +2 -0
  190. package/dist/chunk-GYQNT7RY.mjs +2 -0
  191. package/dist/chunk-GZI2D3DN.mjs +2 -0
  192. package/dist/chunk-HDWP2MGU.mjs +2 -0
  193. package/dist/chunk-HEKS3JVE.mjs +2 -0
  194. package/dist/chunk-HIK2DIR4.mjs +2 -0
  195. package/dist/chunk-HKJTS35C.mjs +2 -0
  196. package/dist/chunk-HKMDKX54.mjs +2 -0
  197. package/dist/chunk-HL4NEJRB.mjs +2 -0
  198. package/dist/chunk-HMOKLKFP.mjs +2 -0
  199. package/dist/chunk-HPCHPURR.mjs +2 -0
  200. package/dist/chunk-HRDWRUGX.mjs +2 -0
  201. package/dist/chunk-HTXQPLBD.mjs +2 -0
  202. package/dist/chunk-HUFX2XVY.mjs +2 -0
  203. package/dist/chunk-HUYNOZML.mjs +2 -0
  204. package/dist/chunk-HV4RUFPX.mjs +2 -0
  205. package/dist/chunk-HVWGK34O.mjs +2 -0
  206. package/dist/chunk-HW5KVKW5.mjs +2 -0
  207. package/dist/chunk-HWHAH2NG.mjs +2 -0
  208. package/dist/chunk-HWM7RDK7.mjs +2 -0
  209. package/dist/chunk-HY52D5R5.mjs +2 -0
  210. package/dist/chunk-HYPEUX5Z.mjs +2 -0
  211. package/dist/chunk-I2PS6DGT.mjs +2 -0
  212. package/dist/chunk-I2ZSNU7M.mjs +2 -0
  213. package/dist/chunk-I7UOZVHN.mjs +2 -0
  214. package/dist/chunk-I7YWKY7N.mjs +2 -0
  215. package/dist/chunk-IBW4BSQG.mjs +2 -0
  216. package/dist/chunk-ICUT5XL7.mjs +2 -0
  217. package/dist/chunk-IELNX2OK.mjs +2 -0
  218. package/dist/chunk-IG54EI6V.mjs +2 -0
  219. package/dist/chunk-IH5CPO5C.mjs +2 -0
  220. package/dist/chunk-IHGR3PGW.mjs +2 -0
  221. package/dist/chunk-IK3CTUJX.mjs +2 -0
  222. package/dist/chunk-ILUUMP47.mjs +2 -0
  223. package/dist/chunk-IMMUTDGL.mjs +2 -0
  224. package/dist/chunk-INN6MCDG.mjs +2 -0
  225. package/dist/chunk-IO6OB2HL.mjs +2 -0
  226. package/dist/chunk-IP5CZOXG.mjs +2 -0
  227. package/dist/chunk-IP5P66MO.mjs +2 -0
  228. package/dist/chunk-IP7IEMZM.mjs +2 -0
  229. package/dist/chunk-IQESOWA6.mjs +7 -0
  230. package/dist/chunk-IR4ADHH7.mjs +2 -0
  231. package/dist/chunk-IRXUKH5K.mjs +2 -0
  232. package/dist/chunk-IVNWJC3S.mjs +2 -0
  233. package/dist/chunk-IYYDSMUY.mjs +2 -0
  234. package/dist/chunk-IZM4MVAX.mjs +2 -0
  235. package/dist/chunk-J3ZMP25N.mjs +2 -0
  236. package/dist/chunk-J7VPYSLS.mjs +2 -0
  237. package/dist/chunk-JBZY2UHS.mjs +2 -0
  238. package/dist/chunk-JCINE5SP.mjs +2 -0
  239. package/dist/chunk-JDLQRN2O.mjs +2 -0
  240. package/dist/chunk-JE3CHKCR.mjs +2 -0
  241. package/dist/chunk-JG54P5HL.mjs +2 -0
  242. package/dist/chunk-JGAAC5ZN.mjs +7 -0
  243. package/dist/chunk-JH7AGUEZ.mjs +2 -0
  244. package/dist/chunk-JIHAEEF3.mjs +2 -0
  245. package/dist/chunk-JLEDCMSU.mjs +2 -0
  246. package/dist/chunk-JLJBCPUC.mjs +2 -0
  247. package/dist/chunk-JQCN3C7X.mjs +2 -0
  248. package/dist/chunk-JQLVJ6PV.mjs +2 -0
  249. package/dist/chunk-JVKN3C4N.mjs +2 -0
  250. package/dist/chunk-JWZIVU4W.mjs +2 -0
  251. package/dist/chunk-JXBQ2EIQ.mjs +2 -0
  252. package/dist/chunk-JXSRE2HN.mjs +2 -0
  253. package/dist/chunk-JYM2SIJQ.mjs +2 -0
  254. package/dist/chunk-K2V7MFVV.mjs +2 -0
  255. package/dist/chunk-K45C6UUC.mjs +2 -0
  256. package/dist/chunk-K56GBSYW.mjs +2 -0
  257. package/dist/chunk-KJ5AJMBB.mjs +2 -0
  258. package/dist/chunk-KJHQ7NNN.mjs +2 -0
  259. package/dist/chunk-KJVQXK7J.mjs +2 -0
  260. package/dist/chunk-KM6KVVUZ.mjs +2 -0
  261. package/dist/chunk-KP6CPRI3.mjs +2 -0
  262. package/dist/chunk-KR3G6IC3.mjs +7 -0
  263. package/dist/chunk-KROAH7KT.mjs +2 -0
  264. package/dist/chunk-KSE7J4TQ.mjs +2 -0
  265. package/dist/chunk-KSSUESCL.mjs +2 -0
  266. package/dist/chunk-KZNT4R4Z.mjs +2 -0
  267. package/dist/chunk-L5YZUFNH.mjs +2 -0
  268. package/dist/chunk-LAPVCWYK.mjs +2 -0
  269. package/dist/chunk-LDLHQCLH.mjs +2 -0
  270. package/dist/chunk-LE4PSJ4R.mjs +2 -0
  271. package/dist/chunk-LFQAIDJD.mjs +2 -0
  272. package/dist/chunk-LIGAHPXL.mjs +2 -0
  273. package/dist/chunk-LPIBOG3O.mjs +2 -0
  274. package/dist/chunk-LPZEJBCS.mjs +2 -0
  275. package/dist/chunk-M3CPGPIQ.mjs +2 -0
  276. package/dist/chunk-M554Q6ZH.mjs +2 -0
  277. package/dist/chunk-M7Y7W566.mjs +2 -0
  278. package/dist/chunk-MCIFOWFO.mjs +2 -0
  279. package/dist/chunk-MH7EZQYG.mjs +2 -0
  280. package/dist/chunk-MHJLOMRX.mjs +7 -0
  281. package/dist/chunk-MI2CFPL3.mjs +2 -0
  282. package/dist/chunk-MPTCLEYO.mjs +2 -0
  283. package/dist/chunk-MVAWYBZA.mjs +2 -0
  284. package/dist/chunk-MYK7LXT2.mjs +7 -0
  285. package/dist/chunk-MYYGR2U3.mjs +2 -0
  286. package/dist/chunk-N3HAB7GY.mjs +2 -0
  287. package/dist/chunk-NABXTJAQ.mjs +2 -0
  288. package/dist/chunk-NAC6RHKR.mjs +2 -0
  289. package/dist/chunk-NAKB4NQA.mjs +2 -0
  290. package/dist/chunk-NDMIWJ33.mjs +7 -0
  291. package/dist/chunk-NEDASB4A.mjs +2 -0
  292. package/dist/chunk-NPIAR444.mjs +2 -0
  293. package/dist/chunk-NPTRLMOC.mjs +2 -0
  294. package/dist/chunk-NUD3FMBI.mjs +2 -0
  295. package/dist/chunk-NYGYWO65.mjs +2 -0
  296. package/dist/chunk-O22BUYQL.mjs +2 -0
  297. package/dist/chunk-O3JPXY6R.mjs +2 -0
  298. package/dist/chunk-OEJN5XTE.mjs +2 -0
  299. package/dist/chunk-OGJH52W6.mjs +2 -0
  300. package/dist/chunk-OGVFBTEH.mjs +2 -0
  301. package/dist/chunk-OI37HXT5.mjs +2 -0
  302. package/dist/chunk-OIJQC2FH.mjs +2 -0
  303. package/dist/chunk-ORFZNAOB.mjs +2 -0
  304. package/dist/chunk-OSV2JM6L.mjs +2 -0
  305. package/dist/chunk-OT3YJFOL.mjs +2 -0
  306. package/dist/chunk-P24RLXHU.mjs +2 -0
  307. package/dist/chunk-P5ZKFNAS.mjs +2 -0
  308. package/dist/chunk-PMRBRBZ3.mjs +2 -0
  309. package/dist/chunk-PP33DVNO.mjs +2 -0
  310. package/dist/chunk-PVOHSSAC.mjs +2 -0
  311. package/dist/chunk-PYOCKME2.mjs +7 -0
  312. package/dist/chunk-Q2RUUCQX.mjs +2 -0
  313. package/dist/chunk-Q34W4ANS.mjs +2 -0
  314. package/dist/chunk-QATSRBXB.mjs +2 -0
  315. package/dist/chunk-QCPEBSWT.mjs +7 -0
  316. package/dist/chunk-QE42YW4F.mjs +2 -0
  317. package/dist/chunk-QF3AY5DX.mjs +2 -0
  318. package/dist/chunk-QFQLYFYZ.mjs +2 -0
  319. package/dist/chunk-QFSSYASP.mjs +2 -0
  320. package/dist/chunk-QG4UCTT3.mjs +2 -0
  321. package/dist/chunk-QGPF3DLI.mjs +2 -0
  322. package/dist/chunk-QKBKH3IM.mjs +2 -0
  323. package/dist/chunk-QMCSPZBH.mjs +2 -0
  324. package/dist/chunk-QN7ZKKZ6.mjs +2 -0
  325. package/dist/chunk-QSYIQL5W.mjs +2 -0
  326. package/dist/chunk-R2YDBCVQ.mjs +2 -0
  327. package/dist/chunk-R3W2SUYE.mjs +2 -0
  328. package/dist/chunk-R4SBMHI6.mjs +2 -0
  329. package/dist/chunk-R4UAFXW3.mjs +2 -0
  330. package/dist/chunk-RC7DDQ76.mjs +2 -0
  331. package/dist/chunk-RDMJKH4Q.mjs +2 -0
  332. package/dist/chunk-RF2UZKN3.mjs +2 -0
  333. package/dist/chunk-RH5RC23C.mjs +2 -0
  334. package/dist/chunk-RHDW32FC.mjs +2 -0
  335. package/dist/chunk-RKNG6XZ4.mjs +2 -0
  336. package/dist/chunk-RLYS2DAO.mjs +2 -0
  337. package/dist/chunk-RNZHTSQU.mjs +2 -0
  338. package/dist/chunk-RTETES5P.mjs +2 -0
  339. package/dist/chunk-RTXJM4GI.mjs +2 -0
  340. package/dist/chunk-RUVYPZML.mjs +2 -0
  341. package/dist/chunk-RVUQLZX4.mjs +2 -0
  342. package/dist/chunk-RVZC5ZFT.mjs +2 -0
  343. package/dist/chunk-S5A22U7G.mjs +2 -0
  344. package/dist/chunk-S5I7CP2K.mjs +2 -0
  345. package/dist/chunk-SAAFESV7.mjs +2 -0
  346. package/dist/chunk-SALE3TDE.mjs +2 -0
  347. package/dist/chunk-SDPMZGG7.mjs +2 -0
  348. package/dist/chunk-SFKCN36S.mjs +2 -0
  349. package/dist/chunk-SFPRFO5Q.mjs +2 -0
  350. package/dist/chunk-SFPWWG4G.mjs +2 -0
  351. package/dist/chunk-SG3MG5ZQ.mjs +2 -0
  352. package/dist/chunk-SJAWUF2X.mjs +2 -0
  353. package/dist/chunk-SLE55SCS.mjs +2 -0
  354. package/dist/chunk-SMDEXVQQ.mjs +2 -0
  355. package/dist/chunk-SMDLHLPZ.mjs +2 -0
  356. package/dist/chunk-SPJHQZVA.mjs +2 -0
  357. package/dist/chunk-SVKN5LSQ.mjs +2 -0
  358. package/dist/chunk-T2POBHOH.mjs +2 -0
  359. package/dist/chunk-T4A6PFLQ.mjs +2 -0
  360. package/dist/chunk-T56OBLGW.mjs +2 -0
  361. package/dist/chunk-T6ESNZZD.mjs +2 -0
  362. package/dist/chunk-TBB6BPZH.mjs +2 -0
  363. package/dist/chunk-TKALKCOU.mjs +2 -0
  364. package/dist/chunk-TLAQYBIA.mjs +2 -0
  365. package/dist/chunk-TM5UPJGQ.mjs +2 -0
  366. package/dist/chunk-TNCF2FDG.mjs +2 -0
  367. package/dist/chunk-TNRUVOFL.mjs +2 -0
  368. package/dist/chunk-TO6EQBPX.mjs +2 -0
  369. package/dist/chunk-TS6VATV2.mjs +2 -0
  370. package/dist/chunk-TZX3O6X7.mjs +2 -0
  371. package/dist/chunk-U4D22TY4.mjs +2 -0
  372. package/dist/chunk-U5FWCUOI.mjs +2 -0
  373. package/dist/chunk-UCBUZCWG.mjs +7 -0
  374. package/dist/chunk-UFCT5ISU.mjs +2 -0
  375. package/dist/chunk-UQPLM76H.mjs +2 -0
  376. package/dist/chunk-USPRDERW.mjs +2 -0
  377. package/dist/chunk-UT6UT7BV.mjs +2 -0
  378. package/dist/chunk-V5VWPCZ2.mjs +2 -0
  379. package/dist/chunk-V76FQRRS.mjs +2 -0
  380. package/dist/chunk-VBK5G5SS.mjs +2 -0
  381. package/dist/chunk-VEHHHDP2.mjs +2 -0
  382. package/dist/chunk-VLGUXNZQ.mjs +2 -0
  383. package/dist/chunk-VMUKI5UK.mjs +2 -0
  384. package/dist/chunk-VQ4VZPA7.mjs +2 -0
  385. package/dist/chunk-VQ6LLAYT.mjs +2 -0
  386. package/dist/chunk-VRHROBPL.mjs +2 -0
  387. package/dist/chunk-VT7KNQ5S.mjs +2 -0
  388. package/dist/chunk-VTLJ2PX3.mjs +2 -0
  389. package/dist/chunk-VX7ASFGG.mjs +2 -0
  390. package/dist/chunk-VYKQLSIL.mjs +2 -0
  391. package/dist/chunk-VZFFVSMM.mjs +2 -0
  392. package/dist/chunk-W6EYH5V2.mjs +2 -0
  393. package/dist/chunk-WARRQBSI.mjs +2 -0
  394. package/dist/chunk-WCRGFT4C.mjs +2 -0
  395. package/dist/chunk-WKCMOLY3.mjs +2 -0
  396. package/dist/chunk-WM2LAFXS.mjs +2 -0
  397. package/dist/chunk-WPJ364LM.mjs +2 -0
  398. package/dist/chunk-WR3R3VGQ.mjs +2 -0
  399. package/dist/chunk-WSQOQ4PH.mjs +2 -0
  400. package/dist/chunk-WXNE36A7.mjs +2 -0
  401. package/dist/chunk-X2MWPPGE.mjs +2 -0
  402. package/dist/chunk-X2TRZZL3.mjs +2 -0
  403. package/dist/chunk-X34XACN6.mjs +2 -0
  404. package/dist/chunk-X6CKOYUG.mjs +2 -0
  405. package/dist/chunk-XHQLWOWW.mjs +2 -0
  406. package/dist/chunk-XPWKUREN.mjs +2 -0
  407. package/dist/chunk-XREE6ZVR.mjs +2 -0
  408. package/dist/chunk-XTUB6P5D.mjs +2 -0
  409. package/dist/chunk-XVJ6W6LX.mjs +2 -0
  410. package/dist/chunk-XVLXZU6W.mjs +2 -0
  411. package/dist/chunk-XWTZTTGM.mjs +2 -0
  412. package/dist/chunk-Y4YCDTJT.mjs +2 -0
  413. package/dist/chunk-Y5G5JLU7.mjs +2 -0
  414. package/dist/chunk-Y7E7HSNP.mjs +2 -0
  415. package/dist/chunk-YCWEB75F.mjs +2 -0
  416. package/dist/chunk-YFMGTIGH.mjs +2 -0
  417. package/dist/chunk-YG7NAPNH.mjs +2 -0
  418. package/dist/chunk-YJA5DA3B.mjs +2 -0
  419. package/dist/chunk-YJYTT5F4.mjs +2 -0
  420. package/dist/chunk-YOV6GK5Z.mjs +2 -0
  421. package/dist/chunk-YQSKZPSZ.mjs +2 -0
  422. package/dist/chunk-Z2PFQCGW.mjs +2 -0
  423. package/dist/chunk-Z2UKO4CH.mjs +2 -0
  424. package/dist/chunk-Z37YWFAH.mjs +2 -0
  425. package/dist/chunk-Z3AJJ3K4.mjs +2 -0
  426. package/dist/chunk-Z5G7RNAM.mjs +2 -0
  427. package/dist/chunk-ZALTAHRW.mjs +2 -0
  428. package/dist/chunk-ZLXW2I3U.mjs +2 -0
  429. package/dist/chunk-ZOTNHFA4.mjs +2 -0
  430. package/dist/chunk-ZTAR5Q7A.mjs +2 -0
  431. package/dist/chunk-ZVBWHLLR.mjs +2 -0
  432. package/dist/chunk-ZWI3CNLA.mjs +2 -0
  433. package/dist/composite-logo.d.ts +7 -0
  434. package/dist/composite-logo.mjs +2 -0
  435. package/dist/copiable-logo.mjs +2 -0
  436. package/dist/copy-button.mjs +1 -1
  437. package/dist/counting-numbers.mjs +1 -1
  438. package/dist/footer.mjs +1 -1
  439. package/dist/form.mjs +1 -1
  440. package/dist/icons/expanding-arrow.mjs +1 -1
  441. package/dist/icons/index.d.ts +0 -2
  442. package/dist/icons/index.mjs +1 -1
  443. package/dist/icons/linkedin.mjs +1 -1
  444. package/dist/icons/loading-circle.mjs +1 -1
  445. package/dist/icons/loading-spinner.mjs +1 -1
  446. package/dist/icons/logo.mjs +1 -1
  447. package/dist/icons/logotype.mjs +1 -1
  448. package/dist/icons/twitter.mjs +1 -1
  449. package/dist/icons/youtube.mjs +1 -1
  450. package/dist/index.css +1 -1
  451. package/dist/index.d.ts +6 -4
  452. package/dist/index.mjs +1 -1
  453. package/dist/input-select.mjs +1 -1
  454. package/dist/label.mjs +1 -1
  455. package/dist/link-logo.mjs +1 -1
  456. package/dist/link-preview.mjs +1 -1
  457. package/dist/logo.d.ts +7 -0
  458. package/dist/logo.mjs +2 -0
  459. package/dist/max-width-wrapper.mjs +1 -1
  460. package/dist/modal.mjs +1 -1
  461. package/dist/nav-logo.d.ts +13 -0
  462. package/dist/nav-logo.mjs +2 -0
  463. package/dist/nav-mobile.mjs +1 -1
  464. package/dist/nav.d.ts +9 -2
  465. package/dist/nav.mjs +1 -1
  466. package/dist/progress-bar.mjs +1 -1
  467. package/dist/radio-group.mjs +1 -1
  468. package/dist/switch.mjs +1 -1
  469. package/dist/tab-select.mjs +1 -1
  470. package/dist/tooltip.d.ts +7 -2
  471. package/dist/tooltip.mjs +1 -1
  472. package/dist/wordmark.d.ts +7 -0
  473. package/dist/wordmark.mjs +2 -0
  474. package/package.json +4 -2
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as ke,b as Ee}from"./chunk-AUBFB4SI.mjs";var ue=ke((Xt,de)=>{var O=1e3,C=O*60,T=C*60,_=T*24,$e=_*7,qe=_*365.25;de.exports=function(e,t){t=t||{};var r=typeof e;if(r==="string"&&e.length>0)return Fe(e);if(r==="number"&&isFinite(e))return t.long?He(e):We(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function Fe(e){if(e=String(e),!(e.length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!!t){var r=parseFloat(t[1]),o=(t[2]||"ms").toLowerCase();switch(o){case"years":case"year":case"yrs":case"yr":case"y":return r*qe;case"weeks":case"week":case"w":return r*$e;case"days":case"day":case"d":return r*_;case"hours":case"hour":case"hrs":case"hr":case"h":return r*T;case"minutes":case"minute":case"mins":case"min":case"m":return r*C;case"seconds":case"second":case"secs":case"sec":case"s":return r*O;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}function We(e){var t=Math.abs(e);return t>=_?Math.round(e/_)+"d":t>=T?Math.round(e/T)+"h":t>=C?Math.round(e/C)+"m":t>=O?Math.round(e/O)+"s":e+"ms"}function He(e){var t=Math.abs(e);return t>=_?J(e,t,_,"day"):t>=T?J(e,t,T,"hour"):t>=C?J(e,t,C,"minute"):t>=O?J(e,t,O,"second"):e+" ms"}function J(e,t,r,o){var n=t>=r*1.5;return Math.round(e/r)+" "+o+(n?"s":"")}});var Se=new RegExp(/^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/),_e=new RegExp(/^[0-9A-Za-z\u0080-\uFFFF\/\-\p{Emoji}]*$/u),Ie=new RegExp(/^[a-zA-Z0-9\-]+$/);var Le=e=>{if((void 0)(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 G=({name:e="Business",monthly:t=59,yearly:r=49,links:o=5e3,clicks:n=15e4,domains:s=40,tags:a=150,users:l=15,ids:u=[]})=>({name:e,tagline:"For larger teams with increased usage",link:"https://dub.co/help/article/business-plan",price:{monthly:t,yearly:r,ids:u},limits:{links:o,clicks:n,domains:s,tags:a,users:l,ai:1e3},colors:{bg:"bg-sky-900",text:"text-sky-900"},cta:{text:"Get started with Business",shortText:"Get started",href:"https://app.dub.co/register",color:"bg-sky-900 border-sky-900 hover:text-sky-900"},featureTitle:"Everything in Pro, plus:",features:[{text:`${(void 0)(o,{full:!0})} new links/mo`},{text:`${(void 0)(n)} tracked clicks/mo`},{text:"2-year analytics retention"},{text:`${s} custom domains`},{text:`${l} users`},{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:`${(void 0)(a,{full:!0})} tags`,footnote:{title:"Organize your links with tags.",cta:"Learn more.",href:"https://dub.co/help/article/how-to-use-tags"}},{text:"Elevated support",footnote:"Email and chat support."},{text:"Custom branding",footnote:{title:"Set custom QR code logos, password-protected links logos, and more.",cta:"Learn more.",href:"https://dub.co/help/article/custom-qr-codes"}}]}),L=[{name:"Free",tagline:"For hobby & side projects",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,domains:3,tags:5,users:1,ai:10},colors:{bg:"bg-black",text:"text-black"},cta:{text:"Start for free",href:"https://app.dub.co/register",color:"bg-black border-black hover:text-black"},featureTitle:"What's included:",features:[{text:"25 new links/mo"},{text:"1K tracked clicks/mo"},{text:"30-day analytics retention"},{text:"3 custom domains"},{text:"1 user"},{text:"10 AI credits/mo"},{text:"Community support",footnote:"Help center + GitHub discussions."},{text:"API Access",footnote:{title:"Programatically manage your links using our REST API.",cta:"Learn more.",href:"https://dub.co/docs/api-reference/introduction"}}]},{name:"Pro",tagline:"For startups & small businesses",link:"https://dub.co/help/article/pro-plan",price:{monthly:24,yearly:19,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ","price_1OTcQBAlJJEpqkPViGtGEsbb","price_1OYJeBAlJJEpqkPVLjTsjX0E","price_1OTcQBAlJJEpqkPVYlCMqdLL","price_1OYJeBAlJJEpqkPVnPGEZeb0"]},limits:{links:1e3,clicks:5e4,domains:10,tags:25,users:5,ai:1e3},colors:{bg:"bg-blue-500",text:"text-blue-500"},cta:{text:"Get started with Pro",shortText:"Get started",href:"https://app.dub.co/register",color:"bg-blue-500 border-blue-500 hover:text-blue-500"},featureTitle:"Everything in Free, plus:",features:[{text:"1,000 new links/mo"},{text:"50K tracked clicks/mo"},{text:"1-year analytics retention"},{text:"10 custom domains"},{text:"5 users"},{text:"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:"Basic support",footnote:"Basic email support."},{text:"Root domain redirect",footnote:{title:"Redirect vistors that land on the root of your domain (e.g. yourdomain.com) to a page of your choice.",cta:"Learn more.",href:"https://dub.co/help/article/how-to-redirect-root-domain"}},{text:"Advanced link features",footnote:"Custom social media cards, password-protected links, link expiration, link cloaking, device targeting, geo targeting etc."}]},G({name:"Business",monthly:59,yearly:49,links:5e3,clicks:15e4,domains:40,tags:150,users:15,ids:["price_1LodLoAlJJEpqkPV9rD0rlNL","price_1LodLoAlJJEpqkPVJdwv5zrG","price_1OZgmnAlJJEpqkPVOj4kV64R","price_1OzNlmAlJJEpqkPV7s9HXNAC","price_1OzNmXAlJJEpqkPVYO89lTdx","price_1OzOFIAlJJEpqkPVJxzc9irl","price_1OzOXMAlJJEpqkPV9ERrjjbw"]}),G({name:"Business Plus",monthly:119,yearly:99,links:15e3,clicks:4e5,domains:100,tags:300,users:40,ids:["price_1OnWu0AlJJEpqkPVWk4144ZG","price_1OnWu0AlJJEpqkPVkDWVriAB","price_1OnaK3AlJJEpqkPVaCfCPdHi","price_1OzObrAlJJEpqkPVh6D9HWGO"]}),G({name:"Business Extra",monthly:249,yearly:199,links:4e4,clicks:1e6,domains:250,tags:500,users:100,ids:["price_1OnWvCAlJJEpqkPVLzLHx5QD","price_1OnWvCAlJJEpqkPVHhCCvIOq","price_1OnaKJAlJJEpqkPVeJSvPfJb","price_1OzOg1AlJJEpqkPVPlsrxoWm"]}),G({name:"Business Max",monthly:499,yearly:399,links:1e5,clicks:25e5,domains:500,tags:1e3,users:250,ids:["price_1OnWwLAlJJEpqkPVXtJyPqLk","price_1OnWwLAlJJEpqkPV4eMbOkNh","price_1OnaKOAlJJEpqkPVV6gkZPgt","price_1OzOh5AlJJEpqkPVtCSX7dlE"]}),{name:"Enterprise",tagline:"Custom tailored plans for large enterprises. Whether you're running a SMS campaign with millions of short links or a large marketing campaign with billions of clicks, we've got you covered.",link:"https://dub.co/enterprise",price:{monthly:null,yearly:null},limits:{links:null,clicks:null,domains:null},colors:{bg:"bg-violet-600",text:"text-violet-600"},cta:{text:"Contact us",href:"/enterprise",color:"bg-violet-600 border-violet-600 hover:text-violet-600"},featureTitle:"Everything in Business, plus:",features:[{text:"Custom usage limits"},{text:"Volume discounts"},{text:"SSO/SAML"},{text:"Role-based access controls"},{text:"Custom contract & SLA"},{text:"Whiteglove onboarding"},{text:"Dedicated success manager"},{text:"Priority support"},{text:"Dedicated Slack channel"}]}],Oe=L.find(e=>e.name==="Free"),Ce=L.find(e=>e.name==="Pro"),Te=L.find(e=>e.name==="Business"),Ne=L.find(e=>e.name==="Enterprise");var ze=L.filter(e=>e.name!=="Free"&&e.name!=="Enterprise");var Me=process.env.NEXT_PUBLIC_APP_NAME||"Dub.co",Y=process.env.NEXT_PUBLIC_APP_SHORT_DOMAIN||"dub.sh",Re=`https://${process.env.NEXT_PUBLIC_APP_DOMAIN}`,De=new Set([`app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"localhost:8888","localhost"]),Ue=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",Be=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NGROK_URL||"http://localhost:8888",Ve=new Set([`api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`api-staging.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`api.${Y}`,"api.localhost:8888"]),Ge=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",je=new Set([`admin.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"admin.localhost:8888"]);var S="cl7pj5kq4006835rbjlt2ofka";var ce=[{id:"clce1z7ch00j0rbstbjufva4j",slug:Y,verified:!0,primary:!0,archived:!1,publicStats:!1,target:`https://${process.env.NEXT_PUBLIC_APP_DOMAIN}`,type:"redirect",placeholder:"https://dub.co/help/article/what-is-dub",clicks:0,allowedHostnames:[],projectId:S},...process.env.NEXT_PUBLIC_IS_DUB?[{id:"clce1z7cs00y8rbstk4xtnj0k",slug:"chatg.pt",verified:!0,primary:!1,archived:!1,publicStats:!1,target:"https://dub.co/tools/chatgpt-link-shortener",type:"redirect",placeholder:"https://chat.openai.com/g/g-UGjKKONEe-domainsgpt",clicks:0,allowedHostnames:["chat.openai.com"],projectId:S},{id:"cloxw8y2u0003js08a7mqg1j8",slug:"spti.fi",verified:!0,primary:!1,archived:!1,publicStats:!1,target:"https://dub.co/tools/spotify-link-shortener",type:"redirect",placeholder:"https://open.spotify.com/album/1SCyi9a5pOasikidToUY5y",clicks:0,allowedHostnames:["open.spotify.com"],projectId:S},{id:"cltgtd6s5000341itdszz20u2",slug:"git.new",verified:!0,primary:!1,archived:!1,publicStats:!1,target:"https://dub.co/tools/github-link-shortener",type:"redirect",placeholder:"https://github.com/dubinc/dub",clicks:0,allowedHostnames:["github.com","gist.github.com"],projectId:S},{id:"cloxw8qtk000bjt08n9b812vs",slug:"amzn.id",verified:!0,primary:!1,archived:!1,publicStats:!1,target:"https://dub.co/tools/amazon-link-shortener",type:"redirect",placeholder:"https://www.amazon.com/dp/B0BW4SWNC8",clicks:0,allowedHostnames:["amazon.com","amazon.co.uk","amazon.ca","amazon.es"],projectId:S},{id:"clugy7euh000a11h6ignmj42o",slug:"loooooooo.ng",verified:!0,primary:!1,archived:!0,publicStats:!0,target:"https://dub.co/tools/url-lengthener",type:"redirect",placeholder:"https://d.to/long",clicks:0,projectId:S}]:[]],Je=ce.map(e=>e.slug);var pe=Ee(ue(),1),Ke=(e,{withAgo:t}={})=>{if(!e)return"Never";let r=Date.now()-new Date(e).getTime();return r<1e3?"Just now":r>828e5?new Date(e).toLocaleDateString("en-US",{month:"short",day:"numeric",year:new Date(e).getFullYear()!==new Date().getFullYear()?"numeric":void 0}):`${(0,pe.default)(r)}${t?" ago":""}`};async function Ye(e,t){let r=await fetch(e,t);if(!r.ok){let o=await r.text(),n=new Error(o);throw n.status=r.status,n}return r.json()}var Xe="https://www.google.com/s2/favicons?sz=64&domain_url=";var Ze=60*60*24*14;function me(e){var t,r,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(r=me(e[t]))&&(o&&(o+=" "),o+=r)}else for(r in e)e[r]&&(o&&(o+=" "),o+=r);return o}function fe(){for(var e,t,r=0,o="",n=arguments.length;r<n;r++)(e=arguments[r])&&(t=me(e))&&(o&&(o+=" "),o+=t);return o}var Z="-";function Qe(e){let t=tt(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;function n(a){let l=a.split(Z);return l[0]===""&&l.length!==1&&l.shift(),be(l,t)||et(a)}function s(a,l){let u=r[a]||[];return l&&o[a]?[...u,...o[a]]:u}return{getClassGroupId:n,getConflictingClassGroupIds:s}}function be(e,t){var a;if(e.length===0)return t.classGroupId;let r=e[0],o=t.nextPart.get(r),n=o?be(e.slice(1),o):void 0;if(n)return n;if(t.validators.length===0)return;let s=e.join(Z);return(a=t.validators.find(({validator:l})=>l(s)))==null?void 0:a.classGroupId}var he=/^\[(.+)\]$/;function et(e){if(he.test(e)){let t=he.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}}function tt(e){let{theme:t,prefix:r}=e,o={nextPart:new Map,validators:[]};return ot(Object.entries(e.classGroups),r).forEach(([s,a])=>{X(a,o,s,t)}),o}function X(e,t,r,o){e.forEach(n=>{if(typeof n=="string"){let s=n===""?t:ge(t,n);s.classGroupId=r;return}if(typeof n=="function"){if(rt(n)){X(n(o),t,r,o);return}t.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([s,a])=>{X(a,ge(t,s),r,o)})})}function ge(e,t){let r=e;return t.split(Z).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r}function rt(e){return e.isThemeGetter}function ot(e,t){return t?e.map(([r,o])=>{let n=o.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([a,l])=>[t+a,l])):s);return[r,n]}):e}function st(e){if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,o=new Map;function n(s,a){r.set(s,a),t++,t>e&&(t=0,o=r,r=new Map)}return{get(s){let a=r.get(s);if(a!==void 0)return a;if((a=o.get(s))!==void 0)return n(s,a),a},set(s,a){r.has(s)?r.set(s,a):n(s,a)}}}var ye="!";function at(e){let t=e.separator,r=t.length===1,o=t[0],n=t.length;return function(a){let l=[],u=0,m=0,p;for(let f=0;f<a.length;f++){let g=a[f];if(u===0){if(g===o&&(r||a.slice(f,f+n)===t)){l.push(a.slice(m,f)),m=f+n;continue}if(g==="/"){p=f;continue}}g==="["?u++:g==="]"&&u--}let h=l.length===0?a:a.substring(m),b=h.startsWith(ye),w=b?h.substring(1):h,P=p&&p>m?p-m:void 0;return{modifiers:l,hasImportantModifier:b,baseClassName:w,maybePostfixModifierPosition:P}}}function nt(e){if(e.length<=1)return e;let t=[],r=[];return e.forEach(o=>{o[0]==="["?(t.push(...r.sort(),o),r=[]):r.push(o)}),t.push(...r.sort()),t}function it(e){return{cache:st(e.cacheSize),splitModifiers:at(e),...Qe(e)}}var lt=/\s+/;function ct(e,t){let{splitModifiers:r,getClassGroupId:o,getConflictingClassGroupIds:n}=t,s=new Set;return e.trim().split(lt).map(a=>{let{modifiers:l,hasImportantModifier:u,baseClassName:m,maybePostfixModifierPosition:p}=r(a),h=o(p?m.substring(0,p):m),b=Boolean(p);if(!h){if(!p)return{isTailwindClass:!1,originalClassName:a};if(h=o(m),!h)return{isTailwindClass:!1,originalClassName:a};b=!1}let w=nt(l).join(":"),P=u?w+ye:w;return{isTailwindClass:!0,modifierId:P,classGroupId:h,originalClassName:a,hasPostfixModifier:b}}).reverse().filter(a=>{if(!a.isTailwindClass)return!0;let{modifierId:l,classGroupId:u,hasPostfixModifier:m}=a,p=l+u;return s.has(p)?!1:(s.add(p),n(u,m).forEach(h=>s.add(l+h)),!0)}).reverse().map(a=>a.originalClassName).join(" ")}function dt(){let e=0,t,r,o="";for(;e<arguments.length;)(t=arguments[e++])&&(r=xe(t))&&(o&&(o+=" "),o+=r);return o}function xe(e){if(typeof e=="string")return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=xe(e[o]))&&(r&&(r+=" "),r+=t);return r}function ut(e,...t){let r,o,n,s=a;function a(u){let m=t.reduce((p,h)=>h(p),e());return r=it(m),o=r.cache.get,n=r.cache.set,s=l,l(u)}function l(u){let m=o(u);if(m)return m;let p=ct(u,r);return n(u,p),p}return function(){return s(dt.apply(null,arguments))}}function c(e){let t=r=>r[e]||[];return t.isThemeGetter=!0,t}var we=/^\[(?:([a-z-]+):)?(.+)\]$/i,pt=/^\d+\/\d+$/,mt=new Set(["px","full","screen"]),ft=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ht=/\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$/,gt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,bt=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,yt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function x(e){return I(e)||mt.has(e)||pt.test(e)}function A(e){return N(e,"length",St)}function I(e){return Boolean(e)&&!Number.isNaN(Number(e))}function $(e){return N(e,"number",I)}function R(e){return Boolean(e)&&Number.isInteger(Number(e))}function xt(e){return e.endsWith("%")&&I(e.slice(0,-1))}function i(e){return we.test(e)}function k(e){return ft.test(e)}var wt=new Set(["length","size","percentage"]);function vt(e){return N(e,wt,ve)}function At(e){return N(e,"position",ve)}var kt=new Set(["image","url"]);function Et(e){return N(e,kt,It)}function Pt(e){return N(e,"",_t)}function D(){return!0}function N(e,t,r){let o=we.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):r(o[2]):!1}function St(e){return ht.test(e)&&!gt.test(e)}function ve(){return!1}function _t(e){return bt.test(e)}function It(e){return yt.test(e)}function Lt(){let e=c("colors"),t=c("spacing"),r=c("blur"),o=c("brightness"),n=c("borderColor"),s=c("borderRadius"),a=c("borderSpacing"),l=c("borderWidth"),u=c("contrast"),m=c("grayscale"),p=c("hueRotate"),h=c("invert"),b=c("gap"),w=c("gradientColorStops"),P=c("gradientColorStopPositions"),f=c("inset"),g=c("margin"),v=c("opacity"),y=c("padding"),Q=c("saturate"),q=c("scale"),ee=c("sepia"),te=c("skew"),re=c("space"),oe=c("translate"),F=()=>["auto","contain","none"],W=()=>["auto","hidden","clip","visible","scroll"],H=()=>["auto",i,t],d=()=>[i,t],se=()=>["",x,A],U=()=>["auto",I,i],ae=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],B=()=>["solid","dashed","dotted","double","none"],ne=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"],K=()=>["start","end","center","between","around","evenly","stretch"],z=()=>["","0",i],ie=()=>["auto","avoid","all","avoid-page","page","left","right","column"],M=()=>[I,$],V=()=>[I,i];return{cacheSize:500,separator:":",theme:{colors:[D],spacing:[x,A],blur:["none","",k,i],brightness:M(),borderColor:[e],borderRadius:["none","","full",k,i],borderSpacing:d(),borderWidth:se(),contrast:M(),grayscale:z(),hueRotate:V(),invert:z(),gap:d(),gradientColorStops:[e],gradientColorStopPositions:[xt,A],inset:H(),margin:H(),opacity:M(),padding:d(),saturate:M(),scale:M(),sepia:z(),skew:V(),space:d(),translate:d()},classGroups:{aspect:[{aspect:["auto","square","video",i]}],container:["container"],columns:[{columns:[k]}],"break-after":[{"break-after":ie()}],"break-before":[{"break-before":ie()}],"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:[...ae(),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:[f]}],"inset-x":[{"inset-x":[f]}],"inset-y":[{"inset-y":[f]}],start:[{start:[f]}],end:[{end:[f]}],top:[{top:[f]}],right:[{right:[f]}],bottom:[{bottom:[f]}],left:[{left:[f]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",R,i]}],basis:[{basis:H()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",i]}],grow:[{grow:z()}],shrink:[{shrink:z()}],order:[{order:["first","last","none",R,i]}],"grid-cols":[{"grid-cols":[D]}],"col-start-end":[{col:["auto",{span:["full",R,i]},i]}],"col-start":[{"col-start":U()}],"col-end":[{"col-end":U()}],"grid-rows":[{"grid-rows":[D]}],"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:[y]}],px:[{px:[y]}],py:[{py:[y]}],ps:[{ps:[y]}],pe:[{pe:[y]}],pt:[{pt:[y]}],pr:[{pr:[y]}],pb:[{pb:[y]}],pl:[{pl:[y]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[re]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[re]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",i,t]}],"min-w":[{"min-w":[i,t,"min","max","fit"]}],"max-w":[{"max-w":[i,t,"none","full","min","max","fit","prose",{screen:[k]},k]}],h:[{h:[i,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[i,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[i,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[i,t,"auto","min","max","fit"]}],"font-size":[{text:["base",k,A]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",$]}],"font-family":[{font:[D]}],"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",I,$]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",x,i]}],"list-image":[{"list-image":["none",i]}],"list-style-type":[{list:["none","disc","decimal",i]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[v]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[v]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...B(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",x,A]}],"underline-offset":[{"underline-offset":["auto",x,i]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:d()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",i]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",i]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[v]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ae(),At]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",vt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Et]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[P]}],"gradient-via-pos":[{via:[P]}],"gradient-to-pos":[{to:[P]}],"gradient-from":[{from:[w]}],"gradient-via":[{via:[w]}],"gradient-to":[{to:[w]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[v]}],"border-style":[{border:[...B(),"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":[v]}],"divide-style":[{divide:B()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...B()]}],"outline-offset":[{"outline-offset":[x,i]}],"outline-w":[{outline:[x,A]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:se()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[v]}],"ring-offset-w":[{"ring-offset":[x,A]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",k,Pt]}],"shadow-color":[{shadow:[D]}],opacity:[{opacity:[v]}],"mix-blend":[{"mix-blend":ne()}],"bg-blend":[{"bg-blend":ne()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",k,i]}],grayscale:[{grayscale:[m]}],"hue-rotate":[{"hue-rotate":[p]}],invert:[{invert:[h]}],saturate:[{saturate:[Q]}],sepia:[{sepia:[ee]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[u]}],"backdrop-grayscale":[{"backdrop-grayscale":[m]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[p]}],"backdrop-invert":[{"backdrop-invert":[h]}],"backdrop-opacity":[{"backdrop-opacity":[v]}],"backdrop-saturate":[{"backdrop-saturate":[Q]}],"backdrop-sepia":[{"backdrop-sepia":[ee]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",i]}],duration:[{duration:V()}],ease:[{ease:["linear","in","out","in-out",i]}],delay:[{delay:V()}],animate:[{animate:["none","spin","ping","pulse","bounce",i]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[q]}],"scale-x":[{"scale-x":[q]}],"scale-y":[{"scale-y":[q]}],rotate:[{rotate:[R,i]}],"translate-x":[{"translate-x":[oe]}],"translate-y":[{"translate-y":[oe]}],"skew-x":[{"skew-x":[te]}],"skew-y":[{"skew-y":[te]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",i]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",i]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":d()}],"scroll-mx":[{"scroll-mx":d()}],"scroll-my":[{"scroll-my":d()}],"scroll-ms":[{"scroll-ms":d()}],"scroll-me":[{"scroll-me":d()}],"scroll-mt":[{"scroll-mt":d()}],"scroll-mr":[{"scroll-mr":d()}],"scroll-mb":[{"scroll-mb":d()}],"scroll-ml":[{"scroll-ml":d()}],"scroll-p":[{"scroll-p":d()}],"scroll-px":[{"scroll-px":d()}],"scroll-py":[{"scroll-py":d()}],"scroll-ps":[{"scroll-ps":d()}],"scroll-pe":[{"scroll-pe":d()}],"scroll-pt":[{"scroll-pt":d()}],"scroll-pr":[{"scroll-pr":d()}],"scroll-pb":[{"scroll-pb":d()}],"scroll-pl":[{"scroll-pl":d()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",i]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[x,A,$]}],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 Ae=ut(Lt);function Ot(...e){return Ae(fe(e))}var Ct=["stats","changelog","terms","privacy","abuse"],Tt=[{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:"Amazon Link Shortener",slug:"amazon-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"}],Nt=[{name:"Bitly",slug:"bitly"},{name:"Rebrandly",slug:"rebrandly"},{name:"Short.io",slug:"short"}];export{Le as a,Ue as b,Ke as c,Ye as d,Xe as e,Ot as f,Ct as g,Tt as h,Nt as i,zt as j,E as k};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as v}from"./chunk-A75RGEGE.mjs";import{a as N}from"./chunk-BC73ESZH.mjs";import{a as y}from"./chunk-3DJZFJD4.mjs";import{a as x}from"./chunk-M3CPGPIQ.mjs";import{a as f}from"./chunk-3XAGCYYM.mjs";import{a as h}from"./chunk-T4YFARK5.mjs";import{a as b}from"./chunk-QKBKH3IM.mjs";import{e as u,g as l,i as g,j as p}from"./chunk-YCWEB75F.mjs";import m from"@vercel/analytics";import C from"next/image";import s from"next/link";import{useParams as T}from"next/navigation";import{useEffect as P,useState as k}from"react";import R from"swr";import{jsx as e,jsxs as t}from"react/jsx-runtime";var n={features:v.map(({shortTitle:a,slug:o})=>({name:a,href:`/${o}`})),product:[{name:"Blog",href:"/blog"},{name:"Changelog",href:"/changelog"},{name:"Customers",href:"/customers"},{name:"Pricing",href:"/pricing"},{name:"Enterprise",href:"/enterprise"},{name:"Help Center",href:"/help"}],compare:p.map(({name:a,slug:o})=>({name:a,href:`/compare/${o}`})),legal:[{name:"Privacy",href:"/privacy"},{name:"Terms",href:"/terms"},{name:"Abuse",href:"/abuse"}],tools:g.map(({name:a,slug:o})=>({name:a,href:`/tools/${o}`}))};function D(){let{domain:a="dub.co"}=T(),o=r=>a==="dub.co"?r:`https://dub.co${r}`;return e("footer",{children:t(N,{className:"relative z-10 overflow-hidden border border-b-0 border-gray-200 bg-white/50 pb-60 pt-16 backdrop-blur-lg md:rounded-t-2xl",children:[t("div",{className:"xl:grid xl:grid-cols-3 xl:gap-8",children:[t("div",{className:"space-y-6",children:[t(s,{href:o("/"),...a!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:a,medium:"footer item (logo)"})}},children:[t("span",{className:"sr-only",children:[process.env.NEXT_PUBLIC_APP_NAME," Logo"]}),e(f,{className:"h-7 text-gray-800"})]}),e("p",{className:"max-w-xs text-sm text-gray-500",children:"Giving modern marketing teams superpowers with short links that stand out."}),t("p",{className:"text-sm leading-5 text-gray-400",children:["\xA9 ",new Date().getFullYear()," Dub Technologies, Inc."]}),t("div",{className:"flex items-center space-x-3",children:[t("a",{href:"https://twitter.com/dubdotco",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"Twitter"}),e(y,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-black"})]}),t("a",{href:"https://github.com/dubinc/dub",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"Github"}),e(h,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-black"})]}),t("a",{href:"https://www.linkedin.com/company/dubinc",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"LinkedIn"}),e(b,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-[#0077b5]"})]}),t("a",{href:"https://www.youtube.com/@dubdotco",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"YouTube"}),e(x,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-[#ff0000]"})]})]}),e($,{})]}),t("div",{className:"mt-16 grid grid-cols-2 gap-4 xl:col-span-2 xl:mt-0",children:[t("div",{className:"md:grid md:grid-cols-2",children:[t("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Features"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:n.features.map(r=>e("li",{children:e(s,{href:o(r.href),...a!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:a,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:r.name})},r.name))})]}),t("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Product"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:n.product.map(r=>e("li",{children:e(s,{href:o(r.href),...a!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:a,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:r.name})},r.name))})]})]}),t("div",{className:"md:grid md:grid-cols-2",children:[t("div",{className:"flex flex-col space-y-8",children:[t("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Compare"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:n.compare.map(r=>e("li",{children:e(s,{href:o(r.href),...a!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:a,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:r.name})},r.name))})]}),t("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Legal"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:n.legal.map(r=>e("li",{children:e(s,{href:o(r.href),...a!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:a,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:r.name})},r.name))})]})]}),t("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Tools"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:n.tools.map(r=>e("li",{children:e(s,{href:o(r.href),...a!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:a,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:r.name})},r.name))})]})]})]})]}),e(C,{src:"https://assets.dub.co/footer.png",alt:"Dub Technologies, Inc. Logo",width:1959,height:625,className:"pointer-events-none absolute inset-x-0 bottom-0 z-0"})]})})}function $(){let{data:a}=R("https://status.dub.co/api/v1/summary",u),[o,r]=k("bg-gray-200"),[i,c]=k("Loading status...");return P(()=>{if(!a)return;let{ongoing_incidents:d}=a;if(d.length>0){let{current_worst_impact:w,name:L}=d[0],_=w==="degraded_performance"?"bg-yellow-500":"bg-red-500";c(L),r(_)}else c("All systems operational"),r("bg-green-500")},[a]),t(s,{href:"https://status.dub.co",target:"_blank",className:"group flex max-w-fit items-center space-x-2 rounded-md border border-gray-200 bg-white px-3 py-2 transition-colors hover:bg-gray-100",children:[t("div",{className:"relative h-3 w-3",children:[e("div",{className:l("absolute inset-0 m-auto h-3 w-3 animate-ping items-center justify-center rounded-full group-hover:animate-none",o,i==="Loading status..."&&"animate-none")}),e("div",{className:l("absolute inset-0 z-10 m-auto h-3 w-3 rounded-full",o)})]}),e("p",{className:"text-sm font-medium text-gray-800",children:i})]})}export{D as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as b}from"./chunk-A75RGEGE.mjs";import{a as f}from"./chunk-JXSRE2HN.mjs";import{a as v}from"./chunk-4AJKDN6G.mjs";import{d as c,g as d,h as g,k as p}from"./chunk-HEKS3JVE.mjs";import*as i from"@radix-ui/react-navigation-menu";import l from"@vercel/analytics";import{ChevronDown as P}from"lucide-react";import m from"next/link";import{useParams as L,useSelectedLayoutSegment as C}from"next/navigation";import S from"swr";import{useCallback as w,useEffect as x,useState as M}from"react";function h(t){let[u,n]=M(!1),r=w(()=>{n(window.scrollY>t)},[t]);return x(()=>(window.addEventListener("scroll",r),()=>window.removeEventListener("scroll",r)),[r]),x(()=>{r()},[r]),u}import{Fragment as E,jsx as e,jsxs as o}from"react/jsx-runtime";var R=[{name:"Customers",slug:"customers"},{name:"Pricing",slug:"pricing"},{name:"Enterprise",slug:"enterprise"},{name:"Blog",slug:"blog"},{name:"Changelog",slug:"changelog"}];function G(){let{domain:t="dub.co"}=L(),u=h(80),n=C(),{data:r,isLoading:N}=S(t==="dub.co"&&"/api/auth/session",void 0,{dedupingInterval:6e4});return e("div",{className:d("sticky inset-x-0 top-0 z-30 w-full transition-all",{"border-b border-gray-200 bg-white/75 backdrop-blur-lg":u,"border-b border-gray-200 bg-white":n&&g.includes(n)}),children:e(f,{children:o("div",{className:"flex h-14 items-center justify-between",children:[o("div",{className:"flex items-center space-x-4",children:[e(m,{href:t==="dub.co"?"/":"https://dub.co",...t!=="dub.co"&&{onClick:()=>{l.track("Referred from custom domain",{domain:t,medium:"logo"})}},children:e(v,{})}),o(i.Root,{delayDuration:0,className:"relative hidden lg:block",children:[o(i.List,{className:"flex flex-row space-x-2 p-4",children:[o(i.Item,{children:[o(i.Trigger,{className:"group flex items-center space-x-2 rounded-md px-3 py-2 text-sm font-medium hover:bg-gray-100 focus:outline-none",children:[e("p",{className:d("text-sm font-medium text-gray-500 transition-colors ease-out group-hover:text-black",{"text-black":n==="features"}),children:"Features"}),e(P,{className:"h-4 w-4 transition-all group-data-[state=open]:rotate-180"})]}),e(i.Content,{children:e("div",{className:"grid w-[32rem] grid-cols-2 gap-1 p-3",children:b.map(({slug:s,icon:a,title:k,shortTitle:y})=>o(m,{href:t==="dub.co"?`/${s}`:`https://dub.co/${s}`,...t!=="dub.co"&&{onClick:()=>{l.track("Referred from custom domain",{domain:t,medium:`navbar item (/${s})`})}},className:"rounded-lg p-3 transition-colors hover:bg-gray-100 active:bg-gray-200",children:[o("div",{className:"flex items-center space-x-2",children:[e(a,{className:"h-4 w-4 text-gray-700"}),e("p",{className:"text-sm font-medium text-gray-700",children:y})]}),e("p",{className:"mt-1 line-clamp-1 text-sm text-gray-500",children:k})]},s))})})]}),R.map(({name:s,slug:a})=>e(i.Item,{asChild:!0,children:e(m,{id:`nav-${a}`,href:t==="dub.co"?`/${a}`:`https://dub.co/${a}`,...t!=="dub.co"&&{onClick:()=>{l.track("Referred from custom domain",{domain:t,medium:`navbar item (${a})`})}},className:d("rounded-md px-3 py-2 text-sm font-medium text-gray-500 transition-colors ease-out hover:text-black",{"text-black":n===a}),children:s},a)},a))]}),e(i.Viewport,{className:"data-[state=closed]:animate-scale-out-content data-[state=open]:animate-scale-in-content absolute left-0 top-full flex w-[var(--radix-navigation-menu-viewport-width)] origin-[top_center] justify-start rounded-lg border border-gray-200 bg-white shadow-lg"})]})]}),e("div",{className:"hidden lg:block",children:r&&Object.keys(r).length>0?e(m,{href:c,className:"animate-fade-in rounded-full border border-black bg-black px-4 py-1.5 text-sm text-white transition-all hover:bg-white hover:text-black",children:"Dashboard"}):N?null:o(E,{children:[e(m,{href:`${c}/login`,...t!=="dub.co"&&{onClick:()=>{l.track("Referred from custom domain",{domain:t,medium:"navbar item (login)"})}},className:"animate-fade-in rounded-full px-4 py-1.5 text-sm font-medium text-gray-500 transition-colors ease-out hover:text-black",children:"Log in"}),e(m,{href:`${c}/register`,...t!=="dub.co"&&{onClick:()=>{l.track("Referred from custom domain",{domain:t,medium:"navbar item (signup)"})}},className:"animate-fade-in rounded-full border border-black bg-black px-4 py-1.5 text-sm text-white transition-all hover:bg-white hover:text-black",children:"Sign Up"})]})})]})})})}export{h as a,R as b,G as c};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as m}from"./chunk-ZTAR5Q7A.mjs";import{h as i}from"./chunk-7D4ZS4PH.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{k as n}from"./chunk-JQLVJ6PV.mjs";import{motion as t}from"framer-motion";import{jsx as e}from"react/jsx-runtime";function s({value:i=0,max:r=100,className:o}){return e("div",{className:(void 0)("h-3 w-full overflow-hidden rounded-full bg-gray-200",o),children:e(t.div,{initial:{width:0},animate:{width:i&&r?i/r*100+"%":"0%"},transition:{duration:.5,type:"spring",delay:.2},className:`${i&&r&&i>r?"bg-red-500":"bg-blue-500"} h-full`})})}export{s as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{b as m}from"./chunk-GMLYY3EY.mjs";import{a as p,d as c}from"./chunk-LPIBOG3O.mjs";import*as n from"@radix-ui/react-tooltip";import d from"linkify-react";import{HelpCircle as x}from"lucide-react";import u from"next/link";import{useState as f}from"react";import{jsx as t,jsxs as l}from"react/jsx-runtime";function P({children:e}){return t(n.Provider,{delayDuration:100,children:e})}function s({children:e,content:o,side:r="top"}){let[i,a]=f(!1);return l(n.Root,{open:i,onOpenChange:a,children:[t(n.Trigger,{asChild:!0,onClick:()=>{a(!0)},onBlur:()=>{a(!1)},children:e}),t(n.Portal,{children:t(n.Content,{sideOffset:8,side:r,className:"animate-slide-up-fade z-[99] items-center overflow-hidden rounded-md border border-gray-200 bg-white shadow-md",children:typeof o=="string"?t("span",{className:"block max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:o}):o})})]})}function k({title:e,cta:o,href:r,target:i,onClick:a}){return l("div",{className:"flex max-w-xs flex-col items-center space-y-3 p-4 text-center",children:[t("p",{className:"text-sm text-gray-700",children:e}),o&&(r?t(u,{href:r,...i?{target:i}:{},className:"mt-4 w-full rounded-md border border-black bg-black px-3 py-1.5 text-center text-sm text-white transition-all hover:bg-white hover:text-black",children:o}):a?t("button",{type:"button",className:"mt-4 w-full rounded-md border border-black bg-black px-3 py-1.5 text-center text-sm text-white transition-all hover:bg-white hover:text-black",onClick:a,children:o}):null)]})}function w({title:e,cta:o,href:r}){return l("div",{className:"max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:[e," ",t("a",{href:r,target:"_blank",rel:"noopener noreferrer",onClick:i=>i.stopPropagation(),className:"inline-flex text-gray-500 underline underline-offset-4 hover:text-gray-800",children:o})]})}function C({children:e}){return t("div",{className:"block max-w-md whitespace-pre-wrap px-4 py-2 text-center text-sm text-gray-700",children:t(d,{as:"p",options:{target:"_blank",rel:"noopener noreferrer nofollow",className:"underline underline-offset-4 text-gray-400 hover:text-gray-700"},children:e})})}function R({content:e}){return t(s,{content:e,children:t(x,{className:"h-4 w-4 text-gray-500"})})}function B({value:e,unit:o="total clicks",children:r,lastClicked:i}){return(!e||e<1e3)&&!i?r:t(s,{content:l("div",{className:"block max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:[l("p",{className:"text-sm font-semibold text-gray-700",children:[(void 0)(e||0,{full:!0})," ",o]}),i&&l("p",{className:"mt-1 text-xs text-gray-500",suppressHydrationWarning:!0,children:["Last clicked ",p(i,{withAgo:!0})]})]}),children:r})}function L({children:e,content:o,...r}){return t(s,{content:o,...r,children:t("div",{className:"flex cursor-pointer items-center",children:t(m,{variant:"gray",className:"border-gray-300 transition-all hover:bg-gray-200",children:e})})})}function O({tooltipContent:e,children:o,...r}){return t(s,{content:e,children:t("div",{className:"flex cursor-pointer items-center",children:t("button",{type:"button",...r,children:o})})})}export{P as a,s as b,k as c,w as d,C as e,R as f,B as g,L as h,O as i};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{b as m}from"./chunk-M4C3F3UC.mjs";import{b as p,c}from"./chunk-HH5T5KBM.mjs";import*as n from"@radix-ui/react-tooltip";import d from"linkify-react";import{HelpCircle as x}from"lucide-react";import u from"next/link";import{useState as f}from"react";import{jsx as t,jsxs as l}from"react/jsx-runtime";function P({children:e}){return t(n.Provider,{delayDuration:100,children:e})}function s({children:e,content:o,side:r="top"}){let[i,a]=f(!1);return l(n.Root,{open:i,onOpenChange:a,children:[t(n.Trigger,{asChild:!0,onClick:()=>{a(!0)},onBlur:()=>{a(!1)},children:e}),t(n.Portal,{children:t(n.Content,{sideOffset:8,side:r,className:"animate-slide-up-fade z-[99] items-center overflow-hidden rounded-md border border-gray-200 bg-white shadow-md",children:typeof o=="string"?t("span",{className:"block max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:o}):o})})]})}function k({title:e,cta:o,href:r,target:i,onClick:a}){return l("div",{className:"flex max-w-xs flex-col items-center space-y-3 p-4 text-center",children:[t("p",{className:"text-sm text-gray-700",children:e}),o&&(r?t(u,{href:r,...i?{target:i}:{},className:"mt-4 w-full rounded-md border border-black bg-black px-3 py-1.5 text-center text-sm text-white transition-all hover:bg-white hover:text-black",children:o}):a?t("button",{type:"button",className:"mt-4 w-full rounded-md border border-black bg-black px-3 py-1.5 text-center text-sm text-white transition-all hover:bg-white hover:text-black",onClick:a,children:o}):null)]})}function w({title:e,cta:o,href:r}){return l("div",{className:"max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:[e," ",t("a",{href:r,target:"_blank",rel:"noopener noreferrer",onClick:i=>i.stopPropagation(),className:"inline-flex text-gray-500 underline underline-offset-4 hover:text-gray-800",children:o})]})}function C({children:e}){return t("div",{className:"block max-w-md whitespace-pre-wrap px-4 py-2 text-center text-sm text-gray-700",children:t(d,{as:"p",options:{target:"_blank",rel:"noopener noreferrer nofollow",className:"underline underline-offset-4 text-gray-400 hover:text-gray-700"},children:e})})}function R({content:e}){return t(s,{content:e,children:t(x,{className:"h-4 w-4 text-gray-500"})})}function B({value:e,unit:o="total clicks",children:r,lastClicked:i}){return(!e||e<1e3)&&!i?r:t(s,{content:l("div",{className:"block max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:[l("p",{className:"text-sm font-semibold text-gray-700",children:[(void 0)(e||0,{full:!0})," ",o]}),i&&l("p",{className:"mt-1 text-xs text-gray-500",suppressHydrationWarning:!0,children:["Last clicked ",(void 0)(i,{withAgo:!0})]})]}),children:r})}function L({children:e,content:o,...r}){return t(s,{content:o,...r,children:t("div",{className:"flex cursor-pointer items-center",children:t(m,{variant:"gray",className:"border-gray-300 transition-all hover:bg-gray-200",children:e})})})}function O({tooltipContent:e,children:o,...r}){return t(s,{content:e,children:t("div",{className:"flex cursor-pointer items-center",children:t("button",{type:"button",...r,children:o})})})}export{P as a,s as b,k as c,w as d,C as e,R as f,B as g,L as h,O as i};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as y}from"./chunk-K4MP745I.mjs";import{a as p}from"./chunk-2TGXECZQ.mjs";import{a as s}from"./chunk-NEDASB4A.mjs";import{b as g,c as f,f as b}from"./chunk-C6UNPM2B.mjs";import{Link2 as v}from"lucide-react";import{useRouter as R,useSearchParams as k}from"next/navigation";import{useEffect as E,useMemo as P,useRef as W}from"react";import M from"swr";import{useDebounce as U}from"use-debounce";import{Fragment as h,jsx as e,jsxs as r}from"react/jsx-runtime";function H({defaultUrl:t}){let x=R(),l=k(),i=t||(l==null?void 0:l.get("url"))||"https://github.com/dubinc/dub",[a]=U(g(i),500),d=P(()=>f(a||""),[a]),{data:N,isValidating:w}=M(a&&`/api/metatags?url=${encodeURIComponent(a)}`,b,{revalidateOnFocus:!1}),{title:n,description:u,image:c}=N||{},o=W(null);E(()=>{!t&&o.current&&o.current.select()},[t]);let{isMobile:L}=y();return r(h,{children:[!t&&r("div",{className:"relative flex items-center",children:[e(v,{className:"absolute inset-y-0 left-0 my-2 ml-3 w-5 text-gray-400"}),e("input",{ref:o,name:"url",id:"url",type:"url",autoFocus:!L,className:"block w-full rounded-md border-gray-200 pl-10 text-sm text-gray-900 placeholder-gray-400 shadow-lg focus:border-gray-500 focus:outline-none focus:ring-gray-500",placeholder:"Enter your URL",defaultValue:i,onChange:m=>x.replace(`/tools/metatags${m.target.value.length>0?`?url=${m.target.value}`:""}`),"aria-invalid":"true"})]}),r("div",{className:"relative overflow-hidden rounded-md border border-gray-300 bg-gray-50",children:[w&&e("div",{className:"absolute flex h-[250px] w-full flex-col items-center justify-center space-y-4 border-b border-gray-300 bg-gray-50",children:e(s,{})}),c?e("img",{src:c,alt:"Preview",className:"h-[250px] w-full border-b border-gray-300 object-cover"}):r("div",{className:"flex h-[250px] w-full flex-col items-center justify-center space-y-4 border-b border-gray-300",children:[e(p,{className:"h-8 w-8 text-gray-400"}),e("p",{className:"text-sm text-gray-400",children:"Enter a link to generate a preview."})]}),r("div",{className:"grid gap-1 bg-white p-3 text-left",children:[d?e("p",{className:"text-sm text-[#536471]",children:d}):e("div",{className:"mb-1 h-4 w-24 rounded-md bg-gray-100"}),n?e("h3",{className:"truncate text-sm font-medium text-[#0f1419]",children:n}):e("div",{className:"mb-1 h-4 w-full rounded-md bg-gray-100"}),u?e("p",{className:"line-clamp-2 text-sm text-[#536471]",children:u}):r("div",{className:"grid gap-2",children:[e("div",{className:"h-4 w-full rounded-md bg-gray-100"}),e("div",{className:"h-4 w-48 rounded-md bg-gray-100"})]})]})]})]})}function O({defaultUrl:t}){return r(h,{children:[r("div",{className:"relative flex items-center",children:[e(v,{className:"absolute inset-y-0 left-0 my-2 ml-3 w-5 text-gray-400"}),e("input",{name:"url",id:"url",type:"url",disabled:!0,className:"block w-full rounded-md border-gray-200 pl-10 text-sm text-gray-900 placeholder-gray-400 shadow-lg focus:border-gray-500 focus:outline-none focus:ring-gray-500",placeholder:"Enter your URL",defaultValue:t||"https://github.com/dubinc/dub"})]}),e("div",{className:"relative overflow-hidden rounded-md border border-gray-300 bg-gray-50",children:e("div",{className:"absolute flex h-[250px] w-full flex-col items-center justify-center space-y-4 border-b border-gray-300 bg-gray-50",children:e(s,{})})})]})}export{H as a,O as b};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{h as e}from"./chunk-7ILHLZNV.mjs";import{jsx as t,jsxs as s}from"react/jsx-runtime";function o({className:r}){return s("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{o as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{h as o}from"./chunk-C6UNPM2B.mjs";import*as e from"@radix-ui/react-label";import{cva as m}from"class-variance-authority";import*as t from"react";import{jsx as s}from"react/jsx-runtime";var l=m("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),p=t.forwardRef(({className:a,...i},r)=>s(e.Root,{ref:r,className:o(l(),a),...i}));p.displayName=e.Root.displayName;export{p as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{g as r}from"./chunk-HEKS3JVE.mjs";import*as e from"@radix-ui/react-accordion";import{ChevronDown as m}from"lucide-react";import*as c from"react";import{jsx as n,jsxs as l}from"react/jsx-runtime";var v=e.Root,d=c.forwardRef(({className:o,...t},i)=>n(e.Item,{ref:i,className:r("border-b border-b-slate-200 py-3 last:border-none",o),...t}));d.displayName="AccordionItem";var s=c.forwardRef(({className:o,children:t,...i},a)=>n(e.Header,{className:"flex",children:l(e.Trigger,{ref:a,className:r("flex flex-1 items-center justify-between font-medium transition-all sm:text-lg [&[data-state=open]>svg]:rotate-180",o),...i,children:[t,n(m,{className:"h-5 w-5 flex-none transition-transform duration-300"})]})}));s.displayName=e.Trigger.displayName;var f=c.forwardRef(({className:o,children:t,...i},a)=>n(e.Content,{ref:a,className:r("data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm text-gray-500 transition-all sm:text-base",o),...i,children:t}));f.displayName=e.Content.displayName;export{v as a,d as b,s as c,f as d};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{g as t}from"./chunk-HEKS3JVE.mjs";import{jsx as r}from"react/jsx-runtime";function s({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{s as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{g as o}from"./chunk-HEKS3JVE.mjs";import*as e from"@radix-ui/react-label";import{cva as m}from"class-variance-authority";import*as t from"react";import{jsx as s}from"react/jsx-runtime";var l=m("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),p=t.forwardRef(({className:a,...i},r)=>s(e.Root,{ref:r,className:o(l(),a),...i}));p.displayName=e.Root.displayName;export{p as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{d as u}from"./chunk-FUX3EOWT.mjs";import{a as p}from"./chunk-A75RGEGE.mjs";import{d as t,f as d,h as n}from"./chunk-C6UNPM2B.mjs";import{ChevronDown as N,Menu as v,X as w}from"lucide-react";import i from"next/link";import{useParams as x}from"next/navigation";import{useEffect as k,useState as b}from"react";import L from"swr";import{Fragment as h,jsx as e,jsxs as s}from"react/jsx-runtime";function D(){let{domain:r="dub.co"}=x(),[a,c]=b(!1),[m,y]=b(!1);k(()=>{a?document.body.style.overflow="hidden":document.body.style.overflow="auto"},[a]);let{data:f}=L(r==="dub.co"&&"/api/auth/session",d,{dedupingInterval:6e4});return s(h,{children:[e("button",{onClick:()=>c(!a),className:n("fixed right-3 top-3 z-40 rounded-full p-2 transition-colors duration-200 hover:bg-gray-200 focus:outline-none active:bg-gray-300 lg:hidden",a&&"hover:bg-gray-100 active:bg-gray-200"),children:a?e(w,{className:"h-5 w-5 text-gray-600"}):e(v,{className:"h-5 w-5 text-gray-600"})}),e("nav",{className:n("fixed inset-0 z-20 hidden w-full bg-white px-5 py-16 lg:hidden",a&&"block"),children:s("ul",{className:"grid divide-y divide-gray-200",children:[s("li",{className:"py-3",children:[s("button",{className:"flex w-full justify-between",onClick:()=>y(!m),children:[e("p",{className:"font-semibold",children:"Features"}),e(N,{className:n("h-5 w-5 text-gray-500 transition-all",m&&"rotate-180")})]}),m&&e("div",{className:"grid gap-4 overflow-hidden py-4",children:p.map(({slug:l,icon:o,shortTitle:g})=>s(i,{href:r==="dub.co"?`/${l}`:`https://dub.co/${l}`,onClick:()=>c(!1),className:"flex w-full space-x-2",children:[e(o,{className:"h-5 w-5 text-gray-500"}),e("span",{className:"text-sm",children:g})]},l))})]}),u.map(({name:l,slug:o})=>e("li",{className:"py-3",children:e(i,{href:r==="dub.co"?`/${o}`:`https://dub.co/${o}`,onClick:()=>c(!1),className:"flex w-full font-semibold capitalize",children:l})},o)),f&&Object.keys(f).length>0?e("li",{className:"py-3",children:e(i,{href:t,className:"flex w-full font-semibold capitalize",children:"Dashboard"})}):s(h,{children:[e("li",{className:"py-3",children:e(i,{href:`${t}/login`,className:"flex w-full font-semibold capitalize",children:"Log in"})}),e("li",{className:"py-3",children:e(i,{href:`${t}/register`,className:"flex w-full font-semibold capitalize",children:"Sign Up"})})]})]})})]})}export{D as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{d as u}from"./chunk-PYOCKME2.mjs";import{a as p}from"./chunk-A75RGEGE.mjs";import{b as t,d,f as n}from"./chunk-65YXXG5Z.mjs";import{ChevronDown as N,Menu as v,X as w}from"lucide-react";import i from"next/link";import{useParams as x}from"next/navigation";import{useEffect as k,useState as b}from"react";import L from"swr";import{Fragment as h,jsx as e,jsxs as s}from"react/jsx-runtime";function D(){let{domain:r="dub.co"}=x(),[a,c]=b(!1),[m,y]=b(!1);k(()=>{a?document.body.style.overflow="hidden":document.body.style.overflow="auto"},[a]);let{data:f}=L(r==="dub.co"&&"/api/auth/session",d,{dedupingInterval:6e4});return s(h,{children:[e("button",{onClick:()=>c(!a),className:n("fixed right-3 top-3 z-40 rounded-full p-2 transition-colors duration-200 hover:bg-gray-200 focus:outline-none active:bg-gray-300 lg:hidden",a&&"hover:bg-gray-100 active:bg-gray-200"),children:a?e(w,{className:"h-5 w-5 text-gray-600"}):e(v,{className:"h-5 w-5 text-gray-600"})}),e("nav",{className:n("fixed inset-0 z-20 hidden w-full bg-white px-5 py-16 lg:hidden",a&&"block"),children:s("ul",{className:"grid divide-y divide-gray-200",children:[s("li",{className:"py-3",children:[s("button",{className:"flex w-full justify-between",onClick:()=>y(!m),children:[e("p",{className:"font-semibold",children:"Features"}),e(N,{className:n("h-5 w-5 text-gray-500 transition-all",m&&"rotate-180")})]}),m&&e("div",{className:"grid gap-4 overflow-hidden py-4",children:p.map(({slug:l,icon:o,shortTitle:g})=>s(i,{href:r==="dub.co"?`/${l}`:`https://dub.co/${l}`,onClick:()=>c(!1),className:"flex w-full space-x-2",children:[e(o,{className:"h-5 w-5 text-gray-500"}),e("span",{className:"text-sm",children:g})]},l))})]}),u.map(({name:l,slug:o})=>e("li",{className:"py-3",children:e(i,{href:r==="dub.co"?`/${o}`:`https://dub.co/${o}`,onClick:()=>c(!1),className:"flex w-full font-semibold capitalize",children:l})},o)),f&&Object.keys(f).length>0?e("li",{className:"py-3",children:e(i,{href:t,className:"flex w-full font-semibold capitalize",children:"Dashboard"})}):s(h,{children:[e("li",{className:"py-3",children:e(i,{href:`${t}/login`,className:"flex w-full font-semibold capitalize",children:"Log in"})}),e("li",{className:"py-3",children:e(i,{href:`${t}/register`,className:"flex w-full font-semibold capitalize",children:"Sign Up"})})]})]})})]})}export{D as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{h as C}from"./chunk-C6UNPM2B.mjs";import{jsx as e}from"react/jsx-runtime";function o({className:t}){return e("svg",{width:"92",height:"38",viewBox:"0 0 92 38",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:C("h-5 w-auto text-black dark:text-white",t),children:e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22 0H28V23.8666C28.0004 23.911 28.0006 23.9554 28.0006 23.9999C28.0006 24.0444 28.0004 24.0888 28 24.1332V38H22V35.4909C19.7324 37.0724 16.9747 37.9999 14.0003 37.9999C6.26815 37.9999 0 31.7319 0 23.9999C0 16.2679 6.26815 9.9999 14.0003 9.9999C16.9747 9.9999 19.7324 10.9274 22 12.5089V0ZM14 31.9996C18.4183 31.9996 22 28.418 22 23.9998C22 19.5816 18.4183 16 14 16C9.58173 16 6.00001 19.5816 6.00001 23.9998C6.00001 28.418 9.58173 31.9996 14 31.9996ZM64.0001 9.76563e-05H70.0001V12.5096C72.2678 10.9278 75.0257 10.0002 78.0004 10.0002C85.7325 10.0002 92.0007 16.2682 92.0007 24.0002C92.0007 31.7322 85.7325 38.0002 78.0004 38.0002C70.2682 38.0002 64.0001 31.7322 64.0001 24.0002V24.0001V9.76563e-05ZM78.0001 31.9997C82.4183 31.9997 86.0001 28.4181 86.0001 23.9999C86.0001 19.5817 82.4183 16.0001 78.0001 16.0001C73.5818 16.0001 70.0001 19.5817 70.0001 23.9999C70.0001 28.4181 73.5818 31.9997 78.0001 31.9997ZM38 10H32V24C32 25.8385 32.3622 27.659 33.0657 29.3576C33.7693 31.0561 34.8006 32.5995 36.1006 33.8995C37.4007 35.1995 38.944 36.2307 40.6426 36.9343C42.3412 37.6379 44.1618 38 46.0003 38C47.8389 38 49.6594 37.6379 51.358 36.9343C53.0566 36.2307 54.6 35.1995 55.9 33.8995C57.2001 32.5995 58.2314 31.0561 58.9349 29.3576C59.6385 27.659 60.0006 25.8385 60.0006 24H60V10H54V24H54.0001C54.0001 26.1216 53.1572 28.1563 51.657 29.6566C50.1567 31.1568 48.1219 31.9996 46.0001 31.9996C43.8784 31.9996 41.8436 31.1568 40.3433 29.6566C38.843 28.1563 38.0002 26.1216 38.0001 24H38V10Z",fill:"currentColor"})})}export{o as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{b as s}from"./chunk-KJVQXK7J.mjs";import{a as l}from"./chunk-ZL4XWBX7.mjs";import{h as t}from"./chunk-W5KJ5RBG.mjs";import{jsx as o,jsxs as u}from"react/jsx-runtime";function h({text:g,variant:e="primary",className:a,loading:d,icon:i,shortcut:r,disabledTooltip:b,...n}){return b?o(s,{content:b,children:u("div",{className:t("flex h-10 w-full cursor-not-allowed items-center justify-center space-x-2 rounded-md border border-gray-200 bg-gray-100 px-4 text-sm text-gray-400 transition-all focus:outline-none",{"border-transparent bg-transparent":e.endsWith("outline")},a),children:[i,o("p",{className:t(r&&"flex-1 text-left"),children:g}),r&&o("kbd",{className:t("hidden rounded bg-gray-200 px-2 py-0.5 text-xs font-light text-gray-400 md:inline-block",{"bg-gray-100":e.endsWith("outline")}),children:r})]})}):u("button",{type:n.onClick?"button":"submit",className:t("group flex h-10 w-full items-center justify-center space-x-2 rounded-md border px-4 text-sm transition-all",n.disabled||d?"cursor-not-allowed border-gray-200 bg-gray-100 text-gray-400":{"border-black bg-black text-white hover:bg-white hover:text-black":e==="primary","border-gray-200 bg-white text-gray-600 hover:bg-gray-100":e==="secondary","border-transparent text-gray-500 duration-75 hover:bg-gray-100":e==="outline","border-blue-500 bg-blue-500 text-white hover:bg-white hover:text-blue-500":e==="success","border-red-500 bg-red-500 text-white hover:bg-white hover:text-red-500":e==="danger","border-transparent bg-white text-red-500 hover:bg-red-600 hover:text-white":e==="danger-outline"},a),disabled:n.disabled||d,...n,children:[d?o(l,{}):i||null,g&&o("p",{className:t(r&&"flex-1 text-left"),children:g}),r&&o("kbd",{className:t("hidden rounded px-2 py-0.5 text-xs font-light transition-all duration-75 md:inline-block",{"bg-gray-700 text-gray-400 group-hover:bg-gray-100 group-hover:text-gray-500":e==="primary","bg-gray-200 text-gray-400 group-hover:bg-gray-100 group-hover:text-gray-500":e==="secondary","bg-gray-100 text-gray-500 group-hover:bg-gray-200":e==="outline","bg-red-100 text-red-600 group-hover:bg-red-500 group-hover:text-white":e==="danger-outline"}),children:r})]})}export{h as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as m}from"./chunk-CDWU3DZQ.mjs";import{k as i}from"./chunk-GV74USUK.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{h as e}from"./chunk-C6UNPM2B.mjs";import{jsx as t,jsxs as s}from"react/jsx-runtime";function o({className:r}){return s("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{o as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as f}from"./chunk-K4MP745I.mjs";import{h as i}from"./chunk-HUYNOZML.mjs";import*as o from"@radix-ui/react-dialog";import{useRouter as D}from"next/navigation";import{Drawer as a}from"vaul";import{jsx as t,jsxs as n}from"react/jsx-runtime";function x({children:l,className:d,showModal:s,setShowModal:r,onClose:c,desktopOnly:g,preventDefaultClose:u}){let p=D(),m=({dragged:e}={})=>{u&&!e||(c&&c(),r?r(!1):p.back())},{isMobile:b}=f();return b&&!g?n(a.Root,{open:r?s:!0,onOpenChange:e=>{e||m({dragged:!0})},children:[t(a.Overlay,{className:"fixed inset-0 z-40 bg-gray-100 bg-opacity-10 backdrop-blur"}),n(a.Portal,{children:[n(a.Content,{className:i("fixed bottom-0 left-0 right-0 z-50 mt-24 rounded-t-[10px] border-t border-gray-200 bg-white",d),children:[t("div",{className:"sticky top-0 z-20 flex w-full items-center justify-center rounded-t-[10px] bg-inherit",children:t("div",{className:"my-3 h-1 w-12 rounded-full bg-gray-300"})}),l]}),t(a.Overlay,{})]})]}):t(o.Root,{open:r?s:!0,onOpenChange:e=>{e||m()},children:n(o.Portal,{children:[t(o.Overlay,{id:"modal-backdrop",className:"animate-fade-in fixed inset-0 z-40 bg-gray-100 bg-opacity-50 backdrop-blur-md"}),t(o.Content,{onOpenAutoFocus:e=>e.preventDefault(),onCloseAutoFocus:e=>e.preventDefault(),className:i("animate-scale-in fixed inset-0 z-40 m-auto max-h-fit w-full max-w-md overflow-hidden border border-gray-200 bg-white p-0 shadow-xl sm:rounded-2xl",d),children:l})]})})}export{x as a};
@@ -0,0 +1,7 @@
1
+ "use client"
2
+ import{a as P}from"./chunk-TBB6BPZH.mjs";import{a as k}from"./chunk-SALE3TDE.mjs";import{a as N}from"./chunk-A75RGEGE.mjs";import{a as y}from"./chunk-IR4ADHH7.mjs";import{a as C}from"./chunk-MVAWYBZA.mjs";import{d as b,f as x,h as l,i as w}from"./chunk-C6UNPM2B.mjs";import*as m from"@radix-ui/react-popover";import{BoxSelect as G,Home as F,LayoutGrid as z,Type as U}from"lucide-react";import{useCallback as j,useContext as K,useState as Y}from"react";import{toast as S}from"sonner";import*as a from"@radix-ui/react-navigation-menu";import v from"@vercel/analytics";import{ChevronDown as B}from"lucide-react";import u from"next/link";import{useParams as D,useSelectedLayoutSegment as $}from"next/navigation";import{createContext as _}from"react";import A from"swr";import{useCallback as T,useEffect as M,useState as W}from"react";function L(n){let[e,c]=W(!1),i=T(()=>{c(window.scrollY>n)},[n]);return M(()=>(window.addEventListener("scroll",i),()=>window.removeEventListener("scroll",i)),[i]),M(()=>{i()},[i]),e}import{Fragment as Z,jsx as t,jsxs as s}from"react/jsx-runtime";var f=_({theme:"light"}),O=[{name:"Customers",slug:"customers"},{name:"Pricing",slug:"pricing"},{name:"Enterprise",slug:"enterprise"},{name:"Blog",slug:"blog"},{name:"Changelog",slug:"changelog"}];function ce({theme:n="light"}){let{domain:e="dub.co"}=D(),c=L(80),i=$(),{data:g,isLoading:p}=A(e==="dub.co"&&"/api/auth/session",x,{dedupingInterval:6e4});return t(f.Provider,{value:{theme:n},children:s("div",{className:l("sticky inset-x-0 top-0 z-30 w-full transition-all",n==="dark"&&"dark"),children:[t("div",{className:l("-z-1 absolute inset-0 border-transparent transition-all dark:bg-black",{"border-b border-gray-200 bg-white/75 backdrop-blur-lg dark:border-white/10 dark:bg-black/75":c,"border-b border-gray-200 bg-white dark:border-white/10 dark:bg-black":i&&w.includes(i)})}),t(y,{className:"relative",children:s("div",{className:"flex h-14 items-center justify-between",children:[s("div",{className:"flex items-center space-x-12",children:[t(u,{href:e==="dub.co"?"/":"https://dub.co",...e!=="dub.co"&&{onClick:()=>{v.track("Referred from custom domain",{domain:e,medium:"logo"})}},children:t(V,{})}),s(a.Root,{delayDuration:0,className:"relative hidden lg:block",children:[s(a.List,{className:"flex flex-row space-x-2 p-4",children:[s(a.Item,{children:[s(a.Trigger,{className:"group flex items-center space-x-2 rounded-md px-3 py-2 text-sm font-medium hover:bg-gray-100 focus:outline-none dark:hover:bg-white/10",children:[t("p",{className:l("text-sm font-medium text-gray-500 transition-colors ease-out group-hover:text-black dark:text-white dark:group-hover:text-white",{"text-black dark:text-white":i==="features"}),children:"Features"}),t(B,{className:"h-4 w-4 text-black transition-all group-data-[state=open]:rotate-180 dark:text-white"})]}),t(a.Content,{children:t("div",{className:"grid w-[32rem] grid-cols-2 gap-1 p-3",children:N.map(({slug:d,icon:r,title:R,shortTitle:I})=>s(u,{href:e==="dub.co"?`/${d}`:`https://dub.co/${d}`,...e!=="dub.co"&&{onClick:()=>{v.track("Referred from custom domain",{domain:e,medium:`navbar item (/${d})`})}},className:"rounded-lg p-3 transition-colors hover:bg-gray-100 active:bg-gray-200 dark:hover:bg-white/[0.15] dark:active:bg-white/20",children:[s("div",{className:"flex items-center space-x-2",children:[t(r,{className:"h-4 w-4 text-gray-700 dark:text-white/80"}),t("p",{className:"text-sm font-medium text-gray-700 dark:text-white",children:I})]}),t("p",{className:"mt-1 line-clamp-1 text-sm text-gray-500 dark:text-white/60",children:R})]},d))})})]}),O.map(({name:d,slug:r})=>t(a.Item,{asChild:!0,children:t(u,{id:`nav-${r}`,href:e==="dub.co"?`/${r}`:`https://dub.co/${r}`,...e!=="dub.co"&&{onClick:()=>{v.track("Referred from custom domain",{domain:e,medium:`navbar item (${r})`})}},className:l("rounded-md px-3 py-2 text-sm font-medium text-gray-500 transition-colors ease-out hover:text-black dark:text-white dark:hover:text-white/70",{"text-black dark:text-white":i===r}),children:d},r)},r))]}),t(a.Viewport,{className:"data-[state=closed]:animate-scale-out-content data-[state=open]:animate-scale-in-content absolute left-0 top-full flex w-[var(--radix-navigation-menu-viewport-width)] origin-[top_center] justify-start rounded-lg border border-gray-200 bg-white shadow-lg dark:border-white/[0.15] dark:bg-black"})]})]}),t("div",{className:"hidden lg:block",children:g&&Object.keys(g).length>0?t(u,{href:b,className:"animate-fade-in rounded-full border border-black bg-black px-4 py-1.5 text-sm text-white transition-all hover:bg-white hover:text-black dark:border-white dark:bg-white dark:text-black dark:hover:bg-black dark:hover:text-white",children:"Dashboard"}):p?null:s(Z,{children:[t(u,{href:`${b}/login`,...e!=="dub.co"&&{onClick:()=>{v.track("Referred from custom domain",{domain:e,medium:"navbar item (login)"})}},className:"animate-fade-in rounded-full px-4 py-1.5 text-sm font-medium text-gray-500 transition-colors ease-out hover:text-black dark:text-white dark:hover:text-white/70",children:"Log in"}),t(u,{href:`${b}/register`,...e!=="dub.co"&&{onClick:()=>{v.track("Referred from custom domain",{domain:e,medium:"navbar item (signup)"})}},className:"animate-fade-in rounded-full border border-black bg-black px-4 py-1.5 text-sm text-white transition-all hover:bg-white hover:text-black dark:border-white dark:bg-white dark:text-black dark:hover:bg-black dark:hover:text-white",children:"Sign Up"})]})})]})})]})})}import{jsx as o,jsxs as E}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>`,J=`<svg width="177" height="64" viewBox="0 0 177 64" fill="none" xmlns="http://www.w3.org/2000/svg">
5
+ <path fill-rule="evenodd" clip-rule="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="black"/>
6
+ <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"/>
7
+ </svg>`;async function H(n){try{await navigator.clipboard.writeText(n),S.success("Copied to clipboard!")}catch(e){console.error("Failed to copy to clipboard.",e),S.error("Failed to copy to clipboard.")}}function V({variant:n="full",isInApp:e=!0,className:c}){let{theme:i}=K(f),[g,p]=Y(!1),d=j(r=>{r.preventDefault(),p(!0)},[]);return E(m.Root,{open:g,onOpenChange:p,children:[o(m.Anchor,{asChild:!0,children:o("div",{onContextMenu:d,children:n==="full"?o(P,{className:c}):o(k,{className:l("h-8 w-8 transition-all duration-75 active:scale-95",c)})})}),o(m.Portal,{children:o(m.Content,{sideOffset:14,align:"start",className:l("z-50",i==="dark"&&"dark"),onClick:r=>{r.stopPropagation(),p(!1)},children:E("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(h,{text:"Copy Logo as SVG",variant:"outline",onClick:()=>H(q),icon:o(k,{className:"h-4 w-4"})}),o(h,{text:"Copy Wordmark as SVG",variant:"outline",onClick:()=>H(J),icon:o(U,{strokeWidth:2,className:"h-4 w-4"})}),o(h,{text:"Brand Guidelines",variant:"outline",onClick:()=>window.open("https://dub.co/brand","_blank"),icon:o(G,{strokeWidth:2,className:"h-4 w-4"})}),e?o(h,{text:"Home Page",variant:"outline",onClick:()=>window.open("https://dub.co","_blank"),icon:o(F,{strokeWidth:2,className:"h-4 w-4"})}):o(h,{text:"Dashboard",variant:"outline",onClick:()=>window.open("https://app.dub.co","_blank"),icon:o(z,{strokeWidth:2,className:"h-4 w-4"})})]})})})]})}function h({className:n,...e}){return o(C,{className:l("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",n),...e})}export{L as a,V as b,f as c,O as d,ce as e};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{b as c}from"./chunk-RTXJM4GI.mjs";import{h as i}from"./chunk-HUYNOZML.mjs";import*as t from"@radix-ui/react-switch";import{jsx as e}from"react/jsx-runtime";function g({fn:o,trackDimensions:l,thumbDimensions:d,thumbTranslate:r,checked:h=!0,loading:n=!1,disabled:a=!1,disabledTooltip:s}){return s?e(c,{content:s,children:e("div",{className:"radix-state-checked:bg-gray-300 relative inline-flex h-4 w-8 flex-shrink-0 cursor-not-allowed rounded-full border-2 border-transparent bg-gray-200",children:e("div",{className:"h-3 w-3 transform rounded-full bg-white shadow-lg"})})}):e(t.Root,{checked:h,name:"switch",...o&&{onCheckedChange:o},disabled:a,className:i(n?"bg-gray-200":a?"cursor-not-allowed bg-gray-300":"radix-state-checked:bg-blue-500 radix-state-unchecked:bg-gray-200 cursor-pointer focus:outline-none focus-visible:ring focus-visible:ring-blue-500 focus-visible:ring-opacity-75","relative inline-flex h-4 w-8 flex-shrink-0 rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out",l),children:!n&&e(t.Thumb,{className:i(`radix-state-checked:${r}`,"radix-state-unchecked:translate-x-0","pointer-events-none h-3 w-3 translate-x-4 transform rounded-full bg-white shadow-lg ring-0 transition duration-200 ease-in-out",d,r)})})}export{g as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as Ae,b as ke}from"./chunk-AUBFB4SI.mjs";var de=Ae((er,ce)=>{var L=1e3,O=L*60,C=O*60,S=C*24,$e=S*7,Fe=S*365.25;ce.exports=function(e,t){t=t||{};var r=typeof e;if(r==="string"&&e.length>0)return qe(e);if(r==="number"&&isFinite(e))return t.long?He(e):We(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function qe(e){if(e=String(e),!(e.length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!!t){var r=parseFloat(t[1]),o=(t[2]||"ms").toLowerCase();switch(o){case"years":case"year":case"yrs":case"yr":case"y":return r*Fe;case"weeks":case"week":case"w":return r*$e;case"days":case"day":case"d":return r*S;case"hours":case"hour":case"hrs":case"hr":case"h":return r*C;case"minutes":case"minute":case"mins":case"min":case"m":return r*O;case"seconds":case"second":case"secs":case"sec":case"s":return r*L;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}function We(e){var t=Math.abs(e);return t>=S?Math.round(e/S)+"d":t>=C?Math.round(e/C)+"h":t>=O?Math.round(e/O)+"m":t>=L?Math.round(e/L)+"s":e+"ms"}function He(e){var t=Math.abs(e);return t>=S?J(e,t,S,"day"):t>=C?J(e,t,C,"hour"):t>=O?J(e,t,O,"minute"):t>=L?J(e,t,L,"second"):e+" ms"}function J(e,t,r,o){var a=t>=r*1.5;return Math.round(e/r)+" "+o+(a?"s":"")}});function M(e,t={digits:1}){if(!e)return"0";if(t.full)return Intl.NumberFormat("en-US").format(e);let r=[{value:1,symbol:""},{value:1e3,symbol:"K"},{value:1e6,symbol:"M"},{value:1e9,symbol:"G"},{value:1e12,symbol:"T"},{value:1e15,symbol:"P"},{value:1e18,symbol:"E"}],o=/\.0+$|(\.[0-9]*[1-9])0+$/;var a=r.slice().reverse().find(function(s){return e>=s.value});return a?(e/a.value).toFixed(t.digits).replace(o,"$1")+a.symbol:"0"}var V=e=>{try{return new URL(e),!0}catch{return!1}},Ee=e=>{if(V(e))return e;try{if(e.includes(".")&&!e.includes(" "))return new URL(`https://${e}`).toString()}catch{}return""};var Se=new RegExp(/^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/),_e=new RegExp(/^[0-9A-Za-z\u0080-\uFFFF\/\-\p{Emoji}]*$/u),Ie=new RegExp(/^[a-zA-Z0-9\-]+$/);var Le=e=>{if(V(e))return new URL(e).hostname.replace(/^www\./,"");try{if(e.includes(".")&&!e.includes(" "))return new URL(`https://${e}`).hostname.replace(/^www\./,"")}catch{return null}};var j=({name:e="Business",monthly:t=59,yearly:r=49,links:o=5e3,clicks:a=15e4,domains:s=40,tags:n=150,users:l=15,ai:u=1e4,ids:p=[]})=>({name:e,tagline:"For larger teams with increased usage",link:"https://dub.co/help/article/business-plan",price:{monthly:t,yearly:r,ids:p},limits:{links:o,clicks:a,domains:s,tags:n,users:l,ai:u},colors:{bg:"bg-sky-900",text:"text-sky-900"},cta:{text:"Get started with Business",shortText:"Get started",href:"https://app.dub.co/register",color:"bg-sky-900 border-sky-900 hover:text-sky-900"},featureTitle:"Everything in Pro, plus:",features:[{text:`${M(o,{full:!0})} new links/mo`},{text:`${M(a)} tracked clicks/mo`},{text:"2-year analytics retention"},{text:`${s} custom domains`},{text:`${l} users`},{text:"\u221E AI credits"},{text:`${M(n,{full:!0})} tags`,footnote:{title:"Organize your links with tags.",cta:"Learn more.",href:"https://dub.co/help/article/how-to-use-tags"}},{text:"Elevated support",footnote:"Email and chat support."},{text:"Custom branding",footnote:{title:"Set custom QR code logos, password-protected links logos, and more.",cta:"Learn more.",href:"https://dub.co/help/article/custom-qr-codes"}}]}),I=[{name:"Free",tagline:"For hobby & side projects",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,domains:3,tags:5,users:1,ai:10},colors:{bg:"bg-black",text:"text-black"},cta:{text:"Start for free",href:"https://app.dub.co/register",color:"bg-black border-black hover:text-black"},featureTitle:"What's included:",features:[{text:"25 new links/mo"},{text:"1K tracked clicks/mo"},{text:"30-day analytics retention"},{text:"3 custom domains"},{text:"1 user"},{text:"10 AI credits"},{text:"Community support",footnote:"Help center + GitHub discussions."},{text:"API Access",footnote:{title:"Programatically manage your links using our REST API.",cta:"Learn more.",href:"https://dub.co/docs/api-reference/introduction"}}]},{name:"Pro",tagline:"For startups & small businesses",link:"https://dub.co/help/article/pro-plan",price:{monthly:24,yearly:19,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ","price_1OTcQBAlJJEpqkPViGtGEsbb","price_1OYJeBAlJJEpqkPVLjTsjX0E","price_1OTcQBAlJJEpqkPVYlCMqdLL","price_1OYJeBAlJJEpqkPVnPGEZeb0"]},limits:{links:1e3,clicks:5e4,domains:10,tags:25,users:5,ai:1e3},colors:{bg:"bg-blue-500",text:"text-blue-500"},cta:{text:"Get started with Pro",shortText:"Get started",href:"https://app.dub.co/register",color:"bg-blue-500 border-blue-500 hover:text-blue-500"},featureTitle:"Everything in Free, plus:",features:[{text:"1,000 new links/mo"},{text:"50K tracked clicks/mo"},{text:"1-year analytics retention"},{text:"10 custom domains"},{text:"5 users"},{text:"1,000 AI credits"},{text:"Basic support",footnote:"Basic email support."},{text:"Root domain redirect",footnote:{title:"Redirect vistors that land on the root of your domain (e.g. yourdomain.com) to a page of your choice.",cta:"Learn more.",href:"https://dub.co/help/article/how-to-redirect-root-domain"}},{text:"Advanced link features",footnote:"Custom social media cards, password-protected links, link expiration, link cloaking, device targeting, geo targeting etc."}]},j({name:"Business",monthly:59,yearly:49,links:5e3,clicks:15e4,domains:40,tags:150,users:15,ai:1e4,ids:["price_1LodLoAlJJEpqkPV9rD0rlNL","price_1LodLoAlJJEpqkPVJdwv5zrG","price_1OZgmnAlJJEpqkPVOj4kV64R","price_1OzNlmAlJJEpqkPV7s9HXNAC","price_1OzNmXAlJJEpqkPVYO89lTdx","price_1OzOFIAlJJEpqkPVJxzc9irl","price_1OzOXMAlJJEpqkPV9ERrjjbw"]}),j({name:"Business Plus",monthly:119,yearly:99,links:15e3,clicks:4e5,domains:100,tags:300,users:40,ai:1e4,ids:["price_1OnWu0AlJJEpqkPVWk4144ZG","price_1OnWu0AlJJEpqkPVkDWVriAB","price_1OnaK3AlJJEpqkPVaCfCPdHi","price_1OzObrAlJJEpqkPVh6D9HWGO"]}),j({name:"Business Extra",monthly:249,yearly:199,links:4e4,clicks:1e6,domains:250,tags:500,users:100,ai:1e4,ids:["price_1OnWvCAlJJEpqkPVLzLHx5QD","price_1OnWvCAlJJEpqkPVHhCCvIOq","price_1OnaKJAlJJEpqkPVeJSvPfJb","price_1OzOg1AlJJEpqkPVPlsrxoWm"]}),j({name:"Business Max",monthly:499,yearly:399,links:1e5,clicks:25e5,domains:500,tags:1e3,users:250,ai:1e4,ids:["price_1OnWwLAlJJEpqkPVXtJyPqLk","price_1OnWwLAlJJEpqkPV4eMbOkNh","price_1OnaKOAlJJEpqkPVV6gkZPgt","price_1OzOh5AlJJEpqkPVtCSX7dlE"]}),{name:"Enterprise",tagline:"Custom tailored plans for large enterprises. Whether you're running a SMS campaign with millions of short links or a large marketing campaign with billions of clicks, we've got you covered.",link:"https://dub.co/enterprise",price:{monthly:null,yearly:null},limits:{links:null,clicks:null,domains:null},colors:{bg:"bg-violet-600",text:"text-violet-600"},cta:{text:"Contact us",href:"/enterprise",color:"bg-violet-600 border-violet-600 hover:text-violet-600"},featureTitle:"Everything in Business, plus:",features:[{text:"Custom usage limits"},{text:"Volume discounts"},{text:"SSO/SAML"},{text:"Role-based access controls"},{text:"Custom contract & SLA"},{text:"Whiteglove onboarding"},{text:"Dedicated success manager"},{text:"Priority support"},{text:"Dedicated Slack channel"}]}],Oe=I.find(e=>e.name==="Free"),Ce=I.find(e=>e.name==="Pro"),Te=I.find(e=>e.name==="Business"),Ne=I.find(e=>e.name==="Enterprise");var ze=I.filter(e=>e.name!=="Free"&&e.name!=="Enterprise");var Me=process.env.NEXT_PUBLIC_APP_NAME||"Dub.co",Y=process.env.NEXT_PUBLIC_APP_SHORT_DOMAIN||"dub.sh",Re=`https://${process.env.NEXT_PUBLIC_APP_DOMAIN}`,Ue=new Set([`app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"localhost:8888","localhost"]),De=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",Be=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NGROK_URL||"http://localhost:8888",Ge=new Set([`api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`api-staging.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`api.${Y}`,"api.localhost:8888"]),Ve=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",je=new Set([`admin.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"admin.localhost:8888"]);var P="cl7pj5kq4006835rbjlt2ofka";var le=[{id:"clce1z7ch00j0rbstbjufva4j",slug:Y,verified:!0,primary:!0,archived:!1,publicStats:!1,target:`https://${process.env.NEXT_PUBLIC_APP_DOMAIN}`,type:"redirect",placeholder:"https://dub.co/help/article/what-is-dub",clicks:0,allowedHostnames:[],projectId:P},...process.env.NEXT_PUBLIC_IS_DUB?[{id:"clce1z7cs00y8rbstk4xtnj0k",slug:"chatg.pt",verified:!0,primary:!1,archived:!1,publicStats:!1,target:"https://dub.co/tools/chatgpt-link-shortener",type:"redirect",placeholder:"https://chat.openai.com/g/g-UGjKKONEe-domainsgpt",clicks:0,allowedHostnames:["chat.openai.com"],projectId:P},{id:"cloxw8y2u0003js08a7mqg1j8",slug:"spti.fi",verified:!0,primary:!1,archived:!1,publicStats:!1,target:"https://dub.co/tools/spotify-link-shortener",type:"redirect",placeholder:"https://open.spotify.com/album/1SCyi9a5pOasikidToUY5y",clicks:0,allowedHostnames:["open.spotify.com"],projectId:P},{id:"cltgtd6s5000341itdszz20u2",slug:"git.new",verified:!0,primary:!1,archived:!1,publicStats:!1,target:"https://dub.co/tools/github-link-shortener",type:"redirect",placeholder:"https://github.com/dubinc/dub",clicks:0,allowedHostnames:["github.com","gist.github.com"],projectId:P},{id:"cloxw8qtk000bjt08n9b812vs",slug:"amzn.id",verified:!0,primary:!1,archived:!1,publicStats:!1,target:"https://dub.co/tools/amazon-link-shortener",type:"redirect",placeholder:"https://www.amazon.com/dp/B0BW4SWNC8",clicks:0,allowedHostnames:["amazon.com","amazon.co.uk","amazon.ca","amazon.es"],projectId:P},{id:"clugy7euh000a11h6ignmj42o",slug:"loooooooo.ng",verified:!0,primary:!1,archived:!0,publicStats:!0,target:"https://dub.co/tools/url-lengthener",type:"redirect",placeholder:"https://d.to/long",clicks:0,projectId:P}]:[]],Je=le.map(e=>e.slug);var ue=ke(de(),1),Ke=(e,{withAgo:t}={})=>{if(!e)return"Never";let r=Date.now()-new Date(e).getTime();return r<1e3?"Just now":r>828e5?new Date(e).toLocaleDateString("en-US",{month:"short",day:"numeric",year:new Date(e).getFullYear()!==new Date().getFullYear()?"numeric":void 0}):`${(0,ue.default)(r)}${t?" ago":""}`};async function Ye(e,t){let r=await fetch(e,t);if(!r.ok){let o=await r.text(),a=new Error(o);throw a.status=r.status,a}return r.json()}var Xe="https://www.google.com/s2/favicons?sz=64&domain_url=";var Ze=60*60*24*14;function pe(e){var t,r,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(r=pe(e[t]))&&(o&&(o+=" "),o+=r)}else for(r in e)e[r]&&(o&&(o+=" "),o+=r);return o}function me(){for(var e,t,r=0,o="",a=arguments.length;r<a;r++)(e=arguments[r])&&(t=pe(e))&&(o&&(o+=" "),o+=t);return o}var Z="-";function Qe(e){let t=tt(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;function a(n){let l=n.split(Z);return l[0]===""&&l.length!==1&&l.shift(),ge(l,t)||et(n)}function s(n,l){let u=r[n]||[];return l&&o[n]?[...u,...o[n]]:u}return{getClassGroupId:a,getConflictingClassGroupIds:s}}function ge(e,t){var n;if(e.length===0)return t.classGroupId;let r=e[0],o=t.nextPart.get(r),a=o?ge(e.slice(1),o):void 0;if(a)return a;if(t.validators.length===0)return;let s=e.join(Z);return(n=t.validators.find(({validator:l})=>l(s)))==null?void 0:n.classGroupId}var fe=/^\[(.+)\]$/;function et(e){if(fe.test(e)){let t=fe.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}}function tt(e){let{theme:t,prefix:r}=e,o={nextPart:new Map,validators:[]};return ot(Object.entries(e.classGroups),r).forEach(([s,n])=>{X(n,o,s,t)}),o}function X(e,t,r,o){e.forEach(a=>{if(typeof a=="string"){let s=a===""?t:he(t,a);s.classGroupId=r;return}if(typeof a=="function"){if(rt(a)){X(a(o),t,r,o);return}t.validators.push({validator:a,classGroupId:r});return}Object.entries(a).forEach(([s,n])=>{X(n,he(t,s),r,o)})})}function he(e,t){let r=e;return t.split(Z).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r}function rt(e){return e.isThemeGetter}function ot(e,t){return t?e.map(([r,o])=>{let a=o.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([n,l])=>[t+n,l])):s);return[r,a]}):e}function st(e){if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,o=new Map;function a(s,n){r.set(s,n),t++,t>e&&(t=0,o=r,r=new Map)}return{get(s){let n=r.get(s);if(n!==void 0)return n;if((n=o.get(s))!==void 0)return a(s,n),n},set(s,n){r.has(s)?r.set(s,n):a(s,n)}}}var be="!";function at(e){let t=e.separator,r=t.length===1,o=t[0],a=t.length;return function(n){let l=[],u=0,p=0,m;for(let f=0;f<n.length;f++){let g=n[f];if(u===0){if(g===o&&(r||n.slice(f,f+a)===t)){l.push(n.slice(p,f)),p=f+a;continue}if(g==="/"){m=f;continue}}g==="["?u++:g==="]"&&u--}let h=l.length===0?n:n.substring(p),b=h.startsWith(be),v=b?h.substring(1):h,E=m&&m>p?m-p:void 0;return{modifiers:l,hasImportantModifier:b,baseClassName:v,maybePostfixModifierPosition:E}}}function nt(e){if(e.length<=1)return e;let t=[],r=[];return e.forEach(o=>{o[0]==="["?(t.push(...r.sort(),o),r=[]):r.push(o)}),t.push(...r.sort()),t}function it(e){return{cache:st(e.cacheSize),splitModifiers:at(e),...Qe(e)}}var lt=/\s+/;function ct(e,t){let{splitModifiers:r,getClassGroupId:o,getConflictingClassGroupIds:a}=t,s=new Set;return e.trim().split(lt).map(n=>{let{modifiers:l,hasImportantModifier:u,baseClassName:p,maybePostfixModifierPosition:m}=r(n),h=o(m?p.substring(0,m):p),b=Boolean(m);if(!h){if(!m)return{isTailwindClass:!1,originalClassName:n};if(h=o(p),!h)return{isTailwindClass:!1,originalClassName:n};b=!1}let v=nt(l).join(":"),E=u?v+be:v;return{isTailwindClass:!0,modifierId:E,classGroupId:h,originalClassName:n,hasPostfixModifier:b}}).reverse().filter(n=>{if(!n.isTailwindClass)return!0;let{modifierId:l,classGroupId:u,hasPostfixModifier:p}=n,m=l+u;return s.has(m)?!1:(s.add(m),a(u,p).forEach(h=>s.add(l+h)),!0)}).reverse().map(n=>n.originalClassName).join(" ")}function dt(){let e=0,t,r,o="";for(;e<arguments.length;)(t=arguments[e++])&&(r=ye(t))&&(o&&(o+=" "),o+=r);return o}function ye(e){if(typeof e=="string")return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=ye(e[o]))&&(r&&(r+=" "),r+=t);return r}function ut(e,...t){let r,o,a,s=n;function n(u){let p=t.reduce((m,h)=>h(m),e());return r=it(p),o=r.cache.get,a=r.cache.set,s=l,l(u)}function l(u){let p=o(u);if(p)return p;let m=ct(u,r);return a(u,m),m}return function(){return s(dt.apply(null,arguments))}}function c(e){let t=r=>r[e]||[];return t.isThemeGetter=!0,t}var xe=/^\[(?:([a-z-]+):)?(.+)\]$/i,pt=/^\d+\/\d+$/,mt=new Set(["px","full","screen"]),ft=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ht=/\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$/,gt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,bt=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,yt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function x(e){return _(e)||mt.has(e)||pt.test(e)}function A(e){return T(e,"length",St)}function _(e){return Boolean(e)&&!Number.isNaN(Number(e))}function $(e){return T(e,"number",_)}function R(e){return Boolean(e)&&Number.isInteger(Number(e))}function xt(e){return e.endsWith("%")&&_(e.slice(0,-1))}function i(e){return xe.test(e)}function k(e){return ft.test(e)}var vt=new Set(["length","size","percentage"]);function wt(e){return T(e,vt,ve)}function At(e){return T(e,"position",ve)}var kt=new Set(["image","url"]);function Et(e){return T(e,kt,It)}function Pt(e){return T(e,"",_t)}function U(){return!0}function T(e,t,r){let o=xe.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):r(o[2]):!1}function St(e){return ht.test(e)&&!gt.test(e)}function ve(){return!1}function _t(e){return bt.test(e)}function It(e){return yt.test(e)}function Lt(){let e=c("colors"),t=c("spacing"),r=c("blur"),o=c("brightness"),a=c("borderColor"),s=c("borderRadius"),n=c("borderSpacing"),l=c("borderWidth"),u=c("contrast"),p=c("grayscale"),m=c("hueRotate"),h=c("invert"),b=c("gap"),v=c("gradientColorStops"),E=c("gradientColorStopPositions"),f=c("inset"),g=c("margin"),w=c("opacity"),y=c("padding"),Q=c("saturate"),F=c("scale"),ee=c("sepia"),te=c("skew"),re=c("space"),oe=c("translate"),q=()=>["auto","contain","none"],W=()=>["auto","hidden","clip","visible","scroll"],H=()=>["auto",i,t],d=()=>[i,t],se=()=>["",x,A],D=()=>["auto",_,i],ae=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],B=()=>["solid","dashed","dotted","double","none"],ne=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"],K=()=>["start","end","center","between","around","evenly","stretch"],N=()=>["","0",i],ie=()=>["auto","avoid","all","avoid-page","page","left","right","column"],z=()=>[_,$],G=()=>[_,i];return{cacheSize:500,separator:":",theme:{colors:[U],spacing:[x,A],blur:["none","",k,i],brightness:z(),borderColor:[e],borderRadius:["none","","full",k,i],borderSpacing:d(),borderWidth:se(),contrast:z(),grayscale:N(),hueRotate:G(),invert:N(),gap:d(),gradientColorStops:[e],gradientColorStopPositions:[xt,A],inset:H(),margin:H(),opacity:z(),padding:d(),saturate:z(),scale:z(),sepia:N(),skew:G(),space:d(),translate:d()},classGroups:{aspect:[{aspect:["auto","square","video",i]}],container:["container"],columns:[{columns:[k]}],"break-after":[{"break-after":ie()}],"break-before":[{"break-before":ie()}],"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:[...ae(),i]}],overflow:[{overflow:W()}],"overflow-x":[{"overflow-x":W()}],"overflow-y":[{"overflow-y":W()}],overscroll:[{overscroll:q()}],"overscroll-x":[{"overscroll-x":q()}],"overscroll-y":[{"overscroll-y":q()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[f]}],"inset-x":[{"inset-x":[f]}],"inset-y":[{"inset-y":[f]}],start:[{start:[f]}],end:[{end:[f]}],top:[{top:[f]}],right:[{right:[f]}],bottom:[{bottom:[f]}],left:[{left:[f]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",R,i]}],basis:[{basis:H()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",i]}],grow:[{grow:N()}],shrink:[{shrink:N()}],order:[{order:["first","last","none",R,i]}],"grid-cols":[{"grid-cols":[U]}],"col-start-end":[{col:["auto",{span:["full",R,i]},i]}],"col-start":[{"col-start":D()}],"col-end":[{"col-end":D()}],"grid-rows":[{"grid-rows":[U]}],"row-start-end":[{row:["auto",{span:[R,i]},i]}],"row-start":[{"row-start":D()}],"row-end":[{"row-end":D()}],"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:[y]}],px:[{px:[y]}],py:[{py:[y]}],ps:[{ps:[y]}],pe:[{pe:[y]}],pt:[{pt:[y]}],pr:[{pr:[y]}],pb:[{pb:[y]}],pl:[{pl:[y]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[re]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[re]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",i,t]}],"min-w":[{"min-w":[i,t,"min","max","fit"]}],"max-w":[{"max-w":[i,t,"none","full","min","max","fit","prose",{screen:[k]},k]}],h:[{h:[i,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[i,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[i,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[i,t,"auto","min","max","fit"]}],"font-size":[{text:["base",k,A]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",$]}],"font-family":[{font:[U]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",i]}],"line-clamp":[{"line-clamp":["none",_,$]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",x,i]}],"list-image":[{"list-image":["none",i]}],"list-style-type":[{list:["none","disc","decimal",i]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[w]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[w]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...B(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",x,A]}],"underline-offset":[{"underline-offset":["auto",x,i]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:d()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",i]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",i]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[w]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ae(),At]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",wt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Et]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[E]}],"gradient-via-pos":[{via:[E]}],"gradient-to-pos":[{to:[E]}],"gradient-from":[{from:[v]}],"gradient-via":[{via:[v]}],"gradient-to":[{to:[v]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[w]}],"border-style":[{border:[...B(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[w]}],"divide-style":[{divide:B()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...B()]}],"outline-offset":[{"outline-offset":[x,i]}],"outline-w":[{outline:[x,A]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:se()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[w]}],"ring-offset-w":[{"ring-offset":[x,A]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",k,Pt]}],"shadow-color":[{shadow:[U]}],opacity:[{opacity:[w]}],"mix-blend":[{"mix-blend":ne()}],"bg-blend":[{"bg-blend":ne()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",k,i]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[m]}],invert:[{invert:[h]}],saturate:[{saturate:[Q]}],sepia:[{sepia:[ee]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[u]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[m]}],"backdrop-invert":[{"backdrop-invert":[h]}],"backdrop-opacity":[{"backdrop-opacity":[w]}],"backdrop-saturate":[{"backdrop-saturate":[Q]}],"backdrop-sepia":[{"backdrop-sepia":[ee]}],"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:G()}],ease:[{ease:["linear","in","out","in-out",i]}],delay:[{delay:G()}],animate:[{animate:["none","spin","ping","pulse","bounce",i]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[F]}],"scale-x":[{"scale-x":[F]}],"scale-y":[{"scale-y":[F]}],rotate:[{rotate:[R,i]}],"translate-x":[{"translate-x":[oe]}],"translate-y":[{"translate-y":[oe]}],"skew-x":[{"skew-x":[te]}],"skew-y":[{"skew-y":[te]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",i]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",i]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":d()}],"scroll-mx":[{"scroll-mx":d()}],"scroll-my":[{"scroll-my":d()}],"scroll-ms":[{"scroll-ms":d()}],"scroll-me":[{"scroll-me":d()}],"scroll-mt":[{"scroll-mt":d()}],"scroll-mr":[{"scroll-mr":d()}],"scroll-mb":[{"scroll-mb":d()}],"scroll-ml":[{"scroll-ml":d()}],"scroll-p":[{"scroll-p":d()}],"scroll-px":[{"scroll-px":d()}],"scroll-py":[{"scroll-py":d()}],"scroll-ps":[{"scroll-ps":d()}],"scroll-pe":[{"scroll-pe":d()}],"scroll-pt":[{"scroll-pt":d()}],"scroll-pr":[{"scroll-pr":d()}],"scroll-pb":[{"scroll-pb":d()}],"scroll-pl":[{"scroll-pl":d()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",i]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[x,A,$]}],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 we=ut(Lt);function Ot(...e){return we(me(e))}var Ct=["stats","changelog","terms","privacy","abuse"],Tt=[{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:"Amazon Link Shortener",slug:"amazon-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"}],Nt=[{name:"Bitly",slug:"bitly"},{name:"Rebrandly",slug:"rebrandly"},{name:"Short.io",slug:"short"}];export{M as a,Ee as b,Le as c,De as d,Ke as e,Ye as f,Xe as g,Ot as h,Ct as i,Tt as j,Nt as k};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{b as c}from"./chunk-OI37HXT5.mjs";import{h as i}from"./chunk-EHT4LQK7.mjs";import*as t from"@radix-ui/react-switch";import{jsx as e}from"react/jsx-runtime";function g({fn:o,trackDimensions:l,thumbDimensions:d,thumbTranslate:r,checked:h=!0,loading:n=!1,disabled:a=!1,disabledTooltip:s}){return s?e(c,{content:s,children:e("div",{className:"radix-state-checked:bg-gray-300 relative inline-flex h-4 w-8 flex-shrink-0 cursor-not-allowed rounded-full border-2 border-transparent bg-gray-200",children:e("div",{className:"h-3 w-3 transform rounded-full bg-white shadow-lg"})})}):e(t.Root,{checked:h,name:"switch",...o&&{onCheckedChange:o},disabled:a,className:i(n?"bg-gray-200":a?"cursor-not-allowed bg-gray-300":"radix-state-checked:bg-blue-500 radix-state-unchecked:bg-gray-200 cursor-pointer focus:outline-none focus-visible:ring focus-visible:ring-blue-500 focus-visible:ring-opacity-75","relative inline-flex h-4 w-8 flex-shrink-0 rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out",l),children:!n&&e(t.Thumb,{className:i(`radix-state-checked:${r}`,"radix-state-unchecked:translate-x-0","pointer-events-none h-3 w-3 translate-x-4 transform rounded-full bg-white shadow-lg ring-0 transition duration-200 ease-in-out",d,r)})})}export{g as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as b}from"./chunk-A75RGEGE.mjs";import{a as f}from"./chunk-IR4ADHH7.mjs";import{a as v}from"./chunk-BGCJQIDH.mjs";import{d as c,f as g,h as d,i as p}from"./chunk-C6UNPM2B.mjs";import*as i from"@radix-ui/react-navigation-menu";import l from"@vercel/analytics";import{ChevronDown as P}from"lucide-react";import m from"next/link";import{useParams as L,useSelectedLayoutSegment as C}from"next/navigation";import S from"swr";import{useCallback as w,useEffect as x,useState as M}from"react";function h(t){let[u,n]=M(!1),r=w(()=>{n(window.scrollY>t)},[t]);return x(()=>(window.addEventListener("scroll",r),()=>window.removeEventListener("scroll",r)),[r]),x(()=>{r()},[r]),u}import{Fragment as E,jsx as e,jsxs as o}from"react/jsx-runtime";var R=[{name:"Customers",slug:"customers"},{name:"Pricing",slug:"pricing"},{name:"Enterprise",slug:"enterprise"},{name:"Blog",slug:"blog"},{name:"Changelog",slug:"changelog"}];function G(){let{domain:t="dub.co"}=L(),u=h(80),n=C(),{data:r,isLoading:N}=S(t==="dub.co"&&"/api/auth/session",g,{dedupingInterval:6e4});return e("div",{className:d("sticky inset-x-0 top-0 z-30 w-full transition-all",{"border-b border-gray-200 bg-white/75 backdrop-blur-lg":u,"border-b border-gray-200 bg-white":n&&p.includes(n)}),children:e(f,{children:o("div",{className:"flex h-14 items-center justify-between",children:[o("div",{className:"flex items-center space-x-4",children:[e(m,{href:t==="dub.co"?"/":"https://dub.co",...t!=="dub.co"&&{onClick:()=>{l.track("Referred from custom domain",{domain:t,medium:"logo"})}},children:e(v,{})}),o(i.Root,{delayDuration:0,className:"relative hidden lg:block",children:[o(i.List,{className:"flex flex-row space-x-2 p-4",children:[o(i.Item,{children:[o(i.Trigger,{className:"group flex items-center space-x-2 rounded-md px-3 py-2 text-sm font-medium hover:bg-gray-100 focus:outline-none",children:[e("p",{className:d("text-sm font-medium text-gray-500 transition-colors ease-out group-hover:text-black",{"text-black":n==="features"}),children:"Features"}),e(P,{className:"h-4 w-4 transition-all group-data-[state=open]:rotate-180"})]}),e(i.Content,{children:e("div",{className:"grid w-[32rem] grid-cols-2 gap-1 p-3",children:b.map(({slug:s,icon:a,title:k,shortTitle:y})=>o(m,{href:t==="dub.co"?`/${s}`:`https://dub.co/${s}`,...t!=="dub.co"&&{onClick:()=>{l.track("Referred from custom domain",{domain:t,medium:`navbar item (/${s})`})}},className:"rounded-lg p-3 transition-colors hover:bg-gray-100 active:bg-gray-200",children:[o("div",{className:"flex items-center space-x-2",children:[e(a,{className:"h-4 w-4 text-gray-700"}),e("p",{className:"text-sm font-medium text-gray-700",children:y})]}),e("p",{className:"mt-1 line-clamp-1 text-sm text-gray-500",children:k})]},s))})})]}),R.map(({name:s,slug:a})=>e(i.Item,{asChild:!0,children:e(m,{id:`nav-${a}`,href:t==="dub.co"?`/${a}`:`https://dub.co/${a}`,...t!=="dub.co"&&{onClick:()=>{l.track("Referred from custom domain",{domain:t,medium:`navbar item (${a})`})}},className:d("rounded-md px-3 py-2 text-sm font-medium text-gray-500 transition-colors ease-out hover:text-black",{"text-black":n===a}),children:s},a)},a))]}),e(i.Viewport,{className:"data-[state=closed]:animate-scale-out-content data-[state=open]:animate-scale-in-content absolute left-0 top-full flex w-[var(--radix-navigation-menu-viewport-width)] origin-[top_center] justify-start rounded-lg border border-gray-200 bg-white shadow-lg"})]})]}),e("div",{className:"hidden lg:block",children:r&&Object.keys(r).length>0?e(m,{href:c,className:"animate-fade-in rounded-full border border-black bg-black px-4 py-1.5 text-sm text-white transition-all hover:bg-white hover:text-black",children:"Dashboard"}):N?null:o(E,{children:[e(m,{href:`${c}/login`,...t!=="dub.co"&&{onClick:()=>{l.track("Referred from custom domain",{domain:t,medium:"navbar item (login)"})}},className:"animate-fade-in rounded-full px-4 py-1.5 text-sm font-medium text-gray-500 transition-colors ease-out hover:text-black",children:"Log in"}),e(m,{href:`${c}/register`,...t!=="dub.co"&&{onClick:()=>{l.track("Referred from custom domain",{domain:t,medium:"navbar item (signup)"})}},className:"animate-fade-in rounded-full border border-black bg-black px-4 py-1.5 text-sm text-white transition-all hover:bg-white hover:text-black",children:"Sign Up"})]})})]})})})}export{h as a,R as b,G as c};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as Ae,b as ke}from"./chunk-AUBFB4SI.mjs";var de=Ae((er,ce)=>{var L=1e3,O=L*60,C=O*60,S=C*24,$e=S*7,Fe=S*365.25;ce.exports=function(e,t){t=t||{};var r=typeof e;if(r==="string"&&e.length>0)return qe(e);if(r==="number"&&isFinite(e))return t.long?He(e):We(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function qe(e){if(e=String(e),!(e.length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!!t){var r=parseFloat(t[1]),o=(t[2]||"ms").toLowerCase();switch(o){case"years":case"year":case"yrs":case"yr":case"y":return r*Fe;case"weeks":case"week":case"w":return r*$e;case"days":case"day":case"d":return r*S;case"hours":case"hour":case"hrs":case"hr":case"h":return r*C;case"minutes":case"minute":case"mins":case"min":case"m":return r*O;case"seconds":case"second":case"secs":case"sec":case"s":return r*L;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}function We(e){var t=Math.abs(e);return t>=S?Math.round(e/S)+"d":t>=C?Math.round(e/C)+"h":t>=O?Math.round(e/O)+"m":t>=L?Math.round(e/L)+"s":e+"ms"}function He(e){var t=Math.abs(e);return t>=S?J(e,t,S,"day"):t>=C?J(e,t,C,"hour"):t>=O?J(e,t,O,"minute"):t>=L?J(e,t,L,"second"):e+" ms"}function J(e,t,r,o){var a=t>=r*1.5;return Math.round(e/r)+" "+o+(a?"s":"")}});function M(e,t={digits:1}){if(!e)return"0";if(t.full)return Intl.NumberFormat("en-US").format(e);let r=[{value:1,symbol:""},{value:1e3,symbol:"K"},{value:1e6,symbol:"M"},{value:1e9,symbol:"G"},{value:1e12,symbol:"T"},{value:1e15,symbol:"P"},{value:1e18,symbol:"E"}],o=/\.0+$|(\.[0-9]*[1-9])0+$/;var a=r.slice().reverse().find(function(s){return e>=s.value});return a?(e/a.value).toFixed(t.digits).replace(o,"$1")+a.symbol:"0"}var G=e=>{try{return new URL(e),!0}catch{return!1}},Ee=e=>{if(G(e))return e;try{if(e.includes(".")&&!e.includes(" "))return new URL(`https://${e}`).toString()}catch{}return""};var Se=new RegExp(/^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/),_e=new RegExp(/^[0-9A-Za-z\u0080-\uFFFF\/\-\p{Emoji}]*$/u),Ie=new RegExp(/^[a-zA-Z0-9\-]+$/);var Le=e=>{if(G(e))return new URL(e).hostname.replace(/^www\./,"");try{if(e.includes(".")&&!e.includes(" "))return new URL(`https://${e}`).hostname.replace(/^www\./,"")}catch{return null}};var j=({name:e="Business",monthly:t=59,yearly:r=49,links:o=5e3,clicks:a=15e4,domains:s=40,tags:n=150,users:l=15,ids:u=[]})=>({name:e,tagline:"For larger teams with increased usage",link:"https://dub.co/help/article/business-plan",price:{monthly:t,yearly:r,ids:u},limits:{links:o,clicks:a,domains:s,tags:n,users:l,ai:1e3},colors:{bg:"bg-sky-900",text:"text-sky-900"},cta:{text:"Get started with Business",shortText:"Get started",href:"https://app.dub.co/register",color:"bg-sky-900 border-sky-900 hover:text-sky-900"},featureTitle:"Everything in Pro, plus:",features:[{text:`${M(o,{full:!0})} new links/mo`},{text:`${M(a)} tracked clicks/mo`},{text:"2-year analytics retention"},{text:`${s} custom domains`},{text:`${l} users`},{text:"Unlimited AI credits",footnote:"Subject to fair use policy \u2013 you will be notified if you exceed the limit, which are high enough for frequent usage."},{text:`${M(n,{full:!0})} tags`,footnote:{title:"Organize your links with tags.",cta:"Learn more.",href:"https://dub.co/help/article/how-to-use-tags"}},{text:"Elevated support",footnote:"Email and chat support."},{text:"Custom branding",footnote:{title:"Set custom QR code logos, password-protected links logos, and more.",cta:"Learn more.",href:"https://dub.co/help/article/custom-qr-codes"}}]}),I=[{name:"Free",tagline:"For hobby & side projects",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,domains:3,tags:5,users:1,ai:10},colors:{bg:"bg-black",text:"text-black"},cta:{text:"Start for free",href:"https://app.dub.co/register",color:"bg-black border-black hover:text-black"},featureTitle:"What's included:",features:[{text:"25 new links/mo"},{text:"1K tracked clicks/mo"},{text:"30-day analytics retention"},{text:"3 custom domains"},{text:"1 user"},{text:"10 AI credits/mo"},{text:"Community support",footnote:"Help center + GitHub discussions."},{text:"API Access",footnote:{title:"Programatically manage your links using our REST API.",cta:"Learn more.",href:"https://dub.co/docs/api-reference/introduction"}}]},{name:"Pro",tagline:"For startups & small businesses",link:"https://dub.co/help/article/pro-plan",price:{monthly:24,yearly:19,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ","price_1OTcQBAlJJEpqkPViGtGEsbb","price_1OYJeBAlJJEpqkPVLjTsjX0E","price_1OTcQBAlJJEpqkPVYlCMqdLL","price_1OYJeBAlJJEpqkPVnPGEZeb0"]},limits:{links:1e3,clicks:5e4,domains:10,tags:25,users:5,ai:1e3},colors:{bg:"bg-blue-500",text:"text-blue-500"},cta:{text:"Get started with Pro",shortText:"Get started",href:"https://app.dub.co/register",color:"bg-blue-500 border-blue-500 hover:text-blue-500"},featureTitle:"Everything in Free, plus:",features:[{text:"1,000 new links/mo"},{text:"50K tracked clicks/mo"},{text:"1-year analytics retention"},{text:"10 custom domains"},{text:"5 users"},{text:"Unlimited AI credits",footnote:"Subject to fair use policy \u2013 you will be notified if you exceed the limit, which are high enough for frequent usage."},{text:"Basic support",footnote:"Basic email support."},{text:"Root domain redirect",footnote:{title:"Redirect vistors that land on the root of your domain (e.g. yourdomain.com) to a page of your choice.",cta:"Learn more.",href:"https://dub.co/help/article/how-to-redirect-root-domain"}},{text:"Advanced link features",footnote:"Custom social media cards, password-protected links, link expiration, link cloaking, device targeting, geo targeting etc."}]},j({name:"Business",monthly:59,yearly:49,links:5e3,clicks:15e4,domains:40,tags:150,users:15,ids:["price_1LodLoAlJJEpqkPV9rD0rlNL","price_1LodLoAlJJEpqkPVJdwv5zrG","price_1OZgmnAlJJEpqkPVOj4kV64R","price_1OzNlmAlJJEpqkPV7s9HXNAC","price_1OzNmXAlJJEpqkPVYO89lTdx","price_1OzOFIAlJJEpqkPVJxzc9irl","price_1OzOXMAlJJEpqkPV9ERrjjbw"]}),j({name:"Business Plus",monthly:119,yearly:99,links:15e3,clicks:4e5,domains:100,tags:300,users:40,ids:["price_1OnWu0AlJJEpqkPVWk4144ZG","price_1OnWu0AlJJEpqkPVkDWVriAB","price_1OnaK3AlJJEpqkPVaCfCPdHi","price_1OzObrAlJJEpqkPVh6D9HWGO"]}),j({name:"Business Extra",monthly:249,yearly:199,links:4e4,clicks:1e6,domains:250,tags:500,users:100,ids:["price_1OnWvCAlJJEpqkPVLzLHx5QD","price_1OnWvCAlJJEpqkPVHhCCvIOq","price_1OnaKJAlJJEpqkPVeJSvPfJb","price_1OzOg1AlJJEpqkPVPlsrxoWm"]}),j({name:"Business Max",monthly:499,yearly:399,links:1e5,clicks:25e5,domains:500,tags:1e3,users:250,ids:["price_1OnWwLAlJJEpqkPVXtJyPqLk","price_1OnWwLAlJJEpqkPV4eMbOkNh","price_1OnaKOAlJJEpqkPVV6gkZPgt","price_1OzOh5AlJJEpqkPVtCSX7dlE"]}),{name:"Enterprise",tagline:"Custom tailored plans for large enterprises. Whether you're running a SMS campaign with millions of short links or a large marketing campaign with billions of clicks, we've got you covered.",link:"https://dub.co/enterprise",price:{monthly:null,yearly:null},limits:{links:null,clicks:null,domains:null},colors:{bg:"bg-violet-600",text:"text-violet-600"},cta:{text:"Contact us",href:"/enterprise",color:"bg-violet-600 border-violet-600 hover:text-violet-600"},featureTitle:"Everything in Business, plus:",features:[{text:"Custom usage limits"},{text:"Volume discounts"},{text:"SSO/SAML"},{text:"Role-based access controls"},{text:"Custom contract & SLA"},{text:"Whiteglove onboarding"},{text:"Dedicated success manager"},{text:"Priority support"},{text:"Dedicated Slack channel"}]}],Oe=I.find(e=>e.name==="Free"),Ce=I.find(e=>e.name==="Pro"),Te=I.find(e=>e.name==="Business"),Ne=I.find(e=>e.name==="Enterprise");var ze=I.filter(e=>e.name!=="Free"&&e.name!=="Enterprise");var Me=process.env.NEXT_PUBLIC_APP_NAME||"Dub.co",Y=process.env.NEXT_PUBLIC_APP_SHORT_DOMAIN||"dub.sh",Re=`https://${process.env.NEXT_PUBLIC_APP_DOMAIN}`,Ue=new Set([`app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"localhost:8888","localhost"]),De=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",Be=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NGROK_URL||"http://localhost:8888",Ve=new Set([`api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`api-staging.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`api.${Y}`,"api.localhost:8888"]),Ge=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",je=new Set([`admin.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"admin.localhost:8888"]);var P="cl7pj5kq4006835rbjlt2ofka";var le=[{id:"clce1z7ch00j0rbstbjufva4j",slug:Y,verified:!0,primary:!0,archived:!1,publicStats:!1,target:`https://${process.env.NEXT_PUBLIC_APP_DOMAIN}`,type:"redirect",placeholder:"https://dub.co/help/article/what-is-dub",clicks:0,allowedHostnames:[],projectId:P},...process.env.NEXT_PUBLIC_IS_DUB?[{id:"clce1z7cs00y8rbstk4xtnj0k",slug:"chatg.pt",verified:!0,primary:!1,archived:!1,publicStats:!1,target:"https://dub.co/tools/chatgpt-link-shortener",type:"redirect",placeholder:"https://chat.openai.com/g/g-UGjKKONEe-domainsgpt",clicks:0,allowedHostnames:["chat.openai.com"],projectId:P},{id:"cloxw8y2u0003js08a7mqg1j8",slug:"spti.fi",verified:!0,primary:!1,archived:!1,publicStats:!1,target:"https://dub.co/tools/spotify-link-shortener",type:"redirect",placeholder:"https://open.spotify.com/album/1SCyi9a5pOasikidToUY5y",clicks:0,allowedHostnames:["open.spotify.com"],projectId:P},{id:"cltgtd6s5000341itdszz20u2",slug:"git.new",verified:!0,primary:!1,archived:!1,publicStats:!1,target:"https://dub.co/tools/github-link-shortener",type:"redirect",placeholder:"https://github.com/dubinc/dub",clicks:0,allowedHostnames:["github.com","gist.github.com"],projectId:P},{id:"cloxw8qtk000bjt08n9b812vs",slug:"amzn.id",verified:!0,primary:!1,archived:!1,publicStats:!1,target:"https://dub.co/tools/amazon-link-shortener",type:"redirect",placeholder:"https://www.amazon.com/dp/B0BW4SWNC8",clicks:0,allowedHostnames:["amazon.com","amazon.co.uk","amazon.ca","amazon.es"],projectId:P},{id:"clugy7euh000a11h6ignmj42o",slug:"loooooooo.ng",verified:!0,primary:!1,archived:!0,publicStats:!0,target:"https://dub.co/tools/url-lengthener",type:"redirect",placeholder:"https://d.to/long",clicks:0,projectId:P}]:[]],Je=le.map(e=>e.slug);var ue=ke(de(),1),Ke=(e,{withAgo:t}={})=>{if(!e)return"Never";let r=Date.now()-new Date(e).getTime();return r<1e3?"Just now":r>828e5?new Date(e).toLocaleDateString("en-US",{month:"short",day:"numeric",year:new Date(e).getFullYear()!==new Date().getFullYear()?"numeric":void 0}):`${(0,ue.default)(r)}${t?" ago":""}`};async function Ye(e,t){let r=await fetch(e,t);if(!r.ok){let o=await r.text(),a=new Error(o);throw a.status=r.status,a}return r.json()}var Xe="https://www.google.com/s2/favicons?sz=64&domain_url=";var Ze=60*60*24*14;function pe(e){var t,r,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(r=pe(e[t]))&&(o&&(o+=" "),o+=r)}else for(r in e)e[r]&&(o&&(o+=" "),o+=r);return o}function me(){for(var e,t,r=0,o="",a=arguments.length;r<a;r++)(e=arguments[r])&&(t=pe(e))&&(o&&(o+=" "),o+=t);return o}var Z="-";function Qe(e){let t=tt(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;function a(n){let l=n.split(Z);return l[0]===""&&l.length!==1&&l.shift(),ge(l,t)||et(n)}function s(n,l){let u=r[n]||[];return l&&o[n]?[...u,...o[n]]:u}return{getClassGroupId:a,getConflictingClassGroupIds:s}}function ge(e,t){var n;if(e.length===0)return t.classGroupId;let r=e[0],o=t.nextPart.get(r),a=o?ge(e.slice(1),o):void 0;if(a)return a;if(t.validators.length===0)return;let s=e.join(Z);return(n=t.validators.find(({validator:l})=>l(s)))==null?void 0:n.classGroupId}var fe=/^\[(.+)\]$/;function et(e){if(fe.test(e)){let t=fe.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}}function tt(e){let{theme:t,prefix:r}=e,o={nextPart:new Map,validators:[]};return ot(Object.entries(e.classGroups),r).forEach(([s,n])=>{X(n,o,s,t)}),o}function X(e,t,r,o){e.forEach(a=>{if(typeof a=="string"){let s=a===""?t:he(t,a);s.classGroupId=r;return}if(typeof a=="function"){if(rt(a)){X(a(o),t,r,o);return}t.validators.push({validator:a,classGroupId:r});return}Object.entries(a).forEach(([s,n])=>{X(n,he(t,s),r,o)})})}function he(e,t){let r=e;return t.split(Z).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r}function rt(e){return e.isThemeGetter}function ot(e,t){return t?e.map(([r,o])=>{let a=o.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([n,l])=>[t+n,l])):s);return[r,a]}):e}function st(e){if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,o=new Map;function a(s,n){r.set(s,n),t++,t>e&&(t=0,o=r,r=new Map)}return{get(s){let n=r.get(s);if(n!==void 0)return n;if((n=o.get(s))!==void 0)return a(s,n),n},set(s,n){r.has(s)?r.set(s,n):a(s,n)}}}var be="!";function at(e){let t=e.separator,r=t.length===1,o=t[0],a=t.length;return function(n){let l=[],u=0,m=0,p;for(let f=0;f<n.length;f++){let g=n[f];if(u===0){if(g===o&&(r||n.slice(f,f+a)===t)){l.push(n.slice(m,f)),m=f+a;continue}if(g==="/"){p=f;continue}}g==="["?u++:g==="]"&&u--}let h=l.length===0?n:n.substring(m),b=h.startsWith(be),v=b?h.substring(1):h,E=p&&p>m?p-m:void 0;return{modifiers:l,hasImportantModifier:b,baseClassName:v,maybePostfixModifierPosition:E}}}function nt(e){if(e.length<=1)return e;let t=[],r=[];return e.forEach(o=>{o[0]==="["?(t.push(...r.sort(),o),r=[]):r.push(o)}),t.push(...r.sort()),t}function it(e){return{cache:st(e.cacheSize),splitModifiers:at(e),...Qe(e)}}var lt=/\s+/;function ct(e,t){let{splitModifiers:r,getClassGroupId:o,getConflictingClassGroupIds:a}=t,s=new Set;return e.trim().split(lt).map(n=>{let{modifiers:l,hasImportantModifier:u,baseClassName:m,maybePostfixModifierPosition:p}=r(n),h=o(p?m.substring(0,p):m),b=Boolean(p);if(!h){if(!p)return{isTailwindClass:!1,originalClassName:n};if(h=o(m),!h)return{isTailwindClass:!1,originalClassName:n};b=!1}let v=nt(l).join(":"),E=u?v+be:v;return{isTailwindClass:!0,modifierId:E,classGroupId:h,originalClassName:n,hasPostfixModifier:b}}).reverse().filter(n=>{if(!n.isTailwindClass)return!0;let{modifierId:l,classGroupId:u,hasPostfixModifier:m}=n,p=l+u;return s.has(p)?!1:(s.add(p),a(u,m).forEach(h=>s.add(l+h)),!0)}).reverse().map(n=>n.originalClassName).join(" ")}function dt(){let e=0,t,r,o="";for(;e<arguments.length;)(t=arguments[e++])&&(r=ye(t))&&(o&&(o+=" "),o+=r);return o}function ye(e){if(typeof e=="string")return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=ye(e[o]))&&(r&&(r+=" "),r+=t);return r}function ut(e,...t){let r,o,a,s=n;function n(u){let m=t.reduce((p,h)=>h(p),e());return r=it(m),o=r.cache.get,a=r.cache.set,s=l,l(u)}function l(u){let m=o(u);if(m)return m;let p=ct(u,r);return a(u,p),p}return function(){return s(dt.apply(null,arguments))}}function c(e){let t=r=>r[e]||[];return t.isThemeGetter=!0,t}var xe=/^\[(?:([a-z-]+):)?(.+)\]$/i,pt=/^\d+\/\d+$/,mt=new Set(["px","full","screen"]),ft=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ht=/\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$/,gt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,bt=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,yt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function x(e){return _(e)||mt.has(e)||pt.test(e)}function A(e){return T(e,"length",St)}function _(e){return Boolean(e)&&!Number.isNaN(Number(e))}function $(e){return T(e,"number",_)}function R(e){return Boolean(e)&&Number.isInteger(Number(e))}function xt(e){return e.endsWith("%")&&_(e.slice(0,-1))}function i(e){return xe.test(e)}function k(e){return ft.test(e)}var vt=new Set(["length","size","percentage"]);function wt(e){return T(e,vt,ve)}function At(e){return T(e,"position",ve)}var kt=new Set(["image","url"]);function Et(e){return T(e,kt,It)}function Pt(e){return T(e,"",_t)}function U(){return!0}function T(e,t,r){let o=xe.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):r(o[2]):!1}function St(e){return ht.test(e)&&!gt.test(e)}function ve(){return!1}function _t(e){return bt.test(e)}function It(e){return yt.test(e)}function Lt(){let e=c("colors"),t=c("spacing"),r=c("blur"),o=c("brightness"),a=c("borderColor"),s=c("borderRadius"),n=c("borderSpacing"),l=c("borderWidth"),u=c("contrast"),m=c("grayscale"),p=c("hueRotate"),h=c("invert"),b=c("gap"),v=c("gradientColorStops"),E=c("gradientColorStopPositions"),f=c("inset"),g=c("margin"),w=c("opacity"),y=c("padding"),Q=c("saturate"),F=c("scale"),ee=c("sepia"),te=c("skew"),re=c("space"),oe=c("translate"),q=()=>["auto","contain","none"],W=()=>["auto","hidden","clip","visible","scroll"],H=()=>["auto",i,t],d=()=>[i,t],se=()=>["",x,A],D=()=>["auto",_,i],ae=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],B=()=>["solid","dashed","dotted","double","none"],ne=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"],K=()=>["start","end","center","between","around","evenly","stretch"],N=()=>["","0",i],ie=()=>["auto","avoid","all","avoid-page","page","left","right","column"],z=()=>[_,$],V=()=>[_,i];return{cacheSize:500,separator:":",theme:{colors:[U],spacing:[x,A],blur:["none","",k,i],brightness:z(),borderColor:[e],borderRadius:["none","","full",k,i],borderSpacing:d(),borderWidth:se(),contrast:z(),grayscale:N(),hueRotate:V(),invert:N(),gap:d(),gradientColorStops:[e],gradientColorStopPositions:[xt,A],inset:H(),margin:H(),opacity:z(),padding:d(),saturate:z(),scale:z(),sepia:N(),skew:V(),space:d(),translate:d()},classGroups:{aspect:[{aspect:["auto","square","video",i]}],container:["container"],columns:[{columns:[k]}],"break-after":[{"break-after":ie()}],"break-before":[{"break-before":ie()}],"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:[...ae(),i]}],overflow:[{overflow:W()}],"overflow-x":[{"overflow-x":W()}],"overflow-y":[{"overflow-y":W()}],overscroll:[{overscroll:q()}],"overscroll-x":[{"overscroll-x":q()}],"overscroll-y":[{"overscroll-y":q()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[f]}],"inset-x":[{"inset-x":[f]}],"inset-y":[{"inset-y":[f]}],start:[{start:[f]}],end:[{end:[f]}],top:[{top:[f]}],right:[{right:[f]}],bottom:[{bottom:[f]}],left:[{left:[f]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",R,i]}],basis:[{basis:H()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",i]}],grow:[{grow:N()}],shrink:[{shrink:N()}],order:[{order:["first","last","none",R,i]}],"grid-cols":[{"grid-cols":[U]}],"col-start-end":[{col:["auto",{span:["full",R,i]},i]}],"col-start":[{"col-start":D()}],"col-end":[{"col-end":D()}],"grid-rows":[{"grid-rows":[U]}],"row-start-end":[{row:["auto",{span:[R,i]},i]}],"row-start":[{"row-start":D()}],"row-end":[{"row-end":D()}],"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:[y]}],px:[{px:[y]}],py:[{py:[y]}],ps:[{ps:[y]}],pe:[{pe:[y]}],pt:[{pt:[y]}],pr:[{pr:[y]}],pb:[{pb:[y]}],pl:[{pl:[y]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[re]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[re]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",i,t]}],"min-w":[{"min-w":[i,t,"min","max","fit"]}],"max-w":[{"max-w":[i,t,"none","full","min","max","fit","prose",{screen:[k]},k]}],h:[{h:[i,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[i,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[i,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[i,t,"auto","min","max","fit"]}],"font-size":[{text:["base",k,A]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",$]}],"font-family":[{font:[U]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",i]}],"line-clamp":[{"line-clamp":["none",_,$]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",x,i]}],"list-image":[{"list-image":["none",i]}],"list-style-type":[{list:["none","disc","decimal",i]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[w]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[w]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...B(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",x,A]}],"underline-offset":[{"underline-offset":["auto",x,i]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:d()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",i]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",i]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[w]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ae(),At]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",wt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Et]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[E]}],"gradient-via-pos":[{via:[E]}],"gradient-to-pos":[{to:[E]}],"gradient-from":[{from:[v]}],"gradient-via":[{via:[v]}],"gradient-to":[{to:[v]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[w]}],"border-style":[{border:[...B(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[w]}],"divide-style":[{divide:B()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...B()]}],"outline-offset":[{"outline-offset":[x,i]}],"outline-w":[{outline:[x,A]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:se()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[w]}],"ring-offset-w":[{"ring-offset":[x,A]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",k,Pt]}],"shadow-color":[{shadow:[U]}],opacity:[{opacity:[w]}],"mix-blend":[{"mix-blend":ne()}],"bg-blend":[{"bg-blend":ne()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",k,i]}],grayscale:[{grayscale:[m]}],"hue-rotate":[{"hue-rotate":[p]}],invert:[{invert:[h]}],saturate:[{saturate:[Q]}],sepia:[{sepia:[ee]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[u]}],"backdrop-grayscale":[{"backdrop-grayscale":[m]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[p]}],"backdrop-invert":[{"backdrop-invert":[h]}],"backdrop-opacity":[{"backdrop-opacity":[w]}],"backdrop-saturate":[{"backdrop-saturate":[Q]}],"backdrop-sepia":[{"backdrop-sepia":[ee]}],"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:V()}],ease:[{ease:["linear","in","out","in-out",i]}],delay:[{delay:V()}],animate:[{animate:["none","spin","ping","pulse","bounce",i]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[F]}],"scale-x":[{"scale-x":[F]}],"scale-y":[{"scale-y":[F]}],rotate:[{rotate:[R,i]}],"translate-x":[{"translate-x":[oe]}],"translate-y":[{"translate-y":[oe]}],"skew-x":[{"skew-x":[te]}],"skew-y":[{"skew-y":[te]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",i]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",i]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":d()}],"scroll-mx":[{"scroll-mx":d()}],"scroll-my":[{"scroll-my":d()}],"scroll-ms":[{"scroll-ms":d()}],"scroll-me":[{"scroll-me":d()}],"scroll-mt":[{"scroll-mt":d()}],"scroll-mr":[{"scroll-mr":d()}],"scroll-mb":[{"scroll-mb":d()}],"scroll-ml":[{"scroll-ml":d()}],"scroll-p":[{"scroll-p":d()}],"scroll-px":[{"scroll-px":d()}],"scroll-py":[{"scroll-py":d()}],"scroll-ps":[{"scroll-ps":d()}],"scroll-pe":[{"scroll-pe":d()}],"scroll-pt":[{"scroll-pt":d()}],"scroll-pr":[{"scroll-pr":d()}],"scroll-pb":[{"scroll-pb":d()}],"scroll-pl":[{"scroll-pl":d()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",i]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[x,A,$]}],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 we=ut(Lt);function Ot(...e){return we(me(e))}var Ct=["stats","changelog","terms","privacy","abuse"],Tt=[{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:"Amazon Link Shortener",slug:"amazon-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"}],Nt=[{name:"Bitly",slug:"bitly"},{name:"Rebrandly",slug:"rebrandly"},{name:"Short.io",slug:"short"}];export{M as a,Ee as b,Le as c,De as d,Ke as e,Ye as f,Xe as g,Ot as h,Ct as i,Tt as j,Nt as k};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{h as e}from"./chunk-C6UNPM2B.mjs";import{jsx as n}from"react/jsx-runtime";function l({user:a={},className:i}){return a?n("img",{alt:`Avatar for ${(a==null?void 0:a.name)||(a==null?void 0:a.email)}`,referrerPolicy:"no-referrer",src:(a==null?void 0:a.image)||`https://api.dicebear.com/7.x/micah/svg?seed=${a==null?void 0:a.email}`,className:e("h-10 w-10 rounded-full border border-gray-300",i),draggable:!1}):n("div",{className:e("h-10 w-10 animate-pulse rounded-full border border-gray-300 bg-gray-100",i)})}function d({id:a}){return n("img",{src:`https://api.dicebear.com/7.x/shapes/svg?seed=${a}`,alt:"avatar",className:"h-10 w-10 rounded-full",draggable:!1})}export{l as a,d as b};