@dub/ui 0.2.24 → 0.2.26
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/charts/index.mjs +1 -1
- package/dist/chunk-2OJKZBDO.mjs +2 -0
- package/dist/chunk-36OMIVP5.mjs +2 -0
- package/dist/chunk-3AO4YGBF.mjs +2 -0
- package/dist/chunk-3QSDWSUT.mjs +2 -0
- package/dist/chunk-3S52DOVE.mjs +2 -0
- package/dist/chunk-4CURZG74.mjs +2 -0
- package/dist/chunk-4DE56BUP.mjs +2 -0
- package/dist/chunk-4HVP26H3.mjs +2 -0
- package/dist/chunk-4I2SGRB6.mjs +2 -0
- package/dist/chunk-4VTUL7ML.mjs +2 -0
- package/dist/chunk-4X6DAFIM.mjs +2 -0
- package/dist/chunk-5HGWIWQU.mjs +2 -0
- package/dist/chunk-5S2FRYYF.mjs +2 -0
- package/dist/chunk-62NHOHH2.mjs +2 -0
- package/dist/chunk-63IK74NX.mjs +2 -0
- package/dist/chunk-6EPSYI5Y.mjs +2 -0
- package/dist/chunk-6KUBQLUO.mjs +2 -0
- package/dist/chunk-6OKYBXH5.mjs +2 -0
- package/dist/chunk-6REQUBM2.mjs +2 -0
- package/dist/chunk-6YC64LOD.mjs +2 -0
- package/dist/chunk-6ZFVXFIK.mjs +2 -0
- package/dist/chunk-6ZHXDMT3.mjs +2 -0
- package/dist/chunk-7CQQCXKB.mjs +2 -0
- package/dist/chunk-7LZJ4BBP.mjs +2 -0
- package/dist/chunk-B4E5ZEEP.mjs +2 -0
- package/dist/chunk-BE6AYVI4.mjs +2 -0
- package/dist/chunk-BXUTMJU4.mjs +2 -0
- package/dist/chunk-BYTGI6AX.mjs +2 -0
- package/dist/chunk-CIBHXS67.mjs +2 -0
- package/dist/chunk-COZT5UQA.mjs +2 -0
- package/dist/chunk-CYHHPGN3.mjs +2 -0
- package/dist/chunk-CZCUZ4OO.mjs +2 -0
- package/dist/chunk-D4PH42HB.mjs +2 -0
- package/dist/chunk-D53CRCCK.mjs +2 -0
- package/dist/chunk-DMCA57QR.mjs +2 -0
- package/dist/chunk-DU3FKQXT.mjs +2 -0
- package/dist/chunk-DXTHOXMZ.mjs +2 -0
- package/dist/chunk-FRLM54FH.mjs +2 -0
- package/dist/chunk-H3BFE32J.mjs +2 -0
- package/dist/chunk-HL3BPZKG.mjs +2 -0
- package/dist/chunk-IJDNUOBW.mjs +2 -0
- package/dist/chunk-IUVULGOU.mjs +2 -0
- package/dist/chunk-J3ZF72K2.mjs +2 -0
- package/dist/chunk-J4ZX24WT.mjs +2 -0
- package/dist/chunk-J5AMH4KZ.mjs +2 -0
- package/dist/chunk-JD3PDTCI.mjs +2 -0
- package/dist/chunk-JXZGCS23.mjs +2 -0
- package/dist/chunk-K47BLKLD.mjs +2 -0
- package/dist/chunk-K5AUYBNU.mjs +2 -0
- package/dist/chunk-KNBQRZSW.mjs +2 -0
- package/dist/chunk-KSJAAN77.mjs +2 -0
- package/dist/chunk-LRKVVHWJ.mjs +2 -0
- package/dist/chunk-MIJNFMM4.mjs +2 -0
- package/dist/chunk-MMHSBOGF.mjs +2 -0
- package/dist/chunk-NMGMWV2P.mjs +2 -0
- package/dist/chunk-O6MMFJJY.mjs +2 -0
- package/dist/chunk-PE5VMLFP.mjs +2 -0
- package/dist/chunk-PEXKZ6NJ.mjs +2 -0
- package/dist/chunk-PIBTTAU6.mjs +2 -0
- package/dist/chunk-PKRWCMTA.mjs +2 -0
- package/dist/chunk-PORW3WPG.mjs +2 -0
- package/dist/chunk-Q3NBCPKR.mjs +2 -0
- package/dist/chunk-Q6BQPKKR.mjs +2 -0
- package/dist/chunk-QNTL7AAH.mjs +2 -0
- package/dist/chunk-R4XCA6HD.mjs +2 -0
- package/dist/chunk-RS24RTHK.mjs +2 -0
- package/dist/chunk-RT5V7A7K.mjs +2 -0
- package/dist/chunk-RTPJR4F5.mjs +2 -0
- package/dist/chunk-SCVRCXGY.mjs +2 -0
- package/dist/chunk-SLDNL5CD.mjs +2 -0
- package/dist/chunk-SO4KIVVG.mjs +2 -0
- package/dist/chunk-SPXJGEV4.mjs +2 -0
- package/dist/chunk-TMW2TBCM.mjs +2 -0
- package/dist/chunk-UFSN3KU5.mjs +2 -0
- package/dist/chunk-UG43YWI7.mjs +2 -0
- package/dist/chunk-UIVDSOB3.mjs +2 -0
- package/dist/chunk-UNRIUV2D.mjs +2 -0
- package/dist/chunk-UQ3ACZPV.mjs +2 -0
- package/dist/chunk-UWMEKYH3.mjs +2 -0
- package/dist/chunk-VAARVWMM.mjs +2 -0
- package/dist/chunk-VHQYCR5I.mjs +2 -0
- package/dist/chunk-WG7BQBZ2.mjs +2 -0
- package/dist/chunk-WRD7JL2Q.mjs +2 -0
- package/dist/chunk-XNGIQIJO.mjs +2 -0
- package/dist/chunk-XQG7LBSH.mjs +2 -0
- package/dist/chunk-XR5B4PDA.mjs +2 -0
- package/dist/icons/index.d.ts +40 -2
- package/dist/icons/index.mjs +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +29 -8
- package/dist/index.mjs +6 -6
- package/package.json +1 -1
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
var _="https://www.google.com/s2/favicons?sz=64&domain_url=";var g=100,P=60*60*24*14,O=new Date("2022-09-22T00:00:00.000Z"),t=1e9;var I=process.env.NEXT_PUBLIC_APP_NAME||"Dub.co",p=process.env.NEXT_PUBLIC_APP_SHORT_DOMAIN||"dub.sh",N=`https://${process.env.NEXT_PUBLIC_APP_DOMAIN}`,k=new Set([`app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"localhost:8888","localhost"]),b=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:"http://localhost:8888",T=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_NGROK_URL||"http://localhost:8888",S=new Set([`api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`api-staging.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`api.${p}`,"api.localhost:8888"]),L=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://api-staging.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:"http://api.localhost:8888",y=new Set([`admin.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"admin.localhost:8888"]),v=new Set([`partners.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`partners-staging.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"partners.localhost:8888"]),C=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://partners.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://partners-staging.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:"http://partners.localhost:8888",D=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://partners.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://partners-staging.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_NGROK_URL||"http://partners.localhost:8888";var R=process.env.STORAGE_BASE_URL;var x=new RegExp(/^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/),w=new RegExp(/^[a-zA-Z0-9\-]+$/);var B=e=>{if((void 0)(e))return new URL(e).hostname.replace(/^www\./,"");try{if(e.includes(".")&&!e.includes(" "))return new URL(`https://${e}`).hostname.replace(/^www\./,"")}catch{return null}};var r=({name:e="Business",monthly:h=59,yearly:f=49,links:o=5e3,clicks:i=15e4,sales:n=5e5,domains:l=40,folders:E=10,users:c=15,ids:A=[]})=>({name:e,tagline:"For fast-growing startups and businesses looking to scale",link:"https://dub.co/help/article/business-plan",price:{monthly:h,yearly:f,ids:A},limits:{links:o,clicks:i,sales:n,domains:l,tags:t,folders:E,users:c,ai:1e3,api:3e3},colors:{bg:"bg-sky-900",text:"text-sky-900"},cta:{text:`Get started with ${e}`,shortText:`Get ${e}`,href:"https://app.dub.co/register",color:"bg-sky-900 hover:bg-sky-800 hover:ring-sky-100"},featureTitle:"Everything in Pro, plus:",features:[{id:"clicks",text:`${(void 0)(i)} tracked clicks/mo`},{id:"links",text:`${Intl.NumberFormat("en-US").format(o)} new links/mo`},{id:"sales",text:`${(void 0)(n/100)} tracked sales/mo`,footnote:{title:"Use Dub Conversions to track how your link clicks are converting to signups and sales. Limits are based on the total sale amount tracked within a given month.",cta:"Learn more.",href:"https://d.to/conversions"}},{id:"retention",text:"3-year analytics retention"},{id:"domains",text:`${l} domains`},{id:"users",text:`${c} users`},{id:"events",text:"Real-time events stream",footnote:{title:"Get more data on your link clicks and QR code scans with a detailed, real-time stream of events in your workspace",cta:"Learn more.",href:"https://d.to/events"}},{id:"webhooks",text:"Real-time webhooks",footnote:{title:"Use webhooks to connect Dub with your data stack and workflows \u2013 with native integrations for Segment, Zapier, Slack, and more.",cta:"Learn more.",href:"https://d.to/webhooks"}}]}),s=[{name:"Free",tagline:"For hobbyists and individuals looking to manage their links",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,sales:0,domains:3,tags:5,folders:0,users:1,ai:10,api:60},colors:{bg:"bg-black",text:"text-black"},cta:{text:"Start for free",href:"https://app.dub.co/register",color:"bg-white hover:bg-neutral-50 border border-neutral-200 hover:ring-neutral-100 text-neutral-800"},featureTitle:"What's included:",features:[{id:"clicks",text:"1K tracked clicks/mo"},{id:"links",text:"25 new links/mo"},{id:"retention",text:"30-day analytics retention"},{id:"domains",text:"3 domains"},{id:"user",text:"1 user"},{id:"analytics",text:"Advanced analytics",footnote:{title:"Get location (country, city, continent), device (type, browser, OS), and referer data on your clicks.",cta:"Learn more.",href:"https://dub.co/analytics"}},{id:"ai",text:"10 AI credits/mo"},{id:"basic-support",text:"Basic support"},{id:"api",text:"API Access",footnote:{title:"Programatically manage your links using our REST API.",cta:"Learn more.",href:"https://dub.co/docs/api-reference/introduction"}}]},{name:"Pro",tagline:"For content creators or small teams needing advanced features",link:"https://dub.co/help/article/pro-plan",price:{monthly:24,yearly:19,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ","price_1OTcQBAlJJEpqkPViGtGEsbb","price_1OYJeBAlJJEpqkPVLjTsjX0E","price_1OTcQBAlJJEpqkPVYlCMqdLL","price_1OYJeBAlJJEpqkPVnPGEZeb0"]},limits:{links:1e3,clicks:5e4,sales:0,domains:10,tags:25,folders:3,users:5,ai:1e3,api:600},colors:{bg:"bg-blue-500",text:"text-blue-500"},cta:{text:"Get started with Pro",shortText:"Get Pro",href:"https://app.dub.co/register",color:"bg-black hover:bg-neutral-800 hover:ring-neutral-200"},featureTitle:"Everything in Free, plus:",features:[{id:"clicks",text:"50K tracked clicks/mo"},{id:"links",text:"1,000 new links/mo"},{id:"retention",text:"1-year analytics retention"},{id:"domains",text:"10 domains"},{id:"users",text:"5 users"},{id:"link-features",text:"Advanced link features",footnote:"Custom social media cards, password-protected links, link expiration, link cloaking, device targeting, geo targeting etc."},{id:"ai",text:"Unlimited AI credits",footnote:{title:"Subject to fair use policy \u2013 you will be notified if you exceed the limit, which are high enough for frequent usage.",cta:"Learn more.",href:"https://dub.co/blog/introducing-dub-ai"}},{id:"priority-support",text:"Priority support"},{id:"dublink",text:"Premium dub.link domain",footnote:{title:"Stand out from the crowd with a premium dub.link domain.",cta:"Learn more.",href:"https://dub.co/help/article/default-dub-domains#premium-dublink-domain"}},{id:"dotlink",text:"Free custom domain",footnote:{title:"All our paid plans come with a free .link custom domain, which helps improve click-through rates.",cta:"Learn more.",href:"https://dub.co/help/article/free-dot-link-domain"}}]},r({name:"Business",monthly:59,yearly:49,links:5e3,clicks:15e4,sales:5e5,domains:40,folders:10,users:15,ids:["price_1LodLoAlJJEpqkPV9rD0rlNL","price_1LodLoAlJJEpqkPVJdwv5zrG","price_1OZgmnAlJJEpqkPVOj4kV64R","price_1OzNlmAlJJEpqkPV7s9HXNAC","price_1OzNmXAlJJEpqkPVYO89lTdx","price_1OzOFIAlJJEpqkPVJxzc9irl","price_1OzOXMAlJJEpqkPV9ERrjjbw"]}),r({name:"Business Plus",monthly:119,yearly:99,links:15e3,clicks:4e5,sales:15e5,domains:100,folders:25,users:30,ids:["price_1OnWu0AlJJEpqkPVWk4144ZG","price_1OnWu0AlJJEpqkPVkDWVriAB","price_1OnaK3AlJJEpqkPVaCfCPdHi","price_1OzObrAlJJEpqkPVh6D9HWGO"]}),r({name:"Business Extra",monthly:249,yearly:199,links:4e4,clicks:1e6,sales:4e6,domains:250,folders:50,users:50,ids:["price_1OnWvCAlJJEpqkPVLzLHx5QD","price_1OnWvCAlJJEpqkPVHhCCvIOq","price_1OnaKJAlJJEpqkPVeJSvPfJb","price_1OzOg1AlJJEpqkPVPlsrxoWm"]}),r({name:"Business Max",monthly:499,yearly:399,links:1e5,clicks:25e5,sales:1e7,domains:500,folders:100,users:100,ids:["price_1OnWwLAlJJEpqkPVXtJyPqLk","price_1OnWwLAlJJEpqkPV4eMbOkNh","price_1OnaKOAlJJEpqkPVV6gkZPgt","price_1OzOh5AlJJEpqkPVtCSX7dlE"]}),{name:"Enterprise",tagline:"For large organizations and governments with custom needs",link:"https://dub.co/enterprise",price:{monthly:null,yearly:null},limits:{links:25e4,clicks:5e6,sales:1e8,domains:1e3,tags:t,folders:t,users:500,ai:1e4,api:1e4},colors:{bg:"bg-violet-600",text:"text-violet-600"},cta:{text:"Contact us",href:"/enterprise",color:"bg-white hover:bg-neutral-50 border border-neutral-200 hover:ring-neutral-100 text-neutral-800"},featureTitle:"Everything in Business, plus:",features:[{id:"sso",text:"SSO/SAML"},{id:"roles",text:"Role-based controls"},{id:"volume",text:"Volume discounts"},{id:"sla",text:"Custom SLA"},{id:"logs",text:"Audit logs"},{id:"success",text:"Dedicated success manager"}]}],M=s.find(e=>e.name==="Free"),V=s.find(e=>e.name==="Pro"),z=s.find(e=>e.name==="Business"),J=s.find(e=>e.name==="Enterprise");var $=s.filter(e=>e.name!=="Free"&&e.name!=="Enterprise");export{_ as a,g as b,b as c,B as d,a as e,G as f,F as g,X as h,Y as i,q as j,K as k,Z as l,j as m,H as n,W as o};
|