@dub/ui 0.2.0 → 0.2.2
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/animated-size-container.d.ts +9 -9
- package/dist/badge.d.ts +1 -1
- package/dist/button.mjs +1 -1
- package/dist/carousel.mjs +1 -1
- package/dist/chunk-22LPXTE5.mjs +2 -0
- package/dist/chunk-25DALMNI.mjs +2 -0
- package/dist/chunk-2C5NOZM4.mjs +2 -0
- package/dist/chunk-2DK3IGGO.mjs +2 -0
- package/dist/chunk-2FPUQJXV.mjs +2 -0
- package/dist/chunk-2M3QZ3XT.mjs +6 -0
- package/dist/chunk-36SVUOEJ.mjs +2 -0
- package/dist/chunk-3DSKTZHU.mjs +2 -0
- package/dist/chunk-3FN3SHKS.mjs +2 -0
- package/dist/chunk-3GYP6AQK.mjs +6 -0
- package/dist/chunk-3MUTQCUO.mjs +2 -0
- package/dist/chunk-3Q243FX2.mjs +2 -0
- package/dist/chunk-3SPSQCV4.mjs +2 -0
- package/dist/chunk-3TSYDDMP.mjs +2 -0
- package/dist/chunk-3UXRXXLI.mjs +2 -0
- package/dist/chunk-3W4I7K7B.mjs +6 -0
- package/dist/chunk-3ZLLTZPU.mjs +2 -0
- package/dist/chunk-466V4O2K.mjs +2 -0
- package/dist/chunk-4C2XKGIR.mjs +2 -0
- package/dist/chunk-4CQHKXKZ.mjs +2 -0
- package/dist/chunk-4J5FNJ4S.mjs +2 -0
- package/dist/chunk-4JCGG7YZ.mjs +2 -0
- package/dist/chunk-4KO56BF6.mjs +2 -0
- package/dist/chunk-4OMWHP4I.mjs +2 -0
- package/dist/chunk-4U7FKZ5R.mjs +2 -0
- package/dist/chunk-4XJUWVL5.mjs +2 -0
- package/dist/chunk-4XNCD47K.mjs +2 -0
- package/dist/chunk-4Y25GOWJ.mjs +2 -0
- package/dist/chunk-54W3WE6Y.mjs +2 -0
- package/dist/chunk-55MW6BPC.mjs +2 -0
- package/dist/chunk-5B75SYSW.mjs +2 -0
- package/dist/chunk-5GA24DQQ.mjs +2 -0
- package/dist/chunk-5OFRT3A3.mjs +6 -0
- package/dist/chunk-5OQYNH24.mjs +2 -0
- package/dist/chunk-5SQRHOY4.mjs +2 -0
- package/dist/chunk-5XX7CY3Z.mjs +2 -0
- package/dist/chunk-5YG5ZIIV.mjs +2 -0
- package/dist/chunk-63WNLYNN.mjs +2 -0
- package/dist/chunk-6BNQK5OH.mjs +2 -0
- package/dist/chunk-6BOEMU4X.mjs +6 -0
- package/dist/chunk-6F2MPKDJ.mjs +2 -0
- package/dist/chunk-6JC6WGUG.mjs +2 -0
- package/dist/chunk-6KBHXJNB.mjs +6 -0
- package/dist/chunk-6R2J66MJ.mjs +2 -0
- package/dist/chunk-6RMBJ3DF.mjs +2 -0
- package/dist/chunk-6RMWIJL4.mjs +2 -0
- package/dist/chunk-6S3AFM7Z.mjs +2 -0
- package/dist/chunk-6YZAPOXQ.mjs +2 -0
- package/dist/chunk-6Z4HGQTJ.mjs +6 -0
- package/dist/chunk-7453OC46.mjs +2 -0
- package/dist/chunk-7HLCL4AA.mjs +2 -0
- package/dist/chunk-7M4GLBQZ.mjs +2 -0
- package/dist/chunk-7O4GRGY4.mjs +2 -0
- package/dist/chunk-7RIZSGJY.mjs +2 -0
- package/dist/chunk-7TXENSLO.mjs +2 -0
- package/dist/chunk-7VLTF24H.mjs +2 -0
- package/dist/chunk-7WDOLWFA.mjs +2 -0
- package/dist/chunk-7ZSYFIWP.mjs +2 -0
- package/dist/chunk-A4DNB5TT.mjs +6 -0
- package/dist/chunk-A6VSANRL.mjs +2 -0
- package/dist/chunk-AG5RM2QP.mjs +2 -0
- package/dist/chunk-ANFQKH2O.mjs +2 -0
- package/dist/chunk-AOYP5S3S.mjs +2 -0
- package/dist/chunk-ASRB5QWD.mjs +2 -0
- package/dist/chunk-AY63N3KD.mjs +2 -0
- package/dist/chunk-B2NY62YX.mjs +2 -0
- package/dist/chunk-BA3HGSD7.mjs +2 -0
- package/dist/chunk-BFK72RYD.mjs +2 -0
- package/dist/chunk-BFRNQ7YG.mjs +2 -0
- package/dist/chunk-BIF3AHKG.mjs +2 -0
- package/dist/chunk-BKVLVIDM.mjs +2 -0
- package/dist/chunk-BPM5MSLD.mjs +6 -0
- package/dist/chunk-BS6YW7HI.mjs +2 -0
- package/dist/chunk-BVFO6PQK.mjs +2 -0
- package/dist/chunk-C3GKJDGC.mjs +2 -0
- package/dist/chunk-C3NIUHGX.mjs +2 -0
- package/dist/chunk-C42MNA6M.mjs +2 -0
- package/dist/chunk-C7I455MI.mjs +6 -0
- package/dist/chunk-CAJK5FXZ.mjs +2 -0
- package/dist/chunk-CC3TUQTU.mjs +2 -0
- package/dist/chunk-CNQS5CTF.mjs +2 -0
- package/dist/chunk-CO5ICJRX.mjs +2 -0
- package/dist/chunk-CQ43ZXOF.mjs +2 -0
- package/dist/chunk-CR2A3IZX.mjs +2 -0
- package/dist/chunk-CXJ7M3UU.mjs +2 -0
- package/dist/chunk-CXLK2SVH.mjs +2 -0
- package/dist/chunk-CYZ7V3CP.mjs +2 -0
- package/dist/chunk-DE4AGMW5.mjs +2 -0
- package/dist/chunk-DIDIOOPN.mjs +6 -0
- package/dist/chunk-DIY6HAJR.mjs +6 -0
- package/dist/chunk-DKJE5Z4Z.mjs +6 -0
- package/dist/chunk-DNURDVDD.mjs +2 -0
- package/dist/chunk-DWW2DMGM.mjs +2 -0
- package/dist/chunk-EBMI7RQB.mjs +2 -0
- package/dist/chunk-EGHGNLGL.mjs +2 -0
- package/dist/chunk-EGUYAZSK.mjs +2 -0
- package/dist/chunk-EUQHARY3.mjs +2 -0
- package/dist/chunk-EXJA32FJ.mjs +2 -0
- package/dist/chunk-EYMKLUXA.mjs +2 -0
- package/dist/chunk-EZTYPIVS.mjs +2 -0
- package/dist/chunk-F57SPNCA.mjs +2 -0
- package/dist/chunk-FHKLPCL6.mjs +6 -0
- package/dist/chunk-FYFTNMNX.mjs +2 -0
- package/dist/chunk-GD63WH6C.mjs +2 -0
- package/dist/chunk-GKQ6TXG4.mjs +2 -0
- package/dist/chunk-GQULVZET.mjs +2 -0
- package/dist/chunk-GRLR2DEJ.mjs +2 -0
- package/dist/chunk-GSHAF3BW.mjs +2 -0
- package/dist/chunk-GUW27FGB.mjs +2 -0
- package/dist/chunk-H3KVAA3L.mjs +2 -0
- package/dist/chunk-HBGQJAIF.mjs +2 -0
- package/dist/chunk-HEYTZ2GZ.mjs +2 -0
- package/dist/chunk-HQGMPF2J.mjs +2 -0
- package/dist/chunk-HTE3HCYE.mjs +6 -0
- package/dist/chunk-HUS7RJ7S.mjs +2 -0
- package/dist/chunk-HZ3CGBYT.mjs +2 -0
- package/dist/chunk-I5YOZOBR.mjs +2 -0
- package/dist/chunk-I6C2CC52.mjs +2 -0
- package/dist/chunk-IEFEWYPU.mjs +2 -0
- package/dist/chunk-IHJ6M7ZO.mjs +2 -0
- package/dist/chunk-IK7RVLKQ.mjs +2 -0
- package/dist/chunk-ILN6U5FP.mjs +2 -0
- package/dist/chunk-IXJTJQXG.mjs +2 -0
- package/dist/chunk-IYE5ZVTI.mjs +2 -0
- package/dist/chunk-JCPN6ZK7.mjs +6 -0
- package/dist/chunk-JGZR4PPN.mjs +2 -0
- package/dist/chunk-JNPLGH3F.mjs +2 -0
- package/dist/chunk-JOEQFNPJ.mjs +2 -0
- package/dist/chunk-JTEXV7AL.mjs +2 -0
- package/dist/chunk-KCMWT5FS.mjs +42 -0
- package/dist/chunk-KDTIC27N.mjs +2 -0
- package/dist/chunk-KDW5Q6EZ.mjs +6 -0
- package/dist/chunk-KFUPYESP.mjs +2 -0
- package/dist/chunk-KI2TZQC4.mjs +2 -0
- package/dist/chunk-KJ2ZYL24.mjs +6 -0
- package/dist/chunk-KN7RUB2P.mjs +2 -0
- package/dist/chunk-KWK3YMF5.mjs +2 -0
- package/dist/chunk-L2QX56SG.mjs +2 -0
- package/dist/chunk-L3FXDZPQ.mjs +6 -0
- package/dist/chunk-L6JQG3XI.mjs +2 -0
- package/dist/chunk-LDG5AWEL.mjs +6 -0
- package/dist/chunk-LEUMVI2P.mjs +2 -0
- package/dist/chunk-LI3WDSBM.mjs +2 -0
- package/dist/chunk-LLZKALOG.mjs +2 -0
- package/dist/chunk-LNYDEPDI.mjs +2 -0
- package/dist/chunk-LUCC6FPP.mjs +2 -0
- package/dist/chunk-LYQPYKTJ.mjs +2 -0
- package/dist/chunk-M4UMKPM2.mjs +2 -0
- package/dist/chunk-M5Z56Q6B.mjs +2 -0
- package/dist/chunk-M7CSWHLW.mjs +6 -0
- package/dist/chunk-MEMHJYV7.mjs +2 -0
- package/dist/chunk-MRHV6GND.mjs +2 -0
- package/dist/chunk-MUAFTESO.mjs +6 -0
- package/dist/chunk-N2NCGQCP.mjs +6 -0
- package/dist/chunk-N4B7OYMT.mjs +2 -0
- package/dist/chunk-N52L4FEK.mjs +2 -0
- package/dist/chunk-NBQVAQ2Z.mjs +2 -0
- package/dist/chunk-NF7GL42X.mjs +2 -0
- package/dist/chunk-NKDGPQIF.mjs +2 -0
- package/dist/chunk-NLOU42R7.mjs +2 -0
- package/dist/chunk-NSUNBZR2.mjs +2 -0
- package/dist/chunk-NYJG4OIX.mjs +2 -0
- package/dist/chunk-NZA3DEM5.mjs +6 -0
- package/dist/chunk-NZYZUPRC.mjs +2 -0
- package/dist/chunk-O66ICUF2.mjs +2 -0
- package/dist/chunk-O7452H2I.mjs +2 -0
- package/dist/chunk-OA43BTO6.mjs +2 -0
- package/dist/chunk-OEKRDPLZ.mjs +2 -0
- package/dist/chunk-OEUQJWKA.mjs +2 -0
- package/dist/chunk-OJI7HAYQ.mjs +2 -0
- package/dist/chunk-OKI57Q77.mjs +2 -0
- package/dist/chunk-OODSNPBG.mjs +2 -0
- package/dist/chunk-OUNU7HHB.mjs +2 -0
- package/dist/chunk-OZMBYXCL.mjs +6 -0
- package/dist/chunk-P44NWYR6.mjs +6 -0
- package/dist/chunk-P67VDXOE.mjs +2 -0
- package/dist/chunk-P6ZSC3DI.mjs +2 -0
- package/dist/chunk-P7ZMNF2V.mjs +6 -0
- package/dist/chunk-Q4S6TICU.mjs +2 -0
- package/dist/chunk-QCKIPL6I.mjs +2 -0
- package/dist/chunk-QFHQNDDA.mjs +2 -0
- package/dist/chunk-QHGMUQWQ.mjs +2 -0
- package/dist/chunk-QIE3DF6G.mjs +2 -0
- package/dist/chunk-QIFZOEJ2.mjs +2 -0
- package/dist/chunk-QN67EAUX.mjs +2 -0
- package/dist/chunk-R24C2XNZ.mjs +2 -0
- package/dist/chunk-R2K3UJO2.mjs +2 -0
- package/dist/chunk-R4XPNLTZ.mjs +2 -0
- package/dist/chunk-R57NJEH2.mjs +6 -0
- package/dist/chunk-RB3XE4MN.mjs +2 -0
- package/dist/chunk-REWT6S7T.mjs +2 -0
- package/dist/chunk-RNJIGTJE.mjs +2 -0
- package/dist/chunk-RNUOEFLP.mjs +2 -0
- package/dist/chunk-RQTSJJ3V.mjs +6 -0
- package/dist/chunk-RRKL6KTE.mjs +2 -0
- package/dist/chunk-SAM6AF4Y.mjs +2 -0
- package/dist/chunk-SMHQYHDD.mjs +2 -0
- package/dist/chunk-SNXR2YAS.mjs +2 -0
- package/dist/chunk-SORM3PGH.mjs +2 -0
- package/dist/chunk-SPLH5W5R.mjs +2 -0
- package/dist/chunk-SV5IW3UT.mjs +2 -0
- package/dist/chunk-SXLXRGRM.mjs +2 -0
- package/dist/chunk-T7ML4JP4.mjs +2 -0
- package/dist/chunk-TGBSAZMI.mjs +6 -0
- package/dist/chunk-THQ6BCSE.mjs +2 -0
- package/dist/chunk-TOM3J6XQ.mjs +2 -0
- package/dist/chunk-TWJC5FBV.mjs +2 -0
- package/dist/chunk-TWL4GBQX.mjs +2 -0
- package/dist/chunk-TXOEBRJD.mjs +2 -0
- package/dist/chunk-TZE6DQL7.mjs +2 -0
- package/dist/chunk-UAI6OU5I.mjs +2 -0
- package/dist/chunk-UGJLCRZJ.mjs +2 -0
- package/dist/chunk-UGMI7JHM.mjs +6 -0
- package/dist/chunk-UQ53WNBL.mjs +2 -0
- package/dist/chunk-UQG475AX.mjs +6 -0
- package/dist/chunk-USX3GHGZ.mjs +2 -0
- package/dist/chunk-UX3FNFYY.mjs +2 -0
- package/dist/chunk-UZL3VDPW.mjs +2 -0
- package/dist/chunk-V367ZLHD.mjs +2 -0
- package/dist/chunk-V3REFLMQ.mjs +2 -0
- package/dist/chunk-V4B3TY4P.mjs +2 -0
- package/dist/chunk-V6CYMTUE.mjs +2 -0
- package/dist/chunk-V6Q7RAQ6.mjs +2 -0
- package/dist/chunk-VDJWTQ7K.mjs +2 -0
- package/dist/chunk-VEIPHYTM.mjs +2 -0
- package/dist/chunk-VF74UHOW.mjs +2 -0
- package/dist/chunk-VGAF532P.mjs +2 -0
- package/dist/chunk-VHHPYOBE.mjs +2 -0
- package/dist/chunk-VI4AGZAS.mjs +2 -0
- package/dist/chunk-VILA2CPZ.mjs +2 -0
- package/dist/chunk-VJIEB7PH.mjs +2 -0
- package/dist/chunk-VM3KDHFP.mjs +6 -0
- package/dist/chunk-VN7CMEQU.mjs +2 -0
- package/dist/chunk-VRMQDFWA.mjs +2 -0
- package/dist/chunk-VWVLO3UN.mjs +2 -0
- package/dist/chunk-W74XX6DF.mjs +2 -0
- package/dist/chunk-WCBGKDYJ.mjs +2 -0
- package/dist/chunk-WGJ64SOF.mjs +2 -0
- package/dist/chunk-WKHGPO7B.mjs +2 -0
- package/dist/chunk-WNKHL6BO.mjs +2 -0
- package/dist/chunk-X27HVIWJ.mjs +2 -0
- package/dist/chunk-X2X5RMNS.mjs +2 -0
- package/dist/chunk-XGYRMNAC.mjs +2 -0
- package/dist/chunk-XKBAWGZQ.mjs +2 -0
- package/dist/chunk-Y5OGJ44Z.mjs +2 -0
- package/dist/chunk-Y5ZEDVFT.mjs +2 -0
- package/dist/chunk-Y7ZY4ALF.mjs +2 -0
- package/dist/chunk-YB6Q4YAR.mjs +2 -0
- package/dist/chunk-YBIZWTBK.mjs +2 -0
- package/dist/chunk-YCKK7MKE.mjs +2 -0
- package/dist/chunk-YCVYFS5C.mjs +6 -0
- package/dist/chunk-YNLG72RG.mjs +2 -0
- package/dist/chunk-YX6BGBUK.mjs +2 -0
- package/dist/chunk-Z633ROAB.mjs +6 -0
- package/dist/chunk-ZFFH5KGV.mjs +2 -0
- package/dist/chunk-ZHXCYV2O.mjs +6 -0
- package/dist/chunk-ZKZOJWOW.mjs +2 -0
- package/dist/chunk-ZLSNPOU7.mjs +2 -0
- package/dist/chunk-ZNYEU7EO.mjs +2 -0
- package/dist/chunk-ZO7I6T3P.mjs +2 -0
- package/dist/chunk-ZU5ILJUQ.mjs +2 -0
- package/dist/chunk-ZVQPULYC.mjs +2 -0
- package/dist/chunk-ZZBVD2Z5.mjs +2 -0
- package/dist/combobox/index.d.ts +8 -0
- package/dist/combobox/index.mjs +1 -1
- package/dist/copy-button.mjs +1 -1
- package/dist/date-picker/date-range-picker.mjs +1 -1
- package/dist/date-picker/presets.mjs +1 -1
- package/dist/file-upload.d.ts +5 -1
- package/dist/file-upload.mjs +1 -1
- package/dist/filter/filter-select.mjs +1 -1
- package/dist/footer.mjs +1 -1
- package/dist/form.mjs +1 -1
- package/dist/icons/continents/index.mjs +1 -1
- package/dist/icons/elxo.d.ts +6 -0
- package/dist/icons/elxo.mjs +2 -0
- package/dist/icons/index.d.ts +8 -0
- package/dist/icons/index.mjs +1 -1
- package/dist/icons/nucleo/book2-fill.d.ts +6 -0
- package/dist/icons/nucleo/book2-fill.mjs +2 -0
- package/dist/icons/nucleo/bullet-list-fill.d.ts +6 -0
- package/dist/icons/nucleo/bullet-list-fill.mjs +2 -0
- package/dist/icons/nucleo/connected-dots-fill.d.ts +6 -0
- package/dist/icons/nucleo/connected-dots-fill.mjs +2 -0
- package/dist/icons/nucleo/cube-settings-fill.d.ts +6 -0
- package/dist/icons/nucleo/cube-settings-fill.mjs +2 -0
- package/dist/icons/nucleo/feather-fill.d.ts +6 -0
- package/dist/icons/nucleo/feather-fill.mjs +2 -0
- package/dist/icons/nucleo/headset-fill.d.ts +6 -0
- package/dist/icons/nucleo/headset-fill.mjs +2 -0
- package/dist/icons/nucleo/message-smile.d.ts +6 -0
- package/dist/icons/nucleo/message-smile.mjs +2 -0
- package/dist/icons/nucleo/toggle2-fill.d.ts +6 -0
- package/dist/icons/nucleo/toggle2-fill.mjs +2 -0
- package/dist/icons/product-hunt.mjs +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +19 -17
- package/dist/index.mjs +1 -1
- package/dist/input.mjs +1 -1
- package/dist/link-logo.mjs +1 -1
- package/dist/link-preview.mjs +1 -1
- package/dist/nav/content/graphics/analytics-graphic.d.ts +6 -0
- package/dist/nav/content/graphics/analytics-graphic.mjs +2 -0
- package/dist/nav/content/graphics/links-graphic.d.ts +6 -0
- package/dist/nav/content/graphics/links-graphic.mjs +2 -0
- package/dist/nav/content/product-content.mjs +1 -1
- package/dist/nav/content/resources-content.mjs +1 -1
- package/dist/nav/content/shared.d.ts +202 -4
- package/dist/nav/content/shared.mjs +1 -1
- package/dist/nav/content/solutions-content.mjs +1 -1
- package/dist/nav/nav-mobile.d.ts +2 -2
- package/dist/nav/nav-mobile.mjs +1 -1
- package/dist/nav/nav.d.ts +9 -5
- package/dist/nav/nav.mjs +1 -1
- package/dist/nav-wordmark.mjs +1 -1
- package/dist/status-badge.d.ts +8 -0
- package/dist/status-badge.mjs +1 -1
- package/dist/switch.mjs +1 -1
- package/dist/table/table.mjs +1 -1
- package/dist/tooltip.d.ts +1 -1
- package/dist/tooltip.mjs +1 -1
- package/dist/utm-builder.mjs +1 -1
- package/package.json +9 -9
package/dist/accordion.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client"
|
|
2
|
-
import{a,b,c,d}from"./chunk-T2HK3T52.mjs";import"./chunk-ZVVKJUPS.mjs";import"./chunk-OVTAY7FU.mjs";import"./chunk-6JPO26GL.mjs";import"./chunk-FW3IXMVC.mjs";import"./chunk-TMFXOLAX.mjs";import"./chunk-
|
|
2
|
+
import{a,b,c,d}from"./chunk-T2HK3T52.mjs";import"./chunk-ZVVKJUPS.mjs";import"./chunk-MNLN7LZE.mjs";import"./chunk-BY7XNYFM.mjs";import"./chunk-QUHV3IZ2.mjs";import"./chunk-I6SSHGQ2.mjs";import"./chunk-NWFYDNXB.mjs";import"./chunk-32C65ISH.mjs";import"./chunk-REMU6JDP.mjs";import"./chunk-6HFOWUNK.mjs";import"./chunk-IOEALVFO.mjs";import"./chunk-OVTAY7FU.mjs";import"./chunk-6JPO26GL.mjs";import"./chunk-FW3IXMVC.mjs";import"./chunk-TMFXOLAX.mjs";import"./chunk-42Y3WP6A.mjs";import"./chunk-PFE7XPKG.mjs";import"./chunk-BOPNDXYJ.mjs";import"./chunk-5OQYNH24.mjs";import"./chunk-XCO6TYE2.mjs";import"./chunk-H2RARDXL.mjs";import"./chunk-XN35HHUZ.mjs";import"./chunk-IQZRESCY.mjs";import"./chunk-NY3PZ2TI.mjs";import"./chunk-JGYE5FTZ.mjs";import"./chunk-6AQAUU4O.mjs";import"./chunk-RB2WIZ7A.mjs";import"./chunk-PMCEI57T.mjs";import"./chunk-ODZV737U.mjs";import"./chunk-JFSNPBO7.mjs";import"./chunk-XCEWXSTL.mjs";import"./chunk-LFGWL3ID.mjs";import"./chunk-TDNQCEQH.mjs";import"./chunk-HBXAUCXR.mjs";import"./chunk-IOYSFSEC.mjs";import"./chunk-C27HVKJD.mjs";import"./chunk-4KAIJ2PN.mjs";import"./chunk-XYT6BNIQ.mjs";import"./chunk-PFEGGWM6.mjs";import"./chunk-D7SRRREC.mjs";import"./chunk-R7WOWTGN.mjs";import"./chunk-VETEWFVX.mjs";import"./chunk-Z33FU5KI.mjs";import"./chunk-GATV5MAA.mjs";import"./chunk-WMTXO7RT.mjs";import"./chunk-QJT4D2U4.mjs";import"./chunk-EL3BJ5GH.mjs";import"./chunk-VX7JFYOR.mjs";import"./chunk-5B75SYSW.mjs";import"./chunk-XVZSZKJJ.mjs";import"./chunk-W4CSW63V.mjs";import"./chunk-QYPFWGYV.mjs";import"./chunk-XBFKTXNL.mjs";import"./chunk-CZSSD6PV.mjs";import"./chunk-U4QIRPVU.mjs";import"./chunk-LGBCPCZI.mjs";import"./chunk-RVNLURMM.mjs";import"./chunk-6C56DZRQ.mjs";import"./chunk-DDH3RGOS.mjs";import"./chunk-T3ITI5FJ.mjs";import"./chunk-4SJN7IJ6.mjs";import"./chunk-O2Q5X4BD.mjs";import"./chunk-SZYWGXLX.mjs";import"./chunk-JOEQFNPJ.mjs";import"./chunk-JBURS7BX.mjs";import"./chunk-BOCPUR5Z.mjs";import"./chunk-SBK5CRMY.mjs";import"./chunk-2UZEHBDA.mjs";import"./chunk-FY7WB6S2.mjs";import"./chunk-4QV6SMAW.mjs";import"./chunk-RKUUDTHF.mjs";import"./chunk-3IVWKAUU.mjs";import"./chunk-JMQAFRCL.mjs";import"./chunk-DJJD7VHE.mjs";import"./chunk-QC6GZ7KR.mjs";import"./chunk-LJHHBUDI.mjs";import"./chunk-PXGRN26D.mjs";import"./chunk-QOZBRSG3.mjs";import"./chunk-F6HJK2JJ.mjs";import"./chunk-GHXIGUPQ.mjs";import"./chunk-TYSFGS7L.mjs";import"./chunk-3W34NPBH.mjs";import"./chunk-AMIQBOQQ.mjs";import"./chunk-GM7MJ5YV.mjs";import"./chunk-FGMEH6RM.mjs";import"./chunk-2LH7TKKI.mjs";import"./chunk-GLJR2QX5.mjs";import"./chunk-7NSJS37T.mjs";import"./chunk-TBQBNOUS.mjs";import"./chunk-55MW6BPC.mjs";import"./chunk-SZVEVGDP.mjs";import"./chunk-QZR75WPQ.mjs";import"./chunk-HFXHAVJK.mjs";import"./chunk-RAPTAKTT.mjs";import"./chunk-R27OFGXD.mjs";import"./chunk-BQ3B4MQI.mjs";import"./chunk-OUWJF64C.mjs";import"./chunk-IORJDEOJ.mjs";import"./chunk-PT4MR4NI.mjs";import"./chunk-BPQSDPGU.mjs";import"./chunk-XGT4NSRV.mjs";import"./chunk-PGPTYK4W.mjs";import"./chunk-2D3MKMMF.mjs";import"./chunk-HVIS22UV.mjs";import"./chunk-OFJ6NAXR.mjs";import"./chunk-QDGGHFAX.mjs";import"./chunk-SMHQYHDD.mjs";import"./chunk-7JOFCAZW.mjs";import"./chunk-YA7GX4GF.mjs";import"./chunk-LYHBEXXT.mjs";import"./chunk-YIQYPU22.mjs";import"./chunk-ZHXYP44Q.mjs";import"./chunk-PFLLM2JW.mjs";import"./chunk-GUQEBYBS.mjs";import"./chunk-2AVTXLJA.mjs";import"./chunk-DWACNU5E.mjs";import"./chunk-GUX6WUDF.mjs";import"./chunk-4Y25GOWJ.mjs";import"./chunk-VHJB3C2A.mjs";import"./chunk-LGB6GSVV.mjs";import"./chunk-GV2NLM3E.mjs";import"./chunk-76AGPMGM.mjs";import"./chunk-B2EPEHHE.mjs";import"./chunk-CGL6YSX7.mjs";import"./chunk-IGIB6XZB.mjs";import"./chunk-GYE7FFDN.mjs";import"./chunk-UUJYTAK4.mjs";import"./chunk-EARKUZEZ.mjs";import"./chunk-HMVRLHWG.mjs";import"./chunk-G44IVXAF.mjs";import"./chunk-HRTLCZFX.mjs";import"./chunk-LPV7TLRR.mjs";import"./chunk-JW75YDRU.mjs";import"./chunk-JOLDVN3E.mjs";import"./chunk-IHTRL6TU.mjs";import"./chunk-5SQRHOY4.mjs";import"./chunk-2W2M7KTU.mjs";import"./chunk-PJI4TXKO.mjs";import"./chunk-PI7GNHXR.mjs";import"./chunk-Q4S6TICU.mjs";import"./chunk-HYPLE4VW.mjs";import"./chunk-CPSHJRFA.mjs";import"./chunk-EBZHILLP.mjs";import"./chunk-HIRKF4HX.mjs";import"./chunk-O5ED4ULH.mjs";import"./chunk-PPDVMHTN.mjs";import"./chunk-V7RF4LCH.mjs";import"./chunk-RPDL2PPU.mjs";import"./chunk-KDNSFAET.mjs";import"./chunk-SL26TEBJ.mjs";import"./chunk-3YI5TNDO.mjs";import"./chunk-UD2UJUXG.mjs";import"./chunk-XIZW7FK4.mjs";import"./chunk-3VUUSH47.mjs";import"./chunk-AMI5N7ZX.mjs";import"./chunk-X6BT5NYY.mjs";import"./chunk-46N6G2J3.mjs";import"./chunk-36GFRX4D.mjs";import"./chunk-EUTTYXT5.mjs";import"./chunk-INQSSLYX.mjs";import"./chunk-EX6WLDZE.mjs";import"./chunk-2COCR43F.mjs";import"./chunk-IODGUY4G.mjs";import"./chunk-KCK3HMV3.mjs";import"./chunk-URNITXJC.mjs";import"./chunk-CXZ46GWC.mjs";import"./chunk-6GOS2GMN.mjs";import"./chunk-L4FA5VZW.mjs";import"./chunk-KUT7JPA7.mjs";import"./chunk-TNAH7N5Q.mjs";import"./chunk-FEQK6SUB.mjs";import"./chunk-EHYVEIOL.mjs";import"./chunk-DMUERTF2.mjs";import"./chunk-5UDLEOOZ.mjs";import"./chunk-PDSUXFDU.mjs";import"./chunk-E6VJQMTO.mjs";import"./chunk-AIVHYQG5.mjs";import"./chunk-YURUGH4S.mjs";import"./chunk-2TGXECZQ.mjs";import"./chunk-PRJVDP45.mjs";import"./chunk-NPWONPKN.mjs";import"./chunk-DWW2DMGM.mjs";import"./chunk-KYMBX7DZ.mjs";import"./chunk-2LBJI2KO.mjs";import"./chunk-MURAUI3W.mjs";import"./chunk-ALEYOCBW.mjs";import"./chunk-ZJICX3BL.mjs";import"./chunk-HJMQR6M2.mjs";import"./chunk-RSJ6GSD7.mjs";import"./chunk-NAHB2RQQ.mjs";import"./chunk-CUYZMDRN.mjs";import"./chunk-XSZV33MB.mjs";import"./chunk-BKZ6TNZC.mjs";import"./chunk-IYVNIXK5.mjs";import"./chunk-HVAJT6I7.mjs";import"./chunk-AUBFB4SI.mjs";export{a as Accordion,d as AccordionContent,b as AccordionItem,c as AccordionTrigger};
|
|
@@ -10,13 +10,15 @@ declare const AnimatedSizeContainer: react.ForwardRefExoticComponent<{
|
|
|
10
10
|
} & {
|
|
11
11
|
children?: react.ReactNode;
|
|
12
12
|
} & Omit<Omit<{
|
|
13
|
-
|
|
13
|
+
slot?: string | undefined;
|
|
14
|
+
title?: string | undefined;
|
|
14
15
|
defaultChecked?: boolean | undefined;
|
|
15
16
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
16
17
|
suppressContentEditableWarning?: boolean | undefined;
|
|
17
18
|
suppressHydrationWarning?: boolean | undefined;
|
|
18
19
|
accessKey?: string | undefined;
|
|
19
20
|
autoFocus?: boolean | undefined;
|
|
21
|
+
className?: string | undefined;
|
|
20
22
|
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
21
23
|
contextMenu?: string | undefined;
|
|
22
24
|
dir?: string | undefined;
|
|
@@ -25,10 +27,8 @@ declare const AnimatedSizeContainer: react.ForwardRefExoticComponent<{
|
|
|
25
27
|
id?: string | undefined;
|
|
26
28
|
lang?: string | undefined;
|
|
27
29
|
nonce?: string | undefined;
|
|
28
|
-
slot?: string | undefined;
|
|
29
30
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
30
31
|
tabIndex?: number | undefined;
|
|
31
|
-
title?: string | undefined;
|
|
32
32
|
translate?: "yes" | "no" | undefined;
|
|
33
33
|
radioGroup?: string | undefined;
|
|
34
34
|
role?: react.AriaRole | undefined;
|
|
@@ -55,7 +55,7 @@ declare const AnimatedSizeContainer: react.ForwardRefExoticComponent<{
|
|
|
55
55
|
results?: number | undefined;
|
|
56
56
|
security?: string | undefined;
|
|
57
57
|
unselectable?: "on" | "off" | undefined;
|
|
58
|
-
inputMode?: "search" | "
|
|
58
|
+
inputMode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
59
59
|
is?: string | undefined;
|
|
60
60
|
tw?: string | undefined;
|
|
61
61
|
"aria-activedescendant"?: string | undefined;
|
|
@@ -70,17 +70,17 @@ declare const AnimatedSizeContainer: react.ForwardRefExoticComponent<{
|
|
|
70
70
|
"aria-colindextext"?: string | undefined;
|
|
71
71
|
"aria-colspan"?: number | undefined;
|
|
72
72
|
"aria-controls"?: string | undefined;
|
|
73
|
-
"aria-current"?: boolean | "
|
|
73
|
+
"aria-current"?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
|
|
74
74
|
"aria-describedby"?: string | undefined;
|
|
75
75
|
"aria-description"?: string | undefined;
|
|
76
76
|
"aria-details"?: string | undefined;
|
|
77
77
|
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
78
|
-
"aria-dropeffect"?: "link" | "none" | "copy" | "
|
|
78
|
+
"aria-dropeffect"?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
|
|
79
79
|
"aria-errormessage"?: string | undefined;
|
|
80
80
|
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
81
81
|
"aria-flowto"?: string | undefined;
|
|
82
82
|
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
83
|
-
"aria-haspopup"?: boolean | "
|
|
83
|
+
"aria-haspopup"?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
|
|
84
84
|
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
85
85
|
"aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
86
86
|
"aria-keyshortcuts"?: string | undefined;
|
|
@@ -97,7 +97,7 @@ declare const AnimatedSizeContainer: react.ForwardRefExoticComponent<{
|
|
|
97
97
|
"aria-posinset"?: number | undefined;
|
|
98
98
|
"aria-pressed"?: boolean | "true" | "false" | "mixed" | undefined;
|
|
99
99
|
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
100
|
-
"aria-relevant"?: "text" | "
|
|
100
|
+
"aria-relevant"?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
101
101
|
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
102
102
|
"aria-roledescription"?: string | undefined;
|
|
103
103
|
"aria-rowcount"?: number | undefined;
|
|
@@ -272,6 +272,6 @@ declare const AnimatedSizeContainer: react.ForwardRefExoticComponent<{
|
|
|
272
272
|
onAnimationIterationCapture?: react.AnimationEventHandler<HTMLDivElement> | undefined;
|
|
273
273
|
onTransitionEnd?: react.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
274
274
|
onTransitionEndCapture?: react.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
275
|
-
} & framer_motion.MotionProps & react.RefAttributes<HTMLDivElement>, "ref">, "
|
|
275
|
+
} & framer_motion.MotionProps & react.RefAttributes<HTMLDivElement>, "ref">, "animate" | "children"> & react.RefAttributes<HTMLDivElement>>;
|
|
276
276
|
|
|
277
277
|
export { AnimatedSizeContainer };
|
package/dist/badge.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import * as class_variance_authority_dist_types from 'class-variance-authority/d
|
|
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
|
4
4
|
|
|
5
5
|
declare const badgeVariants: (props?: ({
|
|
6
|
-
variant?: "
|
|
6
|
+
variant?: "black" | "blue" | "gray" | "violet" | "default" | "sky" | "neutral" | "blueGradient" | "rainbow" | null | undefined;
|
|
7
7
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
8
8
|
interface BadgeProps extends React.HTMLAttributes<HTMLSpanElement>, VariantProps<typeof badgeVariants> {
|
|
9
9
|
}
|
package/dist/button.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client"
|
|
2
|
-
import{j as a,k as b}from"./chunk-ER4DXXJA.mjs";import"./chunk-ZVVKJUPS.mjs";import"./chunk-OVTAY7FU.mjs";import"./chunk-6JPO26GL.mjs";import"./chunk-FW3IXMVC.mjs";import"./chunk-TMFXOLAX.mjs";import"./chunk-
|
|
2
|
+
import{j as a,k as b}from"./chunk-ER4DXXJA.mjs";import"./chunk-ZVVKJUPS.mjs";import"./chunk-MNLN7LZE.mjs";import"./chunk-BY7XNYFM.mjs";import"./chunk-QUHV3IZ2.mjs";import"./chunk-I6SSHGQ2.mjs";import"./chunk-NWFYDNXB.mjs";import"./chunk-32C65ISH.mjs";import"./chunk-REMU6JDP.mjs";import"./chunk-6HFOWUNK.mjs";import"./chunk-IOEALVFO.mjs";import"./chunk-OVTAY7FU.mjs";import"./chunk-6JPO26GL.mjs";import"./chunk-FW3IXMVC.mjs";import"./chunk-TMFXOLAX.mjs";import"./chunk-42Y3WP6A.mjs";import"./chunk-PFE7XPKG.mjs";import"./chunk-BOPNDXYJ.mjs";import"./chunk-5OQYNH24.mjs";import"./chunk-XCO6TYE2.mjs";import"./chunk-H2RARDXL.mjs";import"./chunk-XN35HHUZ.mjs";import"./chunk-IQZRESCY.mjs";import"./chunk-NY3PZ2TI.mjs";import"./chunk-JGYE5FTZ.mjs";import"./chunk-6AQAUU4O.mjs";import"./chunk-RB2WIZ7A.mjs";import"./chunk-PMCEI57T.mjs";import"./chunk-ODZV737U.mjs";import"./chunk-JFSNPBO7.mjs";import"./chunk-XCEWXSTL.mjs";import"./chunk-LFGWL3ID.mjs";import"./chunk-TDNQCEQH.mjs";import"./chunk-HBXAUCXR.mjs";import"./chunk-IOYSFSEC.mjs";import"./chunk-C27HVKJD.mjs";import"./chunk-4KAIJ2PN.mjs";import"./chunk-XYT6BNIQ.mjs";import"./chunk-PFEGGWM6.mjs";import"./chunk-D7SRRREC.mjs";import"./chunk-R7WOWTGN.mjs";import"./chunk-VETEWFVX.mjs";import"./chunk-Z33FU5KI.mjs";import"./chunk-GATV5MAA.mjs";import"./chunk-WMTXO7RT.mjs";import"./chunk-QJT4D2U4.mjs";import"./chunk-EL3BJ5GH.mjs";import"./chunk-VX7JFYOR.mjs";import"./chunk-5B75SYSW.mjs";import"./chunk-XVZSZKJJ.mjs";import"./chunk-W4CSW63V.mjs";import"./chunk-QYPFWGYV.mjs";import"./chunk-XBFKTXNL.mjs";import"./chunk-CZSSD6PV.mjs";import"./chunk-U4QIRPVU.mjs";import"./chunk-LGBCPCZI.mjs";import"./chunk-RVNLURMM.mjs";import"./chunk-6C56DZRQ.mjs";import"./chunk-DDH3RGOS.mjs";import"./chunk-T3ITI5FJ.mjs";import"./chunk-4SJN7IJ6.mjs";import"./chunk-O2Q5X4BD.mjs";import"./chunk-SZYWGXLX.mjs";import"./chunk-JOEQFNPJ.mjs";import"./chunk-JBURS7BX.mjs";import"./chunk-BOCPUR5Z.mjs";import"./chunk-SBK5CRMY.mjs";import"./chunk-2UZEHBDA.mjs";import"./chunk-FY7WB6S2.mjs";import"./chunk-4QV6SMAW.mjs";import"./chunk-RKUUDTHF.mjs";import"./chunk-3IVWKAUU.mjs";import"./chunk-JMQAFRCL.mjs";import"./chunk-DJJD7VHE.mjs";import"./chunk-QC6GZ7KR.mjs";import"./chunk-LJHHBUDI.mjs";import"./chunk-PXGRN26D.mjs";import"./chunk-QOZBRSG3.mjs";import"./chunk-F6HJK2JJ.mjs";import"./chunk-GHXIGUPQ.mjs";import"./chunk-TYSFGS7L.mjs";import"./chunk-3W34NPBH.mjs";import"./chunk-AMIQBOQQ.mjs";import"./chunk-GM7MJ5YV.mjs";import"./chunk-FGMEH6RM.mjs";import"./chunk-2LH7TKKI.mjs";import"./chunk-GLJR2QX5.mjs";import"./chunk-7NSJS37T.mjs";import"./chunk-TBQBNOUS.mjs";import"./chunk-55MW6BPC.mjs";import"./chunk-SZVEVGDP.mjs";import"./chunk-QZR75WPQ.mjs";import"./chunk-HFXHAVJK.mjs";import"./chunk-RAPTAKTT.mjs";import"./chunk-R27OFGXD.mjs";import"./chunk-BQ3B4MQI.mjs";import"./chunk-OUWJF64C.mjs";import"./chunk-IORJDEOJ.mjs";import"./chunk-PT4MR4NI.mjs";import"./chunk-BPQSDPGU.mjs";import"./chunk-XGT4NSRV.mjs";import"./chunk-PGPTYK4W.mjs";import"./chunk-2D3MKMMF.mjs";import"./chunk-HVIS22UV.mjs";import"./chunk-OFJ6NAXR.mjs";import"./chunk-QDGGHFAX.mjs";import"./chunk-SMHQYHDD.mjs";import"./chunk-7JOFCAZW.mjs";import"./chunk-YA7GX4GF.mjs";import"./chunk-LYHBEXXT.mjs";import"./chunk-YIQYPU22.mjs";import"./chunk-ZHXYP44Q.mjs";import"./chunk-PFLLM2JW.mjs";import"./chunk-GUQEBYBS.mjs";import"./chunk-2AVTXLJA.mjs";import"./chunk-DWACNU5E.mjs";import"./chunk-GUX6WUDF.mjs";import"./chunk-4Y25GOWJ.mjs";import"./chunk-VHJB3C2A.mjs";import"./chunk-LGB6GSVV.mjs";import"./chunk-GV2NLM3E.mjs";import"./chunk-76AGPMGM.mjs";import"./chunk-B2EPEHHE.mjs";import"./chunk-CGL6YSX7.mjs";import"./chunk-IGIB6XZB.mjs";import"./chunk-GYE7FFDN.mjs";import"./chunk-UUJYTAK4.mjs";import"./chunk-EARKUZEZ.mjs";import"./chunk-HMVRLHWG.mjs";import"./chunk-G44IVXAF.mjs";import"./chunk-HRTLCZFX.mjs";import"./chunk-LPV7TLRR.mjs";import"./chunk-JW75YDRU.mjs";import"./chunk-JOLDVN3E.mjs";import"./chunk-IHTRL6TU.mjs";import"./chunk-5SQRHOY4.mjs";import"./chunk-2W2M7KTU.mjs";import"./chunk-PJI4TXKO.mjs";import"./chunk-PI7GNHXR.mjs";import"./chunk-Q4S6TICU.mjs";import"./chunk-HYPLE4VW.mjs";import"./chunk-CPSHJRFA.mjs";import"./chunk-EBZHILLP.mjs";import"./chunk-HIRKF4HX.mjs";import"./chunk-O5ED4ULH.mjs";import"./chunk-PPDVMHTN.mjs";import"./chunk-V7RF4LCH.mjs";import"./chunk-RPDL2PPU.mjs";import"./chunk-KDNSFAET.mjs";import"./chunk-SL26TEBJ.mjs";import"./chunk-3YI5TNDO.mjs";import"./chunk-UD2UJUXG.mjs";import"./chunk-XIZW7FK4.mjs";import"./chunk-3VUUSH47.mjs";import"./chunk-AMI5N7ZX.mjs";import"./chunk-X6BT5NYY.mjs";import"./chunk-46N6G2J3.mjs";import"./chunk-36GFRX4D.mjs";import"./chunk-EUTTYXT5.mjs";import"./chunk-INQSSLYX.mjs";import"./chunk-EX6WLDZE.mjs";import"./chunk-2COCR43F.mjs";import"./chunk-IODGUY4G.mjs";import"./chunk-KCK3HMV3.mjs";import"./chunk-URNITXJC.mjs";import"./chunk-CXZ46GWC.mjs";import"./chunk-6GOS2GMN.mjs";import"./chunk-L4FA5VZW.mjs";import"./chunk-KUT7JPA7.mjs";import"./chunk-TNAH7N5Q.mjs";import"./chunk-FEQK6SUB.mjs";import"./chunk-EHYVEIOL.mjs";import"./chunk-DMUERTF2.mjs";import"./chunk-5UDLEOOZ.mjs";import"./chunk-PDSUXFDU.mjs";import"./chunk-E6VJQMTO.mjs";import"./chunk-AIVHYQG5.mjs";import"./chunk-YURUGH4S.mjs";import"./chunk-2TGXECZQ.mjs";import"./chunk-PRJVDP45.mjs";import"./chunk-NPWONPKN.mjs";import"./chunk-DWW2DMGM.mjs";import"./chunk-KYMBX7DZ.mjs";import"./chunk-2LBJI2KO.mjs";import"./chunk-MURAUI3W.mjs";import"./chunk-ALEYOCBW.mjs";import"./chunk-ZJICX3BL.mjs";import"./chunk-HJMQR6M2.mjs";import"./chunk-RSJ6GSD7.mjs";import"./chunk-NAHB2RQQ.mjs";import"./chunk-CUYZMDRN.mjs";import"./chunk-XSZV33MB.mjs";import"./chunk-BKZ6TNZC.mjs";import"./chunk-IYVNIXK5.mjs";import"./chunk-KORZXM6V.mjs";import"./chunk-HVAJT6I7.mjs";import"./chunk-AUBFB4SI.mjs";export{b as Button,a as buttonVariants};
|
package/dist/carousel.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client"
|
|
2
|
-
import{a,b,c,d,e,f,g,h,i}from"./chunk-KHMF6NJG.mjs";import"./chunk-ER4DXXJA.mjs";import"./chunk-ZVVKJUPS.mjs";import"./chunk-OVTAY7FU.mjs";import"./chunk-6JPO26GL.mjs";import"./chunk-FW3IXMVC.mjs";import"./chunk-TMFXOLAX.mjs";import"./chunk-
|
|
2
|
+
import{a,b,c,d,e,f,g,h,i}from"./chunk-KHMF6NJG.mjs";import"./chunk-ER4DXXJA.mjs";import"./chunk-ZVVKJUPS.mjs";import"./chunk-MNLN7LZE.mjs";import"./chunk-BY7XNYFM.mjs";import"./chunk-QUHV3IZ2.mjs";import"./chunk-I6SSHGQ2.mjs";import"./chunk-NWFYDNXB.mjs";import"./chunk-32C65ISH.mjs";import"./chunk-REMU6JDP.mjs";import"./chunk-6HFOWUNK.mjs";import"./chunk-IOEALVFO.mjs";import"./chunk-OVTAY7FU.mjs";import"./chunk-6JPO26GL.mjs";import"./chunk-FW3IXMVC.mjs";import"./chunk-TMFXOLAX.mjs";import"./chunk-42Y3WP6A.mjs";import"./chunk-PFE7XPKG.mjs";import"./chunk-BOPNDXYJ.mjs";import"./chunk-5OQYNH24.mjs";import"./chunk-XCO6TYE2.mjs";import"./chunk-H2RARDXL.mjs";import"./chunk-XN35HHUZ.mjs";import"./chunk-IQZRESCY.mjs";import"./chunk-NY3PZ2TI.mjs";import"./chunk-JGYE5FTZ.mjs";import"./chunk-6AQAUU4O.mjs";import"./chunk-RB2WIZ7A.mjs";import"./chunk-PMCEI57T.mjs";import"./chunk-ODZV737U.mjs";import"./chunk-JFSNPBO7.mjs";import"./chunk-XCEWXSTL.mjs";import"./chunk-LFGWL3ID.mjs";import"./chunk-TDNQCEQH.mjs";import"./chunk-HBXAUCXR.mjs";import"./chunk-IOYSFSEC.mjs";import"./chunk-C27HVKJD.mjs";import"./chunk-4KAIJ2PN.mjs";import"./chunk-XYT6BNIQ.mjs";import"./chunk-PFEGGWM6.mjs";import"./chunk-D7SRRREC.mjs";import"./chunk-R7WOWTGN.mjs";import"./chunk-VETEWFVX.mjs";import"./chunk-Z33FU5KI.mjs";import"./chunk-GATV5MAA.mjs";import"./chunk-WMTXO7RT.mjs";import"./chunk-QJT4D2U4.mjs";import"./chunk-EL3BJ5GH.mjs";import"./chunk-VX7JFYOR.mjs";import"./chunk-5B75SYSW.mjs";import"./chunk-XVZSZKJJ.mjs";import"./chunk-W4CSW63V.mjs";import"./chunk-QYPFWGYV.mjs";import"./chunk-XBFKTXNL.mjs";import"./chunk-CZSSD6PV.mjs";import"./chunk-U4QIRPVU.mjs";import"./chunk-LGBCPCZI.mjs";import"./chunk-RVNLURMM.mjs";import"./chunk-6C56DZRQ.mjs";import"./chunk-DDH3RGOS.mjs";import"./chunk-T3ITI5FJ.mjs";import"./chunk-4SJN7IJ6.mjs";import"./chunk-O2Q5X4BD.mjs";import"./chunk-SZYWGXLX.mjs";import"./chunk-JOEQFNPJ.mjs";import"./chunk-JBURS7BX.mjs";import"./chunk-BOCPUR5Z.mjs";import"./chunk-SBK5CRMY.mjs";import"./chunk-2UZEHBDA.mjs";import"./chunk-FY7WB6S2.mjs";import"./chunk-4QV6SMAW.mjs";import"./chunk-RKUUDTHF.mjs";import"./chunk-3IVWKAUU.mjs";import"./chunk-JMQAFRCL.mjs";import"./chunk-DJJD7VHE.mjs";import"./chunk-QC6GZ7KR.mjs";import"./chunk-LJHHBUDI.mjs";import"./chunk-PXGRN26D.mjs";import"./chunk-QOZBRSG3.mjs";import"./chunk-F6HJK2JJ.mjs";import"./chunk-GHXIGUPQ.mjs";import"./chunk-TYSFGS7L.mjs";import"./chunk-3W34NPBH.mjs";import"./chunk-AMIQBOQQ.mjs";import"./chunk-GM7MJ5YV.mjs";import"./chunk-FGMEH6RM.mjs";import"./chunk-2LH7TKKI.mjs";import"./chunk-GLJR2QX5.mjs";import"./chunk-7NSJS37T.mjs";import"./chunk-TBQBNOUS.mjs";import"./chunk-55MW6BPC.mjs";import"./chunk-SZVEVGDP.mjs";import"./chunk-QZR75WPQ.mjs";import"./chunk-HFXHAVJK.mjs";import"./chunk-RAPTAKTT.mjs";import"./chunk-R27OFGXD.mjs";import"./chunk-BQ3B4MQI.mjs";import"./chunk-OUWJF64C.mjs";import"./chunk-IORJDEOJ.mjs";import"./chunk-PT4MR4NI.mjs";import"./chunk-BPQSDPGU.mjs";import"./chunk-XGT4NSRV.mjs";import"./chunk-PGPTYK4W.mjs";import"./chunk-2D3MKMMF.mjs";import"./chunk-HVIS22UV.mjs";import"./chunk-OFJ6NAXR.mjs";import"./chunk-QDGGHFAX.mjs";import"./chunk-SMHQYHDD.mjs";import"./chunk-7JOFCAZW.mjs";import"./chunk-YA7GX4GF.mjs";import"./chunk-LYHBEXXT.mjs";import"./chunk-YIQYPU22.mjs";import"./chunk-ZHXYP44Q.mjs";import"./chunk-PFLLM2JW.mjs";import"./chunk-GUQEBYBS.mjs";import"./chunk-2AVTXLJA.mjs";import"./chunk-DWACNU5E.mjs";import"./chunk-GUX6WUDF.mjs";import"./chunk-4Y25GOWJ.mjs";import"./chunk-VHJB3C2A.mjs";import"./chunk-LGB6GSVV.mjs";import"./chunk-GV2NLM3E.mjs";import"./chunk-76AGPMGM.mjs";import"./chunk-B2EPEHHE.mjs";import"./chunk-CGL6YSX7.mjs";import"./chunk-IGIB6XZB.mjs";import"./chunk-GYE7FFDN.mjs";import"./chunk-UUJYTAK4.mjs";import"./chunk-EARKUZEZ.mjs";import"./chunk-HMVRLHWG.mjs";import"./chunk-G44IVXAF.mjs";import"./chunk-HRTLCZFX.mjs";import"./chunk-LPV7TLRR.mjs";import"./chunk-JW75YDRU.mjs";import"./chunk-JOLDVN3E.mjs";import"./chunk-IHTRL6TU.mjs";import"./chunk-5SQRHOY4.mjs";import"./chunk-2W2M7KTU.mjs";import"./chunk-PJI4TXKO.mjs";import"./chunk-PI7GNHXR.mjs";import"./chunk-Q4S6TICU.mjs";import"./chunk-HYPLE4VW.mjs";import"./chunk-CPSHJRFA.mjs";import"./chunk-EBZHILLP.mjs";import"./chunk-HIRKF4HX.mjs";import"./chunk-O5ED4ULH.mjs";import"./chunk-PPDVMHTN.mjs";import"./chunk-V7RF4LCH.mjs";import"./chunk-RPDL2PPU.mjs";import"./chunk-KDNSFAET.mjs";import"./chunk-SL26TEBJ.mjs";import"./chunk-3YI5TNDO.mjs";import"./chunk-UD2UJUXG.mjs";import"./chunk-XIZW7FK4.mjs";import"./chunk-3VUUSH47.mjs";import"./chunk-AMI5N7ZX.mjs";import"./chunk-X6BT5NYY.mjs";import"./chunk-46N6G2J3.mjs";import"./chunk-36GFRX4D.mjs";import"./chunk-EUTTYXT5.mjs";import"./chunk-INQSSLYX.mjs";import"./chunk-EX6WLDZE.mjs";import"./chunk-2COCR43F.mjs";import"./chunk-IODGUY4G.mjs";import"./chunk-KCK3HMV3.mjs";import"./chunk-URNITXJC.mjs";import"./chunk-CXZ46GWC.mjs";import"./chunk-6GOS2GMN.mjs";import"./chunk-L4FA5VZW.mjs";import"./chunk-KUT7JPA7.mjs";import"./chunk-TNAH7N5Q.mjs";import"./chunk-FEQK6SUB.mjs";import"./chunk-EHYVEIOL.mjs";import"./chunk-DMUERTF2.mjs";import"./chunk-5UDLEOOZ.mjs";import"./chunk-PDSUXFDU.mjs";import"./chunk-E6VJQMTO.mjs";import"./chunk-AIVHYQG5.mjs";import"./chunk-YURUGH4S.mjs";import"./chunk-2TGXECZQ.mjs";import"./chunk-PRJVDP45.mjs";import"./chunk-NPWONPKN.mjs";import"./chunk-DWW2DMGM.mjs";import"./chunk-KYMBX7DZ.mjs";import"./chunk-2LBJI2KO.mjs";import"./chunk-MURAUI3W.mjs";import"./chunk-ALEYOCBW.mjs";import"./chunk-ZJICX3BL.mjs";import"./chunk-HJMQR6M2.mjs";import"./chunk-RSJ6GSD7.mjs";import"./chunk-NAHB2RQQ.mjs";import"./chunk-CUYZMDRN.mjs";import"./chunk-XSZV33MB.mjs";import"./chunk-BKZ6TNZC.mjs";import"./chunk-IYVNIXK5.mjs";import"./chunk-KORZXM6V.mjs";import"./chunk-HVAJT6I7.mjs";import"./chunk-AUBFB4SI.mjs";export{a as AUTOPLAY_DEFAULT_DELAY,d as Carousel,e as CarouselContent,f as CarouselItem,i as CarouselNavBar,h as CarouselNext,g as CarouselPrevious,b as useCarousel,c as useCarouselActiveIndex};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as h}from"./chunk-AY63N3KD.mjs";import{a as f}from"./chunk-LUCC6FPP.mjs";import{b as g,f as b}from"./chunk-L2QX56SG.mjs";import{a as c,c as l,f as v}from"./chunk-7O4GRGY4.mjs";import{a as u}from"./chunk-5OQYNH24.mjs";import{a as p}from"./chunk-SMHQYHDD.mjs";import{i,m as n}from"./chunk-HVAJT6I7.mjs";import k from"next/link";import{jsx as e,jsxs as a}from"react/jsx-runtime";var w=[{title:"Dub API",description:"Programmatic link creation at scale",icon:p,href:"/docs/api-reference/introduction"},{title:"Dub Integrations",description:"Connect Dub with your favorite tools",icon:u,href:"/docs/integrations"}];function S({domain:t}){return a("div",{className:"grid w-[1020px] grid-cols-[repeat(2,minmax(0,1fr)),0.8fr] gap-4 p-5",children:[a(k,{href:i("/home",t),className:"group relative flex flex-col rounded-xl border border-neutral-100 bg-neutral-50 dark:border-white/20 dark:bg-white/10",children:[a("div",{className:"p-5 pb-0",children:[e("span",{className:"text-sm font-medium text-neutral-900 dark:text-white",children:"Dub Links"}),e("p",{className:"mt-3 max-w-56 text-sm text-neutral-500 dark:text-white/60",children:"Short links with superpowers for the modern marketer"})]}),e("div",{className:"relative grow overflow-hidden",children:e(f,{className:"absolute bottom-0 h-auto w-full [mask-image:linear-gradient(transparent,black_20%,black_80%,transparent)]"})}),e("div",{className:"pointer-events-none absolute inset-0 bg-[radial-gradient(circle_at_50%_100%,#f4950c,transparent)] opacity-[0.07] transition-opacity group-hover:opacity-[0.12]"})]}),a("div",{className:"flex flex-col gap-4",children:[a(k,{href:i("/help/article/dub-analytics",t),className:"group relative flex flex-col overflow-hidden rounded-xl border border-neutral-100 bg-neutral-50 dark:border-white/20 dark:bg-white/10",children:[e(h,{className:"absolute bottom-0 h-auto w-full translate-y-[15%] [mask-image:linear-gradient(90deg,transparent,black)]"}),e("div",{className:"pointer-events-none absolute inset-0 bg-[radial-gradient(circle_at_50%_100%,#36D78F,transparent)] opacity-[0.07] transition-opacity group-hover:opacity-[0.12]"}),a("div",{className:"h-56 p-5",children:[e("span",{className:"text-sm font-medium text-neutral-900 dark:text-white",children:"Dub Analytics"}),e("p",{className:"mt-3 max-w-48 text-sm text-neutral-500 dark:text-white/60",children:"Powerful real-time analytics"})]})]}),e("div",{className:"grid grow grid-rows-2 gap-4",children:w.map(({title:r,description:o,icon:s,href:m})=>e(v,{title:r,description:o,icon:s,href:i(m,t)},r))})]}),a("div",{className:"pl-2 pt-2",children:[e("p",{className:n(c,"mb-2"),children:"Customer Stories"}),a("div",{className:"grid grid-cols-1",children:[g.map(({icon:r,iconClassName:o,title:s,description:m,href:d})=>e(l,{href:i(d,t,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:t,utm_content:s}),className:"-mx-2",icon:e("div",{className:"shrink-0 rounded-[10px] border border-gray-200 bg-white/50 p-2 dark:border-white/20 dark:bg-white/10",children:e(r,{className:n("h-4 w-4 shrink-0 text-gray-600 transition-colors dark:text-white/60",o)})}),title:s,description:m},d)),e(l,{href:i("/customers",t,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:t,utm_content:"Customer Stories"}),title:"View all stories",showArrow:!0})]}),e("p",{className:n(c,"mb-2 mt-5"),children:"Compare"}),e("div",{className:"flex flex-col",children:b.map(({name:r,slug:o})=>e(l,{href:i(`/compare/${o}`,t,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:t,utm_content:`Dub vs. ${r}`}),title:`Dub vs. ${r}`,showArrow:!0},o))})]})]})}export{S as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as h}from"./chunk-AY63N3KD.mjs";import{a as v}from"./chunk-LUCC6FPP.mjs";import{b as g,e as b}from"./chunk-GKQ6TXG4.mjs";import{a as c,c as l,f}from"./chunk-N4B7OYMT.mjs";import{a as p}from"./chunk-NLOU42R7.mjs";import{a as u}from"./chunk-SMHQYHDD.mjs";import{i,m as n}from"./chunk-HVAJT6I7.mjs";import k from"next/link";import{jsx as e,jsxs as a}from"react/jsx-runtime";var w=[{title:"Dub API",description:"Programmatic link creation at scale",icon:u,href:"/docs/api-reference/introduction"},{title:"Dub Integrations",description:"Connect Dub with your favorite tools",icon:p,href:"/docs/integrations"}];function S({domain:t}){return a("div",{className:"grid w-[1020px] grid-cols-[repeat(2,minmax(0,1fr)),0.8fr] gap-4 p-5",children:[a(k,{href:i("/home",t),className:"group relative flex flex-col rounded-xl border border-neutral-100 bg-neutral-50 dark:border-white/20 dark:bg-white/10",children:[a("div",{className:"p-5 pb-0",children:[e("span",{className:"text-sm font-medium text-neutral-900 dark:text-white",children:"Dub Links"}),e("p",{className:"mt-3 max-w-56 text-sm text-neutral-500 dark:text-white/60",children:"Short links with superpowers for the modern marketer"})]}),e("div",{className:"relative grow overflow-hidden",children:e(v,{className:"absolute bottom-0 h-auto w-full [mask-image:linear-gradient(transparent,black_20%,black_80%,transparent)]"})}),e("div",{className:"pointer-events-none absolute inset-0 bg-[radial-gradient(circle_at_50%_100%,#f4950c,transparent)] opacity-[0.07] transition-opacity duration-150 group-hover:opacity-[0.2]"})]}),a("div",{className:"flex flex-col gap-4",children:[a(k,{href:i("/help/article/dub-analytics",t),className:"group relative flex flex-col overflow-hidden rounded-xl border border-neutral-100 bg-neutral-50 dark:border-white/20 dark:bg-white/10",children:[e(h,{className:"absolute bottom-0 h-auto w-full translate-y-[15%] [mask-image:linear-gradient(90deg,transparent,black)]"}),e("div",{className:"pointer-events-none absolute inset-0 bg-[radial-gradient(circle_at_50%_100%,#36D78F,transparent)] opacity-[0.07] transition-opacity duration-150 group-hover:opacity-[0.2]"}),a("div",{className:"h-56 p-5",children:[e("span",{className:"text-sm font-medium text-neutral-900 dark:text-white",children:"Dub Analytics"}),e("p",{className:"mt-3 max-w-48 text-sm text-neutral-500 dark:text-white/60",children:"Powerful real-time analytics with conversion tracking"})]})]}),e("div",{className:"grid grow grid-rows-2 gap-4",children:w.map(({title:r,description:o,icon:s,href:m})=>e(f,{title:r,description:o,icon:s,href:i(m,t)},r))})]}),a("div",{className:"pl-2 pt-2",children:[e("p",{className:n(c,"mb-2"),children:"Customer Stories"}),a("div",{className:"grid grid-cols-1",children:[g.map(({icon:r,iconClassName:o,title:s,description:m,href:d})=>e(l,{href:i(d,t,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:t,utm_content:s}),className:"-mx-2",icon:e("div",{className:"shrink-0 rounded-[10px] border border-gray-200 bg-white/50 p-2 dark:border-white/20 dark:bg-white/10",children:e(r,{className:n("h-4 w-4 shrink-0 text-gray-600 transition-colors dark:text-white/60",o)})}),title:s,description:m},d)),e(l,{href:i("/customers",t,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:t,utm_content:"Customer Stories"}),title:"View all stories",showArrow:!0})]}),e("p",{className:n(c,"mb-2 mt-5"),children:"Compare"}),e("div",{className:"flex flex-col",children:b.map(({name:r,slug:o})=>e(l,{href:i(`/compare/${o}`,t,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:t,utm_content:`Dub vs. ${r}`}),title:`Dub vs. ${r}`,showArrow:!0},o))})]})]})}export{S as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as h}from"./chunk-DE4AGMW5.mjs";import{b as v}from"./chunk-RNUOEFLP.mjs";import{h as f,j as y,o as l}from"./chunk-TOM3J6XQ.mjs";import*as s from"@radix-ui/react-tooltip";import R from"linkify-react";import{HelpCircle as B}from"lucide-react";import C from"next/link";import{useState as L}from"react";import{cva as P}from"class-variance-authority";import{forwardRef as k}from"react";import{jsx as p,jsxs as T}from"react/jsx-runtime";var c=P("transition-all",{variants:{variant:{primary:"border-black bg-black text-white hover:bg-gray-800 hover:ring-4 hover:ring-gray-200",secondary:(void 0)("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-neutral-600 hover:bg-neutral-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=k(({text:t,variant:e="primary",className:o,textWrapperClassName:i,loading:n,icon:m,shortcut:a,disabledTooltip:x,right:N,...u},w)=>x?p(d,{content:x,children:T("div",{className:(void 0)("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:(void 0)("min-w-0 truncate",a&&"flex-1 text-left",i),children:t}),a&&p("kbd",{className:(void 0)("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:w,type:u.onClick?"button":"submit",className:(void 0)("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(h,{}):m||null,t&&p("div",{className:(void 0)("min-w-0 truncate",a&&"flex-1 text-left",i),children:t}),a&&p("kbd",{className:(void 0)("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}),N]}));b.displayName="Button";import{jsx as r,jsxs as g}from"react/jsx-runtime";function K({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]=L(!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 Q({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:(void 0)(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 U({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 X({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(R,{as:"p",options:{target:"_blank",rel:"noopener noreferrer nofollow",className:"underline underline-offset-4 text-gray-400 hover:text-gray-700"},children:t})})}function Y(t){return r(d,{...t,children:r(B,{className:"h-4 w-4 text-gray-500"})})}function Z({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,(void 0)(t||0,{full:!0})," ",e]}),n&&g("p",{className:"mt-1 text-xs text-gray-500",suppressHydrationWarning:!0,children:["Last clicked ",(void 0)(n,{withAgo:!0})]})]}),children:i})}function $({children:t,content:e,...o}){return r(d,{content:e,...o,children:r("div",{className:"flex cursor-pointer items-center",children:r(v,{variant:"gray",className:"border-gray-300 transition-all hover:bg-gray-200",children:t})})})}function ee({children:t,tooltipProps:e,...o}){return r(d,{...e,children:r("button",{type:"button",...o,className:(void 0)("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{K as a,d as b,Q as c,U as d,X as e,Y as f,Z as g,$ as h,ee as i,c as j,b as k};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as h}from"./chunk-AY63N3KD.mjs";import{a as f}from"./chunk-LUCC6FPP.mjs";import{b as g,f as b}from"./chunk-X2X5RMNS.mjs";import{a as c,c as l,f as v}from"./chunk-7O4GRGY4.mjs";import{a as p}from"./chunk-NLOU42R7.mjs";import{a as u}from"./chunk-SMHQYHDD.mjs";import{i,m as n}from"./chunk-HVAJT6I7.mjs";import k from"next/link";import{jsx as e,jsxs as a}from"react/jsx-runtime";var w=[{title:"Dub API",description:"Programmatic link creation at scale",icon:u,href:"/docs/api-reference/introduction"},{title:"Dub Integrations",description:"Connect Dub with your favorite tools",icon:p,href:"/docs/integrations"}];function S({domain:t}){return a("div",{className:"grid w-[1020px] grid-cols-[repeat(2,minmax(0,1fr)),0.8fr] gap-4 p-5",children:[a(k,{href:i("/home",t),className:"group relative flex flex-col rounded-xl border border-neutral-100 bg-neutral-50 dark:border-white/20 dark:bg-white/10",children:[a("div",{className:"p-5 pb-0",children:[e("span",{className:"text-sm font-medium text-neutral-900 dark:text-white",children:"Dub Links"}),e("p",{className:"mt-3 max-w-56 text-sm text-neutral-500 dark:text-white/60",children:"Short links with superpowers for the modern marketer"})]}),e("div",{className:"relative grow overflow-hidden",children:e(f,{className:"absolute bottom-0 h-auto w-full [mask-image:linear-gradient(transparent,black_20%,black_80%,transparent)]"})}),e("div",{className:"pointer-events-none absolute inset-0 bg-[radial-gradient(circle_at_50%_100%,#f4950c,transparent)] opacity-[0.07] transition-opacity group-hover:opacity-[0.12]"})]}),a("div",{className:"flex flex-col gap-4",children:[a(k,{href:i("/help/article/dub-analytics",t),className:"group relative flex flex-col overflow-hidden rounded-xl border border-neutral-100 bg-neutral-50 dark:border-white/20 dark:bg-white/10",children:[e(h,{className:"absolute bottom-0 h-auto w-full translate-y-[15%] [mask-image:linear-gradient(90deg,transparent,black)]"}),e("div",{className:"pointer-events-none absolute inset-0 bg-[radial-gradient(circle_at_50%_100%,#36D78F,transparent)] opacity-[0.07] transition-opacity group-hover:opacity-[0.12]"}),a("div",{className:"h-56 p-5",children:[e("span",{className:"text-sm font-medium text-neutral-900 dark:text-white",children:"Dub Analytics"}),e("p",{className:"mt-3 max-w-48 text-sm text-neutral-500 dark:text-white/60",children:"Powerful real-time analytics"})]})]}),e("div",{className:"grid grow grid-rows-2 gap-4",children:w.map(({title:r,description:o,icon:s,href:m})=>e(v,{title:r,description:o,icon:s,href:i(m,t)},r))})]}),a("div",{className:"pl-2 pt-2",children:[e("p",{className:n(c,"mb-2"),children:"Customer Stories"}),a("div",{className:"grid grid-cols-1",children:[g.map(({icon:r,iconClassName:o,title:s,description:m,href:d})=>e(l,{href:i(d,t,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:t,utm_content:s}),className:"-mx-2",icon:e("div",{className:"shrink-0 rounded-[10px] border border-gray-200 bg-white/50 p-2 dark:border-white/20 dark:bg-white/10",children:e(r,{className:n("h-4 w-4 shrink-0 text-gray-600 transition-colors dark:text-white/60",o)})}),title:s,description:m},d)),e(l,{href:i("/customers",t,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:t,utm_content:"Customer Stories"}),title:"View all stories",showArrow:!0})]}),e("p",{className:n(c,"mb-2 mt-5"),children:"Compare"}),e("div",{className:"flex flex-col",children:b.map(({name:r,slug:o})=>e(l,{href:i(`/compare/${o}`,t,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:t,utm_content:`Dub vs. ${r}`}),title:`Dub vs. ${r}`,showArrow:!0},o))})]})]})}export{S as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{c as v}from"./chunk-UGMI7JHM.mjs";import{a as b}from"./chunk-XTK2BTRW.mjs";import{i as g,j as u,l as h,m as r}from"./chunk-HVAJT6I7.mjs";import{ChevronDown as x,Menu as w,X as z}from"lucide-react";import m from"next/link";import{useParams as N}from"next/navigation";import{useEffect as C,useState as y}from"react";import _ from"swr";import{Fragment as D,jsx as e,jsxs as i}from"react/jsx-runtime";function W({theme:n="light",staticDomain:l}){let{domain:o="dub.co"}=N();l&&(o=l);let[t,a]=y(!1);C(()=>{t?document.body.style.overflow="hidden":document.body.style.overflow="auto"},[t]);let{data:s}=_(o.endsWith("dub.co")&&"/api/auth/session",h,{dedupingInterval:6e4});return i("div",{className:r(n==="dark"&&"dark"),children:[e("button",{onClick:()=>a(!t),className:r("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",t&&"hover:bg-gray-100 active:bg-gray-200"),children:t?e(z,{className:"h-5 w-5 text-gray-600 dark:text-white/70"}):e(w,{className:"h-5 w-5 text-gray-600 dark:text-white/70"})}),e("nav",{className:r("fixed inset-0 z-20 hidden w-full bg-white px-5 py-16 lg:hidden dark:bg-black dark:text-white/70",t&&"block"),children:i("ul",{className:"grid divide-y divide-gray-200 dark:divide-white/[0.15]",children:[v.map(({name:f,href:d,childItems:c},p)=>e(L,{name:f,href:d,childItems:c,setOpen:a},p)),s&&Object.keys(s).length>0?e("li",{className:"py-3",children:e(m,{href:u,className:"flex w-full font-semibold capitalize",children:"Dashboard"})}):i(D,{children:[e("li",{className:"py-3",children:e(m,{href:`${u}/login`,className:"flex w-full font-semibold capitalize",children:"Log in"})}),e("li",{className:"py-3",children:e(m,{href:`${u}/register`,className:"flex w-full font-semibold capitalize",children:"Sign Up"})})]})]})})]})}var L=({name:n,href:l,childItems:o,setOpen:t})=>{let{domain:a="dub.co"}=N(),[s,f]=y(!1);return o?e("li",{className:"py-3",children:i(b,{height:!0,children:[i("button",{className:"flex w-full justify-between",onClick:()=>f(!s),children:[e("p",{className:"font-semibold",children:n}),e(x,{className:r("h-5 w-5 text-gray-500 transition-all dark:text-white/50",s&&"rotate-180")})]}),s&&e("div",{className:"grid gap-4 overflow-hidden py-4",children:o.map(({title:d,href:c,icon:p,description:k})=>i(m,{href:g(c,a,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:a,utm_content:d}),onClick:()=>t(!1),className:"flex w-full gap-3",children:[e("div",{className:"flex size-10 items-center justify-center rounded-lg border border-neutral-200 bg-gradient-to-t from-neutral-100",children:e(p,{className:"size-5 text-neutral-700"})}),i("div",{children:[e("div",{className:"flex items-center gap-2",children:e("h2",{className:"text-sm font-medium text-neutral-900",children:d})}),e("p",{className:"text-sm text-neutral-500",children:k})]})]},c))})]})}):l?e("li",{className:"py-3",children:e(m,{href:g(l,a,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:a,utm_content:n}),onClick:()=>t(!1),className:"flex w-full font-semibold capitalize",children:n})}):null};export{W as a};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as H}from"./chunk-HEYTZ2GZ.mjs";import{a as I}from"./chunk-THQ6BCSE.mjs";import{a as _,e as T}from"./chunk-CNQS5CTF.mjs";import{a as R}from"./chunk-TEY5O3RA.mjs";import{a as P}from"./chunk-BR2VFDDF.mjs";import{a as E}from"./chunk-ZN3PNOIE.mjs";import{a as V}from"./chunk-AXZJPLZ2.mjs";import{j as g,k as S}from"./chunk-ER4DXXJA.mjs";import{i as N,j as L,l as W,m as a}from"./chunk-HVAJT6I7.mjs";import*as i from"@radix-ui/react-navigation-menu";import{LayoutGroup as ot}from"framer-motion";import rt from"js-cookie";import p from"next/link";import{useParams as at,usePathname as it}from"next/navigation";import{createContext as nt,useId as st}from"react";import dt from"swr";import{useCallback as j,useEffect as D,useState as z}from"react";function B(n){let[r,m]=z(!1),o=j(()=>{m(window.scrollY>n)},[n]);return D(()=>(window.addEventListener("scroll",o),()=>window.removeEventListener("scroll",o)),[o]),D(()=>{o()},[o]),r}import*as l from"@radix-ui/react-popover";import{BoxSelect as F,Home as U,LayoutGrid as $,Type as Y}from"lucide-react";import{useParams as q}from"next/navigation";import{useCallback as J,useContext as K,useState as Q}from"react";import{toast as X}from"sonner";import{jsx as e,jsxs as G}from"react/jsx-runtime";var tt=`<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>`,et=`<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 O({variant:n="full",isInApp:r,className:m}){let{domain:o="dub.co"}=q(),{theme:b}=K(y),[f,d]=Q(!1),h=J(s=>{s.preventDefault(),d(!0)},[]),[,k]=V();function c(s){X.promise(k(s),{success:"Copied to clipboard!",error:"Failed to copy to clipboard"})}return G(l.Root,{open:f,onOpenChange:d,children:[e(l.Anchor,{asChild:!0,children:e("div",{onContextMenu:h,className:"max-w-fit",children:n==="full"?e(R,{className:m}):e(P,{className:a("h-8 w-8 transition-all duration-75 active:scale-95",m)})})}),e(l.Portal,{children:e(l.Content,{sideOffset:14,align:"start",className:a("z-50 -mt-1.5",!r&&"-translate-x-8",b==="dark"&&"dark"),onClick:s=>{s.stopPropagation(),d(!1)},children:G("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:[e(u,{text:"Copy Logo as SVG",variant:"outline",onClick:()=>c(tt),icon:e(P,{className:"h-4 w-4"})}),e(u,{text:"Copy Wordmark as SVG",variant:"outline",onClick:()=>c(et),icon:e(Y,{strokeWidth:2,className:"h-4 w-4"})}),e(u,{text:"Brand Guidelines",variant:"outline",onClick:()=>window.open("https://dub.co/brand","_blank"),icon:e(F,{strokeWidth:2,className:"h-4 w-4"})}),r||o!="dub.co"?e(u,{text:"Home Page",variant:"outline",onClick:()=>window.open(`https://dub.co${r?"/home":""}`,"_blank"),icon:e(U,{strokeWidth:2,className:"h-4 w-4"})}):e(u,{text:"Dashboard",variant:"outline",onClick:()=>window.open("https://app.dub.co","_blank"),icon:e($,{strokeWidth:2,className:"h-4 w-4"})})]})})})]})}function u({className:n,...r}){return e(S,{className:a("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",n),...r})}import{Fragment as ct,jsx as t,jsxs as v}from"react/jsx-runtime";var y=nt({theme:"light"}),lt=[{name:"Product",content:H,childItems:_,segments:["/","/home","/features","/customers"]},{name:"Resources",content:I,childItems:T,segments:["/solutions","/blog","/changelog","/docs","/help","/brand"]},{name:"Enterprise",href:"/enterprise",segments:["/enterprise"]},{name:"Pricing",href:"/pricing",segments:["/pricing"]}],Z=a("relative block rounded-md px-4 py-2 text-sm rounded-lg font-medium text-neutral-700 hover:text-neutral-900 transition-colors","dark:text-white/90 dark:hover:text-white","hover:bg-neutral-900/5 dark:hover:bg-white/10","data-[active=true]:bg-neutral-900/5 dark:data-[active=true]:bg-white/10","group-has-[:hover]:data-[active=true]:[&:not(:hover)]:bg-transparent");function At({theme:n="light",staticDomain:r,maxWidthWrapperClassName:m}){let{domain:o="dub.co"}=at();r&&(o=r);let b=st(),f=B(40),d=it(),{data:h,isLoading:k}=dt(o.endsWith("dub.co")&&"/api/auth/session",W,{dedupingInterval:6e4}),c=!!(o==="dub.co"&&rt.get("dub_id"));return t(y.Provider,{value:{theme:n},children:t(ot,{id:b,children:v("div",{className:a("sticky inset-x-0 top-0 z-30 w-full transition-all",n==="dark"&&"dark"),children:[t("div",{className:a("absolute inset-0 block border-b border-transparent transition-all",f&&"border-neutral-100 bg-white/75 backdrop-blur-lg dark:border-white/10 dark:bg-black/75")}),t(E,{className:a("relative",m),children:v("div",{className:"flex h-14 items-center justify-between",children:[t("div",{className:"grow basis-0",children:t(p,{className:"block w-fit py-2 pr-2",href:N("/home",o,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:o,utm_content:"Logo"}),children:t(O,{})})}),v(i.Root,{delayDuration:0,className:"relative hidden lg:block",children:[t(i.List,{className:"group relative z-0 flex",children:lt.map(({name:s,href:C,segments:A,content:w})=>{let M=A.some(x=>x==="/"?d===x:d==null?void 0:d.startsWith(x));return v(i.Item,{children:[t(mt,{trigger:!!w,children:C!==void 0?t(p,{id:`nav-${C}`,href:N(C,o,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:o,utm_content:s}),className:Z,"data-active":M,children:s}):t("button",{className:Z,"data-active":M,children:s})}),w&&t(i.Content,{className:"data-[motion=from-start]:animate-enter-from-left data-[motion=from-end]:animate-enter-from-right data-[motion=to-start]:animate-exit-to-left data-[motion=to-end]:animate-exit-to-right absolute left-0 top-0",children:t(w,{domain:o})})]},s)})}),t("div",{className:"absolute left-1/2 top-full mt-3 -translate-x-1/2",children:t(i.Viewport,{className:a("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 gap-2 lg:flex",children:h&&Object.keys(h).length>0?t(p,{href:L,className:a(g({variant:"primary"}),"flex h-8 items-center rounded-lg border px-4 text-sm","dark:border-white dark:bg-white dark:text-black dark:hover:bg-neutral-50 dark:hover:ring-white/10"),children:"Dashboard"}):k?null:v(ct,{children:[t(p,{href:c?"https://app.dub.co/login":"https://d.to/login",className:a(g({variant:"secondary"}),"flex h-8 items-center rounded-lg border px-4 text-sm","dark:border-white/10 dark:bg-black dark:text-white dark:hover:bg-neutral-900"),children:"Log in"}),t(p,{href:c?"https://app.dub.co/register":"https://d.to/register",className:a(g({variant:"primary"}),"flex h-8 items-center rounded-lg border px-4 text-sm","dark:border-white dark:bg-white dark:text-black dark:hover:bg-neutral-50 dark:hover:ring-white/10"),children:"Sign up"})]})})]})})]})})})}function mt({trigger:n,children:r}){return n?t(i.Trigger,{asChild:!0,children:r}):r}export{B as a,y as b,lt as c,At as d,O as e};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{o as n}from"./chunk-TOM3J6XQ.mjs";import{sha256 as o}from"js-sha256";import{useState as d}from"react";import{jsx as t}from"react/jsx-runtime";function c(e){if(e!=null&&e.image)return e.image;if(!(e!=null&&e.id))return"https://api.dicebear.com/9.x/micah/svg";let a=`https://api.dicebear.com/9.x/micah/svg?seed=${encodeURIComponent(e.id)}`,r=`https://api.dicebear.com/9.x/micah/png/${encodeURIComponent(`seed=${encodeURIComponent(e.id)}`)}`;return e.email?`https://www.gravatar.com/avatar/${o(e.email)}?d=${encodeURIComponent(r)}`:a}function g({user:e={},className:a}){if(!e)return t("div",{className:(void 0)("h-10 w-10 animate-pulse rounded-full border border-gray-300 bg-gray-100",a)});let[r,i]=d(c(e));return t("img",{alt:`Avatar for ${e.name||e.email}`,referrerPolicy:"no-referrer",src:r,className:(void 0)("h-10 w-10 rounded-full border border-gray-300",a),draggable:!1,onError:()=>{i(`https://api.dicebear.com/9.x/micah/svg?seed=${encodeURIComponent(e.id||"")}`)}})}function p({id:e,className:a}){return t("img",{src:`https://api.dicebear.com/9.x/shapes/svg?seed=${e}`,alt:"avatar",className:(void 0)("h-10 w-10 rounded-full",a),draggable:!1})}export{c as a,g as b,p as c};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{c as i,o as c}from"./chunk-TOM3J6XQ.mjs";import{useId as l}from"react";import{jsx as r,jsxs as e}from"react/jsx-runtime";function h(o){let t=l();return e("svg",{xmlns:"http://www.w3.org/2000/svg",width:"336",height:"336",fill:"none",viewBox:"0 0 336 336",...o,className:(void 0)("pointer-events-none text-[var(--fg)] [--bg:white] [--fg:#222] [--grid:#e5e5e5] dark:[--bg:black] dark:[--fg:#fffa] dark:[--grid:#fff2]",o.className),children:[e("g",{clipPath:`url(#${t}-a)`,children:[r("path",{className:"text-[var(--grid)]",stroke:"currentColor",strokeWidth:"0.5",d:"M0 0h48v48H0zM48 0h48v48H48zM96 0h48v48H96zM144 0h48v48h-48zM192 0h48v48h-48zM240 0h48v48h-48zM288 0h48v48h-48zM0 48h48v48H0zM48 48h48v48H48zM96 48h48v48H96zM144 48h48v48h-48zM192 48h48v48h-48zM240 48h48v48h-48zM288 48h48v48h-48zM0 96h48v48H0zM48 96h48v48H48zM96 96h48v48H96zM144 96h48v48h-48zM192 96h48v48h-48zM240 96h48v48h-48zM288 96h48v48h-48zM0 144h48v48H0zM48 144h48v48H48zM96 144h48v48H96zM144 144h48v48h-48zM192 144h48v48h-48zM240 144h48v48h-48zM288 144h48v48h-48zM0 192h48v48H0zM48 192h48v48H48zM96 192h48v48H96zM144 192h48v48h-48zM192 192h48v48h-48zM240 192h48v48h-48zM288 192h48v48h-48zM0 240h48v48H0zM48 240h48v48H48zM96 240h48v48H96zM144 240h48v48h-48zM192 240h48v48h-48zM240 240h48v48h-48zM288 240h48v48h-48zM0 288h48v48H0zM48 288h48v48H48zM96 288h48v48H96zM144 288h48v48h-48zM192 288h48v48h-48zM240 288h48v48h-48zM288 288h48v48h-48z"}),r("circle",{cx:"192",cy:"144",r:"4",fill:"#EA580C",opacity:"0.1"}),r("circle",{cx:"192",cy:"108",r:"4",fill:"#EA580C",opacity:"0.1"}),r("circle",{cx:"192",cy:"108",r:"2",fill:"#EA580C"}),r("circle",{cx:"192",cy:"144",r:"2",fill:"#EA580C"}),r("path",{stroke:`url(#${t}-b)`,d:"M192 144v-35"}),r("circle",{cx:"192",cy:"228",r:"4",fill:"#EA580C",opacity:"0.1"}),r("circle",{cx:"192",cy:"192",r:"4",fill:"#EA580C",opacity:"0.1"}),r("circle",{cx:"192",cy:"192",r:"2",fill:"#EA580C"}),r("circle",{cx:"192",cy:"228",r:"2",fill:"#EA580C"}),r("path",{stroke:`url(#${t}-c)`,d:"M192 228v-35"}),r("circle",{cx:"144",cy:"144",r:"4",fill:"#EA580C",opacity:"0.1"}),r("circle",{cx:"144",cy:"108",r:"4",fill:"#EA580C",opacity:"0.1"}),r("circle",{cx:"144",cy:"108",r:"2",fill:"#EA580C"}),r("circle",{cx:"144",cy:"144",r:"2",fill:"#EA580C"}),r("path",{stroke:`url(#${t}-d)`,d:"M144 144v-35"}),r("circle",{cx:"144",cy:"228",r:"4",fill:"#EA580C",opacity:"0.1"}),r("circle",{cx:"144",cy:"192",r:"4",fill:"#EA580C",opacity:"0.1"}),r("circle",{cx:"144",cy:"192",r:"2",fill:"#EA580C"}),r("circle",{cx:"144",cy:"228",r:"2",fill:"#EA580C"}),r("path",{stroke:`url(#${t}-e)`,d:"M144 228v-35"}),r("circle",{cx:"96",cy:"144",r:"4",fill:"#EA580C",opacity:"0.1"}),r("circle",{cx:"96",cy:"108",r:"4",fill:"#EA580C",opacity:"0.1"}),r("circle",{cx:"96",cy:"108",r:"2",fill:"#EA580C"}),r("circle",{cx:"96",cy:"144",r:"2",fill:"#EA580C"}),r("path",{stroke:`url(#${t}-f)`,d:"M96 144v-35"}),r("circle",{cx:"96",cy:"228",r:"4",fill:"#EA580C",opacity:"0.1"}),r("circle",{cx:"96",cy:"192",r:"4",fill:"#EA580C",opacity:"0.1"}),r("circle",{cx:"96",cy:"192",r:"2",fill:"#EA580C"}),r("circle",{cx:"96",cy:"228",r:"2",fill:"#EA580C"}),r("path",{stroke:`url(#${t}-g)`,d:"M96 228v-35"}),r("circle",{cx:"240",cy:"144",r:"4",fill:"#EA580C",opacity:"0.1"}),r("circle",{cx:"240",cy:"108",r:"4",fill:"#EA580C",opacity:"0.1"}),r("circle",{cx:"240",cy:"108",r:"2",fill:"#EA580C"}),r("circle",{cx:"240",cy:"144",r:"2",fill:"#EA580C"}),r("path",{stroke:`url(#${t}-h)`,d:"M240 144v-35"}),r("circle",{cx:"240",cy:"228",r:"4",fill:"#EA580C",opacity:"0.1"}),r("circle",{cx:"240",cy:"192",r:"4",fill:"#EA580C",opacity:"0.1"}),r("circle",{cx:"240",cy:"192",r:"2",fill:"#EA580C"}),r("circle",{cx:"240",cy:"228",r:"2",fill:"#EA580C"}),r("path",{stroke:`url(#${t}-i)`,d:"M240 228v-35"}),r("circle",{cx:"48",cy:"168",r:"4",fill:"#EAB308",opacity:"0.1"}),r("circle",{cx:"48",cy:"168",r:"2",fill:"#EAB308"}),r("path",{stroke:`url(#${t}-j)`,d:"M13 168h34"}),r("circle",{cx:"4",cy:"4",r:"4",fill:"#EAB308",opacity:"0.1",transform:"matrix(-1 0 0 1 292 164)"}),r("circle",{cx:"2",cy:"2",r:"2",fill:"#EAB308",transform:"matrix(-1 0 0 1 290 166)"}),r("path",{stroke:`url(#${t}-k)`,d:"M323 168h-34"}),e("g",{children:[r("rect",{width:"24",height:"24",x:"228",y:"84",fill:"currentColor",className:"text-[var(--bg)]",rx:"8"}),r("rect",{width:"23",height:"23",x:"228.5",y:"84.5",stroke:"currentColor",className:"text-[var(--grid)]",rx:"7.5"}),r("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M240 92.222V96l2.889 2"}),r("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M240 89.555a6.444 6.444 0 0 1 0 12.889"}),r("path",{fill:"currentColor",fillOpacity:"0.5",d:"M235.276 100.891a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1M233.389 96.333a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1M235.276 91.776a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1M237.367 102.288a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1M233.879 98.8a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1M233.879 93.868a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1M237.368 90.38a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1"})]}),e("g",{children:[r("rect",{width:"24",height:"24",x:"228",y:"228",fill:"currentColor",className:"text-[var(--bg)]",rx:"8"}),r("rect",{width:"23",height:"23",x:"228.5",y:"228.5",stroke:"currentColor",className:"text-[var(--grid)]",rx:"7.5"}),r("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M238.889 243.778h-3.556a1.777 1.777 0 0 1-1.777-1.778v-4c0-.982.795-1.778 1.777-1.778h9.334c.982 0 1.777.796 1.777 1.778v.222"}),r("path",{fill:"currentColor",fillOpacity:"0.5",d:"M236.889 240.889a.889.889 0 1 0 0-1.778.889.889 0 0 0 0 1.778M240 240.889a.889.889 0 1 0 0-1.778.889.889 0 0 0 0 1.778"}),r("path",{fill:"currentColor",fillOpacity:"0.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M246 242.889h-3.556a.89.89 0 0 0-.888.889v1.777c0 .491.398.889.888.889H246a.89.89 0 0 0 .889-.889v-1.777a.89.89 0 0 0-.889-.889"}),r("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M242.889 242.889v-1.778a1.333 1.333 0 0 1 2.667 0v1.778"})]}),e("g",{children:[r("rect",{width:"24",height:"24",x:"180",y:"84",fill:"currentColor",className:"text-[var(--bg)]",rx:"8"}),r("rect",{width:"23",height:"23",x:"180.5",y:"84.5",stroke:"currentColor",className:"text-[var(--grid)]",rx:"7.5"}),r("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M188.667 90h-2a.666.666 0 0 0-.667.667v2c0 .368.298.666.667.666h2a.666.666 0 0 0 .666-.666v-2a.666.666 0 0 0-.666-.667M197.333 90h-2a.666.666 0 0 0-.666.667v2c0 .368.298.666.666.666h2a.667.667 0 0 0 .667-.666v-2a.667.667 0 0 0-.667-.667M188.667 98.667h-2a.666.666 0 0 0-.667.666v2c0 .368.298.667.667.667h2a.667.667 0 0 0 .666-.667v-2a.666.666 0 0 0-.666-.666M198 98.667h-2a1.333 1.333 0 0 0-1.333 1.333v2M198 102v.01M192 92.667v2A1.334 1.334 0 0 1 190.667 96h-2M186 96h.01M192 90h.01M192 98.667v.01M194.667 96h.666M198 96v.01M192 102v-.667"})]}),e("g",{children:[r("rect",{width:"24",height:"24",x:"180",y:"228",fill:"currentColor",className:"text-[var(--bg)]",rx:"8"}),r("rect",{width:"23",height:"23",x:"180.5",y:"228.5",stroke:"currentColor",className:"text-[var(--grid)]",rx:"7.5"}),r("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M192 246.445a6.445 6.445 0 1 0-.002-12.89 6.445 6.445 0 0 0 .002 12.89M192 238.222v-2M193.778 240h2M192 241.778v2M190.222 240h-2"})]}),e("g",{children:[r("rect",{width:"24",height:"24",x:"132",y:"84",fill:"currentColor",className:"text-[var(--bg)]",rx:"8"}),r("rect",{width:"23",height:"23",x:"132.5",y:"84.5",stroke:"currentColor",className:"text-[var(--grid)]",rx:"7.5"}),r("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M148.667 90h-9.334c-.736 0-1.333.597-1.333 1.333v9.334c0 .736.597 1.333 1.333 1.333h9.334c.736 0 1.333-.597 1.333-1.333v-9.334c0-.736-.597-1.333-1.333-1.333"}),r("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M142 95.333a1.333 1.333 0 1 0 0-2.666 1.333 1.333 0 0 0 0 2.666M150 98l-2.057-2.057a1.334 1.334 0 0 0-1.886 0L140 102"})]}),e("g",{children:[r("rect",{width:"24",height:"24",x:"132",y:"228",fill:"currentColor",className:"text-[var(--bg)]",rx:"8"}),r("rect",{width:"23",height:"23",x:"132.5",y:"228.5",stroke:"currentColor",className:"text-[var(--grid)]",rx:"7.5"}),r("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M138.889 234h4.375c.471 0 .924.188 1.257.521l5.111 5.111c.694.694.694 1.82 0 2.514l-3.486 3.486a1.78 1.78 0 0 1-2.514 0l-5.111-5.111a1.78 1.78 0 0 1-.521-1.257v-4.375c0-.491.398-.889.889-.889"}),r("path",{fill:"currentColor",fillOpacity:"0.5",d:"M141.556 238.667a1.112 1.112 0 1 0-.002-2.224 1.112 1.112 0 0 0 .002 2.224"})]}),e("g",{children:[r("rect",{width:"24",height:"24",x:"84",y:"84",fill:"currentColor",className:"text-[var(--bg)]",rx:"8"}),r("rect",{width:"23",height:"23",x:"84.5",y:"84.5",stroke:"currentColor",className:"text-[var(--grid)]",rx:"7.5"}),r("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"m96.889 93.778 2 2-2 2"}),r("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M98.889 95.778h-3.111c-.982 0-1.778.795-1.778 1.778V98"}),r("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"m97.258 101.854 4.596-4.597a1.777 1.777 0 0 0 0-2.514l-4.596-4.597a1.78 1.78 0 0 0-2.514 0l-4.597 4.597a1.78 1.78 0 0 0 0 2.514l4.597 4.597c.694.694 1.82.694 2.514 0"})]}),e("g",{children:[r("rect",{width:"24",height:"24",x:"84",y:"228",fill:"currentColor",className:"text-[var(--bg)]",rx:"8"}),r("rect",{width:"23",height:"23",x:"84.5",y:"228.5",stroke:"currentColor",className:"text-[var(--grid)]",rx:"7.5"}),r("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M92.667 246.444a2.222 2.222 0 1 0 .001-4.443 2.222 2.222 0 0 0-.001 4.443M99.333 246.444a2.222 2.222 0 1 0 .002-4.443 2.222 2.222 0 0 0-.002 4.443M98.563 233.556h-5.126a.89.89 0 0 0-.88.763l-.335 2.348-2.666 2.666h12.888l-2.666-2.666-.335-2.348a.89.89 0 0 0-.88-.763M92.222 236.667h7.556"}),r("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M94.738 243.415a1.775 1.775 0 0 1 2.524 0"})]}),r("g",{filter:`url(#${t}-t)`,opacity:"0.16",children:r("ellipse",{cx:"62",cy:"168",fill:"#EAB308",rx:"33",ry:"8"})}),r("g",{filter:`url(#${t}-u)`,opacity:"0.16",children:r("ellipse",{cx:"276",cy:"168",fill:"#EAB308",rx:"33",ry:"8"})}),r("rect",{width:"240",height:"48",x:"48",y:"144",fill:"currentColor",className:"text-[var(--bg)]",rx:"8"}),r("rect",{width:"240",height:"48",x:"48",y:"144",stroke:"currentColor",className:"text-[var(--grid)]",strokeOpacity:"0.5",strokeWidth:"0.5",rx:"8"}),e("g",{children:[r("rect",{width:"24",height:"24",x:"61",y:"156",fill:`url(#${t}-w)`,rx:"12"}),r("rect",{width:"25",height:"25",x:"60.5",y:"155.5",stroke:"#030712",strokeOpacity:"0.1",rx:"12.5"}),r("circle",{cx:"73",cy:"168",r:"6",fill:`url(#${t}-x)`})]}),r("text",{xmlSpace:"preserve",fill:"currentColor",className:"text-[var(--fg)]",fontSize:"12",fontWeight:"500",letterSpacing:"0em",style:{whiteSpace:"pre"},children:r("tspan",{x:"97",y:"165.364",children:"d.to/try"})}),r("path",{stroke:"#A3A3A3",strokeLinecap:"round",strokeLinejoin:"round",d:"M104.931 176.792h-4.084a.78.78 0 0 1-.778-.778v-1.556"}),r("path",{stroke:"#A3A3A3",strokeLinecap:"round",strokeLinejoin:"round",d:"m103.278 175.139 1.653 1.653-1.653 1.653"}),r("text",{xmlSpace:"preserve",fill:"#A3A3A3",fontSize:"9",letterSpacing:"-.02em",style:{whiteSpace:"pre"},children:r("tspan",{x:"110",y:"179.773",children:"app.dub.co/register"})}),r("path",{className:"text-[var(--fg)]",fill:"currentColor",fillOpacity:"0.04",d:"M229.25 164.6c0-1.684 0-2.932.081-3.92.08-.985.24-1.69.546-2.29a5.75 5.75 0 0 1 2.513-2.513c.6-.306 1.305-.466 2.29-.546.988-.081 2.236-.081 3.92-.081h26.8c1.684 0 2.932 0 3.92.081.985.08 1.69.24 2.29.546a5.75 5.75 0 0 1 2.513 2.513c.306.6.466 1.305.546 2.29.081.988.081 2.236.081 3.92v6.8c0 1.684 0 2.932-.081 3.92-.08.985-.24 1.69-.546 2.29a5.75 5.75 0 0 1-2.513 2.513c-.6.306-1.305.466-2.29.546-.988.081-2.236.081-3.92.081h-26.8c-1.684 0-2.932 0-3.92-.081-.985-.08-1.69-.24-2.29-.546a5.75 5.75 0 0 1-2.513-2.513c-.306-.6-.466-1.305-.546-2.29-.081-.988-.081-2.236-.081-3.92z"}),r("path",{className:"text-[var(--grid)]",stroke:"currentColor",strokeWidth:"0.5",d:"M229.25 164.6c0-1.684 0-2.932.081-3.92.08-.985.24-1.69.546-2.29a5.75 5.75 0 0 1 2.513-2.513c.6-.306 1.305-.466 2.29-.546.988-.081 2.236-.081 3.92-.081h26.8c1.684 0 2.932 0 3.92.081.985.08 1.69.24 2.29.546a5.75 5.75 0 0 1 2.513 2.513c.306.6.466 1.305.546 2.29.081.988.081 2.236.081 3.92v6.8c0 1.684 0 2.932-.081 3.92-.08.985-.24 1.69-.546 2.29a5.75 5.75 0 0 1-2.513 2.513c-.6.306-1.305.466-2.29.546-.988.081-2.236.081-3.92.081h-26.8c-1.684 0-2.932 0-3.92-.081-.985-.08-1.69-.24-2.29-.546a5.75 5.75 0 0 1-2.513-2.513c-.306-.6-.466-1.305-.546-2.29-.081-.988-.081-2.236-.081-3.92z"}),r("g",{stroke:"currentColor",strokeOpacity:"0.7",strokeLinecap:"round",strokeLinejoin:"round",clipPath:`url(#${t}-y)`,children:r("path",{d:"m240.395 167.185 4.876 1.673c.148.051.15.259.004.313l-2.186.822a.17.17 0 0 0-.097.098l-.822 2.186a.166.166 0 0 1-.313-.005l-1.674-4.876a.167.167 0 0 1 .212-.212zM243.019 170.021l2.808 2.808M240.165 163.167v1.333M242.995 164.338l-.943.943M237.338 169.995l.943-.943M236.166 167.166h1.333M237.338 164.338l.943.943"})}),r("text",{xmlSpace:"preserve",fill:"currentColor",className:"text-[var(--fg)]",fontSize:"10",fontWeight:"500",letterSpacing:"0em",style:{whiteSpace:"pre"},children:r("tspan",{x:"251",y:"171.636",children:"51K"})})]}),e("defs",{children:[e("linearGradient",{id:`${t}-b`,x1:"192.5",x2:"192.5",y1:"109",y2:"144",gradientUnits:"userSpaceOnUse",children:[r("stop",{stopColor:"#EA580C"}),r("stop",{offset:"0.625",stopColor:"#EA580C",stopOpacity:"0.5"}),r("stop",{offset:"1",stopColor:"#EA580C"})]}),e("linearGradient",{id:`${t}-c`,x1:"192.5",x2:"192.5",y1:"193",y2:"228",gradientUnits:"userSpaceOnUse",children:[r("stop",{stopColor:"#EA580C"}),r("stop",{offset:"0.625",stopColor:"#EA580C",stopOpacity:"0.5"}),r("stop",{offset:"1",stopColor:"#EA580C"})]}),e("linearGradient",{id:`${t}-d`,x1:"144.5",x2:"144.5",y1:"109",y2:"144",gradientUnits:"userSpaceOnUse",children:[r("stop",{stopColor:"#EA580C"}),r("stop",{offset:"0.625",stopColor:"#EA580C",stopOpacity:"0.5"}),r("stop",{offset:"1",stopColor:"#EA580C"})]}),e("linearGradient",{id:`${t}-e`,x1:"144.5",x2:"144.5",y1:"193",y2:"228",gradientUnits:"userSpaceOnUse",children:[r("stop",{stopColor:"#EA580C"}),r("stop",{offset:"0.625",stopColor:"#EA580C",stopOpacity:"0.5"}),r("stop",{offset:"1",stopColor:"#EA580C"})]}),e("linearGradient",{id:`${t}-f`,x1:"96.5",x2:"96.5",y1:"109",y2:"144",gradientUnits:"userSpaceOnUse",children:[r("stop",{stopColor:"#EA580C"}),r("stop",{offset:"0.625",stopColor:"#EA580C",stopOpacity:"0.5"}),r("stop",{offset:"1",stopColor:"#EA580C"})]}),e("linearGradient",{id:`${t}-g`,x1:"96.5",x2:"96.5",y1:"193",y2:"228",gradientUnits:"userSpaceOnUse",children:[r("stop",{stopColor:"#EA580C"}),r("stop",{offset:"0.625",stopColor:"#EA580C",stopOpacity:"0.5"}),r("stop",{offset:"1",stopColor:"#EA580C"})]}),e("linearGradient",{id:`${t}-h`,x1:"240.5",x2:"240.5",y1:"109",y2:"144",gradientUnits:"userSpaceOnUse",children:[r("stop",{stopColor:"#EA580C"}),r("stop",{offset:"0.625",stopColor:"#EA580C",stopOpacity:"0.5"}),r("stop",{offset:"1",stopColor:"#EA580C"})]}),e("linearGradient",{id:`${t}-i`,x1:"240.5",x2:"240.5",y1:"193",y2:"228",gradientUnits:"userSpaceOnUse",children:[r("stop",{stopColor:"#EA580C"}),r("stop",{offset:"0.625",stopColor:"#EA580C",stopOpacity:"0.5"}),r("stop",{offset:"1",stopColor:"#EA580C"})]}),e("linearGradient",{id:`${t}-j`,x1:"13",x2:"47",y1:"168.5",y2:"168.5",gradientUnits:"userSpaceOnUse",children:[r("stop",{stopColor:"#EAB308",stopOpacity:"0"}),r("stop",{offset:"1",stopColor:"#EAB308"})]}),e("linearGradient",{id:`${t}-k`,x1:"323",x2:"289",y1:"168.5",y2:"168.5",gradientUnits:"userSpaceOnUse",children:[r("stop",{stopColor:"#EAB308",stopOpacity:"0"}),r("stop",{offset:"1",stopColor:"#EAB308"})]}),e("linearGradient",{id:`${t}-w`,x1:"73",x2:"73",y1:"156",y2:"180",gradientUnits:"userSpaceOnUse",children:[r("stop",{stopColor:"#030712",stopOpacity:"0"}),r("stop",{offset:"1",stopColor:"#030712",stopOpacity:"0.05"})]}),e("filter",{id:`${t}-t`,width:"96",height:"46",x:"14",y:"145",colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse",children:[r("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),r("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),r("feGaussianBlur",{result:"effect1_foregroundBlur_5_744",stdDeviation:"7.5"})]}),e("filter",{id:`${t}-u`,width:"96",height:"46",x:"228",y:"145",colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse",children:[r("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),r("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),r("feGaussianBlur",{result:"effect1_foregroundBlur_5_744",stdDeviation:"7.5"})]}),r("clipPath",{id:`${t}-a`,children:r("path",{fill:"currentColor",className:"text-[var(--bg)]",d:"M0 0h336v336H0z"})}),r("clipPath",{id:`${t}-y`,children:r("path",{fill:"currentColor",className:"text-[var(--bg)]",d:"M235 162h12v12h-12z"})}),r("pattern",{id:`${t}-x`,width:"1",height:"1",patternContentUnits:"objectBoundingBox",children:r("use",{xlinkHref:`#${t}-z`,transform:"scale(.01563)"})}),r("image",{href:`${i}dub.co`,id:`${t}-z`,width:"64",height:"64"})]})]})}export{h as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{o as n}from"./chunk-TOM3J6XQ.mjs";import g from"next/image";import{useEffect as i,useState as r}from"react";import{jsx as u}from"react/jsx-runtime";function v(t){let[o,c]=r(!0),[l,e]=r(t.src);i(()=>e(t.src),[t.src]);let m=s=>{c(!1);let a=s.target;a.naturalWidth<=16&&a.naturalHeight<=16&&e(`https://avatar.vercel.sh/${encodeURIComponent(t.alt)}`)};return u(g,{...t,src:l,alt:t.alt,className:(void 0)(o?"blur-[2px]":"blur-0",t.className),onLoad:m,onError:()=>{e(`https://avatar.vercel.sh/${encodeURIComponent(t.alt)}`)},unoptimized:!0})}export{v as a};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as H}from"./chunk-I6C2CC52.mjs";import{a as I}from"./chunk-XGYRMNAC.mjs";import{a as _,d as T}from"./chunk-GKQ6TXG4.mjs";import{a as R}from"./chunk-TEY5O3RA.mjs";import{a as P}from"./chunk-BR2VFDDF.mjs";import{a as E}from"./chunk-ZN3PNOIE.mjs";import{a as V}from"./chunk-AXZJPLZ2.mjs";import{j as g,k as S}from"./chunk-ER4DXXJA.mjs";import{i as N,j as L,l as W,m as a}from"./chunk-HVAJT6I7.mjs";import*as i from"@radix-ui/react-navigation-menu";import{LayoutGroup as ot}from"framer-motion";import rt from"js-cookie";import p from"next/link";import{useParams as at,usePathname as it}from"next/navigation";import{createContext as nt,useId as st}from"react";import dt from"swr";import{useCallback as j,useEffect as D,useState as z}from"react";function B(n){let[r,m]=z(!1),o=j(()=>{m(window.scrollY>n)},[n]);return D(()=>(window.addEventListener("scroll",o),()=>window.removeEventListener("scroll",o)),[o]),D(()=>{o()},[o]),r}import*as l from"@radix-ui/react-popover";import{BoxSelect as F,Home as U,LayoutGrid as $,Type as Y}from"lucide-react";import{useParams as q}from"next/navigation";import{useCallback as J,useContext as K,useState as Q}from"react";import{toast as X}from"sonner";import{jsx as e,jsxs as G}from"react/jsx-runtime";var tt=`<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>`,et=`<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 O({variant:n="full",isInApp:r,className:m}){let{domain:o="dub.co"}=q(),{theme:b}=K(y),[f,d]=Q(!1),h=J(s=>{s.preventDefault(),d(!0)},[]),[,k]=V();function c(s){X.promise(k(s),{success:"Copied to clipboard!",error:"Failed to copy to clipboard"})}return G(l.Root,{open:f,onOpenChange:d,children:[e(l.Anchor,{asChild:!0,children:e("div",{onContextMenu:h,className:"max-w-fit",children:n==="full"?e(R,{className:m}):e(P,{className:a("h-8 w-8 transition-all duration-75 active:scale-95",m)})})}),e(l.Portal,{children:e(l.Content,{sideOffset:14,align:"start",className:a("z-50 -mt-1.5",!r&&"-translate-x-8",b==="dark"&&"dark"),onClick:s=>{s.stopPropagation(),d(!1)},children:G("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:[e(u,{text:"Copy Logo as SVG",variant:"outline",onClick:()=>c(tt),icon:e(P,{className:"h-4 w-4"})}),e(u,{text:"Copy Wordmark as SVG",variant:"outline",onClick:()=>c(et),icon:e(Y,{strokeWidth:2,className:"h-4 w-4"})}),e(u,{text:"Brand Guidelines",variant:"outline",onClick:()=>window.open("https://dub.co/brand","_blank"),icon:e(F,{strokeWidth:2,className:"h-4 w-4"})}),r||o!="dub.co"?e(u,{text:"Home Page",variant:"outline",onClick:()=>window.open(`https://dub.co${r?"/home":""}`,"_blank"),icon:e(U,{strokeWidth:2,className:"h-4 w-4"})}):e(u,{text:"Dashboard",variant:"outline",onClick:()=>window.open("https://app.dub.co","_blank"),icon:e($,{strokeWidth:2,className:"h-4 w-4"})})]})})})]})}function u({className:n,...r}){return e(S,{className:a("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",n),...r})}import{Fragment as ct,jsx as t,jsxs as v}from"react/jsx-runtime";var y=nt({theme:"light"}),lt=[{name:"Product",content:H,childItems:_,segments:["/","/home","/features","/customers"]},{name:"Resources",content:I,childItems:T,segments:["/solutions","/blog","/changelog","/docs","/help","/brand"]},{name:"Enterprise",href:"/enterprise",segments:["/enterprise"]},{name:"Pricing",href:"/pricing",segments:["/pricing"]}],Z=a("relative block rounded-md px-4 py-2 text-sm rounded-lg font-medium text-neutral-700 hover:text-neutral-900 transition-colors","dark:text-white/90 dark:hover:text-white","hover:bg-neutral-900/5 dark:hover:bg-white/10","data-[active=true]:bg-neutral-900/5 dark:data-[active=true]:bg-white/10","group-has-[:hover]:data-[active=true]:[&:not(:hover)]:bg-transparent");function At({theme:n="light",staticDomain:r,maxWidthWrapperClassName:m}){let{domain:o="dub.co"}=at();r&&(o=r);let b=st(),f=B(40),d=it(),{data:h,isLoading:k}=dt(o.endsWith("dub.co")&&"/api/auth/session",W,{dedupingInterval:6e4}),c=!!(o==="dub.co"&&rt.get("dub_id"));return t(y.Provider,{value:{theme:n},children:t(ot,{id:b,children:v("div",{className:a("sticky inset-x-0 top-0 z-30 w-full transition-all",n==="dark"&&"dark"),children:[t("div",{className:a("absolute inset-0 block border-b border-transparent transition-all",f&&"border-neutral-100 bg-white/75 backdrop-blur-lg dark:border-white/10 dark:bg-black/75")}),t(E,{className:a("relative",m),children:v("div",{className:"flex h-14 items-center justify-between",children:[t("div",{className:"grow basis-0",children:t(p,{className:"block w-fit py-2 pr-2",href:N("/home",o,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:o,utm_content:"Logo"}),children:t(O,{})})}),v(i.Root,{delayDuration:0,className:"relative hidden lg:block",children:[t(i.List,{className:"group relative z-0 flex",children:lt.map(({name:s,href:C,segments:A,content:w})=>{let M=A.some(x=>x==="/"?d===x:d==null?void 0:d.startsWith(x));return v(i.Item,{children:[t(mt,{trigger:!!w,children:C!==void 0?t(p,{id:`nav-${C}`,href:N(C,o,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:o,utm_content:s}),className:Z,"data-active":M,children:s}):t("button",{className:Z,"data-active":M,children:s})}),w&&t(i.Content,{className:"data-[motion=from-start]:animate-enter-from-left data-[motion=from-end]:animate-enter-from-right data-[motion=to-start]:animate-exit-to-left data-[motion=to-end]:animate-exit-to-right absolute left-0 top-0",children:t(w,{domain:o})})]},s)})}),t("div",{className:"absolute left-1/2 top-full mt-3 -translate-x-1/2",children:t(i.Viewport,{className:a("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 gap-2 lg:flex",children:h&&Object.keys(h).length>0?t(p,{href:L,className:a(g({variant:"primary"}),"flex h-8 items-center rounded-lg border px-4 text-sm","dark:border-white dark:bg-white dark:text-black dark:hover:bg-neutral-50 dark:hover:ring-white/10"),children:"Dashboard"}):k?null:v(ct,{children:[t(p,{href:c?"https://app.dub.co/login":"https://d.to/login",className:a(g({variant:"secondary"}),"flex h-8 items-center rounded-lg border px-4 text-sm","dark:border-white/10 dark:bg-black dark:text-white dark:hover:bg-neutral-900"),children:"Log in"}),t(p,{href:c?"https://app.dub.co/register":"https://d.to/register",className:a(g({variant:"primary"}),"flex h-8 items-center rounded-lg border px-4 text-sm","dark:border-white dark:bg-white dark:text-black dark:hover:bg-neutral-50 dark:hover:ring-white/10"),children:"Sign up"})]})})]})})]})})})}function mt({trigger:n,children:r}){return n?t(i.Trigger,{asChild:!0,children:r}):r}export{B as a,y as b,lt as c,At as d,O as e};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{o as l}from"./chunk-TOM3J6XQ.mjs";import{jsx as C,jsxs as H}from"react/jsx-runtime";function L({className:t}){return H("svg",{width:"14",height:"17",viewBox:"0 0 14 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:(void 0)("h-full w-full",t),children:[C("path",{d:"M11.3939 3.98953C11.4326 1.98069 9.77497 0.438599 7.49576 0.438599H2.78212C2.67224 0.438634 2.56599 0.477885 2.48248 0.549288C2.39896 0.620691 2.34368 0.719557 2.32657 0.828093L0.437575 12.6306C0.429125 12.6841 0.432365 12.7387 0.447073 12.7909C0.46178 12.843 0.487605 12.8913 0.52277 12.9324C0.557935 12.9736 0.601604 13.0067 0.650771 13.0293C0.699937 13.052 0.753434 13.0638 0.807576 13.0638H3.60046L3.16367 15.7971C3.15522 15.8506 3.15847 15.9053 3.1732 15.9574C3.18792 16.0096 3.21378 16.0579 3.24899 16.0991C3.28419 16.1402 3.3279 16.1733 3.37711 16.1959C3.42633 16.2186 3.47986 16.2303 3.53404 16.2303H5.80891C5.91901 16.2303 6.01683 16.1905 6.10022 16.1194C6.18361 16.048 6.19732 15.9494 6.21429 15.8408L6.8821 11.9115C6.89906 11.8032 6.95429 11.6625 7.03804 11.591C7.12142 11.5195 7.19434 11.4805 7.30408 11.4802H8.69673C10.9286 11.4802 12.8227 9.89403 13.1689 7.68738C13.4136 6.12074 12.7418 4.69596 11.3939 3.98953Z",fill:"#001C64"}),C("path",{d:"M4.20466 8.71145L3.50906 13.1226L3.07228 15.8891C3.06382 15.9426 3.06707 15.9973 3.0818 16.0495C3.09653 16.1016 3.12239 16.1499 3.15759 16.1911C3.1928 16.2323 3.23651 16.2653 3.28572 16.288C3.33493 16.3106 3.38847 16.3223 3.44264 16.3223H5.85036C5.96017 16.3222 6.06634 16.2829 6.14978 16.2115C6.23322 16.1401 6.28845 16.0413 6.30555 15.9328L6.94015 11.9115C6.95726 11.8031 7.0125 11.7043 7.09595 11.633C7.17939 11.5616 7.28556 11.5224 7.39534 11.5224H8.8129C11.0448 11.5224 12.9385 9.89437 13.2847 7.68772C13.5301 6.12144 12.7418 4.69666 11.3939 3.98987C11.3903 4.15664 11.3758 4.32305 11.3502 4.48802C11.004 6.69431 9.10998 8.32267 6.87806 8.32267H4.65986C4.55013 8.3227 4.44401 8.36186 4.36057 8.43312C4.27713 8.50438 4.22185 8.60307 4.20466 8.71145Z",fill:"#0070E0"}),C("path",{d:"M3.50894 13.1225H0.707754C0.653592 13.1226 0.600066 13.1108 0.550869 13.0882C0.501672 13.0655 0.457977 13.0325 0.422799 12.9913C0.387622 12.9501 0.361801 12.9018 0.347118 12.8497C0.332434 12.7975 0.329239 12.7428 0.337753 12.6893L2.22638 0.711399C2.2435 0.602897 2.2988 0.504075 2.38232 0.432731C2.46584 0.361388 2.57209 0.322214 2.68194 0.322266H7.49629C9.77514 0.322266 11.4327 1.98095 11.3941 3.98979C10.827 3.69235 10.1607 3.52233 9.4304 3.52233H5.4167C5.30694 3.52243 5.20081 3.56167 5.11738 3.633C5.03395 3.70432 4.97868 3.80305 4.96151 3.91146L4.20526 8.71137L3.50894 13.1225Z",fill:"#003087"})]})}export{L as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{c as W}from"./chunk-SAM6AF4Y.mjs";import{a as $}from"./chunk-UGJLCRZJ.mjs";import{a as j}from"./chunk-GVBIGY6N.mjs";import{a as P}from"./chunk-NWME2ANF.mjs";import{a as T}from"./chunk-JNPLGH3F.mjs";import{a as H}from"./chunk-LPV7TLRR.mjs";import{a as z}from"./chunk-DE4AGMW5.mjs";import{a as M}from"./chunk-YURUGH4S.mjs";import{f as K,o as k}from"./chunk-TOM3J6XQ.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);W("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(T,{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:(void 0)("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(H,{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(z,{})})}):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:(void 0)("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}=j(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:(void 0)("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"})}),(void 0)(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(M,{className:"h-4 w-4"}),m("p",{className:"text-center text-sm text-gray-600",children:["Ask AI ",m("span",{className:"text-black",children:['"',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{c as v}from"./chunk-DIDIOOPN.mjs";import{a as b}from"./chunk-XTK2BTRW.mjs";import{i as g,j as u,l as h,m as r}from"./chunk-HVAJT6I7.mjs";import{ChevronDown as x,Menu as w,X as z}from"lucide-react";import m from"next/link";import{useParams as N}from"next/navigation";import{useEffect as C,useState as y}from"react";import _ from"swr";import{Fragment as D,jsx as e,jsxs as i}from"react/jsx-runtime";function W({theme:n="light",staticDomain:l}){let{domain:o="dub.co"}=N();l&&(o=l);let[t,a]=y(!1);C(()=>{t?document.body.style.overflow="hidden":document.body.style.overflow="auto"},[t]);let{data:s}=_(o.endsWith("dub.co")&&"/api/auth/session",h,{dedupingInterval:6e4});return i("div",{className:r(n==="dark"&&"dark"),children:[e("button",{onClick:()=>a(!t),className:r("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",t&&"hover:bg-gray-100 active:bg-gray-200"),children:t?e(z,{className:"h-5 w-5 text-gray-600 dark:text-white/70"}):e(w,{className:"h-5 w-5 text-gray-600 dark:text-white/70"})}),e("nav",{className:r("fixed inset-0 z-20 hidden w-full bg-white px-5 py-16 lg:hidden dark:bg-black dark:text-white/70",t&&"block"),children:i("ul",{className:"grid divide-y divide-gray-200 dark:divide-white/[0.15]",children:[v.map(({name:f,href:d,childItems:c},p)=>e(L,{name:f,href:d,childItems:c,setOpen:a},p)),s&&Object.keys(s).length>0?e("li",{className:"py-3",children:e(m,{href:u,className:"flex w-full font-semibold capitalize",children:"Dashboard"})}):i(D,{children:[e("li",{className:"py-3",children:e(m,{href:`${u}/login`,className:"flex w-full font-semibold capitalize",children:"Log in"})}),e("li",{className:"py-3",children:e(m,{href:`${u}/register`,className:"flex w-full font-semibold capitalize",children:"Sign Up"})})]})]})})]})}var L=({name:n,href:l,childItems:o,setOpen:t})=>{let{domain:a="dub.co"}=N(),[s,f]=y(!1);return o?e("li",{className:"py-3",children:i(b,{height:!0,children:[i("button",{className:"flex w-full justify-between",onClick:()=>f(!s),children:[e("p",{className:"font-semibold",children:n}),e(x,{className:r("h-5 w-5 text-gray-500 transition-all dark:text-white/50",s&&"rotate-180")})]}),s&&e("div",{className:"grid gap-4 overflow-hidden py-4",children:o.map(({title:d,href:c,icon:p,description:k})=>i(m,{href:g(c,a,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:a,utm_content:d}),onClick:()=>t(!1),className:"flex w-full gap-3",children:[e("div",{className:"flex size-10 items-center justify-center rounded-lg border border-neutral-200 bg-gradient-to-t from-neutral-100",children:e(p,{className:"size-5 text-neutral-700"})}),i("div",{children:[e("div",{className:"flex items-center gap-2",children:e("h2",{className:"text-sm font-medium text-neutral-900",children:d})}),e("p",{className:"text-sm text-neutral-500",children:k})]})]},c))})]})}):l?e("li",{className:"py-3",children:e(m,{href:g(l,a,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:a,utm_content:n}),onClick:()=>t(!1),className:"flex w-full font-semibold capitalize",children:n})}):null};export{W as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as Z}from"./chunk-UGJLCRZJ.mjs";import{a as K}from"./chunk-GVBIGY6N.mjs";import{a as V}from"./chunk-NWME2ANF.mjs";import{a as Q}from"./chunk-JNPLGH3F.mjs";import{k as U}from"./chunk-2C5NOZM4.mjs";import{a as $}from"./chunk-WMTXO7RT.mjs";import{a as j}from"./chunk-JW75YDRU.mjs";import{a as B}from"./chunk-JOLDVN3E.mjs";import{a as F}from"./chunk-IHTRL6TU.mjs";import{a as P}from"./chunk-DE4AGMW5.mjs";import{o as i}from"./chunk-TOM3J6XQ.mjs";import{Command as h,CommandInput as ie,CommandItem as ce,useCommandState as me}from"cmdk";import{ChevronDown as de}from"lucide-react";import{forwardRef as pe,isValidElement as ue,useCallback as fe,useEffect as b,useRef as xe,useState as f}from"react";import{Fragment as I,jsx as e,jsxs as c}from"react/jsx-runtime";function ge(s,o){return s===!0}function De({multiple:s,selected:o,setSelected:l,options:a,icon:d,placeholder:y="Select...",searchPlaceholder:G="Search...",emptyState:x,createLabel:N,onCreate:g,buttonProps:m,shortcutHint:z,caret:J,side:X,open:Y,onOpenChange:_,onSearchChange:C,shouldFilter:R=!0,inputClassName:ee,optionRight:w,optionClassName:E,matchTriggerWidth:L,children:te}){let D=ge(s,l),n=Array.isArray(o)?o:o?[o]:[],{isMobile:se}=V(),[oe,ae]=f(!1),O=Y??oe,v=_??ae,[r,k]=f(""),[W,M]=f(!1),[S,ne]=f(void 0),[re,A]=f(!1),le=t=>{var p;if(D){let T=n.some(({value:u})=>u===t.value);l(T?n.filter(({value:u})=>u!==t.value):[...n,t])}else l(n.length&&((p=n[0])==null?void 0:p.value)===t.value?null:t),v(!1)},H=fe((t,p)=>p===""?[...n,...t.filter(T=>n.findIndex(u=>u.value===T.value)===-1)]:t,[n]);return b(()=>{W&&(ne(a&&H(a,r)),M(!1))},[W,a,H,r]),b(()=>{M(!0)},[a]),b(()=>{O||(k(""),M(!0))},[O]),b(()=>C==null?void 0:C(r),[r]),e(Z,{openPopover:O,setOpenPopover:v,align:"start",side:X,onWheel:t=>{t.stopPropagation()},popoverContentClassName:(void 0)(L&&"sm:w-[var(--radix-popover-trigger-width)]"),content:e(Q,{width:!se&&!L,height:!0,style:{transform:"translateZ(0)"},transition:{ease:"easeInOut",duration:.1},className:"pointer-events-auto",children:c(h,{loop:!0,shouldFilter:R,children:[c("div",{className:"flex items-center overflow-hidden rounded-t-lg border-b border-gray-200",children:[e(ie,{placeholder:G,value:r,onValueChange:k,className:(void 0)("grow border-0 py-3 pl-4 pr-2 outline-none placeholder:text-gray-400 focus:ring-0 sm:text-sm",ee),onKeyDown:t=>{(t.key==="Escape"||t.key==="Backspace"&&!r)&&(t.preventDefault(),t.stopPropagation(),v(!1))}}),z&&e("kbd",{className:"mr-2 hidden shrink-0 rounded border border-gray-200 bg-gray-100 px-2 py-0.5 text-xs font-light text-gray-500 md:block",children:z})]}),e(ve,{children:e(h.List,{className:(void 0)("flex w-full min-w-[100px] flex-col gap-1 p-1"),children:S!==void 0?c(I,{children:[S.map(t=>e(be,{option:t,multiple:D,selected:n.some(({value:p})=>p===t.value),onSelect:()=>le(t),right:w==null?void 0:w(t),className:E},`${t.label}, ${t.value}`)),r.length>0&&g&&c(ce,{className:(void 0)("flex cursor-pointer items-center gap-3 whitespace-nowrap rounded-md px-3 py-2 text-left text-sm text-gray-700","data-[selected=true]:bg-gray-100",E),onSelect:async()=>{A(!0),await(g==null?void 0:g(r))&&(k(""),v(!1)),A(!1)},children:[re?e(P,{className:"size-4 shrink-0"}):e($,{className:"size-4 shrink-0"}),e("div",{className:"grow truncate",children:(N==null?void 0:N(r))||`Create "${r}"`})]}),R?e(he,{className:"flex min-h-12 items-center justify-center text-sm text-gray-500",children:x||"No matches"}):S.length===0?e("div",{className:"flex min-h-12 items-center justify-center text-sm text-gray-500",children:x||"No matches"}):null]}):e(h.Loading,{children:e("div",{className:"flex h-12 items-center justify-center",children:e(P,{})})})})})]})}),children:e(U,{variant:"secondary",...m,className:(void 0)(m==null?void 0:m.className,"flex gap-2"),textWrapperClassName:(void 0)(m==null?void 0:m.textWrapperClassName,"w-full flex items-center justify-start"),text:c(I,{children:[e("div",{className:"min-w-0 grow truncate text-left",children:te||n.map(t=>t.label).join(", ")||y}),J&&e(de,{className:"ml-1 size-4 shrink-0 text-gray-400 transition-transform duration-75 group-data-[state=open]:rotate-180"})]}),icon:d?q(d)?d:e(d,{className:"size-4 shrink-0"}):void 0})})}var ve=({children:s})=>{let o=xe(null),{scrollProgress:l,updateScrollProgress:a}=K(o);return c(I,{children:[e("div",{className:"scrollbar-hide max-h-[min(50vh,250px)] w-screen overflow-y-scroll sm:w-auto",ref:o,onScroll:a,children:s}),e("div",{className:"pointer-events-none absolute bottom-0 left-0 hidden h-16 w-full rounded-b-lg bg-gradient-to-t from-white sm:block",style:{opacity:1-Math.pow(l,2)}})]})};function be({option:s,onSelect:o,multiple:l,selected:a,right:d,className:y}){return c(h.Item,{className:(void 0)("flex cursor-pointer items-center gap-3 whitespace-nowrap rounded-md px-3 py-2 text-left text-sm","data-[selected=true]:bg-gray-100",y),onSelect:o,value:s.label+(s==null?void 0:s.value),children:[l&&e("div",{className:"shrink-0 text-gray-600",children:a?e(B,{className:"size-4 text-gray-600"}):e(F,{className:"size-4 text-gray-400"})}),c("div",{className:"flex min-w-0 grow items-center gap-1",children:[s.icon&&e("span",{className:"shrink-0 text-gray-600",children:q(s.icon)?s.icon:e(s.icon,{className:"h-4 w-4"})}),e("span",{className:"grow truncate",children:s.label})]}),d,!l&&a&&e(j,{className:"size-4 shrink-0 text-gray-600"})]})}var q=s=>ue(s),he=pe((s,o)=>me(a=>a.filtered.count===0)?e("div",{ref:o,"cmdk-empty":"",role:"presentation",...s}):null);export{De as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{c as v}from"./chunk-BPM5MSLD.mjs";import{a as b}from"./chunk-XTK2BTRW.mjs";import{i as p,j as u,l as h,m as r}from"./chunk-HVAJT6I7.mjs";import{ChevronDown as x,Menu as w,X as z}from"lucide-react";import m from"next/link";import{useParams as N}from"next/navigation";import{useEffect as C,useState as y}from"react";import _ from"swr";import{Fragment as D,jsx as e,jsxs as i}from"react/jsx-runtime";function W({theme:n="light",staticDomain:l}){let{domain:o="dub.co"}=N();l&&(o=l);let[t,a]=y(!1);C(()=>{t?document.body.style.overflow="hidden":document.body.style.overflow="auto"},[t]);let{data:s}=_(o.endsWith("dub.co")&&"/api/auth/session",h,{dedupingInterval:6e4});return i("div",{className:r(n==="dark"&&"dark"),children:[e("button",{onClick:()=>a(!t),className:r("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",t&&"hover:bg-gray-100 active:bg-gray-200"),children:t?e(z,{className:"h-5 w-5 text-gray-600 dark:text-white/70"}):e(w,{className:"h-5 w-5 text-gray-600 dark:text-white/70"})}),e("nav",{className:r("fixed inset-0 z-20 hidden w-full bg-white px-5 py-16 lg:hidden dark:bg-black dark:text-white/70",t&&"block"),children:i("ul",{className:"grid divide-y divide-gray-200 dark:divide-white/[0.15]",children:[v.map(({name:f,href:d,childItems:c},g)=>e(L,{name:f,href:d,childItems:c,setOpen:a},g)),s&&Object.keys(s).length>0?e("li",{className:"py-3",children:e(m,{href:u,className:"flex w-full font-semibold capitalize",children:"Dashboard"})}):i(D,{children:[e("li",{className:"py-3",children:e(m,{href:`${u}/login`,className:"flex w-full font-semibold capitalize",children:"Log in"})}),e("li",{className:"py-3",children:e(m,{href:`${u}/register`,className:"flex w-full font-semibold capitalize",children:"Sign Up"})})]})]})})]})}var L=({name:n,href:l,childItems:o,setOpen:t})=>{let{domain:a="dub.co"}=N(),[s,f]=y(!1);return o?e("li",{className:"py-3",children:i(b,{height:!0,children:[i("button",{className:"flex w-full justify-between",onClick:()=>f(!s),children:[e("p",{className:"font-semibold",children:n}),e(x,{className:r("h-5 w-5 text-gray-500 transition-all dark:text-white/50",s&&"rotate-180")})]}),s&&e("div",{className:"grid gap-4 overflow-hidden py-4",children:o.map(({title:d,href:c,icon:g,description:k})=>i(m,{href:p(c,a,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:a,utm_content:d}),onClick:()=>t(!1),className:"flex w-full gap-3",children:[e("div",{className:"flex size-10 items-center justify-center rounded-lg border border-neutral-200 bg-gradient-to-t from-gray-100",children:e(g,{className:"size-5 text-neutral-500"})}),i("div",{children:[e("div",{className:"flex items-center gap-2",children:e("h2",{className:"text-sm font-medium text-neutral-900",children:d})}),e("p",{className:"text-sm text-neutral-500",children:k})]})]},c))})]})}):l?e("li",{className:"py-3",children:e(m,{href:p(l,a,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:a,utm_content:n}),onClick:()=>t(!1),className:"flex w-full font-semibold capitalize",children:n})}):null};export{W as a};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as H}from"./chunk-C3GKJDGC.mjs";import{a as I}from"./chunk-XGYRMNAC.mjs";import{a as _,d as T}from"./chunk-GKQ6TXG4.mjs";import{a as R}from"./chunk-TEY5O3RA.mjs";import{a as P}from"./chunk-BR2VFDDF.mjs";import{a as E}from"./chunk-ZN3PNOIE.mjs";import{a as V}from"./chunk-AXZJPLZ2.mjs";import{j as g,k as S}from"./chunk-ER4DXXJA.mjs";import{i as N,j as L,l as W,m as a}from"./chunk-HVAJT6I7.mjs";import*as i from"@radix-ui/react-navigation-menu";import{LayoutGroup as ot}from"framer-motion";import rt from"js-cookie";import p from"next/link";import{useParams as at,usePathname as it}from"next/navigation";import{createContext as nt,useId as st}from"react";import dt from"swr";import{useCallback as j,useEffect as D,useState as z}from"react";function B(n){let[r,m]=z(!1),o=j(()=>{m(window.scrollY>n)},[n]);return D(()=>(window.addEventListener("scroll",o),()=>window.removeEventListener("scroll",o)),[o]),D(()=>{o()},[o]),r}import*as l from"@radix-ui/react-popover";import{BoxSelect as F,Home as U,LayoutGrid as $,Type as Y}from"lucide-react";import{useParams as q}from"next/navigation";import{useCallback as J,useContext as K,useState as Q}from"react";import{toast as X}from"sonner";import{jsx as e,jsxs as G}from"react/jsx-runtime";var tt=`<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>`,et=`<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 O({variant:n="full",isInApp:r,className:m}){let{domain:o="dub.co"}=q(),{theme:b}=K(y),[f,d]=Q(!1),h=J(s=>{s.preventDefault(),d(!0)},[]),[,k]=V();function c(s){X.promise(k(s),{success:"Copied to clipboard!",error:"Failed to copy to clipboard"})}return G(l.Root,{open:f,onOpenChange:d,children:[e(l.Anchor,{asChild:!0,children:e("div",{onContextMenu:h,className:"max-w-fit",children:n==="full"?e(R,{className:m}):e(P,{className:a("h-8 w-8 transition-all duration-75 active:scale-95",m)})})}),e(l.Portal,{children:e(l.Content,{sideOffset:14,align:"start",className:a("z-50 -mt-1.5",!r&&"-translate-x-8",b==="dark"&&"dark"),onClick:s=>{s.stopPropagation(),d(!1)},children:G("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:[e(u,{text:"Copy Logo as SVG",variant:"outline",onClick:()=>c(tt),icon:e(P,{className:"h-4 w-4"})}),e(u,{text:"Copy Wordmark as SVG",variant:"outline",onClick:()=>c(et),icon:e(Y,{strokeWidth:2,className:"h-4 w-4"})}),e(u,{text:"Brand Guidelines",variant:"outline",onClick:()=>window.open("https://dub.co/brand","_blank"),icon:e(F,{strokeWidth:2,className:"h-4 w-4"})}),r||o!="dub.co"?e(u,{text:"Home Page",variant:"outline",onClick:()=>window.open(`https://dub.co${r?"/home":""}`,"_blank"),icon:e(U,{strokeWidth:2,className:"h-4 w-4"})}):e(u,{text:"Dashboard",variant:"outline",onClick:()=>window.open("https://app.dub.co","_blank"),icon:e($,{strokeWidth:2,className:"h-4 w-4"})})]})})})]})}function u({className:n,...r}){return e(S,{className:a("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",n),...r})}import{Fragment as ct,jsx as t,jsxs as v}from"react/jsx-runtime";var y=nt({theme:"light"}),lt=[{name:"Product",content:H,childItems:_,segments:["/","/home","/features","/customers"]},{name:"Resources",content:I,childItems:T,segments:["/solutions","/blog","/changelog","/docs","/help","/brand"]},{name:"Enterprise",href:"/enterprise",segments:["/enterprise"]},{name:"Pricing",href:"/pricing",segments:["/pricing"]}],Z=a("relative block rounded-md px-4 py-2 text-sm rounded-lg font-medium text-neutral-700 hover:text-neutral-900 transition-colors","dark:text-white/90 dark:hover:text-white","hover:bg-neutral-900/5 dark:hover:bg-white/10","data-[active=true]:bg-neutral-900/5 dark:data-[active=true]:bg-white/10","group-has-[:hover]:data-[active=true]:[&:not(:hover)]:bg-transparent");function At({theme:n="light",staticDomain:r,maxWidthWrapperClassName:m}){let{domain:o="dub.co"}=at();r&&(o=r);let b=st(),f=B(40),d=it(),{data:h,isLoading:k}=dt(o.endsWith("dub.co")&&"/api/auth/session",W,{dedupingInterval:6e4}),c=!!(o==="dub.co"&&rt.get("dub_id"));return t(y.Provider,{value:{theme:n},children:t(ot,{id:b,children:v("div",{className:a("sticky inset-x-0 top-0 z-30 w-full transition-all",n==="dark"&&"dark"),children:[t("div",{className:a("absolute inset-0 block border-b border-transparent transition-all",f&&"border-neutral-100 bg-white/75 backdrop-blur-lg dark:border-white/10 dark:bg-black/75")}),t(E,{className:a("relative",m),children:v("div",{className:"flex h-14 items-center justify-between",children:[t("div",{className:"grow basis-0",children:t(p,{className:"block w-fit py-2 pr-2",href:N("/home",o,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:o,utm_content:"Logo"}),children:t(O,{})})}),v(i.Root,{delayDuration:0,className:"relative hidden lg:block",children:[t(i.List,{className:"group relative z-0 flex",children:lt.map(({name:s,href:C,segments:A,content:w})=>{let M=A.some(x=>x==="/"?d===x:d==null?void 0:d.startsWith(x));return v(i.Item,{children:[t(mt,{trigger:!!w,children:C!==void 0?t(p,{id:`nav-${C}`,href:N(C,o,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:o,utm_content:s}),className:Z,"data-active":M,children:s}):t("button",{className:Z,"data-active":M,children:s})}),w&&t(i.Content,{className:"data-[motion=from-start]:animate-enter-from-left data-[motion=from-end]:animate-enter-from-right data-[motion=to-start]:animate-exit-to-left data-[motion=to-end]:animate-exit-to-right absolute left-0 top-0",children:t(w,{domain:o})})]},s)})}),t("div",{className:"absolute left-1/2 top-full mt-3 -translate-x-1/2",children:t(i.Viewport,{className:a("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 gap-2 lg:flex",children:h&&Object.keys(h).length>0?t(p,{href:L,className:a(g({variant:"primary"}),"flex h-8 items-center rounded-lg border px-4 text-sm","dark:border-white dark:bg-white dark:text-black dark:hover:bg-neutral-50 dark:hover:ring-white/10"),children:"Dashboard"}):k?null:v(ct,{children:[t(p,{href:c?"https://app.dub.co/login":"https://d.to/login",className:a(g({variant:"secondary"}),"flex h-8 items-center rounded-lg border px-4 text-sm","dark:border-white/10 dark:bg-black dark:text-white dark:hover:bg-neutral-900"),children:"Log in"}),t(p,{href:c?"https://app.dub.co/register":"https://d.to/register",className:a(g({variant:"primary"}),"flex h-8 items-center rounded-lg border px-4 text-sm","dark:border-white dark:bg-white dark:text-black dark:hover:bg-neutral-50 dark:hover:ring-white/10"),children:"Sign up"})]})})]})})]})})})}function mt({trigger:n,children:r}){return n?t(i.Trigger,{asChild:!0,children:r}):r}export{B as a,y as b,lt as c,At as d,O as e};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{o as t}from"./chunk-TOM3J6XQ.mjs";import{jsx as C,jsxs as a}from"react/jsx-runtime";function l({className:i}){return a("svg",{className:(void 0)("h-full w-full",i),viewBox:"0 0 222 222",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[C("circle",{cx:"111",cy:"111",r:"111",fill:"#0D1117"}),C("path",{d:"M111.001 44C72.8976 44 42 74.7556 42 112.696C42 143.048 61.7708 168.798 89.1868 177.882C92.6352 178.518 93.9013 176.392 93.9013 174.577C93.9013 172.939 93.8373 167.528 93.8076 161.787C74.6115 165.943 70.5609 153.682 70.5609 153.682C67.4222 145.742 62.8997 143.63 62.8997 143.63C56.6393 139.367 63.3716 139.454 63.3716 139.454C70.3004 139.939 73.9488 146.534 73.9488 146.534C80.103 157.036 90.0906 154 94.0281 152.244C94.6474 147.804 96.4356 144.774 98.4089 143.058C83.0829 141.321 66.972 135.431 66.972 109.108C66.972 101.608 69.6674 95.4801 74.0814 90.6693C73.3649 88.939 71.0031 81.952 74.7498 72.4896C74.7498 72.4896 80.544 70.6433 93.7299 79.5312C99.2339 78.0091 105.137 77.2458 111.001 77.2196C116.864 77.2458 122.772 78.0091 128.286 79.5312C141.456 70.6433 147.242 72.4896 147.242 72.4896C150.998 81.952 148.635 88.939 147.919 90.6693C152.343 95.4801 155.02 101.608 155.02 109.108C155.02 135.493 138.878 141.303 123.513 143.004C125.988 145.136 128.194 149.316 128.194 155.725C128.194 164.917 128.114 172.315 128.114 174.577C128.114 176.405 129.356 178.547 132.853 177.873C160.254 168.779 180 143.038 180 112.696C180 74.7556 149.107 44 111.001 44ZM67.843 141.859C67.691 142.201 67.1517 142.303 66.6603 142.069C66.1599 141.844 65.8788 141.379 66.041 141.037C66.1896 140.685 66.73 140.587 67.2294 140.823C67.731 141.047 68.0166 141.517 67.843 141.859ZM71.237 144.874C70.9079 145.178 70.2646 145.037 69.8282 144.557C69.3768 144.078 69.2923 143.438 69.6259 143.129C69.9653 142.826 70.5892 142.968 71.0416 143.447C71.493 143.931 71.5809 144.567 71.237 144.874ZM73.5655 148.732C73.1427 149.024 72.4514 148.75 72.0241 148.139C71.6013 147.529 71.6013 146.796 72.0332 146.502C72.4617 146.209 73.1427 146.473 73.5758 147.079C73.9974 147.7 73.9974 148.433 73.5655 148.732ZM77.5034 153.2C77.1252 153.615 76.3196 153.504 75.73 152.937C75.1267 152.383 74.9588 151.597 75.3381 151.182C75.7209 150.766 76.531 150.883 77.1252 151.445C77.7239 151.998 77.9067 152.789 77.5034 153.2ZM82.5928 154.708C82.4259 155.246 81.6501 155.491 80.8685 155.262C80.0881 155.027 79.5774 154.397 79.7351 153.853C79.8973 153.311 80.6766 153.056 81.4639 153.301C82.2431 153.535 82.755 154.161 82.5928 154.708ZM88.3847 155.348C88.4041 155.915 87.7414 156.384 86.921 156.395C86.096 156.413 85.4287 155.954 85.4196 155.397C85.4196 154.825 86.0674 154.359 86.8924 154.346C87.7128 154.33 88.3847 154.785 88.3847 155.348ZM94.0746 155.131C94.1729 155.684 93.6027 156.251 92.788 156.403C91.987 156.548 91.2455 156.207 91.1438 155.659C91.0444 155.092 91.6248 154.525 92.4247 154.378C93.2405 154.237 93.9706 154.569 94.0746 155.131Z",fill:"url(#paint0_radial_39_32)"}),C("defs",{children:a("radialGradient",{id:"paint0_radial_39_32",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(42 44) rotate(44.1575) scale(192.354 192.312)",children:[C("stop",{stopColor:"white",stopOpacity:"0.77"}),C("stop",{offset:"1",stopColor:"white",stopOpacity:"0.1"})]})})]})}export{l as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{o as n}from"./chunk-TOM3J6XQ.mjs";import{motion as t}from"framer-motion";import{jsx as e}from"react/jsx-runtime";function s({value:i=0,max:r=100,className:o}){return e("div",{className:(void 0)("h-3 w-full overflow-hidden rounded-full bg-gray-200",o),children:e(t.div,{initial:{width:0},animate:{width:i&&r?i/r*100+"%":"0%"},transition:{duration:.5,type:"spring",delay:.2},className:`${i&&r&&i>r?"bg-red-500":"bg-blue-500"} h-full`})})}export{s as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{o as e}from"./chunk-TOM3J6XQ.mjs";import{jsx as l}from"react/jsx-runtime";function i({className:t}){return l("svg",{width:"64",height:"64",viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:(void 0)("h-10 w-10 text-black dark:text-white",t),children:l("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M32 64C49.6731 64 64 49.6731 64 32C64 20.1555 57.5648 9.81398 48 4.28103V31.9999V47.9999H40V45.8594C37.6466 47.2208 34.9143 47.9999 32 47.9999C23.1634 47.9999 16 40.8365 16 31.9999C16 23.1634 23.1634 15.9999 32 15.9999C34.9143 15.9999 37.6466 16.7791 40 18.1404V1.00814C37.443 0.350024 34.7624 0 32 0C14.3269 0 0 14.3269 0 32C0 49.6731 14.3269 64 32 64Z",fill:"currentColor"})})}export{i as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{c as x}from"./chunk-SAM6AF4Y.mjs";import{a as f}from"./chunk-JNPLGH3F.mjs";import{f as u,o as b}from"./chunk-TOM3J6XQ.mjs";import{AnimatePresence as C,motion as h}from"framer-motion";import{X as L}from"lucide-react";import{isValidElement as A}from"react";import{Fragment as O,jsx as t,jsxs as i}from"react/jsx-runtime";function I({filters:p,activeFilters:a,onRemove:v,onRemoveAll:d,className:w}){return x("Escape",d,{priority:1}),t(f,{height:!0,className:"w-full",transition:{type:"tween",duration:.3},children:i("div",{className:(void 0)("flex w-full flex-wrap items-start gap-4 sm:flex-nowrap",w),children:[t("div",{className:"flex grow flex-wrap gap-x-4 gap-y-2",children:t(C,{children:a==null?void 0:a.map(({key:n,value:s})=>{if(n==="loader")return t(h.div,{initial:{opacity:0,y:4},animate:{opacity:1,y:0},className:"h-9 w-48 animate-pulse rounded-md border border-gray-200 bg-white"},`loader-${s}`);let e=p.find(r=>r.key===n);return e?(e.multiple&&Array.isArray(s)?s:[s]).map(r=>{var c,y,g;let o=(c=e.options)==null?void 0:c.find(m=>typeof m.value=="string"&&typeof r=="string"?m.value.toLowerCase()===r.toLowerCase():m.value===r),l=(o==null?void 0:o.icon)??((y=e.getOptionIcon)==null?void 0:y.call(e,r,{key:e.key,option:o}))??e.icon,k=(o==null?void 0:o.label)??((g=e.getOptionLabel)==null?void 0:g.call(e,r,{key:e.key,option:o}))??r;return i(h.div,{initial:{opacity:0,y:4},animate:{opacity:1,y:0},className:"flex items-center divide-x rounded-md border border-gray-200 bg-white text-sm text-black",children:[i("div",{className:"flex items-center gap-2.5 px-3 py-2",children:[t("span",{className:"shrink-0 text-gray-600",children:N(e.icon)?e.icon:t(e.icon,{className:"h-4 w-4"})}),e.label]}),t("div",{className:"px-3 py-2 text-gray-500",children:"is"}),t("div",{className:"flex items-center gap-2.5 px-3 py-2",children:e.options?i(O,{children:[t("span",{className:"shrink-0 text-gray-600",children:N(l)?l:t(l,{className:"h-4 w-4"})}),(void 0)(k,30)]}):t("div",{className:"h-5 w-12 animate-pulse rounded-md bg-gray-200"})}),t("button",{type:"button",className:"h-full rounded-r-md p-2 text-gray-500 ring-inset ring-gray-500 hover:bg-gray-100 hover:text-gray-800 focus:outline-none focus-visible:ring-1",onClick:()=>v(n,r),children:t(L,{className:"h-3.5 w-3.5"})})]},`${n}-${r}`)}):(console.error("Filter.List received an activeFilter without a corresponding filter"),null)})})}),(a==null?void 0:a.length)!==0&&i("button",{type:"button",className:"group mt-px flex items-center gap-2 whitespace-nowrap rounded-lg border border-transparent px-3 py-2 text-sm text-gray-500 ring-inset ring-gray-500 transition-colors hover:border-gray-200 hover:bg-white hover:text-black focus:outline-none",onClick:d,children:["Clear Filters",t("kbd",{className:"rounded-md border border-gray-200 px-1.5 py-0.5 text-xs text-gray-950 group-hover:bg-gray-50",children:"ESC"})]})]})})}var N=p=>A(p);export{I as a};
|