@dub/ui 0.1.56 → 0.1.58

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 (668) hide show
  1. package/dist/accordion.mjs +1 -1
  2. package/dist/alert.mjs +1 -1
  3. package/dist/animated-size-container.mjs +1 -1
  4. package/dist/avatar.mjs +1 -1
  5. package/dist/badge.d.ts +1 -1
  6. package/dist/badge.mjs +1 -1
  7. package/dist/blur-image.mjs +1 -1
  8. package/dist/button.mjs +1 -1
  9. package/dist/card-list/card-list-card.mjs +1 -1
  10. package/dist/card-list/card-list.mjs +1 -1
  11. package/dist/carousel.mjs +1 -1
  12. package/dist/checkbox.mjs +1 -1
  13. package/dist/chunk-22I34ODI.mjs +2 -0
  14. package/dist/chunk-27T7EHVN.mjs +2 -0
  15. package/dist/chunk-2AC7SZRM.mjs +2 -0
  16. package/dist/chunk-2F4C7I3C.mjs +2 -0
  17. package/dist/chunk-2L4ICR3E.mjs +2 -0
  18. package/dist/chunk-2LZV6WWQ.mjs +2 -0
  19. package/dist/chunk-2NQ7EMP3.mjs +2 -0
  20. package/dist/chunk-2PCQLCE6.mjs +2 -0
  21. package/dist/chunk-2VJHL4NO.mjs +2 -0
  22. package/dist/chunk-2XD367JF.mjs +2 -0
  23. package/dist/chunk-2XWXMBEZ.mjs +2 -0
  24. package/dist/chunk-2ZCIYW35.mjs +2 -0
  25. package/dist/chunk-33CAEFBV.mjs +2 -0
  26. package/dist/chunk-367BTK5M.mjs +6 -0
  27. package/dist/chunk-36E7XVVB.mjs +2 -0
  28. package/dist/chunk-36Q3B7QA.mjs +2 -0
  29. package/dist/chunk-3F63BIV5.mjs +2 -0
  30. package/dist/chunk-3FNZYRZQ.mjs +2 -0
  31. package/dist/chunk-3H5PHYJQ.mjs +2 -0
  32. package/dist/chunk-3I754RBK.mjs +2 -0
  33. package/dist/chunk-3KFJNNJ3.mjs +2 -0
  34. package/dist/chunk-3L3UDT2N.mjs +2 -0
  35. package/dist/chunk-3M6AS5H3.mjs +2 -0
  36. package/dist/chunk-3MSNI3ZW.mjs +2 -0
  37. package/dist/chunk-3O65VQ4O.mjs +2 -0
  38. package/dist/chunk-3PYZBAIV.mjs +2 -0
  39. package/dist/chunk-3QGHAQL4.mjs +2 -0
  40. package/dist/chunk-3VMZMEXH.mjs +2 -0
  41. package/dist/chunk-3W3CW6QG.mjs +2 -0
  42. package/dist/chunk-3WFZFD2H.mjs +2 -0
  43. package/dist/chunk-3XX7NCME.mjs +6 -0
  44. package/dist/chunk-47S5NRJ6.mjs +2 -0
  45. package/dist/chunk-4HX43MKI.mjs +2 -0
  46. package/dist/chunk-4KEQQBZH.mjs +2 -0
  47. package/dist/chunk-4KHK2IXM.mjs +2 -0
  48. package/dist/chunk-4NKNI5O3.mjs +2 -0
  49. package/dist/chunk-4O6IROTY.mjs +2 -0
  50. package/dist/chunk-4OLXFE5N.mjs +2 -0
  51. package/dist/chunk-4SFPRELO.mjs +2 -0
  52. package/dist/chunk-4SOIEASH.mjs +2 -0
  53. package/dist/chunk-4U3MDBUY.mjs +2 -0
  54. package/dist/chunk-4XATGNII.mjs +2 -0
  55. package/dist/chunk-4ZFFATLB.mjs +2 -0
  56. package/dist/chunk-53SV7JM2.mjs +2 -0
  57. package/dist/chunk-5AAJSNDM.mjs +2 -0
  58. package/dist/chunk-5ACAS6KG.mjs +2 -0
  59. package/dist/chunk-5AF2XXRI.mjs +2 -0
  60. package/dist/chunk-5FRFSABU.mjs +2 -0
  61. package/dist/chunk-5GHYGXMC.mjs +2 -0
  62. package/dist/chunk-5HQFBFOX.mjs +2 -0
  63. package/dist/chunk-5HYJ6XMW.mjs +2 -0
  64. package/dist/chunk-5IZ46LWM.mjs +2 -0
  65. package/dist/chunk-5JTADALW.mjs +2 -0
  66. package/dist/chunk-5KOJSYLT.mjs +2 -0
  67. package/dist/chunk-5KYQ2EBX.mjs +2 -0
  68. package/dist/chunk-5LK4CEHQ.mjs +2 -0
  69. package/dist/chunk-5PZS4TTS.mjs +2 -0
  70. package/dist/chunk-5S65EUTH.mjs +2 -0
  71. package/dist/chunk-5SLYBOPX.mjs +2 -0
  72. package/dist/chunk-5UXDR27B.mjs +2 -0
  73. package/dist/chunk-5XYPY326.mjs +2 -0
  74. package/dist/chunk-62CNNYS7.mjs +2 -0
  75. package/dist/chunk-64JXKLCI.mjs +2 -0
  76. package/dist/chunk-67FIVBTB.mjs +2 -0
  77. package/dist/chunk-6C33QYPD.mjs +2 -0
  78. package/dist/chunk-6FNKCWNE.mjs +2 -0
  79. package/dist/chunk-6ITJUWWX.mjs +2 -0
  80. package/dist/chunk-6RP5DMOE.mjs +2 -0
  81. package/dist/chunk-6UHNQYRD.mjs +2 -0
  82. package/dist/chunk-6VU5V3J2.mjs +2 -0
  83. package/dist/chunk-6X2HQPQB.mjs +2 -0
  84. package/dist/chunk-6XDD3KPW.mjs +2 -0
  85. package/dist/chunk-6YONT2BY.mjs +2 -0
  86. package/dist/chunk-6ZSVIQRY.mjs +2 -0
  87. package/dist/chunk-72WV3DBX.mjs +2 -0
  88. package/dist/chunk-76AGPMGM.mjs +2 -0
  89. package/dist/chunk-7BFVVVA6.mjs +6 -0
  90. package/dist/chunk-7C7ISJAS.mjs +2 -0
  91. package/dist/chunk-7DKTDD5O.mjs +2 -0
  92. package/dist/chunk-7GLGLXLX.mjs +6 -0
  93. package/dist/chunk-7HYMWVHC.mjs +2 -0
  94. package/dist/chunk-7IWEEGZK.mjs +2 -0
  95. package/dist/chunk-7M6VCYGW.mjs +2 -0
  96. package/dist/chunk-7MZZK2E2.mjs +2 -0
  97. package/dist/chunk-7NKVZCGZ.mjs +2 -0
  98. package/dist/chunk-7ON37362.mjs +2 -0
  99. package/dist/chunk-7P54TVY5.mjs +2 -0
  100. package/dist/chunk-7PGS4IZ3.mjs +2 -0
  101. package/dist/chunk-7PKDFFQN.mjs +2 -0
  102. package/dist/chunk-7R3WZJYN.mjs +2 -0
  103. package/dist/chunk-7UWJDXTH.mjs +2 -0
  104. package/dist/chunk-A3U4MCJU.mjs +2 -0
  105. package/dist/chunk-A4DLMX74.mjs +2 -0
  106. package/dist/chunk-ADSCQA6J.mjs +2 -0
  107. package/dist/chunk-AGGNLJRN.mjs +2 -0
  108. package/dist/chunk-AH6CIPJK.mjs +2 -0
  109. package/dist/chunk-AHEXOEWI.mjs +6 -0
  110. package/dist/chunk-AHM3CYPV.mjs +2 -0
  111. package/dist/chunk-AMI7TEMN.mjs +2 -0
  112. package/dist/chunk-APBWOZBO.mjs +2 -0
  113. package/dist/chunk-ARBHG2LR.mjs +2 -0
  114. package/dist/chunk-ATAAXOBL.mjs +2 -0
  115. package/dist/chunk-AYKZDBQW.mjs +2 -0
  116. package/dist/chunk-AYZOO2S4.mjs +2 -0
  117. package/dist/chunk-B3MV3XUW.mjs +2 -0
  118. package/dist/chunk-B44JEQFU.mjs +2 -0
  119. package/dist/chunk-B4F5BNPS.mjs +2 -0
  120. package/dist/chunk-B5FHQKTI.mjs +2 -0
  121. package/dist/chunk-B6HSPPS4.mjs +2 -0
  122. package/dist/chunk-B6J5UBCJ.mjs +2 -0
  123. package/dist/chunk-B6NAG4TE.mjs +2 -0
  124. package/dist/chunk-BCD5RNWF.mjs +2 -0
  125. package/dist/chunk-BGW3FAQN.mjs +2 -0
  126. package/dist/chunk-BI6BRLWQ.mjs +2 -0
  127. package/dist/chunk-BLBVCN7R.mjs +2 -0
  128. package/dist/chunk-BNBW3WTL.mjs +2 -0
  129. package/dist/chunk-BNMGVHEU.mjs +2 -0
  130. package/dist/chunk-BO44GMCG.mjs +2 -0
  131. package/dist/chunk-BQBIRWJC.mjs +2 -0
  132. package/dist/chunk-BS7FOSFL.mjs +6 -0
  133. package/dist/chunk-BUIUE4CE.mjs +2 -0
  134. package/dist/chunk-BWB3IFGS.mjs +2 -0
  135. package/dist/chunk-BXHK3DFR.mjs +2 -0
  136. package/dist/chunk-BXYBMHB7.mjs +2 -0
  137. package/dist/chunk-C3SHMYWI.mjs +2 -0
  138. package/dist/chunk-C62CB2BM.mjs +2 -0
  139. package/dist/chunk-C6GGOW2L.mjs +2 -0
  140. package/dist/chunk-CAOF654S.mjs +2 -0
  141. package/dist/chunk-CC3OGM4T.mjs +2 -0
  142. package/dist/chunk-CCLFARHB.mjs +2 -0
  143. package/dist/chunk-CD4V67F4.mjs +2 -0
  144. package/dist/chunk-CEHEOF6H.mjs +2 -0
  145. package/dist/chunk-CETHPKHX.mjs +2 -0
  146. package/dist/chunk-CFZHCMZJ.mjs +2 -0
  147. package/dist/chunk-CGYVNUGO.mjs +2 -0
  148. package/dist/chunk-CIARNARG.mjs +2 -0
  149. package/dist/chunk-CJTKHLVQ.mjs +2 -0
  150. package/dist/chunk-CMPNHHII.mjs +2 -0
  151. package/dist/chunk-CPSHJRFA.mjs +2 -0
  152. package/dist/chunk-CQT5D3YD.mjs +2 -0
  153. package/dist/chunk-CTHAX3R2.mjs +2 -0
  154. package/dist/chunk-CTMZATF6.mjs +2 -0
  155. package/dist/chunk-CU7VY3CY.mjs +2 -0
  156. package/dist/chunk-CX76AVYA.mjs +2 -0
  157. package/dist/chunk-CYTGOXNJ.mjs +2 -0
  158. package/dist/chunk-CZRM5GAE.mjs +2 -0
  159. package/dist/chunk-DD4M2Q2S.mjs +2 -0
  160. package/dist/chunk-DFDDOOHQ.mjs +2 -0
  161. package/dist/chunk-DH37AK5K.mjs +2 -0
  162. package/dist/chunk-DHOAFSGT.mjs +2 -0
  163. package/dist/chunk-DJOZYJRH.mjs +2 -0
  164. package/dist/chunk-DLO7JPGU.mjs +2 -0
  165. package/dist/chunk-DMWTSSU3.mjs +2 -0
  166. package/dist/chunk-DSMJOGUF.mjs +2 -0
  167. package/dist/chunk-DZPNBB6W.mjs +2 -0
  168. package/dist/chunk-E2NAYXCP.mjs +2 -0
  169. package/dist/chunk-E2TDZLH6.mjs +2 -0
  170. package/dist/chunk-E432VUED.mjs +2 -0
  171. package/dist/chunk-E574KLER.mjs +2 -0
  172. package/dist/chunk-E63CEMSD.mjs +2 -0
  173. package/dist/chunk-E65ON6OX.mjs +2 -0
  174. package/dist/chunk-EAQJUNYK.mjs +2 -0
  175. package/dist/chunk-ECTGWCVM.mjs +2 -0
  176. package/dist/chunk-EDFRSHDK.mjs +2 -0
  177. package/dist/chunk-EH645XPW.mjs +2 -0
  178. package/dist/chunk-EI5TDY3Y.mjs +2 -0
  179. package/dist/chunk-EK35VQRF.mjs +2 -0
  180. package/dist/chunk-EKKUVH6D.mjs +2 -0
  181. package/dist/chunk-EN6AEGSU.mjs +2 -0
  182. package/dist/chunk-EOUSE2TL.mjs +2 -0
  183. package/dist/chunk-ES75NNJW.mjs +2 -0
  184. package/dist/chunk-EVSJVFO4.mjs +2 -0
  185. package/dist/chunk-EXL5YTBT.mjs +2 -0
  186. package/dist/chunk-EXSUWHDL.mjs +2 -0
  187. package/dist/chunk-F2FF4ATK.mjs +2 -0
  188. package/dist/chunk-F4YPXK2W.mjs +2 -0
  189. package/dist/chunk-F5ZY4U5X.mjs +2 -0
  190. package/dist/chunk-F6CPICZ5.mjs +2 -0
  191. package/dist/chunk-F6MHEDLP.mjs +2 -0
  192. package/dist/chunk-F7WJD3TI.mjs +2 -0
  193. package/dist/chunk-FDLLJ3JK.mjs +2 -0
  194. package/dist/chunk-FEWTAHRO.mjs +2 -0
  195. package/dist/chunk-FEY4MM7M.mjs +2 -0
  196. package/dist/chunk-FFFADWND.mjs +2 -0
  197. package/dist/chunk-FGXABAIF.mjs +2 -0
  198. package/dist/chunk-FHMYN6R2.mjs +2 -0
  199. package/dist/chunk-FIHYKYKT.mjs +2 -0
  200. package/dist/chunk-FJOHQ7TY.mjs +2 -0
  201. package/dist/chunk-FLKXKVRW.mjs +2 -0
  202. package/dist/chunk-FQMIP5UD.mjs +6 -0
  203. package/dist/chunk-FRPCBOOQ.mjs +2 -0
  204. package/dist/chunk-FRSLIMS5.mjs +2 -0
  205. package/dist/chunk-FRYY24VA.mjs +2 -0
  206. package/dist/chunk-FT2VHOS2.mjs +2 -0
  207. package/dist/chunk-FXJSBIND.mjs +2 -0
  208. package/dist/chunk-FXOTRFPY.mjs +2 -0
  209. package/dist/chunk-FYSJ6LYH.mjs +2 -0
  210. package/dist/chunk-G34JCPZ7.mjs +2 -0
  211. package/dist/chunk-G5ZZ6BX3.mjs +2 -0
  212. package/dist/chunk-G6ET2KAM.mjs +2 -0
  213. package/dist/chunk-GAPFJHX2.mjs +2 -0
  214. package/dist/chunk-GB3VDBLG.mjs +6 -0
  215. package/dist/chunk-GBIWAHTA.mjs +2 -0
  216. package/dist/chunk-GGJ5K53M.mjs +2 -0
  217. package/dist/chunk-GIFUXXND.mjs +2 -0
  218. package/dist/chunk-GJFQ7F4X.mjs +2 -0
  219. package/dist/chunk-GLG3TMV2.mjs +2 -0
  220. package/dist/chunk-GP7JOXBM.mjs +2 -0
  221. package/dist/chunk-GPQMHZ5Z.mjs +2 -0
  222. package/dist/chunk-GQ2YNOB6.mjs +2 -0
  223. package/dist/chunk-GSDIVYGH.mjs +2 -0
  224. package/dist/chunk-GTRU7JXD.mjs +2 -0
  225. package/dist/chunk-GUK5LNUI.mjs +2 -0
  226. package/dist/chunk-GWELTHCX.mjs +2 -0
  227. package/dist/chunk-GZJYNNDR.mjs +2 -0
  228. package/dist/chunk-GZZKLHXJ.mjs +2 -0
  229. package/dist/chunk-H2COZSRO.mjs +2 -0
  230. package/dist/chunk-H57WOGA6.mjs +2 -0
  231. package/dist/chunk-HCA3UPUV.mjs +2 -0
  232. package/dist/chunk-HCJQICLW.mjs +2 -0
  233. package/dist/chunk-HDLQZSKA.mjs +2 -0
  234. package/dist/chunk-HEH5N4QA.mjs +2 -0
  235. package/dist/chunk-HGSMOAEK.mjs +2 -0
  236. package/dist/chunk-HJH4QCCD.mjs +2 -0
  237. package/dist/chunk-HM2ISZ37.mjs +2 -0
  238. package/dist/chunk-HMLM6UAS.mjs +2 -0
  239. package/dist/chunk-HO7HSWCV.mjs +2 -0
  240. package/dist/chunk-HOL7MIWE.mjs +2 -0
  241. package/dist/chunk-HOMHAGGY.mjs +2 -0
  242. package/dist/chunk-HPBAY2QE.mjs +2 -0
  243. package/dist/chunk-HPQ3GO77.mjs +2 -0
  244. package/dist/chunk-HQ5YF6CM.mjs +2 -0
  245. package/dist/chunk-HQE2UE2V.mjs +2 -0
  246. package/dist/chunk-HUMT7R2X.mjs +2 -0
  247. package/dist/chunk-HVGVUJIV.mjs +2 -0
  248. package/dist/chunk-HVN3W23W.mjs +2 -0
  249. package/dist/chunk-I3KFS7HC.mjs +2 -0
  250. package/dist/chunk-I4WXHMD7.mjs +2 -0
  251. package/dist/chunk-IA6GVRFH.mjs +2 -0
  252. package/dist/chunk-IBJUGDLH.mjs +2 -0
  253. package/dist/chunk-IBNV2UYH.mjs +2 -0
  254. package/dist/chunk-IDBPRKXK.mjs +2 -0
  255. package/dist/chunk-IF227SQJ.mjs +2 -0
  256. package/dist/chunk-IGQGW4B7.mjs +2 -0
  257. package/dist/chunk-II6E6Q2G.mjs +2 -0
  258. package/dist/chunk-IJCJBT6G.mjs +2 -0
  259. package/dist/chunk-IK2QT2OH.mjs +2 -0
  260. package/dist/chunk-ILOTW3LM.mjs +2 -0
  261. package/dist/chunk-IM6UJFMD.mjs +2 -0
  262. package/dist/chunk-INKBKS6M.mjs +2 -0
  263. package/dist/chunk-INPQAMFQ.mjs +2 -0
  264. package/dist/chunk-IQKG4KBP.mjs +2 -0
  265. package/dist/chunk-ITI5JARW.mjs +2 -0
  266. package/dist/chunk-ITSRU362.mjs +2 -0
  267. package/dist/chunk-ITYY4GA2.mjs +6 -0
  268. package/dist/chunk-IXQ66NLG.mjs +2 -0
  269. package/dist/chunk-J2VYMGAX.mjs +2 -0
  270. package/dist/chunk-J332URXQ.mjs +2 -0
  271. package/dist/chunk-J3APATSC.mjs +6 -0
  272. package/dist/chunk-J4CXLKKM.mjs +2 -0
  273. package/dist/chunk-J4P54ZOB.mjs +2 -0
  274. package/dist/chunk-J5BXTVJ4.mjs +2 -0
  275. package/dist/chunk-J7EEEUP6.mjs +2 -0
  276. package/dist/chunk-J7YJ57SJ.mjs +2 -0
  277. package/dist/chunk-JEWM5H4Z.mjs +2 -0
  278. package/dist/chunk-JFY2YV3A.mjs +2 -0
  279. package/dist/chunk-JIQAU6IT.mjs +2 -0
  280. package/dist/chunk-JKEYJCYP.mjs +2 -0
  281. package/dist/chunk-JMQAFRCL.mjs +2 -0
  282. package/dist/chunk-JNLYM2P3.mjs +2 -0
  283. package/dist/chunk-JNQUZXE6.mjs +42 -0
  284. package/dist/chunk-JSDC4LQC.mjs +2 -0
  285. package/dist/chunk-JSI735D5.mjs +2 -0
  286. package/dist/chunk-JVBVLVVI.mjs +2 -0
  287. package/dist/chunk-JVOLGC6U.mjs +6 -0
  288. package/dist/chunk-JWSU3ZCO.mjs +2 -0
  289. package/dist/chunk-K3GUIXOI.mjs +2 -0
  290. package/dist/chunk-K4HSJ43U.mjs +2 -0
  291. package/dist/chunk-K7DUB7H2.mjs +2 -0
  292. package/dist/chunk-KABJJOQ2.mjs +2 -0
  293. package/dist/chunk-KAM6MSWR.mjs +2 -0
  294. package/dist/chunk-KEWGCPPF.mjs +2 -0
  295. package/dist/chunk-KFQRML7T.mjs +2 -0
  296. package/dist/chunk-KGL7W5B2.mjs +2 -0
  297. package/dist/chunk-KN2CAFYO.mjs +2 -0
  298. package/dist/chunk-KNOFJIOK.mjs +2 -0
  299. package/dist/chunk-KNRJZQQD.mjs +2 -0
  300. package/dist/chunk-KQRWYU2H.mjs +2 -0
  301. package/dist/chunk-KRSW6VYU.mjs +2 -0
  302. package/dist/chunk-KWMPPK5U.mjs +2 -0
  303. package/dist/chunk-KXH5E5ZL.mjs +2 -0
  304. package/dist/chunk-KY5PGZXP.mjs +2 -0
  305. package/dist/chunk-KYRKHCZ7.mjs +2 -0
  306. package/dist/chunk-KZNGLNQK.mjs +2 -0
  307. package/dist/chunk-L4AQ4R63.mjs +2 -0
  308. package/dist/chunk-L6BFLBLK.mjs +6 -0
  309. package/dist/chunk-L6DT6HJL.mjs +2 -0
  310. package/dist/chunk-L6FBBWOW.mjs +2 -0
  311. package/dist/chunk-L75K373B.mjs +6 -0
  312. package/dist/chunk-LDAB35J2.mjs +2 -0
  313. package/dist/chunk-LDTVLHOQ.mjs +2 -0
  314. package/dist/chunk-LEKZTSXP.mjs +6 -0
  315. package/dist/chunk-LGSXO66U.mjs +2 -0
  316. package/dist/chunk-LHSROBNG.mjs +2 -0
  317. package/dist/chunk-LJ4S54VY.mjs +2 -0
  318. package/dist/chunk-LKWG2M6R.mjs +2 -0
  319. package/dist/chunk-LLSHOFBQ.mjs +2 -0
  320. package/dist/chunk-LME4FGKE.mjs +2 -0
  321. package/dist/chunk-LNU5RUJI.mjs +2 -0
  322. package/dist/chunk-LOHIWTY3.mjs +2 -0
  323. package/dist/chunk-LORPGVAR.mjs +2 -0
  324. package/dist/chunk-LP3K5VZO.mjs +2 -0
  325. package/dist/chunk-LSTXFOZU.mjs +2 -0
  326. package/dist/chunk-LT2K67XA.mjs +2 -0
  327. package/dist/chunk-LT54VIO5.mjs +2 -0
  328. package/dist/chunk-LUAO5VHI.mjs +2 -0
  329. package/dist/chunk-LW6SSHEU.mjs +6 -0
  330. package/dist/chunk-LXCBFRPH.mjs +2 -0
  331. package/dist/chunk-LXRUJLIN.mjs +2 -0
  332. package/dist/chunk-LXY3YCON.mjs +2 -0
  333. package/dist/chunk-M2LB63XV.mjs +2 -0
  334. package/dist/chunk-M7R637Z7.mjs +6 -0
  335. package/dist/chunk-MADKDZPF.mjs +2 -0
  336. package/dist/chunk-MAF3TS44.mjs +2 -0
  337. package/dist/chunk-MAQWEEYB.mjs +2 -0
  338. package/dist/chunk-MCKKK5FJ.mjs +2 -0
  339. package/dist/chunk-MGNKUODC.mjs +2 -0
  340. package/dist/chunk-MINTMV45.mjs +2 -0
  341. package/dist/chunk-MIVYQQAG.mjs +2 -0
  342. package/dist/chunk-MNVWRCSX.mjs +2 -0
  343. package/dist/chunk-MNXT3HVM.mjs +2 -0
  344. package/dist/chunk-MO6NABKT.mjs +2 -0
  345. package/dist/chunk-MOHWZ6PH.mjs +6 -0
  346. package/dist/chunk-MV4AIFVT.mjs +2 -0
  347. package/dist/chunk-MV5CDH3T.mjs +2 -0
  348. package/dist/chunk-MVEMLYHQ.mjs +2 -0
  349. package/dist/chunk-MWZLIPZ6.mjs +2 -0
  350. package/dist/chunk-MX3OWNRT.mjs +2 -0
  351. package/dist/chunk-MYUZLRYS.mjs +2 -0
  352. package/dist/chunk-N2UTZIQO.mjs +2 -0
  353. package/dist/chunk-N4DS67OB.mjs +2 -0
  354. package/dist/chunk-N4KXJGYP.mjs +6 -0
  355. package/dist/chunk-N5ARZ2VU.mjs +2 -0
  356. package/dist/chunk-NBS2A66G.mjs +2 -0
  357. package/dist/chunk-NDIMK4LK.mjs +2 -0
  358. package/dist/chunk-NFT4CZEK.mjs +2 -0
  359. package/dist/chunk-NGONOZG5.mjs +2 -0
  360. package/dist/chunk-NIEJ3BDW.mjs +2 -0
  361. package/dist/chunk-NMMT5HFV.mjs +2 -0
  362. package/dist/chunk-NOAOA4J4.mjs +2 -0
  363. package/dist/chunk-NQYZSPDB.mjs +2 -0
  364. package/dist/chunk-NSRVADZF.mjs +2 -0
  365. package/dist/chunk-NT6KC3FX.mjs +2 -0
  366. package/dist/chunk-NUUXGHGH.mjs +6 -0
  367. package/dist/chunk-NX447UYR.mjs +2 -0
  368. package/dist/chunk-NYA2AXWV.mjs +42 -0
  369. package/dist/chunk-NYGHZQSB.mjs +2 -0
  370. package/dist/chunk-NZS6O3DF.mjs +2 -0
  371. package/dist/chunk-O2A64HB4.mjs +2 -0
  372. package/dist/chunk-O2ZSVHSX.mjs +2 -0
  373. package/dist/chunk-O3KWGEBR.mjs +2 -0
  374. package/dist/chunk-O46XFUT7.mjs +2 -0
  375. package/dist/chunk-O4PHU33R.mjs +2 -0
  376. package/dist/chunk-O6X4AZJV.mjs +2 -0
  377. package/dist/chunk-O7BCCN5N.mjs +2 -0
  378. package/dist/chunk-O7VPVVPW.mjs +2 -0
  379. package/dist/chunk-OD2UXQQ2.mjs +2 -0
  380. package/dist/chunk-ODJRQZFE.mjs +2 -0
  381. package/dist/chunk-OFJRO4OP.mjs +2 -0
  382. package/dist/chunk-OHU2WVOT.mjs +2 -0
  383. package/dist/chunk-OLRCTW6F.mjs +2 -0
  384. package/dist/chunk-OM5CLOJG.mjs +2 -0
  385. package/dist/chunk-ORHVZ3ZU.mjs +2 -0
  386. package/dist/chunk-P2LUTRY4.mjs +2 -0
  387. package/dist/chunk-P6SQHBM3.mjs +2 -0
  388. package/dist/chunk-P7V7W44D.mjs +2 -0
  389. package/dist/chunk-PAWJMCGY.mjs +2 -0
  390. package/dist/chunk-PCXLKFSS.mjs +2 -0
  391. package/dist/chunk-PFEI4P37.mjs +2 -0
  392. package/dist/chunk-PHX4L3GM.mjs +2 -0
  393. package/dist/chunk-PIOCYQMA.mjs +42 -0
  394. package/dist/chunk-PJI4TXKO.mjs +2 -0
  395. package/dist/chunk-PMCRTMM4.mjs +2 -0
  396. package/dist/chunk-PMSOEQDW.mjs +2 -0
  397. package/dist/chunk-PU6BCOK4.mjs +2 -0
  398. package/dist/chunk-PV63DO5X.mjs +2 -0
  399. package/dist/chunk-PY5DGQTY.mjs +2 -0
  400. package/dist/chunk-PYMJXCCF.mjs +6 -0
  401. package/dist/chunk-PYNPESPM.mjs +2 -0
  402. package/dist/chunk-PZM6NPBJ.mjs +2 -0
  403. package/dist/chunk-Q2SI3VUY.mjs +2 -0
  404. package/dist/chunk-Q3X2R6HR.mjs +2 -0
  405. package/dist/chunk-Q4FORPFJ.mjs +2 -0
  406. package/dist/chunk-Q6SSM5WW.mjs +2 -0
  407. package/dist/chunk-Q7CEYEVN.mjs +2 -0
  408. package/dist/chunk-Q7JZI2FD.mjs +2 -0
  409. package/dist/chunk-QALZLWMF.mjs +2 -0
  410. package/dist/chunk-QBMMIUNH.mjs +2 -0
  411. package/dist/chunk-QD4NGEGL.mjs +2 -0
  412. package/dist/chunk-QDFFLALS.mjs +2 -0
  413. package/dist/chunk-QECX4ERN.mjs +2 -0
  414. package/dist/chunk-QEHI3IVC.mjs +2 -0
  415. package/dist/chunk-QGANLVES.mjs +2 -0
  416. package/dist/chunk-QJ65WYAM.mjs +2 -0
  417. package/dist/chunk-QK7WA656.mjs +6 -0
  418. package/dist/chunk-QKD5IL32.mjs +2 -0
  419. package/dist/chunk-QKQUI4PT.mjs +2 -0
  420. package/dist/chunk-QLDEJI6E.mjs +2 -0
  421. package/dist/chunk-QLTJPF6D.mjs +2 -0
  422. package/dist/chunk-QNB5PRYU.mjs +2 -0
  423. package/dist/chunk-QQF77RYE.mjs +2 -0
  424. package/dist/chunk-QSLOOVRX.mjs +2 -0
  425. package/dist/chunk-QT5P4LBM.mjs +2 -0
  426. package/dist/chunk-QWFMAFOV.mjs +2 -0
  427. package/dist/chunk-QWKLZERG.mjs +2 -0
  428. package/dist/chunk-QZYRBRX2.mjs +2 -0
  429. package/dist/chunk-R2XMJUNV.mjs +2 -0
  430. package/dist/chunk-RCOI7CA3.mjs +2 -0
  431. package/dist/chunk-RGLFRBUI.mjs +2 -0
  432. package/dist/chunk-RGZCBXXQ.mjs +2 -0
  433. package/dist/chunk-RNNLD3HT.mjs +2 -0
  434. package/dist/chunk-ROJC7LNF.mjs +42 -0
  435. package/dist/chunk-ROKZNTDU.mjs +6 -0
  436. package/dist/chunk-RP3MDM6G.mjs +2 -0
  437. package/dist/chunk-RQTOJ7CI.mjs +2 -0
  438. package/dist/chunk-RWBPW3AG.mjs +2 -0
  439. package/dist/chunk-RZ3WKF3J.mjs +2 -0
  440. package/dist/chunk-RZEXYQ2V.mjs +2 -0
  441. package/dist/chunk-S36UIGPP.mjs +2 -0
  442. package/dist/chunk-S37OOPON.mjs +2 -0
  443. package/dist/chunk-S6ZWSKA6.mjs +2 -0
  444. package/dist/chunk-S7JN6SHC.mjs +2 -0
  445. package/dist/chunk-SB5T5K3G.mjs +2 -0
  446. package/dist/chunk-SC2O7SVJ.mjs +2 -0
  447. package/dist/chunk-SD2FVN3L.mjs +2 -0
  448. package/dist/chunk-SDGAOUCH.mjs +2 -0
  449. package/dist/chunk-SEDXTVDW.mjs +2 -0
  450. package/dist/chunk-SELKMEW7.mjs +2 -0
  451. package/dist/chunk-SGSJYHJ4.mjs +2 -0
  452. package/dist/chunk-SIYQUVAU.mjs +2 -0
  453. package/dist/chunk-SKF2SLNY.mjs +2 -0
  454. package/dist/chunk-SKUMXPYK.mjs +2 -0
  455. package/dist/chunk-SMBAKCT6.mjs +2 -0
  456. package/dist/chunk-SO3V6NJX.mjs +2 -0
  457. package/dist/chunk-SPP7YDHL.mjs +6 -0
  458. package/dist/chunk-SQ2BJVWM.mjs +2 -0
  459. package/dist/chunk-SQWCCGUG.mjs +2 -0
  460. package/dist/chunk-SSCE3TWR.mjs +2 -0
  461. package/dist/chunk-SWVY3JNP.mjs +2 -0
  462. package/dist/chunk-SX5OGEQZ.mjs +2 -0
  463. package/dist/chunk-SYM4K2BU.mjs +2 -0
  464. package/dist/chunk-T3BF3ISM.mjs +2 -0
  465. package/dist/chunk-T3LPVO7B.mjs +2 -0
  466. package/dist/chunk-T4FNKCQH.mjs +2 -0
  467. package/dist/chunk-T4HLUAKG.mjs +2 -0
  468. package/dist/chunk-TC4KBP6Q.mjs +2 -0
  469. package/dist/chunk-TCGFEN54.mjs +2 -0
  470. package/dist/chunk-TCRAN2YI.mjs +2 -0
  471. package/dist/chunk-TGMNEDE5.mjs +2 -0
  472. package/dist/chunk-TIF47YUB.mjs +2 -0
  473. package/dist/chunk-TIMSYXCW.mjs +2 -0
  474. package/dist/chunk-TKLFZVRM.mjs +2 -0
  475. package/dist/chunk-TLKX5DBG.mjs +2 -0
  476. package/dist/chunk-TLUIDBO2.mjs +2 -0
  477. package/dist/chunk-TNICV5HK.mjs +2 -0
  478. package/dist/chunk-TPLKT5F4.mjs +2 -0
  479. package/dist/chunk-TW54UUKS.mjs +2 -0
  480. package/dist/chunk-TWLLMBEZ.mjs +2 -0
  481. package/dist/chunk-TWQJYI4L.mjs +2 -0
  482. package/dist/chunk-TX4EG5QU.mjs +2 -0
  483. package/dist/chunk-TYFX37BA.mjs +2 -0
  484. package/dist/chunk-TYH3K55I.mjs +2 -0
  485. package/dist/chunk-TYL5AQF6.mjs +6 -0
  486. package/dist/chunk-TZL43NX3.mjs +2 -0
  487. package/dist/chunk-U3Z243ZK.mjs +2 -0
  488. package/dist/chunk-UA4CZHQ7.mjs +42 -0
  489. package/dist/chunk-UE3PFM6K.mjs +2 -0
  490. package/dist/chunk-UFCHUPSM.mjs +2 -0
  491. package/dist/chunk-UFNL3KFY.mjs +2 -0
  492. package/dist/chunk-UHA7NQNY.mjs +2 -0
  493. package/dist/chunk-UJZOFS7H.mjs +2 -0
  494. package/dist/chunk-UKKT32W7.mjs +2 -0
  495. package/dist/chunk-ULBIFO75.mjs +2 -0
  496. package/dist/chunk-ULS32W7C.mjs +2 -0
  497. package/dist/chunk-UNTUUW3Y.mjs +2 -0
  498. package/dist/chunk-UQDZXOIF.mjs +2 -0
  499. package/dist/chunk-USTT3DEC.mjs +2 -0
  500. package/dist/chunk-UUEDFR4F.mjs +6 -0
  501. package/dist/chunk-UULDTDRF.mjs +2 -0
  502. package/dist/chunk-UZTVUY2V.mjs +2 -0
  503. package/dist/chunk-V6ROURLG.mjs +2 -0
  504. package/dist/chunk-VCCLPI66.mjs +2 -0
  505. package/dist/chunk-VCEYIB3P.mjs +2 -0
  506. package/dist/chunk-VCMEFUSB.mjs +2 -0
  507. package/dist/chunk-VEDVUK2V.mjs +2 -0
  508. package/dist/chunk-VEGCJ2PF.mjs +2 -0
  509. package/dist/chunk-VGXJLG57.mjs +2 -0
  510. package/dist/chunk-VH4JLRT5.mjs +2 -0
  511. package/dist/chunk-VIONM6ON.mjs +2 -0
  512. package/dist/chunk-VJFPTJQQ.mjs +2 -0
  513. package/dist/chunk-VLHPUTDL.mjs +2 -0
  514. package/dist/chunk-VLYOEGVH.mjs +2 -0
  515. package/dist/chunk-VLZUL5IP.mjs +2 -0
  516. package/dist/chunk-VMF3PHVY.mjs +2 -0
  517. package/dist/chunk-VQ3Y75RU.mjs +2 -0
  518. package/dist/chunk-VQZ5JCME.mjs +2 -0
  519. package/dist/chunk-VRARDUOA.mjs +2 -0
  520. package/dist/chunk-VSBGUPGV.mjs +2 -0
  521. package/dist/chunk-VV2Z7IWB.mjs +2 -0
  522. package/dist/chunk-VVO76HEW.mjs +2 -0
  523. package/dist/chunk-W2Z5XHMG.mjs +6 -0
  524. package/dist/chunk-W3ZOT7RH.mjs +2 -0
  525. package/dist/chunk-W5WH4WLR.mjs +2 -0
  526. package/dist/chunk-W7FEDULH.mjs +2 -0
  527. package/dist/chunk-WB56GTC2.mjs +2 -0
  528. package/dist/chunk-WKMXRJFX.mjs +2 -0
  529. package/dist/chunk-WLPM34TC.mjs +2 -0
  530. package/dist/chunk-WPHPWUIF.mjs +2 -0
  531. package/dist/chunk-WRNEE4YK.mjs +2 -0
  532. package/dist/chunk-WTTD6VFF.mjs +2 -0
  533. package/dist/chunk-WTZTGGF7.mjs +2 -0
  534. package/dist/chunk-WV7YD2FY.mjs +2 -0
  535. package/dist/chunk-WZPEUUBR.mjs +2 -0
  536. package/dist/chunk-X2AE6RLK.mjs +2 -0
  537. package/dist/chunk-X2VJ2GTV.mjs +2 -0
  538. package/dist/chunk-X34773CA.mjs +2 -0
  539. package/dist/chunk-X42OK5OT.mjs +2 -0
  540. package/dist/chunk-X43ZLYM3.mjs +2 -0
  541. package/dist/chunk-X4RIWYVM.mjs +2 -0
  542. package/dist/chunk-X5GFDFAY.mjs +2 -0
  543. package/dist/chunk-X6FDPQG5.mjs +2 -0
  544. package/dist/chunk-X6M3O54I.mjs +2 -0
  545. package/dist/chunk-X6WYBM32.mjs +2 -0
  546. package/dist/chunk-X6YAOEGO.mjs +2 -0
  547. package/dist/chunk-XBFKTXNL.mjs +2 -0
  548. package/dist/chunk-XD7FHQIM.mjs +2 -0
  549. package/dist/chunk-XDGX6KRQ.mjs +2 -0
  550. package/dist/chunk-XF45HE5N.mjs +2 -0
  551. package/dist/chunk-XO4RSIER.mjs +2 -0
  552. package/dist/chunk-XQGFQWOM.mjs +2 -0
  553. package/dist/chunk-XRZ6KJD6.mjs +2 -0
  554. package/dist/chunk-XVAPGHBN.mjs +2 -0
  555. package/dist/chunk-XW2A6ZWO.mjs +2 -0
  556. package/dist/chunk-XWE6KXDP.mjs +2 -0
  557. package/dist/chunk-Y42LLYQH.mjs +6 -0
  558. package/dist/chunk-Y6PINWLJ.mjs +2 -0
  559. package/dist/chunk-YBXN5NEY.mjs +6 -0
  560. package/dist/chunk-YCHVTZUL.mjs +2 -0
  561. package/dist/chunk-YCLT3OU4.mjs +2 -0
  562. package/dist/chunk-YEBPNCBV.mjs +2 -0
  563. package/dist/chunk-YEIND7CS.mjs +2 -0
  564. package/dist/chunk-YGDXARDQ.mjs +2 -0
  565. package/dist/chunk-YH25ZE36.mjs +2 -0
  566. package/dist/chunk-YID3M5B6.mjs +2 -0
  567. package/dist/chunk-YINLDHHL.mjs +2 -0
  568. package/dist/chunk-YJLNGWAP.mjs +6 -0
  569. package/dist/chunk-YKIQG64V.mjs +2 -0
  570. package/dist/chunk-YMYKAEOQ.mjs +2 -0
  571. package/dist/chunk-YPHU57HN.mjs +2 -0
  572. package/dist/chunk-YQ5I7CFG.mjs +2 -0
  573. package/dist/chunk-YSKHBF4C.mjs +2 -0
  574. package/dist/chunk-YSZAC4ST.mjs +6 -0
  575. package/dist/chunk-YURI2ALS.mjs +2 -0
  576. package/dist/chunk-YW2WG4W6.mjs +2 -0
  577. package/dist/chunk-YWMQGNLP.mjs +2 -0
  578. package/dist/chunk-YXLFXVDV.mjs +2 -0
  579. package/dist/chunk-Z5FA2WUW.mjs +2 -0
  580. package/dist/chunk-Z7TBDU5N.mjs +2 -0
  581. package/dist/chunk-ZFHJN5QE.mjs +2 -0
  582. package/dist/chunk-ZH5QE5BW.mjs +2 -0
  583. package/dist/chunk-ZIMQR2VO.mjs +2 -0
  584. package/dist/chunk-ZK2QEJ7H.mjs +2 -0
  585. package/dist/chunk-ZNFULCXH.mjs +2 -0
  586. package/dist/chunk-ZPPHPJ4M.mjs +2 -0
  587. package/dist/chunk-ZPXIR3WT.mjs +2 -0
  588. package/dist/chunk-ZREV4PWV.mjs +2 -0
  589. package/dist/chunk-ZRIRITZW.mjs +2 -0
  590. package/dist/chunk-ZSOXB3EZ.mjs +42 -0
  591. package/dist/chunk-ZZX3UFUN.mjs +2 -0
  592. package/dist/combobox/index.d.ts +10 -2
  593. package/dist/combobox/index.mjs +1 -1
  594. package/dist/composite-logo.mjs +1 -1
  595. package/dist/copy-button.mjs +1 -1
  596. package/dist/copy-text.mjs +1 -1
  597. package/dist/counting-numbers.mjs +1 -1
  598. package/dist/date-picker/calendar.mjs +1 -1
  599. package/dist/date-picker/date-range-picker.mjs +1 -1
  600. package/dist/date-picker/presets.mjs +1 -1
  601. package/dist/date-picker/trigger.mjs +1 -1
  602. package/dist/file-upload.mjs +1 -1
  603. package/dist/filter/filter-list.mjs +1 -1
  604. package/dist/filter/filter-select.mjs +1 -1
  605. package/dist/footer.mjs +1 -1
  606. package/dist/form.mjs +1 -1
  607. package/dist/grid.mjs +1 -1
  608. package/dist/hooks/use-keyboard-shortcut.mjs +1 -1
  609. package/dist/icons/continents/index.mjs +1 -1
  610. package/dist/icons/default-domains/amazon.mjs +1 -1
  611. package/dist/icons/default-domains/chatgpt.mjs +1 -1
  612. package/dist/icons/default-domains/figma.mjs +1 -1
  613. package/dist/icons/default-domains/github-enhanced.mjs +1 -1
  614. package/dist/icons/default-domains/google-enhanced.mjs +1 -1
  615. package/dist/icons/default-domains/spotify.mjs +1 -1
  616. package/dist/icons/expanding-arrow.mjs +1 -1
  617. package/dist/icons/index.d.ts +6 -0
  618. package/dist/icons/index.mjs +1 -1
  619. package/dist/icons/linkedin.mjs +1 -1
  620. package/dist/icons/loading-circle.mjs +1 -1
  621. package/dist/icons/loading-spinner.mjs +1 -1
  622. package/dist/icons/nucleo/books2.d.ts +6 -0
  623. package/dist/icons/nucleo/books2.mjs +2 -0
  624. package/dist/icons/nucleo/calendar-days.d.ts +6 -0
  625. package/dist/icons/nucleo/calendar-days.mjs +2 -0
  626. package/dist/icons/nucleo/circle-dollar.d.ts +6 -0
  627. package/dist/icons/nucleo/circle-dollar.mjs +2 -0
  628. package/dist/icons/nucleo/globe-search.d.ts +6 -0
  629. package/dist/icons/nucleo/globe-search.mjs +2 -0
  630. package/dist/icons/nucleo/note.d.ts +6 -0
  631. package/dist/icons/nucleo/note.mjs +2 -0
  632. package/dist/icons/sort-order.mjs +1 -1
  633. package/dist/icons/twitter.mjs +1 -1
  634. package/dist/icons/youtube.mjs +1 -1
  635. package/dist/index.css +1 -1
  636. package/dist/index.d.ts +7 -0
  637. package/dist/index.mjs +1 -1
  638. package/dist/input-select.mjs +1 -1
  639. package/dist/input.mjs +1 -1
  640. package/dist/label.mjs +1 -1
  641. package/dist/link-logo.mjs +1 -1
  642. package/dist/link-preview.mjs +1 -1
  643. package/dist/logo.mjs +1 -1
  644. package/dist/max-width-wrapper.mjs +1 -1
  645. package/dist/modal.mjs +1 -1
  646. package/dist/nav/content/product-content.mjs +1 -1
  647. package/dist/nav/content/resources-content.mjs +1 -1
  648. package/dist/nav/content/shared.mjs +1 -1
  649. package/dist/nav/content/solutions-content.mjs +1 -1
  650. package/dist/nav/nav-mobile.mjs +1 -1
  651. package/dist/nav/nav.mjs +1 -1
  652. package/dist/nav-logo.mjs +1 -1
  653. package/dist/popover.mjs +1 -1
  654. package/dist/progress-bar.mjs +1 -1
  655. package/dist/radio-group.mjs +1 -1
  656. package/dist/sheet.mjs +1 -1
  657. package/dist/shimmer-dots.mjs +1 -1
  658. package/dist/status-badge.d.ts +7 -1
  659. package/dist/status-badge.mjs +1 -1
  660. package/dist/switch.mjs +1 -1
  661. package/dist/tab-select.mjs +1 -1
  662. package/dist/table/table.mjs +1 -1
  663. package/dist/toggle-group.mjs +1 -1
  664. package/dist/tooltip.mjs +1 -1
  665. package/dist/utm-builder.d.ts +19 -16
  666. package/dist/utm-builder.mjs +1 -1
  667. package/dist/wordmark.mjs +1 -1
  668. package/package.json +1 -1
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{e as _}from"./chunk-W2Z5XHMG.mjs";import{a as v}from"./chunk-ODE7I3Q2.mjs";import{a as N}from"./chunk-UE3PFM6K.mjs";import{a as y}from"./chunk-47S5NRJ6.mjs";import{a as x}from"./chunk-U3Z243ZK.mjs";import{a as f}from"./chunk-ALEYOCBW.mjs";import{a as b}from"./chunk-O46XFUT7.mjs";import{c as n,f as d,g,h as p,k as o,p as h}from"./chunk-YXLFXVDV.mjs";import T from"next/image";import s from"next/link";import{useParams as E}from"next/navigation";import{useEffect as F,useState as w}from"react";import A from"swr";import{jsx as e,jsxs as r}from"react/jsx-runtime";var m={features:v.map(({title:a,href:t})=>({name:a,href:t})),product:[{name:"Blog",href:"/blog"},{name:"Brand",href:"/brand"},{name:"Changelog",href:"/changelog"},{name:"Customers",href:"/customers"},{name:"Enterprise",href:"/enterprise"},{name:"Pricing",href:"/pricing"},{name:"Help Center",href:"/help"}],compare:g.map(({name:a,slug:t})=>({name:a,href:`/compare/${t}`})),legal:p.map(({name:a,slug:t})=>({name:a,href:`/legal/${t}`})),tools:d.map(({name:a,slug:t})=>({name:a,href:`/tools/${t}`}))};function Y(){let{domain:a="dub.co"}=E();return e("footer",{children:r(N,{className:"relative z-10 overflow-hidden border border-b-0 border-gray-200 bg-white/50 pb-60 pt-16 backdrop-blur-lg md:rounded-t-2xl",children:[r("div",{className:"xl:grid xl:grid-cols-3 xl:gap-8",children:[r("div",{className:"space-y-6",children:[r(s,{href:(void 0)("/",a,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:a,utm_content:"Logo"}),className:"block max-w-fit",children:[r("span",{className:"sr-only",children:[process.env.NEXT_PUBLIC_APP_NAME," Logo"]}),e(_,{className:"h-8 text-gray-800"})]}),e("p",{className:"max-w-xs text-sm text-gray-500",children:"Giving modern marketing teams superpowers with short links that stand out."}),r("p",{className:"text-sm leading-5 text-gray-400",children:["\xA9 ",new Date().getFullYear()," Dub Technologies, Inc."]}),r("div",{className:"flex items-center space-x-3",children:[r("a",{href:"https://twitter.com/dubdotco",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"Twitter"}),e(x,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-black"})]}),r("a",{href:"https://github.com/dubinc/dub",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"Github"}),e(f,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-black"})]}),r("a",{href:"https://www.linkedin.com/company/dubinc",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"LinkedIn"}),e(b,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-[#0077b5]"})]}),r("a",{href:"https://www.youtube.com/@dubdotco",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"YouTube"}),e(y,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-[#ff0000]"})]})]}),e(D,{})]}),r("div",{className:"mt-16 grid grid-cols-2 gap-4 xl:col-span-2 xl:mt-0",children:[r("div",{className:"md:grid md:grid-cols-2",children:[r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Features"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.features.map(t=>e("li",{children:e(s,{href:(void 0)(t.href,a,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:a,utm_content:t.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:t.name})},t.name))})]}),r("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Product"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.product.map(t=>e("li",{children:e(s,{href:(void 0)(t.href,a,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:a,utm_content:t.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:t.name})},t.name))})]})]}),r("div",{className:"md:grid md:grid-cols-2",children:[r("div",{className:"flex flex-col space-y-8",children:[r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Compare"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.compare.map(t=>e("li",{children:e(s,{href:(void 0)(t.href,a,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:a,utm_content:t.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:t.name})},t.name))})]}),r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Legal"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.legal.map(t=>e("li",{children:e(s,{href:(void 0)(t.href,a,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:a,utm_content:t.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:t.name})},t.name))})]})]}),r("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Tools"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.tools.map(t=>e("li",{children:e(s,{href:(void 0)(t.href,a,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:a,utm_content:t.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:t.name})},t.name))})]})]})]})]}),e(T,{src:"https://assets.dub.co/footer.png",alt:"Dub Technologies, Inc. Logo",width:1959,height:625,className:"pointer-events-none absolute inset-x-0 bottom-0 z-0"})]})})}function D(){let{data:a}=A("https://status.dub.co/api/v1/summary",void 0),[t,l]=w("bg-gray-200"),[i,c]=w("Loading status...");return F(()=>{if(!a)return;let{ongoing_incidents:u}=a;if(u.length>0){let{current_worst_impact:k,name:L}=u[0],C=k==="degraded_performance"?"bg-yellow-500":"bg-red-500";c(L),l(C)}else c("All systems operational"),l("bg-green-500")},[a]),r(s,{href:"https://status.dub.co",target:"_blank",className:"group flex max-w-fit items-center space-x-2 rounded-md border border-gray-200 bg-white px-3 py-2 transition-colors hover:bg-gray-100",children:[r("div",{className:"relative h-3 w-3",children:[e("div",{className:n("absolute inset-0 m-auto h-3 w-3 animate-ping items-center justify-center rounded-full group-hover:animate-none",t,i==="Loading status..."&&"animate-none")}),e("div",{className:n("absolute inset-0 z-10 m-auto h-3 w-3 rounded-full",t)})]}),e("p",{className:"text-sm font-medium text-gray-800",children:i})]})}export{Y as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{c as b}from"./chunk-JVOLGC6U.mjs";import{a as h}from"./chunk-MINTMV45.mjs";import{b as p,d as f,i as g,j as i}from"./chunk-5PZS4TTS.mjs";import{ChevronDown as w,Menu as x,X as C}from"lucide-react";import r from"next/link";import{useParams as N}from"next/navigation";import{useEffect as _,useState as v}from"react";import z from"swr";import{Fragment as D,jsx as e,jsxs as s}from"react/jsx-runtime";function j({theme:n="light"}){let{domain:m="dub.co"}=N(),[a,o]=v(!1);_(()=>{a?document.body.style.overflow="hidden":document.body.style.overflow="auto"},[a]);let{data:t}=z(m==="dub.co"&&"/api/auth/session",g,{dedupingInterval:6e4});return s("div",{className:i(n==="dark"&&"dark"),children:[e("button",{onClick:()=>o(!a),className:i("fixed right-3 top-3 z-40 rounded-full p-2 transition-colors duration-200 hover:bg-gray-200 focus:outline-none active:bg-gray-300 lg:hidden dark:hover:bg-white/20 dark:active:bg-white/30",a&&"hover:bg-gray-100 active:bg-gray-200"),children:a?e(C,{className:"h-5 w-5 text-gray-600 dark:text-white/70"}):e(x,{className:"h-5 w-5 text-gray-600 dark:text-white/70"})}),e("nav",{className:i("fixed inset-0 z-20 hidden w-full bg-white px-5 py-16 lg:hidden dark:bg-black dark:text-white/70",a&&"block"),children:s("ul",{className:"grid divide-y divide-gray-200 dark:divide-white/[0.15]",children:[b.map(({name:l,href:u,childItems:d},c)=>e(L,{name:l,href:u,childItems:d,setOpen:o},c)),t&&Object.keys(t).length>0?e("li",{className:"py-3",children:e(r,{href:f,className:"flex w-full font-semibold capitalize",children:"Dashboard"})}):s(D,{children:[e("li",{className:"py-3",children:e(r,{href:`${f}/login`,className:"flex w-full font-semibold capitalize",children:"Log in"})}),e("li",{className:"py-3",children:e(r,{href:`${f}/register`,className:"flex w-full font-semibold capitalize",children:"Sign Up"})})]})]})})]})}var L=({name:n,href:m,childItems:a,setOpen:o})=>{let{domain:t="dub.co"}=N(),[l,u]=v(!1);return a?e("li",{className:"py-3",children:s(h,{height:!0,children:[s("button",{className:"flex w-full justify-between",onClick:()=>u(!l),children:[e("p",{className:"font-semibold",children:n}),e(w,{className:i("h-5 w-5 text-gray-500 transition-all dark:text-white/50",l&&"rotate-180")})]}),l&&e("div",{className:"grid gap-4 overflow-hidden py-4",children:a.map(({title:d,href:c,icon:y,iconClassName:k})=>s(r,{href:p(c,t,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:t,utm_content:d}),onClick:()=>o(!1),className:"flex w-full space-x-2",children:[e(y,{className:i("h-5 w-5 text-gray-500 dark:text-white/80",k)}),e("span",{className:"text-sm",children:d})]},c))})]})}):m?e("li",{className:"py-3",children:e(r,{href:p(m,t,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:t,utm_content:n}),onClick:()=>o(!1),className:"flex w-full font-semibold capitalize",children:n})}):null};export{j as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as q}from"./chunk-BIAIRAN3.mjs";import{c as C}from"./chunk-HUKCLCRK.mjs";import{a as I}from"./chunk-RVCCWBMV.mjs";import{a as U}from"./chunk-AEGZBXD3.mjs";import{a as H}from"./chunk-TTBXL73X.mjs";import{a as F}from"./chunk-NWME2ANF.mjs";import{j as T}from"./chunk-FHJV2JPW.mjs";import{enUS as Z}from"date-fns/locale";import{useEffect as N,useMemo as B,useState as S}from"react";import{format as M}from"date-fns";import{createContext as W}from"react";var A=W({isOpen:!1,setIsOpen:()=>{}}),X=()=>{let a=typeof window<"u"?window.navigator.language:"en-US",l=new Intl.DateTimeFormat(a,{hour:"numeric"}).format();return Number.isInteger(Number(l))},Y=(a,l,s=!1)=>{let i=!X(),e;return s?e=i?M(a,"d MMM, yyyy h:mm a",{locale:l}):M(a,"d MMM, yyyy HH:mm",{locale:l}):e=M(a,"d MMM, yyyy",{locale:l}),e},L=(a,l)=>{let{toYear:s,fromYear:i,fromMonth:e,toMonth:h,fromDay:y,toDay:P}=l;if(a&&a.length>0){let v=i,u=s;a.forEach(t=>{var R,$,x,g,E,D;if("date"in t){let d=t.date.getFullYear();if(i&&d<i)throw new Error(`Preset ${t.label} is before fromYear ${v}.`);if(s&&d>s)throw new Error(`Preset ${t.label} is after toYear ${u}.`);if(e&&t.date.getMonth()<e.getMonth())throw new Error(`Preset ${t.label} is before fromMonth ${e}.`);if(h&&t.date.getMonth()>h.getMonth())throw new Error(`Preset ${t.label} is after toMonth ${h}.`);if(y&&t.date.getDate()<y.getDate())throw new Error(`Preset ${t.label} is before fromDay ${y}.`);if(P&&t.date.getDate()>P.getDate())throw new Error(`Preset ${t.label} is after toDay ${M(P,"MMM dd, yyyy")}.`)}if("dateRange"in t){let d=(R=t.dateRange.from)==null?void 0:R.getFullYear(),f=($=t.dateRange.to)==null?void 0:$.getFullYear();if(d&&i&&d<i)throw new Error(`Preset ${t.label}'s 'from' is before fromYear ${v}.`);if(f&&s&&f>s)throw new Error(`Preset ${t.label}'s 'to' is after toYear ${u}.`);if(e){let n=(x=t.dateRange.from)==null?void 0:x.getMonth();if(n&&n<e.getMonth())throw new Error(`Preset ${t.label}'s 'from' is before fromMonth ${M(e,"MMM, yyyy")}.`)}if(h){let n=(g=t.dateRange.to)==null?void 0:g.getMonth();if(n&&n>h.getMonth())throw new Error(`Preset ${t.label}'s 'to' is after toMonth ${M(h,"MMM, yyyy")}.`)}if(y){let n=(E=t.dateRange.from)==null?void 0:E.getDate();if(n&&n<y.getDate())throw new Error(`Preset ${t.dateRange.from}'s 'from' is before fromDay ${M(y,"MMM dd, yyyy")}.`)}if(P){let n=(D=t.dateRange.to)==null?void 0:D.getDate();if(n&&n>P.getDate())throw new Error(`Preset ${t.label}'s 'to' is after toDay ${M(P,"MMM dd, yyyy")}.`)}}})}};import{jsx as m,jsxs as j}from"react/jsx-runtime";var _=({value:a,defaultValue:l,presetId:s,onChange:i,presets:e,disabled:h,disableNavigation:y,disabledDays:P,showYearNavigation:v=!1,locale:u=Z,placeholder:t="Select date range",hasError:R,align:$="center",className:x,...g})=>{let{isDesktop:E}=F(),[D,d]=S(!1),[f,n]=S(e&&s?e==null?void 0:e.find(({id:r})=>r===s):void 0),[o,w]=S((f==null?void 0:f.dateRange)??a??l??void 0),[K,k]=S(o==null?void 0:o.to),Q=B(()=>o,[D]);N(()=>{w(a)},[a]),N(()=>{let r=e==null?void 0:e.find(({id:b})=>b===s);n(r),w((r==null?void 0:r.dateRange)??a??l)},[e,s]),N(()=>{D?o&&k(o.to):k(o==null?void 0:o.to)},[D]);let V=(r,b)=>{let c=(o==null?void 0:o.from)&&(o==null?void 0:o.to)?{from:b}:r;w(c),n(void 0),(c==null?void 0:c.from)&&(c==null?void 0:c.to)&&(i==null||i(c),d(!1))},O=r=>{w(r.dateRange),n(r),i==null||i(r.dateRange,r),d(!1)},z=()=>{w(Q),d(!1)},G=r=>{r||z(),d(r)},J=B(()=>o?`${o.from?Y(o.from,u):""} - ${o.to?Y(o.to,u):""}`:null,[o,u]);return C((e==null?void 0:e.filter(r=>r.shortcut).map(r=>r.shortcut))??[],r=>{let b=e==null?void 0:e.find(c=>c.shortcut===r.key);b&&O(b)}),m(A.Provider,{value:{isOpen:D,setIsOpen:d},children:m(H,{align:$,openPopover:D,setOpenPopover:G,popoverContentClassName:"rounded-xl",content:m("div",{className:"flex w-full",children:j("div",{className:"scrollbar-hide flex w-full flex-col overflow-x-scroll sm:flex-row-reverse sm:items-start",children:[e&&e.length>0&&m("div",{className:T("relative flex h-16 w-full items-center sm:h-full sm:w-48","border-b border-gray-200 sm:border-b-0 sm:border-l","scrollbar-hide overflow-auto"),children:m("div",{className:"absolute px-3 sm:inset-0 sm:left-0 sm:p-3",children:m(U,{currentValue:o,presets:e,onSelect:O})})}),m("div",{className:"scrollbar-hide overflow-x-scroll",children:m(I,{mode:"range",selected:o,onSelect:V,month:K,onMonthChange:k,numberOfMonths:E?2:1,disabled:P,disableNavigation:y,showYearNavigation:v,locale:u,className:"scrollbar-hide overflow-x-scroll",classNames:{months:"flex flex-row divide-x divide-gray-200 overflow-x-scroll scrollbar-hide"},...g})})]})}),children:m(q,{placeholder:t,disabled:h,className:x,hasError:R,"aria-required":g.required||g["aria-required"],"aria-invalid":g["aria-invalid"],"aria-label":g["aria-label"],"aria-labelledby":g["aria-labelledby"],children:(f==null?void 0:f.label)??J})})})};function he({presets:a,...l}){return a&&L(a,l),m(_,{presets:a,...l})}export{A as a,he as b};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{j as t}from"./chunk-5PZS4TTS.mjs";import{jsx as C,jsxs as a}from"react/jsx-runtime";function r({className:L}){return a("svg",{className:t("h-full w-full",L),viewBox:"0 0 222 222",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[C("circle",{cx:"111",cy:"111",r:"111",fill:"black"}),C("path",{d:"M173.607 97.7454C176.886 87.8002 175.751 76.9142 170.492 67.8719C162.584 54.0098 146.691 46.8792 131.17 50.2298C122.423 40.4311 109.151 36.0738 96.3504 38.7981C83.5497 41.5224 73.1632 50.9148 69.1005 63.4398C58.9049 65.5455 50.1051 71.9745 44.9529 81.0819C36.9593 94.9215 38.7736 112.379 49.4395 124.252C46.1479 134.192 47.2727 145.08 52.5258 154.125C60.4432 167.992 76.3466 175.122 91.8764 171.767C98.784 179.601 108.708 184.058 119.11 183.999C135.02 184.014 149.114 173.67 153.974 158.414C164.168 156.304 172.967 149.876 178.122 140.771C186.019 126.956 184.197 109.593 173.607 97.7454ZM119.11 174.444C112.76 174.454 106.609 172.213 101.735 168.112L102.593 167.623L131.456 150.844C132.917 149.981 133.818 148.406 133.827 146.7V105.717L146.03 112.826C146.152 112.889 146.237 113.006 146.258 113.143V147.103C146.227 162.19 134.091 174.412 119.11 174.444ZM60.756 149.348C57.5714 143.81 56.428 137.318 57.5268 131.015L58.3841 131.533L87.2755 148.312C88.7311 149.172 90.535 149.172 91.9907 148.312L127.283 127.82V142.009C127.277 142.158 127.203 142.296 127.083 142.383L97.849 159.363C84.8581 166.9 68.2607 162.419 60.756 149.348ZM53.1545 86.032C56.3612 80.4583 61.4227 76.207 67.443 74.0308V108.567C67.4209 110.266 68.3188 111.843 69.7863 112.682L104.907 133.087L92.7051 140.196C92.5711 140.267 92.4105 140.267 92.2764 140.196L63.0993 123.244C50.134 115.676 45.6875 98.9734 53.1545 85.8881V86.032ZM153.403 109.488L118.167 88.8812L130.341 81.8013C130.475 81.7297 130.636 81.7297 130.77 81.8013L159.947 98.7815C169.053 104.074 174.307 114.185 173.432 124.737C172.557 135.289 165.712 144.383 155.86 148.082V113.546C155.809 111.851 154.875 110.309 153.403 109.488ZM165.548 91.0973L164.691 90.5792L135.856 73.6566C134.392 72.7912 132.577 72.7912 131.113 73.6566L95.8486 94.1479V79.9594C95.8333 79.8125 95.8991 79.6689 96.02 79.5853L125.197 62.6339C134.326 57.3376 145.672 57.8319 154.312 63.9022C162.953 69.9726 167.331 80.5253 165.548 90.9821V91.0973ZM89.1901 116.251L76.9877 109.171C76.8644 109.096 76.7807 108.969 76.7591 108.826V74.9517C76.773 64.3439 82.8721 54.6994 92.4112 50.201C101.95 45.7026 113.211 47.1605 121.311 53.9424L120.453 54.4316L91.5906 71.2103C90.1293 72.0736 89.2279 73.6485 89.2187 75.3546L89.1901 116.251ZM95.82 101.861L111.537 92.7377L127.283 101.861V120.107L111.595 129.231L95.8486 120.107L95.82 101.861Z",fill:"url(#paint0_radial_39_26)"}),C("defs",{children:a("radialGradient",{id:"paint0_radial_39_26",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(40 38) rotate(45.5947) scale(204.365 204.365)",children:[C("stop",{stopColor:"white",stopOpacity:"0.85"}),C("stop",{offset:"1",stopColor:"white",stopOpacity:"0.1"})]})})]})}export{r as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{c as l,d as p}from"./chunk-3YM3OBBI.mjs";import{a as n,c,d as u}from"./chunk-4O6IROTY.mjs";import{c as s,q as m}from"./chunk-ITSRU362.mjs";import{jsx as e,jsxs as d}from"react/jsx-runtime";function g({domain:o}){return d("div",{className:"grid w-[32rem] grid-cols-[5fr_3.5fr]",children:[d("div",{className:"p-5",children:[e("p",{className:m(n,"mb-2"),children:"Profiles"}),e("div",{className:"-mx-2 flex flex-col gap-0.5",children:l.map(({icon:i,title:r,description:t,href:a})=>e(c,{href:s(a,o,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:o,utm_content:r}),icon:e(u,{icon:i}),title:r,description:t}))})]}),d("div",{className:"border-l border-gray-200 p-5 dark:border-white/20",children:[e("p",{className:m(n,"mb-2"),children:"SDKs"}),e("div",{className:"-mx-2 flex flex-col gap-0.5",children:p.map(({icon:i,iconClassName:r,title:t,href:a})=>e(c,{href:s(a,o,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:o,utm_content:t}),icon:e(i,{className:m("h-5 w-5 shrink-0 text-gray-600 transition-colors dark:text-white/60",r)}),title:t,showArrow:!0},a))})]})]})}export{g as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{j as l}from"./chunk-JEWM5H4Z.mjs";import{LayoutGroup as g,motion as r}from"framer-motion";import{useId as d}from"react";import{jsx as t,jsxs as p}from"react/jsx-runtime";function y({options:i,selected:o,selectAction:n,className:u,style:s}){let a=d();return t(g,{id:a,children:t(r.div,{layout:!0,className:l("relative inline-flex items-center gap-1 rounded-xl border border-gray-200 bg-white p-1",u),style:s,children:i.map(e=>p("button",{type:"button",className:l("relative z-10 flex items-center gap-2 px-3 py-1 text-sm font-medium capitalize",{"transition-all hover:text-gray-500":e.value!==o}),onClick:()=>n(e.value),children:[t("p",{children:e.label}),e.badge,e.value===o&&t(r.div,{layoutId:a,className:"absolute left-0 top-0 -z-[1] h-full w-full rounded-lg border border-gray-200 bg-gray-50",transition:{duration:.25}})]},e.value))})})}export{y as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{jsx as r,jsxs as n}from"react/jsx-runtime";function s(e){return r("svg",{viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg",...e,children:n("g",{fill:"currentColor",children:[r("rect",{height:"12.5",width:"4",fill:"none",rx:"1",ry:"1",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",x:"5.75",y:"2.75"}),r("rect",{height:"10.5",width:"3",fill:"none",rx:"1",ry:"1",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",x:"2.75",y:"4.75"}),r("rect",{height:"10.5",width:"3.5",fill:"none",rx:"1",ry:"1",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",transform:"translate(-2.382 4.324) rotate(-17.344)",x:"11.235",y:"4.719"}),r("line",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",x1:"10.934",x2:"14.275",y1:"9.272",y2:"8.228"}),r("line",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",x1:"5.75",x2:"9.75",y1:"7.25",y2:"7.25"}),r("line",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",x1:"2.75",x2:"5.75",y1:"8.75",y2:"8.75"}),r("line",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",x1:"1",x2:"17",y1:"15.25",y2:"15.25"})]})})}import{jsx as o,jsxs as i}from"react/jsx-runtime";function f(e){return o("svg",{viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg",...e,children:i("g",{fill:"currentColor",children:[o("path",{d:"M2.25 4.75C2.25 3.64543 3.14543 2.75 4.25 2.75H13.75C14.8546 2.75 15.75 3.64543 15.75 4.75V6.25H2.25V4.75Z",fill:"currentColor",fillOpacity:"0.3",stroke:"none"}),o("path",{d:"M5.75 2.75V0.75",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"}),o("path",{d:"M12.25 2.75V0.75",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"}),o("path",{d:"M13.75 2.75H4.25C3.14543 2.75 2.25 3.64543 2.25 4.75V13.25C2.25 14.3546 3.14543 15.25 4.25 15.25H13.75C14.8546 15.25 15.75 14.3546 15.75 13.25V4.75C15.75 3.64543 14.8546 2.75 13.75 2.75Z",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"}),o("path",{d:"M2.25 6.25H15.75",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"}),o("path",{d:"M9 8.25C8.449 8.25 8 8.699 8 9.25C8 9.801 8.449 10.25 9 10.25C9.551 10.25 10 9.801 10 9.25C10 8.699 9.551 8.25 9 8.25Z",fill:"currentColor",stroke:"none"}),o("path",{d:"M12.5 10.25C13.051 10.25 13.5 9.801 13.5 9.25C13.5 8.699 13.051 8.25 12.5 8.25C11.949 8.25 11.5 8.699 11.5 9.25C11.5 9.801 11.949 10.25 12.5 10.25Z",fill:"currentColor",stroke:"none"}),o("path",{d:"M9 11.25C8.449 11.25 8 11.699 8 12.25C8 12.801 8.449 13.25 9 13.25C9.551 13.25 10 12.801 10 12.25C10 11.699 9.551 11.25 9 11.25Z",fill:"currentColor",stroke:"none"}),o("path",{d:"M5.5 11.25C4.949 11.25 4.5 11.699 4.5 12.25C4.5 12.801 4.949 13.25 5.5 13.25C6.051 13.25 6.5 12.801 6.5 12.25C6.5 11.699 6.051 11.25 5.5 11.25Z",fill:"currentColor",stroke:"none"}),o("path",{d:"M12.5 11.25C11.949 11.25 11.5 11.699 11.5 12.25C11.5 12.801 11.949 13.25 12.5 13.25C13.051 13.25 13.5 12.801 13.5 12.25C13.5 11.699 13.051 11.25 12.5 11.25Z",fill:"currentColor",stroke:"none"})]})})}import{jsx as t,jsxs as l}from"react/jsx-runtime";function k(e){return t("svg",{height:"18",width:"18",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg",...e,children:l("g",{fill:"currentColor",children:[t("rect",{height:"12.5",width:"14.5",fill:"none",rx:"2",ry:"2",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",x:"1.75",y:"2.75"}),t("line",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",x1:"5",x2:"13",y1:"6.25",y2:"6.25"}),t("line",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",x1:"5",x2:"9.25",y1:"11.75",y2:"11.75"}),t("line",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",x1:"5",x2:"13",y1:"9",y2:"9"})]})})}export{s as a,f as b,k as c};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{c as b}from"./chunk-LW6SSHEU.mjs";import{a as h}from"./chunk-RUPXUU27.mjs";import{b as p,d as f,i as g,j as i}from"./chunk-OCWW7DB6.mjs";import{ChevronDown as w,Menu as x,X as C}from"lucide-react";import r from"next/link";import{useParams as N}from"next/navigation";import{useEffect as _,useState as v}from"react";import z from"swr";import{Fragment as D,jsx as e,jsxs as s}from"react/jsx-runtime";function j({theme:n="light"}){let{domain:m="dub.co"}=N(),[a,o]=v(!1);_(()=>{a?document.body.style.overflow="hidden":document.body.style.overflow="auto"},[a]);let{data:t}=z(m==="dub.co"&&"/api/auth/session",g,{dedupingInterval:6e4});return s("div",{className:i(n==="dark"&&"dark"),children:[e("button",{onClick:()=>o(!a),className:i("fixed right-3 top-3 z-40 rounded-full p-2 transition-colors duration-200 hover:bg-gray-200 focus:outline-none active:bg-gray-300 lg:hidden dark:hover:bg-white/20 dark:active:bg-white/30",a&&"hover:bg-gray-100 active:bg-gray-200"),children:a?e(C,{className:"h-5 w-5 text-gray-600 dark:text-white/70"}):e(x,{className:"h-5 w-5 text-gray-600 dark:text-white/70"})}),e("nav",{className:i("fixed inset-0 z-20 hidden w-full bg-white px-5 py-16 lg:hidden dark:bg-black dark:text-white/70",a&&"block"),children:s("ul",{className:"grid divide-y divide-gray-200 dark:divide-white/[0.15]",children:[b.map(({name:l,href:u,childItems:d},c)=>e(L,{name:l,href:u,childItems:d,setOpen:o},c)),t&&Object.keys(t).length>0?e("li",{className:"py-3",children:e(r,{href:f,className:"flex w-full font-semibold capitalize",children:"Dashboard"})}):s(D,{children:[e("li",{className:"py-3",children:e(r,{href:`${f}/login`,className:"flex w-full font-semibold capitalize",children:"Log in"})}),e("li",{className:"py-3",children:e(r,{href:`${f}/register`,className:"flex w-full font-semibold capitalize",children:"Sign Up"})})]})]})})]})}var L=({name:n,href:m,childItems:a,setOpen:o})=>{let{domain:t="dub.co"}=N(),[l,u]=v(!1);return a?e("li",{className:"py-3",children:s(h,{height:!0,children:[s("button",{className:"flex w-full justify-between",onClick:()=>u(!l),children:[e("p",{className:"font-semibold",children:n}),e(w,{className:i("h-5 w-5 text-gray-500 transition-all dark:text-white/50",l&&"rotate-180")})]}),l&&e("div",{className:"grid gap-4 overflow-hidden py-4",children:a.map(({title:d,href:c,icon:y,iconClassName:k})=>s(r,{href:p(c,t,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:t,utm_content:d}),onClick:()=>o(!1),className:"flex w-full space-x-2",children:[e(y,{className:i("h-5 w-5 text-gray-500 dark:text-white/80",k)}),e("span",{className:"text-sm",children:d})]},c))})]})}):m?e("li",{className:"py-3",children:e(r,{href:p(m,t,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:t,utm_content:n}),onClick:()=>o(!1),className:"flex w-full font-semibold capitalize",children:n})}):null};export{j as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as Q}from"./chunk-FJOHQ7TY.mjs";import{a as H}from"./chunk-GVBIGY6N.mjs";import{a as A}from"./chunk-NWME2ANF.mjs";import{a as j}from"./chunk-PMSOEQDW.mjs";import{k as K}from"./chunk-DHOAFSGT.mjs";import{a as V}from"./chunk-WMTXO7RT.mjs";import{a as F}from"./chunk-JOLDVN3E.mjs";import{a as $}from"./chunk-IHTRL6TU.mjs";import{a as B}from"./chunk-JW75YDRU.mjs";import{a as S}from"./chunk-HQE2UE2V.mjs";import{j as m}from"./chunk-JEWM5H4Z.mjs";import{Command as b,CommandInput as re,CommandItem as le,useCommandState as ie}from"cmdk";import{ChevronDown as ce}from"lucide-react";import{forwardRef as me,isValidElement as de,useCallback as pe,useEffect as h,useRef as ue,useState as f}from"react";import{Fragment as T,jsx as e,jsxs as i}from"react/jsx-runtime";function fe(s,o){return s===!0}function Ee({multiple:s,selected:o,setSelected:l,options:a,icon:d,placeholder:Z="Select...",searchPlaceholder:q="Search...",emptyState:x,createLabel:y,onCreate:g,buttonProps:c,shortcutHint:P,caret:G,side:J,open:X,onOpenChange:Y,onSearchChange:N,shouldFilter:I=!0,optionClassName:R,matchTriggerWidth:z,children:_}){let E=fe(s,l),n=Array.isArray(o)?o:o?[o]:[],{isMobile:ee}=A(),[te,se]=f(!1),C=X??te,v=Y??se,[r,w]=f(""),[L,O]=f(!1),[k,oe]=f(void 0),[ae,D]=f(!1),ne=t=>{var p;if(E){let M=n.some(({value:u})=>u===t.value);l(M?n.filter(({value:u})=>u!==t.value):[...n,t])}else l(n.length&&((p=n[0])==null?void 0:p.value)===t.value?null:t),v(!1)},W=pe((t,p)=>p===""?[...n,...t.filter(M=>n.findIndex(u=>u.value===M.value)===-1)]:t,[n]);return h(()=>{L&&(oe(a&&W(a,r)),O(!1))},[L,a,W,r]),h(()=>{O(!0)},[a]),h(()=>{C||(w(""),O(!0))},[C]),h(()=>N==null?void 0:N(r),[r]),e(Q,{openPopover:C,setOpenPopover:v,align:"start",side:J,onWheel:t=>{t.stopPropagation()},popoverContentClassName:m(z&&"sm:w-[var(--radix-popover-trigger-width)]"),content:e(j,{width:!ee&&!z,height:!0,style:{transform:"translateZ(0)"},transition:{ease:"easeInOut",duration:.1},children:i(b,{loop:!0,shouldFilter:I,children:[i("div",{className:"flex items-center overflow-hidden rounded-t-lg border-b border-gray-200",children:[e(re,{placeholder:q,value:r,onValueChange:w,className:"grow border-0 py-3 pl-4 pr-2 outline-none placeholder:text-gray-400 focus:ring-0 sm:text-sm",onKeyDown:t=>{(t.key==="Escape"||t.key==="Backspace"&&!r)&&(t.preventDefault(),t.stopPropagation(),v(!1))}}),P&&e("kbd",{className:"mr-2 hidden shrink-0 rounded bg-gray-200 px-2 py-0.5 text-xs font-light text-gray-500 md:block",children:P})]}),e(xe,{children:e(b.List,{className:m("flex w-full min-w-[100px] flex-col gap-1 p-1"),children:k!==void 0?i(T,{children:[k.map(t=>e(ge,{option:t,multiple:E,selected:n.some(({value:p})=>p===t.value),onSelect:()=>ne(t),className:R},`${t.label}, ${t.value}`)),r.length>0&&g&&i(le,{className:m("flex cursor-pointer items-center gap-3 whitespace-nowrap rounded-md px-3 py-2 text-left text-sm text-gray-700","data-[selected=true]:bg-gray-100",R),onSelect:async()=>{D(!0),await(g==null?void 0:g(r))&&(w(""),v(!1)),D(!1)},children:[ae?e(S,{className:"size-4 shrink-0"}):e(V,{className:"size-4 shrink-0"}),e("div",{className:"grow truncate",children:(y==null?void 0:y(r))||`Create "${r}"`})]}),I?e(ve,{className:"flex min-h-12 items-center justify-center text-sm text-gray-500",children:x||"No matches"}):k.length===0?e("div",{className:"flex min-h-12 items-center justify-center text-sm text-gray-500",children:x||"No matches"}):null]}):e(b.Loading,{children:e("div",{className:"flex h-12 items-center justify-center",children:e(S,{})})})})})]})}),children:e(K,{variant:"secondary",...c,className:m(c==null?void 0:c.className,"flex gap-2"),textWrapperClassName:m(c==null?void 0:c.textWrapperClassName,"w-full flex items-center justify-start"),text:i(T,{children:[e("div",{className:"min-w-0 grow truncate text-left",children:_||n.map(t=>t.label).join(", ")||Z}),G&&e(ce,{className:"ml-1 size-4 shrink-0 text-gray-400 transition-transform duration-75 group-data-[state=open]:rotate-180"})]}),icon:d?U(d)?d:e(d,{className:"size-4"}):void 0})})}var xe=({children:s})=>{let o=ue(null),{scrollProgress:l,updateScrollProgress:a}=H(o);return i(T,{children:[e("div",{className:"scrollbar-hide max-h-[min(50vh,250px)] w-screen overflow-y-scroll sm:w-auto",ref:o,onScroll:a,children:s}),e("div",{className:"pointer-events-none absolute bottom-0 left-0 hidden h-16 w-full rounded-b-lg bg-gradient-to-t from-white sm:block",style:{opacity:1-Math.pow(l,2)}})]})};function ge({option:s,onSelect:o,multiple:l,selected:a,className:d}){return i(b.Item,{className:m("flex cursor-pointer items-center gap-3 whitespace-nowrap rounded-md px-3 py-2 text-left text-sm","data-[selected=true]:bg-gray-100",d),onSelect:o,value:s.label+(s==null?void 0:s.value),children:[l&&e("div",{className:"shrink-0 text-gray-600",children:a?e(F,{className:"size-4 text-gray-600"}):e($,{className:"size-4 text-gray-400"})}),i("div",{className:"flex min-w-0 grow items-center gap-1",children:[s.icon&&e("span",{className:"shrink-0 text-gray-600",children:U(s.icon)?s.icon:e(s.icon,{className:"h-4 w-4"})}),e("span",{className:"grow truncate",children:s.label})]}),!l&&a&&e(B,{className:"size-4 shrink-0 text-gray-600"})]})}var U=s=>de(s),ve=me((s,o)=>ie(a=>a.filtered.count===0)?e("div",{ref:o,"cmdk-empty":"",role:"presentation",...s}):null);export{Ee as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{j as l}from"./chunk-5PZS4TTS.mjs";import{jsx as t,jsxs as e}from"react/jsx-runtime";function o({className:a}){return e("div",{className:"group relative flex items-center",children:[t("svg",{className:l("absolute h-4 w-4 transition-all group-hover:translate-x-1 group-hover:opacity-0",a),xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16",width:"16",height:"16",children:t("path",{fillRule:"evenodd",d:"M6.22 3.22a.75.75 0 011.06 0l4.25 4.25a.75.75 0 010 1.06l-4.25 4.25a.75.75 0 01-1.06-1.06L9.94 8 6.22 4.28a.75.75 0 010-1.06z"})}),t("svg",{className:`${a||"h-4 w-4"} absolute opacity-0 transition-all group-hover:translate-x-1 group-hover:opacity-100`,xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16",width:"16",height:"16",children:t("path",{fillRule:"evenodd",d:"M8.22 2.97a.75.75 0 011.06 0l4.25 4.25a.75.75 0 010 1.06l-4.25 4.25a.75.75 0 01-1.06-1.06l2.97-2.97H3.75a.75.75 0 010-1.5h7.44L8.22 4.03a.75.75 0 010-1.06z"})})]})}export{o as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{jsx as o,jsxs as n}from"react/jsx-runtime";function e(r){return o("svg",{viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg",...r,children:n("g",{fill:"currentColor",children:[o("path",{d:"M2.25 4.75C2.25 3.64543 3.14543 2.75 4.25 2.75H13.75C14.8546 2.75 15.75 3.64543 15.75 4.75V6.25H2.25V4.75Z",fill:"currentColor",fillOpacity:"0.3",stroke:"none"}),o("path",{d:"M5.75 2.75V0.75",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"}),o("path",{d:"M12.25 2.75V0.75",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"}),o("path",{d:"M13.75 2.75H4.25C3.14543 2.75 2.25 3.64543 2.25 4.75V13.25C2.25 14.3546 3.14543 15.25 4.25 15.25H13.75C14.8546 15.25 15.75 14.3546 15.75 13.25V4.75C15.75 3.64543 14.8546 2.75 13.75 2.75Z",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"}),o("path",{d:"M2.25 6.25H15.75",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"}),o("path",{d:"M9 8.25C8.449 8.25 8 8.699 8 9.25C8 9.801 8.449 10.25 9 10.25C9.551 10.25 10 9.801 10 9.25C10 8.699 9.551 8.25 9 8.25Z",fill:"currentColor",stroke:"none"}),o("path",{d:"M12.5 10.25C13.051 10.25 13.5 9.801 13.5 9.25C13.5 8.699 13.051 8.25 12.5 8.25C11.949 8.25 11.5 8.699 11.5 9.25C11.5 9.801 11.949 10.25 12.5 10.25Z",fill:"currentColor",stroke:"none"}),o("path",{d:"M9 11.25C8.449 11.25 8 11.699 8 12.25C8 12.801 8.449 13.25 9 13.25C9.551 13.25 10 12.801 10 12.25C10 11.699 9.551 11.25 9 11.25Z",fill:"currentColor",stroke:"none"}),o("path",{d:"M5.5 11.25C4.949 11.25 4.5 11.699 4.5 12.25C4.5 12.801 4.949 13.25 5.5 13.25C6.051 13.25 6.5 12.801 6.5 12.25C6.5 11.699 6.051 11.25 5.5 11.25Z",fill:"currentColor",stroke:"none"}),o("path",{d:"M12.5 11.25C11.949 11.25 11.5 11.699 11.5 12.25C11.5 12.801 11.949 13.25 12.5 13.25C13.051 13.25 13.5 12.801 13.5 12.25C13.5 11.699 13.051 11.25 12.5 11.25Z",fill:"currentColor",stroke:"none"})]})})}export{e as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{j as l}from"./chunk-JKEYJCYP.mjs";import{jsx as t,jsxs as e}from"react/jsx-runtime";function o({className:a}){return e("div",{className:"group relative flex items-center",children:[t("svg",{className:(void 0)("absolute h-4 w-4 transition-all group-hover:translate-x-1 group-hover:opacity-0",a),xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16",width:"16",height:"16",children:t("path",{fillRule:"evenodd",d:"M6.22 3.22a.75.75 0 011.06 0l4.25 4.25a.75.75 0 010 1.06l-4.25 4.25a.75.75 0 01-1.06-1.06L9.94 8 6.22 4.28a.75.75 0 010-1.06z"})}),t("svg",{className:`${a||"h-4 w-4"} absolute opacity-0 transition-all group-hover:translate-x-1 group-hover:opacity-100`,xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16",width:"16",height:"16",children:t("path",{fillRule:"evenodd",d:"M8.22 2.97a.75.75 0 011.06 0l4.25 4.25a.75.75 0 010 1.06l-4.25 4.25a.75.75 0 01-1.06-1.06l2.97-2.97H3.75a.75.75 0 010-1.5h7.44L8.22 4.03a.75.75 0 010-1.06z"})})]})}export{o as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{j as s}from"./chunk-5PZS4TTS.mjs";import{AlertCircle as c,EyeIcon as u,EyeOffIcon as m}from"lucide-react";import f,{useCallback as p,useState as x}from"react";import{jsx as e,jsxs as o}from"react/jsx-runtime";var g=f.forwardRef(({className:n,type:a,...r},l)=>{let[t,i]=x(!1),d=p(()=>i(!t),[t,i]);return o("div",{children:[o("div",{className:"relative flex",children:[e("input",{type:t?"text":a,className:s("w-full max-w-md rounded-md border border-gray-300 text-gray-900 placeholder-gray-400 focus:border-gray-500 focus:outline-none focus:ring-gray-500 sm:text-sm",r.error&&"border-red-500 focus:border-red-500 focus:ring-red-500",n),ref:l,...r}),o("div",{className:"group",children:[r.error&&e("div",{className:"pointer-events-none absolute inset-y-0 right-0 flex flex-none items-center px-2.5",children:e(c,{className:s("size-5 text-white",a==="password"&&"transition-opacity group-hover:opacity-0"),fill:"#ef4444"})}),a==="password"&&e("button",{className:s("absolute inset-y-0 right-0 flex items-center px-3",r.error&&"opacity-0 transition-opacity group-hover:opacity-100"),type:"button",onClick:()=>d(),"aria-label":t?"Hide password":"Show Password",children:t?e(u,{className:"size-4 flex-none text-gray-500 transition hover:text-gray-700","aria-hidden":!0}):e(m,{className:"size-4 flex-none text-gray-500 transition hover:text-gray-700","aria-hidden":!0})})]})]}),r.error&&e("span",{className:"mt-2 block text-sm text-red-500",role:"alert","aria-live":"assertive",children:r.error})]})});g.displayName="Input";export{g as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{j as a}from"./chunk-NDIMK4LK.mjs";import*as e from"@radix-ui/react-dialog";import{X as l}from"lucide-react";import*as s from"react";import{jsx as o,jsxs as n}from"react/jsx-runtime";var R=e.Root,y=e.Trigger,g=e.Close,c=e.Portal,h=s.forwardRef(({className:t,children:i,...r},m)=>o(c,{children:n(e.Content,{ref:m,className:a("fixed inset-y-0 right-0 z-50 h-full w-3/4 gap-4 border-l border-gray-200 bg-white p-6 shadow-xl transition ease-in-out sm:max-w-sm","data-[state=closed]:animate-slide-out-to-right data-[state=open]:animate-slide-in-from-right data-[state=closed]:duration-300 data-[state=open]:duration-500",t),...r,children:[n(e.Close,{className:"absolute right-4 top-4 rounded-md p-1 transition-colors hover:bg-gray-100 focus:outline-none focus:ring-0 disabled:pointer-events-none data-[state=open]:bg-gray-100",children:[o(l,{className:"size-4"}),o("span",{className:"sr-only",children:"Close"})]}),i]})}));h.displayName=e.Content.displayName;var p=({className:t,...i})=>o("div",{className:a("flex flex-col space-y-2 text-center sm:text-left",t),...i});p.displayName="SheetHeader";var d=({className:t,...i})=>o("div",{className:a("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...i});d.displayName="SheetFooter";var f=s.forwardRef(({className:t,...i},r)=>o(e.Title,{ref:r,className:a("text-foreground text-lg font-semibold",t),...i}));f.displayName=e.Title.displayName;var S=s.forwardRef(({className:t,...i},r)=>o(e.Description,{ref:r,className:a("text-muted-foreground text-sm",t),...i}));S.displayName=e.Description.displayName;export{R as a,y as b,g as c,c as d,h as e,p as f,d as g,f as h,S as i};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{q as t}from"./chunk-ITSRU362.mjs";import{jsx as C,jsxs as a}from"react/jsx-runtime";function l({className:i}){return a("svg",{className:t("h-full w-full",i),viewBox:"0 0 222 222",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[C("circle",{cx:"111",cy:"111",r:"111",fill:"#0D1117"}),C("path",{d:"M111.001 44C72.8976 44 42 74.7556 42 112.696C42 143.048 61.7708 168.798 89.1868 177.882C92.6352 178.518 93.9013 176.392 93.9013 174.577C93.9013 172.939 93.8373 167.528 93.8076 161.787C74.6115 165.943 70.5609 153.682 70.5609 153.682C67.4222 145.742 62.8997 143.63 62.8997 143.63C56.6393 139.367 63.3716 139.454 63.3716 139.454C70.3004 139.939 73.9488 146.534 73.9488 146.534C80.103 157.036 90.0906 154 94.0281 152.244C94.6474 147.804 96.4356 144.774 98.4089 143.058C83.0829 141.321 66.972 135.431 66.972 109.108C66.972 101.608 69.6674 95.4801 74.0814 90.6693C73.3649 88.939 71.0031 81.952 74.7498 72.4896C74.7498 72.4896 80.544 70.6433 93.7299 79.5312C99.2339 78.0091 105.137 77.2458 111.001 77.2196C116.864 77.2458 122.772 78.0091 128.286 79.5312C141.456 70.6433 147.242 72.4896 147.242 72.4896C150.998 81.952 148.635 88.939 147.919 90.6693C152.343 95.4801 155.02 101.608 155.02 109.108C155.02 135.493 138.878 141.303 123.513 143.004C125.988 145.136 128.194 149.316 128.194 155.725C128.194 164.917 128.114 172.315 128.114 174.577C128.114 176.405 129.356 178.547 132.853 177.873C160.254 168.779 180 143.038 180 112.696C180 74.7556 149.107 44 111.001 44ZM67.843 141.859C67.691 142.201 67.1517 142.303 66.6603 142.069C66.1599 141.844 65.8788 141.379 66.041 141.037C66.1896 140.685 66.73 140.587 67.2294 140.823C67.731 141.047 68.0166 141.517 67.843 141.859ZM71.237 144.874C70.9079 145.178 70.2646 145.037 69.8282 144.557C69.3768 144.078 69.2923 143.438 69.6259 143.129C69.9653 142.826 70.5892 142.968 71.0416 143.447C71.493 143.931 71.5809 144.567 71.237 144.874ZM73.5655 148.732C73.1427 149.024 72.4514 148.75 72.0241 148.139C71.6013 147.529 71.6013 146.796 72.0332 146.502C72.4617 146.209 73.1427 146.473 73.5758 147.079C73.9974 147.7 73.9974 148.433 73.5655 148.732ZM77.5034 153.2C77.1252 153.615 76.3196 153.504 75.73 152.937C75.1267 152.383 74.9588 151.597 75.3381 151.182C75.7209 150.766 76.531 150.883 77.1252 151.445C77.7239 151.998 77.9067 152.789 77.5034 153.2ZM82.5928 154.708C82.4259 155.246 81.6501 155.491 80.8685 155.262C80.0881 155.027 79.5774 154.397 79.7351 153.853C79.8973 153.311 80.6766 153.056 81.4639 153.301C82.2431 153.535 82.755 154.161 82.5928 154.708ZM88.3847 155.348C88.4041 155.915 87.7414 156.384 86.921 156.395C86.096 156.413 85.4287 155.954 85.4196 155.397C85.4196 154.825 86.0674 154.359 86.8924 154.346C87.7128 154.33 88.3847 154.785 88.3847 155.348ZM94.0746 155.131C94.1729 155.684 93.6027 156.251 92.788 156.403C91.987 156.548 91.2455 156.207 91.1438 155.659C91.0444 155.092 91.6248 154.525 92.4247 154.378C93.2405 154.237 93.9706 154.569 94.0746 155.131Z",fill:"url(#paint0_radial_39_32)"}),C("defs",{children:a("radialGradient",{id:"paint0_radial_39_32",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(42 44) rotate(44.1575) scale(192.354 192.312)",children:[C("stop",{stopColor:"white",stopOpacity:"0.77"}),C("stop",{offset:"1",stopColor:"white",stopOpacity:"0.1"})]})})]})}export{l as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as v}from"./chunk-6FNKCWNE.mjs";import{b as h}from"./chunk-EI5TDY3Y.mjs";import{c as f,f as y,j as l}from"./chunk-NDIMK4LK.mjs";import*as s from"@radix-ui/react-tooltip";import k from"linkify-react";import{HelpCircle as B}from"lucide-react";import C from"next/link";import{useState as R}from"react";import{cva as w}from"class-variance-authority";import{forwardRef as P}from"react";import{jsx as p,jsxs as T}from"react/jsx-runtime";var c=w("transition-all",{variants:{variant:{primary:"border-black bg-black text-white hover:bg-gray-800 hover:ring-4 hover:ring-gray-200",secondary:l("border-gray-200 bg-white text-gray-900 hover:bg-gray-50 focus-visible:border-gray-500 outline-none","data-[state=open]:border-gray-500 data-[state=open]:ring-4 data-[state=open]:ring-gray-200"),outline:"border-transparent text-gray-500 duration-75 hover:bg-gray-100",success:"border-blue-500 bg-blue-500 text-white hover:bg-blue-600 hover:ring-4 hover:ring-blue-100",danger:"border-red-500 bg-red-500 text-white hover:bg-red-600 hover:ring-4 hover:ring-red-100","danger-outline":"border-transparent bg-white text-red-500 hover:bg-red-600 hover:text-white"}},defaultVariants:{variant:"primary"}}),x=P(({text:t,variant:e="primary",className:o,textWrapperClassName:i,loading:n,icon:m,shortcut:a,disabledTooltip:b,...u},N)=>b?p(d,{content:b,children:T("div",{className:l("flex h-10 w-full cursor-not-allowed items-center justify-center gap-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==null?void 0:e.endsWith("outline")},o),children:[m,t&&p("div",{className:l("min-w-0 truncate",a&&"flex-1 text-left",i),children:t}),a&&p("kbd",{className:l("hidden rounded bg-gray-200 px-2 py-0.5 text-xs font-light text-gray-400 md:inline-block",{"bg-gray-100":e==null?void 0:e.endsWith("outline")}),children:a})]})}):T("button",{ref:N,type:u.onClick?"button":"submit",className:l("group flex h-10 w-full items-center justify-center gap-2 whitespace-nowrap rounded-md border px-4 text-sm",u.disabled||n?"cursor-not-allowed border-gray-200 bg-gray-100 text-gray-400 outline-none":c({variant:e}),o),disabled:u.disabled||n,...u,children:[n?p(v,{}):m||null,t&&p("div",{className:l("min-w-0 truncate",a&&"flex-1 text-left",i),children:t}),a&&p("kbd",{className:l("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-600 group-hover:text-gray-300":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:a})]}));x.displayName="Button";import{jsx as r,jsxs as g}from"react/jsx-runtime";function J({children:t}){return r(s.Provider,{delayDuration:150,children:t})}function d({children:t,content:e,side:o="top",disableHoverableContent:i,...n}){let[m,a]=R(!1);return g(s.Root,{open:m,onOpenChange:a,delayDuration:0,disableHoverableContent:i,children:[r(s.Trigger,{asChild:!0,onClick:()=>{a(!0)},onBlur:()=>{a(!1)},children:t}),r(s.Portal,{children:r(s.Content,{sideOffset:8,side:o,className:"animate-slide-up-fade z-[99] items-center overflow-hidden rounded-xl border border-gray-200 bg-white shadow-sm",collisionPadding:0,...n,children:typeof e=="string"?r("span",{className:"block max-w-xs text-pretty px-4 py-2 text-center text-sm text-gray-700",children:e}):typeof e=="function"?e({setOpen:a}):e})})]})}function K({title:t,cta:e,href:o,target:i,onClick:n}){return g("div",{className:"flex max-w-xs flex-col items-center space-y-3 p-4 text-center",children:[r("p",{className:"text-sm text-gray-700",children:t}),e&&(o?r(C,{href:o,...i?{target:i}:{},className:l(c({variant:"primary"}),"flex h-9 w-full items-center justify-center whitespace-nowrap rounded-lg border px-4 text-sm"),children:e}):n?r(x,{onClick:n,text:e,variant:"primary",className:"h-9"}):null)]})}function Q({title:t,cta:e,href:o}){return g("div",{className:"max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:[t," ",r("a",{href:o,target:"_blank",rel:"noopener noreferrer",onClick:i=>i.stopPropagation(),className:"inline-flex text-gray-500 underline underline-offset-4 hover:text-gray-800",children:e})]})}function U({children:t}){return r("div",{className:"block max-w-md whitespace-pre-wrap px-4 py-2 text-center text-sm text-gray-700",children:r(k,{as:"p",options:{target:"_blank",rel:"noopener noreferrer nofollow",className:"underline underline-offset-4 text-gray-400 hover:text-gray-700"},children:t})})}function X(t){return r(d,{...t,children:r(B,{className:"h-4 w-4 text-gray-500"})})}function Y({value:t,unit:e="total clicks",prefix:o,children:i,lastClicked:n}){return(!t||t<1e3)&&!n?i:r(d,{content:g("div",{className:"block max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:[g("p",{className:"text-sm font-semibold text-gray-700",children:[o,f(t||0,{full:!0})," ",e]}),n&&g("p",{className:"mt-1 text-xs text-gray-500",suppressHydrationWarning:!0,children:["Last clicked ",y(n,{withAgo:!0})]})]}),children:i})}function Z({children:t,content:e,...o}){return r(d,{content:e,...o,children:r("div",{className:"flex cursor-pointer items-center",children:r(h,{variant:"gray",className:"border-gray-300 transition-all hover:bg-gray-200",children:t})})})}function $({children:t,tooltipProps:e,...o}){return r(d,{...e,children:r("button",{type:"button",...o,className:l("flex h-6 w-6 items-center justify-center rounded-md text-gray-500 transition-colors duration-75 hover:bg-gray-100 active:bg-gray-200 disabled:cursor-not-allowed disabled:hover:bg-transparent",o.className),children:t})})}export{J as a,d as b,K as c,Q as d,U as e,X as f,Y as g,Z as h,$ as i,c as j,x as k};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{j as e}from"./chunk-Q3R4BHCB.mjs";import{jsx as o}from"react/jsx-runtime";function c({className:r,children:a}){return o("div",{className:e("mx-auto w-full max-w-screen-xl px-3 lg:px-10",r),children:a})}export{c as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as U}from"./chunk-2L4ICR3E.mjs";import{a as q}from"./chunk-36E7XVVB.mjs";import{c as C}from"./chunk-KY5PGZXP.mjs";import{a as I}from"./chunk-LUAO5VHI.mjs";import{a as H}from"./chunk-SX5OGEQZ.mjs";import{a as F}from"./chunk-NWME2ANF.mjs";import{c as T}from"./chunk-YXLFXVDV.mjs";import{enUS as Z}from"date-fns/locale";import{useEffect as N,useMemo as B,useState as S}from"react";import{format as M}from"date-fns";import{createContext as W}from"react";var A=W({isOpen:!1,setIsOpen:()=>{}}),X=()=>{let a=typeof window<"u"?window.navigator.language:"en-US",l=new Intl.DateTimeFormat(a,{hour:"numeric"}).format();return Number.isInteger(Number(l))},Y=(a,l,s=!1)=>{let i=!X(),e;return s?e=i?M(a,"d MMM, yyyy h:mm a",{locale:l}):M(a,"d MMM, yyyy HH:mm",{locale:l}):e=M(a,"d MMM, yyyy",{locale:l}),e},L=(a,l)=>{let{toYear:s,fromYear:i,fromMonth:e,toMonth:h,fromDay:y,toDay:P}=l;if(a&&a.length>0){let v=i,u=s;a.forEach(t=>{var R,$,x,g,E,D;if("date"in t){let d=t.date.getFullYear();if(i&&d<i)throw new Error(`Preset ${t.label} is before fromYear ${v}.`);if(s&&d>s)throw new Error(`Preset ${t.label} is after toYear ${u}.`);if(e&&t.date.getMonth()<e.getMonth())throw new Error(`Preset ${t.label} is before fromMonth ${e}.`);if(h&&t.date.getMonth()>h.getMonth())throw new Error(`Preset ${t.label} is after toMonth ${h}.`);if(y&&t.date.getDate()<y.getDate())throw new Error(`Preset ${t.label} is before fromDay ${y}.`);if(P&&t.date.getDate()>P.getDate())throw new Error(`Preset ${t.label} is after toDay ${M(P,"MMM dd, yyyy")}.`)}if("dateRange"in t){let d=(R=t.dateRange.from)==null?void 0:R.getFullYear(),f=($=t.dateRange.to)==null?void 0:$.getFullYear();if(d&&i&&d<i)throw new Error(`Preset ${t.label}'s 'from' is before fromYear ${v}.`);if(f&&s&&f>s)throw new Error(`Preset ${t.label}'s 'to' is after toYear ${u}.`);if(e){let n=(x=t.dateRange.from)==null?void 0:x.getMonth();if(n&&n<e.getMonth())throw new Error(`Preset ${t.label}'s 'from' is before fromMonth ${M(e,"MMM, yyyy")}.`)}if(h){let n=(g=t.dateRange.to)==null?void 0:g.getMonth();if(n&&n>h.getMonth())throw new Error(`Preset ${t.label}'s 'to' is after toMonth ${M(h,"MMM, yyyy")}.`)}if(y){let n=(E=t.dateRange.from)==null?void 0:E.getDate();if(n&&n<y.getDate())throw new Error(`Preset ${t.dateRange.from}'s 'from' is before fromDay ${M(y,"MMM dd, yyyy")}.`)}if(P){let n=(D=t.dateRange.to)==null?void 0:D.getDate();if(n&&n>P.getDate())throw new Error(`Preset ${t.label}'s 'to' is after toDay ${M(P,"MMM dd, yyyy")}.`)}}})}};import{jsx as m,jsxs as j}from"react/jsx-runtime";var _=({value:a,defaultValue:l,presetId:s,onChange:i,presets:e,disabled:h,disableNavigation:y,disabledDays:P,showYearNavigation:v=!1,locale:u=Z,placeholder:t="Select date range",hasError:R,align:$="center",className:x,...g})=>{let{isDesktop:E}=F(),[D,d]=S(!1),[f,n]=S(e&&s?e==null?void 0:e.find(({id:r})=>r===s):void 0),[o,w]=S((f==null?void 0:f.dateRange)??a??l??void 0),[K,k]=S(o==null?void 0:o.to),Q=B(()=>o,[D]);N(()=>{w(a)},[a]),N(()=>{let r=e==null?void 0:e.find(({id:b})=>b===s);n(r),w((r==null?void 0:r.dateRange)??a??l)},[e,s]),N(()=>{D?o&&k(o.to):k(o==null?void 0:o.to)},[D]);let V=(r,b)=>{let c=(o==null?void 0:o.from)&&(o==null?void 0:o.to)?{from:b}:r;w(c),n(void 0),(c==null?void 0:c.from)&&(c==null?void 0:c.to)&&(i==null||i(c),d(!1))},O=r=>{w(r.dateRange),n(r),i==null||i(r.dateRange,r),d(!1)},z=()=>{w(Q),d(!1)},G=r=>{r||z(),d(r)},J=B(()=>o?`${o.from?Y(o.from,u):""} - ${o.to?Y(o.to,u):""}`:null,[o,u]);return C((e==null?void 0:e.filter(r=>r.shortcut).map(r=>r.shortcut))??[],r=>{let b=e==null?void 0:e.find(c=>c.shortcut===r.key);b&&O(b)}),m(A.Provider,{value:{isOpen:D,setIsOpen:d},children:m(H,{align:$,openPopover:D,setOpenPopover:G,popoverContentClassName:"rounded-xl",content:m("div",{className:"flex w-full",children:j("div",{className:"scrollbar-hide flex w-full flex-col overflow-x-scroll sm:flex-row-reverse sm:items-start",children:[e&&e.length>0&&m("div",{className:T("relative flex h-16 w-full items-center sm:h-full sm:w-48","border-b border-gray-200 sm:border-b-0 sm:border-l","scrollbar-hide overflow-auto"),children:m("div",{className:"absolute px-3 sm:inset-0 sm:left-0 sm:p-3",children:m(U,{currentValue:o,presets:e,onSelect:O})})}),m("div",{className:"scrollbar-hide overflow-x-scroll",children:m(I,{mode:"range",selected:o,onSelect:V,month:K,onMonthChange:k,numberOfMonths:E?2:1,disabled:P,disableNavigation:y,showYearNavigation:v,locale:u,className:"scrollbar-hide overflow-x-scroll",classNames:{months:"flex flex-row divide-x divide-gray-200 overflow-x-scroll scrollbar-hide"},...g})})]})}),children:m(q,{placeholder:t,disabled:h,className:x,hasError:R,"aria-required":g.required||g["aria-required"],"aria-invalid":g["aria-invalid"],"aria-label":g["aria-label"],"aria-labelledby":g["aria-labelledby"],children:(f==null?void 0:f.label)??J})})})};function he({presets:a,...l}){return a&&L(a,l),m(_,{presets:a,...l})}export{A as a,he as b};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{j as r}from"./chunk-JKEYJCYP.mjs";import{cva as n}from"class-variance-authority";import{createContext as e}from"react";import{jsx as t}from"react/jsx-runtime";var p=n("group/card-list w-full flex flex-col transition-[gap,opacity] min-w-0",{variants:{variant:{compact:"gap-0",loose:"gap-4"},loading:{true:"opacity-50"}}}),l=e({variant:"loose"});function m({variant:a="loose",loading:o=!1,className:i,children:s}){return t("ul",{className:(void 0)(p({variant:a,loading:o}),i),"data-variant":a,children:t(l.Provider,{value:{variant:a},children:s})})}export{l as a,m as b};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{b as g}from"./chunk-4OLXFE5N.mjs";import{j as c}from"./chunk-JKEYJCYP.mjs";import{Command as s}from"cmdk";import{Lock as T}from"lucide-react";import{jsx as o,jsxs as w}from"react/jsx-runtime";var h=({presets:f,onSelect:p,currentValue:r})=>{let P=e=>"dateRange"in e,b=e=>"date"in e,a=(e,t)=>e.getDate()===t.getDate()&&e.getMonth()===t.getMonth()&&e.getFullYear()===t.getFullYear(),y=(e,t)=>{let n=e.from,l=t.from,i=!1;n&&l&&a(n,l)&&(i=!0);let m=e.to,d=t.to,u=!1;return m&&d&&a(m,d)&&(u=!0),i&&u},x=e=>{if(P(e)){let t=r;return t&&y(t,e.dateRange)}else if(b(e)){let t=r;return t&&a(t,e.date)}return!1};return o(s,{className:"w-full rounded ring-gray-200 ring-offset-2 focus:outline-none",tabIndex:0,autoFocus:!0,loop:!0,children:o(s.List,{className:"[&>*]:flex [&>*]:w-full [&>*]:items-start [&>*]:gap-x-2 [&>*]:gap-y-0.5 [&>*]:sm:flex-col",children:f.map((e,t)=>w(s.Item,{disabled:e.requiresUpgrade,onSelect:()=>p(e),title:e.label,value:e.id,className:(void 0)("group relative flex cursor-pointer items-center justify-between overflow-hidden text-ellipsis whitespace-nowrap rounded border border-gray-200","px-2.5 py-1.5 text-left text-sm text-gray-700 shadow-sm outline-none sm:w-full sm:border-none sm:py-2 sm:shadow-none","disabled:pointer-events-none disabled:opacity-50","sm:data-[selected=true]:bg-gray-100",x(e)&&"font-semibold text-gray-800"),children:[o("span",{children:e.label}),e.requiresUpgrade?o(T,{className:"h-3.5 w-3.5","aria-hidden":"true"}):e.shortcut?o("kbd",{className:"text-gray-4000 hidden rounded bg-gray-100 px-2 py-0.5 text-xs font-light group-data-[selected=true]:bg-gray-200 md:block",children:e.shortcut.toUpperCase()}):null,e.requiresUpgrade&&e.tooltipContent&&o(g,{side:"bottom",content:e.tooltipContent,children:o("div",{className:"absolute inset-0 cursor-not-allowed"})})]},t))})})};h.displayName="DatePicker.Presets";export{h as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as c}from"./chunk-AH6CIPJK.mjs";import{j as s}from"./chunk-5PZS4TTS.mjs";import{cva as C}from"class-variance-authority";import{createContext as b,useContext as h,useEffect as g,useRef as x,useState as L}from"react";import{jsx as d}from"react/jsx-runtime";var E=C("w-full group/card border-gray-200 bg-white",{variants:{variant:{compact:"first-of-type:rounded-t-xl last-of-type:rounded-b-xl first-of-type:border-t border-b border-x data-[hover-state-enabled=true]:hover:bg-gray-50 transition-colors",loose:"border rounded-xl transition-[filter] data-[hover-state-enabled=true]:hover:drop-shadow-card-hover"}}}),y="w-full py-2.5 px-4",w=b({hovered:!1});function H({outerClassName:u,innerClassName:f,children:p,onClick:i,hoverStateEnabled:v=!0}){let{variant:m}=h(c),r=x(null),[a,o]=L(!1);return g(()=>{if(!a||!r.current)return;let t=setInterval(()=>{var n;((n=r.current)==null?void 0:n.matches(":hover"))===!1&&o(!1)},1e3);return()=>clearInterval(t)},[a]),d("li",{ref:r,className:s(E({variant:m}),u),onPointerEnter:()=>o(!0),onPointerLeave:()=>o(!1),"data-hover-state-enabled":v,children:d("div",{className:s(y,f),onClick:i?t=>{if(!document.getElementById("modal-backdrop")){for(let e=t.target,l=0;e&&e!==t.currentTarget&&l<100;e=e.parentElement,l++)if(["button","a","input","textarea"].includes(e.tagName.toLowerCase())||e.getAttribute("data-radix-popper-content-wrapper")!==null)return;i()}}:void 0,children:d(w.Provider,{value:{hovered:a},children:p})})})}export{w as a,H as b};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as v}from"./chunk-HQE2UE2V.mjs";import{b as h}from"./chunk-BWB3IFGS.mjs";import{c as f,h as y,j as l}from"./chunk-JEWM5H4Z.mjs";import*as s from"@radix-ui/react-tooltip";import k from"linkify-react";import{HelpCircle as B}from"lucide-react";import C from"next/link";import{useState as R}from"react";import{cva as w}from"class-variance-authority";import{forwardRef as P}from"react";import{jsx as p,jsxs as T}from"react/jsx-runtime";var c=w("transition-all",{variants:{variant:{primary:"border-black bg-black text-white hover:bg-gray-800 hover:ring-4 hover:ring-gray-200",secondary:l("border-gray-200 bg-white text-gray-900 hover:bg-gray-50 focus-visible:border-gray-500 outline-none","data-[state=open]:border-gray-500 data-[state=open]:ring-4 data-[state=open]:ring-gray-200"),outline:"border-transparent text-gray-500 duration-75 hover:bg-gray-100",success:"border-blue-500 bg-blue-500 text-white hover:bg-blue-600 hover:ring-4 hover:ring-blue-100",danger:"border-red-500 bg-red-500 text-white hover:bg-red-600 hover:ring-4 hover:ring-red-100","danger-outline":"border-transparent bg-white text-red-500 hover:bg-red-600 hover:text-white"}},defaultVariants:{variant:"primary"}}),x=P(({text:t,variant:e="primary",className:o,textWrapperClassName:i,loading:n,icon:m,shortcut:a,disabledTooltip:b,...u},N)=>b?p(d,{content:b,children:T("div",{className:l("flex h-10 w-full cursor-not-allowed items-center justify-center gap-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==null?void 0:e.endsWith("outline")},o),children:[m,t&&p("div",{className:l("min-w-0 truncate",a&&"flex-1 text-left",i),children:t}),a&&p("kbd",{className:l("hidden rounded bg-gray-200 px-2 py-0.5 text-xs font-light text-gray-400 md:inline-block",{"bg-gray-100":e==null?void 0:e.endsWith("outline")}),children:a})]})}):T("button",{ref:N,type:u.onClick?"button":"submit",className:l("group flex h-10 w-full items-center justify-center gap-2 whitespace-nowrap rounded-md border px-4 text-sm",u.disabled||n?"cursor-not-allowed border-gray-200 bg-gray-100 text-gray-400 outline-none":c({variant:e}),o),disabled:u.disabled||n,...u,children:[n?p(v,{}):m||null,t&&p("div",{className:l("min-w-0 truncate",a&&"flex-1 text-left",i),children:t}),a&&p("kbd",{className:l("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-600 group-hover:text-gray-300":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:a})]}));x.displayName="Button";import{jsx as r,jsxs as g}from"react/jsx-runtime";function J({children:t}){return r(s.Provider,{delayDuration:150,children:t})}function d({children:t,content:e,side:o="top",disableHoverableContent:i,...n}){let[m,a]=R(!1);return g(s.Root,{open:m,onOpenChange:a,delayDuration:0,disableHoverableContent:i,children:[r(s.Trigger,{asChild:!0,onClick:()=>{a(!0)},onBlur:()=>{a(!1)},children:t}),r(s.Portal,{children:r(s.Content,{sideOffset:8,side:o,className:"animate-slide-up-fade z-[99] items-center overflow-hidden rounded-xl border border-gray-200 bg-white shadow-sm",collisionPadding:0,...n,children:typeof e=="string"?r("span",{className:"block max-w-xs text-pretty px-4 py-2 text-center text-sm text-gray-700",children:e}):typeof e=="function"?e({setOpen:a}):e})})]})}function K({title:t,cta:e,href:o,target:i,onClick:n}){return g("div",{className:"flex max-w-xs flex-col items-center space-y-3 p-4 text-center",children:[r("p",{className:"text-sm text-gray-700",children:t}),e&&(o?r(C,{href:o,...i?{target:i}:{},className:l(c({variant:"primary"}),"flex h-9 w-full items-center justify-center whitespace-nowrap rounded-lg border px-4 text-sm"),children:e}):n?r(x,{onClick:n,text:e,variant:"primary",className:"h-9"}):null)]})}function Q({title:t,cta:e,href:o}){return g("div",{className:"max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:[t," ",r("a",{href:o,target:"_blank",rel:"noopener noreferrer",onClick:i=>i.stopPropagation(),className:"inline-flex text-gray-500 underline underline-offset-4 hover:text-gray-800",children:e})]})}function U({children:t}){return r("div",{className:"block max-w-md whitespace-pre-wrap px-4 py-2 text-center text-sm text-gray-700",children:r(k,{as:"p",options:{target:"_blank",rel:"noopener noreferrer nofollow",className:"underline underline-offset-4 text-gray-400 hover:text-gray-700"},children:t})})}function X(t){return r(d,{...t,children:r(B,{className:"h-4 w-4 text-gray-500"})})}function Y({value:t,unit:e="total clicks",prefix:o,children:i,lastClicked:n}){return(!t||t<1e3)&&!n?i:r(d,{content:g("div",{className:"block max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:[g("p",{className:"text-sm font-semibold text-gray-700",children:[o,f(t||0,{full:!0})," ",e]}),n&&g("p",{className:"mt-1 text-xs text-gray-500",suppressHydrationWarning:!0,children:["Last clicked ",y(n,{withAgo:!0})]})]}),children:i})}function Z({children:t,content:e,...o}){return r(d,{content:e,...o,children:r("div",{className:"flex cursor-pointer items-center",children:r(h,{variant:"gray",className:"border-gray-300 transition-all hover:bg-gray-200",children:t})})})}function $({children:t,tooltipProps:e,...o}){return r(d,{...e,children:r("button",{type:"button",...o,className:l("flex h-6 w-6 items-center justify-center rounded-md text-gray-500 transition-colors duration-75 hover:bg-gray-100 active:bg-gray-200 disabled:cursor-not-allowed disabled:hover:bg-transparent",o.className),children:t})})}export{J as a,d as b,K as c,Q as d,U as e,X as f,Y as g,Z as h,$ as i,c as j,x as k};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{j as h}from"./chunk-PZM6NPBJ.mjs";import{j as p}from"./chunk-5PZS4TTS.mjs";import{cva as E}from"class-variance-authority";import k from"embla-carousel-autoplay";import T from"embla-carousel-react";import{motion as L}from"framer-motion";import{ArrowLeft as D,ArrowRight as H,ChevronLeft as M,ChevronRight as I}from"lucide-react";import*as e from"react";import{jsx as r,jsxs as C}from"react/jsx-runtime";var w=2e3,S=e.createContext(null);function b(){let t=e.useContext(S);if(!t)throw new Error("useCarousel must be used within a <Carousel />");return t}function W(){let{api:t}=b(),[l,s]=e.useState(0),o=e.useCallback(c=>s((c==null?void 0:c.selectedScrollSnap())??0),[]);return e.useEffect(()=>{!t||(o(t),t.on("reInit",o),t.on("select",o))},[t,o]),l}var z=e.forwardRef(({orientation:t="horizontal",opts:l,setApi:s,autoplay:o,plugins:c,className:d,children:n,...i},y)=>{let[x,a]=T({...l,axis:t==="horizontal"?"x":"y"},[...o?[k(typeof o=="object"?o:{delay:w})]:[],...c||[]]),[N,v]=e.useState(!1),[R,g]=e.useState(!1),u=e.useCallback(f=>{!f||(v(f.canScrollPrev()),g(f.canScrollNext()))},[]),m=e.useCallback(()=>{a==null||a.scrollPrev()},[a]),P=e.useCallback(()=>{a==null||a.scrollNext()},[a]),A=e.useCallback(f=>{f.key==="ArrowLeft"?(f.preventDefault(),m()):f.key==="ArrowRight"&&(f.preventDefault(),P())},[m,P]);return e.useEffect(()=>{!a||!s||s(a)},[a,s]),e.useEffect(()=>{if(!!a)return u(a),a.on("reInit",u),a.on("select",u),()=>{a==null||a.off("select",u)}},[a,u]),r(S.Provider,{value:{carouselRef:x,api:a,opts:l,orientation:t||((l==null?void 0:l.axis)==="y"?"vertical":"horizontal"),scrollPrev:m,scrollNext:P,canScrollPrev:N,canScrollNext:R},children:r("div",{ref:y,onKeyDownCapture:A,className:p("relative",d),role:"region","aria-roledescription":"carousel",...i,children:n})})});z.displayName="Carousel";var U=e.forwardRef(({className:t,...l},s)=>{let{carouselRef:o,orientation:c}=b();return r("div",{ref:o,className:"overflow-hidden",children:r("div",{ref:s,className:p("flex",c==="horizontal"?"-ml-4":"-mt-4 flex-col",t),...l})})});U.displayName="CarouselContent";var B=e.forwardRef(({className:t,...l},s)=>{let{orientation:o}=b();return r("div",{ref:s,role:"group","aria-roledescription":"slide",className:p("min-w-0 shrink-0 grow-0 basis-full",o==="horizontal"?"pl-4":"pt-4",t),...l})});B.displayName="CarouselItem";var O=e.forwardRef(({className:t,...l},s)=>{let{orientation:o,scrollPrev:c,canScrollPrev:d}=b();return C("button",{ref:s,className:p("absolute",o==="horizontal"?"-left-12 top-1/2 -translate-y-1/2":"-top-12 left-1/2 -translate-x-1/2 rotate-90",h({variant:"secondary",className:"p-2"}),t),disabled:!d,onClick:c,...l,children:[r(D,{className:"h-4 w-4"}),r("span",{className:"sr-only",children:"Previous slide"})]})});O.displayName="CarouselPrevious";var V=e.forwardRef(({className:t,...l},s)=>{let{orientation:o,scrollNext:c,canScrollNext:d}=b();return C("button",{ref:s,className:p("absolute",o==="horizontal"?"-right-12 top-1/2 -translate-y-1/2":"-bottom-12 left-1/2 -translate-x-1/2 rotate-90",h({variant:"secondary",className:"p-2"}),t),disabled:!d,onClick:c,...l,children:[r(H,{className:"h-4 w-4"}),r("span",{className:"sr-only",children:"Next slide"})]})});V.displayName="CarouselNext";var K=E("flex items-center justify-center gap-3 sm:gap-6",{variants:{variant:{simple:"relative",floating:"absolute bottom-4 left-1/2 -translate-x-1/2 rounded-full border border-gray-800/10 bg-white sm:bottom-6 "}}}),X=({variant:t="simple",className:l})=>{var g;let{scrollNext:s,scrollPrev:o,canScrollNext:c,canScrollPrev:d,api:n}=b(),i=(g=n==null?void 0:n.plugins())==null?void 0:g.autoplay,[y,x]=e.useState(0),[a,N]=e.useState(!1),v=e.useCallback(u=>{x((u==null?void 0:u.selectedScrollSnap())??0)},[]),R=e.useCallback(u=>()=>{i&&i.isPlaying()&&i.stop(),u()},[i]);return e.useEffect(()=>{!n||(v(n),N((i==null?void 0:i.isPlaying())??!1),n.on("reInit",v),n.on("select",v),n.on("autoplay:play",()=>N(!0)),n.on("autoplay:stop",()=>N(!1)))},[n,i,v]),C("div",{className:p(K({variant:t}),l),children:[t!=="simple"&&C("button",{className:"cursor-pointer rounded-full p-2 hover:bg-gray-50 active:bg-gray-100",disabled:!d,onClick:R(o),children:[r(M,{className:"h-4 w-4"}),r("span",{className:"sr-only",children:"Previous slide"})]}),n!=null&&r("div",{className:"flex items-center gap-1",children:n.slideNodes().map((u,m)=>C("button",{onClick:R(()=>n.scrollTo(m)),className:"rounded-full p-0.5 hover:bg-gray-100 active:bg-gray-200 sm:p-1.5",children:[r("div",{className:p("relative isolate h-1.5 w-1.5 overflow-hidden rounded-full transition-all",m===y?"bg-black":"bg-black/20",a&&m===y&&"w-6 bg-black/20"),children:a&&m===y&&r(L.div,{initial:{x:"-100%"},animate:{x:0},transition:{type:"tween",duration:((i==null?void 0:i.options.delay)??w)/1e3},className:"animate-fill-width h-full w-full rounded-full bg-black"})}),C("span",{className:"sr-only",children:["Slide ",m+1]})]},m))}),t!=="simple"&&C("button",{className:"cursor-pointer rounded-full p-2 hover:bg-gray-50 active:bg-gray-100",disabled:!c,onClick:R(s),children:[r(I,{className:"h-4 w-4"}),r("span",{className:"sr-only",children:"Next slide"})]})]})};export{w as a,b,W as c,z as d,U as e,B as f,O as g,V as h,X as i};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as v,b as g}from"./chunk-X6YAOEGO.mjs";import{a as c,c as u,d as N}from"./chunk-FXJSBIND.mjs";import{a as l}from"./chunk-CMPNHHII.mjs";import{b as o,j as i,n as d}from"./chunk-5PZS4TTS.mjs";import{ChevronRight as h}from"lucide-react";import _ from"next/link";import{jsx as t,jsxs as a}from"react/jsx-runtime";function y({domain:e}){return a("div",{className:"grid w-[40rem] grid-cols-2",children:[a("div",{className:"p-5",children:[t("p",{className:i(c,"mb-2"),children:"Features"}),t("div",{className:"-mx-2 -mb-2 grid grid-cols-1 gap-0.5",children:v.map(({icon:m,title:r,description:s,href:n})=>t(u,{href:o(n,e,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:e,utm_content:r}),icon:t(N,{icon:m}),title:r,description:s},n))})]}),a("div",{className:"border-l border-gray-200 p-5 dark:border-white/20",children:[a(_,{href:o("/customers",e,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:e,utm_content:"Customer Stories"}),className:i(c,"group mb-2 flex items-center transition-colors hover:text-black dark:hover:text-white"),children:["Customer Stories",t(h,{className:"ml-0.5 h-2.5 w-2.5 transition-transform group-hover:translate-x-px"})]}),t("div",{className:"grid grid-cols-1",children:g.map(({icon:m,iconClassName:r,title:s,description:n,href:p})=>t(u,{href:o(p,e,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:e,utm_content:s}),className:"-mx-2",icon:t(m,{className:i("h-7 w-7 shrink-0 text-gray-600 transition-colors dark:text-white/60",r)}),title:s,description:n,descriptionLines:2},p))}),t("p",{className:i(c,"my-4"),children:"Compare"}),t("div",{className:"flex flex-col gap-1.5",children:d.map(({name:m,slug:r})=>a(_,{href:o(`/compare/${r}`,e,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:e,utm_content:`Dub vs. ${m}`}),className:"group flex items-center gap-0.5 text-gray-500 transition-colors hover:text-gray-700 dark:text-white/60 dark:hover:text-white/80",children:[a("p",{className:"text-sm font-medium",children:["Dub vs. ",m]})," ",t(l,{className:"h-3 w-3"})]},r))})]})]})}export{y as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{j as a}from"./chunk-JKEYJCYP.mjs";import{jsx as t,jsxs as r}from"react/jsx-runtime";function n({className:i}){return r("svg",{className:(void 0)("h-full w-full",i),viewBox:"0 0 222 222",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[t("circle",{cx:"111",cy:"111",r:"111",fill:"url(#paint0_radial_8357_120)"}),t("path",{d:"M182.248 111.875C182.248 105.853 181.76 101.458 180.702 96.9003H111.931V124.083H152.298C151.484 130.838 147.089 141.011 137.323 147.848L137.186 148.758L158.93 165.603L160.437 165.753C174.272 152.975 182.248 134.175 182.248 111.875Z",fill:"url(#paint1_linear_8357_120)"}),t("path",{d:"M111.931 183.495C131.707 183.495 148.31 176.984 160.437 165.753L137.323 147.848C131.138 152.161 122.836 155.172 111.931 155.172C92.561 155.172 76.1211 142.395 70.2607 124.734L69.4017 124.807L46.7918 142.305L46.4961 143.127C58.5411 167.055 83.2826 183.495 111.931 183.495Z",fill:"url(#paint2_linear_8357_120)"}),t("path",{d:"M70.2606 124.734C68.7143 120.177 67.8194 115.293 67.8194 110.248C67.8194 105.201 68.7143 100.318 70.1793 95.7607L70.1383 94.7901L47.245 77.0109L46.496 77.3672C41.5317 87.2964 38.6831 98.4466 38.6831 110.248C38.6831 122.048 41.5317 133.198 46.496 143.127L70.2606 124.734Z",fill:"url(#paint3_linear_8357_120)"}),t("path",{d:"M111.931 65.3222C125.685 65.3222 134.963 71.2633 140.253 76.2282L160.925 56.0444C148.229 44.2434 131.707 37 111.931 37C83.2826 37 58.5411 53.4399 46.4961 77.3672L70.1794 95.7607C76.1211 78.1 92.561 65.3222 111.931 65.3222Z",fill:"url(#paint4_linear_8357_120)"}),r("defs",{children:[r("radialGradient",{id:"paint0_radial_8357_120",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(226.5 207.5) rotate(-140.591) scale(286.681)",children:[t("stop",{"stop-color":"white"}),t("stop",{offset:"0.5","stop-color":"white"}),t("stop",{offset:"1","stop-color":"#E8E8E8"})]}),r("linearGradient",{id:"paint1_linear_8357_120",x1:"176.5",y1:"148.5",x2:"112",y2:"97",gradientUnits:"userSpaceOnUse",children:[t("stop",{"stop-color":"#76A7F9"}),t("stop",{offset:"1","stop-color":"#4285F4"})]}),r("linearGradient",{id:"paint2_linear_8357_120",x1:"38.5",y1:"164.5",x2:"160",y2:"175",gradientUnits:"userSpaceOnUse",children:[t("stop",{"stop-color":"#34A853"}),t("stop",{offset:"1","stop-color":"#8DFBAA"})]}),r("linearGradient",{id:"paint3_linear_8357_120",x1:"81",y1:"115",x2:"35.9999",y2:"110",gradientUnits:"userSpaceOnUse",children:[t("stop",{"stop-color":"#FFE28F"}),t("stop",{offset:"1","stop-color":"#FBBC05"})]}),r("linearGradient",{id:"paint4_linear_8357_120",x1:"117.5",y1:"84",x2:"78",y2:"45.5",gradientUnits:"userSpaceOnUse",children:[t("stop",{"stop-color":"#FF968D"}),t("stop",{offset:"1","stop-color":"#EB4335"})]})]})]})}export{n as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{c as b}from"./chunk-ITYY4GA2.mjs";import{a as h}from"./chunk-2NQ7EMP3.mjs";import{a as f,c as p,p as g,q as i}from"./chunk-ITSRU362.mjs";import{ChevronDown as w,Menu as x,X as C}from"lucide-react";import r from"next/link";import{useParams as N}from"next/navigation";import{useEffect as _,useState as v}from"react";import z from"swr";import{Fragment as D,jsx as e,jsxs as s}from"react/jsx-runtime";function j({theme:n="light"}){let{domain:m="dub.co"}=N(),[a,o]=v(!1);_(()=>{a?document.body.style.overflow="hidden":document.body.style.overflow="auto"},[a]);let{data:t}=z(m==="dub.co"&&"/api/auth/session",g,{dedupingInterval:6e4});return s("div",{className:i(n==="dark"&&"dark"),children:[e("button",{onClick:()=>o(!a),className:i("fixed right-3 top-3 z-40 rounded-full p-2 transition-colors duration-200 hover:bg-gray-200 focus:outline-none active:bg-gray-300 lg:hidden dark:hover:bg-white/20 dark:active:bg-white/30",a&&"hover:bg-gray-100 active:bg-gray-200"),children:a?e(C,{className:"h-5 w-5 text-gray-600 dark:text-white/70"}):e(x,{className:"h-5 w-5 text-gray-600 dark:text-white/70"})}),e("nav",{className:i("fixed inset-0 z-20 hidden w-full bg-white px-5 py-16 lg:hidden dark:bg-black dark:text-white/70",a&&"block"),children:s("ul",{className:"grid divide-y divide-gray-200 dark:divide-white/[0.15]",children:[b.map(({name:l,href:u,childItems:d},c)=>e(L,{name:l,href:u,childItems:d,setOpen:o},c)),t&&Object.keys(t).length>0?e("li",{className:"py-3",children:e(r,{href:f,className:"flex w-full font-semibold capitalize",children:"Dashboard"})}):s(D,{children:[e("li",{className:"py-3",children:e(r,{href:`${f}/login`,className:"flex w-full font-semibold capitalize",children:"Log in"})}),e("li",{className:"py-3",children:e(r,{href:`${f}/register`,className:"flex w-full font-semibold capitalize",children:"Sign Up"})})]})]})})]})}var L=({name:n,href:m,childItems:a,setOpen:o})=>{let{domain:t="dub.co"}=N(),[l,u]=v(!1);return a?e("li",{className:"py-3",children:s(h,{height:!0,children:[s("button",{className:"flex w-full justify-between",onClick:()=>u(!l),children:[e("p",{className:"font-semibold",children:n}),e(w,{className:i("h-5 w-5 text-gray-500 transition-all dark:text-white/50",l&&"rotate-180")})]}),l&&e("div",{className:"grid gap-4 overflow-hidden py-4",children:a.map(({title:d,href:c,icon:y,iconClassName:k})=>s(r,{href:p(c,t,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:t,utm_content:d}),onClick:()=>o(!1),className:"flex w-full space-x-2",children:[e(y,{className:i("h-5 w-5 text-gray-500 dark:text-white/80",k)}),e("span",{className:"text-sm",children:d})]},c))})]})}):m?e("li",{className:"py-3",children:e(r,{href:p(m,t,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:t,utm_content:n}),onClick:()=>o(!1),className:"flex w-full font-semibold capitalize",children:n})}):null};export{j as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as U}from"./chunk-J4CXLKKM.mjs";import{a as q}from"./chunk-MYUZLRYS.mjs";import{c as C}from"./chunk-HO7HSWCV.mjs";import{a as I}from"./chunk-ZFHJN5QE.mjs";import{a as H}from"./chunk-I3KFS7HC.mjs";import{a as F}from"./chunk-NWME2ANF.mjs";import{q as T}from"./chunk-ITSRU362.mjs";import{enUS as Z}from"date-fns/locale";import{useEffect as N,useMemo as B,useState as S}from"react";import{format as M}from"date-fns";import{createContext as W}from"react";var A=W({isOpen:!1,setIsOpen:()=>{}}),X=()=>{let a=typeof window<"u"?window.navigator.language:"en-US",l=new Intl.DateTimeFormat(a,{hour:"numeric"}).format();return Number.isInteger(Number(l))},Y=(a,l,s=!1)=>{let i=!X(),e;return s?e=i?M(a,"d MMM, yyyy h:mm a",{locale:l}):M(a,"d MMM, yyyy HH:mm",{locale:l}):e=M(a,"d MMM, yyyy",{locale:l}),e},L=(a,l)=>{let{toYear:s,fromYear:i,fromMonth:e,toMonth:h,fromDay:y,toDay:P}=l;if(a&&a.length>0){let v=i,u=s;a.forEach(t=>{var R,$,x,g,E,D;if("date"in t){let d=t.date.getFullYear();if(i&&d<i)throw new Error(`Preset ${t.label} is before fromYear ${v}.`);if(s&&d>s)throw new Error(`Preset ${t.label} is after toYear ${u}.`);if(e&&t.date.getMonth()<e.getMonth())throw new Error(`Preset ${t.label} is before fromMonth ${e}.`);if(h&&t.date.getMonth()>h.getMonth())throw new Error(`Preset ${t.label} is after toMonth ${h}.`);if(y&&t.date.getDate()<y.getDate())throw new Error(`Preset ${t.label} is before fromDay ${y}.`);if(P&&t.date.getDate()>P.getDate())throw new Error(`Preset ${t.label} is after toDay ${M(P,"MMM dd, yyyy")}.`)}if("dateRange"in t){let d=(R=t.dateRange.from)==null?void 0:R.getFullYear(),f=($=t.dateRange.to)==null?void 0:$.getFullYear();if(d&&i&&d<i)throw new Error(`Preset ${t.label}'s 'from' is before fromYear ${v}.`);if(f&&s&&f>s)throw new Error(`Preset ${t.label}'s 'to' is after toYear ${u}.`);if(e){let n=(x=t.dateRange.from)==null?void 0:x.getMonth();if(n&&n<e.getMonth())throw new Error(`Preset ${t.label}'s 'from' is before fromMonth ${M(e,"MMM, yyyy")}.`)}if(h){let n=(g=t.dateRange.to)==null?void 0:g.getMonth();if(n&&n>h.getMonth())throw new Error(`Preset ${t.label}'s 'to' is after toMonth ${M(h,"MMM, yyyy")}.`)}if(y){let n=(E=t.dateRange.from)==null?void 0:E.getDate();if(n&&n<y.getDate())throw new Error(`Preset ${t.dateRange.from}'s 'from' is before fromDay ${M(y,"MMM dd, yyyy")}.`)}if(P){let n=(D=t.dateRange.to)==null?void 0:D.getDate();if(n&&n>P.getDate())throw new Error(`Preset ${t.label}'s 'to' is after toDay ${M(P,"MMM dd, yyyy")}.`)}}})}};import{jsx as m,jsxs as j}from"react/jsx-runtime";var _=({value:a,defaultValue:l,presetId:s,onChange:i,presets:e,disabled:h,disableNavigation:y,disabledDays:P,showYearNavigation:v=!1,locale:u=Z,placeholder:t="Select date range",hasError:R,align:$="center",className:x,...g})=>{let{isDesktop:E}=F(),[D,d]=S(!1),[f,n]=S(e&&s?e==null?void 0:e.find(({id:r})=>r===s):void 0),[o,w]=S((f==null?void 0:f.dateRange)??a??l??void 0),[K,k]=S(o==null?void 0:o.to),Q=B(()=>o,[D]);N(()=>{w(a)},[a]),N(()=>{let r=e==null?void 0:e.find(({id:b})=>b===s);n(r),w((r==null?void 0:r.dateRange)??a??l)},[e,s]),N(()=>{D?o&&k(o.to):k(o==null?void 0:o.to)},[D]);let V=(r,b)=>{let c=(o==null?void 0:o.from)&&(o==null?void 0:o.to)?{from:b}:r;w(c),n(void 0),(c==null?void 0:c.from)&&(c==null?void 0:c.to)&&(i==null||i(c),d(!1))},O=r=>{w(r.dateRange),n(r),i==null||i(r.dateRange,r),d(!1)},z=()=>{w(Q),d(!1)},G=r=>{r||z(),d(r)},J=B(()=>o?`${o.from?Y(o.from,u):""} - ${o.to?Y(o.to,u):""}`:null,[o,u]);return C((e==null?void 0:e.filter(r=>r.shortcut).map(r=>r.shortcut))??[],r=>{let b=e==null?void 0:e.find(c=>c.shortcut===r.key);b&&O(b)}),m(A.Provider,{value:{isOpen:D,setIsOpen:d},children:m(H,{align:$,openPopover:D,setOpenPopover:G,popoverContentClassName:"rounded-xl",content:m("div",{className:"flex w-full",children:j("div",{className:"scrollbar-hide flex w-full flex-col overflow-x-scroll sm:flex-row-reverse sm:items-start",children:[e&&e.length>0&&m("div",{className:T("relative flex h-16 w-full items-center sm:h-full sm:w-48","border-b border-gray-200 sm:border-b-0 sm:border-l","scrollbar-hide overflow-auto"),children:m("div",{className:"absolute px-3 sm:inset-0 sm:left-0 sm:p-3",children:m(U,{currentValue:o,presets:e,onSelect:O})})}),m("div",{className:"scrollbar-hide overflow-x-scroll",children:m(I,{mode:"range",selected:o,onSelect:V,month:K,onMonthChange:k,numberOfMonths:E?2:1,disabled:P,disableNavigation:y,showYearNavigation:v,locale:u,className:"scrollbar-hide overflow-x-scroll",classNames:{months:"flex flex-row divide-x divide-gray-200 overflow-x-scroll scrollbar-hide"},...g})})]})}),children:m(q,{placeholder:t,disabled:h,className:x,hasError:R,"aria-required":g.required||g["aria-required"],"aria-invalid":g["aria-invalid"],"aria-label":g["aria-label"],"aria-labelledby":g["aria-labelledby"],children:(f==null?void 0:f.label)??J})})})};function he({presets:a,...l}){return a&&L(a,l),m(_,{presets:a,...l})}export{A as a,he as b};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{g as u}from"./chunk-JKEYJCYP.mjs";import{createContext as L,useCallback as f,useContext as h,useEffect as l,useId as K,useState as p}from"react";import{jsx as g}from"react/jsx-runtime";var b=L({listeners:[],setListeners:()=>{}});function C({children:t}){let[s,r]=p([]);return g(b.Provider,{value:{listeners:s,setListeners:r},children:t})}function N(t,s,r={}){let i=K(),{listeners:d,setListeners:c}=h(b),a=f(e=>{let n=e.target,S=document.getElementById("modal-backdrop");if(e.metaKey||e.ctrlKey||n.tagName==="INPUT"||n.tagName==="TEXTAREA"||!!S!=!!r.modal||(Array.isArray(t)?!t.includes(e.key):e.key!==t))return;let y=d.filter(o=>o.enabled!==!1&&(Array.isArray(o.key)?o.key.includes(e.key):o.key===e.key));!y.length||(void 0)(y,(o,m)=>(m.priority??0)-(o.priority??0)).slice(-1)[0].id!==i||(e.preventDefault(),s(e))},[t,d,i,s]);l(()=>(document.addEventListener("keydown",a),()=>document.removeEventListener("keydown",a)),[a]),l(()=>(c(e=>[...e.filter(n=>n.id!==i),{id:i,key:t,...r}]),()=>c(e=>e.filter(n=>n.id!==i))),[JSON.stringify(t),r.enabled,r.priority])}export{b as a,C as b,N as c};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{c as b}from"./chunk-PYMJXCCF.mjs";import{a as h}from"./chunk-MINTMV45.mjs";import{b as p,d as f,i as g,j as i}from"./chunk-5PZS4TTS.mjs";import{ChevronDown as w,Menu as x,X as C}from"lucide-react";import r from"next/link";import{useParams as N}from"next/navigation";import{useEffect as _,useState as v}from"react";import z from"swr";import{Fragment as D,jsx as e,jsxs as s}from"react/jsx-runtime";function j({theme:n="light"}){let{domain:m="dub.co"}=N(),[a,o]=v(!1);_(()=>{a?document.body.style.overflow="hidden":document.body.style.overflow="auto"},[a]);let{data:t}=z(m==="dub.co"&&"/api/auth/session",g,{dedupingInterval:6e4});return s("div",{className:i(n==="dark"&&"dark"),children:[e("button",{onClick:()=>o(!a),className:i("fixed right-3 top-3 z-40 rounded-full p-2 transition-colors duration-200 hover:bg-gray-200 focus:outline-none active:bg-gray-300 lg:hidden dark:hover:bg-white/20 dark:active:bg-white/30",a&&"hover:bg-gray-100 active:bg-gray-200"),children:a?e(C,{className:"h-5 w-5 text-gray-600 dark:text-white/70"}):e(x,{className:"h-5 w-5 text-gray-600 dark:text-white/70"})}),e("nav",{className:i("fixed inset-0 z-20 hidden w-full bg-white px-5 py-16 lg:hidden dark:bg-black dark:text-white/70",a&&"block"),children:s("ul",{className:"grid divide-y divide-gray-200 dark:divide-white/[0.15]",children:[b.map(({name:l,href:u,childItems:d},c)=>e(L,{name:l,href:u,childItems:d,setOpen:o},c)),t&&Object.keys(t).length>0?e("li",{className:"py-3",children:e(r,{href:f,className:"flex w-full font-semibold capitalize",children:"Dashboard"})}):s(D,{children:[e("li",{className:"py-3",children:e(r,{href:`${f}/login`,className:"flex w-full font-semibold capitalize",children:"Log in"})}),e("li",{className:"py-3",children:e(r,{href:`${f}/register`,className:"flex w-full font-semibold capitalize",children:"Sign Up"})})]})]})})]})}var L=({name:n,href:m,childItems:a,setOpen:o})=>{let{domain:t="dub.co"}=N(),[l,u]=v(!1);return a?e("li",{className:"py-3",children:s(h,{height:!0,children:[s("button",{className:"flex w-full justify-between",onClick:()=>u(!l),children:[e("p",{className:"font-semibold",children:n}),e(w,{className:i("h-5 w-5 text-gray-500 transition-all dark:text-white/50",l&&"rotate-180")})]}),l&&e("div",{className:"grid gap-4 overflow-hidden py-4",children:a.map(({title:d,href:c,icon:y,iconClassName:k})=>s(r,{href:p(c,t,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:t,utm_content:d}),onClick:()=>o(!1),className:"flex w-full space-x-2",children:[e(y,{className:i("h-5 w-5 text-gray-500 dark:text-white/80",k)}),e("span",{className:"text-sm",children:d})]},c))})]})}):m?e("li",{className:"py-3",children:e(r,{href:p(m,t,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:t,utm_content:n}),onClick:()=>o(!1),className:"flex w-full font-semibold capitalize",children:n})}):null};export{j as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as v,b as g}from"./chunk-LHZ5YKK3.mjs";import{a as c,c as u,d as N}from"./chunk-FXJSBIND.mjs";import{a as l}from"./chunk-CMPNHHII.mjs";import{b as o,j as i,n as d}from"./chunk-5PZS4TTS.mjs";import{ChevronRight as h}from"lucide-react";import _ from"next/link";import{jsx as t,jsxs as a}from"react/jsx-runtime";function y({domain:e}){return a("div",{className:"grid w-[40rem] grid-cols-2",children:[a("div",{className:"p-5",children:[t("p",{className:i(c,"mb-2"),children:"Features"}),t("div",{className:"-mx-2 -mb-2 grid grid-cols-1 gap-0.5",children:v.map(({icon:m,title:r,description:s,href:n})=>t(u,{href:o(n,e,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:e,utm_content:r}),icon:t(N,{icon:m}),title:r,description:s},n))})]}),a("div",{className:"border-l border-gray-200 p-5 dark:border-white/20",children:[a(_,{href:o("/customers",e,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:e,utm_content:"Customer Stories"}),className:i(c,"group mb-2 flex items-center transition-colors hover:text-black dark:hover:text-white"),children:["Customer Stories",t(h,{className:"ml-0.5 h-2.5 w-2.5 transition-transform group-hover:translate-x-px"})]}),t("div",{className:"grid grid-cols-1",children:g.map(({icon:m,iconClassName:r,title:s,description:n,href:p})=>t(u,{href:o(p,e,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:e,utm_content:s}),className:"-mx-2",icon:t(m,{className:i("h-7 w-7 shrink-0 text-gray-600 transition-colors dark:text-white/60",r)}),title:s,description:n,descriptionLines:2},p))}),t("p",{className:i(c,"my-4"),children:"Compare"}),t("div",{className:"flex flex-col gap-1.5",children:d.map(({name:m,slug:r})=>a(_,{href:o(`/compare/${r}`,e,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:e,utm_content:`Dub vs. ${m}`}),className:"group flex items-center gap-0.5 text-gray-500 transition-colors hover:text-gray-700 dark:text-white/60 dark:hover:text-white/80",children:[a("p",{className:"text-sm font-medium",children:["Dub vs. ",m]})," ",t(l,{className:"h-3 w-3"})]},r))})]})]})}export{y as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as v}from"./chunk-O7BCCN5N.mjs";import{b as h}from"./chunk-QZYRBRX2.mjs";import{c as l,l as f,o as y}from"./chunk-YXLFXVDV.mjs";import*as s from"@radix-ui/react-tooltip";import k from"linkify-react";import{HelpCircle as B}from"lucide-react";import C from"next/link";import{useState as R}from"react";import{cva as w}from"class-variance-authority";import{forwardRef as P}from"react";import{jsx as p,jsxs as T}from"react/jsx-runtime";var c=w("transition-all",{variants:{variant:{primary:"border-black bg-black text-white hover:bg-gray-800 hover:ring-4 hover:ring-gray-200",secondary:l("border-gray-200 bg-white text-gray-900 hover:bg-gray-50 focus-visible:border-gray-500 outline-none","data-[state=open]:border-gray-500 data-[state=open]:ring-4 data-[state=open]:ring-gray-200"),outline:"border-transparent text-gray-500 duration-75 hover:bg-gray-100",success:"border-blue-500 bg-blue-500 text-white hover:bg-blue-600 hover:ring-4 hover:ring-blue-100",danger:"border-red-500 bg-red-500 text-white hover:bg-red-600 hover:ring-4 hover:ring-red-100","danger-outline":"border-transparent bg-white text-red-500 hover:bg-red-600 hover:text-white"}},defaultVariants:{variant:"primary"}}),x=P(({text:t,variant:e="primary",className:o,textWrapperClassName:i,loading:n,icon:m,shortcut:a,disabledTooltip:b,...u},N)=>b?p(d,{content:b,children:T("div",{className:l("flex h-10 w-full cursor-not-allowed items-center justify-center gap-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==null?void 0:e.endsWith("outline")},o),children:[m,t&&p("div",{className:l("min-w-0 truncate",a&&"flex-1 text-left",i),children:t}),a&&p("kbd",{className:l("hidden rounded bg-gray-200 px-2 py-0.5 text-xs font-light text-gray-400 md:inline-block",{"bg-gray-100":e==null?void 0:e.endsWith("outline")}),children:a})]})}):T("button",{ref:N,type:u.onClick?"button":"submit",className:l("group flex h-10 w-full items-center justify-center gap-2 whitespace-nowrap rounded-md border px-4 text-sm",u.disabled||n?"cursor-not-allowed border-gray-200 bg-gray-100 text-gray-400 outline-none":c({variant:e}),o),disabled:u.disabled||n,...u,children:[n?p(v,{}):m||null,t&&p("div",{className:l("min-w-0 truncate",a&&"flex-1 text-left",i),children:t}),a&&p("kbd",{className:l("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-600 group-hover:text-gray-300":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:a})]}));x.displayName="Button";import{jsx as r,jsxs as g}from"react/jsx-runtime";function J({children:t}){return r(s.Provider,{delayDuration:150,children:t})}function d({children:t,content:e,side:o="top",disableHoverableContent:i,...n}){let[m,a]=R(!1);return g(s.Root,{open:m,onOpenChange:a,delayDuration:0,disableHoverableContent:i,children:[r(s.Trigger,{asChild:!0,onClick:()=>{a(!0)},onBlur:()=>{a(!1)},children:t}),r(s.Portal,{children:r(s.Content,{sideOffset:8,side:o,className:"animate-slide-up-fade z-[99] items-center overflow-hidden rounded-xl border border-gray-200 bg-white shadow-sm",collisionPadding:0,...n,children:typeof e=="string"?r("span",{className:"block max-w-xs text-pretty px-4 py-2 text-center text-sm text-gray-700",children:e}):typeof e=="function"?e({setOpen:a}):e})})]})}function K({title:t,cta:e,href:o,target:i,onClick:n}){return g("div",{className:"flex max-w-xs flex-col items-center space-y-3 p-4 text-center",children:[r("p",{className:"text-sm text-gray-700",children:t}),e&&(o?r(C,{href:o,...i?{target:i}:{},className:l(c({variant:"primary"}),"flex h-9 w-full items-center justify-center whitespace-nowrap rounded-lg border px-4 text-sm"),children:e}):n?r(x,{onClick:n,text:e,variant:"primary",className:"h-9"}):null)]})}function Q({title:t,cta:e,href:o}){return g("div",{className:"max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:[t," ",r("a",{href:o,target:"_blank",rel:"noopener noreferrer",onClick:i=>i.stopPropagation(),className:"inline-flex text-gray-500 underline underline-offset-4 hover:text-gray-800",children:e})]})}function U({children:t}){return r("div",{className:"block max-w-md whitespace-pre-wrap px-4 py-2 text-center text-sm text-gray-700",children:r(k,{as:"p",options:{target:"_blank",rel:"noopener noreferrer nofollow",className:"underline underline-offset-4 text-gray-400 hover:text-gray-700"},children:t})})}function X(t){return r(d,{...t,children:r(B,{className:"h-4 w-4 text-gray-500"})})}function Y({value:t,unit:e="total clicks",prefix:o,children:i,lastClicked:n}){return(!t||t<1e3)&&!n?i:r(d,{content:g("div",{className:"block max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:[g("p",{className:"text-sm font-semibold text-gray-700",children:[o,(void 0)(t||0,{full:!0})," ",e]}),n&&g("p",{className:"mt-1 text-xs text-gray-500",suppressHydrationWarning:!0,children:["Last clicked ",(void 0)(n,{withAgo:!0})]})]}),children:i})}function Z({children:t,content:e,...o}){return r(d,{content:e,...o,children:r("div",{className:"flex cursor-pointer items-center",children:r(h,{variant:"gray",className:"border-gray-300 transition-all hover:bg-gray-200",children:t})})})}function $({children:t,tooltipProps:e,...o}){return r(d,{...e,children:r("button",{type:"button",...o,className:l("flex h-6 w-6 items-center justify-center rounded-md text-gray-500 transition-colors duration-75 hover:bg-gray-100 active:bg-gray-200 disabled:cursor-not-allowed disabled:hover:bg-transparent",o.className),children:t})})}export{J as a,d as b,K as c,Q as d,U as e,X as f,Y as g,Z as h,$ as i,c as j,x as k};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as e}from"./chunk-EHYVEIOL.mjs";import{a as r}from"./chunk-BKZ6TNZC.mjs";import{j as o}from"./chunk-5PZS4TTS.mjs";import{cva as g}from"class-variance-authority";import{useState as f}from"react";import{toast as d}from"sonner";import{jsx as t,jsxs as b}from"react/jsx-runtime";var y=g("relative group rounded-full p-1.5 transition-all duration-75",{variants:{variant:{default:"bg-transparent hover:bg-gray-100 active:bg-gray-200",neutral:"bg-transparent hover:bg-gray-100 active:bg-gray-200"}},defaultVariants:{variant:"default"}});function B({variant:n="default",value:s,className:i,icon:p,successMessage:c}){let[u,a]=f(!1),l=p||r;return b("button",{onClick:m=>{m.stopPropagation(),a(!0),navigator.clipboard.writeText(s).then(()=>{d.success(c||"Copied to clipboard!")}),setTimeout(()=>a(!1),3e3)},className:o(y({variant:n}),i),type:"button",children:[t("span",{className:"sr-only",children:"Copy"}),u?t(e,{className:"h-3.5 w-3.5"}):t(l,{className:"h-3.5 w-3.5"})]})}export{B as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{c as s}from"./chunk-YXLFXVDV.mjs";import{LayoutGroup as u,motion as m}from"framer-motion";import{useId as c}from"react";import{jsx as o,jsxs as d}from"react/jsx-runtime";function x({options:r,selected:a,onSelect:i,className:n}){let e=c();return o("div",{className:s("flex text-sm",n),children:o(u,{id:e,children:r.map(({id:t,label:l})=>d("div",{className:"relative",children:[o("button",{type:"button",onClick:()=>i==null?void 0:i(t),className:s("p-4 transition-colors duration-75",t===a?"text-black":"text-gray-400 hover:text-gray-500"),"aria-selected":t===a,children:l}),t===a&&o(m.div,{layoutId:"indicator",transition:{duration:.1},className:"absolute bottom-0 w-full px-1.5",children:o("div",{className:"h-0.5 bg-black"})})]},t))})})}export{x as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{c as n}from"./chunk-YXLFXVDV.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:n("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{a as c}from"./chunk-II6E6Q2G.mjs";import{j as s}from"./chunk-NDIMK4LK.mjs";import{cva as C}from"class-variance-authority";import{createContext as b,useContext as h,useEffect as g,useRef as x,useState as L}from"react";import{jsx as d}from"react/jsx-runtime";var E=C("w-full group/card border-gray-200 bg-white",{variants:{variant:{compact:"first-of-type:rounded-t-xl last-of-type:rounded-b-xl first-of-type:border-t border-b border-x data-[hover-state-enabled=true]:hover:bg-gray-50 transition-colors",loose:"border rounded-xl transition-[filter] data-[hover-state-enabled=true]:hover:drop-shadow-card-hover"}}}),y="w-full py-2.5 px-4",w=b({hovered:!1});function H({outerClassName:u,innerClassName:f,children:p,onClick:i,hoverStateEnabled:v=!0}){let{variant:m}=h(c),r=x(null),[a,o]=L(!1);return g(()=>{if(!a||!r.current)return;let t=setInterval(()=>{var n;((n=r.current)==null?void 0:n.matches(":hover"))===!1&&o(!1)},1e3);return()=>clearInterval(t)},[a]),d("li",{ref:r,className:s(E({variant:m}),u),onPointerEnter:()=>o(!0),onPointerLeave:()=>o(!1),"data-hover-state-enabled":v,children:d("div",{className:s(y,f),onClick:i?t=>{if(!document.getElementById("modal-backdrop")){for(let e=t.target,l=0;e&&e!==t.currentTarget&&l<100;e=e.parentElement,l++)if(["button","a","input","textarea"].includes(e.tagName.toLowerCase())||e.getAttribute("data-radix-popper-content-wrapper")!==null)return;i()}}:void 0,children:d(w.Provider,{value:{hovered:a},children:p})})})}export{w as a,H as b};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as p}from"./chunk-NWME2ANF.mjs";import{a as y}from"./chunk-2TGXECZQ.mjs";import{a as s}from"./chunk-VQ3Y75RU.mjs";import{a as g,e as f,i as b}from"./chunk-JEWM5H4Z.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}=p();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(y,{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{e as _}from"./chunk-NUUXGHGH.mjs";import{a as v}from"./chunk-MYVDXJUG.mjs";import{a as N}from"./chunk-7V4KCQBA.mjs";import{a as x}from"./chunk-D4JEPE5O.mjs";import{a as y}from"./chunk-EPUXP7TX.mjs";import{a as b}from"./chunk-T2EZI4FR.mjs";import{a as f}from"./chunk-ALEYOCBW.mjs";import{b as o,i as d,j as n,m as g,n as p,o as h}from"./chunk-OCWW7DB6.mjs";import T from"next/image";import s from"next/link";import{useParams as E}from"next/navigation";import{useEffect as F,useState as w}from"react";import A from"swr";import{jsx as e,jsxs as r}from"react/jsx-runtime";var m={features:v.map(({title:a,href:t})=>({name:a,href:t})),product:[{name:"Blog",href:"/blog"},{name:"Brand",href:"/brand"},{name:"Changelog",href:"/changelog"},{name:"Customers",href:"/customers"},{name:"Enterprise",href:"/enterprise"},{name:"Pricing",href:"/pricing"},{name:"Help Center",href:"/help"}],compare:p.map(({name:a,slug:t})=>({name:a,href:`/compare/${t}`})),legal:h.map(({name:a,slug:t})=>({name:a,href:`/legal/${t}`})),tools:g.map(({name:a,slug:t})=>({name:a,href:`/tools/${t}`}))};function Y(){let{domain:a="dub.co"}=E();return e("footer",{children:r(N,{className:"relative z-10 overflow-hidden border border-b-0 border-gray-200 bg-white/50 pb-60 pt-16 backdrop-blur-lg md:rounded-t-2xl",children:[r("div",{className:"xl:grid xl:grid-cols-3 xl:gap-8",children:[r("div",{className:"space-y-6",children:[r(s,{href:o("/",a,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:a,utm_content:"Logo"}),className:"block max-w-fit",children:[r("span",{className:"sr-only",children:[process.env.NEXT_PUBLIC_APP_NAME," Logo"]}),e(_,{className:"h-8 text-gray-800"})]}),e("p",{className:"max-w-xs text-sm text-gray-500",children:"Giving modern marketing teams superpowers with short links that stand out."}),r("p",{className:"text-sm leading-5 text-gray-400",children:["\xA9 ",new Date().getFullYear()," Dub Technologies, Inc."]}),r("div",{className:"flex items-center space-x-3",children:[r("a",{href:"https://twitter.com/dubdotco",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"Twitter"}),e(x,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-black"})]}),r("a",{href:"https://github.com/dubinc/dub",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"Github"}),e(f,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-black"})]}),r("a",{href:"https://www.linkedin.com/company/dubinc",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"LinkedIn"}),e(b,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-[#0077b5]"})]}),r("a",{href:"https://www.youtube.com/@dubdotco",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"YouTube"}),e(y,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-[#ff0000]"})]})]}),e(D,{})]}),r("div",{className:"mt-16 grid grid-cols-2 gap-4 xl:col-span-2 xl:mt-0",children:[r("div",{className:"md:grid md:grid-cols-2",children:[r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Features"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.features.map(t=>e("li",{children:e(s,{href:o(t.href,a,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:a,utm_content:t.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:t.name})},t.name))})]}),r("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Product"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.product.map(t=>e("li",{children:e(s,{href:o(t.href,a,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:a,utm_content:t.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:t.name})},t.name))})]})]}),r("div",{className:"md:grid md:grid-cols-2",children:[r("div",{className:"flex flex-col space-y-8",children:[r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Compare"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.compare.map(t=>e("li",{children:e(s,{href:o(t.href,a,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:a,utm_content:t.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:t.name})},t.name))})]}),r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Legal"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.legal.map(t=>e("li",{children:e(s,{href:o(t.href,a,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:a,utm_content:t.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:t.name})},t.name))})]})]}),r("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Tools"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.tools.map(t=>e("li",{children:e(s,{href:o(t.href,a,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:a,utm_content:t.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:t.name})},t.name))})]})]})]})]}),e(T,{src:"https://assets.dub.co/footer.png",alt:"Dub Technologies, Inc. Logo",width:1959,height:625,className:"pointer-events-none absolute inset-x-0 bottom-0 z-0"})]})})}function D(){let{data:a}=A("https://status.dub.co/api/v1/summary",d),[t,l]=w("bg-gray-200"),[i,c]=w("Loading status...");return F(()=>{if(!a)return;let{ongoing_incidents:u}=a;if(u.length>0){let{current_worst_impact:k,name:L}=u[0],C=k==="degraded_performance"?"bg-yellow-500":"bg-red-500";c(L),l(C)}else c("All systems operational"),l("bg-green-500")},[a]),r(s,{href:"https://status.dub.co",target:"_blank",className:"group flex max-w-fit items-center space-x-2 rounded-md border border-gray-200 bg-white px-3 py-2 transition-colors hover:bg-gray-100",children:[r("div",{className:"relative h-3 w-3",children:[e("div",{className:n("absolute inset-0 m-auto h-3 w-3 animate-ping items-center justify-center rounded-full group-hover:animate-none",t,i==="Loading status..."&&"animate-none")}),e("div",{className:n("absolute inset-0 z-10 m-auto h-3 w-3 rounded-full",t)})]}),e("p",{className:"text-sm font-medium text-gray-800",children:i})]})}export{Y as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{j as t}from"./chunk-NDIMK4LK.mjs";import{cva as o}from"class-variance-authority";import{jsx as n}from"react/jsx-runtime";var i=o("max-w-fit rounded-full border px-2 py-px text-xs font-medium capitalize whitespace-nowrap",{variants:{variant:{default:"border-gray-400 text-gray-500",violet:"border-violet-600 bg-violet-600 text-white",blue:"border-blue-500 bg-blue-500 text-white",sky:"border-sky-900 bg-sky-900 text-white",black:"border-black bg-black text-white",gray:"border-gray-200 bg-gray-100 text-gray-800",neutral:"border-gray-400 text-gray-500",rainbow:"bg-gradient-to-r from-violet-600 to-pink-600 text-white border-transparent"}},defaultVariants:{variant:"neutral"}});function g({className:e,variant:r,...a}){return n("span",{className:t(i({variant:r}),e),...a})}export{i as a,g as b};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{c as l,d as p}from"./chunk-KABJJOQ2.mjs";import{a as n,c,d as u}from"./chunk-FXJSBIND.mjs";import{b as s,j as m}from"./chunk-5PZS4TTS.mjs";import{jsx as e,jsxs as d}from"react/jsx-runtime";function g({domain:o}){return d("div",{className:"grid w-[32rem] grid-cols-[5fr_3.5fr]",children:[d("div",{className:"p-5",children:[e("p",{className:m(n,"mb-2"),children:"Profiles"}),e("div",{className:"-mx-2 flex flex-col gap-0.5",children:l.map(({icon:i,title:r,description:t,href:a})=>e(c,{href:s(a,o,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:o,utm_content:r}),icon:e(u,{icon:i}),title:r,description:t}))})]}),d("div",{className:"border-l border-gray-200 p-5 dark:border-white/20",children:[e("p",{className:m(n,"mb-2"),children:"SDKs"}),e("div",{className:"-mx-2 flex flex-col gap-0.5",children:p.map(({icon:i,iconClassName:r,title:t,href:a})=>e(c,{href:s(a,o,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:o,utm_content:t}),icon:e(i,{className:m("h-5 w-5 shrink-0 text-gray-600 transition-colors dark:text-white/60",r)}),title:t,showArrow:!0},a))})]})]})}export{g as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as Q}from"./chunk-6YONT2BY.mjs";import{a as H}from"./chunk-GVBIGY6N.mjs";import{a as A}from"./chunk-NWME2ANF.mjs";import{a as j}from"./chunk-LORPGVAR.mjs";import{k as K}from"./chunk-CX76AVYA.mjs";import{a as V}from"./chunk-WMTXO7RT.mjs";import{a as $}from"./chunk-IHTRL6TU.mjs";import{a as B}from"./chunk-JW75YDRU.mjs";import{a as F}from"./chunk-JOLDVN3E.mjs";import{a as S}from"./chunk-6FNKCWNE.mjs";import{j as m}from"./chunk-NDIMK4LK.mjs";import{Command as b,CommandInput as re,CommandItem as le,useCommandState as ie}from"cmdk";import{ChevronDown as ce}from"lucide-react";import{forwardRef as me,isValidElement as de,useCallback as pe,useEffect as h,useRef as ue,useState as f}from"react";import{Fragment as T,jsx as e,jsxs as i}from"react/jsx-runtime";function fe(s,o){return s===!0}function Ee({multiple:s,selected:o,setSelected:l,options:a,icon:d,placeholder:Z="Select...",searchPlaceholder:q="Search...",emptyState:x,createLabel:y,onCreate:g,buttonProps:c,shortcutHint:P,caret:G,side:J,open:X,onOpenChange:Y,onSearchChange:N,shouldFilter:I=!0,optionClassName:R,matchTriggerWidth:z,children:_}){let E=fe(s,l),n=Array.isArray(o)?o:o?[o]:[],{isMobile:ee}=A(),[te,se]=f(!1),C=X??te,v=Y??se,[r,w]=f(""),[L,O]=f(!1),[k,oe]=f(void 0),[ae,D]=f(!1),ne=t=>{var p;if(E){let M=n.some(({value:u})=>u===t.value);l(M?n.filter(({value:u})=>u!==t.value):[...n,t])}else l(n.length&&((p=n[0])==null?void 0:p.value)===t.value?null:t),v(!1)},W=pe((t,p)=>p===""?[...n,...t.filter(M=>n.findIndex(u=>u.value===M.value)===-1)]:t,[n]);return h(()=>{L&&(oe(a&&W(a,r)),O(!1))},[L,a,W,r]),h(()=>{O(!0)},[a]),h(()=>{C||(w(""),O(!0))},[C]),h(()=>N==null?void 0:N(r),[r]),e(Q,{openPopover:C,setOpenPopover:v,align:"start",side:J,onWheel:t=>{t.stopPropagation()},popoverContentClassName:m(z&&"sm:w-[var(--radix-popover-trigger-width)]"),content:e(j,{width:!ee&&!z,height:!0,style:{transform:"translateZ(0)"},transition:{ease:"easeInOut",duration:.1},children:i(b,{loop:!0,shouldFilter:I,children:[i("div",{className:"flex items-center overflow-hidden rounded-t-lg border-b border-gray-200",children:[e(re,{placeholder:q,value:r,onValueChange:w,className:"grow border-0 py-3 pl-4 pr-2 outline-none placeholder:text-gray-400 focus:ring-0 sm:text-sm",onKeyDown:t=>{(t.key==="Escape"||t.key==="Backspace"&&!r)&&(t.preventDefault(),t.stopPropagation(),v(!1))}}),P&&e("kbd",{className:"mr-2 hidden shrink-0 rounded bg-gray-200 px-2 py-0.5 text-xs font-light text-gray-500 md:block",children:P})]}),e(xe,{children:e(b.List,{className:m("flex w-full min-w-[100px] flex-col gap-1 p-1"),children:k!==void 0?i(T,{children:[k.map(t=>e(ge,{option:t,multiple:E,selected:n.some(({value:p})=>p===t.value),onSelect:()=>ne(t),className:R},`${t.label}, ${t.value}`)),r.length>0&&g&&i(le,{className:m("flex cursor-pointer items-center gap-3 whitespace-nowrap rounded-md px-3 py-2 text-left text-sm text-gray-700","data-[selected=true]:bg-gray-100",R),onSelect:async()=>{D(!0),await(g==null?void 0:g(r))&&(w(""),v(!1)),D(!1)},children:[ae?e(S,{className:"size-4 shrink-0"}):e(V,{className:"size-4 shrink-0"}),e("div",{className:"grow truncate",children:(y==null?void 0:y(r))||`Create "${r}"`})]}),I?e(ve,{className:"flex min-h-12 items-center justify-center text-sm text-gray-500",children:x||"No matches"}):k.length===0?e("div",{className:"flex min-h-12 items-center justify-center text-sm text-gray-500",children:x||"No matches"}):null]}):e(b.Loading,{children:e("div",{className:"flex h-12 items-center justify-center",children:e(S,{})})})})})]})}),children:e(K,{variant:"secondary",...c,className:m(c==null?void 0:c.className,"flex gap-2"),textWrapperClassName:m(c==null?void 0:c.textWrapperClassName,"w-full flex items-center justify-start"),text:i(T,{children:[e("div",{className:"min-w-0 grow truncate text-left",children:_||n.map(t=>t.label).join(", ")||Z}),G&&e(ce,{className:"ml-1 size-4 shrink-0 text-gray-400 transition-transform duration-75 group-data-[state=open]:rotate-180"})]}),icon:d?U(d)?d:e(d,{className:"size-4"}):void 0})})}var xe=({children:s})=>{let o=ue(null),{scrollProgress:l,updateScrollProgress:a}=H(o);return i(T,{children:[e("div",{className:"scrollbar-hide max-h-[min(50vh,250px)] w-screen overflow-y-scroll sm:w-auto",ref:o,onScroll:a,children:s}),e("div",{className:"pointer-events-none absolute bottom-0 left-0 hidden h-16 w-full rounded-b-lg bg-gradient-to-t from-white sm:block",style:{opacity:1-Math.pow(l,2)}})]})};function ge({option:s,onSelect:o,multiple:l,selected:a,className:d}){return i(b.Item,{className:m("flex cursor-pointer items-center gap-3 whitespace-nowrap rounded-md px-3 py-2 text-left text-sm","data-[selected=true]:bg-gray-100",d),onSelect:o,value:s.label+(s==null?void 0:s.value),children:[l&&e("div",{className:"shrink-0 text-gray-600",children:a?e(F,{className:"size-4 text-gray-600"}):e($,{className:"size-4 text-gray-400"})}),i("div",{className:"flex min-w-0 grow items-center gap-1",children:[s.icon&&e("span",{className:"shrink-0 text-gray-600",children:U(s.icon)?s.icon:e(s.icon,{className:"h-4 w-4"})}),e("span",{className:"grow truncate",children:s.label})]}),!l&&a&&e(B,{className:"size-4 shrink-0 text-gray-600"})]})}var U=s=>de(s),ve=me((s,o)=>ie(a=>a.filtered.count===0)?e("div",{ref:o,"cmdk-empty":"",role:"presentation",...s}):null);export{Ee as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{j as s}from"./chunk-JEWM5H4Z.mjs";import{AlertCircle as c,EyeIcon as u,EyeOffIcon as m}from"lucide-react";import f,{useCallback as p,useState as x}from"react";import{jsx as e,jsxs as o}from"react/jsx-runtime";var g=f.forwardRef(({className:n,type:a,...r},l)=>{let[t,i]=x(!1),d=p(()=>i(!t),[t,i]);return o("div",{children:[o("div",{className:"relative flex",children:[e("input",{type:t?"text":a,className:s("w-full max-w-md rounded-md border border-gray-300 text-gray-900 placeholder-gray-400 focus:border-gray-500 focus:outline-none focus:ring-gray-500 sm:text-sm",r.error&&"border-red-500 focus:border-red-500 focus:ring-red-500",n),ref:l,...r}),o("div",{className:"group",children:[r.error&&e("div",{className:"pointer-events-none absolute inset-y-0 right-0 flex flex-none items-center px-2.5",children:e(c,{className:s("size-5 text-white",a==="password"&&"transition-opacity group-hover:opacity-0"),fill:"#ef4444"})}),a==="password"&&e("button",{className:s("absolute inset-y-0 right-0 flex items-center px-3",r.error&&"opacity-0 transition-opacity group-hover:opacity-100"),type:"button",onClick:()=>d(),"aria-label":t?"Hide password":"Show Password",children:t?e(u,{className:"size-4 flex-none text-gray-500 transition hover:text-gray-700","aria-hidden":!0}):e(m,{className:"size-4 flex-none text-gray-500 transition hover:text-gray-700","aria-hidden":!0})})]})]}),r.error&&e("span",{className:"mt-2 block text-sm text-red-500",role:"alert","aria-live":"assertive",children:r.error})]})});g.displayName="Input";export{g as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{c as l,d as p}from"./chunk-MYVDXJUG.mjs";import{a as n,c,d as u}from"./chunk-5UBMZTOO.mjs";import{b as s,j as m}from"./chunk-Q3R4BHCB.mjs";import{jsx as e,jsxs as d}from"react/jsx-runtime";function g({domain:o}){return d("div",{className:"grid w-[32rem] grid-cols-[5fr_3.5fr]",children:[d("div",{className:"p-5",children:[e("p",{className:m(n,"mb-2"),children:"Profiles"}),e("div",{className:"-mx-2 flex flex-col gap-0.5",children:l.map(({icon:i,title:r,description:t,href:a})=>e(c,{href:s(a,o,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:o,utm_content:r}),icon:e(u,{icon:i}),title:r,description:t}))})]}),d("div",{className:"border-l border-gray-200 p-5 dark:border-white/20",children:[e("p",{className:m(n,"mb-2"),children:"SDKs"}),e("div",{className:"-mx-2 flex flex-col gap-0.5",children:p.map(({icon:i,iconClassName:r,title:t,href:a})=>e(c,{href:s(a,o,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:o,utm_content:t}),icon:e(i,{className:m("h-5 w-5 shrink-0 text-gray-600 transition-colors dark:text-white/60",r)}),title:t,showArrow:!0},a))})]})]})}export{g as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{e as u}from"./chunk-LHZ5YKK3.mjs";import{a as m,c as g,e as k}from"./chunk-FXJSBIND.mjs";import{a as c}from"./chunk-AHM3CYPV.mjs";import{a as l}from"./chunk-CEHEOF6H.mjs";import{a as h}from"./chunk-MADKDZPF.mjs";import{a as f}from"./chunk-ILOTW3LM.mjs";import{a as d}from"./chunk-TCGFEN54.mjs";import{a as p}from"./chunk-O3KWGEBR.mjs";import{b as a,j as t}from"./chunk-5PZS4TTS.mjs";import{jsx as e,jsxs as s}from"react/jsx-runtime";var v=[{name:"Spotify Link Shortener",href:"/tools/spotify-link-shortener",icon:p},{name:"ChatGPT Link Shortener",href:"/tools/chatgpt-link-shortener",icon:l},{name:"GitHub Link Shortener",href:"/tools/github-link-shortener",icon:f},{name:"Google Link Shortener",href:"/tools/google-link-shortener",icon:d},{name:"Amazon Link Shortener",href:"/tools/amazon-link-shortener",icon:c},{name:"Figma Link Shortener",href:"/tools/figma-link-shortener",icon:h}];function _({domain:o}){return s("div",{className:"grid w-[32rem] grid-cols-[7fr_5fr]",children:[s("div",{className:"p-5",children:[e("p",{className:t(m,"mb-2"),children:"Tools"}),e("div",{className:"flex flex-col gap-2",children:v.map(({name:r,href:n,icon:i})=>e(k,{name:r,href:a(n,o,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:o,utm_content:r}),icon:e(i,{})}))})]}),s("div",{className:"border-l border-gray-200 p-5 dark:border-white/20",children:[e("p",{className:t(m,"mb-2"),children:"Resources"}),e("div",{className:"-mx-2 flex flex-col gap-0.5",children:u.map(({icon:r,title:n,href:i})=>e(g,{href:a(i,o,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:o,utm_content:n}),icon:e(r,{className:t("h-5 w-5 shrink-0 text-gray-600 dark:text-white/60")}),title:n,showArrow:!0}))})]})]})}export{_ as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{j as a}from"./chunk-JEWM5H4Z.mjs";import{jsx as t,jsxs as r}from"react/jsx-runtime";function n({className:i}){return r("svg",{className:a("h-full w-full",i),viewBox:"0 0 222 222",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[t("circle",{cx:"111",cy:"111",r:"111",fill:"url(#paint0_radial_8357_120)"}),t("path",{d:"M182.248 111.875C182.248 105.853 181.76 101.458 180.702 96.9003H111.931V124.083H152.298C151.484 130.838 147.089 141.011 137.323 147.848L137.186 148.758L158.93 165.603L160.437 165.753C174.272 152.975 182.248 134.175 182.248 111.875Z",fill:"url(#paint1_linear_8357_120)"}),t("path",{d:"M111.931 183.495C131.707 183.495 148.31 176.984 160.437 165.753L137.323 147.848C131.138 152.161 122.836 155.172 111.931 155.172C92.561 155.172 76.1211 142.395 70.2607 124.734L69.4017 124.807L46.7918 142.305L46.4961 143.127C58.5411 167.055 83.2826 183.495 111.931 183.495Z",fill:"url(#paint2_linear_8357_120)"}),t("path",{d:"M70.2606 124.734C68.7143 120.177 67.8194 115.293 67.8194 110.248C67.8194 105.201 68.7143 100.318 70.1793 95.7607L70.1383 94.7901L47.245 77.0109L46.496 77.3672C41.5317 87.2964 38.6831 98.4466 38.6831 110.248C38.6831 122.048 41.5317 133.198 46.496 143.127L70.2606 124.734Z",fill:"url(#paint3_linear_8357_120)"}),t("path",{d:"M111.931 65.3222C125.685 65.3222 134.963 71.2633 140.253 76.2282L160.925 56.0444C148.229 44.2434 131.707 37 111.931 37C83.2826 37 58.5411 53.4399 46.4961 77.3672L70.1794 95.7607C76.1211 78.1 92.561 65.3222 111.931 65.3222Z",fill:"url(#paint4_linear_8357_120)"}),r("defs",{children:[r("radialGradient",{id:"paint0_radial_8357_120",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(226.5 207.5) rotate(-140.591) scale(286.681)",children:[t("stop",{"stop-color":"white"}),t("stop",{offset:"0.5","stop-color":"white"}),t("stop",{offset:"1","stop-color":"#E8E8E8"})]}),r("linearGradient",{id:"paint1_linear_8357_120",x1:"176.5",y1:"148.5",x2:"112",y2:"97",gradientUnits:"userSpaceOnUse",children:[t("stop",{"stop-color":"#76A7F9"}),t("stop",{offset:"1","stop-color":"#4285F4"})]}),r("linearGradient",{id:"paint2_linear_8357_120",x1:"38.5",y1:"164.5",x2:"160",y2:"175",gradientUnits:"userSpaceOnUse",children:[t("stop",{"stop-color":"#34A853"}),t("stop",{offset:"1","stop-color":"#8DFBAA"})]}),r("linearGradient",{id:"paint3_linear_8357_120",x1:"81",y1:"115",x2:"35.9999",y2:"110",gradientUnits:"userSpaceOnUse",children:[t("stop",{"stop-color":"#FFE28F"}),t("stop",{offset:"1","stop-color":"#FBBC05"})]}),r("linearGradient",{id:"paint4_linear_8357_120",x1:"117.5",y1:"84",x2:"78",y2:"45.5",gradientUnits:"userSpaceOnUse",children:[t("stop",{"stop-color":"#FF968D"}),t("stop",{offset:"1","stop-color":"#EB4335"})]})]})]})}export{n as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{j as v}from"./chunk-JEWM5H4Z.mjs";import{jsx as h}from"react/jsx-runtime";function s({className:c}){return h("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",className:v("text-[#0077b5]",c),children:h("path",{fill:"currentColor",d:"M19 0h-14c-2.761 0-5 2.239-5 5v14c0 2.761 2.239 5 5 5h14c2.762 0 5-2.239 5-5v-14c0-2.761-2.238-5-5-5zm-11 19h-3v-11h3v11zm-1.5-12.268c-.966 0-1.75-.79-1.75-1.764s.784-1.764 1.75-1.764 1.75.79 1.75 1.764-.783 1.764-1.75 1.764zm13.5 12.268h-3v-5.604c0-3.368-4-3.113-4 0v5.604h-3v-11h3v1.765c1.396-2.586 7-2.777 7 2.476v6.759z"})})}export{s as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{q as a}from"./chunk-ITSRU362.mjs";import{jsx as t,jsxs as r}from"react/jsx-runtime";function n({className:i}){return r("svg",{className:a("h-full w-full",i),viewBox:"0 0 222 222",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[t("circle",{cx:"111",cy:"111",r:"111",fill:"url(#paint0_radial_8357_120)"}),t("path",{d:"M182.248 111.875C182.248 105.853 181.76 101.458 180.702 96.9003H111.931V124.083H152.298C151.484 130.838 147.089 141.011 137.323 147.848L137.186 148.758L158.93 165.603L160.437 165.753C174.272 152.975 182.248 134.175 182.248 111.875Z",fill:"url(#paint1_linear_8357_120)"}),t("path",{d:"M111.931 183.495C131.707 183.495 148.31 176.984 160.437 165.753L137.323 147.848C131.138 152.161 122.836 155.172 111.931 155.172C92.561 155.172 76.1211 142.395 70.2607 124.734L69.4017 124.807L46.7918 142.305L46.4961 143.127C58.5411 167.055 83.2826 183.495 111.931 183.495Z",fill:"url(#paint2_linear_8357_120)"}),t("path",{d:"M70.2606 124.734C68.7143 120.177 67.8194 115.293 67.8194 110.248C67.8194 105.201 68.7143 100.318 70.1793 95.7607L70.1383 94.7901L47.245 77.0109L46.496 77.3672C41.5317 87.2964 38.6831 98.4466 38.6831 110.248C38.6831 122.048 41.5317 133.198 46.496 143.127L70.2606 124.734Z",fill:"url(#paint3_linear_8357_120)"}),t("path",{d:"M111.931 65.3222C125.685 65.3222 134.963 71.2633 140.253 76.2282L160.925 56.0444C148.229 44.2434 131.707 37 111.931 37C83.2826 37 58.5411 53.4399 46.4961 77.3672L70.1794 95.7607C76.1211 78.1 92.561 65.3222 111.931 65.3222Z",fill:"url(#paint4_linear_8357_120)"}),r("defs",{children:[r("radialGradient",{id:"paint0_radial_8357_120",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(226.5 207.5) rotate(-140.591) scale(286.681)",children:[t("stop",{"stop-color":"white"}),t("stop",{offset:"0.5","stop-color":"white"}),t("stop",{offset:"1","stop-color":"#E8E8E8"})]}),r("linearGradient",{id:"paint1_linear_8357_120",x1:"176.5",y1:"148.5",x2:"112",y2:"97",gradientUnits:"userSpaceOnUse",children:[t("stop",{"stop-color":"#76A7F9"}),t("stop",{offset:"1","stop-color":"#4285F4"})]}),r("linearGradient",{id:"paint2_linear_8357_120",x1:"38.5",y1:"164.5",x2:"160",y2:"175",gradientUnits:"userSpaceOnUse",children:[t("stop",{"stop-color":"#34A853"}),t("stop",{offset:"1","stop-color":"#8DFBAA"})]}),r("linearGradient",{id:"paint3_linear_8357_120",x1:"81",y1:"115",x2:"35.9999",y2:"110",gradientUnits:"userSpaceOnUse",children:[t("stop",{"stop-color":"#FFE28F"}),t("stop",{offset:"1","stop-color":"#FBBC05"})]}),r("linearGradient",{id:"paint4_linear_8357_120",x1:"117.5",y1:"84",x2:"78",y2:"45.5",gradientUnits:"userSpaceOnUse",children:[t("stop",{"stop-color":"#FF968D"}),t("stop",{offset:"1","stop-color":"#EB4335"})]})]})]})}export{n as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{c as n}from"./chunk-YXLFXVDV.mjs";import{jsx as e,jsxs as a}from"react/jsx-runtime";function h({cellSize:t=12,strokeWidth:s=1,patternOffset:r=[0,0],className:i}){return a("svg",{className:n("pointer-events-none absolute inset-0 text-black/10",i),width:"100%",height:"100%",children:[e("defs",{children:e("pattern",{id:"grid",x:r[0]-1,y:r[1]-1,width:t,height:t,patternUnits:"userSpaceOnUse",children:e("path",{d:`M ${t} 0 L 0 0 0 ${t}`,fill:"transparent",stroke:"currentColor",strokeWidth:s})})}),e("rect",{fill:"url(#grid)",width:"100%",height:"100%"})]})}export{h as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{e as u}from"./chunk-A66FTKMV.mjs";import{a as m,c as g,e as k}from"./chunk-4O6IROTY.mjs";import{a as c}from"./chunk-4XATGNII.mjs";import{a as l}from"./chunk-JWSU3ZCO.mjs";import{a as h}from"./chunk-YCLT3OU4.mjs";import{a as f}from"./chunk-CU7VY3CY.mjs";import{a as d}from"./chunk-EXSUWHDL.mjs";import{a as p}from"./chunk-5SLYBOPX.mjs";import{c as a,q as t}from"./chunk-ITSRU362.mjs";import{jsx as e,jsxs as s}from"react/jsx-runtime";var v=[{name:"Spotify Link Shortener",href:"/tools/spotify-link-shortener",icon:p},{name:"ChatGPT Link Shortener",href:"/tools/chatgpt-link-shortener",icon:l},{name:"GitHub Link Shortener",href:"/tools/github-link-shortener",icon:f},{name:"Google Link Shortener",href:"/tools/google-link-shortener",icon:d},{name:"Amazon Link Shortener",href:"/tools/amazon-link-shortener",icon:c},{name:"Figma Link Shortener",href:"/tools/figma-link-shortener",icon:h}];function _({domain:o}){return s("div",{className:"grid w-[32rem] grid-cols-[7fr_5fr]",children:[s("div",{className:"p-5",children:[e("p",{className:t(m,"mb-2"),children:"Tools"}),e("div",{className:"flex flex-col gap-2",children:v.map(({name:r,href:n,icon:i})=>e(k,{name:r,href:a(n,o,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:o,utm_content:r}),icon:e(i,{})}))})]}),s("div",{className:"border-l border-gray-200 p-5 dark:border-white/20",children:[e("p",{className:t(m,"mb-2"),children:"Resources"}),e("div",{className:"-mx-2 flex flex-col gap-0.5",children:u.map(({icon:r,title:n,href:i})=>e(g,{href:a(i,o,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:o,utm_content:n}),icon:e(r,{className:t("h-5 w-5 shrink-0 text-gray-600 dark:text-white/60")}),title:n,showArrow:!0}))})]})]})}export{_ as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as v,b as g}from"./chunk-A66FTKMV.mjs";import{a as c,c as u,d as N}from"./chunk-YEBPNCBV.mjs";import{a as l}from"./chunk-KNRJZQQD.mjs";import{b as o,j as i,n as d}from"./chunk-JEWM5H4Z.mjs";import{ChevronRight as h}from"lucide-react";import _ from"next/link";import{jsx as t,jsxs as a}from"react/jsx-runtime";function y({domain:e}){return a("div",{className:"grid w-[40rem] grid-cols-2",children:[a("div",{className:"p-5",children:[t("p",{className:i(c,"mb-2"),children:"Features"}),t("div",{className:"-mx-2 -mb-2 grid grid-cols-1 gap-0.5",children:v.map(({icon:m,title:r,description:s,href:n})=>t(u,{href:o(n,e,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:e,utm_content:r}),icon:t(N,{icon:m}),title:r,description:s},n))})]}),a("div",{className:"border-l border-gray-200 p-5 dark:border-white/20",children:[a(_,{href:o("/customers",e,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:e,utm_content:"Customer Stories"}),className:i(c,"group mb-2 flex items-center transition-colors hover:text-black dark:hover:text-white"),children:["Customer Stories",t(h,{className:"ml-0.5 h-2.5 w-2.5 transition-transform group-hover:translate-x-px"})]}),t("div",{className:"grid grid-cols-1",children:g.map(({icon:m,iconClassName:r,title:s,description:n,href:p})=>t(u,{href:o(p,e,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:e,utm_content:s}),className:"-mx-2",icon:t(m,{className:i("h-7 w-7 shrink-0 text-gray-600 transition-colors dark:text-white/60",r)}),title:s,description:n,descriptionLines:2},p))}),t("p",{className:i(c,"my-4"),children:"Compare"}),t("div",{className:"flex flex-col gap-1.5",children:d.map(({name:m,slug:r})=>a(_,{href:o(`/compare/${r}`,e,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:e,utm_content:`Dub vs. ${m}`}),className:"group flex items-center gap-0.5 text-gray-500 transition-colors hover:text-gray-700 dark:text-white/60 dark:hover:text-white/80",children:[a("p",{className:"text-sm font-medium",children:["Dub vs. ",m]})," ",t(l,{className:"h-3 w-3"})]},r))})]})]})}export{y as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{e as u}from"./chunk-A66FTKMV.mjs";import{a as m,c as g,e as k}from"./chunk-YEBPNCBV.mjs";import{a as f}from"./chunk-B44JEQFU.mjs";import{a as d}from"./chunk-EVSJVFO4.mjs";import{a as p}from"./chunk-VGXJLG57.mjs";import{a as c}from"./chunk-VEGCJ2PF.mjs";import{a as l}from"./chunk-J332URXQ.mjs";import{a as h}from"./chunk-NGONOZG5.mjs";import{b as a,j as t}from"./chunk-JEWM5H4Z.mjs";import{jsx as e,jsxs as s}from"react/jsx-runtime";var v=[{name:"Spotify Link Shortener",href:"/tools/spotify-link-shortener",icon:p},{name:"ChatGPT Link Shortener",href:"/tools/chatgpt-link-shortener",icon:l},{name:"GitHub Link Shortener",href:"/tools/github-link-shortener",icon:f},{name:"Google Link Shortener",href:"/tools/google-link-shortener",icon:d},{name:"Amazon Link Shortener",href:"/tools/amazon-link-shortener",icon:c},{name:"Figma Link Shortener",href:"/tools/figma-link-shortener",icon:h}];function _({domain:o}){return s("div",{className:"grid w-[32rem] grid-cols-[7fr_5fr]",children:[s("div",{className:"p-5",children:[e("p",{className:t(m,"mb-2"),children:"Tools"}),e("div",{className:"flex flex-col gap-2",children:v.map(({name:r,href:n,icon:i})=>e(k,{name:r,href:a(n,o,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:o,utm_content:r}),icon:e(i,{})}))})]}),s("div",{className:"border-l border-gray-200 p-5 dark:border-white/20",children:[e("p",{className:t(m,"mb-2"),children:"Resources"}),e("div",{className:"-mx-2 flex flex-col gap-0.5",children:u.map(({icon:r,title:n,href:i})=>e(g,{href:a(i,o,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:o,utm_content:n}),icon:e(r,{className:t("h-5 w-5 shrink-0 text-gray-600 dark:text-white/60")}),title:n,showArrow:!0}))})]})]})}export{_ as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as Z}from"./chunk-TW54UUKS.mjs";import{a as B}from"./chunk-GVBIGY6N.mjs";import{a as j}from"./chunk-NWME2ANF.mjs";import{a as F}from"./chunk-MINTMV45.mjs";import{k as U}from"./chunk-NFT4CZEK.mjs";import{a as Q}from"./chunk-WMTXO7RT.mjs";import{a as $}from"./chunk-JW75YDRU.mjs";import{a as V}from"./chunk-JOLDVN3E.mjs";import{a as K}from"./chunk-IHTRL6TU.mjs";import{a as P}from"./chunk-QGANLVES.mjs";import{j as i}from"./chunk-5PZS4TTS.mjs";import{Command as b,CommandInput as ie,CommandItem as ce,useCommandState as me}from"cmdk";import{ChevronDown as de}from"lucide-react";import{forwardRef as pe,isValidElement as ue,useCallback as fe,useEffect as h,useRef as xe,useState as f}from"react";import{Fragment as I,jsx as e,jsxs as c}from"react/jsx-runtime";function ge(s,o){return s===!0}function De({multiple:s,selected:o,setSelected:l,options:a,icon:d,placeholder:y="Select...",searchPlaceholder:G="Search...",emptyState:x,createLabel:N,onCreate:g,buttonProps:m,shortcutHint:z,caret:J,side:X,open:Y,onOpenChange:_,onSearchChange:C,shouldFilter:R=!0,inputClassName:ee,optionRight:w,optionClassName:E,matchTriggerWidth:L,children:te}){let D=ge(s,l),n=Array.isArray(o)?o:o?[o]:[],{isMobile:se}=j(),[oe,ae]=f(!1),O=Y??oe,v=_??ae,[r,k]=f(""),[W,M]=f(!1),[S,ne]=f(void 0),[re,A]=f(!1),le=t=>{var p;if(D){let T=n.some(({value:u})=>u===t.value);l(T?n.filter(({value:u})=>u!==t.value):[...n,t])}else l(n.length&&((p=n[0])==null?void 0:p.value)===t.value?null:t),v(!1)},H=fe((t,p)=>p===""?[...n,...t.filter(T=>n.findIndex(u=>u.value===T.value)===-1)]:t,[n]);return h(()=>{W&&(ne(a&&H(a,r)),M(!1))},[W,a,H,r]),h(()=>{M(!0)},[a]),h(()=>{O||(k(""),M(!0))},[O]),h(()=>C==null?void 0:C(r),[r]),e(Z,{openPopover:O,setOpenPopover:v,align:"start",side:X,onWheel:t=>{t.stopPropagation()},popoverContentClassName:i(L&&"sm:w-[var(--radix-popover-trigger-width)]"),content:e(F,{width:!se&&!L,height:!0,style:{transform:"translateZ(0)"},transition:{ease:"easeInOut",duration:.1},children:c(b,{loop:!0,shouldFilter:R,children:[c("div",{className:"flex items-center overflow-hidden rounded-t-lg border-b border-gray-200",children:[e(ie,{placeholder:G,value:r,onValueChange:k,className:i("grow border-0 py-3 pl-4 pr-2 outline-none placeholder:text-gray-400 focus:ring-0 sm:text-sm",ee),onKeyDown:t=>{(t.key==="Escape"||t.key==="Backspace"&&!r)&&(t.preventDefault(),t.stopPropagation(),v(!1))}}),z&&e("kbd",{className:"mr-2 hidden shrink-0 rounded bg-gray-200 px-2 py-0.5 text-xs font-light text-gray-500 md:block",children:z})]}),e(ve,{children:e(b.List,{className:i("flex w-full min-w-[100px] flex-col gap-1 p-1"),children:S!==void 0?c(I,{children:[S.map(t=>e(he,{option:t,multiple:D,selected:n.some(({value:p})=>p===t.value),onSelect:()=>le(t),right:w==null?void 0:w(t),className:E},`${t.label}, ${t.value}`)),r.length>0&&g&&c(ce,{className:i("flex cursor-pointer items-center gap-3 whitespace-nowrap rounded-md px-3 py-2 text-left text-sm text-gray-700","data-[selected=true]:bg-gray-100",E),onSelect:async()=>{A(!0),await(g==null?void 0:g(r))&&(k(""),v(!1)),A(!1)},children:[re?e(P,{className:"size-4 shrink-0"}):e(Q,{className:"size-4 shrink-0"}),e("div",{className:"grow truncate",children:(N==null?void 0:N(r))||`Create "${r}"`})]}),R?e(be,{className:"flex min-h-12 items-center justify-center text-sm text-gray-500",children:x||"No matches"}):S.length===0?e("div",{className:"flex min-h-12 items-center justify-center text-sm text-gray-500",children:x||"No matches"}):null]}):e(b.Loading,{children:e("div",{className:"flex h-12 items-center justify-center",children:e(P,{})})})})})]})}),children:e(U,{variant:"secondary",...m,className:i(m==null?void 0:m.className,"flex gap-2"),textWrapperClassName:i(m==null?void 0:m.textWrapperClassName,"w-full flex items-center justify-start"),text:c(I,{children:[e("div",{className:"min-w-0 grow truncate text-left",children:te||n.map(t=>t.label).join(", ")||y}),J&&e(de,{className:"ml-1 size-4 shrink-0 text-gray-400 transition-transform duration-75 group-data-[state=open]:rotate-180"})]}),icon:d?q(d)?d:e(d,{className:"size-4 shrink-0"}):void 0})})}var ve=({children:s})=>{let o=xe(null),{scrollProgress:l,updateScrollProgress:a}=B(o);return c(I,{children:[e("div",{className:"scrollbar-hide max-h-[min(50vh,250px)] w-screen overflow-y-scroll sm:w-auto",ref:o,onScroll:a,children:s}),e("div",{className:"pointer-events-none absolute bottom-0 left-0 hidden h-16 w-full rounded-b-lg bg-gradient-to-t from-white sm:block",style:{opacity:1-Math.pow(l,2)}})]})};function he({option:s,onSelect:o,multiple:l,selected:a,right:d,className:y}){return c(b.Item,{className:i("flex cursor-pointer items-center gap-3 whitespace-nowrap rounded-md px-3 py-2 text-left text-sm","data-[selected=true]:bg-gray-100",y),onSelect:o,value:s.label+(s==null?void 0:s.value),children:[l&&e("div",{className:"shrink-0 text-gray-600",children:a?e(V,{className:"size-4 text-gray-600"}):e(K,{className:"size-4 text-gray-400"})}),c("div",{className:"flex min-w-0 grow items-center gap-1",children:[s.icon&&e("span",{className:"shrink-0 text-gray-600",children:q(s.icon)?s.icon:e(s.icon,{className:"h-4 w-4"})}),e("span",{className:"grow truncate",children:s.label})]}),d,!l&&a&&e($,{className:"size-4 shrink-0 text-gray-600"})]})}var q=s=>ue(s),be=pe((s,o)=>me(a=>a.filtered.count===0)?e("div",{ref:o,"cmdk-empty":"",role:"presentation",...s}):null);export{De as a};