@dub/utils 0.1.14 → 0.1.15

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.
@@ -0,0 +1 @@
1
+ import{a as k}from"./chunk-E2ABVYOV.mjs";import{a as m}from"./chunk-IHX4EDUF.mjs";import{a as b}from"./chunk-NWFCCRLG.mjs";import{a as h}from"./chunk-J7REM3DA.mjs";import{g as x}from"./chunk-Q4LGL37L.mjs";import{a as c}from"./chunk-YUMUNL66.mjs";import{a as d,b as u}from"./chunk-SYT2IXG6.mjs";import{a as g}from"./chunk-L43FE253.mjs";import{c as f}from"./chunk-2WKZENUE.mjs";import A from"@sindresorhus/slugify";var S=e=>{let t=A(e,{separator:""});if(t.length<3)return"";if(c.has(t.slice(-2)))return`${t.slice(0,-2)}.${t.slice(-2)}`;let r=t.replace(/[aeiou]/g,"");return r.length>=3&&c.has(r.slice(-2))?`${r.slice(0,-2)}.${r.slice(-2)}`:`${[t,r].reduce((i,n)=>i.length<n.length?i:n)}.link`},N=new RegExp(/^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/),V=new RegExp(/^[a-zA-Z0-9\-]+$/),q=(e,t)=>e===t?null:e.slice(0,e.length-t.length-1),C=e=>{let t;try{t=new URL(e.replace(/^[a-zA-Z]+:\/\//,"https://")).hostname}catch{return""}if(t==="youtu.be")return"youtube.com";let r=t.split(".");return r.length>2?d.has(r[r.length-2])&&c.has(r[r.length-1])||u.has(r.slice(-2).join("."))?r.slice(-3).join("."):r.slice(-2).join("."):t},I=e=>{if(k(e))return new URL(e).hostname.replace(/^www\./,"");try{if(e.includes(".")&&!e.includes(" "))return new URL(`https://${e}`).hostname.replace(/^www\./,"")}catch{return null}},R=e=>g.some(t=>t.slug===e);function D({domain:e,key:t,pretty:r,searchParams:o}){if(!e)return"";let i=`https://${m(e)}${t&&t!=="_root"?`/${m(t)}`:""}`;if(o){let n=new URLSearchParams;for(let[a,l]of Object.entries(o))n.set(a,l);i+=`?${n.toString()}`}return r?i.replace(/^https?:\/\//,""):i}function M({domain:e,key:t}){return`https://${e}${t==="_root"?"":`/${t}`}`}var p=({name:e="Business",monthly:t=59,yearly:r=49,links:o=5e3,clicks:i=15e4,sales:n=5e5,domains:a=40,users:l=15,ids:E=[]})=>({name:e,tagline:"For fast-growing startups and businesses looking to scale",link:"https://dub.co/help/article/business-plan",price:{monthly:t,yearly:r,ids:E},limits:{links:o,clicks:i,sales:n,domains:a,tags:x,users:l,ai:1e3,api:3e3},colors:{bg:"bg-sky-900",text:"text-sky-900"},cta:{text:`Get started with ${e}`,shortText:`Get ${e}`,href:"https://app.dub.co/register",color:"bg-sky-900 hover:bg-sky-800 hover:ring-sky-100"},featureTitle:"Everything in Pro, plus:",features:[{id:"clicks",text:`${b(i)} tracked clicks/mo`},{id:"links",text:`${Intl.NumberFormat("en-US").format(o)} new links/mo`},{id:"sales",text:`${h(n/100)} tracked sales/mo`,footnote:{title:"Use Dub Conversions to track how your link clicks are converting to signups and sales. Limits are based on the total sale amount tracked within a given month.",cta:"Learn more.",href:"https://dub.co/help/article/dub-conversions"}},{id:"retention",text:"3-year analytics retention"},{id:"domains",text:`${a} domains`},{id:"users",text:`${l} users`},{id:"events",text:"Real-time events stream",footnote:{title:"Get more data on your link clicks and QR code scans with a detailed, real-time stream of events in your workspace",cta:"Learn more.",href:"https://d.to/events"}},{id:"webhooks",text:"Event webhooks (beta)",footnote:{title:"Get notified when a link is clicked or a QR code is scanned using webhooks.",cta:"Learn more.",href:"https://d.to/webhooks"}}]}),s=[{name:"Free",tagline:"For hobbyists and individuals looking to manage their links",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,domains:3,tags:5,users:1,ai:10,api:60},colors:{bg:"bg-black",text:"text-black"},cta:{text:"Start for free",href:"https://app.dub.co/register",color:"bg-white hover:bg-gray-50 border border-gray-200 hover:ring-gray-100 text-neutral-800"},featureTitle:"What's included:",features:[{id:"clicks",text:"1K tracked clicks/mo"},{id:"links",text:"25 new links/mo"},{id:"retention",text:"30-day analytics retention"},{id:"domains",text:"3 domains"},{id:"user",text:"1 user"},{id:"analytics",text:"Advanced analytics",footnote:{title:"Get location (country, city, continent), device (type, browser, OS), and referer data on your clicks.",cta:"Learn more.",href:"https://dub.co/help/article/dub-analytics"}},{id:"ai",text:"10 AI credits/mo"},{id:"basic-support",text:"Basic support"},{id:"api",text:"API Access",footnote:{title:"Programatically manage your links using our REST API.",cta:"Learn more.",href:"https://dub.co/docs/api-reference/introduction"}}]},{name:"Pro",tagline:"For content creators or small teams needing advanced features",link:"https://dub.co/help/article/pro-plan",price:{monthly:24,yearly:19,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ","price_1OTcQBAlJJEpqkPViGtGEsbb","price_1OYJeBAlJJEpqkPVLjTsjX0E","price_1OTcQBAlJJEpqkPVYlCMqdLL","price_1OYJeBAlJJEpqkPVnPGEZeb0"]},limits:{links:1e3,clicks:5e4,domains:10,tags:25,users:5,ai:1e3,api:600},colors:{bg:"bg-blue-500",text:"text-blue-500"},cta:{text:"Get started with Pro",shortText:"Get Pro",href:"https://app.dub.co/register",color:"bg-black hover:bg-neutral-800 hover:ring-gray-200"},featureTitle:"Everything in Free, plus:",features:[{id:"clicks",text:"50K tracked clicks/mo"},{id:"links",text:"1,000 new links/mo"},{id:"retention",text:"1-year analytics retention"},{id:"domains",text:"10 domains"},{id:"users",text:"5 users"},{id:"link-features",text:"Advanced link features",footnote:"Custom social media cards, password-protected links, link expiration, link cloaking, device targeting, geo targeting etc."},{id:"ai",text:"Unlimited AI credits",footnote:{title:"Subject to fair use policy \u2013 you will be notified if you exceed the limit, which are high enough for frequent usage.",cta:"Learn more.",href:"https://dub.co/blog/introducing-dub-ai"}},{id:"priority-support",text:"Priority support"},{id:"dublink",text:"Premium dub.link domain",footnote:{title:"Stand out from the crowd with a premium dub.link domain.",cta:"Learn more.",href:"https://dub.co/help/article/default-dub-domains#premium-dublink-domain"}},{id:"dotlink",text:"Free custom domain",footnote:{title:"All our paid plans come with a free .link custom domain, which helps improve click-through rates.",cta:"Learn more.",href:"https://dub.co/help/article/free-dot-link-domain"}}]},p({name:"Business",monthly:59,yearly:49,links:5e3,clicks:15e4,sales:5e5,domains:40,users:15,ids:["price_1LodLoAlJJEpqkPV9rD0rlNL","price_1LodLoAlJJEpqkPVJdwv5zrG","price_1OZgmnAlJJEpqkPVOj4kV64R","price_1OzNlmAlJJEpqkPV7s9HXNAC","price_1OzNmXAlJJEpqkPVYO89lTdx","price_1OzOFIAlJJEpqkPVJxzc9irl","price_1OzOXMAlJJEpqkPV9ERrjjbw"]}),p({name:"Business Plus",monthly:119,yearly:99,links:15e3,clicks:4e5,sales:15e5,domains:100,users:30,ids:["price_1OnWu0AlJJEpqkPVWk4144ZG","price_1OnWu0AlJJEpqkPVkDWVriAB","price_1OnaK3AlJJEpqkPVaCfCPdHi","price_1OzObrAlJJEpqkPVh6D9HWGO"]}),p({name:"Business Extra",monthly:249,yearly:199,links:4e4,clicks:1e6,sales:4e6,domains:250,users:50,ids:["price_1OnWvCAlJJEpqkPVLzLHx5QD","price_1OnWvCAlJJEpqkPVHhCCvIOq","price_1OnaKJAlJJEpqkPVeJSvPfJb","price_1OzOg1AlJJEpqkPVPlsrxoWm"]}),p({name:"Business Max",monthly:499,yearly:399,links:1e5,clicks:25e5,sales:1e7,domains:500,users:100,ids:["price_1OnWwLAlJJEpqkPVXtJyPqLk","price_1OnWwLAlJJEpqkPV4eMbOkNh","price_1OnaKOAlJJEpqkPVV6gkZPgt","price_1OzOh5AlJJEpqkPVtCSX7dlE"]}),{name:"Enterprise",tagline:"For large organizations and governments with custom needs",link:"https://dub.co/enterprise",price:{monthly:null,yearly:null},limits:{links:25e4,clicks:5e6,domains:1e3,tags:1e3,users:500,ai:1e4,api:1e4},colors:{bg:"bg-violet-600",text:"text-violet-600"},cta:{text:"Contact us",href:"/enterprise",color:"bg-white hover:bg-gray-50 border border-gray-200 hover:ring-gray-100 text-neutral-800"},featureTitle:"Everything in Business, plus:",features:[{id:"sso",text:"SSO/SAML"},{id:"roles",text:"Role-based controls"},{id:"volume",text:"Volume discounts"},{id:"sla",text:"Custom SLA"},{id:"logs",text:"Audit logs"},{id:"success",text:"Dedicated success manager"}]}],y=s.find(e=>e.name==="Free"),P=s.find(e=>e.name==="Pro"),_=s.find(e=>e.name==="Business"),J=s.find(e=>e.name==="Enterprise"),Ae=[y,P,_,J],L=s.filter(e=>e.name!=="Free"&&e.name!=="Enterprise"),_e=2,Je=e=>s.find(t=>{var r;return(r=t.price.ids)==null?void 0:r.includes(e)})||null,Le=e=>L.find(t=>t.name.toLowerCase()===e.toLowerCase()),we=e=>s.find(t=>t.name.toLowerCase()===e.toLowerCase())||y,ve=e=>e?s[s.findIndex(t=>t.name.toLowerCase()===e.toLowerCase())+1]:P;function Xe({title:e=`${process.env.NEXT_PUBLIC_APP_NAME} - Link Management for Modern Marketing Teams`,description:t=`${process.env.NEXT_PUBLIC_APP_NAME} is the open-source link management platform for modern marketing teams to create marketing campaigns, link sharing features, and referral programs.`,image:r="https://assets.dub.co/thumbnail.jpg",video:o,icons:i=[{rel:"apple-touch-icon",sizes:"32x32",url:"https://assets.dub.co/favicons/apple-touch-icon.png"},{rel:"icon",type:"image/png",sizes:"32x32",url:"https://assets.dub.co/favicons/favicon-32x32.png"},{rel:"icon",type:"image/png",sizes:"16x16",url:"https://assets.dub.co/favicons/favicon-16x16.png"}],canonicalUrl:n,noIndex:a=!1}={}){return{title:e,description:t,openGraph:{title:e,description:t,...r&&{images:r},...o&&{videos:o}},twitter:{title:e,description:t,...r&&{card:"summary_large_image",images:[r]},...o&&{player:o},creator:"@dubdotco"},icons:i,metadataBase:new URL(f),...n&&{alternates:{canonical:n}},...a&&{robots:{index:!1,follow:!1}}}}export{Xe as a,S as b,N as c,V as d,q as e,C as f,I as g,R as h,D as i,M as j,s as k,y as l,P as m,_ as n,J as o,Ae as p,L as q,_e as r,Je as s,Le as t,we as u,ve as v};
@@ -0,0 +1 @@
1
+ import{a as k}from"./chunk-E2ABVYOV.mjs";import{a as m}from"./chunk-IHX4EDUF.mjs";import{a as b}from"./chunk-NWFCCRLG.mjs";import{a as h}from"./chunk-J7REM3DA.mjs";import{g as x}from"./chunk-Q4LGL37L.mjs";import{a as c}from"./chunk-YUMUNL66.mjs";import{a as d,b as u}from"./chunk-SYT2IXG6.mjs";import{a as g}from"./chunk-67KKVCPL.mjs";import{c as f}from"./chunk-XHWE4XOD.mjs";import A from"@sindresorhus/slugify";var S=e=>{let t=A(e,{separator:""});if(t.length<3)return"";if(c.has(t.slice(-2)))return`${t.slice(0,-2)}.${t.slice(-2)}`;let r=t.replace(/[aeiou]/g,"");return r.length>=3&&c.has(r.slice(-2))?`${r.slice(0,-2)}.${r.slice(-2)}`:`${[t,r].reduce((i,n)=>i.length<n.length?i:n)}.link`},N=new RegExp(/^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/),V=new RegExp(/^[a-zA-Z0-9\-]+$/),q=(e,t)=>e===t?null:e.slice(0,e.length-t.length-1),C=e=>{let t;try{t=new URL(e.replace(/^[a-zA-Z]+:\/\//,"https://")).hostname}catch{return""}if(t==="youtu.be")return"youtube.com";let r=t.split(".");return r.length>2?d.has(r[r.length-2])&&c.has(r[r.length-1])||u.has(r.slice(-2).join("."))?r.slice(-3).join("."):r.slice(-2).join("."):t},I=e=>{if(k(e))return new URL(e).hostname.replace(/^www\./,"");try{if(e.includes(".")&&!e.includes(" "))return new URL(`https://${e}`).hostname.replace(/^www\./,"")}catch{return null}},R=e=>g.some(t=>t.slug===e);function D({domain:e,key:t,pretty:r,searchParams:o}){if(!e)return"";let i=`https://${m(e)}${t&&t!=="_root"?`/${m(t)}`:""}`;if(o){let n=new URLSearchParams;for(let[a,l]of Object.entries(o))n.set(a,l);i+=`?${n.toString()}`}return r?i.replace(/^https?:\/\//,""):i}function M({domain:e,key:t}){return`https://${e}${t==="_root"?"":`/${t}`}`}var p=({name:e="Business",monthly:t=59,yearly:r=49,links:o=5e3,clicks:i=15e4,sales:n=5e5,domains:a=40,users:l=15,ids:E=[]})=>({name:e,tagline:"For fast-growing startups and businesses looking to scale",link:"https://dub.co/help/article/business-plan",price:{monthly:t,yearly:r,ids:E},limits:{links:o,clicks:i,sales:n,domains:a,tags:x,users:l,ai:1e3,api:3e3},colors:{bg:"bg-sky-900",text:"text-sky-900"},cta:{text:`Get started with ${e}`,shortText:`Get ${e}`,href:"https://app.dub.co/register",color:"bg-sky-900 hover:bg-sky-800 hover:ring-sky-100"},featureTitle:"Everything in Pro, plus:",features:[{id:"clicks",text:`${b(i)} tracked clicks/mo`},{id:"links",text:`${Intl.NumberFormat("en-US").format(o)} new links/mo`},{id:"sales",text:`${h(n/100)} tracked sales/mo`,footnote:{title:"Use Dub Conversions to track how your link clicks are converting to signups and sales. Limits are based on the total sale amount tracked within a given month.",cta:"Learn more.",href:"https://dub.co/help/article/dub-conversions"}},{id:"retention",text:"3-year analytics retention"},{id:"domains",text:`${a} domains`},{id:"users",text:`${l} users`},{id:"events",text:"Real-time events stream",footnote:{title:"Get more data on your link clicks and QR code scans with a detailed, real-time stream of events in your workspace",cta:"Learn more.",href:"https://d.to/events"}},{id:"webhooks",text:"Event webhooks (beta)",footnote:{title:"Get notified when a link is clicked or a QR code is scanned using webhooks.",cta:"Learn more.",href:"https://d.to/webhooks"}}]}),s=[{name:"Free",tagline:"For hobbyists and individuals looking to manage their links",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,domains:3,tags:5,users:1,ai:10,api:60},colors:{bg:"bg-black",text:"text-black"},cta:{text:"Start for free",href:"https://app.dub.co/register",color:"bg-white hover:bg-gray-50 border border-gray-200 hover:ring-gray-100 text-neutral-800"},featureTitle:"What's included:",features:[{id:"clicks",text:"1K tracked clicks/mo"},{id:"links",text:"25 new links/mo"},{id:"retention",text:"30-day analytics retention"},{id:"domains",text:"3 domains"},{id:"user",text:"1 user"},{id:"analytics",text:"Advanced analytics",footnote:{title:"Get location (country, city, continent), device (type, browser, OS), and referer data on your clicks.",cta:"Learn more.",href:"https://dub.co/help/article/dub-analytics"}},{id:"ai",text:"10 AI credits/mo"},{id:"basic-support",text:"Basic support"},{id:"api",text:"API Access",footnote:{title:"Programatically manage your links using our REST API.",cta:"Learn more.",href:"https://dub.co/docs/api-reference/introduction"}}]},{name:"Pro",tagline:"For content creators or small teams needing advanced features",link:"https://dub.co/help/article/pro-plan",price:{monthly:24,yearly:19,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ","price_1OTcQBAlJJEpqkPViGtGEsbb","price_1OYJeBAlJJEpqkPVLjTsjX0E","price_1OTcQBAlJJEpqkPVYlCMqdLL","price_1OYJeBAlJJEpqkPVnPGEZeb0"]},limits:{links:1e3,clicks:5e4,domains:10,tags:25,users:5,ai:1e3,api:600},colors:{bg:"bg-blue-500",text:"text-blue-500"},cta:{text:"Get started with Pro",shortText:"Get Pro",href:"https://app.dub.co/register",color:"bg-black hover:bg-neutral-800 hover:ring-gray-200"},featureTitle:"Everything in Free, plus:",features:[{id:"clicks",text:"50K tracked clicks/mo"},{id:"links",text:"1,000 new links/mo"},{id:"retention",text:"1-year analytics retention"},{id:"domains",text:"10 domains"},{id:"users",text:"5 users"},{id:"link-features",text:"Advanced link features",footnote:"Custom social media cards, password-protected links, link expiration, link cloaking, device targeting, geo targeting etc."},{id:"ai",text:"Unlimited AI credits",footnote:{title:"Subject to fair use policy \u2013 you will be notified if you exceed the limit, which are high enough for frequent usage.",cta:"Learn more.",href:"https://dub.co/blog/introducing-dub-ai"}},{id:"priority-support",text:"Priority support"},{id:"dublink",text:"Premium dub.link domain",footnote:{title:"Stand out from the crowd with a premium dub.link domain.",cta:"Learn more.",href:"https://dub.co/help/article/default-dub-domains#premium-dublink-domain"}},{id:"dotlink",text:"Free custom domain",footnote:{title:"All our paid plans come with a free .link custom domain, which helps improve click-through rates.",cta:"Learn more.",href:"https://dub.co/help/article/free-dot-link-domain"}}]},p({name:"Business",monthly:59,yearly:49,links:5e3,clicks:15e4,sales:5e5,domains:40,users:15,ids:["price_1LodLoAlJJEpqkPV9rD0rlNL","price_1LodLoAlJJEpqkPVJdwv5zrG","price_1OZgmnAlJJEpqkPVOj4kV64R","price_1OzNlmAlJJEpqkPV7s9HXNAC","price_1OzNmXAlJJEpqkPVYO89lTdx","price_1OzOFIAlJJEpqkPVJxzc9irl","price_1OzOXMAlJJEpqkPV9ERrjjbw"]}),p({name:"Business Plus",monthly:119,yearly:99,links:15e3,clicks:4e5,sales:15e5,domains:100,users:30,ids:["price_1OnWu0AlJJEpqkPVWk4144ZG","price_1OnWu0AlJJEpqkPVkDWVriAB","price_1OnaK3AlJJEpqkPVaCfCPdHi","price_1OzObrAlJJEpqkPVh6D9HWGO"]}),p({name:"Business Extra",monthly:249,yearly:199,links:4e4,clicks:1e6,sales:4e6,domains:250,users:50,ids:["price_1OnWvCAlJJEpqkPVLzLHx5QD","price_1OnWvCAlJJEpqkPVHhCCvIOq","price_1OnaKJAlJJEpqkPVeJSvPfJb","price_1OzOg1AlJJEpqkPVPlsrxoWm"]}),p({name:"Business Max",monthly:499,yearly:399,links:1e5,clicks:25e5,sales:1e7,domains:500,users:100,ids:["price_1OnWwLAlJJEpqkPVXtJyPqLk","price_1OnWwLAlJJEpqkPV4eMbOkNh","price_1OnaKOAlJJEpqkPVV6gkZPgt","price_1OzOh5AlJJEpqkPVtCSX7dlE"]}),{name:"Enterprise",tagline:"For large organizations and governments with custom needs",link:"https://dub.co/enterprise",price:{monthly:null,yearly:null},limits:{links:25e4,clicks:5e6,domains:1e3,tags:1e3,users:500,ai:1e4,api:1e4},colors:{bg:"bg-violet-600",text:"text-violet-600"},cta:{text:"Contact us",href:"/enterprise",color:"bg-white hover:bg-gray-50 border border-gray-200 hover:ring-gray-100 text-neutral-800"},featureTitle:"Everything in Business, plus:",features:[{id:"sso",text:"SSO/SAML"},{id:"roles",text:"Role-based controls"},{id:"volume",text:"Volume discounts"},{id:"sla",text:"Custom SLA"},{id:"logs",text:"Audit logs"},{id:"success",text:"Dedicated success manager"}]}],y=s.find(e=>e.name==="Free"),P=s.find(e=>e.name==="Pro"),_=s.find(e=>e.name==="Business"),J=s.find(e=>e.name==="Enterprise"),Ae=[y,P,_,J],L=s.filter(e=>e.name!=="Free"&&e.name!=="Enterprise"),_e=2,Je=e=>s.find(t=>{var r;return(r=t.price.ids)==null?void 0:r.includes(e)})||null,Le=e=>L.find(t=>t.name.toLowerCase()===e.toLowerCase()),we=e=>s.find(t=>t.name.toLowerCase()===e.toLowerCase())||y,ve=e=>e?s[s.findIndex(t=>t.name.toLowerCase()===e.toLowerCase())+1]:P;function Xe({title:e=`${process.env.NEXT_PUBLIC_APP_NAME} - Link Management for Modern Marketing Teams`,description:t=`${process.env.NEXT_PUBLIC_APP_NAME} is the open-source link management platform for modern marketing teams to create marketing campaigns, link sharing features, and referral programs.`,image:r="https://assets.dub.co/thumbnail.jpg",video:o,icons:i=[{rel:"apple-touch-icon",sizes:"32x32",url:"https://assets.dub.co/favicons/apple-touch-icon.png"},{rel:"icon",type:"image/png",sizes:"32x32",url:"https://assets.dub.co/favicons/favicon-32x32.png"},{rel:"icon",type:"image/png",sizes:"16x16",url:"https://assets.dub.co/favicons/favicon-16x16.png"}],canonicalUrl:n,noIndex:a=!1}={}){return{title:e,description:t,openGraph:{title:e,description:t,...r&&{images:r},...o&&{videos:o}},twitter:{title:e,description:t,...r&&{card:"summary_large_image",images:[r]},...o&&{player:o},creator:"@dubdotco"},icons:i,metadataBase:new URL(f),...n&&{alternates:{canonical:n}},...a&&{robots:{index:!1,follow:!1}}}}export{Xe as a,S as b,N as c,V as d,q as e,C as f,I as g,R as h,D as i,M as j,s as k,y as l,P as m,_ as n,J as o,Ae as p,L as q,_e as r,Je as s,Le as t,we as u,ve as v};
@@ -0,0 +1 @@
1
+ import{b as e,p as o}from"./chunk-XHWE4XOD.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","chillipiper.com","hubspot.com","savvycal.com","tidycal.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 k}from"./chunk-E2ABVYOV.mjs";import{a as m}from"./chunk-IHX4EDUF.mjs";import{a as b}from"./chunk-NWFCCRLG.mjs";import{a as h}from"./chunk-J7REM3DA.mjs";import{g as x}from"./chunk-Q4LGL37L.mjs";import{a as c}from"./chunk-YUMUNL66.mjs";import{a as d,b as u}from"./chunk-SYT2IXG6.mjs";import{a as g}from"./chunk-L43FE253.mjs";import{c as f}from"./chunk-2WKZENUE.mjs";import E from"@sindresorhus/slugify";var N=e=>{let t=E(e,{separator:""});if(t.length<3)return"";if(c.has(t.slice(-2)))return`${t.slice(0,-2)}.${t.slice(-2)}`;let r=t.replace(/[aeiou]/g,"");return r.length>=3&&c.has(r.slice(-2))?`${r.slice(0,-2)}.${r.slice(-2)}`:`${[t,r].reduce((n,i)=>n.length<i.length?n:i)}.link`},V=new RegExp(/^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/),I=new RegExp(/^[a-zA-Z0-9\-]+$/),C=(e,t)=>e===t?null:e.slice(0,e.length-t.length-1),q=e=>{let t;try{t=new URL(e.replace(/^[a-zA-Z]+:\/\//,"https://")).hostname}catch{return""}if(t==="youtu.be")return"youtube.com";let r=t.split(".");return r.length>2?d.has(r[r.length-2])&&c.has(r[r.length-1])||u.has(r.slice(-2).join("."))?r.slice(-3).join("."):r.slice(-2).join("."):t},R=e=>{if(k(e))return new URL(e).hostname.replace(/^www\./,"");try{if(e.includes(".")&&!e.includes(" "))return new URL(`https://${e}`).hostname.replace(/^www\./,"")}catch{return null}},F=e=>g.some(t=>t.slug===e);import{randomBytes as J}from"crypto";function D(e){let t="ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789",r=J(e),o="";for(let n=0;n<e;n++){let i=r[n]%t.length;o+=t[i]}return o}function T({domain:e,key:t,pretty:r,searchParams:o}){if(!e)return"";let n=`https://${m(e)}${t&&t!=="_root"?`/${m(t)}`:""}`;if(o){let i=new URLSearchParams;for(let[a,l]of Object.entries(o))i.set(a,l);n+=`?${i.toString()}`}return r?n.replace(/^https?:\/\//,""):n}function U({domain:e,key:t}){return`https://${e}${t==="_root"?"":`/${t}`}`}var p=({name:e="Business",monthly:t=59,yearly:r=49,links:o=5e3,clicks:n=15e4,sales:i=5e5,domains:a=40,users:l=15,ids:A=[]})=>({name:e,tagline:"For fast-growing startups and businesses looking to scale",link:"https://dub.co/help/article/business-plan",price:{monthly:t,yearly:r,ids:A},limits:{links:o,clicks:n,sales:i,domains:a,tags:x,users:l,ai:1e3,api:3e3},colors:{bg:"bg-sky-900",text:"text-sky-900"},cta:{text:`Get started with ${e}`,shortText:`Get ${e}`,href:"https://app.dub.co/register",color:"bg-sky-900 hover:bg-sky-800 hover:ring-sky-100"},featureTitle:"Everything in Pro, plus:",features:[{id:"clicks",text:`${b(n)} tracked clicks/mo`},{id:"links",text:`${Intl.NumberFormat("en-US").format(o)} new links/mo`},{id:"sales",text:`${h(i/100)} tracked sales/mo`,footnote:{title:"Use Dub Conversions to track how your link clicks are converting to signups and sales. Limits are based on the total sale amount tracked within a given month.",cta:"Learn more.",href:"https://dub.co/help/article/dub-conversions"}},{id:"retention",text:"3-year analytics retention"},{id:"domains",text:`${a} domains`},{id:"users",text:`${l} users`},{id:"events",text:"Real-time events stream",footnote:{title:"Get more data on your link clicks and QR code scans with a detailed, real-time stream of events in your workspace",cta:"Learn more.",href:"https://d.to/events"}},{id:"webhooks",text:"Event webhooks (beta)",footnote:{title:"Get notified when a link is clicked or a QR code is scanned using webhooks.",cta:"Learn more.",href:"https://d.to/webhooks"}}]}),s=[{name:"Free",tagline:"For hobbyists and individuals looking to manage their links",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,domains:3,tags:5,users:1,ai:10,api:60},colors:{bg:"bg-black",text:"text-black"},cta:{text:"Start for free",href:"https://app.dub.co/register",color:"bg-white hover:bg-gray-50 border border-gray-200 hover:ring-gray-100 text-neutral-800"},featureTitle:"What's included:",features:[{id:"clicks",text:"1K tracked clicks/mo"},{id:"links",text:"25 new links/mo"},{id:"retention",text:"30-day analytics retention"},{id:"domains",text:"3 domains"},{id:"user",text:"1 user"},{id:"analytics",text:"Advanced analytics",footnote:{title:"Get location (country, city, continent), device (type, browser, OS), and referer data on your clicks.",cta:"Learn more.",href:"https://dub.co/help/article/dub-analytics"}},{id:"ai",text:"10 AI credits/mo"},{id:"basic-support",text:"Basic support"},{id:"api",text:"API Access",footnote:{title:"Programatically manage your links using our REST API.",cta:"Learn more.",href:"https://dub.co/docs/api-reference/introduction"}}]},{name:"Pro",tagline:"For content creators or small teams needing advanced features",link:"https://dub.co/help/article/pro-plan",price:{monthly:24,yearly:19,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ","price_1OTcQBAlJJEpqkPViGtGEsbb","price_1OYJeBAlJJEpqkPVLjTsjX0E","price_1OTcQBAlJJEpqkPVYlCMqdLL","price_1OYJeBAlJJEpqkPVnPGEZeb0"]},limits:{links:1e3,clicks:5e4,domains:10,tags:25,users:5,ai:1e3,api:600},colors:{bg:"bg-blue-500",text:"text-blue-500"},cta:{text:"Get started with Pro",shortText:"Get Pro",href:"https://app.dub.co/register",color:"bg-black hover:bg-neutral-800 hover:ring-gray-200"},featureTitle:"Everything in Free, plus:",features:[{id:"clicks",text:"50K tracked clicks/mo"},{id:"links",text:"1,000 new links/mo"},{id:"retention",text:"1-year analytics retention"},{id:"domains",text:"10 domains"},{id:"users",text:"5 users"},{id:"link-features",text:"Advanced link features",footnote:"Custom social media cards, password-protected links, link expiration, link cloaking, device targeting, geo targeting etc."},{id:"ai",text:"Unlimited AI credits",footnote:{title:"Subject to fair use policy \u2013 you will be notified if you exceed the limit, which are high enough for frequent usage.",cta:"Learn more.",href:"https://dub.co/blog/introducing-dub-ai"}},{id:"priority-support",text:"Priority support"},{id:"dublink",text:"Premium dub.link domain",footnote:{title:"Stand out from the crowd with a premium dub.link domain.",cta:"Learn more.",href:"https://dub.co/help/article/default-dub-domains#premium-dublink-domain"}},{id:"dotlink",text:"Free custom domain",footnote:{title:"All our paid plans come with a free .link custom domain, which helps improve click-through rates.",cta:"Learn more.",href:"https://dub.co/help/article/free-dot-link-domain"}}]},p({name:"Business",monthly:59,yearly:49,links:5e3,clicks:15e4,sales:5e5,domains:40,users:15,ids:["price_1LodLoAlJJEpqkPV9rD0rlNL","price_1LodLoAlJJEpqkPVJdwv5zrG","price_1OZgmnAlJJEpqkPVOj4kV64R","price_1OzNlmAlJJEpqkPV7s9HXNAC","price_1OzNmXAlJJEpqkPVYO89lTdx","price_1OzOFIAlJJEpqkPVJxzc9irl","price_1OzOXMAlJJEpqkPV9ERrjjbw"]}),p({name:"Business Plus",monthly:119,yearly:99,links:15e3,clicks:4e5,sales:15e5,domains:100,users:30,ids:["price_1OnWu0AlJJEpqkPVWk4144ZG","price_1OnWu0AlJJEpqkPVkDWVriAB","price_1OnaK3AlJJEpqkPVaCfCPdHi","price_1OzObrAlJJEpqkPVh6D9HWGO"]}),p({name:"Business Extra",monthly:249,yearly:199,links:4e4,clicks:1e6,sales:4e6,domains:250,users:50,ids:["price_1OnWvCAlJJEpqkPVLzLHx5QD","price_1OnWvCAlJJEpqkPVHhCCvIOq","price_1OnaKJAlJJEpqkPVeJSvPfJb","price_1OzOg1AlJJEpqkPVPlsrxoWm"]}),p({name:"Business Max",monthly:499,yearly:399,links:1e5,clicks:25e5,sales:1e7,domains:500,users:100,ids:["price_1OnWwLAlJJEpqkPVXtJyPqLk","price_1OnWwLAlJJEpqkPV4eMbOkNh","price_1OnaKOAlJJEpqkPVV6gkZPgt","price_1OzOh5AlJJEpqkPVtCSX7dlE"]}),{name:"Enterprise",tagline:"For large organizations and governments with custom needs",link:"https://dub.co/enterprise",price:{monthly:null,yearly:null},limits:{links:25e4,clicks:5e6,domains:1e3,tags:1e3,users:500,ai:1e4,api:1e4},colors:{bg:"bg-violet-600",text:"text-violet-600"},cta:{text:"Contact us",href:"/enterprise",color:"bg-white hover:bg-gray-50 border border-gray-200 hover:ring-gray-100 text-neutral-800"},featureTitle:"Everything in Business, plus:",features:[{id:"sso",text:"SSO/SAML"},{id:"roles",text:"Role-based controls"},{id:"volume",text:"Volume discounts"},{id:"sla",text:"Custom SLA"},{id:"logs",text:"Audit logs"},{id:"success",text:"Dedicated success manager"}]}],y=s.find(e=>e.name==="Free"),P=s.find(e=>e.name==="Pro"),L=s.find(e=>e.name==="Business"),_=s.find(e=>e.name==="Enterprise"),we=[y,P,L,_],w=s.filter(e=>e.name!=="Free"&&e.name!=="Enterprise"),ve=2,Oe=e=>s.find(t=>{var r;return(r=t.price.ids)==null?void 0:r.includes(e)})||null,Se=e=>w.find(t=>t.name.toLowerCase()===e.toLowerCase()),Ne=e=>s.find(t=>t.name.toLowerCase()===e.toLowerCase())||y,Ve=e=>e?s[s.findIndex(t=>t.name.toLowerCase()===e.toLowerCase())+1]:P;function Ye({title:e=`${process.env.NEXT_PUBLIC_APP_NAME} - Link Management for Modern Marketing Teams`,description:t=`${process.env.NEXT_PUBLIC_APP_NAME} is the open-source link management platform for modern marketing teams to create marketing campaigns, link sharing features, and referral programs.`,image:r="https://assets.dub.co/thumbnail.jpg",video:o,icons:n=[{rel:"apple-touch-icon",sizes:"32x32",url:"https://assets.dub.co/favicons/apple-touch-icon.png"},{rel:"icon",type:"image/png",sizes:"32x32",url:"https://assets.dub.co/favicons/favicon-32x32.png"},{rel:"icon",type:"image/png",sizes:"16x16",url:"https://assets.dub.co/favicons/favicon-16x16.png"}],canonicalUrl:i,noIndex:a=!1}={}){return{title:e,description:t,openGraph:{title:e,description:t,...r&&{images:r},...o&&{videos:o}},twitter:{title:e,description:t,...r&&{card:"summary_large_image",images:[r]},...o&&{player:o},creator:"@dubdotco"},icons:n,metadataBase:new URL(f),...i&&{alternates:{canonical:i}},...a&&{robots:{index:!1,follow:!1}}}}export{Ye as a,N as b,V as c,I as d,C as e,q as f,R as g,F as h,D as i,T as j,U as k,s as l,y as m,P as n,L as o,_ as p,we as q,w as r,ve as s,Oe as t,Se as u,Ne as v,Ve as w};
@@ -0,0 +1 @@
1
+ import{randomBytes as a}from"crypto";function c(t){let n="ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789",o=a(t),e="";for(let r=0;r<t;r++){let s=o[r]%n.length;e+=n[s]}return e}export{c as a};
@@ -0,0 +1 @@
1
+ import{g as x}from"./chunk-Q4LGL37L.mjs";import{a as g}from"./chunk-L43FE253.mjs";import{c as f}from"./chunk-2WKZENUE.mjs";import{a as k}from"./chunk-E2ABVYOV.mjs";import{a as c}from"./chunk-YUMUNL66.mjs";import{a as d,b as u}from"./chunk-SYT2IXG6.mjs";import{a as m}from"./chunk-IHX4EDUF.mjs";import{a as b}from"./chunk-NWFCCRLG.mjs";import{a as h}from"./chunk-J7REM3DA.mjs";import A from"@sindresorhus/slugify";var S=e=>{let t=A(e,{separator:""});if(t.length<3)return"";if(c.has(t.slice(-2)))return`${t.slice(0,-2)}.${t.slice(-2)}`;let r=t.replace(/[aeiou]/g,"");return r.length>=3&&c.has(r.slice(-2))?`${r.slice(0,-2)}.${r.slice(-2)}`:`${[t,r].reduce((i,n)=>i.length<n.length?i:n)}.link`},N=new RegExp(/^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/),V=new RegExp(/^[a-zA-Z0-9\-]+$/),q=(e,t)=>e===t?null:e.slice(0,e.length-t.length-1),C=e=>{let t;try{t=new URL(e.replace(/^[a-zA-Z]+:\/\//,"https://")).hostname}catch{return""}if(t==="youtu.be")return"youtube.com";let r=t.split(".");return r.length>2?d.has(r[r.length-2])&&c.has(r[r.length-1])||u.has(r.slice(-2).join("."))?r.slice(-3).join("."):r.slice(-2).join("."):t},I=e=>{if(k(e))return new URL(e).hostname.replace(/^www\./,"");try{if(e.includes(".")&&!e.includes(" "))return new URL(`https://${e}`).hostname.replace(/^www\./,"")}catch{return null}},R=e=>g.some(t=>t.slug===e);function D({domain:e,key:t,pretty:r,searchParams:o}){if(!e)return"";let i=`https://${m(e)}${t&&t!=="_root"?`/${m(t)}`:""}`;if(o){let n=new URLSearchParams;for(let[a,l]of Object.entries(o))n.set(a,l);i+=`?${n.toString()}`}return r?i.replace(/^https?:\/\//,""):i}function M({domain:e,key:t}){return`https://${e}${t==="_root"?"":`/${t}`}`}var p=({name:e="Business",monthly:t=59,yearly:r=49,links:o=5e3,clicks:i=15e4,sales:n=5e5,domains:a=40,users:l=15,ids:E=[]})=>({name:e,tagline:"For fast-growing startups and businesses looking to scale",link:"https://dub.co/help/article/business-plan",price:{monthly:t,yearly:r,ids:E},limits:{links:o,clicks:i,sales:n,domains:a,tags:x,users:l,ai:1e3,api:3e3},colors:{bg:"bg-sky-900",text:"text-sky-900"},cta:{text:`Get started with ${e}`,shortText:`Get ${e}`,href:"https://app.dub.co/register",color:"bg-sky-900 hover:bg-sky-800 hover:ring-sky-100"},featureTitle:"Everything in Pro, plus:",features:[{id:"clicks",text:`${b(i)} tracked clicks/mo`},{id:"links",text:`${Intl.NumberFormat("en-US").format(o)} new links/mo`},{id:"sales",text:`${h(n/100)} tracked sales/mo`,footnote:{title:"Use Dub Conversions to track how your link clicks are converting to signups and sales. Limits are based on the total sale amount tracked within a given month.",cta:"Learn more.",href:"https://dub.co/help/article/dub-conversions"}},{id:"retention",text:"3-year analytics retention"},{id:"domains",text:`${a} domains`},{id:"users",text:`${l} users`},{id:"events",text:"Real-time events stream",footnote:{title:"Get more data on your link clicks and QR code scans with a detailed, real-time stream of events in your workspace",cta:"Learn more.",href:"https://d.to/events"}},{id:"webhooks",text:"Event webhooks (beta)",footnote:{title:"Get notified when a link is clicked or a QR code is scanned using webhooks.",cta:"Learn more.",href:"https://d.to/webhooks"}}]}),s=[{name:"Free",tagline:"For hobbyists and individuals looking to manage their links",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,domains:3,tags:5,users:1,ai:10,api:60},colors:{bg:"bg-black",text:"text-black"},cta:{text:"Start for free",href:"https://app.dub.co/register",color:"bg-white hover:bg-gray-50 border border-gray-200 hover:ring-gray-100 text-neutral-800"},featureTitle:"What's included:",features:[{id:"clicks",text:"1K tracked clicks/mo"},{id:"links",text:"25 new links/mo"},{id:"retention",text:"30-day analytics retention"},{id:"domains",text:"3 domains"},{id:"user",text:"1 user"},{id:"analytics",text:"Advanced analytics",footnote:{title:"Get location (country, city, continent), device (type, browser, OS), and referer data on your clicks.",cta:"Learn more.",href:"https://dub.co/help/article/dub-analytics"}},{id:"ai",text:"10 AI credits/mo"},{id:"basic-support",text:"Basic support"},{id:"api",text:"API Access",footnote:{title:"Programatically manage your links using our REST API.",cta:"Learn more.",href:"https://dub.co/docs/api-reference/introduction"}}]},{name:"Pro",tagline:"For content creators or small teams needing advanced features",link:"https://dub.co/help/article/pro-plan",price:{monthly:24,yearly:19,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ","price_1OTcQBAlJJEpqkPViGtGEsbb","price_1OYJeBAlJJEpqkPVLjTsjX0E","price_1OTcQBAlJJEpqkPVYlCMqdLL","price_1OYJeBAlJJEpqkPVnPGEZeb0"]},limits:{links:1e3,clicks:5e4,domains:10,tags:25,users:5,ai:1e3,api:600},colors:{bg:"bg-blue-500",text:"text-blue-500"},cta:{text:"Get started with Pro",shortText:"Get Pro",href:"https://app.dub.co/register",color:"bg-black hover:bg-neutral-800 hover:ring-gray-200"},featureTitle:"Everything in Free, plus:",features:[{id:"clicks",text:"50K tracked clicks/mo"},{id:"links",text:"1,000 new links/mo"},{id:"retention",text:"1-year analytics retention"},{id:"domains",text:"10 domains"},{id:"users",text:"5 users"},{id:"link-features",text:"Advanced link features",footnote:"Custom social media cards, password-protected links, link expiration, link cloaking, device targeting, geo targeting etc."},{id:"ai",text:"Unlimited AI credits",footnote:{title:"Subject to fair use policy \u2013 you will be notified if you exceed the limit, which are high enough for frequent usage.",cta:"Learn more.",href:"https://dub.co/blog/introducing-dub-ai"}},{id:"priority-support",text:"Priority support"},{id:"dublink",text:"Premium dub.link domain",footnote:{title:"Stand out from the crowd with a premium dub.link domain.",cta:"Learn more.",href:"https://dub.co/help/article/default-dub-domains#premium-dublink-domain"}},{id:"dotlink",text:"Free custom domain",footnote:{title:"All our paid plans come with a free .link custom domain, which helps improve click-through rates.",cta:"Learn more.",href:"https://dub.co/help/article/free-dot-link-domain"}}]},p({name:"Business",monthly:59,yearly:49,links:5e3,clicks:15e4,sales:5e5,domains:40,users:15,ids:["price_1LodLoAlJJEpqkPV9rD0rlNL","price_1LodLoAlJJEpqkPVJdwv5zrG","price_1OZgmnAlJJEpqkPVOj4kV64R","price_1OzNlmAlJJEpqkPV7s9HXNAC","price_1OzNmXAlJJEpqkPVYO89lTdx","price_1OzOFIAlJJEpqkPVJxzc9irl","price_1OzOXMAlJJEpqkPV9ERrjjbw"]}),p({name:"Business Plus",monthly:119,yearly:99,links:15e3,clicks:4e5,sales:15e5,domains:100,users:30,ids:["price_1OnWu0AlJJEpqkPVWk4144ZG","price_1OnWu0AlJJEpqkPVkDWVriAB","price_1OnaK3AlJJEpqkPVaCfCPdHi","price_1OzObrAlJJEpqkPVh6D9HWGO"]}),p({name:"Business Extra",monthly:249,yearly:199,links:4e4,clicks:1e6,sales:4e6,domains:250,users:50,ids:["price_1OnWvCAlJJEpqkPVLzLHx5QD","price_1OnWvCAlJJEpqkPVHhCCvIOq","price_1OnaKJAlJJEpqkPVeJSvPfJb","price_1OzOg1AlJJEpqkPVPlsrxoWm"]}),p({name:"Business Max",monthly:499,yearly:399,links:1e5,clicks:25e5,sales:1e7,domains:500,users:100,ids:["price_1OnWwLAlJJEpqkPVXtJyPqLk","price_1OnWwLAlJJEpqkPV4eMbOkNh","price_1OnaKOAlJJEpqkPVV6gkZPgt","price_1OzOh5AlJJEpqkPVtCSX7dlE"]}),{name:"Enterprise",tagline:"For large organizations and governments with custom needs",link:"https://dub.co/enterprise",price:{monthly:null,yearly:null},limits:{links:25e4,clicks:5e6,domains:1e3,tags:1e3,users:500,ai:1e4,api:1e4},colors:{bg:"bg-violet-600",text:"text-violet-600"},cta:{text:"Contact us",href:"/enterprise",color:"bg-white hover:bg-gray-50 border border-gray-200 hover:ring-gray-100 text-neutral-800"},featureTitle:"Everything in Business, plus:",features:[{id:"sso",text:"SSO/SAML"},{id:"roles",text:"Role-based controls"},{id:"volume",text:"Volume discounts"},{id:"sla",text:"Custom SLA"},{id:"logs",text:"Audit logs"},{id:"success",text:"Dedicated success manager"}]}],y=s.find(e=>e.name==="Free"),P=s.find(e=>e.name==="Pro"),_=s.find(e=>e.name==="Business"),J=s.find(e=>e.name==="Enterprise"),Ae=[y,P,_,J],L=s.filter(e=>e.name!=="Free"&&e.name!=="Enterprise"),_e=2,Je=e=>s.find(t=>{var r;return(r=t.price.ids)==null?void 0:r.includes(e)})||null,Le=e=>L.find(t=>t.name.toLowerCase()===e.toLowerCase()),we=e=>s.find(t=>t.name.toLowerCase()===e.toLowerCase())||y,ve=e=>e?s[s.findIndex(t=>t.name.toLowerCase()===e.toLowerCase())+1]:P;function Xe({title:e=`${process.env.NEXT_PUBLIC_APP_NAME} - Link Management for Modern Marketing Teams`,description:t=`${process.env.NEXT_PUBLIC_APP_NAME} is the open-source link management platform for modern marketing teams to create marketing campaigns, link sharing features, and referral programs.`,image:r="https://assets.dub.co/thumbnail.jpg",video:o,icons:i=[{rel:"apple-touch-icon",sizes:"32x32",url:"https://assets.dub.co/favicons/apple-touch-icon.png"},{rel:"icon",type:"image/png",sizes:"32x32",url:"https://assets.dub.co/favicons/favicon-32x32.png"},{rel:"icon",type:"image/png",sizes:"16x16",url:"https://assets.dub.co/favicons/favicon-16x16.png"}],canonicalUrl:n,noIndex:a=!1}={}){return{title:e,description:t,openGraph:{title:e,description:t,...r&&{images:r},...o&&{videos:o}},twitter:{title:e,description:t,...r&&{card:"summary_large_image",images:[r]},...o&&{player:o},creator:"@dubdotco"},icons:i,metadataBase:new URL(f),...n&&{alternates:{canonical:n}},...a&&{robots:{index:!1,follow:!1}}}}export{Xe as a,S as b,N as c,V as d,q as e,C as f,I as g,R as h,D as i,M as j,s as k,y as l,P as m,_ as n,J as o,Ae as p,L as q,_e as r,Je as s,Le as t,we as u,ve as v};
@@ -0,0 +1 @@
1
+ var I="clzu59rx9000110bm5fnlzwuj",t="clzra1ya60001wnj4a89zcg9h",c="cm481uged0001eh6uotzmcphy",o="clzlmz336000fjeqynwhfv8vo",N="int_iWOtrZgmcyU6XDwKr4AYYqLN";export{I as a,t as b,c,o as d,N as e};
@@ -0,0 +1 @@
1
+ import{randomBytes as m}from"crypto";var d=r=>r[Math.floor(Math.random()*r.length)];function c(r){let n="ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789",e=m(r),o="";for(let t=0;t<r;t++){let a=e[t]%n.length;o+=n[a]}return o}export{d as a,c as b};
@@ -0,0 +1 @@
1
+ import{a as k}from"./chunk-E2ABVYOV.mjs";import{a as m}from"./chunk-IHX4EDUF.mjs";import{a as b}from"./chunk-NWFCCRLG.mjs";import{a as h}from"./chunk-J7REM3DA.mjs";import{g as x}from"./chunk-Q4LGL37L.mjs";import{a as c}from"./chunk-YUMUNL66.mjs";import{a as d,b as u}from"./chunk-SYT2IXG6.mjs";import{a as g}from"./chunk-L43FE253.mjs";import{c as f}from"./chunk-2WKZENUE.mjs";import A from"@sindresorhus/slugify";var S=e=>{let t=A(e,{separator:""});if(t.length<3)return"";if(c.has(t.slice(-2)))return`${t.slice(0,-2)}.${t.slice(-2)}`;let r=t.replace(/[aeiou]/g,"");return r.length>=3&&c.has(r.slice(-2))?`${r.slice(0,-2)}.${r.slice(-2)}`:`${[t,r].reduce((i,n)=>i.length<n.length?i:n)}.link`},V=new RegExp(/^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/),q=new RegExp(/^[a-zA-Z0-9\-]+$/),N=(e,t)=>e===t?null:e.slice(0,e.length-t.length-1),C=e=>{let t;try{t=new URL(e.replace(/^[a-zA-Z]+:\/\//,"https://")).hostname}catch{return""}if(t==="youtu.be")return"youtube.com";let r=t.split(".");return r.length>2?d.has(r[r.length-2])&&c.has(r[r.length-1])||u.has(r.slice(-2).join("."))?r.slice(-3).join("."):r.slice(-2).join("."):t},I=e=>{if(k(e))return new URL(e).hostname.replace(/^www\./,"");try{if(e.includes(".")&&!e.includes(" "))return new URL(`https://${e}`).hostname.replace(/^www\./,"")}catch{return null}},R=e=>g.some(t=>t.slug===e);function $({domain:e,key:t,pretty:r,searchParams:o}){if(!e)return"";let i=`https://${m(e)}${t&&t!=="_root"?`/${m(t)}`:""}`;if(o){let n=new URLSearchParams;for(let[a,l]of Object.entries(o))n.set(a,l);i+=`?${n.toString()}`}return r?i.replace(/^https?:\/\//,""):i}function z({domain:e,key:t}){return`https://${e}${t==="_root"?"":`/${t}`}`}var p=({name:e="Business",monthly:t=59,yearly:r=49,links:o=5e3,clicks:i=15e4,sales:n=5e5,domains:a=40,users:l=15,ids:E=[]})=>({name:e,tagline:"For fast-growing startups and businesses looking to scale",link:"https://dub.co/help/article/business-plan",price:{monthly:t,yearly:r,ids:E},limits:{links:o,clicks:i,sales:n,domains:a,tags:x,users:l,ai:1e3,api:3e3},colors:{bg:"bg-sky-900",text:"text-sky-900"},cta:{text:`Get started with ${e}`,shortText:`Get ${e}`,href:"https://app.dub.co/register",color:"bg-sky-900 hover:bg-sky-800 hover:ring-sky-100"},featureTitle:"Everything in Pro, plus:",features:[{id:"clicks",text:`${b(i)} tracked clicks/mo`},{id:"links",text:`${Intl.NumberFormat("en-US").format(o)} new links/mo`},{id:"sales",text:`${h(n/100)} tracked sales/mo`,footnote:{title:"Use Dub Conversions to track how your link clicks are converting to signups and sales. Limits are based on the total sale amount tracked within a given month.",cta:"Learn more.",href:"https://dub.co/help/article/dub-conversions"}},{id:"retention",text:"3-year analytics retention"},{id:"domains",text:`${a} domains`},{id:"users",text:`${l} users`},{id:"events",text:"Real-time events stream",footnote:{title:"Get more data on your link clicks and QR code scans with a detailed, real-time stream of events in your workspace",cta:"Learn more.",href:"https://d.to/events"}},{id:"webhooks",text:"Event webhooks (beta)",footnote:{title:"Get notified when a link is clicked or a QR code is scanned using webhooks.",cta:"Learn more.",href:"https://d.to/webhooks"}}]}),s=[{name:"Free",tagline:"For hobbyists and individuals looking to manage their links",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,domains:3,tags:5,users:1,ai:10,api:60},colors:{bg:"bg-black",text:"text-black"},cta:{text:"Start for free",href:"https://app.dub.co/register",color:"bg-white hover:bg-gray-50 border border-gray-200 hover:ring-gray-100 text-neutral-800"},featureTitle:"What's included:",features:[{id:"clicks",text:"1K tracked clicks/mo"},{id:"links",text:"25 new links/mo"},{id:"retention",text:"30-day analytics retention"},{id:"domains",text:"3 domains"},{id:"user",text:"1 user"},{id:"analytics",text:"Advanced analytics",footnote:{title:"Get location (country, city, continent), device (type, browser, OS), and referer data on your clicks.",cta:"Learn more.",href:"https://dub.co/help/article/dub-analytics"}},{id:"ai",text:"10 AI credits/mo"},{id:"basic-support",text:"Basic support"},{id:"api",text:"API Access",footnote:{title:"Programatically manage your links using our REST API.",cta:"Learn more.",href:"https://dub.co/docs/api-reference/introduction"}}]},{name:"Pro",tagline:"For content creators or small teams needing advanced features",link:"https://dub.co/help/article/pro-plan",price:{monthly:24,yearly:19,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ","price_1OTcQBAlJJEpqkPViGtGEsbb","price_1OYJeBAlJJEpqkPVLjTsjX0E","price_1OTcQBAlJJEpqkPVYlCMqdLL","price_1OYJeBAlJJEpqkPVnPGEZeb0"]},limits:{links:1e3,clicks:5e4,domains:10,tags:25,users:5,ai:1e3,api:600},colors:{bg:"bg-blue-500",text:"text-blue-500"},cta:{text:"Get started with Pro",shortText:"Get Pro",href:"https://app.dub.co/register",color:"bg-black hover:bg-neutral-800 hover:ring-gray-200"},featureTitle:"Everything in Free, plus:",features:[{id:"clicks",text:"50K tracked clicks/mo"},{id:"links",text:"1,000 new links/mo"},{id:"retention",text:"1-year analytics retention"},{id:"domains",text:"10 domains"},{id:"users",text:"5 users"},{id:"link-features",text:"Advanced link features",footnote:"Custom social media cards, password-protected links, link expiration, link cloaking, device targeting, geo targeting etc."},{id:"ai",text:"Unlimited AI credits",footnote:{title:"Subject to fair use policy \u2013 you will be notified if you exceed the limit, which are high enough for frequent usage.",cta:"Learn more.",href:"https://dub.co/blog/introducing-dub-ai"}},{id:"priority-support",text:"Priority support"},{id:"dublink",text:"Premium dub.link domain",footnote:{title:"Stand out from the crowd with a premium dub.link domain.",cta:"Learn more.",href:"https://dub.co/help/article/default-dub-domains#premium-dublink-domain"}},{id:"dotlink",text:"Free custom domain",footnote:{title:"All our paid plans come with a free .link custom domain, which helps improve click-through rates.",cta:"Learn more.",href:"https://dub.co/help/article/free-dot-link-domain"}}]},p({name:"Business",monthly:59,yearly:49,links:5e3,clicks:15e4,sales:5e5,domains:40,users:15,ids:["price_1LodLoAlJJEpqkPV9rD0rlNL","price_1LodLoAlJJEpqkPVJdwv5zrG","price_1OZgmnAlJJEpqkPVOj4kV64R","price_1OzNlmAlJJEpqkPV7s9HXNAC","price_1OzNmXAlJJEpqkPVYO89lTdx","price_1OzOFIAlJJEpqkPVJxzc9irl","price_1OzOXMAlJJEpqkPV9ERrjjbw"]}),p({name:"Business Plus",monthly:119,yearly:99,links:15e3,clicks:4e5,sales:15e5,domains:100,users:30,ids:["price_1OnWu0AlJJEpqkPVWk4144ZG","price_1OnWu0AlJJEpqkPVkDWVriAB","price_1OnaK3AlJJEpqkPVaCfCPdHi","price_1OzObrAlJJEpqkPVh6D9HWGO"]}),p({name:"Business Extra",monthly:249,yearly:199,links:4e4,clicks:1e6,sales:4e6,domains:250,users:50,ids:["price_1OnWvCAlJJEpqkPVLzLHx5QD","price_1OnWvCAlJJEpqkPVHhCCvIOq","price_1OnaKJAlJJEpqkPVeJSvPfJb","price_1OzOg1AlJJEpqkPVPlsrxoWm"]}),p({name:"Business Max",monthly:499,yearly:399,links:1e5,clicks:25e5,sales:1e7,domains:500,users:100,ids:["price_1OnWwLAlJJEpqkPVXtJyPqLk","price_1OnWwLAlJJEpqkPV4eMbOkNh","price_1OnaKOAlJJEpqkPVV6gkZPgt","price_1OzOh5AlJJEpqkPVtCSX7dlE"]}),{name:"Enterprise",tagline:"For large organizations and governments with custom needs",link:"https://dub.co/enterprise",price:{monthly:null,yearly:null},limits:{links:25e4,clicks:5e6,domains:1e3,tags:1e3,users:500,ai:1e4,api:1e4},colors:{bg:"bg-violet-600",text:"text-violet-600"},cta:{text:"Contact us",href:"/enterprise",color:"bg-white hover:bg-gray-50 border border-gray-200 hover:ring-gray-100 text-neutral-800"},featureTitle:"Everything in Business, plus:",features:[{id:"sso",text:"SSO/SAML"},{id:"roles",text:"Role-based controls"},{id:"volume",text:"Volume discounts"},{id:"sla",text:"Custom SLA"},{id:"logs",text:"Audit logs"},{id:"success",text:"Dedicated success manager"}]}],y=s.find(e=>e.name==="Free"),P=s.find(e=>e.name==="Pro"),J=s.find(e=>e.name==="Business"),L=s.find(e=>e.name==="Enterprise"),Ae=[y,P,J,L],_=s.filter(e=>e.name!=="Free"&&e.name!=="Enterprise"),Je=2,Le=e=>s.find(t=>{var r;return(r=t.price.ids)==null?void 0:r.includes(e)})||null,_e=e=>_.find(t=>t.name.toLowerCase()===e.toLowerCase()),we=e=>s.find(t=>t.name.toLowerCase()===e.toLowerCase())||y,ve=e=>e?s[s.findIndex(t=>t.name.toLowerCase()===e.toLowerCase())+1]:P;function Qe({title:e,description:t="Dub.co is the open-source link management platform for modern marketing teams to create marketing campaigns, link sharing features, and referral programs.",image:r="https://assets.dub.co/thumbnail.jpg",video:o,icons:i=[{rel:"apple-touch-icon",sizes:"32x32",url:"https://assets.dub.co/favicons/apple-touch-icon.png"},{rel:"icon",type:"image/png",sizes:"32x32",url:"https://assets.dub.co/favicons/favicon-32x32.png"},{rel:"icon",type:"image/png",sizes:"16x16",url:"https://assets.dub.co/favicons/favicon-16x16.png"}],canonicalUrl:n,noIndex:a=!1}={}){return{title:`${e} | Dub.co`||"Dub.co - Link Management for Modern Marketing Teams",description:t,openGraph:{title:e,description:t,...r&&{images:r},...o&&{videos:o}},twitter:{title:e,description:t,...r&&{card:"summary_large_image",images:[r]},...o&&{player:o},creator:"@dubdotco"},icons:i,metadataBase:new URL(f),...n&&{alternates:{canonical:n}},...a&&{robots:{index:!1,follow:!1}}}}export{Qe as a,S as b,V as c,q as d,N as e,C as f,I as g,R as h,$ as i,z as j,s as k,y as l,P as m,J as n,L as o,Ae as p,_ as q,Je as r,Le as s,_e as t,we as u,ve as v};
@@ -0,0 +1 @@
1
+ import{a as k}from"./chunk-E2ABVYOV.mjs";import{a as m}from"./chunk-IHX4EDUF.mjs";import{a as b}from"./chunk-NWFCCRLG.mjs";import{a as h}from"./chunk-J7REM3DA.mjs";import{g as x}from"./chunk-Q4LGL37L.mjs";import{a as c}from"./chunk-YUMUNL66.mjs";import{a as d,b as u}from"./chunk-SYT2IXG6.mjs";import{a as g}from"./chunk-L43FE253.mjs";import{c as f}from"./chunk-2WKZENUE.mjs";import A from"@sindresorhus/slugify";var S=e=>{let t=A(e,{separator:""});if(t.length<3)return"";if(c.has(t.slice(-2)))return`${t.slice(0,-2)}.${t.slice(-2)}`;let r=t.replace(/[aeiou]/g,"");return r.length>=3&&c.has(r.slice(-2))?`${r.slice(0,-2)}.${r.slice(-2)}`:`${[t,r].reduce((i,n)=>i.length<n.length?i:n)}.link`},V=new RegExp(/^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/),q=new RegExp(/^[a-zA-Z0-9\-]+$/),N=(e,t)=>e===t?null:e.slice(0,e.length-t.length-1),C=e=>{let t;try{t=new URL(e.replace(/^[a-zA-Z]+:\/\//,"https://")).hostname}catch{return""}if(t==="youtu.be")return"youtube.com";let r=t.split(".");return r.length>2?d.has(r[r.length-2])&&c.has(r[r.length-1])||u.has(r.slice(-2).join("."))?r.slice(-3).join("."):r.slice(-2).join("."):t},I=e=>{if(k(e))return new URL(e).hostname.replace(/^www\./,"");try{if(e.includes(".")&&!e.includes(" "))return new URL(`https://${e}`).hostname.replace(/^www\./,"")}catch{return null}},R=e=>g.some(t=>t.slug===e);function $({domain:e,key:t,pretty:r,searchParams:o}){if(!e)return"";let i=`https://${m(e)}${t&&t!=="_root"?`/${m(t)}`:""}`;if(o){let n=new URLSearchParams;for(let[a,l]of Object.entries(o))n.set(a,l);i+=`?${n.toString()}`}return r?i.replace(/^https?:\/\//,""):i}function z({domain:e,key:t}){return`https://${e}${t==="_root"?"":`/${t}`}`}var p=({name:e="Business",monthly:t=59,yearly:r=49,links:o=5e3,clicks:i=15e4,sales:n=5e5,domains:a=40,users:l=15,ids:E=[]})=>({name:e,tagline:"For fast-growing startups and businesses looking to scale",link:"https://dub.co/help/article/business-plan",price:{monthly:t,yearly:r,ids:E},limits:{links:o,clicks:i,sales:n,domains:a,tags:x,users:l,ai:1e3,api:3e3},colors:{bg:"bg-sky-900",text:"text-sky-900"},cta:{text:`Get started with ${e}`,shortText:`Get ${e}`,href:"https://app.dub.co/register",color:"bg-sky-900 hover:bg-sky-800 hover:ring-sky-100"},featureTitle:"Everything in Pro, plus:",features:[{id:"clicks",text:`${b(i)} tracked clicks/mo`},{id:"links",text:`${Intl.NumberFormat("en-US").format(o)} new links/mo`},{id:"sales",text:`${h(n/100)} tracked sales/mo`,footnote:{title:"Use Dub Conversions to track how your link clicks are converting to signups and sales. Limits are based on the total sale amount tracked within a given month.",cta:"Learn more.",href:"https://dub.co/help/article/dub-conversions"}},{id:"retention",text:"3-year analytics retention"},{id:"domains",text:`${a} domains`},{id:"users",text:`${l} users`},{id:"events",text:"Real-time events stream",footnote:{title:"Get more data on your link clicks and QR code scans with a detailed, real-time stream of events in your workspace",cta:"Learn more.",href:"https://d.to/events"}},{id:"webhooks",text:"Event webhooks (beta)",footnote:{title:"Get notified when a link is clicked or a QR code is scanned using webhooks.",cta:"Learn more.",href:"https://d.to/webhooks"}}]}),s=[{name:"Free",tagline:"For hobbyists and individuals looking to manage their links",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,domains:3,tags:5,users:1,ai:10,api:60},colors:{bg:"bg-black",text:"text-black"},cta:{text:"Start for free",href:"https://app.dub.co/register",color:"bg-white hover:bg-gray-50 border border-gray-200 hover:ring-gray-100 text-neutral-800"},featureTitle:"What's included:",features:[{id:"clicks",text:"1K tracked clicks/mo"},{id:"links",text:"25 new links/mo"},{id:"retention",text:"30-day analytics retention"},{id:"domains",text:"3 domains"},{id:"user",text:"1 user"},{id:"analytics",text:"Advanced analytics",footnote:{title:"Get location (country, city, continent), device (type, browser, OS), and referer data on your clicks.",cta:"Learn more.",href:"https://dub.co/help/article/dub-analytics"}},{id:"ai",text:"10 AI credits/mo"},{id:"basic-support",text:"Basic support"},{id:"api",text:"API Access",footnote:{title:"Programatically manage your links using our REST API.",cta:"Learn more.",href:"https://dub.co/docs/api-reference/introduction"}}]},{name:"Pro",tagline:"For content creators or small teams needing advanced features",link:"https://dub.co/help/article/pro-plan",price:{monthly:24,yearly:19,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ","price_1OTcQBAlJJEpqkPViGtGEsbb","price_1OYJeBAlJJEpqkPVLjTsjX0E","price_1OTcQBAlJJEpqkPVYlCMqdLL","price_1OYJeBAlJJEpqkPVnPGEZeb0"]},limits:{links:1e3,clicks:5e4,domains:10,tags:25,users:5,ai:1e3,api:600},colors:{bg:"bg-blue-500",text:"text-blue-500"},cta:{text:"Get started with Pro",shortText:"Get Pro",href:"https://app.dub.co/register",color:"bg-black hover:bg-neutral-800 hover:ring-gray-200"},featureTitle:"Everything in Free, plus:",features:[{id:"clicks",text:"50K tracked clicks/mo"},{id:"links",text:"1,000 new links/mo"},{id:"retention",text:"1-year analytics retention"},{id:"domains",text:"10 domains"},{id:"users",text:"5 users"},{id:"link-features",text:"Advanced link features",footnote:"Custom social media cards, password-protected links, link expiration, link cloaking, device targeting, geo targeting etc."},{id:"ai",text:"Unlimited AI credits",footnote:{title:"Subject to fair use policy \u2013 you will be notified if you exceed the limit, which are high enough for frequent usage.",cta:"Learn more.",href:"https://dub.co/blog/introducing-dub-ai"}},{id:"priority-support",text:"Priority support"},{id:"dublink",text:"Premium dub.link domain",footnote:{title:"Stand out from the crowd with a premium dub.link domain.",cta:"Learn more.",href:"https://dub.co/help/article/default-dub-domains#premium-dublink-domain"}},{id:"dotlink",text:"Free custom domain",footnote:{title:"All our paid plans come with a free .link custom domain, which helps improve click-through rates.",cta:"Learn more.",href:"https://dub.co/help/article/free-dot-link-domain"}}]},p({name:"Business",monthly:59,yearly:49,links:5e3,clicks:15e4,sales:5e5,domains:40,users:15,ids:["price_1LodLoAlJJEpqkPV9rD0rlNL","price_1LodLoAlJJEpqkPVJdwv5zrG","price_1OZgmnAlJJEpqkPVOj4kV64R","price_1OzNlmAlJJEpqkPV7s9HXNAC","price_1OzNmXAlJJEpqkPVYO89lTdx","price_1OzOFIAlJJEpqkPVJxzc9irl","price_1OzOXMAlJJEpqkPV9ERrjjbw"]}),p({name:"Business Plus",monthly:119,yearly:99,links:15e3,clicks:4e5,sales:15e5,domains:100,users:30,ids:["price_1OnWu0AlJJEpqkPVWk4144ZG","price_1OnWu0AlJJEpqkPVkDWVriAB","price_1OnaK3AlJJEpqkPVaCfCPdHi","price_1OzObrAlJJEpqkPVh6D9HWGO"]}),p({name:"Business Extra",monthly:249,yearly:199,links:4e4,clicks:1e6,sales:4e6,domains:250,users:50,ids:["price_1OnWvCAlJJEpqkPVLzLHx5QD","price_1OnWvCAlJJEpqkPVHhCCvIOq","price_1OnaKJAlJJEpqkPVeJSvPfJb","price_1OzOg1AlJJEpqkPVPlsrxoWm"]}),p({name:"Business Max",monthly:499,yearly:399,links:1e5,clicks:25e5,sales:1e7,domains:500,users:100,ids:["price_1OnWwLAlJJEpqkPVXtJyPqLk","price_1OnWwLAlJJEpqkPV4eMbOkNh","price_1OnaKOAlJJEpqkPVV6gkZPgt","price_1OzOh5AlJJEpqkPVtCSX7dlE"]}),{name:"Enterprise",tagline:"For large organizations and governments with custom needs",link:"https://dub.co/enterprise",price:{monthly:null,yearly:null},limits:{links:25e4,clicks:5e6,domains:1e3,tags:1e3,users:500,ai:1e4,api:1e4},colors:{bg:"bg-violet-600",text:"text-violet-600"},cta:{text:"Contact us",href:"/enterprise",color:"bg-white hover:bg-gray-50 border border-gray-200 hover:ring-gray-100 text-neutral-800"},featureTitle:"Everything in Business, plus:",features:[{id:"sso",text:"SSO/SAML"},{id:"roles",text:"Role-based controls"},{id:"volume",text:"Volume discounts"},{id:"sla",text:"Custom SLA"},{id:"logs",text:"Audit logs"},{id:"success",text:"Dedicated success manager"}]}],y=s.find(e=>e.name==="Free"),P=s.find(e=>e.name==="Pro"),J=s.find(e=>e.name==="Business"),L=s.find(e=>e.name==="Enterprise"),Ae=[y,P,J,L],_=s.filter(e=>e.name!=="Free"&&e.name!=="Enterprise"),Je=2,Le=e=>s.find(t=>{var r;return(r=t.price.ids)==null?void 0:r.includes(e)})||null,_e=e=>_.find(t=>t.name.toLowerCase()===e.toLowerCase()),we=e=>s.find(t=>t.name.toLowerCase()===e.toLowerCase())||y,ve=e=>e?s[s.findIndex(t=>t.name.toLowerCase()===e.toLowerCase())+1]:P;function Qe({title:e,description:t="Dub.co is the open-source link management platform for modern marketing teams to create marketing campaigns, link sharing features, and referral programs.",image:r="https://assets.dub.co/thumbnail.jpg",video:o,icons:i=[{rel:"apple-touch-icon",sizes:"32x32",url:"https://assets.dub.co/favicons/apple-touch-icon.png"},{rel:"icon",type:"image/png",sizes:"32x32",url:"https://assets.dub.co/favicons/favicon-32x32.png"},{rel:"icon",type:"image/png",sizes:"16x16",url:"https://assets.dub.co/favicons/favicon-16x16.png"}],canonicalUrl:n,noIndex:a=!1}={}){return{title:e?`${e} | Dub.co`:"Dub.co - Link Management for Modern Marketing Teams",description:t,openGraph:{title:e,description:t,...r&&{images:r},...o&&{videos:o}},twitter:{title:e,description:t,...r&&{card:"summary_large_image",images:[r]},...o&&{player:o},creator:"@dubdotco"},icons:i,metadataBase:new URL(f),...n&&{alternates:{canonical:n}},...a&&{robots:{index:!1,follow:!1}}}}export{Qe as a,S as b,V as c,q as d,N as e,C as f,I as g,R as h,$ as i,z as j,s as k,y as l,P as m,J as n,L as o,Ae as p,_ as q,Je as r,Le as s,_e as t,we as u,ve as v};
@@ -0,0 +1 @@
1
+ var e=process.env.NEXT_PUBLIC_APP_NAME||"Dub.co",s=process.env.NEXT_PUBLIC_APP_SHORT_DOMAIN||"dub.sh",_=`https://${process.env.NEXT_PUBLIC_APP_DOMAIN}`,t=new Set([`app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"localhost:8888","localhost"]),o=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",r=new Set([`api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`api-staging.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`api.${s}`,"api.localhost:8888","rich-easily-kingfish.ngrok-free.app"]),P=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"]),c=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://partners.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://partners-staging.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:"http://partners.localhost:8888",N=new Set([`partners.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`partners-staging.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"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",a="cl7pj5kq4006835rbjlt2ofka",O="clrei1gld0002vs9mzn93p8ik",C="clrflia0j0000vs7sqfhz9c7q",v="clqei1lgc0000vsnzi01pbf47",T=process.env.STORAGE_BASE_URL;export{e as a,s as b,_ as c,t as d,o as e,p as f,r as g,P as h,n as i,c as j,N as k,E as l,A as m,I as n,L as o,a as p,O as q,C as r,v as s,T as t};
@@ -0,0 +1 @@
1
+ var I="clzu59rx9000110bm5fnlzwuj",t="clzra1ya60001wnj4a89zcg9h",T="int_zGnSElTzimbz20OWnXerPoKv",n="clzlmz336000fjeqynwhfv8vo",o="int_iWOtrZgmcyU6XDwKr4AYYqLN";export{I as a,t as b,T as c,n as d,o as e};
@@ -0,0 +1 @@
1
+ import{g as x}from"./chunk-Q4LGL37L.mjs";import{a as k}from"./chunk-E2ABVYOV.mjs";import{a as c}from"./chunk-YUMUNL66.mjs";import{a as d,b as u}from"./chunk-SYT2IXG6.mjs";import{a as f}from"./chunk-L43FE253.mjs";import{c as g}from"./chunk-2WKZENUE.mjs";import{a as m}from"./chunk-IHX4EDUF.mjs";import{a as b}from"./chunk-NWFCCRLG.mjs";import{a as h}from"./chunk-J7REM3DA.mjs";import A from"@sindresorhus/slugify";var S=e=>{let t=A(e,{separator:""});if(t.length<3)return"";if(c.has(t.slice(-2)))return`${t.slice(0,-2)}.${t.slice(-2)}`;let r=t.replace(/[aeiou]/g,"");return r.length>=3&&c.has(r.slice(-2))?`${r.slice(0,-2)}.${r.slice(-2)}`:`${[t,r].reduce((i,n)=>i.length<n.length?i:n)}.link`},N=new RegExp(/^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/),V=new RegExp(/^[a-zA-Z0-9\-]+$/),q=(e,t)=>e===t?null:e.slice(0,e.length-t.length-1),C=e=>{let t;try{t=new URL(e.replace(/^[a-zA-Z]+:\/\//,"https://")).hostname}catch{return""}if(t==="youtu.be")return"youtube.com";let r=t.split(".");return r.length>2?d.has(r[r.length-2])&&c.has(r[r.length-1])||u.has(r.slice(-2).join("."))?r.slice(-3).join("."):r.slice(-2).join("."):t},I=e=>{if(k(e))return new URL(e).hostname.replace(/^www\./,"");try{if(e.includes(".")&&!e.includes(" "))return new URL(`https://${e}`).hostname.replace(/^www\./,"")}catch{return null}},R=e=>f.some(t=>t.slug===e);function D({domain:e,key:t,pretty:r,searchParams:o}){if(!e)return"";let i=`https://${m(e)}${t&&t!=="_root"?`/${m(t)}`:""}`;if(o){let n=new URLSearchParams;for(let[a,l]of Object.entries(o))n.set(a,l);i+=`?${n.toString()}`}return r?i.replace(/^https?:\/\//,""):i}function M({domain:e,key:t}){return`https://${e}${t==="_root"?"":`/${t}`}`}var p=({name:e="Business",monthly:t=59,yearly:r=49,links:o=5e3,clicks:i=15e4,sales:n=5e5,domains:a=40,users:l=15,ids:E=[]})=>({name:e,tagline:"For fast-growing startups and businesses looking to scale",link:"https://dub.co/help/article/business-plan",price:{monthly:t,yearly:r,ids:E},limits:{links:o,clicks:i,sales:n,domains:a,tags:x,users:l,ai:1e3,api:3e3},colors:{bg:"bg-sky-900",text:"text-sky-900"},cta:{text:`Get started with ${e}`,shortText:`Get ${e}`,href:"https://app.dub.co/register",color:"bg-sky-900 hover:bg-sky-800 hover:ring-sky-100"},featureTitle:"Everything in Pro, plus:",features:[{id:"clicks",text:`${b(i)} tracked clicks/mo`},{id:"links",text:`${Intl.NumberFormat("en-US").format(o)} new links/mo`},{id:"sales",text:`${h(n/100)} tracked sales/mo`,footnote:{title:"Use Dub Conversions to track how your link clicks are converting to signups and sales. Limits are based on the total sale amount tracked within a given month.",cta:"Learn more.",href:"https://dub.co/help/article/dub-conversions"}},{id:"retention",text:"3-year analytics retention"},{id:"domains",text:`${a} domains`},{id:"users",text:`${l} users`},{id:"events",text:"Real-time events stream",footnote:{title:"Get more data on your link clicks and QR code scans with a detailed, real-time stream of events in your workspace",cta:"Learn more.",href:"https://d.to/events"}},{id:"webhooks",text:"Event webhooks (beta)",footnote:{title:"Get notified when a link is clicked or a QR code is scanned using webhooks.",cta:"Learn more.",href:"https://d.to/webhooks"}}]}),s=[{name:"Free",tagline:"For hobbyists and individuals looking to manage their links",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,domains:3,tags:5,users:1,ai:10,api:60},colors:{bg:"bg-black",text:"text-black"},cta:{text:"Start for free",href:"https://app.dub.co/register",color:"bg-white hover:bg-gray-50 border border-gray-200 hover:ring-gray-100 text-neutral-800"},featureTitle:"What's included:",features:[{id:"clicks",text:"1K tracked clicks/mo"},{id:"links",text:"25 new links/mo"},{id:"retention",text:"30-day analytics retention"},{id:"domains",text:"3 domains"},{id:"user",text:"1 user"},{id:"analytics",text:"Advanced analytics",footnote:{title:"Get location (country, city, continent), device (type, browser, OS), and referer data on your clicks.",cta:"Learn more.",href:"https://dub.co/help/article/dub-analytics"}},{id:"ai",text:"10 AI credits/mo"},{id:"basic-support",text:"Basic support"},{id:"api",text:"API Access",footnote:{title:"Programatically manage your links using our REST API.",cta:"Learn more.",href:"https://dub.co/docs/api-reference/introduction"}}]},{name:"Pro",tagline:"For content creators or small teams needing advanced features",link:"https://dub.co/help/article/pro-plan",price:{monthly:24,yearly:19,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ","price_1OTcQBAlJJEpqkPViGtGEsbb","price_1OYJeBAlJJEpqkPVLjTsjX0E","price_1OTcQBAlJJEpqkPVYlCMqdLL","price_1OYJeBAlJJEpqkPVnPGEZeb0"]},limits:{links:1e3,clicks:5e4,domains:10,tags:25,users:5,ai:1e3,api:600},colors:{bg:"bg-blue-500",text:"text-blue-500"},cta:{text:"Get started with Pro",shortText:"Get Pro",href:"https://app.dub.co/register",color:"bg-black hover:bg-neutral-800 hover:ring-gray-200"},featureTitle:"Everything in Free, plus:",features:[{id:"clicks",text:"50K tracked clicks/mo"},{id:"links",text:"1,000 new links/mo"},{id:"retention",text:"1-year analytics retention"},{id:"domains",text:"10 domains"},{id:"users",text:"5 users"},{id:"link-features",text:"Advanced link features",footnote:"Custom social media cards, password-protected links, link expiration, link cloaking, device targeting, geo targeting etc."},{id:"ai",text:"Unlimited AI credits",footnote:{title:"Subject to fair use policy \u2013 you will be notified if you exceed the limit, which are high enough for frequent usage.",cta:"Learn more.",href:"https://dub.co/blog/introducing-dub-ai"}},{id:"priority-support",text:"Priority support"},{id:"dublink",text:"Premium dub.link domain",footnote:{title:"Stand out from the crowd with a premium dub.link domain.",cta:"Learn more.",href:"https://dub.co/help/article/default-dub-domains#premium-dublink-domain"}},{id:"dotlink",text:"Free custom domain",footnote:{title:"All our paid plans come with a free .link custom domain, which helps improve click-through rates.",cta:"Learn more.",href:"https://dub.co/help/article/free-dot-link-domain"}}]},p({name:"Business",monthly:59,yearly:49,links:5e3,clicks:15e4,sales:5e5,domains:40,users:15,ids:["price_1LodLoAlJJEpqkPV9rD0rlNL","price_1LodLoAlJJEpqkPVJdwv5zrG","price_1OZgmnAlJJEpqkPVOj4kV64R","price_1OzNlmAlJJEpqkPV7s9HXNAC","price_1OzNmXAlJJEpqkPVYO89lTdx","price_1OzOFIAlJJEpqkPVJxzc9irl","price_1OzOXMAlJJEpqkPV9ERrjjbw"]}),p({name:"Business Plus",monthly:119,yearly:99,links:15e3,clicks:4e5,sales:15e5,domains:100,users:30,ids:["price_1OnWu0AlJJEpqkPVWk4144ZG","price_1OnWu0AlJJEpqkPVkDWVriAB","price_1OnaK3AlJJEpqkPVaCfCPdHi","price_1OzObrAlJJEpqkPVh6D9HWGO"]}),p({name:"Business Extra",monthly:249,yearly:199,links:4e4,clicks:1e6,sales:4e6,domains:250,users:50,ids:["price_1OnWvCAlJJEpqkPVLzLHx5QD","price_1OnWvCAlJJEpqkPVHhCCvIOq","price_1OnaKJAlJJEpqkPVeJSvPfJb","price_1OzOg1AlJJEpqkPVPlsrxoWm"]}),p({name:"Business Max",monthly:499,yearly:399,links:1e5,clicks:25e5,sales:1e7,domains:500,users:100,ids:["price_1OnWwLAlJJEpqkPVXtJyPqLk","price_1OnWwLAlJJEpqkPV4eMbOkNh","price_1OnaKOAlJJEpqkPVV6gkZPgt","price_1OzOh5AlJJEpqkPVtCSX7dlE"]}),{name:"Enterprise",tagline:"For large organizations and governments with custom needs",link:"https://dub.co/enterprise",price:{monthly:null,yearly:null},limits:{links:25e4,clicks:5e6,domains:1e3,tags:1e3,users:500,ai:1e4,api:1e4},colors:{bg:"bg-violet-600",text:"text-violet-600"},cta:{text:"Contact us",href:"/enterprise",color:"bg-white hover:bg-gray-50 border border-gray-200 hover:ring-gray-100 text-neutral-800"},featureTitle:"Everything in Business, plus:",features:[{id:"sso",text:"SSO/SAML"},{id:"roles",text:"Role-based controls"},{id:"volume",text:"Volume discounts"},{id:"sla",text:"Custom SLA"},{id:"logs",text:"Audit logs"},{id:"success",text:"Dedicated success manager"}]}],y=s.find(e=>e.name==="Free"),P=s.find(e=>e.name==="Pro"),_=s.find(e=>e.name==="Business"),J=s.find(e=>e.name==="Enterprise"),Ee=[y,P,_,J],L=s.filter(e=>e.name!=="Free"&&e.name!=="Enterprise"),Ae=2,_e=e=>s.find(t=>{var r;return(r=t.price.ids)==null?void 0:r.includes(e)})||null,Je=e=>L.find(t=>t.name.toLowerCase()===e.toLowerCase()),Le=e=>s.find(t=>t.name.toLowerCase()===e.toLowerCase())||y,we=e=>e?s[s.findIndex(t=>t.name.toLowerCase()===e.toLowerCase())+1]:P;function Ze({title:e=`${process.env.NEXT_PUBLIC_APP_NAME} - Link Management for Modern Marketing Teams`,description:t=`${process.env.NEXT_PUBLIC_APP_NAME} is the open-source link management platform for modern marketing teams to create marketing campaigns, link sharing features, and referral programs.`,image:r="https://assets.dub.co/thumbnail.jpg",video:o,icons:i=[{rel:"apple-touch-icon",sizes:"32x32",url:"https://assets.dub.co/favicons/apple-touch-icon.png"},{rel:"icon",type:"image/png",sizes:"32x32",url:"https://assets.dub.co/favicons/favicon-32x32.png"},{rel:"icon",type:"image/png",sizes:"16x16",url:"https://assets.dub.co/favicons/favicon-16x16.png"}],canonicalUrl:n,noIndex:a=!1}={}){return{title:e,description:t,openGraph:{title:e,description:t,...r&&{images:r},...o&&{videos:o}},twitter:{title:e,description:t,...r&&{card:"summary_large_image",images:[r]},...o&&{player:o},creator:"@dubdotco"},icons:i,metadataBase:new URL(g),...n&&{alternates:{canonical:n}},...a&&{robots:{index:!1,follow:!1}}}}export{Ze as a,S as b,N as c,V as d,q as e,C as f,I as g,R as h,D as i,M as j,s as k,y as l,P as m,_ as n,J as o,Ee as p,L as q,Ae as r,_e as s,Je as t,Le as u,we as v};
@@ -6,7 +6,7 @@ export { COUNTRY_PHONE_CODES } from './country-phone-codes.js';
6
6
  export { SECOND_LEVEL_DOMAINS, SPECIAL_APEX_DOMAINS } from './domains.js';
7
7
  export { DUB_DEMO_LINKS, DUB_DOMAINS, DUB_DOMAINS_ARRAY } from './dub-domains.js';
8
8
  export { FRAMER_MOTION_LIST_ITEM_VARIANTS, STAGGER_CHILD_VARIANTS, TAB_ITEM_ANIMATION_SETTINGS } from './framer-motion.js';
9
- export { SHOPIFY_INTEGRATION_ID, SLACK_INTEGRATION_ID, STRIPE_INTEGRATION_ID } from './integrations.js';
9
+ export { SEGMENT_INTEGRATION_ID, SHOPIFY_INTEGRATION_ID, SLACK_INTEGRATION_ID, STRIPE_INTEGRATION_ID, ZAPIER_INTEGRATION_ID } from './integrations.js';
10
10
  export { ALL_TOOLS } from './layout.js';
11
11
  export { LOCALHOST_GEO_DATA, LOCALHOST_IP } from './localhost.js';
12
12
  export { ACME_WORKSPACE_ID, ADMIN_HOSTNAMES, API_DOMAIN, API_HOSTNAMES, APP_DOMAIN, APP_DOMAIN_WITH_NGROK, APP_HOSTNAMES, APP_NAME, DUB_LOGO, DUB_QR_LOGO, DUB_THUMBNAIL, DUB_WORDMARK, DUB_WORKSPACE_ID, HOME_DOMAIN, LEGAL_USER_ID, LEGAL_WORKSPACE_ID, PARTNERS_DOMAIN, PARTNERS_HOSTNAMES, R2_URL, SHORT_DOMAIN } from './main.js';
@@ -1 +1 @@
1
- import{k as _,l as $,m as aa,n as ba,o as ca,p as da,q as ea,r as fa,s as ga,t as ha,u as ia,v as ja}from"../chunk-3RD3IOTU.mjs";import"../chunk-E2ABVYOV.mjs";import"../chunk-EHUYHMHD.mjs";import"../chunk-IHX4EDUF.mjs";import"../chunk-RONJDARA.mjs";import"../chunk-Y37NQHZ4.mjs";import"../chunk-PPEZOXLP.mjs";import"../chunk-FKLXONKR.mjs";import"../chunk-NQP6WK7A.mjs";import"../chunk-MPU6JRPV.mjs";import"../chunk-E3EM6ARH.mjs";import"../chunk-A4HY7E7C.mjs";import"../chunk-NZ4UYKAT.mjs";import"../chunk-AO4D6N4P.mjs";import"../chunk-GGIZK3EO.mjs";import"../chunk-OWYWG4M6.mjs";import"../chunk-NWFCCRLG.mjs";import"../chunk-GRUKVCIY.mjs";import"../chunk-J7REM3DA.mjs";import"../chunk-MJIUYLFC.mjs";import"../chunk-ZECUYKGD.mjs";import"../chunk-EMO4MGOU.mjs";import"../chunk-LWCRLX5G.mjs";import"../chunk-F4P6WJV7.mjs";import{a as ka,b as la}from"../chunk-KQ4NF54J.mjs";import{a as ma}from"../chunk-NJFS24XJ.mjs";import"../chunk-ORB6LTBV.mjs";import"../chunk-PMOQSSOL.mjs";import"../chunk-2OJAP233.mjs";import"../chunk-NEIHTFSW.mjs";import"../chunk-HJD7AJT4.mjs";import{a as H,b as I,c as J}from"../chunk-L3IOBXLP.mjs";import{a as K,b as L,c as M}from"../chunk-MOGVVNDO.mjs";import{a as N}from"../chunk-DEYKYCG4.mjs";import{a as O,b as P}from"../chunk-2OGPCKQX.mjs";import{a as Q,b as R,c as S}from"../chunk-NZI3GX7M.mjs";import{a as T,b as U,c as V,d as W,e as X,f as Y,g as Z}from"../chunk-Q4LGL37L.mjs";import{a}from"../chunk-YUMUNL66.mjs";import{a as b}from"../chunk-VSPMXVQS.mjs";import{a as c,b as d}from"../chunk-MH5LZNIE.mjs";import{a as e,b as f,c as g}from"../chunk-6YGW3G46.mjs";import{a as h}from"../chunk-CELI6EJU.mjs";import{a as i,b as j}from"../chunk-SYT2IXG6.mjs";import{a as E,b as F,c as G}from"../chunk-L43FE253.mjs";import{a as k,b as l,c as m,d as n,e as o,f as p,g as q,h as r,i as s,j as t,k as u,l as v,m as w,n as x,o as y,p as z,q as A,r as B,s as C,t as D}from"../chunk-2WKZENUE.mjs";export{A as ACME_WORKSPACE_ID,s as ADMIN_HOSTNAMES,N as ALL_TOOLS,r as API_DOMAIN,q as API_HOSTNAMES,o as APP_DOMAIN,p as APP_DOMAIN_WITH_NGROK,n as APP_HOSTNAMES,k as APP_NAME,ba as BUSINESS_PLAN,b as CONNECT_SUPPORTED_COUNTRIES,c as CONTINENTS,d as CONTINENT_CODES,e as COUNTRIES,f as COUNTRY_CODES,h as COUNTRY_PHONE_CODES,T as DEFAULT_LINK_PROPS,Q as DEFAULT_REDIRECTS,V as DICEBEAR_AVATAR_URL,G as DUB_DEMO_LINKS,E as DUB_DOMAINS,F as DUB_DOMAINS_ARRAY,Y as DUB_FOUNDING_DATE,R as DUB_HEADERS,v as DUB_LOGO,w as DUB_QR_LOGO,y as DUB_THUMBNAIL,x as DUB_WORDMARK,z as DUB_WORKSPACE_ID,ca as ENTERPRISE_PLAN,g as EU_COUNTRY_CODES,H as FRAMER_MOTION_LIST_ITEM_VARIANTS,$ as FREE_PLAN,fa as FREE_WORKSPACES_LIMIT,U as GOOGLE_FAVICON_URL,m as HOME_DOMAIN,Z as INFINITY_NUMBER,C as LEGAL_USER_ID,B as LEGAL_WORKSPACE_ID,O as LOCALHOST_GEO_DATA,P as LOCALHOST_IP,W as PAGINATION_LIMIT,t as PARTNERS_DOMAIN,u as PARTNERS_HOSTNAMES,_ as PLANS,aa as PRO_PLAN,da as PUBLIC_PLANS,D as R2_URL,S as REDIRECTION_QUERY_PARAM,ka as REGIONS,la as REGION_CODES,ma as SAML_PROVIDERS,i as SECOND_LEVEL_DOMAINS,ea as SELF_SERVE_PAID_PLANS,M as SHOPIFY_INTEGRATION_ID,l as SHORT_DOMAIN,K as SLACK_INTEGRATION_ID,j as SPECIAL_APEX_DOMAINS,I as STAGGER_CHILD_VARIANTS,L as STRIPE_INTEGRATION_ID,J as TAB_ITEM_ANIMATION_SETTINGS,X as TWO_WEEKS_IN_SECONDS,a as ccTLDs,ia as getCurrentPlan,ja as getNextPlan,ha as getPlanDetails,ga as getPlanFromPriceId};
1
+ import{k as aa,l as ba,m as ca,n as da,o as ea,p as fa,q as ga,r as ha,s as ia,t as ja,u as ka,v as la}from"../chunk-VTKJUG4N.mjs";import"../chunk-E3EM6ARH.mjs";import"../chunk-E2ABVYOV.mjs";import"../chunk-GRUKVCIY.mjs";import"../chunk-EHUYHMHD.mjs";import"../chunk-IHX4EDUF.mjs";import"../chunk-RONJDARA.mjs";import"../chunk-Y37NQHZ4.mjs";import"../chunk-PPEZOXLP.mjs";import"../chunk-FKLXONKR.mjs";import"../chunk-NQP6WK7A.mjs";import"../chunk-MPU6JRPV.mjs";import"../chunk-A4HY7E7C.mjs";import"../chunk-NZ4UYKAT.mjs";import"../chunk-AO4D6N4P.mjs";import"../chunk-GGIZK3EO.mjs";import"../chunk-OWYWG4M6.mjs";import"../chunk-NWFCCRLG.mjs";import"../chunk-J7REM3DA.mjs";import"../chunk-MJIUYLFC.mjs";import"../chunk-ZECUYKGD.mjs";import"../chunk-EMO4MGOU.mjs";import"../chunk-LWCRLX5G.mjs";import"../chunk-E5KCWRHJ.mjs";import"../chunk-F4P6WJV7.mjs";import{a as ma,b as na}from"../chunk-KQ4NF54J.mjs";import{a as oa}from"../chunk-NJFS24XJ.mjs";import"../chunk-ORB6LTBV.mjs";import"../chunk-PMOQSSOL.mjs";import"../chunk-2OJAP233.mjs";import"../chunk-NEIHTFSW.mjs";import"../chunk-HJD7AJT4.mjs";import{a as H,b as I,c as J}from"../chunk-L3IOBXLP.mjs";import{a as K,b as L,c as M,d as N,e as O}from"../chunk-YICE6QF7.mjs";import{a as P}from"../chunk-DEYKYCG4.mjs";import{a as Q,b as R}from"../chunk-2OGPCKQX.mjs";import{a as S,b as T,c as U}from"../chunk-NZI3GX7M.mjs";import{a as V,b as W,c as X,d as Y,e as Z,f as _,g as $}from"../chunk-Q4LGL37L.mjs";import{a}from"../chunk-YUMUNL66.mjs";import{a as b}from"../chunk-VSPMXVQS.mjs";import{a as c,b as d}from"../chunk-MH5LZNIE.mjs";import{a as e,b as f,c as g}from"../chunk-6YGW3G46.mjs";import{a as h}from"../chunk-CELI6EJU.mjs";import{a as i,b as j}from"../chunk-SYT2IXG6.mjs";import{a as E,b as F,c as G}from"../chunk-L43FE253.mjs";import{a as k,b as l,c as m,d as n,e as o,f as p,g as q,h as r,i as s,j as t,k as u,l as v,m as w,n as x,o as y,p as z,q as A,r as B,s as C,t as D}from"../chunk-2WKZENUE.mjs";export{A as ACME_WORKSPACE_ID,s as ADMIN_HOSTNAMES,P as ALL_TOOLS,r as API_DOMAIN,q as API_HOSTNAMES,o as APP_DOMAIN,p as APP_DOMAIN_WITH_NGROK,n as APP_HOSTNAMES,k as APP_NAME,da as BUSINESS_PLAN,b as CONNECT_SUPPORTED_COUNTRIES,c as CONTINENTS,d as CONTINENT_CODES,e as COUNTRIES,f as COUNTRY_CODES,h as COUNTRY_PHONE_CODES,V as DEFAULT_LINK_PROPS,S as DEFAULT_REDIRECTS,X as DICEBEAR_AVATAR_URL,G as DUB_DEMO_LINKS,E as DUB_DOMAINS,F as DUB_DOMAINS_ARRAY,_ as DUB_FOUNDING_DATE,T as DUB_HEADERS,v as DUB_LOGO,w as DUB_QR_LOGO,y as DUB_THUMBNAIL,x as DUB_WORDMARK,z as DUB_WORKSPACE_ID,ea as ENTERPRISE_PLAN,g as EU_COUNTRY_CODES,H as FRAMER_MOTION_LIST_ITEM_VARIANTS,ba as FREE_PLAN,ha as FREE_WORKSPACES_LIMIT,W as GOOGLE_FAVICON_URL,m as HOME_DOMAIN,$ as INFINITY_NUMBER,C as LEGAL_USER_ID,B as LEGAL_WORKSPACE_ID,Q as LOCALHOST_GEO_DATA,R as LOCALHOST_IP,Y as PAGINATION_LIMIT,t as PARTNERS_DOMAIN,u as PARTNERS_HOSTNAMES,aa as PLANS,ca as PRO_PLAN,fa as PUBLIC_PLANS,D as R2_URL,U as REDIRECTION_QUERY_PARAM,ma as REGIONS,na as REGION_CODES,oa as SAML_PROVIDERS,i as SECOND_LEVEL_DOMAINS,M as SEGMENT_INTEGRATION_ID,ga as SELF_SERVE_PAID_PLANS,O as SHOPIFY_INTEGRATION_ID,l as SHORT_DOMAIN,K as SLACK_INTEGRATION_ID,j as SPECIAL_APEX_DOMAINS,I as STAGGER_CHILD_VARIANTS,L as STRIPE_INTEGRATION_ID,J as TAB_ITEM_ANIMATION_SETTINGS,Z as TWO_WEEKS_IN_SECONDS,N as ZAPIER_INTEGRATION_ID,a as ccTLDs,ka as getCurrentPlan,la as getNextPlan,ja as getPlanDetails,ia as getPlanFromPriceId};
@@ -1,5 +1,7 @@
1
1
  declare const SLACK_INTEGRATION_ID = "clzu59rx9000110bm5fnlzwuj";
2
2
  declare const STRIPE_INTEGRATION_ID = "clzra1ya60001wnj4a89zcg9h";
3
+ declare const SEGMENT_INTEGRATION_ID = "int_zGnSElTzimbz20OWnXerPoKv";
4
+ declare const ZAPIER_INTEGRATION_ID = "clzlmz336000fjeqynwhfv8vo";
3
5
  declare const SHOPIFY_INTEGRATION_ID = "int_iWOtrZgmcyU6XDwKr4AYYqLN";
4
6
 
5
- export { SHOPIFY_INTEGRATION_ID, SLACK_INTEGRATION_ID, STRIPE_INTEGRATION_ID };
7
+ export { SEGMENT_INTEGRATION_ID, SHOPIFY_INTEGRATION_ID, SLACK_INTEGRATION_ID, STRIPE_INTEGRATION_ID, ZAPIER_INTEGRATION_ID };
@@ -1 +1 @@
1
- import{a,b,c}from"../chunk-MOGVVNDO.mjs";export{c as SHOPIFY_INTEGRATION_ID,a as SLACK_INTEGRATION_ID,b as STRIPE_INTEGRATION_ID};
1
+ import{a,b,c,d,e}from"../chunk-YICE6QF7.mjs";export{c as SEGMENT_INTEGRATION_ID,e as SHOPIFY_INTEGRATION_ID,a as SLACK_INTEGRATION_ID,b as STRIPE_INTEGRATION_ID,d as ZAPIER_INTEGRATION_ID};
@@ -1 +1 @@
1
- import{a}from"../chunk-3RD3IOTU.mjs";import"../chunk-E2ABVYOV.mjs";import"../chunk-EHUYHMHD.mjs";import"../chunk-IHX4EDUF.mjs";import"../chunk-RONJDARA.mjs";import"../chunk-Y37NQHZ4.mjs";import"../chunk-PPEZOXLP.mjs";import"../chunk-FKLXONKR.mjs";import"../chunk-NQP6WK7A.mjs";import"../chunk-MPU6JRPV.mjs";import"../chunk-E3EM6ARH.mjs";import"../chunk-A4HY7E7C.mjs";import"../chunk-NZ4UYKAT.mjs";import"../chunk-AO4D6N4P.mjs";import"../chunk-GGIZK3EO.mjs";import"../chunk-OWYWG4M6.mjs";import"../chunk-NWFCCRLG.mjs";import"../chunk-GRUKVCIY.mjs";import"../chunk-J7REM3DA.mjs";import"../chunk-MJIUYLFC.mjs";import"../chunk-ZECUYKGD.mjs";import"../chunk-EMO4MGOU.mjs";import"../chunk-LWCRLX5G.mjs";import"../chunk-F4P6WJV7.mjs";import"../chunk-KQ4NF54J.mjs";import"../chunk-NJFS24XJ.mjs";import"../chunk-ORB6LTBV.mjs";import"../chunk-PMOQSSOL.mjs";import"../chunk-2OJAP233.mjs";import"../chunk-NEIHTFSW.mjs";import"../chunk-HJD7AJT4.mjs";import"../chunk-L3IOBXLP.mjs";import"../chunk-MOGVVNDO.mjs";import"../chunk-DEYKYCG4.mjs";import"../chunk-2OGPCKQX.mjs";import"../chunk-NZI3GX7M.mjs";import"../chunk-Q4LGL37L.mjs";import"../chunk-YUMUNL66.mjs";import"../chunk-VSPMXVQS.mjs";import"../chunk-MH5LZNIE.mjs";import"../chunk-6YGW3G46.mjs";import"../chunk-CELI6EJU.mjs";import"../chunk-SYT2IXG6.mjs";import"../chunk-L43FE253.mjs";import"../chunk-2WKZENUE.mjs";export{a as constructMetadata};
1
+ import{a}from"../chunk-VTKJUG4N.mjs";import"../chunk-E3EM6ARH.mjs";import"../chunk-E2ABVYOV.mjs";import"../chunk-GRUKVCIY.mjs";import"../chunk-EHUYHMHD.mjs";import"../chunk-IHX4EDUF.mjs";import"../chunk-RONJDARA.mjs";import"../chunk-Y37NQHZ4.mjs";import"../chunk-PPEZOXLP.mjs";import"../chunk-FKLXONKR.mjs";import"../chunk-NQP6WK7A.mjs";import"../chunk-MPU6JRPV.mjs";import"../chunk-A4HY7E7C.mjs";import"../chunk-NZ4UYKAT.mjs";import"../chunk-AO4D6N4P.mjs";import"../chunk-GGIZK3EO.mjs";import"../chunk-OWYWG4M6.mjs";import"../chunk-NWFCCRLG.mjs";import"../chunk-J7REM3DA.mjs";import"../chunk-MJIUYLFC.mjs";import"../chunk-ZECUYKGD.mjs";import"../chunk-EMO4MGOU.mjs";import"../chunk-LWCRLX5G.mjs";import"../chunk-E5KCWRHJ.mjs";import"../chunk-F4P6WJV7.mjs";import"../chunk-KQ4NF54J.mjs";import"../chunk-NJFS24XJ.mjs";import"../chunk-ORB6LTBV.mjs";import"../chunk-PMOQSSOL.mjs";import"../chunk-2OJAP233.mjs";import"../chunk-NEIHTFSW.mjs";import"../chunk-HJD7AJT4.mjs";import"../chunk-L3IOBXLP.mjs";import"../chunk-YICE6QF7.mjs";import"../chunk-DEYKYCG4.mjs";import"../chunk-2OGPCKQX.mjs";import"../chunk-NZI3GX7M.mjs";import"../chunk-Q4LGL37L.mjs";import"../chunk-YUMUNL66.mjs";import"../chunk-VSPMXVQS.mjs";import"../chunk-MH5LZNIE.mjs";import"../chunk-6YGW3G46.mjs";import"../chunk-CELI6EJU.mjs";import"../chunk-SYT2IXG6.mjs";import"../chunk-L43FE253.mjs";import"../chunk-2WKZENUE.mjs";export{a as constructMetadata};
@@ -1 +1 @@
1
- import{b as a,c as b,d as c,e as d,f as e,g as f,h as g}from"../chunk-3RD3IOTU.mjs";import"../chunk-E2ABVYOV.mjs";import"../chunk-EHUYHMHD.mjs";import"../chunk-IHX4EDUF.mjs";import"../chunk-RONJDARA.mjs";import"../chunk-Y37NQHZ4.mjs";import"../chunk-PPEZOXLP.mjs";import"../chunk-FKLXONKR.mjs";import"../chunk-NQP6WK7A.mjs";import"../chunk-MPU6JRPV.mjs";import"../chunk-E3EM6ARH.mjs";import"../chunk-A4HY7E7C.mjs";import"../chunk-NZ4UYKAT.mjs";import"../chunk-AO4D6N4P.mjs";import"../chunk-GGIZK3EO.mjs";import"../chunk-OWYWG4M6.mjs";import"../chunk-NWFCCRLG.mjs";import"../chunk-GRUKVCIY.mjs";import"../chunk-J7REM3DA.mjs";import"../chunk-MJIUYLFC.mjs";import"../chunk-ZECUYKGD.mjs";import"../chunk-EMO4MGOU.mjs";import"../chunk-LWCRLX5G.mjs";import"../chunk-F4P6WJV7.mjs";import"../chunk-KQ4NF54J.mjs";import"../chunk-NJFS24XJ.mjs";import"../chunk-ORB6LTBV.mjs";import"../chunk-PMOQSSOL.mjs";import"../chunk-2OJAP233.mjs";import"../chunk-NEIHTFSW.mjs";import"../chunk-HJD7AJT4.mjs";import"../chunk-L3IOBXLP.mjs";import"../chunk-MOGVVNDO.mjs";import"../chunk-DEYKYCG4.mjs";import"../chunk-2OGPCKQX.mjs";import"../chunk-NZI3GX7M.mjs";import"../chunk-Q4LGL37L.mjs";import"../chunk-YUMUNL66.mjs";import"../chunk-VSPMXVQS.mjs";import"../chunk-MH5LZNIE.mjs";import"../chunk-6YGW3G46.mjs";import"../chunk-CELI6EJU.mjs";import"../chunk-SYT2IXG6.mjs";import"../chunk-L43FE253.mjs";import"../chunk-2WKZENUE.mjs";export{a as generateDomainFromName,e as getApexDomain,f as getDomainWithoutWWW,d as getSubdomain,g as isDubDomain,b as validDomainRegex,c as validSlugRegex};
1
+ import{b as a,c as b,d as c,e as d,f as e,g as f,h as g}from"../chunk-VTKJUG4N.mjs";import"../chunk-E3EM6ARH.mjs";import"../chunk-E2ABVYOV.mjs";import"../chunk-GRUKVCIY.mjs";import"../chunk-EHUYHMHD.mjs";import"../chunk-IHX4EDUF.mjs";import"../chunk-RONJDARA.mjs";import"../chunk-Y37NQHZ4.mjs";import"../chunk-PPEZOXLP.mjs";import"../chunk-FKLXONKR.mjs";import"../chunk-NQP6WK7A.mjs";import"../chunk-MPU6JRPV.mjs";import"../chunk-A4HY7E7C.mjs";import"../chunk-NZ4UYKAT.mjs";import"../chunk-AO4D6N4P.mjs";import"../chunk-GGIZK3EO.mjs";import"../chunk-OWYWG4M6.mjs";import"../chunk-NWFCCRLG.mjs";import"../chunk-J7REM3DA.mjs";import"../chunk-MJIUYLFC.mjs";import"../chunk-ZECUYKGD.mjs";import"../chunk-EMO4MGOU.mjs";import"../chunk-LWCRLX5G.mjs";import"../chunk-E5KCWRHJ.mjs";import"../chunk-F4P6WJV7.mjs";import"../chunk-KQ4NF54J.mjs";import"../chunk-NJFS24XJ.mjs";import"../chunk-ORB6LTBV.mjs";import"../chunk-PMOQSSOL.mjs";import"../chunk-2OJAP233.mjs";import"../chunk-NEIHTFSW.mjs";import"../chunk-HJD7AJT4.mjs";import"../chunk-L3IOBXLP.mjs";import"../chunk-YICE6QF7.mjs";import"../chunk-DEYKYCG4.mjs";import"../chunk-2OGPCKQX.mjs";import"../chunk-NZI3GX7M.mjs";import"../chunk-Q4LGL37L.mjs";import"../chunk-YUMUNL66.mjs";import"../chunk-VSPMXVQS.mjs";import"../chunk-MH5LZNIE.mjs";import"../chunk-6YGW3G46.mjs";import"../chunk-CELI6EJU.mjs";import"../chunk-SYT2IXG6.mjs";import"../chunk-L43FE253.mjs";import"../chunk-2WKZENUE.mjs";export{a as generateDomainFromName,e as getApexDomain,f as getDomainWithoutWWW,d as getSubdomain,g as isDubDomain,b as validDomainRegex,c as validSlugRegex};
@@ -0,0 +1,3 @@
1
+ declare function generateRandomString(length: number): string;
2
+
3
+ export { generateRandomString };
@@ -0,0 +1 @@
1
+ import{a}from"../chunk-E5KCWRHJ.mjs";export{a as generateRandomString};
@@ -10,6 +10,7 @@ export { deepEqual } from './deep-equal.js';
10
10
  export { generateDomainFromName, getApexDomain, getDomainWithoutWWW, getSubdomain, isDubDomain, validDomainRegex, validSlugRegex } from './domains.js';
11
11
  export { fetchWithTimeout } from './fetch-with-timeout.js';
12
12
  export { fetcher } from './fetcher.js';
13
+ export { generateRandomString } from './generate-random-string.js';
13
14
  export { hashStringSHA256 } from './hash-string.js';
14
15
  export { isClickOnInteractiveChild } from './is-click-on-interactive-child.js';
15
16
  export { isIframeable } from './is-iframeable.js';
@@ -1 +1 @@
1
- import{a as f,b as D,c as E,d as F,e as G,f as H,g as I,h as J,i as S,j as T}from"../chunk-3RD3IOTU.mjs";import{a as r,b as s,c as t,d as u,e as v,f as w,g as x,h as y,i as z,j as A,k as B,l as C}from"../chunk-E2ABVYOV.mjs";import{a as Y}from"../chunk-EHUYHMHD.mjs";import{a as Z,b as _}from"../chunk-IHX4EDUF.mjs";import{a as $}from"../chunk-RONJDARA.mjs";import{a as aa}from"../chunk-Y37NQHZ4.mjs";import{a as ca}from"../chunk-PPEZOXLP.mjs";import{a as ba}from"../chunk-FKLXONKR.mjs";import{a as da}from"../chunk-NQP6WK7A.mjs";import{a as ea}from"../chunk-MPU6JRPV.mjs";import{a as fa}from"../chunk-E3EM6ARH.mjs";import{a as N}from"../chunk-A4HY7E7C.mjs";import{a as O}from"../chunk-NZ4UYKAT.mjs";import{a as P,b as Q,c as R}from"../chunk-AO4D6N4P.mjs";import{a as U}from"../chunk-GGIZK3EO.mjs";import{a as V}from"../chunk-OWYWG4M6.mjs";import{a as W}from"../chunk-NWFCCRLG.mjs";import{a as X}from"../chunk-GRUKVCIY.mjs";import{a as g}from"../chunk-J7REM3DA.mjs";import{a as h,b as i,c as j,d as k,e as l,f as m,g as n,h as o,i as p}from"../chunk-MJIUYLFC.mjs";import{a as q}from"../chunk-ZECUYKGD.mjs";import{a as K}from"../chunk-EMO4MGOU.mjs";import{a as L}from"../chunk-LWCRLX5G.mjs";import{a as M}from"../chunk-F4P6WJV7.mjs";import"../chunk-KQ4NF54J.mjs";import"../chunk-NJFS24XJ.mjs";import{a}from"../chunk-ORB6LTBV.mjs";import{a as b}from"../chunk-PMOQSSOL.mjs";import{a as c}from"../chunk-2OJAP233.mjs";import{a as d}from"../chunk-NEIHTFSW.mjs";import{a as e}from"../chunk-HJD7AJT4.mjs";import"../chunk-L3IOBXLP.mjs";import"../chunk-MOGVVNDO.mjs";import"../chunk-DEYKYCG4.mjs";import"../chunk-2OGPCKQX.mjs";import"../chunk-NZI3GX7M.mjs";import"../chunk-Q4LGL37L.mjs";import"../chunk-YUMUNL66.mjs";import"../chunk-VSPMXVQS.mjs";import"../chunk-MH5LZNIE.mjs";import"../chunk-6YGW3G46.mjs";import"../chunk-CELI6EJU.mjs";import"../chunk-SYT2IXG6.mjs";import"../chunk-L43FE253.mjs";import"../chunk-2WKZENUE.mjs";export{x as UTMTags,b as capitalize,c as chunk,d as cn,e as combineWords,f as constructMetadata,y as constructURLFromUTMParams,C as createHref,g as currencyFormatter,q as deepEqual,K as fetchWithTimeout,L as fetcher,j as formatDate,k as formatDateTime,D as generateDomainFromName,o as getAdjustedBillingCycleStart,H as getApexDomain,p as getBillingStartDate,h as getDateTimeLocal,l as getDaysDifference,I as getDomainWithoutWWW,m as getFirstAndLastDay,n as getLastDayOfMonth,w as getParamsFromURL,B as getPrettyUrl,u as getSearchParams,v as getSearchParamsWithArray,G as getSubdomain,s as getUrlFromString,t as getUrlFromStringIfValid,A as getUrlWithoutUTMParams,M as hashStringSHA256,N as isClickOnInteractiveChild,J as isDubDomain,O as isIframeable,R as isReservedKeyGlobal,Q as isUnsupportedKey,r as isValidUrl,S as linkConstructor,T as linkConstructorSimple,U as log,W as nFormatter,V as nanoid,X as normalizeString,z as paramsMetadata,i as parseDateTime,Y as pluralize,_ as punyEncode,Z as punycode,$ as randomValue,aa as resizeImage,ca as smartTruncate,da as stableSort,ea as timeAgo,a as toCamelCase,fa as trim,ba as truncate,E as validDomainRegex,P as validKeyRegex,F as validSlugRegex};
1
+ import{a as f,b as D,c as E,d as F,e as G,f as H,g as I,h as J,i as T,j as U}from"../chunk-VTKJUG4N.mjs";import{a as ga}from"../chunk-E3EM6ARH.mjs";import{a as r,b as s,c as t,d as u,e as v,f as w,g as x,h as y,i as z,j as A,k as B,l as C}from"../chunk-E2ABVYOV.mjs";import{a as Y}from"../chunk-GRUKVCIY.mjs";import{a as Z}from"../chunk-EHUYHMHD.mjs";import{a as _,b as $}from"../chunk-IHX4EDUF.mjs";import{a as aa}from"../chunk-RONJDARA.mjs";import{a as ba}from"../chunk-Y37NQHZ4.mjs";import{a as da}from"../chunk-PPEZOXLP.mjs";import{a as ca}from"../chunk-FKLXONKR.mjs";import{a as ea}from"../chunk-NQP6WK7A.mjs";import{a as fa}from"../chunk-MPU6JRPV.mjs";import{a as O}from"../chunk-A4HY7E7C.mjs";import{a as P}from"../chunk-NZ4UYKAT.mjs";import{a as Q,b as R,c as S}from"../chunk-AO4D6N4P.mjs";import{a as V}from"../chunk-GGIZK3EO.mjs";import{a as W}from"../chunk-OWYWG4M6.mjs";import{a as X}from"../chunk-NWFCCRLG.mjs";import{a as g}from"../chunk-J7REM3DA.mjs";import{a as h,b as i,c as j,d as k,e as l,f as m,g as n,h as o,i as p}from"../chunk-MJIUYLFC.mjs";import{a as q}from"../chunk-ZECUYKGD.mjs";import{a as K}from"../chunk-EMO4MGOU.mjs";import{a as L}from"../chunk-LWCRLX5G.mjs";import{a as M}from"../chunk-E5KCWRHJ.mjs";import{a as N}from"../chunk-F4P6WJV7.mjs";import"../chunk-KQ4NF54J.mjs";import"../chunk-NJFS24XJ.mjs";import{a}from"../chunk-ORB6LTBV.mjs";import{a as b}from"../chunk-PMOQSSOL.mjs";import{a as c}from"../chunk-2OJAP233.mjs";import{a as d}from"../chunk-NEIHTFSW.mjs";import{a as e}from"../chunk-HJD7AJT4.mjs";import"../chunk-L3IOBXLP.mjs";import"../chunk-YICE6QF7.mjs";import"../chunk-DEYKYCG4.mjs";import"../chunk-2OGPCKQX.mjs";import"../chunk-NZI3GX7M.mjs";import"../chunk-Q4LGL37L.mjs";import"../chunk-YUMUNL66.mjs";import"../chunk-VSPMXVQS.mjs";import"../chunk-MH5LZNIE.mjs";import"../chunk-6YGW3G46.mjs";import"../chunk-CELI6EJU.mjs";import"../chunk-SYT2IXG6.mjs";import"../chunk-L43FE253.mjs";import"../chunk-2WKZENUE.mjs";export{x as UTMTags,b as capitalize,c as chunk,d as cn,e as combineWords,f as constructMetadata,y as constructURLFromUTMParams,C as createHref,g as currencyFormatter,q as deepEqual,K as fetchWithTimeout,L as fetcher,j as formatDate,k as formatDateTime,D as generateDomainFromName,M as generateRandomString,o as getAdjustedBillingCycleStart,H as getApexDomain,p as getBillingStartDate,h as getDateTimeLocal,l as getDaysDifference,I as getDomainWithoutWWW,m as getFirstAndLastDay,n as getLastDayOfMonth,w as getParamsFromURL,B as getPrettyUrl,u as getSearchParams,v as getSearchParamsWithArray,G as getSubdomain,s as getUrlFromString,t as getUrlFromStringIfValid,A as getUrlWithoutUTMParams,N as hashStringSHA256,O as isClickOnInteractiveChild,J as isDubDomain,P as isIframeable,S as isReservedKeyGlobal,R as isUnsupportedKey,r as isValidUrl,T as linkConstructor,U as linkConstructorSimple,V as log,X as nFormatter,W as nanoid,Y as normalizeString,z as paramsMetadata,i as parseDateTime,Z as pluralize,$ as punyEncode,_ as punycode,aa as randomValue,ba as resizeImage,da as smartTruncate,ea as stableSort,fa as timeAgo,a as toCamelCase,ga as trim,ca as truncate,E as validDomainRegex,Q as validKeyRegex,F as validSlugRegex};
@@ -1 +1 @@
1
- import{i as a,j as b}from"../chunk-3RD3IOTU.mjs";import"../chunk-E2ABVYOV.mjs";import"../chunk-EHUYHMHD.mjs";import"../chunk-IHX4EDUF.mjs";import"../chunk-RONJDARA.mjs";import"../chunk-Y37NQHZ4.mjs";import"../chunk-PPEZOXLP.mjs";import"../chunk-FKLXONKR.mjs";import"../chunk-NQP6WK7A.mjs";import"../chunk-MPU6JRPV.mjs";import"../chunk-E3EM6ARH.mjs";import"../chunk-A4HY7E7C.mjs";import"../chunk-NZ4UYKAT.mjs";import"../chunk-AO4D6N4P.mjs";import"../chunk-GGIZK3EO.mjs";import"../chunk-OWYWG4M6.mjs";import"../chunk-NWFCCRLG.mjs";import"../chunk-GRUKVCIY.mjs";import"../chunk-J7REM3DA.mjs";import"../chunk-MJIUYLFC.mjs";import"../chunk-ZECUYKGD.mjs";import"../chunk-EMO4MGOU.mjs";import"../chunk-LWCRLX5G.mjs";import"../chunk-F4P6WJV7.mjs";import"../chunk-KQ4NF54J.mjs";import"../chunk-NJFS24XJ.mjs";import"../chunk-ORB6LTBV.mjs";import"../chunk-PMOQSSOL.mjs";import"../chunk-2OJAP233.mjs";import"../chunk-NEIHTFSW.mjs";import"../chunk-HJD7AJT4.mjs";import"../chunk-L3IOBXLP.mjs";import"../chunk-MOGVVNDO.mjs";import"../chunk-DEYKYCG4.mjs";import"../chunk-2OGPCKQX.mjs";import"../chunk-NZI3GX7M.mjs";import"../chunk-Q4LGL37L.mjs";import"../chunk-YUMUNL66.mjs";import"../chunk-VSPMXVQS.mjs";import"../chunk-MH5LZNIE.mjs";import"../chunk-6YGW3G46.mjs";import"../chunk-CELI6EJU.mjs";import"../chunk-SYT2IXG6.mjs";import"../chunk-L43FE253.mjs";import"../chunk-2WKZENUE.mjs";export{a as linkConstructor,b as linkConstructorSimple};
1
+ import{i as a,j as b}from"../chunk-VTKJUG4N.mjs";import"../chunk-E3EM6ARH.mjs";import"../chunk-E2ABVYOV.mjs";import"../chunk-GRUKVCIY.mjs";import"../chunk-EHUYHMHD.mjs";import"../chunk-IHX4EDUF.mjs";import"../chunk-RONJDARA.mjs";import"../chunk-Y37NQHZ4.mjs";import"../chunk-PPEZOXLP.mjs";import"../chunk-FKLXONKR.mjs";import"../chunk-NQP6WK7A.mjs";import"../chunk-MPU6JRPV.mjs";import"../chunk-A4HY7E7C.mjs";import"../chunk-NZ4UYKAT.mjs";import"../chunk-AO4D6N4P.mjs";import"../chunk-GGIZK3EO.mjs";import"../chunk-OWYWG4M6.mjs";import"../chunk-NWFCCRLG.mjs";import"../chunk-J7REM3DA.mjs";import"../chunk-MJIUYLFC.mjs";import"../chunk-ZECUYKGD.mjs";import"../chunk-EMO4MGOU.mjs";import"../chunk-LWCRLX5G.mjs";import"../chunk-E5KCWRHJ.mjs";import"../chunk-F4P6WJV7.mjs";import"../chunk-KQ4NF54J.mjs";import"../chunk-NJFS24XJ.mjs";import"../chunk-ORB6LTBV.mjs";import"../chunk-PMOQSSOL.mjs";import"../chunk-2OJAP233.mjs";import"../chunk-NEIHTFSW.mjs";import"../chunk-HJD7AJT4.mjs";import"../chunk-L3IOBXLP.mjs";import"../chunk-YICE6QF7.mjs";import"../chunk-DEYKYCG4.mjs";import"../chunk-2OGPCKQX.mjs";import"../chunk-NZI3GX7M.mjs";import"../chunk-Q4LGL37L.mjs";import"../chunk-YUMUNL66.mjs";import"../chunk-VSPMXVQS.mjs";import"../chunk-MH5LZNIE.mjs";import"../chunk-6YGW3G46.mjs";import"../chunk-CELI6EJU.mjs";import"../chunk-SYT2IXG6.mjs";import"../chunk-L43FE253.mjs";import"../chunk-2WKZENUE.mjs";export{a as linkConstructor,b as linkConstructorSimple};
@@ -0,0 +1,3 @@
1
+ declare function generateRandomString(length: number): string;
2
+
3
+ export { generateRandomString as g };
package/dist/index.d.ts CHANGED
@@ -6,7 +6,7 @@ export { COUNTRY_PHONE_CODES } from './constants/country-phone-codes.js';
6
6
  export { SECOND_LEVEL_DOMAINS, SPECIAL_APEX_DOMAINS } from './constants/domains.js';
7
7
  export { DUB_DEMO_LINKS, DUB_DOMAINS, DUB_DOMAINS_ARRAY } from './constants/dub-domains.js';
8
8
  export { FRAMER_MOTION_LIST_ITEM_VARIANTS, STAGGER_CHILD_VARIANTS, TAB_ITEM_ANIMATION_SETTINGS } from './constants/framer-motion.js';
9
- export { SHOPIFY_INTEGRATION_ID, SLACK_INTEGRATION_ID, STRIPE_INTEGRATION_ID } from './constants/integrations.js';
9
+ export { SEGMENT_INTEGRATION_ID, SHOPIFY_INTEGRATION_ID, SLACK_INTEGRATION_ID, STRIPE_INTEGRATION_ID, ZAPIER_INTEGRATION_ID } from './constants/integrations.js';
10
10
  export { ALL_TOOLS } from './constants/layout.js';
11
11
  export { LOCALHOST_GEO_DATA, LOCALHOST_IP } from './constants/localhost.js';
12
12
  export { ACME_WORKSPACE_ID, ADMIN_HOSTNAMES, API_DOMAIN, API_HOSTNAMES, APP_DOMAIN, APP_DOMAIN_WITH_NGROK, APP_HOSTNAMES, APP_NAME, DUB_LOGO, DUB_QR_LOGO, DUB_THUMBNAIL, DUB_WORDMARK, DUB_WORKSPACE_ID, HOME_DOMAIN, LEGAL_USER_ID, LEGAL_WORKSPACE_ID, PARTNERS_DOMAIN, PARTNERS_HOSTNAMES, R2_URL, SHORT_DOMAIN } from './constants/main.js';
@@ -27,6 +27,7 @@ export { deepEqual } from './functions/deep-equal.js';
27
27
  export { generateDomainFromName, getApexDomain, getDomainWithoutWWW, getSubdomain, isDubDomain, validDomainRegex, validSlugRegex } from './functions/domains.js';
28
28
  export { fetchWithTimeout } from './functions/fetch-with-timeout.js';
29
29
  export { fetcher } from './functions/fetcher.js';
30
+ export { generateRandomString } from './functions/generate-random-string.js';
30
31
  export { hashStringSHA256 } from './functions/hash-string.js';
31
32
  export { isClickOnInteractiveChild } from './functions/is-click-on-interactive-child.js';
32
33
  export { isIframeable } from './functions/is-iframeable.js';
package/dist/index.mjs CHANGED
@@ -1 +1 @@
1
- import{a as fo,b as Co,c as Do,d as Eo,e as Fo,f as Go,g as Ho,h as Io,i as Ro,j as So,k as pr,l as tr,m as xr,n as ar,o as br,p as cr,q as dr,r as gr,s as hr,t as ir,u as jr,v as kr}from"./chunk-3RD3IOTU.mjs";import{a as ko,b as lo,c as no,d as qo,e as so,f as uo,g as vo,h as wo,i as yo,j as zo,k as Ao,l as Bo}from"./chunk-E2ABVYOV.mjs";import{a as Xo}from"./chunk-EHUYHMHD.mjs";import{a as Yo,b as Zo}from"./chunk-IHX4EDUF.mjs";import{a as _o}from"./chunk-RONJDARA.mjs";import{a as $o}from"./chunk-Y37NQHZ4.mjs";import{a as rr}from"./chunk-PPEZOXLP.mjs";import{a as or}from"./chunk-FKLXONKR.mjs";import{a as er}from"./chunk-NQP6WK7A.mjs";import{a as fr}from"./chunk-MPU6JRPV.mjs";import{a as mr}from"./chunk-E3EM6ARH.mjs";import{a as Mo}from"./chunk-A4HY7E7C.mjs";import{a as No}from"./chunk-NZ4UYKAT.mjs";import{a as Oo,b as Po,c as Qo}from"./chunk-AO4D6N4P.mjs";import{a as To}from"./chunk-GGIZK3EO.mjs";import{a as Uo}from"./chunk-OWYWG4M6.mjs";import{a as Vo}from"./chunk-NWFCCRLG.mjs";import{a as Wo}from"./chunk-GRUKVCIY.mjs";import{a as mo}from"./chunk-J7REM3DA.mjs";import{a as po,b as to,c as xo,d as ao,e as bo,f as co,g as go,h as ho,i as io}from"./chunk-MJIUYLFC.mjs";import{a as jo}from"./chunk-ZECUYKGD.mjs";import{a as Jo}from"./chunk-EMO4MGOU.mjs";import{a as Ko}from"./chunk-LWCRLX5G.mjs";import{a as Lo}from"./chunk-F4P6WJV7.mjs";import{a as lr,b as nr}from"./chunk-KQ4NF54J.mjs";import{a as qr}from"./chunk-NJFS24XJ.mjs";import{a as _}from"./chunk-ORB6LTBV.mjs";import{a as $}from"./chunk-PMOQSSOL.mjs";import{a as oo}from"./chunk-2OJAP233.mjs";import{a as ro}from"./chunk-NEIHTFSW.mjs";import{a as eo}from"./chunk-HJD7AJT4.mjs";import{a as H,b as I,c as J}from"./chunk-L3IOBXLP.mjs";import{a as K,b as L,c as M}from"./chunk-MOGVVNDO.mjs";import{a as N}from"./chunk-DEYKYCG4.mjs";import{a as O,b as P}from"./chunk-2OGPCKQX.mjs";import{a as Q,b as R,c as S}from"./chunk-NZI3GX7M.mjs";import{a as T,b as U,c as V,d as W,e as X,f as Y,g as Z}from"./chunk-Q4LGL37L.mjs";import{a as o}from"./chunk-YUMUNL66.mjs";import{a as r}from"./chunk-VSPMXVQS.mjs";import{a as e,b as f}from"./chunk-MH5LZNIE.mjs";import{a as m,b as p,c as t}from"./chunk-6YGW3G46.mjs";import{a as x}from"./chunk-CELI6EJU.mjs";import{a,b}from"./chunk-SYT2IXG6.mjs";import{a as E,b as F,c as G}from"./chunk-L43FE253.mjs";import{a as c,b as d,c as g,d as h,e as i,f as j,g as k,h as l,i as n,j as q,k as s,l as u,m as v,n as w,o as y,p as z,q as A,r as B,s as C,t as D}from"./chunk-2WKZENUE.mjs";export{A as ACME_WORKSPACE_ID,n as ADMIN_HOSTNAMES,N as ALL_TOOLS,l as API_DOMAIN,k as API_HOSTNAMES,i as APP_DOMAIN,j as APP_DOMAIN_WITH_NGROK,h as APP_HOSTNAMES,c as APP_NAME,ar as BUSINESS_PLAN,r as CONNECT_SUPPORTED_COUNTRIES,e as CONTINENTS,f as CONTINENT_CODES,m as COUNTRIES,p as COUNTRY_CODES,x as COUNTRY_PHONE_CODES,T as DEFAULT_LINK_PROPS,Q as DEFAULT_REDIRECTS,V as DICEBEAR_AVATAR_URL,G as DUB_DEMO_LINKS,E as DUB_DOMAINS,F as DUB_DOMAINS_ARRAY,Y as DUB_FOUNDING_DATE,R as DUB_HEADERS,u as DUB_LOGO,v as DUB_QR_LOGO,y as DUB_THUMBNAIL,w as DUB_WORDMARK,z as DUB_WORKSPACE_ID,br as ENTERPRISE_PLAN,t as EU_COUNTRY_CODES,H as FRAMER_MOTION_LIST_ITEM_VARIANTS,tr as FREE_PLAN,gr as FREE_WORKSPACES_LIMIT,U as GOOGLE_FAVICON_URL,g as HOME_DOMAIN,Z as INFINITY_NUMBER,C as LEGAL_USER_ID,B as LEGAL_WORKSPACE_ID,O as LOCALHOST_GEO_DATA,P as LOCALHOST_IP,W as PAGINATION_LIMIT,q as PARTNERS_DOMAIN,s as PARTNERS_HOSTNAMES,pr as PLANS,xr as PRO_PLAN,cr as PUBLIC_PLANS,D as R2_URL,S as REDIRECTION_QUERY_PARAM,lr as REGIONS,nr as REGION_CODES,qr as SAML_PROVIDERS,a as SECOND_LEVEL_DOMAINS,dr as SELF_SERVE_PAID_PLANS,M as SHOPIFY_INTEGRATION_ID,d as SHORT_DOMAIN,K as SLACK_INTEGRATION_ID,b as SPECIAL_APEX_DOMAINS,I as STAGGER_CHILD_VARIANTS,L as STRIPE_INTEGRATION_ID,J as TAB_ITEM_ANIMATION_SETTINGS,X as TWO_WEEKS_IN_SECONDS,vo as UTMTags,$ as capitalize,o as ccTLDs,oo as chunk,ro as cn,eo as combineWords,fo as constructMetadata,wo as constructURLFromUTMParams,Bo as createHref,mo as currencyFormatter,jo as deepEqual,Jo as fetchWithTimeout,Ko as fetcher,xo as formatDate,ao as formatDateTime,Co as generateDomainFromName,ho as getAdjustedBillingCycleStart,Go as getApexDomain,io as getBillingStartDate,jr as getCurrentPlan,po as getDateTimeLocal,bo as getDaysDifference,Ho as getDomainWithoutWWW,co as getFirstAndLastDay,go as getLastDayOfMonth,kr as getNextPlan,uo as getParamsFromURL,ir as getPlanDetails,hr as getPlanFromPriceId,Ao as getPrettyUrl,qo as getSearchParams,so as getSearchParamsWithArray,Fo as getSubdomain,lo as getUrlFromString,no as getUrlFromStringIfValid,zo as getUrlWithoutUTMParams,Lo as hashStringSHA256,Mo as isClickOnInteractiveChild,Io as isDubDomain,No as isIframeable,Qo as isReservedKeyGlobal,Po as isUnsupportedKey,ko as isValidUrl,Ro as linkConstructor,So as linkConstructorSimple,To as log,Vo as nFormatter,Uo as nanoid,Wo as normalizeString,yo as paramsMetadata,to as parseDateTime,Xo as pluralize,Zo as punyEncode,Yo as punycode,_o as randomValue,$o as resizeImage,rr as smartTruncate,er as stableSort,fr as timeAgo,_ as toCamelCase,mr as trim,or as truncate,Do as validDomainRegex,Oo as validKeyRegex,Eo as validSlugRegex};
1
+ import{a as po,b as Eo,c as Fo,d as Go,e as Ho,f as Io,g as Jo,h as Ko,i as Uo,j as Vo,k as ar,l as br,m as cr,n as dr,o as gr,p as hr,q as ir,r as jr,s as kr,t as lr,u as nr,v as qr}from"./chunk-VTKJUG4N.mjs";import{a as xr}from"./chunk-E3EM6ARH.mjs";import{a as no,b as qo,c as so,d as uo,e as vo,f as wo,g as yo,h as zo,i as Ao,j as Bo,k as Co,l as Do}from"./chunk-E2ABVYOV.mjs";import{a as Zo}from"./chunk-GRUKVCIY.mjs";import{a as _o}from"./chunk-EHUYHMHD.mjs";import{a as $o,b as or}from"./chunk-IHX4EDUF.mjs";import{a as rr}from"./chunk-RONJDARA.mjs";import{a as er}from"./chunk-Y37NQHZ4.mjs";import{a as mr}from"./chunk-PPEZOXLP.mjs";import{a as fr}from"./chunk-FKLXONKR.mjs";import{a as pr}from"./chunk-NQP6WK7A.mjs";import{a as tr}from"./chunk-MPU6JRPV.mjs";import{a as Po}from"./chunk-A4HY7E7C.mjs";import{a as Qo}from"./chunk-NZ4UYKAT.mjs";import{a as Ro,b as So,c as To}from"./chunk-AO4D6N4P.mjs";import{a as Wo}from"./chunk-GGIZK3EO.mjs";import{a as Xo}from"./chunk-OWYWG4M6.mjs";import{a as Yo}from"./chunk-NWFCCRLG.mjs";import{a as to}from"./chunk-J7REM3DA.mjs";import{a as xo,b as ao,c as bo,d as co,e as go,f as ho,g as io,h as jo,i as ko}from"./chunk-MJIUYLFC.mjs";import{a as lo}from"./chunk-ZECUYKGD.mjs";import{a as Lo}from"./chunk-EMO4MGOU.mjs";import{a as Mo}from"./chunk-LWCRLX5G.mjs";import{a as No}from"./chunk-E5KCWRHJ.mjs";import{a as Oo}from"./chunk-F4P6WJV7.mjs";import{a as sr,b as ur}from"./chunk-KQ4NF54J.mjs";import{a as vr}from"./chunk-NJFS24XJ.mjs";import{a as oo}from"./chunk-ORB6LTBV.mjs";import{a as ro}from"./chunk-PMOQSSOL.mjs";import{a as eo}from"./chunk-2OJAP233.mjs";import{a as fo}from"./chunk-NEIHTFSW.mjs";import{a as mo}from"./chunk-HJD7AJT4.mjs";import{a as H,b as I,c as J}from"./chunk-L3IOBXLP.mjs";import{a as K,b as L,c as M,d as N,e as O}from"./chunk-YICE6QF7.mjs";import{a as P}from"./chunk-DEYKYCG4.mjs";import{a as Q,b as R}from"./chunk-2OGPCKQX.mjs";import{a as S,b as T,c as U}from"./chunk-NZI3GX7M.mjs";import{a as V,b as W,c as X,d as Y,e as Z,f as _,g as $}from"./chunk-Q4LGL37L.mjs";import{a as o}from"./chunk-YUMUNL66.mjs";import{a as r}from"./chunk-VSPMXVQS.mjs";import{a as e,b as f}from"./chunk-MH5LZNIE.mjs";import{a as m,b as p,c as t}from"./chunk-6YGW3G46.mjs";import{a as x}from"./chunk-CELI6EJU.mjs";import{a,b}from"./chunk-SYT2IXG6.mjs";import{a as E,b as F,c as G}from"./chunk-L43FE253.mjs";import{a as c,b as d,c as g,d as h,e as i,f as j,g as k,h as l,i as n,j as q,k as s,l as u,m as v,n as w,o as y,p as z,q as A,r as B,s as C,t as D}from"./chunk-2WKZENUE.mjs";export{A as ACME_WORKSPACE_ID,n as ADMIN_HOSTNAMES,P as ALL_TOOLS,l as API_DOMAIN,k as API_HOSTNAMES,i as APP_DOMAIN,j as APP_DOMAIN_WITH_NGROK,h as APP_HOSTNAMES,c as APP_NAME,dr as BUSINESS_PLAN,r as CONNECT_SUPPORTED_COUNTRIES,e as CONTINENTS,f as CONTINENT_CODES,m as COUNTRIES,p as COUNTRY_CODES,x as COUNTRY_PHONE_CODES,V as DEFAULT_LINK_PROPS,S as DEFAULT_REDIRECTS,X as DICEBEAR_AVATAR_URL,G as DUB_DEMO_LINKS,E as DUB_DOMAINS,F as DUB_DOMAINS_ARRAY,_ as DUB_FOUNDING_DATE,T as DUB_HEADERS,u as DUB_LOGO,v as DUB_QR_LOGO,y as DUB_THUMBNAIL,w as DUB_WORDMARK,z as DUB_WORKSPACE_ID,gr as ENTERPRISE_PLAN,t as EU_COUNTRY_CODES,H as FRAMER_MOTION_LIST_ITEM_VARIANTS,br as FREE_PLAN,jr as FREE_WORKSPACES_LIMIT,W as GOOGLE_FAVICON_URL,g as HOME_DOMAIN,$ as INFINITY_NUMBER,C as LEGAL_USER_ID,B as LEGAL_WORKSPACE_ID,Q as LOCALHOST_GEO_DATA,R as LOCALHOST_IP,Y as PAGINATION_LIMIT,q as PARTNERS_DOMAIN,s as PARTNERS_HOSTNAMES,ar as PLANS,cr as PRO_PLAN,hr as PUBLIC_PLANS,D as R2_URL,U as REDIRECTION_QUERY_PARAM,sr as REGIONS,ur as REGION_CODES,vr as SAML_PROVIDERS,a as SECOND_LEVEL_DOMAINS,M as SEGMENT_INTEGRATION_ID,ir as SELF_SERVE_PAID_PLANS,O as SHOPIFY_INTEGRATION_ID,d as SHORT_DOMAIN,K as SLACK_INTEGRATION_ID,b as SPECIAL_APEX_DOMAINS,I as STAGGER_CHILD_VARIANTS,L as STRIPE_INTEGRATION_ID,J as TAB_ITEM_ANIMATION_SETTINGS,Z as TWO_WEEKS_IN_SECONDS,yo as UTMTags,N as ZAPIER_INTEGRATION_ID,ro as capitalize,o as ccTLDs,eo as chunk,fo as cn,mo as combineWords,po as constructMetadata,zo as constructURLFromUTMParams,Do as createHref,to as currencyFormatter,lo as deepEqual,Lo as fetchWithTimeout,Mo as fetcher,bo as formatDate,co as formatDateTime,Eo as generateDomainFromName,No as generateRandomString,jo as getAdjustedBillingCycleStart,Io as getApexDomain,ko as getBillingStartDate,nr as getCurrentPlan,xo as getDateTimeLocal,go as getDaysDifference,Jo as getDomainWithoutWWW,ho as getFirstAndLastDay,io as getLastDayOfMonth,qr as getNextPlan,wo as getParamsFromURL,lr as getPlanDetails,kr as getPlanFromPriceId,Co as getPrettyUrl,uo as getSearchParams,vo as getSearchParamsWithArray,Ho as getSubdomain,qo as getUrlFromString,so as getUrlFromStringIfValid,Bo as getUrlWithoutUTMParams,Oo as hashStringSHA256,Po as isClickOnInteractiveChild,Ko as isDubDomain,Qo as isIframeable,To as isReservedKeyGlobal,So as isUnsupportedKey,no as isValidUrl,Uo as linkConstructor,Vo as linkConstructorSimple,Wo as log,Yo as nFormatter,Xo as nanoid,Zo as normalizeString,Ao as paramsMetadata,ao as parseDateTime,_o as pluralize,or as punyEncode,$o as punycode,rr as randomValue,er as resizeImage,mr as smartTruncate,pr as stableSort,tr as timeAgo,oo as toCamelCase,xr as trim,fr as truncate,Fo as validDomainRegex,Ro as validKeyRegex,Go as validSlugRegex};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dub/utils",
3
3
  "description": "Utility functions and constants for Dub.co",
4
- "version": "0.1.14",
4
+ "version": "0.1.15",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/index.mjs",
7
7
  "module": "./dist/index.mjs",