@dub/ui 0.1.63 → 0.1.65

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 (948) hide show
  1. package/dist/accordion.mjs +1 -1
  2. package/dist/alert.mjs +1 -1
  3. package/dist/animated-size-container.d.ts +11 -11
  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.d.ts +1 -1
  10. package/dist/button.mjs +1 -1
  11. package/dist/card-list/card-list-card.mjs +1 -1
  12. package/dist/card-list/card-list.mjs +1 -1
  13. package/dist/carousel.mjs +1 -1
  14. package/dist/checkbox.mjs +1 -1
  15. package/dist/chunk-22G7CNUP.mjs +2 -0
  16. package/dist/chunk-22WFAFNE.mjs +2 -0
  17. package/dist/chunk-23XIZXUJ.mjs +2 -0
  18. package/dist/chunk-24L5RJT7.mjs +6 -0
  19. package/dist/chunk-25YHMIJX.mjs +2 -0
  20. package/dist/chunk-266CR3JW.mjs +2 -0
  21. package/dist/chunk-26XCCUUB.mjs +6 -0
  22. package/dist/chunk-27HFRPZ2.mjs +2 -0
  23. package/dist/chunk-27ML5E2F.mjs +2 -0
  24. package/dist/chunk-27WZGLRK.mjs +2 -0
  25. package/dist/chunk-2ARGZAIC.mjs +2 -0
  26. package/dist/chunk-2B4J4WCM.mjs +2 -0
  27. package/dist/chunk-2DGI3N2A.mjs +2 -0
  28. package/dist/chunk-2ENJDUG6.mjs +2 -0
  29. package/dist/chunk-2EYK7SJZ.mjs +2 -0
  30. package/dist/chunk-2F4BO55L.mjs +2 -0
  31. package/dist/chunk-2KUZ4P7L.mjs +2 -0
  32. package/dist/chunk-2LEO5N2F.mjs +42 -0
  33. package/dist/chunk-2LGFU4IK.mjs +6 -0
  34. package/dist/chunk-2LVMLNNB.mjs +2 -0
  35. package/dist/chunk-2N6HVSPE.mjs +2 -0
  36. package/dist/chunk-2NOMB236.mjs +2 -0
  37. package/dist/chunk-2S3M6ZJW.mjs +2 -0
  38. package/dist/chunk-2SR2L3ZY.mjs +2 -0
  39. package/dist/chunk-2TWKGUVF.mjs +2 -0
  40. package/dist/chunk-2USPCSVN.mjs +2 -0
  41. package/dist/chunk-2VNRSO5I.mjs +2 -0
  42. package/dist/chunk-2WSV4YH7.mjs +2 -0
  43. package/dist/chunk-2YXXAFBG.mjs +2 -0
  44. package/dist/chunk-2ZD2XOGY.mjs +2 -0
  45. package/dist/chunk-324JZKTT.mjs +2 -0
  46. package/dist/chunk-34SLXBV6.mjs +2 -0
  47. package/dist/chunk-352GTGOZ.mjs +2 -0
  48. package/dist/chunk-353TDDBD.mjs +2 -0
  49. package/dist/chunk-3AGS4CL3.mjs +2 -0
  50. package/dist/chunk-3CAINAYF.mjs +2 -0
  51. package/dist/chunk-3CRSMS33.mjs +2 -0
  52. package/dist/chunk-3DNI4UTR.mjs +2 -0
  53. package/dist/chunk-3DPJ4BHL.mjs +2 -0
  54. package/dist/chunk-3FN3C6PS.mjs +2 -0
  55. package/dist/chunk-3GWAD6PK.mjs +2 -0
  56. package/dist/chunk-3HO2QB3O.mjs +2 -0
  57. package/dist/chunk-3LMZVQIJ.mjs +6 -0
  58. package/dist/chunk-3MAO7ZUE.mjs +2 -0
  59. package/dist/chunk-3MNJAW3K.mjs +2 -0
  60. package/dist/chunk-3P2LZKNZ.mjs +2 -0
  61. package/dist/chunk-3PFRUDGR.mjs +2 -0
  62. package/dist/chunk-3Q67Z2ZQ.mjs +2 -0
  63. package/dist/chunk-3R6Y43NF.mjs +2 -0
  64. package/dist/chunk-3RJ6HILN.mjs +2 -0
  65. package/dist/chunk-3RPAER42.mjs +2 -0
  66. package/dist/chunk-3SBZZTKO.mjs +2 -0
  67. package/dist/chunk-3SJTHXXN.mjs +2 -0
  68. package/dist/chunk-3SL2UW4L.mjs +2 -0
  69. package/dist/chunk-3WWXDKJ5.mjs +2 -0
  70. package/dist/chunk-3XI4D5KG.mjs +2 -0
  71. package/dist/chunk-454XW77L.mjs +6 -0
  72. package/dist/chunk-45TVEKQB.mjs +2 -0
  73. package/dist/chunk-46A6V7VD.mjs +2 -0
  74. package/dist/chunk-47AFEU2D.mjs +2 -0
  75. package/dist/chunk-4B6U4GO7.mjs +2 -0
  76. package/dist/chunk-4DH2JJYJ.mjs +2 -0
  77. package/dist/chunk-4DNRRE3K.mjs +2 -0
  78. package/dist/chunk-4DQAW447.mjs +2 -0
  79. package/dist/chunk-4EWLMMOI.mjs +2 -0
  80. package/dist/chunk-4HUYN24V.mjs +2 -0
  81. package/dist/chunk-4ISGWLB6.mjs +2 -0
  82. package/dist/chunk-4JFW4IBU.mjs +2 -0
  83. package/dist/chunk-4JN2E5ON.mjs +2 -0
  84. package/dist/chunk-4JXYVJYL.mjs +2 -0
  85. package/dist/chunk-4NCL3JOG.mjs +2 -0
  86. package/dist/chunk-4NFFG6EA.mjs +2 -0
  87. package/dist/chunk-4NKXIIGO.mjs +2 -0
  88. package/dist/chunk-4QLGWBWI.mjs +2 -0
  89. package/dist/chunk-4RK2SNLT.mjs +2 -0
  90. package/dist/chunk-4S4QDTNM.mjs +2 -0
  91. package/dist/chunk-4S5ACOK7.mjs +2 -0
  92. package/dist/chunk-4TKMVD3I.mjs +2 -0
  93. package/dist/chunk-4UQSW3LZ.mjs +2 -0
  94. package/dist/chunk-4USYRZBY.mjs +2 -0
  95. package/dist/chunk-4V4VNXHX.mjs +2 -0
  96. package/dist/chunk-4W3KDOST.mjs +2 -0
  97. package/dist/chunk-4X54WEZM.mjs +2 -0
  98. package/dist/chunk-52GQLJ2N.mjs +2 -0
  99. package/dist/chunk-53QOFIHT.mjs +2 -0
  100. package/dist/chunk-56B5ANEB.mjs +2 -0
  101. package/dist/chunk-5A3E7WHW.mjs +6 -0
  102. package/dist/chunk-5BN3FWVN.mjs +2 -0
  103. package/dist/chunk-5BX765AZ.mjs +2 -0
  104. package/dist/chunk-5CBHM2QV.mjs +2 -0
  105. package/dist/chunk-5CSEIRJK.mjs +2 -0
  106. package/dist/chunk-5EFMUFTZ.mjs +2 -0
  107. package/dist/chunk-5EXA2QJO.mjs +2 -0
  108. package/dist/chunk-5FOSABUZ.mjs +2 -0
  109. package/dist/chunk-5GRZQNXD.mjs +2 -0
  110. package/dist/chunk-5I3CWZFE.mjs +2 -0
  111. package/dist/chunk-5KHVEQXR.mjs +2 -0
  112. package/dist/chunk-5MSVFIUL.mjs +2 -0
  113. package/dist/chunk-5S6YVJRP.mjs +6 -0
  114. package/dist/chunk-5SZ2YQPL.mjs +2 -0
  115. package/dist/chunk-5ULT3OX5.mjs +6 -0
  116. package/dist/chunk-5WVTOY4P.mjs +2 -0
  117. package/dist/chunk-5WZXM22N.mjs +2 -0
  118. package/dist/chunk-5X37KZB5.mjs +2 -0
  119. package/dist/chunk-5XHMSXZL.mjs +2 -0
  120. package/dist/chunk-5XRXPM6I.mjs +6 -0
  121. package/dist/chunk-5XXBRPKG.mjs +2 -0
  122. package/dist/chunk-5ZWZE47I.mjs +2 -0
  123. package/dist/chunk-63VJXGTK.mjs +2 -0
  124. package/dist/chunk-64QQA4QW.mjs +2 -0
  125. package/dist/chunk-663VVVWM.mjs +2 -0
  126. package/dist/chunk-66LHQXIL.mjs +2 -0
  127. package/dist/chunk-6CN4PV56.mjs +2 -0
  128. package/dist/chunk-6DRPUSQW.mjs +2 -0
  129. package/dist/chunk-6EXURXEE.mjs +2 -0
  130. package/dist/chunk-6G5IMRVT.mjs +6 -0
  131. package/dist/chunk-6HNDCIAI.mjs +2 -0
  132. package/dist/chunk-6I7YDKNG.mjs +2 -0
  133. package/dist/chunk-6IWTD537.mjs +2 -0
  134. package/dist/chunk-6JSI46AL.mjs +6 -0
  135. package/dist/chunk-6JXDFNYL.mjs +2 -0
  136. package/dist/chunk-6KB2KP74.mjs +2 -0
  137. package/dist/chunk-6M22A3I2.mjs +2 -0
  138. package/dist/chunk-6OMTLIWF.mjs +2 -0
  139. package/dist/chunk-6ORGKCTT.mjs +2 -0
  140. package/dist/chunk-6P62QE2G.mjs +2 -0
  141. package/dist/chunk-6QQDGLTN.mjs +2 -0
  142. package/dist/chunk-6TLKOE5P.mjs +2 -0
  143. package/dist/chunk-6VDWZS7R.mjs +2 -0
  144. package/dist/chunk-6W7656X6.mjs +2 -0
  145. package/dist/chunk-6Z4LCVCW.mjs +2 -0
  146. package/dist/chunk-72IF7VSJ.mjs +2 -0
  147. package/dist/chunk-73LCVKEY.mjs +2 -0
  148. package/dist/chunk-75ETXOAN.mjs +2 -0
  149. package/dist/chunk-75JQAERL.mjs +2 -0
  150. package/dist/chunk-76I3EX6E.mjs +2 -0
  151. package/dist/chunk-77SZ3IDE.mjs +2 -0
  152. package/dist/chunk-7A2MD2ZI.mjs +2 -0
  153. package/dist/chunk-7A7AJJHY.mjs +2 -0
  154. package/dist/chunk-7AT2OX3J.mjs +2 -0
  155. package/dist/chunk-7DFMJAU4.mjs +6 -0
  156. package/dist/chunk-7F6VNQII.mjs +2 -0
  157. package/dist/chunk-7IDAN342.mjs +2 -0
  158. package/dist/chunk-7LQDLMJZ.mjs +2 -0
  159. package/dist/chunk-7MALATC2.mjs +2 -0
  160. package/dist/chunk-7MNNAEZG.mjs +2 -0
  161. package/dist/chunk-7MQRFL5W.mjs +2 -0
  162. package/dist/chunk-7NMRIL36.mjs +2 -0
  163. package/dist/chunk-7PY5M5C6.mjs +2 -0
  164. package/dist/chunk-7QSUL4AK.mjs +2 -0
  165. package/dist/chunk-7TD4RPM3.mjs +2 -0
  166. package/dist/chunk-7Y7DUQA4.mjs +2 -0
  167. package/dist/chunk-7ZKP5C4K.mjs +2 -0
  168. package/dist/chunk-A25P7TQP.mjs +2 -0
  169. package/dist/chunk-A3CBDT65.mjs +2 -0
  170. package/dist/chunk-A3LILCE2.mjs +2 -0
  171. package/dist/chunk-A43FVLPH.mjs +2 -0
  172. package/dist/chunk-A6SZUE5J.mjs +6 -0
  173. package/dist/chunk-A7XAZNUY.mjs +2 -0
  174. package/dist/chunk-AAQ63WES.mjs +2 -0
  175. package/dist/chunk-AAXP2EFC.mjs +2 -0
  176. package/dist/chunk-ABIDKQLU.mjs +2 -0
  177. package/dist/chunk-AGH7ZEIK.mjs +2 -0
  178. package/dist/chunk-AGLNGBQP.mjs +2 -0
  179. package/dist/chunk-AGVXHDJK.mjs +2 -0
  180. package/dist/chunk-AH7XQ5K4.mjs +2 -0
  181. package/dist/chunk-AJW4HFHL.mjs +2 -0
  182. package/dist/chunk-AK2TTQ7X.mjs +2 -0
  183. package/dist/chunk-AKIOXJYS.mjs +2 -0
  184. package/dist/chunk-AKT5WNDG.mjs +2 -0
  185. package/dist/chunk-ALA7PTL2.mjs +6 -0
  186. package/dist/chunk-AMIQBOQQ.mjs +2 -0
  187. package/dist/chunk-AMSOTRQJ.mjs +2 -0
  188. package/dist/chunk-APRXCDHL.mjs +6 -0
  189. package/dist/chunk-ASW4CA57.mjs +2 -0
  190. package/dist/chunk-AXZJPLZ2.mjs +2 -0
  191. package/dist/chunk-AYHWIW4A.mjs +2 -0
  192. package/dist/chunk-AYMV2XWG.mjs +2 -0
  193. package/dist/chunk-AYN6PQHJ.mjs +2 -0
  194. package/dist/chunk-B2CCWVVK.mjs +2 -0
  195. package/dist/chunk-B4NKNS6J.mjs +2 -0
  196. package/dist/chunk-B6LRIXJS.mjs +2 -0
  197. package/dist/chunk-B6MJ3SDC.mjs +2 -0
  198. package/dist/chunk-B76JSEEL.mjs +2 -0
  199. package/dist/chunk-B7S6GSB7.mjs +2 -0
  200. package/dist/chunk-BA2WAV55.mjs +2 -0
  201. package/dist/chunk-BBBROSDY.mjs +2 -0
  202. package/dist/chunk-BCFAWJEI.mjs +6 -0
  203. package/dist/chunk-BD76EQXI.mjs +2 -0
  204. package/dist/chunk-BFY5K5XP.mjs +2 -0
  205. package/dist/chunk-BGJJBYFF.mjs +2 -0
  206. package/dist/chunk-BHS6GAMC.mjs +6 -0
  207. package/dist/chunk-BIEJ6N7V.mjs +2 -0
  208. package/dist/chunk-BIENTJRD.mjs +6 -0
  209. package/dist/chunk-BK7JY6YD.mjs +2 -0
  210. package/dist/chunk-BKXIX76I.mjs +2 -0
  211. package/dist/chunk-BOBW4QDU.mjs +2 -0
  212. package/dist/chunk-BPB42YAU.mjs +2 -0
  213. package/dist/chunk-BR4NCCQD.mjs +2 -0
  214. package/dist/chunk-BRFI5EDU.mjs +2 -0
  215. package/dist/chunk-BTD2ZEUE.mjs +2 -0
  216. package/dist/chunk-BVAXTLWS.mjs +6 -0
  217. package/dist/chunk-BVUJO35O.mjs +2 -0
  218. package/dist/chunk-BW5I5LYX.mjs +2 -0
  219. package/dist/chunk-BYQDVU3F.mjs +2 -0
  220. package/dist/chunk-C3HN4VWC.mjs +2 -0
  221. package/dist/chunk-C3T67R3F.mjs +2 -0
  222. package/dist/chunk-C6C7ZMXM.mjs +2 -0
  223. package/dist/chunk-C6YLUFWK.mjs +2 -0
  224. package/dist/chunk-C7PORKCZ.mjs +2 -0
  225. package/dist/chunk-CBAK6IP3.mjs +2 -0
  226. package/dist/chunk-CBWWJMSP.mjs +6 -0
  227. package/dist/chunk-CC2RPXVG.mjs +42 -0
  228. package/dist/chunk-CC6UA2SY.mjs +2 -0
  229. package/dist/chunk-CFE6TCDR.mjs +2 -0
  230. package/dist/chunk-CGTLW2O5.mjs +2 -0
  231. package/dist/chunk-CJE5CJUD.mjs +2 -0
  232. package/dist/chunk-CJMH3V5J.mjs +2 -0
  233. package/dist/chunk-CL2JQR6L.mjs +2 -0
  234. package/dist/chunk-CM6SHJGO.mjs +2 -0
  235. package/dist/chunk-CMHXPQHR.mjs +2 -0
  236. package/dist/chunk-CNTA33PG.mjs +2 -0
  237. package/dist/chunk-COAUXGXL.mjs +2 -0
  238. package/dist/chunk-COMF4NPA.mjs +2 -0
  239. package/dist/chunk-CP7Z2HEE.mjs +2 -0
  240. package/dist/chunk-CQCAAKTW.mjs +2 -0
  241. package/dist/chunk-CR6ZAJ2S.mjs +2 -0
  242. package/dist/chunk-CR77UUHL.mjs +2 -0
  243. package/dist/chunk-CSKH27P4.mjs +2 -0
  244. package/dist/chunk-CUAW3MWU.mjs +2 -0
  245. package/dist/chunk-CUN3PQ2C.mjs +2 -0
  246. package/dist/chunk-CWL7MZRS.mjs +2 -0
  247. package/dist/chunk-CY644ZMD.mjs +2 -0
  248. package/dist/chunk-CYLUQHC7.mjs +2 -0
  249. package/dist/chunk-CZDFLXQX.mjs +42 -0
  250. package/dist/chunk-D5KJG3UR.mjs +2 -0
  251. package/dist/chunk-D65RDDTU.mjs +2 -0
  252. package/dist/chunk-D7LKVBEO.mjs +2 -0
  253. package/dist/chunk-DDFAQ4KU.mjs +2 -0
  254. package/dist/chunk-DGONAPA3.mjs +2 -0
  255. package/dist/chunk-DI5MMUHP.mjs +2 -0
  256. package/dist/chunk-DJ5LRPTL.mjs +2 -0
  257. package/dist/chunk-DK7Q6FIF.mjs +2 -0
  258. package/dist/chunk-DNSDRMPX.mjs +2 -0
  259. package/dist/chunk-DOTBF6DU.mjs +2 -0
  260. package/dist/chunk-DPC3OMTK.mjs +2 -0
  261. package/dist/chunk-DTRNSEJR.mjs +2 -0
  262. package/dist/chunk-DUL2HWEJ.mjs +2 -0
  263. package/dist/chunk-DWDN2PTA.mjs +2 -0
  264. package/dist/chunk-DWFKK5Z3.mjs +2 -0
  265. package/dist/chunk-DX3XHYLN.mjs +2 -0
  266. package/dist/chunk-DY4GFYEV.mjs +2 -0
  267. package/dist/chunk-DY5EA24P.mjs +2 -0
  268. package/dist/chunk-E26IO6IO.mjs +2 -0
  269. package/dist/chunk-E3MDGMRJ.mjs +2 -0
  270. package/dist/chunk-E64DRJH4.mjs +6 -0
  271. package/dist/chunk-E6DIYFDF.mjs +2 -0
  272. package/dist/chunk-E6IN7MJH.mjs +2 -0
  273. package/dist/chunk-EA2KFCNV.mjs +2 -0
  274. package/dist/chunk-EBYUINSY.mjs +2 -0
  275. package/dist/chunk-EBZHILLP.mjs +2 -0
  276. package/dist/chunk-EC2552BK.mjs +2 -0
  277. package/dist/chunk-ECRO7TY7.mjs +2 -0
  278. package/dist/chunk-EDFF24HB.mjs +2 -0
  279. package/dist/chunk-EDNRTMPR.mjs +2 -0
  280. package/dist/chunk-EDPQF4LV.mjs +2 -0
  281. package/dist/chunk-EFCU7CMH.mjs +2 -0
  282. package/dist/chunk-EFVBEU4A.mjs +2 -0
  283. package/dist/chunk-EI2TK2VL.mjs +2 -0
  284. package/dist/chunk-EI63UUR5.mjs +2 -0
  285. package/dist/chunk-ELGETJHO.mjs +2 -0
  286. package/dist/chunk-EPQOXXCH.mjs +2 -0
  287. package/dist/chunk-EQGVKMNM.mjs +2 -0
  288. package/dist/chunk-EQQBGD3H.mjs +2 -0
  289. package/dist/chunk-EROWF4YQ.mjs +2 -0
  290. package/dist/chunk-ESVOYZCU.mjs +2 -0
  291. package/dist/chunk-ET462HEE.mjs +2 -0
  292. package/dist/chunk-ET532A2U.mjs +2 -0
  293. package/dist/chunk-EUBDOIEF.mjs +2 -0
  294. package/dist/chunk-EUNCPGTG.mjs +2 -0
  295. package/dist/chunk-EW4EMQWM.mjs +2 -0
  296. package/dist/chunk-EY7EF64M.mjs +2 -0
  297. package/dist/chunk-EYQWU2FE.mjs +2 -0
  298. package/dist/chunk-EZIH3MTQ.mjs +2 -0
  299. package/dist/chunk-F4ANXQ2H.mjs +2 -0
  300. package/dist/chunk-F6HJK2JJ.mjs +2 -0
  301. package/dist/chunk-F6VRLNFA.mjs +2 -0
  302. package/dist/chunk-FA4DY6UP.mjs +2 -0
  303. package/dist/chunk-FAQF5KTS.mjs +2 -0
  304. package/dist/chunk-FCHZ5NFO.mjs +2 -0
  305. package/dist/chunk-FCJQKJH4.mjs +2 -0
  306. package/dist/chunk-FDEFMRAX.mjs +2 -0
  307. package/dist/chunk-FEGXY7FI.mjs +2 -0
  308. package/dist/chunk-FEPIBNZL.mjs +6 -0
  309. package/dist/chunk-FEU22O3W.mjs +2 -0
  310. package/dist/chunk-FI3QD7BN.mjs +2 -0
  311. package/dist/chunk-FIPHUD2L.mjs +2 -0
  312. package/dist/chunk-FJGJGU3H.mjs +2 -0
  313. package/dist/chunk-FKKYWXO4.mjs +2 -0
  314. package/dist/chunk-FKZGQEMI.mjs +2 -0
  315. package/dist/chunk-FMBBGZOU.mjs +2 -0
  316. package/dist/chunk-FOTGADCX.mjs +2 -0
  317. package/dist/chunk-FPBDCOSU.mjs +2 -0
  318. package/dist/chunk-FPX7DY6P.mjs +2 -0
  319. package/dist/chunk-FQ3HHKT6.mjs +2 -0
  320. package/dist/chunk-FR4S6IXK.mjs +6 -0
  321. package/dist/chunk-FRAN6DQK.mjs +2 -0
  322. package/dist/chunk-FSIMAFIB.mjs +2 -0
  323. package/dist/chunk-FSZIOE3J.mjs +2 -0
  324. package/dist/chunk-FUNPV7TG.mjs +2 -0
  325. package/dist/chunk-FWOD5FLT.mjs +2 -0
  326. package/dist/chunk-FXFCCJYU.mjs +6 -0
  327. package/dist/chunk-G2PHQK5M.mjs +2 -0
  328. package/dist/chunk-G2XKB6QH.mjs +2 -0
  329. package/dist/chunk-G3N4ZIAG.mjs +2 -0
  330. package/dist/chunk-G6ZI7OGN.mjs +2 -0
  331. package/dist/chunk-G76LKE44.mjs +2 -0
  332. package/dist/chunk-G7IQNJIO.mjs +2 -0
  333. package/dist/chunk-G7JC5WVB.mjs +2 -0
  334. package/dist/chunk-G7XXFWW4.mjs +2 -0
  335. package/dist/chunk-GB7UGR4P.mjs +2 -0
  336. package/dist/chunk-GC5FF2YJ.mjs +2 -0
  337. package/dist/chunk-GG4WW4NN.mjs +2 -0
  338. package/dist/chunk-GGHBVHFY.mjs +2 -0
  339. package/dist/chunk-GGZ7VSFG.mjs +2 -0
  340. package/dist/chunk-GHKRKQ47.mjs +2 -0
  341. package/dist/chunk-GK4L3NNI.mjs +2 -0
  342. package/dist/chunk-GKVTR555.mjs +2 -0
  343. package/dist/chunk-GMCMV67Y.mjs +2 -0
  344. package/dist/chunk-GNWRM7HC.mjs +2 -0
  345. package/dist/chunk-GPAEMIBH.mjs +2 -0
  346. package/dist/chunk-GPZKUDZ5.mjs +2 -0
  347. package/dist/chunk-GQ7UE25R.mjs +6 -0
  348. package/dist/chunk-GRCPFWQU.mjs +2 -0
  349. package/dist/chunk-GRK7ZFJM.mjs +2 -0
  350. package/dist/chunk-GT2L5XI5.mjs +2 -0
  351. package/dist/chunk-GUX6WUDF.mjs +2 -0
  352. package/dist/chunk-GVCRUB3A.mjs +2 -0
  353. package/dist/chunk-GVKZS4WP.mjs +2 -0
  354. package/dist/chunk-GWQOCJ4B.mjs +2 -0
  355. package/dist/chunk-GYBVZS4K.mjs +2 -0
  356. package/dist/chunk-GYLY6ZXQ.mjs +2 -0
  357. package/dist/chunk-H3FIFF3C.mjs +2 -0
  358. package/dist/chunk-H5RSKKCI.mjs +2 -0
  359. package/dist/chunk-H6BUPWPT.mjs +2 -0
  360. package/dist/chunk-H6L2D2FL.mjs +2 -0
  361. package/dist/chunk-HBMP325Z.mjs +2 -0
  362. package/dist/chunk-HCQMSSHE.mjs +2 -0
  363. package/dist/chunk-HDJCLA6F.mjs +2 -0
  364. package/dist/chunk-HF3RWP3X.mjs +2 -0
  365. package/dist/chunk-HH6MEDKE.mjs +2 -0
  366. package/dist/chunk-HHR2MF2F.mjs +2 -0
  367. package/dist/chunk-HI7SVMVM.mjs +2 -0
  368. package/dist/chunk-HICYH6UT.mjs +2 -0
  369. package/dist/chunk-HIMNDJ3X.mjs +2 -0
  370. package/dist/chunk-HIY3MY2D.mjs +2 -0
  371. package/dist/chunk-HKAOTFCA.mjs +2 -0
  372. package/dist/chunk-HKOJKOGX.mjs +2 -0
  373. package/dist/chunk-HMNMRBBV.mjs +2 -0
  374. package/dist/chunk-HNDK26EJ.mjs +2 -0
  375. package/dist/chunk-HNNDMBLV.mjs +2 -0
  376. package/dist/chunk-HNOKTMBL.mjs +42 -0
  377. package/dist/chunk-HQJ32QC6.mjs +2 -0
  378. package/dist/chunk-HR3MIIQY.mjs +2 -0
  379. package/dist/chunk-HRLKDYY6.mjs +2 -0
  380. package/dist/chunk-HRTR6WBC.mjs +2 -0
  381. package/dist/chunk-HSHOV3IW.mjs +2 -0
  382. package/dist/chunk-HSPLRBBS.mjs +2 -0
  383. package/dist/chunk-HTTZD7C6.mjs +2 -0
  384. package/dist/chunk-HULIVSO7.mjs +2 -0
  385. package/dist/chunk-HUY2ZWLI.mjs +2 -0
  386. package/dist/chunk-HV7U7CBC.mjs +2 -0
  387. package/dist/chunk-HVAKPUFA.mjs +2 -0
  388. package/dist/chunk-HVHP7YEN.mjs +2 -0
  389. package/dist/chunk-HVIS22UV.mjs +2 -0
  390. package/dist/chunk-I2IWTB5R.mjs +2 -0
  391. package/dist/chunk-I3HUQLRU.mjs +2 -0
  392. package/dist/chunk-I3NEQJ4I.mjs +2 -0
  393. package/dist/chunk-I57EW7DE.mjs +2 -0
  394. package/dist/chunk-I6WOK6HL.mjs +2 -0
  395. package/dist/chunk-I73PI5HW.mjs +2 -0
  396. package/dist/chunk-IAZWTQDQ.mjs +2 -0
  397. package/dist/chunk-IBKVCPYE.mjs +2 -0
  398. package/dist/chunk-ICAQOAGT.mjs +2 -0
  399. package/dist/chunk-ICE2JY73.mjs +2 -0
  400. package/dist/chunk-IGFK7WG7.mjs +2 -0
  401. package/dist/chunk-IGHLBC7I.mjs +2 -0
  402. package/dist/chunk-IJQPFIHS.mjs +2 -0
  403. package/dist/chunk-IN2R3CZ2.mjs +2 -0
  404. package/dist/chunk-INHKUPUJ.mjs +2 -0
  405. package/dist/chunk-IQLN5BB7.mjs +2 -0
  406. package/dist/chunk-IQOP7HJT.mjs +2 -0
  407. package/dist/chunk-ITHY5XRE.mjs +2 -0
  408. package/dist/chunk-IUXMQWKW.mjs +2 -0
  409. package/dist/chunk-IWGERSOL.mjs +2 -0
  410. package/dist/chunk-IZ3DLT56.mjs +2 -0
  411. package/dist/chunk-IZVAD4PC.mjs +2 -0
  412. package/dist/chunk-J5A5ZRH5.mjs +2 -0
  413. package/dist/chunk-J6LW2SOU.mjs +2 -0
  414. package/dist/chunk-JBH4NIZA.mjs +2 -0
  415. package/dist/chunk-JBWPEIIS.mjs +2 -0
  416. package/dist/chunk-JD3ID4ZN.mjs +2 -0
  417. package/dist/chunk-JEMIDKLE.mjs +2 -0
  418. package/dist/chunk-JEUBTLBK.mjs +2 -0
  419. package/dist/chunk-JG6VJJEB.mjs +2 -0
  420. package/dist/chunk-JGMCC3SJ.mjs +2 -0
  421. package/dist/chunk-JHICEJQD.mjs +2 -0
  422. package/dist/chunk-JHLMU2HR.mjs +2 -0
  423. package/dist/chunk-JKQX2NUM.mjs +2 -0
  424. package/dist/chunk-JLO4GFT4.mjs +2 -0
  425. package/dist/chunk-JM5WRKJK.mjs +2 -0
  426. package/dist/chunk-JQVQD7QT.mjs +2 -0
  427. package/dist/chunk-JR5OYRCS.mjs +2 -0
  428. package/dist/chunk-JRBGEJVG.mjs +2 -0
  429. package/dist/chunk-JRV2YPX4.mjs +2 -0
  430. package/dist/chunk-JUFQAEUG.mjs +2 -0
  431. package/dist/chunk-JUNSCYPL.mjs +2 -0
  432. package/dist/chunk-JUOPPTUC.mjs +2 -0
  433. package/dist/chunk-JWG37OS3.mjs +2 -0
  434. package/dist/chunk-K2HRM33I.mjs +2 -0
  435. package/dist/chunk-K2I7BNJV.mjs +2 -0
  436. package/dist/chunk-K2TWJ5PO.mjs +2 -0
  437. package/dist/chunk-K4LX4244.mjs +2 -0
  438. package/dist/chunk-K52IWIYY.mjs +2 -0
  439. package/dist/chunk-KB2RXLUE.mjs +2 -0
  440. package/dist/chunk-KB4U7Y4R.mjs +2 -0
  441. package/dist/chunk-KC32AHUO.mjs +2 -0
  442. package/dist/chunk-KDDZXXME.mjs +2 -0
  443. package/dist/chunk-KEANR56L.mjs +2 -0
  444. package/dist/chunk-KGIXE343.mjs +2 -0
  445. package/dist/chunk-KGNX7QTP.mjs +2 -0
  446. package/dist/chunk-KH3OICPS.mjs +2 -0
  447. package/dist/chunk-KHEADKCC.mjs +2 -0
  448. package/dist/chunk-KL5LXGBW.mjs +2 -0
  449. package/dist/chunk-KMFVXPPQ.mjs +6 -0
  450. package/dist/chunk-KQ5HZYFF.mjs +2 -0
  451. package/dist/chunk-KQTPY5BM.mjs +2 -0
  452. package/dist/chunk-KQZCIVHY.mjs +2 -0
  453. package/dist/chunk-KRBHXS5G.mjs +2 -0
  454. package/dist/chunk-KT3T3QNT.mjs +2 -0
  455. package/dist/chunk-KTX6MFL6.mjs +2 -0
  456. package/dist/chunk-KUIBLYAD.mjs +2 -0
  457. package/dist/chunk-KWEX23QL.mjs +2 -0
  458. package/dist/chunk-KXPRYJNR.mjs +2 -0
  459. package/dist/chunk-KZ3XZLQR.mjs +2 -0
  460. package/dist/chunk-L2P3OUEF.mjs +2 -0
  461. package/dist/chunk-L3GP3GF6.mjs +2 -0
  462. package/dist/chunk-L4AE7TFU.mjs +2 -0
  463. package/dist/chunk-L65SJHA2.mjs +2 -0
  464. package/dist/chunk-LBEIOVOY.mjs +2 -0
  465. package/dist/chunk-LBSQCMXE.mjs +2 -0
  466. package/dist/chunk-LFHW6FEI.mjs +2 -0
  467. package/dist/chunk-LIR7PTQQ.mjs +2 -0
  468. package/dist/chunk-LJH26UHW.mjs +2 -0
  469. package/dist/chunk-LJTB5EF4.mjs +2 -0
  470. package/dist/chunk-LKS43II7.mjs +2 -0
  471. package/dist/chunk-LNSRQVA7.mjs +2 -0
  472. package/dist/chunk-LOBQM5QI.mjs +2 -0
  473. package/dist/chunk-LPO7YLV4.mjs +2 -0
  474. package/dist/chunk-LQ4JPHD6.mjs +2 -0
  475. package/dist/chunk-LRX2V7TI.mjs +2 -0
  476. package/dist/chunk-LSLSDUQ2.mjs +2 -0
  477. package/dist/chunk-LTHLFFSJ.mjs +2 -0
  478. package/dist/chunk-LUWJHLLJ.mjs +2 -0
  479. package/dist/chunk-LVOG5FSX.mjs +2 -0
  480. package/dist/chunk-LX5FC7F7.mjs +2 -0
  481. package/dist/chunk-LX6GYIQF.mjs +2 -0
  482. package/dist/chunk-LX6ZF63Y.mjs +2 -0
  483. package/dist/chunk-M2BIFZDU.mjs +2 -0
  484. package/dist/chunk-M2LZEWUL.mjs +6 -0
  485. package/dist/chunk-M2YCPNZV.mjs +2 -0
  486. package/dist/chunk-M3BCQN7I.mjs +6 -0
  487. package/dist/chunk-MA4PW3D5.mjs +2 -0
  488. package/dist/chunk-MBK5QEBH.mjs +2 -0
  489. package/dist/chunk-MEZOUFR5.mjs +2 -0
  490. package/dist/chunk-MHOSMHS3.mjs +2 -0
  491. package/dist/chunk-MIMRAWCH.mjs +2 -0
  492. package/dist/chunk-MIQ7OWKA.mjs +2 -0
  493. package/dist/chunk-MMD6FOBN.mjs +2 -0
  494. package/dist/chunk-MNSQ7IOM.mjs +2 -0
  495. package/dist/chunk-MNW6RLNT.mjs +2 -0
  496. package/dist/chunk-MNYB66F3.mjs +2 -0
  497. package/dist/chunk-MOW5BMX3.mjs +2 -0
  498. package/dist/chunk-MOYK3USR.mjs +2 -0
  499. package/dist/chunk-MQ4XKMG5.mjs +2 -0
  500. package/dist/chunk-MQ6PCK5Z.mjs +2 -0
  501. package/dist/chunk-MQW47S7J.mjs +2 -0
  502. package/dist/chunk-MRGRUACX.mjs +2 -0
  503. package/dist/chunk-MSVXMQF3.mjs +2 -0
  504. package/dist/chunk-MT4YGNGK.mjs +2 -0
  505. package/dist/chunk-MTEBNG4E.mjs +2 -0
  506. package/dist/chunk-MTFL6JFN.mjs +2 -0
  507. package/dist/chunk-MTVIRL4R.mjs +2 -0
  508. package/dist/chunk-MV7NFHHC.mjs +6 -0
  509. package/dist/chunk-MW2Z5KZD.mjs +2 -0
  510. package/dist/chunk-MWYNP3VE.mjs +2 -0
  511. package/dist/chunk-MXMDY7LI.mjs +2 -0
  512. package/dist/chunk-MYVDXSOZ.mjs +2 -0
  513. package/dist/chunk-N26OFWOY.mjs +2 -0
  514. package/dist/chunk-N2BMGLNP.mjs +2 -0
  515. package/dist/chunk-N2JSIVHQ.mjs +2 -0
  516. package/dist/chunk-N3BZF5WA.mjs +2 -0
  517. package/dist/chunk-N5AXGBRH.mjs +2 -0
  518. package/dist/chunk-N5LRSO5P.mjs +2 -0
  519. package/dist/chunk-NCYRLZWD.mjs +2 -0
  520. package/dist/chunk-NE2DD5WM.mjs +2 -0
  521. package/dist/chunk-NEKFIZZK.mjs +2 -0
  522. package/dist/chunk-NEYVDPRJ.mjs +2 -0
  523. package/dist/chunk-NHSJXET7.mjs +2 -0
  524. package/dist/chunk-NHXOY5OR.mjs +2 -0
  525. package/dist/chunk-NI6SKIGX.mjs +2 -0
  526. package/dist/chunk-NJ5YQDDU.mjs +2 -0
  527. package/dist/chunk-NJKG7KEC.mjs +2 -0
  528. package/dist/chunk-NJPB5KGL.mjs +2 -0
  529. package/dist/chunk-NJYKROPL.mjs +2 -0
  530. package/dist/chunk-NK2IC4AA.mjs +2 -0
  531. package/dist/chunk-NMJ46UGU.mjs +2 -0
  532. package/dist/chunk-NPA4J6BW.mjs +2 -0
  533. package/dist/chunk-NQBJCDK3.mjs +2 -0
  534. package/dist/chunk-NREMNTAP.mjs +2 -0
  535. package/dist/chunk-NSIJWTOP.mjs +2 -0
  536. package/dist/chunk-NSM4KZLT.mjs +2 -0
  537. package/dist/chunk-NT3FK2JD.mjs +2 -0
  538. package/dist/chunk-NUU735GW.mjs +2 -0
  539. package/dist/chunk-NVL6DYCG.mjs +2 -0
  540. package/dist/chunk-NVSGBNO6.mjs +2 -0
  541. package/dist/chunk-NXERNQ2Z.mjs +2 -0
  542. package/dist/chunk-NXFUIA3P.mjs +2 -0
  543. package/dist/chunk-O2J4RDZE.mjs +2 -0
  544. package/dist/chunk-O45BVEDM.mjs +2 -0
  545. package/dist/chunk-O5AQV4UM.mjs +2 -0
  546. package/dist/chunk-O5QVAXKV.mjs +2 -0
  547. package/dist/chunk-O6GPTD6E.mjs +2 -0
  548. package/dist/chunk-O7ME7FDJ.mjs +2 -0
  549. package/dist/chunk-OA45J5IJ.mjs +2 -0
  550. package/dist/chunk-OAFGXAJR.mjs +2 -0
  551. package/dist/chunk-OAR3DH2V.mjs +2 -0
  552. package/dist/chunk-OBMDUP7K.mjs +2 -0
  553. package/dist/chunk-OD3OJQED.mjs +2 -0
  554. package/dist/chunk-OFCZDOES.mjs +2 -0
  555. package/dist/chunk-OFH4L5VB.mjs +2 -0
  556. package/dist/chunk-OFJ6NAXR.mjs +2 -0
  557. package/dist/chunk-OGDJPWCE.mjs +2 -0
  558. package/dist/chunk-OGTGAZOO.mjs +2 -0
  559. package/dist/chunk-OHB3KX7D.mjs +2 -0
  560. package/dist/chunk-OK6ZXJYA.mjs +2 -0
  561. package/dist/chunk-OLEEOQIL.mjs +2 -0
  562. package/dist/chunk-OLQ5BDWL.mjs +2 -0
  563. package/dist/chunk-OLXD3QEU.mjs +2 -0
  564. package/dist/chunk-OM3HXVEY.mjs +2 -0
  565. package/dist/chunk-OQA4J2OA.mjs +2 -0
  566. package/dist/chunk-OR2PCXR4.mjs +2 -0
  567. package/dist/chunk-OS3OR3PS.mjs +2 -0
  568. package/dist/chunk-OSCD5OWU.mjs +2 -0
  569. package/dist/chunk-OTJXK6OZ.mjs +2 -0
  570. package/dist/chunk-OTZLL7HW.mjs +2 -0
  571. package/dist/chunk-OUMYFZQV.mjs +6 -0
  572. package/dist/chunk-OYSICFWR.mjs +2 -0
  573. package/dist/chunk-P4MB7JLY.mjs +2 -0
  574. package/dist/chunk-P5UAU276.mjs +2 -0
  575. package/dist/chunk-PA3Q43MW.mjs +2 -0
  576. package/dist/chunk-PB2QUOBL.mjs +2 -0
  577. package/dist/chunk-PHHVQS6Z.mjs +2 -0
  578. package/dist/chunk-PJJNWRFF.mjs +2 -0
  579. package/dist/chunk-PKNAYSWN.mjs +2 -0
  580. package/dist/chunk-PLFTPUFD.mjs +2 -0
  581. package/dist/chunk-POVP4Y5N.mjs +2 -0
  582. package/dist/chunk-PQOEXL77.mjs +2 -0
  583. package/dist/chunk-PS6NBYDQ.mjs +2 -0
  584. package/dist/chunk-PVVUJYR3.mjs +2 -0
  585. package/dist/chunk-PZCIKCCM.mjs +2 -0
  586. package/dist/chunk-Q2M4SXDI.mjs +2 -0
  587. package/dist/chunk-Q2UNN4PN.mjs +2 -0
  588. package/dist/chunk-Q2WPRTUE.mjs +6 -0
  589. package/dist/chunk-Q2XR53J4.mjs +2 -0
  590. package/dist/chunk-Q3PKPLG3.mjs +2 -0
  591. package/dist/chunk-Q3SGECW5.mjs +2 -0
  592. package/dist/chunk-Q5DELRIJ.mjs +2 -0
  593. package/dist/chunk-Q5QTNVPY.mjs +6 -0
  594. package/dist/chunk-Q6BX3YXO.mjs +2 -0
  595. package/dist/chunk-Q6LB234W.mjs +2 -0
  596. package/dist/chunk-Q7PNF2PR.mjs +2 -0
  597. package/dist/chunk-QA63J67Z.mjs +2 -0
  598. package/dist/chunk-QADUMR33.mjs +2 -0
  599. package/dist/chunk-QC5LOJNW.mjs +2 -0
  600. package/dist/chunk-QCB5KITB.mjs +2 -0
  601. package/dist/chunk-QFHGJITY.mjs +2 -0
  602. package/dist/chunk-QGHPOT4I.mjs +2 -0
  603. package/dist/chunk-QGSPNYCC.mjs +2 -0
  604. package/dist/chunk-QH6FN4ZJ.mjs +2 -0
  605. package/dist/chunk-QIWQ2GZB.mjs +42 -0
  606. package/dist/chunk-QJGBLFOQ.mjs +2 -0
  607. package/dist/chunk-QJT4D2U4.mjs +2 -0
  608. package/dist/chunk-QJUQTRIR.mjs +2 -0
  609. package/dist/chunk-QKREZRFX.mjs +2 -0
  610. package/dist/chunk-QMWTFZBC.mjs +2 -0
  611. package/dist/chunk-QN36V5W5.mjs +2 -0
  612. package/dist/chunk-QPDSRLPD.mjs +2 -0
  613. package/dist/chunk-QRCLHF3T.mjs +2 -0
  614. package/dist/chunk-QRFCXCWM.mjs +2 -0
  615. package/dist/chunk-QRVWOOH6.mjs +2 -0
  616. package/dist/chunk-QSXL2BV6.mjs +2 -0
  617. package/dist/chunk-QSXXRNNP.mjs +2 -0
  618. package/dist/chunk-QUPLCN2U.mjs +2 -0
  619. package/dist/chunk-QUSF7JGF.mjs +2 -0
  620. package/dist/chunk-QXUTC5TR.mjs +2 -0
  621. package/dist/chunk-QYPFWGYV.mjs +2 -0
  622. package/dist/chunk-R2IGJ54A.mjs +2 -0
  623. package/dist/chunk-R34HZUKA.mjs +2 -0
  624. package/dist/chunk-R34N6B4T.mjs +2 -0
  625. package/dist/chunk-R6MYDQOS.mjs +2 -0
  626. package/dist/chunk-R7IVIZFR.mjs +2 -0
  627. package/dist/chunk-R7QMXACY.mjs +2 -0
  628. package/dist/chunk-R7WOWTGN.mjs +2 -0
  629. package/dist/chunk-R7YZWDX5.mjs +2 -0
  630. package/dist/chunk-RCNZ3YGX.mjs +2 -0
  631. package/dist/chunk-RD5L2QEY.mjs +2 -0
  632. package/dist/chunk-REZHSW4S.mjs +2 -0
  633. package/dist/chunk-RF7LV7JD.mjs +2 -0
  634. package/dist/chunk-RFIQJ2CN.mjs +2 -0
  635. package/dist/chunk-RGL7ODCM.mjs +2 -0
  636. package/dist/chunk-RH7MZT6S.mjs +2 -0
  637. package/dist/chunk-RI7PZPLF.mjs +2 -0
  638. package/dist/chunk-RIBS4LMA.mjs +6 -0
  639. package/dist/chunk-RIC7LZV2.mjs +2 -0
  640. package/dist/chunk-RILF4JZS.mjs +2 -0
  641. package/dist/chunk-RITMH2KH.mjs +6 -0
  642. package/dist/chunk-RKWQQPTZ.mjs +2 -0
  643. package/dist/chunk-RLRLCIGT.mjs +2 -0
  644. package/dist/chunk-RM5F2PTL.mjs +2 -0
  645. package/dist/chunk-RQXRQ6V2.mjs +6 -0
  646. package/dist/chunk-RR36AM5L.mjs +2 -0
  647. package/dist/chunk-RTCWJHAZ.mjs +2 -0
  648. package/dist/chunk-RTNOR7FG.mjs +2 -0
  649. package/dist/chunk-RVKV233H.mjs +2 -0
  650. package/dist/chunk-RXCJZ4EY.mjs +2 -0
  651. package/dist/chunk-RXZCR5HW.mjs +2 -0
  652. package/dist/chunk-RYGAHCJZ.mjs +2 -0
  653. package/dist/chunk-RZVKY5WQ.mjs +6 -0
  654. package/dist/chunk-S2G2QNTU.mjs +2 -0
  655. package/dist/chunk-S3JLR24B.mjs +6 -0
  656. package/dist/chunk-S7SLPJUD.mjs +2 -0
  657. package/dist/chunk-SBD7QUFN.mjs +2 -0
  658. package/dist/chunk-SBESRPQS.mjs +2 -0
  659. package/dist/chunk-SBHYKUQD.mjs +2 -0
  660. package/dist/chunk-SFEF2BD5.mjs +2 -0
  661. package/dist/chunk-SGR3AU5Y.mjs +2 -0
  662. package/dist/chunk-SHIWHZZB.mjs +2 -0
  663. package/dist/chunk-SHTKENVI.mjs +2 -0
  664. package/dist/chunk-SIFCGI3S.mjs +2 -0
  665. package/dist/chunk-SJNNS5KO.mjs +2 -0
  666. package/dist/chunk-SKQA4XRH.mjs +2 -0
  667. package/dist/chunk-SLGEE5NN.mjs +2 -0
  668. package/dist/chunk-SLTX6CSR.mjs +2 -0
  669. package/dist/chunk-SM2N4NMR.mjs +2 -0
  670. package/dist/chunk-SOWHNQN5.mjs +2 -0
  671. package/dist/chunk-SOXECBQH.mjs +2 -0
  672. package/dist/chunk-SQXHD4VQ.mjs +2 -0
  673. package/dist/chunk-SRFZQFVD.mjs +2 -0
  674. package/dist/chunk-STMUD6H7.mjs +2 -0
  675. package/dist/chunk-SXSFQQ5G.mjs +2 -0
  676. package/dist/chunk-SYK3XTY7.mjs +2 -0
  677. package/dist/chunk-SZVEVGDP.mjs +2 -0
  678. package/dist/chunk-SZYGCVGM.mjs +2 -0
  679. package/dist/chunk-T3Y2XIS7.mjs +2 -0
  680. package/dist/chunk-T474MPQ6.mjs +2 -0
  681. package/dist/chunk-T4H5YFJL.mjs +2 -0
  682. package/dist/chunk-T6MIDJ53.mjs +2 -0
  683. package/dist/chunk-TB6CB4YG.mjs +2 -0
  684. package/dist/chunk-TC4CTKUA.mjs +2 -0
  685. package/dist/chunk-TDXL4PFA.mjs +2 -0
  686. package/dist/chunk-TELDIJWS.mjs +2 -0
  687. package/dist/chunk-TETQHLMW.mjs +2 -0
  688. package/dist/chunk-TFQACJ6S.mjs +6 -0
  689. package/dist/chunk-TGD7DV3I.mjs +2 -0
  690. package/dist/chunk-TIGNYHHJ.mjs +2 -0
  691. package/dist/chunk-TKPFM3JJ.mjs +2 -0
  692. package/dist/chunk-TMGWT5QJ.mjs +2 -0
  693. package/dist/chunk-TN7ZOQLF.mjs +2 -0
  694. package/dist/chunk-TRJOOFWN.mjs +2 -0
  695. package/dist/chunk-TU6YLTLA.mjs +2 -0
  696. package/dist/chunk-TW4X3ZZW.mjs +2 -0
  697. package/dist/chunk-TWNUJDF6.mjs +2 -0
  698. package/dist/chunk-TWNYZYFS.mjs +2 -0
  699. package/dist/chunk-TYC3FAWV.mjs +2 -0
  700. package/dist/chunk-TYD7M34C.mjs +2 -0
  701. package/dist/chunk-TYSFGS7L.mjs +2 -0
  702. package/dist/chunk-TZXMPIUM.mjs +2 -0
  703. package/dist/chunk-U5XYVZXI.mjs +2 -0
  704. package/dist/chunk-U6PBHDKM.mjs +2 -0
  705. package/dist/chunk-UA7MAREN.mjs +2 -0
  706. package/dist/chunk-UCACTUMD.mjs +2 -0
  707. package/dist/chunk-UDXG2XHT.mjs +2 -0
  708. package/dist/chunk-UEFNI2OT.mjs +2 -0
  709. package/dist/chunk-UGXB4KQU.mjs +2 -0
  710. package/dist/chunk-UI57ZQAZ.mjs +2 -0
  711. package/dist/chunk-UISVFKBM.mjs +2 -0
  712. package/dist/chunk-UKO4SIZX.mjs +2 -0
  713. package/dist/chunk-ULBOF2RM.mjs +2 -0
  714. package/dist/chunk-UMU4JC6U.mjs +2 -0
  715. package/dist/chunk-UNNG2LQE.mjs +2 -0
  716. package/dist/chunk-UNWQ2GDL.mjs +2 -0
  717. package/dist/chunk-URQ6VAI6.mjs +2 -0
  718. package/dist/chunk-UT27LN3G.mjs +2 -0
  719. package/dist/chunk-UUJAPLJI.mjs +2 -0
  720. package/dist/chunk-UVBZCZYZ.mjs +2 -0
  721. package/dist/chunk-UVY4N5QC.mjs +2 -0
  722. package/dist/chunk-UWUGXKFT.mjs +2 -0
  723. package/dist/chunk-UXC5MHWG.mjs +2 -0
  724. package/dist/chunk-UZO2SH3Q.mjs +2 -0
  725. package/dist/chunk-UZOJ76WA.mjs +2 -0
  726. package/dist/chunk-UZTVL3VV.mjs +2 -0
  727. package/dist/chunk-V3RMYYRV.mjs +2 -0
  728. package/dist/chunk-V3YYQWZ2.mjs +2 -0
  729. package/dist/chunk-V5UYJMRF.mjs +2 -0
  730. package/dist/chunk-VABJGP2A.mjs +2 -0
  731. package/dist/chunk-VACLKDBS.mjs +2 -0
  732. package/dist/chunk-VAJV23JM.mjs +2 -0
  733. package/dist/chunk-VBS6VRPK.mjs +2 -0
  734. package/dist/chunk-VC7BKJ4J.mjs +2 -0
  735. package/dist/chunk-VEJEF3EI.mjs +2 -0
  736. package/dist/chunk-VGIZ6R74.mjs +2 -0
  737. package/dist/chunk-VIAHXBAZ.mjs +2 -0
  738. package/dist/chunk-VIHCEQ35.mjs +2 -0
  739. package/dist/chunk-VKLIPXRE.mjs +2 -0
  740. package/dist/chunk-VMROV6KL.mjs +2 -0
  741. package/dist/chunk-VP5BOOFR.mjs +2 -0
  742. package/dist/chunk-VPZHMZWI.mjs +2 -0
  743. package/dist/chunk-VR6AMEJG.mjs +2 -0
  744. package/dist/chunk-VRJGODGN.mjs +2 -0
  745. package/dist/chunk-VT3LDZIM.mjs +2 -0
  746. package/dist/chunk-VTYYTF6B.mjs +2 -0
  747. package/dist/chunk-VU5CRY7C.mjs +2 -0
  748. package/dist/chunk-VUHK6PSF.mjs +2 -0
  749. package/dist/chunk-VV42FFAZ.mjs +2 -0
  750. package/dist/chunk-VVYINH53.mjs +2 -0
  751. package/dist/chunk-VX4GHBDS.mjs +2 -0
  752. package/dist/chunk-VYXZEMIO.mjs +2 -0
  753. package/dist/chunk-W2U2OUPW.mjs +2 -0
  754. package/dist/chunk-W364H3FK.mjs +2 -0
  755. package/dist/chunk-W46UZ3MC.mjs +6 -0
  756. package/dist/chunk-W4AVHUNG.mjs +2 -0
  757. package/dist/chunk-W4CSW63V.mjs +2 -0
  758. package/dist/chunk-W7MKCQML.mjs +2 -0
  759. package/dist/chunk-WA2YAR2Q.mjs +2 -0
  760. package/dist/chunk-WEHEDJI2.mjs +2 -0
  761. package/dist/chunk-WF22VPJI.mjs +2 -0
  762. package/dist/chunk-WFY4LT4I.mjs +2 -0
  763. package/dist/chunk-WHHAYBLN.mjs +2 -0
  764. package/dist/chunk-WHK525GM.mjs +6 -0
  765. package/dist/chunk-WJ5TM3XV.mjs +2 -0
  766. package/dist/chunk-WJL2LNCC.mjs +2 -0
  767. package/dist/chunk-WJYK4XKE.mjs +2 -0
  768. package/dist/chunk-WO6PNFGB.mjs +2 -0
  769. package/dist/chunk-WODB4S73.mjs +2 -0
  770. package/dist/chunk-WOYEGCG5.mjs +2 -0
  771. package/dist/chunk-WPUW5C2X.mjs +2 -0
  772. package/dist/chunk-WSVFU347.mjs +2 -0
  773. package/dist/chunk-WXYOZJHY.mjs +2 -0
  774. package/dist/chunk-WY2DV6PM.mjs +2 -0
  775. package/dist/chunk-WZ3D2P2L.mjs +2 -0
  776. package/dist/chunk-X2X52H6Q.mjs +2 -0
  777. package/dist/chunk-X57ZMV5G.mjs +42 -0
  778. package/dist/chunk-X5LFXKWQ.mjs +2 -0
  779. package/dist/chunk-X635T6QB.mjs +2 -0
  780. package/dist/chunk-X7EZR37V.mjs +2 -0
  781. package/dist/chunk-XB2SXI54.mjs +2 -0
  782. package/dist/chunk-XBVWQEAF.mjs +2 -0
  783. package/dist/chunk-XC3OGC6T.mjs +2 -0
  784. package/dist/chunk-XDG64UW4.mjs +42 -0
  785. package/dist/chunk-XEBNXIVB.mjs +2 -0
  786. package/dist/chunk-XEMIUF7G.mjs +2 -0
  787. package/dist/chunk-XET57POI.mjs +2 -0
  788. package/dist/chunk-XGKQSPMT.mjs +2 -0
  789. package/dist/chunk-XHZDYDGA.mjs +2 -0
  790. package/dist/chunk-XKDLJI4L.mjs +2 -0
  791. package/dist/chunk-XKWXYNGS.mjs +2 -0
  792. package/dist/chunk-XLUQRBXG.mjs +2 -0
  793. package/dist/chunk-XLYULPKE.mjs +42 -0
  794. package/dist/chunk-XMXXBDZ6.mjs +2 -0
  795. package/dist/chunk-XNKP6J3D.mjs +2 -0
  796. package/dist/chunk-XOQYO3MD.mjs +2 -0
  797. package/dist/chunk-XPMISWVC.mjs +2 -0
  798. package/dist/chunk-XQY5Z4CQ.mjs +2 -0
  799. package/dist/chunk-XTVSACXI.mjs +2 -0
  800. package/dist/chunk-XVCIQW5T.mjs +2 -0
  801. package/dist/chunk-XYICSYXJ.mjs +2 -0
  802. package/dist/chunk-XYMDKMFR.mjs +2 -0
  803. package/dist/chunk-Y4OHYBFS.mjs +2 -0
  804. package/dist/chunk-Y4SVPQBG.mjs +2 -0
  805. package/dist/chunk-YFDFNJ5V.mjs +2 -0
  806. package/dist/chunk-YGLAATIJ.mjs +2 -0
  807. package/dist/chunk-YHA2HDV3.mjs +2 -0
  808. package/dist/chunk-YIMAVU5A.mjs +2 -0
  809. package/dist/chunk-YIOZBFRA.mjs +2 -0
  810. package/dist/chunk-YJZEYIQZ.mjs +2 -0
  811. package/dist/chunk-YLSN2LF6.mjs +2 -0
  812. package/dist/chunk-YLXUKBAI.mjs +2 -0
  813. package/dist/chunk-YM32AZQI.mjs +2 -0
  814. package/dist/chunk-YMK4KMHG.mjs +6 -0
  815. package/dist/chunk-YNHH3PG6.mjs +2 -0
  816. package/dist/chunk-YO64OMDM.mjs +2 -0
  817. package/dist/chunk-YQ4EX5DM.mjs +2 -0
  818. package/dist/chunk-YQCS3KN5.mjs +2 -0
  819. package/dist/chunk-YREE6BEX.mjs +2 -0
  820. package/dist/chunk-YSTJ6GOV.mjs +6 -0
  821. package/dist/chunk-YTPIFMGM.mjs +2 -0
  822. package/dist/chunk-YVX42D3Z.mjs +2 -0
  823. package/dist/chunk-YWP3HAC6.mjs +6 -0
  824. package/dist/chunk-YXIRTV5G.mjs +2 -0
  825. package/dist/chunk-YYJOVNLA.mjs +2 -0
  826. package/dist/chunk-YZ2Z23XS.mjs +2 -0
  827. package/dist/chunk-YZJCGYTA.mjs +2 -0
  828. package/dist/chunk-Z34BMFFK.mjs +2 -0
  829. package/dist/chunk-Z4THZ6WH.mjs +2 -0
  830. package/dist/chunk-Z64XUHAW.mjs +2 -0
  831. package/dist/chunk-Z7KAEZ4K.mjs +2 -0
  832. package/dist/chunk-ZBWF34E7.mjs +2 -0
  833. package/dist/chunk-ZBYJCAJO.mjs +6 -0
  834. package/dist/chunk-ZDDSDMS3.mjs +2 -0
  835. package/dist/chunk-ZFGCJK4N.mjs +2 -0
  836. package/dist/chunk-ZGZ2TWEG.mjs +2 -0
  837. package/dist/chunk-ZJCUSBI5.mjs +2 -0
  838. package/dist/chunk-ZKX4FB6T.mjs +2 -0
  839. package/dist/chunk-ZKY424WN.mjs +2 -0
  840. package/dist/chunk-ZNS6UXYD.mjs +2 -0
  841. package/dist/chunk-ZPLAPR3N.mjs +2 -0
  842. package/dist/chunk-ZR34FTMG.mjs +2 -0
  843. package/dist/chunk-ZRP2UI3U.mjs +2 -0
  844. package/dist/chunk-ZSYM4Y4M.mjs +2 -0
  845. package/dist/chunk-ZTYBIDGM.mjs +2 -0
  846. package/dist/chunk-ZUUZPEID.mjs +2 -0
  847. package/dist/chunk-ZWRU6TJF.mjs +2 -0
  848. package/dist/chunk-ZXIYIM5M.mjs +2 -0
  849. package/dist/combobox/index.d.ts +13 -0
  850. package/dist/combobox/index.mjs +1 -1
  851. package/dist/composite-logo.mjs +1 -1
  852. package/dist/copy-button.mjs +1 -1
  853. package/dist/copy-text.mjs +1 -1
  854. package/dist/counting-numbers.mjs +1 -1
  855. package/dist/date-picker/calendar.mjs +1 -1
  856. package/dist/date-picker/date-range-picker.mjs +1 -1
  857. package/dist/date-picker/presets.mjs +1 -1
  858. package/dist/date-picker/trigger.mjs +1 -1
  859. package/dist/file-upload.d.ts +2 -1
  860. package/dist/file-upload.mjs +1 -1
  861. package/dist/filter/filter-list.mjs +1 -1
  862. package/dist/filter/filter-select.mjs +1 -1
  863. package/dist/footer.mjs +1 -1
  864. package/dist/form.mjs +1 -1
  865. package/dist/grid.mjs +1 -1
  866. package/dist/hooks/use-copy-to-clipboard.d.ts +3 -0
  867. package/dist/hooks/use-copy-to-clipboard.mjs +2 -0
  868. package/dist/hooks/use-keyboard-shortcut.mjs +1 -1
  869. package/dist/icons/continents/index.mjs +1 -1
  870. package/dist/icons/default-domains/amazon.mjs +1 -1
  871. package/dist/icons/default-domains/chatgpt.mjs +1 -1
  872. package/dist/icons/default-domains/figma.mjs +1 -1
  873. package/dist/icons/default-domains/github-enhanced.mjs +1 -1
  874. package/dist/icons/default-domains/google-enhanced.mjs +1 -1
  875. package/dist/icons/default-domains/spotify.mjs +1 -1
  876. package/dist/icons/expanding-arrow.mjs +1 -1
  877. package/dist/icons/index.d.ts +13 -0
  878. package/dist/icons/index.mjs +1 -1
  879. package/dist/icons/linkedin.mjs +1 -1
  880. package/dist/icons/loading-circle.mjs +1 -1
  881. package/dist/icons/loading-spinner.mjs +1 -1
  882. package/dist/icons/nucleo/calendar6.d.ts +6 -0
  883. package/dist/icons/nucleo/calendar6.mjs +2 -0
  884. package/dist/icons/nucleo/color-palette2.d.ts +6 -0
  885. package/dist/icons/nucleo/color-palette2.mjs +2 -0
  886. package/dist/icons/nucleo/connected-dots4.d.ts +6 -0
  887. package/dist/icons/nucleo/connected-dots4.mjs +2 -0
  888. package/dist/icons/nucleo/connections3.d.ts +6 -0
  889. package/dist/icons/nucleo/connections3.mjs +2 -0
  890. package/dist/icons/nucleo/file-zip2.d.ts +6 -0
  891. package/dist/icons/nucleo/file-zip2.mjs +2 -0
  892. package/dist/icons/nucleo/folder.mjs +1 -1
  893. package/dist/icons/nucleo/gauge6.d.ts +6 -0
  894. package/dist/icons/nucleo/gauge6.mjs +2 -0
  895. package/dist/icons/nucleo/greek-temple.d.ts +6 -0
  896. package/dist/icons/nucleo/greek-temple.mjs +2 -0
  897. package/dist/icons/nucleo/grid.d.ts +6 -0
  898. package/dist/icons/nucleo/grid.mjs +2 -0
  899. package/dist/icons/nucleo/money-bill2.d.ts +6 -0
  900. package/dist/icons/nucleo/money-bill2.mjs +2 -0
  901. package/dist/icons/nucleo/money-bills2.d.ts +6 -0
  902. package/dist/icons/nucleo/money-bills2.mjs +2 -0
  903. package/dist/icons/nucleo/palette-2.d.ts +6 -0
  904. package/dist/icons/nucleo/palette-2.mjs +2 -0
  905. package/dist/icons/nucleo/post.d.ts +6 -0
  906. package/dist/icons/nucleo/post.mjs +2 -0
  907. package/dist/icons/sort-order.mjs +1 -1
  908. package/dist/icons/twitter.mjs +1 -1
  909. package/dist/icons/youtube.mjs +1 -1
  910. package/dist/index.css +1 -1
  911. package/dist/index.d.ts +25 -4
  912. package/dist/index.mjs +1 -1
  913. package/dist/input-select.mjs +1 -1
  914. package/dist/input.mjs +1 -1
  915. package/dist/label.mjs +1 -1
  916. package/dist/link-logo.mjs +1 -1
  917. package/dist/link-preview.mjs +1 -1
  918. package/dist/logo.mjs +1 -1
  919. package/dist/max-width-wrapper.mjs +1 -1
  920. package/dist/modal.mjs +1 -1
  921. package/dist/nav/content/product-content.mjs +1 -1
  922. package/dist/nav/content/resources-content.mjs +1 -1
  923. package/dist/nav/content/shared.mjs +1 -1
  924. package/dist/nav/content/solutions-content.mjs +1 -1
  925. package/dist/nav/nav-mobile.mjs +1 -1
  926. package/dist/nav/nav.mjs +1 -1
  927. package/dist/nav-logo.d.ts +2 -2
  928. package/dist/nav-logo.mjs +1 -1
  929. package/dist/nav-wordmark.d.ts +13 -0
  930. package/dist/nav-wordmark.mjs +2 -0
  931. package/dist/popover.mjs +1 -1
  932. package/dist/progress-bar.mjs +1 -1
  933. package/dist/radio-group.mjs +1 -1
  934. package/dist/sheet.d.ts +13 -19
  935. package/dist/sheet.mjs +1 -1
  936. package/dist/shimmer-dots.mjs +1 -1
  937. package/dist/status-badge.d.ts +13 -0
  938. package/dist/status-badge.mjs +1 -1
  939. package/dist/switch.mjs +1 -1
  940. package/dist/tab-select.mjs +1 -1
  941. package/dist/table/table.d.ts +2 -1
  942. package/dist/table/table.mjs +1 -1
  943. package/dist/toggle-group.mjs +1 -1
  944. package/dist/tooltip.d.ts +1 -1
  945. package/dist/tooltip.mjs +1 -1
  946. package/dist/utm-builder.mjs +1 -1
  947. package/dist/wordmark.mjs +1 -1
  948. package/package.json +1 -1
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{d as l,e as p}from"./chunk-3SJTHXXN.mjs";import{a as s,c as n}from"./chunk-EBUKVIVE.mjs";import{b as i,j as e}from"./chunk-7OZYU3QM.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 U}from"./chunk-RR36AM5L.mjs";import{a as q}from"./chunk-OHB3KX7D.mjs";import{c as C}from"./chunk-NEKFIZZK.mjs";import{a as I}from"./chunk-LPO7YLV4.mjs";import{a as H}from"./chunk-GGHBVHFY.mjs";import{a as F}from"./chunk-NWME2ANF.mjs";import{j as T}from"./chunk-73LCVKEY.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{e as _}from"./chunk-YMK4KMHG.mjs";import{a as x,f as y,g as v}from"./chunk-MTVIRL4R.mjs";import{a as N}from"./chunk-LOBQM5QI.mjs";import{a as f}from"./chunk-ET462HEE.mjs";import{a as b}from"./chunk-RIC7LZV2.mjs";import{a as h}from"./chunk-KRBHXS5G.mjs";import{a as p}from"./chunk-ALEYOCBW.mjs";import{b as o,i as d,j as n,l as g}from"./chunk-5BX765AZ.mjs";import T from"next/image";import s from"next/link";import{useParams as E}from"next/navigation";import{useEffect as F,useState as w}from"react";import A from"swr";import{jsx as e,jsxs as r}from"react/jsx-runtime";var m={features:x.map(({title:t,href:a})=>({name:t,href:a})),product:[{name:"Blog",href:"/blog"},{name:"Brand",href:"/brand"},{name:"Changelog",href:"/changelog"},{name:"Customers",href:"/customers"},{name:"Enterprise",href:"/enterprise"},{name:"Pricing",href:"/pricing"},{name:"Help Center",href:"/help"}],compare:y.map(({name:t,slug:a})=>({name:t,href:`/compare/${a}`})),legal:v.map(({name:t,slug:a})=>({name:t,href:`/legal/${a}`})),tools:g.map(({name:t,slug:a})=>({name:t,href:`/tools/${a}`}))};function Y(){let{domain:t="dub.co"}=E();return e("footer",{children:r(N,{className:"relative z-10 overflow-hidden border border-b-0 border-gray-200 bg-white/50 pb-60 pt-16 backdrop-blur-lg md:rounded-t-2xl",children:[r("div",{className:"xl:grid xl:grid-cols-3 xl:gap-8",children:[r("div",{className:"space-y-6",children:[r(s,{href:o("/",t,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:t,utm_content:"Logo"}),className:"block max-w-fit",children:[r("span",{className:"sr-only",children:[process.env.NEXT_PUBLIC_APP_NAME," Logo"]}),e(_,{className:"h-8 text-gray-800"})]}),e("p",{className:"max-w-xs text-sm text-gray-500",children:"Giving modern marketing teams superpowers with short links that stand out."}),r("p",{className:"text-sm leading-5 text-gray-400",children:["\xA9 ",new Date().getFullYear()," Dub Technologies, Inc."]}),r("div",{className:"flex items-center space-x-3",children:[r("a",{href:"https://twitter.com/dubdotco",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"Twitter"}),e(f,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-black"})]}),r("a",{href:"https://github.com/dubinc/dub",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"Github"}),e(p,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-black"})]}),r("a",{href:"https://www.linkedin.com/company/dubinc",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"LinkedIn"}),e(h,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-[#0077b5]"})]}),r("a",{href:"https://www.youtube.com/@dubdotco",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"YouTube"}),e(b,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-[#ff0000]"})]})]}),e(D,{})]}),r("div",{className:"mt-16 grid grid-cols-2 gap-4 xl:col-span-2 xl:mt-0",children:[r("div",{className:"md:grid md:grid-cols-2",children:[r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Features"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.features.map(a=>e("li",{children:e(s,{href:o(a.href,t,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:t,utm_content:a.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.name))})]}),r("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Product"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.product.map(a=>e("li",{children:e(s,{href:o(a.href,t,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:t,utm_content:a.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.name))})]})]}),r("div",{className:"md:grid md:grid-cols-2",children:[r("div",{className:"flex flex-col space-y-8",children:[r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Compare"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.compare.map(a=>e("li",{children:e(s,{href:o(a.href,t,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:t,utm_content:a.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.name))})]}),r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Legal"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.legal.map(a=>e("li",{children:e(s,{href:o(a.href,t,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:t,utm_content:a.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.name))})]})]}),r("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Tools"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.tools.map(a=>e("li",{children:e(s,{href:o(a.href,t,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:t,utm_content:a.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.name))})]})]})]})]}),e(T,{src:"https://assets.dub.co/footer.png",alt:"Dub Technologies, Inc. Logo",width:1959,height:625,className:"pointer-events-none absolute inset-x-0 bottom-0 z-0"})]})})}function D(){let{data:t}=A("https://status.dub.co/api/v1/summary",d),[a,l]=w("bg-gray-200"),[i,c]=w("Loading status...");return F(()=>{if(!t)return;let{ongoing_incidents:u}=t;if(u.length>0){let{current_worst_impact:k,name:L}=u[0],C=k==="degraded_performance"?"bg-yellow-500":"bg-red-500";c(L),l(C)}else c("All systems operational"),l("bg-green-500")},[t]),r(s,{href:"https://status.dub.co",target:"_blank",className:"group flex max-w-fit items-center space-x-2 rounded-md border border-gray-200 bg-white px-3 py-2 transition-colors hover:bg-gray-100",children:[r("div",{className:"relative h-3 w-3",children:[e("div",{className:n("absolute inset-0 m-auto h-3 w-3 animate-ping items-center justify-center rounded-full group-hover:animate-none",a,i==="Loading status..."&&"animate-none")}),e("div",{className:n("absolute inset-0 z-10 m-auto h-3 w-3 rounded-full",a)})]}),e("p",{className:"text-sm font-medium text-gray-800",children:i})]})}export{Y as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as E}from"./chunk-GVBIGY6N.mjs";import{a as A}from"./chunk-NWME2ANF.mjs";import{a as T}from"./chunk-46A6V7VD.mjs";import{b as O}from"./chunk-LBSQCMXE.mjs";import{j as g}from"./chunk-OTJXK6OZ.mjs";import{flip as G,offset as J,size as U,useDismiss as W,useFloating as Y,useInteractions as Z}from"@floating-ui/react";import{Command as i,useCommandState as ee}from"cmdk";import{Check as te,ChevronDown as ae,Search as w,X as oe}from"lucide-react";import{createContext as re,forwardRef as se,useContext as L,useEffect as C,useMemo as le,useRef as F,useState as N}from"react";import{Drawer as f}from"vaul";import{jsx as e,jsxs as o}from"react/jsx-runtime";var v=re({inputAttrs:{},openCommandList:!1,setOpenCommandList:()=>{},inputValue:"",setInputValue:()=>{},disabled:!1,selectedItem:null,setSelectedItem:()=>{}});function we({items:r,selectedItem:a,setSelectedItem:d,className:s,disabled:t,adjustForMobile:u,icon:b,inputAttrs:x,noItemsElement:p}){let l=F(null),[c,y]=N(!1),[n,P]=N(""),[D,M]=N(!1);C(()=>{c&&M(!1)},[c]),C(()=>M(!0),[n]),C(()=>{a&&P(a.value)},[a]);let k=le(()=>{let m=n.toLowerCase();return D?r.filter(h=>h.value.toLowerCase().includes(m)):n?r.sort((h,q)=>(q.value.toLowerCase().includes(m)?1:0)-(h.value.toLowerCase().includes(m)?1:0)):r},[D,n,r]),{refs:R,floatingStyles:z,context:j}=Y({open:c,onOpenChange:y,middleware:[J(8),U({apply({elements:{floating:m},availableHeight:h}){Object.assign(m.style,{maxHeight:`${Math.max(75,Math.min(h,290))}px`})},padding:8}),G({fallbackStrategy:"initialPlacement",padding:8})]}),B=W(j),{getReferenceProps:K,getFloatingProps:$}=Z([B]),V=F(null),{scrollProgress:Q,updateScrollProgress:X}=E(V),{isMobile:_}=A();return e(v.Provider,{value:{inputAttrs:x||{},openCommandList:c,setOpenCommandList:y,inputValue:n,setInputValue:P,disabled:Boolean(t),selectedItem:a,setSelectedItem:d},children:_&&u?o(f.Root,{open:c,onOpenChange:y,children:[e(f.Trigger,{className:"sm:hidden",asChild:!0,children:e(i,{ref:l,className:"relative",shouldFilter:!1,loop:!0,children:o("div",{className:g("group relative rounded-md border border-gray-300 bg-white px-1 focus-within:border-gray-500 focus-within:ring-1 focus-within:ring-gray-500 md:min-w-[140px]",s),children:[e("div",{className:"absolute inset-y-0 left-0 flex items-center justify-center pl-3 text-gray-400",children:a&&a.image?e("img",{src:a.image,alt:a.value,className:"h-4 w-4 rounded-full"}):b||e(w,{className:"h-4 w-4 text-gray-400"})}),o("div",{className:"flex h-10 px-8",children:[e(S,{}),e(I,{})]})]})})}),e(f.Overlay,{className:"fixed inset-0 z-40 bg-gray-100 bg-opacity-10 backdrop-blur"}),o(f.Portal,{children:[e(f.Content,{className:"fixed bottom-0 left-0 right-0 z-50 mt-24 rounded-t-lg border-t border-gray-200 bg-white",children:o(i,{ref:l,className:"relative",shouldFilter:!1,loop:!0,children:[o("div",{className:g("group relative mb-2 rounded-t-md border-b border-gray-300 bg-white p-1 sm:border sm:py-0 sm:focus-within:border-gray-500 sm:focus-within:ring-1 sm:focus-within:ring-gray-200",s),children:[e("div",{className:"absolute inset-y-0 left-0 flex items-center justify-center pl-3 text-gray-400",children:a&&a.image?e("img",{src:a.image,alt:a.value,className:"h-4 w-4 rounded-full"}):b||e(w,{className:"h-4 w-4 text-gray-400"})}),o("div",{className:"flex h-10 px-8",children:[e(S,{}),e(I,{})]})]}),c&&o(i.List,{className:"dub-scrollbar h-[70vh] overflow-y-auto p-2",children:[r.length===0&&n===""&&(p?e("div",{children:p}):e("p",{className:"px-4 py-2 text-sm text-gray-600",children:"No items found."})),n!==""&&e(i.Empty,{className:"px-4 py-2 text-sm text-gray-600",children:"No results found."}),e(H,{items:k})]})]})}),e(f.Overlay,{})]})]}):o(i,{ref:l,className:"relative",shouldFilter:!1,loop:!0,children:[o("div",{className:g("group rounded-md border border-gray-200 bg-white px-1 transition-all focus-within:border-gray-500 focus-within:ring-4 focus-within:ring-gray-200",s),children:[e("div",{onClick:()=>y(m=>!m),className:"absolute inset-y-0 left-0 flex cursor-pointer items-center justify-center pl-3 text-gray-400",children:a&&a.image?e("img",{src:a.image,alt:a.value,className:"h-4 w-4 rounded-full"}):b||e(w,{className:"h-4 w-4 text-gray-400"})}),o("div",{className:"flex h-10 px-8",children:[e(S,{ref:R.setReference,...K()}),e(I,{})]})]}),c&&o("div",{ref:R.setFloating,style:z,...$(),className:"z-20 flex w-full min-w-[160px] flex-col overflow-hidden rounded-md border border-gray-200 bg-white shadow-md",children:[o("div",{ref:V,onScroll:X,className:"grow overflow-y-auto p-2",children:[o(i.List,{children:[r.length===0&&n===""&&(p?e("div",{children:p}):e("p",{className:"px-4 py-2 text-sm text-gray-600",children:"No items found."})),n!==""&&e(i.Empty,{className:"px-4 py-2 text-sm text-gray-600",children:"No results found."})]}),e(H,{items:k})]}),e("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(Q,2)}})]})]})})}var S=se((r,a)=>{let d=ee(l=>l.filtered.count===0),{inputAttrs:s,openCommandList:t,setOpenCommandList:u,inputValue:b,setInputValue:x,disabled:p}=L(v);return e(i.Input,{ref:a,placeholder:(s==null?void 0:s.placeholder)||"Search...",autoFocus:t,onFocus:()=>u(!0),value:b,onValueChange:x,onKeyDown:l=>{l.key==="Escape"?(l.preventDefault(),u(!1)):l.key==="Enter"&&d?u(!1):l.key.match(/^[a-z0-9]$/i)&&!l.metaKey&&u(!0)},disabled:p,className:"block w-full truncate rounded-md border-none px-0 text-base text-gray-900 placeholder-gray-400 outline-none outline-0 transition-all duration-300 focus:ring-0 md:text-sm",autoCapitalize:"none"})});function I(){let{setSelectedItem:r,openCommandList:a,setOpenCommandList:d,inputValue:s,setInputValue:t}=L(v);return e("button",{type:"button",onClick:()=>{d(u=>!u),r(null),t("")},className:"absolute inset-y-0 right-0 my-auto pr-3",children:s.length>0?e(oe,{className:"h-4 w-4 text-gray-400 transition-all hover:text-gray-700"}):e(ae,{className:g("h-4 w-4 text-gray-400 transition-all hover:text-gray-700",{"rotate-180 transform":a})})})}function H({items:r}){let{setSelectedItem:a,setOpenCommandList:d,setInputValue:s}=L(v);return r.map(t=>o(i.Item,{value:t.value,disabled:t.disabled,onSelect:()=>{a(t),s(t.value),d(!1)},className:"group flex cursor-pointer items-center justify-between rounded-md px-4 py-2 text-sm text-gray-900 hover:bg-gray-100 hover:text-gray-900 active:bg-gray-200 aria-disabled:cursor-not-allowed aria-disabled:opacity-75 aria-disabled:hover:bg-white aria-selected:bg-gray-100 aria-selected:text-gray-900",children:[o("div",{className:"flex items-center space-x-2",children:[t.image&&e(T,{src:t.image,alt:t.value,className:"h-4 w-4 rounded-full",width:16,height:16}),e("p",{className:g("whitespace-nowrap py-0.5 text-sm",t.color&&"rounded-md px-2",t.color==="red"&&"bg-red-100 text-red-600",t.color==="yellow"&&"bg-yellow-100 text-yellow-600",t.color==="green"&&"bg-green-100 text-green-600",t.color==="blue"&&"bg-blue-100 text-blue-600",t.color==="purple"&&"bg-purple-100 text-purple-600",t.color==="brown"&&"bg-brown-100 text-brown-600"),children:t.value}),t.label&&e(O,{className:"text-xs",variant:"neutral",children:t.label})]}),e(te,{className:"invisible h-5 w-5 text-gray-500 aria-selected:visible"})]},t.id))}export{we as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{j as n}from"./chunk-PA3Q43MW.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 p}from"./chunk-NWME2ANF.mjs";import{b as l}from"./chunk-SM2N4NMR.mjs";import{a as v}from"./chunk-4KAIJ2PN.mjs";import{a as h}from"./chunk-U4QIRPVU.mjs";import{a as b}from"./chunk-RKUUDTHF.mjs";import{a as f}from"./chunk-GLJR2QX5.mjs";import{a as g}from"./chunk-3IVWKAUU.mjs";import{a as u}from"./chunk-GHXIGUPQ.mjs";import{j as n}from"./chunk-ASW4CA57.mjs";import{useEffect as k,useId as C,useRef as P,useState as A}from"react";import{jsx as e,jsxs as s}from"react/jsx-runtime";var H=[{key:"utm_source",icon:g,label:"Source",placeholder:"google",description:"Where the traffic is coming from"},{key:"utm_medium",icon:v,label:"Medium",placeholder:"cpc",description:"How the traffic is coming"},{key:"utm_campaign",icon:u,label:"Campaign",placeholder:"summer_sale",description:"The name of the campaign"},{key:"utm_term",icon:b,label:"Term",placeholder:"running shoes",description:"The term of the campaign"},{key:"utm_content",icon:h,label:"Content",placeholder:"logolink",description:"The content of the campaign"},{key:"ref",icon:f,label:"Referral",placeholder:"yoursite.com",description:"The referral of the campaign"}];function B({values:t,onChange:a,disabled:y,autoFocus:T,disabledTooltip:c,className:N}){let{isMobile:x}=p(),d=C(),[m,R]=A(!1),r=P(null);return k(()=>{r.current&&!x&&T&&setTimeout(()=>{var o;return(o=r.current)==null?void 0:o.focus()},10)},[]),e("div",{className:n("grid gap-y-3",N),children:H.map(({key:o,icon:M,label:_,placeholder:w,description:E},S)=>e("div",{className:"group relative",children:s("div",{className:"relative z-10 flex",children:[e(l,{content:s("div",{className:"p-3 text-center text-xs",children:[e("p",{className:"text-gray-600",children:E}),e("span",{className:"font-mono text-gray-400",children:o})]}),sideOffset:4,disableHoverableContent:!0,children:s("div",{className:n("flex items-center gap-1.5 rounded-l-md border-y border-l border-gray-300 bg-gray-50 px-3 py-1.5 text-gray-700",m?"sm:min-w-36":"sm:min-w-28"),onClick:()=>R(i=>!i),children:[e(M,{className:"size-4 shrink-0"}),e("label",{htmlFor:`${d}-${o}`,className:"select-none text-sm",children:m?e("span",{className:"font-mono text-xs",children:o}):_})]})}),e("div",{className:"min-w-0 grow",children:e(U,{disabledTooltip:c,children:e("input",{type:"text",id:`${d}-${o}`,ref:S===0?r:void 0,placeholder:w,disabled:y||Boolean(c),className:"size-full rounded-r-md border border-gray-300 placeholder-gray-400 focus:border-gray-500 focus:ring-gray-500 disabled:cursor-not-allowed sm:text-sm",value:t[o]||"",onChange:i=>a(o,i.target.value)})})})]})},o))})}function U({children:t,disabledTooltip:a}){return a?e(l,{content:a,disableHoverableContent:!0,children:t}):t}export{H as a,B as b};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as m}from"./chunk-NWME2ANF.mjs";import{j as d}from"./chunk-73LCVKEY.mjs";import*as o from"@radix-ui/react-popover";import{Drawer as r}from"vaul";import{jsx as e,jsxs as i}from"react/jsx-runtime";function C({children:t,content:n,align:p="center",side:v="bottom",openPopover:a,setOpenPopover:l,mobileOnly:g,popoverContentClassName:c,collisionBoundary:P,sticky:b,onEscapeKeyDown:s,onWheel:f}){let{isMobile:h}=m();return g||h?i(r.Root,{open:a,onOpenChange:l,children:[e(r.Trigger,{className:"sm:hidden",asChild:!0,children:t}),i(r.Portal,{children:[e(r.Overlay,{className:"fixed inset-0 z-50 bg-gray-100 bg-opacity-10 backdrop-blur"}),i(r.Content,{className:"fixed bottom-0 left-0 right-0 z-50 mt-24 rounded-t-[10px] border-t border-gray-200 bg-white",onEscapeKeyDown:s,children:[e("div",{className:"sticky top-0 z-20 flex w-full items-center justify-center rounded-t-[10px] bg-inherit",children:e("div",{className:"my-3 h-1 w-12 rounded-full bg-gray-300"})}),e("div",{className:"flex min-h-[150px] w-full items-center justify-center overflow-hidden bg-white pb-8 align-middle shadow-xl",children:n})]}),e(r.Overlay,{})]})]}):i(o.Root,{open:a,onOpenChange:l,children:[e(o.Trigger,{className:"sm:inline-flex",asChild:!0,children:t}),e(o.Portal,{children:e(o.Content,{sideOffset:8,align:p,side:v,className:d("animate-slide-up-fade z-50 items-center rounded-lg border border-gray-200 bg-white drop-shadow-lg sm:block",c),sticky:b,collisionBoundary:P,onEscapeKeyDown:s,onWheel:f,children:n})})]})}export{C as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{b as l}from"./chunk-IWGERSOL.mjs";import{j as n}from"./chunk-73LCVKEY.mjs";import*as i from"@radix-ui/react-switch";import{useMemo as f}from"react";import{jsx as t}from"react/jsx-runtime";function x({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:n("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:n(`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{x as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{j as a}from"./chunk-73LCVKEY.mjs";import{cva as d}from"class-variance-authority";import*as i from"react";import{jsx as s}from"react/jsx-runtime";var o=d("relative w-full rounded-lg border px-4 py-6 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive border-red-500 dark:border-red-500"}},defaultVariants:{variant:"default"}}),n=i.forwardRef(({className:e,variant:t,...r},l)=>s("div",{ref:l,role:"alert",className:a(o({variant:t}),e),...r}));n.displayName="Alert";var c=i.forwardRef(({className:e,...t},r)=>s("h5",{ref:r,className:a("text-md mb-2 font-medium leading-none tracking-tight",e),...t}));c.displayName="AlertTitle";var m=i.forwardRef(({className:e,...t},r)=>s("div",{ref:r,className:a("text-sm [&_p]:leading-relaxed",e),...t}));m.displayName="AlertDescription";export{n as a,c as b,m as c};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{c as C}from"./chunk-NEKFIZZK.mjs";import{a as I}from"./chunk-LPO7YLV4.mjs";import{a as U}from"./chunk-27WZGLRK.mjs";import{a as q}from"./chunk-OHB3KX7D.mjs";import{a as H}from"./chunk-GGHBVHFY.mjs";import{a as F}from"./chunk-NWME2ANF.mjs";import{j as T}from"./chunk-73LCVKEY.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 v}from"./chunk-HRTR6WBC.mjs";import{b as h}from"./chunk-Q2XR53J4.mjs";import{c as y,g as f,j as l}from"./chunk-73LCVKEY.mjs";import*as s from"@radix-ui/react-tooltip";import k from"linkify-react";import{HelpCircle as B}from"lucide-react";import C from"next/link";import{useState as R}from"react";import{cva as w}from"class-variance-authority";import{forwardRef as P}from"react";import{jsx as p,jsxs as T}from"react/jsx-runtime";var c=w("transition-all",{variants:{variant:{primary:"border-black bg-black text-white hover:bg-gray-800 hover:ring-4 hover:ring-gray-200",secondary:l("border-gray-200 bg-white text-gray-900 hover:bg-gray-50 focus-visible:border-gray-500 outline-none","data-[state=open]:border-gray-500 data-[state=open]:ring-4 data-[state=open]:ring-gray-200"),outline:"border-transparent text-gray-500 duration-75 hover:bg-gray-100",success:"border-blue-500 bg-blue-500 text-white hover:bg-blue-600 hover:ring-4 hover:ring-blue-100",danger:"border-red-500 bg-red-500 text-white hover:bg-red-600 hover:ring-4 hover:ring-red-100","danger-outline":"border-transparent bg-white text-red-500 hover:bg-red-600 hover:text-white"}},defaultVariants:{variant:"primary"}}),b=P(({text:t,variant:e="primary",className:o,textWrapperClassName:i,loading:n,icon:m,shortcut:a,disabledTooltip:x,...u},N)=>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:N,type:u.onClick?"button":"submit",className:l("group flex h-10 w-full items-center justify-center gap-2 whitespace-nowrap rounded-md border px-4 text-sm",u.disabled||n?"cursor-not-allowed border-gray-200 bg-gray-100 text-gray-400 outline-none":c({variant:e}),o),disabled:u.disabled||n,...u,children:[n?p(v,{}):m||null,t&&p("div",{className:l("min-w-0 truncate",a&&"flex-1 text-left",i),children:t}),a&&p("kbd",{className:l("hidden rounded px-2 py-0.5 text-xs font-light transition-all duration-75 md:inline-block",{"bg-gray-700 text-gray-400 group-hover:bg-gray-600 group-hover:text-gray-300":e==="primary","bg-gray-200 text-gray-400 group-hover:bg-gray-100 group-hover:text-gray-500":e==="secondary","bg-gray-100 text-gray-500 group-hover:bg-gray-200":e==="outline","bg-red-100 text-red-600 group-hover:bg-red-500 group-hover:text-white":e==="danger-outline"}),children:a})]}));b.displayName="Button";import{jsx as r,jsxs as g}from"react/jsx-runtime";function J({children:t}){return r(s.Provider,{delayDuration:150,children:t})}function d({children:t,content:e,side:o="top",disableHoverableContent:i,...n}){let[m,a]=R(!1);return g(s.Root,{open:m,onOpenChange:a,delayDuration:0,disableHoverableContent:i,children:[r(s.Trigger,{asChild:!0,onClick:()=>{a(!0)},onBlur:()=>{a(!1)},children:t}),r(s.Portal,{children:r(s.Content,{sideOffset:8,side:o,className:"animate-slide-up-fade z-[99] items-center overflow-hidden rounded-xl border border-gray-200 bg-white shadow-sm",collisionPadding:0,...n,children:typeof e=="string"?r("span",{className:"block max-w-xs text-pretty px-4 py-2 text-center text-sm text-gray-700",children:e}):typeof e=="function"?e({setOpen:a}):e})})]})}function K({title:t,cta:e,href:o,target:i,onClick:n}){return g("div",{className:"flex max-w-xs flex-col items-center space-y-3 p-4 text-center",children:[r("p",{className:"text-sm text-gray-700",children:t}),e&&(o?r(C,{href:o,...i?{target:i}:{},className:l(c({variant:"primary"}),"flex h-9 w-full items-center justify-center whitespace-nowrap rounded-lg border px-4 text-sm"),children:e}):n?r(b,{onClick:n,text:e,variant:"primary",className:"h-9"}):null)]})}function Q({title:t,cta:e,href:o}){return g("div",{className:"max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:[t," ",r("a",{href:o,target:"_blank",rel:"noopener noreferrer",onClick:i=>i.stopPropagation(),className:"inline-flex text-gray-500 underline underline-offset-4 hover:text-gray-800",children:e})]})}function U({children:t}){return r("div",{className:"block max-w-md whitespace-pre-wrap px-4 py-2 text-center text-sm text-gray-700",children:r(k,{as:"p",options:{target:"_blank",rel:"noopener noreferrer nofollow",className:"underline underline-offset-4 text-gray-400 hover:text-gray-700"},children:t})})}function X(t){return r(d,{...t,children:r(B,{className:"h-4 w-4 text-gray-500"})})}function Y({value:t,unit:e="total clicks",prefix:o,children:i,lastClicked:n}){return(!t||t<1e3)&&!n?i:r(d,{content:g("div",{className:"block max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:[g("p",{className:"text-sm font-semibold text-gray-700",children:[o,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 Z({children:t,content:e,...o}){return r(d,{content:e,...o,children:r("div",{className:"flex cursor-pointer items-center",children:r(h,{variant:"gray",className:"border-gray-300 transition-all hover:bg-gray-200",children:t})})})}function $({children:t,tooltipProps:e,...o}){return r(d,{...e,children:r("button",{type:"button",...o,className:l("flex h-6 w-6 items-center justify-center rounded-md text-gray-500 transition-colors duration-75 hover:bg-gray-100 active:bg-gray-200 disabled:cursor-not-allowed disabled:hover:bg-transparent",o.className),children:t})})}export{J as a,d as b,K as c,Q as d,U as e,X as f,Y as g,Z as h,$ as i,c as j,b as k};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as o}from"./chunk-IGIB6XZB.mjs";import{a as i}from"./chunk-GYE7FFDN.mjs";import{a as c}from"./chunk-UUJYTAK4.mjs";import{a as s}from"./chunk-GV2NLM3E.mjs";import{j as a}from"./chunk-73LCVKEY.mjs";import{cva as u}from"class-variance-authority";import{jsx as m,jsxs as x}from"react/jsx-runtime";var d=u("flex gap-1.5 items-center max-w-fit rounded-md px-2 py-1 text-xs font-medium whitespace-nowrap",{variants:{variant:{neutral:"bg-gray-500/[.15] text-gray-600",success:"bg-green-500/[.15] text-green-600",pending:"bg-orange-500/[.15] text-orange-600",error:"bg-red-500/[.15] text-red-600"}},defaultVariants:{variant:"neutral"}}),f={neutral:i,success:s,pending:o,error:c};function y({className:l,variant:e,icon:t,onClick:r,children:p,...g}){let n=t!==null?t??f[e??"neutral"]:null;return x("span",{className:a(d({variant:e}),r&&"cursor-pointer select-none transition-[filter] duration-150 hover:brightness-75 hover:saturate-[1.25]",l),onClick:r,...g,children:[n&&m(n,{className:"h-3 w-3 shrink-0"}),p]})}export{d as a,y as b};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{j as i}from"./chunk-5BX765AZ.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{e as _}from"./chunk-APRXCDHL.mjs";import{a as v}from"./chunk-7PY5M5C6.mjs";import{a as N}from"./chunk-J2WWV5OI.mjs";import{a as x}from"./chunk-ZGBEFTKI.mjs";import{a as y}from"./chunk-KKCRR74D.mjs";import{a as b}from"./chunk-5JA2HYOQ.mjs";import{a as f}from"./chunk-ALEYOCBW.mjs";import{b as o,i as d,j as n,l as g,m as p,n as h}from"./chunk-7OZYU3QM.mjs";import T from"next/image";import s from"next/link";import{useParams as E}from"next/navigation";import{useEffect as F,useState as w}from"react";import A from"swr";import{jsx as e,jsxs as r}from"react/jsx-runtime";var m={features:v.map(({title:t,href:a})=>({name:t,href:a})),product:[{name:"Blog",href:"/blog"},{name:"Brand",href:"/brand"},{name:"Changelog",href:"/changelog"},{name:"Customers",href:"/customers"},{name:"Enterprise",href:"/enterprise"},{name:"Pricing",href:"/pricing"},{name:"Help Center",href:"/help"}],compare:p.map(({name:t,slug:a})=>({name:t,href:`/compare/${a}`})),legal:h.map(({name:t,slug:a})=>({name:t,href:`/legal/${a}`})),tools:g.map(({name:t,slug:a})=>({name:t,href:`/tools/${a}`}))};function Y(){let{domain:t="dub.co"}=E();return e("footer",{children:r(N,{className:"relative z-10 overflow-hidden border border-b-0 border-gray-200 bg-white/50 pb-60 pt-16 backdrop-blur-lg md:rounded-t-2xl",children:[r("div",{className:"xl:grid xl:grid-cols-3 xl:gap-8",children:[r("div",{className:"space-y-6",children:[r(s,{href:o("/",t,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:t,utm_content:"Logo"}),className:"block max-w-fit",children:[r("span",{className:"sr-only",children:[process.env.NEXT_PUBLIC_APP_NAME," Logo"]}),e(_,{className:"h-8 text-gray-800"})]}),e("p",{className:"max-w-xs text-sm text-gray-500",children:"Giving modern marketing teams superpowers with short links that stand out."}),r("p",{className:"text-sm leading-5 text-gray-400",children:["\xA9 ",new Date().getFullYear()," Dub Technologies, Inc."]}),r("div",{className:"flex items-center space-x-3",children:[r("a",{href:"https://twitter.com/dubdotco",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"Twitter"}),e(x,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-black"})]}),r("a",{href:"https://github.com/dubinc/dub",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"Github"}),e(f,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-black"})]}),r("a",{href:"https://www.linkedin.com/company/dubinc",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"LinkedIn"}),e(b,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-[#0077b5]"})]}),r("a",{href:"https://www.youtube.com/@dubdotco",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"YouTube"}),e(y,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-[#ff0000]"})]})]}),e(D,{})]}),r("div",{className:"mt-16 grid grid-cols-2 gap-4 xl:col-span-2 xl:mt-0",children:[r("div",{className:"md:grid md:grid-cols-2",children:[r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Features"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.features.map(a=>e("li",{children:e(s,{href:o(a.href,t,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:t,utm_content:a.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.name))})]}),r("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Product"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.product.map(a=>e("li",{children:e(s,{href:o(a.href,t,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:t,utm_content:a.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.name))})]})]}),r("div",{className:"md:grid md:grid-cols-2",children:[r("div",{className:"flex flex-col space-y-8",children:[r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Compare"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.compare.map(a=>e("li",{children:e(s,{href:o(a.href,t,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:t,utm_content:a.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.name))})]}),r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Legal"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.legal.map(a=>e("li",{children:e(s,{href:o(a.href,t,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:t,utm_content:a.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.name))})]})]}),r("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Tools"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.tools.map(a=>e("li",{children:e(s,{href:o(a.href,t,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:t,utm_content:a.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.name))})]})]})]})]}),e(T,{src:"https://assets.dub.co/footer.png",alt:"Dub Technologies, Inc. Logo",width:1959,height:625,className:"pointer-events-none absolute inset-x-0 bottom-0 z-0"})]})})}function D(){let{data:t}=A("https://status.dub.co/api/v1/summary",d),[a,l]=w("bg-gray-200"),[i,c]=w("Loading status...");return F(()=>{if(!t)return;let{ongoing_incidents:u}=t;if(u.length>0){let{current_worst_impact:k,name:L}=u[0],C=k==="degraded_performance"?"bg-yellow-500":"bg-red-500";c(L),l(C)}else c("All systems operational"),l("bg-green-500")},[t]),r(s,{href:"https://status.dub.co",target:"_blank",className:"group flex max-w-fit items-center space-x-2 rounded-md border border-gray-200 bg-white px-3 py-2 transition-colors hover:bg-gray-100",children:[r("div",{className:"relative h-3 w-3",children:[e("div",{className:n("absolute inset-0 m-auto h-3 w-3 animate-ping items-center justify-center rounded-full group-hover:animate-none",a,i==="Loading status..."&&"animate-none")}),e("div",{className:n("absolute inset-0 z-10 m-auto h-3 w-3 rounded-full",a)})]}),e("p",{className:"text-sm font-medium text-gray-800",children:i})]})}export{Y as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{k as m}from"./chunk-O7ME7FDJ.mjs";import{j as i}from"./chunk-OTJXK6OZ.mjs";import{useMemo as x,useState as u}from"react";import{jsx as a,jsxs as r}from"react/jsx-runtime";function M({title:g,description:c,inputAttrs:e,helpText:s,buttonText:f="Save Changes",disabledTooltip:o,handleSubmit:y}){let[t,p]=u(e.defaultValue),[l,d]=u(!1),b=x(()=>l||!t||t===e.defaultValue,[l,t,e.defaultValue]);return r("form",{onSubmit:async n=>{n.preventDefault(),d(!0),await y({[e.name]:t}),d(!1)},className:"rounded-lg border border-gray-200 bg-white",children:[r("div",{className:"relative flex flex-col space-y-6 p-5 sm:p-10",children:[r("div",{className:"flex flex-col space-y-3",children:[a("h2",{className:"text-xl font-medium",children:g}),a("p",{className:"text-sm text-gray-500",children:c})]}),typeof e.defaultValue=="string"?a("input",{...e,type:e.type||"text",required:!0,disabled:!!o,onChange:n=>p(n.target.value),className:i("w-full max-w-md rounded-md border border-gray-300 text-gray-900 placeholder-gray-400 focus:border-gray-500 focus:outline-none focus:ring-gray-500 sm:text-sm",{"cursor-not-allowed bg-gray-100 text-gray-400":o})}):a("div",{className:"h-[2.35rem] w-full max-w-md animate-pulse rounded-md bg-gray-200"})]}),r("div",{className:"flex items-center justify-between space-x-4 rounded-b-lg border-t border-gray-200 bg-gray-50 p-3 sm:px-10",children:[typeof s=="string"?a("p",{className:"prose-sm prose-a:underline prose-a:underline-offset-4 hover:prose-a:text-gray-700 text-gray-500 transition-colors",dangerouslySetInnerHTML:{__html:s||""}}):s,a("div",{className:"shrink-0",children:a(m,{text:f,loading:l,disabled:b,disabledTooltip:o})})]})]})}export{M as a};
@@ -0,0 +1,6 @@
1
+ "use client"
2
+ import{a as T}from"./chunk-OK6ZXJYA.mjs";import{a as W}from"./chunk-D5KJG3UR.mjs";import{a as L,e as S}from"./chunk-MTVIRL4R.mjs";import{a as H}from"./chunk-TZXMPIUM.mjs";import{a as w}from"./chunk-NK2IC4AA.mjs";import{a as V}from"./chunk-MQ6PCK5Z.mjs";import{a as M}from"./chunk-AXZJPLZ2.mjs";import{k as _}from"./chunk-7ZKP5C4K.mjs";import{b as k,d as y,i as P,j as s}from"./chunk-73LCVKEY.mjs";import*as r from"@radix-ui/react-navigation-menu";import{cva as K}from"class-variance-authority";import Q from"js-cookie";import h from"next/link";import{useParams as X,useSelectedLayoutSegment as tt}from"next/navigation";import{createContext as et}from"react";import ot from"swr";import{useCallback as B,useEffect as E,useState as O}from"react";function C(a){let[e,m]=O(!1),i=B(()=>{m(window.scrollY>a)},[a]);return E(()=>(window.addEventListener("scroll",i),()=>window.removeEventListener("scroll",i)),[i]),E(()=>{i()},[i]),e}import*as d from"@radix-ui/react-popover";import{BoxSelect as A,Home as Z,LayoutGrid as G,Type as j}from"lucide-react";import{useParams as z}from"next/navigation";import{useCallback as U,useContext as $,useState as F}from"react";import{toast as Y}from"sonner";import{jsx as o,jsxs as R}from"react/jsx-runtime";var q=`<svg width="65" height="64" viewBox="0 0 65 64" fill="none" xmlns="http://www.w3.org/2000/svg">
3
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M32.5 64C50.1731 64 64.5 49.6731 64.5 32C64.5 20.1555 58.0648 9.81393 48.5 4.28099V31.9999V47.9998H40.5V45.8594C38.1466 47.2207 35.4143 47.9999 32.5 47.9999C23.6634 47.9999 16.5 40.8364 16.5 31.9999C16.5 23.1633 23.6634 15.9999 32.5 15.9999C35.4143 15.9999 38.1466 16.779 40.5 18.1404V1.00812C37.943 0.350018 35.2624 0 32.5 0C14.8269 0 0.500038 14.3269 0.500038 32C0.500038 49.6731 14.8269 64 32.5 64Z" fill="black"/>
4
+ </svg>`,J=`<svg width="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 D({variant:a="full",isInApp:e,className:m}){let{domain:i="dub.co"}=z(),{theme:g}=$(x),[b,p]=F(!1),f=U(n=>{n.preventDefault(),p(!0)},[]),[,c]=M();function l(n){Y.promise(c(n),{success:"Copied to clipboard!",error:"Failed to copy to clipboard"})}return R(d.Root,{open:b,onOpenChange:p,children:[o(d.Anchor,{asChild:!0,children:o("div",{onContextMenu:f,className:"max-w-fit",children:a==="full"?o(H,{className:m}):o(w,{className:s("h-8 w-8 transition-all duration-75 active:scale-95",m)})})}),o(d.Portal,{children:o(d.Content,{sideOffset:14,align:"start",className:s("z-50 -mt-1.5",!e&&"-translate-x-8",g==="dark"&&"dark"),onClick:n=>{n.stopPropagation(),p(!1)},children:R("div",{className:"grid gap-1 rounded-lg border border-gray-200 bg-white p-2 drop-shadow-sm sm:min-w-[240px] dark:border-white/[0.15] dark:bg-black",children:[o(v,{text:"Copy Logo as SVG",variant:"outline",onClick:()=>l(q),icon:o(w,{className:"h-4 w-4"})}),o(v,{text:"Copy Wordmark as SVG",variant:"outline",onClick:()=>l(J),icon:o(j,{strokeWidth:2,className:"h-4 w-4"})}),o(v,{text:"Brand Guidelines",variant:"outline",onClick:()=>window.open("https://dub.co/brand","_blank"),icon:o(A,{strokeWidth:2,className:"h-4 w-4"})}),e||i!="dub.co"?o(v,{text:"Home Page",variant:"outline",onClick:()=>window.open(`https://dub.co${e?"/home":""}`,"_blank"),icon:o(Z,{strokeWidth:2,className:"h-4 w-4"})}):o(v,{text:"Dashboard",variant:"outline",onClick:()=>window.open("https://app.dub.co","_blank"),icon:o(G,{strokeWidth:2,className:"h-4 w-4"})})]})})})]})}function v({className:a,...e}){return o(_,{className:s("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",a),...e})}import{Fragment as it,jsx as t,jsxs as u}from"react/jsx-runtime";var x=et({theme:"light"}),rt=[{name:"Product",content:W,childItems:L},{name:"Resources",content:T,childItems:S},{name:"Enterprise",href:"/enterprise"},{name:"Customers",href:"/customers"},{name:"Pricing",href:"/pricing"}],I=K(["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 Rt({theme:a="light"}){let{domain:e="dub.co"}=X(),m=C(80),i=C(40),g=tt(),{data:b,isLoading:p}=ot(e==="dub.co"&&"/api/auth/session",P,{dedupingInterval:6e4}),f=!!(e==="dub.co"&&Q.get("dub_id"));return t(x.Provider,{value:{theme:a},children:u("div",{className:s("sticky inset-x-0 top-0 z-30 w-full transition-all",a==="dark"&&"dark"),children:[t("div",{className:s("absolute inset-0 block transition-all lg:hidden",i&&"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(h,{className:"grow basis-0",href:k("/home",e,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:e,utm_content:"Logo"}),children:t(D,{})}),u(r.Root,{delayDuration:0,className:"relative hidden lg:block",children:[u(r.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:s("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",m&&"h-14 w-screen rounded-none drop-shadow-none")})}),rt.map(({name:c,href:l,content:n})=>{let N=l===`/${g}`||l==="/"&&g===null;return u(r.Item,{children:[t(at,{trigger:!!n,children:l!==void 0?t(h,{id:`nav-${l}`,href:k(l,e,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:e,utm_content:c}),className:I({isActive:N}),children:c}):t("button",{className:I({isActive:N}),children:c})}),n&&t(r.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(n,{domain:e})})]},c)})]}),t("div",{className:"absolute left-1/2 top-full mt-3 -translate-x-1/2",children:t(r.Viewport,{className:s("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:b&&Object.keys(b).length>0?t(h,{href:y,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"}):p?null:u(it,{children:[t(h,{href:f?"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(h,{href:f?"https://app.dub.co/register":"https://d.to/try",className:"animate-fade-in rounded-full border border-black bg-black px-4 py-1.5 text-sm text-white transition-all hover:bg-gray-800 hover:ring-4 hover:ring-gray-200 dark:border-white dark:bg-white dark:text-gray-600 dark:hover:bg-white dark:hover:text-gray-800 dark:hover:hover:shadow-[0_0_25px_5px_rgba(256,256,256,0.2)] dark:hover:ring-0",children:"Sign Up"})]})})]})})]})})}function at({trigger:a,children:e}){return a?t(r.Trigger,{asChild:!0,children:e}):e}export{C as a,x as b,rt as c,Rt as d,D as e};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as o}from"./chunk-IGIB6XZB.mjs";import{a as i}from"./chunk-GYE7FFDN.mjs";import{a as c}from"./chunk-UUJYTAK4.mjs";import{a as s}from"./chunk-GV2NLM3E.mjs";import{j as a}from"./chunk-5BX765AZ.mjs";import{cva as u}from"class-variance-authority";import{jsx as m,jsxs as x}from"react/jsx-runtime";var d=u("flex gap-1.5 items-center max-w-fit rounded-md px-2 py-1 text-xs font-medium whitespace-nowrap",{variants:{variant:{neutral:"bg-gray-500/[.15] text-gray-600",success:"bg-green-500/[.15] text-green-600",pending:"bg-orange-500/[.15] text-orange-600",error:"bg-red-500/[.15] text-red-600"}},defaultVariants:{variant:"neutral"}}),f={neutral:i,success:s,pending:o,error:c};function y({className:l,variant:e,icon:t,onClick:r,children:p,...g}){let n=t!==null?t??f[e??"neutral"]:null;return x("span",{className:a(d({variant:e}),r&&"cursor-pointer select-none transition-[filter] duration-150 hover:brightness-75 hover:saturate-[1.25]",l),onClick:r,...g,children:[n&&m(n,{className:"h-3 w-3 shrink-0"}),p]})}export{d as a,y as b};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a}from"./chunk-AXZJPLZ2.mjs";import{a as n}from"./chunk-EHYVEIOL.mjs";import{a as r}from"./chunk-BKZ6TNZC.mjs";import{j as t}from"./chunk-OTJXK6OZ.mjs";import{cva as d}from"class-variance-authority";import{toast as y}from"sonner";import{jsx as o,jsxs as b}from"react/jsx-runtime";var f=d("relative group rounded-full p-1.5 transition-all duration-75",{variants:{variant:{default:"bg-transparent hover:bg-gray-100 active:bg-gray-200",neutral:"bg-transparent hover:bg-gray-100 active:bg-gray-200"}},defaultVariants:{variant:"default"}});function P({variant:s="default",value:i,className:e,icon:p,successMessage:c}){let[u,l]=a(),m=p||r;return b("button",{onClick:g=>{g.stopPropagation(),y.promise(l(i),{success:c||"Copied to clipboard!"})},className:t(f({variant:s}),e),type:"button",children:[o("span",{className:"sr-only",children:"Copy"}),u?o(n,{className:"h-3.5 w-3.5"}):o(m,{className:"h-3.5 w-3.5"})]})}export{P as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{j as e}from"./chunk-V3RMYYRV.mjs";import{jsx as t,jsxs as o}from"react/jsx-runtime";function i({className:r}){return o("svg",{xmlns:"http://www.w3.org/2000/svg",version:"1.1",width:"256",height:"256",viewBox:"0 0 256 256",className:e("text-[#ff0000]",r),children:[t("defs",{}),t("g",{style:{stroke:"none",strokeWidth:0,strokeDasharray:"none",strokeLinecap:"butt",strokeLinejoin:"miter",strokeMiterlimit:10,fill:"#ff0000",fillRule:"nonzero",opacity:1},transform:"translate(1.4065934065934016 1.4065934065934016) scale(2.81 2.81)",children:t("path",{d:"M 88.119 23.338 c -1.035 -3.872 -4.085 -6.922 -7.957 -7.957 C 73.144 13.5 45 13.5 45 13.5 s -28.144 0 -35.162 1.881 c -3.872 1.035 -6.922 4.085 -7.957 7.957 C 0 30.356 0 45 0 45 s 0 14.644 1.881 21.662 c 1.035 3.872 4.085 6.922 7.957 7.957 C 16.856 76.5 45 76.5 45 76.5 s 28.144 0 35.162 -1.881 c 3.872 -1.035 6.922 -4.085 7.957 -7.957 C 90 59.644 90 45 90 45 S 90 30.356 88.119 23.338 z M 36 58.5 v -27 L 59.382 45 L 36 58.5 z",style:{stroke:"none",strokeWidth:1,strokeDasharray:"none",strokeLinecap:"butt",strokeLinejoin:"miter",strokeMiterlimit:10,fill:"currentColor",fillRule:"nonzero",opacity:1},transform:" matrix(1 0 0 1 0 0) ",strokeLinecap:"round"})})]})}export{i as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{jsx as o,jsxs as t}from"react/jsx-runtime";function e(r){return o("svg",{height:"18",width:"18",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg",...r,children:t("g",{fill:"currentColor",children:[o("path",{d:"M6.591,14.591l6.541-6.541c.391-.391,.391-1.024,0-1.414l-1.768-1.768c-.391-.391-1.024-.391-1.414,0l-.2,.2",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"}),o("path",{d:"M5,15.25H14.25c.552,0,1-.448,1-1v-2.5c0-.552-.448-1-1-1h-.283",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"}),o("path",{d:"M5,2.75h0c1.242,0,2.25,1.008,2.25,2.25V14.25c0,.552-.448,1-1,1H3.75c-.552,0-1-.448-1-1V5c0-1.242,1.008-2.25,2.25-2.25Z",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",transform:"translate(10 18) rotate(180)"}),o("circle",{cx:"5",cy:"13",fill:"currentColor",r:".75",stroke:"none"})]})})}export{e as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{n as C}from"./chunk-6M22A3I2.mjs";import{jsx as l,jsxs as i}from"react/jsx-runtime";function t({className:r}){return i("svg",{"aria-hidden":"true",className:C("h-4 w-4 animate-spin fill-gray-600 text-gray-200",r),viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[l("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),l("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]})}export{t as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{b as l}from"./chunk-O7ME7FDJ.mjs";import{j as n}from"./chunk-OTJXK6OZ.mjs";import*as i from"@radix-ui/react-switch";import{useMemo as f}from"react";import{jsx as t}from"react/jsx-runtime";function x({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:n("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:n(`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{x as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as v}from"./chunk-J5A5ZRH5.mjs";import{b as h}from"./chunk-4X54WEZM.mjs";import{c as y,f,j as l}from"./chunk-PA3Q43MW.mjs";import*as s from"@radix-ui/react-tooltip";import k from"linkify-react";import{HelpCircle as B}from"lucide-react";import C from"next/link";import{useState as R}from"react";import{cva as w}from"class-variance-authority";import{forwardRef as P}from"react";import{jsx as p,jsxs as T}from"react/jsx-runtime";var c=w("transition-all",{variants:{variant:{primary:"border-black bg-black text-white hover:bg-gray-800 hover:ring-4 hover:ring-gray-200",secondary:l("border-gray-200 bg-white text-gray-900 hover:bg-gray-50 focus-visible:border-gray-500 outline-none","data-[state=open]:border-gray-500 data-[state=open]:ring-4 data-[state=open]:ring-gray-200"),outline:"border-transparent text-gray-500 duration-75 hover:bg-gray-100",success:"border-blue-500 bg-blue-500 text-white hover:bg-blue-600 hover:ring-4 hover:ring-blue-100",danger:"border-red-500 bg-red-500 text-white hover:bg-red-600 hover:ring-4 hover:ring-red-100","danger-outline":"border-transparent bg-white text-red-500 hover:bg-red-600 hover:text-white"}},defaultVariants:{variant:"primary"}}),b=P(({text:t,variant:e="primary",className:o,textWrapperClassName:i,loading:n,icon:m,shortcut:a,disabledTooltip:x,...u},N)=>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:N,type:u.onClick?"button":"submit",className:l("group flex h-10 w-full items-center justify-center gap-2 whitespace-nowrap rounded-md border px-4 text-sm",u.disabled||n?"cursor-not-allowed border-gray-200 bg-gray-100 text-gray-400 outline-none":c({variant:e}),o),disabled:u.disabled||n,...u,children:[n?p(v,{}):m||null,t&&p("div",{className:l("min-w-0 truncate",a&&"flex-1 text-left",i),children:t}),a&&p("kbd",{className:l("hidden rounded px-2 py-0.5 text-xs font-light transition-all duration-75 md:inline-block",{"bg-gray-700 text-gray-400 group-hover:bg-gray-600 group-hover:text-gray-300":e==="primary","bg-gray-200 text-gray-400 group-hover:bg-gray-100 group-hover:text-gray-500":e==="secondary","bg-gray-100 text-gray-500 group-hover:bg-gray-200":e==="outline","bg-red-100 text-red-600 group-hover:bg-red-500 group-hover:text-white":e==="danger-outline"}),children:a})]}));b.displayName="Button";import{jsx as r,jsxs as g}from"react/jsx-runtime";function J({children:t}){return r(s.Provider,{delayDuration:150,children:t})}function d({children:t,content:e,side:o="top",disableHoverableContent:i,...n}){let[m,a]=R(!1);return g(s.Root,{open:m,onOpenChange:a,delayDuration:0,disableHoverableContent:i,children:[r(s.Trigger,{asChild:!0,onClick:()=>{a(!0)},onBlur:()=>{a(!1)},children:t}),r(s.Portal,{children:r(s.Content,{sideOffset:8,side:o,className:"animate-slide-up-fade z-[99] items-center overflow-hidden rounded-xl border border-gray-200 bg-white shadow-sm",collisionPadding:0,...n,children:typeof e=="string"?r("span",{className:"block max-w-xs text-pretty px-4 py-2 text-center text-sm text-gray-700",children:e}):typeof e=="function"?e({setOpen:a}):e})})]})}function K({title:t,cta:e,href:o,target:i,onClick:n}){return g("div",{className:"flex max-w-xs flex-col items-center space-y-3 p-4 text-center",children:[r("p",{className:"text-sm text-gray-700",children:t}),e&&(o?r(C,{href:o,...i?{target:i}:{},className:l(c({variant:"primary"}),"flex h-9 w-full items-center justify-center whitespace-nowrap rounded-lg border px-4 text-sm"),children:e}):n?r(b,{onClick:n,text:e,variant:"primary",className:"h-9"}):null)]})}function Q({title:t,cta:e,href:o}){return g("div",{className:"max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:[t," ",r("a",{href:o,target:"_blank",rel:"noopener noreferrer",onClick:i=>i.stopPropagation(),className:"inline-flex text-gray-500 underline underline-offset-4 hover:text-gray-800",children:e})]})}function U({children:t}){return r("div",{className:"block max-w-md whitespace-pre-wrap px-4 py-2 text-center text-sm text-gray-700",children:r(k,{as:"p",options:{target:"_blank",rel:"noopener noreferrer nofollow",className:"underline underline-offset-4 text-gray-400 hover:text-gray-700"},children:t})})}function X(t){return r(d,{...t,children:r(B,{className:"h-4 w-4 text-gray-500"})})}function Y({value:t,unit:e="total clicks",prefix:o,children:i,lastClicked:n}){return(!t||t<1e3)&&!n?i:r(d,{content:g("div",{className:"block max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:[g("p",{className:"text-sm font-semibold text-gray-700",children:[o,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 Z({children:t,content:e,...o}){return r(d,{content:e,...o,children:r("div",{className:"flex cursor-pointer items-center",children:r(h,{variant:"gray",className:"border-gray-300 transition-all hover:bg-gray-200",children:t})})})}function $({children:t,tooltipProps:e,...o}){return r(d,{...e,children:r("button",{type:"button",...o,className:l("flex h-6 w-6 items-center justify-center rounded-md text-gray-500 transition-colors duration-75 hover:bg-gray-100 active:bg-gray-200 disabled:cursor-not-allowed disabled:hover:bg-transparent",o.className),children:t})})}export{J as a,d as b,K as c,Q as d,U as e,X as f,Y as g,Z as h,$ as i,c as j,b as k};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{j as l}from"./chunk-ASW4CA57.mjs";import{LayoutGroup as g,motion as r}from"framer-motion";import{useId as d}from"react";import{jsx as t,jsxs as p}from"react/jsx-runtime";function y({options:i,selected:o,selectAction:n,className:u,style:s}){let a=d();return t(g,{id:a,children:t(r.div,{layout:!0,className:l("relative inline-flex items-center gap-1 rounded-xl border border-gray-200 bg-white p-1",u),style:s,children:i.map(e=>p("button",{type:"button",className:l("relative z-10 flex items-center gap-2 px-3 py-1 text-sm font-medium capitalize",{"transition-all hover:text-gray-500":e.value!==o}),onClick:()=>n(e.value),children:[t("p",{children:e.label}),e.badge,e.value===o&&t(r.div,{layoutId:a,className:"absolute left-0 top-0 -z-[1] h-full w-full rounded-lg border border-gray-200 bg-gray-50",transition:{duration:.25}})]},e.value))})})}export{y as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{j as o}from"./chunk-5BX765AZ.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 P}from"./chunk-6JPO26GL.mjs";import{a as C}from"./chunk-32C65ISH.mjs";import{a as b}from"./chunk-LFGWL3ID.mjs";import{a as y}from"./chunk-CZSSD6PV.mjs";import{a as m}from"./chunk-D7SRRREC.mjs";import{a as g}from"./chunk-BOCPUR5Z.mjs";import{a as f}from"./chunk-SBK5CRMY.mjs";import{a as d}from"./chunk-JBURS7BX.mjs";import{a as h}from"./chunk-DWACNU5E.mjs";import{a as u}from"./chunk-3KFNNXJ6.mjs";import{a as l}from"./chunk-KDNSFAET.mjs";import{a as c}from"./chunk-2W2M7KTU.mjs";import{a as p}from"./chunk-HYPLE4VW.mjs";import{a as o}from"./chunk-DMUERTF2.mjs";import{a}from"./chunk-PDSUXFDU.mjs";import{a as i}from"./chunk-PRJVDP45.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-ZJICX3BL.mjs";var k=[{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:m,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:y,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:r,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:i,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"}],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{k 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{a as t}from"./chunk-LX6ZF63Y.mjs";import{j as o}from"./chunk-7OZYU3QM.mjs";import{toast as a}from"sonner";import{jsx as d}from"react/jsx-runtime";function b({value:e,children:r,className:s,successMessage:c}){let[i,p]=t();return d("button",{onClick:n=>{n.stopPropagation(),a.promise(p(e),{success:c||"Copied to clipboard!"})},type:"button",className:o("cursor-copy text-sm text-gray-700 decoration-dotted hover:underline",i&&"cursor-default",s),children:r})}export{b as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as f}from"./chunk-NWME2ANF.mjs";import{j as l}from"./chunk-5BX765AZ.mjs";import*as e from"@radix-ui/react-dialog";import*as n from"@radix-ui/react-visually-hidden";import{useRouter as h}from"next/navigation";import{Drawer as a}from"vaul";import{jsx as o,jsxs as r}from"react/jsx-runtime";function N({children:d,className:s,showModal:c,setShowModal:i,onClose:p,desktopOnly:m,preventDefaultClose:g,drawerRootProps:D}){let b=h(),u=({dragged:t}={})=>{g&&!t||(p&&p(),i?i(!1):b.back())},{isMobile:y}=f();return y&&!m?o(a.Root,{open:i?c:!0,onOpenChange:t=>{t||u({dragged:!0})},...D,children:r(a.Portal,{children:[o(a.Overlay,{className:"fixed inset-0 z-50 bg-gray-100 bg-opacity-10 backdrop-blur"}),o(a.Content,{className:l("fixed bottom-0 left-0 right-0 z-50 flex flex-col","rounded-t-[10px] border-t border-gray-200 bg-white",s),children:r("div",{className:"scrollbar-hide flex-1 overflow-y-auto rounded-t-[10px] bg-inherit",children:[r(n.Root,{children:[o(a.Title,{children:"Modal"}),o(a.Description,{children:"This is a modal"})]}),o(w,{}),d]})}),o(a.Overlay,{})]})}):o(e.Root,{open:i?c:!0,onOpenChange:t=>{t||u()},children:r(e.Portal,{children:[o(e.Overlay,{id:"modal-backdrop",className:"animate-fade-in fixed inset-0 z-40 bg-gray-100 bg-opacity-50 backdrop-blur-md"}),r(e.Content,{onOpenAutoFocus:t=>t.preventDefault(),onCloseAutoFocus:t=>t.preventDefault(),className:l("fixed inset-0 z-40 m-auto h-fit w-full max-w-md","border border-gray-200 bg-white p-0 shadow-xl sm:rounded-2xl","scrollbar-hide animate-scale-in overflow-y-auto",s),children:[r(n.Root,{children:[o(e.Title,{children:"Modal"}),o(e.Description,{children:"This is a modal"})]}),d]})]})})}function w(){return o("div",{className:"sticky top-0 z-20 flex items-center justify-center rounded-t-[10px] bg-inherit",children:o("div",{className:"my-3 h-1 w-12 rounded-full bg-gray-300"})})}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 g}from"./chunk-BOCPUR5Z.mjs";import{a as f}from"./chunk-SBK5CRMY.mjs";import{a as d}from"./chunk-JBURS7BX.mjs";import{a as h}from"./chunk-DWACNU5E.mjs";import{a as u}from"./chunk-3KFNNXJ6.mjs";import{a as l}from"./chunk-KDNSFAET.mjs";import{a as c}from"./chunk-2W2M7KTU.mjs";import{a as p}from"./chunk-HYPLE4VW.mjs";import{a as o}from"./chunk-DMUERTF2.mjs";import{a}from"./chunk-PDSUXFDU.mjs";import{a as r}from"./chunk-PRJVDP45.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 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{k as m}from"./chunk-HDJCLA6F.mjs";import{n as i}from"./chunk-HQJ32QC6.mjs";import{useMemo as x,useState as u}from"react";import{jsx as a,jsxs as r}from"react/jsx-runtime";function M({title:g,description:c,inputAttrs:e,helpText:s,buttonText:f="Save Changes",disabledTooltip:o,handleSubmit:y}){let[t,p]=u(e.defaultValue),[l,d]=u(!1),b=x(()=>l||!t||t===e.defaultValue,[l,t,e.defaultValue]);return r("form",{onSubmit:async n=>{n.preventDefault(),d(!0),await y({[e.name]:t}),d(!1)},className:"rounded-lg border border-gray-200 bg-white",children:[r("div",{className:"relative flex flex-col space-y-6 p-5 sm:p-10",children:[r("div",{className:"flex flex-col space-y-3",children:[a("h2",{className:"text-xl font-medium",children:g}),a("p",{className:"text-sm text-gray-500",children:c})]}),typeof e.defaultValue=="string"?a("input",{...e,type:e.type||"text",required:!0,disabled:!!o,onChange:n=>p(n.target.value),className:i("w-full max-w-md rounded-md border border-gray-300 text-gray-900 placeholder-gray-400 focus:border-gray-500 focus:outline-none focus:ring-gray-500 sm:text-sm",{"cursor-not-allowed bg-gray-100 text-gray-400":o})}):a("div",{className:"h-[2.35rem] w-full max-w-md animate-pulse rounded-md bg-gray-200"})]}),r("div",{className:"flex items-center justify-between space-x-4 rounded-b-lg border-t border-gray-200 bg-gray-50 p-3 sm:px-10",children:[typeof s=="string"?a("p",{className:"prose-sm prose-a:underline prose-a:underline-offset-4 hover:prose-a:text-gray-700 text-gray-500 transition-colors",dangerouslySetInnerHTML:{__html:s||""}}):s,a("div",{className:"shrink-0",children:a(m,{text:f,loading:l,disabled:b,disabledTooltip:o})})]})]})}export{M as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{e as _}from"./chunk-ZBYJCAJO.mjs";import{a as x,f as y,g as v}from"./chunk-27HFRPZ2.mjs";import{a as N}from"./chunk-RILF4JZS.mjs";import{a as f}from"./chunk-BKXIX76I.mjs";import{a as b}from"./chunk-BIEJ6N7V.mjs";import{a as h}from"./chunk-XKDLJI4L.mjs";import{a as p}from"./chunk-ALEYOCBW.mjs";import{c as o,h as d,m as g,n}from"./chunk-HQJ32QC6.mjs";import T from"next/image";import s from"next/link";import{useParams as D}from"next/navigation";import{useEffect as E,useState as w}from"react";import A from"swr";import{jsx as e,jsxs as r}from"react/jsx-runtime";var m={features:x.map(({title:t,href:a})=>({name:t,href:a})),product:[{name:"Blog",href:"/blog"},{name:"Changelog",href:"/changelog"},{name:"Customers",href:"/customers"},{name:"Enterprise",href:"/enterprise"},{name:"Docs",href:"/docs"},{name:"Help Center",href:"/help"},{name:"Brand",href:"/brand"},{name:"Pricing",href:"/pricing"}],compare:y.map(({name:t,slug:a})=>({name:t,href:`/compare/${a}`})),legal:v.map(({name:t,slug:a})=>({name:t,href:`/legal/${a}`})),tools:d.map(({name:t,slug:a})=>({name:t,href:`/tools/${a}`}))};function Y(){let{domain:t="dub.co"}=D();return e("footer",{children:r(N,{className:"relative z-10 overflow-hidden border border-b-0 border-gray-200 bg-white/50 pb-60 pt-16 backdrop-blur-lg md:rounded-t-2xl",children:[r("div",{className:"xl:grid xl:grid-cols-3 xl:gap-8",children:[r("div",{className:"space-y-6",children:[r(s,{href:o("/",t,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:t,utm_content:"Logo"}),className:"block max-w-fit",children:[r("span",{className:"sr-only",children:[process.env.NEXT_PUBLIC_APP_NAME," Logo"]}),e(_,{className:"h-8 text-gray-800"})]}),e("p",{className:"max-w-xs text-sm text-gray-500",children:"Giving modern marketing teams superpowers with short links that stand out."}),r("p",{className:"text-sm leading-5 text-gray-400",children:["\xA9 ",new Date().getFullYear()," Dub Technologies, Inc."]}),r("div",{className:"flex items-center space-x-3",children:[r("a",{href:"https://twitter.com/dubdotco",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"Twitter"}),e(f,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-black"})]}),r("a",{href:"https://github.com/dubinc/dub",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"Github"}),e(p,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-black"})]}),r("a",{href:"https://www.linkedin.com/company/dubinc",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"LinkedIn"}),e(h,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-[#0077b5]"})]}),r("a",{href:"https://www.youtube.com/@dubdotco",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"YouTube"}),e(b,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-[#ff0000]"})]})]}),e(F,{})]}),r("div",{className:"mt-16 grid grid-cols-2 gap-4 xl:col-span-2 xl:mt-0",children:[r("div",{className:"md:grid md:grid-cols-2",children:[r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Product"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.features.map(a=>e("li",{children:e(s,{href:o(a.href,t,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:t,utm_content:a.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.name))})]}),r("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Resources"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.product.map(a=>e("li",{children:e(s,{href:o(a.href,t,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:t,utm_content:a.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.name))})]})]}),r("div",{className:"md:grid md:grid-cols-2",children:[r("div",{className:"flex flex-col space-y-8",children:[r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Compare"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.compare.map(a=>e("li",{children:e(s,{href:o(a.href,t,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:t,utm_content:a.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.name))})]}),r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Legal"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.legal.map(a=>e("li",{children:e(s,{href:o(a.href,t,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:t,utm_content:a.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.name))})]})]}),r("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Tools"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.tools.map(a=>e("li",{children:e(s,{href:o(a.href,t,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:t,utm_content:a.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.name))})]})]})]})]}),e(T,{src:"https://assets.dub.co/footer.png",alt:"Dub Technologies, Inc. Logo",width:1959,height:625,className:"pointer-events-none absolute inset-x-0 bottom-0 z-0"})]})})}function F(){let{data:t}=A("https://status.dub.co/api/v1/summary",g),[a,l]=w("bg-gray-200"),[i,c]=w("Loading status...");return E(()=>{if(!t)return;let{ongoing_incidents:u}=t;if(u.length>0){let{current_worst_impact:k,name:L}=u[0],C=k==="degraded_performance"?"bg-yellow-500":"bg-red-500";c(L),l(C)}else c("All systems operational"),l("bg-green-500")},[t]),r(s,{href:"https://status.dub.co",target:"_blank",className:"group flex max-w-fit items-center space-x-2 rounded-md border border-gray-200 bg-white px-3 py-2 transition-colors hover:bg-gray-100",children:[r("div",{className:"relative h-3 w-3",children:[e("div",{className:n("absolute inset-0 m-auto h-3 w-3 animate-ping items-center justify-center rounded-full group-hover:animate-none",a,i==="Loading status..."&&"animate-none")}),e("div",{className:n("absolute inset-0 z-10 m-auto h-3 w-3 rounded-full",a)})]}),e("p",{className:"text-sm font-medium text-gray-800",children:i})]})}export{Y as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as v}from"./chunk-CYLUQHC7.mjs";import{b as h}from"./chunk-N5LRSO5P.mjs";import{d as y,k as f,n as l}from"./chunk-HQJ32QC6.mjs";import*as s from"@radix-ui/react-tooltip";import k from"linkify-react";import{HelpCircle as B}from"lucide-react";import C from"next/link";import{useState as R}from"react";import{cva as w}from"class-variance-authority";import{forwardRef as P}from"react";import{jsx as p,jsxs as T}from"react/jsx-runtime";var c=w("transition-all",{variants:{variant:{primary:"border-black bg-black text-white hover:bg-gray-800 hover:ring-4 hover:ring-gray-200",secondary:l("border-gray-200 bg-white text-gray-900 hover:bg-gray-50 focus-visible:border-gray-500 outline-none","data-[state=open]:border-gray-500 data-[state=open]:ring-4 data-[state=open]:ring-gray-200"),outline:"border-transparent text-gray-500 duration-75 hover:bg-gray-100",success:"border-blue-500 bg-blue-500 text-white hover:bg-blue-600 hover:ring-4 hover:ring-blue-100",danger:"border-red-500 bg-red-500 text-white hover:bg-red-600 hover:ring-4 hover:ring-red-100","danger-outline":"border-transparent bg-white text-red-500 hover:bg-red-600 hover:text-white"}},defaultVariants:{variant:"primary"}}),b=P(({text:t,variant:e="primary",className:o,textWrapperClassName:i,loading:n,icon:m,shortcut:a,disabledTooltip:x,...u},N)=>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:N,type:u.onClick?"button":"submit",className:l("group flex h-10 w-full items-center justify-center gap-2 whitespace-nowrap rounded-md border px-4 text-sm",u.disabled||n?"cursor-not-allowed border-gray-200 bg-gray-100 text-gray-400 outline-none":c({variant:e}),o),disabled:u.disabled||n,...u,children:[n?p(v,{}):m||null,t&&p("div",{className:l("min-w-0 truncate",a&&"flex-1 text-left",i),children:t}),a&&p("kbd",{className:l("hidden rounded px-2 py-0.5 text-xs font-light transition-all duration-75 md:inline-block",{"bg-gray-700 text-gray-400 group-hover:bg-gray-600 group-hover:text-gray-300":e==="primary","bg-gray-200 text-gray-400 group-hover:bg-gray-100 group-hover:text-gray-500":e==="secondary","bg-gray-100 text-gray-500 group-hover:bg-gray-200":e==="outline","bg-red-100 text-red-600 group-hover:bg-red-500 group-hover:text-white":e==="danger-outline"}),children:a})]}));b.displayName="Button";import{jsx as r,jsxs as g}from"react/jsx-runtime";function J({children:t}){return r(s.Provider,{delayDuration:150,children:t})}function d({children:t,content:e,side:o="top",disableHoverableContent:i,...n}){let[m,a]=R(!1);return g(s.Root,{open:m,onOpenChange:a,delayDuration:0,disableHoverableContent:i,children:[r(s.Trigger,{asChild:!0,onClick:()=>{a(!0)},onBlur:()=>{a(!1)},children:t}),r(s.Portal,{children:r(s.Content,{sideOffset:8,side:o,className:"animate-slide-up-fade z-[99] items-center overflow-hidden rounded-xl border border-gray-200 bg-white shadow-sm",collisionPadding:0,...n,children:typeof e=="string"?r("span",{className:"block max-w-xs text-pretty px-4 py-2 text-center text-sm text-gray-700",children:e}):typeof e=="function"?e({setOpen:a}):e})})]})}function K({title:t,cta:e,href:o,target:i,onClick:n}){return g("div",{className:"flex max-w-xs flex-col items-center space-y-3 p-4 text-center",children:[r("p",{className:"text-sm text-gray-700",children:t}),e&&(o?r(C,{href:o,...i?{target:i}:{},className:l(c({variant:"primary"}),"flex h-9 w-full items-center justify-center whitespace-nowrap rounded-lg border px-4 text-sm"),children:e}):n?r(b,{onClick:n,text:e,variant:"primary",className:"h-9"}):null)]})}function Q({title:t,cta:e,href:o}){return g("div",{className:"max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:[t," ",r("a",{href:o,target:"_blank",rel:"noopener noreferrer",onClick:i=>i.stopPropagation(),className:"inline-flex text-gray-500 underline underline-offset-4 hover:text-gray-800",children:e})]})}function U({children:t}){return r("div",{className:"block max-w-md whitespace-pre-wrap px-4 py-2 text-center text-sm text-gray-700",children:r(k,{as:"p",options:{target:"_blank",rel:"noopener noreferrer nofollow",className:"underline underline-offset-4 text-gray-400 hover:text-gray-700"},children:t})})}function X(t){return r(d,{...t,children:r(B,{className:"h-4 w-4 text-gray-500"})})}function Y({value:t,unit:e="total clicks",prefix:o,children:i,lastClicked:n}){return(!t||t<1e3)&&!n?i:r(d,{content:g("div",{className:"block max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:[g("p",{className:"text-sm font-semibold text-gray-700",children:[o,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 Z({children:t,content:e,...o}){return r(d,{content:e,...o,children:r("div",{className:"flex cursor-pointer items-center",children:r(h,{variant:"gray",className:"border-gray-300 transition-all hover:bg-gray-200",children:t})})})}function $({children:t,tooltipProps:e,...o}){return r(d,{...e,children:r("button",{type:"button",...o,className:l("flex h-6 w-6 items-center justify-center rounded-md text-gray-500 transition-colors duration-75 hover:bg-gray-100 active:bg-gray-200 disabled:cursor-not-allowed disabled:hover:bg-transparent",o.className),children:t})})}export{J as a,d as b,K as c,Q as d,U as e,X as f,Y as g,Z as h,$ as i,c as j,b as k};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{j as C}from"./chunk-OTJXK6OZ.mjs";import{jsx as l,jsxs as i}from"react/jsx-runtime";function t({className:r}){return i("svg",{"aria-hidden":"true",className:C("h-4 w-4 animate-spin fill-gray-600 text-gray-200",r),viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[l("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),l("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]})}export{t as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{e as _}from"./chunk-E64DRJH4.mjs";import{a as x,f as y,g as v}from"./chunk-27HFRPZ2.mjs";import{a as N}from"./chunk-MQ6PCK5Z.mjs";import{a as f}from"./chunk-OBMDUP7K.mjs";import{a as b}from"./chunk-2KUZ4P7L.mjs";import{a as h}from"./chunk-MQ4XKMG5.mjs";import{a as p}from"./chunk-ALEYOCBW.mjs";import{b as o,i as d,j as n,l as g}from"./chunk-73LCVKEY.mjs";import T from"next/image";import s from"next/link";import{useParams as E}from"next/navigation";import{useEffect as F,useState as w}from"react";import A from"swr";import{jsx as e,jsxs as r}from"react/jsx-runtime";var m={features:x.map(({title:t,href:a})=>({name:t,href:a})),product:[{name:"Blog",href:"/blog"},{name:"Brand",href:"/brand"},{name:"Changelog",href:"/changelog"},{name:"Customers",href:"/customers"},{name:"Enterprise",href:"/enterprise"},{name:"Pricing",href:"/pricing"},{name:"Help Center",href:"/help"}],compare:y.map(({name:t,slug:a})=>({name:t,href:`/compare/${a}`})),legal:v.map(({name:t,slug:a})=>({name:t,href:`/legal/${a}`})),tools:g.map(({name:t,slug:a})=>({name:t,href:`/tools/${a}`}))};function Y(){let{domain:t="dub.co"}=E();return e("footer",{children:r(N,{className:"relative z-10 overflow-hidden border border-b-0 border-gray-200 bg-white/50 pb-60 pt-16 backdrop-blur-lg md:rounded-t-2xl",children:[r("div",{className:"xl:grid xl:grid-cols-3 xl:gap-8",children:[r("div",{className:"space-y-6",children:[r(s,{href:o("/",t,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:t,utm_content:"Logo"}),className:"block max-w-fit",children:[r("span",{className:"sr-only",children:[process.env.NEXT_PUBLIC_APP_NAME," Logo"]}),e(_,{className:"h-8 text-gray-800"})]}),e("p",{className:"max-w-xs text-sm text-gray-500",children:"Giving modern marketing teams superpowers with short links that stand out."}),r("p",{className:"text-sm leading-5 text-gray-400",children:["\xA9 ",new Date().getFullYear()," Dub Technologies, Inc."]}),r("div",{className:"flex items-center space-x-3",children:[r("a",{href:"https://twitter.com/dubdotco",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"Twitter"}),e(f,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-black"})]}),r("a",{href:"https://github.com/dubinc/dub",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"Github"}),e(p,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-black"})]}),r("a",{href:"https://www.linkedin.com/company/dubinc",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"LinkedIn"}),e(h,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-[#0077b5]"})]}),r("a",{href:"https://www.youtube.com/@dubdotco",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"YouTube"}),e(b,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-[#ff0000]"})]})]}),e(D,{})]}),r("div",{className:"mt-16 grid grid-cols-2 gap-4 xl:col-span-2 xl:mt-0",children:[r("div",{className:"md:grid md:grid-cols-2",children:[r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Features"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.features.map(a=>e("li",{children:e(s,{href:o(a.href,t,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:t,utm_content:a.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.name))})]}),r("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Product"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.product.map(a=>e("li",{children:e(s,{href:o(a.href,t,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:t,utm_content:a.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.name))})]})]}),r("div",{className:"md:grid md:grid-cols-2",children:[r("div",{className:"flex flex-col space-y-8",children:[r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Compare"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.compare.map(a=>e("li",{children:e(s,{href:o(a.href,t,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:t,utm_content:a.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.name))})]}),r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Legal"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.legal.map(a=>e("li",{children:e(s,{href:o(a.href,t,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:t,utm_content:a.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.name))})]})]}),r("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Tools"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.tools.map(a=>e("li",{children:e(s,{href:o(a.href,t,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:t,utm_content:a.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.name))})]})]})]})]}),e(T,{src:"https://assets.dub.co/footer.png",alt:"Dub Technologies, Inc. Logo",width:1959,height:625,className:"pointer-events-none absolute inset-x-0 bottom-0 z-0"})]})})}function D(){let{data:t}=A("https://status.dub.co/api/v1/summary",d),[a,l]=w("bg-gray-200"),[i,c]=w("Loading status...");return F(()=>{if(!t)return;let{ongoing_incidents:u}=t;if(u.length>0){let{current_worst_impact:k,name:L}=u[0],C=k==="degraded_performance"?"bg-yellow-500":"bg-red-500";c(L),l(C)}else c("All systems operational"),l("bg-green-500")},[t]),r(s,{href:"https://status.dub.co",target:"_blank",className:"group flex max-w-fit items-center space-x-2 rounded-md border border-gray-200 bg-white px-3 py-2 transition-colors hover:bg-gray-100",children:[r("div",{className:"relative h-3 w-3",children:[e("div",{className:n("absolute inset-0 m-auto h-3 w-3 animate-ping items-center justify-center rounded-full group-hover:animate-none",a,i==="Loading status..."&&"animate-none")}),e("div",{className:n("absolute inset-0 z-10 m-auto h-3 w-3 rounded-full",a)})]}),e("p",{className:"text-sm font-medium text-gray-800",children:i})]})}export{Y as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as I}from"./chunk-CY644ZMD.mjs";import{a as U}from"./chunk-JG6VJJEB.mjs";import{a as q}from"./chunk-Q2M4SXDI.mjs";import{c as C}from"./chunk-663VVVWM.mjs";import{a as H}from"./chunk-WY2DV6PM.mjs";import{a as F}from"./chunk-NWME2ANF.mjs";import{j as T}from"./chunk-V3RMYYRV.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-D7LKVBEO.mjs";import{a as c,c as u,d as N}from"./chunk-YJZEYIQZ.mjs";import{a as d}from"./chunk-ZKX4FB6T.mjs";import{b as o,j as i}from"./chunk-73LCVKEY.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{j as C}from"./chunk-PA3Q43MW.mjs";import{jsx as l,jsxs as i}from"react/jsx-runtime";function t({className:r}){return i("svg",{"aria-hidden":"true",className:C("h-4 w-4 animate-spin fill-gray-600 text-gray-200",r),viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[l("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),l("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]})}export{t as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as t}from"./chunk-AXZJPLZ2.mjs";import{j as o}from"./chunk-V3RMYYRV.mjs";import{toast as a}from"sonner";import{jsx as d}from"react/jsx-runtime";function b({value:e,children:r,className:s,successMessage:c}){let[i,p]=t();return d("button",{onClick:n=>{n.stopPropagation(),a.promise(p(e),{success:c||"Copied to clipboard!"})},type:"button",className:o("cursor-copy text-sm text-gray-700 decoration-dotted hover:underline",i&&"cursor-default",s),children:r})}export{b as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{n as i}from"./chunk-6M22A3I2.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{j as a}from"./chunk-OTJXK6OZ.mjs";import{cva as d}from"class-variance-authority";import*as i from"react";import{jsx as s}from"react/jsx-runtime";var o=d("relative w-full rounded-lg border px-4 py-6 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive border-red-500 dark:border-red-500"}},defaultVariants:{variant:"default"}}),n=i.forwardRef(({className:e,variant:t,...r},l)=>s("div",{ref:l,role:"alert",className:a(o({variant:t}),e),...r}));n.displayName="Alert";var c=i.forwardRef(({className:e,...t},r)=>s("h5",{ref:r,className:a("text-md mb-2 font-medium leading-none tracking-tight",e),...t}));c.displayName="AlertTitle";var m=i.forwardRef(({className:e,...t},r)=>s("div",{ref:r,className:a("text-sm [&_p]:leading-relaxed",e),...t}));m.displayName="AlertDescription";export{n as a,c as b,m as c};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{n as r}from"./chunk-HQJ32QC6.mjs";import{cva as n}from"class-variance-authority";import{createContext as e}from"react";import{jsx as t}from"react/jsx-runtime";var p=n("group/card-list w-full flex flex-col transition-[gap,opacity] min-w-0",{variants:{variant:{compact:"gap-0",loose:"gap-4"},loading:{true:"opacity-50"}}}),l=e({variant:"loose"});function m({variant:a="loose",loading:o=!1,className:i,children:s}){return t("ul",{className:r(p({variant:a,loading:o}),i),"data-variant":a,children:t(l.Provider,{value:{variant:a},children:s})})}export{l as a,m as b};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{j as l}from"./chunk-V3RMYYRV.mjs";import{jsx as t,jsxs as e}from"react/jsx-runtime";function o({className:a}){return e("div",{className:"group relative flex items-center",children:[t("svg",{className:l("absolute h-4 w-4 transition-all group-hover:translate-x-1 group-hover:opacity-0",a),xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16",width:"16",height:"16",children:t("path",{fillRule:"evenodd",d:"M6.22 3.22a.75.75 0 011.06 0l4.25 4.25a.75.75 0 010 1.06l-4.25 4.25a.75.75 0 01-1.06-1.06L9.94 8 6.22 4.28a.75.75 0 010-1.06z"})}),t("svg",{className:`${a||"h-4 w-4"} absolute opacity-0 transition-all group-hover:translate-x-1 group-hover:opacity-100`,xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16",width:"16",height:"16",children:t("path",{fillRule:"evenodd",d:"M8.22 2.97a.75.75 0 011.06 0l4.25 4.25a.75.75 0 010 1.06l-4.25 4.25a.75.75 0 01-1.06-1.06l2.97-2.97H3.75a.75.75 0 010-1.5h7.44L8.22 4.03a.75.75 0 010-1.06z"})})]})}export{o as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{k as P}from"./chunk-ICAQOAGT.mjs";import{a as S}from"./chunk-SRFZQFVD.mjs";import{a as h}from"./chunk-HRTR6WBC.mjs";import{j as m,k as w}from"./chunk-73LCVKEY.mjs";import{flexRender as T,getCoreRowModel as A,useReactTable as B}from"@tanstack/react-table";import{AnimatePresence as O,motion as j}from"framer-motion";import{useEffect as N,useState as U}from"react";import{jsx as i,jsxs as a}from"react/jsx-runtime";var V=t=>m(["py-2.5 text-left text-sm leading-6 whitespace-nowrap border-gray-200 px-4 relative","border-l border-b",t==="menu"&&"bg-white border-l-transparent py-0 px-1"]);function oe(t){let{data:n,rowCount:r,columns:g,defaultColumn:x,columnPinning:b,pagination:y,onPaginationChange:f}=t,[l,p]=U(t.columnVisibility??{});N(()=>{t.columnVisibility&&!w(t.columnVisibility,l)&&p(t.columnVisibility??{})},[t.columnVisibility]),N(()=>{var d;(d=t.onColumnVisibilityChange)==null||d.call(t,l)},[l]);let v=B({data:n,rowCount:r,columns:g,defaultColumn:{minSize:120,size:0,maxSize:300,...x},getCoreRowModel:A(),onPaginationChange:f,onColumnVisibilityChange:d=>p(d),state:{pagination:y,columnVisibility:l,columnPinning:{left:[],right:[],...b}},manualPagination:!0,autoResetPageIndex:!1,manualSorting:!0});return{...t,columnVisibility:l,table:v}}function le({columns:t,data:n,loading:r,error:g,emptyState:x,cellRight:b,sortBy:y,sortOrder:f,onSortChange:l,sortableColumns:p=[],className:v,scrollWrapperClassName:d,thClassName:k,tdClassName:R,table:o,pagination:s,resourceName:u,rowCount:I,children:W}){return a("div",{className:"relative border border-gray-200 bg-white sm:rounded-xl",children:[!g&&!!(n!=null&&n.length)||r?a("div",{className:m("relative min-h-[400px] overflow-x-auto rounded-[inherit]",d),children:[a("table",{className:m(["group/table w-full border-separate border-spacing-0 transition-[border-spacing,margin-top]","[&_tr>*:first-child]:border-l-transparent","[&_tr>*:last-child]:border-r-transparent"],v),children:[i("thead",{children:o.getHeaderGroups().map(c=>i("tr",{children:c.headers.map(e=>{let C=p.includes(e.column.id),M=C?"button":"div";return i("th",{className:m(V(e.id),"select-none font-medium",D(e.column,!o.getRowModel().rows.length),k),style:{minWidth:e.column.columnDef.minSize,maxWidth:e.column.columnDef.maxSize,width:e.column.columnDef.size||"auto",...z(e.column)},children:i("div",{className:"flex items-center justify-between gap-6 !pr-0",children:a(M,{className:"flex items-center gap-2",...C&&{type:"button",disabled:!C,"aria-label":"Sort by column",onClick:()=>l==null?void 0:l({sortBy:e.column.id,sortOrder:y!==e.column.id||f==="asc"?"desc":"asc"})},children:[i("span",{children:e.isPlaceholder?null:T(e.column.columnDef.header,e.getContext())}),C&&i(S,{order:y===e.column.id?f||"desc":null})]})})},e.id)})},c.id))}),i("tbody",{children:o.getRowModel().rows.map(c=>i("tr",{children:c.getVisibleCells().map(e=>i("td",{className:m(V(e.column.id),"group text-gray-600",D(e.column,c.index===o.getRowModel().rows.length-1),R),style:{minWidth:e.column.columnDef.minSize,maxWidth:e.column.columnDef.maxSize,width:e.column.columnDef.size||"auto",...z(e.column)},children:a("div",{className:"flex w-full items-center justify-between overflow-hidden truncate",children:[i("div",{className:"min-w-0 shrink grow truncate",children:T(e.column.columnDef.cell,e.getContext())}),b==null?void 0:b(e)]})},e.id))},c.id))})]}),W]}):i("div",{className:"flex h-96 w-full items-center justify-center text-sm text-gray-500",children:g||x||`No ${(u==null?void 0:u(!0))||"items"} found.`}),s&&!g&&!!(n!=null&&n.length)&&!!I&&a("div",{className:"sticky bottom-0 mx-auto -mt-px flex w-full max-w-full items-center justify-between rounded-b-[inherit] border-t border-gray-200 bg-white px-4 py-3.5 text-sm leading-6 text-gray-600",children:[a("div",{children:[i("span",{className:"hidden sm:inline-block",children:"Viewing"})," ",a("span",{className:"font-medium",children:[(s.pageIndex-1)*s.pageSize+1,"-",Math.min((s.pageIndex-1)*s.pageSize+s.pageSize,o.getRowCount())]})," ","of"," ",i("span",{className:"font-medium",children:o.getRowCount().toLocaleString()})," ",(u==null?void 0:u(o.getRowCount()!==1))||"items"]}),a("div",{className:"flex items-center gap-2",children:[i(P,{variant:"secondary",text:"Previous",className:"h-7 px-2",onClick:()=>o.previousPage(),disabled:s.pageIndex===1}),i(P,{variant:"secondary",text:"Next",className:"h-7 px-2",onClick:()=>o.nextPage(),disabled:s.pageIndex===o.getPageCount()})]})]}),i(O,{children:r&&i(j.div,{initial:{opacity:0},animate:{opacity:1},className:"absolute inset-0 flex items-center justify-center rounded-xl bg-white/50",children:i(h,{})})})]})}var D=(t,n)=>{let r=t.getIsPinned();return m(r&&!n&&"animate-table-pinned-shadow [animation-timeline:scroll(inline)]")},z=t=>{let n=t.getIsPinned();return{left:n==="left"?`${t.getStart("left")}px`:void 0,right:n==="right"?`${t.getAfter("right")}px`:void 0,position:n?"sticky":"relative"}};export{oe as a,le as b};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as r}from"./chunk-7TBGFJM2.mjs";import{n as t}from"./chunk-6M22A3I2.mjs";import{motion as c}from"framer-motion";import{forwardRef as u,useRef as C}from"react";import{jsx as d}from"react/jsx-runtime";var R=u(({width:i=!1,height:e=!1,className:p,transition:f,children:s,...h},l)=>{var a,m;let n=C(null),o=r(n);return d(c.div,{ref:l,className:t("overflow-hidden",p),animate:{width:i?((a=o==null?void 0:o.contentRect)==null?void 0:a.width)??"auto":"auto",height:e?((m=o==null?void 0:o.contentRect)==null?void 0:m.height)??"auto":"auto"},transition:f??{type:"spring",duration:.3},...h,children:d("div",{ref:n,className:t(e&&"h-max",i&&"w-max"),children:s})})});R.displayName="AnimatedSizeContainer";export{R as a};
@@ -0,0 +1,42 @@
1
+ "use client"
2
+ import{j as v}from"./chunk-PA3Q43MW.mjs";import{useEffect as U,useRef as w,useState as _}from"react";import{jsx as S}from"react/jsx-runtime";var y=`
3
+ attribute vec2 position;
4
+
5
+ void main()
6
+ {
7
+ gl_Position = vec4(position, 0.0, 1.0);
8
+ }
9
+ `,z=`
10
+ precision mediump float;
11
+
12
+ uniform vec2 resolution;
13
+ uniform float time;
14
+ uniform float dotSize;
15
+ uniform float cellSize;
16
+ uniform float speed;
17
+
18
+ // Gold noise: https://stackoverflow.com/a/28095165
19
+ float PHI = 1.61803398874989484820459;
20
+ float random(in vec2 xy){
21
+ return fract(tan(distance(xy*PHI, xy))*xy.x);
22
+ }
23
+
24
+ void main(void) {
25
+ vec2 uv = gl_FragCoord.xy;
26
+
27
+ vec2 cellUv = vec2(int(uv.x / cellSize), int(uv.y / cellSize));
28
+ float id = random(cellUv + 1.0);
29
+
30
+ float fadeEffect = (sin(time * speed + id * 20.0) + 1.0) * 0.5;
31
+
32
+ vec2 dotUv = fract(uv / cellSize);
33
+ float dot = step(max(dotUv.x, dotUv.y), dotSize / cellSize);
34
+
35
+ float opacity = dot * fadeEffect;
36
+
37
+ vec4 fragColor = vec4(vec3(0.0), opacity);
38
+ fragColor.rgb *= fragColor.a;
39
+
40
+ gl_FragColor = fragColor;
41
+ }
42
+ `,I=60,C=1e3/I;function H({dotSize:c=1,cellSize:l=3,speed:s=5,className:p}){let f=w(null),[h,A]=_(!1);return U(()=>{let o=f.current;if(!o||!o.parentElement)return;let m=o.parentElement,d=window.devicePixelRatio||1;o.width=m.clientWidth*d,o.height=m.clientHeight*d;let e=o.getContext("webgl",{powerPreference:"low-power",depth:!1,stencil:!1});if(e===null){alert("Failed to initialize WebGL");return}let t=e.createProgram();if(!t){console.error("Failed to create shader program");return}for(let r=0;r<2;++r){let T=r===0?y:z,i=e.createShader(r===0?e.VERTEX_SHADER:e.FRAGMENT_SHADER);if(!i){console.error("Failed to create shader");return}e.shaderSource(i,T),e.compileShader(i),e.getShaderParameter(i,e.COMPILE_STATUS)||console.error(e.getShaderInfoLog(i)),e.attachShader(t,i),e.linkProgram(t)}e.getProgramParameter(t,e.LINK_STATUS)||console.error(e.getProgramInfoLog(t));let u=e.getAttribLocation(t,"position"),R=e.getUniformLocation(t,"time"),F=e.getUniformLocation(t,"resolution"),E=e.getUniformLocation(t,"dotSize"),x=e.getUniformLocation(t,"cellSize"),P=e.getUniformLocation(t,"speed");e.useProgram(t);let L=[1,1,-1,1,1,-1,-1,-1],b=e.createBuffer();e.bindBuffer(e.ARRAY_BUFFER,b),e.bufferData(e.ARRAY_BUFFER,new Float32Array(L),e.STATIC_DRAW),e.enableVertexAttribArray(u),e.vertexAttribPointer(u,2,e.FLOAT,!1,0,0),e.uniform1f(E,c*window.devicePixelRatio),e.uniform1f(x,l*window.devicePixelRatio),e.uniform1f(P,s);let n,g=0;function a(r){if(r-g<C){n=requestAnimationFrame(a);return}g=r,e&&o&&t&&(e.clear(e.COLOR_BUFFER_BIT|e.DEPTH_BUFFER_BIT),e.uniform1f(R,r/1e3),e.uniform2f(F,o.width,o.height),e.drawArrays(e.TRIANGLE_STRIP,0,4)),n=requestAnimationFrame(a)}return n=requestAnimationFrame(a),o.addEventListener("webglcontextlost",r=>{r.preventDefault(),A(!0),cancelAnimationFrame(n)}),()=>{cancelAnimationFrame(n),o.removeEventListener("webglcontextlost",()=>{})}},[c,l,s]),S("div",{className:v("absolute inset-0",p,h&&"opacity-0"),children:S("canvas",{ref:f,width:"100%",height:"100%",className:"size-full"})})}export{H as a};