@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
package/dist/accordion.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client"
|
|
2
|
-
import{a,b,c,d}from"./chunk-
|
|
2
|
+
import{a,b,c,d}from"./chunk-IEYO7ARM.mjs";import"./chunk-7OZYU3QM.mjs";import"./chunk-AUBFB4SI.mjs";export{a as Accordion,d as AccordionContent,b as AccordionItem,c as AccordionTrigger};
|
package/dist/alert.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client"
|
|
2
|
-
import{a,b,c}from"./chunk-
|
|
2
|
+
import{a,b,c}from"./chunk-TJDCIXGN.mjs";import"./chunk-7OZYU3QM.mjs";import"./chunk-AUBFB4SI.mjs";export{a as Alert,c as AlertDescription,b as AlertTitle};
|
|
@@ -10,8 +10,8 @@ declare const AnimatedSizeContainer: react.ForwardRefExoticComponent<{
|
|
|
10
10
|
} & {
|
|
11
11
|
children?: react.ReactNode;
|
|
12
12
|
} & Omit<Omit<{
|
|
13
|
-
slot?: string | undefined;
|
|
14
13
|
title?: string | undefined;
|
|
14
|
+
slot?: string | undefined;
|
|
15
15
|
defaultChecked?: boolean | undefined;
|
|
16
16
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
17
17
|
suppressContentEditableWarning?: boolean | undefined;
|
|
@@ -55,12 +55,12 @@ declare const AnimatedSizeContainer: react.ForwardRefExoticComponent<{
|
|
|
55
55
|
results?: number | undefined;
|
|
56
56
|
security?: string | undefined;
|
|
57
57
|
unselectable?: "on" | "off" | undefined;
|
|
58
|
-
inputMode?: "
|
|
58
|
+
inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
59
59
|
is?: string | undefined;
|
|
60
60
|
tw?: string | undefined;
|
|
61
61
|
"aria-activedescendant"?: string | undefined;
|
|
62
62
|
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
63
|
-
"aria-autocomplete"?: "
|
|
63
|
+
"aria-autocomplete"?: "list" | "none" | "inline" | "both" | undefined;
|
|
64
64
|
"aria-braillelabel"?: string | undefined;
|
|
65
65
|
"aria-brailleroledescription"?: string | undefined;
|
|
66
66
|
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
@@ -75,12 +75,12 @@ declare const AnimatedSizeContainer: react.ForwardRefExoticComponent<{
|
|
|
75
75
|
"aria-description"?: string | undefined;
|
|
76
76
|
"aria-details"?: string | undefined;
|
|
77
77
|
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
78
|
-
"aria-dropeffect"?: "
|
|
78
|
+
"aria-dropeffect"?: "link" | "none" | "copy" | "move" | "execute" | "popup" | undefined;
|
|
79
79
|
"aria-errormessage"?: string | undefined;
|
|
80
80
|
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
81
81
|
"aria-flowto"?: string | undefined;
|
|
82
82
|
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
83
|
-
"aria-haspopup"?: boolean | "
|
|
83
|
+
"aria-haspopup"?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
|
|
84
84
|
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
85
85
|
"aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
86
86
|
"aria-keyshortcuts"?: string | undefined;
|
|
@@ -97,7 +97,7 @@ declare const AnimatedSizeContainer: react.ForwardRefExoticComponent<{
|
|
|
97
97
|
"aria-posinset"?: number | undefined;
|
|
98
98
|
"aria-pressed"?: boolean | "true" | "false" | "mixed" | undefined;
|
|
99
99
|
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
100
|
-
"aria-relevant"?: "
|
|
100
|
+
"aria-relevant"?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
101
101
|
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
102
102
|
"aria-roledescription"?: string | undefined;
|
|
103
103
|
"aria-rowcount"?: number | undefined;
|
|
@@ -272,6 +272,6 @@ declare const AnimatedSizeContainer: react.ForwardRefExoticComponent<{
|
|
|
272
272
|
onAnimationIterationCapture?: react.AnimationEventHandler<HTMLDivElement> | undefined;
|
|
273
273
|
onTransitionEnd?: react.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
274
274
|
onTransitionEndCapture?: react.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
275
|
-
} & framer_motion.MotionProps & react.RefAttributes<HTMLDivElement>, "ref">, "
|
|
275
|
+
} & framer_motion.MotionProps & react.RefAttributes<HTMLDivElement>, "ref">, "animate" | "children"> & react.RefAttributes<HTMLDivElement>>;
|
|
276
276
|
|
|
277
277
|
export { AnimatedSizeContainer };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client"
|
|
2
|
-
import{a}from"./chunk-
|
|
2
|
+
import{a}from"./chunk-MMNY4KFD.mjs";import"./chunk-7TBGFJM2.mjs";import"./chunk-7OZYU3QM.mjs";import"./chunk-AUBFB4SI.mjs";export{a as AnimatedSizeContainer};
|
package/dist/avatar.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client"
|
|
2
|
-
import{a,b,c}from"./chunk-
|
|
2
|
+
import{a,b,c}from"./chunk-YV55HH74.mjs";import"./chunk-7OZYU3QM.mjs";import"./chunk-AUBFB4SI.mjs";export{b as Avatar,c as TokenAvatar,a as getUserAvatarUrl};
|
package/dist/badge.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client"
|
|
2
|
-
import{a,b}from"./chunk-
|
|
2
|
+
import{a,b}from"./chunk-GDIBRJN4.mjs";import"./chunk-7OZYU3QM.mjs";import"./chunk-AUBFB4SI.mjs";export{b as Badge,a as badgeVariants};
|
package/dist/blur-image.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client"
|
|
2
|
-
import{a}from"./chunk-
|
|
2
|
+
import{a}from"./chunk-H5TWSNHJ.mjs";import"./chunk-7OZYU3QM.mjs";import"./chunk-AUBFB4SI.mjs";export{a as BlurImage};
|
package/dist/button.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import * as class_variance_authority_dist_types from 'class-variance-authority/d
|
|
|
4
4
|
import { VariantProps } from 'class-variance-authority';
|
|
5
5
|
|
|
6
6
|
declare const buttonVariants: (props?: ({
|
|
7
|
-
variant?: "
|
|
7
|
+
variant?: "outline" | "success" | "primary" | "secondary" | "danger" | "danger-outline" | null | undefined;
|
|
8
8
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
9
9
|
interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
10
10
|
text?: ReactNode | string;
|
package/dist/button.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client"
|
|
2
|
-
import{j as a,k as b}from"./chunk-
|
|
2
|
+
import{j as a,k as b}from"./chunk-CCVIXJ4T.mjs";import"./chunk-RS2DK25U.mjs";import"./chunk-OVTAY7FU.mjs";import"./chunk-6JPO26GL.mjs";import"./chunk-FW3IXMVC.mjs";import"./chunk-TMFXOLAX.mjs";import"./chunk-XCO6TYE2.mjs";import"./chunk-H2RARDXL.mjs";import"./chunk-XN35HHUZ.mjs";import"./chunk-IQZRESCY.mjs";import"./chunk-32C65ISH.mjs";import"./chunk-REMU6JDP.mjs";import"./chunk-6HFOWUNK.mjs";import"./chunk-IOEALVFO.mjs";import"./chunk-RB2WIZ7A.mjs";import"./chunk-PMCEI57T.mjs";import"./chunk-ODZV737U.mjs";import"./chunk-JFSNPBO7.mjs";import"./chunk-XCEWXSTL.mjs";import"./chunk-42Y3WP6A.mjs";import"./chunk-PFE7XPKG.mjs";import"./chunk-BOPNDXYJ.mjs";import"./chunk-TDNQCEQH.mjs";import"./chunk-HBXAUCXR.mjs";import"./chunk-IOYSFSEC.mjs";import"./chunk-C27HVKJD.mjs";import"./chunk-4KAIJ2PN.mjs";import"./chunk-PFEGGWM6.mjs";import"./chunk-JGYE5FTZ.mjs";import"./chunk-6AQAUU4O.mjs";import"./chunk-U4QIRPVU.mjs";import"./chunk-D7SRRREC.mjs";import"./chunk-VETEWFVX.mjs";import"./chunk-Z33FU5KI.mjs";import"./chunk-GATV5MAA.mjs";import"./chunk-WMTXO7RT.mjs";import"./chunk-EL3BJ5GH.mjs";import"./chunk-LFGWL3ID.mjs";import"./chunk-DDH3RGOS.mjs";import"./chunk-T3ITI5FJ.mjs";import"./chunk-O2Q5X4BD.mjs";import"./chunk-SZYWGXLX.mjs";import"./chunk-VX7JFYOR.mjs";import"./chunk-XVZSZKJJ.mjs";import"./chunk-XBFKTXNL.mjs";import"./chunk-CZSSD6PV.mjs";import"./chunk-SBK5CRMY.mjs";import"./chunk-2UZEHBDA.mjs";import"./chunk-FY7WB6S2.mjs";import"./chunk-4QV6SMAW.mjs";import"./chunk-RKUUDTHF.mjs";import"./chunk-LGBCPCZI.mjs";import"./chunk-RVNLURMM.mjs";import"./chunk-6C56DZRQ.mjs";import"./chunk-3IVWKAUU.mjs";import"./chunk-JMQAFRCL.mjs";import"./chunk-DJJD7VHE.mjs";import"./chunk-QC6GZ7KR.mjs";import"./chunk-PXGRN26D.mjs";import"./chunk-QOZBRSG3.mjs";import"./chunk-JBURS7BX.mjs";import"./chunk-BOCPUR5Z.mjs";import"./chunk-RAPTAKTT.mjs";import"./chunk-R27OFGXD.mjs";import"./chunk-GHXIGUPQ.mjs";import"./chunk-3W34NPBH.mjs";import"./chunk-GM7MJ5YV.mjs";import"./chunk-FGMEH6RM.mjs";import"./chunk-2LH7TKKI.mjs";import"./chunk-GLJR2QX5.mjs";import"./chunk-IORJDEOJ.mjs";import"./chunk-PT4MR4NI.mjs";import"./chunk-BPQSDPGU.mjs";import"./chunk-PGPTYK4W.mjs";import"./chunk-7NSJS37T.mjs";import"./chunk-TBQBNOUS.mjs";import"./chunk-QZR75WPQ.mjs";import"./chunk-HFXHAVJK.mjs";import"./chunk-DWACNU5E.mjs";import"./chunk-VHJB3C2A.mjs";import"./chunk-QDGGHFAX.mjs";import"./chunk-7JOFCAZW.mjs";import"./chunk-YA7GX4GF.mjs";import"./chunk-YIQYPU22.mjs";import"./chunk-BQ3B4MQI.mjs";import"./chunk-OUWJF64C.mjs";import"./chunk-B2EPEHHE.mjs";import"./chunk-IGIB6XZB.mjs";import"./chunk-GYE7FFDN.mjs";import"./chunk-UUJYTAK4.mjs";import"./chunk-ZHXYP44Q.mjs";import"./chunk-PFLLM2JW.mjs";import"./chunk-GUQEBYBS.mjs";import"./chunk-2AVTXLJA.mjs";import"./chunk-G44IVXAF.mjs";import"./chunk-3KFNNXJ6.mjs";import"./chunk-LPV7TLRR.mjs";import"./chunk-JW75YDRU.mjs";import"./chunk-JOLDVN3E.mjs";import"./chunk-IHTRL6TU.mjs";import"./chunk-GV2NLM3E.mjs";import"./chunk-76AGPMGM.mjs";import"./chunk-3YI5TNDO.mjs";import"./chunk-2W2M7KTU.mjs";import"./chunk-PJI4TXKO.mjs";import"./chunk-PI7GNHXR.mjs";import"./chunk-HYPLE4VW.mjs";import"./chunk-CPSHJRFA.mjs";import"./chunk-EARKUZEZ.mjs";import"./chunk-HMVRLHWG.mjs";import"./chunk-X6BT5NYY.mjs";import"./chunk-46N6G2J3.mjs";import"./chunk-36GFRX4D.mjs";import"./chunk-EUTTYXT5.mjs";import"./chunk-HIRKF4HX.mjs";import"./chunk-O5ED4ULH.mjs";import"./chunk-V7RF4LCH.mjs";import"./chunk-KDNSFAET.mjs";import"./chunk-KMXD2D5U.mjs";import"./chunk-S6TYCAKW.mjs";import"./chunk-6NCLBSDR.mjs";import"./chunk-FVQZMQJU.mjs";import"./chunk-INQSSLYX.mjs";import"./chunk-EX6WLDZE.mjs";import"./chunk-2COCR43F.mjs";import"./chunk-IODGUY4G.mjs";import"./chunk-KCK3HMV3.mjs";import"./chunk-URNITXJC.mjs";import"./chunk-3XQHO73N.mjs";import"./chunk-WCOEAWY3.mjs";import"./chunk-PDSUXFDU.mjs";import"./chunk-E6VJQMTO.mjs";import"./chunk-KKCRR74D.mjs";import"./chunk-KUT7JPA7.mjs";import"./chunk-KYMBX7DZ.mjs";import"./chunk-2LBJI2KO.mjs";import"./chunk-TNAH7N5Q.mjs";import"./chunk-3ITB2VNJ.mjs";import"./chunk-EHYVEIOL.mjs";import"./chunk-DMUERTF2.mjs";import"./chunk-ZGBEFTKI.mjs";import"./chunk-MPKGQ36Z.mjs";import"./chunk-CUYZMDRN.mjs";import"./chunk-FXW65LTB.mjs";import"./chunk-YURUGH4S.mjs";import"./chunk-2TGXECZQ.mjs";import"./chunk-PRJVDP45.mjs";import"./chunk-NPWONPKN.mjs";import"./chunk-ZOMZCD5I.mjs";import"./chunk-BKZ6TNZC.mjs";import"./chunk-2QQZCDLG.mjs";import"./chunk-MURAUI3W.mjs";import"./chunk-ALEYOCBW.mjs";import"./chunk-ZJICX3BL.mjs";import"./chunk-HJMQR6M2.mjs";import"./chunk-5JA2HYOQ.mjs";import"./chunk-XSZV33MB.mjs";import"./chunk-GDIBRJN4.mjs";import"./chunk-7OZYU3QM.mjs";import"./chunk-AUBFB4SI.mjs";export{b as Button,a as buttonVariants};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client"
|
|
2
|
-
import{a,b}from"../chunk-
|
|
2
|
+
import{a,b}from"../chunk-5OCD5DGL.mjs";import"../chunk-JJPNQP6K.mjs";import"../chunk-7OZYU3QM.mjs";import"../chunk-AUBFB4SI.mjs";export{a as CardContext,b as CardListCard};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client"
|
|
2
|
-
import{a,b}from"../chunk-
|
|
2
|
+
import{a,b}from"../chunk-JJPNQP6K.mjs";import"../chunk-7OZYU3QM.mjs";import"../chunk-AUBFB4SI.mjs";export{b as CardList,a as CardListContext};
|
package/dist/carousel.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client"
|
|
2
|
-
import{a,b,c,d,e,f,g,h,i}from"./chunk-
|
|
2
|
+
import{a,b,c,d,e,f,g,h,i}from"./chunk-UGRWYMVU.mjs";import"./chunk-CCVIXJ4T.mjs";import"./chunk-RS2DK25U.mjs";import"./chunk-OVTAY7FU.mjs";import"./chunk-6JPO26GL.mjs";import"./chunk-FW3IXMVC.mjs";import"./chunk-TMFXOLAX.mjs";import"./chunk-XCO6TYE2.mjs";import"./chunk-H2RARDXL.mjs";import"./chunk-XN35HHUZ.mjs";import"./chunk-IQZRESCY.mjs";import"./chunk-32C65ISH.mjs";import"./chunk-REMU6JDP.mjs";import"./chunk-6HFOWUNK.mjs";import"./chunk-IOEALVFO.mjs";import"./chunk-RB2WIZ7A.mjs";import"./chunk-PMCEI57T.mjs";import"./chunk-ODZV737U.mjs";import"./chunk-JFSNPBO7.mjs";import"./chunk-XCEWXSTL.mjs";import"./chunk-42Y3WP6A.mjs";import"./chunk-PFE7XPKG.mjs";import"./chunk-BOPNDXYJ.mjs";import"./chunk-TDNQCEQH.mjs";import"./chunk-HBXAUCXR.mjs";import"./chunk-IOYSFSEC.mjs";import"./chunk-C27HVKJD.mjs";import"./chunk-4KAIJ2PN.mjs";import"./chunk-PFEGGWM6.mjs";import"./chunk-JGYE5FTZ.mjs";import"./chunk-6AQAUU4O.mjs";import"./chunk-U4QIRPVU.mjs";import"./chunk-D7SRRREC.mjs";import"./chunk-VETEWFVX.mjs";import"./chunk-Z33FU5KI.mjs";import"./chunk-GATV5MAA.mjs";import"./chunk-WMTXO7RT.mjs";import"./chunk-EL3BJ5GH.mjs";import"./chunk-LFGWL3ID.mjs";import"./chunk-DDH3RGOS.mjs";import"./chunk-T3ITI5FJ.mjs";import"./chunk-O2Q5X4BD.mjs";import"./chunk-SZYWGXLX.mjs";import"./chunk-VX7JFYOR.mjs";import"./chunk-XVZSZKJJ.mjs";import"./chunk-XBFKTXNL.mjs";import"./chunk-CZSSD6PV.mjs";import"./chunk-SBK5CRMY.mjs";import"./chunk-2UZEHBDA.mjs";import"./chunk-FY7WB6S2.mjs";import"./chunk-4QV6SMAW.mjs";import"./chunk-RKUUDTHF.mjs";import"./chunk-LGBCPCZI.mjs";import"./chunk-RVNLURMM.mjs";import"./chunk-6C56DZRQ.mjs";import"./chunk-3IVWKAUU.mjs";import"./chunk-JMQAFRCL.mjs";import"./chunk-DJJD7VHE.mjs";import"./chunk-QC6GZ7KR.mjs";import"./chunk-PXGRN26D.mjs";import"./chunk-QOZBRSG3.mjs";import"./chunk-JBURS7BX.mjs";import"./chunk-BOCPUR5Z.mjs";import"./chunk-RAPTAKTT.mjs";import"./chunk-R27OFGXD.mjs";import"./chunk-GHXIGUPQ.mjs";import"./chunk-3W34NPBH.mjs";import"./chunk-GM7MJ5YV.mjs";import"./chunk-FGMEH6RM.mjs";import"./chunk-2LH7TKKI.mjs";import"./chunk-GLJR2QX5.mjs";import"./chunk-IORJDEOJ.mjs";import"./chunk-PT4MR4NI.mjs";import"./chunk-BPQSDPGU.mjs";import"./chunk-PGPTYK4W.mjs";import"./chunk-7NSJS37T.mjs";import"./chunk-TBQBNOUS.mjs";import"./chunk-QZR75WPQ.mjs";import"./chunk-HFXHAVJK.mjs";import"./chunk-DWACNU5E.mjs";import"./chunk-VHJB3C2A.mjs";import"./chunk-QDGGHFAX.mjs";import"./chunk-7JOFCAZW.mjs";import"./chunk-YA7GX4GF.mjs";import"./chunk-YIQYPU22.mjs";import"./chunk-BQ3B4MQI.mjs";import"./chunk-OUWJF64C.mjs";import"./chunk-B2EPEHHE.mjs";import"./chunk-IGIB6XZB.mjs";import"./chunk-GYE7FFDN.mjs";import"./chunk-UUJYTAK4.mjs";import"./chunk-ZHXYP44Q.mjs";import"./chunk-PFLLM2JW.mjs";import"./chunk-GUQEBYBS.mjs";import"./chunk-2AVTXLJA.mjs";import"./chunk-G44IVXAF.mjs";import"./chunk-3KFNNXJ6.mjs";import"./chunk-LPV7TLRR.mjs";import"./chunk-JW75YDRU.mjs";import"./chunk-JOLDVN3E.mjs";import"./chunk-IHTRL6TU.mjs";import"./chunk-GV2NLM3E.mjs";import"./chunk-76AGPMGM.mjs";import"./chunk-3YI5TNDO.mjs";import"./chunk-2W2M7KTU.mjs";import"./chunk-PJI4TXKO.mjs";import"./chunk-PI7GNHXR.mjs";import"./chunk-HYPLE4VW.mjs";import"./chunk-CPSHJRFA.mjs";import"./chunk-EARKUZEZ.mjs";import"./chunk-HMVRLHWG.mjs";import"./chunk-X6BT5NYY.mjs";import"./chunk-46N6G2J3.mjs";import"./chunk-36GFRX4D.mjs";import"./chunk-EUTTYXT5.mjs";import"./chunk-HIRKF4HX.mjs";import"./chunk-O5ED4ULH.mjs";import"./chunk-V7RF4LCH.mjs";import"./chunk-KDNSFAET.mjs";import"./chunk-KMXD2D5U.mjs";import"./chunk-S6TYCAKW.mjs";import"./chunk-6NCLBSDR.mjs";import"./chunk-FVQZMQJU.mjs";import"./chunk-INQSSLYX.mjs";import"./chunk-EX6WLDZE.mjs";import"./chunk-2COCR43F.mjs";import"./chunk-IODGUY4G.mjs";import"./chunk-KCK3HMV3.mjs";import"./chunk-URNITXJC.mjs";import"./chunk-3XQHO73N.mjs";import"./chunk-WCOEAWY3.mjs";import"./chunk-PDSUXFDU.mjs";import"./chunk-E6VJQMTO.mjs";import"./chunk-KKCRR74D.mjs";import"./chunk-KUT7JPA7.mjs";import"./chunk-KYMBX7DZ.mjs";import"./chunk-2LBJI2KO.mjs";import"./chunk-TNAH7N5Q.mjs";import"./chunk-3ITB2VNJ.mjs";import"./chunk-EHYVEIOL.mjs";import"./chunk-DMUERTF2.mjs";import"./chunk-ZGBEFTKI.mjs";import"./chunk-MPKGQ36Z.mjs";import"./chunk-CUYZMDRN.mjs";import"./chunk-FXW65LTB.mjs";import"./chunk-YURUGH4S.mjs";import"./chunk-2TGXECZQ.mjs";import"./chunk-PRJVDP45.mjs";import"./chunk-NPWONPKN.mjs";import"./chunk-ZOMZCD5I.mjs";import"./chunk-BKZ6TNZC.mjs";import"./chunk-2QQZCDLG.mjs";import"./chunk-MURAUI3W.mjs";import"./chunk-ALEYOCBW.mjs";import"./chunk-ZJICX3BL.mjs";import"./chunk-HJMQR6M2.mjs";import"./chunk-5JA2HYOQ.mjs";import"./chunk-XSZV33MB.mjs";import"./chunk-GDIBRJN4.mjs";import"./chunk-7OZYU3QM.mjs";import"./chunk-AUBFB4SI.mjs";export{a as AUTOPLAY_DEFAULT_DELAY,d as Carousel,e as CarouselContent,f as CarouselItem,i as CarouselNavBar,h as CarouselNext,g as CarouselPrevious,b as useCarousel,c as useCarouselActiveIndex};
|
package/dist/checkbox.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client"
|
|
2
|
-
import{a}from"./chunk-
|
|
2
|
+
import{a}from"./chunk-6XZUNUMN.mjs";import"./chunk-7OZYU3QM.mjs";import"./chunk-AUBFB4SI.mjs";export{a as Checkbox};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{j as C}from"./chunk-KQADMCRQ.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{d as l,e as p}from"./chunk-ZE5ZODS7.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{p as a}from"./chunk-5BZ3GYDV.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 m}from"./chunk-NWME2ANF.mjs";import{j as d}from"./chunk-U3WMNJPM.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 v}from"./chunk-XQG6PFDK.mjs";import{b as h}from"./chunk-HNNP24NU.mjs";import{c as y,f,j as l}from"./chunk-U3WMNJPM.mjs";import*as s from"@radix-ui/react-tooltip";import k from"linkify-react";import{HelpCircle as B}from"lucide-react";import C from"next/link";import{useState as R}from"react";import{cva as w}from"class-variance-authority";import{forwardRef as P}from"react";import{jsx as p,jsxs as T}from"react/jsx-runtime";var c=w("transition-all",{variants:{variant:{primary:"border-black bg-black text-white hover:bg-gray-800 hover:ring-4 hover:ring-gray-200",secondary:l("border-gray-200 bg-white text-gray-900 hover:bg-gray-50 focus-visible:border-gray-500 outline-none","data-[state=open]:border-gray-500 data-[state=open]:ring-4 data-[state=open]:ring-gray-200"),outline:"border-transparent text-gray-500 duration-75 hover:bg-gray-100",success:"border-blue-500 bg-blue-500 text-white hover:bg-blue-600 hover:ring-4 hover:ring-blue-100",danger:"border-red-500 bg-red-500 text-white hover:bg-red-600 hover:ring-4 hover:ring-red-100","danger-outline":"border-transparent bg-white text-red-500 hover:bg-red-600 hover:text-white"}},defaultVariants:{variant:"primary"}}),b=P(({text:t,variant:e="primary",className:o,textWrapperClassName:i,loading:n,icon:m,shortcut:a,disabledTooltip:x,...u},N)=>x?p(d,{content:x,children:T("div",{className:l("flex h-10 w-full cursor-not-allowed items-center justify-center gap-x-2 rounded-md border border-gray-200 bg-gray-100 px-4 text-sm text-gray-400 transition-all focus:outline-none",{"border-transparent bg-transparent":e==null?void 0:e.endsWith("outline")},o),children:[m,t&&p("div",{className:l("min-w-0 truncate",a&&"flex-1 text-left",i),children:t}),a&&p("kbd",{className:l("hidden rounded border border-gray-200 bg-gray-100 px-2 py-0.5 text-xs font-light text-gray-400 md:inline-block",{"bg-gray-100":e==null?void 0:e.endsWith("outline")}),children:a})]})}):T("button",{ref:N,type:u.onClick?"button":"submit",className:l("group flex h-10 w-full items-center justify-center gap-2 whitespace-nowrap rounded-md border px-4 text-sm",u.disabled||n?"cursor-not-allowed border-gray-200 bg-gray-100 text-gray-400 outline-none":c({variant:e}),o),disabled:u.disabled||n,...u,children:[n?p(v,{}):m||null,t&&p("div",{className:l("min-w-0 truncate",a&&"flex-1 text-left",i),children:t}),a&&p("kbd",{className:l("hidden rounded px-2 py-0.5 text-xs font-light transition-all duration-75 md:inline-block",{"bg-gray-700 text-gray-400 group-hover:bg-gray-600 group-hover:text-gray-300":e==="primary","bg-gray-200 text-gray-400 group-hover:bg-gray-100 group-hover:text-gray-500":e==="secondary","bg-gray-100 text-gray-500 group-hover:bg-gray-200":e==="outline","bg-red-100 text-red-600 group-hover:bg-red-500 group-hover:text-white":e==="danger-outline"}),children:a})]}));b.displayName="Button";import{jsx as r,jsxs as g}from"react/jsx-runtime";function J({children:t}){return r(s.Provider,{delayDuration:150,children:t})}function d({children:t,content:e,side:o="top",disableHoverableContent:i,...n}){let[m,a]=R(!1);return g(s.Root,{open:m,onOpenChange:a,delayDuration:0,disableHoverableContent:i,children:[r(s.Trigger,{asChild:!0,onClick:()=>{a(!0)},onBlur:()=>{a(!1)},children:t}),r(s.Portal,{children:r(s.Content,{sideOffset:8,side:o,className:"animate-slide-up-fade z-[99] items-center overflow-hidden rounded-xl border border-gray-200 bg-white shadow-sm",collisionPadding:0,...n,children:typeof e=="string"?r("span",{className:"block max-w-xs text-pretty px-4 py-2 text-center text-sm text-gray-700",children:e}):typeof e=="function"?e({setOpen:a}):e})})]})}function K({title:t,cta:e,href:o,target:i,onClick:n}){return g("div",{className:"flex max-w-xs flex-col items-center space-y-3 p-4 text-center",children:[r("p",{className:"text-sm text-gray-700",children:t}),e&&(o?r(C,{href:o,...i?{target:i}:{},className:l(c({variant:"primary"}),"flex h-9 w-full items-center justify-center whitespace-nowrap rounded-lg border px-4 text-sm"),children:e}):n?r(b,{onClick:n,text:e,variant:"primary",className:"h-9"}):null)]})}function Q({title:t,cta:e,href:o}){return g("div",{className:"max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:[t," ",r("a",{href:o,target:"_blank",rel:"noopener noreferrer",onClick:i=>i.stopPropagation(),className:"inline-flex text-gray-500 underline underline-offset-4 hover:text-gray-800",children:e})]})}function U({children:t}){return r("div",{className:"block max-w-md whitespace-pre-wrap px-4 py-2 text-center text-sm text-gray-700",children:r(k,{as:"p",options:{target:"_blank",rel:"noopener noreferrer nofollow",className:"underline underline-offset-4 text-gray-400 hover:text-gray-700"},children:t})})}function X(t){return r(d,{...t,children:r(B,{className:"h-4 w-4 text-gray-500"})})}function Y({value:t,unit:e="total clicks",prefix:o,children:i,lastClicked:n}){return(!t||t<1e3)&&!n?i:r(d,{content:g("div",{className:"block max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:[g("p",{className:"text-sm font-semibold text-gray-700",children:[o,y(t||0,{full:!0})," ",e]}),n&&g("p",{className:"mt-1 text-xs text-gray-500",suppressHydrationWarning:!0,children:["Last clicked ",f(n,{withAgo:!0})]})]}),children:i})}function Z({children:t,content:e,...o}){return r(d,{content:e,...o,children:r("div",{className:"flex cursor-pointer items-center",children:r(h,{variant:"gray",className:"border-gray-300 transition-all hover:bg-gray-200",children:t})})})}function $({children:t,tooltipProps:e,...o}){return r(d,{...e,children:r("button",{type:"button",...o,className:l("flex h-6 w-6 items-center justify-center rounded-md text-gray-500 transition-colors duration-75 hover:bg-gray-100 active:bg-gray-200 disabled:cursor-not-allowed disabled:hover:bg-transparent",o.className),children:t})})}export{J as a,d as b,K as c,Q as d,U as e,X as f,Y as g,Z as h,$ as i,c as j,b as k};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as W}from"./chunk-2RNJXJNC.mjs";import{a as V}from"./chunk-VCWE4VHM.mjs";import{a as L,e as _}from"./chunk-WA2SBQQN.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 o}from"./chunk-5BZ3GYDV.mjs";import*as e from"@radix-ui/react-label";import{cva as m}from"class-variance-authority";import*as t from"react";import{jsx as s}from"react/jsx-runtime";var l=m("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),p=t.forwardRef(({className:a,...i},r)=>s(e.Root,{ref:r,className:o(l(),a),...i}));p.displayName=e.Root.displayName;export{p as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as F}from"./chunk-JIS6PZYL.mjs";import{p as r}from"./chunk-5BZ3GYDV.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 l}from"./chunk-7OZYU3QM.mjs";import{jsx as t,jsxs as e}from"react/jsx-runtime";function o({className:a}){return e("div",{className:"group relative flex items-center",children:[t("svg",{className:l("absolute h-4 w-4 transition-all group-hover:translate-x-1 group-hover:opacity-0",a),xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16",width:"16",height:"16",children:t("path",{fillRule:"evenodd",d:"M6.22 3.22a.75.75 0 011.06 0l4.25 4.25a.75.75 0 010 1.06l-4.25 4.25a.75.75 0 01-1.06-1.06L9.94 8 6.22 4.28a.75.75 0 010-1.06z"})}),t("svg",{className:`${a||"h-4 w-4"} absolute opacity-0 transition-all group-hover:translate-x-1 group-hover:opacity-100`,xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16",width:"16",height:"16",children:t("path",{fillRule:"evenodd",d:"M8.22 2.97a.75.75 0 011.06 0l4.25 4.25a.75.75 0 010 1.06l-4.25 4.25a.75.75 0 01-1.06-1.06l2.97-2.97H3.75a.75.75 0 010-1.5h7.44L8.22 4.03a.75.75 0 010-1.06z"})})]})}export{o as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{d as l,e as p}from"./chunk-WA2SBQQN.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 c}from"./chunk-VJK3UDBP.mjs";import{j as s}from"./chunk-KQADMCRQ.mjs";import{cva as C}from"class-variance-authority";import{createContext as b,useContext as h,useEffect as g,useRef as x,useState as L}from"react";import{jsx as d}from"react/jsx-runtime";var E=C("w-full group/card border-gray-200 bg-white",{variants:{variant:{compact:"first-of-type:rounded-t-xl last-of-type:rounded-b-xl first-of-type:border-t border-b border-x data-[hover-state-enabled=true]:hover:bg-gray-50 transition-colors",loose:"border rounded-xl transition-[filter] data-[hover-state-enabled=true]:hover:drop-shadow-card-hover"}}}),y="w-full py-2.5 px-4",w=b({hovered:!1});function H({outerClassName:u,innerClassName:f,children:p,onClick:i,hoverStateEnabled:v=!0}){let{variant:m}=h(c),r=x(null),[a,o]=L(!1);return g(()=>{if(!a||!r.current)return;let t=setInterval(()=>{var n;((n=r.current)==null?void 0:n.matches(":hover"))===!1&&o(!1)},1e3);return()=>clearInterval(t)},[a]),d("li",{ref:r,className:s(E({variant:m}),u),onPointerEnter:()=>o(!0),onPointerLeave:()=>o(!1),"data-hover-state-enabled":v,children:d("div",{className:s(y,f),onClick:i?t=>{if(!document.getElementById("modal-backdrop")){for(let e=t.target,l=0;e&&e!==t.currentTarget&&l<100;e=e.parentElement,l++)if(["button","a","input","textarea"].includes(e.tagName.toLowerCase())||e.getAttribute("data-radix-popper-content-wrapper")!==null)return;i()}}:void 0,children:d(w.Provider,{value:{hovered:a},children:p})})})}export{w as a,H as b};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{l as u}from"./chunk-5BZ3GYDV.mjs";import{createContext as L,useCallback as f,useContext as h,useEffect as l,useId as K,useState as p}from"react";import{jsx as g}from"react/jsx-runtime";var b=L({listeners:[],setListeners:()=>{}});function C({children:t}){let[s,r]=p([]);return g(b.Provider,{value:{listeners:s,setListeners:r},children:t})}function N(t,s,r={}){let i=K(),{listeners:d,setListeners:c}=h(b),a=f(e=>{let n=e.target,S=document.getElementById("modal-backdrop");if(e.metaKey||e.ctrlKey||n.tagName==="INPUT"||n.tagName==="TEXTAREA"||!!S!=!!r.modal||(Array.isArray(t)?!t.includes(e.key):e.key!==t))return;let y=d.filter(o=>o.enabled!==!1&&(Array.isArray(o.key)?o.key.includes(e.key):o.key===e.key));!y.length||u(y,(o,m)=>(m.priority??0)-(o.priority??0)).slice(-1)[0].id!==i||(e.preventDefault(),s(e))},[t,d,i,s]);l(()=>(document.addEventListener("keydown",a),()=>document.removeEventListener("keydown",a)),[a]),l(()=>(c(e=>[...e.filter(n=>n.id!==i),{id:i,key:t,...r}]),()=>c(e=>e.filter(n=>n.id!==i))),[JSON.stringify(t),r.enabled,r.priority])}export{b as a,C as b,N as c};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as V}from"./chunk-G262Y3YH.mjs";import{a as W}from"./chunk-DE46AQLE.mjs";import{a as L,e as _}from"./chunk-GG7CLVAD.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{j as t}from"./chunk-7OZYU3QM.mjs";import{motion as r}from"framer-motion";import{jsx as e,jsxs as c}from"react/jsx-runtime";var n="M6.75 8.25L4 11L1.25 8.25",s="M6.75 3.75L4 1L1.25 3.75";function i({order:o,className:a}){return c("svg",{className:t("w-2 text-gray-950",a),viewBox:"0 0 8 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e(r.path,{className:t(!o&&"opacity-40"),animate:{d:o==="asc"?s:n},stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e(r.path,{className:"opacity-40",animate:{d:o==="asc"?n:s},stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}export{i as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{b as l}from"./chunk-CCVIXJ4T.mjs";import{j as n}from"./chunk-7OZYU3QM.mjs";import*as i from"@radix-ui/react-switch";import{useMemo as f}from"react";import{jsx as t}from"react/jsx-runtime";function x({fn:r,id:d,trackDimensions:u,thumbDimensions:h,thumbTranslate:s,checked:m=!0,loading:o=!1,disabled:a=!1,disabledTooltip:e}){let b=f(()=>e?!0:a||o,[e,a,o]),c=t(i.Root,{checked:o?!1:m,name:"switch",id:d,...r&&{onCheckedChange:r},disabled:b,className:n("radix-state-checked:bg-blue-500 radix-state-unchecked:bg-gray-200 relative inline-flex h-4 w-8 flex-shrink-0 cursor-pointer rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out","focus:outline-none focus-visible:ring focus-visible:ring-blue-500 focus-visible:ring-opacity-75","data-[disabled]:cursor-not-allowed",u),children:t(i.Thumb,{className:n(`radix-state-checked:${s}`,"radix-state-unchecked:translate-x-0","pointer-events-none h-3 w-3 translate-x-4 transform rounded-full bg-white shadow-lg ring-0 transition duration-200 ease-in-out",h,s)})});return e?t(l,{content:e,children:t("div",{children:c})}):c}export{x as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{e as _}from"./chunk-QR2P74OO.mjs";import{a as v}from"./chunk-VSFCK26M.mjs";import{a as N}from"./chunk-UQEULOV7.mjs";import{a as y}from"./chunk-CYOF3O7Y.mjs";import{a as x}from"./chunk-HRFFDN6H.mjs";import{a as f}from"./chunk-ALEYOCBW.mjs";import{a as b}from"./chunk-CS5PVLJB.mjs";import{b as o,i as d,j as n,l as g,m as p,n as h}from"./chunk-U3WMNJPM.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,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{j as i}from"./chunk-KQADMCRQ.mjs";import{cva as n}from"class-variance-authority";import{LayoutGroup as c,motion as m}from"framer-motion";import{useId as f}from"react";import{jsx as a,jsxs as b}from"react/jsx-runtime";var p=n("p-4 transition-colors duration-75",{variants:{variant:{default:"text-gray-400 data-[selected=true]:text-black data-[selected=false]:hover:text-gray-500",accent:"text-neutral-500 transition-[color,font-weight] data-[selected=true]:text-blue-600 data-[selected=false]:hover:text-neutral-700 data-[selected=true]:font-medium"}},defaultVariants:{variant:"default"}}),v=n("absolute bottom-0 w-full px-1.5",{variants:{variant:{default:"text-black",accent:"text-blue-600"}},defaultVariants:{variant:"default"}});function T({variant:r,options:s,selected:e,onSelect:o,className:l}){let d=f();return a("div",{className:i("flex text-sm",l),children:a(c,{id:d,children:s.map(({id:t,label:u})=>b("div",{className:"relative",children:[a("button",{type:"button",onClick:()=>o==null?void 0:o(t),className:p({variant:r}),"data-selected":t===e,"aria-selected":t===e,children:u}),t===e&&a(m.div,{layoutId:"indicator",transition:{duration:.1},className:v({variant:r}),children:a("div",{className:"h-0.5 rounded-t-full bg-current"})})]},t))})})}export{T as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{c as b}from"./chunk-5IQU72QI.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 e}from"./chunk-7OZYU3QM.mjs";import{jsx as t,jsxs as C}from"react/jsx-runtime";function o({className:a}){return C("svg",{className:e("h-full w-full",a),viewBox:"0 0 222 222",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[t("circle",{cx:"111",cy:"111",r:"111",fill:"url(#paint0_linear_39_35)"}),t("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M167.627 151.288C165.868 148.976 155.967 150.187 151.538 150.74C150.176 150.91 149.967 149.698 151.198 148.825C159.073 143.144 172.023 144.772 173.515 146.687C175.032 148.602 173.137 161.895 165.718 168.236C164.584 169.22 163.503 168.692 164.012 167.402C165.66 163.141 169.406 153.595 167.627 151.288ZM161.889 158.017C148.087 168.43 128.096 174 110.873 174C86.7384 174 65.0031 164.852 48.5549 149.615C47.2658 148.423 48.424 146.794 49.9749 147.72C67.7121 158.308 89.6704 164.668 112.331 164.668C127.607 164.668 144.438 161.43 159.888 154.686C162.233 153.683 164.186 156.257 161.894 158.002M120.018 102.131C120.018 108.758 120.187 114.27 116.989 120.141C114.415 124.911 110.325 127.849 105.765 127.849C99.5374 127.849 95.9221 122.889 95.9221 115.559C95.9221 101.093 108.304 98.4611 120.022 98.4611L120.022 102.136M136.379 143.493C135.317 144.496 133.766 144.574 132.555 143.91C127.18 139.231 126.211 137.055 123.24 132.585C114.343 142.092 108.057 144.932 96.5085 144.932C82.8614 144.932 72.2288 136.129 72.2288 118.497C72.2288 104.729 79.3673 95.3391 89.5105 90.753C98.2967 86.7002 110.601 85.9828 120.008 84.863L120.008 82.6669C120.008 78.6335 120.313 73.8632 118.06 70.3776C116.073 67.2508 112.288 65.9661 108.954 65.9661C102.765 65.9661 97.2548 69.2819 95.9124 76.1562C95.6265 77.6881 94.57 79.1861 93.0919 79.2637L77.361 77.5039C76.0379 77.1839 74.5792 76.0641 74.9379 73.9456C78.5725 54.0258 95.8009 48 111.207 48C119.102 48 129.419 50.1961 135.632 56.4449C143.527 64.153 142.771 74.4352 142.771 85.6289L142.771 112.064C142.771 120.019 145.911 123.5 148.887 127.8C149.929 129.318 150.156 131.169 148.848 132.309C145.533 135.227 139.65 140.564 136.412 143.575L136.354 143.517",fill:"url(#paint1_radial_39_35)"}),C("defs",{children:[C("linearGradient",{id:"paint0_linear_39_35",x1:"0",y1:"0",x2:"222",y2:"222",gradientUnits:"userSpaceOnUse",children:[t("stop",{stopColor:"#FF9900"}),t("stop",{offset:"0.5",stopColor:"#FF9900"}),t("stop",{offset:"1",stopColor:"#EA580C"})]}),C("radialGradient",{id:"paint1_radial_39_35",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(48 48) rotate(45) scale(178.191 178.229)",children:[t("stop",{stopColor:"white"}),t("stop",{offset:"1",stopColor:"white",stopOpacity:"0.5"})]})]})]})}export{o as a};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as W}from"./chunk-XJFFCJ4F.mjs";import{a as V}from"./chunk-ALHRXAVJ.mjs";import{a as L,e as _}from"./chunk-DXAEXHSE.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{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 I}from"./chunk-4MWFGGKN.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{c as s}from"./chunk-U3WMNJPM.mjs";import{Slot as R}from"@radix-ui/react-slot";import y,{useEffect as F,useState as V}from"react";import{jsxs as T}from"react/jsx-runtime";var E=y.forwardRef(({asChild:m,className:u,children:e,prefix:c,duration:t=250,as:i="span",variant:l="compact",...p},f)=>{let[n,N]=V(Number(e));return F(()=>{if(isNaN(Number(e))){console.warn("CountingNumbers expects a numeric value as children.");return}let d=Number(e),o=n,b=d,C=performance.now(),r=()=>{let g=performance.now(),a=Math.min((g-C)/t,1),w=o+(b-o)*a;N(Math.round(w)),a<1&&requestAnimationFrame(r)};requestAnimationFrame(r)},[e,t]),T(m?R:i,{ref:f,className:u,...p,children:[c,s(n,l==="full"?{full:!0}:void 0)]})});E.displayName="CountingNumbers";export{E as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{j as C}from"./chunk-KQADMCRQ.mjs";import{jsx as l,jsxs as i}from"react/jsx-runtime";function t({className:r}){return i("svg",{"aria-hidden":"true",className:C("h-4 w-4 animate-spin fill-gray-600 text-gray-200",r),viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[l("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),l("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]})}export{t as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as v,b as g}from"./chunk-DPUTFBDB.mjs";import{a as c,c as u,d as N}from"./chunk-YPFLCYTU.mjs";import{a as l}from"./chunk-J5USQ7V7.mjs";import{b as o,j as i,m as d}from"./chunk-KQADMCRQ.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{a as v}from"./chunk-4NVSXEFD.mjs";import{b as h}from"./chunk-OKCFJH63.mjs";import{c as y,f,j as l}from"./chunk-KQADMCRQ.mjs";import*as s from"@radix-ui/react-tooltip";import k from"linkify-react";import{HelpCircle as B}from"lucide-react";import C from"next/link";import{useState as R}from"react";import{cva as w}from"class-variance-authority";import{forwardRef as P}from"react";import{jsx as p,jsxs as T}from"react/jsx-runtime";var c=w("transition-all",{variants:{variant:{primary:"border-black bg-black text-white hover:bg-gray-800 hover:ring-4 hover:ring-gray-200",secondary:l("border-gray-200 bg-white text-gray-900 hover:bg-gray-50 focus-visible:border-gray-500 outline-none","data-[state=open]:border-gray-500 data-[state=open]:ring-4 data-[state=open]:ring-gray-200"),outline:"border-transparent text-gray-500 duration-75 hover:bg-gray-100",success:"border-blue-500 bg-blue-500 text-white hover:bg-blue-600 hover:ring-4 hover:ring-blue-100",danger:"border-red-500 bg-red-500 text-white hover:bg-red-600 hover:ring-4 hover:ring-red-100","danger-outline":"border-transparent bg-white text-red-500 hover:bg-red-600 hover:text-white"}},defaultVariants:{variant:"primary"}}),b=P(({text:t,variant:e="primary",className:o,textWrapperClassName:i,loading:n,icon:m,shortcut:a,disabledTooltip:x,...u},N)=>x?p(d,{content:x,children:T("div",{className:l("flex h-10 w-full cursor-not-allowed items-center justify-center gap-x-2 rounded-md border border-gray-200 bg-gray-100 px-4 text-sm text-gray-400 transition-all focus:outline-none",{"border-transparent bg-transparent":e==null?void 0:e.endsWith("outline")},o),children:[m,t&&p("div",{className:l("min-w-0 truncate",a&&"flex-1 text-left",i),children:t}),a&&p("kbd",{className:l("hidden rounded border border-gray-200 bg-gray-100 px-2 py-0.5 text-xs font-light text-gray-400 md:inline-block",{"bg-gray-100":e==null?void 0:e.endsWith("outline")}),children:a})]})}):T("button",{ref:N,type:u.onClick?"button":"submit",className:l("group flex h-10 w-full items-center justify-center gap-2 whitespace-nowrap rounded-md border px-4 text-sm",u.disabled||n?"cursor-not-allowed border-gray-200 bg-gray-100 text-gray-400 outline-none":c({variant:e}),o),disabled:u.disabled||n,...u,children:[n?p(v,{}):m||null,t&&p("div",{className:l("min-w-0 truncate",a&&"flex-1 text-left",i),children:t}),a&&p("kbd",{className:l("hidden rounded px-2 py-0.5 text-xs font-light transition-all duration-75 md:inline-block",{"bg-gray-700 text-gray-400 group-hover:bg-gray-600 group-hover:text-gray-300":e==="primary","bg-gray-200 text-gray-400 group-hover:bg-gray-100 group-hover:text-gray-500":e==="secondary","bg-gray-100 text-gray-500 group-hover:bg-gray-200":e==="outline","bg-red-100 text-red-600 group-hover:bg-red-500 group-hover:text-white":e==="danger-outline"}),children:a})]}));b.displayName="Button";import{jsx as r,jsxs as g}from"react/jsx-runtime";function J({children:t}){return r(s.Provider,{delayDuration:150,children:t})}function d({children:t,content:e,side:o="top",disableHoverableContent:i,...n}){let[m,a]=R(!1);return g(s.Root,{open:m,onOpenChange:a,delayDuration:0,disableHoverableContent:i,children:[r(s.Trigger,{asChild:!0,onClick:()=>{a(!0)},onBlur:()=>{a(!1)},children:t}),r(s.Portal,{children:r(s.Content,{sideOffset:8,side:o,className:"animate-slide-up-fade z-[99] items-center overflow-hidden rounded-xl border border-gray-200 bg-white shadow-sm",collisionPadding:0,...n,children:typeof e=="string"?r("span",{className:"block max-w-xs text-pretty px-4 py-2 text-center text-sm text-gray-700",children:e}):typeof e=="function"?e({setOpen:a}):e})})]})}function K({title:t,cta:e,href:o,target:i,onClick:n}){return g("div",{className:"flex max-w-xs flex-col items-center space-y-3 p-4 text-center",children:[r("p",{className:"text-sm text-gray-700",children:t}),e&&(o?r(C,{href:o,...i?{target:i}:{},className:l(c({variant:"primary"}),"flex h-9 w-full items-center justify-center whitespace-nowrap rounded-lg border px-4 text-sm"),children:e}):n?r(b,{onClick:n,text:e,variant:"primary",className:"h-9"}):null)]})}function Q({title:t,cta:e,href:o}){return g("div",{className:"max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:[t," ",r("a",{href:o,target:"_blank",rel:"noopener noreferrer",onClick:i=>i.stopPropagation(),className:"inline-flex text-gray-500 underline underline-offset-4 hover:text-gray-800",children:e})]})}function U({children:t}){return r("div",{className:"block max-w-md whitespace-pre-wrap px-4 py-2 text-center text-sm text-gray-700",children:r(k,{as:"p",options:{target:"_blank",rel:"noopener noreferrer nofollow",className:"underline underline-offset-4 text-gray-400 hover:text-gray-700"},children:t})})}function X(t){return r(d,{...t,children:r(B,{className:"h-4 w-4 text-gray-500"})})}function Y({value:t,unit:e="total clicks",prefix:o,children:i,lastClicked:n}){return(!t||t<1e3)&&!n?i:r(d,{content:g("div",{className:"block max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:[g("p",{className:"text-sm font-semibold text-gray-700",children:[o,y(t||0,{full:!0})," ",e]}),n&&g("p",{className:"mt-1 text-xs text-gray-500",suppressHydrationWarning:!0,children:["Last clicked ",f(n,{withAgo:!0})]})]}),children:i})}function Z({children:t,content:e,...o}){return r(d,{content:e,...o,children:r("div",{className:"flex cursor-pointer items-center",children:r(h,{variant:"gray",className:"border-gray-300 transition-all hover:bg-gray-200",children:t})})})}function $({children:t,tooltipProps:e,...o}){return r(d,{...e,children:r("button",{type:"button",...o,className:l("flex h-6 w-6 items-center justify-center rounded-md text-gray-500 transition-colors duration-75 hover:bg-gray-100 active:bg-gray-200 disabled:cursor-not-allowed disabled:hover:bg-transparent",o.className),children:t})})}export{J as a,d as b,K as c,Q as d,U as e,X as f,Y as g,Z as h,$ as i,c as j,b as k};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{c as x}from"./chunk-KO3KMZH7.mjs";import{a as f}from"./chunk-KJHGNDAM.mjs";import{g as u,j as b}from"./chunk-KQADMCRQ.mjs";import{AnimatePresence as C,motion as h}from"framer-motion";import{X as L}from"lucide-react";import{isValidElement as A}from"react";import{Fragment as O,jsx as t,jsxs as i}from"react/jsx-runtime";function K({filters:p,activeFilters:a,onRemove:v,onRemoveAll:l,className:N}){return x("Escape",l,{priority:1}),t(f,{height:!0,className:"w-full",transition:{type:"tween",duration:.3},children:i("div",{className:b("flex w-full flex-wrap items-start gap-4 sm:flex-nowrap",N),children:[t("div",{className:"flex grow flex-wrap gap-x-4 gap-y-2",children:t(C,{children:a==null?void 0:a.map(({key:n,value:s})=>{if(n==="loader")return t(h.div,{initial:{opacity:0,y:4},animate:{opacity:1,y:0},className:"h-9 w-48 animate-pulse rounded-md border border-gray-200 bg-white"},`loader-${s}`);let e=p.find(r=>r.key===n);if(!e)throw new Error("Filter.List received an activeFilter without a corresponding filter");return(e.multiple&&Array.isArray(s)?s:[s]).map(r=>{var c,y,g;let o=(c=e.options)==null?void 0:c.find(d=>typeof d.value=="string"&&typeof r=="string"?d.value.toLowerCase()===r.toLowerCase():d.value===r),m=(o==null?void 0:o.icon)??((y=e.getOptionIcon)==null?void 0:y.call(e,r,{key:e.key,option:o}))??e.icon,k=(o==null?void 0:o.label)??((g=e.getOptionLabel)==null?void 0:g.call(e,r,{key:e.key,option:o}))??r;return i(h.div,{initial:{opacity:0,y:4},animate:{opacity:1,y:0},className:"flex items-center divide-x rounded-md border border-gray-200 bg-white text-sm text-black",children:[i("div",{className:"flex items-center gap-2.5 px-3 py-2",children:[t("span",{className:"shrink-0 text-gray-600",children:w(e.icon)?e.icon:t(e.icon,{className:"h-4 w-4"})}),e.label]}),t("div",{className:"px-3 py-2 text-gray-500",children:"is"}),t("div",{className:"flex items-center gap-2.5 px-3 py-2",children:e.options?i(O,{children:[t("span",{className:"shrink-0 text-gray-600",children:w(m)?m:t(m,{className:"h-4 w-4"})}),u(k,30)]}):t("div",{className:"h-5 w-12 animate-pulse rounded-md bg-gray-200"})}),t("button",{type:"button",className:"h-full rounded-r-md p-2 text-gray-500 ring-inset ring-gray-500 hover:bg-gray-100 hover:text-gray-800 focus:outline-none focus-visible:ring-1",onClick:()=>v(n,r),children:t(L,{className:"h-3.5 w-3.5"})})]},n)})})})}),(a==null?void 0:a.length)!==0&&i("button",{type:"button",className:"group mt-px flex items-center gap-2 whitespace-nowrap rounded-lg border border-transparent px-3 py-2 text-sm text-gray-500 ring-inset ring-gray-500 transition-colors hover:border-gray-200 hover:bg-white hover:text-black focus:outline-none",onClick:l,children:["Clear Filters",t("kbd",{className:"rounded-md border border-gray-200 px-1.5 py-0.5 text-xs text-gray-950 group-hover:bg-gray-50",children:"ESC"})]})]})})}var w=p=>A(p);export{K as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{c as b}from"./chunk-EIWAAKMC.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{p as u}from"./chunk-5BZ3GYDV.mjs";import{addYears as P,format as O,isSameMonth as K}from"date-fns";import{ChevronLeft as k,ChevronRight as C,ChevronsLeft as S,ChevronsRight as H}from"lucide-react";import{forwardRef as E,useRef as G}from"react";import{DayPicker as I,useDayPicker as j,useDayRender as Y,useNavigation as A}from"react-day-picker";import{Fragment as z,jsx as e,jsxs as T}from"react/jsx-runtime";var c=E(({onClick:w,icon:N,disabled:m,...y},i)=>e("button",{ref:i,type:"button",disabled:m,className:u("flex h-7 w-7 shrink-0 select-none items-center justify-center rounded border p-1 outline-none transition","border-gray-200 text-gray-600 hover:text-gray-800","hover:bg-gray-50 active:bg-gray-100","disabled:pointer-events-none disabled:text-gray-400"),onClick:w,...y,children:e(N,{className:"h-full w-full shrink-0"})}));c.displayName="NavigationButton";function X({mode:w="single",weekStartsOn:N=1,numberOfMonths:m=1,showYearNavigation:y=!1,disableNavigation:i,locale:M,className:L,classNames:D,...R}){return e(I,{mode:w,weekStartsOn:N,numberOfMonths:m,locale:M,showOutsideDays:m===1,className:L,classNames:{months:"flex space-y-0",month:"space-y-4 p-3 w-full",nav:"gap-1 flex items-center rounded-full w-full h-full justify-between p-4",table:"w-full border-separate border-spacing-y-1",head_cell:"w-9 font-medium text-xs text-center text-gray-400 pb-2",row:"w-full",cell:"relative p-0 text-center focus-within:relative text-gray-900",day:u("relative h-10 w-full sm:h-9 sm:w-9 rounded-md text-sm text-gray-900","hover:bg-gray-100 active:bg-gray-200 outline outline-offset-2 outline-0 focus-visible:outline-2 outline-blue-500"),day_today:"font-semibold",day_selected:"rounded aria-selected:bg-blue-500 aria-selected:text-white",day_disabled:"!text-gray-300 line-through disabled:hover:bg-transparent",day_outside:"text-gray-400",day_range_middle:"!rounded-none aria-selected:!bg-blue-100 aria-selected:!text-blue-900",day_range_start:"rounded-r-none !rounded-l",day_range_end:"rounded-l-none !rounded-r",day_hidden:"invisible",...D},components:{IconLeft:()=>e(k,{className:"h-4 w-4"}),IconRight:()=>e(C,{className:"h-4 w-4"}),Caption:({...p})=>{let{goToMonth:r,nextMonth:t,previousMonth:n,currentMonth:s,displayMonths:d}=A(),{numberOfMonths:g,fromDate:l,toDate:o}=j(),b=d.findIndex(a=>K(p.displayMonth,a)),f=b===0,h=b===d.length-1,v=g>1&&(f||!h),x=g>1&&(h||!f),_=()=>{let a=P(s,-1);n&&(!l||a.getTime()>=l.getTime())&&r(a)},B=()=>{let a=P(s,1);t&&(!o||a.getTime()<=o.getTime())&&r(a)};return T("div",{className:"flex items-center justify-between",children:[T("div",{className:"flex items-center gap-1",children:[y&&!x&&e(c,{disabled:i||!n||l&&P(s,-1).getTime()<l.getTime(),"aria-label":"Go to previous year",onClick:_,icon:S}),!x&&e(c,{disabled:i||!n,"aria-label":"Go to previous month",onClick:()=>n&&r(n),icon:k})]}),e("div",{role:"presentation","aria-live":"polite",className:"text-sm font-medium capitalize tabular-nums text-gray-900",children:O(p.displayMonth,"LLLL yyy",{locale:M})}),T("div",{className:"flex items-center gap-1",children:[!v&&e(c,{disabled:i||!t,"aria-label":"Go to next month",onClick:()=>t&&r(t),icon:C}),y&&!v&&e(c,{disabled:i||!t||o&&P(s,1).getTime()>o.getTime(),"aria-label":"Go to next year",onClick:B,icon:H})]})]})},Day:({date:p,displayMonth:r})=>{let t=G(null),{activeModifiers:n,buttonProps:s,divProps:d,isButton:g,isHidden:l}=Y(p,r,t),{selected:o,today:b,disabled:f,range_middle:h}=n;if(l)return e(z,{});if(!g)return e("div",{...d,className:u("flex items-center justify-center",d.className)});let{children:v,...x}=s;return T("button",{ref:t,...x,type:"button",children:[v,b&&e("span",{className:u("absolute inset-x-1/2 bottom-1.5 h-0.5 w-4 -translate-x-1/2 rounded-[2px]",{"bg-blue-500":!o,"!bg-white":o,"!bg-blue-400":o&&h,"text-gray-400":f})})]})}},...R})}export{X as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{j as e}from"./chunk-KQADMCRQ.mjs";import{jsx as t}from"react/jsx-runtime";function o({className:i}){return t("div",{className:e("h-5 w-5",i),children:t("div",{style:{position:"relative",top:"50%",left:"50%"},className:e("loading-spinner","h-5 w-5",i),children:[...Array(12)].map((n,a)=>t("div",{style:{animationDelay:`${-1.2+.1*a}s`,background:"gray",position:"absolute",borderRadius:"1rem",width:"30%",height:"8%",left:"-10%",top:"-4%",transform:`rotate(${30*a}deg) translate(120%)`},className:"animate-spinner"},a))})})}export{o as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{j as n}from"./chunk-U3WMNJPM.mjs";import{jsx as e,jsxs as a}from"react/jsx-runtime";function h({cellSize:t=12,strokeWidth:s=1,patternOffset:r=[0,0],className:i}){return a("svg",{className:n("pointer-events-none absolute inset-0 text-black/10",i),width:"100%",height:"100%",children:[e("defs",{children:e("pattern",{id:"grid",x:r[0]-1,y:r[1]-1,width:t,height:t,patternUnits:"userSpaceOnUse",children:e("path",{d:`M ${t} 0 L 0 0 0 ${t}`,fill:"transparent",stroke:"currentColor",strokeWidth:s})})}),e("rect",{fill:"url(#grid)",width:"100%",height:"100%"})]})}export{h as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as p}from"./chunk-NWME2ANF.mjs";import{a as s}from"./chunk-MPKGQ36Z.mjs";import{a as y}from"./chunk-2TGXECZQ.mjs";import{a as g,e as f,i as b}from"./chunk-7OZYU3QM.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};
|