@dub/utils 0.1.24 → 0.1.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/chunk-22GK34ZV.mjs +1 -0
- package/dist/chunk-2H44AXR6.mjs +1 -0
- package/dist/chunk-2XIIZ5VV.mjs +1 -0
- package/dist/chunk-3IAE6KA6.mjs +1 -0
- package/dist/chunk-3KUHZD7Q.mjs +1 -0
- package/dist/chunk-3Q25XO3O.mjs +1 -0
- package/dist/chunk-4H7OP6TY.mjs +1 -0
- package/dist/chunk-4KPCHJPJ.mjs +1 -0
- package/dist/chunk-4N5MA2RU.mjs +1 -0
- package/dist/chunk-4UTXL4I5.mjs +1 -0
- package/dist/chunk-6U2XQRAL.mjs +1 -0
- package/dist/chunk-A7BV2QEJ.mjs +1 -0
- package/dist/chunk-AIE6OQ3Y.mjs +1 -0
- package/dist/chunk-B5RDJTTU.mjs +1 -0
- package/dist/chunk-BHLGVAFP.mjs +1 -0
- package/dist/chunk-BJNY77CS.mjs +1 -0
- package/dist/chunk-BNNTDKJK.mjs +1 -0
- package/dist/chunk-C4IEMCX4.mjs +1 -0
- package/dist/chunk-CB4VDVGB.mjs +1 -0
- package/dist/chunk-CDGJUAIT.mjs +1 -0
- package/dist/chunk-CMZ4WIQE.mjs +1 -0
- package/dist/chunk-DMNOUQYM.mjs +1 -0
- package/dist/chunk-EE7LCCIQ.mjs +1 -0
- package/dist/chunk-EULFAGTW.mjs +1 -0
- package/dist/chunk-F2JEBY66.mjs +1 -0
- package/dist/chunk-FK33Q5UL.mjs +1 -0
- package/dist/chunk-GKLDFUEN.mjs +1 -0
- package/dist/chunk-GSENUCFY.mjs +1 -0
- package/dist/chunk-H4ELSETA.mjs +1 -0
- package/dist/chunk-HHGB6SK3.mjs +1 -0
- package/dist/chunk-HTBJJ35Z.mjs +1 -0
- package/dist/chunk-IKNUIGGF.mjs +1 -0
- package/dist/chunk-IWZOM2TM.mjs +1 -0
- package/dist/chunk-JDHSRE42.mjs +1 -0
- package/dist/chunk-JP3D33TB.mjs +1 -0
- package/dist/chunk-JUGYB7Q5.mjs +1 -0
- package/dist/chunk-KF2PHMDW.mjs +1 -0
- package/dist/chunk-LL43XM75.mjs +1 -0
- package/dist/chunk-LVPFXNQZ.mjs +1 -0
- package/dist/chunk-MFEXQ2CL.mjs +1 -0
- package/dist/chunk-MXVSW5LA.mjs +1 -0
- package/dist/chunk-NBHXSY6E.mjs +1 -0
- package/dist/chunk-NHWLFUV6.mjs +1 -0
- package/dist/chunk-NPXKHHLD.mjs +1 -0
- package/dist/chunk-NW4N7ECX.mjs +1 -0
- package/dist/chunk-O55JYOKO.mjs +1 -0
- package/dist/chunk-ONJFQW7Q.mjs +1 -0
- package/dist/chunk-OTQRCUL4.mjs +1 -0
- package/dist/chunk-OUYHR7XG.mjs +1 -0
- package/dist/chunk-P3GENSWQ.mjs +1 -0
- package/dist/chunk-PPYJZ63G.mjs +1 -0
- package/dist/chunk-PV3O3QU7.mjs +1 -0
- package/dist/chunk-PYD75RYX.mjs +1 -0
- package/dist/chunk-QQHB6G47.mjs +1 -0
- package/dist/chunk-R4T3HHG5.mjs +1 -0
- package/dist/chunk-R6PF76CP.mjs +1 -0
- package/dist/chunk-REYZJSJQ.mjs +1 -0
- package/dist/chunk-UNPS277H.mjs +1 -0
- package/dist/chunk-US66VONG.mjs +1 -0
- package/dist/chunk-W3YT7DLV.mjs +1 -0
- package/dist/chunk-WCTGNBOD.mjs +1 -0
- package/dist/chunk-XHNDO6XI.mjs +1 -0
- package/dist/chunk-Y3TXLT4H.mjs +1 -0
- package/dist/chunk-YF3L7MQ5.mjs +1 -0
- package/dist/chunk-YS4BZWBM.mjs +1 -0
- package/dist/chunk-ZVDM6NMA.mjs +1 -0
- package/dist/constants/dub-domains.mjs +1 -1
- package/dist/constants/index.d.ts +4 -3
- package/dist/constants/index.mjs +1 -1
- package/dist/constants/layout.mjs +1 -1
- package/dist/constants/links.d.ts +8 -0
- package/dist/constants/links.mjs +1 -0
- package/dist/constants/main.d.ts +3 -3
- package/dist/constants/main.mjs +1 -1
- package/dist/constants/misc.d.ts +3 -3
- package/dist/constants/misc.mjs +1 -1
- package/dist/constants/reserved-keys.d.ts +8 -0
- package/dist/constants/reserved-keys.mjs +1 -0
- package/dist/constants/reserved-slugs.d.ts +8 -0
- package/dist/constants/reserved-slugs.mjs +1 -0
- package/dist/format-datetime-smart-cc6b9bfd.d.ts +3 -0
- package/dist/functions/construct-metadata.mjs +1 -1
- package/dist/functions/datetime/format-datetime-smart.d.ts +3 -0
- package/dist/functions/datetime/format-datetime-smart.mjs +1 -0
- package/dist/functions/datetime/format-period.mjs +1 -1
- package/dist/functions/datetime/index.d.ts +1 -0
- package/dist/functions/datetime/index.mjs +1 -1
- package/dist/functions/domains.mjs +1 -1
- package/dist/functions/index.d.ts +3 -1
- package/dist/functions/index.mjs +1 -1
- package/dist/functions/link-constructor.mjs +1 -1
- package/dist/functions/regex-escape.d.ts +7 -0
- package/dist/functions/regex-escape.mjs +1 -0
- package/dist/functions/urls.d.ts +2 -1
- package/dist/functions/urls.mjs +1 -1
- package/dist/index.d.ts +7 -4
- package/dist/index.mjs +1 -1
- package/dist/plan-compare-8d7e31ce.d.ts +932 -0
- package/dist/plan-compare-a546903b.d.ts +925 -0
- package/dist/plan-features-1fd22ab5.d.ts +1151 -0
- package/dist/plan-features-a7b84275.d.ts +1103 -0
- package/dist/plan-features-c4b13b90.d.ts +1103 -0
- package/dist/plan-features-e3107344.d.ts +925 -0
- package/dist/regex-escape-9a3a3026.d.ts +7 -0
- package/dist/reserved-keys-728aa446.d.ts +932 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as o,b as l}from"./chunk-SYT2IXG6.mjs";import{a as c}from"./chunk-4UTXL4I5.mjs";import{a}from"./chunk-H4ELSETA.mjs";import{a as r}from"./chunk-YUMUNL66.mjs";import u from"@sindresorhus/slugify";var f=t=>{let e=u(t,{separator:""});if(e.length<3)return"";if(r.has(e.slice(-2)))return`${e.slice(0,-2)}.${e.slice(-2)}`;let n=e.replace(/[aeiou]/g,"");return n.length>=3&&r.has(n.slice(-2))?`${n.slice(0,-2)}.${n.slice(-2)}`:`${[e,n].reduce((i,s)=>i.length<s.length?i:s)}.link`},w=new RegExp(/^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/),A=new RegExp(/^[a-zA-Z0-9\-]+$/),D=(t,e)=>t===e?null:t.slice(0,t.length-e.length-1),x=t=>{let e;try{e=new URL(t.replace(/^[a-zA-Z]+:\/\//,"https://")).hostname}catch{return""}if(e==="youtu.be")return"youtube.com";let n=e.split(".");return n.length>2?o.has(n[n.length-2])&&r.has(n[n.length-1])||l.has(n.slice(-2).join("."))?n.slice(-3).join("."):n.slice(-2).join("."):e},d=t=>{if(a(t))return new URL(t).hostname.replace(/^www\./,"");try{if(t.includes(".")&&!t.includes(" "))return new URL(`https://${t}`).hostname.replace(/^www\./,"")}catch{return null}},S=t=>c.some(e=>e.slug===t);export{f as a,w as b,A as c,D as d,x as e,d as f,S as g};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var a=(t,e)=>{if(t.toString()==="Invalid Date")return"";let n=new Date(t),r=new Date;return new Date(t).toLocaleDateString("en-US",{month:"short",day:"numeric",...n.getUTCFullYear()!==r.getUTCFullYear()?{year:"numeric"}:{hour:"numeric",minute:"numeric",hour12:!0},...e})};export{a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{g as n}from"./chunk-CMZ4WIQE.mjs";import{a}from"./chunk-NWFCCRLG.mjs";import{Fragment as r,jsx as t,jsxs as i}from"react/jsx-runtime";var k=[{category:"Links",href:"https://dub.co/home",features:[{text:()=>i(r,{children:[t("strong",{children:"Unlimited"})," clicks"]})},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.links)})," ","new links",e.name==="Enterprise"?"":"/mo"]})},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.tags===n?"Unlimited":a(e.limits.tags)})," ","tags"]}),href:"https://dub.co/help/article/how-to-use-tags"},{check:{free:!1,default:!0},text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.folders===n?"Unlimited":a(e.limits.folders)})," ","folders"]})},{text:"Custom QR codes",href:"https://dub.co/help/article/custom-qr-codes"},{text:"UTM builder + templates",href:"https://dub.co/help/article/how-to-create-utm-templates"},{check:{free:!1,default:!0},text:"Custom link previews",href:"https://dub.co/help/article/custom-link-previews"},{check:{free:!1,default:!0},text:"Deep links",href:"https://dub.co/help/article/custom-domain-deep-links"},{check:{free:!1,default:!0},text:"Link cloaking",href:"https://dub.co/help/article/link-cloaking"},{check:{free:!1,default:!0},text:"Link expiration",href:"https://dub.co/help/article/link-expiration"},{check:{free:!1,default:!0},text:"Password protection",href:"https://dub.co/help/article/password-protected-links"},{check:{free:!1,default:!0},text:"Device targeting",href:"https://dub.co/help/article/device-targeting"},{check:{free:!1,default:!0},text:"Geo targeting",href:"https://dub.co/help/article/geo-targeting"},{check:{free:!1,pro:!1,default:!0},text:"A/B testing"}]},{category:"Analytics",href:"https://dub.co/analytics",features:[{text:"Advanced analytics",href:"https://dub.co/help/article/dub-analytics"},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.clicks)})," ","tracked clicks",e.name==="Enterprise"?"":"/mo"]}),href:"https://dub.co/help/article/dub-analytics-limits"},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.retention})," retention"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Real-time events stream",href:"https://dub.co/help/article/real-time-events-stream"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Conversion tracking",href:"https://dub.co/help/article/dub-conversions"}]},{category:"Partners",href:"https://dub.co/partners",features:[{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Partner management",href:"https://dub.co/help/article/dub-partners"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:({id:e,plan:s})=>e==="free"||e==="pro"?"No tracked sales":i(r,{children:[t("strong",{children:s.name==="Enterprise"?"Unlimited":`$${a(s.limits.sales/100)}`})," ","tracked sales",s.name==="Enterprise"?"":"/mo"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"1-click global payouts",href:"https://dub.co/help/article/partner-payouts"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:({id:e})=>e==="free"||e==="pro"?"No payouts":i(r,{children:[t("strong",{children:{business:"7%",advanced:"5%",enterprise:"3%"}[e]})," ","payout fees"]}),href:"https://dub.co/help/article/partner-payouts#payout-fees-and-timing"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Tax compliance",href:"https://dub.co/help/article/partner-payouts#tax-compliance"},{check:{default:!1,business:!1,advanced:!0,enterprise:!0},text:"White-labeling support",href:"https://dub.co/help/article/dub-partners#white-labeled-in-app-dashboard"},{check:{default:!1,business:!1,advanced:!0,enterprise:!0},text:"Branded email domains"}]},{category:"Domains",href:"https://dub.co/help/category/custom-domains",features:[{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.domains,{full:!0})})," ","custom domains"]})},{text:()=>t(r,{children:"SSL certificates"})},{check:{default:!0,free:!1},text:()=>i(r,{children:["Premium ",t("strong",{children:"dub.link"})," domain"]}),href:"https://dub.co/help/article/default-dub-domains#premium-dublink-domain"},{check:{default:!0,free:!1},text:()=>i(r,{children:["Free ",t("strong",{children:".link"})," domain"]}),href:"https://dub.co/help/article/free-dot-link-domain"}]},{category:"API",href:"https://dub.co/docs/api-reference/introduction",features:[{text:"API Access",href:"https://dub.co/docs/api-reference/introduction"},{text:"Native SDKs",href:"https://dub.co/docs/sdks/overview"},{text:({id:e,plan:s})=>i(r,{children:[t("strong",{children:e==="enterprise"?"Custom":a(s.limits.api)+"/min"})," ","rate limit"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Event webhooks",href:"https://dub.co/docs/concepts/webhooks/introduction"}]},{category:"Workspace",href:"https://dub.co/help/category/workspaces",features:[{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.users)})," ","user",e.limits.users===1?"":"s"]})},{check:{default:!1,advanced:!0,enterprise:!0},text:"Role-based access control"},{check:{default:!1,enterprise:!0},text:"SAML/SSO",href:"https://dub.co/help/category/saml-sso"},{check:{default:!1,enterprise:!0},text:"Custom SLA"},{check:{default:!1,enterprise:!0},text:"Audit logs"}]},{category:"Support",href:"https://dub.co/help",features:[{text:({id:e})=>t(r,{children:t("strong",{children:{free:"Basic support",pro:"Elevated support",business:"Priority support",advanced:"Priority via Slack",enterprise:"Priority with SLA"}[e]})})},{check:{default:!1,enterprise:!0},text:()=>i(r,{children:[t("strong",{children:"Dedicated"})," success manager"]})}]}];var o=[{name:"Free",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,sales:0,domains:3,tags:5,folders:0,users:1,ai:10,api:60,retention:"30-day"}},{name:"Pro",link:"https://dub.co/help/article/pro-plan",price:{monthly:30,yearly:25,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ","price_1OTcQBAlJJEpqkPViGtGEsbb","price_1OYJeBAlJJEpqkPVLjTsjX0E","price_1OTcQBAlJJEpqkPVYlCMqdLL","price_1OYJeBAlJJEpqkPVnPGEZeb0","price_1R8XtyAlJJEpqkPV5WZ4c0jF","price_1R8XtEAlJJEpqkPV4opVvVPq","price_1R8XxZAlJJEpqkPVqGi0wOqD","price_1R7oeBAlJJEpqkPVh6q5q3h8"]},limits:{links:1e3,clicks:5e4,sales:0,domains:10,tags:25,folders:3,users:3,ai:1e3,api:600,retention:"1-year"},featureTitle:"Everything in Free, plus:",features:[{id:"clicks",text:"50K tracked clicks/mo"},{id:"links",text:"1K new links/mo"},{id:"retention",text:"1-year analytics retention"},{id:"domains",text:"10 domains"},{id:"users",text:"3 users"},{id:"advanced",text:"Advanced link features",tooltip:"ADVANCED_LINK_FEATURES"},{id:"ai",text:"Unlimited AI credits",tooltip:{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:"dotlink",text:"Free .link domain",tooltip:{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"}},{id:"folders",text:"Link folders"},{id:"deeplinks",text:"Deep links",tooltip:{title:"Redirect users to a specific page within your mobile application using deep links.",cta:"Learn more.",href:"https://dub.co//help/article/custom-domain-deep-links"}}]},{name:"Business",price:{monthly:90,yearly:75,ids:["price_1LodLoAlJJEpqkPV9rD0rlNL","price_1LodLoAlJJEpqkPVJdwv5zrG","price_1OZgmnAlJJEpqkPVOj4kV64R","price_1OzNlmAlJJEpqkPV7s9HXNAC","price_1OzNmXAlJJEpqkPVYO89lTdx","price_1OzOFIAlJJEpqkPVJxzc9irl","price_1OzOXMAlJJEpqkPV9ERrjjbw","price_1R3j01AlJJEpqkPVXuG1eNzm","price_1R6JedAlJJEpqkPVMUkfjch4","price_1R8XypAlJJEpqkPVdjzOcYUC","price_1R7ofLAlJJEpqkPV3MlgDpyx"]},limits:{links:1e4,clicks:25e4,sales:25e5,domains:100,tags:n,folders:20,users:10,ai:1e3,api:3e3,retention:"3-year"},featureTitle:"Everything in Pro, plus:",features:[{id:"clicks",text:"250K tracked clicks/mo"},{id:"links",text:"10K new links/mo"},{id:"retention",text:"3-year analytics retention"},{id:"sales",text:"$25K tracked sales/mo",tooltip:{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:"users",text:"10 users"},{id:"events",text:"Real-time events stream",tooltip:{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://dub.co/help/article/real-time-events-stream"}},{id:"partners",text:"Partner management",tooltip:{title:"Use Dub Partners to manage and pay out your affiliates.",cta:"Learn more.",href:"https://dub.co/partners"}},{id:"payouts",text:"1-click global payouts",tooltip:{title:"Send payouts to 180+ countries in 1-click.",cta:"Learn more.",href:"https://dub.co/help/article/partner-payouts"}},{id:"webhooks",text:"Event webhooks",tooltip:{title:"Get real-time notifications when a link is clicked or a QR code is scanned using webhooks.",cta:"Learn more.",href:"https://dub.co/docs/concepts/webhooks/introduction"}},{id:"tests",text:"A/B testing"}]},{name:"Advanced",price:{monthly:300,yearly:250,ids:["price_1R8Xw4AlJJEpqkPV6nwdink9","price_1R3j0qAlJJEpqkPVkfGNXRwb","price_1R8XztAlJJEpqkPVnHmIU2tf","price_1R7ofzAlJJEpqkPV0L2TwyJo"]},limits:{links:5e4,clicks:1e6,sales:1e7,domains:250,tags:n,folders:50,users:20,ai:1e3,api:3e3,retention:"5-year"},featureTitle:"Everything in Business, plus:",features:[{id:"clicks",text:"1M tracked clicks/mo"},{id:"links",text:"50K new links/mo"},{id:"retention",text:"5-year analytics retention"},{id:"sales",text:"$100K tracked sales/mo",tooltip:{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:"users",text:"20 users"},{id:"roles",text:"Folders RBAC"},{id:"whitelabel",text:"White-labeling support"},{id:"volume",text:"Lower payout fees",tooltip:{title:"Lower fees associated with Partner payouts.",cta:"Learn more.",href:"https://dub.co/help/article/partner-payouts"}},{id:"email",text:"Branded email domains"},{id:"slack",text:"Priority Slack support"}]},{name:"Enterprise",price:{monthly:null,yearly:null},limits:{links:25e4,clicks:5e6,sales:1e8,domains:1e3,tags:n,folders:n,users:500,ai:1e4,api:1e4,retention:"Unlimited"}}],p=o.find(e=>e.name==="Free"),u=o.find(e=>e.name==="Pro"),b=o.find(e=>e.name==="Business"),y=o.find(e=>e.name==="Advanced"),f=o.filter(e=>["Pro","Business","Advanced"].includes(e.name)),P=2,E=e=>o.find(s=>{var l;return(l=s.price.ids)==null?void 0:l.includes(e)})||null,A=e=>f.find(s=>s.name.toLowerCase()===e.toLowerCase()),L=e=>o.find(s=>s.name.toLowerCase()===e.toLowerCase())||p,J=e=>e?o[o.findIndex(s=>s.name.toLowerCase()===e.toLowerCase())+1]:u,w=(e,s)=>{let l=o.findIndex(c=>c.name.toLowerCase()===e.toLowerCase()),d=o.findIndex(c=>c.name.toLowerCase()===s.toLowerCase());return l>d};export{k as a,o as b,p as c,u as d,b as e,y as f,f as g,P as h,E as i,A as j,L as k,J as l,w as m};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var a=["va","static","stats","robots.txt","proxy","account","api","auth","pricing","about","metatags","blog","changelog","atom","careers","docs","features","contact","terms","privacy","admin","help","new","info","demo","discord","reddit","guides","campaigns","links","workspaces","settings","analytics","invites","new","domains","events","referrals","webhooks","upgrade","wrapped","invoices","onboarding"];export{a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./chunk-NWFCCRLG.mjs";import{g as n}from"./chunk-QQHB6G47.mjs";import{Fragment as r,jsx as t,jsxs as i}from"react/jsx-runtime";var k=[{category:"Links",href:"https://dub.co/home",features:[{text:()=>i(r,{children:[t("strong",{children:"Unlimited"})," clicks"]})},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.links)})," ","new links",e.name==="Enterprise"?"":"/mo"]})},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.tags===n?"Unlimited":a(e.limits.tags)})," ","tags"]}),href:"https://dub.co/help/article/how-to-use-tags"},{check:{free:!1,default:!0},text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.folders===n?"Unlimited":a(e.limits.folders)})," ","folders"]})},{text:"Custom QR codes",href:"https://dub.co/help/article/custom-qr-codes"},{text:"UTM builder + templates",href:"https://dub.co/help/article/how-to-create-utm-templates"},{check:{free:!1,default:!0},text:"Custom link previews",href:"https://dub.co/help/article/custom-link-previews"},{check:{free:!1,default:!0},text:"Deep links",href:"https://dub.co/help/article/custom-domain-deep-links"},{check:{free:!1,default:!0},text:"Link cloaking",href:"https://dub.co/help/article/link-cloaking"},{check:{free:!1,default:!0},text:"Link expiration",href:"https://dub.co/help/article/link-expiration"},{check:{free:!1,default:!0},text:"Password protection",href:"https://dub.co/help/article/password-protected-links"},{check:{free:!1,default:!0},text:"Device targeting",href:"https://dub.co/help/article/device-targeting"},{check:{free:!1,default:!0},text:"Geo targeting",href:"https://dub.co/help/article/geo-targeting"},{check:{free:!1,pro:!1,default:!0},text:"A/B testing"}]},{category:"Analytics",href:"https://dub.co/analytics",features:[{text:"Advanced analytics",href:"https://dub.co/help/article/dub-analytics"},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.clicks)})," ","tracked clicks",e.name==="Enterprise"?"":"/mo"]}),href:"https://dub.co/help/article/dub-analytics-limits"},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.retention})," retention"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Real-time events stream",href:"https://dub.co/help/article/real-time-events-stream"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Conversion tracking",href:"https://dub.co/help/article/dub-conversions"}]},{category:"Partners",href:"https://dub.co/partners",features:[{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Partner management",href:"https://dub.co/help/article/dub-partners"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:({id:e,plan:s})=>e==="free"||e==="pro"?"No tracked sales":i(r,{children:[t("strong",{children:s.name==="Enterprise"?"Unlimited":`$${a(s.limits.sales/100)}`})," ","tracked sales",s.name==="Enterprise"?"":"/mo"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"1-click global payouts",href:"https://dub.co/help/article/partner-payouts"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:({id:e})=>e==="free"||e==="pro"?"No payouts":i(r,{children:[t("strong",{children:{business:"7%",advanced:"5%",enterprise:"3%"}[e]})," ","payout fees"]}),href:"https://dub.co/help/article/partner-payouts#payout-fees-and-timing"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Tax compliance",href:"https://dub.co/help/article/partner-payouts#tax-compliance"},{check:{default:!1,business:!1,advanced:!0,enterprise:!0},text:"White-labeling support",href:"https://dub.co/help/article/dub-partners#white-labeled-in-app-dashboard"},{check:{default:!1,business:!1,advanced:!0,enterprise:!0},text:"Branded email domains"}]},{category:"Domains",href:"https://dub.co/help/category/custom-domains",features:[{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.domains,{full:!0})})," ","custom domains"]})},{text:()=>t(r,{children:"SSL certificates"})},{check:{default:!0,free:!1},text:()=>i(r,{children:["Premium ",t("strong",{children:"dub.link"})," domain"]}),href:"https://dub.co/help/article/default-dub-domains#premium-dublink-domain"},{check:{default:!0,free:!1},text:()=>i(r,{children:["Free ",t("strong",{children:".link"})," domain"]}),href:"https://dub.co/help/article/free-dot-link-domain"}]},{category:"API",href:"https://dub.co/docs/api-reference/introduction",features:[{text:"API Access",href:"https://dub.co/docs/api-reference/introduction"},{text:"Native SDKs",href:"https://dub.co/docs/sdks/overview"},{text:({id:e,plan:s})=>i(r,{children:[t("strong",{children:e==="enterprise"?"Custom":a(s.limits.api)+"/min"})," ","rate limit"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Event webhooks",href:"https://dub.co/docs/concepts/webhooks/introduction"}]},{category:"Workspace",href:"https://dub.co/help/category/workspaces",features:[{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.users)})," ","user",e.limits.users===1?"":"s"]})},{check:{default:!1,advanced:!0,enterprise:!0},text:"Role-based access control"},{check:{default:!1,enterprise:!0},text:"SAML/SSO",href:"https://dub.co/help/category/saml-sso"},{check:{default:!1,enterprise:!0},text:"Custom SLA"},{check:{default:!1,enterprise:!0},text:"Audit logs"}]},{category:"Support",href:"https://dub.co/help",features:[{text:({id:e})=>t(r,{children:t("strong",{children:{free:"Basic support",pro:"Elevated support",business:"Priority support",advanced:"Priority via Slack",enterprise:"Priority with SLA"}[e]})})},{check:{default:!1,enterprise:!0},text:()=>i(r,{children:[t("strong",{children:"Dedicated"})," success manager"]})}]}];var o=[{name:"Free",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,sales:0,domains:3,tags:5,folders:0,users:1,ai:10,api:60,retention:"30-day"}},{name:"Pro",link:"https://dub.co/help/article/pro-plan",price:{monthly:30,yearly:25,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ","price_1OTcQBAlJJEpqkPViGtGEsbb","price_1OYJeBAlJJEpqkPVLjTsjX0E","price_1OTcQBAlJJEpqkPVYlCMqdLL","price_1OYJeBAlJJEpqkPVnPGEZeb0","price_1R8XtyAlJJEpqkPV5WZ4c0jF","price_1R8XtEAlJJEpqkPV4opVvVPq","price_1R8XxZAlJJEpqkPVqGi0wOqD","price_1R7oeBAlJJEpqkPVh6q5q3h8"]},limits:{links:1e3,clicks:5e4,sales:0,domains:10,tags:25,folders:3,users:3,ai:1e3,api:600,retention:"1-year"},featureTitle:"Everything in Free, plus:",features:[{id:"clicks",text:"50K tracked clicks/mo"},{id:"links",text:"1K new links/mo"},{id:"retention",text:"1-year analytics retention"},{id:"domains",text:"10 domains"},{id:"users",text:"3 users"},{id:"advanced",text:"Advanced link features",tooltip:"ADVANCED_LINK_FEATURES"},{id:"ai",text:"Unlimited AI credits",tooltip:{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:"dotlink",text:"Free .link domain",tooltip:{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"}},{id:"folders",text:"Link folders"},{id:"deeplinks",text:"Deep links",tooltip:{title:"Redirect users to a specific page within your mobile application using deep links.",cta:"Learn more.",href:"https://dub.co//help/article/custom-domain-deep-links"}}]},{name:"Business",price:{monthly:90,yearly:75,ids:["price_1LodLoAlJJEpqkPV9rD0rlNL","price_1LodLoAlJJEpqkPVJdwv5zrG","price_1OZgmnAlJJEpqkPVOj4kV64R","price_1OzNlmAlJJEpqkPV7s9HXNAC","price_1OzNmXAlJJEpqkPVYO89lTdx","price_1OzOFIAlJJEpqkPVJxzc9irl","price_1OzOXMAlJJEpqkPV9ERrjjbw","price_1R3j01AlJJEpqkPVXuG1eNzm","price_1R6JedAlJJEpqkPVMUkfjch4","price_1R8XypAlJJEpqkPVdjzOcYUC","price_1R7ofLAlJJEpqkPV3MlgDpyx"]},limits:{links:1e4,clicks:25e4,sales:25e5,domains:100,tags:n,folders:20,users:10,ai:1e3,api:3e3,retention:"3-year"},featureTitle:"Everything in Pro, plus:",features:[{id:"clicks",text:"250K tracked clicks/mo"},{id:"links",text:"10K new links/mo"},{id:"retention",text:"3-year analytics retention"},{id:"sales",text:"$25K tracked sales/mo",tooltip:{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:"users",text:"10 users"},{id:"events",text:"Real-time events stream",tooltip:{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://dub.co/help/article/real-time-events-stream"}},{id:"partners",text:"Partner management",tooltip:{title:"Use Dub Partners to manage and pay out your affiliates.",cta:"Learn more.",href:"https://dub.co/partners"}},{id:"payouts",text:"1-click global payouts",tooltip:{title:"Send payouts to 180+ countries in 1-click.",cta:"Learn more.",href:"https://dub.co/help/article/partner-payouts"}},{id:"webhooks",text:"Event webhooks",tooltip:{title:"Get real-time notifications when a link is clicked or a QR code is scanned using webhooks.",cta:"Learn more.",href:"https://dub.co/docs/concepts/webhooks/introduction"}},{id:"tests",text:"A/B testing"}]},{name:"Advanced",price:{monthly:300,yearly:250,ids:["price_1R8Xw4AlJJEpqkPV6nwdink9","price_1R3j0qAlJJEpqkPVkfGNXRwb","price_1R8XztAlJJEpqkPVnHmIU2tf","price_1R7ofzAlJJEpqkPV0L2TwyJo"]},limits:{links:5e4,clicks:1e6,sales:1e7,domains:250,tags:n,folders:50,users:20,ai:1e3,api:3e3,retention:"5-year"},featureTitle:"Everything in Business, plus:",features:[{id:"clicks",text:"1M tracked clicks/mo"},{id:"links",text:"50K new links/mo"},{id:"retention",text:"5-year analytics retention"},{id:"sales",text:"$100K tracked sales/mo",tooltip:{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:"users",text:"20 users"},{id:"roles",text:"Folders RBAC"},{id:"whitelabel",text:"White-labeling support"},{id:"volume",text:"Lower payout fees",tooltip:{title:"Lower fees associated with Partner payouts.",cta:"Learn more.",href:"https://dub.co/help/article/partner-payouts"}},{id:"email",text:"Branded email domains"},{id:"slack",text:"Priority Slack support"}]},{name:"Enterprise",price:{monthly:null,yearly:null},limits:{links:25e4,clicks:5e6,sales:1e8,domains:1e3,tags:n,folders:n,users:500,ai:1e4,api:1e4,retention:"Unlimited"}}],p=o.find(e=>e.name==="Free"),u=o.find(e=>e.name==="Pro"),b=o.find(e=>e.name==="Business"),y=o.find(e=>e.name==="Advanced"),f=o.filter(e=>["Pro","Business","Advanced"].includes(e.name)),P=2,E=e=>o.find(s=>{var l;return(l=s.price.ids)==null?void 0:l.includes(e)})||null,A=e=>f.find(s=>s.name.toLowerCase()===e.toLowerCase()),L=e=>o.find(s=>s.name.toLowerCase()===e.toLowerCase())||p,J=e=>e?o[o.findIndex(s=>s.name.toLowerCase()===e.toLowerCase())+1]:u,w=(e,s)=>{let l=o.findIndex(c=>c.name.toLowerCase()===e.toLowerCase()),d=o.findIndex(c=>c.name.toLowerCase()===s.toLowerCase());return l>d};export{k as a,o as b,p as c,u as d,b as e,y as f,f as g,P as h,E as i,A as j,L as k,J as l,w as m};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function r(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}export{r as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./chunk-NWFCCRLG.mjs";import{g as n}from"./chunk-Q4LGL37L.mjs";var h=["va","static","stats","robots.txt","proxy","account","api","auth","pricing","about","metatags","blog","changelog","atom","careers","docs","features","contact","terms","privacy","admin","help","new","info","demo","discord","reddit","guides","campaigns","links","workspaces","settings","analytics","invites","new","domains","events","referrals","webhooks","upgrade","wrapped","invoices","onboarding"];import{Fragment as r,jsx as t,jsxs as i}from"react/jsx-runtime";var x=[{category:"Links",href:"https://dub.co/home",features:[{text:()=>i(r,{children:[t("strong",{children:"Unlimited"})," clicks"]})},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.links)})," ","new links",e.name==="Enterprise"?"":"/mo"]})},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.tags===n?"Unlimited":a(e.limits.tags)})," ","tags"]}),href:"https://dub.co/help/article/how-to-use-tags"},{check:{free:!1,default:!0},text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.folders===n?"Unlimited":a(e.limits.folders)})," ","folders"]})},{text:"Custom QR codes",href:"https://dub.co/help/article/custom-qr-codes"},{text:"UTM builder + templates",href:"https://dub.co/help/article/how-to-create-utm-templates"},{check:{free:!1,default:!0},text:"Custom link previews",href:"https://dub.co/help/article/custom-link-previews"},{check:{free:!1,default:!0},text:"Deep links",href:"https://dub.co/help/article/custom-domain-deep-links"},{check:{free:!1,default:!0},text:"Link cloaking",href:"https://dub.co/help/article/link-cloaking"},{check:{free:!1,default:!0},text:"Link expiration",href:"https://dub.co/help/article/link-expiration"},{check:{free:!1,default:!0},text:"Password protection",href:"https://dub.co/help/article/password-protected-links"},{check:{free:!1,default:!0},text:"Device targeting",href:"https://dub.co/help/article/device-targeting"},{check:{free:!1,default:!0},text:"Geo targeting",href:"https://dub.co/help/article/geo-targeting"},{check:{free:!1,pro:!1,default:!0},text:"A/B testing"}]},{category:"Analytics",href:"https://dub.co/analytics",features:[{text:"Advanced analytics",href:"https://dub.co/help/article/dub-analytics"},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.clicks)})," ","tracked clicks",e.name==="Enterprise"?"":"/mo"]}),href:"https://dub.co/help/article/dub-analytics-limits"},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.retention})," retention"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Real-time events stream",href:"https://dub.co/help/article/real-time-events-stream"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Conversion tracking",href:"https://dub.co/help/article/dub-conversions"}]},{category:"Partners",href:"https://dub.co/partners",features:[{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Partner management",href:"https://dub.co/help/article/dub-partners"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:({id:e,plan:s})=>e==="free"||e==="pro"?"No tracked sales":i(r,{children:[t("strong",{children:s.name==="Enterprise"?"Unlimited":`$${a(s.limits.sales/100)}`})," ","tracked sales",s.name==="Enterprise"?"":"/mo"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"1-click global payouts",href:"https://dub.co/help/article/partner-payouts"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:({id:e})=>e==="free"||e==="pro"?"No payouts":i(r,{children:[t("strong",{children:{business:"7%",advanced:"5%",enterprise:"3%"}[e]})," ","payout fees"]}),href:"https://dub.co/help/article/partner-payouts#payout-fees-and-timing"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Tax compliance",href:"https://dub.co/help/article/partner-payouts#tax-compliance"},{check:{default:!1,business:!1,advanced:!0,enterprise:!0},text:"White-labeling support",href:"https://dub.co/help/article/dub-partners#white-labeled-in-app-dashboard"},{check:{default:!1,business:!1,advanced:!0,enterprise:!0},text:"Branded email domains"}]},{category:"Domains",href:"https://dub.co/help/category/custom-domains",features:[{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.domains,{full:!0})})," ","custom domains"]})},{text:()=>t(r,{children:"SSL certificates"})},{check:{default:!0,free:!1},text:()=>i(r,{children:["Premium ",t("strong",{children:"dub.link"})," domain"]}),href:"https://dub.co/help/article/default-dub-domains#premium-dublink-domain"},{check:{default:!0,free:!1},text:()=>i(r,{children:["Free ",t("strong",{children:".link"})," domain"]}),href:"https://dub.co/help/article/free-dot-link-domain"}]},{category:"API",href:"https://dub.co/docs/api-reference/introduction",features:[{text:"API Access",href:"https://dub.co/docs/api-reference/introduction"},{text:"Native SDKs",href:"https://dub.co/docs/sdks/overview"},{text:({id:e,plan:s})=>i(r,{children:[t("strong",{children:e==="enterprise"?"Custom":a(s.limits.api)+"/min"})," ","rate limit"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Event webhooks",href:"https://dub.co/docs/concepts/webhooks/introduction"}]},{category:"Workspace",href:"https://dub.co/help/category/workspaces",features:[{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.users)})," ","user",e.limits.users===1?"":"s"]})},{check:{default:!1,advanced:!0,enterprise:!0},text:"Role-based access control"},{check:{default:!1,enterprise:!0},text:"SAML/SSO",href:"https://dub.co/help/category/saml-sso"},{check:{default:!1,enterprise:!0},text:"Custom SLA"},{check:{default:!1,enterprise:!0},text:"Audit logs"}]},{category:"Support",href:"https://dub.co/help",features:[{text:({id:e})=>t(r,{children:t("strong",{children:{free:"Basic support",pro:"Elevated support",business:"Priority support",advanced:"Priority via Slack",enterprise:"Priority with SLA"}[e]})})},{check:{default:!1,enterprise:!0},text:()=>i(r,{children:[t("strong",{children:"Dedicated"})," success manager"]})}]}];var o=[{name:"Free",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,sales:0,domains:3,tags:5,folders:0,users:1,ai:10,api:60,retention:"30-day"}},{name:"Pro",link:"https://dub.co/help/article/pro-plan",price:{monthly:30,yearly:25,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ","price_1OTcQBAlJJEpqkPViGtGEsbb","price_1OYJeBAlJJEpqkPVLjTsjX0E","price_1OTcQBAlJJEpqkPVYlCMqdLL","price_1OYJeBAlJJEpqkPVnPGEZeb0","price_1R8XtyAlJJEpqkPV5WZ4c0jF","price_1R8XtEAlJJEpqkPV4opVvVPq","price_1R8XxZAlJJEpqkPVqGi0wOqD","price_1R7oeBAlJJEpqkPVh6q5q3h8"]},limits:{links:1e3,clicks:5e4,sales:0,domains:10,tags:25,folders:3,users:3,ai:1e3,api:600,retention:"1-year"},featureTitle:"Everything in Free, plus:",features:[{id:"clicks",text:"50K tracked clicks/mo"},{id:"links",text:"1K new links/mo"},{id:"retention",text:"1-year analytics retention"},{id:"domains",text:"10 domains"},{id:"users",text:"3 users"},{id:"advanced",text:"Advanced link features",tooltip:"ADVANCED_LINK_FEATURES"},{id:"ai",text:"Unlimited AI credits",tooltip:{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:"dotlink",text:"Free .link domain",tooltip:{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"}},{id:"folders",text:"Link folders"},{id:"deeplinks",text:"Deep links",tooltip:{title:"Redirect users to a specific page within your mobile application using deep links.",cta:"Learn more.",href:"https://dub.co//help/article/custom-domain-deep-links"}}]},{name:"Business",price:{monthly:90,yearly:75,ids:["price_1LodLoAlJJEpqkPV9rD0rlNL","price_1LodLoAlJJEpqkPVJdwv5zrG","price_1OZgmnAlJJEpqkPVOj4kV64R","price_1OzNlmAlJJEpqkPV7s9HXNAC","price_1OzNmXAlJJEpqkPVYO89lTdx","price_1OzOFIAlJJEpqkPVJxzc9irl","price_1OzOXMAlJJEpqkPV9ERrjjbw","price_1R3j01AlJJEpqkPVXuG1eNzm","price_1R6JedAlJJEpqkPVMUkfjch4","price_1R8XypAlJJEpqkPVdjzOcYUC","price_1R7ofLAlJJEpqkPV3MlgDpyx"]},limits:{links:1e4,clicks:25e4,sales:25e5,domains:100,tags:n,folders:20,users:10,ai:1e3,api:3e3,retention:"3-year"},featureTitle:"Everything in Pro, plus:",features:[{id:"clicks",text:"250K tracked clicks/mo"},{id:"links",text:"10K new links/mo"},{id:"retention",text:"3-year analytics retention"},{id:"sales",text:"$25K tracked sales/mo",tooltip:{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:"users",text:"10 users"},{id:"events",text:"Real-time events stream",tooltip:{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://dub.co/help/article/real-time-events-stream"}},{id:"partners",text:"Partner management",tooltip:{title:"Use Dub Partners to manage and pay out your affiliates.",cta:"Learn more.",href:"https://dub.co/partners"}},{id:"payouts",text:"1-click global payouts",tooltip:{title:"Send payouts to 180+ countries in 1-click.",cta:"Learn more.",href:"https://dub.co/help/article/partner-payouts"}},{id:"webhooks",text:"Event webhooks",tooltip:{title:"Get real-time notifications when a link is clicked or a QR code is scanned using webhooks.",cta:"Learn more.",href:"https://dub.co/docs/concepts/webhooks/introduction"}},{id:"tests",text:"A/B testing"}]},{name:"Advanced",price:{monthly:300,yearly:250,ids:["price_1R8Xw4AlJJEpqkPV6nwdink9","price_1R3j0qAlJJEpqkPVkfGNXRwb","price_1R8XztAlJJEpqkPVnHmIU2tf","price_1R7ofzAlJJEpqkPV0L2TwyJo"]},limits:{links:5e4,clicks:1e6,sales:1e7,domains:250,tags:n,folders:50,users:20,ai:1e3,api:3e3,retention:"5-year"},featureTitle:"Everything in Business, plus:",features:[{id:"clicks",text:"1M tracked clicks/mo"},{id:"links",text:"50K new links/mo"},{id:"retention",text:"5-year analytics retention"},{id:"sales",text:"$100K tracked sales/mo",tooltip:{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:"users",text:"20 users"},{id:"roles",text:"Folders RBAC"},{id:"whitelabel",text:"White-labeling support"},{id:"volume",text:"Lower payout fees",tooltip:{title:"Lower fees associated with Partner payouts.",cta:"Learn more.",href:"https://dub.co/help/article/partner-payouts"}},{id:"email",text:"Branded email domains"},{id:"slack",text:"Priority Slack support"}]},{name:"Enterprise",price:{monthly:null,yearly:null},limits:{links:25e4,clicks:5e6,sales:1e8,domains:1e3,tags:n,folders:n,users:500,ai:1e4,api:1e4,retention:"Unlimited"}}],p=o.find(e=>e.name==="Free"),u=o.find(e=>e.name==="Pro"),P=o.find(e=>e.name==="Business"),E=o.find(e=>e.name==="Advanced"),f=o.filter(e=>["Pro","Business","Advanced"].includes(e.name)),A=2,w=e=>o.find(s=>{var l;return(l=s.price.ids)==null?void 0:l.includes(e)})||null,v=e=>f.find(s=>s.name.toLowerCase()===e.toLowerCase()),L=e=>o.find(s=>s.name.toLowerCase()===e.toLowerCase())||p,J=e=>e?o[o.findIndex(s=>s.name.toLowerCase()===e.toLowerCase())+1]:u,_=(e,s)=>{let l=o.findIndex(c=>c.name.toLowerCase()===e.toLowerCase()),d=o.findIndex(c=>c.name.toLowerCase()===s.toLowerCase());return l>d};export{h as a,x as b,o as c,p as d,u as e,P as f,E as g,f as h,A as i,w as j,v as k,L as l,J as m,_ as n};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./chunk-H4ELSETA.mjs";import{a as r}from"./chunk-YUMUNL66.mjs";import{a as o,b as l}from"./chunk-SYT2IXG6.mjs";import{a as c}from"./chunk-NW4N7ECX.mjs";import u from"@sindresorhus/slugify";var f=t=>{let e=u(t,{separator:""});if(e.length<3)return"";if(r.has(e.slice(-2)))return`${e.slice(0,-2)}.${e.slice(-2)}`;let n=e.replace(/[aeiou]/g,"");return n.length>=3&&r.has(n.slice(-2))?`${n.slice(0,-2)}.${n.slice(-2)}`:`${[e,n].reduce((i,s)=>i.length<s.length?i:s)}.link`},w=new RegExp(/^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/),A=new RegExp(/^[a-zA-Z0-9\-]+$/),D=(t,e)=>t===e?null:t.slice(0,t.length-e.length-1),x=t=>{let e;try{e=new URL(t.replace(/^[a-zA-Z]+:\/\//,"https://")).hostname}catch{return""}if(e==="youtu.be")return"youtube.com";let n=e.split(".");return n.length>2?o.has(n[n.length-2])&&r.has(n[n.length-1])||l.has(n.slice(-2).join("."))?n.slice(-3).join("."):n.slice(-2).join("."):e},d=t=>{if(a(t))return new URL(t).hostname.replace(/^www\./,"");try{if(t.includes(".")&&!t.includes(" "))return new URL(`https://${t}`).hostname.replace(/^www\./,"")}catch{return null}},S=t=>c.some(e=>e.slug===t);export{f as a,w as b,A as c,D as d,x as e,d as f,S as g};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as p}from"./chunk-CP4WO7MM.mjs";import{a as n}from"./chunk-IHX4EDUF.mjs";var a=(r,o)=>{if(r.toString()==="Invalid Date")return"";let e=new Date(r),t=new Date;return new Date(r).toLocaleTimeString("en-US",{month:"short",day:"numeric",...e.getFullYear()!==t.getFullYear()?{year:"numeric"}:{hour:"numeric",minute:"numeric",hour12:!0},...o})};function F({domain:r,key:o,pretty:e,searchParams:t}){if(!r)return"";let m=`https://${n(r)}${o&&o!=="_root"?`/${n(o)}`:""}`;if(t){let f=new URLSearchParams;for(let[x,i]of Object.entries(t))f.set(x,i);m+=`?${f.toString()}`}return e?m.replace(/^https?:\/\//,""):m}function T({domain:r,key:o}){return`https://${r}${o==="_root"?"":`/${o}`}`}var ur=r=>!r.periodStart||!r.periodEnd?"-":`${p(r.periodStart,{month:"short",year:new Date(r.periodStart).getUTCFullYear()===new Date(r.periodEnd).getUTCFullYear()?void 0:"numeric",timeZone:"utc"})}-${p(r.periodEnd,{month:"short",timeZone:"utc"})}`;export{a,ur as b,F as c,T as d};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as e,p as o}from"./chunk-GKLDFUEN.mjs";var d=[{id:"clce1z7ch00j0rbstbjufva4j",slug:e,verified:!0,primary:!0,archived:!1,placeholder:"https://dub.co/help/article/what-is-dub",allowedHostnames:[],description:"The default domain for all new accounts.",projectId:o},...process.env.NEXT_PUBLIC_IS_DUB?[{id:"clxp3lfsb00011na8tfs7t0lx",slug:"dub.link",verified:!0,primary:!0,archived:!1,placeholder:"https://dub.co/help/article/what-is-dub",allowedHostnames:[],description:"Premium short domain on Dub \u2013 only available on our Pro plan and above.",projectId:o},{id:"clce1z7cs00y8rbstk4xtnj0k",slug:"chatg.pt",verified:!0,primary:!1,archived:!1,placeholder:"https://chat.openai.com/g/g-UGjKKONEe-domainsgpt",allowedHostnames:["openai.com","chatgpt.com"],description:"Branded domain for ChatGPT links (convos, custom GPTs).",projectId:o},{id:"cloxw8y2u0003js08a7mqg1j8",slug:"spti.fi",verified:!0,primary:!1,archived:!1,placeholder:"https://open.spotify.com/album/1SCyi9a5pOasikidToUY5y",allowedHostnames:["spotify.com"],description:"Branded domain for Spotify links (songs, playlists, etc.).",projectId:o},{id:"cltgtd6s5000341itdszz20u2",slug:"git.new",verified:!0,primary:!1,archived:!1,placeholder:"https://github.com/dubinc/dub",allowedHostnames:["github.com"],description:"Branded domain for GitHub links (repositories, gists, etc.).",projectId:o},{id:"cm23qevp4000412mqwvtkthzw",slug:"cal.link",verified:!0,primary:!1,archived:!1,placeholder:"https://cal.com/steven",allowedHostnames:["cal.com","calendly.com","calendar.app.google","calendar.google.com","chillipiper.com","fantastical.app","hubspot.com","savvycal.com","tidycal.com","you.ashbyhq.com","zcal.co"],description:"Branded domain for your scheduling links (Cal.com, Calendly, etc.).",projectId:o},{id:"cloxw8qtk000bjt08n9b812vs",slug:"amzn.id",verified:!0,primary:!1,archived:!1,placeholder:"https://www.amazon.com/dp/B0BW4SWNC8",allowedHostnames:["amazon.com","amazon.co.uk","amazon.ca","amazon.es","amazon.fr"],description:"Branded domain for Amazon links (products, wishlists, etc.).",projectId:o},{id:"clymd6zkc0001elilr1215tj9",slug:"ggl.link",verified:!0,primary:!1,archived:!1,placeholder:"https://docs.google.com/document/d/15-GOZA12SXGEh8lNwU5QI1jBi04TCPgY2-LChTbXVpA",allowedHostnames:["google.com","google.co.uk","google.co.id","google.ca","google.es","google.fr","googleblog.com","blog.google","g.co","g.page","youtube.com","youtu.be"],description:"Branded domain for Google links (Search, Docs, Sheets, Slides, Drive, Maps, etc.).",projectId:o},{id:"clymczttm0001jgkore3ltr37",slug:"fig.page",verified:!0,primary:!1,archived:!1,placeholder:"https://www.figma.com/design/YAfTk6SGV2HcSvL2415oED/Dub.co-Brand-Assets-(Public)?node-id=1-36593&t=QMKQNtUzxSSzG3hX-1",allowedHostnames:["figma.com"],description:"Branded domain for Figma links (portfolios, prototypes, presentations, etc.).",projectId:o},{id:"clugy7euh000a11h6ignmj42o",slug:"loooooooo.ng",verified:!0,primary:!1,archived:!0,placeholder:"https://d.to/long",description:"Branded domain for lengthening links instead of shortening them (April Fool's Prank).",projectId:o}]:[]],l=d.map(a=>a.slug),s=[{id:"clqo10sum0006js08vutzfxt3",domain:"d.to",key:"try",dashboardId:"dash_Rqy6tVEO5Ib4iVFvmYYTK4kO"},{id:"cltshzzpd0005126z3rd2lvo4",domain:"dub.sh",key:"try",dashboardId:"dash_bUNOfMQVcKS0VMDa2HaYhOjg"},{id:"clot0z5rg000djp08ue98hxkn",domain:"chatg.pt",key:"domains",dashboardId:"dash_lX4or5Yj6ZrPk3qW4SwgrQ5t"},{id:"clp4jh9av0001l308ormavtlu",domain:"spti.fi",key:"hans",dashboardId:"dash_v2Ygwn3hZNYx6kFYfBT4IApM"},{id:"cltgtsex40003ck8z444hum5u",domain:"git.new",key:"dub",dashboardId:"dash_FX5HKOKhtQ6uoIeSDxWM8eIb"},{id:"clymd5vqj0005jgkorsopklsk",domain:"fig.page",key:"dub",dashboardId:"dash_no9BFlfSjHDG6K7XIAuwLt5p"},{id:"clp3k3yoi0001ju0874nz899q",domain:"amzn.id",key:"tv",dashboardId:"dash_fKwai9V9nsLcC0IaY0rTF1yA"},{id:"clymd73o50001ulmzzxjumr8l",domain:"ggl.link",key:"dub",dashboardId:"dash_rx5c7pQPnx2MUCX3cL4t1Zpn"},{id:"cm24785ki0001ainw2qks4uq5",domain:"cal.link",key:"demo",dashboardId:"dash_zbzP2UVvTrv5SkIEPP2pV5pC"}];export{d as a,l as b,s as c};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as e}from"./chunk-CP4WO7MM.mjs";import{a as p}from"./chunk-IHX4EDUF.mjs";function C({domain:r,key:o,pretty:x,searchParams:m}){if(!r)return"";let t=`https://${p(r)}${o&&o!=="_root"?`/${p(o)}`:""}`;if(m){let f=new URLSearchParams;for(let[n,i]of Object.entries(m))f.set(n,i);t+=`?${f.toString()}`}return x?t.replace(/^https?:\/\//,""):t}function E({domain:r,key:o}){return`https://${r}${o==="_root"?"":`/${o}`}`}var ir=r=>!r.periodStart||!r.periodEnd?"-":`${e(r.periodStart,{month:"short",year:new Date(r.periodStart).getUTCFullYear()===new Date(r.periodEnd).getUTCFullYear()?void 0:"numeric",timeZone:"utc"})}-${e(r.periodEnd,{month:"short",timeZone:"utc"})}`;export{ir as a,C as b,E as c};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./chunk-NWFCCRLG.mjs";import{g as n}from"./chunk-Q4LGL37L.mjs";import{Fragment as r,jsx as t,jsxs as i}from"react/jsx-runtime";var k=[{category:"Links",href:"https://dub.co/home",features:[{text:()=>i(r,{children:[t("strong",{children:"Unlimited"})," clicks"]})},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.links)})," ","new links",e.name==="Enterprise"?"":"/mo"]})},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.tags===n?"Unlimited":a(e.limits.tags)})," ","tags"]}),href:"https://dub.co/help/article/how-to-use-tags"},{check:{free:!1,default:!0},text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.folders===n?"Unlimited":a(e.limits.folders)})," ","folders"]})},{text:"Custom QR codes",href:"https://dub.co/help/article/custom-qr-codes"},{text:"UTM builder + templates",href:"https://dub.co/help/article/how-to-create-utm-templates"},{check:{free:!1,default:!0},text:"Custom link previews",href:"https://dub.co/help/article/custom-link-previews"},{check:{free:!1,default:!0},text:"Deep links",href:"https://dub.co/help/article/custom-domain-deep-links"},{check:{free:!1,default:!0},text:"Link cloaking",href:"https://dub.co/help/article/link-cloaking"},{check:{free:!1,default:!0},text:"Link expiration",href:"https://dub.co/help/article/link-expiration"},{check:{free:!1,default:!0},text:"Password protection",href:"https://dub.co/help/article/password-protected-links"},{check:{free:!1,default:!0},text:"Device targeting",href:"https://dub.co/help/article/device-targeting"},{check:{free:!1,default:!0},text:"Geo targeting",href:"https://dub.co/help/article/geo-targeting"},{check:{free:!1,pro:!1,default:!0},text:"A/B testing"}]},{category:"Analytics",href:"https://dub.co/analytics",features:[{text:"Advanced analytics",href:"https://dub.co/help/article/dub-analytics"},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.clicks)})," ","tracked clicks",e.name==="Enterprise"?"":"/mo"]}),href:"https://dub.co/help/article/dub-analytics-limits"},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.retention})," retention"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Real-time events stream",href:"https://dub.co/help/article/real-time-events-stream"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Conversion tracking",href:"https://dub.co/help/article/dub-conversions"}]},{category:"Partners",href:"https://dub.co/partners",features:[{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Partner management",href:"https://dub.co/help/article/dub-partners"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:({id:e,plan:s})=>e==="free"||e==="pro"?"No tracked sales":i(r,{children:[t("strong",{children:s.name==="Enterprise"?"Unlimited":`$${a(s.limits.sales/100)}`})," ","tracked sales",s.name==="Enterprise"?"":"/mo"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"1-click global payouts",href:"https://dub.co/help/article/partner-payouts"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:({id:e})=>e==="free"||e==="pro"?"No payouts":i(r,{children:[t("strong",{children:{business:"7%",advanced:"5%",enterprise:"3%"}[e]})," ","payout fees"]}),href:"https://dub.co/help/article/partner-payouts#payout-fees-and-timing"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Tax compliance",href:"https://dub.co/help/article/partner-payouts#tax-compliance"},{check:{default:!1,business:!1,advanced:!0,enterprise:!0},text:"White-labeling support",href:"https://dub.co/help/article/dub-partners#white-labeled-in-app-dashboard"},{check:{default:!1,business:!1,advanced:!0,enterprise:!0},text:"Branded email domains"}]},{category:"Domains",href:"https://dub.co/help/category/custom-domains",features:[{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.domains,{full:!0})})," ","custom domains"]})},{text:()=>t(r,{children:"SSL certificates"})},{check:{default:!0,free:!1},text:()=>i(r,{children:["Premium ",t("strong",{children:"dub.link"})," domain"]}),href:"https://dub.co/help/article/default-dub-domains#premium-dublink-domain"},{check:{default:!0,free:!1},text:()=>i(r,{children:["Free ",t("strong",{children:".link"})," domain"]}),href:"https://dub.co/help/article/free-dot-link-domain"}]},{category:"API",href:"https://dub.co/docs/api-reference/introduction",features:[{text:"API Access",href:"https://dub.co/docs/api-reference/introduction"},{text:"Native SDKs",href:"https://dub.co/docs/sdks/overview"},{text:({id:e,plan:s})=>i(r,{children:[t("strong",{children:e==="enterprise"?"Custom":a(s.limits.api)+"/min"})," ","rate limit"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Event webhooks",href:"https://dub.co/docs/concepts/webhooks/introduction"}]},{category:"Workspace",href:"https://dub.co/help/category/workspaces",features:[{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.users)})," ","user",e.limits.users===1?"":"s"]})},{check:{default:!1,advanced:!0,enterprise:!0},text:"Role-based access control"},{check:{default:!1,enterprise:!0},text:"SAML/SSO",href:"https://dub.co/help/category/saml-sso"},{check:{default:!1,enterprise:!0},text:"Custom SLA"},{check:{default:!1,enterprise:!0},text:"Audit logs"}]},{category:"Support",href:"https://dub.co/help",features:[{text:({id:e})=>t(r,{children:t("strong",{children:{free:"Basic support",pro:"Elevated support",business:"Priority support",advanced:"Priority via Slack",enterprise:"Priority with SLA"}[e]})})},{check:{default:!1,enterprise:!0},text:()=>i(r,{children:[t("strong",{children:"Dedicated"})," success manager"]})}]}];var o=[{name:"Free",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,sales:0,domains:3,tags:5,folders:0,users:1,ai:10,api:60,retention:"30-day"}},{name:"Pro",link:"https://dub.co/help/article/pro-plan",price:{monthly:30,yearly:25,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ","price_1OTcQBAlJJEpqkPViGtGEsbb","price_1OYJeBAlJJEpqkPVLjTsjX0E","price_1OTcQBAlJJEpqkPVYlCMqdLL","price_1OYJeBAlJJEpqkPVnPGEZeb0","price_1R8XtyAlJJEpqkPV5WZ4c0jF","price_1R8XtEAlJJEpqkPV4opVvVPq","price_1R8XxZAlJJEpqkPVqGi0wOqD","price_1R7oeBAlJJEpqkPVh6q5q3h8"]},limits:{links:1e3,clicks:5e4,sales:0,domains:10,tags:25,folders:3,users:3,ai:1e3,api:600,retention:"1-year"},featureTitle:"Everything in Free, plus:",features:[{id:"clicks",text:"50K tracked clicks/mo"},{id:"links",text:"1K new links/mo"},{id:"retention",text:"1-year analytics retention"},{id:"domains",text:"10 domains"},{id:"users",text:"3 users"},{id:"advanced",text:"Advanced link features",tooltip:"ADVANCED_LINK_FEATURES"},{id:"ai",text:"Unlimited AI credits",tooltip:{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:"dotlink",text:"Free .link domain",tooltip:{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"}},{id:"folders",text:"Link folders"},{id:"deeplinks",text:"Deep links",tooltip:{title:"Redirect users to a specific page within your mobile application using deep links.",cta:"Learn more.",href:"https://dub.co//help/article/custom-domain-deep-links"}}]},{name:"Business",price:{monthly:90,yearly:75,ids:["price_1LodLoAlJJEpqkPV9rD0rlNL","price_1LodLoAlJJEpqkPVJdwv5zrG","price_1OZgmnAlJJEpqkPVOj4kV64R","price_1OzNlmAlJJEpqkPV7s9HXNAC","price_1OzNmXAlJJEpqkPVYO89lTdx","price_1OzOFIAlJJEpqkPVJxzc9irl","price_1OzOXMAlJJEpqkPV9ERrjjbw","price_1R3j01AlJJEpqkPVXuG1eNzm","price_1R6JedAlJJEpqkPVMUkfjch4","price_1R8XypAlJJEpqkPVdjzOcYUC","price_1R7ofLAlJJEpqkPV3MlgDpyx"]},limits:{links:1e4,clicks:25e4,sales:25e5,domains:100,tags:n,folders:20,users:10,ai:1e3,api:3e3,retention:"3-year"},featureTitle:"Everything in Pro, plus:",features:[{id:"clicks",text:"250K tracked clicks/mo"},{id:"links",text:"10K new links/mo"},{id:"retention",text:"3-year analytics retention"},{id:"sales",text:"$25K tracked sales/mo",tooltip:{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:"users",text:"10 users"},{id:"events",text:"Real-time events stream",tooltip:{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://dub.co/help/article/real-time-events-stream"}},{id:"partners",text:"Partner management",tooltip:{title:"Use Dub Partners to manage and pay out your affiliates.",cta:"Learn more.",href:"https://dub.co/partners"}},{id:"payouts",text:"1-click global payouts",tooltip:{title:"Send payouts to 180+ countries in 1-click.",cta:"Learn more.",href:"https://dub.co/help/article/partner-payouts"}},{id:"webhooks",text:"Event webhooks",tooltip:{title:"Get real-time notifications when a link is clicked or a QR code is scanned using webhooks.",cta:"Learn more.",href:"https://dub.co/docs/concepts/webhooks/introduction"}},{id:"tests",text:"A/B testing"}]},{name:"Advanced",price:{monthly:300,yearly:250,ids:["price_1R8Xw4AlJJEpqkPV6nwdink9","price_1R3j0qAlJJEpqkPVkfGNXRwb","price_1R8XztAlJJEpqkPVnHmIU2tf","price_1R7ofzAlJJEpqkPV0L2TwyJo"]},limits:{links:5e4,clicks:1e6,sales:1e7,domains:250,tags:n,folders:50,users:20,ai:1e3,api:3e3,retention:"5-year"},featureTitle:"Everything in Business, plus:",features:[{id:"clicks",text:"1M tracked clicks/mo"},{id:"links",text:"50K new links/mo"},{id:"retention",text:"5-year analytics retention"},{id:"sales",text:"$100K tracked sales/mo",tooltip:{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:"users",text:"20 users"},{id:"roles",text:"Folders RBAC"},{id:"whitelabel",text:"White-labeling support"},{id:"volume",text:"Lower payout fees",tooltip:{title:"Lower fees associated with Partner payouts.",cta:"Learn more.",href:"https://dub.co/help/article/partner-payouts"}},{id:"email",text:"Branded email domains"},{id:"slack",text:"Priority Slack support"}]},{name:"Enterprise",price:{monthly:null,yearly:null},limits:{links:25e4,clicks:5e6,sales:1e8,domains:1e3,tags:n,folders:n,users:500,ai:1e4,api:1e4,retention:"Unlimited"}}],p=o.find(e=>e.name==="Free"),u=o.find(e=>e.name==="Pro"),b=o.find(e=>e.name==="Business"),y=o.find(e=>e.name==="Advanced"),f=o.filter(e=>["Pro","Business","Advanced"].includes(e.name)),P=2,E=e=>o.find(s=>{var l;return(l=s.price.ids)==null?void 0:l.includes(e)})||null,A=e=>f.find(s=>s.name.toLowerCase()===e.toLowerCase()),w=e=>o.find(s=>s.name.toLowerCase()===e.toLowerCase())||p,v=e=>e?o[o.findIndex(s=>s.name.toLowerCase()===e.toLowerCase())+1]:u,L=(e,s)=>{let l=o.findIndex(c=>c.name.toLowerCase()===e.toLowerCase()),d=o.findIndex(c=>c.name.toLowerCase()===s.toLowerCase());return l>d};var _=["va","static","stats","robots.txt","proxy","account","api","auth","pricing","about","metatags","blog","changelog","atom","careers","docs","features","contact","terms","privacy","admin","help","new","info","demo","discord","reddit","guides","campaigns","links","workspaces","settings","analytics","invites","new","domains","events","referrals","webhooks","upgrade","wrapped","invoices","onboarding"];export{k as a,o as b,p as c,u as d,b as e,y as f,f as g,P as h,E as i,A as j,w as k,v as l,L as m,_ as n};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./chunk-NWFCCRLG.mjs";import{g as n}from"./chunk-Q4LGL37L.mjs";import{Fragment as r,jsx as t,jsxs as i}from"react/jsx-runtime";var k=[{category:"Links",href:"https://dub.co/home",features:[{text:()=>i(r,{children:[t("strong",{children:"Unlimited"})," clicks"]})},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.links)})," ","new links",e.name==="Enterprise"?"":"/mo"]})},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.tags===n?"Unlimited":a(e.limits.tags)})," ","tags"]}),href:"https://dub.co/help/article/how-to-use-tags"},{check:{free:!1,default:!0},text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.folders===n?"Unlimited":a(e.limits.folders)})," ","folders"]})},{text:"Custom QR codes",href:"https://dub.co/help/article/custom-qr-codes"},{text:"UTM builder + templates",href:"https://dub.co/help/article/how-to-create-utm-templates"},{check:{free:!1,default:!0},text:"Custom link previews",href:"https://dub.co/help/article/custom-link-previews"},{check:{free:!1,default:!0},text:"Deep links",href:"https://dub.co/help/article/custom-domain-deep-links"},{check:{free:!1,default:!0},text:"Link cloaking",href:"https://dub.co/help/article/link-cloaking"},{check:{free:!1,default:!0},text:"Link expiration",href:"https://dub.co/help/article/link-expiration"},{check:{free:!1,default:!0},text:"Password protection",href:"https://dub.co/help/article/password-protected-links"},{check:{free:!1,default:!0},text:"Device targeting",href:"https://dub.co/help/article/device-targeting"},{check:{free:!1,default:!0},text:"Geo targeting",href:"https://dub.co/help/article/geo-targeting"},{check:{free:!1,pro:!1,default:!0},text:"A/B testing"}]},{category:"Analytics",href:"https://dub.co/analytics",features:[{text:"Advanced analytics",href:"https://dub.co/help/article/dub-analytics"},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.clicks)})," ","tracked clicks",e.name==="Enterprise"?"":"/mo"]}),href:"https://dub.co/help/article/dub-analytics-limits"},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.retention})," retention"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Real-time events stream",href:"https://dub.co/help/article/real-time-events-stream"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Conversion tracking",href:"https://dub.co/help/article/dub-conversions"}]},{category:"Partners",href:"https://dub.co/partners",features:[{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Partner management",href:"https://dub.co/help/article/dub-partners"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:({id:e,plan:s})=>e==="free"||e==="pro"?"No tracked sales":i(r,{children:[t("strong",{children:s.name==="Enterprise"?"Unlimited":`$${a(s.limits.sales/100)}`})," ","tracked sales",s.name==="Enterprise"?"":"/mo"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"1-click global payouts",href:"https://dub.co/help/article/partner-payouts"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:({id:e})=>e==="free"||e==="pro"?"No payouts":i(r,{children:[t("strong",{children:{business:"7%",advanced:"5%",enterprise:"3%"}[e]})," ","payout fees"]}),href:"https://dub.co/help/article/partner-payouts#payout-fees-and-timing"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Tax compliance",href:"https://dub.co/help/article/partner-payouts#tax-compliance"},{check:{default:!1,business:!1,advanced:!0,enterprise:!0},text:"White-labeling support",href:"https://dub.co/help/article/dub-partners#white-labeled-in-app-dashboard"},{check:{default:!1,business:!1,advanced:!0,enterprise:!0},text:"Branded email domains"}]},{category:"Domains",href:"https://dub.co/help/category/custom-domains",features:[{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.domains,{full:!0})})," ","custom domains"]})},{text:()=>t(r,{children:"SSL certificates"})},{check:{default:!0,free:!1},text:()=>i(r,{children:["Premium ",t("strong",{children:"dub.link"})," domain"]}),href:"https://dub.co/help/article/default-dub-domains#premium-dublink-domain"},{check:{default:!0,free:!1},text:()=>i(r,{children:["Free ",t("strong",{children:".link"})," domain"]}),href:"https://dub.co/help/article/free-dot-link-domain"}]},{category:"API",href:"https://dub.co/docs/api-reference/introduction",features:[{text:"API Access",href:"https://dub.co/docs/api-reference/introduction"},{text:"Native SDKs",href:"https://dub.co/docs/sdks/overview"},{text:({id:e,plan:s})=>i(r,{children:[t("strong",{children:e==="enterprise"?"Custom":a(s.limits.api)+"/min"})," ","rate limit"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Event webhooks",href:"https://dub.co/docs/concepts/webhooks/introduction"}]},{category:"Workspace",href:"https://dub.co/help/category/workspaces",features:[{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.users)})," ","user",e.limits.users===1?"":"s"]})},{check:{default:!1,advanced:!0,enterprise:!0},text:"Role-based access control"},{check:{default:!1,enterprise:!0},text:"SAML/SSO",href:"https://dub.co/help/category/saml-sso"},{check:{default:!1,enterprise:!0},text:"Custom SLA"},{check:{default:!1,enterprise:!0},text:"Audit logs"}]},{category:"Support",href:"https://dub.co/help",features:[{text:({id:e})=>t(r,{children:t("strong",{children:{free:"Basic support",pro:"Elevated support",business:"Priority support",advanced:"Priority via Slack",enterprise:"Priority with SLA"}[e]})})},{check:{default:!1,enterprise:!0},text:()=>i(r,{children:[t("strong",{children:"Dedicated"})," success manager"]})}]}];var o=[{name:"Free",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,sales:0,domains:3,tags:5,folders:0,users:1,ai:10,api:60,retention:"30-day"}},{name:"Pro",link:"https://dub.co/help/article/pro-plan",price:{monthly:30,yearly:25,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ","price_1OTcQBAlJJEpqkPViGtGEsbb","price_1OYJeBAlJJEpqkPVLjTsjX0E","price_1OTcQBAlJJEpqkPVYlCMqdLL","price_1OYJeBAlJJEpqkPVnPGEZeb0","price_1R8XtyAlJJEpqkPV5WZ4c0jF","price_1R8XtEAlJJEpqkPV4opVvVPq","price_1R8XxZAlJJEpqkPVqGi0wOqD","price_1R7oeBAlJJEpqkPVh6q5q3h8"]},limits:{links:1e3,clicks:5e4,sales:0,domains:10,tags:25,folders:3,users:3,ai:1e3,api:600,retention:"1-year"},featureTitle:"Everything in Free, plus:",features:[{id:"clicks",text:"50K tracked clicks/mo"},{id:"links",text:"1K new links/mo"},{id:"retention",text:"1-year analytics retention"},{id:"domains",text:"10 domains"},{id:"users",text:"3 users"},{id:"advanced",text:"Advanced link features",tooltip:"ADVANCED_LINK_FEATURES"},{id:"ai",text:"Unlimited AI credits",tooltip:{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:"dotlink",text:"Free .link domain",tooltip:{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"}},{id:"folders",text:"Link folders"},{id:"deeplinks",text:"Deep links",tooltip:{title:"Redirect users to a specific page within your mobile application using deep links.",cta:"Learn more.",href:"https://dub.co//help/article/custom-domain-deep-links"}}]},{name:"Business",price:{monthly:90,yearly:75,ids:["price_1LodLoAlJJEpqkPV9rD0rlNL","price_1LodLoAlJJEpqkPVJdwv5zrG","price_1OZgmnAlJJEpqkPVOj4kV64R","price_1OzNlmAlJJEpqkPV7s9HXNAC","price_1OzNmXAlJJEpqkPVYO89lTdx","price_1OzOFIAlJJEpqkPVJxzc9irl","price_1OzOXMAlJJEpqkPV9ERrjjbw","price_1R3j01AlJJEpqkPVXuG1eNzm","price_1R6JedAlJJEpqkPVMUkfjch4","price_1R8XypAlJJEpqkPVdjzOcYUC","price_1R7ofLAlJJEpqkPV3MlgDpyx"]},limits:{links:1e4,clicks:25e4,sales:25e5,domains:100,tags:n,folders:20,users:10,ai:1e3,api:3e3,retention:"3-year"},featureTitle:"Everything in Pro, plus:",features:[{id:"clicks",text:"250K tracked clicks/mo"},{id:"links",text:"10K new links/mo"},{id:"retention",text:"3-year analytics retention"},{id:"sales",text:"$25K tracked sales/mo",tooltip:{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:"users",text:"10 users"},{id:"events",text:"Real-time events stream",tooltip:{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://dub.co/help/article/real-time-events-stream"}},{id:"partners",text:"Partner management",tooltip:{title:"Use Dub Partners to manage and pay out your affiliates.",cta:"Learn more.",href:"https://dub.co/partners"}},{id:"payouts",text:"1-click global payouts",tooltip:{title:"Send payouts to 180+ countries in 1-click.",cta:"Learn more.",href:"https://dub.co/help/article/partner-payouts"}},{id:"webhooks",text:"Event webhooks",tooltip:{title:"Get real-time notifications when a link is clicked or a QR code is scanned using webhooks.",cta:"Learn more.",href:"https://dub.co/docs/concepts/webhooks/introduction"}},{id:"tests",text:"A/B testing"}]},{name:"Advanced",price:{monthly:300,yearly:250,ids:["price_1R8Xw4AlJJEpqkPV6nwdink9","price_1R3j0qAlJJEpqkPVkfGNXRwb","price_1R8XztAlJJEpqkPVnHmIU2tf","price_1R7ofzAlJJEpqkPV0L2TwyJo"]},limits:{links:5e4,clicks:1e6,sales:1e7,domains:250,tags:n,folders:50,users:20,ai:1e3,api:3e3,retention:"5-year"},featureTitle:"Everything in Business, plus:",features:[{id:"clicks",text:"1M tracked clicks/mo"},{id:"links",text:"50K new links/mo"},{id:"retention",text:"5-year analytics retention"},{id:"sales",text:"$100K tracked sales/mo",tooltip:{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:"users",text:"20 users"},{id:"roles",text:"Folders RBAC"},{id:"whitelabel",text:"White-labeling support"},{id:"volume",text:"Lower payout fees",tooltip:{title:"Lower fees associated with Partner payouts.",cta:"Learn more.",href:"https://dub.co/help/article/partner-payouts"}},{id:"email",text:"Branded email domains"},{id:"slack",text:"Priority Slack support"}]},{name:"Enterprise",price:{monthly:null,yearly:null},limits:{links:25e4,clicks:5e6,sales:1e8,domains:1e3,tags:n,folders:n,users:500,ai:1e4,api:1e4,retention:"Unlimited"}}],p=o.find(e=>e.name==="Free"),u=o.find(e=>e.name==="Pro"),b=o.find(e=>e.name==="Business"),y=o.find(e=>e.name==="Advanced"),f=o.filter(e=>["Pro","Business","Advanced"].includes(e.name)),P=2,E=e=>o.find(s=>{var l;return(l=s.price.ids)==null?void 0:l.includes(e)})||null,A=e=>f.find(s=>s.name.toLowerCase()===e.toLowerCase()),L=e=>o.find(s=>s.name.toLowerCase()===e.toLowerCase())||p,J=e=>e?o[o.findIndex(s=>s.name.toLowerCase()===e.toLowerCase())+1]:u,w=(e,s)=>{let l=o.findIndex(c=>c.name.toLowerCase()===e.toLowerCase()),d=o.findIndex(c=>c.name.toLowerCase()===s.toLowerCase());return l>d};export{k as a,o as b,p as c,u as d,b as e,y as f,f as g,P as h,E as i,A as j,L as k,J as l,w as m};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var s=["va","static","stats","share","robots.txt","proxy","account","api","auth","pricing","about","metatags","blog","changelog","atom","careers","docs","features","contact","terms","privacy","admin","help","new","info","demo","discord","reddit","guides","campaigns","links","workspaces","settings","analytics","invites","new","domains","events","referrals","webhooks","upgrade","wrapped","invoices","onboarding","programs","partners","payouts","commissions","sales","resources"];export{s as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var a=(e,t)=>{if(e.toString()==="Invalid Date")return"";let n=new Date(e),r=new Date;return new Date(e).toLocaleTimeString("en-US",{month:"short",day:"numeric",...n.getUTCFullYear()!==r.getUTCFullYear()?{year:"numeric"}:{hour:"numeric",minute:"numeric",hour12:!0},...t})};export{a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var _=process.env.NEXT_PUBLIC_APP_NAME||"Dub.co",s=process.env.NEXT_PUBLIC_APP_SHORT_DOMAIN||"dub.sh",e=new Set([`app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"localhost:8888","localhost"]),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}`:"http://localhost:8888",p=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",o=new Set([`api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`api-staging.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`api.${s}`,"api.localhost:8888"]),r=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",P=new Set([`admin.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"admin.localhost:8888"]),n=new Set([`partners.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`partners-staging.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"partners.localhost:8888"]),N=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",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}`:process.env.NEXT_PUBLIC_NGROK_URL||"http://partners.localhost:8888",E="https://assets.dub.co/logo.png",A="https://assets.dub.co/logo.png",I="https://assets.dub.co/wordmark.png",L="https://assets.dub.co/thumbnail.jpg",C="cl7pj5kq4006835rbjlt2ofka",a="clrei1gld0002vs9mzn93p8ik",T="prog_CYCu7IMAapjkRpTnr8F1azjN",O="clrflia0j0000vs7sqfhz9c7q",v="clqei1lgc0000vsnzi01pbf47",U="https://dubassets.com";export{_ as a,s as b,e as c,t as d,p as e,o as f,r as g,P as h,n as i,N as j,c as k,E as l,A as m,I as n,L as o,C as p,a as q,T as r,O as s,v as t,U as u};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{g as n}from"./chunk-QQHB6G47.mjs";import{a}from"./chunk-NWFCCRLG.mjs";import{Fragment as r,jsx as t,jsxs as i}from"react/jsx-runtime";var k=[{category:"Links",href:"https://dub.co/home",features:[{text:()=>i(r,{children:[t("strong",{children:"Unlimited"})," clicks"]})},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.links)})," ","new links",e.name==="Enterprise"?"":"/mo"]})},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.tags===n?"Unlimited":a(e.limits.tags)})," ","tags"]}),href:"https://dub.co/help/article/how-to-use-tags"},{check:{free:!1,default:!0},text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.folders===n?"Unlimited":a(e.limits.folders)})," ","folders"]})},{text:"Custom QR codes",href:"https://dub.co/help/article/custom-qr-codes"},{text:"UTM builder + templates",href:"https://dub.co/help/article/how-to-create-utm-templates"},{check:{free:!1,default:!0},text:"Custom link previews",href:"https://dub.co/help/article/custom-link-previews"},{check:{free:!1,default:!0},text:"Deep links",href:"https://dub.co/help/article/custom-domain-deep-links"},{check:{free:!1,default:!0},text:"Link cloaking",href:"https://dub.co/help/article/link-cloaking"},{check:{free:!1,default:!0},text:"Link expiration",href:"https://dub.co/help/article/link-expiration"},{check:{free:!1,default:!0},text:"Password protection",href:"https://dub.co/help/article/password-protected-links"},{check:{free:!1,default:!0},text:"Device targeting",href:"https://dub.co/help/article/device-targeting"},{check:{free:!1,default:!0},text:"Geo targeting",href:"https://dub.co/help/article/geo-targeting"},{check:{free:!1,pro:!1,default:!0},text:"A/B testing"}]},{category:"Analytics",href:"https://dub.co/analytics",features:[{text:"Advanced analytics",href:"https://dub.co/help/article/dub-analytics"},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.clicks)})," ","tracked clicks",e.name==="Enterprise"?"":"/mo"]}),href:"https://dub.co/help/article/dub-analytics-limits"},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.retention})," retention"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Real-time events stream",href:"https://dub.co/help/article/real-time-events-stream"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Conversion tracking",href:"https://dub.co/help/article/dub-conversions"}]},{category:"Partners",href:"https://dub.co/partners",features:[{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Partner management",href:"https://dub.co/help/article/dub-partners"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:({id:e,plan:s})=>e==="free"||e==="pro"?"No tracked sales":i(r,{children:[t("strong",{children:s.name==="Enterprise"?"Unlimited":`$${a(s.limits.sales/100)}`})," ","tracked sales",s.name==="Enterprise"?"":"/mo"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"1-click global payouts",href:"https://dub.co/help/article/partner-payouts"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:({id:e})=>e==="free"||e==="pro"?"No payouts":i(r,{children:[t("strong",{children:{business:"7%",advanced:"5%",enterprise:"3%"}[e]})," ","payout fees"]}),href:"https://dub.co/help/article/partner-payouts#payout-fees-and-timing"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Tax compliance",href:"https://dub.co/help/article/partner-payouts#tax-compliance"},{check:{default:!1,business:!1,advanced:!0,enterprise:!0},text:"White-labeling support",href:"https://dub.co/help/article/dub-partners#white-labeled-in-app-dashboard"},{check:{default:!1,business:!1,advanced:!0,enterprise:!0},text:"Branded email domains"}]},{category:"Domains",href:"https://dub.co/help/category/custom-domains",features:[{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.domains,{full:!0})})," ","custom domains"]})},{text:()=>t(r,{children:"SSL certificates"})},{check:{default:!0,free:!1},text:()=>i(r,{children:["Premium ",t("strong",{children:"dub.link"})," domain"]}),href:"https://dub.co/help/article/default-dub-domains#premium-dublink-domain"},{check:{default:!0,free:!1},text:()=>i(r,{children:["Free ",t("strong",{children:".link"})," domain"]}),href:"https://dub.co/help/article/free-dot-link-domain"}]},{category:"API",href:"https://dub.co/docs/api-reference/introduction",features:[{text:"API Access",href:"https://dub.co/docs/api-reference/introduction"},{text:"Native SDKs",href:"https://dub.co/docs/sdks/overview"},{text:({id:e,plan:s})=>i(r,{children:[t("strong",{children:e==="enterprise"?"Custom":a(s.limits.api)+"/min"})," ","rate limit"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Event webhooks",href:"https://dub.co/docs/concepts/webhooks/introduction"}]},{category:"Workspace",href:"https://dub.co/help/category/workspaces",features:[{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.users)})," ","user",e.limits.users===1?"":"s"]})},{check:{default:!1,advanced:!0,enterprise:!0},text:"Role-based access control"},{check:{default:!1,enterprise:!0},text:"SAML/SSO",href:"https://dub.co/help/category/saml-sso"},{check:{default:!1,enterprise:!0},text:"Custom SLA"},{check:{default:!1,enterprise:!0},text:"Audit logs"}]},{category:"Support",href:"https://dub.co/help",features:[{text:({id:e})=>t(r,{children:t("strong",{children:{free:"Basic support",pro:"Elevated support",business:"Priority support",advanced:"Priority via Slack",enterprise:"Priority with SLA"}[e]})})},{check:{default:!1,enterprise:!0},text:()=>i(r,{children:[t("strong",{children:"Dedicated"})," success manager"]})}]}];var o=[{name:"Free",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,sales:0,domains:3,tags:5,folders:0,users:1,ai:10,api:60,retention:"30-day"}},{name:"Pro",link:"https://dub.co/help/article/pro-plan",price:{monthly:30,yearly:25,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ","price_1OTcQBAlJJEpqkPViGtGEsbb","price_1OYJeBAlJJEpqkPVLjTsjX0E","price_1OTcQBAlJJEpqkPVYlCMqdLL","price_1OYJeBAlJJEpqkPVnPGEZeb0","price_1R8XtyAlJJEpqkPV5WZ4c0jF","price_1R8XtEAlJJEpqkPV4opVvVPq","price_1R8XxZAlJJEpqkPVqGi0wOqD","price_1R7oeBAlJJEpqkPVh6q5q3h8"]},limits:{links:1e3,clicks:5e4,sales:0,domains:10,tags:25,folders:3,users:3,ai:1e3,api:600,retention:"1-year"},featureTitle:"Everything in Free, plus:",features:[{id:"clicks",text:"50K tracked clicks/mo"},{id:"links",text:"1K new links/mo"},{id:"retention",text:"1-year analytics retention"},{id:"domains",text:"10 domains"},{id:"users",text:"3 users"},{id:"advanced",text:"Advanced link features",tooltip:"ADVANCED_LINK_FEATURES"},{id:"ai",text:"Unlimited AI credits",tooltip:{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:"dotlink",text:"Free .link domain",tooltip:{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"}},{id:"folders",text:"Link folders"},{id:"deeplinks",text:"Deep links",tooltip:{title:"Redirect users to a specific page within your mobile application using deep links.",cta:"Learn more.",href:"https://dub.co//help/article/custom-domain-deep-links"}}]},{name:"Business",price:{monthly:90,yearly:75,ids:["price_1LodLoAlJJEpqkPV9rD0rlNL","price_1LodLoAlJJEpqkPVJdwv5zrG","price_1OZgmnAlJJEpqkPVOj4kV64R","price_1OzNlmAlJJEpqkPV7s9HXNAC","price_1OzNmXAlJJEpqkPVYO89lTdx","price_1OzOFIAlJJEpqkPVJxzc9irl","price_1OzOXMAlJJEpqkPV9ERrjjbw","price_1R3j01AlJJEpqkPVXuG1eNzm","price_1R6JedAlJJEpqkPVMUkfjch4","price_1R8XypAlJJEpqkPVdjzOcYUC","price_1R7ofLAlJJEpqkPV3MlgDpyx"]},limits:{links:1e4,clicks:25e4,sales:25e5,domains:100,tags:n,folders:20,users:10,ai:1e3,api:3e3,retention:"3-year"},featureTitle:"Everything in Pro, plus:",features:[{id:"clicks",text:"250K tracked clicks/mo"},{id:"links",text:"10K new links/mo"},{id:"retention",text:"3-year analytics retention"},{id:"sales",text:"$25K tracked sales/mo",tooltip:{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:"users",text:"10 users"},{id:"events",text:"Real-time events stream",tooltip:{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://dub.co/help/article/real-time-events-stream"}},{id:"partners",text:"Partner management",tooltip:{title:"Use Dub Partners to manage and pay out your affiliates.",cta:"Learn more.",href:"https://dub.co/partners"}},{id:"payouts",text:"1-click global payouts",tooltip:{title:"Send payouts to 180+ countries in 1-click.",cta:"Learn more.",href:"https://dub.co/help/article/partner-payouts"}},{id:"webhooks",text:"Event webhooks",tooltip:{title:"Get real-time notifications when a link is clicked or a QR code is scanned using webhooks.",cta:"Learn more.",href:"https://dub.co/docs/concepts/webhooks/introduction"}},{id:"tests",text:"A/B testing"}]},{name:"Advanced",price:{monthly:300,yearly:250,ids:["price_1R8Xw4AlJJEpqkPV6nwdink9","price_1R3j0qAlJJEpqkPVkfGNXRwb","price_1R8XztAlJJEpqkPVnHmIU2tf","price_1R7ofzAlJJEpqkPV0L2TwyJo"]},limits:{links:5e4,clicks:1e6,sales:1e7,domains:250,tags:n,folders:50,users:20,ai:1e3,api:3e3,retention:"5-year"},featureTitle:"Everything in Business, plus:",features:[{id:"clicks",text:"1M tracked clicks/mo"},{id:"links",text:"50K new links/mo"},{id:"retention",text:"5-year analytics retention"},{id:"sales",text:"$100K tracked sales/mo",tooltip:{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:"users",text:"20 users"},{id:"roles",text:"Folders RBAC"},{id:"whitelabel",text:"White-labeling support"},{id:"volume",text:"Lower payout fees",tooltip:{title:"Lower fees associated with Partner payouts.",cta:"Learn more.",href:"https://dub.co/help/article/partner-payouts"}},{id:"email",text:"Branded email domains"},{id:"slack",text:"Priority Slack support"}]},{name:"Enterprise",price:{monthly:null,yearly:null},limits:{links:25e4,clicks:5e6,sales:1e8,domains:1e3,tags:n,folders:n,users:500,ai:1e4,api:1e4,retention:"Unlimited"}}],p=o.find(e=>e.name==="Free"),u=o.find(e=>e.name==="Pro"),b=o.find(e=>e.name==="Business"),y=o.find(e=>e.name==="Advanced"),f=o.filter(e=>["Pro","Business","Advanced"].includes(e.name)),P=2,E=e=>o.find(s=>{var l;return(l=s.price.ids)==null?void 0:l.includes(e)})||null,A=e=>f.find(s=>s.name.toLowerCase()===e.toLowerCase()),L=e=>o.find(s=>s.name.toLowerCase()===e.toLowerCase())||p,J=e=>e?o[o.findIndex(s=>s.name.toLowerCase()===e.toLowerCase())+1]:u,w=(e,s)=>{let l=o.findIndex(c=>c.name.toLowerCase()===e.toLowerCase()),d=o.findIndex(c=>c.name.toLowerCase()===s.toLowerCase());return l>d};export{k as a,o as b,p as c,u as d,b as e,y as f,f as g,P as h,E as i,A as j,L as k,J as l,w as m};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./chunk-NWFCCRLG.mjs";import{g as n}from"./chunk-QQHB6G47.mjs";import{Fragment as r,jsx as t,jsxs as i}from"react/jsx-runtime";var k=[{category:"Links",href:"https://dub.co/home",features:[{text:()=>i(r,{children:[t("strong",{children:"Unlimited"})," clicks"]})},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.links)})," ","new links",e.name==="Enterprise"?"":"/mo"]})},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.tags===n?"Unlimited":a(e.limits.tags)})," ","tags"]}),href:"https://dub.co/help/article/how-to-use-tags"},{check:{free:!1,default:!0},text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.folders===n?"Unlimited":a(e.limits.folders)})," ","folders"]})},{text:"Custom QR codes",href:"https://dub.co/help/article/custom-qr-codes"},{text:"UTM builder + templates",href:"https://dub.co/help/article/how-to-create-utm-templates"},{check:{free:!1,default:!0},text:"Custom link previews",href:"https://dub.co/help/article/custom-link-previews"},{check:{free:!1,default:!0},text:"Deep links",href:"https://dub.co/help/article/custom-domain-deep-links"},{check:{free:!1,default:!0},text:"Link cloaking",href:"https://dub.co/help/article/link-cloaking"},{check:{free:!1,default:!0},text:"Link expiration",href:"https://dub.co/help/article/link-expiration"},{check:{free:!1,default:!0},text:"Password protection",href:"https://dub.co/help/article/password-protected-links"},{check:{free:!1,default:!0},text:"Device targeting",href:"https://dub.co/help/article/device-targeting"},{check:{free:!1,default:!0},text:"Geo targeting",href:"https://dub.co/help/article/geo-targeting"},{check:{free:!1,pro:!1,default:!0},text:"A/B testing"}]},{category:"Analytics",href:"https://dub.co/analytics",features:[{text:"Advanced analytics",href:"https://dub.co/help/article/dub-analytics"},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.clicks)})," ","tracked clicks",e.name==="Enterprise"?"":"/mo"]}),href:"https://dub.co/help/article/dub-analytics-limits"},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.retention})," retention"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Real-time events stream",href:"https://dub.co/help/article/real-time-events-stream"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Conversion tracking",href:"https://dub.co/help/article/dub-conversions"}]},{category:"Partners",href:"https://dub.co/partners",features:[{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Partner management",href:"https://dub.co/partners"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:({id:e,plan:s})=>e==="free"||e==="pro"?"No tracked sales":i(r,{children:[t("strong",{children:s.name==="Enterprise"?"Unlimited":`$${a(s.limits.sales/100)}`})," ","tracked sales",s.name==="Enterprise"?"":"/mo"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"1-click global payouts",href:"https://dub.co/help/article/partner-payouts"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:({id:e})=>e==="free"||e==="pro"?"No payouts":i(r,{children:[t("strong",{children:{business:"7%",advanced:"5%",enterprise:"3%"}[e]})," ","payout fees"]}),href:"https://dub.co/help/article/partner-payouts#payout-fees-and-timing"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Tax compliance",href:"https://dub.co/help/article/partner-payouts#tax-compliance"},{check:{default:!1,business:!1,advanced:!0,enterprise:!0},text:"White-labeling support",href:"https://dub.co/docs/partners/white-labeling"},{check:{default:!1,business:!1,advanced:!0,enterprise:!0},text:"Branded email domains"}]},{category:"Domains",href:"https://dub.co/help/category/custom-domains",features:[{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.domains,{full:!0})})," ","custom domains"]})},{text:()=>t(r,{children:"SSL certificates"})},{check:{default:!0,free:!1},text:()=>i(r,{children:["Premium ",t("strong",{children:"dub.link"})," domain"]}),href:"https://dub.co/help/article/default-dub-domains#premium-dublink-domain"},{check:{default:!0,free:!1},text:()=>i(r,{children:["Free ",t("strong",{children:".link"})," domain"]}),href:"https://dub.co/help/article/free-dot-link-domain"}]},{category:"API",href:"https://dub.co/docs/api-reference/introduction",features:[{text:"API Access",href:"https://dub.co/docs/api-reference/introduction"},{text:"Native SDKs",href:"https://dub.co/docs/sdks/overview"},{text:({id:e,plan:s})=>i(r,{children:[t("strong",{children:e==="enterprise"?"Custom":a(s.limits.api)+"/min"})," ","rate limit"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Event webhooks",href:"https://dub.co/docs/concepts/webhooks/introduction"}]},{category:"Workspace",href:"https://dub.co/help/category/workspaces",features:[{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.users)})," ","user",e.limits.users===1?"":"s"]})},{check:{default:!1,advanced:!0,enterprise:!0},text:"Role-based access control"},{check:{default:!1,enterprise:!0},text:"SAML/SSO",href:"https://dub.co/help/category/saml-sso"},{check:{default:!1,enterprise:!0},text:"Custom SLA"},{check:{default:!1,enterprise:!0},text:"Audit logs"}]},{category:"Support",href:"https://dub.co/help",features:[{text:({id:e})=>t(r,{children:t("strong",{children:{free:"Basic support",pro:"Elevated support",business:"Priority support",advanced:"Priority via Slack",enterprise:"Priority with SLA"}[e]})})},{check:{default:!1,enterprise:!0},text:()=>i(r,{children:[t("strong",{children:"Dedicated"})," success manager"]})}]}];var o=[{name:"Free",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,sales:0,domains:3,tags:5,folders:0,users:1,ai:10,api:60,retention:"30-day"}},{name:"Pro",link:"https://dub.co/help/article/pro-plan",price:{monthly:30,yearly:25,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ","price_1OTcQBAlJJEpqkPViGtGEsbb","price_1OYJeBAlJJEpqkPVLjTsjX0E","price_1OTcQBAlJJEpqkPVYlCMqdLL","price_1OYJeBAlJJEpqkPVnPGEZeb0","price_1R8XtyAlJJEpqkPV5WZ4c0jF","price_1R8XtEAlJJEpqkPV4opVvVPq","price_1R8XxZAlJJEpqkPVqGi0wOqD","price_1R7oeBAlJJEpqkPVh6q5q3h8"]},limits:{links:1e3,clicks:5e4,sales:0,domains:10,tags:25,folders:3,users:3,ai:1e3,api:600,retention:"1-year"},featureTitle:"Everything in Free, plus:",features:[{id:"clicks",text:"50K tracked clicks/mo"},{id:"links",text:"1K new links/mo"},{id:"retention",text:"1-year analytics retention"},{id:"domains",text:"10 domains"},{id:"users",text:"3 users"},{id:"advanced",text:"Advanced link features",tooltip:"ADVANCED_LINK_FEATURES"},{id:"ai",text:"Unlimited AI credits",tooltip:{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:"dotlink",text:"Free .link domain",tooltip:{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"}},{id:"folders",text:"Link folders"},{id:"deeplinks",text:"Deep links",tooltip:{title:"Redirect users to a specific page within your mobile application using deep links.",cta:"Learn more.",href:"https://dub.co//help/article/custom-domain-deep-links"}}]},{name:"Business",price:{monthly:90,yearly:75,ids:["price_1LodLoAlJJEpqkPV9rD0rlNL","price_1LodLoAlJJEpqkPVJdwv5zrG","price_1OZgmnAlJJEpqkPVOj4kV64R","price_1OzNlmAlJJEpqkPV7s9HXNAC","price_1OzNmXAlJJEpqkPVYO89lTdx","price_1OzOFIAlJJEpqkPVJxzc9irl","price_1OzOXMAlJJEpqkPV9ERrjjbw","price_1R3j01AlJJEpqkPVXuG1eNzm","price_1R6JedAlJJEpqkPVMUkfjch4","price_1R8XypAlJJEpqkPVdjzOcYUC","price_1R7ofLAlJJEpqkPV3MlgDpyx"]},limits:{links:1e4,clicks:25e4,sales:25e5,domains:100,tags:n,folders:20,users:10,ai:1e3,api:3e3,retention:"3-year"},featureTitle:"Everything in Pro, plus:",features:[{id:"clicks",text:"250K tracked clicks/mo"},{id:"links",text:"10K new links/mo"},{id:"retention",text:"3-year analytics retention"},{id:"sales",text:"$25K tracked sales/mo",tooltip:{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:"users",text:"10 users"},{id:"events",text:"Real-time events stream",tooltip:{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://dub.co/help/article/real-time-events-stream"}},{id:"partners",text:"Partner management",tooltip:{title:"Use Dub Partners to manage and pay out your affiliates.",cta:"Learn more.",href:"https://dub.co/partners"}},{id:"payouts",text:"1-click global payouts",tooltip:{title:"Send payouts to 180+ countries in 1-click.",cta:"Learn more.",href:"https://dub.co/help/article/partner-payouts"}},{id:"webhooks",text:"Event webhooks",tooltip:{title:"Get real-time notifications when a link is clicked or a QR code is scanned using webhooks.",cta:"Learn more.",href:"https://dub.co/docs/concepts/webhooks/introduction"}},{id:"tests",text:"A/B testing"}]},{name:"Advanced",price:{monthly:300,yearly:250,ids:["price_1R8Xw4AlJJEpqkPV6nwdink9","price_1R3j0qAlJJEpqkPVkfGNXRwb","price_1R8XztAlJJEpqkPVnHmIU2tf","price_1R7ofzAlJJEpqkPV0L2TwyJo"]},limits:{links:5e4,clicks:1e6,sales:1e7,domains:250,tags:n,folders:50,users:20,ai:1e3,api:3e3,retention:"5-year"},featureTitle:"Everything in Business, plus:",features:[{id:"clicks",text:"1M tracked clicks/mo"},{id:"links",text:"50K new links/mo"},{id:"retention",text:"5-year analytics retention"},{id:"sales",text:"$100K tracked sales/mo",tooltip:{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:"users",text:"20 users"},{id:"roles",text:"Folders RBAC"},{id:"whitelabel",text:"White-labeling support"},{id:"volume",text:"Lower payout fees",tooltip:{title:"Lower fees associated with Partner payouts.",cta:"Learn more.",href:"https://dub.co/help/article/partner-payouts"}},{id:"email",text:"Branded email domains"},{id:"slack",text:"Priority Slack support"}]},{name:"Enterprise",price:{monthly:null,yearly:null},limits:{links:25e4,clicks:5e6,sales:1e8,domains:1e3,tags:n,folders:n,users:500,ai:1e4,api:1e4,retention:"Unlimited"}}],p=o.find(e=>e.name==="Free"),u=o.find(e=>e.name==="Pro"),b=o.find(e=>e.name==="Business"),y=o.find(e=>e.name==="Advanced"),f=o.filter(e=>["Pro","Business","Advanced"].includes(e.name)),P=2,E=e=>o.find(s=>{var l;return(l=s.price.ids)==null?void 0:l.includes(e)})||null,A=e=>f.find(s=>s.name.toLowerCase()===e.toLowerCase()),L=e=>o.find(s=>s.name.toLowerCase()===e.toLowerCase())||p,J=e=>e?o[o.findIndex(s=>s.name.toLowerCase()===e.toLowerCase())+1]:u,w=(e,s)=>{let l=o.findIndex(c=>c.name.toLowerCase()===e.toLowerCase()),d=o.findIndex(c=>c.name.toLowerCase()===s.toLowerCase());return l>d};export{k as a,o as b,p as c,u as d,b as e,y as f,f as g,P as h,E as i,A as j,L as k,J as l,w as m};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./chunk-NWFCCRLG.mjs";import{g as n}from"./chunk-Q4LGL37L.mjs";import{Fragment as r,jsx as t,jsxs as i}from"react/jsx-runtime";var k=[{category:"Links",href:"https://dub.co/home",features:[{text:()=>i(r,{children:[t("strong",{children:"Unlimited"})," clicks"]})},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.links)})," ","new links",e.name==="Enterprise"?"":"/mo"]})},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.tags===n?"Unlimited":a(e.limits.tags)})," ","tags"]}),href:"https://dub.co/help/article/how-to-use-tags"},{check:{free:!1,default:!0},text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.folders===n?"Unlimited":a(e.limits.folders)})," ","folders"]})},{text:"Custom QR codes",href:"https://dub.co/help/article/custom-qr-codes"},{text:"UTM builder + templates",href:"https://dub.co/help/article/how-to-create-utm-templates"},{check:{free:!1,default:!0},text:"Custom link previews",href:"https://dub.co/help/article/custom-link-previews"},{check:{free:!1,default:!0},text:"Deep links",href:"https://dub.co/help/article/custom-domain-deep-links"},{check:{free:!1,default:!0},text:"Link cloaking",href:"https://dub.co/help/article/link-cloaking"},{check:{free:!1,default:!0},text:"Link expiration",href:"https://dub.co/help/article/link-expiration"},{check:{free:!1,default:!0},text:"Password protection",href:"https://dub.co/help/article/password-protected-links"},{check:{free:!1,default:!0},text:"Device targeting",href:"https://dub.co/help/article/device-targeting"},{check:{free:!1,default:!0},text:"Geo targeting",href:"https://dub.co/help/article/geo-targeting"},{check:{free:!1,pro:!1,default:!0},text:"A/B testing"}]},{category:"Analytics",href:"https://dub.co/analytics",features:[{text:"Advanced analytics",href:"https://dub.co/help/article/dub-analytics"},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.clicks)})," ","tracked clicks",e.name==="Enterprise"?"":"/mo"]}),href:"https://dub.co/help/article/dub-analytics-limits"},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.retention})," retention"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Real-time events stream",href:"https://dub.co/help/article/real-time-events-stream"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Conversion tracking",href:"https://dub.co/help/article/dub-conversions"}]},{category:"Partners",href:"https://dub.co/partners",features:[{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Partner management",href:"https://dub.co/help/article/dub-partners"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:({id:e,plan:s})=>e==="free"||e==="pro"?"No tracked sales":i(r,{children:[t("strong",{children:s.name==="Enterprise"?"Unlimited":`$${a(s.limits.sales/100)}`})," ","tracked sales",s.name==="Enterprise"?"":"/mo"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"1-click global payouts",href:"https://dub.co/help/article/partner-payouts"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:({id:e})=>e==="free"||e==="pro"?"No payouts":i(r,{children:[t("strong",{children:{business:"7%",advanced:"5%",enterprise:"3%"}[e]})," ","payout fees"]}),href:"https://dub.co/help/article/partner-payouts#payout-fees-and-timing"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Tax compliance",href:"https://dub.co/help/article/partner-payouts#tax-compliance"},{check:{default:!1,business:!1,advanced:!0,enterprise:!0},text:"White-labeling support",href:"https://dub.co/help/article/dub-partners#white-labeled-in-app-dashboard"},{check:{default:!1,business:!1,advanced:!0,enterprise:!0},text:"Branded email domains"}]},{category:"Domains",href:"https://dub.co/help/category/custom-domains",features:[{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.domains,{full:!0})})," ","custom domains"]})},{text:()=>t(r,{children:"SSL certificates"})},{check:{default:!0,free:!1},text:()=>i(r,{children:["Premium ",t("strong",{children:"dub.link"})," domain"]}),href:"https://dub.co/help/article/default-dub-domains#premium-dublink-domain"},{check:{default:!0,free:!1},text:()=>i(r,{children:["Free ",t("strong",{children:".link"})," domain"]}),href:"https://dub.co/help/article/free-dot-link-domain"}]},{category:"API",href:"https://dub.co/docs/api-reference/introduction",features:[{text:"API Access",href:"https://dub.co/docs/api-reference/introduction"},{text:"Native SDKs",href:"https://dub.co/docs/sdks/overview"},{text:({id:e,plan:s})=>i(r,{children:[t("strong",{children:e==="enterprise"?"Custom":a(s.limits.api)+"/min"})," ","rate limit"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Event webhooks",href:"https://dub.co/docs/concepts/webhooks/introduction"}]},{category:"Workspace",href:"https://dub.co/help/category/workspaces",features:[{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.users)})," ","user",e.limits.users===1?"":"s"]})},{check:{default:!1,advanced:!0,enterprise:!0},text:"Role-based access control"},{check:{default:!1,enterprise:!0},text:"SAML/SSO",href:"https://dub.co/help/category/saml-sso"},{check:{default:!1,enterprise:!0},text:"Custom SLA"},{check:{default:!1,enterprise:!0},text:"Audit logs"}]},{category:"Support",href:"https://dub.co/help",features:[{text:({id:e})=>t(r,{children:t("strong",{children:{free:"Basic support",pro:"Elevated support",business:"Priority support",advanced:"Priority via Slack",enterprise:"Priority with SLA"}[e]})})},{check:{default:!1,enterprise:!0},text:()=>i(r,{children:[t("strong",{children:"Dedicated"})," success manager"]})}]}];var o=[{name:"Free",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,sales:0,domains:3,tags:5,folders:0,users:1,ai:10,api:60,retention:"30-day"}},{name:"Pro",link:"https://dub.co/help/article/pro-plan",price:{monthly:30,yearly:25,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ","price_1OTcQBAlJJEpqkPViGtGEsbb","price_1OYJeBAlJJEpqkPVLjTsjX0E","price_1OTcQBAlJJEpqkPVYlCMqdLL","price_1OYJeBAlJJEpqkPVnPGEZeb0","price_1R8XtyAlJJEpqkPV5WZ4c0jF","price_1R8XtEAlJJEpqkPV4opVvVPq","price_1R8XxZAlJJEpqkPVqGi0wOqD","price_1R7oeBAlJJEpqkPVh6q5q3h8"]},limits:{links:1e3,clicks:5e4,sales:0,domains:10,tags:25,folders:3,users:3,ai:1e3,api:600,retention:"1-year"},featureTitle:"Everything in Free, plus:",features:[{id:"clicks",text:"50K tracked clicks/mo"},{id:"links",text:"1K new links/mo"},{id:"retention",text:"1-year analytics retention"},{id:"domains",text:"10 domains"},{id:"users",text:"3 users"},{id:"advanced",text:"Advanced link features",tooltip:"ADVANCED_LINK_FEATURES"},{id:"ai",text:"Unlimited AI credits",tooltip:{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:"dotlink",text:"Free .link domain",tooltip:{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"}},{id:"folders",text:"Link folders"},{id:"deeplinks",text:"Deep links",tooltip:{title:"Redirect users to a specific page within your mobile application using deep links.",cta:"Learn more.",href:"https://dub.co//help/article/custom-domain-deep-links"}}]},{name:"Business",price:{monthly:90,yearly:75,ids:["price_1LodLoAlJJEpqkPV9rD0rlNL","price_1LodLoAlJJEpqkPVJdwv5zrG","price_1OZgmnAlJJEpqkPVOj4kV64R","price_1OzNlmAlJJEpqkPV7s9HXNAC","price_1OzNmXAlJJEpqkPVYO89lTdx","price_1OzOFIAlJJEpqkPVJxzc9irl","price_1OzOXMAlJJEpqkPV9ERrjjbw","price_1R3j01AlJJEpqkPVXuG1eNzm","price_1R6JedAlJJEpqkPVMUkfjch4","price_1R8XypAlJJEpqkPVdjzOcYUC","price_1R7ofLAlJJEpqkPV3MlgDpyx"]},limits:{links:1e4,clicks:25e4,sales:25e5,domains:100,tags:n,folders:20,users:10,ai:1e3,api:3e3,retention:"3-year"},featureTitle:"Everything in Pro, plus:",features:[{id:"clicks",text:"250K tracked clicks/mo"},{id:"links",text:"10K new links/mo"},{id:"retention",text:"3-year analytics retention"},{id:"sales",text:"$25K tracked sales/mo",tooltip:{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:"users",text:"10 users"},{id:"events",text:"Real-time events stream",tooltip:{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://dub.co/help/article/real-time-events-stream"}},{id:"partners",text:"Partner management",tooltip:{title:"Use Dub Partners to manage and pay out your affiliates.",cta:"Learn more.",href:"https://dub.co/partners"}},{id:"payouts",text:"1-click global payouts",tooltip:{title:"Send payouts to 180+ countries in 1-click.",cta:"Learn more.",href:"https://dub.co/help/article/partner-payouts"}},{id:"webhooks",text:"Event webhooks",tooltip:{title:"Get real-time notifications when a link is clicked or a QR code is scanned using webhooks.",cta:"Learn more.",href:"https://dub.co/docs/concepts/webhooks/introduction"}},{id:"tests",text:"A/B testing"}]},{name:"Advanced",price:{monthly:300,yearly:250,ids:["price_1R3j0QAlJJEpqkPVrTW1Ss2i","price_1R3j0qAlJJEpqkPVkfGNXRwb","price_1R8XztAlJJEpqkPVnHmIU2tf","price_1R7ofzAlJJEpqkPV0L2TwyJo"]},limits:{links:5e4,clicks:1e6,sales:1e7,domains:250,tags:n,folders:50,users:20,ai:1e3,api:3e3,retention:"5-year"},featureTitle:"Everything in Business, plus:",features:[{id:"clicks",text:"1M tracked clicks/mo"},{id:"links",text:"50K new links/mo"},{id:"retention",text:"5-year analytics retention"},{id:"sales",text:"$100K tracked sales/mo",tooltip:{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:"users",text:"20 users"},{id:"roles",text:"Folders RBAC"},{id:"whitelabel",text:"White-labeling support"},{id:"volume",text:"Lower payout fees",tooltip:{title:"Lower fees associated with Partner payouts.",cta:"Learn more.",href:"https://dub.co/help/article/partner-payouts"}},{id:"email",text:"Branded email domains"},{id:"slack",text:"Priority Slack support"}]},{name:"Enterprise",price:{monthly:null,yearly:null},limits:{links:25e4,clicks:5e6,sales:1e8,domains:1e3,tags:n,folders:n,users:500,ai:1e4,api:1e4,retention:"Unlimited"}}],p=o.find(e=>e.name==="Free"),u=o.find(e=>e.name==="Pro"),b=o.find(e=>e.name==="Business"),y=o.find(e=>e.name==="Advanced"),f=o.filter(e=>["Pro","Business","Advanced"].includes(e.name)),P=2,E=e=>o.find(s=>{var l;return(l=s.price.ids)==null?void 0:l.includes(e)})||null,A=e=>f.find(s=>s.name.toLowerCase()===e.toLowerCase()),L=e=>o.find(s=>s.name.toLowerCase()===e.toLowerCase())||p,J=e=>e?o[o.findIndex(s=>s.name.toLowerCase()===e.toLowerCase())+1]:u,v=(e,s)=>{let l=o.findIndex(c=>c.name.toLowerCase()===e.toLowerCase()),d=o.findIndex(c=>c.name.toLowerCase()===s.toLowerCase());return l>d};export{k as a,o as b,p as c,u as d,b as e,y as f,f as g,P as h,E as i,A as j,L as k,J as l,v as m};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./chunk-NWFCCRLG.mjs";import{g as n}from"./chunk-Q4LGL37L.mjs";import{Fragment as r,jsx as t,jsxs as i}from"react/jsx-runtime";var k=[{category:"Links",href:"https://dub.co/home",features:[{text:()=>i(r,{children:[t("strong",{children:"Unlimited"})," clicks"]})},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.links)})," ","new links",e.name==="Enterprise"?"":"/mo"]})},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.tags===n?"Unlimited":a(e.limits.tags)})," ","tags"]}),href:"https://dub.co/help/article/how-to-use-tags"},{check:{free:!1,default:!0},text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.folders===n?"Unlimited":a(e.limits.folders)})," ","folders"]})},{text:"Custom QR codes",href:"https://dub.co/help/article/custom-qr-codes"},{text:"UTM builder + templates",href:"https://dub.co/help/article/how-to-create-utm-templates"},{check:{free:!1,default:!0},text:"Custom link previews",href:"https://dub.co/help/article/custom-link-previews"},{check:{free:!1,default:!0},text:"Deep links",href:"https://dub.co/help/article/custom-domain-deep-links"},{check:{free:!1,default:!0},text:"Link cloaking",href:"https://dub.co/help/article/link-cloaking"},{check:{free:!1,default:!0},text:"Link expiration",href:"https://dub.co/help/article/link-expiration"},{check:{free:!1,default:!0},text:"Password protection",href:"https://dub.co/help/article/password-protected-links"},{check:{free:!1,default:!0},text:"Device targeting",href:"https://dub.co/help/article/device-targeting"},{check:{free:!1,default:!0},text:"Geo targeting",href:"https://dub.co/help/article/geo-targeting"},{check:{free:!1,pro:!1,default:!0},text:"A/B testing"}]},{category:"Analytics",href:"https://dub.co/analytics",features:[{text:"Advanced analytics",href:"https://dub.co/help/article/dub-analytics"},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.clicks)})," ","tracked clicks",e.name==="Enterprise"?"":"/mo"]}),href:"https://dub.co/help/article/dub-analytics-limits"},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.retention})," retention"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Real-time events stream",href:"https://dub.co/help/article/real-time-events-stream"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Conversion tracking",href:"https://dub.co/help/article/dub-conversions"}]},{category:"Partners",href:"https://dub.co/partners",features:[{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Partner management",href:"https://dub.co/help/article/dub-partners"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:({id:e,plan:s})=>e==="free"||e==="pro"?"No tracked sales":i(r,{children:[t("strong",{children:s.name==="Enterprise"?"Unlimited":`$${a(s.limits.sales)}`})," ","tracked sales",s.name==="Enterprise"?"":"/mo"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"1-click global payouts",href:"https://dub.co/help/article/partner-payouts"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:({id:e})=>e==="free"||e==="pro"?"No payouts":i(r,{children:[t("strong",{children:{business:"7%",advanced:"5%",enterprise:"3%"}[e]})," ","payout fees"]}),href:"https://dub.co/help/article/partner-payouts#payout-fees-and-timing"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Tax compliance",href:"https://dub.co/help/article/partner-payouts#tax-compliance"},{check:{default:!1,business:!1,advanced:!0,enterprise:!0},text:"White-labeling support",href:"https://dub.co/help/article/dub-partners#white-labeled-in-app-dashboard"},{check:{default:!1,business:!1,advanced:!0,enterprise:!0},text:"Branded email domains"}]},{category:"Domains",href:"https://dub.co/help/category/custom-domains",features:[{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.domains,{full:!0})})," ","custom domains"]})},{text:()=>t(r,{children:"SSL certificates"})},{check:{default:!0,free:!1},text:()=>i(r,{children:["Premium ",t("strong",{children:"dub.link"})," domain"]}),href:"https://dub.co/help/article/default-dub-domains#premium-dublink-domain"},{check:{default:!0,free:!1},text:()=>i(r,{children:["Free ",t("strong",{children:".link"})," domain"]}),href:"https://dub.co/help/article/free-dot-link-domain"}]},{category:"API",href:"https://dub.co/docs/api-reference/introduction",features:[{text:"API Access",href:"https://dub.co/docs/api-reference/introduction"},{text:"Native SDKs",href:"https://dub.co/docs/sdks/overview"},{text:({id:e,plan:s})=>i(r,{children:[t("strong",{children:e==="enterprise"?"Custom":a(s.limits.api)+"/min"})," ","rate limit"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Event webhooks",href:"https://dub.co/docs/concepts/webhooks/introduction"}]},{category:"Workspace",href:"https://dub.co/help/category/workspaces",features:[{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.users)})," ","user",e.limits.users===1?"":"s"]})},{check:{default:!1,advanced:!0,enterprise:!0},text:"Role-based access control"},{check:{default:!1,enterprise:!0},text:"SAML/SSO",href:"https://dub.co/help/category/saml-sso"},{check:{default:!1,enterprise:!0},text:"Custom SLA"},{check:{default:!1,enterprise:!0},text:"Audit logs"}]},{category:"Support",href:"https://dub.co/help",features:[{text:({id:e})=>t(r,{children:t("strong",{children:{free:"Basic support",pro:"Elevated support",business:"Priority support",advanced:"Priority via Slack",enterprise:"Priority with SLA"}[e]})})},{check:{default:!1,enterprise:!0},text:()=>i(r,{children:[t("strong",{children:"Dedicated"})," success manager"]})}]}];var o=[{name:"Free",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,sales:0,domains:3,tags:5,folders:0,users:1,ai:10,api:60,retention:"30-day"}},{name:"Pro",link:"https://dub.co/help/article/pro-plan",price:{monthly:30,yearly:25,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ","price_1OTcQBAlJJEpqkPViGtGEsbb","price_1OYJeBAlJJEpqkPVLjTsjX0E","price_1OTcQBAlJJEpqkPVYlCMqdLL","price_1OYJeBAlJJEpqkPVnPGEZeb0","price_1R7f9IAlJJEpqkPV4G9fNwRM","price_1R7f9RAlJJEpqkPV1HgB84WS"]},limits:{links:1e3,clicks:5e4,sales:0,domains:10,tags:25,folders:3,users:3,ai:1e3,api:600,retention:"1-year"},featureTitle:"Everything in Free, plus:",features:[{id:"clicks",text:"50K tracked clicks/mo"},{id:"links",text:"1K new links/mo"},{id:"retention",text:"1-year analytics retention"},{id:"domains",text:"10 domains"},{id:"users",text:"3 users"},{id:"advanced",text:"Advanced link features",tooltip:"ADVANCED_LINK_FEATURES"},{id:"ai",text:"Unlimited AI credits",tooltip:{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:"dotlink",text:"Free .link domain",tooltip:{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"}},{id:"folders",text:"Link folders"},{id:"deeplinks",text:"Deep links",tooltip:{title:"Redirect users to a specific page within your mobile application using deep links.",cta:"Learn more.",href:"https://dub.co//help/article/custom-domain-deep-links"}}]},{name:"Business",price:{monthly:90,yearly:75,ids:["price_1LodLoAlJJEpqkPV9rD0rlNL","price_1LodLoAlJJEpqkPVJdwv5zrG","price_1OZgmnAlJJEpqkPVOj4kV64R","price_1OzNlmAlJJEpqkPV7s9HXNAC","price_1OzNmXAlJJEpqkPVYO89lTdx","price_1OzOFIAlJJEpqkPVJxzc9irl","price_1OzOXMAlJJEpqkPV9ERrjjbw","price_1R3j01AlJJEpqkPVXuG1eNzm","price_1R6JedAlJJEpqkPVMUkfjch4"]},limits:{links:1e4,clicks:25e4,sales:25e5,domains:100,tags:n,folders:20,users:10,ai:1e3,api:3e3,retention:"3-year"},featureTitle:"Everything in Pro, plus:",features:[{id:"clicks",text:"250K tracked clicks/mo"},{id:"links",text:"10K new links/mo"},{id:"retention",text:"3-year analytics retention"},{id:"sales",text:"$25K tracked sales/mo",tooltip:{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:"users",text:"10 users"},{id:"events",text:"Real-time events stream",tooltip:{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://dub.co/help/article/real-time-events-stream"}},{id:"partners",text:"Partner management",tooltip:{title:"Use Dub Partners to manage and pay out your affiliates.",cta:"Learn more.",href:"https://dub.co/partners"}},{id:"payouts",text:"1-click global payouts",tooltip:{title:"Send payouts to 180+ countries in 1-click.",cta:"Learn more.",href:"https://dub.co/help/article/partner-payouts"}},{id:"webhooks",text:"Event webhooks",tooltip:{title:"Get real-time notifications when a link is clicked or a QR code is scanned using webhooks.",cta:"Learn more.",href:"https://dub.co/docs/concepts/webhooks/introduction"}},{id:"tests",text:"A/B testing"}]},{name:"Advanced",price:{monthly:300,yearly:250,ids:["price_1R3j0QAlJJEpqkPVrTW1Ss2i","price_1R3j0qAlJJEpqkPVkfGNXRwb"]},limits:{links:5e4,clicks:1e6,sales:1e7,domains:250,tags:n,folders:50,users:20,ai:1e3,api:3e3,retention:"5-year"},featureTitle:"Everything in Business, plus:",features:[{id:"clicks",text:"1M tracked clicks/mo"},{id:"links",text:"50K new links/mo"},{id:"retention",text:"5-year analytics retention"},{id:"sales",text:"$100K tracked sales/mo",tooltip:{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:"users",text:"20 users"},{id:"roles",text:"Folders RBAC"},{id:"whitelabel",text:"White-labeling support"},{id:"volume",text:"Lower payout fees",tooltip:{title:"Lower fees associated with Partner payouts.",cta:"Learn more.",href:"https://dub.co/help/article/partner-payouts"}},{id:"email",text:"Branded email domains"},{id:"slack",text:"Priority Slack support"}]},{name:"Enterprise",price:{monthly:null,yearly:null},limits:{links:25e4,clicks:5e6,sales:1e8,domains:1e3,tags:n,folders:n,users:500,ai:1e4,api:1e4,retention:"Unlimited"}}],p=o.find(e=>e.name==="Free"),u=o.find(e=>e.name==="Pro"),b=o.find(e=>e.name==="Business"),y=o.find(e=>e.name==="Advanced"),f=o.filter(e=>["Pro","Business","Advanced"].includes(e.name)),P=2,L=e=>o.find(s=>{var l;return(l=s.price.ids)==null?void 0:l.includes(e)})||null,A=e=>f.find(s=>s.name.toLowerCase()===e.toLowerCase()),E=e=>o.find(s=>s.name.toLowerCase()===e.toLowerCase())||p,v=e=>e?o[o.findIndex(s=>s.name.toLowerCase()===e.toLowerCase())+1]:u,w=(e,s)=>{let l=o.findIndex(c=>c.name.toLowerCase()===e.toLowerCase()),d=o.findIndex(c=>c.name.toLowerCase()===s.toLowerCase());return l>d};export{k as a,o as b,p as c,u as d,b as e,y as f,f as g,P as h,L as i,A as j,E as k,v as l,w as m};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e={key:"",url:"",domain:"",archived:!1,tags:[],webhookIds:[],title:null,description:null,image:null,video:null,trackConversion:!1,proxy:!1,rewrite:!1,expiresAt:null,password:null,ios:null,android:null,doIndex:!1,clicks:0,userId:""},o="https://www.google.com/s2/favicons?sz=64&domain_url=",n="https://api.dicebear.com/7.x/initials/svg?backgroundType=gradientLinear&fontFamily=Helvetica&fontSize=40&seed=",t=100,s=60*60*24*14,l=new Date("2000-01-01T00:00:00.000Z"),i=1e9;export{e as a,o as b,n as c,t as d,s as e,l as f,i as g};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h as o}from"./chunk-6PZJ3HNK.mjs";var l={key:"",url:"",domain:"",archived:!1,tags:[],webhookIds:[],title:null,description:null,image:null,video:null,trackConversion:!1,proxy:!1,rewrite:!1,expiresAt:null,password:null,ios:null,android:null,doIndex:!1,clicks:0,userId:""},s="https://www.google.com/s2/favicons?sz=64&domain_url=",t=`${o}/og/avatar`,n=100,r=60*60*24*14,a=new Date("2000-01-01T00:00:00.000Z"),I=1e9;export{l as a,s as b,t as c,n as d,r as e,a as f,I as g};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./chunk-NWFCCRLG.mjs";import{g as n}from"./chunk-Q4LGL37L.mjs";import{Fragment as r,jsx as t,jsxs as i}from"react/jsx-runtime";var k=[{category:"Links",href:"https://dub.co/home",features:[{text:()=>i(r,{children:[t("strong",{children:"Unlimited"})," clicks"]})},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.links)})," ","new links",e.name==="Enterprise"?"":"/mo"]})},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.tags===n?"Unlimited":a(e.limits.tags)})," ","tags"]}),href:"https://dub.co/help/article/how-to-use-tags"},{check:{free:!1,default:!0},text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.folders===n?"Unlimited":a(e.limits.folders)})," ","folders"]})},{text:"Custom QR codes",href:"https://dub.co/help/article/custom-qr-codes"},{text:"UTM builder + templates",href:"https://dub.co/help/article/how-to-create-utm-templates"},{check:{free:!1,default:!0},text:"Custom link previews",href:"https://dub.co/help/article/custom-link-previews"},{check:{free:!1,default:!0},text:"Deep links",href:"https://dub.co/help/article/custom-domain-deep-links"},{check:{free:!1,default:!0},text:"Link cloaking",href:"https://dub.co/help/article/link-cloaking"},{check:{free:!1,default:!0},text:"Link expiration",href:"https://dub.co/help/article/link-expiration"},{check:{free:!1,default:!0},text:"Password protection",href:"https://dub.co/help/article/password-protected-links"},{check:{free:!1,default:!0},text:"Device targeting",href:"https://dub.co/help/article/device-targeting"},{check:{free:!1,default:!0},text:"Geo targeting",href:"https://dub.co/help/article/geo-targeting"},{check:{free:!1,pro:!1,default:!0},text:"A/B testing"}]},{category:"Analytics",href:"https://dub.co/analytics",features:[{text:"Advanced analytics",href:"https://dub.co/help/article/dub-analytics"},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.clicks)})," ","tracked clicks",e.name==="Enterprise"?"":"/mo"]}),href:"https://dub.co/help/article/dub-analytics-limits"},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.retention})," retention"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Real-time events stream",href:"https://dub.co/help/article/real-time-events-stream"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Conversion tracking",href:"https://dub.co/help/article/dub-conversions"}]},{category:"Partners",href:"https://dub.co/partners",features:[{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Partner management",href:"https://dub.co/help/article/dub-partners"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:({id:e,plan:s})=>e==="free"||e==="pro"?"No tracked sales":i(r,{children:[t("strong",{children:s.name==="Enterprise"?"Unlimited":`$${a(s.limits.sales/100)}`})," ","tracked sales",s.name==="Enterprise"?"":"/mo"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"1-click global payouts",href:"https://dub.co/help/article/partner-payouts"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:({id:e})=>e==="free"||e==="pro"?"No payouts":i(r,{children:[t("strong",{children:{business:"7%",advanced:"5%",enterprise:"3%"}[e]})," ","payout fees"]}),href:"https://dub.co/help/article/partner-payouts#payout-fees-and-timing"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Tax compliance",href:"https://dub.co/help/article/partner-payouts#tax-compliance"},{check:{default:!1,business:!1,advanced:!0,enterprise:!0},text:"White-labeling support",href:"https://dub.co/help/article/dub-partners#white-labeled-in-app-dashboard"},{check:{default:!1,business:!1,advanced:!0,enterprise:!0},text:"Branded email domains"}]},{category:"Domains",href:"https://dub.co/help/category/custom-domains",features:[{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.domains,{full:!0})})," ","custom domains"]})},{text:()=>t(r,{children:"SSL certificates"})},{check:{default:!0,free:!1},text:()=>i(r,{children:["Premium ",t("strong",{children:"dub.link"})," domain"]}),href:"https://dub.co/help/article/default-dub-domains#premium-dublink-domain"},{check:{default:!0,free:!1},text:()=>i(r,{children:["Free ",t("strong",{children:".link"})," domain"]}),href:"https://dub.co/help/article/free-dot-link-domain"}]},{category:"API",href:"https://dub.co/docs/api-reference/introduction",features:[{text:"API Access",href:"https://dub.co/docs/api-reference/introduction"},{text:"Native SDKs",href:"https://dub.co/docs/sdks/overview"},{text:({id:e,plan:s})=>i(r,{children:[t("strong",{children:e==="enterprise"?"Custom":a(s.limits.api)+"/min"})," ","rate limit"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Event webhooks",href:"https://dub.co/docs/concepts/webhooks/introduction"}]},{category:"Workspace",href:"https://dub.co/help/category/workspaces",features:[{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.users)})," ","user",e.limits.users===1?"":"s"]})},{check:{default:!1,advanced:!0,enterprise:!0},text:"Role-based access control"},{check:{default:!1,enterprise:!0},text:"SAML/SSO",href:"https://dub.co/help/category/saml-sso"},{check:{default:!1,enterprise:!0},text:"Custom SLA"},{check:{default:!1,enterprise:!0},text:"Audit logs"}]},{category:"Support",href:"https://dub.co/help",features:[{text:({id:e})=>t(r,{children:t("strong",{children:{free:"Basic support",pro:"Elevated support",business:"Priority support",advanced:"Priority via Slack",enterprise:"Priority with SLA"}[e]})})},{check:{default:!1,enterprise:!0},text:()=>i(r,{children:[t("strong",{children:"Dedicated"})," success manager"]})}]}];var o=[{name:"Free",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,sales:0,domains:3,tags:5,folders:0,users:1,ai:10,api:60,retention:"30-day"}},{name:"Pro",link:"https://dub.co/help/article/pro-plan",price:{monthly:30,yearly:25,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ","price_1OTcQBAlJJEpqkPViGtGEsbb","price_1OYJeBAlJJEpqkPVLjTsjX0E","price_1OTcQBAlJJEpqkPVYlCMqdLL","price_1OYJeBAlJJEpqkPVnPGEZeb0","price_1R8XtyAlJJEpqkPV5WZ4c0jF","price_1R8XtEAlJJEpqkPV4opVvVPq","price_1R8XxZAlJJEpqkPVqGi0wOqD","price_1R7oeBAlJJEpqkPVh6q5q3h8"]},limits:{links:1e3,clicks:5e4,sales:0,domains:10,tags:25,folders:3,users:3,ai:1e3,api:600,retention:"1-year"},featureTitle:"Everything in Free, plus:",features:[{id:"clicks",text:"50K tracked clicks/mo"},{id:"links",text:"1K new links/mo"},{id:"retention",text:"1-year analytics retention"},{id:"domains",text:"10 domains"},{id:"users",text:"3 users"},{id:"advanced",text:"Advanced link features",tooltip:"ADVANCED_LINK_FEATURES"},{id:"ai",text:"Unlimited AI credits",tooltip:{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:"dotlink",text:"Free .link domain",tooltip:{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"}},{id:"folders",text:"Link folders"},{id:"deeplinks",text:"Deep links",tooltip:{title:"Redirect users to a specific page within your mobile application using deep links.",cta:"Learn more.",href:"https://dub.co//help/article/custom-domain-deep-links"}}]},{name:"Business",price:{monthly:90,yearly:75,ids:["price_1LodLoAlJJEpqkPV9rD0rlNL","price_1LodLoAlJJEpqkPVJdwv5zrG","price_1OZgmnAlJJEpqkPVOj4kV64R","price_1OzNlmAlJJEpqkPV7s9HXNAC","price_1OzNmXAlJJEpqkPVYO89lTdx","price_1OzOFIAlJJEpqkPVJxzc9irl","price_1OzOXMAlJJEpqkPV9ERrjjbw","price_1R3j01AlJJEpqkPVXuG1eNzm","price_1R6JedAlJJEpqkPVMUkfjch4","price_1R7ofLAlJJEpqkPV9sXYs6Lu","price_1R7ofLAlJJEpqkPV3MlgDpyx"]},limits:{links:1e4,clicks:25e4,sales:25e5,domains:100,tags:n,folders:20,users:10,ai:1e3,api:3e3,retention:"3-year"},featureTitle:"Everything in Pro, plus:",features:[{id:"clicks",text:"250K tracked clicks/mo"},{id:"links",text:"10K new links/mo"},{id:"retention",text:"3-year analytics retention"},{id:"sales",text:"$25K tracked sales/mo",tooltip:{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:"users",text:"10 users"},{id:"events",text:"Real-time events stream",tooltip:{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://dub.co/help/article/real-time-events-stream"}},{id:"partners",text:"Partner management",tooltip:{title:"Use Dub Partners to manage and pay out your affiliates.",cta:"Learn more.",href:"https://dub.co/partners"}},{id:"payouts",text:"1-click global payouts",tooltip:{title:"Send payouts to 180+ countries in 1-click.",cta:"Learn more.",href:"https://dub.co/help/article/partner-payouts"}},{id:"webhooks",text:"Event webhooks",tooltip:{title:"Get real-time notifications when a link is clicked or a QR code is scanned using webhooks.",cta:"Learn more.",href:"https://dub.co/docs/concepts/webhooks/introduction"}},{id:"tests",text:"A/B testing"}]},{name:"Advanced",price:{monthly:300,yearly:250,ids:["price_1R3j0QAlJJEpqkPVrTW1Ss2i","price_1R3j0qAlJJEpqkPVkfGNXRwb","price_1R7ofzAlJJEpqkPV81LX0Sg3","price_1R7ofzAlJJEpqkPV0L2TwyJo"]},limits:{links:5e4,clicks:1e6,sales:1e7,domains:250,tags:n,folders:50,users:20,ai:1e3,api:3e3,retention:"5-year"},featureTitle:"Everything in Business, plus:",features:[{id:"clicks",text:"1M tracked clicks/mo"},{id:"links",text:"50K new links/mo"},{id:"retention",text:"5-year analytics retention"},{id:"sales",text:"$100K tracked sales/mo",tooltip:{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:"users",text:"20 users"},{id:"roles",text:"Folders RBAC"},{id:"whitelabel",text:"White-labeling support"},{id:"volume",text:"Lower payout fees",tooltip:{title:"Lower fees associated with Partner payouts.",cta:"Learn more.",href:"https://dub.co/help/article/partner-payouts"}},{id:"email",text:"Branded email domains"},{id:"slack",text:"Priority Slack support"}]},{name:"Enterprise",price:{monthly:null,yearly:null},limits:{links:25e4,clicks:5e6,sales:1e8,domains:1e3,tags:n,folders:n,users:500,ai:1e4,api:1e4,retention:"Unlimited"}}],p=o.find(e=>e.name==="Free"),u=o.find(e=>e.name==="Pro"),b=o.find(e=>e.name==="Business"),y=o.find(e=>e.name==="Advanced"),f=o.filter(e=>["Pro","Business","Advanced"].includes(e.name)),P=2,E=e=>o.find(s=>{var l;return(l=s.price.ids)==null?void 0:l.includes(e)})||null,A=e=>f.find(s=>s.name.toLowerCase()===e.toLowerCase()),L=e=>o.find(s=>s.name.toLowerCase()===e.toLowerCase())||p,J=e=>e?o[o.findIndex(s=>s.name.toLowerCase()===e.toLowerCase())+1]:u,v=(e,s)=>{let l=o.findIndex(c=>c.name.toLowerCase()===e.toLowerCase()),d=o.findIndex(c=>c.name.toLowerCase()===s.toLowerCase());return l>d};export{k as a,o as b,p as c,u as d,b as e,y as f,f as g,P as h,E as i,A as j,L as k,J as l,v as m};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./chunk-NWFCCRLG.mjs";import{g as n}from"./chunk-Q4LGL37L.mjs";import{Fragment as r,jsx as t,jsxs as i}from"react/jsx-runtime";var k=[{category:"Links",href:"https://dub.co/home",features:[{text:()=>i(r,{children:[t("strong",{children:"Unlimited"})," clicks"]})},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.links)})," ","new links",e.name==="Enterprise"?"":"/mo"]})},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.tags===n?"Unlimited":a(e.limits.tags)})," ","tags"]}),href:"https://dub.co/help/article/how-to-use-tags"},{check:{free:!1,default:!0},text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.folders===n?"Unlimited":a(e.limits.folders)})," ","folders"]})},{text:"Custom QR codes",href:"https://dub.co/help/article/custom-qr-codes"},{text:"UTM builder + templates",href:"https://dub.co/help/article/how-to-create-utm-templates"},{check:{free:!1,default:!0},text:"Custom link previews",href:"https://dub.co/help/article/custom-link-previews"},{check:{free:!1,default:!0},text:"Deep links",href:"https://dub.co/help/article/custom-domain-deep-links"},{check:{free:!1,default:!0},text:"Link cloaking",href:"https://dub.co/help/article/link-cloaking"},{check:{free:!1,default:!0},text:"Link expiration",href:"https://dub.co/help/article/link-expiration"},{check:{free:!1,default:!0},text:"Password protection",href:"https://dub.co/help/article/password-protected-links"},{check:{free:!1,default:!0},text:"Device targeting",href:"https://dub.co/help/article/device-targeting"},{check:{free:!1,default:!0},text:"Geo targeting",href:"https://dub.co/help/article/geo-targeting"},{check:{free:!1,pro:!1,default:!0},text:"A/B testing"}]},{category:"Analytics",href:"https://dub.co/analytics",features:[{text:"Advanced analytics",href:"https://dub.co/help/article/dub-analytics"},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.clicks)})," ","tracked clicks",e.name==="Enterprise"?"":"/mo"]}),href:"https://dub.co/help/article/dub-analytics-limits"},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.retention})," retention"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Real-time events stream",href:"https://dub.co/help/article/real-time-events-stream"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Conversion tracking",href:"https://dub.co/help/article/dub-conversions"}]},{category:"Partners",href:"https://dub.co/partners",features:[{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Partner management",href:"https://dub.co/help/article/dub-partners"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:({id:e,plan:s})=>e==="free"||e==="pro"?"No tracked sales":i(r,{children:[t("strong",{children:s.name==="Enterprise"?"Unlimited":`$${a(s.limits.sales/100)}`})," ","tracked sales",s.name==="Enterprise"?"":"/mo"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"1-click global payouts",href:"https://dub.co/help/article/partner-payouts"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:({id:e})=>e==="free"||e==="pro"?"No payouts":i(r,{children:[t("strong",{children:{business:"7%",advanced:"5%",enterprise:"3%"}[e]})," ","payout fees"]}),href:"https://dub.co/help/article/partner-payouts#payout-fees-and-timing"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Tax compliance",href:"https://dub.co/help/article/partner-payouts#tax-compliance"},{check:{default:!1,business:!1,advanced:!0,enterprise:!0},text:"White-labeling support",href:"https://dub.co/help/article/dub-partners#white-labeled-in-app-dashboard"},{check:{default:!1,business:!1,advanced:!0,enterprise:!0},text:"Branded email domains"}]},{category:"Domains",href:"https://dub.co/help/category/custom-domains",features:[{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.domains,{full:!0})})," ","custom domains"]})},{text:()=>t(r,{children:"SSL certificates"})},{check:{default:!0,free:!1},text:()=>i(r,{children:["Premium ",t("strong",{children:"dub.link"})," domain"]}),href:"https://dub.co/help/article/default-dub-domains#premium-dublink-domain"},{check:{default:!0,free:!1},text:()=>i(r,{children:["Free ",t("strong",{children:".link"})," domain"]}),href:"https://dub.co/help/article/free-dot-link-domain"}]},{category:"API",href:"https://dub.co/docs/api-reference/introduction",features:[{text:"API Access",href:"https://dub.co/docs/api-reference/introduction"},{text:"Native SDKs",href:"https://dub.co/docs/sdks/overview"},{text:({id:e,plan:s})=>i(r,{children:[t("strong",{children:e==="enterprise"?"Custom":a(s.limits.api)+"/min"})," ","rate limit"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Event webhooks",href:"https://dub.co/docs/concepts/webhooks/introduction"}]},{category:"Workspace",href:"https://dub.co/help/category/workspaces",features:[{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.users)})," ","user",e.limits.users===1?"":"s"]})},{check:{default:!1,advanced:!0,enterprise:!0},text:"Role-based access control"},{check:{default:!1,enterprise:!0},text:"SAML/SSO",href:"https://dub.co/help/category/saml-sso"},{check:{default:!1,enterprise:!0},text:"Custom SLA"},{check:{default:!1,enterprise:!0},text:"Audit logs"}]},{category:"Support",href:"https://dub.co/help",features:[{text:({id:e})=>t(r,{children:t("strong",{children:{free:"Basic support",pro:"Elevated support",business:"Priority support",advanced:"Priority via Slack",enterprise:"Priority with SLA"}[e]})})},{check:{default:!1,enterprise:!0},text:()=>i(r,{children:[t("strong",{children:"Dedicated"})," success manager"]})}]}];var o=[{name:"Free",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,sales:0,domains:3,tags:5,folders:0,users:1,ai:10,api:60,retention:"30-day"}},{name:"Pro",link:"https://dub.co/help/article/pro-plan",price:{monthly:30,yearly:25,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ","price_1OTcQBAlJJEpqkPViGtGEsbb","price_1OYJeBAlJJEpqkPVLjTsjX0E","price_1OTcQBAlJJEpqkPVYlCMqdLL","price_1OYJeBAlJJEpqkPVnPGEZeb0","price_1R8XtyAlJJEpqkPV5WZ4c0jF","price_1R8XtEAlJJEpqkPV4opVvVPq","price_1R8XxZAlJJEpqkPVqGi0wOqD","price_1R7oeBAlJJEpqkPVh6q5q3h8"]},limits:{links:1e3,clicks:5e4,sales:0,domains:10,tags:25,folders:3,users:3,ai:1e3,api:600,retention:"1-year"},featureTitle:"Everything in Free, plus:",features:[{id:"clicks",text:"50K tracked clicks/mo"},{id:"links",text:"1K new links/mo"},{id:"retention",text:"1-year analytics retention"},{id:"domains",text:"10 domains"},{id:"users",text:"3 users"},{id:"advanced",text:"Advanced link features",tooltip:"ADVANCED_LINK_FEATURES"},{id:"ai",text:"Unlimited AI credits",tooltip:{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:"dotlink",text:"Free .link domain",tooltip:{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"}},{id:"folders",text:"Link folders"},{id:"deeplinks",text:"Deep links",tooltip:{title:"Redirect users to a specific page within your mobile application using deep links.",cta:"Learn more.",href:"https://dub.co//help/article/custom-domain-deep-links"}}]},{name:"Business",price:{monthly:90,yearly:75,ids:["price_1LodLoAlJJEpqkPV9rD0rlNL","price_1LodLoAlJJEpqkPVJdwv5zrG","price_1OZgmnAlJJEpqkPVOj4kV64R","price_1OzNlmAlJJEpqkPV7s9HXNAC","price_1OzNmXAlJJEpqkPVYO89lTdx","price_1OzOFIAlJJEpqkPVJxzc9irl","price_1OzOXMAlJJEpqkPV9ERrjjbw","price_1R3j01AlJJEpqkPVXuG1eNzm","price_1R6JedAlJJEpqkPVMUkfjch4","price_1R8XypAlJJEpqkPVdjzOcYUC","price_1R7ofLAlJJEpqkPV3MlgDpyx"]},limits:{links:1e4,clicks:25e4,sales:25e5,domains:100,tags:n,folders:20,users:10,ai:1e3,api:3e3,retention:"3-year"},featureTitle:"Everything in Pro, plus:",features:[{id:"clicks",text:"250K tracked clicks/mo"},{id:"links",text:"10K new links/mo"},{id:"retention",text:"3-year analytics retention"},{id:"sales",text:"$25K tracked sales/mo",tooltip:{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:"users",text:"10 users"},{id:"events",text:"Real-time events stream",tooltip:{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://dub.co/help/article/real-time-events-stream"}},{id:"partners",text:"Partner management",tooltip:{title:"Use Dub Partners to manage and pay out your affiliates.",cta:"Learn more.",href:"https://dub.co/partners"}},{id:"payouts",text:"1-click global payouts",tooltip:{title:"Send payouts to 180+ countries in 1-click.",cta:"Learn more.",href:"https://dub.co/help/article/partner-payouts"}},{id:"webhooks",text:"Event webhooks",tooltip:{title:"Get real-time notifications when a link is clicked or a QR code is scanned using webhooks.",cta:"Learn more.",href:"https://dub.co/docs/concepts/webhooks/introduction"}},{id:"tests",text:"A/B testing"}]},{name:"Advanced",price:{monthly:300,yearly:250,ids:["price_1R8Xw4AlJJEpqkPV6nwdink9","price_1R3j0qAlJJEpqkPVkfGNXRwb","price_1R8XztAlJJEpqkPVnHmIU2tf","price_1R7ofzAlJJEpqkPV0L2TwyJo"]},limits:{links:5e4,clicks:1e6,sales:1e7,domains:250,tags:n,folders:50,users:20,ai:1e3,api:3e3,retention:"5-year"},featureTitle:"Everything in Business, plus:",features:[{id:"clicks",text:"1M tracked clicks/mo"},{id:"links",text:"50K new links/mo"},{id:"retention",text:"5-year analytics retention"},{id:"sales",text:"$100K tracked sales/mo",tooltip:{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:"users",text:"20 users"},{id:"roles",text:"Folders RBAC"},{id:"whitelabel",text:"White-labeling support"},{id:"volume",text:"Lower payout fees",tooltip:{title:"Lower fees associated with Partner payouts.",cta:"Learn more.",href:"https://dub.co/help/article/partner-payouts"}},{id:"email",text:"Branded email domains"},{id:"slack",text:"Priority Slack support"}]},{name:"Enterprise",price:{monthly:null,yearly:null},limits:{links:25e4,clicks:5e6,sales:1e8,domains:1e3,tags:n,folders:n,users:500,ai:1e4,api:1e4,retention:"Unlimited"}}],p=o.find(e=>e.name==="Free"),u=o.find(e=>e.name==="Pro"),b=o.find(e=>e.name==="Business"),y=o.find(e=>e.name==="Advanced"),f=o.filter(e=>["Pro","Business","Advanced"].includes(e.name)),P=2,E=e=>o.find(s=>{var l;return(l=s.price.ids)==null?void 0:l.includes(e)})||null,A=e=>f.find(s=>s.name.toLowerCase()===e.toLowerCase()),L=e=>o.find(s=>s.name.toLowerCase()===e.toLowerCase())||p,J=e=>e?o[o.findIndex(s=>s.name.toLowerCase()===e.toLowerCase())+1]:u,w=(e,s)=>{let l=o.findIndex(c=>c.name.toLowerCase()===e.toLowerCase()),d=o.findIndex(c=>c.name.toLowerCase()===s.toLowerCase());return l>d};export{k as a,o as b,p as c,u as d,b as e,y as f,f as g,P as h,E as i,A as j,L as k,J as l,w as m};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./chunk-H4ELSETA.mjs";import{a as o,b as l}from"./chunk-SYT2IXG6.mjs";import{a as c}from"./chunk-NW4N7ECX.mjs";import{a as r}from"./chunk-YUMUNL66.mjs";import u from"@sindresorhus/slugify";var f=t=>{let e=u(t,{separator:""});if(e.length<3)return"";if(r.has(e.slice(-2)))return`${e.slice(0,-2)}.${e.slice(-2)}`;let n=e.replace(/[aeiou]/g,"");return n.length>=3&&r.has(n.slice(-2))?`${n.slice(0,-2)}.${n.slice(-2)}`:`${[e,n].reduce((i,s)=>i.length<s.length?i:s)}.link`},w=new RegExp(/^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/),A=new RegExp(/^[a-zA-Z0-9\-]+$/),D=(t,e)=>t===e?null:t.slice(0,t.length-e.length-1),x=t=>{let e;try{e=new URL(t.replace(/^[a-zA-Z]+:\/\//,"https://")).hostname}catch{return""}if(e==="youtu.be")return"youtube.com";let n=e.split(".");return n.length>2?o.has(n[n.length-2])&&r.has(n[n.length-1])||l.has(n.slice(-2).join("."))?n.slice(-3).join("."):n.slice(-2).join("."):e},d=t=>{if(a(t))return new URL(t).hostname.replace(/^www\./,"");try{if(t.includes(".")&&!t.includes(" "))return new URL(`https://${t}`).hostname.replace(/^www\./,"")}catch{return null}},S=t=>c.some(e=>e.slug===t);export{f as a,w as b,A as c,D as d,x as e,d as f,S as g};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{g as n}from"./chunk-Q4LGL37L.mjs";import{a}from"./chunk-NWFCCRLG.mjs";import{Fragment as r,jsx as t,jsxs as i}from"react/jsx-runtime";var k=[{category:"Links",href:"https://dub.co/home",features:[{text:()=>i(r,{children:[t("strong",{children:"Unlimited"})," clicks"]})},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.links)})," ","new links",e.name==="Enterprise"?"":"/mo"]})},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.tags===n?"Unlimited":a(e.limits.tags)})," ","tags"]}),href:"https://dub.co/help/article/how-to-use-tags"},{check:{free:!1,default:!0},text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.folders===n?"Unlimited":a(e.limits.folders)})," ","folders"]})},{text:"Custom QR codes",href:"https://dub.co/help/article/custom-qr-codes"},{text:"UTM builder + templates",href:"https://dub.co/help/article/how-to-create-utm-templates"},{check:{free:!1,default:!0},text:"Custom link previews",href:"https://dub.co/help/article/custom-link-previews"},{check:{free:!1,default:!0},text:"Deep links",href:"https://dub.co/help/article/custom-domain-deep-links"},{check:{free:!1,default:!0},text:"Link cloaking",href:"https://dub.co/help/article/link-cloaking"},{check:{free:!1,default:!0},text:"Link expiration",href:"https://dub.co/help/article/link-expiration"},{check:{free:!1,default:!0},text:"Password protection",href:"https://dub.co/help/article/password-protected-links"},{check:{free:!1,default:!0},text:"Device targeting",href:"https://dub.co/help/article/device-targeting"},{check:{free:!1,default:!0},text:"Geo targeting",href:"https://dub.co/help/article/geo-targeting"},{check:{free:!1,pro:!1,default:!0},text:"A/B testing"}]},{category:"Analytics",href:"https://dub.co/analytics",features:[{text:"Advanced analytics",href:"https://dub.co/help/article/dub-analytics"},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.clicks)})," ","tracked clicks",e.name==="Enterprise"?"":"/mo"]}),href:"https://dub.co/help/article/dub-analytics-limits"},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.retention})," retention"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Real-time events stream",href:"https://dub.co/help/article/real-time-events-stream"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Conversion tracking",href:"https://dub.co/help/article/dub-conversions"}]},{category:"Partners",href:"https://dub.co/partners",features:[{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Partner management",href:"https://dub.co/help/article/dub-partners"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:({id:e,plan:s})=>e==="free"||e==="pro"?"No tracked sales":i(r,{children:[t("strong",{children:s.name==="Enterprise"?"Unlimited":`$${a(s.limits.sales/100)}`})," ","tracked sales",s.name==="Enterprise"?"":"/mo"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"1-click global payouts",href:"https://dub.co/help/article/partner-payouts"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:({id:e})=>e==="free"||e==="pro"?"No payouts":i(r,{children:[t("strong",{children:{business:"7%",advanced:"5%",enterprise:"3%"}[e]})," ","payout fees"]}),href:"https://dub.co/help/article/partner-payouts#payout-fees-and-timing"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Tax compliance",href:"https://dub.co/help/article/partner-payouts#tax-compliance"},{check:{default:!1,business:!1,advanced:!0,enterprise:!0},text:"White-labeling support",href:"https://dub.co/help/article/dub-partners#white-labeled-in-app-dashboard"},{check:{default:!1,business:!1,advanced:!0,enterprise:!0},text:"Branded email domains"}]},{category:"Domains",href:"https://dub.co/help/category/custom-domains",features:[{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.domains,{full:!0})})," ","custom domains"]})},{text:()=>t(r,{children:"SSL certificates"})},{check:{default:!0,free:!1},text:()=>i(r,{children:["Premium ",t("strong",{children:"dub.link"})," domain"]}),href:"https://dub.co/help/article/default-dub-domains#premium-dublink-domain"},{check:{default:!0,free:!1},text:()=>i(r,{children:["Free ",t("strong",{children:".link"})," domain"]}),href:"https://dub.co/help/article/free-dot-link-domain"}]},{category:"API",href:"https://dub.co/docs/api-reference/introduction",features:[{text:"API Access",href:"https://dub.co/docs/api-reference/introduction"},{text:"Native SDKs",href:"https://dub.co/docs/sdks/overview"},{text:({id:e,plan:s})=>i(r,{children:[t("strong",{children:e==="enterprise"?"Custom":a(s.limits.api)+"/min"})," ","rate limit"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Event webhooks",href:"https://dub.co/docs/concepts/webhooks/introduction"}]},{category:"Workspace",href:"https://dub.co/help/category/workspaces",features:[{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.users)})," ","user",e.limits.users===1?"":"s"]})},{check:{default:!1,advanced:!0,enterprise:!0},text:"Role-based access control"},{check:{default:!1,enterprise:!0},text:"SAML/SSO",href:"https://dub.co/help/category/saml-sso"},{check:{default:!1,enterprise:!0},text:"Custom SLA"},{check:{default:!1,enterprise:!0},text:"Audit logs"}]},{category:"Support",href:"https://dub.co/help",features:[{text:({id:e})=>t(r,{children:t("strong",{children:{free:"Basic support",pro:"Elevated support",business:"Priority support",advanced:"Priority via Slack",enterprise:"Priority with SLA"}[e]})})},{check:{default:!1,enterprise:!0},text:()=>i(r,{children:[t("strong",{children:"Dedicated"})," success manager"]})}]}];var o=[{name:"Free",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,sales:0,domains:3,tags:5,folders:0,users:1,ai:10,api:60,retention:"30-day"}},{name:"Pro",link:"https://dub.co/help/article/pro-plan",price:{monthly:30,yearly:25,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ","price_1OTcQBAlJJEpqkPViGtGEsbb","price_1OYJeBAlJJEpqkPVLjTsjX0E","price_1OTcQBAlJJEpqkPVYlCMqdLL","price_1OYJeBAlJJEpqkPVnPGEZeb0","price_1R8XtyAlJJEpqkPV5WZ4c0jF","price_1R8XtEAlJJEpqkPV4opVvVPq","price_1R8XxZAlJJEpqkPVqGi0wOqD","price_1R7oeBAlJJEpqkPVh6q5q3h8"]},limits:{links:1e3,clicks:5e4,sales:0,domains:10,tags:25,folders:3,users:3,ai:1e3,api:600,retention:"1-year"},featureTitle:"Everything in Free, plus:",features:[{id:"clicks",text:"50K tracked clicks/mo"},{id:"links",text:"1K new links/mo"},{id:"retention",text:"1-year analytics retention"},{id:"domains",text:"10 domains"},{id:"users",text:"3 users"},{id:"advanced",text:"Advanced link features",tooltip:"ADVANCED_LINK_FEATURES"},{id:"ai",text:"Unlimited AI credits",tooltip:{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:"dotlink",text:"Free .link domain",tooltip:{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"}},{id:"folders",text:"Link folders"},{id:"deeplinks",text:"Deep links",tooltip:{title:"Redirect users to a specific page within your mobile application using deep links.",cta:"Learn more.",href:"https://dub.co//help/article/custom-domain-deep-links"}}]},{name:"Business",price:{monthly:90,yearly:75,ids:["price_1LodLoAlJJEpqkPV9rD0rlNL","price_1LodLoAlJJEpqkPVJdwv5zrG","price_1OZgmnAlJJEpqkPVOj4kV64R","price_1OzNlmAlJJEpqkPV7s9HXNAC","price_1OzNmXAlJJEpqkPVYO89lTdx","price_1OzOFIAlJJEpqkPVJxzc9irl","price_1OzOXMAlJJEpqkPV9ERrjjbw","price_1R3j01AlJJEpqkPVXuG1eNzm","price_1R6JedAlJJEpqkPVMUkfjch4","price_1R8XypAlJJEpqkPVdjzOcYUC","price_1R7ofLAlJJEpqkPV3MlgDpyx"]},limits:{links:1e4,clicks:25e4,sales:25e5,domains:100,tags:n,folders:20,users:10,ai:1e3,api:3e3,retention:"3-year"},featureTitle:"Everything in Pro, plus:",features:[{id:"clicks",text:"250K tracked clicks/mo"},{id:"links",text:"10K new links/mo"},{id:"retention",text:"3-year analytics retention"},{id:"sales",text:"$25K tracked sales/mo",tooltip:{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:"users",text:"10 users"},{id:"events",text:"Real-time events stream",tooltip:{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://dub.co/help/article/real-time-events-stream"}},{id:"partners",text:"Partner management",tooltip:{title:"Use Dub Partners to manage and pay out your affiliates.",cta:"Learn more.",href:"https://dub.co/partners"}},{id:"payouts",text:"1-click global payouts",tooltip:{title:"Send payouts to 180+ countries in 1-click.",cta:"Learn more.",href:"https://dub.co/help/article/partner-payouts"}},{id:"webhooks",text:"Event webhooks",tooltip:{title:"Get real-time notifications when a link is clicked or a QR code is scanned using webhooks.",cta:"Learn more.",href:"https://dub.co/docs/concepts/webhooks/introduction"}},{id:"tests",text:"A/B testing"}]},{name:"Advanced",price:{monthly:300,yearly:250,ids:["price_1R8Xw4AlJJEpqkPV6nwdink9","price_1R3j0qAlJJEpqkPVkfGNXRwb","price_1R8XztAlJJEpqkPVnHmIU2tf","price_1R7ofzAlJJEpqkPV0L2TwyJo"]},limits:{links:5e4,clicks:1e6,sales:1e7,domains:250,tags:n,folders:50,users:20,ai:1e3,api:3e3,retention:"5-year"},featureTitle:"Everything in Business, plus:",features:[{id:"clicks",text:"1M tracked clicks/mo"},{id:"links",text:"50K new links/mo"},{id:"retention",text:"5-year analytics retention"},{id:"sales",text:"$100K tracked sales/mo",tooltip:{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:"users",text:"20 users"},{id:"roles",text:"Folders RBAC"},{id:"whitelabel",text:"White-labeling support"},{id:"volume",text:"Lower payout fees",tooltip:{title:"Lower fees associated with Partner payouts.",cta:"Learn more.",href:"https://dub.co/help/article/partner-payouts"}},{id:"email",text:"Branded email domains"},{id:"slack",text:"Priority Slack support"}]},{name:"Enterprise",price:{monthly:null,yearly:null},limits:{links:25e4,clicks:5e6,sales:1e8,domains:1e3,tags:n,folders:n,users:500,ai:1e4,api:1e4,retention:"Unlimited"}}],p=o.find(e=>e.name==="Free"),u=o.find(e=>e.name==="Pro"),b=o.find(e=>e.name==="Business"),y=o.find(e=>e.name==="Advanced"),f=o.filter(e=>["Pro","Business","Advanced"].includes(e.name)),P=2,E=e=>o.find(s=>{var l;return(l=s.price.ids)==null?void 0:l.includes(e)})||null,A=e=>f.find(s=>s.name.toLowerCase()===e.toLowerCase()),L=e=>o.find(s=>s.name.toLowerCase()===e.toLowerCase())||p,J=e=>e?o[o.findIndex(s=>s.name.toLowerCase()===e.toLowerCase())+1]:u,w=(e,s)=>{let l=o.findIndex(c=>c.name.toLowerCase()===e.toLowerCase()),d=o.findIndex(c=>c.name.toLowerCase()===s.toLowerCase());return l>d};export{k as a,o as b,p as c,u as d,b as e,y as f,f as g,P as h,E as i,A as j,L as k,J as l,w as m};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var _=process.env.NEXT_PUBLIC_APP_NAME||"Dub.co",s=process.env.NEXT_PUBLIC_APP_SHORT_DOMAIN||"dub.sh",e=new Set([`app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"localhost:8888","localhost"]),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}`:"http://localhost:8888",p=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",o=new Set([`api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`api-staging.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`api.${s}`,"api.localhost:8888"]),r=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",n=new Set([`admin.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"admin.localhost:8888"]),P=new Set([`partners.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`partners-staging.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"partners.localhost:8888"]),N=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",E=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",c="https://assets.dub.co/logo.png",A="https://assets.dub.co/logo.png",I="https://assets.dub.co/wordmark.png",L="https://assets.dub.co/thumbnail.jpg",C="cl7pj5kq4006835rbjlt2ofka",a="clrei1gld0002vs9mzn93p8ik",T="prog_CYCu7IMAapjkRpTnr8F1azjN",O="clrflia0j0000vs7sqfhz9c7q",v="clqei1lgc0000vsnzi01pbf47",U=process.env.STORAGE_BASE_URL;export{_ as a,s as b,e as c,t as d,p as e,o as f,r as g,n as h,P as i,N as j,E as k,c as l,A as m,I as n,L as o,C as p,a as q,T as r,O as s,v as t,U as u};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as e}from"./chunk-CP4WO7MM.mjs";import{a as p}from"./chunk-IHX4EDUF.mjs";function D({domain:r,key:o,pretty:x,searchParams:m}){if(!r)return"";let t=`https://${p(r)}${o&&o!=="_root"?`/${p(o)}`:""}`;if(m){let f=new URLSearchParams;for(let[n,i]of Object.entries(m))f.set(n,i);t+=`?${f.toString()}`}return x?t.replace(/^https?:\/\//,""):t}function C({domain:r,key:o}){return`https://${r}${o==="_root"?"":`/${o}`}`}var nr=r=>!r.periodStart||!r.periodEnd?"-":`${e(r.periodStart,{month:"short",year:new Date(r.periodStart).getUTCFullYear()===new Date(r.periodEnd).getUTCFullYear()?void 0:"numeric",timeZone:"utc"})}-${e(r.periodEnd,{month:"short",timeZone:"utc"})}`;export{nr as a,D as b,C as c};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var a=e=>{try{return new URL(e),!0}catch{return!1}},o=e=>{if(a(e))return e;try{if(e.includes(".")&&!e.includes(" "))return new URL(`https://${e}`).toString()}catch{}return e},u=e=>{if(a(e))return new URL(e);try{if(e.includes(".")&&!e.includes(" "))return new URL(`https://${e}`)}catch{}return null},m=e=>{if(a(e))return e;try{if(e.includes(".")&&!e.includes(" "))return new URL(`https://${e}`).toString()}catch{}return null},l=e=>{let r={};return new URL(e).searchParams.forEach(function(t,n){r[n]=t}),r},g=e=>{let r={};return new URL(e).searchParams.forEach(function(t,n){if(n in r){let s=r[n];Array.isArray(s)?s.push(t):r[n]=[s,t]}else r[n]=t}),r},p=e=>{if(!e)return{};try{let r=new URL(e).searchParams,t={};for(let[n,s]of r.entries())s&&s!==""&&(t[n]=s);return t}catch{return{}}},U=["utm_source","utm_medium","utm_campaign","utm_term","utm_content","ref"],f=(e,r)=>{if(!e)return"";try{let t=new URL(e);for(let[n,s]of Object.entries(r))s===""?t.searchParams.delete(n):t.searchParams.set(n,s.replace("+"," "));return t.toString()}catch{return""}},i=[{display:"UTM Source",key:"utm_source",examples:"google, twitter"},{display:"UTM Medium",key:"utm_medium",examples:"social, email"},{display:"UTM Campaign",key:"utm_campaign",examples:"summer sale"},{display:"UTM Term",key:"utm_term",examples:"blue shoes"},{display:"UTM Content",key:"utm_content",examples:"logo link"},{display:"Referral (ref)",key:"ref",examples:"google, twitter"}],d=e=>{try{let r=new URL(e);return i.forEach(t=>r.searchParams.delete(t.key)),r.toString()}catch{return e}},h=e=>e?e.replace(/(^\w+:|^)\/\//,"").replace("www.","").replace(/\/$/,""):"",y=(e,r,t)=>{if(r==="dub.co")return e;let n=new URL(e.startsWith("/")?`https://dub.co${e}`:e);return t&&Object.entries(t).forEach(([s,c])=>{n.searchParams.set(s,c)}),n.toString()};export{a,o as b,u as c,m as d,l as e,g as f,p as g,U as h,f as i,i as j,d as k,h as l,y as m};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as e,p as o}from"./chunk-BJNY77CS.mjs";var d=[{id:"clce1z7ch00j0rbstbjufva4j",slug:e,verified:!0,primary:!0,archived:!1,placeholder:"https://dub.co/help/article/what-is-dub",allowedHostnames:[],description:"The default domain for all new accounts.",projectId:o},...process.env.NEXT_PUBLIC_IS_DUB?[{id:"clxp3lfsb00011na8tfs7t0lx",slug:"dub.link",verified:!0,primary:!0,archived:!1,placeholder:"https://dub.co/help/article/what-is-dub",allowedHostnames:[],description:"Premium short domain on Dub \u2013 only available on our Pro plan and above.",projectId:o},{id:"clce1z7cs00y8rbstk4xtnj0k",slug:"chatg.pt",verified:!0,primary:!1,archived:!1,placeholder:"https://chat.openai.com/g/g-UGjKKONEe-domainsgpt",allowedHostnames:["openai.com","chatgpt.com"],description:"Branded domain for ChatGPT links (convos, custom GPTs).",projectId:o},{id:"cloxw8y2u0003js08a7mqg1j8",slug:"spti.fi",verified:!0,primary:!1,archived:!1,placeholder:"https://open.spotify.com/album/1SCyi9a5pOasikidToUY5y",allowedHostnames:["spotify.com"],description:"Branded domain for Spotify links (songs, playlists, etc.).",projectId:o},{id:"cltgtd6s5000341itdszz20u2",slug:"git.new",verified:!0,primary:!1,archived:!1,placeholder:"https://github.com/dubinc/dub",allowedHostnames:["github.com"],description:"Branded domain for GitHub links (repositories, gists, etc.).",projectId:o},{id:"cm23qevp4000412mqwvtkthzw",slug:"cal.link",verified:!0,primary:!1,archived:!1,placeholder:"https://cal.com/steven",allowedHostnames:["cal.com","calendly.com","calendar.app.google","calendar.google.com","chillipiper.com","fantastical.app","hubspot.com","savvycal.com","tidycal.com","you.ashbyhq.com","zcal.co"],description:"Branded domain for your scheduling links (Cal.com, Calendly, etc.).",projectId:o},{id:"cloxw8qtk000bjt08n9b812vs",slug:"amzn.id",verified:!0,primary:!1,archived:!1,placeholder:"https://www.amazon.com/dp/B0BW4SWNC8",allowedHostnames:["amazon.com","amazon.co.uk","amazon.ca","amazon.es","amazon.fr"],description:"Branded domain for Amazon links (products, wishlists, etc.).",projectId:o},{id:"clymd6zkc0001elilr1215tj9",slug:"ggl.link",verified:!0,primary:!1,archived:!1,placeholder:"https://docs.google.com/document/d/15-GOZA12SXGEh8lNwU5QI1jBi04TCPgY2-LChTbXVpA",allowedHostnames:["google.com","google.co.uk","google.co.id","google.ca","google.es","google.fr","googleblog.com","blog.google","g.co","g.page","youtube.com","youtu.be"],description:"Branded domain for Google links (Search, Docs, Sheets, Slides, Drive, Maps, etc.).",projectId:o},{id:"clymczttm0001jgkore3ltr37",slug:"fig.page",verified:!0,primary:!1,archived:!1,placeholder:"https://www.figma.com/design/YAfTk6SGV2HcSvL2415oED/Dub.co-Brand-Assets-(Public)?node-id=1-36593&t=QMKQNtUzxSSzG3hX-1",allowedHostnames:["figma.com"],description:"Branded domain for Figma links (portfolios, prototypes, presentations, etc.).",projectId:o},{id:"clugy7euh000a11h6ignmj42o",slug:"loooooooo.ng",verified:!0,primary:!1,archived:!0,placeholder:"https://d.to/long",description:"Branded domain for lengthening links instead of shortening them (April Fool's Prank).",projectId:o}]:[]],l=d.map(a=>a.slug),s=[{id:"clqo10sum0006js08vutzfxt3",domain:"d.to",key:"try",dashboardId:"dash_Rqy6tVEO5Ib4iVFvmYYTK4kO"},{id:"cltshzzpd0005126z3rd2lvo4",domain:"dub.sh",key:"try",dashboardId:"dash_bUNOfMQVcKS0VMDa2HaYhOjg"},{id:"clot0z5rg000djp08ue98hxkn",domain:"chatg.pt",key:"domains",dashboardId:"dash_lX4or5Yj6ZrPk3qW4SwgrQ5t"},{id:"clp4jh9av0001l308ormavtlu",domain:"spti.fi",key:"hans",dashboardId:"dash_v2Ygwn3hZNYx6kFYfBT4IApM"},{id:"cltgtsex40003ck8z444hum5u",domain:"git.new",key:"dub",dashboardId:"dash_FX5HKOKhtQ6uoIeSDxWM8eIb"},{id:"clymd5vqj0005jgkorsopklsk",domain:"fig.page",key:"dub",dashboardId:"dash_no9BFlfSjHDG6K7XIAuwLt5p"},{id:"clp3k3yoi0001ju0874nz899q",domain:"amzn.id",key:"tv",dashboardId:"dash_fKwai9V9nsLcC0IaY0rTF1yA"},{id:"clymd73o50001ulmzzxjumr8l",domain:"ggl.link",key:"dub",dashboardId:"dash_rx5c7pQPnx2MUCX3cL4t1Zpn"},{id:"cm24785ki0001ainw2qks4uq5",domain:"cal.link",key:"demo",dashboardId:"dash_zbzP2UVvTrv5SkIEPP2pV5pC"}];export{d as a,l as b,s as c};
|