@dub/ui 0.1.68 → 0.2.0

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 (429) 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-4DQHSL42.mjs +2 -0
  46. package/dist/chunk-4ENPOOKY.mjs +2 -0
  47. package/dist/chunk-4UNIVZWK.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-5GRDU2JJ.mjs +2 -0
  52. package/dist/chunk-5H47SBK4.mjs +2 -0
  53. package/dist/chunk-5H5TZWRF.mjs +2 -0
  54. package/dist/chunk-5HJID3RL.mjs +2 -0
  55. package/dist/chunk-5K3VGRD2.mjs +2 -0
  56. package/dist/chunk-5UDLEOOZ.mjs +2 -0
  57. package/dist/chunk-5XVEBJXY.mjs +2 -0
  58. package/dist/chunk-66EFS2V6.mjs +2 -0
  59. package/dist/chunk-6DTNJ4P7.mjs +2 -0
  60. package/dist/chunk-6F2KGXS4.mjs +2 -0
  61. package/dist/chunk-6GOS2GMN.mjs +2 -0
  62. package/dist/chunk-6H7XIYUR.mjs +2 -0
  63. package/dist/chunk-6HYZCQKA.mjs +2 -0
  64. package/dist/chunk-6ILNPUPR.mjs +2 -0
  65. package/dist/chunk-6MLN43XM.mjs +2 -0
  66. package/dist/chunk-6RXBLLFM.mjs +2 -0
  67. package/dist/chunk-6TTX2ZDS.mjs +2 -0
  68. package/dist/chunk-6YPFXVI6.mjs +2 -0
  69. package/dist/chunk-6ZSJOGGO.mjs +2 -0
  70. package/dist/chunk-7CMQJHR4.mjs +2 -0
  71. package/dist/chunk-7GZ4MGXX.mjs +2 -0
  72. package/dist/chunk-7IBOHXWV.mjs +42 -0
  73. package/dist/chunk-7JS5EYPU.mjs +2 -0
  74. package/dist/chunk-7QQGHSGL.mjs +2 -0
  75. package/dist/chunk-7RKJYNTJ.mjs +2 -0
  76. package/dist/chunk-7TRQ6CWN.mjs +2 -0
  77. package/dist/chunk-7URJVZM7.mjs +2 -0
  78. package/dist/chunk-7Z2U6NBE.mjs +2 -0
  79. package/dist/chunk-7Z5HPOEV.mjs +2 -0
  80. package/dist/chunk-A55JQOUX.mjs +2 -0
  81. package/dist/chunk-ABBVN54D.mjs +2 -0
  82. package/dist/chunk-ABDYDCRS.mjs +2 -0
  83. package/dist/chunk-ACBXE77J.mjs +2 -0
  84. package/dist/chunk-AIVHYQG5.mjs +2 -0
  85. package/dist/chunk-AJROEBR6.mjs +2 -0
  86. package/dist/chunk-AMI5N7ZX.mjs +2 -0
  87. package/dist/chunk-ANKG3D2X.mjs +2 -0
  88. package/dist/chunk-ANS77IOP.mjs +2 -0
  89. package/dist/chunk-ASTQ56VM.mjs +2 -0
  90. package/dist/chunk-AU7VG236.mjs +2 -0
  91. package/dist/chunk-AWR6CXLX.mjs +2 -0
  92. package/dist/chunk-AXGKFR2L.mjs +2 -0
  93. package/dist/chunk-AXYDLQKU.mjs +2 -0
  94. package/dist/chunk-B3ARVU7B.mjs +2 -0
  95. package/dist/chunk-B4EJWWOD.mjs +2 -0
  96. package/dist/chunk-B7DL2KYU.mjs +2 -0
  97. package/dist/chunk-BDL6SWJ2.mjs +2 -0
  98. package/dist/chunk-BF66E7XG.mjs +2 -0
  99. package/dist/chunk-BFS2SK2V.mjs +2 -0
  100. package/dist/chunk-BL4SKYKG.mjs +2 -0
  101. package/dist/chunk-BLUVVIM3.mjs +2 -0
  102. package/dist/chunk-BQQLF4DK.mjs +2 -0
  103. package/dist/chunk-BR2VFDDF.mjs +2 -0
  104. package/dist/chunk-BSMFRXXM.mjs +2 -0
  105. package/dist/chunk-BTOOVMV4.mjs +2 -0
  106. package/dist/chunk-BVE5B54J.mjs +2 -0
  107. package/dist/chunk-BWXNVFPD.mjs +2 -0
  108. package/dist/chunk-BYDF2AZH.mjs +2 -0
  109. package/dist/chunk-BZYQQGJJ.mjs +2 -0
  110. package/dist/chunk-C6EKAGGI.mjs +2 -0
  111. package/dist/chunk-C75SOTIQ.mjs +2 -0
  112. package/dist/chunk-C7GS67U3.mjs +2 -0
  113. package/dist/chunk-CFOQTU4A.mjs +2 -0
  114. package/dist/chunk-CGLET7BA.mjs +2 -0
  115. package/dist/chunk-COHO5QST.mjs +2 -0
  116. package/dist/chunk-COI4KIWF.mjs +2 -0
  117. package/dist/chunk-CSS6W3MQ.mjs +2 -0
  118. package/dist/chunk-CSWCRIGC.mjs +2 -0
  119. package/dist/chunk-CV2TH3IF.mjs +2 -0
  120. package/dist/chunk-CXZ46GWC.mjs +2 -0
  121. package/dist/chunk-D3ADWNNC.mjs +2 -0
  122. package/dist/chunk-D477HPBE.mjs +2 -0
  123. package/dist/chunk-D5VPAWUW.mjs +2 -0
  124. package/dist/chunk-D6U2BOCJ.mjs +2 -0
  125. package/dist/chunk-D7JIIDIV.mjs +2 -0
  126. package/dist/chunk-DAL74OZ3.mjs +2 -0
  127. package/dist/chunk-DGX3SJB2.mjs +2 -0
  128. package/dist/chunk-DHBFUPCL.mjs +2 -0
  129. package/dist/chunk-DKE6ATB4.mjs +2 -0
  130. package/dist/chunk-DOWS7PF4.mjs +2 -0
  131. package/dist/chunk-DPFJSPCA.mjs +6 -0
  132. package/dist/chunk-E7P4GG42.mjs +2 -0
  133. package/dist/chunk-EAWPQZL4.mjs +2 -0
  134. package/dist/chunk-EB3SQPJW.mjs +6 -0
  135. package/dist/chunk-EH4PJPIC.mjs +2 -0
  136. package/dist/chunk-EOTJIERM.mjs +2 -0
  137. package/dist/chunk-ER4DXXJA.mjs +2 -0
  138. package/dist/chunk-ESKI43TL.mjs +2 -0
  139. package/dist/chunk-ETEFCQFF.mjs +2 -0
  140. package/dist/chunk-EVF7DE3F.mjs +2 -0
  141. package/dist/chunk-EYOEMHC3.mjs +2 -0
  142. package/dist/chunk-F6B3RUYR.mjs +2 -0
  143. package/dist/chunk-FEQK6SUB.mjs +2 -0
  144. package/dist/chunk-FK5QGBOB.mjs +2 -0
  145. package/dist/chunk-FKLCTJZ4.mjs +2 -0
  146. package/dist/chunk-FNUSVYOB.mjs +2 -0
  147. package/dist/chunk-FUIMLA7W.mjs +2 -0
  148. package/dist/chunk-G3DLVKQH.mjs +2 -0
  149. package/dist/chunk-G4AKE33L.mjs +2 -0
  150. package/dist/chunk-GDLAA4G2.mjs +2 -0
  151. package/dist/chunk-GHSFG3C4.mjs +2 -0
  152. package/dist/chunk-GLJUY3FU.mjs +6 -0
  153. package/dist/chunk-GLUYP2AE.mjs +2 -0
  154. package/dist/chunk-GOU3HDJT.mjs +2 -0
  155. package/dist/chunk-GT5ULDAB.mjs +2 -0
  156. package/dist/chunk-GXFVBU63.mjs +2 -0
  157. package/dist/chunk-GYZTEU67.mjs +2 -0
  158. package/dist/chunk-H5MWSYQZ.mjs +2 -0
  159. package/dist/chunk-H5UGJCG2.mjs +2 -0
  160. package/dist/chunk-H6X2YC5N.mjs +2 -0
  161. package/dist/chunk-HAPWHHBN.mjs +2 -0
  162. package/dist/chunk-HG2Y6D3G.mjs +42 -0
  163. package/dist/chunk-HHD5AOBD.mjs +2 -0
  164. package/dist/chunk-HHWZFF3H.mjs +2 -0
  165. package/dist/chunk-HLKXQ2IE.mjs +2 -0
  166. package/dist/chunk-HNNIZ4M2.mjs +2 -0
  167. package/dist/chunk-HQ7AVOGG.mjs +2 -0
  168. package/dist/chunk-HVAJT6I7.mjs +2 -0
  169. package/dist/chunk-I24GO4HL.mjs +2 -0
  170. package/dist/chunk-I2RSWUBW.mjs +2 -0
  171. package/dist/chunk-I57AERIJ.mjs +2 -0
  172. package/dist/chunk-I5AC2P3R.mjs +2 -0
  173. package/dist/chunk-I64FUP6F.mjs +2 -0
  174. package/dist/chunk-I6SSHGQ2.mjs +2 -0
  175. package/dist/chunk-IGFDGLNE.mjs +2 -0
  176. package/dist/chunk-IGYUB2JT.mjs +2 -0
  177. package/dist/chunk-IJE4HJ5C.mjs +2 -0
  178. package/dist/chunk-IJOFTRL3.mjs +2 -0
  179. package/dist/chunk-IJUAB6RK.mjs +2 -0
  180. package/dist/chunk-IL7K3KII.mjs +2 -0
  181. package/dist/chunk-INH7BHQY.mjs +2 -0
  182. package/dist/chunk-IR66KFXV.mjs +2 -0
  183. package/dist/chunk-IS5VZ4AK.mjs +2 -0
  184. package/dist/chunk-IUGOT2K4.mjs +2 -0
  185. package/dist/chunk-IYVNIXK5.mjs +2 -0
  186. package/dist/chunk-JD2LNIWD.mjs +2 -0
  187. package/dist/chunk-JDSUPUDK.mjs +2 -0
  188. package/dist/chunk-JETV5ZZZ.mjs +2 -0
  189. package/dist/chunk-JIQRFFD5.mjs +2 -0
  190. package/dist/chunk-JJX7GOEO.mjs +2 -0
  191. package/dist/chunk-JMKNLHUV.mjs +2 -0
  192. package/dist/chunk-JZGAA6NI.mjs +2 -0
  193. package/dist/chunk-K3VDAU4N.mjs +2 -0
  194. package/dist/chunk-KC23PSHC.mjs +2 -0
  195. package/dist/chunk-KDEUVPDD.mjs +2 -0
  196. package/dist/chunk-KHMF6NJG.mjs +2 -0
  197. package/dist/chunk-KM2XI5CH.mjs +2 -0
  198. package/dist/chunk-KORZXM6V.mjs +2 -0
  199. package/dist/chunk-KQERPFET.mjs +2 -0
  200. package/dist/chunk-KTN4WKB3.mjs +2 -0
  201. package/dist/chunk-KUA2CWBM.mjs +6 -0
  202. package/dist/chunk-KVNWMC4X.mjs +2 -0
  203. package/dist/chunk-KWTZUPQN.mjs +2 -0
  204. package/dist/chunk-KYXSUHQT.mjs +2 -0
  205. package/dist/chunk-KZ2IJWDL.mjs +2 -0
  206. package/dist/chunk-L4FA5VZW.mjs +2 -0
  207. package/dist/chunk-L4XZTEBS.mjs +2 -0
  208. package/dist/chunk-LCN5EPCR.mjs +2 -0
  209. package/dist/chunk-LDA2I5SK.mjs +2 -0
  210. package/dist/chunk-LHFNJJUQ.mjs +2 -0
  211. package/dist/chunk-LHFT5GDI.mjs +2 -0
  212. package/dist/chunk-LHRSOLFV.mjs +2 -0
  213. package/dist/chunk-LM3VD6TZ.mjs +2 -0
  214. package/dist/chunk-LSE5IPYR.mjs +2 -0
  215. package/dist/chunk-LUDMJ77J.mjs +2 -0
  216. package/dist/chunk-LWVRUH3D.mjs +2 -0
  217. package/dist/chunk-LXYTR7M6.mjs +2 -0
  218. package/dist/chunk-M2X3Q5KH.mjs +6 -0
  219. package/dist/chunk-MDWWZ2OB.mjs +2 -0
  220. package/dist/chunk-MDXINC42.mjs +2 -0
  221. package/dist/chunk-MENB5YDU.mjs +2 -0
  222. package/dist/chunk-MEQM22XP.mjs +2 -0
  223. package/dist/chunk-MG3JVVDV.mjs +2 -0
  224. package/dist/chunk-N4D5CP3Q.mjs +2 -0
  225. package/dist/chunk-N4JGERLH.mjs +2 -0
  226. package/dist/chunk-N6LUEISO.mjs +2 -0
  227. package/dist/chunk-N7RG36QD.mjs +2 -0
  228. package/dist/chunk-NAHB2RQQ.mjs +2 -0
  229. package/dist/chunk-NDIVMNAM.mjs +6 -0
  230. package/dist/chunk-NEBSVHNZ.mjs +2 -0
  231. package/dist/chunk-NFY7QCOD.mjs +2 -0
  232. package/dist/chunk-NJFZ26CN.mjs +2 -0
  233. package/dist/chunk-NKWU5PQQ.mjs +2 -0
  234. package/dist/chunk-NNGHO3FU.mjs +2 -0
  235. package/dist/chunk-NPBZYAER.mjs +2 -0
  236. package/dist/chunk-NSXDIO4Y.mjs +2 -0
  237. package/dist/chunk-NUDBOJPF.mjs +2 -0
  238. package/dist/chunk-NZRIEMXB.mjs +2 -0
  239. package/dist/chunk-O54LVCRS.mjs +2 -0
  240. package/dist/chunk-O6OI73M7.mjs +2 -0
  241. package/dist/chunk-OAEGUEPF.mjs +2 -0
  242. package/dist/chunk-OILS7HRW.mjs +6 -0
  243. package/dist/chunk-OQ6UDSPV.mjs +2 -0
  244. package/dist/chunk-OQT6PNQ7.mjs +2 -0
  245. package/dist/chunk-ORQ643AR.mjs +2 -0
  246. package/dist/chunk-OXCNIU6K.mjs +2 -0
  247. package/dist/chunk-P3N75JRI.mjs +2 -0
  248. package/dist/chunk-P4SDMVQP.mjs +2 -0
  249. package/dist/chunk-P7QQVOC5.mjs +2 -0
  250. package/dist/chunk-PIHBKBMX.mjs +2 -0
  251. package/dist/chunk-PQRNEMB2.mjs +2 -0
  252. package/dist/chunk-PU6FLF3H.mjs +2 -0
  253. package/dist/chunk-PVGXQRQY.mjs +2 -0
  254. package/dist/chunk-PXIZND6U.mjs +2 -0
  255. package/dist/chunk-PZQ2WJI6.mjs +6 -0
  256. package/dist/chunk-Q4AVTOAT.mjs +2 -0
  257. package/dist/chunk-QBG6YA5L.mjs +2 -0
  258. package/dist/chunk-QJNYTOLD.mjs +2 -0
  259. package/dist/chunk-QKXCLBPL.mjs +6 -0
  260. package/dist/chunk-QQ7XG7OJ.mjs +2 -0
  261. package/dist/chunk-QXSAM6DM.mjs +2 -0
  262. package/dist/chunk-QYOSTW3V.mjs +2 -0
  263. package/dist/chunk-QZFIXSZQ.mjs +2 -0
  264. package/dist/chunk-R37FIISH.mjs +2 -0
  265. package/dist/chunk-R3XSB75Y.mjs +2 -0
  266. package/dist/chunk-RD5ZCE2K.mjs +2 -0
  267. package/dist/chunk-RECBVBIQ.mjs +2 -0
  268. package/dist/chunk-RRG6OJ67.mjs +2 -0
  269. package/dist/chunk-RSJ6GSD7.mjs +2 -0
  270. package/dist/chunk-RTTMG5OL.mjs +2 -0
  271. package/dist/chunk-RZ4SFDHX.mjs +2 -0
  272. package/dist/chunk-RZTH773L.mjs +2 -0
  273. package/dist/chunk-SEAMJLIO.mjs +2 -0
  274. package/dist/chunk-SJYWPWXF.mjs +2 -0
  275. package/dist/chunk-SLLBC6SC.mjs +2 -0
  276. package/dist/chunk-SYVECOCA.mjs +2 -0
  277. package/dist/chunk-SZEN57X5.mjs +2 -0
  278. package/dist/chunk-SZRHA2GT.mjs +2 -0
  279. package/dist/chunk-T2HK3T52.mjs +2 -0
  280. package/dist/chunk-T32IVLSS.mjs +2 -0
  281. package/dist/chunk-T74GLTSL.mjs +2 -0
  282. package/dist/chunk-TA5HYQRQ.mjs +2 -0
  283. package/dist/chunk-TCVVRSYX.mjs +2 -0
  284. package/dist/chunk-TEY5O3RA.mjs +2 -0
  285. package/dist/chunk-TIC2LGTP.mjs +2 -0
  286. package/dist/chunk-TXSZQH5G.mjs +2 -0
  287. package/dist/chunk-TXXKECQO.mjs +6 -0
  288. package/dist/chunk-U6AD4ALY.mjs +2 -0
  289. package/dist/chunk-U7KEKQYA.mjs +2 -0
  290. package/dist/chunk-UAQZTW4U.mjs +2 -0
  291. package/dist/chunk-UCXYHRDP.mjs +2 -0
  292. package/dist/chunk-UD2UJUXG.mjs +2 -0
  293. package/dist/chunk-UD4VN3DH.mjs +2 -0
  294. package/dist/chunk-ULWDKSZK.mjs +2 -0
  295. package/dist/chunk-UQS2ZGYW.mjs +2 -0
  296. package/dist/chunk-UVFRTTO6.mjs +2 -0
  297. package/dist/chunk-UYBFZJ5C.mjs +2 -0
  298. package/dist/chunk-UZ4JJ42T.mjs +2 -0
  299. package/dist/chunk-UZO4XKDU.mjs +2 -0
  300. package/dist/chunk-VBWZTCSD.mjs +2 -0
  301. package/dist/chunk-VCSDWQP3.mjs +2 -0
  302. package/dist/chunk-VENNPUNH.mjs +2 -0
  303. package/dist/chunk-VLMHALMP.mjs +2 -0
  304. package/dist/chunk-VR4HARM3.mjs +2 -0
  305. package/dist/chunk-VRVMOTQV.mjs +2 -0
  306. package/dist/chunk-VSCITBCY.mjs +2 -0
  307. package/dist/chunk-W2ZJQOHS.mjs +2 -0
  308. package/dist/chunk-W3QIOL4G.mjs +2 -0
  309. package/dist/chunk-W5TBLBM6.mjs +2 -0
  310. package/dist/chunk-W7M34XRR.mjs +2 -0
  311. package/dist/chunk-WBF5HZQ6.mjs +2 -0
  312. package/dist/chunk-WC2KKGTK.mjs +2 -0
  313. package/dist/chunk-WCLNMUC2.mjs +2 -0
  314. package/dist/chunk-WFYWMZDG.mjs +6 -0
  315. package/dist/chunk-WHNZZMK2.mjs +2 -0
  316. package/dist/chunk-WI42IPI7.mjs +2 -0
  317. package/dist/chunk-WJZIVMXO.mjs +2 -0
  318. package/dist/chunk-WSBIRQ6W.mjs +2 -0
  319. package/dist/chunk-WVMZSRDG.mjs +2 -0
  320. package/dist/chunk-X437KEIG.mjs +2 -0
  321. package/dist/chunk-X6EPDS57.mjs +2 -0
  322. package/dist/chunk-X6LWSYKB.mjs +2 -0
  323. package/dist/chunk-XALOGNV6.mjs +2 -0
  324. package/dist/chunk-XBMLYZPP.mjs +2 -0
  325. package/dist/chunk-XBTTJSVQ.mjs +2 -0
  326. package/dist/chunk-XFLUK427.mjs +2 -0
  327. package/dist/chunk-XIKQPBME.mjs +2 -0
  328. package/dist/chunk-XIZW7FK4.mjs +2 -0
  329. package/dist/chunk-XOGTH3EB.mjs +6 -0
  330. package/dist/chunk-XRIZIRH2.mjs +2 -0
  331. package/dist/chunk-XTK2BTRW.mjs +2 -0
  332. package/dist/chunk-XTNQEIPG.mjs +6 -0
  333. package/dist/chunk-XU2GKM2O.mjs +6 -0
  334. package/dist/chunk-XXLUS5XT.mjs +2 -0
  335. package/dist/chunk-Y3QQVIXW.mjs +2 -0
  336. package/dist/chunk-Y6GXAJYP.mjs +2 -0
  337. package/dist/chunk-Y7VESY2F.mjs +6 -0
  338. package/dist/chunk-YHC4THUP.mjs +2 -0
  339. package/dist/chunk-YHPHBFF4.mjs +2 -0
  340. package/dist/chunk-YIXJW3OQ.mjs +2 -0
  341. package/dist/chunk-YJQJKJRB.mjs +2 -0
  342. package/dist/chunk-YKNEZ7JD.mjs +2 -0
  343. package/dist/chunk-YOK6UIBC.mjs +2 -0
  344. package/dist/chunk-YPYCGDOO.mjs +2 -0
  345. package/dist/chunk-YQFFD4BR.mjs +2 -0
  346. package/dist/chunk-YRILC5NG.mjs +2 -0
  347. package/dist/chunk-YSBJGFD5.mjs +42 -0
  348. package/dist/chunk-YSZCWUZW.mjs +2 -0
  349. package/dist/chunk-YVZXVQMV.mjs +2 -0
  350. package/dist/chunk-YY2VAS2K.mjs +2 -0
  351. package/dist/chunk-Z3N2QQM5.mjs +2 -0
  352. package/dist/chunk-Z45ZXUKJ.mjs +6 -0
  353. package/dist/chunk-ZICA3VYR.mjs +2 -0
  354. package/dist/chunk-ZIJSUOTQ.mjs +2 -0
  355. package/dist/chunk-ZKNTMKRU.mjs +6 -0
  356. package/dist/chunk-ZN3PNOIE.mjs +2 -0
  357. package/dist/chunk-ZOKWUTJH.mjs +2 -0
  358. package/dist/chunk-ZRLYC43B.mjs +2 -0
  359. package/dist/chunk-ZT7NQ7HE.mjs +2 -0
  360. package/dist/chunk-ZWCN2SRH.mjs +2 -0
  361. package/dist/chunk-ZXP6AIIM.mjs +2 -0
  362. package/dist/combobox/index.d.ts +1 -0
  363. package/dist/combobox/index.mjs +1 -1
  364. package/dist/composite-logo.mjs +1 -1
  365. package/dist/copy-button.mjs +1 -1
  366. package/dist/copy-text.mjs +1 -1
  367. package/dist/counting-numbers.mjs +1 -1
  368. package/dist/date-picker/calendar.mjs +1 -1
  369. package/dist/date-picker/date-range-picker.mjs +1 -1
  370. package/dist/date-picker/presets.mjs +1 -1
  371. package/dist/date-picker/trigger.mjs +1 -1
  372. package/dist/file-upload.mjs +1 -1
  373. package/dist/filter/filter-list.mjs +1 -1
  374. package/dist/filter/filter-select.mjs +1 -1
  375. package/dist/footer.mjs +1 -1
  376. package/dist/form.mjs +1 -1
  377. package/dist/grid.mjs +1 -1
  378. package/dist/hooks/use-keyboard-shortcut.mjs +1 -1
  379. package/dist/icons/continents/index.mjs +1 -1
  380. package/dist/icons/default-domains/amazon.mjs +1 -1
  381. package/dist/icons/default-domains/chatgpt.mjs +1 -1
  382. package/dist/icons/default-domains/figma.mjs +1 -1
  383. package/dist/icons/default-domains/github-enhanced.mjs +1 -1
  384. package/dist/icons/default-domains/google-enhanced.mjs +1 -1
  385. package/dist/icons/default-domains/spotify.mjs +1 -1
  386. package/dist/icons/expanding-arrow.mjs +1 -1
  387. package/dist/icons/index.d.ts +1 -0
  388. package/dist/icons/index.mjs +1 -1
  389. package/dist/icons/linkedin.mjs +1 -1
  390. package/dist/icons/loading-circle.mjs +1 -1
  391. package/dist/icons/loading-spinner.mjs +1 -1
  392. package/dist/icons/payout-platforms/paypal.mjs +1 -1
  393. package/dist/icons/sort-order.mjs +1 -1
  394. package/dist/icons/twitter.mjs +1 -1
  395. package/dist/icons/youtube.mjs +1 -1
  396. package/dist/index.css +1 -1
  397. package/dist/index.d.ts +4 -1
  398. package/dist/index.mjs +1 -1
  399. package/dist/input-select.mjs +1 -1
  400. package/dist/input.mjs +1 -1
  401. package/dist/label.mjs +1 -1
  402. package/dist/link-logo.mjs +1 -1
  403. package/dist/link-preview.mjs +1 -1
  404. package/dist/logo.mjs +1 -1
  405. package/dist/max-width-wrapper.mjs +1 -1
  406. package/dist/modal.mjs +1 -1
  407. package/dist/nav/content/product-content.mjs +1 -1
  408. package/dist/nav/content/resources-content.mjs +1 -1
  409. package/dist/nav/content/shared.mjs +1 -1
  410. package/dist/nav/content/solutions-content.mjs +1 -1
  411. package/dist/nav/nav-mobile.mjs +1 -1
  412. package/dist/nav/nav.mjs +1 -1
  413. package/dist/nav-wordmark.mjs +1 -1
  414. package/dist/pagination-controls.mjs +1 -1
  415. package/dist/popover.mjs +1 -1
  416. package/dist/progress-bar.mjs +1 -1
  417. package/dist/radio-group.mjs +1 -1
  418. package/dist/sheet.mjs +1 -1
  419. package/dist/shimmer-dots.mjs +1 -1
  420. package/dist/status-badge.d.ts +1 -0
  421. package/dist/status-badge.mjs +1 -1
  422. package/dist/switch.mjs +1 -1
  423. package/dist/tab-select.mjs +1 -1
  424. package/dist/table/table.mjs +1 -1
  425. package/dist/toggle-group.mjs +1 -1
  426. package/dist/tooltip.mjs +1 -1
  427. package/dist/utm-builder.mjs +1 -1
  428. package/dist/wordmark.mjs +1 -1
  429. package/package.json +8 -2
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{m as u}from"./chunk-ORQ643AR.mjs";import{addYears as P,format as O,isSameMonth as K}from"date-fns";import{ChevronLeft as k,ChevronRight as C,ChevronsLeft as S,ChevronsRight as H}from"lucide-react";import{forwardRef as E,useRef as G}from"react";import{DayPicker as I,useDayPicker as j,useDayRender as Y,useNavigation as A}from"react-day-picker";import{Fragment as z,jsx as e,jsxs as T}from"react/jsx-runtime";var c=E(({onClick:w,icon:N,disabled:m,...y},i)=>e("button",{ref:i,type:"button",disabled:m,className:u("flex h-7 w-7 shrink-0 select-none items-center justify-center rounded border p-1 outline-none transition","border-gray-200 text-gray-600 hover:text-gray-800","hover:bg-gray-50 active:bg-gray-100","disabled:pointer-events-none disabled:text-gray-400"),onClick:w,...y,children:e(N,{className:"h-full w-full shrink-0"})}));c.displayName="NavigationButton";function X({mode:w="single",weekStartsOn:N=1,numberOfMonths:m=1,showYearNavigation:y=!1,disableNavigation:i,locale:M,className:L,classNames:D,...R}){return e(I,{mode:w,weekStartsOn:N,numberOfMonths:m,locale:M,showOutsideDays:m===1,className:L,classNames:{months:"flex space-y-0",month:"space-y-4 p-3 w-full",nav:"gap-1 flex items-center rounded-full w-full h-full justify-between p-4",table:"w-full border-separate border-spacing-y-1",head_cell:"w-9 font-medium text-xs text-center text-gray-400 pb-2",row:"w-full",cell:"relative p-0 text-center focus-within:relative text-gray-900",day:u("relative h-10 w-full sm:h-9 sm:w-9 rounded-md text-sm text-gray-900","hover:bg-gray-100 active:bg-gray-200 outline outline-offset-2 outline-0 focus-visible:outline-2 outline-blue-500"),day_today:"font-semibold",day_selected:"rounded aria-selected:bg-blue-500 aria-selected:text-white",day_disabled:"!text-gray-300 line-through disabled:hover:bg-transparent",day_outside:"text-gray-400",day_range_middle:"!rounded-none aria-selected:!bg-blue-100 aria-selected:!text-blue-900",day_range_start:"rounded-r-none !rounded-l",day_range_end:"rounded-l-none !rounded-r",day_hidden:"invisible",...D},components:{IconLeft:()=>e(k,{className:"h-4 w-4"}),IconRight:()=>e(C,{className:"h-4 w-4"}),Caption:({...p})=>{let{goToMonth:r,nextMonth:t,previousMonth:n,currentMonth:s,displayMonths:d}=A(),{numberOfMonths:g,fromDate:l,toDate:o}=j(),b=d.findIndex(a=>K(p.displayMonth,a)),f=b===0,h=b===d.length-1,v=g>1&&(f||!h),x=g>1&&(h||!f),_=()=>{let a=P(s,-1);n&&(!l||a.getTime()>=l.getTime())&&r(a)},B=()=>{let a=P(s,1);t&&(!o||a.getTime()<=o.getTime())&&r(a)};return T("div",{className:"flex items-center justify-between",children:[T("div",{className:"flex items-center gap-1",children:[y&&!x&&e(c,{disabled:i||!n||l&&P(s,-1).getTime()<l.getTime(),"aria-label":"Go to previous year",onClick:_,icon:S}),!x&&e(c,{disabled:i||!n,"aria-label":"Go to previous month",onClick:()=>n&&r(n),icon:k})]}),e("div",{role:"presentation","aria-live":"polite",className:"text-sm font-medium capitalize tabular-nums text-gray-900",children:O(p.displayMonth,"LLLL yyy",{locale:M})}),T("div",{className:"flex items-center gap-1",children:[!v&&e(c,{disabled:i||!t,"aria-label":"Go to next month",onClick:()=>t&&r(t),icon:C}),y&&!v&&e(c,{disabled:i||!t||o&&P(s,1).getTime()>o.getTime(),"aria-label":"Go to next year",onClick:B,icon:H})]})]})},Day:({date:p,displayMonth:r})=>{let t=G(null),{activeModifiers:n,buttonProps:s,divProps:d,isButton:g,isHidden:l}=Y(p,r,t),{selected:o,today:b,disabled:f,range_middle:h}=n;if(l)return e(z,{});if(!g)return e("div",{...d,className:u("flex items-center justify-center",d.className)});let{children:v,...x}=s;return T("button",{ref:t,...x,type:"button",children:[v,b&&e("span",{className:u("absolute inset-x-1/2 bottom-1.5 h-0.5 w-4 -translate-x-1/2 rounded-[2px]",{"bg-blue-500":!o,"!bg-white":o,"!bg-blue-400":o&&h,"text-gray-400":f})})]})}},...R})}export{X as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{e as w}from"./chunk-EB3SQPJW.mjs";import{a as x,f as k,g as L}from"./chunk-OUWBFTXV.mjs";import{a as C}from"./chunk-5ORITTGP.mjs";import{a as b}from"./chunk-HXFSL4GV.mjs";import{a as v}from"./chunk-3SUGMN7W.mjs";import{a as N}from"./chunk-ALEYOCBW.mjs";import{a as _}from"./chunk-FVTULQVK.mjs";import{i as m,l as f,m as g,n as h}from"./chunk-7LNA6Q2P.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{m as n}from"./chunk-ORQ643AR.mjs";import{motion as t}from"framer-motion";import{jsx as e}from"react/jsx-runtime";function s({value:i=0,max:r=100,className:o}){return e("div",{className:n("h-3 w-full overflow-hidden rounded-full bg-gray-200",o),children:e(t.div,{initial:{width:0},animate:{width:i&&r?i/r*100+"%":"0%"},transition:{duration:.5,type:"spring",delay:.2},className:`${i&&r&&i>r?"bg-red-500":"bg-blue-500"} h-full`})})}export{s as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as Z}from"./chunk-O54LVCRS.mjs";import{a as K}from"./chunk-GVBIGY6N.mjs";import{a as V}from"./chunk-NWME2ANF.mjs";import{a as Q}from"./chunk-XTK2BTRW.mjs";import{k as U}from"./chunk-ER4DXXJA.mjs";import{a as $}from"./chunk-WMTXO7RT.mjs";import{a as j}from"./chunk-JW75YDRU.mjs";import{a as B}from"./chunk-JOLDVN3E.mjs";import{a as F}from"./chunk-IHTRL6TU.mjs";import{a as P}from"./chunk-AIVHYQG5.mjs";import{m as i}from"./chunk-HVAJT6I7.mjs";import{Command as h,CommandInput as ie,CommandItem as ce,useCommandState as me}from"cmdk";import{ChevronDown as de}from"lucide-react";import{forwardRef as pe,isValidElement as ue,useCallback as fe,useEffect as b,useRef as xe,useState as f}from"react";import{Fragment as I,jsx as e,jsxs as c}from"react/jsx-runtime";function ge(s,o){return s===!0}function De({multiple:s,selected:o,setSelected:l,options:a,icon:d,placeholder:y="Select...",searchPlaceholder:G="Search...",emptyState:x,createLabel:N,onCreate:g,buttonProps:m,shortcutHint:z,caret:J,side:X,open:Y,onOpenChange:_,onSearchChange:C,shouldFilter:R=!0,inputClassName:ee,optionRight:w,optionClassName:E,matchTriggerWidth:L,children:te}){let D=ge(s,l),n=Array.isArray(o)?o:o?[o]:[],{isMobile:se}=V(),[oe,ae]=f(!1),O=Y??oe,v=_??ae,[r,k]=f(""),[W,M]=f(!1),[S,ne]=f(void 0),[re,A]=f(!1),le=t=>{var p;if(D){let T=n.some(({value:u})=>u===t.value);l(T?n.filter(({value:u})=>u!==t.value):[...n,t])}else l(n.length&&((p=n[0])==null?void 0:p.value)===t.value?null:t),v(!1)},H=fe((t,p)=>p===""?[...n,...t.filter(T=>n.findIndex(u=>u.value===T.value)===-1)]:t,[n]);return b(()=>{W&&(ne(a&&H(a,r)),M(!1))},[W,a,H,r]),b(()=>{M(!0)},[a]),b(()=>{O||(k(""),M(!0))},[O]),b(()=>C==null?void 0:C(r),[r]),e(Z,{openPopover:O,setOpenPopover:v,align:"start",side:X,onWheel:t=>{t.stopPropagation()},popoverContentClassName:i(L&&"sm:w-[var(--radix-popover-trigger-width)]"),content:e(Q,{width:!se&&!L,height:!0,style:{transform:"translateZ(0)"},transition:{ease:"easeInOut",duration:.1},className:"pointer-events-auto",children:c(h,{loop:!0,shouldFilter:R,children:[c("div",{className:"flex items-center overflow-hidden rounded-t-lg border-b border-gray-200",children:[e(ie,{placeholder:G,value:r,onValueChange:k,className:i("grow border-0 py-3 pl-4 pr-2 outline-none placeholder:text-gray-400 focus:ring-0 sm:text-sm",ee),onKeyDown:t=>{(t.key==="Escape"||t.key==="Backspace"&&!r)&&(t.preventDefault(),t.stopPropagation(),v(!1))}}),z&&e("kbd",{className:"mr-2 hidden shrink-0 rounded border border-gray-200 bg-gray-100 px-2 py-0.5 text-xs font-light text-gray-500 md:block",children:z})]}),e(ve,{children:e(h.List,{className:i("flex w-full min-w-[100px] flex-col gap-1 p-1"),children:S!==void 0?c(I,{children:[S.map(t=>e(be,{option:t,multiple:D,selected:n.some(({value:p})=>p===t.value),onSelect:()=>le(t),right:w==null?void 0:w(t),className:E},`${t.label}, ${t.value}`)),r.length>0&&g&&c(ce,{className:i("flex cursor-pointer items-center gap-3 whitespace-nowrap rounded-md px-3 py-2 text-left text-sm text-gray-700","data-[selected=true]:bg-gray-100",E),onSelect:async()=>{A(!0),await(g==null?void 0:g(r))&&(k(""),v(!1)),A(!1)},children:[re?e(P,{className:"size-4 shrink-0"}):e($,{className:"size-4 shrink-0"}),e("div",{className:"grow truncate",children:(N==null?void 0:N(r))||`Create "${r}"`})]}),R?e(he,{className:"flex min-h-12 items-center justify-center text-sm text-gray-500",children:x||"No matches"}):S.length===0?e("div",{className:"flex min-h-12 items-center justify-center text-sm text-gray-500",children:x||"No matches"}):null]}):e(h.Loading,{children:e("div",{className:"flex h-12 items-center justify-center",children:e(P,{})})})})})]})}),children:e(U,{variant:"secondary",...m,className:i(m==null?void 0:m.className,"flex gap-2"),textWrapperClassName:i(m==null?void 0:m.textWrapperClassName,"w-full flex items-center justify-start"),text:c(I,{children:[e("div",{className:"min-w-0 grow truncate text-left",children:te||n.map(t=>t.label).join(", ")||y}),J&&e(de,{className:"ml-1 size-4 shrink-0 text-gray-400 transition-transform duration-75 group-data-[state=open]:rotate-180"})]}),icon:d?q(d)?d:e(d,{className:"size-4 shrink-0"}):void 0})})}var ve=({children:s})=>{let o=xe(null),{scrollProgress:l,updateScrollProgress:a}=K(o);return c(I,{children:[e("div",{className:"scrollbar-hide max-h-[min(50vh,250px)] w-screen overflow-y-scroll sm:w-auto",ref:o,onScroll:a,children:s}),e("div",{className:"pointer-events-none absolute bottom-0 left-0 hidden h-16 w-full rounded-b-lg bg-gradient-to-t from-white sm:block",style:{opacity:1-Math.pow(l,2)}})]})};function be({option:s,onSelect:o,multiple:l,selected:a,right:d,className:y}){return c(h.Item,{className:i("flex cursor-pointer items-center gap-3 whitespace-nowrap rounded-md px-3 py-2 text-left text-sm","data-[selected=true]:bg-gray-100",y),onSelect:o,value:s.label+(s==null?void 0:s.value),children:[l&&e("div",{className:"shrink-0 text-gray-600",children:a?e(B,{className:"size-4 text-gray-600"}):e(F,{className:"size-4 text-gray-400"})}),c("div",{className:"flex min-w-0 grow items-center gap-1",children:[s.icon&&e("span",{className:"shrink-0 text-gray-600",children:q(s.icon)?s.icon:e(s.icon,{className:"h-4 w-4"})}),e("span",{className:"grow truncate",children:s.label})]}),d,!l&&a&&e(j,{className:"size-4 shrink-0 text-gray-600"})]})}var q=s=>ue(s),he=pe((s,o)=>me(a=>a.filtered.count===0)?e("div",{ref:o,"cmdk-empty":"",role:"presentation",...s}):null);export{De as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{l as t}from"./chunk-LHRSOLFV.mjs";import{jsx as C,jsxs as a}from"react/jsx-runtime";function r({className:L}){return a("svg",{className:(void 0)("h-full w-full",L),viewBox:"0 0 222 222",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[C("circle",{cx:"111",cy:"111",r:"111",fill:"black"}),C("path",{d:"M173.607 97.7454C176.886 87.8002 175.751 76.9142 170.492 67.8719C162.584 54.0098 146.691 46.8792 131.17 50.2298C122.423 40.4311 109.151 36.0738 96.3504 38.7981C83.5497 41.5224 73.1632 50.9148 69.1005 63.4398C58.9049 65.5455 50.1051 71.9745 44.9529 81.0819C36.9593 94.9215 38.7736 112.379 49.4395 124.252C46.1479 134.192 47.2727 145.08 52.5258 154.125C60.4432 167.992 76.3466 175.122 91.8764 171.767C98.784 179.601 108.708 184.058 119.11 183.999C135.02 184.014 149.114 173.67 153.974 158.414C164.168 156.304 172.967 149.876 178.122 140.771C186.019 126.956 184.197 109.593 173.607 97.7454ZM119.11 174.444C112.76 174.454 106.609 172.213 101.735 168.112L102.593 167.623L131.456 150.844C132.917 149.981 133.818 148.406 133.827 146.7V105.717L146.03 112.826C146.152 112.889 146.237 113.006 146.258 113.143V147.103C146.227 162.19 134.091 174.412 119.11 174.444ZM60.756 149.348C57.5714 143.81 56.428 137.318 57.5268 131.015L58.3841 131.533L87.2755 148.312C88.7311 149.172 90.535 149.172 91.9907 148.312L127.283 127.82V142.009C127.277 142.158 127.203 142.296 127.083 142.383L97.849 159.363C84.8581 166.9 68.2607 162.419 60.756 149.348ZM53.1545 86.032C56.3612 80.4583 61.4227 76.207 67.443 74.0308V108.567C67.4209 110.266 68.3188 111.843 69.7863 112.682L104.907 133.087L92.7051 140.196C92.5711 140.267 92.4105 140.267 92.2764 140.196L63.0993 123.244C50.134 115.676 45.6875 98.9734 53.1545 85.8881V86.032ZM153.403 109.488L118.167 88.8812L130.341 81.8013C130.475 81.7297 130.636 81.7297 130.77 81.8013L159.947 98.7815C169.053 104.074 174.307 114.185 173.432 124.737C172.557 135.289 165.712 144.383 155.86 148.082V113.546C155.809 111.851 154.875 110.309 153.403 109.488ZM165.548 91.0973L164.691 90.5792L135.856 73.6566C134.392 72.7912 132.577 72.7912 131.113 73.6566L95.8486 94.1479V79.9594C95.8333 79.8125 95.8991 79.6689 96.02 79.5853L125.197 62.6339C134.326 57.3376 145.672 57.8319 154.312 63.9022C162.953 69.9726 167.331 80.5253 165.548 90.9821V91.0973ZM89.1901 116.251L76.9877 109.171C76.8644 109.096 76.7807 108.969 76.7591 108.826V74.9517C76.773 64.3439 82.8721 54.6994 92.4112 50.201C101.95 45.7026 113.211 47.1605 121.311 53.9424L120.453 54.4316L91.5906 71.2103C90.1293 72.0736 89.2279 73.6485 89.2187 75.3546L89.1901 116.251ZM95.82 101.861L111.537 92.7377L127.283 101.861V120.107L111.595 129.231L95.8486 120.107L95.82 101.861Z",fill:"url(#paint0_radial_39_26)"}),C("defs",{children:a("radialGradient",{id:"paint0_radial_39_26",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(40 38) rotate(45.5947) scale(204.365 204.365)",children:[C("stop",{stopColor:"white",stopOpacity:"0.85"}),C("stop",{offset:"1",stopColor:"white",stopOpacity:"0.1"})]})})]})}export{r as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as i}from"./chunk-CGL6YSX7.mjs";import{a as l}from"./chunk-IGIB6XZB.mjs";import{a as c}from"./chunk-GYE7FFDN.mjs";import{a as e}from"./chunk-UUJYTAK4.mjs";import{a as s}from"./chunk-GV2NLM3E.mjs";import{m as o}from"./chunk-HVAJT6I7.mjs";import{cva as d}from"class-variance-authority";import{jsx as x,jsxs as b}from"react/jsx-runtime";var f=d("flex gap-1.5 items-center max-w-fit rounded-md px-2 py-1 text-xs font-medium whitespace-nowrap",{variants:{variant:{neutral:"bg-gray-500/[.15] text-gray-600",new:"bg-blue-500/[.15] text-blue-600",success:"bg-green-500/[.15] text-green-600",pending:"bg-orange-500/[.15] text-orange-600",warning:"bg-yellow-500/[.15] text-yellow-600",error:"bg-red-500/[.15] text-red-600"}},defaultVariants:{variant:"neutral"}}),m={neutral:c,new:i,success:s,pending:l,warning:e,error:e};function v({className:g,variant:t,icon:r,onClick:n,children:u,...p}){let a=r!==null?r??m[t??"neutral"]:null;return b("span",{className:o(f({variant:t}),n&&"cursor-pointer select-none transition-[filter] duration-150 hover:brightness-75 hover:saturate-[1.25]",g),onClick:n,...p,children:[a&&x(a,{className:"h-3 w-3 shrink-0"}),u]})}export{f as a,v as b};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as c}from"./chunk-GYE7FFDN.mjs";import{a as e}from"./chunk-UUJYTAK4.mjs";import{a as s}from"./chunk-GV2NLM3E.mjs";import{a as i}from"./chunk-CGL6YSX7.mjs";import{a as l}from"./chunk-IGIB6XZB.mjs";import{l as o}from"./chunk-LHRSOLFV.mjs";import{cva as d}from"class-variance-authority";import{jsx as x,jsxs as b}from"react/jsx-runtime";var f=d("flex gap-1.5 items-center max-w-fit rounded-md px-2 py-1 text-xs font-medium whitespace-nowrap",{variants:{variant:{neutral:"bg-gray-500/[.15] text-gray-600",new:"bg-blue-500/[.15] text-blue-600",success:"bg-green-500/[.15] text-green-600",pending:"bg-orange-500/[.15] text-orange-600",warning:"bg-yellow-500/[.15] text-yellow-600",error:"bg-red-500/[.15] text-red-600"}},defaultVariants:{variant:"neutral"}}),m={neutral:c,new:i,success:s,pending:l,warning:e,error:e};function v({className:g,variant:t,icon:r,onClick:n,children:u,...p}){let a=r!==null?r??m[t??"neutral"]:null;return b("span",{className:(void 0)(f({variant:t}),n&&"cursor-pointer select-none transition-[filter] duration-150 hover:brightness-75 hover:saturate-[1.25]",g),onClick:n,...p,children:[a&&x(a,{className:"h-3 w-3 shrink-0"}),u]})}export{f as a,v as b};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{c as N}from"./chunk-3QOUGNTX.mjs";import{a as b}from"./chunk-324RZJEK.mjs";import{i as g,j as f,l as h,m as s}from"./chunk-7LNA6Q2P.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",h,{dedupingInterval:6e4});return n("div",{className:s(l==="dark"&&"dark"),children:[e("button",{onClick:()=>a(!t),className:s("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:s("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:s("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:g(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:s("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:g(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{c as N}from"./chunk-NDIVMNAM.mjs";import{a as b}from"./chunk-324RZJEK.mjs";import{i as g,j as f,l as h,m as s}from"./chunk-7LNA6Q2P.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",h,{dedupingInterval:6e4});return n("div",{className:s(l==="dark"&&"dark"),children:[e("button",{onClick:()=>a(!t),className:s("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:s("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:s("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:g(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:s("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:g(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{m as v}from"./chunk-HVAJT6I7.mjs";import{jsx as h}from"react/jsx-runtime";function s({className:c}){return h("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",className:v("text-[#0077b5]",c),children:h("path",{fill:"currentColor",d:"M19 0h-14c-2.761 0-5 2.239-5 5v14c0 2.761 2.239 5 5 5h14c2.762 0 5-2.239 5-5v-14c0-2.761-2.238-5-5-5zm-11 19h-3v-11h3v11zm-1.5-12.268c-.966 0-1.75-.79-1.75-1.764s.784-1.764 1.75-1.764 1.75.79 1.75 1.764-.783 1.764-1.75 1.764zm13.5 12.268h-3v-5.604c0-3.368-4-3.113-4 0v5.604h-3v-11h3v1.765c1.396-2.586 7-2.777 7 2.476v6.759z"})})}export{s as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{l as n}from"./chunk-LHRSOLFV.mjs";import{jsx as e,jsxs as a}from"react/jsx-runtime";function h({cellSize:t=12,strokeWidth:s=1,patternOffset:r=[0,0],className:i}){return a("svg",{className:(void 0)("pointer-events-none absolute inset-0 text-black/10",i),width:"100%",height:"100%",children:[e("defs",{children:e("pattern",{id:"grid",x:r[0]-1,y:r[1]-1,width:t,height:t,patternUnits:"userSpaceOnUse",children:e("path",{d:`M ${t} 0 L 0 0 0 ${t}`,fill:"transparent",stroke:"currentColor",strokeWidth:s})})}),e("rect",{fill:"url(#grid)",width:"100%",height:"100%"})]})}export{h as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as d,b as l,f as v}from"./chunk-H6X2YC5N.mjs";import{a as n,c,d as g}from"./chunk-EEOZLHXB.mjs";import{a as p}from"./chunk-AVRQI43I.mjs";import{ChevronRight as _}from"lucide-react";import N from"next/link";import{jsx as t,jsxs as o}from"react/jsx-runtime";function b({domain:r}){return o("div",{className:"grid w-[40rem] grid-cols-2",children:[o("div",{className:"p-5",children:[t("p",{className:(void 0)(n,"mb-2"),children:"Features"}),t("div",{className:"-mx-2 -mb-2 grid grid-cols-1 gap-0.5",children:d.map(({icon:a,title:m,description:i,href:s})=>t(c,{href:(void 0)(s,r,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:r,utm_content:m}),icon:t(g,{icon:a}),title:m,description:i},s))})]}),o("div",{className:"border-l border-gray-200 p-5 dark:border-white/20",children:[o(N,{href:(void 0)("/customers",r,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:r,utm_content:"Customer Stories"}),className:(void 0)(n,"group mb-2 flex items-center transition-colors hover:text-black dark:hover:text-white"),children:["Customer Stories",t(_,{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:l.map(({icon:a,iconClassName:m,title:i,description:s,href:u})=>t(c,{href:(void 0)(u,r,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:r,utm_content:i}),className:"-mx-2",icon:t(a,{className:(void 0)("h-7 w-7 shrink-0 text-gray-600 transition-colors dark:text-white/60",m)}),title:i,description:s,descriptionLines:2},u))}),t("p",{className:(void 0)(n,"my-4"),children:"Compare"}),t("div",{className:"flex flex-col gap-1.5",children:v.map(({name:a,slug:m})=>o(N,{href:(void 0)(`/compare/${m}`,r,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:r,utm_content:`Dub vs. ${a}`}),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:[o("p",{className:"text-sm font-medium",children:["Dub vs. ",a]})," ",t(p,{className:"h-3 w-3"})]},m))})]})]})}export{b as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{l}from"./chunk-LHRSOLFV.mjs";import{jsx as t,jsxs as e}from"react/jsx-runtime";function o({className:a}){return e("div",{className:"group relative flex items-center",children:[t("svg",{className:(void 0)("absolute h-4 w-4 transition-all group-hover:translate-x-1 group-hover:opacity-0",a),xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16",width:"16",height:"16",children:t("path",{fillRule:"evenodd",d:"M6.22 3.22a.75.75 0 011.06 0l4.25 4.25a.75.75 0 010 1.06l-4.25 4.25a.75.75 0 01-1.06-1.06L9.94 8 6.22 4.28a.75.75 0 010-1.06z"})}),t("svg",{className:`${a||"h-4 w-4"} absolute opacity-0 transition-all group-hover:translate-x-1 group-hover:opacity-100`,xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16",width:"16",height:"16",children:t("path",{fillRule:"evenodd",d:"M8.22 2.97a.75.75 0 011.06 0l4.25 4.25a.75.75 0 010 1.06l-4.25 4.25a.75.75 0 01-1.06-1.06l2.97-2.97H3.75a.75.75 0 010-1.5h7.44L8.22 4.03a.75.75 0 010-1.06z"})})]})}export{o as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{d as l,e as p}from"./chunk-ZNH7PXDK.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 i}from"./chunk-ORQ643AR.mjs";import{cva as n}from"class-variance-authority";import{LayoutGroup as c,motion as m}from"framer-motion";import{useId as f}from"react";import{jsx as a,jsxs as b}from"react/jsx-runtime";var p=n("p-4 transition-colors duration-75",{variants:{variant:{default:"text-gray-400 data-[selected=true]:text-black data-[selected=false]:hover:text-gray-500",accent:"text-neutral-500 transition-[color,font-weight] data-[selected=true]:text-blue-600 data-[selected=false]:hover:text-neutral-700 data-[selected=true]:font-medium"}},defaultVariants:{variant:"default"}}),v=n("absolute bottom-0 w-full px-1.5",{variants:{variant:{default:"text-black",accent:"text-blue-600"}},defaultVariants:{variant:"default"}});function T({variant:r,options:s,selected:e,onSelect:o,className:l}){let d=f();return a("div",{className:i("flex text-sm",l),children:a(c,{id:d,children:s.map(({id:t,label:u})=>b("div",{className:"relative",children:[a("button",{type:"button",onClick:()=>o==null?void 0:o(t),className:p({variant:r}),"data-selected":t===e,"aria-selected":t===e,children:u}),t===e&&a(m.div,{layoutId:"indicator",transition:{duration:.1},className:v({variant:r}),children:a("div",{className:"h-0.5 rounded-t-full bg-current"})})]},t))})})}export{T as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as Z}from"./chunk-IKTBG23E.mjs";import{a as K}from"./chunk-GVBIGY6N.mjs";import{a as V}from"./chunk-NWME2ANF.mjs";import{a as Q}from"./chunk-LNAW5KVB.mjs";import{k as U}from"./chunk-7URJVZM7.mjs";import{a as $}from"./chunk-WMTXO7RT.mjs";import{a as j}from"./chunk-JW75YDRU.mjs";import{a as B}from"./chunk-JOLDVN3E.mjs";import{a as F}from"./chunk-IHTRL6TU.mjs";import{a as P}from"./chunk-LYRQAEES.mjs";import{m as i}from"./chunk-TOWKBEIR.mjs";import{Command as h,CommandInput as ie,CommandItem as ce,useCommandState as me}from"cmdk";import{ChevronDown as de}from"lucide-react";import{forwardRef as pe,isValidElement as ue,useCallback as fe,useEffect as b,useRef as xe,useState as f}from"react";import{Fragment as I,jsx as e,jsxs as c}from"react/jsx-runtime";function ge(s,o){return s===!0}function De({multiple:s,selected:o,setSelected:l,options:a,icon:d,placeholder:y="Select...",searchPlaceholder:G="Search...",emptyState:x,createLabel:N,onCreate:g,buttonProps:m,shortcutHint:z,caret:J,side:X,open:Y,onOpenChange:_,onSearchChange:C,shouldFilter:R=!0,inputClassName:ee,optionRight:w,optionClassName:E,matchTriggerWidth:L,children:te}){let D=ge(s,l),n=Array.isArray(o)?o:o?[o]:[],{isMobile:se}=V(),[oe,ae]=f(!1),O=Y??oe,v=_??ae,[r,k]=f(""),[W,M]=f(!1),[S,ne]=f(void 0),[re,A]=f(!1),le=t=>{var p;if(D){let T=n.some(({value:u})=>u===t.value);l(T?n.filter(({value:u})=>u!==t.value):[...n,t])}else l(n.length&&((p=n[0])==null?void 0:p.value)===t.value?null:t),v(!1)},H=fe((t,p)=>p===""?[...n,...t.filter(T=>n.findIndex(u=>u.value===T.value)===-1)]:t,[n]);return b(()=>{W&&(ne(a&&H(a,r)),M(!1))},[W,a,H,r]),b(()=>{M(!0)},[a]),b(()=>{O||(k(""),M(!0))},[O]),b(()=>C==null?void 0:C(r),[r]),e(Z,{openPopover:O,setOpenPopover:v,align:"start",side:X,onWheel:t=>{t.stopPropagation()},popoverContentClassName:i(L&&"sm:w-[var(--radix-popover-trigger-width)]"),content:e(Q,{width:!se&&!L,height:!0,style:{transform:"translateZ(0)"},transition:{ease:"easeInOut",duration:.1},className:"pointer-events-auto",children:c(h,{loop:!0,shouldFilter:R,children:[c("div",{className:"flex items-center overflow-hidden rounded-t-lg border-b border-gray-200",children:[e(ie,{placeholder:G,value:r,onValueChange:k,className:i("grow border-0 py-3 pl-4 pr-2 outline-none placeholder:text-gray-400 focus:ring-0 sm:text-sm",ee),onKeyDown:t=>{(t.key==="Escape"||t.key==="Backspace"&&!r)&&(t.preventDefault(),t.stopPropagation(),v(!1))}}),z&&e("kbd",{className:"mr-2 hidden shrink-0 rounded border border-gray-200 bg-gray-100 px-2 py-0.5 text-xs font-light text-gray-500 md:block",children:z})]}),e(ve,{children:e(h.List,{className:i("flex w-full min-w-[100px] flex-col gap-1 p-1"),children:S!==void 0?c(I,{children:[S.map(t=>e(be,{option:t,multiple:D,selected:n.some(({value:p})=>p===t.value),onSelect:()=>le(t),right:w==null?void 0:w(t),className:E},`${t.label}, ${t.value}`)),r.length>0&&g&&c(ce,{className:i("flex cursor-pointer items-center gap-3 whitespace-nowrap rounded-md px-3 py-2 text-left text-sm text-gray-700","data-[selected=true]:bg-gray-100",E),onSelect:async()=>{A(!0),await(g==null?void 0:g(r))&&(k(""),v(!1)),A(!1)},children:[re?e(P,{className:"size-4 shrink-0"}):e($,{className:"size-4 shrink-0"}),e("div",{className:"grow truncate",children:(N==null?void 0:N(r))||`Create "${r}"`})]}),R?e(he,{className:"flex min-h-12 items-center justify-center text-sm text-gray-500",children:x||"No matches"}):S.length===0?e("div",{className:"flex min-h-12 items-center justify-center text-sm text-gray-500",children:x||"No matches"}):null]}):e(h.Loading,{children:e("div",{className:"flex h-12 items-center justify-center",children:e(P,{})})})})})]})}),children:e(U,{variant:"secondary",...m,className:i(m==null?void 0:m.className,"flex gap-2"),textWrapperClassName:i(m==null?void 0:m.textWrapperClassName,"w-full flex items-center justify-start"),text:c(I,{children:[e("div",{className:"min-w-0 grow truncate text-left",children:te||n.map(t=>t.label).join(", ")||y}),J&&e(de,{className:"ml-1 size-4 shrink-0 text-gray-400 transition-transform duration-75 group-data-[state=open]:rotate-180"})]}),icon:d?q(d)?d:e(d,{className:"size-4 shrink-0"}):void 0})})}var ve=({children:s})=>{let o=xe(null),{scrollProgress:l,updateScrollProgress:a}=K(o);return c(I,{children:[e("div",{className:"scrollbar-hide max-h-[min(50vh,250px)] w-screen overflow-y-scroll sm:w-auto",ref:o,onScroll:a,children:s}),e("div",{className:"pointer-events-none absolute bottom-0 left-0 hidden h-16 w-full rounded-b-lg bg-gradient-to-t from-white sm:block",style:{opacity:1-Math.pow(l,2)}})]})};function be({option:s,onSelect:o,multiple:l,selected:a,right:d,className:y}){return c(h.Item,{className:i("flex cursor-pointer items-center gap-3 whitespace-nowrap rounded-md px-3 py-2 text-left text-sm","data-[selected=true]:bg-gray-100",y),onSelect:o,value:s.label+(s==null?void 0:s.value),children:[l&&e("div",{className:"shrink-0 text-gray-600",children:a?e(B,{className:"size-4 text-gray-600"}):e(F,{className:"size-4 text-gray-400"})}),c("div",{className:"flex min-w-0 grow items-center gap-1",children:[s.icon&&e("span",{className:"shrink-0 text-gray-600",children:q(s.icon)?s.icon:e(s.icon,{className:"h-4 w-4"})}),e("span",{className:"grow truncate",children:s.label})]}),d,!l&&a&&e(j,{className:"size-4 shrink-0 text-gray-600"})]})}var q=s=>ue(s),he=pe((s,o)=>me(a=>a.filtered.count===0)?e("div",{ref:o,"cmdk-empty":"",role:"presentation",...s}):null);export{De 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-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{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{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 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};