@dub/ui 0.0.47 → 0.0.49
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/avatar.mjs +1 -1
- package/dist/background.mjs +1 -1
- package/dist/badge.d.ts +1 -1
- package/dist/badge.mjs +1 -1
- package/dist/blur-image.d.ts +6 -0
- package/dist/blur-image.mjs +2 -0
- package/dist/button.d.ts +2 -2
- package/dist/button.mjs +1 -1
- package/dist/checkbox.mjs +1 -1
- package/dist/chunk-224SHC3J.mjs +2 -0
- package/dist/chunk-22YLPLRH.mjs +2 -0
- package/dist/chunk-233KTWN5.mjs +2 -0
- package/dist/chunk-25UNJGST.mjs +2 -0
- package/dist/chunk-2C3EI2AE.mjs +2 -0
- package/dist/chunk-2CVU6NWY.mjs +2 -0
- package/dist/chunk-2KULYQGK.mjs +2 -0
- package/dist/chunk-2MMY7UEP.mjs +2 -0
- package/dist/chunk-2MZXRK27.mjs +2 -0
- package/dist/chunk-2SQUU2JC.mjs +2 -0
- package/dist/chunk-2TIMZ56O.mjs +2 -0
- package/dist/chunk-2U67LZ3G.mjs +2 -0
- package/dist/chunk-2XJ4RNKD.mjs +2 -0
- package/dist/chunk-32ZTC5YK.mjs +2 -0
- package/dist/chunk-34M6EPZS.mjs +2 -0
- package/dist/chunk-34VCRD7R.mjs +2 -0
- package/dist/chunk-35BWJ5C4.mjs +2 -0
- package/dist/chunk-36WAMUSA.mjs +2 -0
- package/dist/chunk-3BMAJDIQ.mjs +2 -0
- package/dist/chunk-3D6LN5S3.mjs +2 -0
- package/dist/chunk-3EIASELW.mjs +2 -0
- package/dist/chunk-3GTQGQKT.mjs +2 -0
- package/dist/chunk-3INB3FW4.mjs +2 -0
- package/dist/chunk-3MNVZNRB.mjs +2 -0
- package/dist/chunk-3MYEELGW.mjs +2 -0
- package/dist/chunk-3N3MHQJO.mjs +2 -0
- package/dist/chunk-3P7PCUGH.mjs +2 -0
- package/dist/chunk-3R6ZEDNO.mjs +2 -0
- package/dist/chunk-3RYKLR2H.mjs +2 -0
- package/dist/chunk-3S63RUZR.mjs +2 -0
- package/dist/chunk-3SANPOMJ.mjs +2 -0
- package/dist/chunk-3WZ26A4R.mjs +2 -0
- package/dist/chunk-3XCWTJXT.mjs +2 -0
- package/dist/chunk-44DIFY3Z.mjs +2 -0
- package/dist/chunk-4S7O6FRQ.mjs +2 -0
- package/dist/chunk-4VCI2F4C.mjs +2 -0
- package/dist/chunk-4VM6PWQB.mjs +2 -0
- package/dist/chunk-54HR33Y7.mjs +2 -0
- package/dist/chunk-57U5I7DS.mjs +2 -0
- package/dist/chunk-5EFAN45A.mjs +2 -0
- package/dist/chunk-5MBM36TS.mjs +2 -0
- package/dist/chunk-5MJ2VTGU.mjs +2 -0
- package/dist/chunk-5NNIELBC.mjs +2 -0
- package/dist/chunk-5RLHKDBX.mjs +2 -0
- package/dist/chunk-5S5YRWQA.mjs +2 -0
- package/dist/chunk-5TVV5GNZ.mjs +2 -0
- package/dist/chunk-5UKS5L4E.mjs +2 -0
- package/dist/chunk-5Y4F2ZDI.mjs +2 -0
- package/dist/chunk-62CQF3ZT.mjs +2 -0
- package/dist/chunk-6BJSCJVB.mjs +2 -0
- package/dist/chunk-6LBA6FC5.mjs +2 -0
- package/dist/chunk-6MWXNM2W.mjs +2 -0
- package/dist/chunk-6PHDPUJR.mjs +2 -0
- package/dist/chunk-6PVSMLW2.mjs +2 -0
- package/dist/chunk-6QMC4G56.mjs +2 -0
- package/dist/chunk-72E6GER5.mjs +2 -0
- package/dist/chunk-72EA23HX.mjs +2 -0
- package/dist/chunk-73KHHDBX.mjs +2 -0
- package/dist/chunk-75VRO7QR.mjs +2 -0
- package/dist/chunk-775G67W7.mjs +2 -0
- package/dist/chunk-7BA4PILG.mjs +2 -0
- package/dist/chunk-7F7CTHZR.mjs +2 -0
- package/dist/chunk-7IA42JDR.mjs +2 -0
- package/dist/chunk-7IRDKLR4.mjs +2 -0
- package/dist/chunk-7OCNL7MU.mjs +2 -0
- package/dist/chunk-7P3WECVM.mjs +2 -0
- package/dist/chunk-7PZZTFDI.mjs +2 -0
- package/dist/chunk-7QGW5WSQ.mjs +2 -0
- package/dist/chunk-7RHACSYZ.mjs +2 -0
- package/dist/chunk-7RNBKRL7.mjs +2 -0
- package/dist/chunk-7UJHQ55S.mjs +2 -0
- package/dist/chunk-7XHIFNHP.mjs +2 -0
- package/dist/chunk-A25RBGOJ.mjs +2 -0
- package/dist/chunk-A2YQG7C3.mjs +2 -0
- package/dist/chunk-A3YNKIDO.mjs +2 -0
- package/dist/chunk-A4M62ZMS.mjs +2 -0
- package/dist/chunk-A7MUVXDY.mjs +2 -0
- package/dist/chunk-AFONQPS6.mjs +2 -0
- package/dist/chunk-AFOZBRIE.mjs +2 -0
- package/dist/chunk-AGUQHF5C.mjs +2 -0
- package/dist/chunk-AIDNDZYW.mjs +2 -0
- package/dist/chunk-AJKJGBKI.mjs +2 -0
- package/dist/chunk-AKL3TYDT.mjs +2 -0
- package/dist/chunk-ALEG5DBQ.mjs +2 -0
- package/dist/chunk-AMCITGNJ.mjs +2 -0
- package/dist/chunk-AMNZQAZX.mjs +2 -0
- package/dist/chunk-AMROGKCT.mjs +2 -0
- package/dist/chunk-AQPZ6WUL.mjs +2 -0
- package/dist/chunk-ARRLZU6R.mjs +2 -0
- package/dist/chunk-ATH45VDQ.mjs +2 -0
- package/dist/chunk-B2JHRFTS.mjs +2 -0
- package/dist/chunk-B4USKWBW.mjs +2 -0
- package/dist/chunk-B732HAPF.mjs +2 -0
- package/dist/chunk-BA7IJY2G.mjs +2 -0
- package/dist/chunk-BG3OKCJ7.mjs +2 -0
- package/dist/chunk-BIQQK644.mjs +2 -0
- package/dist/chunk-BJ44JZF5.mjs +2 -0
- package/dist/chunk-BJH622GN.mjs +2 -0
- package/dist/chunk-BNMAOMNP.mjs +2 -0
- package/dist/chunk-BW4HBEGO.mjs +2 -0
- package/dist/chunk-C5KAFTZ3.mjs +2 -0
- package/dist/chunk-CASW56TW.mjs +2 -0
- package/dist/chunk-CD7KMIGU.mjs +2 -0
- package/dist/chunk-CJSF5JKB.mjs +2 -0
- package/dist/chunk-CLJNN6LY.mjs +3 -0
- package/dist/chunk-CMGC4ZLV.mjs +2 -0
- package/dist/chunk-CN2LBNLO.mjs +2 -0
- package/dist/chunk-CQASPV6D.mjs +2 -0
- package/dist/chunk-CQO4PUDE.mjs +2 -0
- package/dist/chunk-CSUQCPF2.mjs +2 -0
- package/dist/chunk-CVDSPNQS.mjs +2 -0
- package/dist/chunk-CWGTYGDX.mjs +2 -0
- package/dist/chunk-D2KVSXPQ.mjs +2 -0
- package/dist/chunk-D5JEIHHZ.mjs +2 -0
- package/dist/chunk-D5SYZGBZ.mjs +2 -0
- package/dist/chunk-DBWJABJM.mjs +2 -0
- package/dist/chunk-DCUKGXD3.mjs +2 -0
- package/dist/chunk-DE6QALY5.mjs +2 -0
- package/dist/chunk-DECBVMLY.mjs +2 -0
- package/dist/chunk-DFGP6SNR.mjs +2 -0
- package/dist/chunk-DH5MZTCP.mjs +2 -0
- package/dist/chunk-DNW3EED7.mjs +2 -0
- package/dist/chunk-DOL5OGDP.mjs +2 -0
- package/dist/chunk-DOVYO5J7.mjs +2 -0
- package/dist/chunk-DXN64R3I.mjs +2 -0
- package/dist/chunk-DYDHBPIJ.mjs +2 -0
- package/dist/chunk-EG66X7WY.mjs +2 -0
- package/dist/chunk-EKFSJ33A.mjs +2 -0
- package/dist/chunk-ENBAJKTB.mjs +2 -0
- package/dist/chunk-EOQUFY6S.mjs +2 -0
- package/dist/chunk-EPG5O752.mjs +2 -0
- package/dist/chunk-EPN3RSS5.mjs +2 -0
- package/dist/chunk-EQQEXT2L.mjs +2 -0
- package/dist/chunk-EQWFZXMI.mjs +2 -0
- package/dist/chunk-ERFUN7GL.mjs +2 -0
- package/dist/chunk-EYLLNGWB.mjs +2 -0
- package/dist/chunk-F2A3GVKY.mjs +2 -0
- package/dist/chunk-FIE3HRMW.mjs +2 -0
- package/dist/chunk-FMBU2VLG.mjs +2 -0
- package/dist/chunk-FZNNPIKD.mjs +2 -0
- package/dist/chunk-G2CECZIR.mjs +2 -0
- package/dist/chunk-G2HRCBNX.mjs +2 -0
- package/dist/chunk-G5RVZUAJ.mjs +2 -0
- package/dist/chunk-G6YR6FU7.mjs +2 -0
- package/dist/chunk-GCCNHU3Z.mjs +2 -0
- package/dist/chunk-GDT7ZODA.mjs +2 -0
- package/dist/chunk-GEQPIAGW.mjs +2 -0
- package/dist/chunk-GFVQVHJX.mjs +2 -0
- package/dist/chunk-GIEF7U5E.mjs +2 -0
- package/dist/chunk-GM3UACTG.mjs +2 -0
- package/dist/chunk-GMJO6PLC.mjs +2 -0
- package/dist/chunk-GPB7K4RS.mjs +2 -0
- package/dist/chunk-GQWTWJNH.mjs +2 -0
- package/dist/chunk-GTMXLZMW.mjs +2 -0
- package/dist/chunk-GVN4TGXD.mjs +2 -0
- package/dist/chunk-GXMZSBQV.mjs +2 -0
- package/dist/chunk-H2NCAWI3.mjs +2 -0
- package/dist/chunk-H5MM5WLQ.mjs +2 -0
- package/dist/chunk-HA47VK7T.mjs +2 -0
- package/dist/chunk-HAP7G4FA.mjs +2 -0
- package/dist/chunk-HE3JFFYP.mjs +2 -0
- package/dist/chunk-HFMR6JRU.mjs +2 -0
- package/dist/chunk-HJZQ5DDP.mjs +2 -0
- package/dist/chunk-HLVPKHVZ.mjs +2 -0
- package/dist/chunk-HTMY7TR4.mjs +2 -0
- package/dist/chunk-HWK7GFQO.mjs +2 -0
- package/dist/chunk-I255GCBU.mjs +2 -0
- package/dist/chunk-I4E437WM.mjs +2 -0
- package/dist/chunk-I6YPM7IO.mjs +2 -0
- package/dist/chunk-I7RRMDG2.mjs +2 -0
- package/dist/chunk-IA7AQQGJ.mjs +2 -0
- package/dist/chunk-IL32B3RZ.mjs +2 -0
- package/dist/chunk-IMTRC5ZF.mjs +2 -0
- package/dist/chunk-IP2X5PFJ.mjs +2 -0
- package/dist/chunk-IU7HY7MN.mjs +2 -0
- package/dist/chunk-IXWR5GAH.mjs +2 -0
- package/dist/chunk-IYS4S73L.mjs +2 -0
- package/dist/chunk-J2SBXZHQ.mjs +2 -0
- package/dist/chunk-J2TG2JDS.mjs +2 -0
- package/dist/chunk-J3MYRI2M.mjs +2 -0
- package/dist/chunk-J7IIKGHP.mjs +2 -0
- package/dist/chunk-J7LN5H5P.mjs +2 -0
- package/dist/chunk-J7T2QKO4.mjs +2 -0
- package/dist/chunk-JC2TXBKK.mjs +2 -0
- package/dist/chunk-JCLOELUH.mjs +2 -0
- package/dist/chunk-JLKFTYDD.mjs +2 -0
- package/dist/chunk-JVDYC42E.mjs +2 -0
- package/dist/chunk-JWWJERTS.mjs +2 -0
- package/dist/chunk-JXBUA62Q.mjs +2 -0
- package/dist/chunk-K3EM6OJH.mjs +2 -0
- package/dist/chunk-KHEOXSFF.mjs +2 -0
- package/dist/chunk-KHOXZPZX.mjs +2 -0
- package/dist/chunk-KJTVSAUQ.mjs +2 -0
- package/dist/chunk-KRH3QQAE.mjs +2 -0
- package/dist/chunk-KTTXNMKM.mjs +2 -0
- package/dist/chunk-KU4OQJM4.mjs +2 -0
- package/dist/chunk-KUTKWXV3.mjs +2 -0
- package/dist/chunk-KWLD4ZNV.mjs +2 -0
- package/dist/chunk-L26PITXF.mjs +2 -0
- package/dist/chunk-L2U3TR7V.mjs +2 -0
- package/dist/chunk-L6BPNZ3X.mjs +2 -0
- package/dist/chunk-LBMZOP3M.mjs +2 -0
- package/dist/chunk-LCFJ3DYH.mjs +2 -0
- package/dist/chunk-LCXXPL3V.mjs +2 -0
- package/dist/chunk-LDSROKCO.mjs +2 -0
- package/dist/chunk-LEB5YIXB.mjs +2 -0
- package/dist/chunk-LL36TYBL.mjs +2 -0
- package/dist/chunk-LNXUR52J.mjs +2 -0
- package/dist/chunk-LO7VOXZ4.mjs +2 -0
- package/dist/chunk-LRMU47PH.mjs +2 -0
- package/dist/chunk-LV5IDCA3.mjs +2 -0
- package/dist/chunk-LVKRKVKV.mjs +2 -0
- package/dist/chunk-LXZZ2JA4.mjs +2 -0
- package/dist/chunk-M3NOZMIF.mjs +2 -0
- package/dist/chunk-MGLRU5CB.mjs +2 -0
- package/dist/chunk-MJ3XKHS7.mjs +2 -0
- package/dist/chunk-MJEXCPK2.mjs +2 -0
- package/dist/chunk-MJN7LUJB.mjs +2 -0
- package/dist/chunk-MLBU67KY.mjs +2 -0
- package/dist/chunk-MLLDUDWK.mjs +2 -0
- package/dist/chunk-MM4F3YID.mjs +2 -0
- package/dist/chunk-MMEUMF5C.mjs +2 -0
- package/dist/chunk-MZO2IB2M.mjs +2 -0
- package/dist/chunk-N6MNPNRK.mjs +2 -0
- package/dist/chunk-NBR3GORO.mjs +2 -0
- package/dist/chunk-NND2G4FX.mjs +2 -0
- package/dist/chunk-NR3EPN3Q.mjs +2 -0
- package/dist/chunk-NUDDI4OV.mjs +2 -0
- package/dist/chunk-NVXZ3FEW.mjs +2 -0
- package/dist/chunk-NYFNH4UE.mjs +2 -0
- package/dist/chunk-NZLIVJKJ.mjs +2 -0
- package/dist/chunk-O23EHKWQ.mjs +2 -0
- package/dist/chunk-OA4RYNES.mjs +2 -0
- package/dist/chunk-ODDMIV5P.mjs +2 -0
- package/dist/chunk-OIMQXISC.mjs +2 -0
- package/dist/chunk-OPZEOYD3.mjs +2 -0
- package/dist/chunk-OQR3VY6Z.mjs +2 -0
- package/dist/chunk-OUSBZ5TZ.mjs +2 -0
- package/dist/chunk-OWIGLX27.mjs +2 -0
- package/dist/chunk-OZCRMEIJ.mjs +2 -0
- package/dist/chunk-P3D4SL7F.mjs +2 -0
- package/dist/chunk-P7DTAVDI.mjs +2 -0
- package/dist/chunk-P7FKTSMI.mjs +2 -0
- package/dist/chunk-PCZGNPJ6.mjs +2 -0
- package/dist/chunk-PHIIXCXK.mjs +2 -0
- package/dist/chunk-PIFUJ555.mjs +2 -0
- package/dist/chunk-PNVLYU5W.mjs +2 -0
- package/dist/chunk-PP6JNOKI.mjs +2 -0
- package/dist/chunk-Q5UJYPDZ.mjs +2 -0
- package/dist/chunk-Q7B2OIJ4.mjs +2 -0
- package/dist/chunk-QEYTOWOU.mjs +2 -0
- package/dist/chunk-QHOQ6I6F.mjs +2 -0
- package/dist/chunk-QIMCD7FN.mjs +2 -0
- package/dist/chunk-QOXGWKS5.mjs +2 -0
- package/dist/chunk-QQ65LXCR.mjs +2 -0
- package/dist/chunk-QS6NTDA7.mjs +2 -0
- package/dist/chunk-QTUV7653.mjs +2 -0
- package/dist/chunk-QVEXKY6D.mjs +2 -0
- package/dist/chunk-QXELNHSQ.mjs +2 -0
- package/dist/chunk-QZ4P4LK6.mjs +2 -0
- package/dist/chunk-R4RWNOZZ.mjs +2 -0
- package/dist/chunk-R54ZOFCL.mjs +2 -0
- package/dist/chunk-R5EWFXZO.mjs +2 -0
- package/dist/chunk-R6B47RBR.mjs +2 -0
- package/dist/chunk-RB5P26XP.mjs +2 -0
- package/dist/chunk-RDD7MTCK.mjs +2 -0
- package/dist/chunk-RETGZ2QO.mjs +2 -0
- package/dist/chunk-RI6I257N.mjs +2 -0
- package/dist/chunk-RLMZGMBL.mjs +2 -0
- package/dist/chunk-S2PRHCD7.mjs +2 -0
- package/dist/chunk-S2VUV5MF.mjs +2 -0
- package/dist/chunk-S3IQAJUR.mjs +2 -0
- package/dist/chunk-S4TCVIUE.mjs +2 -0
- package/dist/chunk-S55GTXL6.mjs +2 -0
- package/dist/chunk-SK7XJ5YO.mjs +2 -0
- package/dist/chunk-SKC5JSK6.mjs +2 -0
- package/dist/chunk-SOI5IZGA.mjs +2 -0
- package/dist/chunk-SWHMD642.mjs +2 -0
- package/dist/chunk-SXG6HDDT.mjs +2 -0
- package/dist/chunk-T2MBQNUO.mjs +2 -0
- package/dist/chunk-T3XKVMHK.mjs +2 -0
- package/dist/chunk-T4DP7LRI.mjs +2 -0
- package/dist/chunk-TCISB4N7.mjs +2 -0
- package/dist/chunk-TITYJ7WN.mjs +2 -0
- package/dist/chunk-TKDY32WG.mjs +2 -0
- package/dist/chunk-TLUIMB3T.mjs +2 -0
- package/dist/chunk-TM2PZOZZ.mjs +2 -0
- package/dist/chunk-TR5D3NED.mjs +2 -0
- package/dist/chunk-TUZHI2ST.mjs +2 -0
- package/dist/chunk-TWOAKFYU.mjs +2 -0
- package/dist/chunk-U2JYVGSL.mjs +2 -0
- package/dist/chunk-U2VKN3NW.mjs +2 -0
- package/dist/chunk-UDFXNGVB.mjs +2 -0
- package/dist/chunk-UE6H2EFB.mjs +2 -0
- package/dist/chunk-UGH3VJA7.mjs +2 -0
- package/dist/chunk-UH5A6WI2.mjs +2 -0
- package/dist/chunk-UMSPBX47.mjs +2 -0
- package/dist/chunk-UQUPKK7H.mjs +2 -0
- package/dist/chunk-UUG44EJ6.mjs +2 -0
- package/dist/chunk-UUIZQAYB.mjs +2 -0
- package/dist/chunk-UXTIF4SE.mjs +2 -0
- package/dist/chunk-V3DDMG4T.mjs +2 -0
- package/dist/chunk-V5IMNCOW.mjs +2 -0
- package/dist/chunk-V6XZRAWP.mjs +2 -0
- package/dist/chunk-VAZ436R5.mjs +2 -0
- package/dist/chunk-VBQEM7UE.mjs +2 -0
- package/dist/chunk-VBQWRNCG.mjs +2 -0
- package/dist/chunk-VC3EGHRQ.mjs +2 -0
- package/dist/chunk-VC4DTOYN.mjs +2 -0
- package/dist/chunk-VELGIJIJ.mjs +2 -0
- package/dist/chunk-VFGWEEF6.mjs +2 -0
- package/dist/chunk-VL7TB2BS.mjs +2 -0
- package/dist/chunk-VMKCACIX.mjs +2 -0
- package/dist/chunk-VOSXOVFJ.mjs +2 -0
- package/dist/chunk-VOYI3FUP.mjs +2 -0
- package/dist/chunk-VT3WQUIZ.mjs +2 -0
- package/dist/chunk-VXX5PSJL.mjs +2 -0
- package/dist/chunk-W2BV2MJK.mjs +2 -0
- package/dist/chunk-W5NKN47F.mjs +2 -0
- package/dist/chunk-WAGQ66N7.mjs +2 -0
- package/dist/chunk-WCIYTZ4W.mjs +2 -0
- package/dist/chunk-WICZSZX3.mjs +2 -0
- package/dist/chunk-WIOVAFMS.mjs +2 -0
- package/dist/chunk-WK42L2U3.mjs +2 -0
- package/dist/chunk-WO5IEYSF.mjs +2 -0
- package/dist/chunk-WOFU7COZ.mjs +2 -0
- package/dist/chunk-WP4MKG7B.mjs +2 -0
- package/dist/chunk-WQSNYUDN.mjs +2 -0
- package/dist/chunk-WSAODKH7.mjs +2 -0
- package/dist/chunk-WSDRZRAF.mjs +2 -0
- package/dist/chunk-WUONXWR3.mjs +2 -0
- package/dist/chunk-X4TIH3XR.mjs +2 -0
- package/dist/chunk-XCVQVW54.mjs +2 -0
- package/dist/chunk-XQTV34US.mjs +2 -0
- package/dist/chunk-XRDP6V4G.mjs +2 -0
- package/dist/chunk-XTEKXVOW.mjs +2 -0
- package/dist/chunk-Y22T3LN4.mjs +2 -0
- package/dist/chunk-Y455LP2X.mjs +2 -0
- package/dist/chunk-Y55PTSR2.mjs +2 -0
- package/dist/chunk-YBXO3SQM.mjs +2 -0
- package/dist/chunk-YEY6M2RR.mjs +2 -0
- package/dist/chunk-YGDT3IYH.mjs +2 -0
- package/dist/chunk-YHFKCH7C.mjs +2 -0
- package/dist/chunk-YJGCLKYZ.mjs +2 -0
- package/dist/chunk-YMALJ2Z5.mjs +2 -0
- package/dist/chunk-YN2ZGKC2.mjs +2 -0
- package/dist/chunk-YTBJB5BL.mjs +2 -0
- package/dist/chunk-YXONUYOC.mjs +2 -0
- package/dist/chunk-YXPK3OOV.mjs +2 -0
- package/dist/chunk-YY2OR33B.mjs +2 -0
- package/dist/chunk-YY6JPJQ7.mjs +2 -0
- package/dist/chunk-ZDV2WLZP.mjs +2 -0
- package/dist/chunk-ZEQXSOR4.mjs +2 -0
- package/dist/chunk-ZJDIWK7J.mjs +2 -0
- package/dist/chunk-ZKFWQ5MW.mjs +2 -0
- package/dist/chunk-ZOCWWNZ2.mjs +2 -0
- package/dist/chunk-ZOPEDC5C.mjs +2 -0
- package/dist/chunk-ZUUNBO7D.mjs +2 -0
- package/dist/chunk-ZZDDTVTP.mjs +2 -0
- package/dist/copy-button.mjs +1 -1
- package/dist/footer.mjs +1 -1
- package/dist/form.d.ts +3 -3
- package/dist/form.mjs +1 -1
- package/dist/hooks/use-toast-with-undo.mjs +1 -1
- package/dist/icon-menu.mjs +1 -1
- package/dist/icons/copy.mjs +1 -1
- package/dist/icons/expanding-arrow.mjs +1 -1
- package/dist/icons/facebook.mjs +1 -1
- package/dist/icons/github.mjs +1 -1
- package/dist/icons/google.mjs +1 -1
- 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-dots.mjs +1 -1
- package/dist/icons/loading-spinner.mjs +1 -1
- package/dist/icons/logo.mjs +1 -1
- package/dist/icons/logotype.mjs +1 -1
- package/dist/icons/magic.mjs +1 -1
- package/dist/icons/photo.mjs +1 -1
- package/dist/icons/success.mjs +1 -1
- package/dist/icons/tick.mjs +1 -1
- package/dist/icons/twitter.mjs +1 -1
- package/dist/icons/unsplash.mjs +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +15 -2
- package/dist/index.mjs +1 -1
- package/dist/inline-snippet.mjs +1 -1
- package/dist/input-select.d.ts +17 -0
- package/dist/input-select.mjs +2 -0
- package/dist/label.mjs +1 -1
- package/dist/link-preview.mjs +1 -1
- package/dist/max-width-wrapper.mjs +1 -1
- package/dist/modal.mjs +1 -1
- package/dist/nav-mobile.mjs +1 -1
- package/dist/nav.mjs +1 -1
- package/dist/popover.mjs +1 -1
- package/dist/radio-group.mjs +1 -1
- package/dist/switch.d.ts +3 -2
- package/dist/switch.mjs +1 -1
- package/dist/tab-select.mjs +1 -1
- package/dist/tooltip.d.ts +4 -1
- package/dist/tooltip.mjs +1 -1
- package/package.json +5 -1
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{g as x}from"./chunk-HYYV36TO.mjs";import{a as b}from"./chunk-A75RGEGE.mjs";import{a as f}from"./chunk-72EA23HX.mjs";import{a as v}from"./chunk-Y55PTSR2.mjs";import{c as g,d as l,e as p,g as c}from"./chunk-MLLDUDWK.mjs";import*as i from"@radix-ui/react-navigation-menu";import s from"@vercel/analytics";import{ChevronDown as w}from"lucide-react";import r from"next/link";import{useParams as M,useSelectedLayoutSegment as P}from"next/navigation";import L from"swr";import{Fragment as R,jsx as e,jsxs as a}from"react/jsx-runtime";var C=[{name:"Customers",slug:"customers"},{name:"Pricing",slug:"pricing"},{name:"Enterprise",slug:"enterprise"},{name:"Blog",slug:"blog"},{name:"Changelog",slug:"changelog"}];function U(){let{domain:t="dub.co"}=M(),h=x(80),m=P(),d=m==="help",{data:u,isLoading:N}=L(t==="dub.co"&&"/api/auth/session",g,{dedupingInterval:6e4});return e("div",{className:c("sticky inset-x-0 top-0 z-30 w-full transition-all",{"border-b border-gray-200 bg-white/75 backdrop-blur-lg":h,"border-b border-gray-200 bg-white":m&&p.includes(m)}),children:e(f,{...d&&{className:"max-w-screen-lg"},children:a("div",{className:"flex h-14 items-center justify-between",children:[a("div",{className:"flex items-center space-x-4",children:[e(r,{href:t==="dub.co"?"/":"https://dub.co",...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:"logo"})}},children:e(v,{})}),d?a("div",{className:"flex items-center",children:[e("div",{className:"mr-3 h-5 border-l-2 border-gray-400"}),e(r,{href:"/help",className:"font-display text-lg font-bold text-gray-700",children:"Help Center"})]}):a(i.Root,{delayDuration:0,className:"relative hidden lg:block",children:[a(i.List,{className:"flex flex-row space-x-2 p-4",children:[a(i.Item,{children:[a(i.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",children:[e("p",{className:c("text-sm font-medium text-gray-500 transition-colors ease-out group-hover:text-black",{"text-black":m==="features"}),children:"Features"}),e(w,{className:"h-4 w-4 transition-all group-data-[state=open]:rotate-180"})]}),e(i.Content,{children:e("div",{className:"grid w-[32rem] grid-cols-2 gap-1 p-3",children:b.map(({slug:n,icon:o,title:k,shortTitle:y})=>a(r,{href:t==="dub.co"?`/${n}`:`https://dub.co/${n}`,...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:`navbar item (/${n})`})}},className:"rounded-lg p-3 transition-colors hover:bg-gray-100 active:bg-gray-200",children:[a("div",{className:"flex items-center space-x-2",children:[e(o,{className:"h-4 w-4 text-gray-700"}),e("p",{className:"text-sm font-medium text-gray-700",children:y})]}),e("p",{className:"mt-1 line-clamp-1 text-sm text-gray-500",children:k})]},n))})})]}),C.map(({name:n,slug:o})=>e(i.Item,{asChild:!0,children:e(r,{id:`nav-${o}`,href:t==="dub.co"?`/${o}`:`https://dub.co/${o}`,...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:`navbar item (${o})`})}},className:c("rounded-md px-3 py-2 text-sm font-medium text-gray-500 transition-colors ease-out hover:text-black",{"text-black":m===o}),children:n},o)},o))]}),e(i.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"})]})]}),e("div",{className:"hidden lg:block",children:u&&Object.keys(u).length>0?e(r,{href:l,className:"animate-fade-in rounded-full border border-black bg-black px-4 py-1.5 text-sm text-white transition-all hover:bg-white hover:text-black",children:"Dashboard"}):N?null:a(R,{children:[e(r,{href:`${l}/login`,...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,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",children:"Log in"}),e(r,{href:`${l}/register`,...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,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-white hover:text-black",children:"Sign Up"})]})})]})})})}export{C as a,U as b};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as i}from"./chunk-7RHACSYZ.mjs";import{i as d}from"./chunk-IMTRC5ZF.mjs";import{useMemo as b,useState as m}from"react";import{jsx as e,jsxs as a}from"react/jsx-runtime";function T({title:u,description:g,inputData:t,helpText:c,buttonText:f="Save Changes",disabledTooltip:s,handleSubmit:p}){let[r,y]=m(t.defaultValue),[l,n]=m(!1),x=b(()=>l||!r||r===t.defaultValue,[l,r,t.defaultValue]);return a("form",{onSubmit:async o=>{o.preventDefault(),n(!0),await p({[t.name]:r}),n(!1)},className:"rounded-lg border border-gray-200 bg-white",children:[a("div",{className:"relative flex flex-col space-y-6 p-5 sm:p-10",children:[a("div",{className:"flex flex-col space-y-3",children:[e("h2",{className:"text-xl font-medium",children:u}),e("p",{className:"text-sm text-gray-500",children:g})]}),typeof t.defaultValue=="string"?e("input",{...t,type:"text",required:!0,disabled:!!s,onChange:o=>y(o.target.value),className:d("w-full max-w-md rounded-md border border-gray-300 text-gray-900 placeholder-gray-300 focus:border-gray-500 focus:outline-none focus:ring-gray-500 sm:text-sm",{"cursor-not-allowed bg-gray-100 text-gray-400":s})}):e("div",{className:"h-[2.35rem] w-full max-w-md animate-pulse rounded-md bg-gray-200"})]}),a("div",{className:"flex items-center justify-between space-x-4 rounded-b-lg border-t border-gray-200 bg-gray-50 p-3 sm:px-10",children:[e("p",{className:"prose-sm prose-a:underline prose-a:underline-offset-4 hover:prose-a:text-gray-700 text-gray-500 transition-colors",dangerouslySetInnerHTML:{__html:c||""}}),e("div",{className:"shrink-0",children:e(i,{text:f,loading:l,disabled:x,disabledTooltip:s})})]})]})}export{T as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as b}from"./chunk-A75RGEGE.mjs";import{a as f}from"./chunk-T4DP7LRI.mjs";import{h as x}from"./chunk-R54ZOFCL.mjs";import{a as v}from"./chunk-3P7PCUGH.mjs";import{a as l,b as g,h as p,i as c}from"./chunk-GTMXLZMW.mjs";import*as i from"@radix-ui/react-navigation-menu";import s from"@vercel/analytics";import{ChevronDown as w}from"lucide-react";import r from"next/link";import{useParams as M,useSelectedLayoutSegment as P}from"next/navigation";import L from"swr";import{Fragment as R,jsx as e,jsxs as a}from"react/jsx-runtime";var C=[{name:"Customers",slug:"customers"},{name:"Pricing",slug:"pricing"},{name:"Enterprise",slug:"enterprise"},{name:"Blog",slug:"blog"},{name:"Changelog",slug:"changelog"}];function U(){let{domain:t="dub.co"}=M(),h=x(80),m=P(),d=m==="help",{data:u,isLoading:N}=L(t==="dub.co"&&"/api/auth/session",p,{dedupingInterval:6e4});return e("div",{className:c("sticky inset-x-0 top-0 z-30 w-full transition-all",{"border-b border-gray-200 bg-white/75 backdrop-blur-lg":h,"border-b border-gray-200 bg-white":m&&g.includes(m)}),children:e(f,{...d&&{className:"max-w-screen-lg"},children:a("div",{className:"flex h-14 items-center justify-between",children:[a("div",{className:"flex items-center space-x-4",children:[e(r,{href:t==="dub.co"?"/":"https://dub.co",...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:"logo"})}},children:e(v,{})}),d?a("div",{className:"flex items-center",children:[e("div",{className:"mr-3 h-5 border-l-2 border-gray-400"}),e(r,{href:"/help",className:"font-display text-lg font-bold text-gray-700",children:"Help Center"})]}):a(i.Root,{delayDuration:0,className:"relative hidden lg:block",children:[a(i.List,{className:"flex flex-row space-x-2 p-4",children:[a(i.Item,{children:[a(i.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",children:[e("p",{className:c("text-sm font-medium text-gray-500 transition-colors ease-out group-hover:text-black",{"text-black":m==="features"}),children:"Features"}),e(w,{className:"h-4 w-4 transition-all group-data-[state=open]:rotate-180"})]}),e(i.Content,{children:e("div",{className:"grid w-[32rem] grid-cols-2 gap-1 p-3",children:b.map(({slug:n,icon:o,title:k,shortTitle:y})=>a(r,{href:t==="dub.co"?`/${n}`:`https://dub.co/${n}`,...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:`navbar item (/${n})`})}},className:"rounded-lg p-3 transition-colors hover:bg-gray-100 active:bg-gray-200",children:[a("div",{className:"flex items-center space-x-2",children:[e(o,{className:"h-4 w-4 text-gray-700"}),e("p",{className:"text-sm font-medium text-gray-700",children:y})]}),e("p",{className:"mt-1 line-clamp-1 text-sm text-gray-500",children:k})]},n))})})]}),C.map(({name:n,slug:o})=>e(i.Item,{asChild:!0,children:e(r,{id:`nav-${o}`,href:t==="dub.co"?`/${o}`:`https://dub.co/${o}`,...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:`navbar item (${o})`})}},className:c("rounded-md px-3 py-2 text-sm font-medium text-gray-500 transition-colors ease-out hover:text-black",{"text-black":m===o}),children:n},o)},o))]}),e(i.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"})]})]}),e("div",{className:"hidden lg:block",children:u&&Object.keys(u).length>0?e(r,{href:l,className:"animate-fade-in rounded-full border border-black bg-black px-4 py-1.5 text-sm text-white transition-all hover:bg-white hover:text-black",children:"Dashboard"}):N?null:a(R,{children:[e(r,{href:`${l}/login`,...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,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",children:"Log in"}),e(r,{href:`${l}/register`,...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,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-white hover:text-black",children:"Sign Up"})]})})]})})})}export{C as a,U as b};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{i}from"./chunk-5RLHKDBX.mjs";import*as e from"@radix-ui/react-checkbox";import{Check as m}from"lucide-react";import*as t from"react";import{jsx as o}from"react/jsx-runtime";var s=t.forwardRef(({className:r,...c},a)=>o(e.Root,{ref:a,className:i("peer h-5 w-5 shrink-0 rounded-md border border-gray-200 focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-blue-500",r),...c,children:o(e.Indicator,{className:"flex items-center justify-center",children:o(m,{className:"h-3 w-3 text-white"})})}));s.displayName=e.Root.displayName;export{s as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as i}from"./chunk-TLUIMB3T.mjs";import{i as d}from"./chunk-IMTRC5ZF.mjs";import{useMemo as b,useState as m}from"react";import{jsx as e,jsxs as a}from"react/jsx-runtime";function T({title:u,description:g,inputData:t,helpText:c,buttonText:f="Save Changes",disabledTooltip:s,handleSubmit:p}){let[r,y]=m(t.defaultValue),[l,n]=m(!1),x=b(()=>l||!r||r===t.defaultValue,[l,r,t.defaultValue]);return a("form",{onSubmit:async o=>{o.preventDefault(),n(!0),await p({[t.name]:r}),n(!1)},className:"rounded-lg border border-gray-200 bg-white",children:[a("div",{className:"relative flex flex-col space-y-6 p-5 sm:p-10",children:[a("div",{className:"flex flex-col space-y-3",children:[e("h2",{className:"text-xl font-medium",children:u}),e("p",{className:"text-sm text-gray-500",children:g})]}),typeof t.defaultValue=="string"?e("input",{...t,type:"text",required:!0,disabled:!!s,onChange:o=>y(o.target.value),className:d("w-full max-w-md rounded-md border border-gray-300 text-gray-900 placeholder-gray-300 focus:border-gray-500 focus:outline-none focus:ring-gray-500 sm:text-sm",{"cursor-not-allowed bg-gray-100 text-gray-400":s})}):e("div",{className:"h-[2.35rem] w-full max-w-md animate-pulse rounded-md bg-gray-200"})]}),a("div",{className:"flex items-center justify-between space-x-4 rounded-b-lg border-t border-gray-200 bg-gray-50 p-3 sm:px-10",children:[e("p",{className:"prose-sm prose-a:underline prose-a:underline-offset-4 hover:prose-a:text-gray-700 text-gray-500 transition-colors",dangerouslySetInnerHTML:{__html:c||""}}),e("div",{className:"shrink-0",children:e(i,{text:f,loading:l,disabled:x,disabledTooltip:s})})]})]})}export{T as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{b}from"./chunk-7PZZTFDI.mjs";import{a as g}from"./chunk-OPZEOYD3.mjs";import{i}from"./chunk-5RLHKDBX.mjs";import{jsx as r,jsxs as l}from"react/jsx-runtime";function m({text:n,variant:e="primary",loading:a,icon:d,shortcut:o,disabledTooltip:s,...t}){return s?r(b,{content:s,children:l("div",{className:"flex h-10 w-full cursor-not-allowed items-center justify-center space-x-2 rounded-md border border-gray-200 bg-gray-100 px-4 text-sm text-gray-400 transition-all focus:outline-none",children:[r("p",{children:n}),o&&r("kbd",{className:"hidden rounded bg-zinc-200 px-2 py-0.5 text-xs font-light text-gray-400 md:inline-block",children:o})]})}):(console.log({className:t.className}),l("button",{type:t.onClick?"button":"submit",className:i("group flex h-10 w-full items-center justify-center space-x-2 rounded-md border px-4 text-sm transition-all",t.disabled||a?"cursor-not-allowed border-gray-200 bg-gray-100 text-gray-400":{"border-black bg-black text-white hover:bg-white hover:text-black":e==="primary","border-gray-200 bg-white text-gray-600 hover:bg-gray-100":e==="secondary","border-transparent text-gray-500 hover:bg-gray-100":e==="outline","border-blue-500 bg-blue-500 text-white hover:bg-white hover:text-blue-500":e==="success","border-red-500 bg-red-500 text-white hover:bg-white hover:text-red-500":e==="danger"},t.className),disabled:t.disabled||a,...t,children:[a?r(g,{}):d||null,n&&r("p",{children:n}),o&&r("kbd",{className:i("hidden rounded px-2 py-0.5 text-xs font-light md:inline-block",{"bg-gray-700 text-gray-400 group-hover:bg-gray-100 group-hover:text-gray-500":e==="primary","bg-gray-200 text-gray-400 group-hover:bg-gray-100 group-hover:text-gray-500":e==="secondary"}),children:o})]}))}export{m as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{i}from"./chunk-34VCRD7R.mjs";import*as e from"@radix-ui/react-checkbox";import{Check as m}from"lucide-react";import*as t from"react";import{jsx as o}from"react/jsx-runtime";var s=t.forwardRef(({className:r,...c},a)=>o(e.Root,{ref:a,className:i("peer h-5 w-5 shrink-0 rounded-md border border-gray-200 focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-blue-500",r),...c,children:o(e.Indicator,{className:"flex items-center justify-center",children:o(m,{className:"h-3 w-3 text-white"})})}));s.displayName=e.Root.displayName;export{s as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{b as s}from"./chunk-7PZZTFDI.mjs";import{a as g}from"./chunk-OPZEOYD3.mjs";import{i as a}from"./chunk-5RLHKDBX.mjs";import{jsx as t,jsxs as l}from"react/jsx-runtime";function x({text:n,variant:e="primary",loading:i,icon:d,shortcut:o,disabledTooltip:b,...r}){return b?t(s,{content:b,children:l("div",{className:"flex h-10 w-full cursor-not-allowed items-center justify-center space-x-2 rounded-md border border-gray-200 bg-gray-100 px-4 text-sm text-gray-400 transition-all focus:outline-none",children:[t("p",{children:n}),o&&t("kbd",{className:"hidden rounded bg-zinc-200 px-2 py-0.5 text-xs font-light text-gray-400 md:inline-block",children:o})]})}):l("button",{type:r.onClick?"button":"submit",className:a(`group flex h-10 w-full items-center justify-center space-x-2 rounded-md border px-4 text-sm transition-all ${r.className}`,r.disabled||i?"cursor-not-allowed border-gray-200 bg-gray-100 text-gray-400":{"border-black bg-black text-white hover:bg-white hover:text-black":e==="primary","border-gray-200 bg-white text-gray-600 hover:bg-gray-100":e==="secondary","border-transparent text-gray-500 hover:bg-gray-100":e==="outline","border-blue-500 bg-blue-500 text-white hover:bg-white hover:text-blue-500":e==="success","border-red-500 bg-red-500 text-white hover:bg-white hover:text-red-500":e==="danger"}),disabled:r.disabled||i,...r,children:[i?t(g,{}):d||null,n&&t("p",{children:n}),o&&t("kbd",{className:a("hidden rounded px-2 py-0.5 text-xs font-light md:inline-block",{"bg-gray-700 text-gray-400 group-hover:bg-gray-100 group-hover:text-gray-500":e==="primary","bg-gray-200 text-gray-400 group-hover:bg-gray-100 group-hover:text-gray-500":e==="secondary"}),children:o})]})}export{x as a};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{d as oe,e as re}from"./chunk-YD23GKOR.mjs";import*as N from"@radix-ui/react-tooltip";import*as T from"react";var Ne="aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4vianca6w0s2x0a2z0ure5ba0by2idu3namex3narepublic11d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2ntley5rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0cast4mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dabur3d1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0ardian6cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6logistics9properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3ncaster6d0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2psy3ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2tura4vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9dnavy5lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0america6xi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0a1b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp2w2ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5m\xF6gensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4finity6ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2",Oe="\u03B5\u03BB1\u03C52\u0431\u04331\u0435\u043B3\u0434\u0435\u0442\u04384\u0435\u044E2\u043A\u0430\u0442\u043E\u043B\u0438\u043A6\u043E\u043C3\u043C\u043A\u04342\u043E\u043D1\u0441\u043A\u0432\u04306\u043E\u043D\u043B\u0430\u0439\u043D5\u0440\u04333\u0440\u0443\u04412\u04442\u0441\u0430\u0439\u04423\u0440\u04313\u0443\u043A\u04403\u049B\u0430\u04373\u0570\u0561\u05753\u05D9\u05E9\u05E8\u05D0\u05DC5\u05E7\u05D5\u05DD3\u0627\u0628\u0648\u0638\u0628\u064A5\u0631\u0627\u0645\u0643\u06485\u0644\u0627\u0631\u062F\u06464\u0628\u062D\u0631\u064A\u06465\u062C\u0632\u0627\u0626\u06315\u0633\u0639\u0648\u062F\u064A\u06296\u0639\u0644\u064A\u0627\u06465\u0645\u063A\u0631\u06285\u0645\u0627\u0631\u0627\u062A5\u06CC\u0631\u0627\u06465\u0628\u0627\u0631\u062A2\u0632\u0627\u06314\u064A\u062A\u06433\u06BE\u0627\u0631\u062A5\u062A\u0648\u0646\u06334\u0633\u0648\u062F\u0627\u06463\u0631\u064A\u06295\u0634\u0628\u0643\u06294\u0639\u0631\u0627\u06422\u06282\u0645\u0627\u06464\u0641\u0644\u0633\u0637\u064A\u06466\u0642\u0637\u06313\u0643\u0627\u062B\u0648\u0644\u064A\u06436\u0648\u06453\u0645\u0635\u06312\u0644\u064A\u0633\u064A\u06275\u0648\u0631\u064A\u062A\u0627\u0646\u064A\u06277\u0642\u06394\u0647\u0645\u0631\u0627\u06475\u067E\u0627\u06A9\u0633\u062A\u0627\u06467\u0680\u0627\u0631\u062A4\u0915\u0949\u092E3\u0928\u0947\u091F3\u092D\u093E\u0930\u09240\u092E\u094D3\u094B\u09245\u0938\u0902\u0917\u0920\u09285\u09AC\u09BE\u0982\u09B2\u09BE5\u09AD\u09BE\u09B0\u09A42\u09F0\u09A44\u0A2D\u0A3E\u0A30\u0A244\u0AAD\u0ABE\u0AB0\u0AA44\u0B2D\u0B3E\u0B30\u0B244\u0B87\u0BA8\u0BCD\u0BA4\u0BBF\u0BAF\u0BBE6\u0BB2\u0B99\u0BCD\u0B95\u0BC86\u0B9A\u0BBF\u0B99\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0BC2\u0BB0\u0BCD11\u0C2D\u0C3E\u0C30\u0C24\u0C4D5\u0CAD\u0CBE\u0CB0\u0CA44\u0D2D\u0D3E\u0D30\u0D24\u0D025\u0DBD\u0D82\u0D9A\u0DCF4\u0E04\u0E2D\u0E213\u0E44\u0E17\u0E223\u0EA5\u0EB2\u0EA73\u10D2\u10D42\u307F\u3093\u306A3\u30A2\u30DE\u30BE\u30F34\u30AF\u30E9\u30A6\u30C94\u30B0\u30FC\u30B0\u30EB4\u30B3\u30E02\u30B9\u30C8\u30A23\u30BB\u30FC\u30EB3\u30D5\u30A1\u30C3\u30B7\u30E7\u30F36\u30DD\u30A4\u30F3\u30C84\u4E16\u754C2\u4E2D\u4FE11\u56FD1\u570B1\u6587\u7F513\u4E9A\u9A6C\u900A3\u4F01\u4E1A2\u4F5B\u5C712\u4FE1\u606F2\u5065\u5EB72\u516B\u53662\u516C\u53F81\u76CA2\u53F0\u6E7E1\u70632\u5546\u57CE1\u5E971\u68072\u5609\u91CC0\u5927\u9152\u5E975\u5728\u7EBF2\u5927\u62FF2\u5929\u4E3B\u65593\u5A31\u4E502\u5BB6\u96FB2\u5E7F\u4E1C2\u5FAE\u535A2\u6148\u55842\u6211\u7231\u4F603\u624B\u673A2\u62DB\u80582\u653F\u52A11\u5E9C2\u65B0\u52A0\u57612\u95FB2\u65F6\u5C1A2\u66F8\u7C4D2\u673A\u67842\u6DE1\u9A6C\u95213\u6E38\u620F2\u6FB3\u95802\u70B9\u770B2\u79FB\u52A82\u7EC4\u7EC7\u673A\u67844\u7F51\u57401\u5E971\u7AD91\u7EDC2\u8054\u901A2\u8C37\u6B4C2\u8D2D\u72692\u901A\u8CA92\u96C6\u56E22\u96FB\u8A0A\u76C8\u79D14\u98DE\u5229\u6D663\u98DF\u54C12\u9910\u53852\u9999\u683C\u91CC\u62C93\u6E2F2\uB2F7\uB1371\uCEF42\uC0BC\uC1312\uD55C\uAD6D2",j=(t,n)=>{for(let e in n)t[e]=n[e];return t},Mt="numeric",Bt="ascii",_t="alpha",tt="asciinumeric",Y="alphanumeric",Kt="domain",ge="emoji",Se="scheme",ve="slashscheme",se="whitespace";function we(t,n){return t in n||(n[t]=[]),n[t]}function H(t,n,e){n[Mt]&&(n[tt]=!0,n[Y]=!0),n[Bt]&&(n[tt]=!0,n[_t]=!0),n[tt]&&(n[Y]=!0),n[_t]&&(n[Y]=!0),n[Y]&&(n[Kt]=!0),n[ge]&&(n[Kt]=!0);for(let i in n){let o=we(i,e);o.indexOf(t)<0&&o.push(t)}}function Ie(t,n){let e={};for(let i in n)n[i].indexOf(t)>=0&&(e[i]=!0);return e}function y(t){t===void 0&&(t=null),this.j={},this.jr=[],this.jd=null,this.t=t}y.groups={};y.prototype={accepts(){return!!this.t},go(t){let n=this,e=n.j[t];if(e)return e;for(let i=0;i<n.jr.length;i++){let o=n.jr[i][0],a=n.jr[i][1];if(a&&o.test(t))return a}return n.jd},has(t,n){return n===void 0&&(n=!1),n?t in this.j:!!this.go(t)},ta(t,n,e,i){for(let o=0;o<t.length;o++)this.tt(t[o],n,e,i)},tr(t,n,e,i){i=i||y.groups;let o;return n&&n.j?o=n:(o=new y(n),e&&i&&H(n,e,i)),this.jr.push([t,o]),o},ts(t,n,e,i){let o=this,a=t.length;if(!a)return o;for(let r=0;r<a-1;r++)o=o.tt(t[r]);return o.tt(t[a-1],n,e,i)},tt(t,n,e,i){i=i||y.groups;let o=this;if(n&&n.j)return o.j[t]=n,n;let a=n,r,l=o.go(t);if(l?(r=new y,j(r.j,l.j),r.jr.push.apply(r.jr,l.jr),r.jd=l.jd,r.t=l.t):r=new y,a){if(i)if(r.t&&typeof r.t=="string"){let u=j(Ie(r.t,i),e);H(a,u,i)}else e&&H(a,e,i);r.t=a}return o.j[t]=r,r}};var c=(t,n,e,i,o)=>t.ta(n,e,i,o),R=(t,n,e,i,o)=>t.tr(n,e,i,o),ae=(t,n,e,i,o)=>t.ts(n,e,i,o),s=(t,n,e,i,o)=>t.tt(n,e,i,o),O="WORD",Ft="UWORD",Q="LOCALHOST",Wt="TLD",$t="UTLD",et="SCHEME",z="SLASH_SCHEME",Qt="NUM",me="WS",Gt="NL",F="OPENBRACE",W="CLOSEBRACE",nt="OPENBRACKET",it="CLOSEBRACKET",ot="OPENPAREN",rt="CLOSEPAREN",st="OPENANGLEBRACKET",at="CLOSEANGLEBRACKET",lt="FULLWIDTHLEFTPAREN",ct="FULLWIDTHRIGHTPAREN",ut="LEFTCORNERBRACKET",dt="RIGHTCORNERBRACKET",ft="LEFTWHITECORNERBRACKET",ht="RIGHTWHITECORNERBRACKET",gt="FULLWIDTHLESSTHAN",mt="FULLWIDTHGREATERTHAN",pt="AMPERSAND",Et="APOSTROPHE",Tt="ASTERISK",v="AT",kt="BACKSLASH",yt="BACKTICK",Rt="CARET",w="COLON",qt="COMMA",bt="DOLLAR",L="DOT",At="EQUALS",Jt="EXCLAMATION",C="HYPHEN",Lt="PERCENT",Ct="PIPE",xt="PLUS",Nt="POUND",Ot="QUERY",Yt="QUOTE",Vt="SEMI",x="SLASH",$="TILDE",St="UNDERSCORE",pe="EMOJI",vt="SYM",Ee=Object.freeze({__proto__:null,WORD:O,UWORD:Ft,LOCALHOST:Q,TLD:Wt,UTLD:$t,SCHEME:et,SLASH_SCHEME:z,NUM:Qt,WS:me,NL:Gt,OPENBRACE:F,CLOSEBRACE:W,OPENBRACKET:nt,CLOSEBRACKET:it,OPENPAREN:ot,CLOSEPAREN:rt,OPENANGLEBRACKET:st,CLOSEANGLEBRACKET:at,FULLWIDTHLEFTPAREN:lt,FULLWIDTHRIGHTPAREN:ct,LEFTCORNERBRACKET:ut,RIGHTCORNERBRACKET:dt,LEFTWHITECORNERBRACKET:ft,RIGHTWHITECORNERBRACKET:ht,FULLWIDTHLESSTHAN:gt,FULLWIDTHGREATERTHAN:mt,AMPERSAND:pt,APOSTROPHE:Et,ASTERISK:Tt,AT:v,BACKSLASH:kt,BACKTICK:yt,CARET:Rt,COLON:w,COMMA:qt,DOLLAR:bt,DOT:L,EQUALS:At,EXCLAMATION:Jt,HYPHEN:C,PERCENT:Lt,PIPE:Ct,PLUS:xt,POUND:Nt,QUERY:Ot,QUOTE:Yt,SEMI:Vt,SLASH:x,TILDE:$,UNDERSCORE:St,EMOJI:pe,SYM:vt}),U=/[a-z]/,jt=/\p{L}/u,Dt=/\p{Emoji}/u;var Ut=/\d/,le=/\s/;var ce=`
|
|
3
|
+
`,Pe="\uFE0F",He="\u200D",V=null,X=null;function je(t){t===void 0&&(t=[]);let n={};y.groups=n;let e=new y;V==null&&(V=ue(Ne)),X==null&&(X=ue(Oe)),s(e,"'",Et),s(e,"{",F),s(e,"}",W),s(e,"[",nt),s(e,"]",it),s(e,"(",ot),s(e,")",rt),s(e,"<",st),s(e,">",at),s(e,"\uFF08",lt),s(e,"\uFF09",ct),s(e,"\u300C",ut),s(e,"\u300D",dt),s(e,"\u300E",ft),s(e,"\u300F",ht),s(e,"\uFF1C",gt),s(e,"\uFF1E",mt),s(e,"&",pt),s(e,"*",Tt),s(e,"@",v),s(e,"`",yt),s(e,"^",Rt),s(e,":",w),s(e,",",qt),s(e,"$",bt),s(e,".",L),s(e,"=",At),s(e,"!",Jt),s(e,"-",C),s(e,"%",Lt),s(e,"|",Ct),s(e,"+",xt),s(e,"#",Nt),s(e,"?",Ot),s(e,'"',Yt),s(e,"/",x),s(e,";",Vt),s(e,"~",$),s(e,"_",St),s(e,"\\",kt);let i=R(e,Ut,Qt,{[Mt]:!0});R(i,Ut,i);let o=R(e,U,O,{[Bt]:!0});R(o,U,o);let a=R(e,jt,Ft,{[_t]:!0});R(a,U),R(a,jt,a);let r=R(e,le,me,{[se]:!0});s(e,ce,Gt,{[se]:!0}),s(r,ce),R(r,le,r);let l=R(e,Dt,pe,{[ge]:!0});R(l,Dt,l),s(l,Pe,l);let u=s(l,He);R(u,Dt,l);let f=[[U,o]],g=[[U,null],[jt,a]];for(let d=0;d<V.length;d++)S(e,V[d],Wt,O,f);for(let d=0;d<X.length;d++)S(e,X[d],$t,Ft,g);H(Wt,{tld:!0,ascii:!0},n),H($t,{utld:!0,alpha:!0},n),S(e,"file",et,O,f),S(e,"mailto",et,O,f),S(e,"http",z,O,f),S(e,"https",z,O,f),S(e,"ftp",z,O,f),S(e,"ftps",z,O,f),H(et,{scheme:!0,ascii:!0},n),H(z,{slashscheme:!0,ascii:!0},n),t=t.sort((d,h)=>d[0]>h[0]?1:-1);for(let d=0;d<t.length;d++){let h=t[d][0],m=t[d][1]?{[Se]:!0}:{[ve]:!0};h.indexOf("-")>=0?m[Kt]=!0:U.test(h)?Ut.test(h)?m[tt]=!0:m[Bt]=!0:m[Mt]=!0,ae(e,h,h,m)}return ae(e,"localhost",Q,{ascii:!0}),e.jd=new y(vt),{start:e,tokens:j({groups:n},Ee)}}function De(t,n){let e=Ue(n.replace(/[A-Z]/g,l=>l.toLowerCase())),i=e.length,o=[],a=0,r=0;for(;r<i;){let l=t,u=null,f=0,g=null,d=-1,h=-1;for(;r<i&&(u=l.go(e[r]));)l=u,l.accepts()?(d=0,h=0,g=l):d>=0&&(d+=e[r].length,h++),f+=e[r].length,a+=e[r].length,r++;a-=d,r-=h,f-=d,o.push({t:g.t,v:n.slice(a-f,a),s:a-f,e:a})}return o}function Ue(t){let n=[],e=t.length,i=0;for(;i<e;){let o=t.charCodeAt(i),a,r=o<55296||o>56319||i+1===e||(a=t.charCodeAt(i+1))<56320||a>57343?t[i]:t.slice(i,i+2);n.push(r),i+=r.length}return n}function S(t,n,e,i,o){let a,r=n.length;for(let l=0;l<r-1;l++){let u=n[l];t.j[u]?a=t.j[u]:(a=new y(i),a.jr=o.slice(),t.j[u]=a),t=a}return a=new y(e),a.jr=o.slice(),t.j[n[r-1]]=a,a}function ue(t){let n=[],e=[],i=0,o="0123456789";for(;i<t.length;){let a=0;for(;o.indexOf(t[i+a])>=0;)a++;if(a>0){n.push(e.join(""));for(let r=parseInt(t.substring(i,i+a),10);r>0;r--)e.pop();i+=a}else e.push(t[i]),i++}return n}var M={defaultProtocol:"http",events:null,format:de,formatHref:de,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null};function G(t,n){n===void 0&&(n=null);let e=j({},M);t&&(e=j(e,t instanceof G?t.o:t));let i=e.ignoreTags,o=[];for(let a=0;a<i.length;a++)o.push(i[a].toUpperCase());this.o=e,n&&(this.defaultRender=n),this.ignoreTags=o}G.prototype={o:M,ignoreTags:[],defaultRender(t){return t},check(t){return this.get("validate",t.toString(),t)},get(t,n,e){let i=n!=null,o=this.o[t];return o&&(typeof o=="object"?(o=e.t in o?o[e.t]:M[t],typeof o=="function"&&i&&(o=o(n,e))):typeof o=="function"&&i&&(o=o(n,e.t,e)),o)},getObj(t,n,e){let i=this.o[t];return typeof i=="function"&&n!=null&&(i=i(n,e.t,e)),i},render(t){let n=t.render(this);return(this.get("render",null,t)||this.defaultRender)(n,t.t,t)}};function de(t){return t}var Xt=Object.freeze({__proto__:null,defaults:M,Options:G,assign:j});function Te(t,n){this.t="token",this.v=t,this.tk=n}Te.prototype={isLink:!1,toString(){return this.v},toHref(t){return this.toString()},toFormattedString(t){let n=this.toString(),e=t.get("truncate",n,this),i=t.get("format",n,this);return e&&i.length>e?i.substring(0,e)+"\u2026":i},toFormattedHref(t){return t.get("formatHref",this.toHref(t.get("defaultProtocol")),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(t){return t===void 0&&(t=M.defaultProtocol),{type:this.t,value:this.toString(),isLink:this.isLink,href:this.toHref(t),start:this.startIndex(),end:this.endIndex()}},toFormattedObject(t){return{type:this.t,value:this.toFormattedString(t),isLink:this.isLink,href:this.toFormattedHref(t),start:this.startIndex(),end:this.endIndex()}},validate(t){return t.get("validate",this.toString(),this)},render(t){let n=this,e=this.toHref(t.get("defaultProtocol")),i=t.get("formatHref",e,this),o=t.get("tagName",e,n),a=this.toFormattedString(t),r={},l=t.get("className",e,n),u=t.get("target",e,n),f=t.get("rel",e,n),g=t.getObj("attributes",e,n),d=t.getObj("events",e,n);return r.href=i,l&&(r.class=l),u&&(r.target=u),f&&(r.rel=f),g&&j(r,g),{tagName:o,attributes:r,content:a,eventListeners:d}}};function wt(t,n){class e extends Te{constructor(o,a){super(o,a),this.t=t}}for(let i in n)e.prototype[i]=n[i];return e.t=t,e}var fe=wt("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),he=wt("text"),ze=wt("nl"),Z=wt("url",{isLink:!0,toHref(t){return t===void 0&&(t=M.defaultProtocol),this.hasProtocol()?this.v:`${t}://${this.v}`},hasProtocol(){let t=this.tk;return t.length>=2&&t[0].t!==Q&&t[1].t===w}});var b=t=>new y(t);function Me(t){let{groups:n}=t,e=n.domain.concat([pt,Tt,v,kt,yt,Rt,bt,At,C,Qt,Lt,Ct,xt,Nt,x,vt,$,St]),i=[Et,w,qt,L,Jt,Ot,Yt,Vt,st,at,F,W,it,nt,ot,rt,lt,ct,ut,dt,ft,ht,gt,mt],o=[pt,Et,Tt,kt,yt,Rt,bt,At,C,F,W,Lt,Ct,xt,Nt,Ot,x,vt,$,St],a=b(),r=s(a,$);c(r,o,r),c(r,n.domain,r);let l=b(),u=b(),f=b();c(a,n.domain,l),c(a,n.scheme,u),c(a,n.slashscheme,f),c(l,o,r),c(l,n.domain,l);let g=s(l,v);s(r,v,g),s(u,v,g),s(f,v,g);let d=s(r,L);c(d,o,r),c(d,n.domain,r);let h=b();c(g,n.domain,h),c(h,n.domain,h);let I=s(h,L);c(I,n.domain,h);let m=b(fe);c(I,n.tld,m),c(I,n.utld,m),s(g,Q,m);let Zt=s(h,C);c(Zt,n.domain,h),c(m,n.domain,h),s(m,L,I),s(m,C,Zt);let Ae=s(m,w);c(Ae,n.numeric,fe);let q=s(l,C),P=s(l,L);c(q,n.domain,l),c(P,o,r),c(P,n.domain,l);let A=b(Z);c(P,n.tld,A),c(P,n.utld,A),c(A,n.domain,l),c(A,o,r),s(A,L,P),s(A,C,q),s(A,v,g);let Le=s(A,w),te=b(Z);c(Le,n.numeric,te);let p=b(Z),_=b();c(p,e,p),c(p,i,_),c(_,e,p),c(_,i,_),s(A,x,p),s(te,x,p);let ee=s(u,w),Ce=s(f,w),xe=s(Ce,x),It=s(xe,x);c(u,n.domain,l),s(u,L,P),s(u,C,q),c(f,n.domain,l),s(f,L,P),s(f,C,q),c(ee,n.domain,p),s(ee,x,p),c(It,n.domain,p),c(It,e,p),s(It,x,p);let ne=[[F,W],[nt,it],[ot,rt],[st,at],[lt,ct],[ut,dt],[ft,ht],[gt,mt]];for(let Pt=0;Pt<ne.length;Pt++){let[ie,Ht]=ne[Pt],J=s(p,ie);s(_,ie,J),s(J,Ht,p);let D=b(Z);c(J,e,D);let K=b();c(J,i),c(D,e,D),c(D,i,K),c(K,e,D),c(K,i,K),s(D,Ht,p),s(K,Ht,p)}return s(a,Q,A),s(a,Gt,ze),{start:a,tokens:Ee}}function Be(t,n,e){let i=e.length,o=0,a=[],r=[];for(;o<i;){let l=t,u=null,f=null,g=0,d=null,h=-1;for(;o<i&&!(u=l.go(e[o].t));)r.push(e[o++]);for(;o<i&&(f=u||l.go(e[o].t));)u=null,l=f,l.accepts()?(h=0,d=l):h>=0&&h++,o++,g++;if(h<0)o-=g,o<i&&(r.push(e[o]),o++);else{r.length>0&&(a.push(zt(he,n,r)),r=[]),o-=h,g-=h;let I=d.t,m=e.slice(o-g,o);a.push(zt(I,n,m))}}return r.length>0&&a.push(zt(he,n,r)),a}function zt(t,n,e){let i=e[0].s,o=e[e.length-1].e,a=n.slice(i,o);return new t(a,e)}var E={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1};function _e(){E.scanner=je(E.customSchemes);for(let t=0;t<E.tokenQueue.length;t++)E.tokenQueue[t][1]({scanner:E.scanner});E.parser=Me(E.scanner.tokens);for(let t=0;t<E.pluginQueue.length;t++)E.pluginQueue[t][1]({scanner:E.scanner,parser:E.parser});E.initialized=!0}function ke(t){return E.initialized||_e(),Be(E.parser.start,t,De(E.scanner.start,t))}function Ke(t,n,e){let i=ke(t),o=[];for(let a=0;a<i.length;a++){let r=i[a];if(r.t==="nl"&&n.get("nl2br")){let l=`__linkify-el-${e.elementId++}`;o.push(T.createElement("br",{key:l}))}else if(!r.isLink||!n.check(r))o.push(r.toString());else{let l=n.render(r);if(!("key"in l.props)){let u=`__linkify-el-${e.elementId++}`,f=Xt.assign({key:u},l.props);l=T.cloneElement(l,f)}o.push(l)}}return o}function ye(t,n,e){if(T.Children.count(t.props.children)===0)return t;let i=[];T.Children.forEach(t.props.children,r=>{typeof r=="string"?i.push.apply(i,Ke(r,n,e)):T.isValidElement(r)?typeof r.type=="string"&&n.ignoreTags.indexOf(r.type.toUpperCase())>=0?i.push(r):i.push(ye(r,n,e)):i.push(r)});let o=`__linkify-el-${e.elementId++}`,a=Xt.assign({key:o},t.props);return T.cloneElement(t,a,i)}var Re=t=>{let n=0,e=u=>{let{tagName:f,attributes:g,content:d}=u;return g.key=`__linkify-lnk-${n++}`,g.class&&(g.className=g.class,delete g.class),T.createElement(f,g,d)},i={key:"__linkify-wrapper"};for(let u in t)u!=="options"&&u!=="as"&&u!=="tagName"&&u!=="children"&&(i[u]=t[u]);let o=new G(t.options,e),a=t.as||t.tagName||T.Fragment||"span",r=t.children,l=T.createElement(a,i,r);return ye(l,o,{elementId:0})};import{HelpCircle as Fe}from"lucide-react";import We from"next/link";import{useState as $e}from"react";import{jsx as k,jsxs as B}from"react/jsx-runtime";function en({children:t}){return k(N.Provider,{delayDuration:100,children:t})}function be({children:t,content:n,side:e="top"}){let[i,o]=$e(!1);return B(N.Root,{open:i,onOpenChange:o,children:[k(N.Trigger,{asChild:!0,onClick:()=>{o(!0)},onBlur:()=>{o(!1)},children:t}),k(N.Portal,{children:k(N.Content,{sideOffset:8,side:e,className:"animate-slide-up-fade z-[99] items-center overflow-hidden rounded-md border border-gray-200 bg-white shadow-md",children:typeof n=="string"?k("span",{className:"block max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:n}):n})})]})}function nn({title:t,cta:n,href:e,target:i,onClick:o}){return B("div",{className:"flex max-w-xs flex-col items-center space-y-3 p-4 text-center",children:[k("p",{className:"text-sm text-gray-700",children:t}),n&&(e?k(We,{href:e,...i?{target:i}:{},className:"mt-4 w-full rounded-md border border-black bg-black px-3 py-1.5 text-center text-sm text-white transition-all hover:bg-white hover:text-black",children:n}):o?k("button",{type:"button",className:"mt-4 w-full rounded-md border border-black bg-black px-3 py-1.5 text-center text-sm text-white transition-all hover:bg-white hover:text-black",onClick:o,children:n}):null)]})}function on({title:t,cta:n,href:e}){return B("div",{className:"max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:[t," ",k("a",{href:e,target:"_blank",rel:"noopener noreferrer",onClick:i=>i.stopPropagation(),className:"inline-flex text-gray-500 underline underline-offset-4 hover:text-gray-800",children:n})]})}function rn({children:t}){return k("div",{className:"block max-w-md whitespace-pre-wrap px-4 py-2 text-center text-sm text-gray-700",children:k(Re,{as:"p",options:{target:"_blank",rel:"noopener noreferrer nofollow",className:"underline underline-offset-4 text-gray-400 hover:text-gray-700"},children:t})})}function sn({content:t}){return k(be,{content:t,children:k(Fe,{className:"h-4 w-4 text-gray-500"})})}function an({value:t,unit:n="total clicks",children:e,lastClicked:i}){return(!t||t<1e3)&&!i?e:k(be,{content:B("div",{className:"block max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:[B("p",{className:"text-sm font-semibold text-gray-700",children:[oe(t||0,{full:!0})," ",n]}),i&&B("p",{className:"mt-1 text-xs text-gray-500",suppressHydrationWarning:!0,children:["Last clicked ",re(i,{withAgo:!0})]})]}),children:e})}export{en as a,be as b,nn as c,on as d,rn as e,sn as f,an as g};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{b as s}from"./chunk-WIOVAFMS.mjs";import{i}from"./chunk-IMTRC5ZF.mjs";import*as t from"@radix-ui/react-switch";import{jsx as e}from"react/jsx-runtime";function g({fn:r,trackDimensions:c,thumbDimensions:l,thumbTranslate:o,checked:d=!0,disabled:n=!1,disabledTooltip:a}){return a?e(s,{content:a,children:e("div",{className:"radix-state-checked:bg-gray-300 relative inline-flex h-4 w-8 flex-shrink-0 cursor-not-allowed rounded-full border-2 border-transparent bg-gray-200",children:e("div",{className:"h-3 w-3 transform rounded-full bg-white shadow-lg"})})}):e(t.Root,{checked:d,name:"switch",...r&&{onCheckedChange:r},disabled:n,className:i(n?"cursor-not-allowed bg-gray-300":"radix-state-checked:bg-blue-500 radix-state-unchecked:bg-gray-200 cursor-pointer focus:outline-none focus-visible:ring focus-visible:ring-blue-500 focus-visible:ring-opacity-75","relative inline-flex h-4 w-8 flex-shrink-0 rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out",c),children:e(t.Thumb,{className:i(`radix-state-checked:${o}`,"radix-state-unchecked:translate-x-0","pointer-events-none h-3 w-3 translate-x-4 transform rounded-full bg-white shadow-lg ring-0 transition duration-200 ease-in-out",l,o)})})}export{g as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as u}from"./chunk-J2SBXZHQ.mjs";import{a as p}from"./chunk-A75RGEGE.mjs";import{a as t,h as d,i as n}from"./chunk-J7T2QKO4.mjs";import{ChevronDown as N,Menu as v,X as w}from"lucide-react";import o from"next/link";import{useParams as x}from"next/navigation";import{useEffect as k,useState as b}from"react";import L from"swr";import{Fragment as h,jsx as e,jsxs as s}from"react/jsx-runtime";function E(){let{domain:r="dub.co"}=x(),[a,c]=b(!1),[m,y]=b(!1);k(()=>{a?document.body.style.overflow="hidden":document.body.style.overflow="auto"},[a]);let{data:f,isLoading:z}=L(r==="dub.co"&&"/api/auth/session",d,{dedupingInterval:6e4});return s(h,{children:[e("button",{onClick:()=>c(!a),className:n("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",a&&"hover:bg-gray-100 active:bg-gray-200"),children:a?e(w,{className:"h-5 w-5 text-gray-600"}):e(v,{className:"h-5 w-5 text-gray-600"})}),e("nav",{className:n("fixed inset-0 z-20 hidden w-full bg-white px-5 py-16 lg:hidden",a&&"block"),children:s("ul",{className:"grid divide-y divide-gray-200",children:[s("li",{className:"py-3",children:[s("button",{className:"flex w-full justify-between",onClick:()=>y(!m),children:[e("p",{className:"font-semibold",children:"Features"}),e(N,{className:n("h-5 w-5 text-gray-500 transition-all",m&&"rotate-180")})]}),m&&e("div",{className:"grid gap-4 overflow-hidden py-4",children:p.map(({slug:l,icon:i,shortTitle:g})=>s(o,{href:r==="dub.co"?`/${l}`:`https://dub.co/${l}`,onClick:()=>c(!1),className:"flex w-full space-x-2",children:[e(i,{className:"h-5 w-5 text-gray-500"}),e("span",{className:"text-sm",children:g})]},l))})]}),u.map(({name:l,slug:i})=>e("li",{className:"py-3",children:e(o,{href:r==="dub.co"?`/${i}`:`https://dub.co/${i}`,onClick:()=>c(!1),className:"flex w-full font-semibold capitalize",children:l})},i)),f&&Object.keys(f).length>0?e("li",{className:"py-3",children:e(o,{href:t,className:"flex w-full font-semibold capitalize",children:"Dashboard"})}):s(h,{children:[e("li",{className:"py-3",children:e(o,{href:`${t}/login`,className:"flex w-full font-semibold capitalize",children:"Log in"})}),e("li",{className:"py-3",children:e(o,{href:`${t}/register`,className:"flex w-full font-semibold capitalize",children:"Sign Up"})})]})]})})]})}export{E as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as p}from"./chunk-A75RGEGE.mjs";import{a as f}from"./chunk-HFMR6JRU.mjs";import{a as g}from"./chunk-VWVFVW4E.mjs";import{a as d}from"./chunk-5EWSH7PD.mjs";import{a as n}from"./chunk-T2MBQNUO.mjs";import{a as c}from"./chunk-T4YFARK5.mjs";import{c as i}from"./chunk-5RLHKDBX.mjs";import o from"@vercel/analytics";import m from"next/link";import{useParams as h}from"next/navigation";import{jsx as e,jsxs as r}from"react/jsx-runtime";var l={features:p.map(({shortTitle:t,slug:s})=>({name:t,href:`/${s}`})),product:[{name:"Blog",href:"/blog"},{name:"Changelog",href:"/changelog"},{name:"Customer Stories",href:"/customers"},{name:"Pricing",href:"/pricing"},{name:"Enterprise",href:"/enterprise"},{name:"Help Center",href:"/help"}],legal:[{name:"Privacy",href:"/privacy"},{name:"Terms",href:"/terms"},{name:"Abuse",href:"/abuse"}],tools:i.map(({name:t,slug:s})=>({name:t,href:`/tools/${s}`}))};function L(){let{domain:t="dub.co"}=h(),s=a=>t==="dub.co"?a:`https://dub.co${a}`;return e("footer",{className:"z-10 border-t border-gray-200 bg-white/50 py-8 backdrop-blur-lg",children:r(f,{className:"pt-10",children:[r("div",{className:"xl:grid xl:grid-cols-3 xl:gap-8",children:[r("div",{className:"space-y-8",children:[r(m,{href:s("/"),...t!=="dub.co"&&{onClick:()=>{o.track("Referred from custom domain",{domain:t,medium:"footer item (logo)"})}},children:[r("span",{className:"sr-only",children:[process.env.NEXT_PUBLIC_APP_NAME," Logo"]}),e(n,{className:"h-7 text-gray-600"})]}),e("p",{className:"max-w-xs text-sm text-gray-500",children:"Giving modern marketing teams superpowers with short links that stand out."}),r("div",{className:"flex items-center space-x-2",children:[r("a",{href:"https://twitter.com/dubdotco",target:"_blank",rel:"noreferrer",className:"group rounded-md p-2 transition-colors hover:bg-gray-100 active:bg-gray-200",children:[e("span",{className:"sr-only",children:"Twitter"}),e(g,{className:"h-5 w-5 text-gray-600"})]}),e("div",{className:"h-8 border-l border-gray-200"}),r("a",{href:"https://github.com/dubinc/dub",target:"_blank",rel:"noreferrer",className:"rounded-md p-2 transition-colors hover:bg-gray-100 active:bg-gray-200",children:[e("span",{className:"sr-only",children:"Github"}),e(c,{className:"h-5 w-5 text-gray-600"})]}),e("div",{className:"h-8 border-l border-gray-200"}),r("a",{href:"https://www.linkedin.com/company/dubinc/",target:"_blank",rel:"noreferrer",className:"rounded-md p-2 transition-colors hover:bg-gray-100 active:bg-gray-200",children:[e("span",{className:"sr-only",children:"LinkedIn"}),e(d,{className:"h-5 w-5",fill:"#52525B"})]})]})]}),r("div",{className:"mt-16 grid grid-cols-2 gap-4 xl:col-span-2 xl:mt-0",children:[r("div",{className:"md:grid md:grid-cols-2",children:[r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-900",children:"Features"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:l.features.map(a=>e("li",{children:e(m,{href:s(a.href),...t!=="dub.co"&&{onClick:()=>{o.track("Referred from custom domain",{domain:t,medium:`footer item (${a.name})`})}},className:"text-sm text-gray-500 hover:text-gray-900",children:a.name})},a.name))})]}),r("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-600",children:"Product"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:l.product.map(a=>e("li",{children:e(m,{href:s(a.href),...t!=="dub.co"&&{onClick:()=>{o.track("Referred from custom domain",{domain:t,medium:`footer item (${a.name})`})}},className:"text-sm text-gray-500 hover:text-gray-900",children:a.name})},a.name))})]})]}),r("div",{className:"md:grid md:grid-cols-2",children:[r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-600",children:"Legal"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:l.legal.map(a=>e("li",{children:e(m,{href:s(a.href),...t!=="dub.co"&&{onClick:()=>{o.track("Referred from custom domain",{domain:t,medium:`footer item (${a.name})`})}},className:"text-sm text-gray-500 hover:text-gray-900",children:a.name})},a.name))})]}),r("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-600",children:"Tools"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:l.tools.map(a=>e("li",{children:e(m,{href:s(a.href),...t!=="dub.co"&&{onClick:()=>{o.track("Referred from custom domain",{domain:t,medium:`footer item (${a.name})`})}},className:"text-sm text-gray-500 hover:text-gray-900",children:a.name})},a.name))})]})]})]})]}),e("div",{className:"mt-16 border-t border-gray-900/10 pt-8 sm:mt-20 lg:mt-24",children:r("p",{className:"text-sm leading-5 text-gray-500",children:["\xA9 ",new Date().getFullYear()," ",process.env.NEXT_PUBLIC_APP_NAME,", Inc."]})})]})})}export{L as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as i}from"./chunk-R4RWNOZZ.mjs";import{i as d}from"./chunk-5RLHKDBX.mjs";import{useMemo as b,useState as m}from"react";import{jsx as e,jsxs as a}from"react/jsx-runtime";function T({title:u,description:g,inputData:t,helpText:c,buttonText:f="Save Changes",disabledTooltip:s,handleSubmit:p}){let[r,y]=m(t.defaultValue),[l,n]=m(!1),x=b(()=>l||!r||r===t.defaultValue,[l,r,t.defaultValue]);return a("form",{onSubmit:async o=>{o.preventDefault(),n(!0),await p({[t.name]:r}),n(!1)},className:"rounded-lg border border-gray-200 bg-white",children:[a("div",{className:"relative flex flex-col space-y-6 p-5 sm:p-10",children:[a("div",{className:"flex flex-col space-y-3",children:[e("h2",{className:"text-xl font-medium",children:u}),e("p",{className:"text-sm text-gray-500",children:g})]}),typeof t.defaultValue=="string"?e("input",{...t,type:"text",required:!0,disabled:!!s,onChange:o=>y(o.target.value),className:d("w-full max-w-md rounded-md border border-gray-300 text-gray-900 placeholder-gray-300 focus:border-gray-500 focus:outline-none focus:ring-gray-500 sm:text-sm",{"cursor-not-allowed bg-gray-100 text-gray-400":s})}):e("div",{className:"h-[2.35rem] w-full max-w-md animate-pulse rounded-md bg-gray-200"})]}),a("div",{className:"flex items-center justify-between space-x-4 rounded-b-lg border-t border-gray-200 bg-gray-50 p-3 sm:px-10",children:[e("p",{className:"prose-sm prose-a:underline prose-a:underline-offset-4 hover:prose-a:text-gray-700 text-gray-500 transition-colors",dangerouslySetInnerHTML:{__html:c||""}}),e("div",{className:"shrink-0",children:e(i,{text:f,loading:l,disabled:x,disabledTooltip:s})})]})]})}export{T as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as b}from"./chunk-A75RGEGE.mjs";import{a as f}from"./chunk-YJGCLKYZ.mjs";import{g as x}from"./chunk-HYYV36TO.mjs";import{a as v}from"./chunk-WK42L2U3.mjs";import{a as l,b as g,h as p,i as c}from"./chunk-IMTRC5ZF.mjs";import*as i from"@radix-ui/react-navigation-menu";import s from"@vercel/analytics";import{ChevronDown as w}from"lucide-react";import r from"next/link";import{useParams as M,useSelectedLayoutSegment as P}from"next/navigation";import L from"swr";import{Fragment as R,jsx as e,jsxs as a}from"react/jsx-runtime";var C=[{name:"Customers",slug:"customers"},{name:"Pricing",slug:"pricing"},{name:"Enterprise",slug:"enterprise"},{name:"Blog",slug:"blog"},{name:"Changelog",slug:"changelog"}];function U(){let{domain:t="dub.co"}=M(),h=x(80),m=P(),d=m==="help",{data:u,isLoading:N}=L(t==="dub.co"&&"/api/auth/session",p,{dedupingInterval:6e4});return e("div",{className:c("sticky inset-x-0 top-0 z-30 w-full transition-all",{"border-b border-gray-200 bg-white/75 backdrop-blur-lg":h,"border-b border-gray-200 bg-white":m&&g.includes(m)}),children:e(f,{...d&&{className:"max-w-screen-lg"},children:a("div",{className:"flex h-14 items-center justify-between",children:[a("div",{className:"flex items-center space-x-4",children:[e(r,{href:t==="dub.co"?"/":"https://dub.co",...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:"logo"})}},children:e(v,{})}),d?a("div",{className:"flex items-center",children:[e("div",{className:"mr-3 h-5 border-l-2 border-gray-400"}),e(r,{href:"/help",className:"font-display text-lg font-bold text-gray-700",children:"Help Center"})]}):a(i.Root,{delayDuration:0,className:"relative hidden lg:block",children:[a(i.List,{className:"flex flex-row space-x-2 p-4",children:[a(i.Item,{children:[a(i.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",children:[e("p",{className:c("text-sm font-medium text-gray-500 transition-colors ease-out group-hover:text-black",{"text-black":m==="features"}),children:"Features"}),e(w,{className:"h-4 w-4 transition-all group-data-[state=open]:rotate-180"})]}),e(i.Content,{children:e("div",{className:"grid w-[32rem] grid-cols-2 gap-1 p-3",children:b.map(({slug:n,icon:o,title:k,shortTitle:y})=>a(r,{href:t==="dub.co"?`/${n}`:`https://dub.co/${n}`,...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:`navbar item (/${n})`})}},className:"rounded-lg p-3 transition-colors hover:bg-gray-100 active:bg-gray-200",children:[a("div",{className:"flex items-center space-x-2",children:[e(o,{className:"h-4 w-4 text-gray-700"}),e("p",{className:"text-sm font-medium text-gray-700",children:y})]}),e("p",{className:"mt-1 line-clamp-1 text-sm text-gray-500",children:k})]},n))})})]}),C.map(({name:n,slug:o})=>e(i.Item,{asChild:!0,children:e(r,{id:`nav-${o}`,href:t==="dub.co"?`/${o}`:`https://dub.co/${o}`,...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:`navbar item (${o})`})}},className:c("rounded-md px-3 py-2 text-sm font-medium text-gray-500 transition-colors ease-out hover:text-black",{"text-black":m===o}),children:n},o)},o))]}),e(i.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"})]})]}),e("div",{className:"hidden lg:block",children:u&&Object.keys(u).length>0?e(r,{href:l,className:"animate-fade-in rounded-full border border-black bg-black px-4 py-1.5 text-sm text-white transition-all hover:bg-white hover:text-black",children:"Dashboard"}):N?null:a(R,{children:[e(r,{href:`${l}/login`,...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,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",children:"Log in"}),e(r,{href:`${l}/register`,...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,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-white hover:text-black",children:"Sign Up"})]})})]})})})}export{C as a,U as b};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{i as e}from"./chunk-34VCRD7R.mjs";import{jsx as n}from"react/jsx-runtime";function l({user:a={},className:i}){return a?n("img",{alt:`Avatar for ${(a==null?void 0:a.name)||(a==null?void 0:a.email)}`,referrerPolicy:"no-referrer",src:(a==null?void 0:a.image)||`https://api.dicebear.com/7.x/micah/svg?seed=${a==null?void 0:a.email}`,className:e("h-10 w-10 rounded-full border border-gray-300",i),draggable:!1}):n("div",{className:e("h-10 w-10 animate-pulse rounded-full border border-gray-300 bg-gray-100",i)})}function d({id:a}){return n("img",{src:`https://api.dicebear.com/7.x/shapes/svg?seed=${a}`,alt:"avatar",className:"h-10 w-10 rounded-full",draggable:!1})}export{l as a,d as b};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as i}from"./chunk-DBWJABJM.mjs";import{i as d}from"./chunk-5RLHKDBX.mjs";import{useMemo as b,useState as m}from"react";import{jsx as e,jsxs as a}from"react/jsx-runtime";function T({title:u,description:g,inputData:t,helpText:c,buttonText:f="Save Changes",disabledTooltip:s,handleSubmit:p}){let[r,y]=m(t.defaultValue),[l,n]=m(!1),x=b(()=>l||!r||r===t.defaultValue,[l,r,t.defaultValue]);return a("form",{onSubmit:async o=>{o.preventDefault(),n(!0),await p({[t.name]:r}),n(!1)},className:"rounded-lg border border-gray-200 bg-white",children:[a("div",{className:"relative flex flex-col space-y-6 p-5 sm:p-10",children:[a("div",{className:"flex flex-col space-y-3",children:[e("h2",{className:"text-xl font-medium",children:u}),e("p",{className:"text-sm text-gray-500",children:g})]}),typeof t.defaultValue=="string"?e("input",{...t,type:"text",required:!0,disabled:!!s,onChange:o=>y(o.target.value),className:d("w-full max-w-md rounded-md border border-gray-300 text-gray-900 placeholder-gray-300 focus:border-gray-500 focus:outline-none focus:ring-gray-500 sm:text-sm",{"cursor-not-allowed bg-gray-100 text-gray-400":s})}):e("div",{className:"h-[2.35rem] w-full max-w-md animate-pulse rounded-md bg-gray-200"})]}),a("div",{className:"flex items-center justify-between space-x-4 rounded-b-lg border-t border-gray-200 bg-gray-50 p-3 sm:px-10",children:[e("p",{className:"prose-sm prose-a:underline prose-a:underline-offset-4 hover:prose-a:text-gray-700 text-gray-500 transition-colors",dangerouslySetInnerHTML:{__html:c||""}}),e("div",{className:"shrink-0",children:e(i,{text:f,loading:l,disabled:x,disabledTooltip:s})})]})]})}export{T as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{i as C}from"./chunk-34VCRD7R.mjs";import{jsx as l,jsxs as t}from"react/jsx-runtime";function i({className:r}){return t("svg",{"aria-hidden":"true",className:C("h-4 w-4 animate-spin fill-gray-600 text-gray-200",r),viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[l("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),l("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]})}export{i as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{Command as s,useCommandState as y}from"cmdk";import{useEffect as v,useRef as x,useState as i}from"react";import{Check as w,ChevronDown as b,Search as N,X as C}from"lucide-react";import{jsx as a,jsxs as o}from"react/jsx-runtime";function k({items:d,name:p,placeholder:f,icon:g}){let r=x(null),[l,n]=i(!1),[u,c]=i(""),[h,m]=i(null);return v(()=>{let e=t=>{r.current&&!r.current.contains(t.target)&&n(!1)};if(l)return document.addEventListener("click",e),()=>document.removeEventListener("click",e)},[r,l]),o(s,{ref:r,className:"relative w-full",loop:!0,children:[o("div",{className:"group rounded-md border border-gray-300 bg-white px-1 focus-within:border-gray-500 focus-within:ring-1 focus-within:ring-gray-500",children:[a("div",{className:"absolute inset-y-0 left-0 flex items-center justify-center pl-3 text-gray-400",children:g||a(N,{className:"h-4 w-4 text-gray-400"})}),o("div",{className:"flex h-9 px-8",children:[a(()=>{let e=y(t=>t.filtered.count===0);return a(s.Input,{name:p||"input-select",placeholder:f||"Search...",autoFocus:l,onFocus:()=>n(!0),value:u,onValueChange:c,onKeyDown:t=>{t.key==="Escape"||t.key==="Enter"&&e?n(!1):t.key.match(/^[a-z0-9]$/i)&&!t.metaKey&&n(!0)},className:"block w-full rounded-md border-none px-0 text-gray-900 placeholder-gray-400 focus:outline-none focus:ring-0 sm:text-sm"})},{}),h?a("button",{onClick:()=>{m(null),c("")},className:"absolute inset-y-0 right-0 my-auto",children:a(C,{className:"h-7 w-7 pr-3 text-gray-400"})}):a(b,{className:"absolute inset-y-0 right-0 my-auto h-7 w-7 pr-3 text-gray-400 transition-all"})]})]}),l&&o(s.List,{className:"absolute z-20 mt-2 h-[calc(var(--cmdk-list-height)+17px)] max-h-[300px] w-full overflow-auto rounded-md border border-gray-200 bg-white p-2 shadow-md transition-all",children:[o(s.Empty,{className:"text-sm text-gray-600",children:['No results found for "',u,'"']}),d.map(e=>o(s.Item,{value:e.value,onSelect:()=>{m(e),n(!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-selected:bg-gray-100 aria-selected:text-gray-900",children:[e.value,a(w,{className:"invisible h-5 w-5 text-gray-500 aria-selected:visible"})]},e.id))]})]})}export{k as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as i}from"./chunk-G2CECZIR.mjs";import{i as d}from"./chunk-IMTRC5ZF.mjs";import{useMemo as b,useState as m}from"react";import{jsx as e,jsxs as a}from"react/jsx-runtime";function T({title:u,description:g,inputData:t,helpText:c,buttonText:f="Save Changes",disabledTooltip:s,handleSubmit:p}){let[r,y]=m(t.defaultValue),[l,n]=m(!1),x=b(()=>l||!r||r===t.defaultValue,[l,r,t.defaultValue]);return a("form",{onSubmit:async o=>{o.preventDefault(),n(!0),await p({[t.name]:r}),n(!1)},className:"rounded-lg border border-gray-200 bg-white",children:[a("div",{className:"relative flex flex-col space-y-6 p-5 sm:p-10",children:[a("div",{className:"flex flex-col space-y-3",children:[e("h2",{className:"text-xl font-medium",children:u}),e("p",{className:"text-sm text-gray-500",children:g})]}),typeof t.defaultValue=="string"?e("input",{...t,type:"text",required:!0,disabled:!!s,onChange:o=>y(o.target.value),className:d("w-full max-w-md rounded-md border border-gray-300 text-gray-900 placeholder-gray-300 focus:border-gray-500 focus:outline-none focus:ring-gray-500 sm:text-sm",{"cursor-not-allowed bg-gray-100 text-gray-400":s})}):e("div",{className:"h-[2.35rem] w-full max-w-md animate-pulse rounded-md bg-gray-200"})]}),a("div",{className:"flex items-center justify-between space-x-4 rounded-b-lg border-t border-gray-200 bg-gray-50 p-3 sm:px-10",children:[e("p",{className:"prose-sm prose-a:underline prose-a:underline-offset-4 hover:prose-a:text-gray-700 text-gray-500 transition-colors",dangerouslySetInnerHTML:{__html:c||""}}),e("div",{className:"shrink-0",children:e(i,{text:f,loading:l,disabled:x,disabledTooltip:s})})]})]})}export{T as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{b as s}from"./chunk-7PZZTFDI.mjs";import{a as b}from"./chunk-OPZEOYD3.mjs";import{i as a}from"./chunk-5RLHKDBX.mjs";import{jsx as t,jsxs as l}from"react/jsx-runtime";function x({text:n,variant:e="primary",className:u,loading:i,icon:g,shortcut:r,disabledTooltip:d,...o}){return d?t(s,{content:d,children:l("div",{className:"flex h-10 w-full cursor-not-allowed items-center justify-center space-x-2 rounded-md border border-gray-200 bg-gray-100 px-4 text-sm text-gray-400 transition-all focus:outline-none",children:[t("p",{children:n}),r&&t("kbd",{className:"hidden rounded bg-zinc-200 px-2 py-0.5 text-xs font-light text-gray-400 md:inline-block",children:r})]})}):l("button",{type:o.onClick?"button":"submit",className:a("group flex h-10 w-full items-center justify-center space-x-2 rounded-md border px-4 text-sm transition-all",o.disabled||i?"cursor-not-allowed border-gray-200 bg-gray-100 text-gray-400":{"border-black bg-black text-white hover:bg-white hover:text-black":e==="primary","border-gray-200 bg-white text-gray-600 hover:bg-gray-100":e==="secondary","border-transparent text-gray-500 hover:bg-gray-100":e==="outline","border-blue-500 bg-blue-500 text-white hover:bg-white hover:text-blue-500":e==="success","border-red-500 bg-red-500 text-white hover:bg-white hover:text-red-500":e==="danger"},u),disabled:o.disabled||i,...o,children:[i?t(b,{}):g||null,n&&t("p",{children:n}),r&&t("kbd",{className:a("hidden rounded px-2 py-0.5 text-xs font-light transition-all duration-75 md:inline-block",{"bg-gray-700 text-gray-400 group-hover:bg-gray-100 group-hover:text-gray-500":e==="primary","bg-gray-200 text-gray-400 group-hover:bg-gray-100 group-hover:text-gray-500":e==="secondary","bg-gray-100 text-gray-500 group-hover:bg-gray-200":e==="outline"}),children:r})]})}export{x as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{i}from"./chunk-GTMXLZMW.mjs";import*as e from"@radix-ui/react-checkbox";import{Check as m}from"lucide-react";import*as t from"react";import{jsx as o}from"react/jsx-runtime";var s=t.forwardRef(({className:r,...c},a)=>o(e.Root,{ref:a,className:i("peer h-5 w-5 shrink-0 rounded-md border border-gray-200 focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-blue-500",r),...c,children:o(e.Indicator,{className:"flex items-center justify-center",children:o(m,{className:"h-3 w-3 text-white"})})}));s.displayName=e.Root.displayName;export{s as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{d as s,e as p}from"./chunk-J7T2QKO4.mjs";import*as i from"@radix-ui/react-tooltip";import c from"linkify-react";import{HelpCircle as x}from"lucide-react";import d from"next/link";import{useState as f}from"react";import{jsx as e,jsxs as a}from"react/jsx-runtime";function N({children:t}){return e(i.Provider,{delayDuration:100,children:t})}function m({children:t,content:o,side:n="top"}){let[r,l]=f(!1);return a(i.Root,{open:r,onOpenChange:l,children:[e(i.Trigger,{asChild:!0,onClick:()=>{l(!0)},onBlur:()=>{l(!1)},children:t}),e(i.Portal,{children:e(i.Content,{sideOffset:8,side:n,className:"animate-slide-up-fade z-[99] items-center overflow-hidden rounded-md border border-gray-200 bg-white shadow-md",children:typeof o=="string"?e("span",{className:"block max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:o}):o})})]})}function T({title:t,cta:o,href:n,target:r,onClick:l}){return a("div",{className:"flex max-w-xs flex-col items-center space-y-3 p-4 text-center",children:[e("p",{className:"text-sm text-gray-700",children:t}),o&&(n?e(d,{href:n,...r?{target:r}:{},className:"mt-4 w-full rounded-md border border-black bg-black px-3 py-1.5 text-center text-sm text-white transition-all hover:bg-white hover:text-black",children:o}):l?e("button",{type:"button",className:"mt-4 w-full rounded-md border border-black bg-black px-3 py-1.5 text-center text-sm text-white transition-all hover:bg-white hover:text-black",onClick:l,children:o}):null)]})}function k({title:t,cta:o,href:n}){return a("div",{className:"max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:[t," ",e("a",{href:n,target:"_blank",rel:"noopener noreferrer",onClick:r=>r.stopPropagation(),className:"inline-flex text-gray-500 underline underline-offset-4 hover:text-gray-800",children:o})]})}function w({children:t}){return e("div",{className:"block max-w-md whitespace-pre-wrap px-4 py-2 text-center text-sm text-gray-700",children:e(c,{as:"p",options:{target:"_blank",rel:"noopener noreferrer nofollow",className:"underline underline-offset-4 text-gray-400 hover:text-gray-700"},children:t})})}function P({content:t}){return e(m,{content:t,children:e(x,{className:"h-4 w-4 text-gray-500"})})}function C({value:t,unit:o="total clicks",children:n,lastClicked:r}){return(!t||t<1e3)&&!r?n:e(m,{content:a("div",{className:"block max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:[a("p",{className:"text-sm font-semibold text-gray-700",children:[s(t||0,{full:!0})," ",o]}),r&&a("p",{className:"mt-1 text-xs text-gray-500",suppressHydrationWarning:!0,children:["Last clicked ",p(r,{withAgo:!0})]})]}),children:n})}export{N as a,m as b,T as c,k as d,w as e,P as f,C as g};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{g as t}from"./chunk-VFGWEEF6.mjs";import{cva as o}from"class-variance-authority";import{jsx as n}from"react/jsx-runtime";var i=o("max-w-fit rounded-full border px-2 py-px text-xs font-medium capitalize",{variants:{variant:{default:"border-gray-400 text-gray-500",violet:"border-violet-600 bg-violet-600 text-white",blue:"border-blue-500 bg-blue-500 text-white",sky:"border-sky-900 bg-sky-900 text-white",black:"border-black bg-black text-white",gray:"border-gray-200 bg-gray-100 text-gray-800",neutral:"border-gray-400 text-gray-500",rainbow:"bg-gradient-to-r from-violet-600 to-pink-600 text-white border-transparent"}},defaultVariants:{variant:"neutral"}});function g({className:e,variant:r,...a}){return n("span",{className:t(i({variant:r}),e),...a})}export{i as a,g as b};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{i as C}from"./chunk-GTMXLZMW.mjs";import{jsx as l,jsxs as t}from"react/jsx-runtime";function i({className:r}){return t("svg",{"aria-hidden":"true",className:C("h-4 w-4 animate-spin fill-gray-600 text-gray-200",r),viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[l("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),l("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]})}export{i as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{b as l}from"./chunk-7PZZTFDI.mjs";import{a as b}from"./chunk-OPZEOYD3.mjs";import{i as g}from"./chunk-5RLHKDBX.mjs";import{jsx as t,jsxs as s}from"react/jsx-runtime";function h({text:n,variant:e="primary",className:u,loading:d,icon:i,shortcut:r,disabledTooltip:a,...o}){return a?t(l,{content:a,children:s("div",{className:"flex h-10 w-full cursor-not-allowed items-center justify-center space-x-2 rounded-md border border-gray-200 bg-gray-100 px-4 text-sm text-gray-400 transition-all focus:outline-none",children:[t("p",{children:n}),r&&t("kbd",{className:"hidden rounded bg-zinc-200 px-2 py-0.5 text-xs font-light text-gray-400 md:inline-block",children:r})]})}):s("button",{type:o.onClick?"button":"submit",className:g("group flex h-10 w-full items-center justify-center space-x-2 rounded-md border px-4 text-sm transition-all",o.disabled||d?"cursor-not-allowed border-gray-200 bg-gray-100 text-gray-400":{"border-black bg-black text-white hover:bg-white hover:text-black":e==="primary","border-gray-200 bg-white text-gray-600 hover:bg-gray-100":e==="secondary","border-transparent text-gray-500 duration-75 hover:bg-gray-100":e==="outline","border-blue-500 bg-blue-500 text-white hover:bg-white hover:text-blue-500":e==="success","border-red-500 bg-red-500 text-white hover:bg-white hover:text-red-500":e==="danger","border-transparent bg-white text-red-500 hover:bg-red-600 hover:text-white":e==="danger-outline"},u),disabled:o.disabled||d,...o,children:[d?t(b,{}):i||null,n&&t("p",{className:"flex-1 text-left",children:n}),r&&t("kbd",{className:g("hidden rounded px-2 py-0.5 text-xs font-light transition-all duration-75 md:inline-block",{"bg-gray-700 text-gray-400 group-hover:bg-gray-100 group-hover:text-gray-500":e==="primary","bg-gray-200 text-gray-400 group-hover:bg-gray-100 group-hover:text-gray-500":e==="secondary","bg-gray-100 text-gray-500 group-hover:bg-gray-200":e==="outline","bg-red-100 text-red-600 group-hover:bg-red-500 group-hover:text-white":e==="danger-outline"}),children:r})]})}export{h as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{b as s}from"./chunk-7PZZTFDI.mjs";import{a as b}from"./chunk-OPZEOYD3.mjs";import{i as a}from"./chunk-5RLHKDBX.mjs";import{jsx as t,jsxs as l}from"react/jsx-runtime";function x({text:n,variant:e="primary",className:u,loading:i,icon:d,shortcut:r,disabledTooltip:g,...o}){return g?t(s,{content:g,children:l("div",{className:"flex h-10 w-full cursor-not-allowed items-center justify-center space-x-2 rounded-md border border-gray-200 bg-gray-100 px-4 text-sm text-gray-400 transition-all focus:outline-none",children:[t("p",{children:n}),r&&t("kbd",{className:"hidden rounded bg-zinc-200 px-2 py-0.5 text-xs font-light text-gray-400 md:inline-block",children:r})]})}):l("button",{type:o.onClick?"button":"submit",className:a("group flex h-10 w-full items-center justify-center space-x-2 rounded-md border px-4 text-sm transition-all",o.disabled||i?"cursor-not-allowed border-gray-200 bg-gray-100 text-gray-400":{"border-black bg-black text-white hover:bg-white hover:text-black":e==="primary","border-gray-200 bg-white text-gray-600 hover:bg-gray-100":e==="secondary","border-transparent text-gray-500 duration-75 hover:bg-gray-100":e==="outline","border-blue-500 bg-blue-500 text-white hover:bg-white hover:text-blue-500":e==="success","border-red-500 bg-red-500 text-white hover:bg-white hover:text-red-500":e==="danger"},u),disabled:o.disabled||i,...o,children:[i?t(b,{}):d||null,n&&t("p",{children:n}),r&&t("kbd",{className:a("hidden rounded px-2 py-0.5 text-xs font-light transition-all duration-75 md:inline-block",{"bg-gray-700 text-gray-400 group-hover:bg-gray-100 group-hover:text-gray-500":e==="primary","bg-gray-200 text-gray-400 group-hover:bg-gray-100 group-hover:text-gray-500":e==="secondary","bg-gray-100 text-gray-500 group-hover:bg-gray-200":e==="outline"}),children:r})]})}export{x as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{g as o}from"./chunk-VFGWEEF6.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{Command as n,useCommandState as h}from"cmdk";import{useEffect as g,useRef as v,useState as i}from"react";import{Check as x,ChevronDown as w,Search as b,X as N}from"lucide-react";import{jsx as e,jsxs as s}from"react/jsx-runtime";function C({items:d,placeholder:f,icon:p}){let r=v(null),[l,o]=i(!1),[c,u]=i(""),[y,m]=i(null);return g(()=>{let t=a=>{r.current&&!r.current.contains(a.target)&&o(!1)};if(l)return document.addEventListener("click",t),()=>document.removeEventListener("click",t)},[r,l]),s(n,{ref:r,className:"relative isolate w-full",loop:!0,children:[s("div",{className:"group rounded-md border border-gray-300 bg-white px-1 focus-within:border-gray-500 focus-within:ring-1 focus-within:ring-gray-500",children:[e("div",{className:"absolute inset-y-0 left-0 flex items-center justify-center pl-3 text-gray-400",children:p||e(b,{className:"h-4 w-4 text-gray-400"})}),s("div",{className:"flex h-9 px-8",children:[e(()=>{let t=h(a=>a.filtered.count===0);return e(n.Input,{placeholder:f||"Search...",autoFocus:l,onFocus:()=>o(!0),value:c,onValueChange:u,onKeyDown:a=>{a.key==="Escape"||a.key==="Enter"&&t?o(!1):a.key.match(/^[a-z0-9]$/i)&&!a.metaKey&&o(!0)},className:"block w-full rounded-md border-none px-0 text-gray-900 placeholder-gray-400 focus:outline-none focus:ring-0 sm:text-sm"})},{}),y?e("button",{onClick:()=>{m(null),u("")},className:"absolute inset-y-0 right-0 my-auto",children:e(N,{className:"h-7 w-7 pr-3 text-gray-400"})}):e(w,{className:"absolute inset-y-0 right-0 my-auto h-7 w-7 pr-3 text-gray-400 transition-all"})]})]}),l&&s(n.List,{className:"absolute z-20 mt-2 h-[calc(var(--cmdk-list-height)+17px)] max-h-[300px] w-full overflow-auto rounded-md border border-gray-200 bg-white p-2 shadow-md transition-all",children:[s(n.Empty,{className:"text-sm text-gray-600",children:['No results found for "',c,'"']}),d.map(t=>e(n.Item,{value:t.value,onSelect:()=>{m(t),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-selected:bg-gray-100 aria-selected:text-gray-900",children:e(x,{className:"invisible h-5 w-5 text-gray-500 aria-selected:visible"})},t.id))]})]})}export{C as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{b as c}from"./chunk-WIOVAFMS.mjs";import{i}from"./chunk-IMTRC5ZF.mjs";import*as t from"@radix-ui/react-switch";import{jsx as e}from"react/jsx-runtime";function f({fn:o,trackDimensions:l,thumbDimensions:d,thumbTranslate:r,checked:h=!0,loading:n=!1,disabled:a=!1,disabledTooltip:s}){return s?e(c,{content:s,children:e("div",{className:"radix-state-checked:bg-gray-300 relative inline-flex h-4 w-8 flex-shrink-0 cursor-not-allowed rounded-full border-2 border-transparent bg-gray-200",children:e("div",{className:"h-3 w-3 transform rounded-full bg-white shadow-lg"})})}):e(t.Root,{checked:h,name:"switch",...o&&{onCheckedChange:o},disabled:a,className:i(n||a?"cursor-not-allowed bg-gray-300":"radix-state-checked:bg-blue-500 radix-state-unchecked:bg-gray-200 cursor-pointer focus:outline-none focus-visible:ring focus-visible:ring-blue-500 focus-visible:ring-opacity-75","relative inline-flex h-4 w-8 flex-shrink-0 rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out",l),children:!n&&e(t.Thumb,{className:i(`radix-state-checked:${r}`,"radix-state-unchecked:translate-x-0","pointer-events-none h-3 w-3 translate-x-4 transform rounded-full bg-white shadow-lg ring-0 transition duration-200 ease-in-out",d,r)})})}export{f as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{i as a}from"./chunk-GTMXLZMW.mjs";import*as i from"@radix-ui/react-radio-group";import{Circle as p}from"lucide-react";import*as m from"react";import{jsx as e}from"react/jsx-runtime";var s=m.forwardRef(({className:o,...r},t)=>e(i.Root,{className:a("grid gap-2",o),...r,ref:t}));s.displayName=i.Root.displayName;var d=m.forwardRef(({className:o,...r},t)=>e(i.Item,{ref:t,className:a("border-primary text-primary ring-offset-background focus-visible:ring-ring aspect-square h-4 w-4 rounded-full border focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",o),...r,children:e(i.Indicator,{className:"flex items-center justify-center",children:e(p,{className:"h-2.5 w-2.5 fill-current text-current"})})}));d.displayName=i.Item.displayName;export{s as a,d as b};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as b}from"./chunk-A75RGEGE.mjs";import{g as x}from"./chunk-HYYV36TO.mjs";import{a as f}from"./chunk-LXWCAKW4.mjs";import{a as v}from"./chunk-FFEQJT42.mjs";import{a as l,b as g,h as p,i as c}from"./chunk-BKZVVF77.mjs";import*as i from"@radix-ui/react-navigation-menu";import s from"@vercel/analytics";import{ChevronDown as w}from"lucide-react";import r from"next/link";import{useParams as M,useSelectedLayoutSegment as P}from"next/navigation";import L from"swr";import{Fragment as R,jsx as e,jsxs as a}from"react/jsx-runtime";var C=[{name:"Customers",slug:"customers"},{name:"Pricing",slug:"pricing"},{name:"Enterprise",slug:"enterprise"},{name:"Blog",slug:"blog"},{name:"Changelog",slug:"changelog"}];function U(){let{domain:t="dub.co"}=M(),h=x(80),m=P(),d=m==="help",{data:u,isLoading:N}=L(t==="dub.co"&&"/api/auth/session",p,{dedupingInterval:6e4});return e("div",{className:c("sticky inset-x-0 top-0 z-30 w-full transition-all",{"border-b border-gray-200 bg-white/75 backdrop-blur-lg":h,"border-b border-gray-200 bg-white":m&&g.includes(m)}),children:e(f,{...d&&{className:"max-w-screen-lg"},children:a("div",{className:"flex h-14 items-center justify-between",children:[a("div",{className:"flex items-center space-x-4",children:[e(r,{href:t==="dub.co"?"/":"https://dub.co",...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:"logo"})}},children:e(v,{})}),d?a("div",{className:"flex items-center",children:[e("div",{className:"mr-3 h-5 border-l-2 border-gray-400"}),e(r,{href:"/help",className:"font-display text-lg font-bold text-gray-700",children:"Help Center"})]}):a(i.Root,{delayDuration:0,className:"relative hidden lg:block",children:[a(i.List,{className:"flex flex-row space-x-2 p-4",children:[a(i.Item,{children:[a(i.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",children:[e("p",{className:c("text-sm font-medium text-gray-500 transition-colors ease-out group-hover:text-black",{"text-black":m==="features"}),children:"Features"}),e(w,{className:"h-4 w-4 transition-all group-data-[state=open]:rotate-180"})]}),e(i.Content,{children:e("div",{className:"grid w-[32rem] grid-cols-2 gap-1 p-3",children:b.map(({slug:n,icon:o,title:k,shortTitle:y})=>a(r,{href:t==="dub.co"?`/${n}`:`https://dub.co/${n}`,...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:`navbar item (/${n})`})}},className:"rounded-lg p-3 transition-colors hover:bg-gray-100 active:bg-gray-200",children:[a("div",{className:"flex items-center space-x-2",children:[e(o,{className:"h-4 w-4 text-gray-700"}),e("p",{className:"text-sm font-medium text-gray-700",children:y})]}),e("p",{className:"mt-1 line-clamp-1 text-sm text-gray-500",children:k})]},n))})})]}),C.map(({name:n,slug:o})=>e(i.Item,{asChild:!0,children:e(r,{id:`nav-${o}`,href:t==="dub.co"?`/${o}`:`https://dub.co/${o}`,...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:`navbar item (${o})`})}},className:c("rounded-md px-3 py-2 text-sm font-medium text-gray-500 transition-colors ease-out hover:text-black",{"text-black":m===o}),children:n},o)},o))]}),e(i.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"})]})]}),e("div",{className:"hidden lg:block",children:u&&Object.keys(u).length>0?e(r,{href:l,className:"animate-fade-in rounded-full border border-black bg-black px-4 py-1.5 text-sm text-white transition-all hover:bg-white hover:text-black",children:"Dashboard"}):N?null:a(R,{children:[e(r,{href:`${l}/login`,...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,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",children:"Log in"}),e(r,{href:`${l}/register`,...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,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-white hover:text-black",children:"Sign Up"})]})})]})})})}export{C as a,U as b};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{i as e}from"./chunk-J7T2QKO4.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{i as a}from"./chunk-5RLHKDBX.mjs";import*as i from"@radix-ui/react-radio-group";import{Circle as p}from"lucide-react";import*as m from"react";import{jsx as e}from"react/jsx-runtime";var s=m.forwardRef(({className:o,...r},t)=>e(i.Root,{className:a("grid gap-2",o),...r,ref:t}));s.displayName=i.Root.displayName;var d=m.forwardRef(({className:o,...r},t)=>e(i.Item,{ref:t,className:a("border-primary text-primary ring-offset-background focus-visible:ring-ring aspect-square h-4 w-4 rounded-full border focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",o),...r,children:e(i.Indicator,{className:"flex items-center justify-center",children:e(p,{className:"h-2.5 w-2.5 fill-current text-current"})})}));d.displayName=i.Item.displayName;export{s as a,d as b};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{b as s}from"./chunk-EQWFZXMI.mjs";import{a as l}from"./chunk-FZNNPIKD.mjs";import{i as t}from"./chunk-GTMXLZMW.mjs";import{jsx as o,jsxs as u}from"react/jsx-runtime";function h({text:i,variant:e="primary",className:a,loading:g,icon:d,shortcut:r,disabledTooltip:b,...n}){return b?o(s,{content:b,children:u("div",{className:t("flex h-10 w-full cursor-not-allowed items-center justify-center space-x-2 rounded-md border border-gray-200 bg-gray-100 px-4 text-sm text-gray-400 transition-all focus:outline-none",{"border-transparent bg-transparent":e.endsWith("outline")},a),children:[d,o("p",{className:t(r&&"flex-1 text-left"),children:i}),r&&o("kbd",{className:t("hidden rounded bg-gray-200 px-2 py-0.5 text-xs font-light text-gray-400 md:inline-block",{"bg-gray-100":e.endsWith("outline")}),children:r})]})}):u("button",{type:n.onClick?"button":"submit",className:t("group flex h-10 w-full items-center justify-center space-x-2 rounded-md border px-4 text-sm transition-all",n.disabled||g?"cursor-not-allowed border-gray-200 bg-gray-100 text-gray-400":{"border-black bg-black text-white hover:bg-white hover:text-black":e==="primary","border-gray-200 bg-white text-gray-600 hover:bg-gray-100":e==="secondary","border-transparent text-gray-500 duration-75 hover:bg-gray-100":e==="outline","border-blue-500 bg-blue-500 text-white hover:bg-white hover:text-blue-500":e==="success","border-red-500 bg-red-500 text-white hover:bg-white hover:text-red-500":e==="danger","border-transparent bg-white text-red-500 hover:bg-red-600 hover:text-white":e==="danger-outline"},a),disabled:n.disabled||g,...n,children:[g?o(l,{}):d||null,o("p",{className:t(r&&"flex-1 text-left"),children:i}),r&&o("kbd",{className:t("hidden rounded px-2 py-0.5 text-xs font-light transition-all duration-75 md:inline-block",{"bg-gray-700 text-gray-400 group-hover:bg-gray-100 group-hover:text-gray-500":e==="primary","bg-gray-200 text-gray-400 group-hover:bg-gray-100 group-hover:text-gray-500":e==="secondary","bg-gray-100 text-gray-500 group-hover:bg-gray-200":e==="outline","bg-red-100 text-red-600 group-hover:bg-red-500 group-hover:text-white":e==="danger-outline"}),children:r})]})}export{h as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{Command as r,useCommandState as y}from"cmdk";import{useEffect as v,useRef as x,useState as p}from"react";import{Check as w,ChevronDown as b,Search as N,X as I}from"lucide-react";import{jsx as t,jsxs as s}from"react/jsx-runtime";function H({items:f,selectedItem:u,setSelectedItem:d,icon:g,inputData:o}){let l=x(null),[c,n]=p(!1),[i,m]=p("");v(()=>{let e=a=>{l.current&&!l.current.contains(a.target)&&n(!1)};if(c)return document.addEventListener("click",e),()=>document.removeEventListener("click",e)},[l,c]);let h=()=>{let e=y(a=>a.filtered.count===0);return t(r.Input,{placeholder:(o==null?void 0:o.placeholder)||"Search...",autoFocus:(o==null?void 0:o.autoFocus)||c,onFocus:()=>n(!0),value:i,onValueChange:m,onKeyDown:a=>{a.key==="Escape"?(a.preventDefault(),n(!1)):a.key==="Enter"&&e?n(!1):a.key.match(/^[a-z0-9]$/i)&&!a.metaKey&&n(!0)},className:"block w-full rounded-md border-none px-0 text-gray-900 placeholder-gray-400 focus:outline-none focus:ring-0 sm:text-sm"})};return s(r,{ref:l,className:"relative w-full",loop:!0,children:[s("div",{className:"group rounded-md border border-gray-300 bg-white px-1 focus-within:border-gray-500 focus-within:ring-1 focus-within:ring-gray-500",children:[t("div",{className:"inset-y-0 left-0 flex items-center justify-center pl-3 text-gray-400 sm:absolute",children:u?t("img",{src:u.image,alt:u.value,className:"h-4 w-4 rounded-full"}):g||t(N,{className:"h-4 w-4 text-gray-400"})}),s("div",{className:"flex h-9 px-8",children:[t(h,{}),i?t("button",{onClick:()=>{d(null),m("")},className:"inset-y-0 right-0 my-auto sm:absolute",children:t(I,{className:"h-7 w-7 pr-3 text-gray-400"})}):t(b,{className:"absolute inset-y-0 right-0 my-auto h-7 w-7 pr-3 text-gray-400 transition-all"})]})]}),c&&s(r.List,{className:"z-20 mt-2 h-[calc(var(--cmdk-list-height)+17px)] max-h-[300px] w-full overflow-auto rounded-md border border-gray-200 bg-white p-2 shadow-md transition-all sm:absolute",children:[s(r.Empty,{className:"px-4 py-2 text-sm text-gray-600",children:['No results found for "',i,'"']}),f.map(e=>s(r.Item,{value:e.value,onSelect:()=>{d(e),m(e.value),n(!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-selected:bg-gray-100 aria-selected:text-gray-900",children:[s("div",{className:"flex items-center space-x-2",children:[t("img",{src:e.image,alt:e.value,className:"h-4 w-4 rounded-full"}),t("p",{children:e.value})]}),t(w,{className:"invisible h-5 w-5 text-gray-500 aria-selected:visible"})]},e.id))]})]})}export{H as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{i as r}from"./chunk-GTMXLZMW.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 s,e as p}from"./chunk-GTMXLZMW.mjs";import*as i from"@radix-ui/react-tooltip";import c from"linkify-react";import{HelpCircle as x}from"lucide-react";import d from"next/link";import{useState as f}from"react";import{jsx as e,jsxs as a}from"react/jsx-runtime";function N({children:t}){return e(i.Provider,{delayDuration:100,children:t})}function m({children:t,content:o,side:n="top"}){let[r,l]=f(!1);return a(i.Root,{open:r,onOpenChange:l,children:[e(i.Trigger,{asChild:!0,onClick:()=>{l(!0)},onBlur:()=>{l(!1)},children:t}),e(i.Portal,{children:e(i.Content,{sideOffset:8,side:n,className:"animate-slide-up-fade z-[99] items-center overflow-hidden rounded-md border border-gray-200 bg-white shadow-md",children:typeof o=="string"?e("span",{className:"block max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:o}):o})})]})}function T({title:t,cta:o,href:n,target:r,onClick:l}){return a("div",{className:"flex max-w-xs flex-col items-center space-y-3 p-4 text-center",children:[e("p",{className:"text-sm text-gray-700",children:t}),o&&(n?e(d,{href:n,...r?{target:r}:{},className:"mt-4 w-full rounded-md border border-black bg-black px-3 py-1.5 text-center text-sm text-white transition-all hover:bg-white hover:text-black",children:o}):l?e("button",{type:"button",className:"mt-4 w-full rounded-md border border-black bg-black px-3 py-1.5 text-center text-sm text-white transition-all hover:bg-white hover:text-black",onClick:l,children:o}):null)]})}function k({title:t,cta:o,href:n}){return a("div",{className:"max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:[t," ",e("a",{href:n,target:"_blank",rel:"noopener noreferrer",onClick:r=>r.stopPropagation(),className:"inline-flex text-gray-500 underline underline-offset-4 hover:text-gray-800",children:o})]})}function w({children:t}){return e("div",{className:"block max-w-md whitespace-pre-wrap px-4 py-2 text-center text-sm text-gray-700",children:e(c,{as:"p",options:{target:"_blank",rel:"noopener noreferrer nofollow",className:"underline underline-offset-4 text-gray-400 hover:text-gray-700"},children:t})})}function P({content:t}){return e(m,{content:t,children:e(x,{className:"h-4 w-4 text-gray-500"})})}function C({value:t,unit:o="total clicks",children:n,lastClicked:r}){return(!t||t<1e3)&&!r?n:e(m,{content:a("div",{className:"block max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:[a("p",{className:"text-sm font-semibold text-gray-700",children:[s(t||0,{full:!0})," ",o]}),r&&a("p",{className:"mt-1 text-xs text-gray-500",suppressHydrationWarning:!0,children:["Last clicked ",p(r,{withAgo:!0})]})]}),children:n})}export{N as a,m as b,T as c,k as d,w as e,P as f,C as g};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as ve,b as we}from"./chunk-AUBFB4SI.mjs";var ie=ve((At,ae)=>{var I=1e3,L=I*60,M=L*60,E=M*24,ze=E*7,Ue=E*365.25;ae.exports=function(e,t){t=t||{};var r=typeof e;if(r==="string"&&e.length>0)return De(e);if(r==="number"&&isFinite(e))return t.long?Ge(e):Be(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function De(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*Ue;case"weeks":case"week":case"w":return r*ze;case"days":case"day":case"d":return r*E;case"hours":case"hour":case"hrs":case"hr":case"h":return r*M;case"minutes":case"minute":case"mins":case"min":case"m":return r*L;case"seconds":case"second":case"secs":case"sec":case"s":return r*I;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}function Be(e){var t=Math.abs(e);return t>=E?Math.round(e/E)+"d":t>=M?Math.round(e/M)+"h":t>=L?Math.round(e/L)+"m":t>=I?Math.round(e/I)+"s":e+"ms"}function Ge(e){var t=Math.abs(e);return t>=E?G(e,t,E,"day"):t>=M?G(e,t,M,"hour"):t>=L?G(e,t,L,"minute"):t>=I?G(e,t,I,"second"):e+" ms"}function G(e,t,r,o){var n=t>=r*1.5;return Math.round(e/r)+" "+o+(n?"s":"")}});var X=[{name:"Free",tagline:"For hobby & side projects",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,domains:3,tags:5,users:1},colors:{bg:"bg-black",text:"text-black"},cta:{text:"Start for free",href:"https://app.dub.co/register",color:"bg-black border-black hover:text-black"},featureTitle:"What's included:",features:[{text:"25 links/mo"},{text:"1K tracked clicks/mo"},{text:"30-day analytics retention"},{text:"3 custom domains"},{text:"1 user"},{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},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 border-blue-500 hover:text-blue-500"},featureTitle:"Everything in Free, plus:",features:[{text:"1,000 links/mo"},{text:"50K tracked clicks/mo"},{text:"1-year analytics retention"},{text:"10 custom domains"},{text:"5 users"},{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, link aliases, link monitoring etc."}]},{name:"Business",tagline:"For larger teams with increased usage",link:"https://dub.co/help/article/business-plan",price:{monthly:49,yearly:39,ids:["price_1LodLoAlJJEpqkPVJdwv5zrG","price_1LoyrCAlJJEpqkPVZ32BV3wm","price_1LodLoAlJJEpqkPV9rD0rlNL","price_1OTcRzAlJJEpqkPV6G9iP0Tb","price_1OZgmnAlJJEpqkPVOj4kV64R"]},limits:{links:5e3,clicks:25e4,domains:20,tags:150,users:15},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 border-sky-900 hover:text-sky-900"},featureTitle:"Everything in Pro, plus:",features:[{text:"5,000 links/mo"},{text:"250K tracked clicks/mo"},{text:"2-year analytics retention"},{text:"20 custom domains"},{text:"15 users"},{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"}},{text:"Event callbacks (Beta)",footnote:"Get notified when someone clicks on your links."}]},{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 border-violet-600 hover:text-violet-600"},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"}]}],ke=X.find(e=>e.name==="Free"),_e=X.filter(e=>e.name==="Pro"||e.name==="Business");var Ae=process.env.NEXT_PUBLIC_APP_NAME||"Dub.co",W=process.env.NEXT_PUBLIC_APP_SHORT_DOMAIN||"dub.sh",Pe=`https://${process.env.NEXT_PUBLIC_APP_DOMAIN}`,Ee=new Set([`app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"localhost:8888","localhost"]),Se=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",Ie=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.NGROK_URL||"http://localhost:8888",Le=new Set([`api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`api.${W}`,"api.localhost:8888"]),Me=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:"http://api.localhost:8888",Ce=new Set([`admin.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"admin.localhost:8888"]);var R="cl7pj5kq4006835rbjlt2ofka";var Te=["stats","changelog","terms","privacy","abuse"],Ne=[{id:"clce1z7ch00j0rbstbjufva4j",slug:W,verified:!0,primary:!0,archived:!1,target:`https://${process.env.NEXT_PUBLIC_APP_DOMAIN}`,type:"redirect",placeholder:"https://dub.co/help/article/what-is-dub",clicks:0,allowedHostnames:[],projectId:R},...process.env.NEXT_PUBLIC_IS_DUB?[{id:"clce1z7cs00y8rbstk4xtnj0k",slug:"chatg.pt",verified:!0,primary:!1,archived:!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"],projectId:R},{id:"cloxw8qtk000bjt08n9b812vs",slug:"amzn.id",verified:!0,primary:!1,archived:!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"],projectId:R},{id:"cloxw8y2u0003js08a7mqg1j8",slug:"spti.fi",verified:!0,primary:!1,archived:!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:R}]:[]],Re=[{name:"ChatGPT Link Shortener",slug:"chatgpt-link-shortener"},{name:"Amazon Link Shortener",slug:"amazon-link-shortener"},{name:"Spotify Link Shortener",slug:"spotify-link-shortener"},{name:"Metatags API",slug:"metatags"},{name:"QR Code API",slug:"qr-code"},{name:"Link Inspector",slug:"inspector"}];function Oe(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 le=we(ie(),1),Ve=(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,le.default)(r)}${t?" ago":""}`};var ce=e=>{try{return new URL(e),!0}catch{return!1}},je=e=>{if(ce(e))return new URL(e).toString();try{if(e.includes(".")&&!e.includes(" "))return new URL(`https://${e}`).toString()}catch{return null}};async function Fe(e,t){let r=await fetch(e,t);if(!r.ok){let o=await r.text(),n=new Error(o);throw n.status=r.status,n}return r.json()}function de(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=de(e[t]))&&(o&&(o+=" "),o+=r)}else for(r in e)e[r]&&(o&&(o+=" "),o+=r);return o}function ue(){for(var e,t,r=0,o="",n=arguments.length;r<n;r++)(e=arguments[r])&&(t=de(e))&&(o&&(o+=" "),o+=t);return o}var K="-";function Je(e){let t=$e(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;function n(a){let l=a.split(K);return l[0]===""&&l.length!==1&&l.shift(),fe(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 fe(e,t){var a;if(e.length===0)return t.classGroupId;let r=e[0],o=t.nextPart.get(r),n=o?fe(e.slice(1),o):void 0;if(n)return n;if(t.validators.length===0)return;let s=e.join(K);return(a=t.validators.find(({validator:l})=>l(s)))==null?void 0:a.classGroupId}var pe=/^\[(.+)\]$/;function qe(e){if(pe.test(e)){let t=pe.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}}function $e(e){let{theme:t,prefix:r}=e,o={nextPart:new Map,validators:[]};return We(Object.entries(e.classGroups),r).forEach(([s,a])=>{H(a,o,s,t)}),o}function H(e,t,r,o){e.forEach(n=>{if(typeof n=="string"){let s=n===""?t:me(t,n);s.classGroupId=r;return}if(typeof n=="function"){if(Xe(n)){H(n(o),t,r,o);return}t.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([s,a])=>{H(a,me(t,s),r,o)})})}function me(e,t){let r=e;return t.split(K).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r}function Xe(e){return e.isThemeGetter}function We(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 He(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 ge="!";function Ke(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 b=a[f];if(u===0){if(b===o&&(r||a.slice(f,f+n)===t)){l.push(a.slice(m,f)),m=f+n;continue}if(b==="/"){p=f;continue}}b==="["?u++:b==="]"&&u--}let g=l.length===0?a:a.substring(m),h=g.startsWith(ge),v=h?g.substring(1):g,P=p&&p>m?p-m:void 0;return{modifiers:l,hasImportantModifier:h,baseClassName:v,maybePostfixModifierPosition:P}}}function Qe(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 Ye(e){return{cache:He(e.cacheSize),splitModifiers:Ke(e),...Je(e)}}var Ze=/\s+/;function et(e,t){let{splitModifiers:r,getClassGroupId:o,getConflictingClassGroupIds:n}=t,s=new Set;return e.trim().split(Ze).map(a=>{let{modifiers:l,hasImportantModifier:u,baseClassName:m,maybePostfixModifierPosition:p}=r(a),g=o(p?m.substring(0,p):m),h=Boolean(p);if(!g){if(!p)return{isTailwindClass:!1,originalClassName:a};if(g=o(m),!g)return{isTailwindClass:!1,originalClassName:a};h=!1}let v=Qe(l).join(":"),P=u?v+ge:v;return{isTailwindClass:!0,modifierId:P,classGroupId:g,originalClassName:a,hasPostfixModifier:h}}).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(g=>s.add(l+g)),!0)}).reverse().map(a=>a.originalClassName).join(" ")}function tt(){let e=0,t,r,o="";for(;e<arguments.length;)(t=arguments[e++])&&(r=be(t))&&(o&&(o+=" "),o+=r);return o}function be(e){if(typeof e=="string")return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=be(e[o]))&&(r&&(r+=" "),r+=t);return r}function rt(e,...t){let r,o,n,s=a;function a(u){let m=t.reduce((p,g)=>g(p),e());return r=Ye(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=et(u,r);return n(u,p),p}return function(){return s(tt.apply(null,arguments))}}function c(e){let t=r=>r[e]||[];return t.isThemeGetter=!0,t}var he=/^\[(?:([a-z-]+):)?(.+)\]$/i,ot=/^\d+\/\d+$/,st=new Set(["px","full","screen"]),nt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,at=/\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$/,it=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,lt=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ct=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function x(e){return S(e)||st.has(e)||ot.test(e)}function k(e){return C(e,"length",ht)}function S(e){return Boolean(e)&&!Number.isNaN(Number(e))}function V(e){return C(e,"number",S)}function O(e){return Boolean(e)&&Number.isInteger(Number(e))}function dt(e){return e.endsWith("%")&&S(e.slice(0,-1))}function i(e){return he.test(e)}function _(e){return nt.test(e)}var ut=new Set(["length","size","percentage"]);function pt(e){return C(e,ut,ye)}function mt(e){return C(e,"position",ye)}var ft=new Set(["image","url"]);function gt(e){return C(e,ft,xt)}function bt(e){return C(e,"",yt)}function z(){return!0}function C(e,t,r){let o=he.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):r(o[2]):!1}function ht(e){return at.test(e)&&!it.test(e)}function ye(){return!1}function yt(e){return lt.test(e)}function xt(e){return ct.test(e)}function vt(){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"),g=c("invert"),h=c("gap"),v=c("gradientColorStops"),P=c("gradientColorStopPositions"),f=c("inset"),b=c("margin"),w=c("opacity"),y=c("padding"),Q=c("saturate"),j=c("scale"),Y=c("sepia"),Z=c("skew"),ee=c("space"),te=c("translate"),F=()=>["auto","contain","none"],J=()=>["auto","hidden","clip","visible","scroll"],q=()=>["auto",i,t],d=()=>[i,t],re=()=>["",x,k],U=()=>["auto",S,i],oe=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],D=()=>["solid","dashed","dotted","double","none"],se=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"],$=()=>["start","end","center","between","around","evenly","stretch"],T=()=>["","0",i],ne=()=>["auto","avoid","all","avoid-page","page","left","right","column"],N=()=>[S,V],B=()=>[S,i];return{cacheSize:500,separator:":",theme:{colors:[z],spacing:[x,k],blur:["none","",_,i],brightness:N(),borderColor:[e],borderRadius:["none","","full",_,i],borderSpacing:d(),borderWidth:re(),contrast:N(),grayscale:T(),hueRotate:B(),invert:T(),gap:d(),gradientColorStops:[e],gradientColorStopPositions:[dt,k],inset:q(),margin:q(),opacity:N(),padding:d(),saturate:N(),scale:N(),sepia:T(),skew:B(),space:d(),translate:d()},classGroups:{aspect:[{aspect:["auto","square","video",i]}],container:["container"],columns:[{columns:[_]}],"break-after":[{"break-after":ne()}],"break-before":[{"break-before":ne()}],"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:[...oe(),i]}],overflow:[{overflow:J()}],"overflow-x":[{"overflow-x":J()}],"overflow-y":[{"overflow-y":J()}],overscroll:[{overscroll:F()}],"overscroll-x":[{"overscroll-x":F()}],"overscroll-y":[{"overscroll-y":F()}],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",O,i]}],basis:[{basis:q()}],"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:T()}],shrink:[{shrink:T()}],order:[{order:["first","last","none",O,i]}],"grid-cols":[{"grid-cols":[z]}],"col-start-end":[{col:["auto",{span:["full",O,i]},i]}],"col-start":[{"col-start":U()}],"col-end":[{"col-end":U()}],"grid-rows":[{"grid-rows":[z]}],"row-start-end":[{row:["auto",{span:[O,i]},i]}],"row-start":[{"row-start":U()}],"row-end":[{"row-end":U()}],"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:[h]}],"gap-x":[{"gap-x":[h]}],"gap-y":[{"gap-y":[h]}],"justify-content":[{justify:["normal",...$()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...$(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...$(),"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:[b]}],mx:[{mx:[b]}],my:[{my:[b]}],ms:[{ms:[b]}],me:[{me:[b]}],mt:[{mt:[b]}],mr:[{mr:[b]}],mb:[{mb:[b]}],ml:[{ml:[b]}],"space-x":[{"space-x":[ee]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[ee]}],"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:[_]},_]}],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]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",V]}],"font-family":[{font:[z]}],"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",S,V]}],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:[...D(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",x,k]}],"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:[...oe(),mt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",pt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},gt]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[P]}],"gradient-via-pos":[{via:[P]}],"gradient-to-pos":[{to:[P]}],"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:[...D(),"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:D()}],"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:["",...D()]}],"outline-offset":[{"outline-offset":[x,i]}],"outline-w":[{outline:[x,k]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:re()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[w]}],"ring-offset-w":[{"ring-offset":[x,k]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",_,bt]}],"shadow-color":[{shadow:[z]}],opacity:[{opacity:[w]}],"mix-blend":[{"mix-blend":se()}],"bg-blend":[{"bg-blend":se()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",_,i]}],grayscale:[{grayscale:[m]}],"hue-rotate":[{"hue-rotate":[p]}],invert:[{invert:[g]}],saturate:[{saturate:[Q]}],sepia:[{sepia:[Y]}],"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":[g]}],"backdrop-opacity":[{"backdrop-opacity":[w]}],"backdrop-saturate":[{"backdrop-saturate":[Q]}],"backdrop-sepia":[{"backdrop-sepia":[Y]}],"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:B()}],ease:[{ease:["linear","in","out","in-out",i]}],delay:[{delay:B()}],animate:[{animate:["none","spin","ping","pulse","bounce",i]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[j]}],"scale-x":[{"scale-x":[j]}],"scale-y":[{"scale-y":[j]}],rotate:[{rotate:[O,i]}],"translate-x":[{"translate-x":[te]}],"translate-y":[{"translate-y":[te]}],"skew-x":[{"skew-x":[Z]}],"skew-y":[{"skew-y":[Z]}],"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,k,V]}],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 xe=rt(vt);function wt(...e){return xe(ue(e))}export{Se as a,Te as b,Re as c,Oe as d,Ve as e,je as f,Fe as g,wt as h,A as i};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{b as s}from"./chunk-7PZZTFDI.mjs";import{a as g}from"./chunk-OPZEOYD3.mjs";import{i as a}from"./chunk-5RLHKDBX.mjs";import{jsx as t,jsxs as l}from"react/jsx-runtime";function x({text:n,variant:e="primary",loading:i,icon:d,shortcut:o,disabledTooltip:b,...r}){return b?t(s,{content:b,children:l("div",{className:"flex h-10 w-full cursor-not-allowed items-center justify-center space-x-2 rounded-md border border-gray-200 bg-gray-100 px-4 text-sm text-gray-400 transition-all focus:outline-none",children:[t("p",{children:n}),o&&t("kbd",{className:"hidden rounded bg-zinc-200 px-2 py-0.5 text-xs font-light text-gray-400 md:inline-block",children:o})]})}):l("button",{type:r.onClick?"button":"submit",className:a("group flex h-10 w-full items-center justify-center space-x-2 rounded-md border px-4 text-sm transition-all",r.disabled||i?"cursor-not-allowed border-gray-200 bg-gray-100 text-gray-400":{"border-black bg-black text-white hover:bg-white hover:text-black":e==="primary","border-gray-200 bg-white text-gray-600 hover:bg-gray-100":e==="secondary","border-transparent text-gray-500 hover:bg-gray-100":e==="outline","border-blue-500 bg-blue-500 text-white hover:bg-white hover:text-blue-500":e==="success","border-red-500 bg-red-500 text-white hover:bg-white hover:text-red-500":e==="danger"},r.className),disabled:r.disabled||i,...r,children:[i?t(g,{}):d||null,n&&t("p",{children:n}),o&&t("kbd",{className:a("hidden rounded px-2 py-0.5 text-xs font-light md:inline-block",{"bg-gray-700 text-gray-400 group-hover:bg-gray-100 group-hover:text-gray-500":e==="primary","bg-gray-200 text-gray-400 group-hover:bg-gray-100 group-hover:text-gray-500":e==="secondary"}),children:o})]})}export{x as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as m}from"./chunk-EPG5O752.mjs";import{i}from"./chunk-GTMXLZMW.mjs";import{useMemo as x,useState as u}from"react";import{jsx as e,jsxs as r}from"react/jsx-runtime";function M({title:g,description:c,inputAttrs:a,helpText:s,buttonText:f="Save Changes",disabledTooltip:o,handleSubmit:p}){let[t,y]=u(a.defaultValue),[l,d]=u(!1),b=x(()=>l||!t||t===a.defaultValue,[l,t,a.defaultValue]);return r("form",{onSubmit:async n=>{n.preventDefault(),d(!0),await p({[a.name]:t}),d(!1)},className:"rounded-lg border border-gray-200 bg-white",children:[r("div",{className:"relative flex flex-col space-y-6 p-5 sm:p-10",children:[r("div",{className:"flex flex-col space-y-3",children:[e("h2",{className:"text-xl font-medium",children:g}),e("p",{className:"text-sm text-gray-500",children:c})]}),typeof a.defaultValue=="string"?e("input",{...a,type:"text",required:!0,disabled:!!o,onChange:n=>y(n.target.value),className:i("w-full max-w-md rounded-md border border-gray-300 text-gray-900 placeholder-gray-300 focus:border-gray-500 focus:outline-none focus:ring-gray-500 sm:text-sm",{"cursor-not-allowed bg-gray-100 text-gray-400":o})}):e("div",{className:"h-[2.35rem] w-full max-w-md animate-pulse rounded-md bg-gray-200"})]}),r("div",{className:"flex items-center justify-between space-x-4 rounded-b-lg border-t border-gray-200 bg-gray-50 p-3 sm:px-10",children:[typeof s=="string"?e("p",{className:"prose-sm prose-a:underline prose-a:underline-offset-4 hover:prose-a:text-gray-700 text-gray-500 transition-colors",dangerouslySetInnerHTML:{__html:s||""}}):s,e("div",{className:"shrink-0",children:e(m,{text:f,loading:l,disabled:b,disabledTooltip:o})})]})]})}export{M as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{i as l}from"./chunk-IMTRC5ZF.mjs";import{motion as n}from"framer-motion";import{jsx as e,jsxs as o}from"react/jsx-runtime";function m({options:i,selected:r,selectAction:a}){return e("div",{className:"relative inline-flex items-center space-x-1",children:i.map(t=>o("button",{className:l("relative z-10 px-3 py-1 text-sm font-medium capitalize",{"transition-all hover:text-gray-500":t!==r}),onClick:()=>a(t),children:[e("p",{children:t}),t===r&&e(n.div,{layoutId:i.join("-"),className:"absolute left-0 top-0 h-full w-full rounded-lg border border-gray-200 bg-gray-50",style:{zIndex:-1},transition:{duration:.25}})]},t))})}export{m as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as b}from"./chunk-A75RGEGE.mjs";import{g as x}from"./chunk-HYYV36TO.mjs";import{a as f}from"./chunk-GM3UACTG.mjs";import{a as v}from"./chunk-RDD7MTCK.mjs";import{a as l,b as g,h as p,i as c}from"./chunk-J7T2QKO4.mjs";import*as i from"@radix-ui/react-navigation-menu";import s from"@vercel/analytics";import{ChevronDown as w}from"lucide-react";import r from"next/link";import{useParams as M,useSelectedLayoutSegment as P}from"next/navigation";import L from"swr";import{Fragment as R,jsx as e,jsxs as a}from"react/jsx-runtime";var C=[{name:"Customers",slug:"customers"},{name:"Pricing",slug:"pricing"},{name:"Enterprise",slug:"enterprise"},{name:"Blog",slug:"blog"},{name:"Changelog",slug:"changelog"}];function U(){let{domain:t="dub.co"}=M(),h=x(80),m=P(),d=m==="help",{data:u,isLoading:N}=L(t==="dub.co"&&"/api/auth/session",p,{dedupingInterval:6e4});return e("div",{className:c("sticky inset-x-0 top-0 z-30 w-full transition-all",{"border-b border-gray-200 bg-white/75 backdrop-blur-lg":h,"border-b border-gray-200 bg-white":m&&g.includes(m)}),children:e(f,{...d&&{className:"max-w-screen-lg"},children:a("div",{className:"flex h-14 items-center justify-between",children:[a("div",{className:"flex items-center space-x-4",children:[e(r,{href:t==="dub.co"?"/":"https://dub.co",...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:"logo"})}},children:e(v,{})}),d?a("div",{className:"flex items-center",children:[e("div",{className:"mr-3 h-5 border-l-2 border-gray-400"}),e(r,{href:"/help",className:"font-display text-lg font-bold text-gray-700",children:"Help Center"})]}):a(i.Root,{delayDuration:0,className:"relative hidden lg:block",children:[a(i.List,{className:"flex flex-row space-x-2 p-4",children:[a(i.Item,{children:[a(i.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",children:[e("p",{className:c("text-sm font-medium text-gray-500 transition-colors ease-out group-hover:text-black",{"text-black":m==="features"}),children:"Features"}),e(w,{className:"h-4 w-4 transition-all group-data-[state=open]:rotate-180"})]}),e(i.Content,{children:e("div",{className:"grid w-[32rem] grid-cols-2 gap-1 p-3",children:b.map(({slug:n,icon:o,title:k,shortTitle:y})=>a(r,{href:t==="dub.co"?`/${n}`:`https://dub.co/${n}`,...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:`navbar item (/${n})`})}},className:"rounded-lg p-3 transition-colors hover:bg-gray-100 active:bg-gray-200",children:[a("div",{className:"flex items-center space-x-2",children:[e(o,{className:"h-4 w-4 text-gray-700"}),e("p",{className:"text-sm font-medium text-gray-700",children:y})]}),e("p",{className:"mt-1 line-clamp-1 text-sm text-gray-500",children:k})]},n))})})]}),C.map(({name:n,slug:o})=>e(i.Item,{asChild:!0,children:e(r,{id:`nav-${o}`,href:t==="dub.co"?`/${o}`:`https://dub.co/${o}`,...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:`navbar item (${o})`})}},className:c("rounded-md px-3 py-2 text-sm font-medium text-gray-500 transition-colors ease-out hover:text-black",{"text-black":m===o}),children:n},o)},o))]}),e(i.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"})]})]}),e("div",{className:"hidden lg:block",children:u&&Object.keys(u).length>0?e(r,{href:l,className:"animate-fade-in rounded-full border border-black bg-black px-4 py-1.5 text-sm text-white transition-all hover:bg-white hover:text-black",children:"Dashboard"}):N?null:a(R,{children:[e(r,{href:`${l}/login`,...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,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",children:"Log in"}),e(r,{href:`${l}/register`,...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,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-white hover:text-black",children:"Sign Up"})]})})]})})})}export{C as a,U as b};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{i as e}from"./chunk-GTMXLZMW.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{b as s}from"./chunk-WIOVAFMS.mjs";import{a as u}from"./chunk-233KTWN5.mjs";import{i as g}from"./chunk-IMTRC5ZF.mjs";import{jsx as o,jsxs as l}from"react/jsx-runtime";function m({text:b,variant:e="primary",className:h,loading:n,icon:d,shortcut:i,disabledTooltip:t,...r}){let a=l(t?"div":"button",{type:r.onClick?"button":"submit",className:g("group flex h-10 w-full items-center justify-center space-x-2 rounded-md border px-4 text-sm transition-all",r.disabled||n?`cursor-not-allowed text-gray-400 ${e.endsWith("outline")?"border-transparent bg-transparent":"border-gray-200 bg-gray-100"}`:{"border-black bg-black text-white hover:bg-white hover:text-black":e==="primary","border-gray-200 bg-white text-gray-600 hover:bg-gray-100":e==="secondary","border-transparent text-gray-500 duration-75 hover:bg-gray-100":e==="outline","border-blue-500 bg-blue-500 text-white hover:bg-white hover:text-blue-500":e==="success","border-red-500 bg-red-500 text-white hover:bg-white hover:text-red-500":e==="danger","border-transparent bg-white text-red-500 hover:bg-red-600 hover:text-white":e==="danger-outline"},h),disabled:t?!0:r.disabled||n,...r,children:[n?o(u,{}):d||null,b&&o("p",{children:b}),i&&o("kbd",{className:g("hidden rounded px-2 py-0.5 text-xs font-light transition-all duration-75 md:inline-block",{"bg-gray-700 text-gray-400 group-hover:bg-gray-100 group-hover:text-gray-500":e==="primary","bg-gray-200 text-gray-400 group-hover:bg-gray-100 group-hover:text-gray-500":e==="secondary","bg-gray-100 text-gray-500 group-hover:bg-gray-200":e==="outline","bg-red-100 text-red-600 group-hover:bg-red-500 group-hover:text-white":e==="danger-outline"}),children:i})]});return t?o(s,{content:t,children:a}):a}export{m as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as p}from"./chunk-A75RGEGE.mjs";import{a as f}from"./chunk-YJGCLKYZ.mjs";import{a as g}from"./chunk-VWVFVW4E.mjs";import{a as n}from"./chunk-WK42L2U3.mjs";import{a as c}from"./chunk-T4YFARK5.mjs";import{a as d}from"./chunk-5EWSH7PD.mjs";import{c as i}from"./chunk-IMTRC5ZF.mjs";import o from"@vercel/analytics";import m from"next/link";import{useParams as h}from"next/navigation";import{jsx as e,jsxs as r}from"react/jsx-runtime";var l={features:p.map(({shortTitle:t,slug:s})=>({name:t,href:`/${s}`})),product:[{name:"Blog",href:"/blog"},{name:"Changelog",href:"/changelog"},{name:"Customer Stories",href:"/customers"},{name:"Pricing",href:"/pricing"},{name:"Enterprise",href:"/enterprise"},{name:"Help Center",href:"/help"}],legal:[{name:"Privacy",href:"/privacy"},{name:"Terms",href:"/terms"},{name:"Abuse",href:"/abuse"}],tools:i.map(({name:t,slug:s})=>({name:t,href:`/tools/${s}`}))};function L(){let{domain:t="dub.co"}=h(),s=a=>t==="dub.co"?a:`https://dub.co${a}`;return e("footer",{className:"z-10 border-t border-gray-200 bg-white/50 py-8 backdrop-blur-lg",children:r(f,{className:"pt-10",children:[r("div",{className:"xl:grid xl:grid-cols-3 xl:gap-8",children:[r("div",{className:"space-y-8",children:[r(m,{href:s("/"),...t!=="dub.co"&&{onClick:()=>{o.track("Referred from custom domain",{domain:t,medium:"footer item (logo)"})}},children:[r("span",{className:"sr-only",children:[process.env.NEXT_PUBLIC_APP_NAME," Logo"]}),e(n,{className:"h-7 text-gray-600"})]}),e("p",{className:"max-w-xs text-sm text-gray-500",children:"Giving modern marketing teams superpowers with short links that stand out."}),r("div",{className:"flex items-center space-x-2",children:[r("a",{href:"https://twitter.com/dubdotco",target:"_blank",rel:"noreferrer",className:"group rounded-md p-2 transition-colors hover:bg-gray-100 active:bg-gray-200",children:[e("span",{className:"sr-only",children:"Twitter"}),e(g,{className:"h-5 w-5 text-gray-600"})]}),e("div",{className:"h-8 border-l border-gray-200"}),r("a",{href:"https://github.com/dubinc/dub",target:"_blank",rel:"noreferrer",className:"rounded-md p-2 transition-colors hover:bg-gray-100 active:bg-gray-200",children:[e("span",{className:"sr-only",children:"Github"}),e(c,{className:"h-5 w-5 text-gray-600"})]}),e("div",{className:"h-8 border-l border-gray-200"}),r("a",{href:"https://www.linkedin.com/company/dubinc/",target:"_blank",rel:"noreferrer",className:"rounded-md p-2 transition-colors hover:bg-gray-100 active:bg-gray-200",children:[e("span",{className:"sr-only",children:"LinkedIn"}),e(d,{className:"h-5 w-5",fill:"#52525B"})]})]})]}),r("div",{className:"mt-16 grid grid-cols-2 gap-4 xl:col-span-2 xl:mt-0",children:[r("div",{className:"md:grid md:grid-cols-2",children:[r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-900",children:"Features"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:l.features.map(a=>e("li",{children:e(m,{href:s(a.href),...t!=="dub.co"&&{onClick:()=>{o.track("Referred from custom domain",{domain:t,medium:`footer item (${a.name})`})}},className:"text-sm text-gray-500 hover:text-gray-900",children:a.name})},a.name))})]}),r("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-600",children:"Product"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:l.product.map(a=>e("li",{children:e(m,{href:s(a.href),...t!=="dub.co"&&{onClick:()=>{o.track("Referred from custom domain",{domain:t,medium:`footer item (${a.name})`})}},className:"text-sm text-gray-500 hover:text-gray-900",children:a.name})},a.name))})]})]}),r("div",{className:"md:grid md:grid-cols-2",children:[r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-600",children:"Legal"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:l.legal.map(a=>e("li",{children:e(m,{href:s(a.href),...t!=="dub.co"&&{onClick:()=>{o.track("Referred from custom domain",{domain:t,medium:`footer item (${a.name})`})}},className:"text-sm text-gray-500 hover:text-gray-900",children:a.name})},a.name))})]}),r("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-600",children:"Tools"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:l.tools.map(a=>e("li",{children:e(m,{href:s(a.href),...t!=="dub.co"&&{onClick:()=>{o.track("Referred from custom domain",{domain:t,medium:`footer item (${a.name})`})}},className:"text-sm text-gray-500 hover:text-gray-900",children:a.name})},a.name))})]})]})]})]}),e("div",{className:"mt-16 border-t border-gray-900/10 pt-8 sm:mt-20 lg:mt-24",children:r("p",{className:"text-sm leading-5 text-gray-500",children:["\xA9 ",new Date().getFullYear()," ",process.env.NEXT_PUBLIC_APP_NAME,", Inc."]})})]})})}export{L as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{b as s}from"./chunk-WIOVAFMS.mjs";import{a as l}from"./chunk-233KTWN5.mjs";import{i as t}from"./chunk-IMTRC5ZF.mjs";import{jsx as o,jsxs as u}from"react/jsx-runtime";function h({text:i,variant:e="primary",className:a,loading:g,icon:d,shortcut:r,disabledTooltip:b,...n}){return b?o(s,{content:b,children:u("div",{className:t("flex h-10 w-full cursor-not-allowed items-center justify-center space-x-2 rounded-md border border-gray-200 bg-gray-100 px-4 text-sm text-gray-400 transition-all focus:outline-none",{"border-transparent bg-transparent":e.endsWith("outline")},a),children:[d,o("p",{className:t(r&&"flex-1"),children:i}),r&&o("kbd",{className:t("hidden rounded bg-gray-200 px-2 py-0.5 text-xs font-light text-gray-400 md:inline-block",{"bg-gray-100":e.endsWith("outline")}),children:r})]})}):u("button",{type:n.onClick?"button":"submit",className:t("group flex h-10 w-full items-center justify-center space-x-2 rounded-md border px-4 text-sm transition-all",n.disabled||g?"cursor-not-allowed border-gray-200 bg-gray-100 text-gray-400":{"border-black bg-black text-white hover:bg-white hover:text-black":e==="primary","border-gray-200 bg-white text-gray-600 hover:bg-gray-100":e==="secondary","border-transparent text-gray-500 duration-75 hover:bg-gray-100":e==="outline","border-blue-500 bg-blue-500 text-white hover:bg-white hover:text-blue-500":e==="success","border-red-500 bg-red-500 text-white hover:bg-white hover:text-red-500":e==="danger","border-transparent bg-white text-red-500 hover:bg-red-600 hover:text-white":e==="danger-outline"},a),disabled:n.disabled||g,...n,children:[g?o(l,{}):d||null,o("p",{className:t(r&&"flex-1"),children:i}),r&&o("kbd",{className:t("hidden rounded px-2 py-0.5 text-xs font-light transition-all duration-75 md:inline-block",{"bg-gray-700 text-gray-400 group-hover:bg-gray-100 group-hover:text-gray-500":e==="primary","bg-gray-200 text-gray-400 group-hover:bg-gray-100 group-hover:text-gray-500":e==="secondary","bg-gray-100 text-gray-500 group-hover:bg-gray-200":e==="outline","bg-red-100 text-red-600 group-hover:bg-red-500 group-hover:text-white":e==="danger-outline"}),children:r})]})}export{h as a};
|