@dub/ui 0.1.25 → 0.1.27
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.
- package/dist/accordion.mjs +1 -1
- package/dist/alert.d.ts +11 -0
- package/dist/alert.mjs +2 -0
- package/dist/animated-size-container.d.ts +7 -7
- package/dist/animated-size-container.mjs +1 -1
- package/dist/avatar.d.ts +1 -0
- package/dist/avatar.mjs +1 -1
- package/dist/badge.mjs +1 -1
- package/dist/blur-image.mjs +1 -1
- package/dist/button.d.ts +1 -1
- package/dist/button.mjs +1 -1
- package/dist/checkbox.mjs +1 -1
- package/dist/chunk-24GO6V2F.mjs +2 -0
- package/dist/chunk-26HEIBN2.mjs +7 -0
- package/dist/chunk-26S2VKCL.mjs +2 -0
- package/dist/chunk-2COYHBQU.mjs +2 -0
- package/dist/chunk-2D3HRLYL.mjs +2 -0
- package/dist/chunk-2F6AJHDM.mjs +2 -0
- package/dist/chunk-2HPHH7SN.mjs +2 -0
- package/dist/chunk-2IIEIRXO.mjs +2 -0
- package/dist/chunk-2IQSJ46Y.mjs +2 -0
- package/dist/chunk-2KS5N5QP.mjs +2 -0
- package/dist/chunk-2KYVIUKZ.mjs +2 -0
- package/dist/chunk-2LBJI2KO.mjs +2 -0
- package/dist/chunk-2LEU47YL.mjs +2 -0
- package/dist/chunk-2LOUHZW7.mjs +2 -0
- package/dist/chunk-2LQ55DUJ.mjs +2 -0
- package/dist/chunk-2M7DR3PH.mjs +2 -0
- package/dist/chunk-2O2B2GVS.mjs +2 -0
- package/dist/chunk-2OZQ3GG4.mjs +2 -0
- package/dist/chunk-2RZIRKYM.mjs +2 -0
- package/dist/chunk-2S2YYFQL.mjs +2 -0
- package/dist/chunk-2SIZB6Z2.mjs +2 -0
- package/dist/chunk-2SXMJV3C.mjs +6 -0
- package/dist/chunk-2SZ5E3PP.mjs +2 -0
- package/dist/chunk-2TD2AQWQ.mjs +2 -0
- package/dist/chunk-2TY2KYRV.mjs +2 -0
- package/dist/chunk-2VKEDVME.mjs +2 -0
- package/dist/chunk-2VTNINY3.mjs +2 -0
- package/dist/chunk-2W2M7KTU.mjs +2 -0
- package/dist/chunk-2XIN2T7E.mjs +2 -0
- package/dist/chunk-2YQLIQQN.mjs +2 -0
- package/dist/chunk-32C65ISH.mjs +2 -0
- package/dist/chunk-32Q6B7IB.mjs +2 -0
- package/dist/chunk-34SGC4YH.mjs +2 -0
- package/dist/chunk-35IBY4GZ.mjs +6 -0
- package/dist/chunk-3A5OAKQT.mjs +2 -0
- package/dist/chunk-3DL5JOPB.mjs +2 -0
- package/dist/chunk-3EYESOVW.mjs +2 -0
- package/dist/chunk-3FV6AXQ3.mjs +2 -0
- package/dist/chunk-3GDSJXP4.mjs +2 -0
- package/dist/chunk-3HTARARH.mjs +2 -0
- package/dist/chunk-3I3KYVGK.mjs +2 -0
- package/dist/chunk-3KFNNXJ6.mjs +2 -0
- package/dist/chunk-3MKOKPHW.mjs +2 -0
- package/dist/chunk-3O4L5M2U.mjs +2 -0
- package/dist/chunk-3PGL3YLO.mjs +2 -0
- package/dist/chunk-3RV2M3TU.mjs +2 -0
- package/dist/chunk-3RYQCUYK.mjs +2 -0
- package/dist/chunk-3TZ4GPTL.mjs +2 -0
- package/dist/chunk-3UWVE2O2.mjs +2 -0
- package/dist/chunk-3VN5QIWP.mjs +2 -0
- package/dist/chunk-3XZLEIRD.mjs +2 -0
- package/dist/chunk-3ZFHMVSI.mjs +6 -0
- package/dist/chunk-43RC7HDU.mjs +2 -0
- package/dist/chunk-43SNHXWZ.mjs +7 -0
- package/dist/chunk-44WC4EDY.mjs +2 -0
- package/dist/chunk-46UGPGFU.mjs +2 -0
- package/dist/chunk-4AQZYS4A.mjs +2 -0
- package/dist/chunk-4B6VOSZN.mjs +2 -0
- package/dist/chunk-4BBI24XJ.mjs +2 -0
- package/dist/chunk-4C3BXM4Y.mjs +2 -0
- package/dist/chunk-4E6RJ7RH.mjs +1 -0
- package/dist/chunk-4EIZC6LI.mjs +2 -0
- package/dist/chunk-4FNDXXAC.mjs +2 -0
- package/dist/chunk-4GPFU5OP.mjs +2 -0
- package/dist/chunk-4INGYKUF.mjs +2 -0
- package/dist/chunk-4LSID5UQ.mjs +2 -0
- package/dist/chunk-4OEMXY2P.mjs +2 -0
- package/dist/chunk-4PGXYFFA.mjs +2 -0
- package/dist/chunk-4PXOHWHU.mjs +2 -0
- package/dist/chunk-4QKUYYEI.mjs +2 -0
- package/dist/chunk-4S6XA7PD.mjs +2 -0
- package/dist/chunk-4V77LPZ6.mjs +2 -0
- package/dist/chunk-4XBMYXEM.mjs +2 -0
- package/dist/chunk-4XI25XZO.mjs +2 -0
- package/dist/chunk-4YMEEDNA.mjs +2 -0
- package/dist/chunk-4ZRNTST4.mjs +6 -0
- package/dist/chunk-52J4WFMT.mjs +2 -0
- package/dist/chunk-52LL4TBS.mjs +2 -0
- package/dist/chunk-54MZEIUI.mjs +2 -0
- package/dist/chunk-57X4XKLY.mjs +2 -0
- package/dist/chunk-5D54PSF2.mjs +2 -0
- package/dist/chunk-5DCNABVO.mjs +2 -0
- package/dist/chunk-5DLUCODJ.mjs +2 -0
- package/dist/chunk-5EAWC5R3.mjs +2 -0
- package/dist/chunk-5EKHMWK4.mjs +2 -0
- package/dist/chunk-5EMWWWMJ.mjs +2 -0
- package/dist/chunk-5EZKZSTC.mjs +2 -0
- package/dist/chunk-5FA55CVM.mjs +2 -0
- package/dist/chunk-5HB5OTSX.mjs +2 -0
- package/dist/chunk-5L2S344Z.mjs +2 -0
- package/dist/chunk-5MMCLP4T.mjs +2 -0
- package/dist/chunk-5OSIWYWM.mjs +2 -0
- package/dist/chunk-5P75NK6D.mjs +2 -0
- package/dist/chunk-5PA7NETF.mjs +2 -0
- package/dist/chunk-5R2ZR7X7.mjs +2 -0
- package/dist/chunk-5RX4JKZ7.mjs +6 -0
- package/dist/chunk-5SAWGG7D.mjs +6 -0
- package/dist/chunk-5TFOH7FW.mjs +2 -0
- package/dist/chunk-5UYTJMB5.mjs +2 -0
- package/dist/chunk-5VYDBVWZ.mjs +2 -0
- package/dist/chunk-5W7CFW7G.mjs +2 -0
- package/dist/chunk-5WUQ5SSD.mjs +2 -0
- package/dist/chunk-5XIONXV4.mjs +2 -0
- package/dist/chunk-5YAMX6RU.mjs +2 -0
- package/dist/chunk-5YH4QIQ2.mjs +2 -0
- package/dist/chunk-637XHP77.mjs +2 -0
- package/dist/chunk-63DFCH7L.mjs +2 -0
- package/dist/chunk-63EVZTS6.mjs +2 -0
- package/dist/chunk-63RFWC6U.mjs +2 -0
- package/dist/chunk-64P5TCKJ.mjs +2 -0
- package/dist/chunk-65AHHNQL.mjs +2 -0
- package/dist/chunk-6A2DNSW4.mjs +2 -0
- package/dist/chunk-6GTEPNHP.mjs +2 -0
- package/dist/chunk-6HNMOI5O.mjs +6 -0
- package/dist/chunk-6ILS75HU.mjs +2 -0
- package/dist/chunk-6JPO26GL.mjs +2 -0
- package/dist/chunk-6KOIBXDJ.mjs +2 -0
- package/dist/chunk-6LZ4IWMN.mjs +2 -0
- package/dist/chunk-6MPGL4KH.mjs +2 -0
- package/dist/chunk-6OLCEUS3.mjs +2 -0
- package/dist/chunk-6RYEFN6Q.mjs +2 -0
- package/dist/chunk-6RYQQUSM.mjs +2 -0
- package/dist/chunk-6SIPPJ3S.mjs +2 -0
- package/dist/chunk-6SLAHSHY.mjs +2 -0
- package/dist/chunk-6TUOIQB7.mjs +2 -0
- package/dist/chunk-6TXK7NLD.mjs +2 -0
- package/dist/chunk-6V3GJ6HG.mjs +2 -0
- package/dist/chunk-6YO46VSA.mjs +2 -0
- package/dist/chunk-732HAVXD.mjs +2 -0
- package/dist/chunk-73AQPKK3.mjs +2 -0
- package/dist/chunk-77CHYSIW.mjs +2 -0
- package/dist/chunk-7CR32UAY.mjs +2 -0
- package/dist/chunk-7D62Y45E.mjs +2 -0
- package/dist/chunk-7EIIB373.mjs +2 -0
- package/dist/chunk-7FNREWUC.mjs +2 -0
- package/dist/chunk-7JVREEEI.mjs +2 -0
- package/dist/chunk-7JYRED3W.mjs +2 -0
- package/dist/chunk-7MTVIW6J.mjs +2 -0
- package/dist/chunk-7PKIG4WC.mjs +2 -0
- package/dist/chunk-7SDKHF55.mjs +2 -0
- package/dist/chunk-7UCB3TLP.mjs +2 -0
- package/dist/chunk-7XFEGQW7.mjs +2 -0
- package/dist/chunk-A2A25K2L.mjs +2 -0
- package/dist/chunk-A2ZSXR46.mjs +2 -0
- package/dist/chunk-A43PCGZ4.mjs +2 -0
- package/dist/chunk-A4Q3JAYS.mjs +2 -0
- package/dist/chunk-A7Y3JPXP.mjs +2 -0
- package/dist/chunk-ACPCB4I2.mjs +2 -0
- package/dist/chunk-AEA4FE6G.mjs +2 -0
- package/dist/chunk-AEEZU6J4.mjs +2 -0
- package/dist/chunk-AGO6RJUQ.mjs +2 -0
- package/dist/chunk-AK3VTPOG.mjs +2 -0
- package/dist/chunk-AK56NAT3.mjs +2 -0
- package/dist/chunk-ANZWNDHF.mjs +2 -0
- package/dist/chunk-AOFBA37O.mjs +2 -0
- package/dist/chunk-AQY7UVUM.mjs +2 -0
- package/dist/chunk-ASK4KFXH.mjs +2 -0
- package/dist/chunk-ATBKJCQI.mjs +6 -0
- package/dist/chunk-ATOQSQSX.mjs +2 -0
- package/dist/chunk-AU3TU3OY.mjs +2 -0
- package/dist/chunk-AUKVUUQF.mjs +2 -0
- package/dist/chunk-AWPWX4PY.mjs +2 -0
- package/dist/chunk-AX5SUICG.mjs +2 -0
- package/dist/chunk-AZSHYVRP.mjs +2 -0
- package/dist/chunk-B25FY6YB.mjs +2 -0
- package/dist/chunk-B4BRVRIY.mjs +2 -0
- package/dist/chunk-B4NQYHBZ.mjs +2 -0
- package/dist/chunk-B4WQHVKO.mjs +6 -0
- package/dist/chunk-B4ZUMPKI.mjs +2 -0
- package/dist/chunk-B5RHXXEO.mjs +2 -0
- package/dist/chunk-B6MWS5O2.mjs +2 -0
- package/dist/chunk-BA5AWLOP.mjs +2 -0
- package/dist/chunk-BAYO33VP.mjs +2 -0
- package/dist/chunk-BDOAF2J7.mjs +2 -0
- package/dist/chunk-BE6XZMNG.mjs +2 -0
- package/dist/chunk-BERH4K4R.mjs +2 -0
- package/dist/chunk-BFMRGJR7.mjs +2 -0
- package/dist/chunk-BGVSTO2T.mjs +7 -0
- package/dist/chunk-BHSHRRNE.mjs +2 -0
- package/dist/chunk-BKK2LN3N.mjs +2 -0
- package/dist/chunk-BL2X3IOF.mjs +2 -0
- package/dist/chunk-BL7I2UHC.mjs +2 -0
- package/dist/chunk-BLMH44TN.mjs +2 -0
- package/dist/chunk-BMZDMOXG.mjs +6 -0
- package/dist/chunk-BOCPUR5Z.mjs +2 -0
- package/dist/chunk-BOEKU3BT.mjs +2 -0
- package/dist/chunk-BOTROIWG.mjs +2 -0
- package/dist/chunk-BP6N4NWL.mjs +2 -0
- package/dist/chunk-BPF74YQI.mjs +2 -0
- package/dist/chunk-BQMCXTOR.mjs +2 -0
- package/dist/chunk-BRCE2HCO.mjs +2 -0
- package/dist/chunk-BRGDOGU3.mjs +6 -0
- package/dist/chunk-BSAHBWVL.mjs +2 -0
- package/dist/chunk-BTIQDQ4Q.mjs +6 -0
- package/dist/chunk-BTLQB7SF.mjs +2 -0
- package/dist/chunk-BUUXY5PY.mjs +2 -0
- package/dist/chunk-BUWQT42R.mjs +2 -0
- package/dist/chunk-BVP3AMVF.mjs +2 -0
- package/dist/chunk-BVTMRZND.mjs +6 -0
- package/dist/chunk-BW4XZCFB.mjs +2 -0
- package/dist/chunk-BWGYQBOX.mjs +2 -0
- package/dist/chunk-BWNCNH3R.mjs +2 -0
- package/dist/chunk-BXR6AH2P.mjs +2 -0
- package/dist/chunk-BYCYY3CN.mjs +2 -0
- package/dist/chunk-BYIJ43ZW.mjs +2 -0
- package/dist/chunk-BYUCYR5P.mjs +2 -0
- package/dist/chunk-C267KPMJ.mjs +2 -0
- package/dist/chunk-C5VYRCDG.mjs +2 -0
- package/dist/chunk-C6D4QS4D.mjs +2 -0
- package/dist/chunk-C6KSN2P2.mjs +2 -0
- package/dist/chunk-C6V4KXHF.mjs +6 -0
- package/dist/chunk-C76ZKE43.mjs +2 -0
- package/dist/chunk-CAIIQECJ.mjs +2 -0
- package/dist/chunk-CHJUJE4X.mjs +2 -0
- package/dist/chunk-CIDBHPSK.mjs +2 -0
- package/dist/chunk-CKQU54PU.mjs +2 -0
- package/dist/chunk-CM7PMFG2.mjs +2 -0
- package/dist/chunk-CNJFW4SL.mjs +2 -0
- package/dist/chunk-CNTHLJXR.mjs +6 -0
- package/dist/chunk-COEPRWCY.mjs +2 -0
- package/dist/chunk-CPBGVENK.mjs +2 -0
- package/dist/chunk-CSDIXWYM.mjs +2 -0
- package/dist/chunk-CTSTG4GK.mjs +6 -0
- package/dist/chunk-CUONIZRV.mjs +2 -0
- package/dist/chunk-CW357N5E.mjs +2 -0
- package/dist/chunk-CWRTMY4K.mjs +6 -0
- package/dist/chunk-CXBDO7OZ.mjs +2 -0
- package/dist/chunk-CXD5V6EP.mjs +2 -0
- package/dist/chunk-CY7PQZRM.mjs +2 -0
- package/dist/chunk-CYEDXZIQ.mjs +2 -0
- package/dist/chunk-CYVWU2SP.mjs +2 -0
- package/dist/chunk-CZMILBDV.mjs +2 -0
- package/dist/chunk-CZNIJRGW.mjs +2 -0
- package/dist/chunk-D3AZYWPA.mjs +2 -0
- package/dist/chunk-D5WX7PJB.mjs +2 -0
- package/dist/chunk-D6PDF22E.mjs +2 -0
- package/dist/chunk-D7SRRREC.mjs +2 -0
- package/dist/chunk-D7TPJQOS.mjs +2 -0
- package/dist/chunk-D7USZAZP.mjs +2 -0
- package/dist/chunk-DAM64FK4.mjs +2 -0
- package/dist/chunk-DAZALGLW.mjs +2 -0
- package/dist/chunk-DC36CR56.mjs +2 -0
- package/dist/chunk-DCL4MB7A.mjs +2 -0
- package/dist/chunk-DG6IEMKH.mjs +2 -0
- package/dist/chunk-DKIUF57R.mjs +2 -0
- package/dist/chunk-DKL2OKIP.mjs +2 -0
- package/dist/chunk-DLETK3JE.mjs +2 -0
- package/dist/chunk-DLMXMEZY.mjs +2 -0
- package/dist/chunk-DMADXWHH.mjs +2 -0
- package/dist/chunk-DMLF4GJF.mjs +2 -0
- package/dist/chunk-DMO7DFCC.mjs +2 -0
- package/dist/chunk-DMUERTF2.mjs +2 -0
- package/dist/chunk-DNUFXC6G.mjs +2 -0
- package/dist/chunk-DP4YQEMX.mjs +2 -0
- package/dist/chunk-DU4NB3MH.mjs +2 -0
- package/dist/chunk-DUUKDJA6.mjs +2 -0
- package/dist/chunk-DWACNU5E.mjs +2 -0
- package/dist/chunk-DWB64XSY.mjs +2 -0
- package/dist/chunk-DX5NKO56.mjs +2 -0
- package/dist/chunk-DZ47BADR.mjs +2 -0
- package/dist/chunk-DZIB4NN7.mjs +2 -0
- package/dist/chunk-E3VG6CQ2.mjs +2 -0
- package/dist/chunk-E5L2OWEU.mjs +2 -0
- package/dist/chunk-E5NDHDY2.mjs +2 -0
- package/dist/chunk-E5YVFLIA.mjs +2 -0
- package/dist/chunk-E64PMPSS.mjs +6 -0
- package/dist/chunk-E6HWCEBB.mjs +2 -0
- package/dist/chunk-EC722IAZ.mjs +2 -0
- package/dist/chunk-EDQYILFY.mjs +2 -0
- package/dist/chunk-EE3DY3TR.mjs +2 -0
- package/dist/chunk-EECUYP57.mjs +2 -0
- package/dist/chunk-EEF6EPGB.mjs +2 -0
- package/dist/chunk-EFCWPYMA.mjs +2 -0
- package/dist/chunk-EFEMK55A.mjs +2 -0
- package/dist/chunk-EHW7GXUT.mjs +2 -0
- package/dist/chunk-EINURKG6.mjs +2 -0
- package/dist/chunk-EKF6H63J.mjs +2 -0
- package/dist/chunk-ELWUYRKK.mjs +2 -0
- package/dist/chunk-EPD7PWKY.mjs +2 -0
- package/dist/chunk-EQ3LXJ3Q.mjs +2 -0
- package/dist/chunk-ESL73QAN.mjs +2 -0
- package/dist/chunk-EVYDVAVA.mjs +2 -0
- package/dist/chunk-EYDM7PDS.mjs +2 -0
- package/dist/chunk-EYZ7GDSC.mjs +2 -0
- package/dist/chunk-F2AVRMTR.mjs +6 -0
- package/dist/chunk-F2LPHYUE.mjs +2 -0
- package/dist/chunk-F36BOKRS.mjs +2 -0
- package/dist/chunk-F45XED3J.mjs +2 -0
- package/dist/chunk-FBR7MPOG.mjs +2 -0
- package/dist/chunk-FE2FOWMJ.mjs +2 -0
- package/dist/chunk-FECSAU4C.mjs +2 -0
- package/dist/chunk-FEFKJNQ5.mjs +2 -0
- package/dist/chunk-FG26QHVN.mjs +2 -0
- package/dist/chunk-FG3FQFLG.mjs +2 -0
- package/dist/chunk-FGQI6XJQ.mjs +2 -0
- package/dist/chunk-FKIGBGCB.mjs +2 -0
- package/dist/chunk-FKL2RERC.mjs +2 -0
- package/dist/chunk-FKMSZDQU.mjs +2 -0
- package/dist/chunk-FN2J3AVE.mjs +2 -0
- package/dist/chunk-FN5WHFTP.mjs +2 -0
- package/dist/chunk-FQA3MJNN.mjs +2 -0
- package/dist/chunk-FRLFD2ES.mjs +2 -0
- package/dist/chunk-FUYMO2W7.mjs +2 -0
- package/dist/chunk-FWKUIXLZ.mjs +6 -0
- package/dist/chunk-FXXDWSKY.mjs +2 -0
- package/dist/chunk-FYWMALFK.mjs +2 -0
- package/dist/chunk-G37ONOBW.mjs +2 -0
- package/dist/chunk-G3UBTKH7.mjs +2 -0
- package/dist/chunk-G4CFL7MH.mjs +2 -0
- package/dist/chunk-G4O4HU3N.mjs +2 -0
- package/dist/chunk-G7AWIAOF.mjs +2 -0
- package/dist/chunk-GB6S6DXF.mjs +2 -0
- package/dist/chunk-GC5HGGPL.mjs +2 -0
- package/dist/chunk-GCVNGLLG.mjs +2 -0
- package/dist/chunk-GFLNQUPY.mjs +2 -0
- package/dist/chunk-GFUFVOPR.mjs +2 -0
- package/dist/chunk-GFX5MVTL.mjs +2 -0
- package/dist/chunk-GGCLLZUP.mjs +2 -0
- package/dist/chunk-GHBZGU5R.mjs +7 -0
- package/dist/chunk-GIZ5OQTX.mjs +2 -0
- package/dist/chunk-GJ7KGUZE.mjs +2 -0
- package/dist/chunk-GJI6VAVC.mjs +2 -0
- package/dist/chunk-GJOO6ZDQ.mjs +2 -0
- package/dist/chunk-GKJ3OFEJ.mjs +2 -0
- package/dist/chunk-GRBCFYEM.mjs +2 -0
- package/dist/chunk-GRFAFTOP.mjs +6 -0
- package/dist/chunk-GRQN5UKZ.mjs +2 -0
- package/dist/chunk-GULLWDTH.mjs +2 -0
- package/dist/chunk-H2QHRKQP.mjs +2 -0
- package/dist/chunk-H43FMVF4.mjs +2 -0
- package/dist/chunk-H46E2OJW.mjs +2 -0
- package/dist/chunk-H52TZ2BC.mjs +2 -0
- package/dist/chunk-H6EI7JAC.mjs +2 -0
- package/dist/chunk-H6YO7HO3.mjs +2 -0
- package/dist/chunk-HBYA3B3O.mjs +2 -0
- package/dist/chunk-HCOYBBRG.mjs +2 -0
- package/dist/chunk-HCSLTLQJ.mjs +2 -0
- package/dist/chunk-HD6YF3EZ.mjs +2 -0
- package/dist/chunk-HDYSJ6QF.mjs +2 -0
- package/dist/chunk-HE3BCKPL.mjs +2 -0
- package/dist/chunk-HEXWU5VG.mjs +2 -0
- package/dist/chunk-HFEN5PUM.mjs +2 -0
- package/dist/chunk-HFFZNF7I.mjs +2 -0
- package/dist/chunk-HFHKOIAX.mjs +6 -0
- package/dist/chunk-HFPQIZC6.mjs +2 -0
- package/dist/chunk-HIQXFKNG.mjs +2 -0
- package/dist/chunk-HISIKABS.mjs +2 -0
- package/dist/chunk-HJ5XEUN7.mjs +2 -0
- package/dist/chunk-HJP7WGFK.mjs +2 -0
- package/dist/chunk-HJTMBTBX.mjs +6 -0
- package/dist/chunk-HNXJA6CJ.mjs +2 -0
- package/dist/chunk-HOMG3UZO.mjs +2 -0
- package/dist/chunk-HPHESWJX.mjs +2 -0
- package/dist/chunk-HPOHGCIW.mjs +2 -0
- package/dist/chunk-HRFSSAKB.mjs +2 -0
- package/dist/chunk-HTME5G5W.mjs +2 -0
- package/dist/chunk-HTMM6WXM.mjs +2 -0
- package/dist/chunk-HXYPYGHL.mjs +2 -0
- package/dist/chunk-HY2TJPTV.mjs +2 -0
- package/dist/chunk-HY4DKUHI.mjs +2 -0
- package/dist/chunk-HYPLE4VW.mjs +2 -0
- package/dist/chunk-HZYXQ3MC.mjs +2 -0
- package/dist/chunk-I3VHDNVN.mjs +2 -0
- package/dist/chunk-I7JJCIMU.mjs +2 -0
- package/dist/chunk-IC6OYAMK.mjs +2 -0
- package/dist/chunk-ICEVFMZW.mjs +2 -0
- package/dist/chunk-IGFN5BSV.mjs +2 -0
- package/dist/chunk-IIFMULXN.mjs +2 -0
- package/dist/chunk-IJUWWVAZ.mjs +2 -0
- package/dist/chunk-INISB4KV.mjs +2 -0
- package/dist/chunk-IP2B33JZ.mjs +2 -0
- package/dist/chunk-IPWNIED6.mjs +2 -0
- package/dist/chunk-IQBWWAJQ.mjs +2 -0
- package/dist/chunk-IQVF3XWX.mjs +2 -0
- package/dist/chunk-IQZRESCY.mjs +2 -0
- package/dist/chunk-IS537Y2Z.mjs +2 -0
- package/dist/chunk-ITEGZYV3.mjs +6 -0
- package/dist/chunk-IVMGTWHP.mjs +2 -0
- package/dist/chunk-IVQ7JIOU.mjs +2 -0
- package/dist/chunk-IWEF32NS.mjs +2 -0
- package/dist/chunk-IWYPHXNT.mjs +2 -0
- package/dist/chunk-IXKHV2N5.mjs +2 -0
- package/dist/chunk-IXM7QA7I.mjs +2 -0
- package/dist/chunk-IYFT2FKW.mjs +2 -0
- package/dist/chunk-IZYQXXQJ.mjs +2 -0
- package/dist/chunk-J26LLJEM.mjs +2 -0
- package/dist/chunk-J2GORZBD.mjs +1 -0
- package/dist/chunk-J2UNKIZH.mjs +2 -0
- package/dist/chunk-J3IDQN5M.mjs +2 -0
- package/dist/chunk-J3XQLDPV.mjs +2 -0
- package/dist/chunk-J5EEGK2D.mjs +2 -0
- package/dist/chunk-J6NH6EKQ.mjs +2 -0
- package/dist/chunk-JA5ORM2H.mjs +2 -0
- package/dist/chunk-JBH6ZAPQ.mjs +2 -0
- package/dist/chunk-JBN7WFP3.mjs +2 -0
- package/dist/chunk-JBURS7BX.mjs +2 -0
- package/dist/chunk-JDYEQG7L.mjs +2 -0
- package/dist/chunk-JE2C3EPJ.mjs +2 -0
- package/dist/chunk-JEQIJYEK.mjs +2 -0
- package/dist/chunk-JFSNPBO7.mjs +2 -0
- package/dist/chunk-JG7HARGV.mjs +2 -0
- package/dist/chunk-JIYMB4IM.mjs +6 -0
- package/dist/chunk-JKSIE5IM.mjs +2 -0
- package/dist/chunk-JN66NXCY.mjs +2 -0
- package/dist/chunk-JP57AFGB.mjs +2 -0
- package/dist/chunk-JSKEDOPC.mjs +2 -0
- package/dist/chunk-JSY5LHHK.mjs +2 -0
- package/dist/chunk-JUX3CLVC.mjs +2 -0
- package/dist/chunk-JX5W4R2L.mjs +2 -0
- package/dist/chunk-JY44CIXV.mjs +2 -0
- package/dist/chunk-JY6CFEPF.mjs +2 -0
- package/dist/chunk-JZ6UR2RV.mjs +2 -0
- package/dist/chunk-K3VELXUZ.mjs +2 -0
- package/dist/chunk-K4LQE5VT.mjs +2 -0
- package/dist/chunk-K5LPCUYD.mjs +2 -0
- package/dist/chunk-K5PSK524.mjs +2 -0
- package/dist/chunk-K5TGD7XY.mjs +6 -0
- package/dist/chunk-KA4CUK6U.mjs +2 -0
- package/dist/chunk-KAP2NTDG.mjs +2 -0
- package/dist/chunk-KBSVR5V3.mjs +2 -0
- package/dist/chunk-KCP2L6LE.mjs +2 -0
- package/dist/chunk-KDNSFAET.mjs +2 -0
- package/dist/chunk-KET2VVKE.mjs +2 -0
- package/dist/chunk-KETLMZBE.mjs +2 -0
- package/dist/chunk-KFL2KWHP.mjs +2 -0
- package/dist/chunk-KFZGLUTN.mjs +2 -0
- package/dist/chunk-KGJN3574.mjs +2 -0
- package/dist/chunk-KGMSGNRU.mjs +2 -0
- package/dist/chunk-KHD666XA.mjs +2 -0
- package/dist/chunk-KICICMID.mjs +2 -0
- package/dist/chunk-KJGIGRFE.mjs +2 -0
- package/dist/chunk-KKXO7LRB.mjs +6 -0
- package/dist/chunk-KM3MOTZO.mjs +2 -0
- package/dist/chunk-KNIPG7TV.mjs +2 -0
- package/dist/chunk-KQD3JUYQ.mjs +2 -0
- package/dist/chunk-KR2QRW67.mjs +2 -0
- package/dist/chunk-KRO2B7YM.mjs +2 -0
- package/dist/chunk-KRTUG2A3.mjs +2 -0
- package/dist/chunk-KTINRJRF.mjs +2 -0
- package/dist/chunk-KTQQGDOC.mjs +2 -0
- package/dist/chunk-KVKEFKYI.mjs +2 -0
- package/dist/chunk-KVTNN7ID.mjs +2 -0
- package/dist/chunk-KYMBX7DZ.mjs +2 -0
- package/dist/chunk-KYR5VT6J.mjs +2 -0
- package/dist/chunk-KZ43CCOP.mjs +2 -0
- package/dist/chunk-KZLWQBCX.mjs +2 -0
- package/dist/chunk-L2ZLHNHY.mjs +2 -0
- package/dist/chunk-L3J4LUFF.mjs +2 -0
- package/dist/chunk-L7RXJ44W.mjs +2 -0
- package/dist/chunk-LAZXPMSH.mjs +2 -0
- package/dist/chunk-LBIDSBDC.mjs +2 -0
- package/dist/chunk-LCDWDEM6.mjs +2 -0
- package/dist/chunk-LGX4VS7A.mjs +2 -0
- package/dist/chunk-LJZAX76P.mjs +2 -0
- package/dist/chunk-LLRCEJB4.mjs +2 -0
- package/dist/chunk-LMB54POX.mjs +2 -0
- package/dist/chunk-LOYVT6OP.mjs +2 -0
- package/dist/chunk-LP63EHJ6.mjs +2 -0
- package/dist/chunk-LPCHFQSJ.mjs +2 -0
- package/dist/chunk-LPHD5TTW.mjs +2 -0
- package/dist/chunk-LR6FJVUB.mjs +2 -0
- package/dist/chunk-LTFXCZD2.mjs +2 -0
- package/dist/chunk-LV6OOG6R.mjs +2 -0
- package/dist/chunk-LVPA36JM.mjs +2 -0
- package/dist/chunk-LW3RTDNQ.mjs +2 -0
- package/dist/chunk-LWNH5N3Y.mjs +2 -0
- package/dist/chunk-LXYRKMMJ.mjs +2 -0
- package/dist/chunk-M2QPQGIL.mjs +2 -0
- package/dist/chunk-M5ARCUMU.mjs +2 -0
- package/dist/chunk-M67CTKNL.mjs +2 -0
- package/dist/chunk-M6RRMOK6.mjs +2 -0
- package/dist/chunk-MAZ6YG5Y.mjs +2 -0
- package/dist/chunk-MB64TQNW.mjs +2 -0
- package/dist/chunk-MBAL4WEY.mjs +2 -0
- package/dist/chunk-MBTADLVF.mjs +2 -0
- package/dist/chunk-MC7ISRBT.mjs +2 -0
- package/dist/chunk-MCSWU3SS.mjs +2 -0
- package/dist/chunk-MEKY4EIL.mjs +2 -0
- package/dist/chunk-MGYR72JU.mjs +2 -0
- package/dist/chunk-MIAOXGNS.mjs +2 -0
- package/dist/chunk-MIQTBVNU.mjs +2 -0
- package/dist/chunk-MLGA4PC2.mjs +2 -0
- package/dist/chunk-MNTYVEVE.mjs +2 -0
- package/dist/chunk-MOJOOMRA.mjs +2 -0
- package/dist/chunk-MOMH4ALF.mjs +7 -0
- package/dist/chunk-MOUGUPBB.mjs +2 -0
- package/dist/chunk-MPOE6WS2.mjs +2 -0
- package/dist/chunk-MUZ6V67F.mjs +2 -0
- package/dist/chunk-MVRODYEW.mjs +2 -0
- package/dist/chunk-MXQOE67U.mjs +2 -0
- package/dist/chunk-MYIDQEPH.mjs +2 -0
- package/dist/chunk-N2UGKQH4.mjs +2 -0
- package/dist/chunk-N4CSRSO5.mjs +2 -0
- package/dist/chunk-N4FQWPUI.mjs +2 -0
- package/dist/chunk-N4RNKGX6.mjs +2 -0
- package/dist/chunk-N7NKALOQ.mjs +2 -0
- package/dist/chunk-NBHIUOEP.mjs +2 -0
- package/dist/chunk-NDI2LGSM.mjs +2 -0
- package/dist/chunk-NEGWM3CK.mjs +2 -0
- package/dist/chunk-NHXYH6XC.mjs +2 -0
- package/dist/chunk-NJF4O2UD.mjs +2 -0
- package/dist/chunk-NKDFB7LH.mjs +2 -0
- package/dist/chunk-NKQN5XA6.mjs +2 -0
- package/dist/chunk-NKYZ36IO.mjs +2 -0
- package/dist/chunk-NKZG4E32.mjs +2 -0
- package/dist/chunk-NLUMD5MZ.mjs +2 -0
- package/dist/chunk-NMHRHEJQ.mjs +2 -0
- package/dist/chunk-NNTBEWRY.mjs +2 -0
- package/dist/chunk-NO6MOVSA.mjs +6 -0
- package/dist/chunk-NPP5VA5W.mjs +2 -0
- package/dist/chunk-NPWONPKN.mjs +2 -0
- package/dist/chunk-NSHIWBRU.mjs +2 -0
- package/dist/chunk-NTERUKXP.mjs +2 -0
- package/dist/chunk-NUU73Y42.mjs +2 -0
- package/dist/chunk-NZUKOOAG.mjs +2 -0
- package/dist/chunk-O2V7R5AS.mjs +2 -0
- package/dist/chunk-O374VG2Z.mjs +2 -0
- package/dist/chunk-O3FTJ6KM.mjs +2 -0
- package/dist/chunk-O3KEPWMN.mjs +2 -0
- package/dist/chunk-O3U55RD7.mjs +2 -0
- package/dist/chunk-O62F6DM6.mjs +2 -0
- package/dist/chunk-O7P5ZP3C.mjs +2 -0
- package/dist/chunk-OBHTQFWH.mjs +2 -0
- package/dist/chunk-ODVPK2MI.mjs +6 -0
- package/dist/chunk-OHN3LGAU.mjs +2 -0
- package/dist/chunk-OHW2XY2M.mjs +2 -0
- package/dist/chunk-OK6FQJZY.mjs +2 -0
- package/dist/chunk-OKLH6ZRX.mjs +6 -0
- package/dist/chunk-OLJ3XQMX.mjs +2 -0
- package/dist/chunk-OLQDEHWZ.mjs +2 -0
- package/dist/chunk-OLY6NYZ5.mjs +2 -0
- package/dist/chunk-OMWOMSPK.mjs +2 -0
- package/dist/chunk-OOURHQIR.mjs +2 -0
- package/dist/chunk-OR4ZAUXU.mjs +2 -0
- package/dist/chunk-OSL4RF2V.mjs +2 -0
- package/dist/chunk-OTXS36LV.mjs +2 -0
- package/dist/chunk-OUAKD4BK.mjs +2 -0
- package/dist/chunk-OUPTZNBV.mjs +2 -0
- package/dist/chunk-OUQJYIJK.mjs +2 -0
- package/dist/chunk-OXPXJ6DV.mjs +2 -0
- package/dist/chunk-OZ2WHUBM.mjs +2 -0
- package/dist/chunk-OZH7NYAG.mjs +2 -0
- package/dist/chunk-OZL5DWTU.mjs +2 -0
- package/dist/chunk-OZLQ2BGG.mjs +2 -0
- package/dist/chunk-PDSUXFDU.mjs +2 -0
- package/dist/chunk-PEB3OOJD.mjs +2 -0
- package/dist/chunk-PEDQHDGO.mjs +2 -0
- package/dist/chunk-PG4SJSE4.mjs +2 -0
- package/dist/chunk-PKSKNB76.mjs +2 -0
- package/dist/chunk-PLBNO4SP.mjs +2 -0
- package/dist/chunk-PLVAY633.mjs +6 -0
- package/dist/chunk-PNI6WOIE.mjs +2 -0
- package/dist/chunk-POLH6Z2M.mjs +2 -0
- package/dist/chunk-PP3BRPQA.mjs +7 -0
- package/dist/chunk-PSD4VLL7.mjs +2 -0
- package/dist/chunk-PUMZASOU.mjs +2 -0
- package/dist/chunk-PV53CAPL.mjs +2 -0
- package/dist/chunk-PXKQQK7F.mjs +2 -0
- package/dist/chunk-PY3ADQKA.mjs +2 -0
- package/dist/chunk-Q2ELN5SV.mjs +2 -0
- package/dist/chunk-Q4ASP33R.mjs +2 -0
- package/dist/chunk-Q5KEJKGK.mjs +2 -0
- package/dist/chunk-Q5KRG5EO.mjs +2 -0
- package/dist/chunk-Q5MRUOJO.mjs +2 -0
- package/dist/chunk-Q5RNXKRU.mjs +2 -0
- package/dist/chunk-Q7PR2VRX.mjs +2 -0
- package/dist/chunk-QAJY2VWJ.mjs +6 -0
- package/dist/chunk-QAYYUEMJ.mjs +2 -0
- package/dist/chunk-QB4VHFVE.mjs +2 -0
- package/dist/chunk-QBXSCPDU.mjs +2 -0
- package/dist/chunk-QF4ZG4IO.mjs +2 -0
- package/dist/chunk-QH3YYOSN.mjs +2 -0
- package/dist/chunk-QI5N3AKM.mjs +2 -0
- package/dist/chunk-QQUGCKIN.mjs +2 -0
- package/dist/chunk-QSQKFNVC.mjs +2 -0
- package/dist/chunk-QUCUV4TH.mjs +2 -0
- package/dist/chunk-QUZ6WUCT.mjs +2 -0
- package/dist/chunk-QVD7OXUV.mjs +2 -0
- package/dist/chunk-QWX3GBCC.mjs +2 -0
- package/dist/chunk-QXUVD6HF.mjs +2 -0
- package/dist/chunk-QXYVNI4X.mjs +2 -0
- package/dist/chunk-QZ2HLLTX.mjs +2 -0
- package/dist/chunk-QZZG5JIN.mjs +2 -0
- package/dist/chunk-R3HER2QA.mjs +2 -0
- package/dist/chunk-R3YR4LC6.mjs +2 -0
- package/dist/chunk-R4FMA6YB.mjs +2 -0
- package/dist/chunk-R4KDWH4W.mjs +2 -0
- package/dist/chunk-R4KEOG3E.mjs +6 -0
- package/dist/chunk-R7LUD3W6.mjs +2 -0
- package/dist/chunk-RAUXDUU7.mjs +2 -0
- package/dist/chunk-RB2WIZ7A.mjs +2 -0
- package/dist/chunk-RDBDUTWD.mjs +2 -0
- package/dist/chunk-RDCD5KJX.mjs +2 -0
- package/dist/chunk-REH4L7H7.mjs +2 -0
- package/dist/chunk-RFDHYEGI.mjs +2 -0
- package/dist/chunk-RGVCFXWK.mjs +2 -0
- package/dist/chunk-RI6JIZZD.mjs +2 -0
- package/dist/chunk-RPUROL4I.mjs +2 -0
- package/dist/chunk-RQMSLLPK.mjs +2 -0
- package/dist/chunk-RRNKXXH6.mjs +2 -0
- package/dist/chunk-RRPR34R2.mjs +6 -0
- package/dist/chunk-RT4ZFG2T.mjs +2 -0
- package/dist/chunk-RU77SKNB.mjs +2 -0
- package/dist/chunk-RUFIYUWE.mjs +2 -0
- package/dist/chunk-RVI2B5RN.mjs +2 -0
- package/dist/chunk-RVNLURMM.mjs +2 -0
- package/dist/chunk-RY3THW7P.mjs +2 -0
- package/dist/chunk-RZGSOJYO.mjs +2 -0
- package/dist/chunk-RZQWS5UQ.mjs +2 -0
- package/dist/chunk-S5QECAZN.mjs +2 -0
- package/dist/chunk-SAF3LENR.mjs +2 -0
- package/dist/chunk-SBUWOAMD.mjs +2 -0
- package/dist/chunk-SCLUM3KX.mjs +2 -0
- package/dist/chunk-SDDPW7OS.mjs +2 -0
- package/dist/chunk-SDUHSZOE.mjs +2 -0
- package/dist/chunk-SES5K3VW.mjs +2 -0
- package/dist/chunk-SHAX3XHU.mjs +2 -0
- package/dist/chunk-SJ3JH2MV.mjs +2 -0
- package/dist/chunk-SJ7AGXLW.mjs +2 -0
- package/dist/chunk-SJBC3MX4.mjs +2 -0
- package/dist/chunk-SJBE53SX.mjs +2 -0
- package/dist/chunk-SJBKLUUF.mjs +2 -0
- package/dist/chunk-SKSF2QU4.mjs +2 -0
- package/dist/chunk-SKZITERI.mjs +2 -0
- package/dist/chunk-SMW7RYA2.mjs +6 -0
- package/dist/chunk-SO5MY6MP.mjs +2 -0
- package/dist/chunk-SQ72NMUG.mjs +2 -0
- package/dist/chunk-SSR5HDSW.mjs +2 -0
- package/dist/chunk-STHAY76K.mjs +2 -0
- package/dist/chunk-SVVS6OHC.mjs +2 -0
- package/dist/chunk-SYFACKWG.mjs +2 -0
- package/dist/chunk-SZPUIUQ7.mjs +2 -0
- package/dist/chunk-T3MTCKPD.mjs +2 -0
- package/dist/chunk-T5ANRHLT.mjs +2 -0
- package/dist/chunk-T6JL3WOA.mjs +2 -0
- package/dist/chunk-TATQKYRB.mjs +2 -0
- package/dist/chunk-TBSSVSOU.mjs +2 -0
- package/dist/chunk-TEUVWUM3.mjs +2 -0
- package/dist/chunk-TF3LDJ5R.mjs +6 -0
- package/dist/chunk-THHLBN7N.mjs +2 -0
- package/dist/chunk-TI5KXH5C.mjs +2 -0
- package/dist/chunk-TJ3U346L.mjs +2 -0
- package/dist/chunk-TKILHP52.mjs +2 -0
- package/dist/chunk-TKUJ45O7.mjs +2 -0
- package/dist/chunk-TL56XUXY.mjs +2 -0
- package/dist/chunk-TLFZIWME.mjs +2 -0
- package/dist/chunk-TMUBU7JQ.mjs +2 -0
- package/dist/chunk-TNAH7N5Q.mjs +2 -0
- package/dist/chunk-TORFST2S.mjs +2 -0
- package/dist/chunk-TQ2ZB4CI.mjs +2 -0
- package/dist/chunk-TRPXAA4Z.mjs +2 -0
- package/dist/chunk-TTTF64VC.mjs +2 -0
- package/dist/chunk-TUG5B6HV.mjs +2 -0
- package/dist/chunk-TWOXOTB5.mjs +2 -0
- package/dist/chunk-TYJUNW4W.mjs +2 -0
- package/dist/chunk-TZJEIYJ5.mjs +2 -0
- package/dist/chunk-TZYWDJMK.mjs +2 -0
- package/dist/chunk-U566KVYJ.mjs +6 -0
- package/dist/chunk-U5FWQKUY.mjs +2 -0
- package/dist/chunk-U7YZTR7L.mjs +2 -0
- package/dist/chunk-UBIDQLRL.mjs +2 -0
- package/dist/chunk-UE5FESA4.mjs +2 -0
- package/dist/chunk-UEX4RCBB.mjs +6 -0
- package/dist/chunk-UG73AMUT.mjs +2 -0
- package/dist/chunk-UGCRJZJX.mjs +2 -0
- package/dist/chunk-UIFZOBQS.mjs +2 -0
- package/dist/chunk-UJPYXZSJ.mjs +6 -0
- package/dist/chunk-UOFEKWAE.mjs +2 -0
- package/dist/chunk-UPCYYH6V.mjs +2 -0
- package/dist/chunk-UQRA5CIK.mjs +2 -0
- package/dist/chunk-UQUT3ZK3.mjs +2 -0
- package/dist/chunk-UU26UDN7.mjs +2 -0
- package/dist/chunk-UU4ZK2DJ.mjs +2 -0
- package/dist/chunk-UUPZDEJS.mjs +2 -0
- package/dist/chunk-UVGBM4KM.mjs +2 -0
- package/dist/chunk-UWEWDVB4.mjs +2 -0
- package/dist/chunk-UXC6FRSO.mjs +2 -0
- package/dist/chunk-V2FDPSFN.mjs +2 -0
- package/dist/chunk-V3MOK3HG.mjs +2 -0
- package/dist/chunk-V6VNLKIG.mjs +2 -0
- package/dist/chunk-V6YDESTV.mjs +2 -0
- package/dist/chunk-VABK3NNS.mjs +2 -0
- package/dist/chunk-VBFFPBA6.mjs +2 -0
- package/dist/chunk-VBQALNXV.mjs +2 -0
- package/dist/chunk-VC26F3RP.mjs +2 -0
- package/dist/chunk-VDHVVWG6.mjs +2 -0
- package/dist/chunk-VGFEGFII.mjs +2 -0
- package/dist/chunk-VGHATC2D.mjs +2 -0
- package/dist/chunk-VGUHQWEV.mjs +2 -0
- package/dist/chunk-VHICV25E.mjs +2 -0
- package/dist/chunk-VIJB2P4M.mjs +2 -0
- package/dist/chunk-VIZ7PO4M.mjs +2 -0
- package/dist/chunk-VJB6JLDV.mjs +2 -0
- package/dist/chunk-VKB7TCLW.mjs +2 -0
- package/dist/chunk-VL4RHFEN.mjs +2 -0
- package/dist/chunk-VMYST2HS.mjs +2 -0
- package/dist/chunk-VN656M5F.mjs +2 -0
- package/dist/chunk-VOYPFLKP.mjs +2 -0
- package/dist/chunk-VRJ2NRSO.mjs +2 -0
- package/dist/chunk-VSWAUQIL.mjs +2 -0
- package/dist/chunk-VTRRJHUU.mjs +2 -0
- package/dist/chunk-VTSJYP2N.mjs +2 -0
- package/dist/chunk-VU52JHH5.mjs +2 -0
- package/dist/chunk-VVUU6JRM.mjs +2 -0
- package/dist/chunk-VVZOOOJY.mjs +2 -0
- package/dist/chunk-W23T3CXB.mjs +2 -0
- package/dist/chunk-W3Y4CZGN.mjs +2 -0
- package/dist/chunk-W4C3OZTS.mjs +2 -0
- package/dist/chunk-W4EQ25DN.mjs +7 -0
- package/dist/chunk-W7SHX5V4.mjs +2 -0
- package/dist/chunk-W7WEA2ZV.mjs +2 -0
- package/dist/chunk-WF5VDI7X.mjs +2 -0
- package/dist/chunk-WFJSFTVW.mjs +2 -0
- package/dist/chunk-WFLL3SHE.mjs +6 -0
- package/dist/chunk-WGCI5T3R.mjs +6 -0
- package/dist/chunk-WGXEON4V.mjs +2 -0
- package/dist/chunk-WH27MDW6.mjs +2 -0
- package/dist/chunk-WHNH7E76.mjs +2 -0
- package/dist/chunk-WIS4N3GF.mjs +2 -0
- package/dist/chunk-WJB35KEW.mjs +2 -0
- package/dist/chunk-WJICABWO.mjs +2 -0
- package/dist/chunk-WKIXOS3S.mjs +2 -0
- package/dist/chunk-WMAJWRVF.mjs +6 -0
- package/dist/chunk-WN5XBGPY.mjs +2 -0
- package/dist/chunk-WOEZLFFM.mjs +2 -0
- package/dist/chunk-WOOWWHYP.mjs +2 -0
- package/dist/chunk-WQPHAMKG.mjs +2 -0
- package/dist/chunk-WQSW7LJU.mjs +2 -0
- package/dist/chunk-WSG3I47M.mjs +2 -0
- package/dist/chunk-WSPJPB2Q.mjs +2 -0
- package/dist/chunk-WXQX4676.mjs +2 -0
- package/dist/chunk-WYFG5LXQ.mjs +2 -0
- package/dist/chunk-X5XFF7SS.mjs +2 -0
- package/dist/chunk-X72BZPN3.mjs +2 -0
- package/dist/chunk-X77LNJLE.mjs +2 -0
- package/dist/chunk-X7W77BZS.mjs +7 -0
- package/dist/chunk-XA3RG3QT.mjs +2 -0
- package/dist/chunk-XC2AX62T.mjs +2 -0
- package/dist/chunk-XCLT6ETU.mjs +6 -0
- package/dist/chunk-XCO6TYE2.mjs +2 -0
- package/dist/chunk-XEYIVIYO.mjs +2 -0
- package/dist/chunk-XEZMUHIV.mjs +2 -0
- package/dist/chunk-XF7WUXAM.mjs +2 -0
- package/dist/chunk-XIXLVNS6.mjs +2 -0
- package/dist/chunk-XLCQBU5J.mjs +2 -0
- package/dist/chunk-XLMDO4ZL.mjs +2 -0
- package/dist/chunk-XPZTGCEI.mjs +2 -0
- package/dist/chunk-XTBZIQ2U.mjs +2 -0
- package/dist/chunk-XTKFN4ZK.mjs +2 -0
- package/dist/chunk-XUBSZMA2.mjs +2 -0
- package/dist/chunk-XUCXF47V.mjs +2 -0
- package/dist/chunk-XVRD64YX.mjs +6 -0
- package/dist/chunk-XW3NMHCT.mjs +2 -0
- package/dist/chunk-XWEN3PFJ.mjs +2 -0
- package/dist/chunk-XY7DIAH6.mjs +2 -0
- package/dist/chunk-XZEINW7G.mjs +2 -0
- package/dist/chunk-XZGMS5ZH.mjs +2 -0
- package/dist/chunk-Y2W7AILC.mjs +2 -0
- package/dist/chunk-Y4HMM6AU.mjs +2 -0
- package/dist/chunk-Y4QF7RN2.mjs +2 -0
- package/dist/chunk-YBGSLCZL.mjs +2 -0
- package/dist/chunk-YBPEL7MQ.mjs +2 -0
- package/dist/chunk-YCNFF3Q2.mjs +2 -0
- package/dist/chunk-YD3L5CBD.mjs +2 -0
- package/dist/chunk-YEZMS6DB.mjs +2 -0
- package/dist/chunk-YF7NXSU4.mjs +2 -0
- package/dist/chunk-YFTL7BRZ.mjs +6 -0
- package/dist/chunk-YGGS2GND.mjs +2 -0
- package/dist/chunk-YGHPN646.mjs +2 -0
- package/dist/chunk-YI2MXKDK.mjs +2 -0
- package/dist/chunk-YLHEABB4.mjs +2 -0
- package/dist/chunk-YNY4Y3TS.mjs +2 -0
- package/dist/chunk-YPUGSNR3.mjs +2 -0
- package/dist/chunk-YPWVIAZQ.mjs +2 -0
- package/dist/chunk-YQAFXCBS.mjs +2 -0
- package/dist/chunk-YVKMEUKA.mjs +2 -0
- package/dist/chunk-YWNA7F3R.mjs +2 -0
- package/dist/chunk-YZCRKBXT.mjs +2 -0
- package/dist/chunk-YZDKBALF.mjs +6 -0
- package/dist/chunk-Z2VDBFTY.mjs +2 -0
- package/dist/chunk-Z3YV2WRJ.mjs +2 -0
- package/dist/chunk-Z523UMUD.mjs +2 -0
- package/dist/chunk-Z5E7F5ZR.mjs +2 -0
- package/dist/chunk-Z6K6DDP4.mjs +7 -0
- package/dist/chunk-ZBWYXGD2.mjs +2 -0
- package/dist/chunk-ZCVIMP3Z.mjs +6 -0
- package/dist/chunk-ZFMAOKZG.mjs +2 -0
- package/dist/chunk-ZGYSZEW5.mjs +2 -0
- package/dist/chunk-ZIT4I6Y3.mjs +2 -0
- package/dist/chunk-ZJGLR3ZA.mjs +2 -0
- package/dist/chunk-ZJICX3BL.mjs +2 -0
- package/dist/chunk-ZJWHCAS3.mjs +2 -0
- package/dist/chunk-ZKAEB6EP.mjs +2 -0
- package/dist/chunk-ZLRQTD6Y.mjs +2 -0
- package/dist/chunk-ZNBFWJ76.mjs +2 -0
- package/dist/chunk-ZNUVBW2G.mjs +2 -0
- package/dist/chunk-ZPH6QMWS.mjs +2 -0
- package/dist/chunk-ZPPR2L25.mjs +6 -0
- package/dist/chunk-ZQFWVOBH.mjs +2 -0
- package/dist/chunk-ZSO3KWDZ.mjs +2 -0
- package/dist/chunk-ZUWQQ4UY.mjs +2 -0
- package/dist/chunk-ZWSXYDQQ.mjs +2 -0
- package/dist/chunk-ZXTST5XC.mjs +2 -0
- package/dist/chunk-ZXTSXTXC.mjs +6 -0
- package/dist/chunk-ZYBJOEYC.mjs +2 -0
- package/dist/chunk-ZZGTNYHX.mjs +2 -0
- package/dist/composite-logo.mjs +1 -1
- package/dist/copy-button.mjs +1 -1
- package/dist/counting-numbers.mjs +1 -1
- package/dist/date-picker/calendar.mjs +1 -1
- package/dist/date-picker/date-range-picker.mjs +1 -1
- package/dist/date-picker/presets.mjs +1 -1
- package/dist/date-picker/trigger.mjs +1 -1
- package/dist/file-upload.mjs +1 -1
- package/dist/filter/filter-list.mjs +1 -1
- package/dist/filter/filter-select.mjs +1 -1
- package/dist/footer.mjs +1 -1
- package/dist/form.mjs +1 -1
- package/dist/icons/expanding-arrow.mjs +1 -1
- package/dist/icons/go.d.ts +6 -0
- package/dist/icons/go.mjs +2 -0
- package/dist/icons/index.d.ts +20 -0
- package/dist/icons/index.mjs +1 -1
- package/dist/icons/linkedin.mjs +1 -1
- package/dist/icons/loading-circle.mjs +1 -1
- package/dist/icons/loading-spinner.mjs +1 -1
- package/dist/icons/nucleo/blog.d.ts +6 -0
- package/dist/icons/nucleo/blog.mjs +2 -0
- package/dist/icons/nucleo/book2.d.ts +6 -0
- package/dist/icons/nucleo/book2.mjs +2 -0
- package/dist/icons/nucleo/bullet-list.d.ts +6 -0
- package/dist/icons/nucleo/bullet-list.mjs +2 -0
- package/dist/icons/nucleo/chart-line.d.ts +6 -0
- package/dist/icons/nucleo/chart-line.mjs +2 -0
- package/dist/icons/nucleo/code.d.ts +6 -0
- package/dist/icons/nucleo/code.mjs +2 -0
- package/dist/icons/nucleo/headset.d.ts +6 -0
- package/dist/icons/nucleo/headset.mjs +2 -0
- package/dist/icons/nucleo/hexadecagon-star.d.ts +6 -0
- package/dist/icons/nucleo/hexadecagon-star.mjs +2 -0
- package/dist/icons/nucleo/key.d.ts +6 -0
- package/dist/icons/nucleo/key.mjs +2 -0
- package/dist/icons/nucleo/paintbrush.d.ts +6 -0
- package/dist/icons/nucleo/paintbrush.mjs +2 -0
- package/dist/icons/nucleo/sliders.d.ts +6 -0
- package/dist/icons/nucleo/sliders.mjs +2 -0
- package/dist/icons/nucleo/stars2.d.ts +6 -0
- package/dist/icons/nucleo/stars2.mjs +2 -0
- package/dist/icons/nucleo/trash.d.ts +6 -0
- package/dist/icons/nucleo/trash.mjs +2 -0
- package/dist/icons/nucleo/user.d.ts +6 -0
- package/dist/icons/nucleo/user.mjs +2 -0
- package/dist/icons/nucleo/users.d.ts +6 -0
- package/dist/icons/nucleo/users.mjs +2 -0
- package/dist/icons/nucleo/window-settings.d.ts +6 -0
- package/dist/icons/nucleo/window-settings.mjs +2 -0
- package/dist/icons/prisma.d.ts +6 -0
- package/dist/icons/prisma.mjs +2 -0
- package/dist/icons/python.d.ts +6 -0
- package/dist/icons/python.mjs +2 -0
- package/dist/icons/raycast.d.ts +6 -0
- package/dist/icons/raycast.mjs +2 -0
- package/dist/icons/ruby.d.ts +6 -0
- package/dist/icons/ruby.mjs +2 -0
- package/dist/icons/sort-order.mjs +1 -1
- package/dist/icons/tinybird.d.ts +6 -0
- package/dist/icons/tinybird.mjs +2 -0
- package/dist/icons/twitter.mjs +1 -1
- package/dist/icons/typescript.d.ts +6 -0
- package/dist/icons/typescript.mjs +2 -0
- package/dist/icons/youtube.mjs +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +61 -8
- package/dist/index.mjs +1 -1
- package/dist/input-select.mjs +1 -1
- package/dist/label.mjs +1 -1
- package/dist/link-logo.mjs +1 -1
- package/dist/link-preview.mjs +1 -1
- package/dist/logo.mjs +1 -1
- package/dist/max-width-wrapper.mjs +1 -1
- package/dist/modal.mjs +1 -1
- package/dist/nav/content/product-content.d.ts +6 -0
- package/dist/nav/content/product-content.mjs +2 -0
- package/dist/nav/content/resources-content.d.ts +6 -0
- package/dist/nav/content/resources-content.mjs +2 -0
- package/dist/nav/content/shared.d.ts +22 -0
- package/dist/nav/content/shared.mjs +2 -0
- package/dist/nav/content/solutions-content.d.ts +6 -0
- package/dist/nav/content/solutions-content.mjs +2 -0
- package/dist/nav/nav-mobile.d.ts +14 -0
- package/dist/nav/nav-mobile.mjs +2 -0
- package/dist/nav/nav.d.ts +42 -0
- package/dist/nav/nav.mjs +2 -0
- package/dist/nav-logo.mjs +1 -1
- package/dist/nav-mobile.mjs +1 -1
- package/dist/nav.mjs +1 -1
- package/dist/popover.mjs +1 -1
- package/dist/progress-bar.mjs +1 -1
- package/dist/radio-group.mjs +1 -1
- package/dist/shared-d1be4b94.d.ts +5 -0
- package/dist/sliders-dae1fdf8.d.ts +6 -0
- package/dist/switch.mjs +1 -1
- package/dist/tab-select.mjs +1 -1
- package/dist/table/table.d.ts +42 -0
- package/dist/table/table.mjs +2 -0
- package/dist/table/use-table-pagination.d.ts +13 -0
- package/dist/table/use-table-pagination.mjs +2 -0
- package/dist/toggle-group.d.ts +13 -0
- package/dist/toggle-group.mjs +2 -0
- package/dist/toggle.d.ts +15 -0
- package/dist/toggle.mjs +2 -0
- package/dist/tooltip.d.ts +1 -1
- package/dist/tooltip.mjs +1 -1
- package/dist/user-967d33e3.d.ts +8 -0
- package/dist/wordmark.mjs +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as b}from"./chunk-5OSIWYWM.mjs";import{d as s}from"./chunk-ZYBJOEYC.mjs";import{cva as L}from"class-variance-authority";import{UploadCloud as V}from"lucide-react";import{useState as F}from"react";import{toast as h}from"sonner";import{Fragment as M,jsx as t,jsxs as c}from"react/jsx-runtime";var d={any:{types:[]},images:{types:["image/png","image/jpeg"],errorMessage:"File type not supported (.png or .jpg only)"}},z=L("group relative isolate flex aspect-[1200/630] w-full flex-col items-center justify-center overflow-hidden bg-white transition-all hover:bg-gray-50",{variants:{variant:{default:"rounded-md border border-gray-300 shadow-sm",plain:""}},defaultVariants:{variant:"default"}});function J({readFile:N,onChange:r,variant:w,className:D,iconClassName:x,accept:i="any",imageSrc:l,loading:P=!1,clickToUpload:n=!0,showHoverOverlay:R=!0,content:u,maxFileSizeMB:p=0,accessibilityLabel:U="File upload"}){let[g,o]=F(!1),[j,T]=F(null),f=async e=>{let a="dataTransfer"in e?e.dataTransfer.files&&e.dataTransfer.files[0]:e.target.files&&e.target.files[0];if(!a)return;if(T(a.name),p>0&&a.size/1024/1024>p){h.error(`File size too big (max ${p} MB)`);return}let m=d[i].types;if(m.length&&!m.includes(a.type)){h.error(d[i].errorMessage??"File type not supported");return}if(N){let y=new FileReader;y.onload=E=>{var v;return r==null?void 0:r({src:(v=E.target)==null?void 0:v.result,file:a})},y.readAsDataURL(a);return}r==null||r({file:a})};return c("label",{className:s(z({variant:w}),n&&"cursor-pointer",D),children:[P&&t("div",{className:"absolute inset-0 z-[5] flex items-center justify-center rounded-[inherit] bg-white",children:t(b,{})}),t("div",{className:"absolute inset-0 z-[5]",onDragOver:e=>{e.preventDefault(),e.stopPropagation(),o(!0)},onDragEnter:e=>{e.preventDefault(),e.stopPropagation(),o(!0)},onDragLeave:e=>{e.preventDefault(),e.stopPropagation(),o(!1)},onDrop:async e=>{e.preventDefault(),e.stopPropagation(),f(e),o(!1)}}),c("div",{className:s("absolute inset-0 z-[3] flex flex-col items-center justify-center rounded-[inherit] bg-white transition-all",g&&"cursor-copy border-2 border-black bg-gray-50 opacity-100",l?s("opacity-0",R&&"group-hover:opacity-100"):"group-hover:bg-gray-50"),children:[t(V,{className:s("h-7 w-7 text-gray-500 transition-all duration-75 group-hover:scale-110 group-active:scale-95",g?"scale-110":"scale-100",x)}),u!==null&&t("div",{className:"mt-2 text-center text-sm text-gray-500",children:u??t(M,{children:c("p",{children:["Drag and drop ",n&&"or click"," to upload."]})})}),t("span",{className:"sr-only",children:U})]}),l&&t("img",{src:l,alt:"Preview",className:"h-full w-full rounded-[inherit] object-cover"}),n&&t("div",{className:"sr-only mt-1 flex shadow-sm",children:t("input",{type:"file",accept:d[i].types.join(","),onChange:f},j)})]})}export{J as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{b as x,f as N}from"./chunk-XCLT6ETU.mjs";import{a as v}from"./chunk-3IR6GXKB.mjs";import{a as b}from"./chunk-KJEVFTCG.mjs";import{a as y}from"./chunk-5J4GRBP5.mjs";import{a as f}from"./chunk-T4YFARK5.mjs";import{a as h}from"./chunk-2XDU4CN6.mjs";import{g as u,i as l,k as g,l as p}from"./chunk-3VTQK4AG.mjs";import m from"@vercel/analytics";import C from"next/image";import s from"next/link";import{useParams as T}from"next/navigation";import{useEffect as P,useState as k}from"react";import R from"swr";import{jsx as e,jsxs as t}from"react/jsx-runtime";var n={features:x.map(({shortTitle:a,slug:o})=>({name:a,href:`/${o}`})),product:[{name:"Blog",href:"/blog"},{name:"Brand",href:"/brand"},{name:"Changelog",href:"/changelog"},{name:"Customers",href:"/customers"},{name:"Enterprise",href:"/enterprise"},{name:"Pricing",href:"/pricing"},{name:"Help Center",href:"/help"}],compare:p.map(({name:a,slug:o})=>({name:a,href:`/compare/${o}`})),legal:[{name:"Privacy",href:"/privacy"},{name:"Terms",href:"/terms"},{name:"Abuse",href:"/abuse"}],tools:g.map(({name:a,slug:o})=>({name:a,href:`/tools/${o}`}))};function O(){let{domain:a="dub.co"}=T(),o=r=>a==="dub.co"?r:`https://dub.co${r}`;return e("footer",{children:t(v,{className:"relative z-10 overflow-hidden border border-b-0 border-gray-200 bg-white/50 pb-60 pt-16 backdrop-blur-lg md:rounded-t-2xl",children:[t("div",{className:"xl:grid xl:grid-cols-3 xl:gap-8",children:[t("div",{className:"space-y-6",children:[t(s,{href:o("/"),...a!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:a,medium:"footer item (logo)"})}},className:"block max-w-fit",children:[t("span",{className:"sr-only",children:[process.env.NEXT_PUBLIC_APP_NAME," Logo"]}),e(N,{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."}),t("p",{className:"text-sm leading-5 text-gray-400",children:["\xA9 ",new Date().getFullYear()," Dub Technologies, Inc."]}),t("div",{className:"flex items-center space-x-3",children:[t("a",{href:"https://twitter.com/dubdotco",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"Twitter"}),e(b,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-black"})]}),t("a",{href:"https://github.com/dubinc/dub",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"Github"}),e(f,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-black"})]}),t("a",{href:"https://www.linkedin.com/company/dubinc",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"LinkedIn"}),e(h,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-[#0077b5]"})]}),t("a",{href:"https://www.youtube.com/@dubdotco",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"YouTube"}),e(y,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-[#ff0000]"})]})]}),e($,{})]}),t("div",{className:"mt-16 grid grid-cols-2 gap-4 xl:col-span-2 xl:mt-0",children:[t("div",{className:"md:grid md:grid-cols-2",children:[t("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Features"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:n.features.map(r=>e("li",{children:e(s,{href:o(r.href),...a!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:a,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:r.name})},r.name))})]}),t("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Product"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:n.product.map(r=>e("li",{children:e(s,{href:o(r.href),...a!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:a,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:r.name})},r.name))})]})]}),t("div",{className:"md:grid md:grid-cols-2",children:[t("div",{className:"flex flex-col space-y-8",children:[t("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Compare"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:n.compare.map(r=>e("li",{children:e(s,{href:o(r.href),...a!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:a,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:r.name})},r.name))})]}),t("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Legal"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:n.legal.map(r=>e("li",{children:e(s,{href:o(r.href),...a!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:a,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:r.name})},r.name))})]})]}),t("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Tools"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:n.tools.map(r=>e("li",{children:e(s,{href:o(r.href),...a!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:a,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:r.name})},r.name))})]})]})]})]}),e(C,{src:"https://assets.dub.co/footer.png",alt:"Dub Technologies, Inc. Logo",width:1959,height:625,className:"pointer-events-none absolute inset-x-0 bottom-0 z-0"})]})})}function $(){let{data:a}=R("https://status.dub.co/api/v1/summary",u),[o,r]=k("bg-gray-200"),[i,c]=k("Loading status...");return P(()=>{if(!a)return;let{ongoing_incidents:d}=a;if(d.length>0){let{current_worst_impact:w,name:L}=d[0],_=w==="degraded_performance"?"bg-yellow-500":"bg-red-500";c(L),r(_)}else c("All systems operational"),r("bg-green-500")},[a]),t(s,{href:"https://status.dub.co",target:"_blank",className:"group flex max-w-fit items-center space-x-2 rounded-md border border-gray-200 bg-white px-3 py-2 transition-colors hover:bg-gray-100",children:[t("div",{className:"relative h-3 w-3",children:[e("div",{className:l("absolute inset-0 m-auto h-3 w-3 animate-ping items-center justify-center rounded-full group-hover:animate-none",o,i==="Loading status..."&&"animate-none")}),e("div",{className:l("absolute inset-0 z-10 m-auto h-3 w-3 rounded-full",o)})]}),e("p",{className:"text-sm font-medium text-gray-800",children:i})]})}export{O as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{g as a}from"./chunk-5XIONXV4.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{h as e}from"./chunk-3I3KYVGK.mjs";import{jsx as t,jsxs as s}from"react/jsx-runtime";function o({className:r}){return s("svg",{xmlns:"http://www.w3.org/2000/svg",version:"1.1",width:"256",height:"256",viewBox:"0 0 256 256",className:e("text-[#ff0000]",r),children:[t("defs",{}),t("g",{style:{stroke:"none",strokeWidth:0,strokeDasharray:"none",strokeLinecap:"butt",strokeLinejoin:"miter",strokeMiterlimit:10,fill:"#ff0000",fillRule:"nonzero",opacity:1},transform:"translate(1.4065934065934016 1.4065934065934016) scale(2.81 2.81)",children:t("path",{d:"M 88.119 23.338 c -1.035 -3.872 -4.085 -6.922 -7.957 -7.957 C 73.144 13.5 45 13.5 45 13.5 s -28.144 0 -35.162 1.881 c -3.872 1.035 -6.922 4.085 -7.957 7.957 C 0 30.356 0 45 0 45 s 0 14.644 1.881 21.662 c 1.035 3.872 4.085 6.922 7.957 7.957 C 16.856 76.5 45 76.5 45 76.5 s 28.144 0 35.162 -1.881 c 3.872 -1.035 6.922 -4.085 7.957 -7.957 C 90 59.644 90 45 90 45 S 90 30.356 88.119 23.338 z M 36 58.5 v -27 L 59.382 45 L 36 58.5 z",style:{stroke:"none",strokeWidth:1,strokeDasharray:"none",strokeLinecap:"butt",strokeLinejoin:"miter",strokeMiterlimit:10,fill:"currentColor",fillRule:"nonzero",opacity:1},transform:" matrix(1 0 0 1 0 0) ",strokeLinecap:"round"})})]})}export{o as a};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as P}from"./chunk-PLBNO4SP.mjs";import{a as f}from"./chunk-HISIKABS.mjs";import{a as y}from"./chunk-3EYESOVW.mjs";import{b as N}from"./chunk-A2ZSXR46.mjs";import{d as b,g as w,i as d,j as C}from"./chunk-5D54PSF2.mjs";import*as r from"@radix-ui/react-navigation-menu";import p from"@vercel/analytics";import{ChevronDown as X}from"lucide-react";import v from"next/link";import{useParams as ee,useSelectedLayoutSegment as te}from"next/navigation";import{createContext as oe}from"react";import re from"swr";import{Airplay as H,BarChart as W,Link2 as A,QrCode as I,Users as D,Webhook as $}from"lucide-react";var M=[{title:"Powerful Analytics For The Modern Marketer",shortTitle:"Advanced Analytics",icon:W,slug:"features/analytics"},{title:"Branded Links That Stand Out",shortTitle:"Branded Links",icon:H,slug:"features/branded-links"},{title:"Gorgeous QR codes for your links",shortTitle:"QR Codes",icon:I,slug:"features/qr-codes"},{title:"Personalize Your Short Links",shortTitle:"Personalization",icon:A,slug:"features/personalization"},{title:"Collaborate With Your Team",shortTitle:"Team Collaboration",icon:D,slug:"features/collaboration"},{title:"Programmatic Link Creation",shortTitle:"API",icon:$,slug:"docs/api-reference/introduction"}];import{useCallback as O,useEffect as L,useState as G}from"react";function S(i){let[e,m]=G(!1),l=O(()=>{m(window.scrollY>i)},[i]);return L(()=>(window.addEventListener("scroll",l),()=>window.removeEventListener("scroll",l)),[l]),L(()=>{l()},[l]),e}import*as c from"@radix-ui/react-popover";import{BoxSelect as z,Home as F,LayoutGrid as Z,Type as U}from"lucide-react";import{useParams as Q}from"next/navigation";import{useCallback as Y,useContext as j,useState as q}from"react";import{toast as T}from"sonner";import{jsx as o,jsxs as _}from"react/jsx-runtime";var K=`<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>`;async function V(i){try{await navigator.clipboard.writeText(i),T.success("Copied to clipboard!")}catch(e){console.error("Failed to copy to clipboard.",e),T.error("Failed to copy to clipboard.")}}function R({variant:i="full",isInApp:e,className:m}){let{domain:l="dub.co"}=Q(),{theme:u}=j(x),[k,g]=q(!1),n=Y(a=>{a.preventDefault(),g(!0)},[]);return _(c.Root,{open:k,onOpenChange:g,children:[o(c.Anchor,{asChild:!0,children:o("div",{onContextMenu:n,className:"max-w-fit",children:i==="full"?o(P,{className:m}):o(f,{className:d("h-8 w-8 transition-all duration-75 active:scale-95",m)})})}),o(c.Portal,{children:o(c.Content,{sideOffset:14,align:"start",className:d("z-50 -mt-1.5 -translate-x-10",u==="dark"&&"dark"),onClick:a=>{a.stopPropagation(),g(!1)},children:_("div",{className:"grid gap-1 rounded-lg border border-gray-200 bg-white p-2 drop-shadow-sm dark:border-white/[0.15] dark:bg-black sm:min-w-[240px]",children:[o(h,{text:"Copy Logo as SVG",variant:"outline",onClick:()=>V(K),icon:o(f,{className:"h-4 w-4"})}),o(h,{text:"Copy Wordmark as SVG",variant:"outline",onClick:()=>V(J),icon:o(U,{strokeWidth:2,className:"h-4 w-4"})}),o(h,{text:"Brand Guidelines",variant:"outline",onClick:()=>window.open("https://dub.co/brand","_blank"),icon:o(z,{strokeWidth:2,className:"h-4 w-4"})}),e||l!="dub.co"?o(h,{text:"Home Page",variant:"outline",onClick:()=>window.open(`https://dub.co${e?"/home":""}`,"_blank"),icon:o(F,{strokeWidth:2,className:"h-4 w-4"})}):o(h,{text:"Dashboard",variant:"outline",onClick:()=>window.open("https://app.dub.co","_blank"),icon:o(Z,{strokeWidth:2,className:"h-4 w-4"})})]})})})]})}function h({className:i,...e}){return o(N,{className:d("h-9 justify-start px-3 font-medium hover:text-gray-700 dark:text-white/70 dark:hover:bg-white/[0.15] dark:hover:text-white",i),...e})}import{Fragment as ie,jsx as t,jsxs as s}from"react/jsx-runtime";var x=oe({theme:"light"}),ae=[{name:"Customers",slug:"customers"},{name:"Pricing",slug:"pricing"},{name:"Blog",slug:"blog"},{name:"Changelog",slug:"changelog"},{name:"Help Center",slug:"help"}];function Be({theme:i="light"}){let{domain:e="dub.co"}=ee(),m=n=>e==="dub.co"?n:`https://dub.co${n}`,l=S(80),u=te(),{data:k,isLoading:g}=re(e==="dub.co"&&"/api/auth/session",w,{dedupingInterval:6e4});return t(x.Provider,{value:{theme:i},children:s("div",{className:d("sticky inset-x-0 top-0 z-30 w-full transition-all",i==="dark"&&"dark"),children:[t("div",{className:d("-z-1 absolute inset-0 border-transparent transition-all",{"border-b border-black/10 bg-white/75 backdrop-blur-lg dark:border-white/10 dark:bg-black/75":l,"border-b border-black/10 bg-white dark:border-white/10 dark:bg-black":u&&C.includes(u)})}),t(y,{className:"relative",children:s("div",{className:"flex h-14 items-center justify-between",children:[s("div",{className:"flex items-center space-x-12",children:[t(v,{href:m("/"),...e!=="dub.co"&&{onClick:()=>{p.track("Referred from custom domain",{domain:e,medium:"logo"})}},children:t(R,{})}),s(r.Root,{delayDuration:0,className:"relative hidden lg:block",children:[s(r.List,{className:"flex flex-row space-x-2 p-4",children:[s(r.Item,{children:[s(r.Trigger,{className:"group flex items-center space-x-2 rounded-md px-3 py-2 text-sm font-medium hover:bg-gray-100 focus:outline-none dark:hover:bg-white/10",children:[t("p",{className:d("text-sm font-medium text-gray-500 transition-colors ease-out group-hover:text-black dark:text-white/70 dark:group-hover:text-white",{"text-black dark:text-white":u==="features"}),children:"Features"}),t(X,{className:"h-4 w-4 text-black transition-all group-data-[state=open]:rotate-180 dark:text-white"})]}),t(r.Content,{children:t("div",{className:"grid w-[32rem] grid-cols-2 gap-1 p-3",children:M.map(({slug:n,icon:a,title:B,shortTitle:E})=>s(v,{href:m(`/${n}`),...e!=="dub.co"&&{onClick:()=>{p.track("Referred from custom domain",{domain:e,medium:`navbar item (/${n})`})}},className:"rounded-lg p-3 transition-colors hover:bg-gray-100 active:bg-gray-200 dark:hover:bg-white/[0.15] dark:active:bg-white/20",children:[s("div",{className:"flex items-center space-x-2",children:[t(a,{className:"h-4 w-4 text-gray-700 dark:text-white/80"}),t("p",{className:"text-sm font-medium text-gray-700 dark:text-white",children:E})]}),t("p",{className:"mt-1 line-clamp-1 text-sm text-gray-500 dark:text-white/60",children:B})]},n))})})]}),ae.map(({name:n,slug:a})=>t(r.Item,{asChild:!0,children:t(v,{id:`nav-${a}`,href:m(`/${a}`),...e!=="dub.co"&&{onClick:()=>{p.track("Referred from custom domain",{domain:e,medium:`navbar item (${a})`})}},className:d("rounded-md px-3 py-2 text-sm font-medium text-gray-500 transition-colors ease-out hover:text-black dark:text-white/70 dark:hover:text-white",{"text-black dark:text-white":u===a}),children:n},a)},a))]}),t(r.Viewport,{className:"data-[state=closed]:animate-scale-out-content data-[state=open]:animate-scale-in-content absolute left-0 top-full flex w-[var(--radix-navigation-menu-viewport-width)] origin-[top_center] justify-start rounded-lg border border-gray-200 bg-white shadow-lg dark:border-white/[0.15] dark:bg-black"})]})]}),t("div",{className:"hidden lg:block",children:k&&Object.keys(k).length>0?t(v,{href:b,className:"animate-fade-in rounded-full border border-black bg-black px-4 py-1.5 text-sm text-white transition-all hover:bg-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"}):g?null:s(ie,{children:[t(v,{href:`${b}/login`,...e!=="dub.co"&&{onClick:()=>{p.track("Referred from custom domain",{domain:e,medium:"navbar item (login)"})}},className:"animate-fade-in rounded-full px-4 py-1.5 text-sm font-medium text-gray-500 transition-colors ease-out hover:text-black dark:text-white dark:hover:text-white/70",children:"Log in"}),t(v,{href:`${b}/register`,...e!=="dub.co"&&{onClick:()=>{p.track("Referred from custom domain",{domain:e,medium:"navbar item (signup)"})}},className:"animate-fade-in rounded-full border border-black bg-black px-4 py-1.5 text-sm text-white transition-all hover:bg-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"})]})})]})})]})})}export{S as a,M as b,x as c,ae as d,Be as e,R as f};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as g,b as f,f as m}from"./chunk-JG7HARGV.mjs";import{a as c,c as p,d as x}from"./chunk-D3AZYWPA.mjs";import{a as v}from"./chunk-FXXDWSKY.mjs";import{i as s,l as d}from"./chunk-JP57AFGB.mjs";import k from"@vercel/analytics";import{ChevronRight as N}from"lucide-react";import h from"next/link";import{jsx as r,jsxs as o}from"react/jsx-runtime";function P({domain:e}){return o("div",{className:"grid w-[40rem] grid-cols-2",children:[o("div",{className:"p-5",children:[r("p",{className:s(c,"mb-2"),children:"Features"}),r("div",{className:"-mx-2 -mb-2 grid grid-cols-1 gap-0.5",children:g.map(({icon:a,title:t,description:n,href:i})=>r(p,{href:m(i,e),...e!=="dub.co"&&{onClick:()=>{k.track("Referred from custom domain",{domain:e,medium:`navbar item (${i})`})}},icon:r(x,{icon:a}),title:t,description:n},i))})]}),o("div",{className:"border-l border-gray-200 p-5 dark:border-white/20",children:[o(h,{href:m("/blog/category/customers",e),className:s(c,"group mb-2 flex items-center transition-colors hover:text-black dark:hover:text-white"),children:["Customer Stories",r(N,{className:"ml-0.5 h-2.5 w-2.5 transition-transform group-hover:translate-x-px"})]}),r("div",{className:"grid grid-cols-1",children:f.map(({icon:a,iconClassName:t,title:n,description:i,href:l})=>r(p,{href:m(l,e),className:"-mx-2",icon:r(a,{className:s("h-7 w-7 shrink-0 text-gray-600 transition-colors dark:text-white/60",t)}),title:n,description:i,descriptionLines:2},l))}),r("p",{className:s(c,"my-4"),children:"Compare"}),r("div",{className:"flex flex-col gap-1.5",children:d.map(({name:a,slug:t})=>o(h,{href:m(`/compare/${t}`,e),className:"group flex gap-1",children:[o("p",{className:"text-sm font-medium text-gray-500 transition-colors hover:text-gray-700 dark:text-white/60 dark:hover:text-white/80",children:["Dub vs. ",a]})," ",r(v,{className:"h-3 w-3"})]},t))})]})]})}export{P as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{d as t}from"./chunk-ELWUYRKK.mjs";import{cva as g}from"class-variance-authority";import{Calendar as p,ChevronDown as l}from"lucide-react";import{forwardRef as d}from"react";import{jsx as r,jsxs as f}from"react/jsx-runtime";var m=g(["group peer flex cursor-pointer appearance-none items-center gap-x-2 truncate rounded-md border px-3 h-10 outline-none transition-all sm:text-sm","bg-white border-gray-200 text-gray-900 placeholder-gray-400 transition-all","disabled:pointer-events-none disabled:bg-gray-100 disabled:text-gray-400","focus-visible:border-gray-500 data-[state=open]:border-gray-500 data-[state=open]:ring-4 data-[state=open]:ring-gray-200"],{variants:{hasError:{true:"ring-2 ring-red-200 border-red-500"}}}),y=d(({className:o,children:e,placeholder:a,hasError:n,...s},i)=>f("button",{ref:i,className:t(m({hasError:n}),o),...s,children:[r(p,{className:t("h-4 w-4 shrink-0 text-gray-400",!!e&&"text-gray-900")}),r("span",{className:"flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-left text-gray-900",children:e||(a?r("span",{className:"text-gray-400",children:a}):null)}),r(l,{className:"h-4 w-4 flex-shrink-0 text-gray-400 transition-transform duration-75 group-data-[state=open]:rotate-180"})]}));y.displayName="DatePicker.Trigger";export{y as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as ke,b as Ee}from"./chunk-AUBFB4SI.mjs";var ue=ke((er,de)=>{var L=1e3,O=L*60,C=O*60,S=C*24,qe=S*7,Fe=S*365.25;de.exports=function(e,t){t=t||{};var r=typeof e;if(r==="string"&&e.length>0)return We(e);if(r==="number"&&isFinite(e))return t.long?He(e):Ke(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function We(e){if(e=String(e),!(e.length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!!t){var r=parseFloat(t[1]),o=(t[2]||"ms").toLowerCase();switch(o){case"years":case"year":case"yrs":case"yr":case"y":return r*Fe;case"weeks":case"week":case"w":return r*qe;case"days":case"day":case"d":return r*S;case"hours":case"hour":case"hrs":case"hr":case"h":return r*C;case"minutes":case"minute":case"mins":case"min":case"m":return r*O;case"seconds":case"second":case"secs":case"sec":case"s":return r*L;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}function Ke(e){var t=Math.abs(e);return t>=S?Math.round(e/S)+"d":t>=C?Math.round(e/C)+"h":t>=O?Math.round(e/O)+"m":t>=L?Math.round(e/L)+"s":e+"ms"}function He(e){var t=Math.abs(e);return t>=S?$(e,t,S,"day"):t>=C?$(e,t,C,"hour"):t>=O?$(e,t,O,"minute"):t>=L?$(e,t,L,"second"):e+" ms"}function $(e,t,r,o){var n=t>=r*1.5;return Math.round(e/r)+" "+o+(n?"s":"")}});var j=e=>{try{return new URL(e),!0}catch{return!1}},Pe=e=>{if(j(e))return e;try{if(e.includes(".")&&!e.includes(" "))return new URL(`https://${e}`).toString()}catch{}return e};function R(e,t={digits:1}){if(!e)return"0";if(t.full)return Intl.NumberFormat("en-US").format(e);let r=[{value:1,symbol:""},{value:1e3,symbol:"K"},{value:1e6,symbol:"M"},{value:1e9,symbol:"G"},{value:1e12,symbol:"T"},{value:1e15,symbol:"P"},{value:1e18,symbol:"E"}],o=/\.0+$|(\.[0-9]*[1-9])0+$/;var n=r.slice().reverse().find(function(s){return e>=s.value});return n?(e/n.value).toFixed(t.digits).replace(o,"$1")+n.symbol:"0"}var _e=new RegExp(/^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/),Ie=new RegExp(/^[0-9A-Za-z\u0080-\uFFFF\/\-\p{Emoji}]*$/u),Le=new RegExp(/^[a-zA-Z0-9\-]+$/);var Oe=e=>{if(j(e))return new URL(e).hostname.replace(/^www\./,"");try{if(e.includes(".")&&!e.includes(" "))return new URL(`https://${e}`).hostname.replace(/^www\./,"")}catch{return null}};var J=({name:e="Business",monthly:t=59,yearly:r=49,links:o=5e3,clicks:n=15e4,domains:s=40,tags:a=150,users:l=15,ids:u=[]})=>({name:e,tagline:"For larger teams with increased usage",link:"https://dub.co/help/article/business-plan",price:{monthly:t,yearly:r,ids:u},limits:{links:o,clicks:n,domains:s,tags:a,users:l,ai:1e3,api:6e3},colors:{bg:"bg-sky-900",text:"text-sky-900"},cta:{text:"Get started with Business",shortText:"Get started",href:"https://app.dub.co/register",color:"bg-sky-900 hover:bg-sky-800 hover:ring-sky-100"},featureTitle:"Everything in Pro, plus:",features:[{text:`${R(o,{full:!0})} new links/mo`},{text:`${R(n)} tracked clicks/mo`},{text:"2-year analytics retention"},{text:`${s} custom domains`},{text:`${l} users`},{text:"Unlimited AI credits",footnote:{title:"Subject to fair use policy \u2013 you will be notified if you exceed the limit, which are high enough for frequent usage.",cta:"Learn more.",href:"https://dub.co/blog/introducing-dub-ai"}},{text:`${R(a,{full:!0})} tags`,footnote:{title:"Organize your links with tags.",cta:"Learn more.",href:"https://dub.co/help/article/how-to-use-tags"}},{text:"Elevated support",footnote:"Email and chat support."},{text:"Custom branding",footnote:{title:"Set custom QR code logos, password-protected links logos, and more.",cta:"Learn more.",href:"https://dub.co/help/article/custom-qr-codes"}}]}),I=[{name:"Free",tagline:"For hobby & side projects",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,domains:3,tags:5,users:1,ai:10,api:600},colors:{bg:"bg-black",text:"text-black"},cta:{text:"Start for free",href:"https://app.dub.co/register",color:"bg-black hover:bg-gray-800 hover:ring-gray-200"},featureTitle:"What's included:",features:[{text:"25 new links/mo"},{text:"1K tracked clicks/mo"},{text:"30-day analytics retention"},{text:"3 custom domains"},{text:"1 user"},{text:"10 AI credits/mo"},{text:"Community support",footnote:"Help center + GitHub discussions."},{text:"API Access",footnote:{title:"Programatically manage your links using our REST API.",cta:"Learn more.",href:"https://dub.co/docs/api-reference/introduction"}}]},{name:"Pro",tagline:"For startups & small businesses",link:"https://dub.co/help/article/pro-plan",price:{monthly:24,yearly:19,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ","price_1OTcQBAlJJEpqkPViGtGEsbb","price_1OYJeBAlJJEpqkPVLjTsjX0E","price_1OTcQBAlJJEpqkPVYlCMqdLL","price_1OYJeBAlJJEpqkPVnPGEZeb0"]},limits:{links:1e3,clicks:5e4,domains:10,tags:25,users:5,ai:1e3,api:3e3},colors:{bg:"bg-blue-500",text:"text-blue-500"},cta:{text:"Get started with Pro",shortText:"Get started",href:"https://app.dub.co/register",color:"bg-blue-500 hover:bg-blue-600 hover:ring-blue-100"},featureTitle:"Everything in Free, plus:",features:[{text:"1,000 new links/mo"},{text:"50K tracked clicks/mo"},{text:"1-year analytics retention"},{text:"10 custom domains"},{text:"5 users"},{text:"Unlimited AI credits",footnote:{title:"Subject to fair use policy \u2013 you will be notified if you exceed the limit, which are high enough for frequent usage.",cta:"Learn more.",href:"https://dub.co/blog/introducing-dub-ai"}},{text:"Basic support",footnote:"Basic email support."},{text:"Root domain redirect",footnote:{title:"Redirect vistors that land on the root of your domain (e.g. yourdomain.com) to a page of your choice.",cta:"Learn more.",href:"https://dub.co/help/article/how-to-redirect-root-domain"}},{text:"Advanced link features",footnote:"Custom social media cards, password-protected links, link expiration, link cloaking, device targeting, geo targeting etc."}]},J({name:"Business",monthly:59,yearly:49,links:5e3,clicks:15e4,domains:40,tags:150,users:15,ids:["price_1LodLoAlJJEpqkPV9rD0rlNL","price_1LodLoAlJJEpqkPVJdwv5zrG","price_1OZgmnAlJJEpqkPVOj4kV64R","price_1OzNlmAlJJEpqkPV7s9HXNAC","price_1OzNmXAlJJEpqkPVYO89lTdx","price_1OzOFIAlJJEpqkPVJxzc9irl","price_1OzOXMAlJJEpqkPV9ERrjjbw"]}),J({name:"Business Plus",monthly:119,yearly:99,links:15e3,clicks:4e5,domains:100,tags:300,users:40,ids:["price_1OnWu0AlJJEpqkPVWk4144ZG","price_1OnWu0AlJJEpqkPVkDWVriAB","price_1OnaK3AlJJEpqkPVaCfCPdHi","price_1OzObrAlJJEpqkPVh6D9HWGO"]}),J({name:"Business Extra",monthly:249,yearly:199,links:4e4,clicks:1e6,domains:250,tags:500,users:100,ids:["price_1OnWvCAlJJEpqkPVLzLHx5QD","price_1OnWvCAlJJEpqkPVHhCCvIOq","price_1OnaKJAlJJEpqkPVeJSvPfJb","price_1OzOg1AlJJEpqkPVPlsrxoWm"]}),J({name:"Business Max",monthly:499,yearly:399,links:1e5,clicks:25e5,domains:500,tags:1e3,users:250,ids:["price_1OnWwLAlJJEpqkPVXtJyPqLk","price_1OnWwLAlJJEpqkPV4eMbOkNh","price_1OnaKOAlJJEpqkPVV6gkZPgt","price_1OzOh5AlJJEpqkPVtCSX7dlE"]}),{name:"Enterprise",tagline:"Custom tailored plans for large enterprises. Whether you're running a SMS campaign with millions of short links or a large marketing campaign with billions of clicks, we've got you covered.",link:"https://dub.co/enterprise",price:{monthly:null,yearly:null},limits:{links:null,clicks:null,domains:null},colors:{bg:"bg-violet-600",text:"text-violet-600"},cta:{text:"Contact us",href:"/enterprise",color:"bg-violet-600 hover:bg-violet-700 hover:ring-violet-100"},featureTitle:"Everything in Business, plus:",features:[{text:"Custom usage limits"},{text:"Volume discounts"},{text:"SSO/SAML"},{text:"Role-based access controls"},{text:"Custom contract & SLA"},{text:"Whiteglove onboarding"},{text:"Dedicated success manager"},{text:"Priority support"},{text:"Dedicated Slack channel"}]}],Ce=I.find(e=>e.name==="Free"),Te=I.find(e=>e.name==="Pro"),Ne=I.find(e=>e.name==="Business"),ze=I.find(e=>e.name==="Enterprise");var Re=I.filter(e=>e.name!=="Free"&&e.name!=="Enterprise");var Me=process.env.NEXT_PUBLIC_APP_NAME||"Dub.co",X=process.env.NEXT_PUBLIC_APP_SHORT_DOMAIN||"dub.sh",Ue=`https://${process.env.NEXT_PUBLIC_APP_DOMAIN}`,De=new Set([`app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"localhost:8888","localhost"]),Be=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:"http://localhost:8888",Ge=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_NGROK_URL||"http://localhost:8888",Ve=new Set([`api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`api-staging.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`api.${X}`,"api.localhost:8888"]),je=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://api-staging.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:"http://api.localhost:8888",Je=new Set([`admin.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"admin.localhost:8888"]);var P="cl7pj5kq4006835rbjlt2ofka";var ce=[{id:"clce1z7ch00j0rbstbjufva4j",slug:X,verified:!0,primary:!0,archived:!1,publicStats:!1,target:`https://${process.env.NEXT_PUBLIC_APP_DOMAIN}`,type:"redirect",placeholder:"https://dub.co/help/article/what-is-dub",clicks:0,allowedHostnames:[],projectId:P},...process.env.NEXT_PUBLIC_IS_DUB?[{id:"clce1z7cs00y8rbstk4xtnj0k",slug:"chatg.pt",verified:!0,primary:!1,archived:!1,publicStats:!1,target:"https://dub.co/tools/chatgpt-link-shortener",type:"redirect",placeholder:"https://chat.openai.com/g/g-UGjKKONEe-domainsgpt",clicks:0,allowedHostnames:["chat.openai.com","chatgpt.com"],projectId:P},{id:"cloxw8y2u0003js08a7mqg1j8",slug:"spti.fi",verified:!0,primary:!1,archived:!1,publicStats:!1,target:"https://dub.co/tools/spotify-link-shortener",type:"redirect",placeholder:"https://open.spotify.com/album/1SCyi9a5pOasikidToUY5y",clicks:0,allowedHostnames:["open.spotify.com"],projectId:P},{id:"cltgtd6s5000341itdszz20u2",slug:"git.new",verified:!0,primary:!1,archived:!1,publicStats:!1,target:"https://dub.co/tools/github-link-shortener",type:"redirect",placeholder:"https://github.com/dubinc/dub",clicks:0,allowedHostnames:["github.com","gist.github.com"],projectId:P},{id:"cloxw8qtk000bjt08n9b812vs",slug:"amzn.id",verified:!0,primary:!1,archived:!1,publicStats:!1,target:"https://dub.co/tools/amazon-link-shortener",type:"redirect",placeholder:"https://www.amazon.com/dp/B0BW4SWNC8",clicks:0,allowedHostnames:["amazon.com","amazon.co.uk","amazon.ca","amazon.es","amazon.fr"],projectId:P},{id:"clugy7euh000a11h6ignmj42o",slug:"loooooooo.ng",verified:!0,primary:!1,archived:!0,publicStats:!0,target:"https://dub.co/tools/url-lengthener",type:"redirect",placeholder:"https://d.to/long",clicks:0,projectId:P}]:[]],$e=ce.map(e=>e.slug);var pe=Ee(ue(),1),Ye=(e,{withAgo:t}={})=>{if(!e)return"Never";let r=Date.now()-new Date(e).getTime();return r<1e3?"Just now":r>828e5?new Date(e).toLocaleDateString("en-US",{month:"short",day:"numeric",year:new Date(e).getFullYear()!==new Date().getFullYear()?"numeric":void 0}):`${(0,pe.default)(r)}${t?" ago":""}`};var Xe=(e,t)=>!e||e.length<=t?e??null:`${e.slice(0,t-3)}...`;function me(e){var t,r,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(r=me(e[t]))&&(o&&(o+=" "),o+=r)}else for(r in e)e[r]&&(o&&(o+=" "),o+=r);return o}function fe(){for(var e,t,r=0,o="",n=arguments.length;r<n;r++)(e=arguments[r])&&(t=me(e))&&(o&&(o+=" "),o+=t);return o}var Q="-";function Ze(e){let t=et(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;function n(a){let l=a.split(Q);return l[0]===""&&l.length!==1&&l.shift(),be(l,t)||Qe(a)}function s(a,l){let u=r[a]||[];return l&&o[a]?[...u,...o[a]]:u}return{getClassGroupId:n,getConflictingClassGroupIds:s}}function be(e,t){var a;if(e.length===0)return t.classGroupId;let r=e[0],o=t.nextPart.get(r),n=o?be(e.slice(1),o):void 0;if(n)return n;if(t.validators.length===0)return;let s=e.join(Q);return(a=t.validators.find(({validator:l})=>l(s)))==null?void 0:a.classGroupId}var he=/^\[(.+)\]$/;function Qe(e){if(he.test(e)){let t=he.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}}function et(e){let{theme:t,prefix:r}=e,o={nextPart:new Map,validators:[]};return rt(Object.entries(e.classGroups),r).forEach(([s,a])=>{Z(a,o,s,t)}),o}function Z(e,t,r,o){e.forEach(n=>{if(typeof n=="string"){let s=n===""?t:ge(t,n);s.classGroupId=r;return}if(typeof n=="function"){if(tt(n)){Z(n(o),t,r,o);return}t.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([s,a])=>{Z(a,ge(t,s),r,o)})})}function ge(e,t){let r=e;return t.split(Q).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r}function tt(e){return e.isThemeGetter}function rt(e,t){return t?e.map(([r,o])=>{let n=o.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([a,l])=>[t+a,l])):s);return[r,n]}):e}function ot(e){if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,o=new Map;function n(s,a){r.set(s,a),t++,t>e&&(t=0,o=r,r=new Map)}return{get(s){let a=r.get(s);if(a!==void 0)return a;if((a=o.get(s))!==void 0)return n(s,a),a},set(s,a){r.has(s)?r.set(s,a):n(s,a)}}}var ye="!";function st(e){let t=e.separator,r=t.length===1,o=t[0],n=t.length;return function(a){let l=[],u=0,m=0,p;for(let f=0;f<a.length;f++){let g=a[f];if(u===0){if(g===o&&(r||a.slice(f,f+n)===t)){l.push(a.slice(m,f)),m=f+n;continue}if(g==="/"){p=f;continue}}g==="["?u++:g==="]"&&u--}let h=l.length===0?a:a.substring(m),b=h.startsWith(ye),v=b?h.substring(1):h,E=p&&p>m?p-m:void 0;return{modifiers:l,hasImportantModifier:b,baseClassName:v,maybePostfixModifierPosition:E}}}function at(e){if(e.length<=1)return e;let t=[],r=[];return e.forEach(o=>{o[0]==="["?(t.push(...r.sort(),o),r=[]):r.push(o)}),t.push(...r.sort()),t}function nt(e){return{cache:ot(e.cacheSize),splitModifiers:st(e),...Ze(e)}}var it=/\s+/;function lt(e,t){let{splitModifiers:r,getClassGroupId:o,getConflictingClassGroupIds:n}=t,s=new Set;return e.trim().split(it).map(a=>{let{modifiers:l,hasImportantModifier:u,baseClassName:m,maybePostfixModifierPosition:p}=r(a),h=o(p?m.substring(0,p):m),b=Boolean(p);if(!h){if(!p)return{isTailwindClass:!1,originalClassName:a};if(h=o(m),!h)return{isTailwindClass:!1,originalClassName:a};b=!1}let v=at(l).join(":"),E=u?v+ye:v;return{isTailwindClass:!0,modifierId:E,classGroupId:h,originalClassName:a,hasPostfixModifier:b}}).reverse().filter(a=>{if(!a.isTailwindClass)return!0;let{modifierId:l,classGroupId:u,hasPostfixModifier:m}=a,p=l+u;return s.has(p)?!1:(s.add(p),n(u,m).forEach(h=>s.add(l+h)),!0)}).reverse().map(a=>a.originalClassName).join(" ")}function ct(){let e=0,t,r,o="";for(;e<arguments.length;)(t=arguments[e++])&&(r=xe(t))&&(o&&(o+=" "),o+=r);return o}function xe(e){if(typeof e=="string")return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=xe(e[o]))&&(r&&(r+=" "),r+=t);return r}function dt(e,...t){let r,o,n,s=a;function a(u){let m=t.reduce((p,h)=>h(p),e());return r=nt(m),o=r.cache.get,n=r.cache.set,s=l,l(u)}function l(u){let m=o(u);if(m)return m;let p=lt(u,r);return n(u,p),p}return function(){return s(ct.apply(null,arguments))}}function c(e){let t=r=>r[e]||[];return t.isThemeGetter=!0,t}var ve=/^\[(?:([a-z-]+):)?(.+)\]$/i,ut=/^\d+\/\d+$/,pt=new Set(["px","full","screen"]),mt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ft=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,ht=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,gt=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,bt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function x(e){return _(e)||pt.has(e)||ut.test(e)}function A(e){return T(e,"length",Pt)}function _(e){return Boolean(e)&&!Number.isNaN(Number(e))}function q(e){return T(e,"number",_)}function M(e){return Boolean(e)&&Number.isInteger(Number(e))}function yt(e){return e.endsWith("%")&&_(e.slice(0,-1))}function i(e){return ve.test(e)}function k(e){return mt.test(e)}var xt=new Set(["length","size","percentage"]);function vt(e){return T(e,xt,we)}function wt(e){return T(e,"position",we)}var At=new Set(["image","url"]);function kt(e){return T(e,At,_t)}function Et(e){return T(e,"",St)}function U(){return!0}function T(e,t,r){let o=ve.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):r(o[2]):!1}function Pt(e){return ft.test(e)&&!ht.test(e)}function we(){return!1}function St(e){return gt.test(e)}function _t(e){return bt.test(e)}function It(){let e=c("colors"),t=c("spacing"),r=c("blur"),o=c("brightness"),n=c("borderColor"),s=c("borderRadius"),a=c("borderSpacing"),l=c("borderWidth"),u=c("contrast"),m=c("grayscale"),p=c("hueRotate"),h=c("invert"),b=c("gap"),v=c("gradientColorStops"),E=c("gradientColorStopPositions"),f=c("inset"),g=c("margin"),w=c("opacity"),y=c("padding"),ee=c("saturate"),F=c("scale"),te=c("sepia"),re=c("skew"),oe=c("space"),se=c("translate"),W=()=>["auto","contain","none"],K=()=>["auto","hidden","clip","visible","scroll"],H=()=>["auto",i,t],d=()=>[i,t],ae=()=>["",x,A],B=()=>["auto",_,i],ne=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],G=()=>["solid","dashed","dotted","double","none"],ie=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"],Y=()=>["start","end","center","between","around","evenly","stretch"],N=()=>["","0",i],le=()=>["auto","avoid","all","avoid-page","page","left","right","column"],z=()=>[_,q],V=()=>[_,i];return{cacheSize:500,separator:":",theme:{colors:[U],spacing:[x,A],blur:["none","",k,i],brightness:z(),borderColor:[e],borderRadius:["none","","full",k,i],borderSpacing:d(),borderWidth:ae(),contrast:z(),grayscale:N(),hueRotate:V(),invert:N(),gap:d(),gradientColorStops:[e],gradientColorStopPositions:[yt,A],inset:H(),margin:H(),opacity:z(),padding:d(),saturate:z(),scale:z(),sepia:N(),skew:V(),space:d(),translate:d()},classGroups:{aspect:[{aspect:["auto","square","video",i]}],container:["container"],columns:[{columns:[k]}],"break-after":[{"break-after":le()}],"break-before":[{"break-before":le()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...ne(),i]}],overflow:[{overflow:K()}],"overflow-x":[{"overflow-x":K()}],"overflow-y":[{"overflow-y":K()}],overscroll:[{overscroll:W()}],"overscroll-x":[{"overscroll-x":W()}],"overscroll-y":[{"overscroll-y":W()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[f]}],"inset-x":[{"inset-x":[f]}],"inset-y":[{"inset-y":[f]}],start:[{start:[f]}],end:[{end:[f]}],top:[{top:[f]}],right:[{right:[f]}],bottom:[{bottom:[f]}],left:[{left:[f]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",M,i]}],basis:[{basis:H()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",i]}],grow:[{grow:N()}],shrink:[{shrink:N()}],order:[{order:["first","last","none",M,i]}],"grid-cols":[{"grid-cols":[U]}],"col-start-end":[{col:["auto",{span:["full",M,i]},i]}],"col-start":[{"col-start":B()}],"col-end":[{"col-end":B()}],"grid-rows":[{"grid-rows":[U]}],"row-start-end":[{row:["auto",{span:[M,i]},i]}],"row-start":[{"row-start":B()}],"row-end":[{"row-end":B()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",i]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",i]}],gap:[{gap:[b]}],"gap-x":[{"gap-x":[b]}],"gap-y":[{"gap-y":[b]}],"justify-content":[{justify:["normal",...Y()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Y(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Y(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[y]}],px:[{px:[y]}],py:[{py:[y]}],ps:[{ps:[y]}],pe:[{pe:[y]}],pt:[{pt:[y]}],pr:[{pr:[y]}],pb:[{pb:[y]}],pl:[{pl:[y]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[oe]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[oe]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",i,t]}],"min-w":[{"min-w":[i,t,"min","max","fit"]}],"max-w":[{"max-w":[i,t,"none","full","min","max","fit","prose",{screen:[k]},k]}],h:[{h:[i,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[i,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[i,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[i,t,"auto","min","max","fit"]}],"font-size":[{text:["base",k,A]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",q]}],"font-family":[{font:[U]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",i]}],"line-clamp":[{"line-clamp":["none",_,q]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",x,i]}],"list-image":[{"list-image":["none",i]}],"list-style-type":[{list:["none","disc","decimal",i]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[w]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[w]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...G(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",x,A]}],"underline-offset":[{"underline-offset":["auto",x,i]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:d()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",i]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",i]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[w]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ne(),wt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",vt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},kt]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[E]}],"gradient-via-pos":[{via:[E]}],"gradient-to-pos":[{to:[E]}],"gradient-from":[{from:[v]}],"gradient-via":[{via:[v]}],"gradient-to":[{to:[v]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[w]}],"border-style":[{border:[...G(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[w]}],"divide-style":[{divide:G()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...G()]}],"outline-offset":[{"outline-offset":[x,i]}],"outline-w":[{outline:[x,A]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:ae()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[w]}],"ring-offset-w":[{"ring-offset":[x,A]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",k,Et]}],"shadow-color":[{shadow:[U]}],opacity:[{opacity:[w]}],"mix-blend":[{"mix-blend":ie()}],"bg-blend":[{"bg-blend":ie()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",k,i]}],grayscale:[{grayscale:[m]}],"hue-rotate":[{"hue-rotate":[p]}],invert:[{invert:[h]}],saturate:[{saturate:[ee]}],sepia:[{sepia:[te]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[u]}],"backdrop-grayscale":[{"backdrop-grayscale":[m]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[p]}],"backdrop-invert":[{"backdrop-invert":[h]}],"backdrop-opacity":[{"backdrop-opacity":[w]}],"backdrop-saturate":[{"backdrop-saturate":[ee]}],"backdrop-sepia":[{"backdrop-sepia":[te]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",i]}],duration:[{duration:V()}],ease:[{ease:["linear","in","out","in-out",i]}],delay:[{delay:V()}],animate:[{animate:["none","spin","ping","pulse","bounce",i]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[F]}],"scale-x":[{"scale-x":[F]}],"scale-y":[{"scale-y":[F]}],rotate:[{rotate:[M,i]}],"translate-x":[{"translate-x":[se]}],"translate-y":[{"translate-y":[se]}],"skew-x":[{"skew-x":[re]}],"skew-y":[{"skew-y":[re]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",i]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",i]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":d()}],"scroll-mx":[{"scroll-mx":d()}],"scroll-my":[{"scroll-my":d()}],"scroll-ms":[{"scroll-ms":d()}],"scroll-me":[{"scroll-me":d()}],"scroll-mt":[{"scroll-mt":d()}],"scroll-mr":[{"scroll-mr":d()}],"scroll-mb":[{"scroll-mb":d()}],"scroll-ml":[{"scroll-ml":d()}],"scroll-p":[{"scroll-p":d()}],"scroll-px":[{"scroll-px":d()}],"scroll-py":[{"scroll-py":d()}],"scroll-ps":[{"scroll-ps":d()}],"scroll-pe":[{"scroll-pe":d()}],"scroll-pt":[{"scroll-pt":d()}],"scroll-pr":[{"scroll-pr":d()}],"scroll-pb":[{"scroll-pb":d()}],"scroll-pl":[{"scroll-pl":d()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",i]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[x,A,q]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}var Ae=dt(It);function Lt(...e){return Ae(fe(e))}var Ot=["stats","changelog","terms","privacy","abuse"],Ct=[{name:"Spotify Link Shortener",slug:"spotify-link-shortener"},{name:"ChatGPT Link Shortener",slug:"chatgpt-link-shortener"},{name:"GitHub Link Shortener",slug:"github-link-shortener"},{name:"Amazon Link Shortener",slug:"amazon-link-shortener"},{name:"Metatags API",slug:"metatags"},{name:"Link Inspector",slug:"inspector"},{name:"QR Code API",slug:"qr-code"},{name:"UTM Builder",slug:"utm-builder"}],Tt=[{name:"Bitly",slug:"bitly"},{name:"Rebrandly",slug:"rebrandly"},{name:"Short.io",slug:"short"}];export{Pe as a,R as b,Oe as c,Be as d,Ye as e,Xe as f,Lt as g,Ot as h,Ct as i,Tt as j,Nt as k,D as l};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{i as n}from"./chunk-TORFST2S.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{b as x,f as N}from"./chunk-5RX4JKZ7.mjs";import{a as v}from"./chunk-4XBMYXEM.mjs";import{a as b}from"./chunk-GJI6VAVC.mjs";import{a as y}from"./chunk-DZIB4NN7.mjs";import{a as f}from"./chunk-T4YFARK5.mjs";import{a as h}from"./chunk-PEDQHDGO.mjs";import{g as l,i as u,j as g,l as p}from"./chunk-5XIONXV4.mjs";import m from"@vercel/analytics";import C from"next/image";import s from"next/link";import{useParams as T}from"next/navigation";import{useEffect as P,useState as k}from"react";import R from"swr";import{jsx as e,jsxs as t}from"react/jsx-runtime";var n={features:x.map(({shortTitle:a,slug:o})=>({name:a,href:`/${o}`})),product:[{name:"Blog",href:"/blog"},{name:"Brand",href:"/brand"},{name:"Changelog",href:"/changelog"},{name:"Customers",href:"/customers"},{name:"Enterprise",href:"/enterprise"},{name:"Pricing",href:"/pricing"},{name:"Help Center",href:"/help"}],compare:g.map(({name:a,slug:o})=>({name:a,href:`/compare/${o}`})),legal:[{name:"Privacy",href:"/privacy"},{name:"Terms",href:"/terms"},{name:"Abuse",href:"/abuse"}],tools:u.map(({name:a,slug:o})=>({name:a,href:`/tools/${o}`}))};function O(){let{domain:a="dub.co"}=T(),o=r=>a==="dub.co"?r:`https://dub.co${r}`;return e("footer",{children:t(v,{className:"relative z-10 overflow-hidden border border-b-0 border-gray-200 bg-white/50 pb-60 pt-16 backdrop-blur-lg md:rounded-t-2xl",children:[t("div",{className:"xl:grid xl:grid-cols-3 xl:gap-8",children:[t("div",{className:"space-y-6",children:[t(s,{href:o("/"),...a!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:a,medium:"footer item (logo)"})}},className:"block max-w-fit",children:[t("span",{className:"sr-only",children:[process.env.NEXT_PUBLIC_APP_NAME," Logo"]}),e(N,{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."}),t("p",{className:"text-sm leading-5 text-gray-400",children:["\xA9 ",new Date().getFullYear()," Dub Technologies, Inc."]}),t("div",{className:"flex items-center space-x-3",children:[t("a",{href:"https://twitter.com/dubdotco",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"Twitter"}),e(b,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-black"})]}),t("a",{href:"https://github.com/dubinc/dub",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"Github"}),e(f,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-black"})]}),t("a",{href:"https://www.linkedin.com/company/dubinc",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"LinkedIn"}),e(h,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-[#0077b5]"})]}),t("a",{href:"https://www.youtube.com/@dubdotco",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"YouTube"}),e(y,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-[#ff0000]"})]})]}),e($,{})]}),t("div",{className:"mt-16 grid grid-cols-2 gap-4 xl:col-span-2 xl:mt-0",children:[t("div",{className:"md:grid md:grid-cols-2",children:[t("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Features"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:n.features.map(r=>e("li",{children:e(s,{href:o(r.href),...a!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:a,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:r.name})},r.name))})]}),t("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Product"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:n.product.map(r=>e("li",{children:e(s,{href:o(r.href),...a!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:a,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:r.name})},r.name))})]})]}),t("div",{className:"md:grid md:grid-cols-2",children:[t("div",{className:"flex flex-col space-y-8",children:[t("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Compare"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:n.compare.map(r=>e("li",{children:e(s,{href:o(r.href),...a!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:a,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:r.name})},r.name))})]}),t("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Legal"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:n.legal.map(r=>e("li",{children:e(s,{href:o(r.href),...a!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:a,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:r.name})},r.name))})]})]}),t("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Tools"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:n.tools.map(r=>e("li",{children:e(s,{href:o(r.href),...a!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:a,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:r.name})},r.name))})]})]})]})]}),e(C,{src:"https://assets.dub.co/footer.png",alt:"Dub Technologies, Inc. Logo",width:1959,height:625,className:"pointer-events-none absolute inset-x-0 bottom-0 z-0"})]})})}function $(){let{data:a}=R("https://status.dub.co/api/v1/summary",void 0),[o,r]=k("bg-gray-200"),[i,c]=k("Loading status...");return P(()=>{if(!a)return;let{ongoing_incidents:d}=a;if(d.length>0){let{current_worst_impact:w,name:L}=d[0],_=w==="degraded_performance"?"bg-yellow-500":"bg-red-500";c(L),r(_)}else c("All systems operational"),r("bg-green-500")},[a]),t(s,{href:"https://status.dub.co",target:"_blank",className:"group flex max-w-fit items-center space-x-2 rounded-md border border-gray-200 bg-white px-3 py-2 transition-colors hover:bg-gray-100",children:[t("div",{className:"relative h-3 w-3",children:[e("div",{className:l("absolute inset-0 m-auto h-3 w-3 animate-ping items-center justify-center rounded-full group-hover:animate-none",o,i==="Loading status..."&&"animate-none")}),e("div",{className:l("absolute inset-0 z-10 m-auto h-3 w-3 rounded-full",o)})]}),e("p",{className:"text-sm font-medium text-gray-800",children:i})]})}export{O as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{d as a}from"./chunk-ELWUYRKK.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{i as u}from"./chunk-5D54PSF2.mjs";import{addYears as P,format as O,isSameMonth as K}from"date-fns";import{ChevronLeft as k,ChevronRight as C,ChevronsLeft as S,ChevronsRight as H}from"lucide-react";import{forwardRef as E,useRef as G}from"react";import{DayPicker as I,useDayPicker as j,useDayRender as Y,useNavigation as A}from"react-day-picker";import{Fragment as z,jsx as e,jsxs as T}from"react/jsx-runtime";var c=E(({onClick:w,icon:N,disabled:m,...y},i)=>e("button",{ref:i,type:"button",disabled:m,className:u("flex h-7 w-7 shrink-0 select-none items-center justify-center rounded border p-1 outline-none transition","border-gray-200 text-gray-600 hover:text-gray-800","hover:bg-gray-50 active:bg-gray-100","disabled:pointer-events-none disabled:text-gray-400"),onClick:w,...y,children:e(N,{className:"h-full w-full shrink-0"})}));c.displayName="NavigationButton";function X({mode:w="single",weekStartsOn:N=1,numberOfMonths:m=1,showYearNavigation:y=!1,disableNavigation:i,locale:M,className:L,classNames:D,...R}){return e(I,{mode:w,weekStartsOn:N,numberOfMonths:m,locale:M,showOutsideDays:m===1,className:L,classNames:{months:"flex space-y-0",month:"space-y-4 p-3 w-full",nav:"gap-1 flex items-center rounded-full w-full h-full justify-between p-4",table:"w-full border-separate border-spacing-y-1",head_cell:"w-9 font-medium text-sm sm:text-xs text-center text-gray-400 pb-2",row:"w-full",cell:"relative p-0 text-center focus-within:relative text-gray-900",day:u("relative h-10 w-full sm:h-9 sm:w-9 rounded-md text-sm text-gray-900","hover:bg-gray-100 active:bg-gray-200 outline outline-offset-2 outline-0 focus-visible:outline-2 outline-blue-500"),day_today:"font-semibold",day_selected:"rounded aria-selected:bg-blue-500 aria-selected:text-white",day_disabled:"!text-gray-300 line-through disabled:hover:bg-transparent",day_outside:"text-gray-400",day_range_middle:"!rounded-none aria-selected:!bg-blue-100 aria-selected:!text-blue-900",day_range_start:"rounded-r-none !rounded-l",day_range_end:"rounded-l-none !rounded-r",day_hidden:"invisible",...D},components:{IconLeft:()=>e(k,{className:"h-4 w-4"}),IconRight:()=>e(C,{className:"h-4 w-4"}),Caption:({...p})=>{let{goToMonth:r,nextMonth:t,previousMonth:n,currentMonth:s,displayMonths:d}=A(),{numberOfMonths:g,fromDate:l,toDate:o}=j(),b=d.findIndex(a=>K(p.displayMonth,a)),f=b===0,h=b===d.length-1,v=g>1&&(f||!h),x=g>1&&(h||!f),_=()=>{let a=P(s,-1);n&&(!l||a.getTime()>=l.getTime())&&r(a)},B=()=>{let a=P(s,1);t&&(!o||a.getTime()<=o.getTime())&&r(a)};return T("div",{className:"flex items-center justify-between",children:[T("div",{className:"flex items-center gap-1",children:[y&&!x&&e(c,{disabled:i||!n||l&&P(s,-1).getTime()<l.getTime(),"aria-label":"Go to previous year",onClick:_,icon:S}),!x&&e(c,{disabled:i||!n,"aria-label":"Go to previous month",onClick:()=>n&&r(n),icon:k})]}),e("div",{role:"presentation","aria-live":"polite",className:"text-sm font-medium capitalize tabular-nums text-gray-900",children:O(p.displayMonth,"LLLL yyy",{locale:M})}),T("div",{className:"flex items-center gap-1",children:[!v&&e(c,{disabled:i||!t,"aria-label":"Go to next month",onClick:()=>t&&r(t),icon:C}),y&&!v&&e(c,{disabled:i||!t||o&&P(s,1).getTime()>o.getTime(),"aria-label":"Go to next year",onClick:B,icon:H})]})]})},Day:({date:p,displayMonth:r})=>{let t=G(null),{activeModifiers:n,buttonProps:s,divProps:d,isButton:g,isHidden:l}=Y(p,r,t),{selected:o,today:b,disabled:f,range_middle:h}=n;if(l)return e(z,{});if(!g)return e("div",{...d,className:u("flex items-center justify-center",d.className)});let{children:v,...x}=s;return T("button",{ref:t,...x,type:"button",children:[v,b&&e("span",{className:u("absolute inset-x-1/2 bottom-1.5 h-0.5 w-4 -translate-x-1/2 rounded-[2px]",{"bg-blue-500":!o,"!bg-white":o,"!bg-blue-400":o&&h,"text-gray-400":f})})]})}},...R})}export{X as a};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as _}from"./chunk-KVTNN7ID.mjs";import{a as R}from"./chunk-ZNBFWJ76.mjs";import{a as W}from"./chunk-GFUFVOPR.mjs";import{a as M,d as S,e as L,f as w}from"./chunk-JG7HARGV.mjs";import{a as E}from"./chunk-DMLF4GJF.mjs";import{a as V}from"./chunk-HPOHGCIW.mjs";import{a as k}from"./chunk-63RFWC6U.mjs";import{b as P}from"./chunk-YF7NXSU4.mjs";import{d as h,g as N,i as s,j as y}from"./chunk-JP57AFGB.mjs";import*as i from"@radix-ui/react-navigation-menu";import f from"@vercel/analytics";import{cva as X}from"class-variance-authority";import p from"next/link";import{useParams as ee,useSelectedLayoutSegment as te}from"next/navigation";import{createContext as oe}from"react";import re from"swr";import{useCallback as G,useEffect as T,useState as Z}from"react";function H(r){let[e,m]=Z(!1),a=G(()=>{m(window.scrollY>r)},[r]);return T(()=>(window.addEventListener("scroll",a),()=>window.removeEventListener("scroll",a)),[a]),T(()=>{a()},[a]),e}import*as l from"@radix-ui/react-popover";import{BoxSelect as $,Home as z,LayoutGrid as U,Type as j}from"lucide-react";import{useParams as F}from"next/navigation";import{useCallback as K,useContext as Y,useState as q}from"react";import{toast as I}from"sonner";import{jsx as o,jsxs as D}from"react/jsx-runtime";var J=`<svg width="65" height="64" viewBox="0 0 65 64" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M32.5 64C50.1731 64 64.5 49.6731 64.5 32C64.5 20.1555 58.0648 9.81393 48.5 4.28099V31.9999V47.9998H40.5V45.8594C38.1466 47.2207 35.4143 47.9999 32.5 47.9999C23.6634 47.9999 16.5 40.8364 16.5 31.9999C16.5 23.1633 23.6634 15.9999 32.5 15.9999C35.4143 15.9999 38.1466 16.779 40.5 18.1404V1.00812C37.943 0.350018 35.2624 0 32.5 0C14.8269 0 0.500038 14.3269 0.500038 32C0.500038 49.6731 14.8269 64 32.5 64Z" fill="black"/>
|
|
4
|
+
</svg>`,Q=`<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>`;async function B(r){try{await navigator.clipboard.writeText(r),I.success("Copied to clipboard!")}catch(e){console.error("Failed to copy to clipboard.",e),I.error("Failed to copy to clipboard.")}}function A({variant:r="full",isInApp:e,className:m}){let{domain:a="dub.co"}=F(),{theme:g}=Y(x),[b,c]=q(!1),n=K(d=>{d.preventDefault(),c(!0)},[]);return D(l.Root,{open:b,onOpenChange:c,children:[o(l.Anchor,{asChild:!0,children:o("div",{onContextMenu:n,className:"max-w-fit",children:r==="full"?o(E,{className:m}):o(k,{className:s("h-8 w-8 transition-all duration-75 active:scale-95",m)})})}),o(l.Portal,{children:o(l.Content,{sideOffset:14,align:"start",className:s("z-50 -mt-1.5 -translate-x-10",g==="dark"&&"dark"),onClick:d=>{d.stopPropagation(),c(!1)},children:D("div",{className:"grid gap-1 rounded-lg border border-gray-200 bg-white p-2 drop-shadow-sm dark:border-white/[0.15] dark:bg-black sm:min-w-[240px]",children:[o(v,{text:"Copy Logo as SVG",variant:"outline",onClick:()=>B(J),icon:o(k,{className:"h-4 w-4"})}),o(v,{text:"Copy Wordmark as SVG",variant:"outline",onClick:()=>B(Q),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($,{strokeWidth:2,className:"h-4 w-4"})}),e||a!="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(U,{strokeWidth:2,className:"h-4 w-4"})})]})})})]})}function v({className:r,...e}){return o(P,{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",r),...e})}import{Fragment as ne,jsx as t,jsxs as u}from"react/jsx-runtime";var x=oe({theme:"light"}),ae=[{name:"Product",href:"/",content:_,childItems:M},{name:"Solutions",content:W,childItems:S},{name:"Pricing",href:"/pricing"},{name:"Resources",content:R,childItems:L}],O=X(["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 Be({theme:r="light"}){let{domain:e="dub.co"}=ee(),m=H(80),a=te(),{data:g,isLoading:b}=re(e==="dub.co"&&"/api/auth/session",N,{dedupingInterval:6e4});return t(x.Provider,{value:{theme:r},children:u("div",{className:s("sticky inset-x-0 top-0 z-30 w-full transition-all",r==="dark"&&"dark"),children:[t("div",{className:s("-z-1 absolute inset-0 border-transparent transition-all")}),t(V,{className:"relative",children:u("div",{className:"flex h-14 items-center justify-between",children:[t(p,{className:"grow basis-0",href:w("/",e),...e!=="dub.co"&&{onClick:()=>{f.track("Referred from custom domain",{domain:e,medium:"logo"})}},children:t(A,{})}),u(i.Root,{delayDuration:0,className:"relative hidden lg:block",children:[u(i.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 drop-shadow-sm transition-all dark:border-white/10",a&&y.includes(a)?"bg-white dark:bg-black":"bg-white/75 backdrop-blur-lg dark:bg-black/75",m&&"h-14 w-screen rounded-none drop-shadow-none")})}),ae.map(({name:c,href:n,content:d})=>{let C=n===`/${a}`||n==="/"&&a===null;return u(i.Item,{children:[t(ie,{trigger:!!d,children:n!==void 0?t(p,{id:`nav-${n}`,href:w(n,e)??"/test",className:O({isActive:C}),...e!=="dub.co"&&{onClick:()=>{f.track("Referred from custom domain",{domain:e,medium:`navbar item (${n})`})}},children:c},n):t("button",{className:s(O({isActive:C}),"cursor-default"),children:c})}),d&&t(i.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(d,{domain:e})})]},n)})]}),t("div",{className:"absolute left-1/2 top-full mt-3 -translate-x-1/2",children:t(i.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:g&&Object.keys(g).length>0?t(p,{href:h,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"}):b?null:u(ne,{children:[t(p,{href:`${h}/login`,...e!=="dub.co"&&{onClick:()=>{f.track("Referred from custom domain",{domain:e,medium:"navbar item (login)"})}},className:"animate-fade-in rounded-full px-4 py-1.5 text-sm font-medium text-gray-500 transition-colors ease-out hover:text-black dark:text-white dark:hover:text-white/70",children:"Log in"}),t(p,{href:`${h}/register`,...e!=="dub.co"&&{onClick:()=>{f.track("Referred from custom domain",{domain:e,medium:"navbar item (signup)"})}},className:"animate-fade-in rounded-full border border-black bg-black px-4 py-1.5 text-sm text-white transition-all hover:bg-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 ie({trigger:r,children:e}){return r?t(i.Trigger,{asChild:!0,children:e}):e}export{H as a,x as b,ae as c,Be as d,A as e};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{b as m}from"./chunk-3I3KYVGK.mjs";import{Slot as w}from"@radix-ui/react-slot";import R,{useEffect as y,useState as F}from"react";import{jsxs as E}from"react/jsx-runtime";var V=R.forwardRef(({asChild:u,className:i,children:e,prefix:c,duration:t=250,as:l="span",...n},f)=>{let[r,p]=F(Number(e));return y(()=>{if(isNaN(Number(e))){console.warn("CountingNumbers expects a numeric value as children.");return}let N=Number(e),o=r,d=N,b=performance.now(),a=()=>{let C=performance.now(),s=Math.min((C-b)/t,1),g=o+(d-o)*s;p(Math.round(g)),s<1&&requestAnimationFrame(a)};requestAnimationFrame(a)},[e,t]),E(u?w:l,{ref:f,className:i,...n,children:[c,m(r,n.fullNumber?{full:!0}:void 0)]})});V.displayName="CountingNumbers";export{V as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{b as p,d as h}from"./chunk-Z6K6DDP4.mjs";import{d as n,g as f,i as l}from"./chunk-3VTQK4AG.mjs";import{ChevronDown as y,Menu as N,X as w}from"lucide-react";import o from"next/link";import{useParams as v}from"next/navigation";import{useEffect as x,useState as u}from"react";import L from"swr";import{Fragment as z,jsx as e,jsxs as t}from"react/jsx-runtime";function D({theme:b="light"}){let{domain:r="dub.co"}=v(),[a,d]=u(!1),[c,g]=u(!1);x(()=>{a?document.body.style.overflow="hidden":document.body.style.overflow="auto"},[a]);let{data:m}=L(r==="dub.co"&&"/api/auth/session",f,{dedupingInterval:6e4});return t("div",{className:l(b==="dark"&&"dark"),children:[e("button",{onClick:()=>d(!a),className:l("fixed right-3 top-3 z-40 rounded-full p-2 transition-colors duration-200 hover:bg-gray-200 focus:outline-none active:bg-gray-300 dark:hover:bg-white/20 dark:active:bg-white/30 lg:hidden",a&&"hover:bg-gray-100 active:bg-gray-200"),children:a?e(w,{className:"h-5 w-5 text-gray-600 dark:text-white/70"}):e(N,{className:"h-5 w-5 text-gray-600 dark:text-white/70"})}),e("nav",{className:l("fixed inset-0 z-20 hidden w-full bg-white px-5 py-16 dark:bg-black dark:text-white/70 lg:hidden",a&&"block"),children:t("ul",{className:"grid divide-y divide-gray-200 dark:divide-white/[0.15]",children:[t("li",{className:"py-3",children:[t("button",{className:"flex w-full justify-between",onClick:()=>g(!c),children:[e("p",{className:"font-semibold",children:"Features"}),e(y,{className:l("h-5 w-5 text-gray-500 transition-all dark:text-white/50",c&&"rotate-180")})]}),c&&e("div",{className:"grid gap-4 overflow-hidden py-4",children:p.map(({slug:i,icon:s,shortTitle:k})=>t(o,{href:r==="dub.co"?`/${i}`:`https://dub.co/${i}`,onClick:()=>d(!1),className:"flex w-full space-x-2",children:[e(s,{className:"h-5 w-5 text-gray-500 dark:text-white/80"}),e("span",{className:"text-sm",children:k})]},i))})]}),h.map(({name:i,slug:s})=>e("li",{className:"py-3",children:e(o,{href:r==="dub.co"?`/${s}`:`https://dub.co/${s}`,onClick:()=>d(!1),className:"flex w-full font-semibold capitalize",children:i})},s)),m&&Object.keys(m).length>0?e("li",{className:"py-3",children:e(o,{href:n,className:"flex w-full font-semibold capitalize",children:"Dashboard"})}):t(z,{children:[e("li",{className:"py-3",children:e(o,{href:`${n}/login`,className:"flex w-full font-semibold capitalize",children:"Log in"})}),e("li",{className:"py-3",children:e(o,{href:`${n}/register`,className:"flex w-full font-semibold capitalize",children:"Sign Up"})})]})]})})]})}export{D as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{b as f}from"./chunk-XZEINW7G.mjs";import{i as c}from"./chunk-3VTQK4AG.mjs";import{Command as a}from"cmdk";import{Lock as x}from"lucide-react";import{jsx as s,jsxs as R}from"react/jsx-runtime";var w=({presets:g,onSelect:p,currentValue:r})=>{let P=e=>"dateRange"in e,D=e=>"date"in e,o=(e,t)=>e.getDate()===t.getDate()&&e.getMonth()===t.getMonth()&&e.getFullYear()===t.getFullYear(),b=(e,t)=>{let n=e.from,l=t.from,i=!1;n&&l&&o(n,l)&&(i=!0);let m=e.to,d=t.to,u=!1;return m&&d&&o(m,d)&&(u=!0),i&&u},y=e=>{if(P(e)){let t=r;return t&&b(t,e.dateRange)}else if(D(e)){let t=r;return t&&o(t,e.date)}return!1};return s(a,{className:"w-full rounded ring-gray-200 ring-offset-2 focus:outline-none",tabIndex:0,autoFocus:!0,loop:!0,children:s(a.List,{className:"[&>*]:flex [&>*]:w-full [&>*]:items-start [&>*]:gap-x-2 [&>*]:gap-y-0.5 [&>*]:sm:flex-col",children:g.map((e,t)=>R(a.Item,{disabled:e.requiresUpgrade,onSelect:()=>p(e),title:e.label,value:e.id,className:c("relative flex cursor-pointer items-center justify-between overflow-hidden text-ellipsis whitespace-nowrap rounded border border-gray-200","px-2.5 py-1.5 text-left text-base text-gray-700 shadow-sm outline-none sm:w-full sm:border-none sm:py-2 sm:text-sm sm:shadow-none","disabled:pointer-events-none disabled:opacity-50","sm:data-[selected=true]:bg-gray-100",y(e)&&"font-semibold text-gray-800"),children:[s("span",{children:e.label}),e.requiresUpgrade&&s(x,{className:"h-3.5 w-3.5","aria-hidden":"true"}),e.requiresUpgrade&&e.tooltipContent&&s(f,{side:"bottom",content:e.tooltipContent,children:s("div",{className:"absolute inset-0 cursor-not-allowed"})})]},t))})})};w.displayName="DatePicker.Presets";export{w as a};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as L}from"./chunk-MIAOXGNS.mjs";import{a as S}from"./chunk-BERH4K4R.mjs";import{a as V}from"./chunk-X5XFF7SS.mjs";import{f as w}from"./chunk-AK3VTPOG.mjs";import{a as W}from"./chunk-DMLF4GJF.mjs";import{a as M}from"./chunk-HPOHGCIW.mjs";import{a as k}from"./chunk-63RFWC6U.mjs";import{b as P}from"./chunk-YF7NXSU4.mjs";import{d as h,g as N,i as s,j as y}from"./chunk-JP57AFGB.mjs";import*as i from"@radix-ui/react-navigation-menu";import f from"@vercel/analytics";import{cva as q}from"class-variance-authority";import p from"next/link";import{useParams as J,useSelectedLayoutSegment as Q}from"next/navigation";import{createContext as X}from"react";import ee from"swr";import{useCallback as I,useEffect as _,useState as A}from"react";function H(r){let[e,m]=A(!1),a=I(()=>{m(window.scrollY>r)},[r]);return _(()=>(window.addEventListener("scroll",a),()=>window.removeEventListener("scroll",a)),[a]),_(()=>{a()},[a]),e}import*as l from"@radix-ui/react-popover";import{BoxSelect as O,Home as G,LayoutGrid as Z,Type as $}from"lucide-react";import{useParams as z}from"next/navigation";import{useCallback as j,useContext as F,useState as U}from"react";import{toast as R}from"sonner";import{jsx as o,jsxs as B}from"react/jsx-runtime";var K=`<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>`,Y=`<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>`;async function T(r){try{await navigator.clipboard.writeText(r),R.success("Copied to clipboard!")}catch(e){console.error("Failed to copy to clipboard.",e),R.error("Failed to copy to clipboard.")}}function E({variant:r="full",isInApp:e,className:m}){let{domain:a="dub.co"}=z(),{theme:g}=F(x),[b,c]=U(!1),n=j(d=>{d.preventDefault(),c(!0)},[]);return B(l.Root,{open:b,onOpenChange:c,children:[o(l.Anchor,{asChild:!0,children:o("div",{onContextMenu:n,className:"max-w-fit",children:r==="full"?o(W,{className:m}):o(k,{className:s("h-8 w-8 transition-all duration-75 active:scale-95",m)})})}),o(l.Portal,{children:o(l.Content,{sideOffset:14,align:"start",className:s("z-50 -mt-1.5 -translate-x-10",g==="dark"&&"dark"),onClick:d=>{d.stopPropagation(),c(!1)},children:B("div",{className:"grid gap-1 rounded-lg border border-gray-200 bg-white p-2 drop-shadow-sm dark:border-white/[0.15] dark:bg-black sm:min-w-[240px]",children:[o(v,{text:"Copy Logo as SVG",variant:"outline",onClick:()=>T(K),icon:o(k,{className:"h-4 w-4"})}),o(v,{text:"Copy Wordmark as SVG",variant:"outline",onClick:()=>T(Y),icon:o($,{strokeWidth:2,className:"h-4 w-4"})}),o(v,{text:"Brand Guidelines",variant:"outline",onClick:()=>window.open("https://dub.co/brand","_blank"),icon:o(O,{strokeWidth:2,className:"h-4 w-4"})}),e||a!="dub.co"?o(v,{text:"Home Page",variant:"outline",onClick:()=>window.open(`https://dub.co${e?"/home":""}`,"_blank"),icon:o(G,{strokeWidth:2,className:"h-4 w-4"})}):o(v,{text:"Dashboard",variant:"outline",onClick:()=>window.open("https://app.dub.co","_blank"),icon:o(Z,{strokeWidth:2,className:"h-4 w-4"})})]})})})]})}function v({className:r,...e}){return o(P,{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",r),...e})}import{Fragment as re,jsx as t,jsxs as u}from"react/jsx-runtime";var x=X({theme:"light"}),te=[{name:"Product",href:"/",content:L},{name:"Solutions",content:V},{name:"Pricing",href:"/pricing"},{name:"Resources",content:S}],D=q(["block rounded-md px-3 py-1.5 text-sm text-gray-900/60 hover:text-gray-900/80","dark:text-white/70 dark:hover:text-white","transition-colors ease-out"],{variants:{isActive:{true:"text-gray-900/80 dark:text-white"}}});function Re({theme:r="light"}){let{domain:e="dub.co"}=J(),m=H(80),a=Q(),{data:g,isLoading:b}=ee(e==="dub.co"&&"/api/auth/session",N,{dedupingInterval:6e4});return t(x.Provider,{value:{theme:r},children:u("div",{className:s("sticky inset-x-0 top-0 z-30 w-full transition-all",r==="dark"&&"dark"),children:[t("div",{className:s("-z-1 absolute inset-0 border-transparent transition-all")}),t(M,{className:"relative",children:u("div",{className:"flex h-14 items-center justify-between",children:[t(p,{className:"grow basis-0",href:w("/",e),...e!=="dub.co"&&{onClick:()=>{f.track("Referred from custom domain",{domain:e,medium:"logo"})}},children:t(E,{})}),u(i.Root,{delayDuration:0,className:"relative hidden lg:block",children:[u(i.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 drop-shadow-sm transition-all dark:border-white/10",a&&y.includes(a)?"bg-white dark:bg-black":"bg-white/75 backdrop-blur-lg dark:bg-black/75",m&&"h-14 w-screen rounded-none drop-shadow-none")})}),te.map(({name:c,href:n,content:d})=>{let C=n===`/${a}`||n==="/"&&a===null;return u(i.Item,{children:[t(oe,{trigger:!!d,children:n!==void 0?t(p,{id:`nav-${n}`,href:w(n,e)??"/test",className:D({isActive:C}),...e!=="dub.co"&&{onClick:()=>{f.track("Referred from custom domain",{domain:e,medium:`navbar item (${n})`})}},children:c},n):t("button",{className:s(D({isActive:C}),"cursor-default"),children:c})}),d&&t(i.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(d,{domain:e})})]},n)})]}),t("div",{className:"absolute left-1/2 top-full mt-3 -translate-x-1/2",children:t(i.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:g&&Object.keys(g).length>0?t(p,{href:h,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"}):b?null:u(re,{children:[t(p,{href:`${h}/login`,...e!=="dub.co"&&{onClick:()=>{f.track("Referred from custom domain",{domain:e,medium:"navbar item (login)"})}},className:"animate-fade-in rounded-full px-4 py-1.5 text-sm font-medium text-gray-500 transition-colors ease-out hover:text-black dark:text-white dark:hover:text-white/70",children:"Log in"}),t(p,{href:`${h}/register`,...e!=="dub.co"&&{onClick:()=>{f.track("Referred from custom domain",{domain:e,medium:"navbar item (signup)"})}},className:"animate-fade-in rounded-full border border-black bg-black px-4 py-1.5 text-sm text-white transition-all hover:bg-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 oe({trigger:r,children:e}){return r?t(i.Trigger,{asChild:!0,children:e}):e}export{H as a,x as b,te as c,Re as d,E as e};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as S}from"./chunk-K4MP745I.mjs";import{a as L}from"./chunk-HDYSJ6QF.mjs";import{b as k}from"./chunk-KETLMZBE.mjs";import{b as u}from"./chunk-44WC4EDY.mjs";import{Command as s,useCommandState as T}from"cmdk";import{Check as O,ChevronDown as j,Search as v,X as z}from"lucide-react";import{memo as w,useEffect as D,useRef as H,useState as E}from"react";import{Drawer as c}from"vaul";import{jsx as e,jsxs as r}from"react/jsx-runtime";function U({items:p,selectedItem:t,setSelectedItem:N,className:b,disabled:M,adjustForMobile:R,icon:f,inputAttrs:y,noItemsElement:m}){let i=H(null),[n,o]=E(!1),[d,g]=E("");D(()=>{t&&g(t.value)},[t]),D(()=>{let a=l=>{i.current&&!i.current.contains(l.target)&&o(!1)};if(n)return document.addEventListener("click",a),()=>document.removeEventListener("click",a)},[i,n]);let{isMobile:P}=S(),h=w(()=>{let a=T(l=>l.filtered.count===0);return e(s.Input,{placeholder:(y==null?void 0:y.placeholder)||"Search...",autoFocus:n,onFocus:()=>o(!0),value:d,onValueChange:g,onKeyDown:l=>{l.key==="Escape"?(l.preventDefault(),o(!1)):l.key==="Enter"&&a?o(!1):l.key.match(/^[a-z0-9]$/i)&&!l.metaKey&&o(!0)},disabled:M,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"})}),x=w(()=>e("button",{onClick:()=>{o(a=>!a),N(null),g("")},className:"absolute inset-y-0 right-0 my-auto pr-3",children:d.length>0?e(z,{className:"h-4 w-4 text-gray-400 transition-all hover:text-gray-700"}):e(j,{className:u("h-4 w-4 text-gray-400 transition-all hover:text-gray-700",{"rotate-180 transform":n})})})),C=w(()=>p.map(a=>r(s.Item,{value:a.value,disabled:a.disabled,onSelect:()=>{N(a),g(a.value),o(!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:[r("div",{className:"flex items-center space-x-2",children:[a.image&&e(L,{src:a.image,alt:a.value,className:"h-4 w-4 rounded-full",width:16,height:16}),e("p",{className:u("whitespace-nowrap py-0.5 text-sm",a.color&&"rounded-md px-2",a.color==="red"&&"bg-red-100 text-red-600",a.color==="yellow"&&"bg-yellow-100 text-yellow-600",a.color==="green"&&"bg-green-100 text-green-600",a.color==="blue"&&"bg-blue-100 text-blue-600",a.color==="purple"&&"bg-purple-100 text-purple-600",a.color==="brown"&&"bg-brown-100 text-brown-600"),children:a.value}),a.label&&e(k,{className:"text-xs",variant:"neutral",children:a.label})]}),e(O,{className:"invisible h-5 w-5 text-gray-500 aria-selected:visible"})]},a.id)));return P&&R?r(c.Root,{open:n,onOpenChange:o,children:[e(c.Trigger,{className:"sm:hidden",asChild:!0,children:e(s,{ref:i,className:"relative",loop:!0,children:r("div",{className:u("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]",b),children:[e("div",{className:"absolute inset-y-0 left-0 flex items-center justify-center pl-3 text-gray-400",children:t&&t.image?e("img",{src:t.image,alt:t.value,className:"h-4 w-4 rounded-full"}):f||e(v,{className:"h-4 w-4 text-gray-400"})}),r("div",{className:"flex h-10 px-8",children:[e(h,{}),e(x,{})]})]})})}),e(c.Overlay,{className:"fixed inset-0 z-40 bg-gray-100 bg-opacity-10 backdrop-blur"}),r(c.Portal,{children:[e(c.Content,{className:"fixed bottom-0 left-0 right-0 z-50 mt-24 rounded-t-lg border-t border-gray-200 bg-white",children:r(s,{ref:i,className:"relative",loop:!0,children:[r("div",{className:u("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",b),children:[e("div",{className:"absolute inset-y-0 left-0 flex items-center justify-center pl-3 text-gray-400",children:t&&t.image?e("img",{src:t.image,alt:t.value,className:"h-4 w-4 rounded-full"}):f||e(v,{className:"h-4 w-4 text-gray-400"})}),r("div",{className:"flex h-10 px-8",children:[e(h,{}),e(x,{})]})]}),n&&r(s.List,{className:"dub-scrollbar h-[70vh] overflow-y-auto p-2",children:[p.length===0&&d===""&&(m?e("div",{children:m}):e("p",{className:"px-4 py-2 text-sm text-gray-600",children:"No items found."})),d!==""&&e(s.Empty,{className:"px-4 py-2 text-sm text-gray-600",children:"No results found."}),e(C,{})]})]})}),e(c.Overlay,{})]})]}):r(s,{ref:i,className:"relative",loop:!0,children:[r("div",{className:u("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",b),children:[e("div",{onClick:()=>o(a=>!a),className:"absolute inset-y-0 left-0 flex cursor-pointer items-center justify-center pl-3 text-gray-400",children:t&&t.image?e("img",{src:t.image,alt:t.value,className:"h-4 w-4 rounded-full"}):f||e(v,{className:"h-4 w-4 text-gray-400"})}),r("div",{className:"flex h-10 px-8",children:[e(h,{}),e(x,{})]})]}),n&&r(s.List,{className:"dub-scrollbar absolute z-20 mt-2 h-[calc(var(--cmdk-list-height)+17px)] max-h-[300px] w-full min-w-[160px] overflow-auto rounded-md border border-gray-200 bg-white p-2 shadow-md transition-all duration-75",children:[p.length===0&&d===""&&(m?e("div",{children:m}):e("p",{className:"px-4 py-2 text-sm text-gray-600",children:"No items found."})),d!==""&&e(s.Empty,{className:"px-4 py-2 text-sm text-gray-600",children:"No results found."}),e(C,{})]})]})}export{U as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as f}from"./chunk-K4MP745I.mjs";import{g as i}from"./chunk-5XIONXV4.mjs";import*as o from"@radix-ui/react-dialog";import{useRouter as D}from"next/navigation";import{Drawer as a}from"vaul";import{jsx as t,jsxs as n}from"react/jsx-runtime";function x({children:l,className:d,showModal:s,setShowModal:r,onClose:c,desktopOnly:g,preventDefaultClose:u}){let p=D(),m=({dragged:e}={})=>{u&&!e||(c&&c(),r?r(!1):p.back())},{isMobile:b}=f();return b&&!g?n(a.Root,{open:r?s:!0,onOpenChange:e=>{e||m({dragged:!0})},children:[t(a.Overlay,{className:"fixed inset-0 z-40 bg-gray-100 bg-opacity-10 backdrop-blur"}),n(a.Portal,{children:[n(a.Content,{className:i("fixed bottom-0 left-0 right-0 z-50 mt-24 rounded-t-[10px] border-t border-gray-200 bg-white",d),children:[t("div",{className:"sticky top-0 z-20 flex w-full items-center justify-center rounded-t-[10px] bg-inherit",children:t("div",{className:"my-3 h-1 w-12 rounded-full bg-gray-300"})}),l]}),t(a.Overlay,{})]})]}):t(o.Root,{open:r?s:!0,onOpenChange:e=>{e||m()},children:n(o.Portal,{children:[t(o.Overlay,{id:"modal-backdrop",className:"animate-fade-in fixed inset-0 z-40 bg-gray-100 bg-opacity-50 backdrop-blur-md"}),t(o.Content,{onOpenAutoFocus:e=>e.preventDefault(),onCloseAutoFocus:e=>e.preventDefault(),className:i("animate-scale-in fixed inset-0 z-40 m-auto max-h-fit w-full max-w-md overflow-hidden border border-gray-200 bg-white p-0 shadow-xl sm:rounded-2xl",d),children:l})]})})}export{x as a};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as L}from"./chunk-6A2DNSW4.mjs";import{a as S}from"./chunk-3RYQCUYK.mjs";import{a as w}from"./chunk-MAZ6YG5Y.mjs";import{a as V}from"./chunk-QBWULSN7.mjs";import{a as k}from"./chunk-4NWFDRMU.mjs";import{a as M}from"./chunk-3IR6GXKB.mjs";import{b as P}from"./chunk-SWIJ7E6E.mjs";import{d as h,g as N,i as s,j as y}from"./chunk-3VTQK4AG.mjs";import*as i from"@radix-ui/react-navigation-menu";import b from"@vercel/analytics";import{cva as Y}from"class-variance-authority";import p from"next/link";import{useParams as q,useSelectedLayoutSegment as J}from"next/navigation";import{createContext as Q}from"react";import X from"swr";import{useCallback as D,useEffect as W,useState as I}from"react";function _(r){let[e,m]=I(!1),a=D(()=>{m(window.scrollY>r)},[r]);return W(()=>(window.addEventListener("scroll",a),()=>window.removeEventListener("scroll",a)),[a]),W(()=>{a()},[a]),e}import*as l from"@radix-ui/react-popover";import{BoxSelect as A,Home as O,LayoutGrid as G,Type as Z}from"lucide-react";import{useParams as $}from"next/navigation";import{useCallback as z,useContext as j,useState as F}from"react";import{toast as H}from"sonner";import{jsx as o,jsxs as T}from"react/jsx-runtime";var U=`<svg width="65" height="64" viewBox="0 0 65 64" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M32.5 64C50.1731 64 64.5 49.6731 64.5 32C64.5 20.1555 58.0648 9.81393 48.5 4.28099V31.9999V47.9998H40.5V45.8594C38.1466 47.2207 35.4143 47.9999 32.5 47.9999C23.6634 47.9999 16.5 40.8364 16.5 31.9999C16.5 23.1633 23.6634 15.9999 32.5 15.9999C35.4143 15.9999 38.1466 16.779 40.5 18.1404V1.00812C37.943 0.350018 35.2624 0 32.5 0C14.8269 0 0.500038 14.3269 0.500038 32C0.500038 49.6731 14.8269 64 32.5 64Z" fill="black"/>
|
|
4
|
+
</svg>`,K=`<svg width="46" height="24" viewBox="0 0 46 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
5
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M11 2H14V13.9332L14.0003 13.9731L14.0003 14C14.0003 14.0223 14.0002 14.0445 14 14.0668V21H11V19.7455C9.86619 20.5362 8.48733 21 7.00016 21C3.13408 21 0 17.866 0 14C0 10.134 3.13408 7 7.00016 7C8.48733 7 9.86619 7.46375 11 8.25452V2ZM7 17.9998C9.20914 17.9998 11 16.209 11 13.9999C11 11.7908 9.20914 10 7 10C4.79086 10 3 11.7908 3 13.9999C3 16.209 4.79086 17.9998 7 17.9998ZM32 2H35V8.25474C36.1339 7.46383 37.5128 7 39.0002 7C42.8662 7 46.0003 10.134 46.0003 14C46.0003 17.866 42.8662 21 39.0002 21C35.1341 21 32 17.866 32 14V2ZM39 17.9998C41.2091 17.9998 43 16.209 43 13.9999C43 11.7908 41.2091 10 39 10C36.7909 10 35 11.7908 35 13.9999C35 16.209 36.7909 17.9998 39 17.9998ZM19 7H16V14C16 14.9192 16.1811 15.8295 16.5329 16.6788C16.8846 17.5281 17.4003 18.2997 18.0503 18.9497C18.7003 19.5997 19.472 20.1154 20.3213 20.4671C21.1706 20.8189 22.0809 21 23.0002 21C23.9194 21 24.8297 20.8189 25.679 20.4671C26.5283 20.1154 27.3 19.5997 27.95 18.9497C28.6 18.2997 29.1157 17.5281 29.4675 16.6788C29.8192 15.8295 30.0003 14.9192 30.0003 14H30V7H27V14C27 15.0608 26.5785 16.0782 25.8284 16.8283C25.0783 17.5784 24.0609 17.9998 23 17.9998C21.9391 17.9998 20.9217 17.5784 20.1716 16.8283C19.4215 16.0782 19 15.0608 19 14V7Z" fill="black"/>
|
|
6
|
+
</svg>`;async function R(r){try{await navigator.clipboard.writeText(r),H.success("Copied to clipboard!")}catch(e){console.error("Failed to copy to clipboard.",e),H.error("Failed to copy to clipboard.")}}function B({variant:r="full",isInApp:e,className:m}){let{domain:a="dub.co"}=$(),{theme:g}=j(C),[f,c]=F(!1),n=z(d=>{d.preventDefault(),c(!0)},[]);return T(l.Root,{open:f,onOpenChange:c,children:[o(l.Anchor,{asChild:!0,children:o("div",{onContextMenu:n,className:"max-w-fit",children:r==="full"?o(V,{className:m}):o(k,{className:s("h-8 w-8 transition-all duration-75 active:scale-95",m)})})}),o(l.Portal,{children:o(l.Content,{sideOffset:14,align:"start",className:s("z-50 -mt-1.5 -translate-x-10",g==="dark"&&"dark"),onClick:d=>{d.stopPropagation(),c(!1)},children:T("div",{className:"grid gap-1 rounded-lg border border-gray-200 bg-white p-2 drop-shadow-sm dark:border-white/[0.15] dark:bg-black sm:min-w-[240px]",children:[o(v,{text:"Copy Logo as SVG",variant:"outline",onClick:()=>R(U),icon:o(k,{className:"h-4 w-4"})}),o(v,{text:"Copy Wordmark as SVG",variant:"outline",onClick:()=>R(K),icon:o(Z,{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||a!="dub.co"?o(v,{text:"Home Page",variant:"outline",onClick:()=>window.open(`https://dub.co${e?"/home":""}`,"_blank"),icon:o(O,{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:r,...e}){return o(P,{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",r),...e})}import{Fragment as oe,jsx as t,jsxs as u}from"react/jsx-runtime";var C=Q({theme:"light"}),ee=[{name:"Product",href:"/",content:L},{name:"Solutions",content:S},{name:"Pricing",href:"/pricing"},{name:"Resources"}],E=Y(["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 _e({theme:r="light"}){let{domain:e="dub.co"}=q(),m=_(80),a=J(),{data:g,isLoading:f}=X(e==="dub.co"&&"/api/auth/session",N,{dedupingInterval:6e4});return t(C.Provider,{value:{theme:r},children:u("div",{className:s("sticky inset-x-0 top-0 z-30 w-full transition-all",r==="dark"&&"dark"),children:[t("div",{className:s("-z-1 absolute inset-0 border-transparent transition-all")}),t(M,{className:"relative",children:u("div",{className:"flex h-14 items-center justify-between",children:[t(p,{className:"grow basis-0",href:w("/",e),...e!=="dub.co"&&{onClick:()=>{b.track("Referred from custom domain",{domain:e,medium:"logo"})}},children:t(B,{})}),u(i.Root,{delayDuration:0,className:"relative hidden lg:block",children:[u(i.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 drop-shadow-sm transition-all dark:border-white/10",a&&y.includes(a)?"bg-white dark:bg-black":"bg-white/75 backdrop-blur-lg dark:bg-black/75",m&&"h-14 w-screen rounded-none drop-shadow-none")})}),ee.map(({name:c,href:n,content:d})=>{let x=n===`/${a}`||n==="/"&&a===null;return u(i.Item,{children:[t(te,{trigger:!!d,children:n!==void 0?t(p,{id:`nav-${n}`,href:w(n,e)??"/test",className:E({isActive:x}),...e!=="dub.co"&&{onClick:()=>{b.track("Referred from custom domain",{domain:e,medium:`navbar item (${n})`})}},children:c},n):t("span",{className:s(E({isActive:x}),"cursor-default"),children:c})}),d&&t(i.Content,{children:t(d,{domain:e})})]},n)})]}),t(i.Viewport,{className:s("absolute left-0 top-full mt-3 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]","[&>*]:absolute")})]}),t("div",{className:"hidden grow basis-0 justify-end lg:flex",children:g&&Object.keys(g).length>0?t(p,{href:h,className:"animate-fade-in rounded-full border border-black bg-black px-4 py-1.5 text-sm text-white transition-all hover:bg-gray-800 hover:ring-4 hover:ring-gray-200 dark:border-white dark:bg-white dark:text-gray-600 dark:hover:bg-white dark:hover:text-gray-800 dark:hover:hover:shadow-[0_0_25px_5px_rgba(256,256,256,0.2)] dark:hover:ring-0",children:"Dashboard"}):f?null:u(oe,{children:[t(p,{href:`${h}/login`,...e!=="dub.co"&&{onClick:()=>{b.track("Referred from custom domain",{domain:e,medium:"navbar item (login)"})}},className:"animate-fade-in rounded-full px-4 py-1.5 text-sm font-medium text-gray-500 transition-colors ease-out hover:text-black dark:text-white dark:hover:text-white/70",children:"Log in"}),t(p,{href:`${h}/register`,...e!=="dub.co"&&{onClick:()=>{b.track("Referred from custom domain",{domain:e,medium:"navbar item (signup)"})}},className:"animate-fade-in rounded-full border border-black bg-black px-4 py-1.5 text-sm text-white transition-all hover:bg-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 te({trigger:r,children:e}){return r?t(i.Trigger,{asChild:!0,children:e}):e}export{_ as a,C as b,_e as c,B as d};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{b as x,f as N}from"./chunk-GHBZGU5R.mjs";import{a as v}from"./chunk-3EYESOVW.mjs";import{a as b}from"./chunk-HPHESWJX.mjs";import{a as y}from"./chunk-O7P5ZP3C.mjs";import{a as h}from"./chunk-IPWNIED6.mjs";import{a as f}from"./chunk-T4YFARK5.mjs";import{g as u,i as l,k as g,l as p}from"./chunk-5D54PSF2.mjs";import m from"@vercel/analytics";import C from"next/image";import s from"next/link";import{useParams as T}from"next/navigation";import{useEffect as P,useState as k}from"react";import R from"swr";import{jsx as e,jsxs as t}from"react/jsx-runtime";var n={features:x.map(({shortTitle:a,slug:o})=>({name:a,href:`/${o}`})),product:[{name:"Blog",href:"/blog"},{name:"Brand",href:"/brand"},{name:"Changelog",href:"/changelog"},{name:"Customers",href:"/customers"},{name:"Enterprise",href:"/enterprise"},{name:"Pricing",href:"/pricing"},{name:"Help Center",href:"/help"}],compare:p.map(({name:a,slug:o})=>({name:a,href:`/compare/${o}`})),legal:[{name:"Privacy",href:"/privacy"},{name:"Terms",href:"/terms"},{name:"Abuse",href:"/abuse"}],tools:g.map(({name:a,slug:o})=>({name:a,href:`/tools/${o}`}))};function O(){let{domain:a="dub.co"}=T(),o=r=>a==="dub.co"?r:`https://dub.co${r}`;return e("footer",{children:t(v,{className:"relative z-10 overflow-hidden border border-b-0 border-gray-200 bg-white/50 pb-60 pt-16 backdrop-blur-lg md:rounded-t-2xl",children:[t("div",{className:"xl:grid xl:grid-cols-3 xl:gap-8",children:[t("div",{className:"space-y-6",children:[t(s,{href:o("/"),...a!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:a,medium:"footer item (logo)"})}},className:"block max-w-fit",children:[t("span",{className:"sr-only",children:[process.env.NEXT_PUBLIC_APP_NAME," Logo"]}),e(N,{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."}),t("p",{className:"text-sm leading-5 text-gray-400",children:["\xA9 ",new Date().getFullYear()," Dub Technologies, Inc."]}),t("div",{className:"flex items-center space-x-3",children:[t("a",{href:"https://twitter.com/dubdotco",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"Twitter"}),e(b,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-black"})]}),t("a",{href:"https://github.com/dubinc/dub",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"Github"}),e(f,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-black"})]}),t("a",{href:"https://www.linkedin.com/company/dubinc",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"LinkedIn"}),e(h,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-[#0077b5]"})]}),t("a",{href:"https://www.youtube.com/@dubdotco",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"YouTube"}),e(y,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-[#ff0000]"})]})]}),e($,{})]}),t("div",{className:"mt-16 grid grid-cols-2 gap-4 xl:col-span-2 xl:mt-0",children:[t("div",{className:"md:grid md:grid-cols-2",children:[t("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Features"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:n.features.map(r=>e("li",{children:e(s,{href:o(r.href),...a!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:a,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:r.name})},r.name))})]}),t("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Product"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:n.product.map(r=>e("li",{children:e(s,{href:o(r.href),...a!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:a,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:r.name})},r.name))})]})]}),t("div",{className:"md:grid md:grid-cols-2",children:[t("div",{className:"flex flex-col space-y-8",children:[t("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Compare"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:n.compare.map(r=>e("li",{children:e(s,{href:o(r.href),...a!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:a,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:r.name})},r.name))})]}),t("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Legal"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:n.legal.map(r=>e("li",{children:e(s,{href:o(r.href),...a!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:a,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:r.name})},r.name))})]})]}),t("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Tools"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:n.tools.map(r=>e("li",{children:e(s,{href:o(r.href),...a!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:a,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:r.name})},r.name))})]})]})]})]}),e(C,{src:"https://assets.dub.co/footer.png",alt:"Dub Technologies, Inc. Logo",width:1959,height:625,className:"pointer-events-none absolute inset-x-0 bottom-0 z-0"})]})})}function $(){let{data:a}=R("https://status.dub.co/api/v1/summary",u),[o,r]=k("bg-gray-200"),[i,c]=k("Loading status...");return P(()=>{if(!a)return;let{ongoing_incidents:d}=a;if(d.length>0){let{current_worst_impact:w,name:L}=d[0],_=w==="degraded_performance"?"bg-yellow-500":"bg-red-500";c(L),r(_)}else c("All systems operational"),r("bg-green-500")},[a]),t(s,{href:"https://status.dub.co",target:"_blank",className:"group flex max-w-fit items-center space-x-2 rounded-md border border-gray-200 bg-white px-3 py-2 transition-colors hover:bg-gray-100",children:[t("div",{className:"relative h-3 w-3",children:[e("div",{className:l("absolute inset-0 m-auto h-3 w-3 animate-ping items-center justify-center rounded-full group-hover:animate-none",o,i==="Loading status..."&&"animate-none")}),e("div",{className:l("absolute inset-0 z-10 m-auto h-3 w-3 rounded-full",o)})]}),e("p",{className:"text-sm font-medium text-gray-800",children:i})]})}export{O as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{g as e}from"./chunk-5XIONXV4.mjs";import{jsx as t}from"react/jsx-runtime";function n({className:i}){return t("div",{className:e("h-5 w-5",i),children:t("div",{style:{position:"relative",top:"50%",left:"50%"},className:e("loading-spinner","h-5 w-5",i),children:[...Array(12)].map((r,a)=>t("div",{style:{animationDelay:`${-1.2+.1*a}s`,background:"gray",position:"absolute",borderRadius:"1rem",width:"30%",height:"8%",left:"-10%",top:"-4%",transform:`rotate(${30*a}deg) translate(120%)`},className:"animate-spinner"},a))})})}export{n as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{k as C}from"./chunk-UIFZOBQS.mjs";import{jsx as e}from"react/jsx-runtime";function o({className:t}){return e("svg",{width:"46",height:"24",viewBox:"0 0 46 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:(void 0)("h-6 w-auto text-black dark:text-white",t),children:e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 2H14V13.9332L14.0003 13.9731L14.0003 14C14.0003 14.0223 14.0002 14.0445 14 14.0668V21H11V19.7455C9.86619 20.5362 8.48733 21 7.00016 21C3.13408 21 0 17.866 0 14C0 10.134 3.13408 7 7.00016 7C8.48733 7 9.86619 7.46375 11 8.25452V2ZM7 17.9998C9.20914 17.9998 11 16.209 11 13.9999C11 11.7908 9.20914 10 7 10C4.79086 10 3 11.7908 3 13.9999C3 16.209 4.79086 17.9998 7 17.9998ZM32 2H35V8.25474C36.1339 7.46383 37.5128 7 39.0002 7C42.8662 7 46.0003 10.134 46.0003 14C46.0003 17.866 42.8662 21 39.0002 21C35.1341 21 32 17.866 32 14V2ZM39 17.9998C41.2091 17.9998 43 16.209 43 13.9999C43 11.7908 41.2091 10 39 10C36.7909 10 35 11.7908 35 13.9999C35 16.209 36.7909 17.9998 39 17.9998ZM19 7H16V14C16 14.9192 16.1811 15.8295 16.5329 16.6788C16.8846 17.5281 17.4003 18.2997 18.0503 18.9497C18.7003 19.5997 19.472 20.1154 20.3213 20.4671C21.1706 20.8189 22.0809 21 23.0002 21C23.9194 21 24.8297 20.8189 25.679 20.4671C26.5283 20.1154 27.3 19.5997 27.95 18.9497C28.6 18.2997 29.1157 17.5281 29.4675 16.6788C29.8192 15.8295 30.0003 14.9192 30.0003 14H30V7H27V14C27 15.0608 26.5785 16.0782 25.8284 16.8283C25.0783 17.5784 24.0609 17.9998 23 17.9998C21.9391 17.9998 20.9217 17.5784 20.1716 16.8283C19.4215 16.0782 19 15.0608 19 14V7Z",fill:"currentColor"})})}export{o as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{b as o}from"./chunk-44WC4EDY.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{b as T}from"./chunk-RY3THW7P.mjs";import{a as S}from"./chunk-7JVREEEI.mjs";import{a as w}from"./chunk-DLETK3JE.mjs";import{i as f}from"./chunk-JP57AFGB.mjs";import{flexRender as N,getCoreRowModel as R,useReactTable as D}from"@tanstack/react-table";import{AnimatePresence as M,motion as I}from"framer-motion";import{useEffect as j,useMemo as A,useState as H}from"react";import{jsx as t,jsxs as n}from"react/jsx-runtime";var z="border-r border-b border-gray-200 px-4 py-2.5 text-left text-sm leading-6 whitespace-nowrap";function X(a){let{data:m,rowCount:c,columns:u,defaultColumn:x,resizeColumns:l=!0,pagination:g,onPaginationChange:b}=a,[r,p]=H(a.columnVisibility??{});j(()=>{p(a.columnVisibility??{})},[a.columnVisibility]);let v=D({data:m,rowCount:c,columns:u,defaultColumn:{minSize:60,size:150,maxSize:250,...x},columnResizeMode:l?"onChange":void 0,getCoreRowModel:R(),onPaginationChange:b,onColumnVisibilityChange:p,state:{pagination:g,columnVisibility:r},manualPagination:!0,autoResetPageIndex:!1,manualSorting:!0});return{...a,columnVisibility:r,resizeColumns:l,table:v}}function Y({columns:a,data:m,loading:c,error:u,emptyState:x,cellRight:l,sortBy:g,sortOrder:b,onSortChange:r,sortableColumns:p=[],resizeColumns:v,columnVisibility:P={},thClassName:h,tdClassName:V,table:i,pagination:d,resourceName:C}){let k=A(()=>{let o=i.getFlatHeaders(),e={};for(let y=0;y<o.length;y++){let s=o[y];e[`--header-${s.id}-size`]=s.getSize(),e[`--col-${s.column.id}-size`]=s.column.getSize()}return e},[a,P,i.getState().columnSizingInfo,i.getState().columnSizing]);return t("div",{className:"border border-gray-200 bg-white sm:rounded-xl",children:n("div",{className:"relative rounded-[inherit]",children:[!u&&!!(m!=null&&m.length)||c?t("div",{className:"min-h-[400px] overflow-x-auto rounded-[inherit]",children:n("table",{className:f("w-full table-fixed border-separate border-spacing-0","[&_thead_tr:first-child>*]:border-t-0","[&_tr>*:first-child]:border-l-0","[&_tr>*:last-child]:border-r-0"),style:k,children:[t("thead",{children:i.getHeaderGroups().map(o=>t("tr",{children:o.headers.map((e,y)=>{let s=p.includes(e.column.id);return n("th",{className:f(z,"relative select-none font-medium",h),style:{width:`calc(var(--header-${e==null?void 0:e.id}-size) * 1px)`},children:[t("div",{className:"flex items-center justify-between gap-6 !pr-0",children:n("button",{type:"button",className:"flex items-center gap-2",disabled:!s,onClick:()=>r==null?void 0:r({sortBy:e.column.id,sortOrder:g!==e.column.id||b==="asc"?"desc":"asc"}),"aria-label":"Sort by column",children:[t("span",{children:e.isPlaceholder?null:N(e.column.columnDef.header,e.getContext())}),s&&t(S,{order:g===e.column.id?b||"desc":null})]})}),v&&t("div",{className:"absolute -right-[4px] top-0 z-[1] h-full w-[7px] cursor-col-resize",...{onDoubleClick:()=>e.column.resetSize(),onMouseDown:e.getResizeHandler(),onTouchStart:e.getResizeHandler()}})]},e.id)})},o.id))}),t("tbody",{children:i.getRowModel().rows.map(o=>t("tr",{children:o.getVisibleCells().map(e=>t("td",{className:f(z,"group relative text-gray-600",V),style:{width:`calc(var(--col-${e.column.id}-size) * 1px)`},children:n("div",{className:"flex w-full items-center justify-between overflow-hidden truncate",children:[t("div",{className:"min-w-0 shrink",children:N(e.column.columnDef.cell,e.getContext())}),l==null?void 0:l(e)]})},e.id))},o.id))})]})}):t("div",{className:"flex h-96 w-full items-center justify-center text-sm text-gray-500",children:u||x||"Failed to load data."}),d&&n("div",{className:"sticky bottom-0 flex 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:[n("div",{children:[t("span",{className:"hidden sm:inline-block",children:"Viewing"})," ",n("span",{className:"font-medium",children:[d.pageIndex*d.pageSize+1,"-",Math.min(d.pageIndex*d.pageSize+d.pageSize,i.getRowCount())]})," ","of"," ",t("span",{className:"font-medium",children:i.getRowCount().toLocaleString()})," ",(C==null?void 0:C(i.getRowCount()!==1))||"items"]}),n("div",{className:"flex items-center gap-2",children:[t(T,{variant:"secondary",text:"Previous",className:"h-7 px-2",onClick:()=>i.previousPage(),disabled:!i.getCanPreviousPage()}),t(T,{variant:"secondary",text:"Next",className:"h-7 px-2",onClick:()=>i.nextPage(),disabled:!i.getCanNextPage()})]})]}),t(M,{children:c&&t(I.div,{initial:{opacity:0},animate:{opacity:1},className:"absolute inset-0 flex items-center justify-center bg-white/50",children:t(w,{})})})]})})}export{X as a,Y as b};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{i as r}from"./chunk-TORFST2S.mjs";import*as e from"@radix-ui/react-accordion";import{ChevronDown as m}from"lucide-react";import*as c from"react";import{jsx as n,jsxs as l}from"react/jsx-runtime";var v=e.Root,d=c.forwardRef(({className:o,...t},i)=>n(e.Item,{ref:i,className:r("border-b border-b-slate-200 py-3 last:border-none",o),...t}));d.displayName="AccordionItem";var s=c.forwardRef(({className:o,children:t,...i},a)=>n(e.Header,{className:"flex",children:l(e.Trigger,{ref:a,className:r("flex flex-1 items-center justify-between font-medium transition-all sm:text-lg [&[data-state=open]>svg]:rotate-180",o),...i,children:[t,n(m,{className:"h-5 w-5 flex-none transition-transform duration-300"})]})}));s.displayName=e.Trigger.displayName;var f=c.forwardRef(({className:o,children:t,...i},a)=>n(e.Content,{ref:a,className:r("data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm text-gray-500 transition-all sm:text-base",o),...i,children:t}));f.displayName=e.Content.displayName;export{v as a,d as b,s as c,f as d};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{d as e}from"./chunk-ZYBJOEYC.mjs";import{jsx as t,jsxs as s}from"react/jsx-runtime";function o({className:r}){return s("svg",{xmlns:"http://www.w3.org/2000/svg",version:"1.1",width:"256",height:"256",viewBox:"0 0 256 256",className:e("text-[#ff0000]",r),children:[t("defs",{}),t("g",{style:{stroke:"none",strokeWidth:0,strokeDasharray:"none",strokeLinecap:"butt",strokeLinejoin:"miter",strokeMiterlimit:10,fill:"#ff0000",fillRule:"nonzero",opacity:1},transform:"translate(1.4065934065934016 1.4065934065934016) scale(2.81 2.81)",children:t("path",{d:"M 88.119 23.338 c -1.035 -3.872 -4.085 -6.922 -7.957 -7.957 C 73.144 13.5 45 13.5 45 13.5 s -28.144 0 -35.162 1.881 c -3.872 1.035 -6.922 4.085 -7.957 7.957 C 0 30.356 0 45 0 45 s 0 14.644 1.881 21.662 c 1.035 3.872 4.085 6.922 7.957 7.957 C 16.856 76.5 45 76.5 45 76.5 s 28.144 0 35.162 -1.881 c 3.872 -1.035 6.922 -4.085 7.957 -7.957 C 90 59.644 90 45 90 45 S 90 30.356 88.119 23.338 z M 36 58.5 v -27 L 59.382 45 L 36 58.5 z",style:{stroke:"none",strokeWidth:1,strokeDasharray:"none",strokeLinecap:"butt",strokeLinejoin:"miter",strokeMiterlimit:10,fill:"currentColor",fillRule:"nonzero",opacity:1},transform:" matrix(1 0 0 1 0 0) ",strokeLinecap:"round"})})]})}export{o as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{i as a}from"./chunk-JP57AFGB.mjs";import n from"next/link";import{jsx as e,jsxs as i}from"react/jsx-runtime";var l="text-xs uppercase text-gray-500 dark:text-white/60",p="group rounded-[8px] p-2 transition-colors hover:bg-gray-100 active:bg-gray-200 dark:hover:bg-white/[0.15] dark:active:bg-white/20";function h({icon:t,title:o,description:r,descriptionLines:s=1,className:d,...c}){return e(n,{className:a(p,d),...c,children:i("div",{className:"flex items-center gap-3",children:[t,i("div",{children:[e("p",{className:"text-sm font-medium text-gray-700 dark:text-white",children:o}),r&&e("p",{className:a("text-xs text-gray-500/80 dark:text-white/60",["line-clamp-1","line-clamp-2"][s-1]),children:r})]})]})})}function x({icon:t}){return e("div",{className:"shrink-0 rounded-[10px] border border-gray-200 bg-white/50 p-3 dark:border-white/20 dark:bg-white/10",children:e(t,{className:"h-4 w-4 text-black transition-transform group-hover:scale-110 dark:text-white/80"})})}function k({name:t,href:o,icon:r}){return i(n,{href:o,className:"group relative isolate overflow-hidden rounded-[8px] border border-gray-100 p-3 text-sm font-medium text-gray-800 transition-colors hover:border-gray-200 hover:bg-gray-100 active:bg-gray-200 dark:border-white/20 dark:text-white/80 dark:hover:bg-white/[0.15] dark:active:bg-white/20",children:[e("div",{className:"absolute -bottom-5 -right-3 -z-[1] w-14",children:r}),t]})}export{l as a,p as b,h as c,x as d,k as e};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as z}from"./chunk-WJICABWO.mjs";import{a as O}from"./chunk-K4MP745I.mjs";import{a as H,b as K}from"./chunk-T3MTCKPD.mjs";import{a as A}from"./chunk-CXD5V6EP.mjs";import{a as M}from"./chunk-YURUGH4S.mjs";import{e as R,g as w}from"./chunk-5XIONXV4.mjs";import{Command as c,useCommandState as B}from"cmdk";import{Check as V,ChevronDown as Q,ListFilter as Z}from"lucide-react";import{forwardRef as q,isValidElement as G,useCallback as v,useEffect as T,useImperativeHandle as J,useRef as E,useState as k}from"react";import{Fragment as W,jsx as n,jsxs as m}from"react/jsx-runtime";function ce({filters:e,onSelect:o,onRemove:a,onOpenFilter:l,activeFilters:r,askAI:i,children:p,className:y}){var D;let{isMobile:h}=O(),d=E(null),P=E(),[N,f]=k(!1),[g,S]=k(""),[u,I]=k(null),C=v(()=>{S(""),I(null)},[]);T(()=>{N||C()},[N]);let s=u?e.find(({key:t})=>t===u):null,$=v(t=>{d.current&&(P.current={width:d.current.scrollWidth,height:d.current.scrollHeight}),S(""),I(t),l==null||l(t)},[]),L=v(t=>{var b;s&&(((b=r==null?void 0:r.find(({key:x})=>x===u))==null?void 0:b.value)===t?a(s.key):o(s.key,t)),f(!1)},[r,s,i]);return n(z,{openPopover:N,setOpenPopover:f,onEscapeKeyDown:t=>{u&&(t.preventDefault(),C())},content:n(K,{width:!h,height:!0,className:"rounded-[inherit]",style:{transform:"translateZ(0)"},children:m(c,{loop:!0,children:[n(U,{placeholder:`${(s==null?void 0:s.label)||"Filter"}...`,value:g,onValueChange:S,onKeyDown:t=>{(t.key==="Escape"||t.key==="Backspace"&&!g)&&(t.preventDefault(),t.stopPropagation(),u?C():f(!1))},emptySubmit:t=>{t.preventDefault(),t.stopPropagation(),i?(o("ai",s?`${s.label} ${g}`:g),f(!1)):L(g)}}),n(X,{ref:d,children:m(c.List,{className:w("flex w-full flex-col gap-1 p-1",s?"min-w-[100px]":"min-w-[180px]"),children:[s?((D=s.options)==null?void 0:D.map(t=>{var x;let b=((x=r==null?void 0:r.find(({key:j})=>j===u))==null?void 0:x.value)===t.value;return n(F,{filter:s,option:t,right:b?n(V,{className:"h-4 w-4"}):t.right,onSelect:()=>L(t.value)},t.value)}))??n(c.Loading,{children:n("div",{className:"-m-1 flex items-center justify-center",style:P.current,children:n(A,{})})}):e.map(t=>m(W,{children:[n(F,{filter:t,onSelect:()=>$(t.key)},t.key),t.separatorAfter&&n(c.Separator,{className:"-mx-1 my-1 border-b border-gray-200"})]})),(!s||s.options)&&n(Y,{search:g,askAI:i})]})},u)]})}),children:m("button",{type:"button",className:w("group flex h-10 cursor-pointer appearance-none items-center gap-x-2 truncate rounded-md border px-3 outline-none transition-all sm:text-sm","border-gray-200 bg-white text-gray-900 placeholder-gray-400","focus-visible:border-gray-500 data-[state=open]:border-gray-500 data-[state=open]:ring-4 data-[state=open]:ring-gray-200",y),children:[n(Z,{className:"h-4 w-4 shrink-0"}),n("span",{className:"flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-left text-gray-900",children:p??"Filter"}),n("div",{className:"ml-1",children:r!=null&&r.length?n("div",{className:"flex h-4 w-4 items-center justify-center rounded-full bg-black text-[0.625rem] text-white",children:r.length}):n(Q,{className:"h-4 w-4 flex-shrink-0 text-gray-400 transition-transform duration-75 group-data-[state=open]:rotate-180"})})]})})}var U=e=>{let o=B(a=>a.filtered.count===0);return n(c.Input,{...e,size:1,className:"w-full rounded-t-lg border-0 border-b border-gray-200 px-4 py-3 text-sm ring-0 placeholder:text-gray-400 focus:border-gray-200 focus:ring-0",onKeyDown:a=>{var l,r;(l=e.onKeyDown)==null||l.call(e,a),a.key==="Enter"&&o&&((r=e.emptySubmit)==null||r.call(e,a))}})},X=q(({children:e},o)=>{let a=E(null);J(o,()=>a.current);let[l,r]=k(1),i=v(()=>{if(!a.current)return;let{scrollTop:y,scrollHeight:h,clientHeight:d}=a.current;r(h===d?1:y/(h-d))},[]),p=H(a);return T(i,[p]),m(W,{children:[n("div",{className:"scrollbar-hide max-h-[50vh] w-screen overflow-y-scroll sm:w-auto",ref:a,onScroll:i,children:e}),n("div",{className:"pointer-events-none absolute bottom-0 left-0 hidden h-16 w-full bg-gradient-to-t from-white sm:block",style:{opacity:1-Math.pow(l,2)}})]})});function F({filter:e,option:o,right:a,onSelect:l}){var p,y;let r=o?o.icon??((p=e.getOptionIcon)==null?void 0:p.call(e,o.value,{key:e.key,option:o}))??e.icon:e.icon,i=o?o.label??((y=e.getOptionLabel)==null?void 0:y.call(e,o.value,{key:e.key,option:o})):e.label;return m(c.Item,{className:w("flex cursor-pointer items-center gap-3 whitespace-nowrap rounded-md px-3 py-2 text-left text-sm","data-[selected=true]:bg-gray-100"),onSelect:l,value:i,children:[n("span",{className:"shrink-0 text-gray-600",children:_(r)?r:n(r,{className:"h-4 w-4"})}),R(i,48),n("div",{className:"ml-1 flex shrink-0 grow justify-end text-gray-500",children:a})]})}var Y=({search:e,askAI:o})=>o&&e?m(c.Empty,{className:"flex min-w-[180px] items-center space-x-2 rounded-md bg-gray-100 px-3 py-2",children:[n(M,{className:"h-4 w-4"}),m("p",{className:"text-center text-sm text-gray-600",children:["Ask AI ",m("span",{className:"text-black",children:['"',e,'"']})]})]}):n(c.Empty,{className:"p-2 text-center text-sm text-gray-400",children:"No matches"}),_=e=>G(e);export{ce as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{c as g}from"./chunk-E64PMPSS.mjs";import{b as u}from"./chunk-2SIZB6Z2.mjs";import{d as c,g as h,i as t}from"./chunk-JP57AFGB.mjs";import{ChevronDown as v,Menu as w,X as x}from"lucide-react";import r from"next/link";import{useParams as b}from"next/navigation";import{useEffect as z,useState as y}from"react";import C from"swr";import{Fragment as $,jsx as e,jsxs as i}from"react/jsx-runtime";function j({theme:d="light"}){let{domain:m="dub.co"}=b(),[a,s]=y(!1);z(()=>{a?document.body.style.overflow="hidden":document.body.style.overflow="auto"},[a]);let{data:l}=C(m==="dub.co"&&"/api/auth/session",h,{dedupingInterval:6e4});return i("div",{className:t(d==="dark"&&"dark"),children:[e("button",{onClick:()=>s(!a),className:t("fixed right-3 top-3 z-40 rounded-full p-2 transition-colors duration-200 hover:bg-gray-200 focus:outline-none active:bg-gray-300 lg:hidden dark:hover:bg-white/20 dark:active:bg-white/30",a&&"hover:bg-gray-100 active:bg-gray-200"),children:a?e(x,{className:"h-5 w-5 text-gray-600 dark:text-white/70"}):e(w,{className:"h-5 w-5 text-gray-600 dark:text-white/70"})}),e("nav",{className:t("fixed inset-0 z-20 hidden w-full bg-white px-5 py-16 lg:hidden dark:bg-black dark:text-white/70",a&&"block"),children:i("ul",{className:"grid divide-y divide-gray-200 dark:divide-white/[0.15]",children:[g.map(({name:o,href:f,childItems:p},n)=>e(L,{name:o,href:f,childItems:p,setOpen:s},n)),l&&Object.keys(l).length>0?e("li",{className:"py-3",children:e(r,{href:c,className:"flex w-full font-semibold capitalize",children:"Dashboard"})}):i($,{children:[e("li",{className:"py-3",children:e(r,{href:`${c}/login`,className:"flex w-full font-semibold capitalize",children:"Log in"})}),e("li",{className:"py-3",children:e(r,{href:`${c}/register`,className:"flex w-full font-semibold capitalize",children:"Sign Up"})})]})]})})]})}var L=({name:d,href:m,childItems:a,setOpen:s})=>{let{domain:l="dub.co"}=b(),[o,f]=y(!1);return a?e("li",{className:"py-3",children:i(u,{height:!0,children:[i("button",{className:"flex w-full justify-between",onClick:()=>f(!o),children:[e("p",{className:"font-semibold",children:d}),e(v,{className:t("h-5 w-5 text-gray-500 transition-all dark:text-white/50",o&&"rotate-180")})]}),o&&e("div",{className:"grid gap-4 overflow-hidden py-4",children:a.map(({title:p,href:n,icon:N,iconClassName:k})=>i(r,{href:l==="dub.co"?`/${n}`:`https://dub.co/${n}`,onClick:()=>s(!1),className:"flex w-full space-x-2",children:[e(N,{className:t("h-5 w-5 text-gray-500 dark:text-white/80",k)}),e("span",{className:"text-sm",children:p})]},n))})]})}):e("li",{className:"py-3",children:e(r,{href:l==="dub.co"?`/${m}`:`https://dub.co/${m}`,onClick:()=>s(!1),className:"flex w-full font-semibold capitalize",children:d})})};export{j as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{jsx as o,jsxs as n}from"react/jsx-runtime";function t(r){return o("svg",{viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg",...r,children:n("g",{fill:"currentColor",children:[o("path",{d:"M6.956,9.044L13.534,2.466c.621-.621,1.629-.621,2.25,0h0c.621,.621,.621,1.629,0,2.25l-6.578,6.578",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"}),o("path",{d:"M1.75,14.706c2.703,.812,4.896,.88,6.689-.955,1.081-1.085,1.081-2.845,0-3.931s-2.826-1.102-3.916,0c-1.773,1.792-.225,3.494-2.773,4.886Z",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"})]})})}export{t as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{b as f}from"./chunk-KA4CUK6U.mjs";import{i as c}from"./chunk-TORFST2S.mjs";import{Command as a}from"cmdk";import{Lock as x}from"lucide-react";import{jsx as s,jsxs as R}from"react/jsx-runtime";var w=({presets:g,onSelect:p,currentValue:r})=>{let P=e=>"dateRange"in e,D=e=>"date"in e,o=(e,t)=>e.getDate()===t.getDate()&&e.getMonth()===t.getMonth()&&e.getFullYear()===t.getFullYear(),b=(e,t)=>{let n=e.from,l=t.from,i=!1;n&&l&&o(n,l)&&(i=!0);let m=e.to,d=t.to,u=!1;return m&&d&&o(m,d)&&(u=!0),i&&u},y=e=>{if(P(e)){let t=r;return t&&b(t,e.dateRange)}else if(D(e)){let t=r;return t&&o(t,e.date)}return!1};return s(a,{className:"w-full rounded ring-gray-200 ring-offset-2 focus:outline-none",tabIndex:0,autoFocus:!0,loop:!0,children:s(a.List,{className:"[&>*]:flex [&>*]:w-full [&>*]:items-start [&>*]:gap-x-2 [&>*]:gap-y-0.5 [&>*]:sm:flex-col",children:g.map((e,t)=>R(a.Item,{disabled:e.requiresUpgrade,onSelect:()=>p(e),title:e.label,value:e.id,className:c("relative flex cursor-pointer items-center justify-between overflow-hidden text-ellipsis whitespace-nowrap rounded border border-gray-200","px-2.5 py-1.5 text-left text-base text-gray-700 shadow-sm outline-none sm:w-full sm:border-none sm:py-2 sm:text-sm sm:shadow-none","disabled:pointer-events-none disabled:opacity-50","sm:data-[selected=true]:bg-gray-100",y(e)&&"font-semibold text-gray-800"),children:[s("span",{children:e.label}),e.requiresUpgrade&&s(x,{className:"h-3.5 w-3.5","aria-hidden":"true"}),e.requiresUpgrade&&e.tooltipContent&&s(f,{side:"bottom",content:e.tooltipContent,children:s("div",{className:"absolute inset-0 cursor-not-allowed"})})]},t))})})};w.displayName="DatePicker.Presets";export{w as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as s}from"./chunk-MAZ6YG5Y.mjs";import{a as n,c as l,d as f}from"./chunk-2YQLIQQN.mjs";import{c as d,d as p}from"./chunk-DMADXWHH.mjs";import{i as r}from"./chunk-3VTQK4AG.mjs";import{jsx as e,jsxs as m}from"react/jsx-runtime";function b({domain:c}){return m("div",{className:"grid w-[32rem] grid-cols-[5fr_3fr]",children:[m("div",{className:"p-5",children:[e("p",{className:r(n,"mb-2"),children:"Profiles"}),e("div",{className:"-mx-2 flex flex-col gap-0.5",children:d.map(({icon:i,title:t,description:a,href:o})=>e(l,{href:s(o,c),icon:e(f,{icon:i}),title:t,description:a}))})]}),m("div",{className:"border-l border-gray-200 p-5 dark:border-white/20",children:[e("p",{className:r(n,"mb-2"),children:"SDKs"}),e("div",{className:"-mx-2 flex flex-col gap-0.5",children:p.map(({icon:i,iconClassName:t,name:a,href:o})=>e(l,{href:s(o,c),icon:e(i,{className:r("h-5 w-5 shrink-0 text-gray-600 transition-colors dark:text-white/60",t)}),title:a},o))})]})]})}export{b as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as g,b as f,f as m}from"./chunk-JG7HARGV.mjs";import{a as c,c as p,d as x}from"./chunk-D3AZYWPA.mjs";import{a as v}from"./chunk-FXXDWSKY.mjs";import{i as s,l as d}from"./chunk-JP57AFGB.mjs";import k from"@vercel/analytics";import{ChevronRight as N}from"lucide-react";import h from"next/link";import{jsx as r,jsxs as o}from"react/jsx-runtime";function P({domain:e}){return o("div",{className:"grid w-[40rem] grid-cols-2",children:[o("div",{className:"p-5",children:[r("p",{className:s(c,"mb-2"),children:"Features"}),r("div",{className:"-mx-2 -mb-2 grid grid-cols-1 gap-0.5",children:g.map(({icon:a,title:t,description:n,href:i})=>r(p,{href:m(i,e),...e!=="dub.co"&&{onClick:()=>{k.track("Referred from custom domain",{domain:e,medium:`navbar item (${i})`})}},icon:r(x,{icon:a}),title:t,description:n},i))})]}),o("div",{className:"border-l border-gray-200 p-5 dark:border-white/20",children:[o(h,{href:m("/blog/category/customers",e),className:s(c,"group mb-2 flex items-center transition-colors hover:text-black dark:hover:text-white"),children:["Customer Stories",r(N,{className:"ml-0.5 h-2.5 w-2.5 transition-transform group-hover:translate-x-px"})]}),r("div",{className:"grid grid-cols-1",children:f.map(({icon:a,iconClassName:t,title:n,description:i,href:l})=>r(p,{href:m(l,e),className:"-mx-2",icon:r(a,{className:s("h-7 w-7 shrink-0 text-gray-600 transition-colors dark:text-white/60",t)}),title:n,description:i,descriptionLines:2},l))}),r("p",{className:s(c,"my-4"),children:"Compare"}),r("div",{className:"flex flex-col gap-1.5",children:d.map(({name:a,slug:t})=>o(h,{href:m(`/compare/${t}`,e),className:"group flex gap-1 text-gray-500 transition-colors hover:text-gray-700 dark:text-white/60 dark:hover:text-white/80",children:[o("p",{className:"text-sm font-medium",children:["Dub vs. ",a]})," ",r(v,{className:"h-3 w-3"})]},t))})]})]})}export{P as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{jsx as o,jsxs as e}from"react/jsx-runtime";function t(r){return o("svg",{height:"18",width:"18",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg",...r,children:e("g",{fill:"currentColor",children:[o("path",{d:"M15.747,2.076l-2.847,.177-5.891,5.891c-.324-.084-.658-.144-1.009-.144-2.209,0-4,1.791-4,4s1.791,4,4,4,4-1.791,4-4c0-.362-.064-.707-.154-1.041l1.904-1.959v-2.25h2.25l1.753-1.645-.006-3.029Z",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"}),o("circle",{cx:"5.5",cy:"12.5",fill:"currentColor",r:"1",stroke:"none"})]})})}export{t as a};
|