@dub/ui 0.1.64 → 0.1.65
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/accordion.mjs +1 -1
- package/dist/alert.mjs +1 -1
- package/dist/animated-size-container.d.ts +12 -12
- package/dist/animated-size-container.mjs +1 -1
- package/dist/avatar.mjs +1 -1
- package/dist/badge.d.ts +1 -1
- package/dist/badge.mjs +1 -1
- package/dist/blur-image.mjs +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-22G7CNUP.mjs +2 -0
- package/dist/chunk-23XIZXUJ.mjs +2 -0
- package/dist/chunk-24L5RJT7.mjs +6 -0
- package/dist/chunk-266CR3JW.mjs +2 -0
- package/dist/chunk-27HFRPZ2.mjs +2 -0
- package/dist/chunk-27WZGLRK.mjs +2 -0
- package/dist/chunk-2ARGZAIC.mjs +2 -0
- package/dist/chunk-2B4J4WCM.mjs +2 -0
- package/dist/chunk-2DGI3N2A.mjs +2 -0
- package/dist/chunk-2ENJDUG6.mjs +2 -0
- package/dist/chunk-2F4BO55L.mjs +2 -0
- package/dist/chunk-2KUZ4P7L.mjs +2 -0
- package/dist/chunk-2LEO5N2F.mjs +42 -0
- package/dist/chunk-2LGFU4IK.mjs +6 -0
- package/dist/chunk-2LVMLNNB.mjs +2 -0
- package/dist/chunk-2N6HVSPE.mjs +2 -0
- package/dist/chunk-2NOMB236.mjs +2 -0
- package/dist/chunk-2SR2L3ZY.mjs +2 -0
- package/dist/chunk-2VNRSO5I.mjs +2 -0
- package/dist/chunk-2WSV4YH7.mjs +2 -0
- package/dist/chunk-2YXXAFBG.mjs +2 -0
- package/dist/chunk-324JZKTT.mjs +2 -0
- package/dist/chunk-352GTGOZ.mjs +2 -0
- package/dist/chunk-353TDDBD.mjs +2 -0
- package/dist/chunk-3AGS4CL3.mjs +2 -0
- package/dist/chunk-3CAINAYF.mjs +2 -0
- package/dist/chunk-3CRSMS33.mjs +2 -0
- package/dist/chunk-3DNI4UTR.mjs +2 -0
- package/dist/chunk-3DPJ4BHL.mjs +2 -0
- package/dist/chunk-3GWAD6PK.mjs +2 -0
- package/dist/chunk-3HO2QB3O.mjs +2 -0
- package/dist/chunk-3LMZVQIJ.mjs +6 -0
- package/dist/chunk-3MAO7ZUE.mjs +2 -0
- package/dist/chunk-3MNJAW3K.mjs +2 -0
- package/dist/chunk-3P2LZKNZ.mjs +2 -0
- package/dist/chunk-3PFRUDGR.mjs +2 -0
- package/dist/chunk-3Q67Z2ZQ.mjs +2 -0
- package/dist/chunk-3RJ6HILN.mjs +2 -0
- package/dist/chunk-3RPAER42.mjs +2 -0
- package/dist/chunk-3SBZZTKO.mjs +2 -0
- package/dist/chunk-3SL2UW4L.mjs +2 -0
- package/dist/chunk-3XI4D5KG.mjs +2 -0
- package/dist/chunk-47AFEU2D.mjs +2 -0
- package/dist/chunk-4B6U4GO7.mjs +2 -0
- package/dist/chunk-4DH2JJYJ.mjs +2 -0
- package/dist/chunk-4EWLMMOI.mjs +2 -0
- package/dist/chunk-4JFW4IBU.mjs +2 -0
- package/dist/chunk-4JN2E5ON.mjs +2 -0
- package/dist/chunk-4JXYVJYL.mjs +2 -0
- package/dist/chunk-4NCL3JOG.mjs +2 -0
- package/dist/chunk-4NKXIIGO.mjs +2 -0
- package/dist/chunk-4QLGWBWI.mjs +2 -0
- package/dist/chunk-4RK2SNLT.mjs +2 -0
- package/dist/chunk-4S4QDTNM.mjs +2 -0
- package/dist/chunk-4TKMVD3I.mjs +2 -0
- package/dist/chunk-4V4VNXHX.mjs +2 -0
- package/dist/chunk-4W3KDOST.mjs +2 -0
- package/dist/chunk-53QOFIHT.mjs +2 -0
- package/dist/chunk-5A3E7WHW.mjs +6 -0
- package/dist/chunk-5CSEIRJK.mjs +2 -0
- package/dist/chunk-5FOSABUZ.mjs +2 -0
- package/dist/chunk-5GRZQNXD.mjs +2 -0
- package/dist/chunk-5KHVEQXR.mjs +2 -0
- package/dist/chunk-5S6YVJRP.mjs +6 -0
- package/dist/chunk-5ULT3OX5.mjs +6 -0
- package/dist/chunk-5WVTOY4P.mjs +2 -0
- package/dist/chunk-5X37KZB5.mjs +2 -0
- package/dist/chunk-5XXBRPKG.mjs +2 -0
- package/dist/chunk-63VJXGTK.mjs +2 -0
- package/dist/chunk-64QQA4QW.mjs +2 -0
- package/dist/chunk-663VVVWM.mjs +2 -0
- package/dist/chunk-6CN4PV56.mjs +2 -0
- package/dist/chunk-6EXURXEE.mjs +2 -0
- package/dist/chunk-6HNDCIAI.mjs +2 -0
- package/dist/chunk-6I7YDKNG.mjs +2 -0
- package/dist/chunk-6JSI46AL.mjs +6 -0
- package/dist/chunk-6JXDFNYL.mjs +2 -0
- package/dist/chunk-6M22A3I2.mjs +2 -0
- package/dist/chunk-6ORGKCTT.mjs +2 -0
- package/dist/chunk-6Z4LCVCW.mjs +2 -0
- package/dist/chunk-72IF7VSJ.mjs +2 -0
- package/dist/chunk-73LCVKEY.mjs +2 -0
- package/dist/chunk-75ETXOAN.mjs +2 -0
- package/dist/chunk-75JQAERL.mjs +2 -0
- package/dist/chunk-76I3EX6E.mjs +2 -0
- package/dist/chunk-77SZ3IDE.mjs +2 -0
- package/dist/chunk-7A2MD2ZI.mjs +2 -0
- package/dist/chunk-7IDAN342.mjs +2 -0
- package/dist/chunk-7MNNAEZG.mjs +2 -0
- package/dist/chunk-7MQRFL5W.mjs +2 -0
- package/dist/chunk-7Y7DUQA4.mjs +2 -0
- package/dist/chunk-7ZKP5C4K.mjs +2 -0
- package/dist/chunk-A3LILCE2.mjs +2 -0
- package/dist/chunk-A7XAZNUY.mjs +2 -0
- package/dist/chunk-AAQ63WES.mjs +2 -0
- package/dist/chunk-ABIDKQLU.mjs +2 -0
- package/dist/chunk-AGH7ZEIK.mjs +2 -0
- package/dist/chunk-AGLNGBQP.mjs +2 -0
- package/dist/chunk-AH7XQ5K4.mjs +2 -0
- package/dist/chunk-AKIOXJYS.mjs +2 -0
- package/dist/chunk-ALA7PTL2.mjs +6 -0
- package/dist/chunk-AMIQBOQQ.mjs +2 -0
- package/dist/chunk-AYMV2XWG.mjs +2 -0
- package/dist/chunk-AYN6PQHJ.mjs +2 -0
- package/dist/chunk-B4NKNS6J.mjs +2 -0
- package/dist/chunk-B6LRIXJS.mjs +2 -0
- package/dist/chunk-B6MJ3SDC.mjs +2 -0
- package/dist/chunk-B76JSEEL.mjs +2 -0
- package/dist/chunk-B7S6GSB7.mjs +2 -0
- package/dist/chunk-BA2WAV55.mjs +2 -0
- package/dist/chunk-BBBROSDY.mjs +2 -0
- package/dist/chunk-BCFAWJEI.mjs +6 -0
- package/dist/chunk-BD76EQXI.mjs +2 -0
- package/dist/chunk-BFY5K5XP.mjs +2 -0
- package/dist/chunk-BGJJBYFF.mjs +2 -0
- package/dist/chunk-BIEJ6N7V.mjs +2 -0
- package/dist/chunk-BKXIX76I.mjs +2 -0
- package/dist/chunk-BPB42YAU.mjs +2 -0
- package/dist/chunk-BR4NCCQD.mjs +2 -0
- package/dist/chunk-BVAXTLWS.mjs +6 -0
- package/dist/chunk-BVUJO35O.mjs +2 -0
- package/dist/chunk-BW5I5LYX.mjs +2 -0
- package/dist/chunk-C3T67R3F.mjs +2 -0
- package/dist/chunk-C6C7ZMXM.mjs +2 -0
- package/dist/chunk-C7PORKCZ.mjs +2 -0
- package/dist/chunk-CBAK6IP3.mjs +2 -0
- package/dist/chunk-CBWWJMSP.mjs +6 -0
- package/dist/chunk-CC6UA2SY.mjs +2 -0
- package/dist/chunk-CJMH3V5J.mjs +2 -0
- package/dist/chunk-CL2JQR6L.mjs +2 -0
- package/dist/chunk-CM6SHJGO.mjs +2 -0
- package/dist/chunk-CMHXPQHR.mjs +2 -0
- package/dist/chunk-CNTA33PG.mjs +2 -0
- package/dist/chunk-COAUXGXL.mjs +2 -0
- package/dist/chunk-COMF4NPA.mjs +2 -0
- package/dist/chunk-CR6ZAJ2S.mjs +2 -0
- package/dist/chunk-CUAW3MWU.mjs +2 -0
- package/dist/chunk-CY644ZMD.mjs +2 -0
- package/dist/chunk-CYLUQHC7.mjs +2 -0
- package/dist/chunk-CZDFLXQX.mjs +42 -0
- package/dist/chunk-D5KJG3UR.mjs +2 -0
- package/dist/chunk-D7LKVBEO.mjs +2 -0
- package/dist/chunk-DDFAQ4KU.mjs +2 -0
- package/dist/chunk-DI5MMUHP.mjs +2 -0
- package/dist/chunk-DK7Q6FIF.mjs +2 -0
- package/dist/chunk-DNSDRMPX.mjs +2 -0
- package/dist/chunk-DPC3OMTK.mjs +2 -0
- package/dist/chunk-DTRNSEJR.mjs +2 -0
- package/dist/chunk-DWDN2PTA.mjs +2 -0
- package/dist/chunk-DWFKK5Z3.mjs +2 -0
- package/dist/chunk-DX3XHYLN.mjs +2 -0
- package/dist/chunk-E3MDGMRJ.mjs +2 -0
- package/dist/chunk-E64DRJH4.mjs +6 -0
- package/dist/chunk-E6DIYFDF.mjs +2 -0
- package/dist/chunk-EBYUINSY.mjs +2 -0
- package/dist/chunk-EBZHILLP.mjs +2 -0
- package/dist/chunk-EC2552BK.mjs +2 -0
- package/dist/chunk-ECRO7TY7.mjs +2 -0
- package/dist/chunk-EDNRTMPR.mjs +2 -0
- package/dist/chunk-EDPQF4LV.mjs +2 -0
- package/dist/chunk-EFVBEU4A.mjs +2 -0
- package/dist/chunk-EI63UUR5.mjs +2 -0
- package/dist/chunk-ELGETJHO.mjs +2 -0
- package/dist/chunk-EPQOXXCH.mjs +2 -0
- package/dist/chunk-EQGVKMNM.mjs +2 -0
- package/dist/chunk-EQQBGD3H.mjs +2 -0
- package/dist/chunk-ESVOYZCU.mjs +2 -0
- package/dist/chunk-ET532A2U.mjs +2 -0
- package/dist/chunk-EUBDOIEF.mjs +2 -0
- package/dist/chunk-EW4EMQWM.mjs +2 -0
- package/dist/chunk-EY7EF64M.mjs +2 -0
- package/dist/chunk-EYQWU2FE.mjs +2 -0
- package/dist/chunk-EZIH3MTQ.mjs +2 -0
- package/dist/chunk-F4ANXQ2H.mjs +2 -0
- package/dist/chunk-F6HJK2JJ.mjs +2 -0
- package/dist/chunk-F6VRLNFA.mjs +2 -0
- package/dist/chunk-FA4DY6UP.mjs +2 -0
- package/dist/chunk-FCHZ5NFO.mjs +2 -0
- package/dist/chunk-FCJQKJH4.mjs +2 -0
- package/dist/chunk-FEGXY7FI.mjs +2 -0
- package/dist/chunk-FEPIBNZL.mjs +6 -0
- package/dist/chunk-FIPHUD2L.mjs +2 -0
- package/dist/chunk-FJGJGU3H.mjs +2 -0
- package/dist/chunk-FKZGQEMI.mjs +2 -0
- package/dist/chunk-FMBBGZOU.mjs +2 -0
- package/dist/chunk-FOTGADCX.mjs +2 -0
- package/dist/chunk-FPX7DY6P.mjs +2 -0
- package/dist/chunk-FQ3HHKT6.mjs +2 -0
- package/dist/chunk-FRAN6DQK.mjs +2 -0
- package/dist/chunk-FSZIOE3J.mjs +2 -0
- package/dist/chunk-FUNPV7TG.mjs +2 -0
- package/dist/chunk-FWOD5FLT.mjs +2 -0
- package/dist/chunk-FXFCCJYU.mjs +6 -0
- package/dist/chunk-G2PHQK5M.mjs +2 -0
- package/dist/chunk-G2XKB6QH.mjs +2 -0
- package/dist/chunk-G6ZI7OGN.mjs +2 -0
- package/dist/chunk-G7JC5WVB.mjs +2 -0
- package/dist/chunk-GGHBVHFY.mjs +2 -0
- package/dist/chunk-GGZ7VSFG.mjs +2 -0
- package/dist/chunk-GHKRKQ47.mjs +2 -0
- package/dist/chunk-GK4L3NNI.mjs +2 -0
- package/dist/chunk-GKVTR555.mjs +2 -0
- package/dist/chunk-GMCMV67Y.mjs +2 -0
- package/dist/chunk-GQ7UE25R.mjs +6 -0
- package/dist/chunk-GT2L5XI5.mjs +2 -0
- package/dist/chunk-GUX6WUDF.mjs +2 -0
- package/dist/chunk-GVCRUB3A.mjs +2 -0
- package/dist/chunk-H6BUPWPT.mjs +2 -0
- package/dist/chunk-HBMP325Z.mjs +2 -0
- package/dist/chunk-HCQMSSHE.mjs +2 -0
- package/dist/chunk-HDJCLA6F.mjs +2 -0
- package/dist/chunk-HH6MEDKE.mjs +2 -0
- package/dist/chunk-HHR2MF2F.mjs +2 -0
- package/dist/chunk-HI7SVMVM.mjs +2 -0
- package/dist/chunk-HIMNDJ3X.mjs +2 -0
- package/dist/chunk-HIY3MY2D.mjs +2 -0
- package/dist/chunk-HKOJKOGX.mjs +2 -0
- package/dist/chunk-HMNMRBBV.mjs +2 -0
- package/dist/chunk-HNDK26EJ.mjs +2 -0
- package/dist/chunk-HNNDMBLV.mjs +2 -0
- package/dist/chunk-HQJ32QC6.mjs +2 -0
- package/dist/chunk-HRLKDYY6.mjs +2 -0
- package/dist/chunk-HRTR6WBC.mjs +2 -0
- package/dist/chunk-HSPLRBBS.mjs +2 -0
- package/dist/chunk-HTTZD7C6.mjs +2 -0
- package/dist/chunk-HV7U7CBC.mjs +2 -0
- package/dist/chunk-HVAKPUFA.mjs +2 -0
- package/dist/chunk-HVHP7YEN.mjs +2 -0
- package/dist/chunk-HVIS22UV.mjs +2 -0
- package/dist/chunk-I57EW7DE.mjs +2 -0
- package/dist/chunk-I73PI5HW.mjs +2 -0
- package/dist/chunk-IBKVCPYE.mjs +2 -0
- package/dist/chunk-ICAQOAGT.mjs +2 -0
- package/dist/chunk-IGFK7WG7.mjs +2 -0
- package/dist/chunk-INHKUPUJ.mjs +2 -0
- package/dist/chunk-IQLN5BB7.mjs +2 -0
- package/dist/chunk-ITHY5XRE.mjs +2 -0
- package/dist/chunk-IUXMQWKW.mjs +2 -0
- package/dist/chunk-IWGERSOL.mjs +2 -0
- package/dist/chunk-IZ3DLT56.mjs +2 -0
- package/dist/chunk-J6LW2SOU.mjs +2 -0
- package/dist/chunk-JD3ID4ZN.mjs +2 -0
- package/dist/chunk-JEMIDKLE.mjs +2 -0
- package/dist/chunk-JEUBTLBK.mjs +2 -0
- package/dist/chunk-JG6VJJEB.mjs +2 -0
- package/dist/chunk-JGMCC3SJ.mjs +2 -0
- package/dist/chunk-JHLMU2HR.mjs +2 -0
- package/dist/chunk-JKQX2NUM.mjs +2 -0
- package/dist/chunk-JLO4GFT4.mjs +2 -0
- package/dist/chunk-JM5WRKJK.mjs +2 -0
- package/dist/chunk-JQVQD7QT.mjs +2 -0
- package/dist/chunk-JRBGEJVG.mjs +2 -0
- package/dist/chunk-JRV2YPX4.mjs +2 -0
- package/dist/chunk-JUFQAEUG.mjs +2 -0
- package/dist/chunk-JUNSCYPL.mjs +2 -0
- package/dist/chunk-JWG37OS3.mjs +2 -0
- package/dist/chunk-K2I7BNJV.mjs +2 -0
- package/dist/chunk-K2TWJ5PO.mjs +2 -0
- package/dist/chunk-K52IWIYY.mjs +2 -0
- package/dist/chunk-KB2RXLUE.mjs +2 -0
- package/dist/chunk-KB4U7Y4R.mjs +2 -0
- package/dist/chunk-KEANR56L.mjs +2 -0
- package/dist/chunk-KGIXE343.mjs +2 -0
- package/dist/chunk-KGNX7QTP.mjs +2 -0
- package/dist/chunk-KH3OICPS.mjs +2 -0
- package/dist/chunk-KHEADKCC.mjs +2 -0
- package/dist/chunk-KL5LXGBW.mjs +2 -0
- package/dist/chunk-KQ5HZYFF.mjs +2 -0
- package/dist/chunk-KQTPY5BM.mjs +2 -0
- package/dist/chunk-KQZCIVHY.mjs +2 -0
- package/dist/chunk-KT3T3QNT.mjs +2 -0
- package/dist/chunk-KTX6MFL6.mjs +2 -0
- package/dist/chunk-KWEX23QL.mjs +2 -0
- package/dist/chunk-KZ3XZLQR.mjs +2 -0
- package/dist/chunk-L2P3OUEF.mjs +2 -0
- package/dist/chunk-L3GP3GF6.mjs +2 -0
- package/dist/chunk-LBEIOVOY.mjs +2 -0
- package/dist/chunk-LFHW6FEI.mjs +2 -0
- package/dist/chunk-LIR7PTQQ.mjs +2 -0
- package/dist/chunk-LKS43II7.mjs +2 -0
- package/dist/chunk-LNSRQVA7.mjs +2 -0
- package/dist/chunk-LPO7YLV4.mjs +2 -0
- package/dist/chunk-LSLSDUQ2.mjs +2 -0
- package/dist/chunk-LTHLFFSJ.mjs +2 -0
- package/dist/chunk-LUWJHLLJ.mjs +2 -0
- package/dist/chunk-LVOG5FSX.mjs +2 -0
- package/dist/chunk-M2BIFZDU.mjs +2 -0
- package/dist/chunk-M2LZEWUL.mjs +6 -0
- package/dist/chunk-M3BCQN7I.mjs +6 -0
- package/dist/chunk-MA4PW3D5.mjs +2 -0
- package/dist/chunk-MBK5QEBH.mjs +2 -0
- package/dist/chunk-MEZOUFR5.mjs +2 -0
- package/dist/chunk-MNW6RLNT.mjs +2 -0
- package/dist/chunk-MNYB66F3.mjs +2 -0
- package/dist/chunk-MOW5BMX3.mjs +2 -0
- package/dist/chunk-MQ4XKMG5.mjs +2 -0
- package/dist/chunk-MQ6PCK5Z.mjs +2 -0
- package/dist/chunk-MSVXMQF3.mjs +2 -0
- package/dist/chunk-MT4YGNGK.mjs +2 -0
- package/dist/chunk-MTEBNG4E.mjs +2 -0
- package/dist/chunk-MTFL6JFN.mjs +2 -0
- package/dist/chunk-MV7NFHHC.mjs +6 -0
- package/dist/chunk-MW2Z5KZD.mjs +2 -0
- package/dist/chunk-MXMDY7LI.mjs +2 -0
- package/dist/chunk-MYVDXSOZ.mjs +2 -0
- package/dist/chunk-N2JSIVHQ.mjs +2 -0
- package/dist/chunk-N3BZF5WA.mjs +2 -0
- package/dist/chunk-N5LRSO5P.mjs +2 -0
- package/dist/chunk-NCYRLZWD.mjs +2 -0
- package/dist/chunk-NE2DD5WM.mjs +2 -0
- package/dist/chunk-NEKFIZZK.mjs +2 -0
- package/dist/chunk-NHSJXET7.mjs +2 -0
- package/dist/chunk-NHXOY5OR.mjs +2 -0
- package/dist/chunk-NJ5YQDDU.mjs +2 -0
- package/dist/chunk-NJKG7KEC.mjs +2 -0
- package/dist/chunk-NJPB5KGL.mjs +2 -0
- package/dist/chunk-NJYKROPL.mjs +2 -0
- package/dist/chunk-NK2IC4AA.mjs +2 -0
- package/dist/chunk-NQBJCDK3.mjs +2 -0
- package/dist/chunk-NREMNTAP.mjs +2 -0
- package/dist/chunk-NSIJWTOP.mjs +2 -0
- package/dist/chunk-NVL6DYCG.mjs +2 -0
- package/dist/chunk-NVSGBNO6.mjs +2 -0
- package/dist/chunk-O45BVEDM.mjs +2 -0
- package/dist/chunk-O6GPTD6E.mjs +2 -0
- package/dist/chunk-OBMDUP7K.mjs +2 -0
- package/dist/chunk-OFJ6NAXR.mjs +2 -0
- package/dist/chunk-OGTGAZOO.mjs +2 -0
- package/dist/chunk-OHB3KX7D.mjs +2 -0
- package/dist/chunk-OK6ZXJYA.mjs +2 -0
- package/dist/chunk-OLQ5BDWL.mjs +2 -0
- package/dist/chunk-OLXD3QEU.mjs +2 -0
- package/dist/chunk-OR2PCXR4.mjs +2 -0
- package/dist/chunk-OS3OR3PS.mjs +2 -0
- package/dist/chunk-OSCD5OWU.mjs +2 -0
- package/dist/chunk-OTZLL7HW.mjs +2 -0
- package/dist/chunk-OYSICFWR.mjs +2 -0
- package/dist/chunk-P5UAU276.mjs +2 -0
- package/dist/chunk-PHHVQS6Z.mjs +2 -0
- package/dist/chunk-PJJNWRFF.mjs +2 -0
- package/dist/chunk-PKNAYSWN.mjs +2 -0
- package/dist/chunk-PLFTPUFD.mjs +2 -0
- package/dist/chunk-POVP4Y5N.mjs +2 -0
- package/dist/chunk-PQOEXL77.mjs +2 -0
- package/dist/chunk-PS6NBYDQ.mjs +2 -0
- package/dist/chunk-PVVUJYR3.mjs +2 -0
- package/dist/chunk-PZCIKCCM.mjs +2 -0
- package/dist/chunk-Q2M4SXDI.mjs +2 -0
- package/dist/chunk-Q2UNN4PN.mjs +2 -0
- package/dist/chunk-Q2WPRTUE.mjs +6 -0
- package/dist/chunk-Q2XR53J4.mjs +2 -0
- package/dist/chunk-Q3PKPLG3.mjs +2 -0
- package/dist/chunk-Q5DELRIJ.mjs +2 -0
- package/dist/chunk-Q6BX3YXO.mjs +2 -0
- package/dist/chunk-Q7PNF2PR.mjs +2 -0
- package/dist/chunk-QA63J67Z.mjs +2 -0
- package/dist/chunk-QADUMR33.mjs +2 -0
- package/dist/chunk-QCB5KITB.mjs +2 -0
- package/dist/chunk-QFHGJITY.mjs +2 -0
- package/dist/chunk-QGHPOT4I.mjs +2 -0
- package/dist/chunk-QH6FN4ZJ.mjs +2 -0
- package/dist/chunk-QJT4D2U4.mjs +2 -0
- package/dist/chunk-QKREZRFX.mjs +2 -0
- package/dist/chunk-QMWTFZBC.mjs +2 -0
- package/dist/chunk-QPDSRLPD.mjs +2 -0
- package/dist/chunk-QRFCXCWM.mjs +2 -0
- package/dist/chunk-QUPLCN2U.mjs +2 -0
- package/dist/chunk-QUSF7JGF.mjs +2 -0
- package/dist/chunk-QYPFWGYV.mjs +2 -0
- package/dist/chunk-R2IGJ54A.mjs +2 -0
- package/dist/chunk-R34HZUKA.mjs +2 -0
- package/dist/chunk-R34N6B4T.mjs +2 -0
- package/dist/chunk-R6MYDQOS.mjs +2 -0
- package/dist/chunk-R7QMXACY.mjs +2 -0
- package/dist/chunk-R7WOWTGN.mjs +2 -0
- package/dist/chunk-RCNZ3YGX.mjs +2 -0
- package/dist/chunk-RD5L2QEY.mjs +2 -0
- package/dist/chunk-REZHSW4S.mjs +2 -0
- package/dist/chunk-RF7LV7JD.mjs +2 -0
- package/dist/chunk-RH7MZT6S.mjs +2 -0
- package/dist/chunk-RI7PZPLF.mjs +2 -0
- package/dist/chunk-RILF4JZS.mjs +2 -0
- package/dist/chunk-RLRLCIGT.mjs +2 -0
- package/dist/chunk-RQXRQ6V2.mjs +6 -0
- package/dist/chunk-RR36AM5L.mjs +2 -0
- package/dist/chunk-RTCWJHAZ.mjs +2 -0
- package/dist/chunk-RXZCR5HW.mjs +2 -0
- package/dist/chunk-RYGAHCJZ.mjs +2 -0
- package/dist/chunk-RZVKY5WQ.mjs +6 -0
- package/dist/chunk-S2G2QNTU.mjs +2 -0
- package/dist/chunk-SBESRPQS.mjs +2 -0
- package/dist/chunk-SBHYKUQD.mjs +2 -0
- package/dist/chunk-SFEF2BD5.mjs +2 -0
- package/dist/chunk-SHIWHZZB.mjs +2 -0
- package/dist/chunk-SHTKENVI.mjs +2 -0
- package/dist/chunk-SLGEE5NN.mjs +2 -0
- package/dist/chunk-SOWHNQN5.mjs +2 -0
- package/dist/chunk-SQXHD4VQ.mjs +2 -0
- package/dist/chunk-SRFZQFVD.mjs +2 -0
- package/dist/chunk-SYK3XTY7.mjs +2 -0
- package/dist/chunk-SZVEVGDP.mjs +2 -0
- package/dist/chunk-T3Y2XIS7.mjs +2 -0
- package/dist/chunk-TC4CTKUA.mjs +2 -0
- package/dist/chunk-TDXL4PFA.mjs +2 -0
- package/dist/chunk-TELDIJWS.mjs +2 -0
- package/dist/chunk-TETQHLMW.mjs +2 -0
- package/dist/chunk-TFQACJ6S.mjs +6 -0
- package/dist/chunk-TIGNYHHJ.mjs +2 -0
- package/dist/chunk-TU6YLTLA.mjs +2 -0
- package/dist/chunk-TWNUJDF6.mjs +2 -0
- package/dist/chunk-TYC3FAWV.mjs +2 -0
- package/dist/chunk-TYD7M34C.mjs +2 -0
- package/dist/chunk-TYSFGS7L.mjs +2 -0
- package/dist/chunk-TZXMPIUM.mjs +2 -0
- package/dist/chunk-U5XYVZXI.mjs +2 -0
- package/dist/chunk-U6PBHDKM.mjs +2 -0
- package/dist/chunk-UA7MAREN.mjs +2 -0
- package/dist/chunk-UCACTUMD.mjs +2 -0
- package/dist/chunk-UDXG2XHT.mjs +2 -0
- package/dist/chunk-UEFNI2OT.mjs +2 -0
- package/dist/chunk-UGXB4KQU.mjs +2 -0
- package/dist/chunk-UI57ZQAZ.mjs +2 -0
- package/dist/chunk-UISVFKBM.mjs +2 -0
- package/dist/chunk-UKO4SIZX.mjs +2 -0
- package/dist/chunk-UMU4JC6U.mjs +2 -0
- package/dist/chunk-UNNG2LQE.mjs +2 -0
- package/dist/chunk-URQ6VAI6.mjs +2 -0
- package/dist/chunk-UT27LN3G.mjs +2 -0
- package/dist/chunk-UVBZCZYZ.mjs +2 -0
- package/dist/chunk-UVY4N5QC.mjs +2 -0
- package/dist/chunk-UXC5MHWG.mjs +2 -0
- package/dist/chunk-UZO2SH3Q.mjs +2 -0
- package/dist/chunk-UZOJ76WA.mjs +2 -0
- package/dist/chunk-UZTVL3VV.mjs +2 -0
- package/dist/chunk-V3RMYYRV.mjs +2 -0
- package/dist/chunk-V3YYQWZ2.mjs +2 -0
- package/dist/chunk-V5UYJMRF.mjs +2 -0
- package/dist/chunk-VACLKDBS.mjs +2 -0
- package/dist/chunk-VAJV23JM.mjs +2 -0
- package/dist/chunk-VBS6VRPK.mjs +2 -0
- package/dist/chunk-VEJEF3EI.mjs +2 -0
- package/dist/chunk-VGIZ6R74.mjs +2 -0
- package/dist/chunk-VKLIPXRE.mjs +2 -0
- package/dist/chunk-VT3LDZIM.mjs +2 -0
- package/dist/chunk-VU5CRY7C.mjs +2 -0
- package/dist/chunk-VV42FFAZ.mjs +2 -0
- package/dist/chunk-VX4GHBDS.mjs +2 -0
- package/dist/chunk-VYXZEMIO.mjs +2 -0
- package/dist/chunk-W2U2OUPW.mjs +2 -0
- package/dist/chunk-W46UZ3MC.mjs +6 -0
- package/dist/chunk-W4AVHUNG.mjs +2 -0
- package/dist/chunk-W4CSW63V.mjs +2 -0
- package/dist/chunk-WA2YAR2Q.mjs +2 -0
- package/dist/chunk-WEHEDJI2.mjs +2 -0
- package/dist/chunk-WF22VPJI.mjs +2 -0
- package/dist/chunk-WFY4LT4I.mjs +2 -0
- package/dist/chunk-WHK525GM.mjs +6 -0
- package/dist/chunk-WJ5TM3XV.mjs +2 -0
- package/dist/chunk-WJL2LNCC.mjs +2 -0
- package/dist/chunk-WJYK4XKE.mjs +2 -0
- package/dist/chunk-WO6PNFGB.mjs +2 -0
- package/dist/chunk-WXYOZJHY.mjs +2 -0
- package/dist/chunk-WY2DV6PM.mjs +2 -0
- package/dist/chunk-X2X52H6Q.mjs +2 -0
- package/dist/chunk-X57ZMV5G.mjs +42 -0
- package/dist/chunk-X5LFXKWQ.mjs +2 -0
- package/dist/chunk-X635T6QB.mjs +2 -0
- package/dist/chunk-X7EZR37V.mjs +2 -0
- package/dist/chunk-XBVWQEAF.mjs +2 -0
- package/dist/chunk-XDG64UW4.mjs +42 -0
- package/dist/chunk-XKDLJI4L.mjs +2 -0
- package/dist/chunk-XKWXYNGS.mjs +2 -0
- package/dist/chunk-XMXXBDZ6.mjs +2 -0
- package/dist/chunk-XNKP6J3D.mjs +2 -0
- package/dist/chunk-XPMISWVC.mjs +2 -0
- package/dist/chunk-XQY5Z4CQ.mjs +2 -0
- package/dist/chunk-XVCIQW5T.mjs +2 -0
- package/dist/chunk-XYICSYXJ.mjs +2 -0
- package/dist/chunk-XYMDKMFR.mjs +2 -0
- package/dist/chunk-Y4OHYBFS.mjs +2 -0
- package/dist/chunk-YFDFNJ5V.mjs +2 -0
- package/dist/chunk-YGLAATIJ.mjs +2 -0
- package/dist/chunk-YHA2HDV3.mjs +2 -0
- package/dist/chunk-YJZEYIQZ.mjs +2 -0
- package/dist/chunk-YNHH3PG6.mjs +2 -0
- package/dist/chunk-YO64OMDM.mjs +2 -0
- package/dist/chunk-YQ4EX5DM.mjs +2 -0
- package/dist/chunk-YTPIFMGM.mjs +2 -0
- package/dist/chunk-YWP3HAC6.mjs +6 -0
- package/dist/chunk-YXIRTV5G.mjs +2 -0
- package/dist/chunk-YYJOVNLA.mjs +2 -0
- package/dist/chunk-YZ2Z23XS.mjs +2 -0
- package/dist/chunk-YZJCGYTA.mjs +2 -0
- package/dist/chunk-Z34BMFFK.mjs +2 -0
- package/dist/chunk-Z4THZ6WH.mjs +2 -0
- package/dist/chunk-ZBWF34E7.mjs +2 -0
- package/dist/chunk-ZBYJCAJO.mjs +6 -0
- package/dist/chunk-ZFGCJK4N.mjs +2 -0
- package/dist/chunk-ZKX4FB6T.mjs +2 -0
- package/dist/chunk-ZKY424WN.mjs +2 -0
- package/dist/chunk-ZR34FTMG.mjs +2 -0
- package/dist/chunk-ZSYM4Y4M.mjs +2 -0
- package/dist/chunk-ZTYBIDGM.mjs +2 -0
- package/dist/chunk-ZUUZPEID.mjs +2 -0
- package/dist/combobox/index.d.ts +13 -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.d.ts +2 -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/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.d.ts +13 -0
- package/dist/icons/index.mjs +1 -1
- package/dist/icons/linkedin.mjs +1 -1
- package/dist/icons/loading-circle.mjs +1 -1
- package/dist/icons/loading-spinner.mjs +1 -1
- package/dist/icons/nucleo/calendar6.d.ts +6 -0
- package/dist/icons/nucleo/calendar6.mjs +2 -0
- package/dist/icons/nucleo/color-palette2.d.ts +6 -0
- package/dist/icons/nucleo/color-palette2.mjs +2 -0
- package/dist/icons/nucleo/connected-dots4.d.ts +6 -0
- package/dist/icons/nucleo/connected-dots4.mjs +2 -0
- package/dist/icons/nucleo/connections3.d.ts +6 -0
- package/dist/icons/nucleo/connections3.mjs +2 -0
- package/dist/icons/nucleo/file-zip2.d.ts +6 -0
- package/dist/icons/nucleo/file-zip2.mjs +2 -0
- package/dist/icons/nucleo/folder.mjs +1 -1
- package/dist/icons/nucleo/gauge6.d.ts +6 -0
- package/dist/icons/nucleo/gauge6.mjs +2 -0
- package/dist/icons/nucleo/greek-temple.d.ts +6 -0
- package/dist/icons/nucleo/greek-temple.mjs +2 -0
- package/dist/icons/nucleo/grid.d.ts +6 -0
- package/dist/icons/nucleo/grid.mjs +2 -0
- package/dist/icons/nucleo/money-bill2.d.ts +6 -0
- package/dist/icons/nucleo/money-bill2.mjs +2 -0
- package/dist/icons/nucleo/money-bills2.d.ts +6 -0
- package/dist/icons/nucleo/money-bills2.mjs +2 -0
- package/dist/icons/nucleo/palette-2.d.ts +6 -0
- package/dist/icons/nucleo/palette-2.mjs +2 -0
- package/dist/icons/nucleo/post.d.ts +6 -0
- package/dist/icons/nucleo/post.mjs +2 -0
- 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.css +1 -1
- package/dist/index.d.ts +14 -2
- 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/nav-wordmark.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.d.ts +13 -19
- package/dist/sheet.mjs +1 -1
- package/dist/shimmer-dots.mjs +1 -1
- package/dist/status-badge.d.ts +13 -0
- package/dist/status-badge.mjs +1 -1
- package/dist/switch.mjs +1 -1
- package/dist/tab-select.mjs +1 -1
- package/dist/table/table.d.ts +2 -1
- package/dist/table/table.mjs +1 -1
- package/dist/toggle-group.mjs +1 -1
- package/dist/tooltip.mjs +1 -1
- package/dist/utm-builder.mjs +1 -1
- package/dist/wordmark.mjs +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{n as i}from"./chunk-HQJ32QC6.mjs";import{Drawer as t}from"vaul";import{jsx as r,jsxs as m}from"react/jsx-runtime";function a({children:o,contentProps:e,...l}){return r(t.Root,{direction:"right",...l,children:m(t.Portal,{children:[r(t.Overlay,{className:"fixed inset-0 bg-black/20"}),r(t.Content,{...e,className:i("fixed bottom-2 right-2 top-2 z-10 flex w-[calc(100%-16px)] outline-none md:w-[540px]",e==null?void 0:e.className),style:{"--initial-transform":"calc(100% + 8px)",...e==null?void 0:e.style},children:r("div",{className:"scrollbar-hide flex size-full grow flex-col overflow-y-auto rounded-lg bg-white",children:o})})]})})}function n({className:o,...e}){return r(t.Title,{className:i("text-xl font-medium text-zinc-900",o),...e})}function s(o){return r(t.Description,{...o})}function f(o){return r(t.Close,{...o})}var w=Object.assign(a,{Title:n,Description:s,Close:f});export{w as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{k as m}from"./chunk-7ZKP5C4K.mjs";import{j as i}from"./chunk-73LCVKEY.mjs";import{useMemo as x,useState as u}from"react";import{jsx as a,jsxs as r}from"react/jsx-runtime";function M({title:g,description:c,inputAttrs:e,helpText:s,buttonText:f="Save Changes",disabledTooltip:o,handleSubmit:y}){let[t,p]=u(e.defaultValue),[l,d]=u(!1),b=x(()=>l||!t||t===e.defaultValue,[l,t,e.defaultValue]);return r("form",{onSubmit:async n=>{n.preventDefault(),d(!0),await y({[e.name]:t}),d(!1)},className:"rounded-lg border border-gray-200 bg-white",children:[r("div",{className:"relative flex flex-col space-y-6 p-5 sm:p-10",children:[r("div",{className:"flex flex-col space-y-3",children:[a("h2",{className:"text-xl font-medium",children:g}),a("p",{className:"text-sm text-gray-500",children:c})]}),typeof e.defaultValue=="string"?a("input",{...e,type:e.type||"text",required:!0,disabled:!!o,onChange:n=>p(n.target.value),className:i("w-full max-w-md rounded-md border border-gray-300 text-gray-900 placeholder-gray-400 focus:border-gray-500 focus:outline-none focus:ring-gray-500 sm:text-sm",{"cursor-not-allowed bg-gray-100 text-gray-400":o})}):a("div",{className:"h-[2.35rem] w-full max-w-md animate-pulse rounded-md bg-gray-200"})]}),r("div",{className:"flex items-center justify-between space-x-4 rounded-b-lg border-t border-gray-200 bg-gray-50 p-3 sm:px-10",children:[typeof s=="string"?a("p",{className:"prose-sm prose-a:underline prose-a:underline-offset-4 hover:prose-a:text-gray-700 text-gray-500 transition-colors",dangerouslySetInnerHTML:{__html:s||""}}):s,a("div",{className:"shrink-0",children:a(m,{text:f,loading:l,disabled:b,disabledTooltip:o})})]})]})}export{M as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{c as b}from"./chunk-5A3E7WHW.mjs";import{a as h}from"./chunk-IQLN5BB7.mjs";import{b as p,d as f,i as g,j as i}from"./chunk-73LCVKEY.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 t}from"./chunk-73LCVKEY.mjs";import{jsx as r}from"react/jsx-runtime";function h({className:o}){return r("svg",{width:"300",height:"300",viewBox:"0 0 300 300",version:"1.1",xmlns:"http://www.w3.org/2000/svg",className:t("p-px",o),children:r("path",{stroke:"currentColor",d:"M178.57 127.15 290.27 0h-26.46l-97.03 110.38L89.34 0H0l117.13 166.93L0 300.25h26.46l102.4-116.59 81.8 116.59h89.34M36.01 19.54H76.66l187.13 262.13h-40.66"})})}export{h as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{jsx as r,jsxs as o}from"react/jsx-runtime";function e(t){return r("svg",{height:"18",width:"18",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg",...t,children:o("g",{fill:"currentColor",children:[r("rect",{height:"3.889",width:"3.889",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",transform:"translate(5.636 -5.121) rotate(45)",x:"7.055",y:"2.298"}),r("rect",{height:"3.889",width:"3.889",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",transform:"translate(-5.121 5.636) rotate(-45)",x:"2.298",y:"7.055"}),r("rect",{height:"3.889",width:"3.889",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",transform:"translate(5.636 29.849) rotate(-135)",x:"7.055",y:"11.813"}),r("rect",{height:"3.889",width:"3.889",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",transform:"translate(29.849 5.636) rotate(135)",x:"11.813",y:"7.055"})]})})}export{e as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{n as u}from"./chunk-HQJ32QC6.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 t}from"./chunk-73LCVKEY.mjs";import{cva as g}from"class-variance-authority";import{Calendar as p,ChevronDown as l}from"lucide-react";import{forwardRef as d}from"react";import{jsx as r,jsxs as f}from"react/jsx-runtime";var m=g(["group peer flex cursor-pointer appearance-none items-center gap-x-2 truncate rounded-md border px-3 h-10 outline-none transition-all text-sm","bg-white border-gray-200 text-gray-900 placeholder-gray-400 transition-all","disabled:pointer-events-none disabled:bg-gray-100 disabled:text-gray-400","focus-visible:border-gray-500 data-[state=open]:border-gray-500 data-[state=open]:ring-4 data-[state=open]:ring-gray-200"],{variants:{hasError:{true:"ring-2 ring-red-200 border-red-500"}}}),y=d(({className:o,children:e,placeholder:a,hasError:n,...s},i)=>f("button",{ref:i,className:t(m({hasError:n}),o),...s,children:[r(p,{className:t("h-4 w-4 shrink-0 text-gray-400",!!e&&"text-gray-900")}),r("span",{className:"flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-left text-gray-900",children:e||(a?r("span",{className:"text-gray-400",children:a}):null)}),r(l,{className:"h-4 w-4 flex-shrink-0 text-gray-400 transition-transform duration-75 group-data-[state=open]:rotate-180"})]}));y.displayName="DatePicker.Trigger";export{y as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{d as l,e as p}from"./chunk-MTVIRL4R.mjs";import{a as s,c as n}from"./chunk-YJZEYIQZ.mjs";import{b as i,j as e}from"./chunk-73LCVKEY.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{jsx as o,jsxs as e}from"react/jsx-runtime";function t(r){return o("svg",{height:"18",width:"18",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg",...r,children:e("g",{fill:"currentColor",children:[o("line",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",x1:"4.664",x2:"7.586",y1:"7.586",y2:"4.664"}),o("line",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",x1:"10.414",x2:"13.336",y1:"4.664",y2:"7.586"}),o("line",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",x1:"13.336",x2:"10.414",y1:"10.414",y2:"13.336"}),o("line",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",x1:"7.586",x2:"4.664",y1:"13.336",y2:"10.414"}),o("circle",{cx:"9",cy:"3.25",fill:"none",r:"2",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"}),o("circle",{cx:"3.25",cy:"9",fill:"none",r:"2",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"}),o("circle",{cx:"9",cy:"14.75",fill:"none",r:"2",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"}),o("circle",{cx:"14.75",cy:"9",fill:"none",r:"2",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"})]})})}export{t as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{n as e}from"./chunk-6M22A3I2.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,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as l,b as v,f as g}from"./chunk-JUNSCYPL.mjs";import{a as c,c as u,d as N}from"./chunk-YJZEYIQZ.mjs";import{a as d}from"./chunk-ZKX4FB6T.mjs";import{b as o,j as i}from"./chunk-73LCVKEY.mjs";import{ChevronRight as h}from"lucide-react";import _ from"next/link";import{jsx as t,jsxs as a}from"react/jsx-runtime";function y({domain:e}){return a("div",{className:"grid w-[40rem] grid-cols-2",children:[a("div",{className:"p-5",children:[t("p",{className:i(c,"mb-2"),children:"Features"}),t("div",{className:"-mx-2 -mb-2 grid grid-cols-1 gap-0.5",children:l.map(({icon:m,title:r,description:s,href:n})=>t(u,{href:o(n,e,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:e,utm_content:r}),icon:t(N,{icon:m}),title:r,description:s},n))})]}),a("div",{className:"border-l border-gray-200 p-5 dark:border-white/20",children:[a(_,{href:o("/customers",e,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:e,utm_content:"Customer Stories"}),className:i(c,"group mb-2 flex items-center transition-colors hover:text-black dark:hover:text-white"),children:["Customer Stories",t(h,{className:"ml-0.5 h-2.5 w-2.5 transition-transform group-hover:translate-x-px"})]}),t("div",{className:"grid grid-cols-1",children:v.map(({icon:m,iconClassName:r,title:s,description:n,href:p})=>t(u,{href:o(p,e,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:e,utm_content:s}),className:"-mx-2",icon:t(m,{className:i("h-7 w-7 shrink-0 text-gray-600 transition-colors dark:text-white/60",r)}),title:s,description:n,descriptionLines:2},p))}),t("p",{className:i(c,"my-4"),children:"Compare"}),t("div",{className:"flex flex-col gap-1.5",children:g.map(({name:m,slug:r})=>a(_,{href:o(`/compare/${r}`,e,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:e,utm_content:`Dub vs. ${m}`}),className:"group flex items-center gap-0.5 text-gray-500 transition-colors hover:text-gray-700 dark:text-white/60 dark:hover:text-white/80",children:[a("p",{className:"text-sm font-medium",children:["Dub vs. ",m]})," ",t(d,{className:"h-3 w-3"})]},r))})]})]})}export{y as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as f}from"./chunk-NWME2ANF.mjs";import{j as l}from"./chunk-7OZYU3QM.mjs";import*as e from"@radix-ui/react-dialog";import*as n from"@radix-ui/react-visually-hidden";import{useRouter as h}from"next/navigation";import{Drawer as a}from"vaul";import{jsx as o,jsxs as r}from"react/jsx-runtime";function N({children:d,className:s,showModal:c,setShowModal:i,onClose:p,desktopOnly:m,preventDefaultClose:g,drawerRootProps:D}){let b=h(),u=({dragged:t}={})=>{g&&!t||(p&&p(),i?i(!1):b.back())},{isMobile:y}=f();return y&&!m?o(a.Root,{open:i?c:!0,onOpenChange:t=>{t||u({dragged:!0})},...D,children:r(a.Portal,{children:[o(a.Overlay,{className:"fixed inset-0 z-50 bg-gray-100 bg-opacity-10 backdrop-blur"}),o(a.Content,{className:l("fixed bottom-0 left-0 right-0 z-50 flex flex-col","rounded-t-[10px] border-t border-gray-200 bg-white",s),children:r("div",{className:"scrollbar-hide flex-1 overflow-y-auto rounded-t-[10px] bg-inherit",children:[r(n.Root,{children:[o(a.Title,{children:"Modal"}),o(a.Description,{children:"This is a modal"})]}),o(w,{}),d]})}),o(a.Overlay,{})]})}):o(e.Root,{open:i?c:!0,onOpenChange:t=>{t||u()},children:r(e.Portal,{children:[o(e.Overlay,{id:"modal-backdrop",className:"animate-fade-in fixed inset-0 z-40 bg-gray-100 bg-opacity-50 backdrop-blur-md"}),r(e.Content,{onOpenAutoFocus:t=>t.preventDefault(),onCloseAutoFocus:t=>t.preventDefault(),className:l("fixed inset-0 z-40 m-auto h-fit w-full max-w-md","border border-gray-200 bg-white p-0 shadow-xl sm:rounded-2xl","scrollbar-hide animate-scale-in overflow-y-auto",s),children:[r(n.Root,{children:[o(e.Title,{children:"Modal"}),o(e.Description,{children:"This is a modal"})]}),d]})]})})}function w(){return o("div",{className:"sticky top-0 z-20 flex items-center justify-center rounded-t-[10px] bg-inherit",children:o("div",{className:"my-3 h-1 w-12 rounded-full bg-gray-300"})})}export{N as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{n as C}from"./chunk-6M22A3I2.mjs";import{jsx as e,jsxs as o}from"react/jsx-runtime";function V({className:l}){return o("svg",{width:"177",height:"64",viewBox:"0 0 177 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:C("h-6 w-auto text-black dark:text-white",l),children:[e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M106.5 8H112.5V31.8666C112.5 31.911 112.501 31.9554 112.501 31.9999C112.501 32.0444 112.5 32.0888 112.5 32.1332V46H106.5V43.4909C104.232 45.0724 101.475 45.9999 98.5003 45.9999C90.7682 45.9999 84.5 39.7319 84.5 31.9999C84.5 24.2679 90.7682 17.9999 98.5003 17.9999C101.475 17.9999 104.232 18.9274 106.5 20.5089V8ZM98.5 39.9996C102.918 39.9996 106.5 36.418 106.5 31.9998C106.5 27.5816 102.918 24 98.5 24C94.0818 24 90.5 27.5816 90.5 31.9998C90.5 36.418 94.0818 39.9996 98.5 39.9996ZM148.5 8.0001H154.5V20.5096C156.768 18.9278 159.526 18.0002 162.5 18.0002C170.233 18.0002 176.501 24.2682 176.501 32.0002C176.501 39.7322 170.233 46.0002 162.5 46.0002C154.768 46.0002 148.5 39.7322 148.5 32.0002V32.0001V8.0001ZM162.5 39.9997C166.918 39.9997 170.5 36.4181 170.5 31.9999C170.5 27.5817 166.918 24.0001 162.5 24.0001C158.082 24.0001 154.5 27.5817 154.5 31.9999C154.5 36.4181 158.082 39.9997 162.5 39.9997ZM122.5 18H116.5V32C116.5 33.8385 116.862 35.659 117.566 37.3576C118.269 39.0561 119.301 40.5995 120.601 41.8995C121.901 43.1995 123.444 44.2307 125.143 44.9343C126.841 45.6379 128.662 46 130.5 46C132.339 46 134.159 45.6379 135.858 44.9343C137.557 44.2307 139.1 43.1995 140.4 41.8995C141.7 40.5995 142.731 39.0561 143.435 37.3576C144.139 35.659 144.501 33.8385 144.501 32H144.5V18H138.5V32H138.5C138.5 34.1216 137.657 36.1563 136.157 37.6566C134.657 39.1568 132.622 39.9996 130.5 39.9996C128.378 39.9996 126.344 39.1568 124.843 37.6566C123.343 36.1563 122.5 34.1216 122.5 32H122.5V18Z",fill:"currentColor"}),e("path",{fillRule:"evenodd",clipRule:"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:"currentColor"})]})}export{V as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{n as o}from"./chunk-6M22A3I2.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{n}from"./chunk-6M22A3I2.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{j as u}from"./chunk-6M22A3I2.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,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{e as _}from"./chunk-2LGFU4IK.mjs";import{a as x,f as y,g as v}from"./chunk-27HFRPZ2.mjs";import{a as N}from"./chunk-MQ6PCK5Z.mjs";import{a as f}from"./chunk-OBMDUP7K.mjs";import{a as b}from"./chunk-2KUZ4P7L.mjs";import{a as p}from"./chunk-ALEYOCBW.mjs";import{a as h}from"./chunk-MQ4XKMG5.mjs";import{b as o,i as d,j as n,l as g}from"./chunk-73LCVKEY.mjs";import T from"next/image";import s from"next/link";import{useParams as E}from"next/navigation";import{useEffect as F,useState as w}from"react";import A from"swr";import{jsx as e,jsxs as r}from"react/jsx-runtime";var m={features:x.map(({title:t,href:a})=>({name:t,href:a})),product:[{name:"Blog",href:"/blog"},{name:"Brand",href:"/brand"},{name:"Changelog",href:"/changelog"},{name:"Customers",href:"/customers"},{name:"Enterprise",href:"/enterprise"},{name:"Pricing",href:"/pricing"},{name:"Help Center",href:"/help"}],compare:y.map(({name:t,slug:a})=>({name:t,href:`/compare/${a}`})),legal:v.map(({name:t,slug:a})=>({name:t,href:`/legal/${a}`})),tools:g.map(({name:t,slug:a})=>({name:t,href:`/tools/${a}`}))};function Y(){let{domain:t="dub.co"}=E();return e("footer",{children:r(N,{className:"relative z-10 overflow-hidden border border-b-0 border-gray-200 bg-white/50 pb-60 pt-16 backdrop-blur-lg md:rounded-t-2xl",children:[r("div",{className:"xl:grid xl:grid-cols-3 xl:gap-8",children:[r("div",{className:"space-y-6",children:[r(s,{href:o("/",t,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:t,utm_content:"Logo"}),className:"block max-w-fit",children:[r("span",{className:"sr-only",children:[process.env.NEXT_PUBLIC_APP_NAME," Logo"]}),e(_,{className:"h-8 text-gray-800"})]}),e("p",{className:"max-w-xs text-sm text-gray-500",children:"Giving modern marketing teams superpowers with short links that stand out."}),r("p",{className:"text-sm leading-5 text-gray-400",children:["\xA9 ",new Date().getFullYear()," Dub Technologies, Inc."]}),r("div",{className:"flex items-center space-x-3",children:[r("a",{href:"https://twitter.com/dubdotco",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"Twitter"}),e(f,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-black"})]}),r("a",{href:"https://github.com/dubinc/dub",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"Github"}),e(p,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-black"})]}),r("a",{href:"https://www.linkedin.com/company/dubinc",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"LinkedIn"}),e(h,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-[#0077b5]"})]}),r("a",{href:"https://www.youtube.com/@dubdotco",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"YouTube"}),e(b,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-[#ff0000]"})]})]}),e(D,{})]}),r("div",{className:"mt-16 grid grid-cols-2 gap-4 xl:col-span-2 xl:mt-0",children:[r("div",{className:"md:grid md:grid-cols-2",children:[r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Features"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.features.map(a=>e("li",{children:e(s,{href:o(a.href,t,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:t,utm_content:a.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.name))})]}),r("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Product"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.product.map(a=>e("li",{children:e(s,{href:o(a.href,t,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:t,utm_content:a.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.name))})]})]}),r("div",{className:"md:grid md:grid-cols-2",children:[r("div",{className:"flex flex-col space-y-8",children:[r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Compare"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.compare.map(a=>e("li",{children:e(s,{href:o(a.href,t,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:t,utm_content:a.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.name))})]}),r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Legal"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.legal.map(a=>e("li",{children:e(s,{href:o(a.href,t,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:t,utm_content:a.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.name))})]})]}),r("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Tools"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.tools.map(a=>e("li",{children:e(s,{href:o(a.href,t,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:t,utm_content:a.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.name))})]})]})]})]}),e(T,{src:"https://assets.dub.co/footer.png",alt:"Dub Technologies, Inc. Logo",width:1959,height:625,className:"pointer-events-none absolute inset-x-0 bottom-0 z-0"})]})})}function D(){let{data:t}=A("https://status.dub.co/api/v1/summary",d),[a,l]=w("bg-gray-200"),[i,c]=w("Loading status...");return F(()=>{if(!t)return;let{ongoing_incidents:u}=t;if(u.length>0){let{current_worst_impact:k,name:L}=u[0],C=k==="degraded_performance"?"bg-yellow-500":"bg-red-500";c(L),l(C)}else c("All systems operational"),l("bg-green-500")},[t]),r(s,{href:"https://status.dub.co",target:"_blank",className:"group flex max-w-fit items-center space-x-2 rounded-md border border-gray-200 bg-white px-3 py-2 transition-colors hover:bg-gray-100",children:[r("div",{className:"relative h-3 w-3",children:[e("div",{className:n("absolute inset-0 m-auto h-3 w-3 animate-ping items-center justify-center rounded-full group-hover:animate-none",a,i==="Loading status..."&&"animate-none")}),e("div",{className:n("absolute inset-0 z-10 m-auto h-3 w-3 rounded-full",a)})]}),e("p",{className:"text-sm font-medium text-gray-800",children:i})]})}export{Y as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as l,b as v,f as g}from"./chunk-R6MYDQOS.mjs";import{a as c,c as u,d as N}from"./chunk-YJZEYIQZ.mjs";import{a as d}from"./chunk-ZKX4FB6T.mjs";import{b as o,j as i}from"./chunk-73LCVKEY.mjs";import{ChevronRight as h}from"lucide-react";import _ from"next/link";import{jsx as t,jsxs as a}from"react/jsx-runtime";function y({domain:e}){return a("div",{className:"grid w-[40rem] grid-cols-2",children:[a("div",{className:"p-5",children:[t("p",{className:i(c,"mb-2"),children:"Features"}),t("div",{className:"-mx-2 -mb-2 grid grid-cols-1 gap-0.5",children:l.map(({icon:m,title:r,description:s,href:n})=>t(u,{href:o(n,e,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:e,utm_content:r}),icon:t(N,{icon:m}),title:r,description:s},n))})]}),a("div",{className:"border-l border-gray-200 p-5 dark:border-white/20",children:[a(_,{href:o("/customers",e,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:e,utm_content:"Customer Stories"}),className:i(c,"group mb-2 flex items-center transition-colors hover:text-black dark:hover:text-white"),children:["Customer Stories",t(h,{className:"ml-0.5 h-2.5 w-2.5 transition-transform group-hover:translate-x-px"})]}),t("div",{className:"grid grid-cols-1",children:v.map(({icon:m,iconClassName:r,title:s,description:n,href:p})=>t(u,{href:o(p,e,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:e,utm_content:s}),className:"-mx-2",icon:t(m,{className:i("h-7 w-7 shrink-0 text-gray-600 transition-colors dark:text-white/60",r)}),title:s,description:n,descriptionLines:2},p))}),t("p",{className:i(c,"my-4"),children:"Compare"}),t("div",{className:"flex flex-col gap-1.5",children:g.map(({name:m,slug:r})=>a(_,{href:o(`/compare/${r}`,e,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:e,utm_content:`Dub vs. ${m}`}),className:"group flex items-center gap-0.5 text-gray-500 transition-colors hover:text-gray-700 dark:text-white/60 dark:hover:text-white/80",children:[a("p",{className:"text-sm font-medium",children:["Dub vs. ",m]})," ",t(d,{className:"h-3 w-3"})]},r))})]})]})}export{y as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{b as g}from"./chunk-HDJCLA6F.mjs";import{n as c}from"./chunk-HQJ32QC6.mjs";import{Command as s}from"cmdk";import{Lock as T}from"lucide-react";import{jsx as o,jsxs as w}from"react/jsx-runtime";var h=({presets:f,onSelect:p,currentValue:r})=>{let P=e=>"dateRange"in e,b=e=>"date"in e,a=(e,t)=>e.getDate()===t.getDate()&&e.getMonth()===t.getMonth()&&e.getFullYear()===t.getFullYear(),y=(e,t)=>{let n=e.from,l=t.from,i=!1;n&&l&&a(n,l)&&(i=!0);let m=e.to,d=t.to,u=!1;return m&&d&&a(m,d)&&(u=!0),i&&u},x=e=>{if(P(e)){let t=r;return t&&y(t,e.dateRange)}else if(b(e)){let t=r;return t&&a(t,e.date)}return!1};return o(s,{className:"w-full rounded ring-gray-200 ring-offset-2 focus:outline-none",tabIndex:0,autoFocus:!0,loop:!0,children:o(s.List,{className:"[&>*]:flex [&>*]:w-full [&>*]:items-start [&>*]:gap-x-2 [&>*]:gap-y-0.5 [&>*]:sm:flex-col",children:f.map((e,t)=>w(s.Item,{disabled:e.requiresUpgrade,onSelect:()=>p(e),title:e.label,value:e.id,className:c("group relative flex cursor-pointer items-center justify-between overflow-hidden text-ellipsis whitespace-nowrap rounded border border-gray-200","px-2.5 py-1.5 text-left text-sm text-gray-700 shadow-sm outline-none sm:w-full sm:border-none sm:py-2 sm:shadow-none","disabled:pointer-events-none disabled:opacity-50","sm:data-[selected=true]:bg-gray-100",x(e)&&"font-semibold text-gray-800"),children:[o("span",{children:e.label}),e.requiresUpgrade?o(T,{className:"h-3.5 w-3.5","aria-hidden":"true"}):e.shortcut?o("kbd",{className:"text-gray-4000 hidden rounded bg-gray-100 px-2 py-0.5 text-xs font-light group-data-[selected=true]:bg-gray-200 md:block",children:e.shortcut.toUpperCase()}):null,e.requiresUpgrade&&e.tooltipContent&&o(g,{side:"bottom",content:e.tooltipContent,children:o("div",{className:"absolute inset-0 cursor-not-allowed"})})]},t))})})};h.displayName="DatePicker.Presets";export{h as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{j as C}from"./chunk-73LCVKEY.mjs";import{jsx as e,jsxs as o}from"react/jsx-runtime";function V({className:l}){return o("svg",{width:"177",height:"64",viewBox:"0 0 177 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:C("h-6 w-auto text-black dark:text-white",l),children:[e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M106.5 8H112.5V31.8666C112.5 31.911 112.501 31.9554 112.501 31.9999C112.501 32.0444 112.5 32.0888 112.5 32.1332V46H106.5V43.4909C104.232 45.0724 101.475 45.9999 98.5003 45.9999C90.7682 45.9999 84.5 39.7319 84.5 31.9999C84.5 24.2679 90.7682 17.9999 98.5003 17.9999C101.475 17.9999 104.232 18.9274 106.5 20.5089V8ZM98.5 39.9996C102.918 39.9996 106.5 36.418 106.5 31.9998C106.5 27.5816 102.918 24 98.5 24C94.0818 24 90.5 27.5816 90.5 31.9998C90.5 36.418 94.0818 39.9996 98.5 39.9996ZM148.5 8.0001H154.5V20.5096C156.768 18.9278 159.526 18.0002 162.5 18.0002C170.233 18.0002 176.501 24.2682 176.501 32.0002C176.501 39.7322 170.233 46.0002 162.5 46.0002C154.768 46.0002 148.5 39.7322 148.5 32.0002V32.0001V8.0001ZM162.5 39.9997C166.918 39.9997 170.5 36.4181 170.5 31.9999C170.5 27.5817 166.918 24.0001 162.5 24.0001C158.082 24.0001 154.5 27.5817 154.5 31.9999C154.5 36.4181 158.082 39.9997 162.5 39.9997ZM122.5 18H116.5V32C116.5 33.8385 116.862 35.659 117.566 37.3576C118.269 39.0561 119.301 40.5995 120.601 41.8995C121.901 43.1995 123.444 44.2307 125.143 44.9343C126.841 45.6379 128.662 46 130.5 46C132.339 46 134.159 45.6379 135.858 44.9343C137.557 44.2307 139.1 43.1995 140.4 41.8995C141.7 40.5995 142.731 39.0561 143.435 37.3576C144.139 35.659 144.501 33.8385 144.501 32H144.5V18H138.5V32H138.5C138.5 34.1216 137.657 36.1563 136.157 37.6566C134.657 39.1568 132.622 39.9996 130.5 39.9996C128.378 39.9996 126.344 39.1568 124.843 37.6566C123.343 36.1563 122.5 34.1216 122.5 32H122.5V18Z",fill:"currentColor"}),e("path",{fillRule:"evenodd",clipRule:"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:"currentColor"})]})}export{V as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as t}from"./chunk-AXZJPLZ2.mjs";import{n as o}from"./chunk-6M22A3I2.mjs";import{toast as a}from"sonner";import{jsx as d}from"react/jsx-runtime";function b({value:e,children:r,className:s,successMessage:c}){let[i,p]=t();return d("button",{onClick:n=>{n.stopPropagation(),a.promise(p(e),{success:c||"Copied to clipboard!"})},type:"button",className:o("cursor-copy text-sm text-gray-700 decoration-dotted hover:underline",i&&"cursor-default",s),children:r})}export{b as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as v}from"./chunk-HRTR6WBC.mjs";import{b as h}from"./chunk-MSVXMQF3.mjs";import{c as y,g as f,j as l}from"./chunk-73LCVKEY.mjs";import*as s from"@radix-ui/react-tooltip";import k from"linkify-react";import{HelpCircle as B}from"lucide-react";import C from"next/link";import{useState as R}from"react";import{cva as w}from"class-variance-authority";import{forwardRef as P}from"react";import{jsx as p,jsxs as T}from"react/jsx-runtime";var c=w("transition-all",{variants:{variant:{primary:"border-black bg-black text-white hover:bg-gray-800 hover:ring-4 hover:ring-gray-200",secondary:l("border-gray-200 bg-white text-gray-900 hover:bg-gray-50 focus-visible:border-gray-500 outline-none","data-[state=open]:border-gray-500 data-[state=open]:ring-4 data-[state=open]:ring-gray-200"),outline:"border-transparent text-gray-500 duration-75 hover:bg-gray-100",success:"border-blue-500 bg-blue-500 text-white hover:bg-blue-600 hover:ring-4 hover:ring-blue-100",danger:"border-red-500 bg-red-500 text-white hover:bg-red-600 hover:ring-4 hover:ring-red-100","danger-outline":"border-transparent bg-white text-red-500 hover:bg-red-600 hover:text-white"}},defaultVariants:{variant:"primary"}}),b=P(({text:t,variant:e="primary",className:o,textWrapperClassName:i,loading:n,icon:m,shortcut:a,disabledTooltip:x,...u},N)=>x?p(d,{content:x,children:T("div",{className:l("flex h-10 w-full cursor-not-allowed items-center justify-center gap-x-2 rounded-md border border-gray-200 bg-gray-100 px-4 text-sm text-gray-400 transition-all focus:outline-none",{"border-transparent bg-transparent":e==null?void 0:e.endsWith("outline")},o),children:[m,t&&p("div",{className:l("min-w-0 truncate",a&&"flex-1 text-left",i),children:t}),a&&p("kbd",{className:l("hidden rounded border border-gray-200 bg-gray-100 px-2 py-0.5 text-xs font-light text-gray-400 md:inline-block",{"bg-gray-100":e==null?void 0:e.endsWith("outline")}),children:a})]})}):T("button",{ref:N,type:u.onClick?"button":"submit",className:l("group flex h-10 w-full items-center justify-center gap-2 whitespace-nowrap rounded-md border px-4 text-sm",u.disabled||n?"cursor-not-allowed border-gray-200 bg-gray-100 text-gray-400 outline-none":c({variant:e}),o),disabled:u.disabled||n,...u,children:[n?p(v,{}):m||null,t&&p("div",{className:l("min-w-0 truncate",a&&"flex-1 text-left",i),children:t}),a&&p("kbd",{className:l("hidden rounded px-2 py-0.5 text-xs font-light transition-all duration-75 md:inline-block",{"bg-gray-700 text-gray-400 group-hover:bg-gray-600 group-hover:text-gray-300":e==="primary","bg-gray-200 text-gray-400 group-hover:bg-gray-100 group-hover:text-gray-500":e==="secondary","bg-gray-100 text-gray-500 group-hover:bg-gray-200":e==="outline","bg-red-100 text-red-600 group-hover:bg-red-500 group-hover:text-white":e==="danger-outline"}),children:a})]}));b.displayName="Button";import{jsx as r,jsxs as g}from"react/jsx-runtime";function J({children:t}){return r(s.Provider,{delayDuration:150,children:t})}function d({children:t,content:e,side:o="top",disableHoverableContent:i,...n}){let[m,a]=R(!1);return g(s.Root,{open:m,onOpenChange:a,delayDuration:0,disableHoverableContent:i,children:[r(s.Trigger,{asChild:!0,onClick:()=>{a(!0)},onBlur:()=>{a(!1)},children:t}),r(s.Portal,{children:r(s.Content,{sideOffset:8,side:o,className:"animate-slide-up-fade z-[99] items-center overflow-hidden rounded-xl border border-gray-200 bg-white shadow-sm",collisionPadding:0,...n,children:typeof e=="string"?r("span",{className:"block max-w-xs text-pretty px-4 py-2 text-center text-sm text-gray-700",children:e}):typeof e=="function"?e({setOpen:a}):e})})]})}function K({title:t,cta:e,href:o,target:i,onClick:n}){return g("div",{className:"flex max-w-xs flex-col items-center space-y-3 p-4 text-center",children:[r("p",{className:"text-sm text-gray-700",children:t}),e&&(o?r(C,{href:o,...i?{target:i}:{},className:l(c({variant:"primary"}),"flex h-9 w-full items-center justify-center whitespace-nowrap rounded-lg border px-4 text-sm"),children:e}):n?r(b,{onClick:n,text:e,variant:"primary",className:"h-9"}):null)]})}function Q({title:t,cta:e,href:o}){return g("div",{className:"max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:[t," ",r("a",{href:o,target:"_blank",rel:"noopener noreferrer",onClick:i=>i.stopPropagation(),className:"inline-flex text-gray-500 underline underline-offset-4 hover:text-gray-800",children:e})]})}function U({children:t}){return r("div",{className:"block max-w-md whitespace-pre-wrap px-4 py-2 text-center text-sm text-gray-700",children:r(k,{as:"p",options:{target:"_blank",rel:"noopener noreferrer nofollow",className:"underline underline-offset-4 text-gray-400 hover:text-gray-700"},children:t})})}function X(t){return r(d,{...t,children:r(B,{className:"h-4 w-4 text-gray-500"})})}function Y({value:t,unit:e="total clicks",prefix:o,children:i,lastClicked:n}){return(!t||t<1e3)&&!n?i:r(d,{content:g("div",{className:"block max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:[g("p",{className:"text-sm font-semibold text-gray-700",children:[o,y(t||0,{full:!0})," ",e]}),n&&g("p",{className:"mt-1 text-xs text-gray-500",suppressHydrationWarning:!0,children:["Last clicked ",f(n,{withAgo:!0})]})]}),children:i})}function Z({children:t,content:e,...o}){return r(d,{content:e,...o,children:r("div",{className:"flex cursor-pointer items-center",children:r(h,{variant:"gray",className:"border-gray-300 transition-all hover:bg-gray-200",children:t})})})}function $({children:t,tooltipProps:e,...o}){return r(d,{...e,children:r("button",{type:"button",...o,className:l("flex h-6 w-6 items-center justify-center rounded-md text-gray-500 transition-colors duration-75 hover:bg-gray-100 active:bg-gray-200 disabled:cursor-not-allowed disabled:hover:bg-transparent",o.className),children:t})})}export{J as a,d as b,K as c,Q as d,U as e,X as f,Y as g,Z as h,$ as i,c as j,b as k};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as t}from"./chunk-AXZJPLZ2.mjs";import{n as o}from"./chunk-HQJ32QC6.mjs";import{toast as a}from"sonner";import{jsx as d}from"react/jsx-runtime";function b({value:e,children:r,className:s,successMessage:c}){let[i,p]=t();return d("button",{onClick:n=>{n.stopPropagation(),a.promise(p(e),{success:c||"Copied to clipboard!"})},type:"button",className:o("cursor-copy text-sm text-gray-700 decoration-dotted hover:underline",i&&"cursor-default",s),children:r})}export{b as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{j as e}from"./chunk-73LCVKEY.mjs";import{cva as o}from"class-variance-authority";import{jsx as i}from"react/jsx-runtime";var b=o("max-w-fit rounded-full border px-2 py-px text-xs font-medium whitespace-nowrap",{variants:{variant:{default:"border-gray-400 text-gray-500",violet:"border-violet-600 bg-violet-600 text-white",blue:"border-blue-500 bg-blue-500 text-white",sky:"border-sky-900 bg-sky-900 text-white",black:"border-black bg-black text-white",gray:"border-gray-200 bg-gray-100 text-gray-800",neutral:"border-gray-400 text-gray-500",blueGradient:"bg-gradient-to-r from-blue-100 via-blue-100/50 to-blue-100 rounded-3xl border border-blue-200 text-blue-900",rainbow:"bg-gradient-to-r from-violet-600 to-pink-600 text-white border-transparent"}},defaultVariants:{variant:"neutral"}});function l({className:t,variant:r,...a}){return i("span",{className:e(b({variant:r}),t),...a})}export{b as a,l as b};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{c as M}from"./chunk-663VVVWM.mjs";import{a as $}from"./chunk-WY2DV6PM.mjs";import{a as z}from"./chunk-GVBIGY6N.mjs";import{a as P}from"./chunk-NWME2ANF.mjs";import{a as H}from"./chunk-3P2LZKNZ.mjs";import{a as T}from"./chunk-LPV7TLRR.mjs";import{a as j}from"./chunk-FRAN6DQK.mjs";import{a as W}from"./chunk-YURUGH4S.mjs";import{h as K,j as k}from"./chunk-V3RMYYRV.mjs";import{Command as y,useCommandState as G}from"cmdk";import{ChevronDown as J,ListFilter as X}from"lucide-react";import{Fragment as Y,forwardRef as _,isValidElement as V,useCallback as N,useEffect as w,useImperativeHandle as ee,useRef as S,useState as D}from"react";import{Fragment as se,jsx as n,jsxs as m}from"react/jsx-runtime";function be({filters:t,onSelect:o,onRemove:a,onOpenFilter:s,onSearchChange:l,onSelectedFilterChange:g,activeFilters:i,askAI:h,children:v,emptyState:c,className:Q}){var L,A;let{isMobile:U}=P(),f=S(null),C=S(),[x,b]=D(!1);M("f",()=>b(!0),{enabled:!x});let[d,R]=D(""),[u,F]=D(null),E=N(()=>{R(""),F(null)},[]);w(()=>{x||E()},[x]);let r=u?t.find(({key:e})=>e===u):null,Z=N(e=>{f.current&&(C.current={width:f.current.clientWidth,height:f.current.clientHeight}),R(""),F(e),s==null||s(e)},[]),I=N(e=>{if(!r||!i)return!1;let p=i.find(({key:q})=>q===u);return(p==null?void 0:p.value)===e||p&&r.multiple&&Array.isArray(p.value)&&p.value.includes(e)},[r]),O=N(e=>{r&&(I(e)?a(r.key,e):o(r.key,e),r.multiple||b(!1))},[i,r,h]);return w(()=>{l==null||l(d)},[d]),w(()=>{g==null||g(u)},[u]),w(()=>{(r==null?void 0:r.options)&&f.current&&(C.current={width:f.current.clientWidth,height:f.current.clientHeight})},[r==null?void 0:r.options]),n($,{openPopover:x,setOpenPopover:b,onEscapeKeyDown:e=>{u&&(e.preventDefault(),E())},content:n(H,{width:!U,height:!0,className:"rounded-[inherit]",style:{transform:"translateZ(0)"},children:m(y,{loop:!0,shouldFilter:!r||r.shouldFilter!==!1,children:[m("div",{className:"flex items-center overflow-hidden rounded-t-lg border-b border-gray-200",children:[n(re,{placeholder:`${(r==null?void 0:r.label)||"Filter"}...`,value:d,onValueChange:R,onKeyDown:e=>{(e.key==="Escape"||e.key==="Backspace"&&!d)&&(e.preventDefault(),e.stopPropagation(),u?E():b(!1))},emptySubmit:e=>{e.preventDefault(),e.stopPropagation(),h?(o("ai",r?`${r.label} ${d}`:d),b(!1)):O(d)}}),!r&&n("kbd",{className:"mr-2 hidden shrink-0 rounded border border-gray-200 bg-gray-100 px-2 py-0.5 text-xs font-light text-gray-500 md:block",children:"F"})]}),n(ne,{ref:f,children:m(y.List,{className:k("flex w-full flex-col gap-1 p-1",r?"min-w-[100px]":"min-w-[180px]"),children:[r?((A=(L=r.options)==null?void 0:L.filter(e=>!d||!e.hideDuringSearch))==null?void 0:A.map(e=>{let p=I(e.value);return n(B,{filter:r,option:e,right:p?n(T,{className:"h-4 w-4"}):e.right,onSelect:()=>O(e.value)},e.value)}))??n(y.Loading,{children:n("div",{className:"-m-1 flex items-center justify-center",style:C.current,children:n(j,{})})}):t.map(e=>m(Y,{children:[n(B,{filter:e,onSelect:()=>Z(e.key)}),e.separatorAfter&&n(y.Separator,{className:"-mx-1 my-1 border-b border-gray-200"})]},e.key)),(!r||r.options)&&n(oe,{search:d,askAI:h,children:c?te(c)?(c==null?void 0:c[u??"default"])??"No matches":c:"No matches"})]})},u)]})}),children:m("button",{type:"button",className:k("group flex h-10 cursor-pointer appearance-none items-center gap-x-2 truncate rounded-md border px-3 text-sm outline-none transition-all","border-gray-200 bg-white text-gray-900 placeholder-gray-400","focus-visible:border-gray-500 data-[state=open]:border-gray-500 data-[state=open]:ring-4 data-[state=open]:ring-gray-200",Q),children:[n(X,{className:"size-4 shrink-0"}),n("span",{className:"flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-left text-gray-900",children:v??"Filter"}),i!=null&&i.length?n("div",{className:"flex size-4 shrink-0 items-center justify-center rounded-full bg-black text-[0.625rem] text-white",children:i.length}):n(J,{className:"size-4 shrink-0 text-gray-400 transition-transform duration-75 group-data-[state=open]:rotate-180"})]})})}function te(t){return typeof t=="object"&&t!==null&&!V(t)}var re=t=>{let o=G(a=>a.filtered.count===0);return n(y.Input,{...t,size:1,className:"grow border-0 py-3 pl-4 pr-2 outline-none placeholder:text-gray-400 focus:ring-0 sm:text-sm",onKeyDown:a=>{var s,l;(s=t.onKeyDown)==null||s.call(t,a),a.key==="Enter"&&o&&((l=t.emptySubmit)==null||l.call(t,a))},autoCapitalize:"none"})},ne=_(({children:t},o)=>{let a=S(null);ee(o,()=>a.current);let{scrollProgress:s,updateScrollProgress:l}=z(a);return m(se,{children:[n("div",{className:"scrollbar-hide max-h-[50vh] w-screen overflow-y-scroll sm:w-auto",ref:a,onScroll:l,children:t}),n("div",{className:"pointer-events-none absolute bottom-0 left-0 hidden h-16 w-full bg-gradient-to-t from-white sm:block",style:{opacity:1-Math.pow(s,2)}})]})});function B({filter:t,option:o,right:a,onSelect:s}){var h,v;let{isMobile:l}=P(),g=o?o.icon??((h=t.getOptionIcon)==null?void 0:h.call(t,o.value,{key:t.key,option:o}))??t.icon:t.icon,i=o?o.label??((v=t.getOptionLabel)==null?void 0:v.call(t,o.value,{key:t.key,option:o})):t.label;return m(y.Item,{className:k("flex cursor-pointer items-center gap-3 whitespace-nowrap rounded-md px-3 py-2 text-left text-sm","data-[selected=true]:bg-gray-100"),onPointerDown:c=>{c.preventDefault()},onPointerUp:c=>{c.preventDefault(),l?setTimeout(s,100):s()},onSelect:s,value:i+(o==null?void 0:o.value),children:[n("span",{className:"shrink-0 text-gray-600",children:ae(g)?g:n(g,{className:"h-4 w-4"})}),K(i,48),n("div",{className:"ml-1 flex shrink-0 grow justify-end text-gray-500",children:a})]})}var oe=({search:t,askAI:o,children:a})=>o&&t?m(y.Empty,{className:"flex min-w-[180px] items-center space-x-2 rounded-md bg-gray-100 px-3 py-2",children:[n(W,{className:"h-4 w-4"}),m("p",{className:"text-center text-sm text-gray-600",children:["Ask AI ",m("span",{className:"text-black",children:['"',t,'"']})]})]}):n(y.Empty,{className:"p-2 text-center text-sm text-gray-400",children:a}),ae=t=>V(t);export{be as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{j as t}from"./chunk-V3RMYYRV.mjs";import{cva as g}from"class-variance-authority";import{Calendar as p,ChevronDown as l}from"lucide-react";import{forwardRef as d}from"react";import{jsx as r,jsxs as f}from"react/jsx-runtime";var m=g(["group peer flex cursor-pointer appearance-none items-center gap-x-2 truncate rounded-md border px-3 h-10 outline-none transition-all text-sm","bg-white border-gray-200 text-gray-900 placeholder-gray-400 transition-all","disabled:pointer-events-none disabled:bg-gray-100 disabled:text-gray-400","focus-visible:border-gray-500 data-[state=open]:border-gray-500 data-[state=open]:ring-4 data-[state=open]:ring-gray-200"],{variants:{hasError:{true:"ring-2 ring-red-200 border-red-500"}}}),y=d(({className:o,children:e,placeholder:a,hasError:n,...s},i)=>f("button",{ref:i,className:t(m({hasError:n}),o),...s,children:[r(p,{className:t("h-4 w-4 shrink-0 text-gray-400",!!e&&"text-gray-900")}),r("span",{className:"flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-left text-gray-900",children:e||(a?r("span",{className:"text-gray-400",children:a}):null)}),r(l,{className:"h-4 w-4 flex-shrink-0 text-gray-400 transition-transform duration-75 group-data-[state=open]:rotate-180"})]}));y.displayName="DatePicker.Trigger";export{y as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as v}from"./chunk-EQQBGD3H.mjs";import{b as h}from"./chunk-FQ3HHKT6.mjs";import{d as y,k as f,n as l}from"./chunk-6M22A3I2.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-5KHVEQXR.mjs";import{a as T}from"./chunk-NJPB5KGL.mjs";import{a as L,e as S}from"./chunk-AGLNGBQP.mjs";import{a as H}from"./chunk-UZO2SH3Q.mjs";import{a as w}from"./chunk-NVL6DYCG.mjs";import{a as V}from"./chunk-MT4YGNGK.mjs";import{a as M}from"./chunk-AXZJPLZ2.mjs";import{k as _}from"./chunk-3DPJ4BHL.mjs";import{b as k,d as y,i as P,j as s}from"./chunk-V3RMYYRV.mjs";import*as r from"@radix-ui/react-navigation-menu";import{cva as K}from"class-variance-authority";import Q from"js-cookie";import h from"next/link";import{useParams as X,useSelectedLayoutSegment as tt}from"next/navigation";import{createContext as et}from"react";import ot from"swr";import{useCallback as B,useEffect as E,useState as O}from"react";function C(a){let[e,m]=O(!1),i=B(()=>{m(window.scrollY>a)},[a]);return E(()=>(window.addEventListener("scroll",i),()=>window.removeEventListener("scroll",i)),[i]),E(()=>{i()},[i]),e}import*as d from"@radix-ui/react-popover";import{BoxSelect as A,Home as Z,LayoutGrid as G,Type as j}from"lucide-react";import{useParams as z}from"next/navigation";import{useCallback as U,useContext as $,useState as F}from"react";import{toast as Y}from"sonner";import{jsx as o,jsxs as R}from"react/jsx-runtime";var q=`<svg width="65" height="64" viewBox="0 0 65 64" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M32.5 64C50.1731 64 64.5 49.6731 64.5 32C64.5 20.1555 58.0648 9.81393 48.5 4.28099V31.9999V47.9998H40.5V45.8594C38.1466 47.2207 35.4143 47.9999 32.5 47.9999C23.6634 47.9999 16.5 40.8364 16.5 31.9999C16.5 23.1633 23.6634 15.9999 32.5 15.9999C35.4143 15.9999 38.1466 16.779 40.5 18.1404V1.00812C37.943 0.350018 35.2624 0 32.5 0C14.8269 0 0.500038 14.3269 0.500038 32C0.500038 49.6731 14.8269 64 32.5 64Z" fill="black"/>
|
|
4
|
+
</svg>`,J=`<svg width="46" height="24" viewBox="0 0 46 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
5
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M11 2H14V13.9332L14.0003 13.9731L14.0003 14C14.0003 14.0223 14.0002 14.0445 14 14.0668V21H11V19.7455C9.86619 20.5362 8.48733 21 7.00016 21C3.13408 21 0 17.866 0 14C0 10.134 3.13408 7 7.00016 7C8.48733 7 9.86619 7.46375 11 8.25452V2ZM7 17.9998C9.20914 17.9998 11 16.209 11 13.9999C11 11.7908 9.20914 10 7 10C4.79086 10 3 11.7908 3 13.9999C3 16.209 4.79086 17.9998 7 17.9998ZM32 2H35V8.25474C36.1339 7.46383 37.5128 7 39.0002 7C42.8662 7 46.0003 10.134 46.0003 14C46.0003 17.866 42.8662 21 39.0002 21C35.1341 21 32 17.866 32 14V2ZM39 17.9998C41.2091 17.9998 43 16.209 43 13.9999C43 11.7908 41.2091 10 39 10C36.7909 10 35 11.7908 35 13.9999C35 16.209 36.7909 17.9998 39 17.9998ZM19 7H16V14C16 14.9192 16.1811 15.8295 16.5329 16.6788C16.8846 17.5281 17.4003 18.2997 18.0503 18.9497C18.7003 19.5997 19.472 20.1154 20.3213 20.4671C21.1706 20.8189 22.0809 21 23.0002 21C23.9194 21 24.8297 20.8189 25.679 20.4671C26.5283 20.1154 27.3 19.5997 27.95 18.9497C28.6 18.2997 29.1157 17.5281 29.4675 16.6788C29.8192 15.8295 30.0003 14.9192 30.0003 14H30V7H27V14C27 15.0608 26.5785 16.0782 25.8284 16.8283C25.0783 17.5784 24.0609 17.9998 23 17.9998C21.9391 17.9998 20.9217 17.5784 20.1716 16.8283C19.4215 16.0782 19 15.0608 19 14V7Z" fill="black"/>
|
|
6
|
+
</svg>`;function D({variant:a="full",isInApp:e,className:m}){let{domain:i="dub.co"}=z(),{theme:g}=$(x),[b,p]=F(!1),f=U(n=>{n.preventDefault(),p(!0)},[]),[,c]=M();function l(n){Y.promise(c(n),{success:"Copied to clipboard!",error:"Failed to copy to clipboard"})}return R(d.Root,{open:b,onOpenChange:p,children:[o(d.Anchor,{asChild:!0,children:o("div",{onContextMenu:f,className:"max-w-fit",children:a==="full"?o(H,{className:m}):o(w,{className:s("h-8 w-8 transition-all duration-75 active:scale-95",m)})})}),o(d.Portal,{children:o(d.Content,{sideOffset:14,align:"start",className:s("z-50 -mt-1.5",!e&&"-translate-x-8",g==="dark"&&"dark"),onClick:n=>{n.stopPropagation(),p(!1)},children:R("div",{className:"grid gap-1 rounded-lg border border-gray-200 bg-white p-2 drop-shadow-sm sm:min-w-[240px] dark:border-white/[0.15] dark:bg-black",children:[o(v,{text:"Copy Logo as SVG",variant:"outline",onClick:()=>l(q),icon:o(w,{className:"h-4 w-4"})}),o(v,{text:"Copy Wordmark as SVG",variant:"outline",onClick:()=>l(J),icon:o(j,{strokeWidth:2,className:"h-4 w-4"})}),o(v,{text:"Brand Guidelines",variant:"outline",onClick:()=>window.open("https://dub.co/brand","_blank"),icon:o(A,{strokeWidth:2,className:"h-4 w-4"})}),e||i!="dub.co"?o(v,{text:"Home Page",variant:"outline",onClick:()=>window.open(`https://dub.co${e?"/home":""}`,"_blank"),icon:o(Z,{strokeWidth:2,className:"h-4 w-4"})}):o(v,{text:"Dashboard",variant:"outline",onClick:()=>window.open("https://app.dub.co","_blank"),icon:o(G,{strokeWidth:2,className:"h-4 w-4"})})]})})})]})}function v({className:a,...e}){return o(_,{className:s("h-9 justify-start px-3 font-medium hover:text-gray-700 dark:text-white/70 dark:hover:bg-white/[0.15] dark:hover:text-white",a),...e})}import{Fragment as it,jsx as t,jsxs as u}from"react/jsx-runtime";var x=et({theme:"light"}),rt=[{name:"Product",content:W,childItems:L},{name:"Resources",content:T,childItems:S},{name:"Enterprise",href:"/enterprise"},{name:"Customers",href:"/customers"},{name:"Pricing",href:"/pricing"}],I=K(["block rounded-md px-3 py-1.5 text-sm text-gray-900/60 hover:text-gray-900/80","dark:text-white/70 dark:hover:text-white","transition-colors ease-out"],{variants:{isActive:{true:"text-gray-900/80 dark:text-white"}}});function Rt({theme:a="light"}){let{domain:e="dub.co"}=X(),m=C(80),i=C(40),g=tt(),{data:b,isLoading:p}=ot(e==="dub.co"&&"/api/auth/session",P,{dedupingInterval:6e4}),f=!!(e==="dub.co"&&Q.get("dub_id"));return t(x.Provider,{value:{theme:a},children:u("div",{className:s("sticky inset-x-0 top-0 z-30 w-full transition-all",a==="dark"&&"dark"),children:[t("div",{className:s("absolute inset-0 block transition-all lg:hidden",i&&"bg-white/75 backdrop-blur-md dark:bg-black/75")}),t(V,{className:"relative",children:u("div",{className:"flex h-14 items-center justify-between",children:[t(h,{className:"grow basis-0",href:k("/home",e,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:e,utm_content:"Logo"}),children:t(D,{})}),u(r.Root,{delayDuration:0,className:"relative hidden lg:block",children:[u(r.List,{className:"relative flex flex-row gap-2 px-2 py-0.5",children:[t("div",{className:"absolute inset-0 -z-[1]",children:t("div",{className:s("absolute left-1/2 top-1/2 h-full w-full -translate-x-1/2 -translate-y-1/2 rounded-full border border-gray-200 bg-white/75 drop-shadow-sm backdrop-blur-lg transition-all dark:border-white/10 dark:bg-black/75",m&&"h-14 w-screen rounded-none drop-shadow-none")})}),rt.map(({name:c,href:l,content:n})=>{let N=l===`/${g}`||l==="/"&&g===null;return u(r.Item,{children:[t(at,{trigger:!!n,children:l!==void 0?t(h,{id:`nav-${l}`,href:k(l,e,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:e,utm_content:c}),className:I({isActive:N}),children:c}):t("button",{className:I({isActive:N}),children:c})}),n&&t(r.Content,{className:"data-[motion=from-start]:animate-enter-from-left data-[motion=from-end]:animate-enter-from-right data-[motion=to-start]:animate-exit-to-left data-[motion=to-end]:animate-exit-to-right absolute left-0 top-0",children:t(n,{domain:e})})]},c)})]}),t("div",{className:"absolute left-1/2 top-full mt-3 -translate-x-1/2",children:t(r.Viewport,{className:s("relative flex origin-[top_center] justify-start overflow-hidden rounded-[20px] border border-gray-200 bg-white shadow-md dark:border-white/[0.15] dark:bg-black","data-[state=closed]:animate-scale-out-content data-[state=open]:animate-scale-in-content","h-[var(--radix-navigation-menu-viewport-height)] w-[var(--radix-navigation-menu-viewport-width)] transition-[width,height]")})})]}),t("div",{className:"hidden grow basis-0 justify-end lg:flex",children:b&&Object.keys(b).length>0?t(h,{href:y,className:"animate-fade-in rounded-full border border-black bg-black px-4 py-1.5 text-sm text-white transition-all hover:bg-gray-800 hover:ring-4 hover:ring-gray-200 dark:border-white dark:bg-white dark:text-gray-600 dark:hover:bg-white dark:hover:text-gray-800 dark:hover:hover:shadow-[0_0_25px_5px_rgba(256,256,256,0.2)] dark:hover:ring-0",children:"Dashboard"}):p?null:u(it,{children:[t(h,{href:f?"https://app.dub.co/login":"https://d.to/login",className:"animate-fade-in rounded-full px-4 py-1.5 text-sm font-medium text-gray-500 transition-colors ease-out hover:text-black dark:text-white dark:hover:text-white/70",children:"Log in"}),t(h,{href:f?"https://app.dub.co/register":"https://d.to/try",className:"animate-fade-in rounded-full border border-black bg-black px-4 py-1.5 text-sm text-white transition-all hover:bg-gray-800 hover:ring-4 hover:ring-gray-200 dark:border-white dark:bg-white dark:text-gray-600 dark:hover:bg-white dark:hover:text-gray-800 dark:hover:hover:shadow-[0_0_25px_5px_rgba(256,256,256,0.2)] dark:hover:ring-0",children:"Sign Up"})]})})]})})]})})}function at({trigger:a,children:e}){return a?t(r.Trigger,{asChild:!0,children:e}):e}export{C as a,x as b,rt as c,Rt as d,D as e};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{j as e}from"./chunk-73LCVKEY.mjs";import{cva as o}from"class-variance-authority";import{jsx as n}from"react/jsx-runtime";var b=o("max-w-fit rounded-full border px-2 py-px text-xs font-medium whitespace-nowrap",{variants:{variant:{default:"border-gray-400 text-gray-500",violet:"border-violet-600 bg-violet-600 text-white",blue:"border-blue-500 bg-blue-500 text-white",sky:"border-sky-900 bg-sky-900 text-white",black:"border-black bg-black text-white",gray:"border-gray-200 bg-gray-100 text-gray-800",neutral:"border-gray-400 text-gray-500",blueGradient:"bg-[#f1c6dd] rounded-3xl border border-blue-200 text-blue-900",rainbow:"bg-gradient-to-r from-violet-600 to-pink-600 text-white border-transparent"}},defaultVariants:{variant:"neutral"}});function l({className:t,variant:r,...a}){return n("span",{className:e(b({variant:r}),t),...a})}export{b as a,l as b};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a}from"./chunk-AXZJPLZ2.mjs";import{a as n}from"./chunk-EHYVEIOL.mjs";import{a as r}from"./chunk-BKZ6TNZC.mjs";import{j as t}from"./chunk-V3RMYYRV.mjs";import{cva as d}from"class-variance-authority";import{toast as y}from"sonner";import{jsx as o,jsxs as b}from"react/jsx-runtime";var f=d("relative group rounded-full p-1.5 transition-all duration-75",{variants:{variant:{default:"bg-transparent hover:bg-gray-100 active:bg-gray-200",neutral:"bg-transparent hover:bg-gray-100 active:bg-gray-200"}},defaultVariants:{variant:"default"}});function P({variant:s="default",value:i,className:e,icon:p,successMessage:c}){let[u,l]=a(),m=p||r;return b("button",{onClick:g=>{g.stopPropagation(),y.promise(l(i),{success:c||"Copied to clipboard!"})},className:t(f({variant:s}),e),type:"button",children:[o("span",{className:"sr-only",children:"Copy"}),u?o(n,{className:"h-3.5 w-3.5"}):o(m,{className:"h-3.5 w-3.5"})]})}export{P as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{n as C}from"./chunk-HQJ32QC6.mjs";import{jsx as l,jsxs as f}from"react/jsx-runtime";function o({className:t}){return f("svg",{className:C("h-full w-full",t),viewBox:"0 0 222 222",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[l("path",{d:"M110.999 0C49.6974 0 0 49.6973 0 111.001C0 172.307 49.6974 222 110.999 222C172.308 222 222 172.307 222 111.001C222 49.7012 172.308 0.00530203 110.998 0.00530203L110.999 0ZM161.903 160.095C159.915 163.356 155.647 164.389 152.386 162.388C126.324 146.469 93.5163 142.863 54.8787 151.691C51.1554 152.539 47.4441 150.207 46.5958 146.482C45.7435 142.757 48.0671 139.046 51.7996 138.197C94.0823 128.537 130.351 132.697 159.61 150.578C162.871 152.579 163.904 156.834 161.903 160.095ZM175.489 129.871C172.984 133.943 167.655 135.228 163.586 132.723C133.75 114.383 88.2687 109.072 52.9779 119.785C48.4011 121.167 43.5671 118.588 42.178 114.019C40.7995 109.442 43.3802 104.617 47.9491 103.225C88.2608 90.9935 138.376 96.9185 172.639 117.974C176.708 120.479 177.994 125.808 175.489 129.872V129.871ZM176.655 98.3977C140.881 77.1485 81.8574 75.1947 47.7012 85.5615C42.2164 87.225 36.4161 84.1286 34.754 78.6437C33.0918 73.1561 36.1855 67.3596 41.6743 65.6922C80.8832 53.7891 146.063 56.0889 187.251 80.5405C192.195 83.4685 193.812 89.8403 190.883 94.7672C187.967 99.7007 181.578 101.327 176.661 98.3977H176.655Z",fill:"#1ED760"}),l("path",{d:"M161.903 160.095C159.915 163.356 155.647 164.389 152.386 162.388C126.325 146.469 93.5164 142.863 54.8788 151.691C51.1556 152.539 47.4442 150.207 46.5959 146.482C45.7436 142.757 48.0672 139.046 51.7997 138.197C94.0824 128.537 130.351 132.697 159.61 150.578C162.871 152.579 163.905 156.834 161.903 160.095ZM175.489 129.871C172.984 133.943 167.656 135.228 163.586 132.723C133.75 114.383 88.2689 109.072 52.9781 119.785C48.4012 121.167 43.5672 118.588 42.1781 114.019C40.7996 109.442 43.3803 104.617 47.9492 103.225C88.2609 90.9934 138.376 96.9184 172.639 117.974C176.709 120.479 177.994 125.808 175.489 129.872V129.871ZM176.656 98.3977C140.881 77.1485 81.8576 75.1947 47.7014 85.5615C42.2165 87.225 36.4163 84.1286 34.7541 78.6437C33.092 73.1561 36.1856 67.3596 41.6744 65.6921C80.8833 53.7891 146.064 56.0888 187.251 80.5405C192.195 83.4685 193.813 89.8402 190.883 94.7672C187.967 99.7007 181.578 101.327 176.661 98.3977H176.656Z",fill:"white"})]})}export{o as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{e as _}from"./chunk-ALA7PTL2.mjs";import{a as x,f as y,g as v}from"./chunk-UMU4JC6U.mjs";import{a as N}from"./chunk-MQ6PCK5Z.mjs";import{a as f}from"./chunk-OBMDUP7K.mjs";import{a as b}from"./chunk-2KUZ4P7L.mjs";import{a as h}from"./chunk-MQ4XKMG5.mjs";import{a as p}from"./chunk-ALEYOCBW.mjs";import{b as o,i as d,j as n,l as g}from"./chunk-73LCVKEY.mjs";import T from"next/image";import s from"next/link";import{useParams as E}from"next/navigation";import{useEffect as F,useState as w}from"react";import A from"swr";import{jsx as e,jsxs as r}from"react/jsx-runtime";var m={features:x.map(({title:t,href:a})=>({name:t,href:a})),product:[{name:"Blog",href:"/blog"},{name:"Brand",href:"/brand"},{name:"Changelog",href:"/changelog"},{name:"Customers",href:"/customers"},{name:"Enterprise",href:"/enterprise"},{name:"Pricing",href:"/pricing"},{name:"Help Center",href:"/help"}],compare:y.map(({name:t,slug:a})=>({name:t,href:`/compare/${a}`})),legal:v.map(({name:t,slug:a})=>({name:t,href:`/legal/${a}`})),tools:g.map(({name:t,slug:a})=>({name:t,href:`/tools/${a}`}))};function Y(){let{domain:t="dub.co"}=E();return e("footer",{children:r(N,{className:"relative z-10 overflow-hidden border border-b-0 border-gray-200 bg-white/50 pb-60 pt-16 backdrop-blur-lg md:rounded-t-2xl",children:[r("div",{className:"xl:grid xl:grid-cols-3 xl:gap-8",children:[r("div",{className:"space-y-6",children:[r(s,{href:o("/",t,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:t,utm_content:"Logo"}),className:"block max-w-fit",children:[r("span",{className:"sr-only",children:[process.env.NEXT_PUBLIC_APP_NAME," Logo"]}),e(_,{className:"h-8 text-gray-800"})]}),e("p",{className:"max-w-xs text-sm text-gray-500",children:"Giving modern marketing teams superpowers with short links that stand out."}),r("p",{className:"text-sm leading-5 text-gray-400",children:["\xA9 ",new Date().getFullYear()," Dub Technologies, Inc."]}),r("div",{className:"flex items-center space-x-3",children:[r("a",{href:"https://twitter.com/dubdotco",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"Twitter"}),e(f,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-black"})]}),r("a",{href:"https://github.com/dubinc/dub",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"Github"}),e(p,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-black"})]}),r("a",{href:"https://www.linkedin.com/company/dubinc",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"LinkedIn"}),e(h,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-[#0077b5]"})]}),r("a",{href:"https://www.youtube.com/@dubdotco",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"YouTube"}),e(b,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-[#ff0000]"})]})]}),e(D,{})]}),r("div",{className:"mt-16 grid grid-cols-2 gap-4 xl:col-span-2 xl:mt-0",children:[r("div",{className:"md:grid md:grid-cols-2",children:[r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Features"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.features.map(a=>e("li",{children:e(s,{href:o(a.href,t,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:t,utm_content:a.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.name))})]}),r("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Product"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.product.map(a=>e("li",{children:e(s,{href:o(a.href,t,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:t,utm_content:a.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.name))})]})]}),r("div",{className:"md:grid md:grid-cols-2",children:[r("div",{className:"flex flex-col space-y-8",children:[r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Compare"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.compare.map(a=>e("li",{children:e(s,{href:o(a.href,t,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:t,utm_content:a.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.name))})]}),r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Legal"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.legal.map(a=>e("li",{children:e(s,{href:o(a.href,t,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:t,utm_content:a.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.name))})]})]}),r("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Tools"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.tools.map(a=>e("li",{children:e(s,{href:o(a.href,t,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:t,utm_content:a.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.name))})]})]})]})]}),e(T,{src:"https://assets.dub.co/footer.png",alt:"Dub Technologies, Inc. Logo",width:1959,height:625,className:"pointer-events-none absolute inset-x-0 bottom-0 z-0"})]})})}function D(){let{data:t}=A("https://status.dub.co/api/v1/summary",d),[a,l]=w("bg-gray-200"),[i,c]=w("Loading status...");return F(()=>{if(!t)return;let{ongoing_incidents:u}=t;if(u.length>0){let{current_worst_impact:k,name:L}=u[0],C=k==="degraded_performance"?"bg-yellow-500":"bg-red-500";c(L),l(C)}else c("All systems operational"),l("bg-green-500")},[t]),r(s,{href:"https://status.dub.co",target:"_blank",className:"group flex max-w-fit items-center space-x-2 rounded-md border border-gray-200 bg-white px-3 py-2 transition-colors hover:bg-gray-100",children:[r("div",{className:"relative h-3 w-3",children:[e("div",{className:n("absolute inset-0 m-auto h-3 w-3 animate-ping items-center justify-center rounded-full group-hover:animate-none",a,i==="Loading status..."&&"animate-none")}),e("div",{className:n("absolute inset-0 z-10 m-auto h-3 w-3 rounded-full",a)})]}),e("p",{className:"text-sm font-medium text-gray-800",children:i})]})}export{Y as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as P}from"./chunk-6JPO26GL.mjs";import{a as C}from"./chunk-32C65ISH.mjs";import{a as b}from"./chunk-LFGWL3ID.mjs";import{a as m}from"./chunk-CZSSD6PV.mjs";import{a as y}from"./chunk-D7SRRREC.mjs";import{a as g}from"./chunk-BOCPUR5Z.mjs";import{a as f}from"./chunk-SBK5CRMY.mjs";import{a as d}from"./chunk-JBURS7BX.mjs";import{a as h}from"./chunk-DWACNU5E.mjs";import{a as p}from"./chunk-HYPLE4VW.mjs";import{a as u}from"./chunk-3KFNNXJ6.mjs";import{a as l}from"./chunk-KDNSFAET.mjs";import{a as c}from"./chunk-2W2M7KTU.mjs";import{a}from"./chunk-PDSUXFDU.mjs";import{a as s}from"./chunk-KYMBX7DZ.mjs";import{a as t}from"./chunk-2LBJI2KO.mjs";import{a as n}from"./chunk-TNAH7N5Q.mjs";import{a as o}from"./chunk-DMUERTF2.mjs";import{a as r}from"./chunk-PRJVDP45.mjs";import{a as e}from"./chunk-NPWONPKN.mjs";import{a as i}from"./chunk-ZJICX3BL.mjs";var S=[{title:"Advanced Analytics",description:"Powerful Analytics For The Modern Marketer",icon:u,href:"/help/article/dub-analytics"},{title:"Branded Links",description:"Branded Links That Stand Out",icon:f,href:"/features/branded-links"},{title:"QR Codes",description:"Gorgeous QR codes for your links",icon:b,href:"/features/qr-codes"},{title:"Personalization",description:"Personalize Your Short Links",icon:y,href:"/features/personalization"},{title:"Collaboration",description:"Collaborate With Your Team",icon:C,href:"/features/collaboration"},{title:"API",description:"Programmatic Link Creation",icon:P,href:"/docs/api-reference/introduction"}],R=[{icon:t,iconClassName:"group-hover:text-[#FF6363]",title:"Raycast",description:"How Raycast added link-sharing features to Ray.so with Dub.co's link infrastructure",href:"/customers/raycast"},{icon:o,iconClassName:"group-hover:text-[#268472]",title:"Tinybird",description:"How Tinybird uses Dub.co to enhance their digital marketing strategies",href:"/customers/tinybird"},{icon:e,iconClassName:"group-hover:text-[#4C51BF]",title:"Prisma",description:"How Prisma uses Dub.co to improve insights for pris.ly links",href:"/customers/prisma"}],x=[{icon:h,title:"Developers",description:"API for efficient link management",href:"/docs/introduction"},{icon:m,title:"Enterprise",description:"Scalable link management solutions",href:"/enterprise"}],v=[{icon:a,iconClassName:"py-0.5 group-hover:text-[#3178C6]",title:"Typescript",href:"/solutions/typescript"},{icon:s,iconClassName:"py-0.5 [&_.snake]:transition-colors group-hover:[&_.snake1]:text-[#3776ab] group-hover:[&_.snake2]:text-[#ffd343]",title:"Python",href:"/solutions/python"},{icon:i,iconClassName:"group-hover:text-[#00ACD7]",title:"Go",href:"/solutions/go"},{icon:n,iconClassName:"py-[3px] grayscale brightness-150 transition-[filter] group-hover:grayscale-0 group-hover:brightness-100",title:"Ruby",href:"/solutions/ruby"},{icon:r,iconClassName:"py-[3px] grayscale brightness-150 transition-[filter] group-hover:grayscale-0 group-hover:brightness-100",title:"PHP",href:"/solutions/php"}],T=[{icon:l,title:"Blog",href:"/blog"},{icon:p,title:"Changelog",href:"/changelog"},{icon:c,title:"Docs",href:"/docs"},{icon:d,title:"Help Center",href:"/help"},{icon:g,title:"Brand",href:"/brand"}],A=[{name:"Bitly",slug:"bitly"},{name:"Rebrandly",slug:"rebrandly"},{name:"Short.io",slug:"short"},{name:"Bl.ink",slug:"blink"}],E=[{name:"Privacy",slug:"privacy"},{name:"Terms",slug:"terms"},{name:"Trust Center",slug:"trust"},{name:"DPA",slug:"dpa"},{name:"Subprocessors",slug:"subprocessors"},{name:"Report Abuse",slug:"abuse"}];export{S as a,R as b,x as c,v as d,T as e,A as f,E as g};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{c as b}from"./chunk-M3BCQN7I.mjs";import{a as h}from"./chunk-IQLN5BB7.mjs";import{b as p,d as f,i as g,j as i}from"./chunk-73LCVKEY.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{b as l}from"./chunk-IGFK7WG7.mjs";import{j as n}from"./chunk-73LCVKEY.mjs";import*as i from"@radix-ui/react-switch";import{useMemo as f}from"react";import{jsx as t}from"react/jsx-runtime";function x({fn:r,id:d,trackDimensions:u,thumbDimensions:h,thumbTranslate:s,checked:m=!0,loading:o=!1,disabled:a=!1,disabledTooltip:e}){let b=f(()=>e?!0:a||o,[e,a,o]),c=t(i.Root,{checked:o?!1:m,name:"switch",id:d,...r&&{onCheckedChange:r},disabled:b,className:n("radix-state-checked:bg-blue-500 radix-state-unchecked:bg-gray-200 relative inline-flex h-4 w-8 flex-shrink-0 cursor-pointer rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out","focus:outline-none focus-visible:ring focus-visible:ring-blue-500 focus-visible:ring-opacity-75","data-[disabled]:cursor-not-allowed",u),children:t(i.Thumb,{className:n(`radix-state-checked:${s}`,"radix-state-unchecked:translate-x-0","pointer-events-none h-3 w-3 translate-x-4 transform rounded-full bg-white shadow-lg ring-0 transition duration-200 ease-in-out",h,s)})});return e?t(l,{content:e,children:t("div",{children:c})}):c}export{x as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{c as M}from"./chunk-P5UAU276.mjs";import{a as $}from"./chunk-BR4NCCQD.mjs";import{a as z}from"./chunk-GVBIGY6N.mjs";import{a as P}from"./chunk-NWME2ANF.mjs";import{a as H}from"./chunk-HNNDMBLV.mjs";import{a as T}from"./chunk-LPV7TLRR.mjs";import{a as j}from"./chunk-EQQBGD3H.mjs";import{a as W}from"./chunk-YURUGH4S.mjs";import{i as K,n as k}from"./chunk-6M22A3I2.mjs";import{Command as y,useCommandState as G}from"cmdk";import{ChevronDown as J,ListFilter as X}from"lucide-react";import{Fragment as Y,forwardRef as _,isValidElement as V,useCallback as N,useEffect as w,useImperativeHandle as ee,useRef as S,useState as D}from"react";import{Fragment as se,jsx as n,jsxs as m}from"react/jsx-runtime";function be({filters:t,onSelect:o,onRemove:a,onOpenFilter:s,onSearchChange:l,onSelectedFilterChange:g,activeFilters:i,askAI:h,children:v,emptyState:c,className:Q}){var L,A;let{isMobile:U}=P(),f=S(null),C=S(),[x,b]=D(!1);M("f",()=>b(!0),{enabled:!x});let[d,R]=D(""),[u,F]=D(null),E=N(()=>{R(""),F(null)},[]);w(()=>{x||E()},[x]);let r=u?t.find(({key:e})=>e===u):null,Z=N(e=>{f.current&&(C.current={width:f.current.clientWidth,height:f.current.clientHeight}),R(""),F(e),s==null||s(e)},[]),I=N(e=>{if(!r||!i)return!1;let p=i.find(({key:q})=>q===u);return(p==null?void 0:p.value)===e||p&&r.multiple&&Array.isArray(p.value)&&p.value.includes(e)},[r]),O=N(e=>{r&&(I(e)?a(r.key,e):o(r.key,e),r.multiple||b(!1))},[i,r,h]);return w(()=>{l==null||l(d)},[d]),w(()=>{g==null||g(u)},[u]),w(()=>{(r==null?void 0:r.options)&&f.current&&(C.current={width:f.current.clientWidth,height:f.current.clientHeight})},[r==null?void 0:r.options]),n($,{openPopover:x,setOpenPopover:b,onEscapeKeyDown:e=>{u&&(e.preventDefault(),E())},content:n(H,{width:!U,height:!0,className:"rounded-[inherit]",style:{transform:"translateZ(0)"},children:m(y,{loop:!0,shouldFilter:!r||r.shouldFilter!==!1,children:[m("div",{className:"flex items-center overflow-hidden rounded-t-lg border-b border-gray-200",children:[n(re,{placeholder:`${(r==null?void 0:r.label)||"Filter"}...`,value:d,onValueChange:R,onKeyDown:e=>{(e.key==="Escape"||e.key==="Backspace"&&!d)&&(e.preventDefault(),e.stopPropagation(),u?E():b(!1))},emptySubmit:e=>{e.preventDefault(),e.stopPropagation(),h?(o("ai",r?`${r.label} ${d}`:d),b(!1)):O(d)}}),!r&&n("kbd",{className:"mr-2 hidden shrink-0 rounded border border-gray-200 bg-gray-100 px-2 py-0.5 text-xs font-light text-gray-500 md:block",children:"F"})]}),n(ne,{ref:f,children:m(y.List,{className:k("flex w-full flex-col gap-1 p-1",r?"min-w-[100px]":"min-w-[180px]"),children:[r?((A=(L=r.options)==null?void 0:L.filter(e=>!d||!e.hideDuringSearch))==null?void 0:A.map(e=>{let p=I(e.value);return n(B,{filter:r,option:e,right:p?n(T,{className:"h-4 w-4"}):e.right,onSelect:()=>O(e.value)},e.value)}))??n(y.Loading,{children:n("div",{className:"-m-1 flex items-center justify-center",style:C.current,children:n(j,{})})}):t.map(e=>m(Y,{children:[n(B,{filter:e,onSelect:()=>Z(e.key)}),e.separatorAfter&&n(y.Separator,{className:"-mx-1 my-1 border-b border-gray-200"})]},e.key)),(!r||r.options)&&n(oe,{search:d,askAI:h,children:c?te(c)?(c==null?void 0:c[u??"default"])??"No matches":c:"No matches"})]})},u)]})}),children:m("button",{type:"button",className:k("group flex h-10 cursor-pointer appearance-none items-center gap-x-2 truncate rounded-md border px-3 text-sm outline-none transition-all","border-gray-200 bg-white text-gray-900 placeholder-gray-400","focus-visible:border-gray-500 data-[state=open]:border-gray-500 data-[state=open]:ring-4 data-[state=open]:ring-gray-200",Q),children:[n(X,{className:"size-4 shrink-0"}),n("span",{className:"flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-left text-gray-900",children:v??"Filter"}),i!=null&&i.length?n("div",{className:"flex size-4 shrink-0 items-center justify-center rounded-full bg-black text-[0.625rem] text-white",children:i.length}):n(J,{className:"size-4 shrink-0 text-gray-400 transition-transform duration-75 group-data-[state=open]:rotate-180"})]})})}function te(t){return typeof t=="object"&&t!==null&&!V(t)}var re=t=>{let o=G(a=>a.filtered.count===0);return n(y.Input,{...t,size:1,className:"grow border-0 py-3 pl-4 pr-2 outline-none placeholder:text-gray-400 focus:ring-0 sm:text-sm",onKeyDown:a=>{var s,l;(s=t.onKeyDown)==null||s.call(t,a),a.key==="Enter"&&o&&((l=t.emptySubmit)==null||l.call(t,a))},autoCapitalize:"none"})},ne=_(({children:t},o)=>{let a=S(null);ee(o,()=>a.current);let{scrollProgress:s,updateScrollProgress:l}=z(a);return m(se,{children:[n("div",{className:"scrollbar-hide max-h-[50vh] w-screen overflow-y-scroll sm:w-auto",ref:a,onScroll:l,children:t}),n("div",{className:"pointer-events-none absolute bottom-0 left-0 hidden h-16 w-full bg-gradient-to-t from-white sm:block",style:{opacity:1-Math.pow(s,2)}})]})});function B({filter:t,option:o,right:a,onSelect:s}){var h,v;let{isMobile:l}=P(),g=o?o.icon??((h=t.getOptionIcon)==null?void 0:h.call(t,o.value,{key:t.key,option:o}))??t.icon:t.icon,i=o?o.label??((v=t.getOptionLabel)==null?void 0:v.call(t,o.value,{key:t.key,option:o})):t.label;return m(y.Item,{className:k("flex cursor-pointer items-center gap-3 whitespace-nowrap rounded-md px-3 py-2 text-left text-sm","data-[selected=true]:bg-gray-100"),onPointerDown:c=>{c.preventDefault()},onPointerUp:c=>{c.preventDefault(),l?setTimeout(s,100):s()},onSelect:s,value:i+(o==null?void 0:o.value),children:[n("span",{className:"shrink-0 text-gray-600",children:ae(g)?g:n(g,{className:"h-4 w-4"})}),K(i,48),n("div",{className:"ml-1 flex shrink-0 grow justify-end text-gray-500",children:a})]})}var oe=({search:t,askAI:o,children:a})=>o&&t?m(y.Empty,{className:"flex min-w-[180px] items-center space-x-2 rounded-md bg-gray-100 px-3 py-2",children:[n(W,{className:"h-4 w-4"}),m("p",{className:"text-center text-sm text-gray-600",children:["Ask AI ",m("span",{className:"text-black",children:['"',t,'"']})]})]}):n(y.Empty,{className:"p-2 text-center text-sm text-gray-400",children:a}),ae=t=>V(t);export{be as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{j as i}from"./chunk-73LCVKEY.mjs";import*as e from"@radix-ui/react-checkbox";import{Check as m}from"lucide-react";import*as t from"react";import{jsx as o}from"react/jsx-runtime";var s=t.forwardRef(({className:r,...c},a)=>o(e.Root,{ref:a,className:i("peer h-5 w-5 shrink-0 rounded-md border border-gray-200 bg-white outline-none focus-visible:border-black disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-blue-500",r),...c,children:o(e.Indicator,{className:"flex items-center justify-center",children:o(m,{className:"h-3 w-3 text-white"})})}));s.displayName=e.Root.displayName;export{s as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{j as C}from"./chunk-V3RMYYRV.mjs";import{jsx as l,jsxs as f}from"react/jsx-runtime";function o({className:t}){return f("svg",{className:C("h-full w-full",t),viewBox:"0 0 222 222",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[l("path",{d:"M110.999 0C49.6974 0 0 49.6973 0 111.001C0 172.307 49.6974 222 110.999 222C172.308 222 222 172.307 222 111.001C222 49.7012 172.308 0.00530203 110.998 0.00530203L110.999 0ZM161.903 160.095C159.915 163.356 155.647 164.389 152.386 162.388C126.324 146.469 93.5163 142.863 54.8787 151.691C51.1554 152.539 47.4441 150.207 46.5958 146.482C45.7435 142.757 48.0671 139.046 51.7996 138.197C94.0823 128.537 130.351 132.697 159.61 150.578C162.871 152.579 163.904 156.834 161.903 160.095ZM175.489 129.871C172.984 133.943 167.655 135.228 163.586 132.723C133.75 114.383 88.2687 109.072 52.9779 119.785C48.4011 121.167 43.5671 118.588 42.178 114.019C40.7995 109.442 43.3802 104.617 47.9491 103.225C88.2608 90.9935 138.376 96.9185 172.639 117.974C176.708 120.479 177.994 125.808 175.489 129.872V129.871ZM176.655 98.3977C140.881 77.1485 81.8574 75.1947 47.7012 85.5615C42.2164 87.225 36.4161 84.1286 34.754 78.6437C33.0918 73.1561 36.1855 67.3596 41.6743 65.6922C80.8832 53.7891 146.063 56.0889 187.251 80.5405C192.195 83.4685 193.812 89.8403 190.883 94.7672C187.967 99.7007 181.578 101.327 176.661 98.3977H176.655Z",fill:"#1ED760"}),l("path",{d:"M161.903 160.095C159.915 163.356 155.647 164.389 152.386 162.388C126.325 146.469 93.5164 142.863 54.8788 151.691C51.1556 152.539 47.4442 150.207 46.5959 146.482C45.7436 142.757 48.0672 139.046 51.7997 138.197C94.0824 128.537 130.351 132.697 159.61 150.578C162.871 152.579 163.905 156.834 161.903 160.095ZM175.489 129.871C172.984 133.943 167.656 135.228 163.586 132.723C133.75 114.383 88.2689 109.072 52.9781 119.785C48.4012 121.167 43.5672 118.588 42.1781 114.019C40.7996 109.442 43.3803 104.617 47.9492 103.225C88.2609 90.9934 138.376 96.9184 172.639 117.974C176.709 120.479 177.994 125.808 175.489 129.872V129.871ZM176.656 98.3977C140.881 77.1485 81.8576 75.1947 47.7014 85.5615C42.2165 87.225 36.4163 84.1286 34.7541 78.6437C33.092 73.1561 36.1856 67.3596 41.6744 65.6921C80.8833 53.7891 146.064 56.0888 187.251 80.5405C192.195 83.4685 193.813 89.8402 190.883 94.7672C187.967 99.7007 181.578 101.327 176.661 98.3977H176.656Z",fill:"white"})]})}export{o as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{n as l}from"./chunk-HQJ32QC6.mjs";import{LayoutGroup as g,motion as r}from"framer-motion";import{useId as d}from"react";import{jsx as t,jsxs as p}from"react/jsx-runtime";function y({options:i,selected:o,selectAction:n,className:u,style:s}){let a=d();return t(g,{id:a,children:t(r.div,{layout:!0,className:l("relative inline-flex items-center gap-1 rounded-xl border border-gray-200 bg-white p-1",u),style:s,children:i.map(e=>p("button",{type:"button",className:l("relative z-10 flex items-center gap-2 px-3 py-1 text-sm font-medium capitalize",{"transition-all hover:text-gray-500":e.value!==o}),onClick:()=>n(e.value),children:[t("p",{children:e.label}),e.badge,e.value===o&&t(r.div,{layoutId:a,className:"absolute left-0 top-0 -z-[1] h-full w-full rounded-lg border border-gray-200 bg-gray-50",transition:{duration:.25}})]},e.value))})})}export{y as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{jsx as r,jsxs as e}from"react/jsx-runtime";function t(o){return r("svg",{height:"18",width:"18",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg",...o,children:e("g",{fill:"currentColor",children:[r("rect",{height:"12.5",width:"12.5",fill:"none",rx:"2",ry:"2",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",x:"2.75",y:"2.75"}),r("line",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",x1:"5.75",x2:"9.25",y1:"12.25",y2:"12.25"}),r("line",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",x1:"5.75",x2:"12.25",y1:"9.25",y2:"9.25"}),r("circle",{cx:"6",cy:"6",fill:"currentColor",r:"1",strokeWidth:"1.5"})]})})}export{t as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{c as M}from"./chunk-NEKFIZZK.mjs";import{a as $}from"./chunk-GGHBVHFY.mjs";import{a as z}from"./chunk-GVBIGY6N.mjs";import{a as P}from"./chunk-NWME2ANF.mjs";import{a as H}from"./chunk-IQLN5BB7.mjs";import{a as T}from"./chunk-LPV7TLRR.mjs";import{a as j}from"./chunk-HRTR6WBC.mjs";import{a as W}from"./chunk-YURUGH4S.mjs";import{h as K,j as k}from"./chunk-73LCVKEY.mjs";import{Command as y,useCommandState as G}from"cmdk";import{ChevronDown as J,ListFilter as X}from"lucide-react";import{Fragment as Y,forwardRef as _,isValidElement as V,useCallback as N,useEffect as w,useImperativeHandle as ee,useRef as S,useState as D}from"react";import{Fragment as se,jsx as n,jsxs as m}from"react/jsx-runtime";function be({filters:t,onSelect:o,onRemove:a,onOpenFilter:s,onSearchChange:l,onSelectedFilterChange:g,activeFilters:i,askAI:h,children:v,emptyState:c,className:Q}){var L,A;let{isMobile:U}=P(),f=S(null),C=S(),[x,b]=D(!1);M("f",()=>b(!0),{enabled:!x});let[d,R]=D(""),[u,F]=D(null),E=N(()=>{R(""),F(null)},[]);w(()=>{x||E()},[x]);let r=u?t.find(({key:e})=>e===u):null,Z=N(e=>{f.current&&(C.current={width:f.current.clientWidth,height:f.current.clientHeight}),R(""),F(e),s==null||s(e)},[]),I=N(e=>{if(!r||!i)return!1;let p=i.find(({key:q})=>q===u);return(p==null?void 0:p.value)===e||p&&r.multiple&&Array.isArray(p.value)&&p.value.includes(e)},[r]),O=N(e=>{r&&(I(e)?a(r.key,e):o(r.key,e),r.multiple||b(!1))},[i,r,h]);return w(()=>{l==null||l(d)},[d]),w(()=>{g==null||g(u)},[u]),w(()=>{(r==null?void 0:r.options)&&f.current&&(C.current={width:f.current.clientWidth,height:f.current.clientHeight})},[r==null?void 0:r.options]),n($,{openPopover:x,setOpenPopover:b,onEscapeKeyDown:e=>{u&&(e.preventDefault(),E())},content:n(H,{width:!U,height:!0,className:"rounded-[inherit]",style:{transform:"translateZ(0)"},children:m(y,{loop:!0,shouldFilter:!r||r.shouldFilter!==!1,children:[m("div",{className:"flex items-center overflow-hidden rounded-t-lg border-b border-gray-200",children:[n(re,{placeholder:`${(r==null?void 0:r.label)||"Filter"}...`,value:d,onValueChange:R,onKeyDown:e=>{(e.key==="Escape"||e.key==="Backspace"&&!d)&&(e.preventDefault(),e.stopPropagation(),u?E():b(!1))},emptySubmit:e=>{e.preventDefault(),e.stopPropagation(),h?(o("ai",r?`${r.label} ${d}`:d),b(!1)):O(d)}}),!r&&n("kbd",{className:"mr-2 hidden shrink-0 rounded border border-gray-200 bg-gray-100 px-2 py-0.5 text-xs font-light text-gray-500 md:block",children:"F"})]}),n(ne,{ref:f,children:m(y.List,{className:k("flex w-full flex-col gap-1 p-1",r?"min-w-[100px]":"min-w-[180px]"),children:[r?((A=(L=r.options)==null?void 0:L.filter(e=>!d||!e.hideDuringSearch))==null?void 0:A.map(e=>{let p=I(e.value);return n(B,{filter:r,option:e,right:p?n(T,{className:"h-4 w-4"}):e.right,onSelect:()=>O(e.value)},e.value)}))??n(y.Loading,{children:n("div",{className:"-m-1 flex items-center justify-center",style:C.current,children:n(j,{})})}):t.map(e=>m(Y,{children:[n(B,{filter:e,onSelect:()=>Z(e.key)}),e.separatorAfter&&n(y.Separator,{className:"-mx-1 my-1 border-b border-gray-200"})]},e.key)),(!r||r.options)&&n(oe,{search:d,askAI:h,children:c?te(c)?(c==null?void 0:c[u??"default"])??"No matches":c:"No matches"})]})},u)]})}),children:m("button",{type:"button",className:k("group flex h-10 cursor-pointer appearance-none items-center gap-x-2 truncate rounded-md border px-3 text-sm outline-none transition-all","border-gray-200 bg-white text-gray-900 placeholder-gray-400","focus-visible:border-gray-500 data-[state=open]:border-gray-500 data-[state=open]:ring-4 data-[state=open]:ring-gray-200",Q),children:[n(X,{className:"size-4 shrink-0"}),n("span",{className:"flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-left text-gray-900",children:v??"Filter"}),i!=null&&i.length?n("div",{className:"flex size-4 shrink-0 items-center justify-center rounded-full bg-black text-[0.625rem] text-white",children:i.length}):n(J,{className:"size-4 shrink-0 text-gray-400 transition-transform duration-75 group-data-[state=open]:rotate-180"})]})})}function te(t){return typeof t=="object"&&t!==null&&!V(t)}var re=t=>{let o=G(a=>a.filtered.count===0);return n(y.Input,{...t,size:1,className:"grow border-0 py-3 pl-4 pr-2 outline-none placeholder:text-gray-400 focus:ring-0 sm:text-sm",onKeyDown:a=>{var s,l;(s=t.onKeyDown)==null||s.call(t,a),a.key==="Enter"&&o&&((l=t.emptySubmit)==null||l.call(t,a))},autoCapitalize:"none"})},ne=_(({children:t},o)=>{let a=S(null);ee(o,()=>a.current);let{scrollProgress:s,updateScrollProgress:l}=z(a);return m(se,{children:[n("div",{className:"scrollbar-hide max-h-[50vh] w-screen overflow-y-scroll sm:w-auto",ref:a,onScroll:l,children:t}),n("div",{className:"pointer-events-none absolute bottom-0 left-0 hidden h-16 w-full bg-gradient-to-t from-white sm:block",style:{opacity:1-Math.pow(s,2)}})]})});function B({filter:t,option:o,right:a,onSelect:s}){var h,v;let{isMobile:l}=P(),g=o?o.icon??((h=t.getOptionIcon)==null?void 0:h.call(t,o.value,{key:t.key,option:o}))??t.icon:t.icon,i=o?o.label??((v=t.getOptionLabel)==null?void 0:v.call(t,o.value,{key:t.key,option:o})):t.label;return m(y.Item,{className:k("flex cursor-pointer items-center gap-3 whitespace-nowrap rounded-md px-3 py-2 text-left text-sm","data-[selected=true]:bg-gray-100"),onPointerDown:c=>{c.preventDefault()},onPointerUp:c=>{c.preventDefault(),l?setTimeout(s,100):s()},onSelect:s,value:i+(o==null?void 0:o.value),children:[n("span",{className:"shrink-0 text-gray-600",children:ae(g)?g:n(g,{className:"h-4 w-4"})}),K(i,48),n("div",{className:"ml-1 flex shrink-0 grow justify-end text-gray-500",children:a})]})}var oe=({search:t,askAI:o,children:a})=>o&&t?m(y.Empty,{className:"flex min-w-[180px] items-center space-x-2 rounded-md bg-gray-100 px-3 py-2",children:[n(W,{className:"h-4 w-4"}),m("p",{className:"text-center text-sm text-gray-600",children:["Ask AI ",m("span",{className:"text-black",children:['"',t,'"']})]})]}):n(y.Empty,{className:"p-2 text-center text-sm text-gray-400",children:a}),ae=t=>V(t);export{be as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{j as i}from"./chunk-V3RMYYRV.mjs";import{Drawer as t}from"vaul";import{jsx as r,jsxs as m}from"react/jsx-runtime";function a({children:o,contentProps:e,...l}){return r(t.Root,{direction:"right",...l,children:m(t.Portal,{children:[r(t.Overlay,{className:"fixed inset-0 bg-black/20"}),r(t.Content,{...e,className:i("fixed bottom-2 right-2 top-2 z-10 flex w-[calc(100%-16px)] outline-none md:w-[540px]",e==null?void 0:e.className),style:{"--initial-transform":"calc(100% + 8px)",...e==null?void 0:e.style},children:r("div",{className:"scrollbar-hide flex size-full grow flex-col overflow-y-auto rounded-lg bg-white",children:o})})]})})}function n({className:o,...e}){return r(t.Title,{className:i("text-xl font-medium text-zinc-900",o),...e})}function s(o){return r(t.Description,{...o})}function f(o){return r(t.Close,{...o})}var w=Object.assign(a,{Title:n,Description:s,Close:f});export{w as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{j as a}from"./chunk-73LCVKEY.mjs";import{jsx as t,jsxs as r}from"react/jsx-runtime";function n({className:i}){return r("svg",{className:a("h-full w-full",i),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_radial_8357_120)"}),t("path",{d:"M182.248 111.875C182.248 105.853 181.76 101.458 180.702 96.9003H111.931V124.083H152.298C151.484 130.838 147.089 141.011 137.323 147.848L137.186 148.758L158.93 165.603L160.437 165.753C174.272 152.975 182.248 134.175 182.248 111.875Z",fill:"url(#paint1_linear_8357_120)"}),t("path",{d:"M111.931 183.495C131.707 183.495 148.31 176.984 160.437 165.753L137.323 147.848C131.138 152.161 122.836 155.172 111.931 155.172C92.561 155.172 76.1211 142.395 70.2607 124.734L69.4017 124.807L46.7918 142.305L46.4961 143.127C58.5411 167.055 83.2826 183.495 111.931 183.495Z",fill:"url(#paint2_linear_8357_120)"}),t("path",{d:"M70.2606 124.734C68.7143 120.177 67.8194 115.293 67.8194 110.248C67.8194 105.201 68.7143 100.318 70.1793 95.7607L70.1383 94.7901L47.245 77.0109L46.496 77.3672C41.5317 87.2964 38.6831 98.4466 38.6831 110.248C38.6831 122.048 41.5317 133.198 46.496 143.127L70.2606 124.734Z",fill:"url(#paint3_linear_8357_120)"}),t("path",{d:"M111.931 65.3222C125.685 65.3222 134.963 71.2633 140.253 76.2282L160.925 56.0444C148.229 44.2434 131.707 37 111.931 37C83.2826 37 58.5411 53.4399 46.4961 77.3672L70.1794 95.7607C76.1211 78.1 92.561 65.3222 111.931 65.3222Z",fill:"url(#paint4_linear_8357_120)"}),r("defs",{children:[r("radialGradient",{id:"paint0_radial_8357_120",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(226.5 207.5) rotate(-140.591) scale(286.681)",children:[t("stop",{"stop-color":"white"}),t("stop",{offset:"0.5","stop-color":"white"}),t("stop",{offset:"1","stop-color":"#E8E8E8"})]}),r("linearGradient",{id:"paint1_linear_8357_120",x1:"176.5",y1:"148.5",x2:"112",y2:"97",gradientUnits:"userSpaceOnUse",children:[t("stop",{"stop-color":"#76A7F9"}),t("stop",{offset:"1","stop-color":"#4285F4"})]}),r("linearGradient",{id:"paint2_linear_8357_120",x1:"38.5",y1:"164.5",x2:"160",y2:"175",gradientUnits:"userSpaceOnUse",children:[t("stop",{"stop-color":"#34A853"}),t("stop",{offset:"1","stop-color":"#8DFBAA"})]}),r("linearGradient",{id:"paint3_linear_8357_120",x1:"81",y1:"115",x2:"35.9999",y2:"110",gradientUnits:"userSpaceOnUse",children:[t("stop",{"stop-color":"#FFE28F"}),t("stop",{offset:"1","stop-color":"#FBBC05"})]}),r("linearGradient",{id:"paint4_linear_8357_120",x1:"117.5",y1:"84",x2:"78",y2:"45.5",gradientUnits:"userSpaceOnUse",children:[t("stop",{"stop-color":"#FF968D"}),t("stop",{offset:"1","stop-color":"#EB4335"})]})]})]})}export{n as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{j as h}from"./chunk-DWDN2PTA.mjs";import{j as p}from"./chunk-73LCVKEY.mjs";import{cva as E}from"class-variance-authority";import k from"embla-carousel-autoplay";import T from"embla-carousel-react";import{motion as L}from"framer-motion";import{ArrowLeft as D,ArrowRight as H,ChevronLeft as M,ChevronRight as I}from"lucide-react";import*as e from"react";import{jsx as r,jsxs as C}from"react/jsx-runtime";var w=2e3,S=e.createContext(null);function b(){let t=e.useContext(S);if(!t)throw new Error("useCarousel must be used within a <Carousel />");return t}function W(){let{api:t}=b(),[l,s]=e.useState(0),o=e.useCallback(c=>s((c==null?void 0:c.selectedScrollSnap())??0),[]);return e.useEffect(()=>{!t||(o(t),t.on("reInit",o),t.on("select",o))},[t,o]),l}var z=e.forwardRef(({orientation:t="horizontal",opts:l,setApi:s,autoplay:o,plugins:c,className:d,children:n,...i},y)=>{let[x,a]=T({...l,axis:t==="horizontal"?"x":"y"},[...o?[k(typeof o=="object"?o:{delay:w})]:[],...c||[]]),[N,v]=e.useState(!1),[R,g]=e.useState(!1),u=e.useCallback(f=>{!f||(v(f.canScrollPrev()),g(f.canScrollNext()))},[]),m=e.useCallback(()=>{a==null||a.scrollPrev()},[a]),P=e.useCallback(()=>{a==null||a.scrollNext()},[a]),A=e.useCallback(f=>{f.key==="ArrowLeft"?(f.preventDefault(),m()):f.key==="ArrowRight"&&(f.preventDefault(),P())},[m,P]);return e.useEffect(()=>{!a||!s||s(a)},[a,s]),e.useEffect(()=>{if(!!a)return u(a),a.on("reInit",u),a.on("select",u),()=>{a==null||a.off("select",u)}},[a,u]),r(S.Provider,{value:{carouselRef:x,api:a,opts:l,orientation:t||((l==null?void 0:l.axis)==="y"?"vertical":"horizontal"),scrollPrev:m,scrollNext:P,canScrollPrev:N,canScrollNext:R},children:r("div",{ref:y,onKeyDownCapture:A,className:p("relative",d),role:"region","aria-roledescription":"carousel",...i,children:n})})});z.displayName="Carousel";var U=e.forwardRef(({className:t,...l},s)=>{let{carouselRef:o,orientation:c}=b();return r("div",{ref:o,className:"overflow-hidden",children:r("div",{ref:s,className:p("flex",c==="horizontal"?"-ml-4":"-mt-4 flex-col",t),...l})})});U.displayName="CarouselContent";var B=e.forwardRef(({className:t,...l},s)=>{let{orientation:o}=b();return r("div",{ref:s,role:"group","aria-roledescription":"slide",className:p("min-w-0 shrink-0 grow-0 basis-full",o==="horizontal"?"pl-4":"pt-4",t),...l})});B.displayName="CarouselItem";var O=e.forwardRef(({className:t,...l},s)=>{let{orientation:o,scrollPrev:c,canScrollPrev:d}=b();return C("button",{ref:s,className:p("absolute",o==="horizontal"?"-left-12 top-1/2 -translate-y-1/2":"-top-12 left-1/2 -translate-x-1/2 rotate-90",h({variant:"secondary",className:"p-2"}),t),disabled:!d,onClick:c,...l,children:[r(D,{className:"h-4 w-4"}),r("span",{className:"sr-only",children:"Previous slide"})]})});O.displayName="CarouselPrevious";var V=e.forwardRef(({className:t,...l},s)=>{let{orientation:o,scrollNext:c,canScrollNext:d}=b();return C("button",{ref:s,className:p("absolute",o==="horizontal"?"-right-12 top-1/2 -translate-y-1/2":"-bottom-12 left-1/2 -translate-x-1/2 rotate-90",h({variant:"secondary",className:"p-2"}),t),disabled:!d,onClick:c,...l,children:[r(H,{className:"h-4 w-4"}),r("span",{className:"sr-only",children:"Next slide"})]})});V.displayName="CarouselNext";var K=E("flex items-center justify-center gap-3 sm:gap-6",{variants:{variant:{simple:"relative",floating:"absolute bottom-4 left-1/2 -translate-x-1/2 rounded-full border border-gray-800/10 bg-white sm:bottom-6 "}}}),X=({variant:t="simple",className:l})=>{var g;let{scrollNext:s,scrollPrev:o,canScrollNext:c,canScrollPrev:d,api:n}=b(),i=(g=n==null?void 0:n.plugins())==null?void 0:g.autoplay,[y,x]=e.useState(0),[a,N]=e.useState(!1),v=e.useCallback(u=>{x((u==null?void 0:u.selectedScrollSnap())??0)},[]),R=e.useCallback(u=>()=>{i&&i.isPlaying()&&i.stop(),u()},[i]);return e.useEffect(()=>{!n||(v(n),N((i==null?void 0:i.isPlaying())??!1),n.on("reInit",v),n.on("select",v),n.on("autoplay:play",()=>N(!0)),n.on("autoplay:stop",()=>N(!1)))},[n,i,v]),C("div",{className:p(K({variant:t}),l),children:[t!=="simple"&&C("button",{className:"cursor-pointer rounded-full p-2 hover:bg-gray-50 active:bg-gray-100",disabled:!d,onClick:R(o),children:[r(M,{className:"h-4 w-4"}),r("span",{className:"sr-only",children:"Previous slide"})]}),n!=null&&r("div",{className:"flex items-center gap-1",children:n.slideNodes().map((u,m)=>C("button",{onClick:R(()=>n.scrollTo(m)),className:"rounded-full p-0.5 hover:bg-gray-100 active:bg-gray-200 sm:p-1.5",children:[r("div",{className:p("relative isolate h-1.5 w-1.5 overflow-hidden rounded-full transition-all",m===y?"bg-black":"bg-black/20",a&&m===y&&"w-6 bg-black/20"),children:a&&m===y&&r(L.div,{initial:{x:"-100%"},animate:{x:0},transition:{type:"tween",duration:((i==null?void 0:i.options.delay)??w)/1e3},className:"animate-fill-width h-full w-full rounded-full bg-black"})}),C("span",{className:"sr-only",children:["Slide ",m+1]})]},m))}),t!=="simple"&&C("button",{className:"cursor-pointer rounded-full p-2 hover:bg-gray-50 active:bg-gray-100",disabled:!c,onClick:R(s),children:[r(I,{className:"h-4 w-4"}),r("span",{className:"sr-only",children:"Next slide"})]})]})};export{w as a,b,W as c,z as d,U as e,B as f,O as g,V as h,X as i};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{d as l,e as p}from"./chunk-27HFRPZ2.mjs";import{a as s,c as n}from"./chunk-CJMH3V5J.mjs";import{c as i,n as e}from"./chunk-6M22A3I2.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{j as h}from"./chunk-2ARGZAIC.mjs";import{j as p}from"./chunk-73LCVKEY.mjs";import{cva as E}from"class-variance-authority";import k from"embla-carousel-autoplay";import T from"embla-carousel-react";import{motion as L}from"framer-motion";import{ArrowLeft as D,ArrowRight as H,ChevronLeft as M,ChevronRight as I}from"lucide-react";import*as e from"react";import{jsx as r,jsxs as C}from"react/jsx-runtime";var w=2e3,S=e.createContext(null);function b(){let t=e.useContext(S);if(!t)throw new Error("useCarousel must be used within a <Carousel />");return t}function W(){let{api:t}=b(),[l,s]=e.useState(0),o=e.useCallback(c=>s((c==null?void 0:c.selectedScrollSnap())??0),[]);return e.useEffect(()=>{!t||(o(t),t.on("reInit",o),t.on("select",o))},[t,o]),l}var z=e.forwardRef(({orientation:t="horizontal",opts:l,setApi:s,autoplay:o,plugins:c,className:d,children:n,...i},y)=>{let[x,a]=T({...l,axis:t==="horizontal"?"x":"y"},[...o?[k(typeof o=="object"?o:{delay:w})]:[],...c||[]]),[N,v]=e.useState(!1),[R,g]=e.useState(!1),u=e.useCallback(f=>{!f||(v(f.canScrollPrev()),g(f.canScrollNext()))},[]),m=e.useCallback(()=>{a==null||a.scrollPrev()},[a]),P=e.useCallback(()=>{a==null||a.scrollNext()},[a]),A=e.useCallback(f=>{f.key==="ArrowLeft"?(f.preventDefault(),m()):f.key==="ArrowRight"&&(f.preventDefault(),P())},[m,P]);return e.useEffect(()=>{!a||!s||s(a)},[a,s]),e.useEffect(()=>{if(!!a)return u(a),a.on("reInit",u),a.on("select",u),()=>{a==null||a.off("select",u)}},[a,u]),r(S.Provider,{value:{carouselRef:x,api:a,opts:l,orientation:t||((l==null?void 0:l.axis)==="y"?"vertical":"horizontal"),scrollPrev:m,scrollNext:P,canScrollPrev:N,canScrollNext:R},children:r("div",{ref:y,onKeyDownCapture:A,className:p("relative",d),role:"region","aria-roledescription":"carousel",...i,children:n})})});z.displayName="Carousel";var U=e.forwardRef(({className:t,...l},s)=>{let{carouselRef:o,orientation:c}=b();return r("div",{ref:o,className:"overflow-hidden",children:r("div",{ref:s,className:p("flex",c==="horizontal"?"-ml-4":"-mt-4 flex-col",t),...l})})});U.displayName="CarouselContent";var B=e.forwardRef(({className:t,...l},s)=>{let{orientation:o}=b();return r("div",{ref:s,role:"group","aria-roledescription":"slide",className:p("min-w-0 shrink-0 grow-0 basis-full",o==="horizontal"?"pl-4":"pt-4",t),...l})});B.displayName="CarouselItem";var O=e.forwardRef(({className:t,...l},s)=>{let{orientation:o,scrollPrev:c,canScrollPrev:d}=b();return C("button",{ref:s,className:p("absolute",o==="horizontal"?"-left-12 top-1/2 -translate-y-1/2":"-top-12 left-1/2 -translate-x-1/2 rotate-90",h({variant:"secondary",className:"p-2"}),t),disabled:!d,onClick:c,...l,children:[r(D,{className:"h-4 w-4"}),r("span",{className:"sr-only",children:"Previous slide"})]})});O.displayName="CarouselPrevious";var V=e.forwardRef(({className:t,...l},s)=>{let{orientation:o,scrollNext:c,canScrollNext:d}=b();return C("button",{ref:s,className:p("absolute",o==="horizontal"?"-right-12 top-1/2 -translate-y-1/2":"-bottom-12 left-1/2 -translate-x-1/2 rotate-90",h({variant:"secondary",className:"p-2"}),t),disabled:!d,onClick:c,...l,children:[r(H,{className:"h-4 w-4"}),r("span",{className:"sr-only",children:"Next slide"})]})});V.displayName="CarouselNext";var K=E("flex items-center justify-center gap-3 sm:gap-6",{variants:{variant:{simple:"relative",floating:"absolute bottom-4 left-1/2 -translate-x-1/2 rounded-full border border-gray-800/10 bg-white sm:bottom-6 "}}}),X=({variant:t="simple",className:l})=>{var g;let{scrollNext:s,scrollPrev:o,canScrollNext:c,canScrollPrev:d,api:n}=b(),i=(g=n==null?void 0:n.plugins())==null?void 0:g.autoplay,[y,x]=e.useState(0),[a,N]=e.useState(!1),v=e.useCallback(u=>{x((u==null?void 0:u.selectedScrollSnap())??0)},[]),R=e.useCallback(u=>()=>{i&&i.isPlaying()&&i.stop(),u()},[i]);return e.useEffect(()=>{!n||(v(n),N((i==null?void 0:i.isPlaying())??!1),n.on("reInit",v),n.on("select",v),n.on("autoplay:play",()=>N(!0)),n.on("autoplay:stop",()=>N(!1)))},[n,i,v]),C("div",{className:p(K({variant:t}),l),children:[t!=="simple"&&C("button",{className:"cursor-pointer rounded-full p-2 hover:bg-gray-50 active:bg-gray-100",disabled:!d,onClick:R(o),children:[r(M,{className:"h-4 w-4"}),r("span",{className:"sr-only",children:"Previous slide"})]}),n!=null&&r("div",{className:"flex items-center gap-1",children:n.slideNodes().map((u,m)=>C("button",{onClick:R(()=>n.scrollTo(m)),className:"rounded-full p-0.5 hover:bg-gray-100 active:bg-gray-200 sm:p-1.5",children:[r("div",{className:p("relative isolate h-1.5 w-1.5 overflow-hidden rounded-full transition-all",m===y?"bg-black":"bg-black/20",a&&m===y&&"w-6 bg-black/20"),children:a&&m===y&&r(L.div,{initial:{x:"-100%"},animate:{x:0},transition:{type:"tween",duration:((i==null?void 0:i.options.delay)??w)/1e3},className:"animate-fill-width h-full w-full rounded-full bg-black"})}),C("span",{className:"sr-only",children:["Slide ",m+1]})]},m))}),t!=="simple"&&C("button",{className:"cursor-pointer rounded-full p-2 hover:bg-gray-50 active:bg-gray-100",disabled:!c,onClick:R(s),children:[r(I,{className:"h-4 w-4"}),r("span",{className:"sr-only",children:"Next slide"})]})]})};export{w as a,b,W as c,z as d,U as e,B as f,O as g,V as h,X as i};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{jsx as r,jsxs as e}from"react/jsx-runtime";function n(o){return r("svg",{height:"18",width:"18",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg",...o,children:e("g",{fill:"currentColor",children:[r("circle",{cx:"9",cy:"10",fill:"none",r:"2",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"}),r("circle",{cx:"4.25",cy:"10",fill:"currentColor",r:".75",stroke:"none"}),r("circle",{cx:"13.75",cy:"10",fill:"currentColor",r:".75",stroke:"none"}),r("rect",{height:"10.5",width:"14.5",fill:"none",rx:"2",ry:"2",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",x:"1.75",y:"4.75"}),r("line",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",x1:"3.75",x2:"14.25",y1:"1.75",y2:"1.75"})]})})}export{n as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{jsx as o,jsxs as e}from"react/jsx-runtime";function t(r){return e("svg",{height:"18",width:"18",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg",...r,children:[o("path",{d:"M2.44434 14.0557H13.5554",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),o("path",{d:"M7.99989 6.94449H12.6666C13.1572 6.94449 13.5554 6.54627 13.5554 6.0556V5.6876C13.5554 5.36583 13.3812 5.06894 13.1012 4.9116L8.43456 2.29827C8.16434 2.14716 7.83545 2.14716 7.56611 2.29827L2.89856 4.91249C2.61767 5.06983 2.44434 5.36671 2.44434 5.68849V6.05649C2.44434 6.54716 2.84256 6.94538 3.33322 6.94538L7.99989 6.94449Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),o("path",{d:"M6.44434 14.0556V9.16675",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),o("path",{d:"M9.55542 14.0556V9.16675",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),o("path",{d:"M12.6665 14.0556V9.16675",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),o("path",{d:"M7.99997 5.61115C8.49089 5.61115 8.88886 5.21318 8.88886 4.72226C8.88886 4.23134 8.49089 3.83337 7.99997 3.83337C7.50905 3.83337 7.11108 4.23134 7.11108 4.72226C7.11108 5.21318 7.50905 5.61115 7.99997 5.61115Z",fill:"currentColor"})]})}export{t as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{e as _}from"./chunk-5A3E7WHW.mjs";import{a as x,f as y,g as v}from"./chunk-27HFRPZ2.mjs";import{a as N}from"./chunk-MQ6PCK5Z.mjs";import{a as f}from"./chunk-OBMDUP7K.mjs";import{a as b}from"./chunk-2KUZ4P7L.mjs";import{a as h}from"./chunk-MQ4XKMG5.mjs";import{a as p}from"./chunk-ALEYOCBW.mjs";import{b as o,i as d,j as n,l as g}from"./chunk-73LCVKEY.mjs";import T from"next/image";import s from"next/link";import{useParams as E}from"next/navigation";import{useEffect as F,useState as w}from"react";import A from"swr";import{jsx as e,jsxs as r}from"react/jsx-runtime";var m={features:x.map(({title:t,href:a})=>({name:t,href:a})),product:[{name:"Blog",href:"/blog"},{name:"Brand",href:"/brand"},{name:"Changelog",href:"/changelog"},{name:"Customers",href:"/customers"},{name:"Enterprise",href:"/enterprise"},{name:"Pricing",href:"/pricing"},{name:"Help Center",href:"/help"}],compare:y.map(({name:t,slug:a})=>({name:t,href:`/compare/${a}`})),legal:v.map(({name:t,slug:a})=>({name:t,href:`/legal/${a}`})),tools:g.map(({name:t,slug:a})=>({name:t,href:`/tools/${a}`}))};function Y(){let{domain:t="dub.co"}=E();return e("footer",{children:r(N,{className:"relative z-10 overflow-hidden border border-b-0 border-gray-200 bg-white/50 pb-60 pt-16 backdrop-blur-lg md:rounded-t-2xl",children:[r("div",{className:"xl:grid xl:grid-cols-3 xl:gap-8",children:[r("div",{className:"space-y-6",children:[r(s,{href:o("/",t,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:t,utm_content:"Logo"}),className:"block max-w-fit",children:[r("span",{className:"sr-only",children:[process.env.NEXT_PUBLIC_APP_NAME," Logo"]}),e(_,{className:"h-8 text-gray-800"})]}),e("p",{className:"max-w-xs text-sm text-gray-500",children:"Giving modern marketing teams superpowers with short links that stand out."}),r("p",{className:"text-sm leading-5 text-gray-400",children:["\xA9 ",new Date().getFullYear()," Dub Technologies, Inc."]}),r("div",{className:"flex items-center space-x-3",children:[r("a",{href:"https://twitter.com/dubdotco",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"Twitter"}),e(f,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-black"})]}),r("a",{href:"https://github.com/dubinc/dub",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"Github"}),e(p,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-black"})]}),r("a",{href:"https://www.linkedin.com/company/dubinc",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"LinkedIn"}),e(h,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-[#0077b5]"})]}),r("a",{href:"https://www.youtube.com/@dubdotco",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"YouTube"}),e(b,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-[#ff0000]"})]})]}),e(D,{})]}),r("div",{className:"mt-16 grid grid-cols-2 gap-4 xl:col-span-2 xl:mt-0",children:[r("div",{className:"md:grid md:grid-cols-2",children:[r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Features"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.features.map(a=>e("li",{children:e(s,{href:o(a.href,t,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:t,utm_content:a.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.name))})]}),r("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Product"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.product.map(a=>e("li",{children:e(s,{href:o(a.href,t,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:t,utm_content:a.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.name))})]})]}),r("div",{className:"md:grid md:grid-cols-2",children:[r("div",{className:"flex flex-col space-y-8",children:[r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Compare"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.compare.map(a=>e("li",{children:e(s,{href:o(a.href,t,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:t,utm_content:a.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.name))})]}),r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Legal"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.legal.map(a=>e("li",{children:e(s,{href:o(a.href,t,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:t,utm_content:a.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.name))})]})]}),r("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Tools"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.tools.map(a=>e("li",{children:e(s,{href:o(a.href,t,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:t,utm_content:a.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.name))})]})]})]})]}),e(T,{src:"https://assets.dub.co/footer.png",alt:"Dub Technologies, Inc. Logo",width:1959,height:625,className:"pointer-events-none absolute inset-x-0 bottom-0 z-0"})]})})}function D(){let{data:t}=A("https://status.dub.co/api/v1/summary",d),[a,l]=w("bg-gray-200"),[i,c]=w("Loading status...");return F(()=>{if(!t)return;let{ongoing_incidents:u}=t;if(u.length>0){let{current_worst_impact:k,name:L}=u[0],C=k==="degraded_performance"?"bg-yellow-500":"bg-red-500";c(L),l(C)}else c("All systems operational"),l("bg-green-500")},[t]),r(s,{href:"https://status.dub.co",target:"_blank",className:"group flex max-w-fit items-center space-x-2 rounded-md border border-gray-200 bg-white px-3 py-2 transition-colors hover:bg-gray-100",children:[r("div",{className:"relative h-3 w-3",children:[e("div",{className:n("absolute inset-0 m-auto h-3 w-3 animate-ping items-center justify-center rounded-full group-hover:animate-none",a,i==="Loading status..."&&"animate-none")}),e("div",{className:n("absolute inset-0 z-10 m-auto h-3 w-3 rounded-full",a)})]}),e("p",{className:"text-sm font-medium text-gray-800",children:i})]})}export{Y as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a}from"./chunk-AXZJPLZ2.mjs";import{a as n}from"./chunk-EHYVEIOL.mjs";import{a as r}from"./chunk-BKZ6TNZC.mjs";import{n as t}from"./chunk-HQJ32QC6.mjs";import{cva as d}from"class-variance-authority";import{toast as y}from"sonner";import{jsx as o,jsxs as b}from"react/jsx-runtime";var f=d("relative group rounded-full p-1.5 transition-all duration-75",{variants:{variant:{default:"bg-transparent hover:bg-gray-100 active:bg-gray-200",neutral:"bg-transparent hover:bg-gray-100 active:bg-gray-200"}},defaultVariants:{variant:"default"}});function P({variant:s="default",value:i,className:e,icon:p,successMessage:c}){let[u,l]=a(),m=p||r;return b("button",{onClick:g=>{g.stopPropagation(),y.promise(l(i),{success:c||"Copied to clipboard!"})},className:t(f({variant:s}),e),type:"button",children:[o("span",{className:"sr-only",children:"Copy"}),u?o(n,{className:"h-3.5 w-3.5"}):o(m,{className:"h-3.5 w-3.5"})]})}export{P as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as P}from"./chunk-6JPO26GL.mjs";import{a as C}from"./chunk-32C65ISH.mjs";import{a as b}from"./chunk-LFGWL3ID.mjs";import{a as m}from"./chunk-CZSSD6PV.mjs";import{a as y}from"./chunk-D7SRRREC.mjs";import{a as d}from"./chunk-JBURS7BX.mjs";import{a as g}from"./chunk-BOCPUR5Z.mjs";import{a as f}from"./chunk-SBK5CRMY.mjs";import{a as h}from"./chunk-DWACNU5E.mjs";import{a as u}from"./chunk-3KFNNXJ6.mjs";import{a as l}from"./chunk-KDNSFAET.mjs";import{a as c}from"./chunk-2W2M7KTU.mjs";import{a as p}from"./chunk-HYPLE4VW.mjs";import{a as t}from"./chunk-2LBJI2KO.mjs";import{a as n}from"./chunk-TNAH7N5Q.mjs";import{a as o}from"./chunk-DMUERTF2.mjs";import{a}from"./chunk-PDSUXFDU.mjs";import{a as r}from"./chunk-PRJVDP45.mjs";import{a as e}from"./chunk-NPWONPKN.mjs";import{a as s}from"./chunk-KYMBX7DZ.mjs";import{a as i}from"./chunk-ZJICX3BL.mjs";var S=[{title:"Advanced Analytics",description:"Powerful Analytics For The Modern Marketer",icon:u,href:"/help/article/dub-analytics"},{title:"Branded Links",description:"Branded Links That Stand Out",icon:f,href:"/features/branded-links"},{title:"QR Codes",description:"Gorgeous QR codes for your links",icon:b,href:"/features/qr-codes"},{title:"Personalization",description:"Personalize Your Short Links",icon:y,href:"/features/personalization"},{title:"Collaboration",description:"Collaborate With Your Team",icon:C,href:"/features/collaboration"},{title:"API",description:"Programmatic Link Creation",icon:P,href:"/docs/api-reference/introduction"}],R=[{icon:t,iconClassName:"group-hover:text-[#FF6363]",title:"Raycast",description:"How Raycast added link-sharing features to Ray.so with Dub.co's link infrastructure",href:"/customers/raycast"},{icon:o,iconClassName:"group-hover:text-[#268472]",title:"Tinybird",description:"How Tinybird uses Dub.co to enhance their digital marketing strategies",href:"/customers/tinybird"},{icon:e,iconClassName:"group-hover:text-[#4C51BF]",title:"Prisma",description:"How Prisma uses Dub.co to improve insights for pris.ly links",href:"/customers/prisma"}],x=[{icon:h,title:"Developers",description:"API for efficient link management",href:"/docs/introduction"},{icon:m,title:"Enterprise",description:"Scalable link management solutions",href:"/enterprise"}],v=[{icon:a,iconClassName:"py-0.5 group-hover:text-[#3178C6]",title:"Typescript",href:"/solutions/typescript"},{icon:s,iconClassName:"py-0.5 [&_.snake]:transition-colors group-hover:[&_.snake1]:text-[#3776ab] group-hover:[&_.snake2]:text-[#ffd343]",title:"Python",href:"/solutions/python"},{icon:i,iconClassName:"group-hover:text-[#00ACD7]",title:"Go",href:"/solutions/go"},{icon:n,iconClassName:"py-[3px] grayscale brightness-150 transition-[filter] group-hover:grayscale-0 group-hover:brightness-100",title:"Ruby",href:"/solutions/ruby"},{icon:r,iconClassName:"py-[3px] grayscale brightness-150 transition-[filter] group-hover:grayscale-0 group-hover:brightness-100",title:"PHP",href:"/solutions/php"}],T=[{icon:l,title:"Blog",href:"/blog"},{icon:p,title:"Changelog",href:"/changelog"},{icon:c,title:"Docs",href:"/docs"},{icon:d,title:"Help Center",href:"/help"},{icon:g,title:"Brand",href:"/brand"}],A=[{name:"Bitly",slug:"bitly"},{name:"Rebrandly",slug:"rebrandly"},{name:"Short.io",slug:"short"},{name:"Bl.ink",slug:"blink"}],E=[{name:"Privacy",slug:"privacy"},{name:"Terms",slug:"terms"},{name:"Trust Center",slug:"trust"},{name:"DPA",slug:"dpa"},{name:"Subprocessors",slug:"subprocessors"},{name:"Report Abuse",slug:"abuse"}];export{S as a,R as b,x as c,v as d,T as e,A as f,E as g};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{d as l,e as p}from"./chunk-KB2RXLUE.mjs";import{a as s,c as n}from"./chunk-YJZEYIQZ.mjs";import{b as i,j as e}from"./chunk-73LCVKEY.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};
|