@dub/ui 0.1.61 → 0.1.63
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/accordion.mjs +1 -1
- package/dist/alert.mjs +1 -1
- package/dist/animated-size-container.d.ts +7 -7
- package/dist/animated-size-container.mjs +1 -1
- package/dist/avatar.mjs +1 -1
- package/dist/badge.mjs +1 -1
- package/dist/blur-image.mjs +1 -1
- package/dist/button.d.ts +1 -1
- package/dist/button.mjs +1 -1
- package/dist/card-list/card-list-card.mjs +1 -1
- package/dist/card-list/card-list.mjs +1 -1
- package/dist/carousel.mjs +1 -1
- package/dist/checkbox.mjs +1 -1
- package/dist/chunk-24FZHMUR.mjs +2 -0
- package/dist/chunk-24VKDXNY.mjs +2 -0
- package/dist/chunk-2A2X4MB5.mjs +2 -0
- package/dist/chunk-2CAOXWMS.mjs +2 -0
- package/dist/chunk-2DRA56DT.mjs +2 -0
- package/dist/chunk-2IVBNILB.mjs +6 -0
- package/dist/chunk-2NOS3JIJ.mjs +2 -0
- package/dist/chunk-2NYHNUVN.mjs +2 -0
- package/dist/chunk-2QQZCDLG.mjs +2 -0
- package/dist/chunk-2RNJXJNC.mjs +2 -0
- package/dist/chunk-2TZWS3JQ.mjs +2 -0
- package/dist/chunk-3FCJMXWB.mjs +2 -0
- package/dist/chunk-3IEYYM3P.mjs +6 -0
- package/dist/chunk-3ITB2VNJ.mjs +2 -0
- package/dist/chunk-3MNNMMX3.mjs +2 -0
- package/dist/chunk-3QTUO6Z4.mjs +2 -0
- package/dist/chunk-3QWTC3RF.mjs +2 -0
- package/dist/chunk-3VZ7G4KP.mjs +2 -0
- package/dist/chunk-3XQHO73N.mjs +2 -0
- package/dist/chunk-3YSICMVK.mjs +6 -0
- package/dist/chunk-46A5DZU6.mjs +2 -0
- package/dist/chunk-47N2EIBK.mjs +2 -0
- package/dist/chunk-4A7C7W5O.mjs +2 -0
- package/dist/chunk-4AU6LSVF.mjs +2 -0
- package/dist/chunk-4FYEEEYO.mjs +2 -0
- package/dist/chunk-4GNEYNVU.mjs +2 -0
- package/dist/chunk-4MPUVSLU.mjs +2 -0
- package/dist/chunk-4MWFGGKN.mjs +2 -0
- package/dist/chunk-4NVSXEFD.mjs +2 -0
- package/dist/chunk-4YPRE64N.mjs +2 -0
- package/dist/chunk-54NWYMUV.mjs +2 -0
- package/dist/chunk-552UU7TH.mjs +2 -0
- package/dist/chunk-562X2L6C.mjs +2 -0
- package/dist/chunk-57P2OXOS.mjs +2 -0
- package/dist/chunk-5B5YNJWP.mjs +2 -0
- package/dist/chunk-5BZ3GYDV.mjs +2 -0
- package/dist/chunk-5C6YSGD3.mjs +2 -0
- package/dist/chunk-5G6WIETO.mjs +2 -0
- package/dist/chunk-5IQU72QI.mjs +6 -0
- package/dist/chunk-5JA2HYOQ.mjs +2 -0
- package/dist/chunk-5OCD5DGL.mjs +2 -0
- package/dist/chunk-5RTA7MHL.mjs +2 -0
- package/dist/chunk-5WETDUAN.mjs +2 -0
- package/dist/chunk-5WW3CD6L.mjs +2 -0
- package/dist/chunk-62UWETUV.mjs +2 -0
- package/dist/chunk-63VSLYV2.mjs +2 -0
- package/dist/chunk-6B6GKNIN.mjs +6 -0
- package/dist/chunk-6HTDRA22.mjs +2 -0
- package/dist/chunk-6NCLBSDR.mjs +2 -0
- package/dist/chunk-6VWFJYKA.mjs +2 -0
- package/dist/chunk-6XZUNUMN.mjs +2 -0
- package/dist/chunk-7BGLUDW3.mjs +2 -0
- package/dist/chunk-7C6ZVZ4P.mjs +2 -0
- package/dist/chunk-7FH4TKLX.mjs +2 -0
- package/dist/chunk-7LZE2BG5.mjs +2 -0
- package/dist/chunk-7OBFRYL5.mjs +2 -0
- package/dist/chunk-7OZYU3QM.mjs +2 -0
- package/dist/chunk-7Q2HODLD.mjs +2 -0
- package/dist/chunk-7RLUWTBT.mjs +2 -0
- package/dist/chunk-7YO6EVK6.mjs +2 -0
- package/dist/chunk-A5LG5JLA.mjs +2 -0
- package/dist/chunk-A72DLXZO.mjs +2 -0
- package/dist/chunk-ACUKFV6N.mjs +2 -0
- package/dist/chunk-AFHS2QXS.mjs +2 -0
- package/dist/chunk-AJ3CS53R.mjs +6 -0
- package/dist/chunk-ALHRXAVJ.mjs +2 -0
- package/dist/chunk-ASNLYQOY.mjs +2 -0
- package/dist/chunk-ATMR5VFQ.mjs +2 -0
- package/dist/chunk-AUFUNDFR.mjs +2 -0
- package/dist/chunk-AZS2GD57.mjs +2 -0
- package/dist/chunk-AZUBMWFL.mjs +2 -0
- package/dist/chunk-B4OOKBZ6.mjs +2 -0
- package/dist/chunk-BH5NOYE2.mjs +2 -0
- package/dist/chunk-BOUPQUXE.mjs +2 -0
- package/dist/chunk-BPJY23XC.mjs +2 -0
- package/dist/chunk-BQJ3E6GJ.mjs +2 -0
- package/dist/chunk-BQJYDOMD.mjs +2 -0
- package/dist/chunk-BQVL2S5P.mjs +2 -0
- package/dist/chunk-BR2UQ2TG.mjs +2 -0
- package/dist/chunk-BY4HF73L.mjs +2 -0
- package/dist/chunk-C3SBXJWC.mjs +2 -0
- package/dist/chunk-CCVIXJ4T.mjs +2 -0
- package/dist/chunk-CEYYIVSB.mjs +2 -0
- package/dist/chunk-CJ3UITKZ.mjs +2 -0
- package/dist/chunk-CS5PVLJB.mjs +2 -0
- package/dist/chunk-CTXDEINA.mjs +2 -0
- package/dist/chunk-CWZHL77S.mjs +2 -0
- package/dist/chunk-CYOF3O7Y.mjs +2 -0
- package/dist/chunk-D2UHRZEN.mjs +2 -0
- package/dist/chunk-D74G65YV.mjs +2 -0
- package/dist/chunk-D7GJVJLA.mjs +2 -0
- package/dist/chunk-DAONAYTS.mjs +2 -0
- package/dist/chunk-DE46AQLE.mjs +2 -0
- package/dist/chunk-DIQ6FNRJ.mjs +2 -0
- package/dist/chunk-DPUTFBDB.mjs +2 -0
- package/dist/chunk-DTC7LNMK.mjs +2 -0
- package/dist/chunk-E32PQ5ZD.mjs +2 -0
- package/dist/chunk-E3MKT7TI.mjs +2 -0
- package/dist/chunk-E5TYUGW4.mjs +2 -0
- package/dist/chunk-E6F6JHJL.mjs +2 -0
- package/dist/chunk-E7MWJVCU.mjs +2 -0
- package/dist/chunk-EBUKVIVE.mjs +2 -0
- package/dist/chunk-EIWAAKMC.mjs +6 -0
- package/dist/chunk-ENDDSOPU.mjs +2 -0
- package/dist/chunk-ERV24I34.mjs +2 -0
- package/dist/chunk-EYVALJ6V.mjs +2 -0
- package/dist/chunk-EZVC74VR.mjs +2 -0
- package/dist/chunk-F5DVMX2D.mjs +2 -0
- package/dist/chunk-FI44IJXT.mjs +6 -0
- package/dist/chunk-FNEMZYAF.mjs +2 -0
- package/dist/chunk-FOZBHJCU.mjs +2 -0
- package/dist/chunk-FUQA3OXP.mjs +2 -0
- package/dist/chunk-FVQZMQJU.mjs +2 -0
- package/dist/chunk-FXW65LTB.mjs +2 -0
- package/dist/chunk-G262Y3YH.mjs +2 -0
- package/dist/chunk-G5SMGCJN.mjs +2 -0
- package/dist/chunk-GDIBRJN4.mjs +2 -0
- package/dist/chunk-GG7CLVAD.mjs +2 -0
- package/dist/chunk-GL4B6AWV.mjs +2 -0
- package/dist/chunk-GNEZCVAY.mjs +2 -0
- package/dist/chunk-GPFRZDSO.mjs +2 -0
- package/dist/chunk-GUUH6CFB.mjs +2 -0
- package/dist/chunk-GW2XXAWH.mjs +2 -0
- package/dist/chunk-GWREO5QF.mjs +2 -0
- package/dist/chunk-H2SAZ2A2.mjs +2 -0
- package/dist/chunk-H5ABRSJS.mjs +2 -0
- package/dist/chunk-H5TWSNHJ.mjs +2 -0
- package/dist/chunk-H635B55O.mjs +2 -0
- package/dist/chunk-HANXXOS6.mjs +2 -0
- package/dist/chunk-HCTA37JX.mjs +2 -0
- package/dist/chunk-HFYWICNR.mjs +2 -0
- package/dist/chunk-HHFSH3VO.mjs +2 -0
- package/dist/chunk-HHXN2BYR.mjs +2 -0
- package/dist/chunk-HI5MHQ23.mjs +2 -0
- package/dist/chunk-HJEO7QP3.mjs +2 -0
- package/dist/chunk-HK5IJK4V.mjs +2 -0
- package/dist/chunk-HLI6HXVQ.mjs +2 -0
- package/dist/chunk-HNNP24NU.mjs +2 -0
- package/dist/chunk-HRFFDN6H.mjs +2 -0
- package/dist/chunk-HVIRCCOO.mjs +2 -0
- package/dist/chunk-I4EAKRK6.mjs +2 -0
- package/dist/chunk-I6YAMCPZ.mjs +2 -0
- package/dist/chunk-I73SBIBG.mjs +2 -0
- package/dist/chunk-IAM6JPPG.mjs +2 -0
- package/dist/chunk-IAYWE7X4.mjs +2 -0
- package/dist/chunk-IB3CNNOR.mjs +2 -0
- package/dist/chunk-IEYO7ARM.mjs +2 -0
- package/dist/chunk-IMW224AO.mjs +2 -0
- package/dist/chunk-INC2JBOL.mjs +2 -0
- package/dist/chunk-J25LNEST.mjs +2 -0
- package/dist/chunk-J2AQIYSO.mjs +2 -0
- package/dist/chunk-J2WWV5OI.mjs +2 -0
- package/dist/chunk-J5USQ7V7.mjs +2 -0
- package/dist/chunk-JAM26LKJ.mjs +2 -0
- package/dist/chunk-JBTAZKBR.mjs +2 -0
- package/dist/chunk-JGNSDUMX.mjs +2 -0
- package/dist/chunk-JIS6PZYL.mjs +2 -0
- package/dist/chunk-JJPNQP6K.mjs +2 -0
- package/dist/chunk-JOYJUH4X.mjs +2 -0
- package/dist/chunk-JU4A2ZEG.mjs +2 -0
- package/dist/chunk-K2JE3SJY.mjs +2 -0
- package/dist/chunk-K2STHID6.mjs +2 -0
- package/dist/chunk-K3KWZ5TP.mjs +2 -0
- package/dist/chunk-K3OHB7UU.mjs +2 -0
- package/dist/chunk-K6HTCQMN.mjs +2 -0
- package/dist/chunk-KDAFGTAR.mjs +2 -0
- package/dist/chunk-KHNRROPC.mjs +2 -0
- package/dist/chunk-KIY53LYE.mjs +2 -0
- package/dist/chunk-KJBZU2OD.mjs +2 -0
- package/dist/chunk-KJHGNDAM.mjs +2 -0
- package/dist/chunk-KKCRR74D.mjs +2 -0
- package/dist/chunk-KMXD2D5U.mjs +2 -0
- package/dist/chunk-KO3KMZH7.mjs +2 -0
- package/dist/chunk-KQADMCRQ.mjs +2 -0
- package/dist/chunk-KXMJQCY2.mjs +2 -0
- package/dist/chunk-L23D3CAD.mjs +2 -0
- package/dist/chunk-L6EJFT7W.mjs +2 -0
- package/dist/chunk-LFU5IYP6.mjs +2 -0
- package/dist/chunk-LIVP35CX.mjs +2 -0
- package/dist/chunk-LK5Q7QNP.mjs +2 -0
- package/dist/chunk-LN32TCKT.mjs +2 -0
- package/dist/chunk-LNYDOSX4.mjs +2 -0
- package/dist/chunk-LPHN7MVK.mjs +2 -0
- package/dist/chunk-LPTO6COC.mjs +2 -0
- package/dist/chunk-LWAS2GGO.mjs +2 -0
- package/dist/chunk-LWXZH564.mjs +2 -0
- package/dist/chunk-LY23PAB3.mjs +42 -0
- package/dist/chunk-M2R2IDDR.mjs +2 -0
- package/dist/chunk-M3YAVRL2.mjs +2 -0
- package/dist/chunk-MBMS57ZK.mjs +6 -0
- package/dist/chunk-MMNY4KFD.mjs +2 -0
- package/dist/chunk-MOKXJZVM.mjs +2 -0
- package/dist/chunk-MPKGQ36Z.mjs +2 -0
- package/dist/chunk-MPMATF65.mjs +2 -0
- package/dist/chunk-MQLIDFV4.mjs +2 -0
- package/dist/chunk-MRKJ7JIQ.mjs +2 -0
- package/dist/chunk-MRVUVJQT.mjs +2 -0
- package/dist/chunk-MSKIXPNB.mjs +2 -0
- package/dist/chunk-MVVAIFVO.mjs +2 -0
- package/dist/chunk-N2VQT6R5.mjs +2 -0
- package/dist/chunk-NDJTCVO7.mjs +6 -0
- package/dist/chunk-NFLSXDKG.mjs +2 -0
- package/dist/chunk-NL52NSEB.mjs +2 -0
- package/dist/chunk-NQZ2IDBB.mjs +2 -0
- package/dist/chunk-NRJN7JBT.mjs +2 -0
- package/dist/chunk-NVIKWM4W.mjs +2 -0
- package/dist/chunk-NWPFM45T.mjs +2 -0
- package/dist/chunk-NZP4GB7A.mjs +2 -0
- package/dist/chunk-NZZ24BWG.mjs +2 -0
- package/dist/chunk-O43YWKJJ.mjs +2 -0
- package/dist/chunk-O4U45X6I.mjs +42 -0
- package/dist/chunk-OBHRIPYE.mjs +2 -0
- package/dist/chunk-OC6WDPQV.mjs +2 -0
- package/dist/chunk-OFED4BPZ.mjs +2 -0
- package/dist/chunk-OKCFJH63.mjs +2 -0
- package/dist/chunk-OLIDMS6N.mjs +2 -0
- package/dist/chunk-OO3OLQL3.mjs +2 -0
- package/dist/chunk-OQTNTLXZ.mjs +2 -0
- package/dist/chunk-OT54VY2T.mjs +2 -0
- package/dist/chunk-OVTEJWQH.mjs +2 -0
- package/dist/chunk-OZFASLPY.mjs +2 -0
- package/dist/chunk-OZV4ZCJU.mjs +2 -0
- package/dist/chunk-P5PWSY4R.mjs +2 -0
- package/dist/chunk-P74QJJAP.mjs +2 -0
- package/dist/chunk-PC56SYLH.mjs +2 -0
- package/dist/chunk-PDKOPX6C.mjs +2 -0
- package/dist/chunk-PKXJC6FP.mjs +2 -0
- package/dist/chunk-PLDSN3O5.mjs +2 -0
- package/dist/chunk-PPSQV5DN.mjs +2 -0
- package/dist/chunk-Q2ME6JZM.mjs +2 -0
- package/dist/chunk-Q6OZDKO4.mjs +2 -0
- package/dist/chunk-QB3KQUFM.mjs +2 -0
- package/dist/chunk-QFC7W4UO.mjs +2 -0
- package/dist/chunk-QIIP4BMG.mjs +2 -0
- package/dist/chunk-QKHH4NOF.mjs +2 -0
- package/dist/chunk-QKXETO5X.mjs +2 -0
- package/dist/chunk-QM7CSCEI.mjs +2 -0
- package/dist/chunk-QNYWFC5O.mjs +2 -0
- package/dist/chunk-QR2P74OO.mjs +6 -0
- package/dist/chunk-QRR6BOO3.mjs +2 -0
- package/dist/chunk-QSKR4KTS.mjs +2 -0
- package/dist/chunk-R34DA4U7.mjs +2 -0
- package/dist/chunk-R5EYZEVB.mjs +2 -0
- package/dist/chunk-R724V2H3.mjs +2 -0
- package/dist/chunk-RHPO32CZ.mjs +2 -0
- package/dist/chunk-RXTKZ5EU.mjs +2 -0
- package/dist/chunk-RXVVZPTG.mjs +2 -0
- package/dist/chunk-S37ONGSO.mjs +2 -0
- package/dist/chunk-S4MR3WH3.mjs +2 -0
- package/dist/chunk-S6TYCAKW.mjs +2 -0
- package/dist/chunk-SBDB4H5O.mjs +2 -0
- package/dist/chunk-SDI34LGV.mjs +2 -0
- package/dist/chunk-SEG6PNEP.mjs +2 -0
- package/dist/chunk-SKQMCKUT.mjs +2 -0
- package/dist/chunk-SMCKDKWN.mjs +2 -0
- package/dist/chunk-SMEDVMEH.mjs +2 -0
- package/dist/chunk-SP4QXCKS.mjs +2 -0
- package/dist/chunk-SPRIK5WK.mjs +2 -0
- package/dist/chunk-SRLHTWK2.mjs +2 -0
- package/dist/chunk-SSBYUZKQ.mjs +2 -0
- package/dist/chunk-SVBY2M2W.mjs +2 -0
- package/dist/chunk-SXEVTI5V.mjs +2 -0
- package/dist/chunk-SYSDPAII.mjs +2 -0
- package/dist/chunk-T2NOWDAS.mjs +2 -0
- package/dist/chunk-T56KYMRD.mjs +2 -0
- package/dist/chunk-T5QWKL7V.mjs +2 -0
- package/dist/chunk-T7XA6MR4.mjs +2 -0
- package/dist/chunk-TDJUF7PC.mjs +2 -0
- package/dist/chunk-TJDCIXGN.mjs +2 -0
- package/dist/chunk-TLII2EK5.mjs +2 -0
- package/dist/chunk-TPIWQVXO.mjs +2 -0
- package/dist/chunk-TT4Q3HA6.mjs +2 -0
- package/dist/chunk-TZXBRVQB.mjs +2 -0
- package/dist/chunk-U3WMNJPM.mjs +2 -0
- package/dist/chunk-U677L7RN.mjs +2 -0
- package/dist/chunk-U7AGBMUO.mjs +2 -0
- package/dist/chunk-UCMEBPMB.mjs +2 -0
- package/dist/chunk-UGRWYMVU.mjs +2 -0
- package/dist/chunk-UOEMAF5V.mjs +6 -0
- package/dist/chunk-UQEULOV7.mjs +2 -0
- package/dist/chunk-URRAM5KR.mjs +2 -0
- package/dist/chunk-UURJTIAG.mjs +2 -0
- package/dist/chunk-UWLIGCNP.mjs +6 -0
- package/dist/chunk-UXPFMQUP.mjs +2 -0
- package/dist/chunk-V42NCUDI.mjs +2 -0
- package/dist/chunk-VBOCSI6C.mjs +2 -0
- package/dist/chunk-VCWE4VHM.mjs +2 -0
- package/dist/chunk-VJK3UDBP.mjs +2 -0
- package/dist/chunk-VJYLOASD.mjs +2 -0
- package/dist/chunk-VQPPIDK5.mjs +2 -0
- package/dist/chunk-VR523AKG.mjs +6 -0
- package/dist/chunk-VV4QAFJO.mjs +2 -0
- package/dist/chunk-VWCRPZ6R.mjs +2 -0
- package/dist/chunk-W6665XFV.mjs +2 -0
- package/dist/chunk-W72IS3NW.mjs +2 -0
- package/dist/chunk-WA2SBQQN.mjs +2 -0
- package/dist/chunk-WCOEAWY3.mjs +2 -0
- package/dist/chunk-WED4I3UR.mjs +2 -0
- package/dist/chunk-WN4QNRTA.mjs +2 -0
- package/dist/chunk-WOBSEVUY.mjs +2 -0
- package/dist/chunk-WTAGSMEQ.mjs +2 -0
- package/dist/chunk-X33XKELU.mjs +2 -0
- package/dist/chunk-X6DMMDWV.mjs +2 -0
- package/dist/chunk-XBAJM6LX.mjs +2 -0
- package/dist/chunk-XH4WILJG.mjs +2 -0
- package/dist/chunk-XJFFCJ4F.mjs +2 -0
- package/dist/chunk-XJPPELGD.mjs +2 -0
- package/dist/chunk-XKNDCHBO.mjs +2 -0
- package/dist/chunk-XL4TS4DD.mjs +2 -0
- package/dist/chunk-XQG6PFDK.mjs +2 -0
- package/dist/chunk-XQUDRC36.mjs +42 -0
- package/dist/chunk-XRBBJHLW.mjs +6 -0
- package/dist/chunk-XSKSEXUS.mjs +2 -0
- package/dist/chunk-XSSTUAYF.mjs +2 -0
- package/dist/chunk-XUGILZBT.mjs +2 -0
- package/dist/chunk-XWJQPRZX.mjs +2 -0
- package/dist/chunk-XZ5NAQPG.mjs +2 -0
- package/dist/chunk-Y6WIJ2QS.mjs +2 -0
- package/dist/chunk-YE6TSUI4.mjs +2 -0
- package/dist/chunk-YGFNA6GS.mjs +6 -0
- package/dist/chunk-YIKV7JI7.mjs +2 -0
- package/dist/chunk-YIMIS5FP.mjs +2 -0
- package/dist/chunk-YJYQLDPX.mjs +2 -0
- package/dist/chunk-YPFLCYTU.mjs +2 -0
- package/dist/chunk-YTEMADT6.mjs +6 -0
- package/dist/chunk-YUEHTPEG.mjs +2 -0
- package/dist/chunk-YV55HH74.mjs +2 -0
- package/dist/chunk-YXIB5ABY.mjs +42 -0
- package/dist/chunk-Z45IQA7Z.mjs +2 -0
- package/dist/chunk-Z677VHF3.mjs +2 -0
- package/dist/chunk-ZCBQFOWD.mjs +2 -0
- package/dist/chunk-ZCTVXZVQ.mjs +2 -0
- package/dist/chunk-ZE5ZODS7.mjs +2 -0
- package/dist/chunk-ZGBEFTKI.mjs +2 -0
- package/dist/chunk-ZOVR7S52.mjs +2 -0
- package/dist/chunk-ZPNRC6LX.mjs +2 -0
- package/dist/chunk-ZTJNXM3D.mjs +2 -0
- package/dist/chunk-ZVJYHA3H.mjs +2 -0
- package/dist/combobox/index.mjs +1 -1
- package/dist/composite-logo.mjs +1 -1
- package/dist/copy-button.mjs +1 -1
- package/dist/copy-text.mjs +1 -1
- package/dist/counting-numbers.mjs +1 -1
- package/dist/date-picker/calendar.mjs +1 -1
- package/dist/date-picker/date-range-picker.mjs +1 -1
- package/dist/date-picker/presets.mjs +1 -1
- package/dist/date-picker/trigger.mjs +1 -1
- package/dist/file-upload.mjs +1 -1
- package/dist/filter/filter-list.mjs +1 -1
- package/dist/filter/filter-select.mjs +1 -1
- package/dist/footer.mjs +1 -1
- package/dist/form.mjs +1 -1
- package/dist/grid.mjs +1 -1
- package/dist/hooks/use-keyboard-shortcut.mjs +1 -1
- package/dist/icons/continents/index.mjs +1 -1
- package/dist/icons/default-domains/amazon.mjs +1 -1
- package/dist/icons/default-domains/chatgpt.mjs +1 -1
- package/dist/icons/default-domains/figma.mjs +1 -1
- package/dist/icons/default-domains/github-enhanced.mjs +1 -1
- package/dist/icons/default-domains/google-enhanced.mjs +1 -1
- package/dist/icons/default-domains/spotify.mjs +1 -1
- package/dist/icons/expanding-arrow.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-spinner.mjs +1 -1
- package/dist/icons/sort-order.mjs +1 -1
- package/dist/icons/twitter.mjs +1 -1
- package/dist/icons/youtube.mjs +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.mjs +1 -1
- package/dist/input-select.mjs +1 -1
- package/dist/input.mjs +1 -1
- package/dist/label.mjs +1 -1
- package/dist/link-logo.mjs +1 -1
- package/dist/link-preview.mjs +1 -1
- package/dist/logo.mjs +1 -1
- package/dist/max-width-wrapper.mjs +1 -1
- package/dist/modal.mjs +1 -1
- package/dist/nav/content/product-content.mjs +1 -1
- package/dist/nav/content/resources-content.mjs +1 -1
- package/dist/nav/content/shared.mjs +1 -1
- package/dist/nav/content/solutions-content.mjs +1 -1
- package/dist/nav/nav-mobile.mjs +1 -1
- package/dist/nav/nav.mjs +1 -1
- package/dist/nav-logo.mjs +1 -1
- package/dist/popover.mjs +1 -1
- package/dist/progress-bar.mjs +1 -1
- package/dist/radio-group.mjs +1 -1
- package/dist/sheet.mjs +1 -1
- package/dist/shimmer-dots.mjs +1 -1
- package/dist/status-badge.mjs +1 -1
- package/dist/switch.mjs +1 -1
- package/dist/tab-select.mjs +1 -1
- package/dist/table/table.mjs +1 -1
- package/dist/toggle-group.mjs +1 -1
- package/dist/tooltip.d.ts +1 -1
- package/dist/tooltip.mjs +1 -1
- package/dist/utm-builder.mjs +1 -1
- package/dist/wordmark.mjs +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as we,b as Ae}from"./chunk-AUBFB4SI.mjs";var le=we((at,ie)=>{var I=1e3,L=I*60,O=L*60,P=O*24,je=P*7,Fe=P*365.25;ie.exports=function(e,r){r=r||{};var t=typeof e;if(t==="string"&&e.length>0)return We(e);if(t==="number"&&isFinite(e))return r.long?Ke(e):qe(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function We(e){if(e=String(e),!(e.length>100)){var r=/^(-?(?:\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(!!r){var t=parseFloat(r[1]),o=(r[2]||"ms").toLowerCase();switch(o){case"years":case"year":case"yrs":case"yr":case"y":return t*Fe;case"weeks":case"week":case"w":return t*je;case"days":case"day":case"d":return t*P;case"hours":case"hour":case"hrs":case"hr":case"h":return t*O;case"minutes":case"minute":case"mins":case"min":case"m":return t*L;case"seconds":case"second":case"secs":case"sec":case"s":return t*I;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return t;default:return}}}}function qe(e){var r=Math.abs(e);return r>=P?Math.round(e/P)+"d":r>=O?Math.round(e/O)+"h":r>=L?Math.round(e/L)+"m":r>=I?Math.round(e/I)+"s":e+"ms"}function Ke(e){var r=Math.abs(e);return r>=P?$(e,r,P,"day"):r>=O?$(e,r,O,"hour"):r>=L?$(e,r,L,"minute"):r>=I?$(e,r,I,"second"):e+" ms"}function $(e,r,t,o){var s=r>=t*1.5;return Math.round(e/t)+" "+o+(s?"s":"")}});var B=e=>{try{return new URL(e),!0}catch{return!1}},ke=e=>{if(B(e))return e;try{if(e.includes(".")&&!e.includes(" "))return new URL(`https://${e}`).toString()}catch{}return e};var Ee=(e,r,t)=>{if(r==="dub.co")return e;let o=new URL(e.startsWith("/")?`https://dub.co${e}`:e);return t&&Object.entries(t).forEach(([s,a])=>{o.searchParams.set(s,a)}),o.toString()};function G(e,r={digits:1}){if(!e)return"0";if(r.full)return Intl.NumberFormat("en-US").format(e);let t=/\.0+$|(\.[0-9]*[1-9])0+$/;if(e<1)return e.toFixed(r.digits).replace(t,"$1");var o=[{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"}].slice().reverse().find(function(s){return e>=s.value});return o?(e/o.value).toFixed(r.digits).replace(t,"$1")+o.symbol:"0"}var Pe=process.env.NEXT_PUBLIC_APP_NAME||"Dub.co",ne=process.env.NEXT_PUBLIC_APP_SHORT_DOMAIN||"dub.sh",_e=`https://${process.env.NEXT_PUBLIC_APP_DOMAIN}`,Se=new Set([`app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"localhost:8888","localhost"]),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}`:"http://localhost:8888",Le=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_NGROK_URL||"http://localhost:8888",Oe=new Set([`api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`api-staging.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`api.${ne}`,"api.localhost:8888"]),Te=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://api-staging.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:"http://api.localhost:8888",Ce=new Set([`admin.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"admin.localhost:8888"]),Ne=new Set([`partners.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`partners-staging.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"partners.localhost:8888"]);var Re=process.env.STORAGE_BASE_URL;var Ue=new RegExp(/^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/),ze=new RegExp(/^[a-zA-Z0-9\-]+$/);var De=e=>{if(B(e))return new URL(e).hostname.replace(/^www\./,"");try{if(e.includes(".")&&!e.includes(" "))return new URL(`https://${e}`).hostname.replace(/^www\./,"")}catch{return null}};var V=({name:e="Business",monthly:r=59,yearly:t=49,links:o=5e3,clicks:s=15e4,domains:a=40,tags:n=150,users:i=15,ids:c=[]})=>({name:e,tagline:"For larger teams with increased usage",link:"https://dub.co/help/article/business-plan",price:{monthly:r,yearly:t,ids:c},limits:{links:o,clicks:s,domains:a,tags:n,users:i,ai:1e3,api:3e3},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-black hover:bg-gray-800 hover:ring-gray-200"},featureTitle:"Everything in Pro, plus:",features:[{text:`${G(o,{full:!0})} new links/mo`},{text:`${G(s)} tracked clicks/mo`},{text:"3-year analytics retention"},{text:`${a} custom domains`},{text:`${i} users`},{text:"Real-time events stream",footnote:{title:"Get more data on your link clicks and QR code scans with a detailed, real-time stream of events in your workspace",cta:"Learn more.",href:"https://d.to/events"}},{text:"Event webhooks (beta)",footnote:{title:"Get notified when a link is clicked or a QR code is scanned using webhooks.",cta:"Learn more.",href:"https://d.to/webhooks"}}]}),S=[{name:"Free",tagline:"For hobby & side projects",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,domains:3,tags:5,users:1,ai:10,api:60},colors:{bg:"bg-black",text:"text-black"},cta:{text:"Start for free",href:"https://app.dub.co/register",color:"bg-black hover:bg-gray-800 hover:ring-gray-200"},featureTitle:"What's included:",features:[{text:"25 new links/mo"},{text:"1K tracked clicks/mo"},{text:"30-day analytics retention"},{text:"3 custom domains"},{text:"1 user"},{text:"Advanced analytics",footnote:{title:"Get location (country, city, continent), device (type, browser, OS), and referer data on your clicks.",cta:"Learn more.",href:"https://dub.co/help/article/dub-analytics"}},{text:"10 AI credits/mo"},{text:"Basic support"},{text:"API Access",footnote:{title:"Programatically manage your links using our REST API.",cta:"Learn more.",href:"https://dub.co/docs/api-reference/introduction"}}]},{name:"Pro",tagline:"For startups & small businesses",link:"https://dub.co/help/article/pro-plan",price:{monthly:24,yearly:19,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ","price_1OTcQBAlJJEpqkPViGtGEsbb","price_1OYJeBAlJJEpqkPVLjTsjX0E","price_1OTcQBAlJJEpqkPVYlCMqdLL","price_1OYJeBAlJJEpqkPVnPGEZeb0"]},limits:{links:1e3,clicks:5e4,domains:10,tags:25,users:5,ai:1e3,api:600},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-600 hover:bg-blue-700 hover:ring-blue-100"},featureTitle:"Everything in Free, plus:",features:[{text:"1,000 new links/mo"},{text:"50K tracked clicks/mo"},{text:"1-year analytics retention"},{text:"10 custom domains"},{text:"5 users"},{text:"Advanced link features",footnote:"Custom social media cards, password-protected links, link expiration, link cloaking, device targeting, geo targeting etc."},{text:"Unlimited AI credits",footnote:{title:"Subject to fair use policy \u2013 you will be notified if you exceed the limit, which are high enough for frequent usage.",cta:"Learn more.",href:"https://dub.co/blog/introducing-dub-ai"}},{text:"Priority support"},{text:"Premium dub.link domain",footnote:{title:"Stand out from the crowd with a premium dub.link domain.",cta:"Learn more.",href:"https://dub.co/help/article/default-dub-domains#premium-dublink-domain"}},{text:"Complimentary custom domain",footnote:{title:"All our paid plans come with a free .link custom domain, which helps improve click-through rates.",cta:"Learn more.",href:"https://dub.co/help/article/free-dot-link-domain"}}]},V({name:"Business",monthly:59,yearly:49,links:5e3,clicks:15e4,domains:40,tags:150,users:15,ids:["price_1LodLoAlJJEpqkPV9rD0rlNL","price_1LodLoAlJJEpqkPVJdwv5zrG","price_1OZgmnAlJJEpqkPVOj4kV64R","price_1OzNlmAlJJEpqkPV7s9HXNAC","price_1OzNmXAlJJEpqkPVYO89lTdx","price_1OzOFIAlJJEpqkPVJxzc9irl","price_1OzOXMAlJJEpqkPV9ERrjjbw"]}),V({name:"Business Plus",monthly:119,yearly:99,links:15e3,clicks:4e5,domains:100,tags:300,users:30,ids:["price_1OnWu0AlJJEpqkPVWk4144ZG","price_1OnWu0AlJJEpqkPVkDWVriAB","price_1OnaK3AlJJEpqkPVaCfCPdHi","price_1OzObrAlJJEpqkPVh6D9HWGO"]}),V({name:"Business Extra",monthly:249,yearly:199,links:4e4,clicks:1e6,domains:250,tags:500,users:50,ids:["price_1OnWvCAlJJEpqkPVLzLHx5QD","price_1OnWvCAlJJEpqkPVHhCCvIOq","price_1OnaKJAlJJEpqkPVeJSvPfJb","price_1OzOg1AlJJEpqkPVPlsrxoWm"]}),V({name:"Business Max",monthly:499,yearly:399,links:1e5,clicks:25e5,domains:500,tags:1e3,users:100,ids:["price_1OnWwLAlJJEpqkPVXtJyPqLk","price_1OnWwLAlJJEpqkPV4eMbOkNh","price_1OnaKOAlJJEpqkPVV6gkZPgt","price_1OzOh5AlJJEpqkPVtCSX7dlE"]}),{name:"Enterprise",tagline:"Custom tailored plans for large enterprises. Whether you're running a SMS campaign with millions of short links or a large marketing campaign with billions of clicks, we've got you covered.",link:"https://dub.co/enterprise",price:{monthly:null,yearly:null},limits:{links:25e4,clicks:5e6,domains:1e3,tags:1e3,users:500,ai:1e4,api:1e4},colors:{bg:"bg-violet-600",text:"text-violet-600"},cta:{text:"Contact us",href:"/enterprise",color:"bg-gradient-to-r from-violet-600 to-pink-600 hover:ring-violet-100"},featureTitle:"Everything in Business, plus:",features:[{text:"Custom usage limits"},{text:"Volume discounts"},{text:"SSO/SAML"},{text:"Role-based access controls"},{text:"Custom contract & SLA"},{text:"Whiteglove onboarding"},{text:"Dedicated success manager"},{text:"Priority support"},{text:"Dedicated Slack channel"}]}],Be=S.find(e=>e.name==="Free"),Ge=S.find(e=>e.name==="Pro"),Ve=S.find(e=>e.name==="Business"),$e=S.find(e=>e.name==="Enterprise");var Je=S.filter(e=>e.name!=="Free"&&e.name!=="Enterprise");var ce=Ae(le(),1),Ye=(e,{withAgo:r}={})=>{if(!e)return"Never";let t=Date.now()-new Date(e).getTime();return t<1e3?"Just now":t>828e5?new Date(e).toLocaleDateString("en-US",{month:"short",day:"numeric",year:new Date(e).getFullYear()!==new Date().getFullYear()?"numeric":void 0}):`${(0,ce.default)(t)}${r?" ago":""}`};var Xe=(e,r)=>!e||e.length<=r?e??null:`${e.slice(0,r-3)}...`;var He=(e,r)=>e.map((t,o)=>({item:t,index:o})).sort((t,o)=>r(t.item,o.item)||t.index-o.index).map(({item:t})=>t);async function Ze(e,r){let t=await fetch(e,r);if(!t.ok){let o=await t.text(),s=new Error(o);throw s.status=t.status,s}return t.json()}function ue(e){var r,t,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(r=0;r<s;r++)e[r]&&(t=ue(e[r]))&&(o&&(o+=" "),o+=t)}else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}function de(){for(var e,r,t=0,o="",s=arguments.length;t<s;t++)(e=arguments[t])&&(r=ue(e))&&(o&&(o+=" "),o+=r);return o}var X="-";function Qe(e){let r=rr(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:o}=e;function s(n){let i=n.split(X);return i[0]===""&&i.length!==1&&i.shift(),fe(i,r)||er(n)}function a(n,i){let c=t[n]||[];return i&&o[n]?[...c,...o[n]]:c}return{getClassGroupId:s,getConflictingClassGroupIds:a}}function fe(e,r){var n;if(e.length===0)return r.classGroupId;let t=e[0],o=r.nextPart.get(t),s=o?fe(e.slice(1),o):void 0;if(s)return s;if(r.validators.length===0)return;let a=e.join(X);return(n=r.validators.find(({validator:i})=>i(a)))==null?void 0:n.classGroupId}var pe=/^\[(.+)\]$/;function er(e){if(pe.test(e)){let r=pe.exec(e)[1],t=r==null?void 0:r.substring(0,r.indexOf(":"));if(t)return"arbitrary.."+t}}function rr(e){let{theme:r,prefix:t}=e,o={nextPart:new Map,validators:[]};return or(Object.entries(e.classGroups),t).forEach(([a,n])=>{Y(n,o,a,r)}),o}function Y(e,r,t,o){e.forEach(s=>{if(typeof s=="string"){let a=s===""?r:me(r,s);a.classGroupId=t;return}if(typeof s=="function"){if(tr(s)){Y(s(o),r,t,o);return}r.validators.push({validator:s,classGroupId:t});return}Object.entries(s).forEach(([a,n])=>{Y(n,me(r,a),t,o)})})}function me(e,r){let t=e;return r.split(X).forEach(o=>{t.nextPart.has(o)||t.nextPart.set(o,{nextPart:new Map,validators:[]}),t=t.nextPart.get(o)}),t}function tr(e){return e.isThemeGetter}function or(e,r){return r?e.map(([t,o])=>{let s=o.map(a=>typeof a=="string"?r+a:typeof a=="object"?Object.fromEntries(Object.entries(a).map(([n,i])=>[r+n,i])):a);return[t,s]}):e}function sr(e){if(e<1)return{get:()=>{},set:()=>{}};let r=0,t=new Map,o=new Map;function s(a,n){t.set(a,n),r++,r>e&&(r=0,o=t,t=new Map)}return{get(a){let n=t.get(a);if(n!==void 0)return n;if((n=o.get(a))!==void 0)return s(a,n),n},set(a,n){t.has(a)?t.set(a,n):s(a,n)}}}var ge="!";function ar(e){let{separator:r,experimentalParseClassName:t}=e,o=r.length===1,s=r[0],a=r.length;function n(i){let c=[],f=0,p=0,g;for(let m=0;m<i.length;m++){let h=i[m];if(f===0){if(h===s&&(o||i.slice(m,m+a)===r)){c.push(i.slice(p,m)),p=m+a;continue}if(h==="/"){g=m;continue}}h==="["?f++:h==="]"&&f--}let b=c.length===0?i:i.substring(p),x=b.startsWith(ge),E=x?b.substring(1):b,y=g&&g>p?g-p:void 0;return{modifiers:c,hasImportantModifier:x,baseClassName:E,maybePostfixModifierPosition:y}}return t?function(c){return t({className:c,parseClassName:n})}:n}function nr(e){if(e.length<=1)return e;let r=[],t=[];return e.forEach(o=>{o[0]==="["?(r.push(...t.sort(),o),t=[]):t.push(o)}),r.push(...t.sort()),r}function ir(e){return{cache:sr(e.cacheSize),parseClassName:ar(e),...Qe(e)}}var lr=/\s+/;function cr(e,r){let{parseClassName:t,getClassGroupId:o,getConflictingClassGroupIds:s}=r,a=new Set;return e.trim().split(lr).map(n=>{let{modifiers:i,hasImportantModifier:c,baseClassName:f,maybePostfixModifierPosition:p}=t(n),g=Boolean(p),b=o(g?f.substring(0,p):f);if(!b){if(!g)return{isTailwindClass:!1,originalClassName:n};if(b=o(f),!b)return{isTailwindClass:!1,originalClassName:n};g=!1}let x=nr(i).join(":"),E=c?x+ge:x;return{isTailwindClass:!0,modifierId:E,classGroupId:b,originalClassName:n,hasPostfixModifier:g}}).reverse().filter(n=>{if(!n.isTailwindClass)return!0;let{modifierId:i,classGroupId:c,hasPostfixModifier:f}=n,p=i+c;return a.has(p)?!1:(a.add(p),s(c,f).forEach(g=>a.add(i+g)),!0)}).reverse().map(n=>n.originalClassName).join(" ")}function ur(){let e=0,r,t,o="";for(;e<arguments.length;)(r=arguments[e++])&&(t=he(r))&&(o&&(o+=" "),o+=t);return o}function he(e){if(typeof e=="string")return e;let r,t="";for(let o=0;o<e.length;o++)e[o]&&(r=he(e[o]))&&(t&&(t+=" "),t+=r);return t}function dr(e,...r){let t,o,s,a=n;function n(c){let f=r.reduce((p,g)=>g(p),e());return t=ir(f),o=t.cache.get,s=t.cache.set,a=i,i(c)}function i(c){let f=o(c);if(f)return f;let p=cr(c,t);return s(c,p),p}return function(){return a(ur.apply(null,arguments))}}function u(e){let r=t=>t[e]||[];return r.isThemeGetter=!0,r}var be=/^\[(?:([a-z-]+):)?(.+)\]$/i,pr=/^\d+\/\d+$/,mr=new Set(["px","full","screen"]),fr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,gr=/\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$/,hr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,br=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,yr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function w(e){return _(e)||mr.has(e)||pr.test(e)}function A(e){return T(e,"length",_r)}function _(e){return Boolean(e)&&!Number.isNaN(Number(e))}function J(e){return T(e,"number",_)}function R(e){return Boolean(e)&&Number.isInteger(Number(e))}function xr(e){return e.endsWith("%")&&_(e.slice(0,-1))}function l(e){return be.test(e)}function k(e){return fr.test(e)}var vr=new Set(["length","size","percentage"]);function wr(e){return T(e,vr,ye)}function Ar(e){return T(e,"position",ye)}var kr=new Set(["image","url"]);function Er(e){return T(e,kr,Ir)}function Pr(e){return T(e,"",Sr)}function M(){return!0}function T(e,r,t){let o=be.exec(e);return o?o[1]?typeof r=="string"?o[1]===r:r.has(o[1]):t(o[2]):!1}function _r(e){return gr.test(e)&&!hr.test(e)}function ye(){return!1}function Sr(e){return br.test(e)}function Ir(e){return yr.test(e)}function Lr(){let e=u("colors"),r=u("spacing"),t=u("blur"),o=u("brightness"),s=u("borderColor"),a=u("borderRadius"),n=u("borderSpacing"),i=u("borderWidth"),c=u("contrast"),f=u("grayscale"),p=u("hueRotate"),g=u("invert"),b=u("gap"),x=u("gradientColorStops"),E=u("gradientColorStopPositions"),y=u("inset"),m=u("margin"),h=u("opacity"),v=u("padding"),H=u("saturate"),j=u("scale"),Z=u("sepia"),Q=u("skew"),ee=u("space"),re=u("translate"),F=()=>["auto","contain","none"],W=()=>["auto","hidden","clip","visible","scroll"],q=()=>["auto",l,r],d=()=>[l,r],te=()=>["",w,A],U=()=>["auto",_,l],oe=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],z=()=>["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"],K=()=>["start","end","center","between","around","evenly","stretch"],C=()=>["","0",l],ae=()=>["auto","avoid","all","avoid-page","page","left","right","column"],N=()=>[_,J],D=()=>[_,l];return{cacheSize:500,separator:":",theme:{colors:[M],spacing:[w,A],blur:["none","",k,l],brightness:N(),borderColor:[e],borderRadius:["none","","full",k,l],borderSpacing:d(),borderWidth:te(),contrast:N(),grayscale:C(),hueRotate:D(),invert:C(),gap:d(),gradientColorStops:[e],gradientColorStopPositions:[xr,A],inset:q(),margin:q(),opacity:N(),padding:d(),saturate:N(),scale:N(),sepia:C(),skew:D(),space:d(),translate:d()},classGroups:{aspect:[{aspect:["auto","square","video",l]}],container:["container"],columns:[{columns:[k]}],"break-after":[{"break-after":ae()}],"break-before":[{"break-before":ae()}],"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(),l]}],overflow:[{overflow:W()}],"overflow-x":[{"overflow-x":W()}],"overflow-y":[{"overflow-y":W()}],overscroll:[{overscroll:F()}],"overscroll-x":[{"overscroll-x":F()}],"overscroll-y":[{"overscroll-y":F()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[y]}],"inset-x":[{"inset-x":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",R,l]}],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",l]}],grow:[{grow:C()}],shrink:[{shrink:C()}],order:[{order:["first","last","none",R,l]}],"grid-cols":[{"grid-cols":[M]}],"col-start-end":[{col:["auto",{span:["full",R,l]},l]}],"col-start":[{"col-start":U()}],"col-end":[{"col-end":U()}],"grid-rows":[{"grid-rows":[M]}],"row-start-end":[{row:["auto",{span:[R,l]},l]}],"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",l]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",l]}],gap:[{gap:[b]}],"gap-x":[{"gap-x":[b]}],"gap-y":[{"gap-y":[b]}],"justify-content":[{justify:["normal",...K()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...K(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...K(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[v]}],px:[{px:[v]}],py:[{py:[v]}],ps:[{ps:[v]}],pe:[{pe:[v]}],pt:[{pt:[v]}],pr:[{pr:[v]}],pb:[{pb:[v]}],pl:[{pl:[v]}],m:[{m:[m]}],mx:[{mx:[m]}],my:[{my:[m]}],ms:[{ms:[m]}],me:[{me:[m]}],mt:[{mt:[m]}],mr:[{mr:[m]}],mb:[{mb:[m]}],ml:[{ml:[m]}],"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",l,r]}],"min-w":[{"min-w":[l,r,"min","max","fit"]}],"max-w":[{"max-w":[l,r,"none","full","min","max","fit","prose",{screen:[k]},k]}],h:[{h:[l,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[l,r,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[l,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[l,r,"auto","min","max","fit"]}],"font-size":[{text:["base",k,A]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",J]}],"font-family":[{font:[M]}],"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",l]}],"line-clamp":[{"line-clamp":["none",_,J]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",w,l]}],"list-image":[{"list-image":["none",l]}],"list-style-type":[{list:["none","disc","decimal",l]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[h]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[h]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...z(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",w,A]}],"underline-offset":[{"underline-offset":["auto",w,l]}],"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",l]}],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",l]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[h]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...oe(),Ar]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",wr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Er]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[E]}],"gradient-via-pos":[{via:[E]}],"gradient-to-pos":[{to:[E]}],"gradient-from":[{from:[x]}],"gradient-via":[{via:[x]}],"gradient-to":[{to:[x]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[i]}],"border-w-x":[{"border-x":[i]}],"border-w-y":[{"border-y":[i]}],"border-w-s":[{"border-s":[i]}],"border-w-e":[{"border-e":[i]}],"border-w-t":[{"border-t":[i]}],"border-w-r":[{"border-r":[i]}],"border-w-b":[{"border-b":[i]}],"border-w-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[h]}],"border-style":[{border:[...z(),"hidden"]}],"divide-x":[{"divide-x":[i]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[i]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[h]}],"divide-style":[{divide:z()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...z()]}],"outline-offset":[{"outline-offset":[w,l]}],"outline-w":[{outline:[w,A]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:te()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[h]}],"ring-offset-w":[{"ring-offset":[w,A]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",k,Pr]}],"shadow-color":[{shadow:[M]}],opacity:[{opacity:[h]}],"mix-blend":[{"mix-blend":[...se(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":se()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[o]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",k,l]}],grayscale:[{grayscale:[f]}],"hue-rotate":[{"hue-rotate":[p]}],invert:[{invert:[g]}],saturate:[{saturate:[H]}],sepia:[{sepia:[Z]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[f]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[p]}],"backdrop-invert":[{"backdrop-invert":[g]}],"backdrop-opacity":[{"backdrop-opacity":[h]}],"backdrop-saturate":[{"backdrop-saturate":[H]}],"backdrop-sepia":[{"backdrop-sepia":[Z]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[n]}],"border-spacing-x":[{"border-spacing-x":[n]}],"border-spacing-y":[{"border-spacing-y":[n]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",l]}],duration:[{duration:D()}],ease:[{ease:["linear","in","out","in-out",l]}],delay:[{delay:D()}],animate:[{animate:["none","spin","ping","pulse","bounce",l]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[j]}],"scale-x":[{"scale-x":[j]}],"scale-y":[{"scale-y":[j]}],rotate:[{rotate:[R,l]}],"translate-x":[{"translate-x":[re]}],"translate-y":[{"translate-y":[re]}],"skew-x":[{"skew-x":[Q]}],"skew-y":[{"skew-y":[Q]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",l]}],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",l]}],"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",l]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[w,A,J]}],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=dr(Lr);function Or(...e){return xe(de(e))}var ve=(e,r)=>{if(e===r)return!0;if(typeof e!="object"||typeof r!="object"||e===null||r===null)return!1;let t=Object.keys(e),o=Object.keys(r);if(t.length!==o.length)return!1;for(let s of t)if(!o.includes(s)||!ve(e[s],r[s]))return!1;return!0};var Tr=[{name:"Spotify Link Shortener",slug:"spotify-link-shortener"},{name:"ChatGPT Link Shortener",slug:"chatgpt-link-shortener"},{name:"GitHub Link Shortener",slug:"github-link-shortener"},{name:"Calendar Link Shortener",slug:"cal-link-shortener"},{name:"Google Link Shortener",slug:"google-link-shortener"},{name:"Amazon Link Shortener",slug:"amazon-link-shortener"},{name:"Figma Link Shortener",slug:"figma-link-shortener"},{name:"Metatags API",slug:"metatags"},{name:"Link Inspector",slug:"inspector"},{name:"QR Code API",slug:"qr-code"},{name:"UTM Builder",slug:"utm-builder"}],Cr=[{name:"Bitly",slug:"bitly"},{name:"Rebrandly",slug:"rebrandly"},{name:"Short.io",slug:"short"}],Nr=[{name:"Privacy",slug:"privacy"},{name:"Terms",slug:"terms"},{name:"Subprocessors",slug:"subprocessors"},{name:"DPA",slug:"dpa"},{name:"Report Abuse",slug:"abuse"}];var Rr="https://www.google.com/s2/favicons?sz=64&domain_url=";var Mr=100,Ur=60*60*24*14,zr=new Date("2022-09-22T00:00:00.000Z");export{ke as a,Ee as b,G as c,Ie as d,De as e,Ye as f,Xe as g,He as h,Ze as i,Or as j,ve as k,Tr as l,Cr as m,Nr as n,Rr as o,Mr as p};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{j as C}from"./chunk-U3WMNJPM.mjs";import{jsx as l,jsxs as f}from"react/jsx-runtime";function o({className:t}){return f("svg",{className:C("h-full w-full",t),viewBox:"0 0 222 222",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[l("path",{d:"M110.999 0C49.6974 0 0 49.6973 0 111.001C0 172.307 49.6974 222 110.999 222C172.308 222 222 172.307 222 111.001C222 49.7012 172.308 0.00530203 110.998 0.00530203L110.999 0ZM161.903 160.095C159.915 163.356 155.647 164.389 152.386 162.388C126.324 146.469 93.5163 142.863 54.8787 151.691C51.1554 152.539 47.4441 150.207 46.5958 146.482C45.7435 142.757 48.0671 139.046 51.7996 138.197C94.0823 128.537 130.351 132.697 159.61 150.578C162.871 152.579 163.904 156.834 161.903 160.095ZM175.489 129.871C172.984 133.943 167.655 135.228 163.586 132.723C133.75 114.383 88.2687 109.072 52.9779 119.785C48.4011 121.167 43.5671 118.588 42.178 114.019C40.7995 109.442 43.3802 104.617 47.9491 103.225C88.2608 90.9935 138.376 96.9185 172.639 117.974C176.708 120.479 177.994 125.808 175.489 129.872V129.871ZM176.655 98.3977C140.881 77.1485 81.8574 75.1947 47.7012 85.5615C42.2164 87.225 36.4161 84.1286 34.754 78.6437C33.0918 73.1561 36.1855 67.3596 41.6743 65.6922C80.8832 53.7891 146.063 56.0889 187.251 80.5405C192.195 83.4685 193.812 89.8403 190.883 94.7672C187.967 99.7007 181.578 101.327 176.661 98.3977H176.655Z",fill:"#1ED760"}),l("path",{d:"M161.903 160.095C159.915 163.356 155.647 164.389 152.386 162.388C126.325 146.469 93.5164 142.863 54.8788 151.691C51.1556 152.539 47.4442 150.207 46.5959 146.482C45.7436 142.757 48.0672 139.046 51.7997 138.197C94.0824 128.537 130.351 132.697 159.61 150.578C162.871 152.579 163.905 156.834 161.903 160.095ZM175.489 129.871C172.984 133.943 167.656 135.228 163.586 132.723C133.75 114.383 88.2689 109.072 52.9781 119.785C48.4012 121.167 43.5672 118.588 42.1781 114.019C40.7996 109.442 43.3803 104.617 47.9492 103.225C88.2609 90.9934 138.376 96.9184 172.639 117.974C176.709 120.479 177.994 125.808 175.489 129.872V129.871ZM176.656 98.3977C140.881 77.1485 81.8576 75.1947 47.7014 85.5615C42.2165 87.225 36.4163 84.1286 34.7541 78.6437C33.092 73.1561 36.1856 67.3596 41.6744 65.6921C80.8833 53.7891 146.064 56.0888 187.251 80.5405C192.195 83.4685 193.813 89.8402 190.883 94.7672C187.967 99.7007 181.578 101.327 176.661 98.3977H176.656Z",fill:"white"})]})}export{o as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{j as a}from"./chunk-KQADMCRQ.mjs";import*as e from"@radix-ui/react-dialog";import{X as l}from"lucide-react";import*as s from"react";import{jsx as o,jsxs as n}from"react/jsx-runtime";var R=e.Root,y=e.Trigger,g=e.Close,c=e.Portal,h=s.forwardRef(({className:t,children:i,...r},m)=>o(c,{children:n(e.Content,{ref:m,className:a("fixed inset-y-0 right-0 z-50 h-full w-3/4 gap-4 border-l border-gray-200 bg-white p-6 shadow-xl transition ease-in-out sm:max-w-sm","data-[state=closed]:animate-slide-out-to-right data-[state=open]:animate-slide-in-from-right data-[state=closed]:duration-300 data-[state=open]:duration-500",t),...r,children:[n(e.Close,{className:"absolute right-4 top-4 rounded-md p-1 transition-colors hover:bg-gray-100 focus:outline-none focus:ring-0 disabled:pointer-events-none data-[state=open]:bg-gray-100",children:[o(l,{className:"size-4"}),o("span",{className:"sr-only",children:"Close"})]}),i]})}));h.displayName=e.Content.displayName;var p=({className:t,...i})=>o("div",{className:a("flex flex-col space-y-2 text-center sm:text-left",t),...i});p.displayName="SheetHeader";var d=({className:t,...i})=>o("div",{className:a("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...i});d.displayName="SheetFooter";var f=s.forwardRef(({className:t,...i},r)=>o(e.Title,{ref:r,className:a("text-foreground text-lg font-semibold",t),...i}));f.displayName=e.Title.displayName;var S=s.forwardRef(({className:t,...i},r)=>o(e.Description,{ref:r,className:a("text-muted-foreground text-sm",t),...i}));S.displayName=e.Description.displayName;export{R as a,y as b,g as c,c as d,h as e,p as f,d as g,f as h,S as i};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as p}from"./chunk-NWME2ANF.mjs";import{a as s}from"./chunk-4A7C7W5O.mjs";import{a as y}from"./chunk-2TGXECZQ.mjs";import{a as g,e as f,i as b}from"./chunk-KQADMCRQ.mjs";import{Link2 as v}from"lucide-react";import{useRouter as R,useSearchParams as k}from"next/navigation";import{useEffect as E,useMemo as P,useRef as W}from"react";import M from"swr";import{useDebounce as U}from"use-debounce";import{Fragment as h,jsx as e,jsxs as r}from"react/jsx-runtime";function H({defaultUrl:t}){let x=R(),l=k(),i=t||(l==null?void 0:l.get("url"))||"https://github.com/dubinc/dub",[a]=U(g(i),500),d=P(()=>f(a||""),[a]),{data:N,isValidating:w}=M(a&&`/api/metatags?url=${encodeURIComponent(a)}`,b,{revalidateOnFocus:!1}),{title:n,description:u,image:c}=N||{},o=W(null);E(()=>{!t&&o.current&&o.current.select()},[t]);let{isMobile:L}=p();return r(h,{children:[!t&&r("div",{className:"relative flex items-center",children:[e(v,{className:"absolute inset-y-0 left-0 my-2 ml-3 w-5 text-gray-400"}),e("input",{ref:o,name:"url",id:"url",type:"url",autoFocus:!L,className:"block w-full rounded-md border-gray-200 pl-10 text-sm text-gray-900 placeholder-gray-400 shadow-lg focus:border-gray-500 focus:outline-none focus:ring-gray-500",placeholder:"Enter your URL",defaultValue:i,onChange:m=>x.replace(`/tools/metatags${m.target.value.length>0?`?url=${m.target.value}`:""}`),"aria-invalid":"true"})]}),r("div",{className:"relative overflow-hidden rounded-md border border-gray-300 bg-gray-50",children:[w&&e("div",{className:"absolute flex h-[250px] w-full flex-col items-center justify-center space-y-4 border-b border-gray-300 bg-gray-50",children:e(s,{})}),c?e("img",{src:c,alt:"Preview",className:"h-[250px] w-full border-b border-gray-300 object-cover"}):r("div",{className:"flex h-[250px] w-full flex-col items-center justify-center space-y-4 border-b border-gray-300",children:[e(y,{className:"h-8 w-8 text-gray-400"}),e("p",{className:"text-sm text-gray-400",children:"Enter a link to generate a preview."})]}),r("div",{className:"grid gap-1 bg-white p-3 text-left",children:[d?e("p",{className:"text-sm text-[#536471]",children:d}):e("div",{className:"mb-1 h-4 w-24 rounded-md bg-gray-100"}),n?e("h3",{className:"truncate text-sm font-medium text-[#0f1419]",children:n}):e("div",{className:"mb-1 h-4 w-full rounded-md bg-gray-100"}),u?e("p",{className:"line-clamp-2 text-sm text-[#536471]",children:u}):r("div",{className:"grid gap-2",children:[e("div",{className:"h-4 w-full rounded-md bg-gray-100"}),e("div",{className:"h-4 w-48 rounded-md bg-gray-100"})]})]})]})]})}function O({defaultUrl:t}){return r(h,{children:[r("div",{className:"relative flex items-center",children:[e(v,{className:"absolute inset-y-0 left-0 my-2 ml-3 w-5 text-gray-400"}),e("input",{name:"url",id:"url",type:"url",disabled:!0,className:"block w-full rounded-md border-gray-200 pl-10 text-sm text-gray-900 placeholder-gray-400 shadow-lg focus:border-gray-500 focus:outline-none focus:ring-gray-500",placeholder:"Enter your URL",defaultValue:t||"https://github.com/dubinc/dub"})]}),e("div",{className:"relative overflow-hidden rounded-md border border-gray-300 bg-gray-50",children:e("div",{className:"absolute flex h-[250px] w-full flex-col items-center justify-center space-y-4 border-b border-gray-300 bg-gray-50",children:e(s,{})})})]})}export{H as a,O as b};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{j as r}from"./chunk-KQADMCRQ.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{a as e}from"./chunk-EHYVEIOL.mjs";import{a as r}from"./chunk-BKZ6TNZC.mjs";import{j as o}from"./chunk-KQADMCRQ.mjs";import{cva as g}from"class-variance-authority";import{useState as f}from"react";import{toast as d}from"sonner";import{jsx as t,jsxs as b}from"react/jsx-runtime";var y=g("relative group rounded-full p-1.5 transition-all duration-75",{variants:{variant:{default:"bg-transparent hover:bg-gray-100 active:bg-gray-200",neutral:"bg-transparent hover:bg-gray-100 active:bg-gray-200"}},defaultVariants:{variant:"default"}});function B({variant:n="default",value:s,className:i,icon:p,successMessage:c}){let[u,a]=f(!1),l=p||r;return b("button",{onClick:m=>{m.stopPropagation(),a(!0),navigator.clipboard.writeText(s).then(()=>{d.success(c||"Copied to clipboard!")}),setTimeout(()=>a(!1),3e3)},className:o(y({variant:n}),i),type:"button",children:[t("span",{className:"sr-only",children:"Copy"}),u?t(e,{className:"h-3.5 w-3.5"}):t(l,{className:"h-3.5 w-3.5"})]})}export{B as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{e as _}from"./chunk-VR523AKG.mjs";import{a as v}from"./chunk-DXAEXHSE.mjs";import{a as N}from"./chunk-NVIKWM4W.mjs";import{a as x}from"./chunk-SVBY2M2W.mjs";import{a as y}from"./chunk-PKXJC6FP.mjs";import{a as b}from"./chunk-YIKV7JI7.mjs";import{a as f}from"./chunk-ALEYOCBW.mjs";import{c as o,h as d,i as g,j as p,o as h,p as n}from"./chunk-5BZ3GYDV.mjs";import T from"next/image";import s from"next/link";import{useParams as E}from"next/navigation";import{useEffect as F,useState as w}from"react";import A from"swr";import{jsx as e,jsxs as r}from"react/jsx-runtime";var m={features:v.map(({title:a,href:t})=>({name:a,href:t})),product:[{name:"Blog",href:"/blog"},{name:"Brand",href:"/brand"},{name:"Changelog",href:"/changelog"},{name:"Customers",href:"/customers"},{name:"Enterprise",href:"/enterprise"},{name:"Pricing",href:"/pricing"},{name:"Help Center",href:"/help"}],compare:g.map(({name:a,slug:t})=>({name:a,href:`/compare/${t}`})),legal:p.map(({name:a,slug:t})=>({name:a,href:`/legal/${t}`})),tools:d.map(({name:a,slug:t})=>({name:a,href:`/tools/${t}`}))};function Y(){let{domain:a="dub.co"}=E();return e("footer",{children:r(N,{className:"relative z-10 overflow-hidden border border-b-0 border-gray-200 bg-white/50 pb-60 pt-16 backdrop-blur-lg md:rounded-t-2xl",children:[r("div",{className:"xl:grid xl:grid-cols-3 xl:gap-8",children:[r("div",{className:"space-y-6",children:[r(s,{href:o("/",a,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:a,utm_content:"Logo"}),className:"block max-w-fit",children:[r("span",{className:"sr-only",children:[process.env.NEXT_PUBLIC_APP_NAME," Logo"]}),e(_,{className:"h-8 text-gray-800"})]}),e("p",{className:"max-w-xs text-sm text-gray-500",children:"Giving modern marketing teams superpowers with short links that stand out."}),r("p",{className:"text-sm leading-5 text-gray-400",children:["\xA9 ",new Date().getFullYear()," Dub Technologies, Inc."]}),r("div",{className:"flex items-center space-x-3",children:[r("a",{href:"https://twitter.com/dubdotco",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"Twitter"}),e(x,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-black"})]}),r("a",{href:"https://github.com/dubinc/dub",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"Github"}),e(f,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-black"})]}),r("a",{href:"https://www.linkedin.com/company/dubinc",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"LinkedIn"}),e(b,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-[#0077b5]"})]}),r("a",{href:"https://www.youtube.com/@dubdotco",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"YouTube"}),e(y,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-[#ff0000]"})]})]}),e(D,{})]}),r("div",{className:"mt-16 grid grid-cols-2 gap-4 xl:col-span-2 xl:mt-0",children:[r("div",{className:"md:grid md:grid-cols-2",children:[r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Features"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.features.map(t=>e("li",{children:e(s,{href:o(t.href,a,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:a,utm_content:t.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:t.name})},t.name))})]}),r("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Product"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.product.map(t=>e("li",{children:e(s,{href:o(t.href,a,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:a,utm_content:t.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:t.name})},t.name))})]})]}),r("div",{className:"md:grid md:grid-cols-2",children:[r("div",{className:"flex flex-col space-y-8",children:[r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Compare"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.compare.map(t=>e("li",{children:e(s,{href:o(t.href,a,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:a,utm_content:t.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:t.name})},t.name))})]}),r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Legal"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.legal.map(t=>e("li",{children:e(s,{href:o(t.href,a,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:a,utm_content:t.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:t.name})},t.name))})]})]}),r("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Tools"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.tools.map(t=>e("li",{children:e(s,{href:o(t.href,a,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:a,utm_content:t.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:t.name})},t.name))})]})]})]})]}),e(T,{src:"https://assets.dub.co/footer.png",alt:"Dub Technologies, Inc. Logo",width:1959,height:625,className:"pointer-events-none absolute inset-x-0 bottom-0 z-0"})]})})}function D(){let{data:a}=A("https://status.dub.co/api/v1/summary",h),[t,l]=w("bg-gray-200"),[i,c]=w("Loading status...");return F(()=>{if(!a)return;let{ongoing_incidents:u}=a;if(u.length>0){let{current_worst_impact:k,name:L}=u[0],C=k==="degraded_performance"?"bg-yellow-500":"bg-red-500";c(L),l(C)}else c("All systems operational"),l("bg-green-500")},[a]),r(s,{href:"https://status.dub.co",target:"_blank",className:"group flex max-w-fit items-center space-x-2 rounded-md border border-gray-200 bg-white px-3 py-2 transition-colors hover:bg-gray-100",children:[r("div",{className:"relative h-3 w-3",children:[e("div",{className:n("absolute inset-0 m-auto h-3 w-3 animate-ping items-center justify-center rounded-full group-hover:animate-none",t,i==="Loading status..."&&"animate-none")}),e("div",{className:n("absolute inset-0 z-10 m-auto h-3 w-3 rounded-full",t)})]}),e("p",{className:"text-sm font-medium text-gray-800",children:i})]})}export{Y as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{c as b}from"./chunk-UWLIGCNP.mjs";import{a as h}from"./chunk-OC6WDPQV.mjs";import{b as p,d as f,i as g,j as i}from"./chunk-U3WMNJPM.mjs";import{ChevronDown as w,Menu as x,X as C}from"lucide-react";import r from"next/link";import{useParams as N}from"next/navigation";import{useEffect as _,useState as v}from"react";import z from"swr";import{Fragment as D,jsx as e,jsxs as s}from"react/jsx-runtime";function j({theme:n="light"}){let{domain:m="dub.co"}=N(),[a,o]=v(!1);_(()=>{a?document.body.style.overflow="hidden":document.body.style.overflow="auto"},[a]);let{data:t}=z(m==="dub.co"&&"/api/auth/session",g,{dedupingInterval:6e4});return s("div",{className:i(n==="dark"&&"dark"),children:[e("button",{onClick:()=>o(!a),className:i("fixed right-3 top-3 z-40 rounded-full p-2 transition-colors duration-200 hover:bg-gray-200 focus:outline-none active:bg-gray-300 lg:hidden dark:hover:bg-white/20 dark:active:bg-white/30",a&&"hover:bg-gray-100 active:bg-gray-200"),children:a?e(C,{className:"h-5 w-5 text-gray-600 dark:text-white/70"}):e(x,{className:"h-5 w-5 text-gray-600 dark:text-white/70"})}),e("nav",{className:i("fixed inset-0 z-20 hidden w-full bg-white px-5 py-16 lg:hidden dark:bg-black dark:text-white/70",a&&"block"),children:s("ul",{className:"grid divide-y divide-gray-200 dark:divide-white/[0.15]",children:[b.map(({name:l,href:u,childItems:d},c)=>e(L,{name:l,href:u,childItems:d,setOpen:o},c)),t&&Object.keys(t).length>0?e("li",{className:"py-3",children:e(r,{href:f,className:"flex w-full font-semibold capitalize",children:"Dashboard"})}):s(D,{children:[e("li",{className:"py-3",children:e(r,{href:`${f}/login`,className:"flex w-full font-semibold capitalize",children:"Log in"})}),e("li",{className:"py-3",children:e(r,{href:`${f}/register`,className:"flex w-full font-semibold capitalize",children:"Sign Up"})})]})]})})]})}var L=({name:n,href:m,childItems:a,setOpen:o})=>{let{domain:t="dub.co"}=N(),[l,u]=v(!1);return a?e("li",{className:"py-3",children:s(h,{height:!0,children:[s("button",{className:"flex w-full justify-between",onClick:()=>u(!l),children:[e("p",{className:"font-semibold",children:n}),e(w,{className:i("h-5 w-5 text-gray-500 transition-all dark:text-white/50",l&&"rotate-180")})]}),l&&e("div",{className:"grid gap-4 overflow-hidden py-4",children:a.map(({title:d,href:c,icon:y,iconClassName:k})=>s(r,{href:p(c,t,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:t,utm_content:d}),onClick:()=>o(!1),className:"flex w-full space-x-2",children:[e(y,{className:i("h-5 w-5 text-gray-500 dark:text-white/80",k)}),e("span",{className:"text-sm",children:d})]},c))})]})}):m?e("li",{className:"py-3",children:e(r,{href:p(m,t,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:t,utm_content:n}),onClick:()=>o(!1),className:"flex w-full font-semibold capitalize",children:n})}):null};export{j as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{j as r}from"./chunk-U3WMNJPM.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 l,e as p}from"./chunk-DXAEXHSE.mjs";import{a as s,c as n}from"./chunk-OZV4ZCJU.mjs";import{c as i,p as e}from"./chunk-5BZ3GYDV.mjs";import{jsx as r,jsxs as c}from"react/jsx-runtime";function N({domain:a}){return c("div",{className:"grid w-[28rem] grid-cols-2",children:[c("div",{className:"border-l border-gray-200 p-5 dark:border-white/20",children:[r("p",{className:e(s,"mb-2"),children:"SDKs"}),r("div",{className:"-mx-2 flex flex-col gap-0.5",children:l.map(({icon:m,iconClassName:t,title:o,href:d})=>r(n,{href:i(d,a,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:a,utm_content:o}),icon:r(m,{className:e("h-5 w-5 shrink-0 text-gray-600 transition-colors dark:text-white/60",t)}),title:o,showArrow:!0},d))})]}),c("div",{className:"border-l border-gray-200 p-5 dark:border-white/20",children:[r("p",{className:e(s,"mb-2"),children:"Content"}),r("div",{className:"-mx-2 flex flex-col gap-0.5",children:p.map(({icon:m,title:t,href:o})=>r(n,{href:i(o,a,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:a,utm_content:t}),icon:r(m,{className:e("h-5 w-5 shrink-0 text-gray-600 dark:text-white/60")}),title:t,showArrow:!0}))})]})]})}export{N as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as I}from"./chunk-4MWFGGKN.mjs";import{a as U}from"./chunk-H2SAZ2A2.mjs";import{a as q}from"./chunk-GNEZCVAY.mjs";import{c as C}from"./chunk-3FCJMXWB.mjs";import{a as H}from"./chunk-CEYYIVSB.mjs";import{a as F}from"./chunk-NWME2ANF.mjs";import{p as T}from"./chunk-5BZ3GYDV.mjs";import{enUS as Z}from"date-fns/locale";import{useEffect as N,useMemo as B,useState as S}from"react";import{format as M}from"date-fns";import{createContext as W}from"react";var A=W({isOpen:!1,setIsOpen:()=>{}}),X=()=>{let a=typeof window<"u"?window.navigator.language:"en-US",l=new Intl.DateTimeFormat(a,{hour:"numeric"}).format();return Number.isInteger(Number(l))},Y=(a,l,s=!1)=>{let i=!X(),e;return s?e=i?M(a,"d MMM, yyyy h:mm a",{locale:l}):M(a,"d MMM, yyyy HH:mm",{locale:l}):e=M(a,"d MMM, yyyy",{locale:l}),e},L=(a,l)=>{let{toYear:s,fromYear:i,fromMonth:e,toMonth:h,fromDay:y,toDay:P}=l;if(a&&a.length>0){let v=i,u=s;a.forEach(t=>{var R,$,x,g,E,D;if("date"in t){let d=t.date.getFullYear();if(i&&d<i)throw new Error(`Preset ${t.label} is before fromYear ${v}.`);if(s&&d>s)throw new Error(`Preset ${t.label} is after toYear ${u}.`);if(e&&t.date.getMonth()<e.getMonth())throw new Error(`Preset ${t.label} is before fromMonth ${e}.`);if(h&&t.date.getMonth()>h.getMonth())throw new Error(`Preset ${t.label} is after toMonth ${h}.`);if(y&&t.date.getDate()<y.getDate())throw new Error(`Preset ${t.label} is before fromDay ${y}.`);if(P&&t.date.getDate()>P.getDate())throw new Error(`Preset ${t.label} is after toDay ${M(P,"MMM dd, yyyy")}.`)}if("dateRange"in t){let d=(R=t.dateRange.from)==null?void 0:R.getFullYear(),f=($=t.dateRange.to)==null?void 0:$.getFullYear();if(d&&i&&d<i)throw new Error(`Preset ${t.label}'s 'from' is before fromYear ${v}.`);if(f&&s&&f>s)throw new Error(`Preset ${t.label}'s 'to' is after toYear ${u}.`);if(e){let n=(x=t.dateRange.from)==null?void 0:x.getMonth();if(n&&n<e.getMonth())throw new Error(`Preset ${t.label}'s 'from' is before fromMonth ${M(e,"MMM, yyyy")}.`)}if(h){let n=(g=t.dateRange.to)==null?void 0:g.getMonth();if(n&&n>h.getMonth())throw new Error(`Preset ${t.label}'s 'to' is after toMonth ${M(h,"MMM, yyyy")}.`)}if(y){let n=(E=t.dateRange.from)==null?void 0:E.getDate();if(n&&n<y.getDate())throw new Error(`Preset ${t.dateRange.from}'s 'from' is before fromDay ${M(y,"MMM dd, yyyy")}.`)}if(P){let n=(D=t.dateRange.to)==null?void 0:D.getDate();if(n&&n>P.getDate())throw new Error(`Preset ${t.label}'s 'to' is after toDay ${M(P,"MMM dd, yyyy")}.`)}}})}};import{jsx as m,jsxs as j}from"react/jsx-runtime";var _=({value:a,defaultValue:l,presetId:s,onChange:i,presets:e,disabled:h,disableNavigation:y,disabledDays:P,showYearNavigation:v=!1,locale:u=Z,placeholder:t="Select date range",hasError:R,align:$="center",className:x,...g})=>{let{isDesktop:E}=F(),[D,d]=S(!1),[f,n]=S(e&&s?e==null?void 0:e.find(({id:r})=>r===s):void 0),[o,w]=S((f==null?void 0:f.dateRange)??a??l??void 0),[K,k]=S(o==null?void 0:o.to),Q=B(()=>o,[D]);N(()=>{w(a)},[a]),N(()=>{let r=e==null?void 0:e.find(({id:b})=>b===s);n(r),w((r==null?void 0:r.dateRange)??a??l)},[e,s]),N(()=>{D?o&&k(o.to):k(o==null?void 0:o.to)},[D]);let V=(r,b)=>{let c=(o==null?void 0:o.from)&&(o==null?void 0:o.to)?{from:b}:r;w(c),n(void 0),(c==null?void 0:c.from)&&(c==null?void 0:c.to)&&(i==null||i(c),d(!1))},O=r=>{w(r.dateRange),n(r),i==null||i(r.dateRange,r),d(!1)},z=()=>{w(Q),d(!1)},G=r=>{r||z(),d(r)},J=B(()=>o?`${o.from?Y(o.from,u):""} - ${o.to?Y(o.to,u):""}`:null,[o,u]);return C((e==null?void 0:e.filter(r=>r.shortcut).map(r=>r.shortcut))??[],r=>{let b=e==null?void 0:e.find(c=>c.shortcut===r.key);b&&O(b)}),m(A.Provider,{value:{isOpen:D,setIsOpen:d},children:m(H,{align:$,openPopover:D,setOpenPopover:G,popoverContentClassName:"rounded-xl",content:m("div",{className:"flex w-full",children:j("div",{className:"scrollbar-hide flex w-full flex-col overflow-x-scroll sm:flex-row-reverse sm:items-start",children:[e&&e.length>0&&m("div",{className:T("relative flex h-16 w-full items-center sm:h-full sm:w-48","border-b border-gray-200 sm:border-b-0 sm:border-l","scrollbar-hide overflow-auto"),children:m("div",{className:"absolute px-3 sm:inset-0 sm:left-0 sm:p-3",children:m(U,{currentValue:o,presets:e,onSelect:O})})}),m("div",{className:"scrollbar-hide overflow-x-scroll",children:m(I,{mode:"range",selected:o,onSelect:V,month:K,onMonthChange:k,numberOfMonths:E?2:1,disabled:P,disableNavigation:y,showYearNavigation:v,locale:u,className:"scrollbar-hide overflow-x-scroll",classNames:{months:"flex flex-row divide-x divide-gray-200 overflow-x-scroll scrollbar-hide"},...g})})]})}),children:m(q,{placeholder:t,disabled:h,className:x,hasError:R,"aria-required":g.required||g["aria-required"],"aria-invalid":g["aria-invalid"],"aria-label":g["aria-label"],"aria-labelledby":g["aria-labelledby"],children:(f==null?void 0:f.label)??J})})})};function he({presets:a,...l}){return a&&L(a,l),m(_,{presets:a,...l})}export{A as a,he as b};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as e}from"./chunk-EHYVEIOL.mjs";import{a as r}from"./chunk-BKZ6TNZC.mjs";import{j as o}from"./chunk-U3WMNJPM.mjs";import{cva as g}from"class-variance-authority";import{useState as f}from"react";import{toast as d}from"sonner";import{jsx as t,jsxs as b}from"react/jsx-runtime";var y=g("relative group rounded-full p-1.5 transition-all duration-75",{variants:{variant:{default:"bg-transparent hover:bg-gray-100 active:bg-gray-200",neutral:"bg-transparent hover:bg-gray-100 active:bg-gray-200"}},defaultVariants:{variant:"default"}});function B({variant:n="default",value:s,className:i,icon:p,successMessage:c}){let[u,a]=f(!1),l=p||r;return b("button",{onClick:m=>{m.stopPropagation(),a(!0),navigator.clipboard.writeText(s).then(()=>{d.success(c||"Copied to clipboard!")}),setTimeout(()=>a(!1),3e3)},className:o(y({variant:n}),i),type:"button",children:[t("span",{className:"sr-only",children:"Copy"}),u?t(e,{className:"h-3.5 w-3.5"}):t(l,{className:"h-3.5 w-3.5"})]})}export{B as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{e as _}from"./chunk-2IVBNILB.mjs";import{a as v}from"./chunk-WA2SBQQN.mjs";import{a as N}from"./chunk-EYVALJ6V.mjs";import{a as x}from"./chunk-BOUPQUXE.mjs";import{a as y}from"./chunk-HHXN2BYR.mjs";import{a as f}from"./chunk-ALEYOCBW.mjs";import{a as b}from"./chunk-RXTKZ5EU.mjs";import{b as o,i as d,j as n,l as g,m as p,n as h}from"./chunk-KQADMCRQ.mjs";import T from"next/image";import s from"next/link";import{useParams as E}from"next/navigation";import{useEffect as F,useState as w}from"react";import A from"swr";import{jsx as e,jsxs as r}from"react/jsx-runtime";var m={features:v.map(({title:a,href:t})=>({name:a,href:t})),product:[{name:"Blog",href:"/blog"},{name:"Brand",href:"/brand"},{name:"Changelog",href:"/changelog"},{name:"Customers",href:"/customers"},{name:"Enterprise",href:"/enterprise"},{name:"Pricing",href:"/pricing"},{name:"Help Center",href:"/help"}],compare:p.map(({name:a,slug:t})=>({name:a,href:`/compare/${t}`})),legal:h.map(({name:a,slug:t})=>({name:a,href:`/legal/${t}`})),tools:g.map(({name:a,slug:t})=>({name:a,href:`/tools/${t}`}))};function Y(){let{domain:a="dub.co"}=E();return e("footer",{children:r(N,{className:"relative z-10 overflow-hidden border border-b-0 border-gray-200 bg-white/50 pb-60 pt-16 backdrop-blur-lg md:rounded-t-2xl",children:[r("div",{className:"xl:grid xl:grid-cols-3 xl:gap-8",children:[r("div",{className:"space-y-6",children:[r(s,{href:o("/",a,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:a,utm_content:"Logo"}),className:"block max-w-fit",children:[r("span",{className:"sr-only",children:[process.env.NEXT_PUBLIC_APP_NAME," Logo"]}),e(_,{className:"h-8 text-gray-800"})]}),e("p",{className:"max-w-xs text-sm text-gray-500",children:"Giving modern marketing teams superpowers with short links that stand out."}),r("p",{className:"text-sm leading-5 text-gray-400",children:["\xA9 ",new Date().getFullYear()," Dub Technologies, Inc."]}),r("div",{className:"flex items-center space-x-3",children:[r("a",{href:"https://twitter.com/dubdotco",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"Twitter"}),e(x,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-black"})]}),r("a",{href:"https://github.com/dubinc/dub",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"Github"}),e(f,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-black"})]}),r("a",{href:"https://www.linkedin.com/company/dubinc",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"LinkedIn"}),e(b,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-[#0077b5]"})]}),r("a",{href:"https://www.youtube.com/@dubdotco",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"YouTube"}),e(y,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-[#ff0000]"})]})]}),e(D,{})]}),r("div",{className:"mt-16 grid grid-cols-2 gap-4 xl:col-span-2 xl:mt-0",children:[r("div",{className:"md:grid md:grid-cols-2",children:[r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Features"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.features.map(t=>e("li",{children:e(s,{href:o(t.href,a,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:a,utm_content:t.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:t.name})},t.name))})]}),r("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Product"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.product.map(t=>e("li",{children:e(s,{href:o(t.href,a,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:a,utm_content:t.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:t.name})},t.name))})]})]}),r("div",{className:"md:grid md:grid-cols-2",children:[r("div",{className:"flex flex-col space-y-8",children:[r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Compare"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.compare.map(t=>e("li",{children:e(s,{href:o(t.href,a,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:a,utm_content:t.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:t.name})},t.name))})]}),r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Legal"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.legal.map(t=>e("li",{children:e(s,{href:o(t.href,a,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:a,utm_content:t.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:t.name})},t.name))})]})]}),r("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Tools"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.tools.map(t=>e("li",{children:e(s,{href:o(t.href,a,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:a,utm_content:t.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:t.name})},t.name))})]})]})]})]}),e(T,{src:"https://assets.dub.co/footer.png",alt:"Dub Technologies, Inc. Logo",width:1959,height:625,className:"pointer-events-none absolute inset-x-0 bottom-0 z-0"})]})})}function D(){let{data:a}=A("https://status.dub.co/api/v1/summary",d),[t,l]=w("bg-gray-200"),[i,c]=w("Loading status...");return F(()=>{if(!a)return;let{ongoing_incidents:u}=a;if(u.length>0){let{current_worst_impact:k,name:L}=u[0],C=k==="degraded_performance"?"bg-yellow-500":"bg-red-500";c(L),l(C)}else c("All systems operational"),l("bg-green-500")},[a]),r(s,{href:"https://status.dub.co",target:"_blank",className:"group flex max-w-fit items-center space-x-2 rounded-md border border-gray-200 bg-white px-3 py-2 transition-colors hover:bg-gray-100",children:[r("div",{className:"relative h-3 w-3",children:[e("div",{className:n("absolute inset-0 m-auto h-3 w-3 animate-ping items-center justify-center rounded-full group-hover:animate-none",t,i==="Loading status..."&&"animate-none")}),e("div",{className:n("absolute inset-0 z-10 m-auto h-3 w-3 rounded-full",t)})]}),e("p",{className:"text-sm font-medium text-gray-800",children:i})]})}export{Y as a};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{j as v}from"./chunk-7OZYU3QM.mjs";import{useEffect as U,useRef as w,useState as _}from"react";import{jsx as S}from"react/jsx-runtime";var y=`
|
|
3
|
+
attribute vec2 position;
|
|
4
|
+
|
|
5
|
+
void main()
|
|
6
|
+
{
|
|
7
|
+
gl_Position = vec4(position, 0.0, 1.0);
|
|
8
|
+
}
|
|
9
|
+
`,z=`
|
|
10
|
+
precision mediump float;
|
|
11
|
+
|
|
12
|
+
uniform vec2 resolution;
|
|
13
|
+
uniform float time;
|
|
14
|
+
uniform float dotSize;
|
|
15
|
+
uniform float cellSize;
|
|
16
|
+
uniform float speed;
|
|
17
|
+
|
|
18
|
+
// Gold noise: https://stackoverflow.com/a/28095165
|
|
19
|
+
float PHI = 1.61803398874989484820459;
|
|
20
|
+
float random(in vec2 xy){
|
|
21
|
+
return fract(tan(distance(xy*PHI, xy))*xy.x);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
void main(void) {
|
|
25
|
+
vec2 uv = gl_FragCoord.xy;
|
|
26
|
+
|
|
27
|
+
vec2 cellUv = vec2(int(uv.x / cellSize), int(uv.y / cellSize));
|
|
28
|
+
float id = random(cellUv + 1.0);
|
|
29
|
+
|
|
30
|
+
float fadeEffect = (sin(time * speed + id * 20.0) + 1.0) * 0.5;
|
|
31
|
+
|
|
32
|
+
vec2 dotUv = fract(uv / cellSize);
|
|
33
|
+
float dot = step(max(dotUv.x, dotUv.y), dotSize / cellSize);
|
|
34
|
+
|
|
35
|
+
float opacity = dot * fadeEffect;
|
|
36
|
+
|
|
37
|
+
vec4 fragColor = vec4(vec3(0.0), opacity);
|
|
38
|
+
fragColor.rgb *= fragColor.a;
|
|
39
|
+
|
|
40
|
+
gl_FragColor = fragColor;
|
|
41
|
+
}
|
|
42
|
+
`,I=60,C=1e3/I;function H({dotSize:c=1,cellSize:l=3,speed:s=5,className:p}){let f=w(null),[h,A]=_(!1);return U(()=>{let o=f.current;if(!o||!o.parentElement)return;let m=o.parentElement,d=window.devicePixelRatio||1;o.width=m.clientWidth*d,o.height=m.clientHeight*d;let e=o.getContext("webgl",{powerPreference:"low-power",depth:!1,stencil:!1});if(e===null){alert("Failed to initialize WebGL");return}let t=e.createProgram();if(!t){console.error("Failed to create shader program");return}for(let r=0;r<2;++r){let T=r===0?y:z,i=e.createShader(r===0?e.VERTEX_SHADER:e.FRAGMENT_SHADER);if(!i){console.error("Failed to create shader");return}e.shaderSource(i,T),e.compileShader(i),e.getShaderParameter(i,e.COMPILE_STATUS)||console.error(e.getShaderInfoLog(i)),e.attachShader(t,i),e.linkProgram(t)}e.getProgramParameter(t,e.LINK_STATUS)||console.error(e.getProgramInfoLog(t));let u=e.getAttribLocation(t,"position"),R=e.getUniformLocation(t,"time"),F=e.getUniformLocation(t,"resolution"),E=e.getUniformLocation(t,"dotSize"),x=e.getUniformLocation(t,"cellSize"),P=e.getUniformLocation(t,"speed");e.useProgram(t);let L=[1,1,-1,1,1,-1,-1,-1],b=e.createBuffer();e.bindBuffer(e.ARRAY_BUFFER,b),e.bufferData(e.ARRAY_BUFFER,new Float32Array(L),e.STATIC_DRAW),e.enableVertexAttribArray(u),e.vertexAttribPointer(u,2,e.FLOAT,!1,0,0),e.uniform1f(E,c*window.devicePixelRatio),e.uniform1f(x,l*window.devicePixelRatio),e.uniform1f(P,s);let n,g=0;function a(r){if(r-g<C){n=requestAnimationFrame(a);return}g=r,e&&o&&t&&(e.clear(e.COLOR_BUFFER_BIT|e.DEPTH_BUFFER_BIT),e.uniform1f(R,r/1e3),e.uniform2f(F,o.width,o.height),e.drawArrays(e.TRIANGLE_STRIP,0,4)),n=requestAnimationFrame(a)}return n=requestAnimationFrame(a),o.addEventListener("webglcontextlost",r=>{r.preventDefault(),A(!0),cancelAnimationFrame(n)}),()=>{cancelAnimationFrame(n),o.removeEventListener("webglcontextlost",()=>{})}},[c,l,s]),S("div",{className:v("absolute inset-0",p,h&&"opacity-0"),children:S("canvas",{ref:f,width:"100%",height:"100%",className:"size-full"})})}export{H as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as p}from"./chunk-NWME2ANF.mjs";import{a as y}from"./chunk-2TGXECZQ.mjs";import{a as s}from"./chunk-SP4QXCKS.mjs";import{a as g,e as f,i as b}from"./chunk-U3WMNJPM.mjs";import{Link2 as v}from"lucide-react";import{useRouter as R,useSearchParams as k}from"next/navigation";import{useEffect as E,useMemo as P,useRef as W}from"react";import M from"swr";import{useDebounce as U}from"use-debounce";import{Fragment as h,jsx as e,jsxs as r}from"react/jsx-runtime";function H({defaultUrl:t}){let x=R(),l=k(),i=t||(l==null?void 0:l.get("url"))||"https://github.com/dubinc/dub",[a]=U(g(i),500),d=P(()=>f(a||""),[a]),{data:N,isValidating:w}=M(a&&`/api/metatags?url=${encodeURIComponent(a)}`,b,{revalidateOnFocus:!1}),{title:n,description:u,image:c}=N||{},o=W(null);E(()=>{!t&&o.current&&o.current.select()},[t]);let{isMobile:L}=p();return r(h,{children:[!t&&r("div",{className:"relative flex items-center",children:[e(v,{className:"absolute inset-y-0 left-0 my-2 ml-3 w-5 text-gray-400"}),e("input",{ref:o,name:"url",id:"url",type:"url",autoFocus:!L,className:"block w-full rounded-md border-gray-200 pl-10 text-sm text-gray-900 placeholder-gray-400 shadow-lg focus:border-gray-500 focus:outline-none focus:ring-gray-500",placeholder:"Enter your URL",defaultValue:i,onChange:m=>x.replace(`/tools/metatags${m.target.value.length>0?`?url=${m.target.value}`:""}`),"aria-invalid":"true"})]}),r("div",{className:"relative overflow-hidden rounded-md border border-gray-300 bg-gray-50",children:[w&&e("div",{className:"absolute flex h-[250px] w-full flex-col items-center justify-center space-y-4 border-b border-gray-300 bg-gray-50",children:e(s,{})}),c?e("img",{src:c,alt:"Preview",className:"h-[250px] w-full border-b border-gray-300 object-cover"}):r("div",{className:"flex h-[250px] w-full flex-col items-center justify-center space-y-4 border-b border-gray-300",children:[e(y,{className:"h-8 w-8 text-gray-400"}),e("p",{className:"text-sm text-gray-400",children:"Enter a link to generate a preview."})]}),r("div",{className:"grid gap-1 bg-white p-3 text-left",children:[d?e("p",{className:"text-sm text-[#536471]",children:d}):e("div",{className:"mb-1 h-4 w-24 rounded-md bg-gray-100"}),n?e("h3",{className:"truncate text-sm font-medium text-[#0f1419]",children:n}):e("div",{className:"mb-1 h-4 w-full rounded-md bg-gray-100"}),u?e("p",{className:"line-clamp-2 text-sm text-[#536471]",children:u}):r("div",{className:"grid gap-2",children:[e("div",{className:"h-4 w-full rounded-md bg-gray-100"}),e("div",{className:"h-4 w-48 rounded-md bg-gray-100"})]})]})]})]})}function O({defaultUrl:t}){return r(h,{children:[r("div",{className:"relative flex items-center",children:[e(v,{className:"absolute inset-y-0 left-0 my-2 ml-3 w-5 text-gray-400"}),e("input",{name:"url",id:"url",type:"url",disabled:!0,className:"block w-full rounded-md border-gray-200 pl-10 text-sm text-gray-900 placeholder-gray-400 shadow-lg focus:border-gray-500 focus:outline-none focus:ring-gray-500",placeholder:"Enter your URL",defaultValue:t||"https://github.com/dubinc/dub"})]}),e("div",{className:"relative overflow-hidden rounded-md border border-gray-300 bg-gray-50",children:e("div",{className:"absolute flex h-[250px] w-full flex-col items-center justify-center space-y-4 border-b border-gray-300 bg-gray-50",children:e(s,{})})})]})}export{H as a,O as b};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{j as a}from"./chunk-U3WMNJPM.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,6 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as W}from"./chunk-H635B55O.mjs";import{a as V}from"./chunk-NWPFM45T.mjs";import{a as L,e as _}from"./chunk-DXAEXHSE.mjs";import{a as H}from"./chunk-AFHS2QXS.mjs";import{a as w}from"./chunk-CJ3UITKZ.mjs";import{a as S}from"./chunk-J2WWV5OI.mjs";import{k as M}from"./chunk-CCVIXJ4T.mjs";import{b as k,d as y,i as P,j as n}from"./chunk-7OZYU3QM.mjs";import*as a from"@radix-ui/react-navigation-menu";import{cva as K}from"class-variance-authority";import Q from"js-cookie";import p from"next/link";import{useParams as X,useSelectedLayoutSegment as tt}from"next/navigation";import{createContext as et}from"react";import ot from"swr";import{useCallback as A,useEffect as T,useState as O}from"react";function x(r){let[t,d]=O(!1),i=A(()=>{d(window.scrollY>r)},[r]);return T(()=>(window.addEventListener("scroll",i),()=>window.removeEventListener("scroll",i)),[i]),T(()=>{i()},[i]),t}import*as l from"@radix-ui/react-popover";import{BoxSelect as Z,Home as G,LayoutGrid as j,Type as z}from"lucide-react";import{useParams as F}from"next/navigation";import{useCallback as U,useContext as $,useState as Y}from"react";import{toast as E}from"sonner";import{jsx as o,jsxs as R}from"react/jsx-runtime";var q=`<svg width="65" height="64" viewBox="0 0 65 64" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M32.5 64C50.1731 64 64.5 49.6731 64.5 32C64.5 20.1555 58.0648 9.81393 48.5 4.28099V31.9999V47.9998H40.5V45.8594C38.1466 47.2207 35.4143 47.9999 32.5 47.9999C23.6634 47.9999 16.5 40.8364 16.5 31.9999C16.5 23.1633 23.6634 15.9999 32.5 15.9999C35.4143 15.9999 38.1466 16.779 40.5 18.1404V1.00812C37.943 0.350018 35.2624 0 32.5 0C14.8269 0 0.500038 14.3269 0.500038 32C0.500038 49.6731 14.8269 64 32.5 64Z" fill="black"/>
|
|
4
|
+
</svg>`,J=`<svg width="46" height="24" viewBox="0 0 46 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
5
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M11 2H14V13.9332L14.0003 13.9731L14.0003 14C14.0003 14.0223 14.0002 14.0445 14 14.0668V21H11V19.7455C9.86619 20.5362 8.48733 21 7.00016 21C3.13408 21 0 17.866 0 14C0 10.134 3.13408 7 7.00016 7C8.48733 7 9.86619 7.46375 11 8.25452V2ZM7 17.9998C9.20914 17.9998 11 16.209 11 13.9999C11 11.7908 9.20914 10 7 10C4.79086 10 3 11.7908 3 13.9999C3 16.209 4.79086 17.9998 7 17.9998ZM32 2H35V8.25474C36.1339 7.46383 37.5128 7 39.0002 7C42.8662 7 46.0003 10.134 46.0003 14C46.0003 17.866 42.8662 21 39.0002 21C35.1341 21 32 17.866 32 14V2ZM39 17.9998C41.2091 17.9998 43 16.209 43 13.9999C43 11.7908 41.2091 10 39 10C36.7909 10 35 11.7908 35 13.9999C35 16.209 36.7909 17.9998 39 17.9998ZM19 7H16V14C16 14.9192 16.1811 15.8295 16.5329 16.6788C16.8846 17.5281 17.4003 18.2997 18.0503 18.9497C18.7003 19.5997 19.472 20.1154 20.3213 20.4671C21.1706 20.8189 22.0809 21 23.0002 21C23.9194 21 24.8297 20.8189 25.679 20.4671C26.5283 20.1154 27.3 19.5997 27.95 18.9497C28.6 18.2997 29.1157 17.5281 29.4675 16.6788C29.8192 15.8295 30.0003 14.9192 30.0003 14H30V7H27V14C27 15.0608 26.5785 16.0782 25.8284 16.8283C25.0783 17.5784 24.0609 17.9998 23 17.9998C21.9391 17.9998 20.9217 17.5784 20.1716 16.8283C19.4215 16.0782 19 15.0608 19 14V7Z" fill="black"/>
|
|
6
|
+
</svg>`;async function I(r){try{await navigator.clipboard.writeText(r),E.success("Copied to clipboard!")}catch(t){console.error("Failed to copy to clipboard.",t),E.error("Failed to copy to clipboard.")}}function D({variant:r="full",isInApp:t,className:d}){let{domain:i="dub.co"}=F(),{theme:h}=$(C),[g,c]=Y(!1),b=U(s=>{s.preventDefault(),c(!0)},[]);return R(l.Root,{open:g,onOpenChange:c,children:[o(l.Anchor,{asChild:!0,children:o("div",{onContextMenu:b,className:"max-w-fit",children:r==="full"?o(H,{className:d}):o(w,{className:n("h-8 w-8 transition-all duration-75 active:scale-95",d)})})}),o(l.Portal,{children:o(l.Content,{sideOffset:14,align:"start",className:n("z-50 -mt-1.5 -translate-x-10",h==="dark"&&"dark"),onClick:s=>{s.stopPropagation(),c(!1)},children:R("div",{className:"grid gap-1 rounded-lg border border-gray-200 bg-white p-2 drop-shadow-sm sm:min-w-[240px] dark:border-white/[0.15] dark:bg-black",children:[o(v,{text:"Copy Logo as SVG",variant:"outline",onClick:()=>I(q),icon:o(w,{className:"h-4 w-4"})}),o(v,{text:"Copy Wordmark as SVG",variant:"outline",onClick:()=>I(J),icon:o(z,{strokeWidth:2,className:"h-4 w-4"})}),o(v,{text:"Brand Guidelines",variant:"outline",onClick:()=>window.open("https://dub.co/brand","_blank"),icon:o(Z,{strokeWidth:2,className:"h-4 w-4"})}),t||i!="dub.co"?o(v,{text:"Home Page",variant:"outline",onClick:()=>window.open(`https://dub.co${t?"/home":""}`,"_blank"),icon:o(G,{strokeWidth:2,className:"h-4 w-4"})}):o(v,{text:"Dashboard",variant:"outline",onClick:()=>window.open("https://app.dub.co","_blank"),icon:o(j,{strokeWidth:2,className:"h-4 w-4"})})]})})})]})}function v({className:r,...t}){return o(M,{className:n("h-9 justify-start px-3 font-medium hover:text-gray-700 dark:text-white/70 dark:hover:bg-white/[0.15] dark:hover:text-white",r),...t})}import{Fragment as it,jsx as e,jsxs as m}from"react/jsx-runtime";var C=et({theme:"light"}),rt=[{name:"Product",content:V,childItems:L},{name:"Resources",content:W,childItems:_},{name:"Customers",href:"/customers"},{name:"Pricing",href:"/pricing"}],B=K(["block rounded-md px-3 py-1.5 text-sm text-gray-900/60 hover:text-gray-900/80","dark:text-white/70 dark:hover:text-white","transition-colors ease-out"],{variants:{isActive:{true:"text-gray-900/80 dark:text-white"}}});function Et({theme:r="light"}){let{domain:t="dub.co"}=X(),d=x(80),i=x(40),h=tt(),{data:g,isLoading:c}=ot(t==="dub.co"&&"/api/auth/session",P,{dedupingInterval:6e4}),b=!!(t==="dub.co"&&Q.get("dub_id"));return e(C.Provider,{value:{theme:r},children:m("div",{className:n("sticky inset-x-0 top-0 z-30 w-full transition-all",r==="dark"&&"dark"),children:[e("div",{className:n("absolute inset-0 block transition-all lg:hidden",i&&"bg-white/75 backdrop-blur-md dark:bg-black/75")}),e(S,{className:"relative",children:m("div",{className:"flex h-14 items-center justify-between",children:[e(p,{className:"grow basis-0",href:k("/home",t,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:t,utm_content:"Logo"}),children:e(D,{})}),m(a.Root,{delayDuration:0,className:"relative hidden lg:block",children:[m(a.List,{className:"relative flex flex-row gap-2 px-2 py-0.5",children:[e("div",{className:"absolute inset-0 -z-[1]",children:e("div",{className:n("absolute left-1/2 top-1/2 h-full w-full -translate-x-1/2 -translate-y-1/2 rounded-full border border-gray-200 bg-white/75 drop-shadow-sm backdrop-blur-lg transition-all dark:border-white/10 dark:bg-black/75",d&&"h-14 w-screen rounded-none drop-shadow-none")})}),rt.map(({name:s,href:u,content:f})=>{let N=u===`/${h}`||u==="/"&&h===null;return m(a.Item,{children:[e(at,{trigger:!!f,children:u!==void 0?e(p,{id:`nav-${u}`,href:k(u,t,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:t,utm_content:s}),className:B({isActive:N}),children:s}):e("button",{className:B({isActive:N}),children:s})}),f&&e(a.Content,{className:"data-[motion=from-start]:animate-enter-from-left data-[motion=from-end]:animate-enter-from-right data-[motion=to-start]:animate-exit-to-left data-[motion=to-end]:animate-exit-to-right absolute left-0 top-0",children:e(f,{domain:t})})]},s)})]}),e("div",{className:"absolute left-1/2 top-full mt-3 -translate-x-1/2",children:e(a.Viewport,{className:n("relative flex origin-[top_center] justify-start overflow-hidden rounded-[20px] border border-gray-200 bg-white shadow-md dark:border-white/[0.15] dark:bg-black","data-[state=closed]:animate-scale-out-content data-[state=open]:animate-scale-in-content","h-[var(--radix-navigation-menu-viewport-height)] w-[var(--radix-navigation-menu-viewport-width)] transition-[width,height]")})})]}),e("div",{className:"hidden grow basis-0 justify-end lg:flex",children:g&&Object.keys(g).length>0?e(p,{href:y,className:"animate-fade-in rounded-full border border-black bg-black px-4 py-1.5 text-sm text-white transition-all hover:bg-gray-800 hover:ring-4 hover:ring-gray-200 dark:border-white dark:bg-white dark:text-gray-600 dark:hover:bg-white dark:hover:text-gray-800 dark:hover:hover:shadow-[0_0_25px_5px_rgba(256,256,256,0.2)] dark:hover:ring-0",children:"Dashboard"}):c?null:m(it,{children:[e(p,{href:b?"https://app.dub.co/login":"https://d.to/login",className:"animate-fade-in rounded-full px-4 py-1.5 text-sm font-medium text-gray-500 transition-colors ease-out hover:text-black dark:text-white dark:hover:text-white/70",children:"Log in"}),e(p,{href:b?"https://app.dub.co/register":"https://d.to/try",className:"animate-fade-in rounded-full border border-black bg-black px-4 py-1.5 text-sm text-white transition-all hover:bg-gray-800 hover:ring-4 hover:ring-gray-200 dark:border-white dark:bg-white dark:text-gray-600 dark:hover:bg-white dark:hover:text-gray-800 dark:hover:hover:shadow-[0_0_25px_5px_rgba(256,256,256,0.2)] dark:hover:ring-0",children:"Sign Up"})]})})]})})]})})}function at({trigger:r,children:t}){return r?e(a.Trigger,{asChild:!0,children:t}):t}export{x as a,C as b,rt as c,Et as d,D as e};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as r}from"./chunk-7TBGFJM2.mjs";import{j as t}from"./chunk-7OZYU3QM.mjs";import{motion as c}from"framer-motion";import{forwardRef as u,useRef as C}from"react";import{jsx as d}from"react/jsx-runtime";var R=u(({width:i=!1,height:e=!1,className:p,transition:f,children:s,...h},l)=>{var a,m;let n=C(null),o=r(n);return d(c.div,{ref:l,className:t("overflow-hidden",p),animate:{width:i?((a=o==null?void 0:o.contentRect)==null?void 0:a.width)??"auto":"auto",height:e?((m=o==null?void 0:o.contentRect)==null?void 0:m.height)??"auto":"auto"},transition:f??{type:"spring",duration:.3},...h,children:d("div",{ref:n,className:t(e&&"h-max",i&&"w-max"),children:s})})});R.displayName="AnimatedSizeContainer";export{R as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as Z}from"./chunk-NZZ24BWG.mjs";import{a as B}from"./chunk-GVBIGY6N.mjs";import{a as j}from"./chunk-NWME2ANF.mjs";import{a as F}from"./chunk-KJHGNDAM.mjs";import{k as U}from"./chunk-4FYEEEYO.mjs";import{a as Q}from"./chunk-WMTXO7RT.mjs";import{a as $}from"./chunk-JW75YDRU.mjs";import{a as V}from"./chunk-JOLDVN3E.mjs";import{a as K}from"./chunk-IHTRL6TU.mjs";import{a as P}from"./chunk-4NVSXEFD.mjs";import{j as i}from"./chunk-KQADMCRQ.mjs";import{Command as h,CommandInput as ie,CommandItem as ce,useCommandState as me}from"cmdk";import{ChevronDown as de}from"lucide-react";import{forwardRef as pe,isValidElement as ue,useCallback as fe,useEffect as v,useRef as xe,useState as f}from"react";import{Fragment as I,jsx as e,jsxs as c}from"react/jsx-runtime";function ge(s,o){return s===!0}function De({multiple:s,selected:o,setSelected:l,options:a,icon:d,placeholder:y="Select...",searchPlaceholder:G="Search...",emptyState:x,createLabel:N,onCreate:g,buttonProps:m,shortcutHint:z,caret:J,side:X,open:Y,onOpenChange:_,onSearchChange:C,shouldFilter:R=!0,inputClassName:ee,optionRight:w,optionClassName:E,matchTriggerWidth:L,children:te}){let D=ge(s,l),n=Array.isArray(o)?o:o?[o]:[],{isMobile:se}=j(),[oe,ae]=f(!1),O=Y??oe,b=_??ae,[r,k]=f(""),[W,M]=f(!1),[S,ne]=f(void 0),[re,A]=f(!1),le=t=>{var p;if(D){let T=n.some(({value:u})=>u===t.value);l(T?n.filter(({value:u})=>u!==t.value):[...n,t])}else l(n.length&&((p=n[0])==null?void 0:p.value)===t.value?null:t),b(!1)},H=fe((t,p)=>p===""?[...n,...t.filter(T=>n.findIndex(u=>u.value===T.value)===-1)]:t,[n]);return v(()=>{W&&(ne(a&&H(a,r)),M(!1))},[W,a,H,r]),v(()=>{M(!0)},[a]),v(()=>{O||(k(""),M(!0))},[O]),v(()=>C==null?void 0:C(r),[r]),e(Z,{openPopover:O,setOpenPopover:b,align:"start",side:X,onWheel:t=>{t.stopPropagation()},popoverContentClassName:i(L&&"sm:w-[var(--radix-popover-trigger-width)]"),content:e(F,{width:!se&&!L,height:!0,style:{transform:"translateZ(0)"},transition:{ease:"easeInOut",duration:.1},children:c(h,{loop:!0,shouldFilter:R,children:[c("div",{className:"flex items-center overflow-hidden rounded-t-lg border-b border-gray-200",children:[e(ie,{placeholder:G,value:r,onValueChange:k,className:i("grow border-0 py-3 pl-4 pr-2 outline-none placeholder:text-gray-400 focus:ring-0 sm:text-sm",ee),onKeyDown:t=>{(t.key==="Escape"||t.key==="Backspace"&&!r)&&(t.preventDefault(),t.stopPropagation(),b(!1))}}),z&&e("kbd",{className:"mr-2 hidden shrink-0 rounded border border-gray-200 bg-gray-100 px-2 py-0.5 text-xs font-light text-gray-500 md:block",children:z})]}),e(be,{children:e(h.List,{className:i("flex w-full min-w-[100px] flex-col gap-1 p-1"),children:S!==void 0?c(I,{children:[S.map(t=>e(ve,{option:t,multiple:D,selected:n.some(({value:p})=>p===t.value),onSelect:()=>le(t),right:w==null?void 0:w(t),className:E},`${t.label}, ${t.value}`)),r.length>0&&g&&c(ce,{className:i("flex cursor-pointer items-center gap-3 whitespace-nowrap rounded-md px-3 py-2 text-left text-sm text-gray-700","data-[selected=true]:bg-gray-100",E),onSelect:async()=>{A(!0),await(g==null?void 0:g(r))&&(k(""),b(!1)),A(!1)},children:[re?e(P,{className:"size-4 shrink-0"}):e(Q,{className:"size-4 shrink-0"}),e("div",{className:"grow truncate",children:(N==null?void 0:N(r))||`Create "${r}"`})]}),R?e(he,{className:"flex min-h-12 items-center justify-center text-sm text-gray-500",children:x||"No matches"}):S.length===0?e("div",{className:"flex min-h-12 items-center justify-center text-sm text-gray-500",children:x||"No matches"}):null]}):e(h.Loading,{children:e("div",{className:"flex h-12 items-center justify-center",children:e(P,{})})})})})]})}),children:e(U,{variant:"secondary",...m,className:i(m==null?void 0:m.className,"flex gap-2"),textWrapperClassName:i(m==null?void 0:m.textWrapperClassName,"w-full flex items-center justify-start"),text:c(I,{children:[e("div",{className:"min-w-0 grow truncate text-left",children:te||n.map(t=>t.label).join(", ")||y}),J&&e(de,{className:"ml-1 size-4 shrink-0 text-gray-400 transition-transform duration-75 group-data-[state=open]:rotate-180"})]}),icon:d?q(d)?d:e(d,{className:"size-4 shrink-0"}):void 0})})}var be=({children:s})=>{let o=xe(null),{scrollProgress:l,updateScrollProgress:a}=B(o);return c(I,{children:[e("div",{className:"scrollbar-hide max-h-[min(50vh,250px)] w-screen overflow-y-scroll sm:w-auto",ref:o,onScroll:a,children:s}),e("div",{className:"pointer-events-none absolute bottom-0 left-0 hidden h-16 w-full rounded-b-lg bg-gradient-to-t from-white sm:block",style:{opacity:1-Math.pow(l,2)}})]})};function ve({option:s,onSelect:o,multiple:l,selected:a,right:d,className:y}){return c(h.Item,{className:i("flex cursor-pointer items-center gap-3 whitespace-nowrap rounded-md px-3 py-2 text-left text-sm","data-[selected=true]:bg-gray-100",y),onSelect:o,value:s.label+(s==null?void 0:s.value),children:[l&&e("div",{className:"shrink-0 text-gray-600",children:a?e(V,{className:"size-4 text-gray-600"}):e(K,{className:"size-4 text-gray-400"})}),c("div",{className:"flex min-w-0 grow items-center gap-1",children:[s.icon&&e("span",{className:"shrink-0 text-gray-600",children:q(s.icon)?s.icon:e(s.icon,{className:"h-4 w-4"})}),e("span",{className:"grow truncate",children:s.label})]}),d,!l&&a&&e($,{className:"size-4 shrink-0 text-gray-600"})]})}var q=s=>ue(s),he=pe((s,o)=>me(a=>a.filtered.count===0)?e("div",{ref:o,"cmdk-empty":"",role:"presentation",...s}):null);export{De as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{j as C}from"./chunk-7OZYU3QM.mjs";import{jsx as l,jsxs as i}from"react/jsx-runtime";function t({className:r}){return i("svg",{"aria-hidden":"true",className:C("h-4 w-4 animate-spin fill-gray-600 text-gray-200",r),viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[l("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),l("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]})}export{t as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{k as m}from"./chunk-CCVIXJ4T.mjs";import{j as i}from"./chunk-7OZYU3QM.mjs";import{useMemo as x,useState as u}from"react";import{jsx as a,jsxs as r}from"react/jsx-runtime";function M({title:g,description:c,inputAttrs:e,helpText:s,buttonText:f="Save Changes",disabledTooltip:o,handleSubmit:y}){let[t,p]=u(e.defaultValue),[l,d]=u(!1),b=x(()=>l||!t||t===e.defaultValue,[l,t,e.defaultValue]);return r("form",{onSubmit:async n=>{n.preventDefault(),d(!0),await y({[e.name]:t}),d(!1)},className:"rounded-lg border border-gray-200 bg-white",children:[r("div",{className:"relative flex flex-col space-y-6 p-5 sm:p-10",children:[r("div",{className:"flex flex-col space-y-3",children:[a("h2",{className:"text-xl font-medium",children:g}),a("p",{className:"text-sm text-gray-500",children:c})]}),typeof e.defaultValue=="string"?a("input",{...e,type:e.type||"text",required:!0,disabled:!!o,onChange:n=>p(n.target.value),className:i("w-full max-w-md rounded-md border border-gray-300 text-gray-900 placeholder-gray-400 focus:border-gray-500 focus:outline-none focus:ring-gray-500 sm:text-sm",{"cursor-not-allowed bg-gray-100 text-gray-400":o})}):a("div",{className:"h-[2.35rem] w-full max-w-md animate-pulse rounded-md bg-gray-200"})]}),r("div",{className:"flex items-center justify-between space-x-4 rounded-b-lg border-t border-gray-200 bg-gray-50 p-3 sm:px-10",children:[typeof s=="string"?a("p",{className:"prose-sm prose-a:underline prose-a:underline-offset-4 hover:prose-a:text-gray-700 text-gray-500 transition-colors",dangerouslySetInnerHTML:{__html:s||""}}):s,a("div",{className:"shrink-0",children:a(m,{text:f,loading:l,disabled:b,disabledTooltip:o})})]})]})}export{M as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{c as b}from"./chunk-YTEMADT6.mjs";import{a as h}from"./chunk-KJHGNDAM.mjs";import{b as p,d as f,i as g,j as i}from"./chunk-KQADMCRQ.mjs";import{ChevronDown as w,Menu as x,X as C}from"lucide-react";import r from"next/link";import{useParams as N}from"next/navigation";import{useEffect as _,useState as v}from"react";import z from"swr";import{Fragment as D,jsx as e,jsxs as s}from"react/jsx-runtime";function j({theme:n="light"}){let{domain:m="dub.co"}=N(),[a,o]=v(!1);_(()=>{a?document.body.style.overflow="hidden":document.body.style.overflow="auto"},[a]);let{data:t}=z(m==="dub.co"&&"/api/auth/session",g,{dedupingInterval:6e4});return s("div",{className:i(n==="dark"&&"dark"),children:[e("button",{onClick:()=>o(!a),className:i("fixed right-3 top-3 z-40 rounded-full p-2 transition-colors duration-200 hover:bg-gray-200 focus:outline-none active:bg-gray-300 lg:hidden dark:hover:bg-white/20 dark:active:bg-white/30",a&&"hover:bg-gray-100 active:bg-gray-200"),children:a?e(C,{className:"h-5 w-5 text-gray-600 dark:text-white/70"}):e(x,{className:"h-5 w-5 text-gray-600 dark:text-white/70"})}),e("nav",{className:i("fixed inset-0 z-20 hidden w-full bg-white px-5 py-16 lg:hidden dark:bg-black dark:text-white/70",a&&"block"),children:s("ul",{className:"grid divide-y divide-gray-200 dark:divide-white/[0.15]",children:[b.map(({name:l,href:u,childItems:d},c)=>e(L,{name:l,href:u,childItems:d,setOpen:o},c)),t&&Object.keys(t).length>0?e("li",{className:"py-3",children:e(r,{href:f,className:"flex w-full font-semibold capitalize",children:"Dashboard"})}):s(D,{children:[e("li",{className:"py-3",children:e(r,{href:`${f}/login`,className:"flex w-full font-semibold capitalize",children:"Log in"})}),e("li",{className:"py-3",children:e(r,{href:`${f}/register`,className:"flex w-full font-semibold capitalize",children:"Sign Up"})})]})]})})]})}var L=({name:n,href:m,childItems:a,setOpen:o})=>{let{domain:t="dub.co"}=N(),[l,u]=v(!1);return a?e("li",{className:"py-3",children:s(h,{height:!0,children:[s("button",{className:"flex w-full justify-between",onClick:()=>u(!l),children:[e("p",{className:"font-semibold",children:n}),e(w,{className:i("h-5 w-5 text-gray-500 transition-all dark:text-white/50",l&&"rotate-180")})]}),l&&e("div",{className:"grid gap-4 overflow-hidden py-4",children:a.map(({title:d,href:c,icon:y,iconClassName:k})=>s(r,{href:p(c,t,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:t,utm_content:d}),onClick:()=>o(!1),className:"flex w-full space-x-2",children:[e(y,{className:i("h-5 w-5 text-gray-500 dark:text-white/80",k)}),e("span",{className:"text-sm",children:d})]},c))})]})}):m?e("li",{className:"py-3",children:e(r,{href:p(m,t,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:t,utm_content:n}),onClick:()=>o(!1),className:"flex w-full font-semibold capitalize",children:n})}):null};export{j as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{d as l,e as p}from"./chunk-O43YWKJJ.mjs";import{a as s,c as n}from"./chunk-YPFLCYTU.mjs";import{b as i,j as e}from"./chunk-KQADMCRQ.mjs";import{jsx as r,jsxs as c}from"react/jsx-runtime";function N({domain:a}){return c("div",{className:"grid w-[28rem] grid-cols-2",children:[c("div",{className:"border-l border-gray-200 p-5 dark:border-white/20",children:[r("p",{className:e(s,"mb-2"),children:"SDKs"}),r("div",{className:"-mx-2 flex flex-col gap-0.5",children:l.map(({icon:m,iconClassName:t,title:o,href:d})=>r(n,{href:i(d,a,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:a,utm_content:o}),icon:r(m,{className:e("h-5 w-5 shrink-0 text-gray-600 transition-colors dark:text-white/60",t)}),title:o,showArrow:!0},d))})]}),c("div",{className:"border-l border-gray-200 p-5 dark:border-white/20",children:[r("p",{className:e(s,"mb-2"),children:"Content"}),r("div",{className:"-mx-2 flex flex-col gap-0.5",children:p.map(({icon:m,title:t,href:o})=>r(n,{href:i(o,a,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:a,utm_content:t}),icon:r(m,{className:e("h-5 w-5 shrink-0 text-gray-600 dark:text-white/60")}),title:t,showArrow:!0}))})]})]})}export{N as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as E}from"./chunk-GVBIGY6N.mjs";import{a as A}from"./chunk-NWME2ANF.mjs";import{a as T}from"./chunk-SMCKDKWN.mjs";import{b as O}from"./chunk-5RTA7MHL.mjs";import{p as g}from"./chunk-5BZ3GYDV.mjs";import{flip as G,offset as J,size as U,useDismiss as W,useFloating as Y,useInteractions as Z}from"@floating-ui/react";import{Command as i,useCommandState as ee}from"cmdk";import{Check as te,ChevronDown as ae,Search as w,X as oe}from"lucide-react";import{createContext as re,forwardRef as se,useContext as L,useEffect as C,useMemo as le,useRef as F,useState as N}from"react";import{Drawer as f}from"vaul";import{jsx as e,jsxs as o}from"react/jsx-runtime";var v=re({inputAttrs:{},openCommandList:!1,setOpenCommandList:()=>{},inputValue:"",setInputValue:()=>{},disabled:!1,selectedItem:null,setSelectedItem:()=>{}});function we({items:r,selectedItem:a,setSelectedItem:d,className:s,disabled:t,adjustForMobile:u,icon:b,inputAttrs:x,noItemsElement:p}){let l=F(null),[c,y]=N(!1),[n,P]=N(""),[D,M]=N(!1);C(()=>{c&&M(!1)},[c]),C(()=>M(!0),[n]),C(()=>{a&&P(a.value)},[a]);let k=le(()=>{let m=n.toLowerCase();return D?r.filter(h=>h.value.toLowerCase().includes(m)):n?r.sort((h,q)=>(q.value.toLowerCase().includes(m)?1:0)-(h.value.toLowerCase().includes(m)?1:0)):r},[D,n,r]),{refs:R,floatingStyles:z,context:j}=Y({open:c,onOpenChange:y,middleware:[J(8),U({apply({elements:{floating:m},availableHeight:h}){Object.assign(m.style,{maxHeight:`${Math.max(75,Math.min(h,290))}px`})},padding:8}),G({fallbackStrategy:"initialPlacement",padding:8})]}),B=W(j),{getReferenceProps:K,getFloatingProps:$}=Z([B]),V=F(null),{scrollProgress:Q,updateScrollProgress:X}=E(V),{isMobile:_}=A();return e(v.Provider,{value:{inputAttrs:x||{},openCommandList:c,setOpenCommandList:y,inputValue:n,setInputValue:P,disabled:Boolean(t),selectedItem:a,setSelectedItem:d},children:_&&u?o(f.Root,{open:c,onOpenChange:y,children:[e(f.Trigger,{className:"sm:hidden",asChild:!0,children:e(i,{ref:l,className:"relative",shouldFilter:!1,loop:!0,children:o("div",{className:g("group relative rounded-md border border-gray-300 bg-white px-1 focus-within:border-gray-500 focus-within:ring-1 focus-within:ring-gray-500 md:min-w-[140px]",s),children:[e("div",{className:"absolute inset-y-0 left-0 flex items-center justify-center pl-3 text-gray-400",children:a&&a.image?e("img",{src:a.image,alt:a.value,className:"h-4 w-4 rounded-full"}):b||e(w,{className:"h-4 w-4 text-gray-400"})}),o("div",{className:"flex h-10 px-8",children:[e(S,{}),e(I,{})]})]})})}),e(f.Overlay,{className:"fixed inset-0 z-40 bg-gray-100 bg-opacity-10 backdrop-blur"}),o(f.Portal,{children:[e(f.Content,{className:"fixed bottom-0 left-0 right-0 z-50 mt-24 rounded-t-lg border-t border-gray-200 bg-white",children:o(i,{ref:l,className:"relative",shouldFilter:!1,loop:!0,children:[o("div",{className:g("group relative mb-2 rounded-t-md border-b border-gray-300 bg-white p-1 sm:border sm:py-0 sm:focus-within:border-gray-500 sm:focus-within:ring-1 sm:focus-within:ring-gray-200",s),children:[e("div",{className:"absolute inset-y-0 left-0 flex items-center justify-center pl-3 text-gray-400",children:a&&a.image?e("img",{src:a.image,alt:a.value,className:"h-4 w-4 rounded-full"}):b||e(w,{className:"h-4 w-4 text-gray-400"})}),o("div",{className:"flex h-10 px-8",children:[e(S,{}),e(I,{})]})]}),c&&o(i.List,{className:"dub-scrollbar h-[70vh] overflow-y-auto p-2",children:[r.length===0&&n===""&&(p?e("div",{children:p}):e("p",{className:"px-4 py-2 text-sm text-gray-600",children:"No items found."})),n!==""&&e(i.Empty,{className:"px-4 py-2 text-sm text-gray-600",children:"No results found."}),e(H,{items:k})]})]})}),e(f.Overlay,{})]})]}):o(i,{ref:l,className:"relative",shouldFilter:!1,loop:!0,children:[o("div",{className:g("group rounded-md border border-gray-200 bg-white px-1 transition-all focus-within:border-gray-500 focus-within:ring-4 focus-within:ring-gray-200",s),children:[e("div",{onClick:()=>y(m=>!m),className:"absolute inset-y-0 left-0 flex cursor-pointer items-center justify-center pl-3 text-gray-400",children:a&&a.image?e("img",{src:a.image,alt:a.value,className:"h-4 w-4 rounded-full"}):b||e(w,{className:"h-4 w-4 text-gray-400"})}),o("div",{className:"flex h-10 px-8",children:[e(S,{ref:R.setReference,...K()}),e(I,{})]})]}),c&&o("div",{ref:R.setFloating,style:z,...$(),className:"z-20 flex w-full min-w-[160px] flex-col overflow-hidden rounded-md border border-gray-200 bg-white shadow-md",children:[o("div",{ref:V,onScroll:X,className:"grow overflow-y-auto p-2",children:[o(i.List,{children:[r.length===0&&n===""&&(p?e("div",{children:p}):e("p",{className:"px-4 py-2 text-sm text-gray-600",children:"No items found."})),n!==""&&e(i.Empty,{className:"px-4 py-2 text-sm text-gray-600",children:"No results found."})]}),e(H,{items:k})]}),e("div",{className:"pointer-events-none absolute bottom-0 left-0 hidden h-16 w-full bg-gradient-to-t from-white sm:block",style:{opacity:1-Math.pow(Q,2)}})]})]})})}var S=se((r,a)=>{let d=ee(l=>l.filtered.count===0),{inputAttrs:s,openCommandList:t,setOpenCommandList:u,inputValue:b,setInputValue:x,disabled:p}=L(v);return e(i.Input,{ref:a,placeholder:(s==null?void 0:s.placeholder)||"Search...",autoFocus:t,onFocus:()=>u(!0),value:b,onValueChange:x,onKeyDown:l=>{l.key==="Escape"?(l.preventDefault(),u(!1)):l.key==="Enter"&&d?u(!1):l.key.match(/^[a-z0-9]$/i)&&!l.metaKey&&u(!0)},disabled:p,className:"block w-full truncate rounded-md border-none px-0 text-base text-gray-900 placeholder-gray-400 outline-none outline-0 transition-all duration-300 focus:ring-0 md:text-sm",autoCapitalize:"none"})});function I(){let{setSelectedItem:r,openCommandList:a,setOpenCommandList:d,inputValue:s,setInputValue:t}=L(v);return e("button",{type:"button",onClick:()=>{d(u=>!u),r(null),t("")},className:"absolute inset-y-0 right-0 my-auto pr-3",children:s.length>0?e(oe,{className:"h-4 w-4 text-gray-400 transition-all hover:text-gray-700"}):e(ae,{className:g("h-4 w-4 text-gray-400 transition-all hover:text-gray-700",{"rotate-180 transform":a})})})}function H({items:r}){let{setSelectedItem:a,setOpenCommandList:d,setInputValue:s}=L(v);return r.map(t=>o(i.Item,{value:t.value,disabled:t.disabled,onSelect:()=>{a(t),s(t.value),d(!1)},className:"group flex cursor-pointer items-center justify-between rounded-md px-4 py-2 text-sm text-gray-900 hover:bg-gray-100 hover:text-gray-900 active:bg-gray-200 aria-disabled:cursor-not-allowed aria-disabled:opacity-75 aria-disabled:hover:bg-white aria-selected:bg-gray-100 aria-selected:text-gray-900",children:[o("div",{className:"flex items-center space-x-2",children:[t.image&&e(T,{src:t.image,alt:t.value,className:"h-4 w-4 rounded-full",width:16,height:16}),e("p",{className:g("whitespace-nowrap py-0.5 text-sm",t.color&&"rounded-md px-2",t.color==="red"&&"bg-red-100 text-red-600",t.color==="yellow"&&"bg-yellow-100 text-yellow-600",t.color==="green"&&"bg-green-100 text-green-600",t.color==="blue"&&"bg-blue-100 text-blue-600",t.color==="purple"&&"bg-purple-100 text-purple-600",t.color==="brown"&&"bg-brown-100 text-brown-600"),children:t.value}),t.label&&e(O,{className:"text-xs",variant:"neutral",children:t.label})]}),e(te,{className:"invisible h-5 w-5 text-gray-500 aria-selected:visible"})]},t.id))}export{we as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{k as P}from"./chunk-CCVIXJ4T.mjs";import{a as S}from"./chunk-3ITB2VNJ.mjs";import{a as h}from"./chunk-FXW65LTB.mjs";import{j as m,k as w}from"./chunk-7OZYU3QM.mjs";import{flexRender as T,getCoreRowModel as A,useReactTable as B}from"@tanstack/react-table";import{AnimatePresence as O,motion as j}from"framer-motion";import{useEffect as N,useState as U}from"react";import{jsx as i,jsxs as a}from"react/jsx-runtime";var V=t=>m(["py-2.5 text-left text-sm leading-6 whitespace-nowrap border-gray-200 px-4 relative","border-l border-b",t==="menu"&&"bg-white border-l-transparent py-0 px-1"]);function oe(t){let{data:n,rowCount:r,columns:g,defaultColumn:x,columnPinning:b,pagination:y,onPaginationChange:f}=t,[l,p]=U(t.columnVisibility??{});N(()=>{t.columnVisibility&&!w(t.columnVisibility,l)&&p(t.columnVisibility??{})},[t.columnVisibility]),N(()=>{var d;(d=t.onColumnVisibilityChange)==null||d.call(t,l)},[l]);let v=B({data:n,rowCount:r,columns:g,defaultColumn:{minSize:120,size:0,maxSize:300,...x},getCoreRowModel:A(),onPaginationChange:f,onColumnVisibilityChange:d=>p(d),state:{pagination:y,columnVisibility:l,columnPinning:{left:[],right:[],...b}},manualPagination:!0,autoResetPageIndex:!1,manualSorting:!0});return{...t,columnVisibility:l,table:v}}function le({columns:t,data:n,loading:r,error:g,emptyState:x,cellRight:b,sortBy:y,sortOrder:f,onSortChange:l,sortableColumns:p=[],className:v,scrollWrapperClassName:d,thClassName:k,tdClassName:R,table:o,pagination:s,resourceName:u,rowCount:I,children:W}){return a("div",{className:"relative border border-gray-200 bg-white sm:rounded-xl",children:[!g&&!!(n!=null&&n.length)||r?a("div",{className:m("relative min-h-[400px] overflow-x-auto rounded-[inherit]",d),children:[a("table",{className:m(["group/table w-full border-separate border-spacing-0 transition-[border-spacing,margin-top]","[&_tr>*:first-child]:border-l-transparent","[&_tr>*:last-child]:border-r-transparent"],v),children:[i("thead",{children:o.getHeaderGroups().map(c=>i("tr",{children:c.headers.map(e=>{let C=p.includes(e.column.id),M=C?"button":"div";return i("th",{className:m(V(e.id),"select-none font-medium",D(e.column,!o.getRowModel().rows.length),k),style:{minWidth:e.column.columnDef.minSize,maxWidth:e.column.columnDef.maxSize,width:e.column.columnDef.size||"auto",...z(e.column)},children:i("div",{className:"flex items-center justify-between gap-6 !pr-0",children:a(M,{className:"flex items-center gap-2",...C&&{type:"button",disabled:!C,"aria-label":"Sort by column",onClick:()=>l==null?void 0:l({sortBy:e.column.id,sortOrder:y!==e.column.id||f==="asc"?"desc":"asc"})},children:[i("span",{children:e.isPlaceholder?null:T(e.column.columnDef.header,e.getContext())}),C&&i(S,{order:y===e.column.id?f||"desc":null})]})})},e.id)})},c.id))}),i("tbody",{children:o.getRowModel().rows.map(c=>i("tr",{children:c.getVisibleCells().map(e=>i("td",{className:m(V(e.column.id),"group text-gray-600",D(e.column,c.index===o.getRowModel().rows.length-1),R),style:{minWidth:e.column.columnDef.minSize,maxWidth:e.column.columnDef.maxSize,width:e.column.columnDef.size||"auto",...z(e.column)},children:a("div",{className:"flex w-full items-center justify-between overflow-hidden truncate",children:[i("div",{className:"min-w-0 shrink grow truncate",children:T(e.column.columnDef.cell,e.getContext())}),b==null?void 0:b(e)]})},e.id))},c.id))})]}),W]}):i("div",{className:"flex h-96 w-full items-center justify-center text-sm text-gray-500",children:g||x||`No ${(u==null?void 0:u(!0))||"items"} found.`}),s&&!g&&!!(n!=null&&n.length)&&!!I&&a("div",{className:"sticky bottom-0 mx-auto -mt-px flex w-full max-w-full items-center justify-between rounded-b-[inherit] border-t border-gray-200 bg-white px-4 py-3.5 text-sm leading-6 text-gray-600",children:[a("div",{children:[i("span",{className:"hidden sm:inline-block",children:"Viewing"})," ",a("span",{className:"font-medium",children:[(s.pageIndex-1)*s.pageSize+1,"-",Math.min((s.pageIndex-1)*s.pageSize+s.pageSize,o.getRowCount())]})," ","of"," ",i("span",{className:"font-medium",children:o.getRowCount().toLocaleString()})," ",(u==null?void 0:u(o.getRowCount()!==1))||"items"]}),a("div",{className:"flex items-center gap-2",children:[i(P,{variant:"secondary",text:"Previous",className:"h-7 px-2",onClick:()=>o.previousPage(),disabled:s.pageIndex===1}),i(P,{variant:"secondary",text:"Next",className:"h-7 px-2",onClick:()=>o.nextPage(),disabled:s.pageIndex===o.getPageCount()})]})]}),i(O,{children:r&&i(j.div,{initial:{opacity:0},animate:{opacity:1},className:"absolute inset-0 flex items-center justify-center rounded-xl bg-white/50",children:i(h,{})})})]})}var D=(t,n)=>{let r=t.getIsPinned();return m(r&&!n&&"animate-table-pinned-shadow [animation-timeline:scroll(inline)]")},z=t=>{let n=t.getIsPinned();return{left:n==="left"?`${t.getStart("left")}px`:void 0,right:n==="right"?`${t.getAfter("right")}px`:void 0,position:n?"sticky":"relative"}};export{oe as a,le as b};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{j as n}from"./chunk-U3WMNJPM.mjs";import{motion as t}from"framer-motion";import{jsx as e}from"react/jsx-runtime";function s({value:i=0,max:r=100,className:o}){return e("div",{className:n("h-3 w-full overflow-hidden rounded-full bg-gray-200",o),children:e(t.div,{initial:{width:0},animate:{width:i&&r?i/r*100+"%":"0%"},transition:{duration:.5,type:"spring",delay:.2},className:`${i&&r&&i>r?"bg-red-500":"bg-blue-500"} h-full`})})}export{s as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{p as e}from"./chunk-5BZ3GYDV.mjs";import{useState as n}from"react";import{toast as u}from"sonner";import{jsx as p}from"react/jsx-runtime";function g({value:o,children:s,className:r,successMessage:a}){let[c,t]=n(!1);return p("button",{onClick:i=>{i.stopPropagation(),t(!0),navigator.clipboard.writeText(o).then(()=>{u.success(a||"Copied to clipboard!")}),setTimeout(()=>t(!1),3e3)},type:"button",className:e("cursor-copy text-sm text-gray-700 decoration-dotted hover:underline",c&&"cursor-default",r),children:s})}export{g as a};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as W}from"./chunk-CWZHL77S.mjs";import{a as V}from"./chunk-4AU6LSVF.mjs";import{a as L,e as _}from"./chunk-DPUTFBDB.mjs";import{a as H}from"./chunk-24FZHMUR.mjs";import{a as w}from"./chunk-BQJYDOMD.mjs";import{a as S}from"./chunk-EYVALJ6V.mjs";import{k as M}from"./chunk-4FYEEEYO.mjs";import{b as k,d as y,i as P,j as n}from"./chunk-KQADMCRQ.mjs";import*as a from"@radix-ui/react-navigation-menu";import{cva as K}from"class-variance-authority";import Q from"js-cookie";import p from"next/link";import{useParams as X,useSelectedLayoutSegment as tt}from"next/navigation";import{createContext as et}from"react";import ot from"swr";import{useCallback as A,useEffect as T,useState as O}from"react";function x(r){let[t,d]=O(!1),i=A(()=>{d(window.scrollY>r)},[r]);return T(()=>(window.addEventListener("scroll",i),()=>window.removeEventListener("scroll",i)),[i]),T(()=>{i()},[i]),t}import*as l from"@radix-ui/react-popover";import{BoxSelect as Z,Home as G,LayoutGrid as j,Type as z}from"lucide-react";import{useParams as F}from"next/navigation";import{useCallback as U,useContext as $,useState as Y}from"react";import{toast as E}from"sonner";import{jsx as o,jsxs as R}from"react/jsx-runtime";var q=`<svg width="65" height="64" viewBox="0 0 65 64" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M32.5 64C50.1731 64 64.5 49.6731 64.5 32C64.5 20.1555 58.0648 9.81393 48.5 4.28099V31.9999V47.9998H40.5V45.8594C38.1466 47.2207 35.4143 47.9999 32.5 47.9999C23.6634 47.9999 16.5 40.8364 16.5 31.9999C16.5 23.1633 23.6634 15.9999 32.5 15.9999C35.4143 15.9999 38.1466 16.779 40.5 18.1404V1.00812C37.943 0.350018 35.2624 0 32.5 0C14.8269 0 0.500038 14.3269 0.500038 32C0.500038 49.6731 14.8269 64 32.5 64Z" fill="black"/>
|
|
4
|
+
</svg>`,J=`<svg width="46" height="24" viewBox="0 0 46 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
5
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M11 2H14V13.9332L14.0003 13.9731L14.0003 14C14.0003 14.0223 14.0002 14.0445 14 14.0668V21H11V19.7455C9.86619 20.5362 8.48733 21 7.00016 21C3.13408 21 0 17.866 0 14C0 10.134 3.13408 7 7.00016 7C8.48733 7 9.86619 7.46375 11 8.25452V2ZM7 17.9998C9.20914 17.9998 11 16.209 11 13.9999C11 11.7908 9.20914 10 7 10C4.79086 10 3 11.7908 3 13.9999C3 16.209 4.79086 17.9998 7 17.9998ZM32 2H35V8.25474C36.1339 7.46383 37.5128 7 39.0002 7C42.8662 7 46.0003 10.134 46.0003 14C46.0003 17.866 42.8662 21 39.0002 21C35.1341 21 32 17.866 32 14V2ZM39 17.9998C41.2091 17.9998 43 16.209 43 13.9999C43 11.7908 41.2091 10 39 10C36.7909 10 35 11.7908 35 13.9999C35 16.209 36.7909 17.9998 39 17.9998ZM19 7H16V14C16 14.9192 16.1811 15.8295 16.5329 16.6788C16.8846 17.5281 17.4003 18.2997 18.0503 18.9497C18.7003 19.5997 19.472 20.1154 20.3213 20.4671C21.1706 20.8189 22.0809 21 23.0002 21C23.9194 21 24.8297 20.8189 25.679 20.4671C26.5283 20.1154 27.3 19.5997 27.95 18.9497C28.6 18.2997 29.1157 17.5281 29.4675 16.6788C29.8192 15.8295 30.0003 14.9192 30.0003 14H30V7H27V14C27 15.0608 26.5785 16.0782 25.8284 16.8283C25.0783 17.5784 24.0609 17.9998 23 17.9998C21.9391 17.9998 20.9217 17.5784 20.1716 16.8283C19.4215 16.0782 19 15.0608 19 14V7Z" fill="black"/>
|
|
6
|
+
</svg>`;async function I(r){try{await navigator.clipboard.writeText(r),E.success("Copied to clipboard!")}catch(t){console.error("Failed to copy to clipboard.",t),E.error("Failed to copy to clipboard.")}}function D({variant:r="full",isInApp:t,className:d}){let{domain:i="dub.co"}=F(),{theme:h}=$(C),[g,c]=Y(!1),b=U(s=>{s.preventDefault(),c(!0)},[]);return R(l.Root,{open:g,onOpenChange:c,children:[o(l.Anchor,{asChild:!0,children:o("div",{onContextMenu:b,className:"max-w-fit",children:r==="full"?o(H,{className:d}):o(w,{className:n("h-8 w-8 transition-all duration-75 active:scale-95",d)})})}),o(l.Portal,{children:o(l.Content,{sideOffset:14,align:"start",className:n("z-50 -mt-1.5 -translate-x-10",h==="dark"&&"dark"),onClick:s=>{s.stopPropagation(),c(!1)},children:R("div",{className:"grid gap-1 rounded-lg border border-gray-200 bg-white p-2 drop-shadow-sm sm:min-w-[240px] dark:border-white/[0.15] dark:bg-black",children:[o(v,{text:"Copy Logo as SVG",variant:"outline",onClick:()=>I(q),icon:o(w,{className:"h-4 w-4"})}),o(v,{text:"Copy Wordmark as SVG",variant:"outline",onClick:()=>I(J),icon:o(z,{strokeWidth:2,className:"h-4 w-4"})}),o(v,{text:"Brand Guidelines",variant:"outline",onClick:()=>window.open("https://dub.co/brand","_blank"),icon:o(Z,{strokeWidth:2,className:"h-4 w-4"})}),t||i!="dub.co"?o(v,{text:"Home Page",variant:"outline",onClick:()=>window.open(`https://dub.co${t?"/home":""}`,"_blank"),icon:o(G,{strokeWidth:2,className:"h-4 w-4"})}):o(v,{text:"Dashboard",variant:"outline",onClick:()=>window.open("https://app.dub.co","_blank"),icon:o(j,{strokeWidth:2,className:"h-4 w-4"})})]})})})]})}function v({className:r,...t}){return o(M,{className:n("h-9 justify-start px-3 font-medium hover:text-gray-700 dark:text-white/70 dark:hover:bg-white/[0.15] dark:hover:text-white",r),...t})}import{Fragment as it,jsx as e,jsxs as m}from"react/jsx-runtime";var C=et({theme:"light"}),rt=[{name:"Product",content:V,childItems:L},{name:"Resources",content:W,childItems:_},{name:"Customers",href:"/customers"},{name:"Pricing",href:"/pricing"}],B=K(["block rounded-md px-3 py-1.5 text-sm text-gray-900/60 hover:text-gray-900/80","dark:text-white/70 dark:hover:text-white","transition-colors ease-out"],{variants:{isActive:{true:"text-gray-900/80 dark:text-white"}}});function Et({theme:r="light"}){let{domain:t="dub.co"}=X(),d=x(80),i=x(40),h=tt(),{data:g,isLoading:c}=ot(t==="dub.co"&&"/api/auth/session",P,{dedupingInterval:6e4}),b=!!(t==="dub.co"&&Q.get("dub_id"));return e(C.Provider,{value:{theme:r},children:m("div",{className:n("sticky inset-x-0 top-0 z-30 w-full transition-all",r==="dark"&&"dark"),children:[e("div",{className:n("absolute inset-0 block transition-all lg:hidden",i&&"bg-white/75 backdrop-blur-md dark:bg-black/75")}),e(S,{className:"relative",children:m("div",{className:"flex h-14 items-center justify-between",children:[e(p,{className:"grow basis-0",href:k("/home",t,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:t,utm_content:"Logo"}),children:e(D,{})}),m(a.Root,{delayDuration:0,className:"relative hidden lg:block",children:[m(a.List,{className:"relative flex flex-row gap-2 px-2 py-0.5",children:[e("div",{className:"absolute inset-0 -z-[1]",children:e("div",{className:n("absolute left-1/2 top-1/2 h-full w-full -translate-x-1/2 -translate-y-1/2 rounded-full border border-gray-200 bg-white/75 drop-shadow-sm backdrop-blur-lg transition-all dark:border-white/10 dark:bg-black/75",d&&"h-14 w-screen rounded-none drop-shadow-none")})}),rt.map(({name:s,href:u,content:f})=>{let N=u===`/${h}`||u==="/"&&h===null;return m(a.Item,{children:[e(at,{trigger:!!f,children:u!==void 0?e(p,{id:`nav-${u}`,href:k(u,t,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:t,utm_content:s}),className:B({isActive:N}),children:s}):e("button",{className:B({isActive:N}),children:s})}),f&&e(a.Content,{className:"data-[motion=from-start]:animate-enter-from-left data-[motion=from-end]:animate-enter-from-right data-[motion=to-start]:animate-exit-to-left data-[motion=to-end]:animate-exit-to-right absolute left-0 top-0",children:e(f,{domain:t})})]},s)})]}),e("div",{className:"absolute left-1/2 top-full mt-3 -translate-x-1/2",children:e(a.Viewport,{className:n("relative flex origin-[top_center] justify-start overflow-hidden rounded-[20px] border border-gray-200 bg-white shadow-md dark:border-white/[0.15] dark:bg-black","data-[state=closed]:animate-scale-out-content data-[state=open]:animate-scale-in-content","h-[var(--radix-navigation-menu-viewport-height)] w-[var(--radix-navigation-menu-viewport-width)] transition-[width,height]")})})]}),e("div",{className:"hidden grow basis-0 justify-end lg:flex",children:g&&Object.keys(g).length>0?e(p,{href:y,className:"animate-fade-in rounded-full border border-black bg-black px-4 py-1.5 text-sm text-white transition-all hover:bg-gray-800 hover:ring-4 hover:ring-gray-200 dark:border-white dark:bg-white dark:text-gray-600 dark:hover:bg-white dark:hover:text-gray-800 dark:hover:hover:shadow-[0_0_25px_5px_rgba(256,256,256,0.2)] dark:hover:ring-0",children:"Dashboard"}):c?null:m(it,{children:[e(p,{href:b?"https://app.dub.co/login":"https://d.to/login",className:"animate-fade-in rounded-full px-4 py-1.5 text-sm font-medium text-gray-500 transition-colors ease-out hover:text-black dark:text-white dark:hover:text-white/70",children:"Log in"}),e(p,{href:b?"https://app.dub.co/register":"https://d.to/try",className:"animate-fade-in rounded-full border border-black bg-black px-4 py-1.5 text-sm text-white transition-all hover:bg-gray-800 hover:ring-4 hover:ring-gray-200 dark:border-white dark:bg-white dark:text-gray-600 dark:hover:bg-white dark:hover:text-gray-800 dark:hover:hover:shadow-[0_0_25px_5px_rgba(256,256,256,0.2)] dark:hover:ring-0",children:"Sign Up"})]})})]})})]})})}function at({trigger:r,children:t}){return r?e(a.Trigger,{asChild:!0,children:t}):t}export{x as a,C as b,rt as c,Et as d,D as e};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{p as C}from"./chunk-5BZ3GYDV.mjs";import{jsx as e}from"react/jsx-runtime";function o({className:t}){return e("svg",{width:"46",height:"24",viewBox:"0 0 46 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:C("h-6 w-auto text-black dark:text-white",t),children:e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 2H14V13.9332L14.0003 13.9731L14.0003 14C14.0003 14.0223 14.0002 14.0445 14 14.0668V21H11V19.7455C9.86619 20.5362 8.48733 21 7.00016 21C3.13408 21 0 17.866 0 14C0 10.134 3.13408 7 7.00016 7C8.48733 7 9.86619 7.46375 11 8.25452V2ZM7 17.9998C9.20914 17.9998 11 16.209 11 13.9999C11 11.7908 9.20914 10 7 10C4.79086 10 3 11.7908 3 13.9999C3 16.209 4.79086 17.9998 7 17.9998ZM32 2H35V8.25474C36.1339 7.46383 37.5128 7 39.0002 7C42.8662 7 46.0003 10.134 46.0003 14C46.0003 17.866 42.8662 21 39.0002 21C35.1341 21 32 17.866 32 14V2ZM39 17.9998C41.2091 17.9998 43 16.209 43 13.9999C43 11.7908 41.2091 10 39 10C36.7909 10 35 11.7908 35 13.9999C35 16.209 36.7909 17.9998 39 17.9998ZM19 7H16V14C16 14.9192 16.1811 15.8295 16.5329 16.6788C16.8846 17.5281 17.4003 18.2997 18.0503 18.9497C18.7003 19.5997 19.472 20.1154 20.3213 20.4671C21.1706 20.8189 22.0809 21 23.0002 21C23.9194 21 24.8297 20.8189 25.679 20.4671C26.5283 20.1154 27.3 19.5997 27.95 18.9497C28.6 18.2997 29.1157 17.5281 29.4675 16.6788C29.8192 15.8295 30.0003 14.9192 30.0003 14H30V7H27V14C27 15.0608 26.5785 16.0782 25.8284 16.8283C25.0783 17.5784 24.0609 17.9998 23 17.9998C21.9391 17.9998 20.9217 17.5784 20.1716 16.8283C19.4215 16.0782 19 15.0608 19 14V7Z",fill:"currentColor"})})}export{o as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as F}from"./chunk-MPKGQ36Z.mjs";import{j as r}from"./chunk-7OZYU3QM.mjs";import{cva as L}from"class-variance-authority";import{UploadCloud as M}from"lucide-react";import{useState as h}from"react";import{toast as N}from"sonner";import{Fragment as k,jsx as t,jsxs as u}from"react/jsx-runtime";var d={any:{types:[]},images:{types:["image/png","image/jpeg"],errorMessage:"File type not supported (.png or .jpg only)"},csv:{types:["text/csv"],errorMessage:"File type not supported (.csv only)"}},V=L("group relative isolate flex aspect-[1200/630] w-full flex-col items-center justify-center overflow-hidden bg-white transition-all hover:bg-gray-50",{variants:{variant:{default:"rounded-md border border-gray-300 shadow-sm",plain:""}},defaultVariants:{variant:"default"}});function K({readFile:x,onChange:s,variant:w,className:D,iconClassName:P,accept:l="any",imageSrc:n,loading:R=!1,clickToUpload:p=!0,showHoverOverlay:U=!0,content:g,maxFileSizeMB:c=0,accessibilityLabel:j="File upload",disabled:a=!1}){let[f,i]=h(!1),[T,z]=h(null),y=async e=>{let o="dataTransfer"in e?e.dataTransfer.files&&e.dataTransfer.files[0]:e.target.files&&e.target.files[0];if(!o)return;if(z(o.name),c>0&&o.size/1024/1024>c){N.error(`File size too big (max ${c} MB)`);return}let m=d[l].types;if(m.length&&!m.includes(o.type)){N.error(d[l].errorMessage??"File type not supported");return}if(x){let v=new FileReader;v.onload=E=>{var b;return s==null?void 0:s({src:(b=E.target)==null?void 0:b.result,file:o})},v.readAsDataURL(o);return}s==null||s({file:o})};return u("label",{className:r(V({variant:w}),a?"cursor-not-allowed":r(p&&"cursor-pointer"),D),children:[R&&t("div",{className:"absolute inset-0 z-[5] flex items-center justify-center rounded-[inherit] bg-white",children:t(F,{})}),t("div",{className:"absolute inset-0 z-[5]",onDragOver:e=>{e.preventDefault(),e.stopPropagation(),i(!0)},onDragEnter:e=>{e.preventDefault(),e.stopPropagation(),i(!0)},onDragLeave:e=>{e.preventDefault(),e.stopPropagation(),i(!1)},onDrop:async e=>{e.preventDefault(),e.stopPropagation(),y(e),i(!1)}}),u("div",{className:r("absolute inset-0 z-[3] flex flex-col items-center justify-center rounded-[inherit] bg-white transition-all",a&&"bg-gray-50",f&&!a&&"cursor-copy border-2 border-black bg-gray-50 opacity-100",n?r("opacity-0",U&&!a&&"group-hover:opacity-100"):r(!a&&"group-hover:bg-gray-50")),children:[t(M,{className:r("size-7 transition-all duration-75",a?"text-gray-400":r("text-gray-500 group-hover:scale-110 group-active:scale-95",f?"scale-110":"scale-100"),P)}),g!==null&&t("div",{className:r("mt-2 text-center text-sm text-gray-500",a&&"text-gray-400"),children:g??t(k,{children:u("p",{children:["Drag and drop ",p&&"or click"," to upload."]})})}),t("span",{className:"sr-only",children:j})]}),n&&t("img",{src:n,alt:"Preview",className:"h-full w-full rounded-[inherit] object-cover"}),p&&t("div",{className:"sr-only mt-1 flex shadow-sm",children:t("input",{type:"file",accept:d[l].types.join(","),onChange:y,disabled:a},T)})]})}export{K as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{j as i}from"./chunk-U3WMNJPM.mjs";import{jsx as l,jsxs as t}from"react/jsx-runtime";function s({className:a}){return t("svg",{className:i("h-full w-full",a),viewBox:"0 0 222 222",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[l("circle",{cx:"111",cy:"111",r:"111",fill:"url(#paint0_radial_8328_50)"}),t("g",{"clip-path":"url(#clip0_8328_50)",children:[l("path",{d:"M85.0053 196C99.3544 196 111 184.352 111 170V144H85.0053C70.6562 144 59.0105 155.648 59.0105 170C59.0105 184.352 70.6562 196 85.0053 196Z",fill:"#0ACF83"}),l("path",{d:"M59.0105 118C59.0105 103.648 70.6562 92 85.0053 92H111V144H85.0053C70.6562 144 59.0105 132.352 59.0105 118Z",fill:"#A259FF"}),l("path",{d:"M59.0103 66C59.0103 51.648 70.6559 40 85.0051 40H111V92H85.0051C70.6559 92 59.0103 80.352 59.0103 66Z",fill:"#F24E1E"}),l("path",{d:"M111 40H136.995C151.344 40 162.99 51.648 162.99 66C162.99 80.352 151.344 92 136.995 92H111V40Z",fill:"#FF7262"}),l("path",{d:"M162.99 118C162.99 132.352 151.344 144 136.995 144C122.646 144 111 132.352 111 118C111 103.648 122.646 92 136.995 92C151.344 92 162.99 103.648 162.99 118Z",fill:"#1ABCFE"})]}),t("defs",{children:[t("radialGradient",{id:"paint0_radial_8328_50",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(226.5 207.5) rotate(-140.591) scale(286.681)",children:[l("stop",{stopColor:"white"}),l("stop",{offset:"0.5",stopColor:"white"}),l("stop",{offset:"1",stopColor:"#E8E8E8"})]}),l("clipPath",{id:"clip0_8328_50",children:l("rect",{width:"104",height:"156",fill:"white",transform:"translate(59 40)"})})]})]})}export{s as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{p as e}from"./chunk-5BZ3GYDV.mjs";import{jsx as l}from"react/jsx-runtime";function i({className:t}){return l("svg",{width:"64",height:"64",viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e("h-10 w-10 text-black dark:text-white",t),children:l("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M32 64C49.6731 64 64 49.6731 64 32C64 20.1555 57.5648 9.81398 48 4.28103V31.9999V47.9999H40V45.8594C37.6466 47.2208 34.9143 47.9999 32 47.9999C23.1634 47.9999 16 40.8365 16 31.9999C16 23.1634 23.1634 15.9999 32 15.9999C34.9143 15.9999 37.6466 16.7791 40 18.1404V1.00814C37.443 0.350024 34.7624 0 32 0C14.3269 0 0 14.3269 0 32C0 49.6731 14.3269 64 32 64Z",fill:"currentColor"})})}export{i as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as v,b as g}from"./chunk-DXAEXHSE.mjs";import{a as c,c as u,d as N}from"./chunk-EBUKVIVE.mjs";import{a as l}from"./chunk-2QQZCDLG.mjs";import{b as o,j as i,m as d}from"./chunk-7OZYU3QM.mjs";import{ChevronRight as h}from"lucide-react";import _ from"next/link";import{jsx as t,jsxs as a}from"react/jsx-runtime";function y({domain:e}){return a("div",{className:"grid w-[40rem] grid-cols-2",children:[a("div",{className:"p-5",children:[t("p",{className:i(c,"mb-2"),children:"Features"}),t("div",{className:"-mx-2 -mb-2 grid grid-cols-1 gap-0.5",children:v.map(({icon:m,title:r,description:s,href:n})=>t(u,{href:o(n,e,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:e,utm_content:r}),icon:t(N,{icon:m}),title:r,description:s},n))})]}),a("div",{className:"border-l border-gray-200 p-5 dark:border-white/20",children:[a(_,{href:o("/customers",e,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:e,utm_content:"Customer Stories"}),className:i(c,"group mb-2 flex items-center transition-colors hover:text-black dark:hover:text-white"),children:["Customer Stories",t(h,{className:"ml-0.5 h-2.5 w-2.5 transition-transform group-hover:translate-x-px"})]}),t("div",{className:"grid grid-cols-1",children:g.map(({icon:m,iconClassName:r,title:s,description:n,href:p})=>t(u,{href:o(p,e,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:e,utm_content:s}),className:"-mx-2",icon:t(m,{className:i("h-7 w-7 shrink-0 text-gray-600 transition-colors dark:text-white/60",r)}),title:s,description:n,descriptionLines:2},p))}),t("p",{className:i(c,"my-4"),children:"Compare"}),t("div",{className:"flex flex-col gap-1.5",children:d.map(({name:m,slug:r})=>a(_,{href:o(`/compare/${r}`,e,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:e,utm_content:`Dub vs. ${m}`}),className:"group flex items-center gap-0.5 text-gray-500 transition-colors hover:text-gray-700 dark:text-white/60 dark:hover:text-white/80",children:[a("p",{className:"text-sm font-medium",children:["Dub vs. ",m]})," ",t(l,{className:"h-3 w-3"})]},r))})]})]})}export{y as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{j as n}from"./chunk-7OZYU3QM.mjs";import{motion as t}from"framer-motion";import{jsx as e}from"react/jsx-runtime";function s({value:i=0,max:r=100,className:o}){return e("div",{className:n("h-3 w-full overflow-hidden rounded-full bg-gray-200",o),children:e(t.div,{initial:{width:0},animate:{width:i&&r?i/r*100+"%":"0%"},transition:{duration:.5,type:"spring",delay:.2},className:`${i&&r&&i>r?"bg-red-500":"bg-blue-500"} h-full`})})}export{s as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as m}from"./chunk-NWME2ANF.mjs";import{j as d}from"./chunk-KQADMCRQ.mjs";import*as o from"@radix-ui/react-popover";import{Drawer as r}from"vaul";import{jsx as e,jsxs as i}from"react/jsx-runtime";function C({children:t,content:n,align:p="center",side:v="bottom",openPopover:a,setOpenPopover:l,mobileOnly:g,popoverContentClassName:c,collisionBoundary:P,sticky:b,onEscapeKeyDown:s,onWheel:f}){let{isMobile:h}=m();return g||h?i(r.Root,{open:a,onOpenChange:l,children:[e(r.Trigger,{className:"sm:hidden",asChild:!0,children:t}),i(r.Portal,{children:[e(r.Overlay,{className:"fixed inset-0 z-50 bg-gray-100 bg-opacity-10 backdrop-blur"}),i(r.Content,{className:"fixed bottom-0 left-0 right-0 z-50 mt-24 rounded-t-[10px] border-t border-gray-200 bg-white",onEscapeKeyDown:s,children:[e("div",{className:"sticky top-0 z-20 flex w-full items-center justify-center rounded-t-[10px] bg-inherit",children:e("div",{className:"my-3 h-1 w-12 rounded-full bg-gray-300"})}),e("div",{className:"flex min-h-[150px] w-full items-center justify-center overflow-hidden bg-white pb-8 align-middle shadow-xl",children:n})]}),e(r.Overlay,{})]})]}):i(o.Root,{open:a,onOpenChange:l,children:[e(o.Trigger,{className:"sm:inline-flex",asChild:!0,children:t}),e(o.Portal,{children:e(o.Content,{sideOffset:8,align:p,side:v,className:d("animate-slide-up-fade z-50 items-center rounded-lg border border-gray-200 bg-white drop-shadow-lg sm:block",c),sticky:b,collisionBoundary:P,onEscapeKeyDown:s,onWheel:f,children:n})})]})}export{C as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as k}from"./chunk-6JPO26GL.mjs";import{a as C}from"./chunk-32C65ISH.mjs";import{a as m}from"./chunk-D7SRRREC.mjs";import{a as b}from"./chunk-LFGWL3ID.mjs";import{a as y}from"./chunk-CZSSD6PV.mjs";import{a as g}from"./chunk-SBK5CRMY.mjs";import{a as u}from"./chunk-JBURS7BX.mjs";import{a as f}from"./chunk-BOCPUR5Z.mjs";import{a as d}from"./chunk-DWACNU5E.mjs";import{a as p}from"./chunk-3KFNNXJ6.mjs";import{a as l}from"./chunk-2W2M7KTU.mjs";import{a as h}from"./chunk-HYPLE4VW.mjs";import{a as c}from"./chunk-KDNSFAET.mjs";import{a}from"./chunk-PDSUXFDU.mjs";import{a as n}from"./chunk-KYMBX7DZ.mjs";import{a as t}from"./chunk-2LBJI2KO.mjs";import{a as s}from"./chunk-TNAH7N5Q.mjs";import{a as i}from"./chunk-DMUERTF2.mjs";import{a as r}from"./chunk-PRJVDP45.mjs";import{a as e}from"./chunk-NPWONPKN.mjs";import{a as o}from"./chunk-ZJICX3BL.mjs";var x=[{title:"Advanced Analytics",description:"Powerful Analytics For The Modern Marketer",icon:p,href:"/help/article/dub-analytics"},{title:"Branded Links",description:"Branded Links That Stand Out",icon:g,href:"/features/branded-links"},{title:"QR Codes",description:"Gorgeous QR codes for your links",icon:b,href:"/features/qr-codes"},{title:"Personalization",description:"Personalize Your Short Links",icon:m,href:"/features/personalization"},{title:"Collaboration",description:"Collaborate With Your Team",icon:C,href:"/features/collaboration"},{title:"API",description:"Programmatic Link Creation",icon:k,href:"/docs/api-reference/introduction"}],R=[{icon:t,iconClassName:"group-hover:text-[#FF6363]",title:"Raycast",description:"How Raycast added link-sharing features to Ray.so with Dub.co's link infrastructure",href:"/customers/raycast"},{icon:i,iconClassName:"group-hover:text-[#268472]",title:"Tinybird",description:"How Tinybird uses Dub.co to enhance their digital marketing strategies",href:"/customers/tinybird"},{icon:e,iconClassName:"group-hover:text-[#4C51BF]",title:"Prisma",description:"How Prisma uses Dub.co to improve insights for pris.ly links",href:"/customers/prisma"}],S=[{icon:d,title:"Developers",description:"API for efficient link management",href:"/docs/introduction"},{icon:y,title:"Enterprise",description:"Scalable link management solutions",href:"/enterprise"}],v=[{icon:a,iconClassName:"py-0.5 group-hover:text-[#3178C6]",title:"Typescript",href:"/solutions/typescript"},{icon:n,iconClassName:"py-0.5 [&_.snake]:transition-colors group-hover:[&_.snake1]:text-[#3776ab] group-hover:[&_.snake2]:text-[#ffd343]",title:"Python",href:"/solutions/python"},{icon:o,iconClassName:"group-hover:text-[#00ACD7]",title:"Go",href:"/solutions/go"},{icon:s,iconClassName:"py-[3px] grayscale brightness-150 transition-[filter] group-hover:grayscale-0 group-hover:brightness-100",title:"Ruby",href:"/solutions/ruby"},{icon:r,iconClassName:"py-[3px] grayscale brightness-150 transition-[filter] group-hover:grayscale-0 group-hover:brightness-100",title:"PHP",href:"/solutions/php"}],T=[{icon:c,title:"Blog",href:"/blog"},{icon:h,title:"Changelog",href:"/changelog"},{icon:l,title:"Docs",href:"/docs"},{icon:u,title:"Help Center",href:"/help"},{icon:f,title:"Brand",href:"/brand"}];export{x as a,R as b,S as c,v as d,T as e};
|