@dub/ui 0.1.69 → 0.2.1

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 (486) hide show
  1. package/dist/accordion.mjs +1 -1
  2. package/dist/alert.mjs +1 -1
  3. package/dist/animated-size-container.d.ts +47 -47
  4. package/dist/animated-size-container.mjs +1 -1
  5. package/dist/avatar.mjs +1 -1
  6. package/dist/badge.d.ts +1 -1
  7. package/dist/badge.mjs +1 -1
  8. package/dist/blur-image.mjs +1 -1
  9. package/dist/button.mjs +1 -1
  10. package/dist/card-list/card-list-card.mjs +1 -1
  11. package/dist/card-list/card-list.mjs +1 -1
  12. package/dist/carousel.mjs +1 -1
  13. package/dist/checkbox.mjs +1 -1
  14. package/dist/chunk-22YA6UTX.mjs +2 -0
  15. package/dist/chunk-247VLDLW.mjs +2 -0
  16. package/dist/chunk-26OFQBVX.mjs +2 -0
  17. package/dist/chunk-2ALO76DQ.mjs +6 -0
  18. package/dist/chunk-2BGNJ55M.mjs +2 -0
  19. package/dist/chunk-2C3X33M3.mjs +2 -0
  20. package/dist/chunk-2ERJVCRX.mjs +2 -0
  21. package/dist/chunk-2ISXYSSV.mjs +2 -0
  22. package/dist/chunk-2R2HI35U.mjs +2 -0
  23. package/dist/chunk-2T3IVINA.mjs +2 -0
  24. package/dist/chunk-2UOGGGLR.mjs +2 -0
  25. package/dist/chunk-3342XKCZ.mjs +2 -0
  26. package/dist/chunk-364FJC4C.mjs +2 -0
  27. package/dist/chunk-3D4TSYY5.mjs +2 -0
  28. package/dist/chunk-3DZZZYYD.mjs +2 -0
  29. package/dist/chunk-3HAJBN2K.mjs +2 -0
  30. package/dist/chunk-3HRSXNGL.mjs +2 -0
  31. package/dist/chunk-3LGCWG5E.mjs +2 -0
  32. package/dist/chunk-3PW5FMTB.mjs +2 -0
  33. package/dist/chunk-3QOUGNTX.mjs +6 -0
  34. package/dist/chunk-3SX2AYFB.mjs +2 -0
  35. package/dist/chunk-3U4AOVHR.mjs +2 -0
  36. package/dist/chunk-3VUUSH47.mjs +2 -0
  37. package/dist/chunk-3XEENINE.mjs +2 -0
  38. package/dist/chunk-3XKU32OM.mjs +2 -0
  39. package/dist/chunk-3ZTRRVV5.mjs +2 -0
  40. package/dist/chunk-3ZUT476A.mjs +2 -0
  41. package/dist/chunk-42CNPCUI.mjs +2 -0
  42. package/dist/chunk-42GWKFBS.mjs +2 -0
  43. package/dist/chunk-43M5IPYQ.mjs +2 -0
  44. package/dist/chunk-453I5MUI.mjs +2 -0
  45. package/dist/chunk-4ENPOOKY.mjs +2 -0
  46. package/dist/chunk-4UNIVZWK.mjs +2 -0
  47. package/dist/chunk-55MW6BPC.mjs +2 -0
  48. package/dist/chunk-56IGFFSK.mjs +6 -0
  49. package/dist/chunk-5DZSZB5M.mjs +2 -0
  50. package/dist/chunk-5EIK4CZT.mjs +2 -0
  51. package/dist/chunk-5GA24DQQ.mjs +2 -0
  52. package/dist/chunk-5GRDU2JJ.mjs +2 -0
  53. package/dist/chunk-5H47SBK4.mjs +2 -0
  54. package/dist/chunk-5H5TZWRF.mjs +2 -0
  55. package/dist/chunk-5HJID3RL.mjs +2 -0
  56. package/dist/chunk-5K3VGRD2.mjs +2 -0
  57. package/dist/chunk-5OQYNH24.mjs +2 -0
  58. package/dist/chunk-5SQRHOY4.mjs +2 -0
  59. package/dist/chunk-5UDLEOOZ.mjs +2 -0
  60. package/dist/chunk-5XVEBJXY.mjs +2 -0
  61. package/dist/chunk-63WNLYNN.mjs +2 -0
  62. package/dist/chunk-66EFS2V6.mjs +2 -0
  63. package/dist/chunk-6DTNJ4P7.mjs +2 -0
  64. package/dist/chunk-6F2KGXS4.mjs +2 -0
  65. package/dist/chunk-6GOS2GMN.mjs +2 -0
  66. package/dist/chunk-6H7XIYUR.mjs +2 -0
  67. package/dist/chunk-6HYZCQKA.mjs +2 -0
  68. package/dist/chunk-6ILNPUPR.mjs +2 -0
  69. package/dist/chunk-6MLN43XM.mjs +2 -0
  70. package/dist/chunk-6RXBLLFM.mjs +2 -0
  71. package/dist/chunk-6TTX2ZDS.mjs +2 -0
  72. package/dist/chunk-6YPFXVI6.mjs +2 -0
  73. package/dist/chunk-6YZAPOXQ.mjs +2 -0
  74. package/dist/chunk-6ZSJOGGO.mjs +2 -0
  75. package/dist/chunk-7CMQJHR4.mjs +2 -0
  76. package/dist/chunk-7GZ4MGXX.mjs +2 -0
  77. package/dist/chunk-7IBOHXWV.mjs +42 -0
  78. package/dist/chunk-7JS5EYPU.mjs +2 -0
  79. package/dist/chunk-7O4GRGY4.mjs +2 -0
  80. package/dist/chunk-7QQGHSGL.mjs +2 -0
  81. package/dist/chunk-7RKJYNTJ.mjs +2 -0
  82. package/dist/chunk-7TRQ6CWN.mjs +2 -0
  83. package/dist/chunk-7URJVZM7.mjs +2 -0
  84. package/dist/chunk-7Z2U6NBE.mjs +2 -0
  85. package/dist/chunk-7Z5HPOEV.mjs +2 -0
  86. package/dist/chunk-7ZSYFIWP.mjs +2 -0
  87. package/dist/chunk-A4DNB5TT.mjs +6 -0
  88. package/dist/chunk-A55JQOUX.mjs +2 -0
  89. package/dist/chunk-ABBVN54D.mjs +2 -0
  90. package/dist/chunk-ABDYDCRS.mjs +2 -0
  91. package/dist/chunk-ACBXE77J.mjs +2 -0
  92. package/dist/chunk-AIVHYQG5.mjs +2 -0
  93. package/dist/chunk-AJROEBR6.mjs +2 -0
  94. package/dist/chunk-AMI5N7ZX.mjs +2 -0
  95. package/dist/chunk-ANKG3D2X.mjs +2 -0
  96. package/dist/chunk-ANS77IOP.mjs +2 -0
  97. package/dist/chunk-ASTQ56VM.mjs +2 -0
  98. package/dist/chunk-AU7VG236.mjs +2 -0
  99. package/dist/chunk-AWR6CXLX.mjs +2 -0
  100. package/dist/chunk-AXGKFR2L.mjs +2 -0
  101. package/dist/chunk-AXYDLQKU.mjs +2 -0
  102. package/dist/chunk-AY63N3KD.mjs +2 -0
  103. package/dist/chunk-B3ARVU7B.mjs +2 -0
  104. package/dist/chunk-B4EJWWOD.mjs +2 -0
  105. package/dist/chunk-B7DL2KYU.mjs +2 -0
  106. package/dist/chunk-BDL6SWJ2.mjs +2 -0
  107. package/dist/chunk-BF66E7XG.mjs +2 -0
  108. package/dist/chunk-BFS2SK2V.mjs +2 -0
  109. package/dist/chunk-BL4SKYKG.mjs +2 -0
  110. package/dist/chunk-BLUVVIM3.mjs +2 -0
  111. package/dist/chunk-BQQLF4DK.mjs +2 -0
  112. package/dist/chunk-BR2VFDDF.mjs +2 -0
  113. package/dist/chunk-BSMFRXXM.mjs +2 -0
  114. package/dist/chunk-BTOOVMV4.mjs +2 -0
  115. package/dist/chunk-BVE5B54J.mjs +2 -0
  116. package/dist/chunk-BWXNVFPD.mjs +2 -0
  117. package/dist/chunk-BYDF2AZH.mjs +2 -0
  118. package/dist/chunk-BZYQQGJJ.mjs +2 -0
  119. package/dist/chunk-C6EKAGGI.mjs +2 -0
  120. package/dist/chunk-C75SOTIQ.mjs +2 -0
  121. package/dist/chunk-C7GS67U3.mjs +2 -0
  122. package/dist/chunk-CC3TUQTU.mjs +2 -0
  123. package/dist/chunk-CFOQTU4A.mjs +2 -0
  124. package/dist/chunk-CGLET7BA.mjs +2 -0
  125. package/dist/chunk-COHO5QST.mjs +2 -0
  126. package/dist/chunk-COI4KIWF.mjs +2 -0
  127. package/dist/chunk-CSS6W3MQ.mjs +2 -0
  128. package/dist/chunk-CSWCRIGC.mjs +2 -0
  129. package/dist/chunk-CV2TH3IF.mjs +2 -0
  130. package/dist/chunk-CXZ46GWC.mjs +2 -0
  131. package/dist/chunk-D3ADWNNC.mjs +2 -0
  132. package/dist/chunk-D477HPBE.mjs +2 -0
  133. package/dist/chunk-D5VPAWUW.mjs +2 -0
  134. package/dist/chunk-D6U2BOCJ.mjs +2 -0
  135. package/dist/chunk-D7JIIDIV.mjs +2 -0
  136. package/dist/chunk-DAL74OZ3.mjs +2 -0
  137. package/dist/chunk-DGX3SJB2.mjs +2 -0
  138. package/dist/chunk-DHBFUPCL.mjs +2 -0
  139. package/dist/chunk-DKE6ATB4.mjs +2 -0
  140. package/dist/chunk-DOWS7PF4.mjs +2 -0
  141. package/dist/chunk-DPFJSPCA.mjs +6 -0
  142. package/dist/chunk-DWW2DMGM.mjs +2 -0
  143. package/dist/chunk-E7P4GG42.mjs +2 -0
  144. package/dist/chunk-EAWPQZL4.mjs +2 -0
  145. package/dist/chunk-EB3SQPJW.mjs +6 -0
  146. package/dist/chunk-EH4PJPIC.mjs +2 -0
  147. package/dist/chunk-EOTJIERM.mjs +2 -0
  148. package/dist/chunk-ER4DXXJA.mjs +2 -0
  149. package/dist/chunk-ESKI43TL.mjs +2 -0
  150. package/dist/chunk-ETEFCQFF.mjs +2 -0
  151. package/dist/chunk-EUQHARY3.mjs +2 -0
  152. package/dist/chunk-EVF7DE3F.mjs +2 -0
  153. package/dist/chunk-EYOEMHC3.mjs +2 -0
  154. package/dist/chunk-F6B3RUYR.mjs +2 -0
  155. package/dist/chunk-FEQK6SUB.mjs +2 -0
  156. package/dist/chunk-FK5QGBOB.mjs +2 -0
  157. package/dist/chunk-FKLCTJZ4.mjs +2 -0
  158. package/dist/chunk-FNUSVYOB.mjs +2 -0
  159. package/dist/chunk-FUIMLA7W.mjs +2 -0
  160. package/dist/chunk-G3DLVKQH.mjs +2 -0
  161. package/dist/chunk-G4AKE33L.mjs +2 -0
  162. package/dist/chunk-GDLAA4G2.mjs +2 -0
  163. package/dist/chunk-GHSFG3C4.mjs +2 -0
  164. package/dist/chunk-GLJUY3FU.mjs +6 -0
  165. package/dist/chunk-GLUYP2AE.mjs +2 -0
  166. package/dist/chunk-GOU3HDJT.mjs +2 -0
  167. package/dist/chunk-GT5ULDAB.mjs +2 -0
  168. package/dist/chunk-GXFVBU63.mjs +2 -0
  169. package/dist/chunk-GYZTEU67.mjs +2 -0
  170. package/dist/chunk-H5MWSYQZ.mjs +2 -0
  171. package/dist/chunk-H5UGJCG2.mjs +2 -0
  172. package/dist/chunk-H6X2YC5N.mjs +2 -0
  173. package/dist/chunk-HAPWHHBN.mjs +2 -0
  174. package/dist/chunk-HBGQJAIF.mjs +2 -0
  175. package/dist/chunk-HG2Y6D3G.mjs +42 -0
  176. package/dist/chunk-HHD5AOBD.mjs +2 -0
  177. package/dist/chunk-HHWZFF3H.mjs +2 -0
  178. package/dist/chunk-HLKXQ2IE.mjs +2 -0
  179. package/dist/chunk-HNNIZ4M2.mjs +2 -0
  180. package/dist/chunk-HQ7AVOGG.mjs +2 -0
  181. package/dist/chunk-HVAJT6I7.mjs +2 -0
  182. package/dist/chunk-I24GO4HL.mjs +2 -0
  183. package/dist/chunk-I2RSWUBW.mjs +2 -0
  184. package/dist/chunk-I57AERIJ.mjs +2 -0
  185. package/dist/chunk-I5AC2P3R.mjs +2 -0
  186. package/dist/chunk-I64FUP6F.mjs +2 -0
  187. package/dist/chunk-I6SSHGQ2.mjs +2 -0
  188. package/dist/chunk-IGFDGLNE.mjs +2 -0
  189. package/dist/chunk-IGYUB2JT.mjs +2 -0
  190. package/dist/chunk-IJE4HJ5C.mjs +2 -0
  191. package/dist/chunk-IJOFTRL3.mjs +2 -0
  192. package/dist/chunk-IJUAB6RK.mjs +2 -0
  193. package/dist/chunk-IL7K3KII.mjs +2 -0
  194. package/dist/chunk-INH7BHQY.mjs +2 -0
  195. package/dist/chunk-IR66KFXV.mjs +2 -0
  196. package/dist/chunk-IS5VZ4AK.mjs +2 -0
  197. package/dist/chunk-IUGOT2K4.mjs +2 -0
  198. package/dist/chunk-IYVNIXK5.mjs +2 -0
  199. package/dist/chunk-JD2LNIWD.mjs +2 -0
  200. package/dist/chunk-JDSUPUDK.mjs +2 -0
  201. package/dist/chunk-JETV5ZZZ.mjs +2 -0
  202. package/dist/chunk-JIQRFFD5.mjs +2 -0
  203. package/dist/chunk-JJX7GOEO.mjs +2 -0
  204. package/dist/chunk-JMKNLHUV.mjs +2 -0
  205. package/dist/chunk-JOEQFNPJ.mjs +2 -0
  206. package/dist/chunk-JTEXV7AL.mjs +2 -0
  207. package/dist/chunk-JZGAA6NI.mjs +2 -0
  208. package/dist/chunk-K3VDAU4N.mjs +2 -0
  209. package/dist/chunk-KC23PSHC.mjs +2 -0
  210. package/dist/chunk-KDEUVPDD.mjs +2 -0
  211. package/dist/chunk-KDW5Q6EZ.mjs +6 -0
  212. package/dist/chunk-KHMF6NJG.mjs +2 -0
  213. package/dist/chunk-KM2XI5CH.mjs +2 -0
  214. package/dist/chunk-KORZXM6V.mjs +2 -0
  215. package/dist/chunk-KQERPFET.mjs +2 -0
  216. package/dist/chunk-KTN4WKB3.mjs +2 -0
  217. package/dist/chunk-KUA2CWBM.mjs +6 -0
  218. package/dist/chunk-KVNWMC4X.mjs +2 -0
  219. package/dist/chunk-KWTZUPQN.mjs +2 -0
  220. package/dist/chunk-KYXSUHQT.mjs +2 -0
  221. package/dist/chunk-KZ2IJWDL.mjs +2 -0
  222. package/dist/chunk-L4FA5VZW.mjs +2 -0
  223. package/dist/chunk-L4XZTEBS.mjs +2 -0
  224. package/dist/chunk-LCN5EPCR.mjs +2 -0
  225. package/dist/chunk-LDA2I5SK.mjs +2 -0
  226. package/dist/chunk-LDG5AWEL.mjs +6 -0
  227. package/dist/chunk-LHFNJJUQ.mjs +2 -0
  228. package/dist/chunk-LHFT5GDI.mjs +2 -0
  229. package/dist/chunk-LHRSOLFV.mjs +2 -0
  230. package/dist/chunk-LLZKALOG.mjs +2 -0
  231. package/dist/chunk-LM3VD6TZ.mjs +2 -0
  232. package/dist/chunk-LSE5IPYR.mjs +2 -0
  233. package/dist/chunk-LUCC6FPP.mjs +2 -0
  234. package/dist/chunk-LUDMJ77J.mjs +2 -0
  235. package/dist/chunk-LWVRUH3D.mjs +2 -0
  236. package/dist/chunk-LXYTR7M6.mjs +2 -0
  237. package/dist/chunk-M2X3Q5KH.mjs +6 -0
  238. package/dist/chunk-MDWWZ2OB.mjs +2 -0
  239. package/dist/chunk-MDXINC42.mjs +2 -0
  240. package/dist/chunk-MEMHJYV7.mjs +2 -0
  241. package/dist/chunk-MENB5YDU.mjs +2 -0
  242. package/dist/chunk-MEQM22XP.mjs +2 -0
  243. package/dist/chunk-MG3JVVDV.mjs +2 -0
  244. package/dist/chunk-N4D5CP3Q.mjs +2 -0
  245. package/dist/chunk-N4JGERLH.mjs +2 -0
  246. package/dist/chunk-N52L4FEK.mjs +2 -0
  247. package/dist/chunk-N6LUEISO.mjs +2 -0
  248. package/dist/chunk-N7RG36QD.mjs +2 -0
  249. package/dist/chunk-NAHB2RQQ.mjs +2 -0
  250. package/dist/chunk-NBQVAQ2Z.mjs +2 -0
  251. package/dist/chunk-NDIVMNAM.mjs +6 -0
  252. package/dist/chunk-NEBSVHNZ.mjs +2 -0
  253. package/dist/chunk-NFY7QCOD.mjs +2 -0
  254. package/dist/chunk-NJFZ26CN.mjs +2 -0
  255. package/dist/chunk-NKWU5PQQ.mjs +2 -0
  256. package/dist/chunk-NNGHO3FU.mjs +2 -0
  257. package/dist/chunk-NPBZYAER.mjs +2 -0
  258. package/dist/chunk-NSXDIO4Y.mjs +2 -0
  259. package/dist/chunk-NUDBOJPF.mjs +2 -0
  260. package/dist/chunk-NZRIEMXB.mjs +2 -0
  261. package/dist/chunk-O54LVCRS.mjs +2 -0
  262. package/dist/chunk-O6OI73M7.mjs +2 -0
  263. package/dist/chunk-OA43BTO6.mjs +2 -0
  264. package/dist/chunk-OAEGUEPF.mjs +2 -0
  265. package/dist/chunk-OILS7HRW.mjs +6 -0
  266. package/dist/chunk-OODSNPBG.mjs +2 -0
  267. package/dist/chunk-OQ6UDSPV.mjs +2 -0
  268. package/dist/chunk-OQT6PNQ7.mjs +2 -0
  269. package/dist/chunk-ORQ643AR.mjs +2 -0
  270. package/dist/chunk-OXCNIU6K.mjs +2 -0
  271. package/dist/chunk-P3N75JRI.mjs +2 -0
  272. package/dist/chunk-P4SDMVQP.mjs +2 -0
  273. package/dist/chunk-P7QQVOC5.mjs +2 -0
  274. package/dist/chunk-PIHBKBMX.mjs +2 -0
  275. package/dist/chunk-PQRNEMB2.mjs +2 -0
  276. package/dist/chunk-PU6FLF3H.mjs +2 -0
  277. package/dist/chunk-PVGXQRQY.mjs +2 -0
  278. package/dist/chunk-PXIZND6U.mjs +2 -0
  279. package/dist/chunk-PZQ2WJI6.mjs +6 -0
  280. package/dist/chunk-Q4AVTOAT.mjs +2 -0
  281. package/dist/chunk-Q4S6TICU.mjs +2 -0
  282. package/dist/chunk-QBG6YA5L.mjs +2 -0
  283. package/dist/chunk-QJNYTOLD.mjs +2 -0
  284. package/dist/chunk-QKXCLBPL.mjs +6 -0
  285. package/dist/chunk-QQ7XG7OJ.mjs +2 -0
  286. package/dist/chunk-QXSAM6DM.mjs +2 -0
  287. package/dist/chunk-QYOSTW3V.mjs +2 -0
  288. package/dist/chunk-QZFIXSZQ.mjs +2 -0
  289. package/dist/chunk-R37FIISH.mjs +2 -0
  290. package/dist/chunk-R3XSB75Y.mjs +2 -0
  291. package/dist/chunk-RD5ZCE2K.mjs +2 -0
  292. package/dist/chunk-RECBVBIQ.mjs +2 -0
  293. package/dist/chunk-RNJIGTJE.mjs +2 -0
  294. package/dist/chunk-RRG6OJ67.mjs +2 -0
  295. package/dist/chunk-RSJ6GSD7.mjs +2 -0
  296. package/dist/chunk-RTTMG5OL.mjs +2 -0
  297. package/dist/chunk-RZ4SFDHX.mjs +2 -0
  298. package/dist/chunk-RZTH773L.mjs +2 -0
  299. package/dist/chunk-SEAMJLIO.mjs +2 -0
  300. package/dist/chunk-SJYWPWXF.mjs +2 -0
  301. package/dist/chunk-SLLBC6SC.mjs +2 -0
  302. package/dist/chunk-SMHQYHDD.mjs +2 -0
  303. package/dist/chunk-SNXR2YAS.mjs +2 -0
  304. package/dist/chunk-SYVECOCA.mjs +2 -0
  305. package/dist/chunk-SZEN57X5.mjs +2 -0
  306. package/dist/chunk-SZRHA2GT.mjs +2 -0
  307. package/dist/chunk-T2HK3T52.mjs +2 -0
  308. package/dist/chunk-T32IVLSS.mjs +2 -0
  309. package/dist/chunk-T74GLTSL.mjs +2 -0
  310. package/dist/chunk-TA5HYQRQ.mjs +2 -0
  311. package/dist/chunk-TCVVRSYX.mjs +2 -0
  312. package/dist/chunk-TEY5O3RA.mjs +2 -0
  313. package/dist/chunk-TIC2LGTP.mjs +2 -0
  314. package/dist/chunk-TXSZQH5G.mjs +2 -0
  315. package/dist/chunk-TXXKECQO.mjs +6 -0
  316. package/dist/chunk-U6AD4ALY.mjs +2 -0
  317. package/dist/chunk-U7KEKQYA.mjs +2 -0
  318. package/dist/chunk-UAQZTW4U.mjs +2 -0
  319. package/dist/chunk-UCXYHRDP.mjs +2 -0
  320. package/dist/chunk-UD2UJUXG.mjs +2 -0
  321. package/dist/chunk-UD4VN3DH.mjs +2 -0
  322. package/dist/chunk-ULWDKSZK.mjs +2 -0
  323. package/dist/chunk-UQ53WNBL.mjs +2 -0
  324. package/dist/chunk-UQS2ZGYW.mjs +2 -0
  325. package/dist/chunk-UVFRTTO6.mjs +2 -0
  326. package/dist/chunk-UYBFZJ5C.mjs +2 -0
  327. package/dist/chunk-UZ4JJ42T.mjs +2 -0
  328. package/dist/chunk-UZL3VDPW.mjs +2 -0
  329. package/dist/chunk-UZO4XKDU.mjs +2 -0
  330. package/dist/chunk-V6CYMTUE.mjs +2 -0
  331. package/dist/chunk-VBWZTCSD.mjs +2 -0
  332. package/dist/chunk-VCSDWQP3.mjs +2 -0
  333. package/dist/chunk-VENNPUNH.mjs +2 -0
  334. package/dist/chunk-VGAF532P.mjs +2 -0
  335. package/dist/chunk-VLMHALMP.mjs +2 -0
  336. package/dist/chunk-VR4HARM3.mjs +2 -0
  337. package/dist/chunk-VRVMOTQV.mjs +2 -0
  338. package/dist/chunk-VSCITBCY.mjs +2 -0
  339. package/dist/chunk-W2ZJQOHS.mjs +2 -0
  340. package/dist/chunk-W3QIOL4G.mjs +2 -0
  341. package/dist/chunk-W5TBLBM6.mjs +2 -0
  342. package/dist/chunk-W7M34XRR.mjs +2 -0
  343. package/dist/chunk-WBF5HZQ6.mjs +2 -0
  344. package/dist/chunk-WC2KKGTK.mjs +2 -0
  345. package/dist/chunk-WCLNMUC2.mjs +2 -0
  346. package/dist/chunk-WFYWMZDG.mjs +6 -0
  347. package/dist/chunk-WHNZZMK2.mjs +2 -0
  348. package/dist/chunk-WI42IPI7.mjs +2 -0
  349. package/dist/chunk-WJZIVMXO.mjs +2 -0
  350. package/dist/chunk-WSBIRQ6W.mjs +2 -0
  351. package/dist/chunk-WVMZSRDG.mjs +2 -0
  352. package/dist/chunk-X437KEIG.mjs +2 -0
  353. package/dist/chunk-X6EPDS57.mjs +2 -0
  354. package/dist/chunk-X6LWSYKB.mjs +2 -0
  355. package/dist/chunk-XALOGNV6.mjs +2 -0
  356. package/dist/chunk-XBMLYZPP.mjs +2 -0
  357. package/dist/chunk-XBTTJSVQ.mjs +2 -0
  358. package/dist/chunk-XFLUK427.mjs +2 -0
  359. package/dist/chunk-XIKQPBME.mjs +2 -0
  360. package/dist/chunk-XIZW7FK4.mjs +2 -0
  361. package/dist/chunk-XOGTH3EB.mjs +6 -0
  362. package/dist/chunk-XRIZIRH2.mjs +2 -0
  363. package/dist/chunk-XTK2BTRW.mjs +2 -0
  364. package/dist/chunk-XTNQEIPG.mjs +6 -0
  365. package/dist/chunk-XU2GKM2O.mjs +6 -0
  366. package/dist/chunk-XXLUS5XT.mjs +2 -0
  367. package/dist/chunk-Y3QQVIXW.mjs +2 -0
  368. package/dist/chunk-Y6GXAJYP.mjs +2 -0
  369. package/dist/chunk-Y7VESY2F.mjs +6 -0
  370. package/dist/chunk-YBIZWTBK.mjs +2 -0
  371. package/dist/chunk-YHC4THUP.mjs +2 -0
  372. package/dist/chunk-YHPHBFF4.mjs +2 -0
  373. package/dist/chunk-YIXJW3OQ.mjs +2 -0
  374. package/dist/chunk-YJQJKJRB.mjs +2 -0
  375. package/dist/chunk-YKNEZ7JD.mjs +2 -0
  376. package/dist/chunk-YOK6UIBC.mjs +2 -0
  377. package/dist/chunk-YPYCGDOO.mjs +2 -0
  378. package/dist/chunk-YQFFD4BR.mjs +2 -0
  379. package/dist/chunk-YRILC5NG.mjs +2 -0
  380. package/dist/chunk-YSBJGFD5.mjs +42 -0
  381. package/dist/chunk-YSZCWUZW.mjs +2 -0
  382. package/dist/chunk-YVZXVQMV.mjs +2 -0
  383. package/dist/chunk-YY2VAS2K.mjs +2 -0
  384. package/dist/chunk-Z3N2QQM5.mjs +2 -0
  385. package/dist/chunk-Z45ZXUKJ.mjs +6 -0
  386. package/dist/chunk-ZICA3VYR.mjs +2 -0
  387. package/dist/chunk-ZIJSUOTQ.mjs +2 -0
  388. package/dist/chunk-ZKNTMKRU.mjs +6 -0
  389. package/dist/chunk-ZN3PNOIE.mjs +2 -0
  390. package/dist/chunk-ZNYEU7EO.mjs +2 -0
  391. package/dist/chunk-ZOKWUTJH.mjs +2 -0
  392. package/dist/chunk-ZRLYC43B.mjs +2 -0
  393. package/dist/chunk-ZT7NQ7HE.mjs +2 -0
  394. package/dist/chunk-ZWCN2SRH.mjs +2 -0
  395. package/dist/chunk-ZXP6AIIM.mjs +2 -0
  396. package/dist/combobox/index.d.ts +7 -0
  397. package/dist/combobox/index.mjs +1 -1
  398. package/dist/composite-logo.mjs +1 -1
  399. package/dist/copy-button.mjs +1 -1
  400. package/dist/copy-text.mjs +1 -1
  401. package/dist/counting-numbers.mjs +1 -1
  402. package/dist/date-picker/calendar.mjs +1 -1
  403. package/dist/date-picker/date-range-picker.mjs +1 -1
  404. package/dist/date-picker/presets.mjs +1 -1
  405. package/dist/date-picker/trigger.mjs +1 -1
  406. package/dist/file-upload.d.ts +5 -1
  407. package/dist/file-upload.mjs +1 -1
  408. package/dist/filter/filter-list.mjs +1 -1
  409. package/dist/filter/filter-select.mjs +1 -1
  410. package/dist/footer.mjs +1 -1
  411. package/dist/form.mjs +1 -1
  412. package/dist/grid.mjs +1 -1
  413. package/dist/hooks/use-keyboard-shortcut.mjs +1 -1
  414. package/dist/icons/continents/index.mjs +1 -1
  415. package/dist/icons/default-domains/amazon.mjs +1 -1
  416. package/dist/icons/default-domains/chatgpt.mjs +1 -1
  417. package/dist/icons/default-domains/figma.mjs +1 -1
  418. package/dist/icons/default-domains/github-enhanced.mjs +1 -1
  419. package/dist/icons/default-domains/google-enhanced.mjs +1 -1
  420. package/dist/icons/default-domains/spotify.mjs +1 -1
  421. package/dist/icons/elxo.d.ts +6 -0
  422. package/dist/icons/elxo.mjs +2 -0
  423. package/dist/icons/expanding-arrow.mjs +1 -1
  424. package/dist/icons/index.d.ts +7 -0
  425. package/dist/icons/index.mjs +1 -1
  426. package/dist/icons/linkedin.mjs +1 -1
  427. package/dist/icons/loading-circle.mjs +1 -1
  428. package/dist/icons/loading-spinner.mjs +1 -1
  429. package/dist/icons/nucleo/book2-fill.d.ts +6 -0
  430. package/dist/icons/nucleo/book2-fill.mjs +2 -0
  431. package/dist/icons/nucleo/bullet-list-fill.d.ts +6 -0
  432. package/dist/icons/nucleo/bullet-list-fill.mjs +2 -0
  433. package/dist/icons/nucleo/cube-settings-fill.d.ts +6 -0
  434. package/dist/icons/nucleo/cube-settings-fill.mjs +2 -0
  435. package/dist/icons/nucleo/feather-fill.d.ts +6 -0
  436. package/dist/icons/nucleo/feather-fill.mjs +2 -0
  437. package/dist/icons/nucleo/headset-fill.d.ts +6 -0
  438. package/dist/icons/nucleo/headset-fill.mjs +2 -0
  439. package/dist/icons/nucleo/toggle2-fill.d.ts +6 -0
  440. package/dist/icons/nucleo/toggle2-fill.mjs +2 -0
  441. package/dist/icons/payout-platforms/paypal.mjs +1 -1
  442. package/dist/icons/product-hunt.mjs +1 -1
  443. package/dist/icons/sort-order.mjs +1 -1
  444. package/dist/icons/twitter.mjs +1 -1
  445. package/dist/icons/youtube.mjs +1 -1
  446. package/dist/index.css +1 -1
  447. package/dist/index.d.ts +15 -5
  448. package/dist/index.mjs +1 -1
  449. package/dist/input-select.mjs +1 -1
  450. package/dist/input.mjs +1 -1
  451. package/dist/label.mjs +1 -1
  452. package/dist/link-logo.mjs +1 -1
  453. package/dist/link-preview.mjs +1 -1
  454. package/dist/logo.mjs +1 -1
  455. package/dist/max-width-wrapper.mjs +1 -1
  456. package/dist/modal.mjs +1 -1
  457. package/dist/nav/content/graphics/analytics-graphic.d.ts +6 -0
  458. package/dist/nav/content/graphics/analytics-graphic.mjs +2 -0
  459. package/dist/nav/content/graphics/links-graphic.d.ts +6 -0
  460. package/dist/nav/content/graphics/links-graphic.mjs +2 -0
  461. package/dist/nav/content/product-content.mjs +1 -1
  462. package/dist/nav/content/resources-content.mjs +1 -1
  463. package/dist/nav/content/shared.d.ts +200 -4
  464. package/dist/nav/content/shared.mjs +1 -1
  465. package/dist/nav/content/solutions-content.mjs +1 -1
  466. package/dist/nav/nav-mobile.d.ts +2 -2
  467. package/dist/nav/nav-mobile.mjs +1 -1
  468. package/dist/nav/nav.d.ts +9 -5
  469. package/dist/nav/nav.mjs +1 -1
  470. package/dist/nav-wordmark.mjs +1 -1
  471. package/dist/pagination-controls.mjs +1 -1
  472. package/dist/popover.mjs +1 -1
  473. package/dist/progress-bar.mjs +1 -1
  474. package/dist/radio-group.mjs +1 -1
  475. package/dist/sheet.mjs +1 -1
  476. package/dist/shimmer-dots.mjs +1 -1
  477. package/dist/status-badge.d.ts +7 -0
  478. package/dist/status-badge.mjs +1 -1
  479. package/dist/switch.mjs +1 -1
  480. package/dist/tab-select.mjs +1 -1
  481. package/dist/table/table.mjs +1 -1
  482. package/dist/toggle-group.mjs +1 -1
  483. package/dist/tooltip.mjs +1 -1
  484. package/dist/utm-builder.mjs +1 -1
  485. package/dist/wordmark.mjs +1 -1
  486. package/package.json +8 -2
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{b as y,f as C}from"./chunk-VGAF532P.mjs";import{a as f,c as p,f as M}from"./chunk-7O4GRGY4.mjs";import{c as g,f as m}from"./chunk-N52L4FEK.mjs";import{i as c,m as l,o as u}from"./chunk-HVAJT6I7.mjs";import A from"next/link";import{jsx as t,jsxs as x}from"react/jsx-runtime";function k(a){return x("svg",{xmlns:"http://www.w3.org/2000/svg",width:"349",height:"290",fill:"none",viewBox:"0 0 349 290",...a,className:l("pointer-events-none [--bg:white] [--grid:#e5e5e5] dark:[--bg:black] dark:[--grid:#fff2]",a.className),children:[x("g",{className:"text-[var(--grid)]",children:[t("path",{stroke:"currentColor",strokeWidth:"0.5",d:"M12.667 1h48v48h-48zM60.667 1h48v48h-48zM108.667 1h48v48h-48zM156.667 1h48v48h-48zM204.667 1h48v48h-48zM252.667 1h48v48h-48z"}),t("path",{stroke:"currentColor",strokeWidth:"0.5",d:"M300.667 1h48v48h-48zM12.667 49h48v48h-48zM60.667 49h48v48h-48zM108.667 49h48v48h-48zM156.667 49h48v48h-48zM204.667 49h48v48h-48zM252.667 49h48v48h-48z"}),t("path",{stroke:"currentColor",strokeWidth:"0.5",d:"M300.667 49h48v48h-48zM12.667 97h48v48h-48zM60.667 97h48v48h-48zM108.667 97h48v48h-48zM156.667 97h48v48h-48zM204.667 97h48v48h-48zM252.667 97h48v48h-48z"}),t("path",{stroke:"currentColor",strokeWidth:"0.5",d:"M300.667 97h48v48h-48zM12.667 145h48v48h-48zM60.667 145h48v48h-48zM108.667 145h48v48h-48zM156.667 145h48v48h-48zM204.667 145h48v48h-48zM252.667 145h48v48h-48z"}),t("path",{stroke:"currentColor",strokeWidth:"0.5",d:"M300.667 145h48v48h-48zM12.667 193h48v48h-48zM60.667 193h48v48h-48zM108.667 193h48v48h-48zM156.667 193h48v48h-48zM204.667 193h48v48h-48zM252.667 193h48v48h-48z"}),t("path",{stroke:"currentColor",strokeWidth:"0.5",d:"M300.667 193h48v48h-48zM12.667 241h48v48h-48zM60.667 241h48v48h-48zM108.667 241h48v48h-48zM156.667 241h48v48h-48zM204.667 241h48v48h-48zM252.667 241h48v48h-48z"}),t("path",{stroke:"currentColor",strokeWidth:"0.5",d:"M300.667 241h48v48h-48z"})]}),t("path",{stroke:"#14B8A6",d:"M.667 196.5c93-1 267-35.5 324.5-184.5"}),t("path",{fill:"currentColor",className:"text-[var(--bg)]",d:"M204.667 145h96v48h-96z"}),t("path",{stroke:"currentColor",strokeWidth:"0.5",className:"text-[var(--grid)]",d:"M204.667 145h96v48h-96z"}),t("text",{xmlSpace:"preserve",fill:"#A3A3A3",fontSize:"8",fontWeight:"500",letterSpacing:"0em",style:{whiteSpace:"pre"},children:t("tspan",{x:"213.667",y:"158.909",children:"Clicks"})}),t("text",{xmlSpace:"preserve",fill:"#525252",fontSize:"8",fontWeight:"500",letterSpacing:"0em",style:{whiteSpace:"pre"},children:t("tspan",{x:"244.667",y:"158.909",children:"12.5K"})}),t("text",{xmlSpace:"preserve",fill:"#A3A3A3",fontSize:"8",fontWeight:"500",letterSpacing:"0em",style:{whiteSpace:"pre"},children:t("tspan",{x:"213.667",y:"171.909",children:"Leads"})}),t("text",{xmlSpace:"preserve",fill:"#525252",fontSize:"8",fontWeight:"500",letterSpacing:"0em",style:{whiteSpace:"pre"},children:t("tspan",{x:"244.667",y:"171.909",children:"8.2K"})}),t("text",{xmlSpace:"preserve",fill:"#A3A3A3",fontSize:"8",fontWeight:"500",letterSpacing:"0em",style:{whiteSpace:"pre"},children:t("tspan",{x:"213.667",y:"184.909",children:"Sales"})}),t("text",{xmlSpace:"preserve",fill:"#525252",fontSize:"8",fontWeight:"500",letterSpacing:"0em",style:{whiteSpace:"pre"},children:t("tspan",{x:"244.667",y:"184.909",children:"$10K"})}),t("path",{fill:"currentColor",className:"text-[var(--bg)]",d:"M108.667 193h96v48h-96z"}),t("path",{stroke:"currentColor",strokeWidth:"0.5",className:"text-[var(--grid)]",d:"M108.667 193h96v48h-96z"}),t("text",{xmlSpace:"preserve",fill:"#A3A3A3",fontSize:"8",fontWeight:"500",letterSpacing:"0em",style:{whiteSpace:"pre"},children:t("tspan",{x:"117.667",y:"206.909",children:"Desktop"})}),t("text",{xmlSpace:"preserve",fill:"#525252",fontSize:"8",fontWeight:"500",letterSpacing:"0em",style:{whiteSpace:"pre"},children:t("tspan",{x:"157.667",y:"206.909",children:"2.5K"})}),t("text",{xmlSpace:"preserve",fill:"#A3A3A3",fontSize:"8",fontWeight:"500",letterSpacing:"0em",style:{whiteSpace:"pre"},children:t("tspan",{x:"117.667",y:"219.909",children:"Mobile"})}),t("text",{xmlSpace:"preserve",fill:"#525252",fontSize:"8",fontWeight:"500",letterSpacing:"0em",style:{whiteSpace:"pre"},children:t("tspan",{x:"157.667",y:"219.909",children:"1.3K"})}),t("text",{xmlSpace:"preserve",fill:"#A3A3A3",fontSize:"8",fontWeight:"500",letterSpacing:"0em",style:{whiteSpace:"pre"},children:t("tspan",{x:"117.667",y:"232.909",children:"Tablet"})}),t("text",{xmlSpace:"preserve",fill:"#525252",fontSize:"8",fontWeight:"500",letterSpacing:"0em",style:{whiteSpace:"pre"},children:t("tspan",{x:"157.667",y:"232.909",children:"402"})}),t("g",{filter:"url(#a)",children:t("circle",{cx:"204.667",cy:"145",r:"3",fill:"#14B8A6"})}),t("circle",{cx:"204.667",cy:"145",r:"4",stroke:"#3EC5B8",strokeOpacity:"0.3",strokeWidth:"2"}),t("defs",{children:x("filter",{id:"a",width:"10",height:"12",x:"199.667",y:"140",colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse",children:[t("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),t("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),t("feColorMatrix",{in:"SourceAlpha",result:"hardAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),t("feOffset",{dy:"2"}),t("feGaussianBlur",{stdDeviation:"1"}),t("feComposite",{in2:"hardAlpha",k2:"-1",k3:"1",operator:"arithmetic"}),t("feColorMatrix",{values:"0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.65 0"}),t("feBlend",{in2:"shape",result:"effect1_innerShadow_9_286"})]})})]})}import{useId as S}from"react";import{jsx as e,jsxs as o}from"react/jsx-runtime";function z(a){let r=S();return o("svg",{xmlns:"http://www.w3.org/2000/svg",width:"336",height:"336",fill:"none",viewBox:"0 0 336 336",...a,className:l("pointer-events-none text-[var(--fg)] [--bg:white] [--fg:#222] [--grid:#e5e5e5] dark:[--bg:black] dark:[--fg:#fffa] dark:[--grid:#fff2]",a.className),children:[o("g",{clipPath:`url(#${r}-a)`,children:[e("path",{className:"text-[var(--grid)]",stroke:"currentColor",strokeWidth:"0.5",d:"M0 0h48v48H0zM48 0h48v48H48zM96 0h48v48H96zM144 0h48v48h-48zM192 0h48v48h-48zM240 0h48v48h-48zM288 0h48v48h-48zM0 48h48v48H0zM48 48h48v48H48zM96 48h48v48H96zM144 48h48v48h-48zM192 48h48v48h-48zM240 48h48v48h-48zM288 48h48v48h-48zM0 96h48v48H0zM48 96h48v48H48zM96 96h48v48H96zM144 96h48v48h-48zM192 96h48v48h-48zM240 96h48v48h-48zM288 96h48v48h-48zM0 144h48v48H0zM48 144h48v48H48zM96 144h48v48H96zM144 144h48v48h-48zM192 144h48v48h-48zM240 144h48v48h-48zM288 144h48v48h-48zM0 192h48v48H0zM48 192h48v48H48zM96 192h48v48H96zM144 192h48v48h-48zM192 192h48v48h-48zM240 192h48v48h-48zM288 192h48v48h-48zM0 240h48v48H0zM48 240h48v48H48zM96 240h48v48H96zM144 240h48v48h-48zM192 240h48v48h-48zM240 240h48v48h-48zM288 240h48v48h-48zM0 288h48v48H0zM48 288h48v48H48zM96 288h48v48H96zM144 288h48v48h-48zM192 288h48v48h-48zM240 288h48v48h-48zM288 288h48v48h-48z"}),e("circle",{cx:"192",cy:"144",r:"4",fill:"#EA580C",opacity:"0.1"}),e("circle",{cx:"192",cy:"108",r:"4",fill:"#EA580C",opacity:"0.1"}),e("circle",{cx:"192",cy:"108",r:"2",fill:"#EA580C"}),e("circle",{cx:"192",cy:"144",r:"2",fill:"#EA580C"}),e("path",{stroke:`url(#${r}-b)`,d:"M192 144v-35"}),e("circle",{cx:"192",cy:"228",r:"4",fill:"#EA580C",opacity:"0.1"}),e("circle",{cx:"192",cy:"192",r:"4",fill:"#EA580C",opacity:"0.1"}),e("circle",{cx:"192",cy:"192",r:"2",fill:"#EA580C"}),e("circle",{cx:"192",cy:"228",r:"2",fill:"#EA580C"}),e("path",{stroke:`url(#${r}-c)`,d:"M192 228v-35"}),e("circle",{cx:"144",cy:"144",r:"4",fill:"#EA580C",opacity:"0.1"}),e("circle",{cx:"144",cy:"108",r:"4",fill:"#EA580C",opacity:"0.1"}),e("circle",{cx:"144",cy:"108",r:"2",fill:"#EA580C"}),e("circle",{cx:"144",cy:"144",r:"2",fill:"#EA580C"}),e("path",{stroke:`url(#${r}-d)`,d:"M144 144v-35"}),e("circle",{cx:"144",cy:"228",r:"4",fill:"#EA580C",opacity:"0.1"}),e("circle",{cx:"144",cy:"192",r:"4",fill:"#EA580C",opacity:"0.1"}),e("circle",{cx:"144",cy:"192",r:"2",fill:"#EA580C"}),e("circle",{cx:"144",cy:"228",r:"2",fill:"#EA580C"}),e("path",{stroke:`url(#${r}-e)`,d:"M144 228v-35"}),e("circle",{cx:"96",cy:"144",r:"4",fill:"#EA580C",opacity:"0.1"}),e("circle",{cx:"96",cy:"108",r:"4",fill:"#EA580C",opacity:"0.1"}),e("circle",{cx:"96",cy:"108",r:"2",fill:"#EA580C"}),e("circle",{cx:"96",cy:"144",r:"2",fill:"#EA580C"}),e("path",{stroke:`url(#${r}-f)`,d:"M96 144v-35"}),e("circle",{cx:"96",cy:"228",r:"4",fill:"#EA580C",opacity:"0.1"}),e("circle",{cx:"96",cy:"192",r:"4",fill:"#EA580C",opacity:"0.1"}),e("circle",{cx:"96",cy:"192",r:"2",fill:"#EA580C"}),e("circle",{cx:"96",cy:"228",r:"2",fill:"#EA580C"}),e("path",{stroke:`url(#${r}-g)`,d:"M96 228v-35"}),e("circle",{cx:"240",cy:"144",r:"4",fill:"#EA580C",opacity:"0.1"}),e("circle",{cx:"240",cy:"108",r:"4",fill:"#EA580C",opacity:"0.1"}),e("circle",{cx:"240",cy:"108",r:"2",fill:"#EA580C"}),e("circle",{cx:"240",cy:"144",r:"2",fill:"#EA580C"}),e("path",{stroke:`url(#${r}-h)`,d:"M240 144v-35"}),e("circle",{cx:"240",cy:"228",r:"4",fill:"#EA580C",opacity:"0.1"}),e("circle",{cx:"240",cy:"192",r:"4",fill:"#EA580C",opacity:"0.1"}),e("circle",{cx:"240",cy:"192",r:"2",fill:"#EA580C"}),e("circle",{cx:"240",cy:"228",r:"2",fill:"#EA580C"}),e("path",{stroke:`url(#${r}-i)`,d:"M240 228v-35"}),e("circle",{cx:"48",cy:"168",r:"4",fill:"#EAB308",opacity:"0.1"}),e("circle",{cx:"48",cy:"168",r:"2",fill:"#EAB308"}),e("path",{stroke:`url(#${r}-j)`,d:"M13 168h34"}),e("circle",{cx:"4",cy:"4",r:"4",fill:"#EAB308",opacity:"0.1",transform:"matrix(-1 0 0 1 292 164)"}),e("circle",{cx:"2",cy:"2",r:"2",fill:"#EAB308",transform:"matrix(-1 0 0 1 290 166)"}),e("path",{stroke:`url(#${r}-k)`,d:"M323 168h-34"}),o("g",{children:[e("rect",{width:"24",height:"24",x:"228",y:"84",fill:"currentColor",className:"text-[var(--bg)]",rx:"8"}),e("rect",{width:"23",height:"23",x:"228.5",y:"84.5",stroke:"currentColor",className:"text-[var(--grid)]",rx:"7.5"}),e("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M240 92.222V96l2.889 2"}),e("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M240 89.555a6.444 6.444 0 0 1 0 12.889"}),e("path",{fill:"currentColor",fillOpacity:"0.5",d:"M235.276 100.891a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1M233.389 96.333a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1M235.276 91.776a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1M237.367 102.288a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1M233.879 98.8a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1M233.879 93.868a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1M237.368 90.38a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1"})]}),o("g",{children:[e("rect",{width:"24",height:"24",x:"228",y:"228",fill:"currentColor",className:"text-[var(--bg)]",rx:"8"}),e("rect",{width:"23",height:"23",x:"228.5",y:"228.5",stroke:"currentColor",className:"text-[var(--grid)]",rx:"7.5"}),e("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M238.889 243.778h-3.556a1.777 1.777 0 0 1-1.777-1.778v-4c0-.982.795-1.778 1.777-1.778h9.334c.982 0 1.777.796 1.777 1.778v.222"}),e("path",{fill:"currentColor",fillOpacity:"0.5",d:"M236.889 240.889a.889.889 0 1 0 0-1.778.889.889 0 0 0 0 1.778M240 240.889a.889.889 0 1 0 0-1.778.889.889 0 0 0 0 1.778"}),e("path",{fill:"currentColor",fillOpacity:"0.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M246 242.889h-3.556a.89.89 0 0 0-.888.889v1.777c0 .491.398.889.888.889H246a.89.89 0 0 0 .889-.889v-1.777a.89.89 0 0 0-.889-.889"}),e("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M242.889 242.889v-1.778a1.333 1.333 0 0 1 2.667 0v1.778"})]}),o("g",{children:[e("rect",{width:"24",height:"24",x:"180",y:"84",fill:"currentColor",className:"text-[var(--bg)]",rx:"8"}),e("rect",{width:"23",height:"23",x:"180.5",y:"84.5",stroke:"currentColor",className:"text-[var(--grid)]",rx:"7.5"}),e("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M188.667 90h-2a.666.666 0 0 0-.667.667v2c0 .368.298.666.667.666h2a.666.666 0 0 0 .666-.666v-2a.666.666 0 0 0-.666-.667M197.333 90h-2a.666.666 0 0 0-.666.667v2c0 .368.298.666.666.666h2a.667.667 0 0 0 .667-.666v-2a.667.667 0 0 0-.667-.667M188.667 98.667h-2a.666.666 0 0 0-.667.666v2c0 .368.298.667.667.667h2a.667.667 0 0 0 .666-.667v-2a.666.666 0 0 0-.666-.666M198 98.667h-2a1.333 1.333 0 0 0-1.333 1.333v2M198 102v.01M192 92.667v2A1.334 1.334 0 0 1 190.667 96h-2M186 96h.01M192 90h.01M192 98.667v.01M194.667 96h.666M198 96v.01M192 102v-.667"})]}),o("g",{children:[e("rect",{width:"24",height:"24",x:"180",y:"228",fill:"currentColor",className:"text-[var(--bg)]",rx:"8"}),e("rect",{width:"23",height:"23",x:"180.5",y:"228.5",stroke:"currentColor",className:"text-[var(--grid)]",rx:"7.5"}),e("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M192 246.445a6.445 6.445 0 1 0-.002-12.89 6.445 6.445 0 0 0 .002 12.89M192 238.222v-2M193.778 240h2M192 241.778v2M190.222 240h-2"})]}),o("g",{children:[e("rect",{width:"24",height:"24",x:"132",y:"84",fill:"currentColor",className:"text-[var(--bg)]",rx:"8"}),e("rect",{width:"23",height:"23",x:"132.5",y:"84.5",stroke:"currentColor",className:"text-[var(--grid)]",rx:"7.5"}),e("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M148.667 90h-9.334c-.736 0-1.333.597-1.333 1.333v9.334c0 .736.597 1.333 1.333 1.333h9.334c.736 0 1.333-.597 1.333-1.333v-9.334c0-.736-.597-1.333-1.333-1.333"}),e("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M142 95.333a1.333 1.333 0 1 0 0-2.666 1.333 1.333 0 0 0 0 2.666M150 98l-2.057-2.057a1.334 1.334 0 0 0-1.886 0L140 102"})]}),o("g",{children:[e("rect",{width:"24",height:"24",x:"132",y:"228",fill:"currentColor",className:"text-[var(--bg)]",rx:"8"}),e("rect",{width:"23",height:"23",x:"132.5",y:"228.5",stroke:"currentColor",className:"text-[var(--grid)]",rx:"7.5"}),e("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M138.889 234h4.375c.471 0 .924.188 1.257.521l5.111 5.111c.694.694.694 1.82 0 2.514l-3.486 3.486a1.78 1.78 0 0 1-2.514 0l-5.111-5.111a1.78 1.78 0 0 1-.521-1.257v-4.375c0-.491.398-.889.889-.889"}),e("path",{fill:"currentColor",fillOpacity:"0.5",d:"M141.556 238.667a1.112 1.112 0 1 0-.002-2.224 1.112 1.112 0 0 0 .002 2.224"})]}),o("g",{children:[e("rect",{width:"24",height:"24",x:"84",y:"84",fill:"currentColor",className:"text-[var(--bg)]",rx:"8"}),e("rect",{width:"23",height:"23",x:"84.5",y:"84.5",stroke:"currentColor",className:"text-[var(--grid)]",rx:"7.5"}),e("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"m96.889 93.778 2 2-2 2"}),e("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M98.889 95.778h-3.111c-.982 0-1.778.795-1.778 1.778V98"}),e("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"m97.258 101.854 4.596-4.597a1.777 1.777 0 0 0 0-2.514l-4.596-4.597a1.78 1.78 0 0 0-2.514 0l-4.597 4.597a1.78 1.78 0 0 0 0 2.514l4.597 4.597c.694.694 1.82.694 2.514 0"})]}),o("g",{children:[e("rect",{width:"24",height:"24",x:"84",y:"228",fill:"currentColor",className:"text-[var(--bg)]",rx:"8"}),e("rect",{width:"23",height:"23",x:"84.5",y:"228.5",stroke:"currentColor",className:"text-[var(--grid)]",rx:"7.5"}),e("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M92.667 246.444a2.222 2.222 0 1 0 .001-4.443 2.222 2.222 0 0 0-.001 4.443M99.333 246.444a2.222 2.222 0 1 0 .002-4.443 2.222 2.222 0 0 0-.002 4.443M98.563 233.556h-5.126a.89.89 0 0 0-.88.763l-.335 2.348-2.666 2.666h12.888l-2.666-2.666-.335-2.348a.89.89 0 0 0-.88-.763M92.222 236.667h7.556"}),e("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M94.738 243.415a1.775 1.775 0 0 1 2.524 0"})]}),e("g",{filter:`url(#${r}-t)`,opacity:"0.16",children:e("ellipse",{cx:"62",cy:"168",fill:"#EAB308",rx:"33",ry:"8"})}),e("g",{filter:`url(#${r}-u)`,opacity:"0.16",children:e("ellipse",{cx:"276",cy:"168",fill:"#EAB308",rx:"33",ry:"8"})}),e("rect",{width:"240",height:"48",x:"48",y:"144",fill:"currentColor",className:"text-[var(--bg)]",rx:"8"}),e("rect",{width:"240",height:"48",x:"48",y:"144",stroke:"currentColor",className:"text-[var(--grid)]",strokeOpacity:"0.5",strokeWidth:"0.5",rx:"8"}),o("g",{children:[e("rect",{width:"24",height:"24",x:"61",y:"156",fill:`url(#${r}-w)`,rx:"12"}),e("rect",{width:"25",height:"25",x:"60.5",y:"155.5",stroke:"#030712",strokeOpacity:"0.1",rx:"12.5"}),e("circle",{cx:"73",cy:"168",r:"6",fill:`url(#${r}-x)`})]}),e("text",{xmlSpace:"preserve",fill:"currentColor",className:"text-[var(--fg)]",fontSize:"12",fontWeight:"500",letterSpacing:"0em",style:{whiteSpace:"pre"},children:e("tspan",{x:"97",y:"165.364",children:"d.to/try"})}),e("path",{stroke:"#A3A3A3",strokeLinecap:"round",strokeLinejoin:"round",d:"M104.931 176.792h-4.084a.78.78 0 0 1-.778-.778v-1.556"}),e("path",{stroke:"#A3A3A3",strokeLinecap:"round",strokeLinejoin:"round",d:"m103.278 175.139 1.653 1.653-1.653 1.653"}),e("text",{xmlSpace:"preserve",fill:"#A3A3A3",fontSize:"9",letterSpacing:"-.02em",style:{whiteSpace:"pre"},children:e("tspan",{x:"110",y:"179.773",children:"app.dub.co/register"})}),e("path",{className:"text-[var(--fg)]",fill:"currentColor",fillOpacity:"0.04",d:"M229.25 164.6c0-1.684 0-2.932.081-3.92.08-.985.24-1.69.546-2.29a5.75 5.75 0 0 1 2.513-2.513c.6-.306 1.305-.466 2.29-.546.988-.081 2.236-.081 3.92-.081h26.8c1.684 0 2.932 0 3.92.081.985.08 1.69.24 2.29.546a5.75 5.75 0 0 1 2.513 2.513c.306.6.466 1.305.546 2.29.081.988.081 2.236.081 3.92v6.8c0 1.684 0 2.932-.081 3.92-.08.985-.24 1.69-.546 2.29a5.75 5.75 0 0 1-2.513 2.513c-.6.306-1.305.466-2.29.546-.988.081-2.236.081-3.92.081h-26.8c-1.684 0-2.932 0-3.92-.081-.985-.08-1.69-.24-2.29-.546a5.75 5.75 0 0 1-2.513-2.513c-.306-.6-.466-1.305-.546-2.29-.081-.988-.081-2.236-.081-3.92z"}),e("path",{className:"text-[var(--grid)]",stroke:"currentColor",strokeWidth:"0.5",d:"M229.25 164.6c0-1.684 0-2.932.081-3.92.08-.985.24-1.69.546-2.29a5.75 5.75 0 0 1 2.513-2.513c.6-.306 1.305-.466 2.29-.546.988-.081 2.236-.081 3.92-.081h26.8c1.684 0 2.932 0 3.92.081.985.08 1.69.24 2.29.546a5.75 5.75 0 0 1 2.513 2.513c.306.6.466 1.305.546 2.29.081.988.081 2.236.081 3.92v6.8c0 1.684 0 2.932-.081 3.92-.08.985-.24 1.69-.546 2.29a5.75 5.75 0 0 1-2.513 2.513c-.6.306-1.305.466-2.29.546-.988.081-2.236.081-3.92.081h-26.8c-1.684 0-2.932 0-3.92-.081-.985-.08-1.69-.24-2.29-.546a5.75 5.75 0 0 1-2.513-2.513c-.306-.6-.466-1.305-.546-2.29-.081-.988-.081-2.236-.081-3.92z"}),e("g",{stroke:"currentColor",strokeOpacity:"0.7",strokeLinecap:"round",strokeLinejoin:"round",clipPath:`url(#${r}-y)`,children:e("path",{d:"m240.395 167.185 4.876 1.673c.148.051.15.259.004.313l-2.186.822a.17.17 0 0 0-.097.098l-.822 2.186a.166.166 0 0 1-.313-.005l-1.674-4.876a.167.167 0 0 1 .212-.212zM243.019 170.021l2.808 2.808M240.165 163.167v1.333M242.995 164.338l-.943.943M237.338 169.995l.943-.943M236.166 167.166h1.333M237.338 164.338l.943.943"})}),e("text",{xmlSpace:"preserve",fill:"currentColor",className:"text-[var(--fg)]",fontSize:"10",fontWeight:"500",letterSpacing:"0em",style:{whiteSpace:"pre"},children:e("tspan",{x:"251",y:"171.636",children:"51K"})})]}),o("defs",{children:[o("linearGradient",{id:`${r}-b`,x1:"192.5",x2:"192.5",y1:"109",y2:"144",gradientUnits:"userSpaceOnUse",children:[e("stop",{stopColor:"#EA580C"}),e("stop",{offset:"0.625",stopColor:"#EA580C",stopOpacity:"0.5"}),e("stop",{offset:"1",stopColor:"#EA580C"})]}),o("linearGradient",{id:`${r}-c`,x1:"192.5",x2:"192.5",y1:"193",y2:"228",gradientUnits:"userSpaceOnUse",children:[e("stop",{stopColor:"#EA580C"}),e("stop",{offset:"0.625",stopColor:"#EA580C",stopOpacity:"0.5"}),e("stop",{offset:"1",stopColor:"#EA580C"})]}),o("linearGradient",{id:`${r}-d`,x1:"144.5",x2:"144.5",y1:"109",y2:"144",gradientUnits:"userSpaceOnUse",children:[e("stop",{stopColor:"#EA580C"}),e("stop",{offset:"0.625",stopColor:"#EA580C",stopOpacity:"0.5"}),e("stop",{offset:"1",stopColor:"#EA580C"})]}),o("linearGradient",{id:`${r}-e`,x1:"144.5",x2:"144.5",y1:"193",y2:"228",gradientUnits:"userSpaceOnUse",children:[e("stop",{stopColor:"#EA580C"}),e("stop",{offset:"0.625",stopColor:"#EA580C",stopOpacity:"0.5"}),e("stop",{offset:"1",stopColor:"#EA580C"})]}),o("linearGradient",{id:`${r}-f`,x1:"96.5",x2:"96.5",y1:"109",y2:"144",gradientUnits:"userSpaceOnUse",children:[e("stop",{stopColor:"#EA580C"}),e("stop",{offset:"0.625",stopColor:"#EA580C",stopOpacity:"0.5"}),e("stop",{offset:"1",stopColor:"#EA580C"})]}),o("linearGradient",{id:`${r}-g`,x1:"96.5",x2:"96.5",y1:"193",y2:"228",gradientUnits:"userSpaceOnUse",children:[e("stop",{stopColor:"#EA580C"}),e("stop",{offset:"0.625",stopColor:"#EA580C",stopOpacity:"0.5"}),e("stop",{offset:"1",stopColor:"#EA580C"})]}),o("linearGradient",{id:`${r}-h`,x1:"240.5",x2:"240.5",y1:"109",y2:"144",gradientUnits:"userSpaceOnUse",children:[e("stop",{stopColor:"#EA580C"}),e("stop",{offset:"0.625",stopColor:"#EA580C",stopOpacity:"0.5"}),e("stop",{offset:"1",stopColor:"#EA580C"})]}),o("linearGradient",{id:`${r}-i`,x1:"240.5",x2:"240.5",y1:"193",y2:"228",gradientUnits:"userSpaceOnUse",children:[e("stop",{stopColor:"#EA580C"}),e("stop",{offset:"0.625",stopColor:"#EA580C",stopOpacity:"0.5"}),e("stop",{offset:"1",stopColor:"#EA580C"})]}),o("linearGradient",{id:`${r}-j`,x1:"13",x2:"47",y1:"168.5",y2:"168.5",gradientUnits:"userSpaceOnUse",children:[e("stop",{stopColor:"#EAB308",stopOpacity:"0"}),e("stop",{offset:"1",stopColor:"#EAB308"})]}),o("linearGradient",{id:`${r}-k`,x1:"323",x2:"289",y1:"168.5",y2:"168.5",gradientUnits:"userSpaceOnUse",children:[e("stop",{stopColor:"#EAB308",stopOpacity:"0"}),e("stop",{offset:"1",stopColor:"#EAB308"})]}),o("linearGradient",{id:`${r}-w`,x1:"73",x2:"73",y1:"156",y2:"180",gradientUnits:"userSpaceOnUse",children:[e("stop",{stopColor:"#030712",stopOpacity:"0"}),e("stop",{offset:"1",stopColor:"#030712",stopOpacity:"0.05"})]}),o("filter",{id:`${r}-t`,width:"96",height:"46",x:"14",y:"145",colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse",children:[e("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),e("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),e("feGaussianBlur",{result:"effect1_foregroundBlur_5_744",stdDeviation:"7.5"})]}),o("filter",{id:`${r}-u`,width:"96",height:"46",x:"228",y:"145",colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse",children:[e("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),e("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),e("feGaussianBlur",{result:"effect1_foregroundBlur_5_744",stdDeviation:"7.5"})]}),e("clipPath",{id:`${r}-a`,children:e("path",{fill:"currentColor",className:"text-[var(--bg)]",d:"M0 0h336v336H0z"})}),e("clipPath",{id:`${r}-y`,children:e("path",{fill:"currentColor",className:"text-[var(--bg)]",d:"M235 162h12v12h-12z"})}),e("pattern",{id:`${r}-x`,width:"1",height:"1",patternContentUnits:"objectBoundingBox",children:e("use",{xlinkHref:`#${r}-z`,transform:"scale(.01563)"})}),e("image",{href:`${u}dub.co`,id:`${r}-z`,width:"64",height:"64"})]})]})}import{jsx as i,jsxs as s}from"react/jsx-runtime";var w=[{title:"Dub API",description:"Unlock further capabilities",icon:g,href:"/docs/api-reference/introduction"},{title:"Dub Integrations",description:"Enhance your short links",icon:m,href:"/docs/integrations"}];function F({domain:a}){return s("div",{className:"grid w-[1020px] grid-cols-[repeat(2,minmax(0,1fr)),0.8fr] gap-4 p-5",children:[s(A,{href:c("/home",a),className:"group relative flex flex-col rounded-xl border border-neutral-100 bg-neutral-50 dark:border-white/20 dark:bg-white/10",children:[s("div",{className:"p-5 pb-0",children:[i("span",{className:"text-sm font-medium text-neutral-900 dark:text-white",children:"Dub Links"}),i("p",{className:"mt-3 max-w-56 text-sm text-neutral-500 dark:text-white/60",children:"Short links with superpowers for modern marketing teams."})]}),i("div",{className:"relative grow overflow-hidden",children:i(z,{className:"absolute bottom-0 h-auto w-full [mask-image:linear-gradient(transparent,black_20%,black_80%,transparent)]"})}),i("div",{className:"pointer-events-none absolute inset-0 bg-[radial-gradient(circle_at_50%_100%,#f4950c,transparent)] opacity-[0.07] transition-opacity group-hover:opacity-[0.12]"})]}),s("div",{className:"flex flex-col gap-4",children:[s(A,{href:c("/home",a),className:"group relative flex flex-col overflow-hidden rounded-xl border border-neutral-100 bg-neutral-50 dark:border-white/20 dark:bg-white/10",children:[i(k,{className:"absolute bottom-0 h-auto w-full translate-y-[15%] [mask-image:linear-gradient(90deg,transparent,black)]"}),i("div",{className:"pointer-events-none absolute inset-0 bg-[radial-gradient(circle_at_50%_100%,#36D78F,transparent)] opacity-[0.07] transition-opacity group-hover:opacity-[0.12]"}),s("div",{className:"h-56 p-5",children:[i("span",{className:"text-sm font-medium text-neutral-900 dark:text-white",children:"Dub Analytics"}),i("p",{className:"mt-3 max-w-48 text-sm text-neutral-500 dark:text-white/60",children:"Powerful analytics delivered instantly."})]})]}),i("div",{className:"grid grow grid-rows-2 gap-4",children:w.map(({title:r,description:n,icon:h,href:d})=>i(M,{title:r,description:n,icon:h,href:c(d,a)},r))})]}),s("div",{className:"pl-2 pt-2",children:[i("p",{className:l(f,"mb-2"),children:"Customer Stories"}),s("div",{className:"grid grid-cols-1",children:[y.map(({icon:r,iconClassName:n,title:h,description:d,href:v})=>i(p,{href:c(v,a,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:a,utm_content:h}),className:"-mx-2",icon:i("div",{className:"shrink-0 rounded-[10px] border border-gray-200 bg-white/50 p-2 dark:border-white/20 dark:bg-white/10",children:i(r,{className:l("h-4 w-4 shrink-0 text-gray-600 transition-colors dark:text-white/60",n)})}),title:h,description:d},v)),i(p,{href:c("/customers",a,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:a,utm_content:"Customer Stories"}),title:"View all stories",showArrow:!0})]}),i("p",{className:l(f,"mb-2 mt-5"),children:"Compare"}),i("div",{className:"flex flex-col",children:C.map(({name:r,slug:n})=>i(p,{href:c(`/compare/${n}`,a,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:a,utm_content:`Dub vs. ${r}`}),title:`Dub vs. ${r}`,showArrow:!0},n))})]})]})}export{F as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{c as N}from"./chunk-KUA2CWBM.mjs";import{a as b}from"./chunk-NUDBOJPF.mjs";import{a as f,j as g,k as h,l as s}from"./chunk-LHRSOLFV.mjs";import{ChevronDown as w,Menu as x,X as C}from"lucide-react";import m from"next/link";import{useParams as v}from"next/navigation";import{useEffect as _,useState as y}from"react";import z from"swr";import{Fragment as D,jsx as e,jsxs as n}from"react/jsx-runtime";function $({theme:l="light",staticDomain:o}){let{domain:r="dub.co"}=v();o&&(r=o);let[t,a]=y(!1);_(()=>{t?document.body.style.overflow="hidden":document.body.style.overflow="auto"},[t]);let{data:i}=z(r.endsWith("dub.co")&&"/api/auth/session",void 0,{dedupingInterval:6e4});return n("div",{className:(void 0)(l==="dark"&&"dark"),children:[e("button",{onClick:()=>a(!t),className:(void 0)("fixed right-3 top-3 z-40 rounded-full p-2 transition-colors duration-200 hover:bg-gray-200 focus:outline-none active:bg-gray-300 lg:hidden dark:hover:bg-white/20 dark:active:bg-white/30",t&&"hover:bg-gray-100 active:bg-gray-200"),children:t?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:(void 0)("fixed inset-0 z-20 hidden w-full bg-white px-5 py-16 lg:hidden dark:bg-black dark:text-white/70",t&&"block"),children:n("ul",{className:"grid divide-y divide-gray-200 dark:divide-white/[0.15]",children:[N.map(({name:u,href:d,childItems:c},p)=>e(L,{name:u,href:d,childItems:c,setOpen:a},p)),i&&Object.keys(i).length>0?e("li",{className:"py-3",children:e(m,{href:f,className:"flex w-full font-semibold capitalize",children:"Dashboard"})}):n(D,{children:[e("li",{className:"py-3",children:e(m,{href:`${f}/login`,className:"flex w-full font-semibold capitalize",children:"Log in"})}),e("li",{className:"py-3",children:e(m,{href:`${f}/register`,className:"flex w-full font-semibold capitalize",children:"Sign Up"})})]})]})})]})}var L=({name:l,href:o,childItems:r,setOpen:t})=>{let{domain:a="dub.co"}=v(),[i,u]=y(!1);return r?e("li",{className:"py-3",children:n(b,{height:!0,children:[n("button",{className:"flex w-full justify-between",onClick:()=>u(!i),children:[e("p",{className:"font-semibold",children:l}),e(w,{className:(void 0)("h-5 w-5 text-gray-500 transition-all dark:text-white/50",i&&"rotate-180")})]}),i&&e("div",{className:"grid gap-4 overflow-hidden py-4",children:r.map(({title:d,href:c,icon:p,iconClassName:k})=>n(m,{href:(void 0)(c,a,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:a,utm_content:d}),onClick:()=>t(!1),className:"flex w-full space-x-2",children:[e(p,{className:(void 0)("h-5 w-5 text-gray-500 dark:text-white/80",k)}),e("span",{className:"text-sm",children:d})]},c))})]})}):o?e("li",{className:"py-3",children:e(m,{href:(void 0)(o,a,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:a,utm_content:l}),onClick:()=>t(!1),className:"flex w-full font-semibold capitalize",children:l})}):null};export{$ as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as h}from"./chunk-UYBFZJ5C.mjs";import{b as v}from"./chunk-3SX2AYFB.mjs";import{d as f,e as y,m as l}from"./chunk-ORQ643AR.mjs";import*as s from"@radix-ui/react-tooltip";import R from"linkify-react";import{HelpCircle as B}from"lucide-react";import C from"next/link";import{useState as L}from"react";import{cva as P}from"class-variance-authority";import{forwardRef as k}from"react";import{jsx as p,jsxs as T}from"react/jsx-runtime";var c=P("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-neutral-600 hover:bg-neutral-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"}}),b=k(({text:t,variant:e="primary",className:o,textWrapperClassName:i,loading:n,icon:m,shortcut:a,disabledTooltip:x,right:N,...u},w)=>x?p(d,{content:x,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 border border-gray-200 bg-gray-100 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:w,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(h,{}):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}),N]}));b.displayName="Button";import{jsx as r,jsxs as g}from"react/jsx-runtime";function K({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]=L(!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 Q({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(b,{onClick:n,text:e,variant:"primary",className:"h-9"}):null)]})}function U({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 X({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(R,{as:"p",options:{target:"_blank",rel:"noopener noreferrer nofollow",className:"underline underline-offset-4 text-gray-400 hover:text-gray-700"},children:t})})}function Y(t){return r(d,{...t,children:r(B,{className:"h-4 w-4 text-gray-500"})})}function Z({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,y(t||0,{full:!0})," ",e]}),n&&g("p",{className:"mt-1 text-xs text-gray-500",suppressHydrationWarning:!0,children:["Last clicked ",f(n,{withAgo:!0})]})]}),children:i})}function $({children:t,content:e,...o}){return r(d,{content:e,...o,children:r("div",{className:"flex cursor-pointer items-center",children:r(v,{variant:"gray",className:"border-gray-300 transition-all hover:bg-gray-200",children:t})})})}function ee({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{K as a,d as b,Q as c,U as d,X as e,Y as f,Z as g,$ as h,ee as i,c as j,b as k};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{jsx as C,jsxs as H}from"react/jsx-runtime";function i({className:t}){return H("svg",{width:"14",height:"17",viewBox:"0 0 14 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:(void 0)("h-full w-full",t),children:[C("path",{d:"M11.3939 3.98953C11.4326 1.98069 9.77497 0.438599 7.49576 0.438599H2.78212C2.67224 0.438634 2.56599 0.477885 2.48248 0.549288C2.39896 0.620691 2.34368 0.719557 2.32657 0.828093L0.437575 12.6306C0.429125 12.6841 0.432365 12.7387 0.447073 12.7909C0.46178 12.843 0.487605 12.8913 0.52277 12.9324C0.557935 12.9736 0.601604 13.0067 0.650771 13.0293C0.699937 13.052 0.753434 13.0638 0.807576 13.0638H3.60046L3.16367 15.7971C3.15522 15.8506 3.15847 15.9053 3.1732 15.9574C3.18792 16.0096 3.21378 16.0579 3.24899 16.0991C3.28419 16.1402 3.3279 16.1733 3.37711 16.1959C3.42633 16.2186 3.47986 16.2303 3.53404 16.2303H5.80891C5.91901 16.2303 6.01683 16.1905 6.10022 16.1194C6.18361 16.048 6.19732 15.9494 6.21429 15.8408L6.8821 11.9115C6.89906 11.8032 6.95429 11.6625 7.03804 11.591C7.12142 11.5195 7.19434 11.4805 7.30408 11.4802H8.69673C10.9286 11.4802 12.8227 9.89403 13.1689 7.68738C13.4136 6.12074 12.7418 4.69596 11.3939 3.98953Z",fill:"#001C64"}),C("path",{d:"M4.20466 8.71145L3.50906 13.1226L3.07228 15.8891C3.06382 15.9426 3.06707 15.9973 3.0818 16.0495C3.09653 16.1016 3.12239 16.1499 3.15759 16.1911C3.1928 16.2323 3.23651 16.2653 3.28572 16.288C3.33493 16.3106 3.38847 16.3223 3.44264 16.3223H5.85036C5.96017 16.3222 6.06634 16.2829 6.14978 16.2115C6.23322 16.1401 6.28845 16.0413 6.30555 15.9328L6.94015 11.9115C6.95726 11.8031 7.0125 11.7043 7.09595 11.633C7.17939 11.5616 7.28556 11.5224 7.39534 11.5224H8.8129C11.0448 11.5224 12.9385 9.89437 13.2847 7.68772C13.5301 6.12144 12.7418 4.69666 11.3939 3.98987C11.3903 4.15664 11.3758 4.32305 11.3502 4.48802C11.004 6.69431 9.10998 8.32267 6.87806 8.32267H4.65986C4.55013 8.3227 4.44401 8.36186 4.36057 8.43312C4.27713 8.50438 4.22185 8.60307 4.20466 8.71145Z",fill:"#0070E0"}),C("path",{d:"M3.50894 13.1225H0.707754C0.653592 13.1226 0.600066 13.1108 0.550869 13.0882C0.501672 13.0655 0.457977 13.0325 0.422799 12.9913C0.387622 12.9501 0.361801 12.9018 0.347118 12.8497C0.332434 12.7975 0.329239 12.7428 0.337753 12.6893L2.22638 0.711399C2.2435 0.602897 2.2988 0.504075 2.38232 0.432731C2.46584 0.361388 2.57209 0.322214 2.68194 0.322266H7.49629C9.77514 0.322266 11.4327 1.98095 11.3941 3.98979C10.827 3.69235 10.1607 3.52233 9.4304 3.52233H5.4167C5.30694 3.52243 5.20081 3.56167 5.11738 3.633C5.03395 3.70432 4.97868 3.80305 4.96151 3.91146L4.20526 8.71137L3.50894 13.1225Z",fill:"#003087"})]})}export{i as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as m}from"./chunk-WMTXO7RT.mjs";import{m as r}from"./chunk-HVAJT6I7.mjs";import*as e from"@radix-ui/react-accordion";import{ChevronDown as f}from"lucide-react";import*as c from"react";import{jsx as n,jsxs as A}from"react/jsx-runtime";var y=e.Root,p=c.forwardRef(({className:t,...i},o)=>n(e.Item,{ref:o,className:r("border-b border-b-slate-200 py-3 last:border-none",t),...i}));p.displayName="AccordionItem";var l=c.forwardRef(({className:t,children:i,variant:o="chevron",...a},d)=>{let s=o==="chevron"?f:m;return n(e.Header,{className:"flex",children:A(e.Trigger,{ref:d,className:r("flex flex-1 items-center justify-between font-medium transition-all sm:text-lg",{"[&[data-state=open]>svg]:rotate-180":o==="chevron","[&[data-state=open]>svg]:rotate-45":o==="plus"},t),...a,children:[i,n(s,{className:"h-5 w-5 flex-none transition-transform duration-300"})]})})});l.displayName=e.Trigger.displayName;var v=c.forwardRef(({className:t,children:i,...o},a)=>n(e.Content,{ref:a,className:r("data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm text-gray-500 transition-all sm:text-base",t),...o,children:i}));v.displayName=e.Content.displayName;export{y as a,p as b,l as c,v as d};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{e as w}from"./chunk-KUA2CWBM.mjs";import{a as x,f as k,g as L}from"./chunk-H6X2YC5N.mjs";import{a as C}from"./chunk-BDL6SWJ2.mjs";import{a as v}from"./chunk-G3DLVKQH.mjs";import{a as b}from"./chunk-I24GO4HL.mjs";import{a as _}from"./chunk-3PW5FMTB.mjs";import{a as N}from"./chunk-ALEYOCBW.mjs";import{j as m,k as f,l as g,m as h}from"./chunk-LHRSOLFV.mjs";import D from"next/image";import n from"next/link";import{useParams as E}from"next/navigation";import{useEffect as F,useState as y}from"react";import I from"swr";import{jsx as e,jsxs as t}from"react/jsx-runtime";var P=[{name:"Twitter",icon:v,href:"https://twitter.com/dubdotco"},{name:"LinkedIn",icon:_,href:"https://www.linkedin.com/company/dubinc"},{name:"GitHub",icon:N,href:"https://github.com/dubinc/dub"},{name:"YouTube",icon:b,href:"https://www.youtube.com/@dubdotco"}],i={features:x.map(({title:o,href:r})=>({name:o,href:r})),product:[{name:"Blog",href:"/blog"},{name:"Changelog",href:"/changelog"},{name:"Customers",href:"/customers"},{name:"Enterprise",href:"/enterprise"},{name:"Pricing",href:"/pricing"},{name:"Docs",href:"/docs"},{name:"Help Center",href:"/help"},{name:"Brand",href:"/brand"}],compare:k.map(({name:o,slug:r})=>({name:o,href:`/compare/${r}`})),legal:L.map(({name:o,slug:r})=>({name:o,href:`/legal/${r}`})),tools:(void 0).map(({name:o,slug:r})=>({name:o,href:`/tools/${r}`}))},l="text-sm font-medium text-neutral-900",c="flex flex-col mt-2.5 gap-2.5",u="text-sm text-neutral-500 hover:text-neutral-700 transition-colors duration-75";function j({staticDomain:o,className:r}){let{domain:s="dub.co"}=E();return o&&(s=o),e(C,{className:(void 0)("relative z-10 overflow-hidden border border-b-0 border-neutral-200 bg-white/50 py-16 backdrop-blur-lg md:rounded-t-2xl",r),children:t("footer",{children:[t("div",{className:"xl:grid xl:grid-cols-3 xl:gap-8",children:[t("div",{className:"flex flex-col gap-6",children:[e("div",{className:"grow",children:t(n,{href:(void 0)("/",s,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:s,utm_content:"Logo"}),className:"block max-w-fit",children:[t("span",{className:"sr-only",children:[process.env.NEXT_PUBLIC_APP_NAME," Logo"]}),e(w,{className:"h-8 text-gray-800"})]})}),e("div",{className:"flex items-center gap-3",children:P.map(({name:a,icon:d,href:p})=>t("a",{href:p,target:"_blank",rel:"noreferrer",className:"group rounded-full p-1",children:[e("span",{className:"sr-only",children:a}),e(d,{className:"size-4 text-neutral-900 transition-colors duration-75 group-hover:text-neutral-600"})]},a))})]}),t("div",{className:"mt-16 grid grid-cols-2 gap-4 xl:col-span-2 xl:mt-0",children:[t("div",{className:"md:grid md:grid-cols-2",children:[t("div",{children:[e("h3",{className:l,children:"Product"}),e("ul",{role:"list",className:c,children:i.features.map(a=>e("li",{children:e(n,{href:(void 0)(a.href,s,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:s,utm_content:a.name}),className:u,children:a.name})},a.name))})]}),t("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:l,children:"Resources"}),e("ul",{role:"list",className:c,children:i.product.map(a=>e("li",{children:e(n,{href:(void 0)(a.href,s,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:s,utm_content:a.name}),className:u,children:a.name})},a.name))})]})]}),t("div",{className:"md:grid md:grid-cols-2",children:[t("div",{className:"flex flex-col space-y-8",children:[t("div",{children:[e("h3",{className:l,children:"Compare"}),e("ul",{role:"list",className:c,children:i.compare.map(a=>e("li",{children:e(n,{href:(void 0)(a.href,s,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:s,utm_content:a.name}),className:u,children:a.name})},a.name))})]}),t("div",{children:[e("h3",{className:l,children:"Legal"}),e("ul",{role:"list",className:c,children:i.legal.map(a=>e("li",{children:e(n,{href:(void 0)(a.href,s,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:s,utm_content:a.name}),className:u,children:a.name})},a.name))})]})]}),t("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:l,children:"Tools"}),e("ul",{role:"list",className:c,children:i.tools.map(a=>e("li",{children:e(n,{href:(void 0)(a.href,s,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:s,utm_content:a.name}),className:u,children:a.name})},a.name))})]})]})]})]}),t("div",{className:"mt-12 grid grid-cols-1 items-center gap-8 sm:grid-cols-3",children:[e(z,{}),e(n,{href:(void 0)("/blog/soc2",s,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:s,utm_content:"SOC2"}),className:"flex sm:justify-center",children:e(D,{src:"https://assets.dub.co/misc/soc2.svg",alt:"AICPA SOC 2 Type II Certified",width:63,height:32,className:"h-8 transition-[filter] duration-75 hover:brightness-90"})}),t("p",{className:"text-xs text-neutral-500 sm:text-right",children:["\xA9 ",new Date().getFullYear()," Dub Technologies, Inc."]})]})]})})}function z(){let{data:o}=I("https://status.dub.co/api/v1/summary",void 0),[r,s]=y("bg-neutral-200"),[a,d]=y("Loading status...");return F(()=>{if(!o)return;let{ongoing_incidents:p}=o;if(p.length>0){let{current_worst_impact:A,name:S}=p[0],T=A==="degraded_performance"?"bg-yellow-500":"bg-red-500";d(S),s(T)}else d("All systems operational"),s("bg-green-500")},[o]),t(n,{href:"https://status.dub.co",target:"_blank",className:"group flex max-w-fit items-center gap-2 rounded-lg border border-neutral-200 bg-white py-2 pl-2 pr-2.5 transition-colors hover:bg-neutral-50 active:bg-neutral-100",children:[t("div",{className:"relative size-2",children:[e("div",{className:(void 0)("absolute inset-0 m-auto size-2 animate-ping items-center justify-center rounded-full group-hover:animate-none",r,a==="Loading status..."&&"animate-none")}),e("div",{className:(void 0)("absolute inset-0 z-10 m-auto size-2 rounded-full",r)})]}),e("p",{className:"text-xs font-medium leading-none text-neutral-600",children:a})]})}export{j as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{e as w}from"./chunk-QKXCLBPL.mjs";import{a as x,f as k,g as L}from"./chunk-VSCITBCY.mjs";import{a as C}from"./chunk-ZN3PNOIE.mjs";import{a as v}from"./chunk-5UDLEOOZ.mjs";import{a as b}from"./chunk-L4FA5VZW.mjs";import{a as _}from"./chunk-RSJ6GSD7.mjs";import{a as N}from"./chunk-ALEYOCBW.mjs";import{i as m,l as f,m as g,n as h}from"./chunk-HVAJT6I7.mjs";import D from"next/image";import n from"next/link";import{useParams as E}from"next/navigation";import{useEffect as F,useState as y}from"react";import I from"swr";import{jsx as e,jsxs as t}from"react/jsx-runtime";var P=[{name:"Twitter",icon:v,href:"https://twitter.com/dubdotco"},{name:"LinkedIn",icon:_,href:"https://www.linkedin.com/company/dubinc"},{name:"GitHub",icon:N,href:"https://github.com/dubinc/dub"},{name:"YouTube",icon:b,href:"https://www.youtube.com/@dubdotco"}],i={features:x.map(({title:o,href:r})=>({name:o,href:r})),product:[{name:"Blog",href:"/blog"},{name:"Changelog",href:"/changelog"},{name:"Customers",href:"/customers"},{name:"Enterprise",href:"/enterprise"},{name:"Pricing",href:"/pricing"},{name:"Docs",href:"/docs"},{name:"Help Center",href:"/help"},{name:"Brand",href:"/brand"}],compare:k.map(({name:o,slug:r})=>({name:o,href:`/compare/${r}`})),legal:L.map(({name:o,slug:r})=>({name:o,href:`/legal/${r}`})),tools:h.map(({name:o,slug:r})=>({name:o,href:`/tools/${r}`}))},l="text-sm font-medium text-neutral-900",c="flex flex-col mt-2.5 gap-2.5",u="text-sm text-neutral-500 hover:text-neutral-700 transition-colors duration-75";function j({staticDomain:o,className:r}){let{domain:s="dub.co"}=E();return o&&(s=o),e(C,{className:g("relative z-10 overflow-hidden border border-b-0 border-neutral-200 bg-white/50 py-16 backdrop-blur-lg md:rounded-t-2xl",r),children:t("footer",{children:[t("div",{className:"xl:grid xl:grid-cols-3 xl:gap-8",children:[t("div",{className:"flex flex-col gap-6",children:[e("div",{className:"grow",children:t(n,{href:m("/",s,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:s,utm_content:"Logo"}),className:"block max-w-fit",children:[t("span",{className:"sr-only",children:[process.env.NEXT_PUBLIC_APP_NAME," Logo"]}),e(w,{className:"h-8 text-gray-800"})]})}),e("div",{className:"flex items-center gap-3",children:P.map(({name:a,icon:d,href:p})=>t("a",{href:p,target:"_blank",rel:"noreferrer",className:"group rounded-full p-1",children:[e("span",{className:"sr-only",children:a}),e(d,{className:"size-4 text-neutral-900 transition-colors duration-75 group-hover:text-neutral-600"})]},a))})]}),t("div",{className:"mt-16 grid grid-cols-2 gap-4 xl:col-span-2 xl:mt-0",children:[t("div",{className:"md:grid md:grid-cols-2",children:[t("div",{children:[e("h3",{className:l,children:"Product"}),e("ul",{role:"list",className:c,children:i.features.map(a=>e("li",{children:e(n,{href:m(a.href,s,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:s,utm_content:a.name}),className:u,children:a.name})},a.name))})]}),t("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:l,children:"Resources"}),e("ul",{role:"list",className:c,children:i.product.map(a=>e("li",{children:e(n,{href:m(a.href,s,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:s,utm_content:a.name}),className:u,children:a.name})},a.name))})]})]}),t("div",{className:"md:grid md:grid-cols-2",children:[t("div",{className:"flex flex-col space-y-8",children:[t("div",{children:[e("h3",{className:l,children:"Compare"}),e("ul",{role:"list",className:c,children:i.compare.map(a=>e("li",{children:e(n,{href:m(a.href,s,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:s,utm_content:a.name}),className:u,children:a.name})},a.name))})]}),t("div",{children:[e("h3",{className:l,children:"Legal"}),e("ul",{role:"list",className:c,children:i.legal.map(a=>e("li",{children:e(n,{href:m(a.href,s,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:s,utm_content:a.name}),className:u,children:a.name})},a.name))})]})]}),t("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:l,children:"Tools"}),e("ul",{role:"list",className:c,children:i.tools.map(a=>e("li",{children:e(n,{href:m(a.href,s,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:s,utm_content:a.name}),className:u,children:a.name})},a.name))})]})]})]})]}),t("div",{className:"mt-12 grid grid-cols-1 items-center gap-8 sm:grid-cols-3",children:[e(z,{}),e(n,{href:m("/blog/soc2",s,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:s,utm_content:"SOC2"}),className:"flex sm:justify-center",children:e(D,{src:"https://assets.dub.co/misc/soc2.svg",alt:"AICPA SOC 2 Type II Certified",width:63,height:32,className:"h-8 transition-[filter] duration-75 hover:brightness-90"})}),t("p",{className:"text-xs text-neutral-500 sm:text-right",children:["\xA9 ",new Date().getFullYear()," Dub Technologies, Inc."]})]})]})})}function z(){let{data:o}=I("https://status.dub.co/api/v1/summary",f),[r,s]=y("bg-neutral-200"),[a,d]=y("Loading status...");return F(()=>{if(!o)return;let{ongoing_incidents:p}=o;if(p.length>0){let{current_worst_impact:A,name:S}=p[0],T=A==="degraded_performance"?"bg-yellow-500":"bg-red-500";d(S),s(T)}else d("All systems operational"),s("bg-green-500")},[o]),t(n,{href:"https://status.dub.co",target:"_blank",className:"group flex max-w-fit items-center gap-2 rounded-lg border border-neutral-200 bg-white py-2 pl-2 pr-2.5 transition-colors hover:bg-neutral-50 active:bg-neutral-100",children:[t("div",{className:"relative size-2",children:[e("div",{className:g("absolute inset-0 m-auto size-2 animate-ping items-center justify-center rounded-full group-hover:animate-none",r,a==="Loading status..."&&"animate-none")}),e("div",{className:g("absolute inset-0 z-10 m-auto size-2 rounded-full",r)})]}),e("p",{className:"text-xs font-medium leading-none text-neutral-600",children:a})]})}export{j as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{l}from"./chunk-LHRSOLFV.mjs";import{jsx as C,jsxs as H}from"react/jsx-runtime";function L({className:t}){return H("svg",{width:"14",height:"17",viewBox:"0 0 14 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:(void 0)("h-full w-full",t),children:[C("path",{d:"M11.3939 3.98953C11.4326 1.98069 9.77497 0.438599 7.49576 0.438599H2.78212C2.67224 0.438634 2.56599 0.477885 2.48248 0.549288C2.39896 0.620691 2.34368 0.719557 2.32657 0.828093L0.437575 12.6306C0.429125 12.6841 0.432365 12.7387 0.447073 12.7909C0.46178 12.843 0.487605 12.8913 0.52277 12.9324C0.557935 12.9736 0.601604 13.0067 0.650771 13.0293C0.699937 13.052 0.753434 13.0638 0.807576 13.0638H3.60046L3.16367 15.7971C3.15522 15.8506 3.15847 15.9053 3.1732 15.9574C3.18792 16.0096 3.21378 16.0579 3.24899 16.0991C3.28419 16.1402 3.3279 16.1733 3.37711 16.1959C3.42633 16.2186 3.47986 16.2303 3.53404 16.2303H5.80891C5.91901 16.2303 6.01683 16.1905 6.10022 16.1194C6.18361 16.048 6.19732 15.9494 6.21429 15.8408L6.8821 11.9115C6.89906 11.8032 6.95429 11.6625 7.03804 11.591C7.12142 11.5195 7.19434 11.4805 7.30408 11.4802H8.69673C10.9286 11.4802 12.8227 9.89403 13.1689 7.68738C13.4136 6.12074 12.7418 4.69596 11.3939 3.98953Z",fill:"#001C64"}),C("path",{d:"M4.20466 8.71145L3.50906 13.1226L3.07228 15.8891C3.06382 15.9426 3.06707 15.9973 3.0818 16.0495C3.09653 16.1016 3.12239 16.1499 3.15759 16.1911C3.1928 16.2323 3.23651 16.2653 3.28572 16.288C3.33493 16.3106 3.38847 16.3223 3.44264 16.3223H5.85036C5.96017 16.3222 6.06634 16.2829 6.14978 16.2115C6.23322 16.1401 6.28845 16.0413 6.30555 15.9328L6.94015 11.9115C6.95726 11.8031 7.0125 11.7043 7.09595 11.633C7.17939 11.5616 7.28556 11.5224 7.39534 11.5224H8.8129C11.0448 11.5224 12.9385 9.89437 13.2847 7.68772C13.5301 6.12144 12.7418 4.69666 11.3939 3.98987C11.3903 4.15664 11.3758 4.32305 11.3502 4.48802C11.004 6.69431 9.10998 8.32267 6.87806 8.32267H4.65986C4.55013 8.3227 4.44401 8.36186 4.36057 8.43312C4.27713 8.50438 4.22185 8.60307 4.20466 8.71145Z",fill:"#0070E0"}),C("path",{d:"M3.50894 13.1225H0.707754C0.653592 13.1226 0.600066 13.1108 0.550869 13.0882C0.501672 13.0655 0.457977 13.0325 0.422799 12.9913C0.387622 12.9501 0.361801 12.9018 0.347118 12.8497C0.332434 12.7975 0.329239 12.7428 0.337753 12.6893L2.22638 0.711399C2.2435 0.602897 2.2988 0.504075 2.38232 0.432731C2.46584 0.361388 2.57209 0.322214 2.68194 0.322266H7.49629C9.77514 0.322266 11.4327 1.98095 11.3941 3.98979C10.827 3.69235 10.1607 3.52233 9.4304 3.52233H5.4167C5.30694 3.52243 5.20081 3.56167 5.11738 3.633C5.03395 3.70432 4.97868 3.80305 4.96151 3.91146L4.20526 8.71137L3.50894 13.1225Z",fill:"#003087"})]})}export{L as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as C}from"./chunk-32C65ISH.mjs";import{a as P}from"./chunk-6JPO26GL.mjs";import{a as b}from"./chunk-LFGWL3ID.mjs";import{a as m}from"./chunk-CZSSD6PV.mjs";import{a as y}from"./chunk-D7SRRREC.mjs";import{a as d}from"./chunk-JBURS7BX.mjs";import{a as g}from"./chunk-BOCPUR5Z.mjs";import{a as f}from"./chunk-SBK5CRMY.mjs";import{a as h}from"./chunk-DWACNU5E.mjs";import{a as u}from"./chunk-HRTLCZFX.mjs";import{a as c}from"./chunk-2W2M7KTU.mjs";import{a as p}from"./chunk-HYPLE4VW.mjs";import{a as l}from"./chunk-KDNSFAET.mjs";import{a as o}from"./chunk-DMUERTF2.mjs";import{a}from"./chunk-PDSUXFDU.mjs";import{a as e}from"./chunk-NPWONPKN.mjs";import{a as s}from"./chunk-KYMBX7DZ.mjs";import{a as t}from"./chunk-2LBJI2KO.mjs";import{a as n}from"./chunk-TNAH7N5Q.mjs";import{a as r}from"./chunk-PRJVDP45.mjs";import{a as i}from"./chunk-ZJICX3BL.mjs";var S=[{title:"Advanced Analytics",description:"Powerful Analytics For The Modern Marketer",icon:u,href:"/help/article/dub-analytics"},{title:"Branded Links",description:"Branded Links That Stand Out",icon:f,href:"/features/branded-links"},{title:"QR Codes",description:"Gorgeous QR codes for your links",icon:b,href:"/features/qr-codes"},{title:"Personalization",description:"Personalize Your Short Links",icon:y,href:"/features/personalization"},{title:"Collaboration",description:"Collaborate With Your Team",icon:C,href:"/features/collaboration"},{title:"API",description:"Programmatic Link Creation",icon:P,href:"/docs/api-reference/introduction"}],R=[{icon:t,iconClassName:"group-hover:text-[#FF6363]",title:"Raycast",description:"How Raycast added link-sharing features to Ray.so with Dub.co's link infrastructure",href:"/customers/raycast"},{icon:o,iconClassName:"group-hover:text-[#268472]",title:"Tinybird",description:"How Tinybird uses Dub.co to enhance their digital marketing strategies",href:"/customers/tinybird"},{icon:e,iconClassName:"group-hover:text-[#4C51BF]",title:"Prisma",description:"How Prisma uses Dub.co to improve insights for pris.ly links",href:"/customers/prisma"}],x=[{icon:h,title:"Developers",description:"API for efficient link management",href:"/docs/introduction"},{icon:m,title:"Enterprise",description:"Scalable link management solutions",href:"/enterprise"}],v=[{icon:a,iconClassName:"py-0.5 group-hover:text-[#3178C6]",title:"Typescript",href:"/solutions/typescript"},{icon:s,iconClassName:"py-0.5 [&_.snake]:transition-colors group-hover:[&_.snake1]:text-[#3776ab] group-hover:[&_.snake2]:text-[#ffd343]",title:"Python",href:"/solutions/python"},{icon:i,iconClassName:"group-hover:text-[#00ACD7]",title:"Go",href:"/solutions/go"},{icon:n,iconClassName:"py-[3px] grayscale brightness-150 transition-[filter] group-hover:grayscale-0 group-hover:brightness-100",title:"Ruby",href:"/solutions/ruby"},{icon:r,iconClassName:"py-[3px] grayscale brightness-150 transition-[filter] group-hover:grayscale-0 group-hover:brightness-100",title:"PHP",href:"/solutions/php"}],T=[{icon:l,title:"Blog",href:"/blog"},{icon:p,title:"Changelog",href:"/changelog"},{icon:c,title:"Docs",href:"/docs"},{icon:d,title:"Help Center",href:"/help"},{icon:g,title:"Brand",href:"/brand"}],A=[{name:"Bitly",slug:"bitly"},{name:"Rebrandly",slug:"rebrandly"},{name:"Short.io",slug:"short"},{name:"Bl.ink",slug:"blink"}],E=[{name:"Privacy",slug:"privacy"},{name:"Terms",slug:"terms"},{name:"Trust Center",slug:"trust"},{name:"DPA",slug:"dpa"},{name:"Subprocessors",slug:"subprocessors"},{name:"Report Abuse",slug:"abuse"}];export{S as a,R as b,x as c,v as d,T as e,A as f,E as g};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{m as C}from"./chunk-HVAJT6I7.mjs";import{jsx as e}from"react/jsx-runtime";function o({className:t}){return e("svg",{width:"46",height:"24",viewBox:"0 0 46 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:C("h-6 w-auto text-black dark:text-white",t),children:e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 2H14V13.9332L14.0003 13.9731L14.0003 14C14.0003 14.0223 14.0002 14.0445 14 14.0668V21H11V19.7455C9.86619 20.5362 8.48733 21 7.00016 21C3.13408 21 0 17.866 0 14C0 10.134 3.13408 7 7.00016 7C8.48733 7 9.86619 7.46375 11 8.25452V2ZM7 17.9998C9.20914 17.9998 11 16.209 11 13.9999C11 11.7908 9.20914 10 7 10C4.79086 10 3 11.7908 3 13.9999C3 16.209 4.79086 17.9998 7 17.9998ZM32 2H35V8.25474C36.1339 7.46383 37.5128 7 39.0002 7C42.8662 7 46.0003 10.134 46.0003 14C46.0003 17.866 42.8662 21 39.0002 21C35.1341 21 32 17.866 32 14V2ZM39 17.9998C41.2091 17.9998 43 16.209 43 13.9999C43 11.7908 41.2091 10 39 10C36.7909 10 35 11.7908 35 13.9999C35 16.209 36.7909 17.9998 39 17.9998ZM19 7H16V14C16 14.9192 16.1811 15.8295 16.5329 16.6788C16.8846 17.5281 17.4003 18.2997 18.0503 18.9497C18.7003 19.5997 19.472 20.1154 20.3213 20.4671C21.1706 20.8189 22.0809 21 23.0002 21C23.9194 21 24.8297 20.8189 25.679 20.4671C26.5283 20.1154 27.3 19.5997 27.95 18.9497C28.6 18.2997 29.1157 17.5281 29.4675 16.6788C29.8192 15.8295 30.0003 14.9192 30.0003 14H30V7H27V14C27 15.0608 26.5785 16.0782 25.8284 16.8283C25.0783 17.5784 24.0609 17.9998 23 17.9998C21.9391 17.9998 20.9217 17.5784 20.1716 16.8283C19.4215 16.0782 19 15.0608 19 14V7Z",fill:"currentColor"})})}export{o as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{c as x}from"./chunk-GHSFG3C4.mjs";import{a as f}from"./chunk-NUDBOJPF.mjs";import{c as u,l as b}from"./chunk-LHRSOLFV.mjs";import{AnimatePresence as C,motion as h}from"framer-motion";import{X as L}from"lucide-react";import{isValidElement as A}from"react";import{Fragment as O,jsx as t,jsxs as i}from"react/jsx-runtime";function I({filters:p,activeFilters:a,onRemove:v,onRemoveAll:d,className:w}){return x("Escape",d,{priority:1}),t(f,{height:!0,className:"w-full",transition:{type:"tween",duration:.3},children:i("div",{className:(void 0)("flex w-full flex-wrap items-start gap-4 sm:flex-nowrap",w),children:[t("div",{className:"flex grow flex-wrap gap-x-4 gap-y-2",children:t(C,{children:a==null?void 0:a.map(({key:n,value:s})=>{if(n==="loader")return t(h.div,{initial:{opacity:0,y:4},animate:{opacity:1,y:0},className:"h-9 w-48 animate-pulse rounded-md border border-gray-200 bg-white"},`loader-${s}`);let e=p.find(r=>r.key===n);return e?(e.multiple&&Array.isArray(s)?s:[s]).map(r=>{var c,y,g;let o=(c=e.options)==null?void 0:c.find(m=>typeof m.value=="string"&&typeof r=="string"?m.value.toLowerCase()===r.toLowerCase():m.value===r),l=(o==null?void 0:o.icon)??((y=e.getOptionIcon)==null?void 0:y.call(e,r,{key:e.key,option:o}))??e.icon,k=(o==null?void 0:o.label)??((g=e.getOptionLabel)==null?void 0:g.call(e,r,{key:e.key,option:o}))??r;return i(h.div,{initial:{opacity:0,y:4},animate:{opacity:1,y:0},className:"flex items-center divide-x rounded-md border border-gray-200 bg-white text-sm text-black",children:[i("div",{className:"flex items-center gap-2.5 px-3 py-2",children:[t("span",{className:"shrink-0 text-gray-600",children:N(e.icon)?e.icon:t(e.icon,{className:"h-4 w-4"})}),e.label]}),t("div",{className:"px-3 py-2 text-gray-500",children:"is"}),t("div",{className:"flex items-center gap-2.5 px-3 py-2",children:e.options?i(O,{children:[t("span",{className:"shrink-0 text-gray-600",children:N(l)?l:t(l,{className:"h-4 w-4"})}),(void 0)(k,30)]}):t("div",{className:"h-5 w-12 animate-pulse rounded-md bg-gray-200"})}),t("button",{type:"button",className:"h-full rounded-r-md p-2 text-gray-500 ring-inset ring-gray-500 hover:bg-gray-100 hover:text-gray-800 focus:outline-none focus-visible:ring-1",onClick:()=>v(n,r),children:t(L,{className:"h-3.5 w-3.5"})})]},`${n}-${r}`)}):(console.error("Filter.List received an activeFilter without a corresponding filter"),null)})})}),(a==null?void 0:a.length)!==0&&i("button",{type:"button",className:"group mt-px flex items-center gap-2 whitespace-nowrap rounded-lg border border-transparent px-3 py-2 text-sm text-gray-500 ring-inset ring-gray-500 transition-colors hover:border-gray-200 hover:bg-white hover:text-black focus:outline-none",onClick:d,children:["Clear Filters",t("kbd",{className:"rounded-md border border-gray-200 px-1.5 py-0.5 text-xs text-gray-950 group-hover:bg-gray-50",children:"ESC"})]})]})})}var N=p=>A(p);export{I as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{l as n}from"./chunk-LHRSOLFV.mjs";import{motion as t}from"framer-motion";import{jsx as e}from"react/jsx-runtime";function s({value:i=0,max:r=100,className:o}){return e("div",{className:(void 0)("h-3 w-full overflow-hidden rounded-full bg-gray-200",o),children:e(t.div,{initial:{width:0},animate:{width:i&&r?i/r*100+"%":"0%"},transition:{duration:.5,type:"spring",delay:.2},className:`${i&&r&&i>r?"bg-red-500":"bg-blue-500"} h-full`})})}export{s as a};
@@ -0,0 +1,6 @@
1
+ "use client"
2
+ import{a as T}from"./chunk-BVE5B54J.mjs";import{a as H}from"./chunk-SEAMJLIO.mjs";import{a as S,e as W}from"./chunk-ZNH7PXDK.mjs";import{a as E}from"./chunk-TEY5O3RA.mjs";import{a as C}from"./chunk-BR2VFDDF.mjs";import{a as V}from"./chunk-ZN3PNOIE.mjs";import{a as _}from"./chunk-AXZJPLZ2.mjs";import{k as L}from"./chunk-ER4DXXJA.mjs";import{i as w,j as P,l as M,m as l}from"./chunk-HVAJT6I7.mjs";import*as a from"@radix-ui/react-navigation-menu";import{cva as Q}from"class-variance-authority";import X from"js-cookie";import v from"next/link";import{useParams as tt,useSelectedLayoutSegment as et}from"next/navigation";import{createContext as ot}from"react";import rt from"swr";import{useCallback as O,useEffect as R,useState as A}from"react";function x(i){let[o,r]=A(!1),s=O(()=>{r(window.scrollY>i)},[i]);return R(()=>(window.addEventListener("scroll",s),()=>window.removeEventListener("scroll",s)),[s]),R(()=>{s()},[s]),o}import*as d from"@radix-ui/react-popover";import{BoxSelect as Z,Home as G,LayoutGrid as j,Type as z}from"lucide-react";import{useParams as U}from"next/navigation";import{useCallback as $,useContext as F,useState as Y}from"react";import{toast as q}from"sonner";import{jsx as e,jsxs as D}from"react/jsx-runtime";var J=`<svg width="65" height="64" viewBox="0 0 65 64" fill="none" xmlns="http://www.w3.org/2000/svg">
3
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M32.5 64C50.1731 64 64.5 49.6731 64.5 32C64.5 20.1555 58.0648 9.81393 48.5 4.28099V31.9999V47.9998H40.5V45.8594C38.1466 47.2207 35.4143 47.9999 32.5 47.9999C23.6634 47.9999 16.5 40.8364 16.5 31.9999C16.5 23.1633 23.6634 15.9999 32.5 15.9999C35.4143 15.9999 38.1466 16.779 40.5 18.1404V1.00812C37.943 0.350018 35.2624 0 32.5 0C14.8269 0 0.500038 14.3269 0.500038 32C0.500038 49.6731 14.8269 64 32.5 64Z" fill="black"/>
4
+ </svg>`,K=`<svg width="46" height="24" viewBox="0 0 46 24" fill="none" xmlns="http://www.w3.org/2000/svg">
5
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M11 2H14V13.9332L14.0003 13.9731L14.0003 14C14.0003 14.0223 14.0002 14.0445 14 14.0668V21H11V19.7455C9.86619 20.5362 8.48733 21 7.00016 21C3.13408 21 0 17.866 0 14C0 10.134 3.13408 7 7.00016 7C8.48733 7 9.86619 7.46375 11 8.25452V2ZM7 17.9998C9.20914 17.9998 11 16.209 11 13.9999C11 11.7908 9.20914 10 7 10C4.79086 10 3 11.7908 3 13.9999C3 16.209 4.79086 17.9998 7 17.9998ZM32 2H35V8.25474C36.1339 7.46383 37.5128 7 39.0002 7C42.8662 7 46.0003 10.134 46.0003 14C46.0003 17.866 42.8662 21 39.0002 21C35.1341 21 32 17.866 32 14V2ZM39 17.9998C41.2091 17.9998 43 16.209 43 13.9999C43 11.7908 41.2091 10 39 10C36.7909 10 35 11.7908 35 13.9999C35 16.209 36.7909 17.9998 39 17.9998ZM19 7H16V14C16 14.9192 16.1811 15.8295 16.5329 16.6788C16.8846 17.5281 17.4003 18.2997 18.0503 18.9497C18.7003 19.5997 19.472 20.1154 20.3213 20.4671C21.1706 20.8189 22.0809 21 23.0002 21C23.9194 21 24.8297 20.8189 25.679 20.4671C26.5283 20.1154 27.3 19.5997 27.95 18.9497C28.6 18.2997 29.1157 17.5281 29.4675 16.6788C29.8192 15.8295 30.0003 14.9192 30.0003 14H30V7H27V14C27 15.0608 26.5785 16.0782 25.8284 16.8283C25.0783 17.5784 24.0609 17.9998 23 17.9998C21.9391 17.9998 20.9217 17.5784 20.1716 16.8283C19.4215 16.0782 19 15.0608 19 14V7Z" fill="black"/>
6
+ </svg>`;function I({variant:i="full",isInApp:o,className:r}){let{domain:s="dub.co"}=U(),{theme:b}=F(N),[h,c]=Y(!1),f=$(n=>{n.preventDefault(),c(!0)},[]),[,g]=_();function m(n){q.promise(g(n),{success:"Copied to clipboard!",error:"Failed to copy to clipboard"})}return D(d.Root,{open:h,onOpenChange:c,children:[e(d.Anchor,{asChild:!0,children:e("div",{onContextMenu:f,className:"max-w-fit",children:i==="full"?e(E,{className:r}):e(C,{className:l("h-8 w-8 transition-all duration-75 active:scale-95",r)})})}),e(d.Portal,{children:e(d.Content,{sideOffset:14,align:"start",className:l("z-50 -mt-1.5",!o&&"-translate-x-8",b==="dark"&&"dark"),onClick:n=>{n.stopPropagation(),c(!1)},children:D("div",{className:"grid gap-1 rounded-lg border border-gray-200 bg-white p-2 drop-shadow-sm sm:min-w-[240px] dark:border-white/[0.15] dark:bg-black",children:[e(p,{text:"Copy Logo as SVG",variant:"outline",onClick:()=>m(J),icon:e(C,{className:"h-4 w-4"})}),e(p,{text:"Copy Wordmark as SVG",variant:"outline",onClick:()=>m(K),icon:e(z,{strokeWidth:2,className:"h-4 w-4"})}),e(p,{text:"Brand Guidelines",variant:"outline",onClick:()=>window.open("https://dub.co/brand","_blank"),icon:e(Z,{strokeWidth:2,className:"h-4 w-4"})}),o||s!="dub.co"?e(p,{text:"Home Page",variant:"outline",onClick:()=>window.open(`https://dub.co${o?"/home":""}`,"_blank"),icon:e(G,{strokeWidth:2,className:"h-4 w-4"})}):e(p,{text:"Dashboard",variant:"outline",onClick:()=>window.open("https://app.dub.co","_blank"),icon:e(j,{strokeWidth:2,className:"h-4 w-4"})})]})})})]})}function p({className:i,...o}){return e(L,{className:l("h-9 justify-start px-3 font-medium hover:text-gray-700 dark:text-white/70 dark:hover:bg-white/[0.15] dark:hover:text-white",i),...o})}import{Fragment as nt,jsx as t,jsxs as u}from"react/jsx-runtime";var N=ot({theme:"light"}),at=[{name:"Product",content:T,childItems:S},{name:"Resources",content:H,childItems:W},{name:"Enterprise",href:"/enterprise"},{name:"Customers",href:"/customers"},{name:"Pricing",href:"/pricing"}],B=Q(["block rounded-md px-3 py-1.5 text-sm text-gray-900/60 hover:text-gray-900/80","dark:text-white/70 dark:hover:text-white","transition-colors ease-out"],{variants:{isActive:{true:"text-gray-900/80 dark:text-white"}}});function Dt({theme:i="light",staticDomain:o}){let{domain:r="dub.co"}=tt();o&&(r=o);let s=x(80),b=x(40),h=et(),{data:c,isLoading:f}=rt(r.endsWith("dub.co")&&"/api/auth/session",M,{dedupingInterval:6e4}),g=!!(r==="dub.co"&&X.get("dub_id"));return t(N.Provider,{value:{theme:i},children:u("div",{className:l("sticky inset-x-0 top-0 z-30 w-full transition-all",i==="dark"&&"dark"),children:[t("div",{className:l("absolute inset-0 block transition-all lg:hidden",b&&"bg-white/75 backdrop-blur-md dark:bg-black/75")}),t(V,{className:"relative",children:u("div",{className:"flex h-14 items-center justify-between",children:[t(v,{className:"grow basis-0",href:w("/home",r,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:r,utm_content:"Logo"}),children:t(I,{})}),u(a.Root,{delayDuration:0,className:"relative hidden lg:block",children:[u(a.List,{className:"relative flex flex-row gap-2 px-2 py-0.5",children:[t("div",{className:"absolute inset-0 -z-[1]",children:t("div",{className:l("absolute left-1/2 top-1/2 h-full w-full -translate-x-1/2 -translate-y-1/2 rounded-full border border-gray-200 bg-white/75 drop-shadow-sm backdrop-blur-lg transition-all dark:border-white/10 dark:bg-black/75",s&&"h-14 w-screen rounded-none drop-shadow-none")})}),at.map(({name:m,href:n,content:k})=>{let y=n===`/${h}`||n==="/"&&h===null;return u(a.Item,{children:[t(it,{trigger:!!k,children:n!==void 0?t(v,{id:`nav-${n}`,href:w(n,r,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:r,utm_content:m}),className:B({isActive:y}),children:m}):t("button",{className:B({isActive:y}),children:m})}),k&&t(a.Content,{className:"data-[motion=from-start]:animate-enter-from-left data-[motion=from-end]:animate-enter-from-right data-[motion=to-start]:animate-exit-to-left data-[motion=to-end]:animate-exit-to-right absolute left-0 top-0",children:t(k,{domain:r})})]},m)})]}),t("div",{className:"absolute left-1/2 top-full mt-3 -translate-x-1/2",children:t(a.Viewport,{className:l("relative flex origin-[top_center] justify-start overflow-hidden rounded-[20px] border border-gray-200 bg-white shadow-md dark:border-white/[0.15] dark:bg-black","data-[state=closed]:animate-scale-out-content data-[state=open]:animate-scale-in-content","h-[var(--radix-navigation-menu-viewport-height)] w-[var(--radix-navigation-menu-viewport-width)] transition-[width,height]")})})]}),t("div",{className:"hidden grow basis-0 justify-end lg:flex",children:c&&Object.keys(c).length>0?t(v,{href:P,className:"animate-fade-in rounded-full border border-black bg-black px-4 py-1.5 text-sm text-white transition-all hover:bg-gray-800 hover:ring-4 hover:ring-gray-200 dark:border-white dark:bg-white dark:text-gray-600 dark:hover:bg-white dark:hover:text-gray-800 dark:hover:hover:shadow-[0_0_25px_5px_rgba(256,256,256,0.2)] dark:hover:ring-0",children:"Dashboard"}):f?null:u(nt,{children:[t(v,{href:g?"https://app.dub.co/login":"https://d.to/login",className:"animate-fade-in rounded-full px-4 py-1.5 text-sm font-medium text-gray-500 transition-colors ease-out hover:text-black dark:text-white dark:hover:text-white/70",children:"Log in"}),t(v,{href:g?"https://app.dub.co/register":"https://d.to/register",className:"animate-fade-in rounded-full border border-black bg-black px-4 py-1.5 text-sm text-white transition-all hover:bg-gray-800 hover:ring-4 hover:ring-gray-200 dark:border-white dark:bg-white dark:text-gray-600 dark:hover:bg-white dark:hover:text-gray-800 dark:hover:hover:shadow-[0_0_25px_5px_rgba(256,256,256,0.2)] dark:hover:ring-0",children:"Sign Up"})]})})]})})]})})}function it({trigger:i,children:o}){return i?t(a.Trigger,{asChild:!0,children:o}):o}export{x as a,N as b,at as c,Dt as d,I as e};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{b as l}from"./chunk-FK5QGBOB.mjs";import*as i from"@radix-ui/react-switch";import{useMemo as f}from"react";import{jsx as t}from"react/jsx-runtime";function S({fn:r,id:d,trackDimensions:u,thumbDimensions:h,thumbTranslate:s,checked:m=!0,loading:o=!1,disabled:a=!1,disabledTooltip:e}){let b=f(()=>e?!0:a||o,[e,a,o]),c=t(i.Root,{checked:o?!1:m,name:"switch",id:d,...r&&{onCheckedChange:r},disabled:b,className:(void 0)("radix-state-checked:bg-blue-500 radix-state-unchecked:bg-gray-200 relative inline-flex h-4 w-8 flex-shrink-0 cursor-pointer rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out","focus:outline-none focus-visible:ring focus-visible:ring-blue-500 focus-visible:ring-opacity-75","data-[disabled]:cursor-not-allowed",u),children:t(i.Thumb,{className:(void 0)(`radix-state-checked:${s}`,"radix-state-unchecked:translate-x-0","pointer-events-none h-3 w-3 translate-x-4 transform rounded-full bg-white shadow-lg ring-0 transition duration-200 ease-in-out",h,s)})});return e?t(l,{content:e,children:t("div",{children:c})}):c}export{S as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{l as t}from"./chunk-LHRSOLFV.mjs";import{cva as g}from"class-variance-authority";import{Calendar as p,ChevronDown as l}from"lucide-react";import{forwardRef as d}from"react";import{jsx as r,jsxs as f}from"react/jsx-runtime";var m=g(["group peer flex cursor-pointer appearance-none items-center gap-x-2 truncate rounded-md border px-3 h-10 outline-none transition-all text-sm","bg-white border-gray-200 text-gray-900 placeholder-gray-400 transition-all","disabled:pointer-events-none disabled:bg-gray-100 disabled:text-gray-400","focus-visible:border-gray-500 data-[state=open]:border-gray-500 data-[state=open]:ring-4 data-[state=open]:ring-gray-200"],{variants:{hasError:{true:"ring-2 ring-red-200 border-red-500"}}}),y=d(({className:o,children:e,placeholder:a,hasError:n,...s},i)=>f("button",{ref:i,className:(void 0)(m({hasError:n}),o),...s,children:[r(p,{className:(void 0)("h-4 w-4 shrink-0 text-gray-400",!!e&&"text-gray-900")}),r("span",{className:"flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-left text-gray-900",children:e||(a?r("span",{className:"text-gray-400",children:a}):null)}),r(l,{className:"h-4 w-4 flex-shrink-0 text-gray-400 transition-transform duration-75 group-data-[state=open]:rotate-180"})]}));y.displayName="DatePicker.Trigger";export{y as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{e as w}from"./chunk-Z45ZXUKJ.mjs";import{a as x,f as k,g as L}from"./chunk-OUWBFTXV.mjs";import{a as C}from"./chunk-TP3T42OT.mjs";import{a as b}from"./chunk-64JANH7J.mjs";import{a as v}from"./chunk-KGHQKY4T.mjs";import{a as N}from"./chunk-ALEYOCBW.mjs";import{a as _}from"./chunk-NEJ2U2ZO.mjs";import{i as m,l as f,m as g,n as h}from"./chunk-VCTQS6IH.mjs";import D from"next/image";import n from"next/link";import{useParams as E}from"next/navigation";import{useEffect as F,useState as y}from"react";import I from"swr";import{jsx as e,jsxs as t}from"react/jsx-runtime";var P=[{name:"Twitter",icon:v,href:"https://twitter.com/dubdotco"},{name:"LinkedIn",icon:_,href:"https://www.linkedin.com/company/dubinc"},{name:"GitHub",icon:N,href:"https://github.com/dubinc/dub"},{name:"YouTube",icon:b,href:"https://www.youtube.com/@dubdotco"}],i={features:x.map(({title:o,href:r})=>({name:o,href:r})),product:[{name:"Blog",href:"/blog"},{name:"Changelog",href:"/changelog"},{name:"Customers",href:"/customers"},{name:"Enterprise",href:"/enterprise"},{name:"Pricing",href:"/pricing"},{name:"Docs",href:"/docs"},{name:"Help Center",href:"/help"},{name:"Brand",href:"/brand"}],compare:k.map(({name:o,slug:r})=>({name:o,href:`/compare/${r}`})),legal:L.map(({name:o,slug:r})=>({name:o,href:`/legal/${r}`})),tools:h.map(({name:o,slug:r})=>({name:o,href:`/tools/${r}`}))},l="text-sm font-medium text-neutral-900",c="flex flex-col mt-2.5 gap-2.5",u="text-sm text-neutral-500 hover:text-neutral-700 transition-colors duration-75";function j({staticDomain:o,className:r}){let{domain:s="dub.co"}=E();return o&&(s=o),e(C,{className:g("relative z-10 overflow-hidden border border-b-0 border-neutral-200 bg-white/50 py-16 backdrop-blur-lg md:rounded-t-2xl",r),children:t("footer",{children:[t("div",{className:"xl:grid xl:grid-cols-3 xl:gap-8",children:[t("div",{className:"flex flex-col gap-6",children:[e("div",{className:"grow",children:t(n,{href:m("/",s,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:s,utm_content:"Logo"}),className:"block max-w-fit",children:[t("span",{className:"sr-only",children:[process.env.NEXT_PUBLIC_APP_NAME," Logo"]}),e(w,{className:"h-8 text-gray-800"})]})}),e("div",{className:"flex items-center gap-3",children:P.map(({name:a,icon:d,href:p})=>t("a",{href:p,target:"_blank",rel:"noreferrer",className:"group rounded-full p-1",children:[e("span",{className:"sr-only",children:a}),e(d,{className:"size-4 text-neutral-900 transition-colors duration-75 group-hover:text-neutral-600"})]},a))})]}),t("div",{className:"mt-16 grid grid-cols-2 gap-4 xl:col-span-2 xl:mt-0",children:[t("div",{className:"md:grid md:grid-cols-2",children:[t("div",{children:[e("h3",{className:l,children:"Product"}),e("ul",{role:"list",className:c,children:i.features.map(a=>e("li",{children:e(n,{href:m(a.href,s,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:s,utm_content:a.name}),className:u,children:a.name})},a.name))})]}),t("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:l,children:"Resources"}),e("ul",{role:"list",className:c,children:i.product.map(a=>e("li",{children:e(n,{href:m(a.href,s,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:s,utm_content:a.name}),className:u,children:a.name})},a.name))})]})]}),t("div",{className:"md:grid md:grid-cols-2",children:[t("div",{className:"flex flex-col space-y-8",children:[t("div",{children:[e("h3",{className:l,children:"Compare"}),e("ul",{role:"list",className:c,children:i.compare.map(a=>e("li",{children:e(n,{href:m(a.href,s,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:s,utm_content:a.name}),className:u,children:a.name})},a.name))})]}),t("div",{children:[e("h3",{className:l,children:"Legal"}),e("ul",{role:"list",className:c,children:i.legal.map(a=>e("li",{children:e(n,{href:m(a.href,s,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:s,utm_content:a.name}),className:u,children:a.name})},a.name))})]})]}),t("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:l,children:"Tools"}),e("ul",{role:"list",className:c,children:i.tools.map(a=>e("li",{children:e(n,{href:m(a.href,s,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:s,utm_content:a.name}),className:u,children:a.name})},a.name))})]})]})]})]}),t("div",{className:"mt-12 grid grid-cols-1 items-center gap-8 sm:grid-cols-3",children:[e(z,{}),e(n,{href:m("/blog/soc2",s,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:s,utm_content:"SOC2"}),className:"flex sm:justify-center",children:e(D,{src:"https://assets.dub.co/misc/soc2.svg",alt:"AICPA SOC 2 Type II Certified",width:63,height:32,className:"h-8 transition-[filter] duration-75 hover:brightness-90"})}),t("p",{className:"text-xs text-neutral-500 sm:text-right",children:["\xA9 ",new Date().getFullYear()," Dub Technologies, Inc."]})]})]})})}function z(){let{data:o}=I("https://status.dub.co/api/v1/summary",f),[r,s]=y("bg-neutral-200"),[a,d]=y("Loading status...");return F(()=>{if(!o)return;let{ongoing_incidents:p}=o;if(p.length>0){let{current_worst_impact:A,name:S}=p[0],T=A==="degraded_performance"?"bg-yellow-500":"bg-red-500";d(S),s(T)}else d("All systems operational"),s("bg-green-500")},[o]),t(n,{href:"https://status.dub.co",target:"_blank",className:"group flex max-w-fit items-center gap-2 rounded-lg border border-neutral-200 bg-white py-2 pl-2 pr-2.5 transition-colors hover:bg-neutral-50 active:bg-neutral-100",children:[t("div",{className:"relative size-2",children:[e("div",{className:g("absolute inset-0 m-auto size-2 animate-ping items-center justify-center rounded-full group-hover:animate-none",r,a==="Loading status..."&&"animate-none")}),e("div",{className:g("absolute inset-0 z-10 m-auto size-2 rounded-full",r)})]}),e("p",{className:"text-xs font-medium leading-none text-neutral-600",children:a})]})}export{j as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{l as C}from"./chunk-LHRSOLFV.mjs";import{jsx as l,jsxs as f}from"react/jsx-runtime";function o({className:t}){return f("svg",{className:(void 0)("h-full w-full",t),viewBox:"0 0 222 222",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[l("path",{d:"M110.999 0C49.6974 0 0 49.6973 0 111.001C0 172.307 49.6974 222 110.999 222C172.308 222 222 172.307 222 111.001C222 49.7012 172.308 0.00530203 110.998 0.00530203L110.999 0ZM161.903 160.095C159.915 163.356 155.647 164.389 152.386 162.388C126.324 146.469 93.5163 142.863 54.8787 151.691C51.1554 152.539 47.4441 150.207 46.5958 146.482C45.7435 142.757 48.0671 139.046 51.7996 138.197C94.0823 128.537 130.351 132.697 159.61 150.578C162.871 152.579 163.904 156.834 161.903 160.095ZM175.489 129.871C172.984 133.943 167.655 135.228 163.586 132.723C133.75 114.383 88.2687 109.072 52.9779 119.785C48.4011 121.167 43.5671 118.588 42.178 114.019C40.7995 109.442 43.3802 104.617 47.9491 103.225C88.2608 90.9935 138.376 96.9185 172.639 117.974C176.708 120.479 177.994 125.808 175.489 129.872V129.871ZM176.655 98.3977C140.881 77.1485 81.8574 75.1947 47.7012 85.5615C42.2164 87.225 36.4161 84.1286 34.754 78.6437C33.0918 73.1561 36.1855 67.3596 41.6743 65.6922C80.8832 53.7891 146.063 56.0889 187.251 80.5405C192.195 83.4685 193.812 89.8403 190.883 94.7672C187.967 99.7007 181.578 101.327 176.661 98.3977H176.655Z",fill:"#1ED760"}),l("path",{d:"M161.903 160.095C159.915 163.356 155.647 164.389 152.386 162.388C126.325 146.469 93.5164 142.863 54.8788 151.691C51.1556 152.539 47.4442 150.207 46.5959 146.482C45.7436 142.757 48.0672 139.046 51.7997 138.197C94.0824 128.537 130.351 132.697 159.61 150.578C162.871 152.579 163.905 156.834 161.903 160.095ZM175.489 129.871C172.984 133.943 167.656 135.228 163.586 132.723C133.75 114.383 88.2689 109.072 52.9781 119.785C48.4012 121.167 43.5672 118.588 42.1781 114.019C40.7996 109.442 43.3803 104.617 47.9492 103.225C88.2609 90.9934 138.376 96.9184 172.639 117.974C176.709 120.479 177.994 125.808 175.489 129.872V129.871ZM176.656 98.3977C140.881 77.1485 81.8576 75.1947 47.7014 85.5615C42.2165 87.225 36.4163 84.1286 34.7541 78.6437C33.092 73.1561 36.1856 67.3596 41.6744 65.6921C80.8833 53.7891 146.064 56.0888 187.251 80.5405C192.195 83.4685 193.813 89.8402 190.883 94.7672C187.967 99.7007 181.578 101.327 176.661 98.3977H176.656Z",fill:"white"})]})}export{o as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{m as i}from"./chunk-HVAJT6I7.mjs";import{jsx as l,jsxs as t}from"react/jsx-runtime";function s({className:a}){return t("svg",{className:i("h-full w-full",a),viewBox:"0 0 222 222",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[l("circle",{cx:"111",cy:"111",r:"111",fill:"url(#paint0_radial_8328_50)"}),t("g",{"clip-path":"url(#clip0_8328_50)",children:[l("path",{d:"M85.0053 196C99.3544 196 111 184.352 111 170V144H85.0053C70.6562 144 59.0105 155.648 59.0105 170C59.0105 184.352 70.6562 196 85.0053 196Z",fill:"#0ACF83"}),l("path",{d:"M59.0105 118C59.0105 103.648 70.6562 92 85.0053 92H111V144H85.0053C70.6562 144 59.0105 132.352 59.0105 118Z",fill:"#A259FF"}),l("path",{d:"M59.0103 66C59.0103 51.648 70.6559 40 85.0051 40H111V92H85.0051C70.6559 92 59.0103 80.352 59.0103 66Z",fill:"#F24E1E"}),l("path",{d:"M111 40H136.995C151.344 40 162.99 51.648 162.99 66C162.99 80.352 151.344 92 136.995 92H111V40Z",fill:"#FF7262"}),l("path",{d:"M162.99 118C162.99 132.352 151.344 144 136.995 144C122.646 144 111 132.352 111 118C111 103.648 122.646 92 136.995 92C151.344 92 162.99 103.648 162.99 118Z",fill:"#1ABCFE"})]}),t("defs",{children:[t("radialGradient",{id:"paint0_radial_8328_50",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(226.5 207.5) rotate(-140.591) scale(286.681)",children:[l("stop",{stopColor:"white"}),l("stop",{offset:"0.5",stopColor:"white"}),l("stop",{offset:"1",stopColor:"#E8E8E8"})]}),l("clipPath",{id:"clip0_8328_50",children:l("rect",{width:"104",height:"156",fill:"white",transform:"translate(59 40)"})})]})]})}export{s as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{c as W}from"./chunk-I64FUP6F.mjs";import{a as $}from"./chunk-O54LVCRS.mjs";import{a as j}from"./chunk-GVBIGY6N.mjs";import{a as P}from"./chunk-NWME2ANF.mjs";import{a as T}from"./chunk-XTK2BTRW.mjs";import{a as H}from"./chunk-LPV7TLRR.mjs";import{a as M}from"./chunk-YURUGH4S.mjs";import{a as z}from"./chunk-AIVHYQG5.mjs";import{b as K,m as k}from"./chunk-HVAJT6I7.mjs";import{Command as y,useCommandState as G}from"cmdk";import{ChevronDown as J,ListFilter as X}from"lucide-react";import{Fragment as Y,forwardRef as _,isValidElement as V,useCallback as N,useEffect as w,useImperativeHandle as ee,useRef as S,useState as D}from"react";import{Fragment as se,jsx as n,jsxs as m}from"react/jsx-runtime";function be({filters:t,onSelect:o,onRemove:a,onOpenFilter:s,onSearchChange:l,onSelectedFilterChange:g,activeFilters:i,askAI:h,children:v,emptyState:c,className:Q}){var L,A;let{isMobile:U}=P(),f=S(null),C=S(),[x,b]=D(!1);W("f",()=>b(!0),{enabled:!x});let[d,R]=D(""),[u,F]=D(null),E=N(()=>{R(""),F(null)},[]);w(()=>{x||E()},[x]);let r=u?t.find(({key:e})=>e===u):null,Z=N(e=>{f.current&&(C.current={width:f.current.clientWidth,height:f.current.clientHeight}),R(""),F(e),s==null||s(e)},[]),I=N(e=>{if(!r||!i)return!1;let p=i.find(({key:q})=>q===u);return(p==null?void 0:p.value)===e||p&&r.multiple&&Array.isArray(p.value)&&p.value.includes(e)},[r]),O=N(e=>{r&&(I(e)?a(r.key,e):o(r.key,e),r.multiple||b(!1))},[i,r,h]);return w(()=>{l==null||l(d)},[d]),w(()=>{g==null||g(u)},[u]),w(()=>{(r==null?void 0:r.options)&&f.current&&(C.current={width:f.current.clientWidth,height:f.current.clientHeight})},[r==null?void 0:r.options]),n($,{openPopover:x,setOpenPopover:b,onEscapeKeyDown:e=>{u&&(e.preventDefault(),E())},content:n(T,{width:!U,height:!0,className:"rounded-[inherit]",style:{transform:"translateZ(0)"},children:m(y,{loop:!0,shouldFilter:!r||r.shouldFilter!==!1,children:[m("div",{className:"flex items-center overflow-hidden rounded-t-lg border-b border-gray-200",children:[n(re,{placeholder:`${(r==null?void 0:r.label)||"Filter"}...`,value:d,onValueChange:R,onKeyDown:e=>{(e.key==="Escape"||e.key==="Backspace"&&!d)&&(e.preventDefault(),e.stopPropagation(),u?E():b(!1))},emptySubmit:e=>{e.preventDefault(),e.stopPropagation(),h?(o("ai",r?`${r.label} ${d}`:d),b(!1)):O(d)}}),!r&&n("kbd",{className:"mr-2 hidden shrink-0 rounded border border-gray-200 bg-gray-100 px-2 py-0.5 text-xs font-light text-gray-500 md:block",children:"F"})]}),n(ne,{ref:f,children:m(y.List,{className:k("flex w-full flex-col gap-1 p-1",r?"min-w-[100px]":"min-w-[180px]"),children:[r?((A=(L=r.options)==null?void 0:L.filter(e=>!d||!e.hideDuringSearch))==null?void 0:A.map(e=>{let p=I(e.value);return n(B,{filter:r,option:e,right:p?n(H,{className:"h-4 w-4"}):e.right,onSelect:()=>O(e.value)},e.value)}))??n(y.Loading,{children:n("div",{className:"-m-1 flex items-center justify-center",style:C.current,children:n(z,{})})}):t.map(e=>m(Y,{children:[n(B,{filter:e,onSelect:()=>Z(e.key)}),e.separatorAfter&&n(y.Separator,{className:"-mx-1 my-1 border-b border-gray-200"})]},e.key)),(!r||r.options)&&n(oe,{search:d,askAI:h,children:c?te(c)?(c==null?void 0:c[u??"default"])??"No matches":c:"No matches"})]})},u)]})}),children:m("button",{type:"button",className:k("group flex h-10 cursor-pointer appearance-none items-center gap-x-2 truncate rounded-md border px-3 text-sm outline-none transition-all","border-gray-200 bg-white text-gray-900 placeholder-gray-400","focus-visible:border-gray-500 data-[state=open]:border-gray-500 data-[state=open]:ring-4 data-[state=open]:ring-gray-200",Q),children:[n(X,{className:"size-4 shrink-0"}),n("span",{className:"flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-left text-gray-900",children:v??"Filter"}),i!=null&&i.length?n("div",{className:"flex size-4 shrink-0 items-center justify-center rounded-full bg-black text-[0.625rem] text-white",children:i.length}):n(J,{className:"size-4 shrink-0 text-gray-400 transition-transform duration-75 group-data-[state=open]:rotate-180"})]})})}function te(t){return typeof t=="object"&&t!==null&&!V(t)}var re=t=>{let o=G(a=>a.filtered.count===0);return n(y.Input,{...t,size:1,className:"grow border-0 py-3 pl-4 pr-2 outline-none placeholder:text-gray-400 focus:ring-0 sm:text-sm",onKeyDown:a=>{var s,l;(s=t.onKeyDown)==null||s.call(t,a),a.key==="Enter"&&o&&((l=t.emptySubmit)==null||l.call(t,a))},autoCapitalize:"none"})},ne=_(({children:t},o)=>{let a=S(null);ee(o,()=>a.current);let{scrollProgress:s,updateScrollProgress:l}=j(a);return m(se,{children:[n("div",{className:"scrollbar-hide max-h-[50vh] w-screen overflow-y-scroll sm:w-auto",ref:a,onScroll:l,children:t}),n("div",{className:"pointer-events-none absolute bottom-0 left-0 hidden h-16 w-full bg-gradient-to-t from-white sm:block",style:{opacity:1-Math.pow(s,2)}})]})});function B({filter:t,option:o,right:a,onSelect:s}){var h,v;let{isMobile:l}=P(),g=o?o.icon??((h=t.getOptionIcon)==null?void 0:h.call(t,o.value,{key:t.key,option:o}))??t.icon:t.icon,i=o?o.label??((v=t.getOptionLabel)==null?void 0:v.call(t,o.value,{key:t.key,option:o})):t.label;return m(y.Item,{className:k("flex cursor-pointer items-center gap-3 whitespace-nowrap rounded-md px-3 py-2 text-left text-sm","data-[selected=true]:bg-gray-100"),onPointerDown:c=>{c.preventDefault()},onPointerUp:c=>{c.preventDefault(),l?setTimeout(s,100):s()},onSelect:s,value:i+(o==null?void 0:o.value),children:[n("span",{className:"shrink-0 text-gray-600",children:ae(g)?g:n(g,{className:"h-4 w-4"})}),K(i,48),n("div",{className:"ml-1 flex shrink-0 grow justify-end text-gray-500",children:a})]})}var oe=({search:t,askAI:o,children:a})=>o&&t?m(y.Empty,{className:"flex min-w-[180px] items-center space-x-2 rounded-md bg-gray-100 px-3 py-2",children:[n(M,{className:"h-4 w-4"}),m("p",{className:"text-center text-sm text-gray-600",children:["Ask AI ",m("span",{className:"text-black",children:['"',t,'"']})]})]}):n(y.Empty,{className:"p-2 text-center text-sm text-gray-400",children:a}),ae=t=>V(t);export{be as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as I}from"./chunk-QQ7XG7OJ.mjs";import{a as U}from"./chunk-K3VDAU4N.mjs";import{a as q}from"./chunk-364FJC4C.mjs";import{c as C}from"./chunk-NZRIEMXB.mjs";import{a as H}from"./chunk-AJROEBR6.mjs";import{a as F}from"./chunk-NWME2ANF.mjs";import{m as T}from"./chunk-ORQ643AR.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{a as l,b as v,f as g}from"./chunk-6YZAPOXQ.mjs";import{a as c,c as u,d as N}from"./chunk-5HJID3RL.mjs";import{a as d}from"./chunk-IYVNIXK5.mjs";import{i as o,m as i}from"./chunk-HVAJT6I7.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:l.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:v.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:g.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(d,{className:"h-3 w-3"})]},r))})]})]})}export{y as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as l,b as v,f as g}from"./chunk-H6X2YC5N.mjs";import{a as c,c as u,d as N}from"./chunk-DMPLU2GO.mjs";import{a as d}from"./chunk-GIW2RJQZ.mjs";import{i as o,m as i}from"./chunk-7LNA6Q2P.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:l.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:v.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:g.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(d,{className:"h-3 w-3"})]},r))})]})]})}export{y as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as D}from"./chunk-2AVTXLJA.mjs";import{a as x}from"./chunk-NAHB2RQQ.mjs";import{a as N,m as t}from"./chunk-HVAJT6I7.mjs";import{cva as I}from"class-variance-authority";import{useState as P}from"react";import{toast as R}from"sonner";import{Fragment as G,jsx as r,jsxs as y}from"react/jsx-runtime";var m={any:{types:[]},images:{types:["image/png","image/jpeg"],errorMessage:"File type not supported (.png or .jpg only)"},csv:{types:["text/csv"],errorMessage:"File type not supported (.csv only)"}},O=I("group relative isolate flex aspect-[1200/630] w-full flex-col items-center justify-center overflow-hidden bg-white transition-all hover:bg-gray-50",{variants:{variant:{default:"rounded-md border border-gray-300 shadow-sm",plain:""}},defaultVariants:{variant:"default"}});function X({readFile:U,onChange:o,variant:z,className:j,iconClassName:A,previewClassName:E,customPreview:T,accept:c="any",imageSrc:d,loading:L=!1,clickToUpload:g=!0,showHoverOverlay:M=!0,content:v,maxFileSizeMB:u=0,targetResolution:b,accessibilityLabel:V="File upload",disabled:s=!1}){let[F,l]=P(!1),[k,H]=P(null),h=async e=>{let a="dataTransfer"in e?e.dataTransfer.files&&e.dataTransfer.files[0]:e.target.files&&e.target.files[0];if(!a)return;if(H(a.name),u>0&&a.size/1024/1024>u){R.error(`File size too big (max ${u} MB)`);return}let w=m[c].types;if(w.length&&!w.includes(a.type)){R.error(m[c].errorMessage??"File type not supported");return}let n=a;if(b&&a.type.startsWith("image/"))try{let i=await N(a,b),f=await fetch(i).then(p=>p.blob());n=new File([f],a.name,{type:a.type})}catch(i){console.error("Error resizing image:",i)}if(U){let i=new FileReader;i.onload=f=>{var p;return o==null?void 0:o({src:(p=f.target)==null?void 0:p.result,file:n})},i.readAsDataURL(n);return}o==null||o({file:n})};return y("label",{className:t(O({variant:z}),s?"cursor-not-allowed":t(g&&"cursor-pointer"),j),children:[L&&r("div",{className:"absolute inset-0 z-[5] flex items-center justify-center rounded-[inherit] bg-white",children:r(x,{})}),r("div",{className:"absolute inset-0 z-[5]",onDragOver:e=>{e.preventDefault(),e.stopPropagation(),l(!0)},onDragEnter:e=>{e.preventDefault(),e.stopPropagation(),l(!0)},onDragLeave:e=>{e.preventDefault(),e.stopPropagation(),l(!1)},onDrop:async e=>{e.preventDefault(),e.stopPropagation(),h(e),l(!1)}}),y("div",{className:t("absolute inset-0 z-[3] flex flex-col items-center justify-center rounded-[inherit] bg-white transition-all",s&&"bg-gray-50",F&&!s&&"cursor-copy border-2 border-black bg-gray-50 opacity-100",d?t("opacity-0",M&&!s&&"group-hover:opacity-100"):t(!s&&"group-hover:bg-gray-50")),children:[r(D,{className:t("size-7 transition-all duration-75",s?"text-gray-400":t("text-gray-500 group-hover:scale-110 group-active:scale-95",F?"scale-110":"scale-100"),A)}),v!==null&&r("div",{className:t("mt-2 text-center text-sm text-gray-500",s&&"text-gray-400"),children:v??r(G,{children:y("p",{children:["Drag and drop ",g&&"or click"," to upload."]})})}),r("span",{className:"sr-only",children:V})]}),d&&(T??r("img",{src:d,alt:"Preview",className:t("h-full w-full rounded-[inherit] object-cover",E)})),g&&r("div",{className:"sr-only mt-1 flex shadow-sm",children:r("input",{type:"file",accept:m[c].types.join(","),onChange:h,disabled:s},k)})]})}export{X as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{m as e}from"./chunk-ORQ643AR.mjs";import{jsx as t}from"react/jsx-runtime";function o({className:i}){return t("div",{className:e("h-5 w-5",i),children:t("div",{style:{position:"relative",top:"50%",left:"50%"},className:e("loading-spinner","h-5 w-5",i),children:[...Array(12)].map((n,a)=>t("div",{style:{animationDelay:`${-1.2+.1*a}s`,background:"gray",position:"absolute",borderRadius:"1rem",width:"30%",height:"8%",left:"-10%",top:"-4%",transform:`rotate(${30*a}deg) translate(120%)`},className:"animate-spinner"},a))})})}export{o as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{m as a}from"./chunk-ORQ643AR.mjs";import*as i from"@radix-ui/react-radio-group";import{Circle as p}from"lucide-react";import*as m from"react";import{jsx as e}from"react/jsx-runtime";var s=m.forwardRef(({className:o,...r},t)=>e(i.Root,{className:a("grid gap-2",o),...r,ref:t}));s.displayName=i.Root.displayName;var d=m.forwardRef(({className:o,...r},t)=>e(i.Item,{ref:t,className:a("border-primary text-primary ring-offset-background focus-visible:ring-ring aspect-square h-4 w-4 rounded-full border focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",o),...r,children:e(i.Indicator,{className:"flex items-center justify-center",children:e(p,{className:"h-2.5 w-2.5 fill-current text-current"})})}));d.displayName=i.Item.displayName;export{s as a,d as b};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{d as l,e as p}from"./chunk-6YZAPOXQ.mjs";import{a as s,c as n}from"./chunk-5HJID3RL.mjs";import{i,m as e}from"./chunk-HVAJT6I7.mjs";import{jsx as r,jsxs as c}from"react/jsx-runtime";function N({domain:a}){return c("div",{className:"grid w-[28rem] grid-cols-2",children:[c("div",{className:"border-l border-gray-200 p-5 dark:border-white/20",children:[r("p",{className:e(s,"mb-2"),children:"SDKs"}),r("div",{className:"-mx-2 flex flex-col gap-0.5",children:l.map(({icon:m,iconClassName:t,title:o,href:d})=>r(n,{href:i(d,a,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:a,utm_content:o}),icon:r(m,{className:e("h-5 w-5 shrink-0 text-gray-600 transition-colors dark:text-white/60",t)}),title:o,showArrow:!0},d))})]}),c("div",{className:"border-l border-gray-200 p-5 dark:border-white/20",children:[r("p",{className:e(s,"mb-2"),children:"Content"}),r("div",{className:"-mx-2 flex flex-col gap-0.5",children:p.map(({icon:m,title:t,href:o})=>r(n,{href:i(o,a,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:a,utm_content:t}),icon:r(m,{className:e("h-5 w-5 shrink-0 text-gray-600 dark:text-white/60")}),title:t,showArrow:!0}))})]})]})}export{N as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{m as o}from"./chunk-ORQ643AR.mjs";import*as e from"@radix-ui/react-label";import{cva as m}from"class-variance-authority";import*as t from"react";import{jsx as s}from"react/jsx-runtime";var l=m("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),p=t.forwardRef(({className:a,...i},r)=>s(e.Root,{ref:r,className:o(l(),a),...i}));p.displayName=e.Root.displayName;export{p as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{jsx as C}from"react/jsx-runtime";function r(o){return C("svg",{width:"16",height:"11",viewBox:"0 0 16 11",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:C("path",{d:"M10.1552 10.5H5.8442C3.15868 10.5 0.840663 8.4364 0.706388 5.75088C0.565045 2.88163 2.86186 0.5 5.70285 0.5H10.1622C12.9184 0.5 15.3071 2.74028 15.3 5.50353C15.3 5.95583 14.9325 6.32332 14.4732 6.32332H3.8442C3.61805 6.32332 3.4343 6.13958 3.4343 5.91343V5.08657C3.4343 4.86042 3.61805 4.67668 3.8442 4.67668H13.2647C12.8972 3.22792 11.5827 2.14664 10.0138 2.14664H6.10568C4.32476 2.14664 2.76292 3.4894 2.64278 5.27032C2.51557 7.22085 4.06328 8.85336 5.98554 8.85336H10.1552C11.2435 8.85336 12.1198 8.33039 12.7488 7.43993L12.9891 7.10777C13.1233 6.92403 13.3778 6.88163 13.5615 7.00883L14.5156 7.4894C14.6993 7.62367 14.7417 7.87809 14.6145 8.06184L14.3742 8.39399C13.4414 9.71555 11.7806 10.5 10.1552 10.5Z",fill:"currentColor"})})}export{r as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as l}from"./chunk-D477HPBE.mjs";import{e as i,m as n}from"./chunk-HVAJT6I7.mjs";import{cva as h}from"class-variance-authority";import{createContext as p,useContext as m,useEffect as b,useRef as x,useState as g}from"react";import{jsx as d}from"react/jsx-runtime";var y=h("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"}}}),L="w-full py-2.5 px-4",I=p({hovered:!1});function B({outerClassName:c,innerClassName:f,children:v,onClick:s,hoverStateEnabled:u=!0}){let{variant:C}=m(l),e=x(null),[r,t]=g(!1);return b(()=>{if(!r||!e.current)return;let o=setInterval(()=>{var a;((a=e.current)==null?void 0:a.matches(":hover"))===!1&&t(!1)},1e3);return()=>clearInterval(o)},[r]),d("li",{ref:e,className:n(y({variant:C}),c),onPointerEnter:()=>t(!0),onPointerLeave:()=>t(!1),"data-hover-state-enabled":u,children:d("div",{className:n(L,f),onClick:s?o=>{document.getElementById("modal-backdrop")||i(o)||s()}:void 0,children:d(I.Provider,{value:{hovered:r},children:v})})})}export{I as a,B as b};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{Drawer as o}from"vaul";import{jsx as i,jsxs as w}from"react/jsx-runtime";function m({children:t,contentProps:e,nested:n=!1,...s}){let f=n?o.NestedRoot:o.Root;return i(f,{direction:"right",handleOnly:!0,...s,children:w(o.Portal,{children:[i(o.Overlay,{className:"fixed inset-0 bg-black/20"}),i(o.Content,{...e,onPointerDownOutside:l=>{var a;l.target instanceof Element&&l.target.closest("[data-sonner-toast]")&&l.preventDefault(),(a=e==null?void 0:e.onPointerDownOutside)==null||a.call(e,l)},className:(void 0)("fixed bottom-2 right-2 top-2 z-10 flex w-[calc(100%-16px)] outline-none md:w-[540px]",e==null?void 0:e.className),style:{"--initial-transform":"calc(100% + 8px)","user-select":"auto",...e==null?void 0:e.style},children:i("div",{className:"scrollbar-hide flex size-full grow flex-col overflow-y-auto rounded-lg bg-white",children:t})})]})})}function u({className:t,...e}){return i(o.Title,{className:(void 0)("text-xl font-medium text-zinc-900",t),...e})}function d(t){return i(o.Description,{...t})}function C(t){return i(o.Close,{...t})}var c=Object.assign(m,{Title:u,Description:d,Close:C});export{c as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as n}from"./chunk-RZTH773L.mjs";import{l as i}from"./chunk-LHRSOLFV.mjs";import s from"next/link";import{jsx as e,jsxs as a}from"react/jsx-runtime";var b="text-xs uppercase text-gray-500 dark:text-white/60",l="group rounded-[8px] p-2 transition-colors hover:bg-gray-100 active:bg-gray-200 dark:hover:bg-white/[0.15] dark:active:bg-white/20";function v({icon:t,title:o,description:r,descriptionLines:d=1,className:p,showArrow:c,...m}){return e(s,{className:(void 0)(l,p),...m,children:a("div",{className:"flex items-center justify-between gap-3",children:[t,a("div",{className:"flex-1",children:[e("p",{className:"text-sm font-medium text-gray-700 dark:text-white",children:o}),r&&e("p",{className:(void 0)("text-xs text-gray-500/80 dark:text-white/60",["line-clamp-1","line-clamp-2"][d-1]),children:r})]}),c&&e(n,{className:"invisible -ml-6 h-4 w-4 text-gray-700 group-aria-selected:visible sm:group-hover:visible dark:text-white/80"})]})})}function k({icon:t}){return e("div",{className:"shrink-0 rounded-[10px] border border-gray-200 bg-white/50 p-3 dark:border-white/20 dark:bg-white/10",children:e(t,{className:"h-4 w-4 text-black transition-transform group-hover:scale-110 dark:text-white/80"})})}function w({name:t,href:o,icon:r}){return a(s,{href:o,className:"group relative isolate overflow-hidden rounded-[8px] border border-gray-100 p-3 text-sm font-medium text-gray-800 transition-colors hover:border-gray-200 hover:bg-gray-100 active:bg-gray-200 dark:border-white/20 dark:text-white/80 dark:hover:bg-white/[0.15] dark:active:bg-white/20",children:[e("div",{className:"absolute -bottom-5 -right-3 -z-[1] w-14",children:r}),t]})}export{b as a,l as b,v as c,k as d,w as e};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as l,b as a,d as u,e as h}from"./chunk-N52L4FEK.mjs";import{a as y}from"./chunk-6JPO26GL.mjs";import{a as C}from"./chunk-32C65ISH.mjs";import{a as m}from"./chunk-LFGWL3ID.mjs";import{a as g}from"./chunk-CZSSD6PV.mjs";import{a as f}from"./chunk-D7SRRREC.mjs";import{a as d}from"./chunk-SBK5CRMY.mjs";import{a as p}from"./chunk-DWACNU5E.mjs";import{a as c}from"./chunk-HRTLCZFX.mjs";import{a as s}from"./chunk-PDSUXFDU.mjs";import{a as r}from"./chunk-PRJVDP45.mjs";import{a as e}from"./chunk-DWW2DMGM.mjs";import{a as i}from"./chunk-KYMBX7DZ.mjs";import{a as o}from"./chunk-2LBJI2KO.mjs";import{a as n}from"./chunk-TNAH7N5Q.mjs";import{a as t}from"./chunk-ZJICX3BL.mjs";import{jsx as b}from"react/jsx-runtime";function P(x){return b("svg",{width:"16",height:"11",viewBox:"0 0 16 11",fill:"none",xmlns:"http://www.w3.org/2000/svg",...x,children:b("path",{d:"M10.1552 10.5H5.8442C3.15868 10.5 0.840663 8.4364 0.706388 5.75088C0.565045 2.88163 2.86186 0.5 5.70285 0.5H10.1622C12.9184 0.5 15.3071 2.74028 15.3 5.50353C15.3 5.95583 14.9325 6.32332 14.4732 6.32332H3.8442C3.61805 6.32332 3.4343 6.13958 3.4343 5.91343V5.08657C3.4343 4.86042 3.61805 4.67668 3.8442 4.67668H13.2647C12.8972 3.22792 11.5827 2.14664 10.0138 2.14664H6.10568C4.32476 2.14664 2.76292 3.4894 2.64278 5.27032C2.51557 7.22085 4.06328 8.85336 5.98554 8.85336H10.1552C11.2435 8.85336 12.1198 8.33039 12.7488 7.43993L12.9891 7.10777C13.1233 6.92403 13.3778 6.88163 13.5615 7.00883L14.5156 7.4894C14.6993 7.62367 14.7417 7.87809 14.6145 8.06184L14.3742 8.39399C13.4414 9.71555 11.7806 10.5 10.1552 10.5Z",fill:"currentColor"})})}var R=[{title:"Advanced Analytics",description:"Powerful Analytics For The Modern Marketer",icon:c,href:"/help/article/dub-analytics"},{title:"Branded Links",description:"Branded Links That Stand Out",icon:d,href:"/features/branded-links"},{title:"QR Codes",description:"Gorgeous QR codes for your links",icon:m,href:"/features/qr-codes"},{title:"Personalization",description:"Personalize Your Short Links",icon:f,href:"/features/personalization"},{title:"Collaboration",description:"Collaborate With Your Team",icon:C,href:"/features/collaboration"},{title:"API",description:"Programmatic Link Creation",icon:y,href:"/docs/api-reference/introduction"}],E=[{icon:o,iconClassName:"group-hover:text-[#FF6363]",title:"Raycast",description:"Complex link infrastructure",href:"/customers/raycast"},{icon:e,iconClassName:"group-hover:text-[#FF6154]",title:"Product Hunt",description:"Unlocking new growth",href:"/customers/product-hunt"},{icon:P,iconClassName:"group-hover:text-[#353D7C]",title:"Elxo",description:"Overcoming API latency",href:"/customers/elxo"}],A=[{icon:p,title:"Developers",description:"API for efficient link management",href:"/docs/introduction"},{icon:g,title:"Enterprise",description:"Scalable link management solutions",href:"/enterprise"}],L=[{icon:s,iconClassName:"py-0.5 group-hover:text-[#3178C6]",title:"Typescript",href:"/solutions/typescript"},{icon:i,iconClassName:"py-0.5 [&_.snake]:transition-colors group-hover:[&_.snake1]:text-[#3776ab] group-hover:[&_.snake2]:text-[#ffd343]",title:"Python",href:"/solutions/python"},{icon:t,iconClassName:"group-hover:text-[#00ACD7]",title:"Go",href:"/solutions/go"},{icon:n,iconClassName:"py-[3px] grayscale brightness-150 transition-[filter] group-hover:grayscale-0 group-hover:brightness-100",title:"Ruby",href:"/solutions/ruby"},{icon:r,iconClassName:"py-[3px] grayscale brightness-150 transition-[filter] group-hover:grayscale-0 group-hover:brightness-100",title:"PHP",href:"/solutions/php"}],F=[{icon:u,title:"Blog",description:"Insights and stories",href:"/blog"},{icon:l,title:"Docs",description:"Platform documentation",href:"/docs"},{icon:a,title:"Changelog",description:"Releases and updates",href:"/changelog"},{icon:h,title:"Help Center",description:"Answers to your questions",href:"/help"}],H=[{name:"Bitly",slug:"bitly"},{name:"Rebrandly",slug:"rebrandly"},{name:"Short.io",slug:"short"},{name:"Bl.ink",slug:"blink"}],w=[{name:"Privacy",slug:"privacy"},{name:"Terms",slug:"terms"},{name:"Trust Center",slug:"trust"},{name:"DPA",slug:"dpa"},{name:"Subprocessors",slug:"subprocessors"},{name:"Report Abuse",slug:"abuse"}];export{R as a,E as b,A as c,L as d,F as e,H as f,w as g};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as m}from"./chunk-WMTXO7RT.mjs";import*as e from"@radix-ui/react-accordion";import{ChevronDown as f}from"lucide-react";import*as c from"react";import{jsx as r,jsxs as A}from"react/jsx-runtime";var g=e.Root,p=c.forwardRef(({className:t,...i},o)=>r(e.Item,{ref:o,className:(void 0)("border-b border-b-slate-200 py-3 last:border-none",t),...i}));p.displayName="AccordionItem";var l=c.forwardRef(({className:t,children:i,variant:o="chevron",...a},d)=>{let s=o==="chevron"?f:m;return r(e.Header,{className:"flex",children:A(e.Trigger,{ref:d,className:(void 0)("flex flex-1 items-center justify-between font-medium transition-all sm:text-lg",{"[&[data-state=open]>svg]:rotate-180":o==="chevron","[&[data-state=open]>svg]:rotate-45":o==="plus"},t),...a,children:[i,r(s,{className:"h-5 w-5 flex-none transition-transform duration-300"})]})})});l.displayName=e.Trigger.displayName;var v=c.forwardRef(({className:t,children:i,...o},a)=>r(e.Content,{ref:a,className:(void 0)("data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm text-gray-500 transition-all sm:text-base",t),...o,children:i}));v.displayName=e.Content.displayName;export{g as a,p as b,l as c,v as d};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{d as l,e as p}from"./chunk-H6X2YC5N.mjs";import{a as s,c as n}from"./chunk-5HJID3RL.mjs";import{i,m as e}from"./chunk-HVAJT6I7.mjs";import{jsx as r,jsxs as c}from"react/jsx-runtime";function N({domain:a}){return c("div",{className:"grid w-[28rem] grid-cols-2",children:[c("div",{className:"border-l border-gray-200 p-5 dark:border-white/20",children:[r("p",{className:e(s,"mb-2"),children:"SDKs"}),r("div",{className:"-mx-2 flex flex-col gap-0.5",children:l.map(({icon:m,iconClassName:t,title:o,href:d})=>r(n,{href:i(d,a,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:a,utm_content:o}),icon:r(m,{className:e("h-5 w-5 shrink-0 text-gray-600 transition-colors dark:text-white/60",t)}),title:o,showArrow:!0},d))})]}),c("div",{className:"border-l border-gray-200 p-5 dark:border-white/20",children:[r("p",{className:e(s,"mb-2"),children:"Content"}),r("div",{className:"-mx-2 flex flex-col gap-0.5",children:p.map(({icon:m,title:t,href:o})=>r(n,{href:i(o,a,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:a,utm_content:t}),icon:r(m,{className:e("h-5 w-5 shrink-0 text-gray-600 dark:text-white/60")}),title:t,showArrow:!0}))})]})]})}export{N as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{d as l,e as p}from"./chunk-WI42IPI7.mjs";import{a as s,c as n}from"./chunk-5HJID3RL.mjs";import{i,m as e}from"./chunk-HVAJT6I7.mjs";import{jsx as r,jsxs as c}from"react/jsx-runtime";function N({domain:a}){return c("div",{className:"grid w-[28rem] grid-cols-2",children:[c("div",{className:"border-l border-gray-200 p-5 dark:border-white/20",children:[r("p",{className:e(s,"mb-2"),children:"SDKs"}),r("div",{className:"-mx-2 flex flex-col gap-0.5",children:l.map(({icon:m,iconClassName:t,title:o,href:d})=>r(n,{href:i(d,a,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:a,utm_content:o}),icon:r(m,{className:e("h-5 w-5 shrink-0 text-gray-600 transition-colors dark:text-white/60",t)}),title:o,showArrow:!0},d))})]}),c("div",{className:"border-l border-gray-200 p-5 dark:border-white/20",children:[r("p",{className:e(s,"mb-2"),children:"Content"}),r("div",{className:"-mx-2 flex flex-col gap-0.5",children:p.map(({icon:m,title:t,href:o})=>r(n,{href:i(o,a,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:a,utm_content:t}),icon:r(m,{className:e("h-5 w-5 shrink-0 text-gray-600 dark:text-white/60")}),title:t,showArrow:!0}))})]})]})}export{N as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as P}from"./chunk-6JPO26GL.mjs";import{a as C}from"./chunk-32C65ISH.mjs";import{a as b}from"./chunk-LFGWL3ID.mjs";import{a as m}from"./chunk-CZSSD6PV.mjs";import{a as y}from"./chunk-D7SRRREC.mjs";import{a as d}from"./chunk-JBURS7BX.mjs";import{a as g}from"./chunk-BOCPUR5Z.mjs";import{a as f}from"./chunk-SBK5CRMY.mjs";import{a as h}from"./chunk-DWACNU5E.mjs";import{a as p}from"./chunk-HYPLE4VW.mjs";import{a as u}from"./chunk-HRTLCZFX.mjs";import{a as l}from"./chunk-KDNSFAET.mjs";import{a as c}from"./chunk-2W2M7KTU.mjs";import{a as o}from"./chunk-DMUERTF2.mjs";import{a}from"./chunk-PDSUXFDU.mjs";import{a as e}from"./chunk-NPWONPKN.mjs";import{a as s}from"./chunk-KYMBX7DZ.mjs";import{a as t}from"./chunk-2LBJI2KO.mjs";import{a as n}from"./chunk-TNAH7N5Q.mjs";import{a as r}from"./chunk-PRJVDP45.mjs";import{a as i}from"./chunk-ZJICX3BL.mjs";var S=[{title:"Advanced Analytics",description:"Powerful Analytics For The Modern Marketer",icon:u,href:"/help/article/dub-analytics"},{title:"Branded Links",description:"Branded Links That Stand Out",icon:f,href:"/features/branded-links"},{title:"QR Codes",description:"Gorgeous QR codes for your links",icon:b,href:"/features/qr-codes"},{title:"Personalization",description:"Personalize Your Short Links",icon:y,href:"/features/personalization"},{title:"Collaboration",description:"Collaborate With Your Team",icon:C,href:"/features/collaboration"},{title:"API",description:"Programmatic Link Creation",icon:P,href:"/docs/api-reference/introduction"}],R=[{icon:t,iconClassName:"group-hover:text-[#FF6363]",title:"Raycast",description:"How Raycast added link-sharing features to Ray.so with Dub.co's link infrastructure",href:"/customers/raycast"},{icon:o,iconClassName:"group-hover:text-[#268472]",title:"Tinybird",description:"How Tinybird uses Dub.co to enhance their digital marketing strategies",href:"/customers/tinybird"},{icon:e,iconClassName:"group-hover:text-[#4C51BF]",title:"Prisma",description:"How Prisma uses Dub.co to improve insights for pris.ly links",href:"/customers/prisma"}],x=[{icon:h,title:"Developers",description:"API for efficient link management",href:"/docs/introduction"},{icon:m,title:"Enterprise",description:"Scalable link management solutions",href:"/enterprise"}],v=[{icon:a,iconClassName:"py-0.5 group-hover:text-[#3178C6]",title:"Typescript",href:"/solutions/typescript"},{icon:s,iconClassName:"py-0.5 [&_.snake]:transition-colors group-hover:[&_.snake1]:text-[#3776ab] group-hover:[&_.snake2]:text-[#ffd343]",title:"Python",href:"/solutions/python"},{icon:i,iconClassName:"group-hover:text-[#00ACD7]",title:"Go",href:"/solutions/go"},{icon:n,iconClassName:"py-[3px] grayscale brightness-150 transition-[filter] group-hover:grayscale-0 group-hover:brightness-100",title:"Ruby",href:"/solutions/ruby"},{icon:r,iconClassName:"py-[3px] grayscale brightness-150 transition-[filter] group-hover:grayscale-0 group-hover:brightness-100",title:"PHP",href:"/solutions/php"}],T=[{icon:l,title:"Blog",href:"/blog"},{icon:p,title:"Changelog",href:"/changelog"},{icon:c,title:"Docs",href:"/docs"},{icon:d,title:"Help Center",href:"/help"},{icon:g,title:"Brand",href:"/brand"}],A=[{name:"Bitly",slug:"bitly"},{name:"Rebrandly",slug:"rebrandly"},{name:"Short.io",slug:"short"},{name:"Bl.ink",slug:"blink"}],E=[{name:"Privacy",slug:"privacy"},{name:"Terms",slug:"terms"},{name:"Trust Center",slug:"trust"},{name:"DPA",slug:"dpa"},{name:"Subprocessors",slug:"subprocessors"},{name:"Report Abuse",slug:"abuse"}];export{S as a,R as b,x as c,v as d,T as e,A as f,E as g};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{l as e}from"./chunk-LHRSOLFV.mjs";import{jsx as t,jsxs as C}from"react/jsx-runtime";function o({className:a}){return C("svg",{className:(void 0)("h-full w-full",a),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_linear_39_35)"}),t("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M167.627 151.288C165.868 148.976 155.967 150.187 151.538 150.74C150.176 150.91 149.967 149.698 151.198 148.825C159.073 143.144 172.023 144.772 173.515 146.687C175.032 148.602 173.137 161.895 165.718 168.236C164.584 169.22 163.503 168.692 164.012 167.402C165.66 163.141 169.406 153.595 167.627 151.288ZM161.889 158.017C148.087 168.43 128.096 174 110.873 174C86.7384 174 65.0031 164.852 48.5549 149.615C47.2658 148.423 48.424 146.794 49.9749 147.72C67.7121 158.308 89.6704 164.668 112.331 164.668C127.607 164.668 144.438 161.43 159.888 154.686C162.233 153.683 164.186 156.257 161.894 158.002M120.018 102.131C120.018 108.758 120.187 114.27 116.989 120.141C114.415 124.911 110.325 127.849 105.765 127.849C99.5374 127.849 95.9221 122.889 95.9221 115.559C95.9221 101.093 108.304 98.4611 120.022 98.4611L120.022 102.136M136.379 143.493C135.317 144.496 133.766 144.574 132.555 143.91C127.18 139.231 126.211 137.055 123.24 132.585C114.343 142.092 108.057 144.932 96.5085 144.932C82.8614 144.932 72.2288 136.129 72.2288 118.497C72.2288 104.729 79.3673 95.3391 89.5105 90.753C98.2967 86.7002 110.601 85.9828 120.008 84.863L120.008 82.6669C120.008 78.6335 120.313 73.8632 118.06 70.3776C116.073 67.2508 112.288 65.9661 108.954 65.9661C102.765 65.9661 97.2548 69.2819 95.9124 76.1562C95.6265 77.6881 94.57 79.1861 93.0919 79.2637L77.361 77.5039C76.0379 77.1839 74.5792 76.0641 74.9379 73.9456C78.5725 54.0258 95.8009 48 111.207 48C119.102 48 129.419 50.1961 135.632 56.4449C143.527 64.153 142.771 74.4352 142.771 85.6289L142.771 112.064C142.771 120.019 145.911 123.5 148.887 127.8C149.929 129.318 150.156 131.169 148.848 132.309C145.533 135.227 139.65 140.564 136.412 143.575L136.354 143.517",fill:"url(#paint1_radial_39_35)"}),C("defs",{children:[C("linearGradient",{id:"paint0_linear_39_35",x1:"0",y1:"0",x2:"222",y2:"222",gradientUnits:"userSpaceOnUse",children:[t("stop",{stopColor:"#FF9900"}),t("stop",{offset:"0.5",stopColor:"#FF9900"}),t("stop",{offset:"1",stopColor:"#EA580C"})]}),C("radialGradient",{id:"paint1_radial_39_35",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(48 48) rotate(45) scale(178.191 178.229)",children:[t("stop",{stopColor:"white"}),t("stop",{offset:"1",stopColor:"white",stopOpacity:"0.5"})]})]})]})}export{o as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{m as i}from"./chunk-HVAJT6I7.mjs";import*as e from"@radix-ui/react-checkbox";import{Check as m}from"lucide-react";import*as t from"react";import{jsx as o}from"react/jsx-runtime";var s=t.forwardRef(({className:r,...c},a)=>o(e.Root,{ref:a,className:i("peer h-5 w-5 shrink-0 rounded-md border border-gray-200 bg-white outline-none focus-visible:border-black disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-blue-500",r),...c,children:o(e.Indicator,{className:"flex items-center justify-center",children:o(m,{className:"h-3 w-3 text-white"})})}));s.displayName=e.Root.displayName;export{s as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{e as w}from"./chunk-NKJ6CLN6.mjs";import{a as x,f as k,g as L}from"./chunk-MKG6N7L6.mjs";import{a as C}from"./chunk-TP3T42OT.mjs";import{a as v}from"./chunk-KGHQKY4T.mjs";import{a as b}from"./chunk-64JANH7J.mjs";import{a as _}from"./chunk-NEJ2U2ZO.mjs";import{a as N}from"./chunk-ALEYOCBW.mjs";import{i as m,l as f,m as g,n as h}from"./chunk-VCTQS6IH.mjs";import D from"next/image";import n from"next/link";import{useParams as E}from"next/navigation";import{useEffect as F,useState as y}from"react";import I from"swr";import{jsx as e,jsxs as t}from"react/jsx-runtime";var P=[{name:"Twitter",icon:v,href:"https://twitter.com/dubdotco"},{name:"LinkedIn",icon:_,href:"https://www.linkedin.com/company/dubinc"},{name:"GitHub",icon:N,href:"https://github.com/dubinc/dub"},{name:"YouTube",icon:b,href:"https://www.youtube.com/@dubdotco"}],i={features:x.map(({title:o,href:r})=>({name:o,href:r})),product:[{name:"Blog",href:"/blog"},{name:"Changelog",href:"/changelog"},{name:"Customers",href:"/customers"},{name:"Enterprise",href:"/enterprise"},{name:"Pricing",href:"/pricing"},{name:"Docs",href:"/docs"},{name:"Help Center",href:"/help"},{name:"Brand",href:"/brand"}],compare:k.map(({name:o,slug:r})=>({name:o,href:`/compare/${r}`})),legal:L.map(({name:o,slug:r})=>({name:o,href:`/legal/${r}`})),tools:h.map(({name:o,slug:r})=>({name:o,href:`/tools/${r}`}))},l="text-sm font-medium text-neutral-900",c="flex flex-col mt-2.5 gap-2.5",u="text-sm text-neutral-500 hover:text-neutral-700 transition-colors duration-75";function j({staticDomain:o,className:r}){let{domain:s="dub.co"}=E();return o&&(s=o),e(C,{className:g("relative z-10 overflow-hidden border border-b-0 border-neutral-200 bg-white/50 py-16 backdrop-blur-lg md:rounded-t-2xl",r),children:t("footer",{children:[t("div",{className:"xl:grid xl:grid-cols-3 xl:gap-8",children:[t("div",{className:"flex flex-col gap-6",children:[e("div",{className:"grow",children:t(n,{href:m("/",s,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:s,utm_content:"Logo"}),className:"block max-w-fit",children:[t("span",{className:"sr-only",children:[process.env.NEXT_PUBLIC_APP_NAME," Logo"]}),e(w,{className:"h-8 text-gray-800"})]})}),e("div",{className:"flex items-center gap-3",children:P.map(({name:a,icon:d,href:p})=>t("a",{href:p,target:"_blank",rel:"noreferrer",className:"group rounded-full p-1",children:[e("span",{className:"sr-only",children:a}),e(d,{className:"size-4 text-neutral-900 transition-colors duration-75 group-hover:text-neutral-600"})]},a))})]}),t("div",{className:"mt-16 grid grid-cols-2 gap-4 xl:col-span-2 xl:mt-0",children:[t("div",{className:"md:grid md:grid-cols-2",children:[t("div",{children:[e("h3",{className:l,children:"Product"}),e("ul",{role:"list",className:c,children:i.features.map(a=>e("li",{children:e(n,{href:m(a.href,s,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:s,utm_content:a.name}),className:u,children:a.name})},a.name))})]}),t("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:l,children:"Resources"}),e("ul",{role:"list",className:c,children:i.product.map(a=>e("li",{children:e(n,{href:m(a.href,s,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:s,utm_content:a.name}),className:u,children:a.name})},a.name))})]})]}),t("div",{className:"md:grid md:grid-cols-2",children:[t("div",{className:"flex flex-col space-y-8",children:[t("div",{children:[e("h3",{className:l,children:"Compare"}),e("ul",{role:"list",className:c,children:i.compare.map(a=>e("li",{children:e(n,{href:m(a.href,s,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:s,utm_content:a.name}),className:u,children:a.name})},a.name))})]}),t("div",{children:[e("h3",{className:l,children:"Legal"}),e("ul",{role:"list",className:c,children:i.legal.map(a=>e("li",{children:e(n,{href:m(a.href,s,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:s,utm_content:a.name}),className:u,children:a.name})},a.name))})]})]}),t("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:l,children:"Tools"}),e("ul",{role:"list",className:c,children:i.tools.map(a=>e("li",{children:e(n,{href:m(a.href,s,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:s,utm_content:a.name}),className:u,children:a.name})},a.name))})]})]})]})]}),t("div",{className:"mt-12 grid grid-cols-1 items-center gap-8 sm:grid-cols-3",children:[e(z,{}),e(n,{href:m("/blog/soc2",s,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:s,utm_content:"SOC2"}),className:"flex sm:justify-center",children:e(D,{src:"https://assets.dub.co/misc/soc2.svg",alt:"AICPA SOC 2 Type II Certified",width:63,height:32,className:"h-8 transition-[filter] duration-75 hover:brightness-90"})}),t("p",{className:"text-xs text-neutral-500 sm:text-right",children:["\xA9 ",new Date().getFullYear()," Dub Technologies, Inc."]})]})]})})}function z(){let{data:o}=I("https://status.dub.co/api/v1/summary",f),[r,s]=y("bg-neutral-200"),[a,d]=y("Loading status...");return F(()=>{if(!o)return;let{ongoing_incidents:p}=o;if(p.length>0){let{current_worst_impact:A,name:S}=p[0],T=A==="degraded_performance"?"bg-yellow-500":"bg-red-500";d(S),s(T)}else d("All systems operational"),s("bg-green-500")},[o]),t(n,{href:"https://status.dub.co",target:"_blank",className:"group flex max-w-fit items-center gap-2 rounded-lg border border-neutral-200 bg-white py-2 pl-2 pr-2.5 transition-colors hover:bg-neutral-50 active:bg-neutral-100",children:[t("div",{className:"relative size-2",children:[e("div",{className:g("absolute inset-0 m-auto size-2 animate-ping items-center justify-center rounded-full group-hover:animate-none",r,a==="Loading status..."&&"animate-none")}),e("div",{className:g("absolute inset-0 z-10 m-auto size-2 rounded-full",r)})]}),e("p",{className:"text-xs font-medium leading-none text-neutral-600",children:a})]})}export{j as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as D}from"./chunk-2AVTXLJA.mjs";import{a as x}from"./chunk-NAHB2RQQ.mjs";import{a as N,m as t}from"./chunk-HVAJT6I7.mjs";import{cva as H}from"class-variance-authority";import{useState as P}from"react";import{toast as U}from"sonner";import{Fragment as O,jsx as r,jsxs as y}from"react/jsx-runtime";var m={any:{types:[]},images:{types:["image/png","image/jpeg"],errorMessage:"File type not supported (.png or .jpg only)"},csv:{types:["text/csv"],errorMessage:"File type not supported (.csv only)"}},I=H("group relative isolate flex aspect-[1200/630] w-full flex-col items-center justify-center overflow-hidden bg-white transition-all hover:bg-gray-50",{variants:{variant:{default:"rounded-md border border-gray-300 shadow-sm",plain:""}},defaultVariants:{variant:"default"}});function Q({readFile:z,onChange:o,variant:R,className:j,iconClassName:A,previewClassName:E,accept:c="any",imageSrc:d,loading:T=!1,clickToUpload:g=!0,showHoverOverlay:L=!0,content:v,maxFileSizeMB:u=0,targetResolution:b,accessibilityLabel:M="File upload",disabled:s=!1}){let[F,l]=P(!1),[V,k]=P(null),h=async e=>{let a="dataTransfer"in e?e.dataTransfer.files&&e.dataTransfer.files[0]:e.target.files&&e.target.files[0];if(!a)return;if(k(a.name),u>0&&a.size/1024/1024>u){U.error(`File size too big (max ${u} MB)`);return}let w=m[c].types;if(w.length&&!w.includes(a.type)){U.error(m[c].errorMessage??"File type not supported");return}let n=a;if(b&&a.type.startsWith("image/"))try{let i=await N(a,b),f=await fetch(i).then(p=>p.blob());n=new File([f],a.name,{type:a.type})}catch(i){console.error("Error resizing image:",i)}if(z){let i=new FileReader;i.onload=f=>{var p;return o==null?void 0:o({src:(p=f.target)==null?void 0:p.result,file:n})},i.readAsDataURL(n);return}o==null||o({file:n})};return y("label",{className:t(I({variant:R}),s?"cursor-not-allowed":t(g&&"cursor-pointer"),j),children:[T&&r("div",{className:"absolute inset-0 z-[5] flex items-center justify-center rounded-[inherit] bg-white",children:r(x,{})}),r("div",{className:"absolute inset-0 z-[5]",onDragOver:e=>{e.preventDefault(),e.stopPropagation(),l(!0)},onDragEnter:e=>{e.preventDefault(),e.stopPropagation(),l(!0)},onDragLeave:e=>{e.preventDefault(),e.stopPropagation(),l(!1)},onDrop:async e=>{e.preventDefault(),e.stopPropagation(),h(e),l(!1)}}),y("div",{className:t("absolute inset-0 z-[3] flex flex-col items-center justify-center rounded-[inherit] bg-white transition-all",s&&"bg-gray-50",F&&!s&&"cursor-copy border-2 border-black bg-gray-50 opacity-100",d?t("opacity-0",L&&!s&&"group-hover:opacity-100"):t(!s&&"group-hover:bg-gray-50")),children:[r(D,{className:t("size-7 transition-all duration-75",s?"text-gray-400":t("text-gray-500 group-hover:scale-110 group-active:scale-95",F?"scale-110":"scale-100"),A)}),v!==null&&r("div",{className:t("mt-2 text-center text-sm text-gray-500",s&&"text-gray-400"),children:v??r(O,{children:y("p",{children:["Drag and drop ",g&&"or click"," to upload."]})})}),r("span",{className:"sr-only",children:M})]}),d&&r("img",{src:d,alt:"Preview",className:t("h-full w-full rounded-[inherit] object-cover",E)}),g&&r("div",{className:"sr-only mt-1 flex shadow-sm",children:r("input",{type:"file",accept:m[c].types.join(","),onChange:h,disabled:s},V)})]})}export{Q as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{m as n}from"./chunk-HVAJT6I7.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{m as C}from"./chunk-ORQ643AR.mjs";import{jsx as e}from"react/jsx-runtime";function o({className:t}){return e("svg",{width:"46",height:"24",viewBox:"0 0 46 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:C("h-6 w-auto text-black dark:text-white",t),children:e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 2H14V13.9332L14.0003 13.9731L14.0003 14C14.0003 14.0223 14.0002 14.0445 14 14.0668V21H11V19.7455C9.86619 20.5362 8.48733 21 7.00016 21C3.13408 21 0 17.866 0 14C0 10.134 3.13408 7 7.00016 7C8.48733 7 9.86619 7.46375 11 8.25452V2ZM7 17.9998C9.20914 17.9998 11 16.209 11 13.9999C11 11.7908 9.20914 10 7 10C4.79086 10 3 11.7908 3 13.9999C3 16.209 4.79086 17.9998 7 17.9998ZM32 2H35V8.25474C36.1339 7.46383 37.5128 7 39.0002 7C42.8662 7 46.0003 10.134 46.0003 14C46.0003 17.866 42.8662 21 39.0002 21C35.1341 21 32 17.866 32 14V2ZM39 17.9998C41.2091 17.9998 43 16.209 43 13.9999C43 11.7908 41.2091 10 39 10C36.7909 10 35 11.7908 35 13.9999C35 16.209 36.7909 17.9998 39 17.9998ZM19 7H16V14C16 14.9192 16.1811 15.8295 16.5329 16.6788C16.8846 17.5281 17.4003 18.2997 18.0503 18.9497C18.7003 19.5997 19.472 20.1154 20.3213 20.4671C21.1706 20.8189 22.0809 21 23.0002 21C23.9194 21 24.8297 20.8189 25.679 20.4671C26.5283 20.1154 27.3 19.5997 27.95 18.9497C28.6 18.2997 29.1157 17.5281 29.4675 16.6788C29.8192 15.8295 30.0003 14.9192 30.0003 14H30V7H27V14C27 15.0608 26.5785 16.0782 25.8284 16.8283C25.0783 17.5784 24.0609 17.9998 23 17.9998C21.9391 17.9998 20.9217 17.5784 20.1716 16.8283C19.4215 16.0782 19 15.0608 19 14V7Z",fill:"currentColor"})})}export{o as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{d as l,e as p}from"./chunk-3D4TSYY5.mjs";import{a as s,c as n}from"./chunk-DMPLU2GO.mjs";import{i,m as e}from"./chunk-7LNA6Q2P.mjs";import{jsx as r,jsxs as c}from"react/jsx-runtime";function N({domain:a}){return c("div",{className:"grid w-[28rem] grid-cols-2",children:[c("div",{className:"border-l border-gray-200 p-5 dark:border-white/20",children:[r("p",{className:e(s,"mb-2"),children:"SDKs"}),r("div",{className:"-mx-2 flex flex-col gap-0.5",children:l.map(({icon:m,iconClassName:t,title:o,href:d})=>r(n,{href:i(d,a,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:a,utm_content:o}),icon:r(m,{className:e("h-5 w-5 shrink-0 text-gray-600 transition-colors dark:text-white/60",t)}),title:o,showArrow:!0},d))})]}),c("div",{className:"border-l border-gray-200 p-5 dark:border-white/20",children:[r("p",{className:e(s,"mb-2"),children:"Content"}),r("div",{className:"-mx-2 flex flex-col gap-0.5",children:p.map(({icon:m,title:t,href:o})=>r(n,{href:i(o,a,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:a,utm_content:t}),icon:r(m,{className:e("h-5 w-5 shrink-0 text-gray-600 dark:text-white/60")}),title:t,showArrow:!0}))})]})]})}export{N as a};