@dub/utils 0.1.33 → 0.1.34

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}from"./chunk-H4ELSETA.mjs";import{a as r}from"./chunk-YUMUNL66.mjs";import{a as o,b as l}from"./chunk-SYT2IXG6.mjs";import{a as c}from"./chunk-N72TTVUG.mjs";import u from"@sindresorhus/slugify";var f=t=>{let e=u(t,{separator:""});if(e.length<3)return"";if(r.has(e.slice(-2)))return`${e.slice(0,-2)}.${e.slice(-2)}`;let n=e.replace(/[aeiou]/g,"");return n.length>=3&&r.has(n.slice(-2))?`${n.slice(0,-2)}.${n.slice(-2)}`:`${[e,n].reduce((i,s)=>i.length<s.length?i:s)}.link`},w=new RegExp(/^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/),A=new RegExp(/^[a-zA-Z0-9\-]+$/),D=(t,e)=>t===e?null:t.slice(0,t.length-e.length-1),x=t=>{let e;try{e=new URL(t.replace(/^[a-zA-Z]+:\/\//,"https://")).hostname}catch{return""}if(e==="youtu.be")return"youtube.com";let n=e.split(".");return n.length>2?o.has(n[n.length-2])&&r.has(n[n.length-1])||l.has(n.slice(-2).join("."))?n.slice(-3).join("."):n.slice(-2).join("."):e},d=t=>{if(a(t))return new URL(t).hostname.replace(/^www\./,"");try{if(t.includes(".")&&!t.includes(" "))return new URL(`https://${t}`).hostname.replace(/^www\./,"")}catch{return null}},S=t=>c.some(e=>e.slug===t);export{f as a,w as b,A as c,D as d,x as e,d as f,S as g};
@@ -0,0 +1 @@
1
+ import{a as o,b as l}from"./chunk-SYT2IXG6.mjs";import{a as c}from"./chunk-N72TTVUG.mjs";import{a}from"./chunk-H4ELSETA.mjs";import{a as r}from"./chunk-YUMUNL66.mjs";import u from"@sindresorhus/slugify";var f=t=>{let e=u(t,{separator:""});if(e.length<3)return"";if(r.has(e.slice(-2)))return`${e.slice(0,-2)}.${e.slice(-2)}`;let n=e.replace(/[aeiou]/g,"");return n.length>=3&&r.has(n.slice(-2))?`${n.slice(0,-2)}.${n.slice(-2)}`:`${[e,n].reduce((i,s)=>i.length<s.length?i:s)}.link`},w=new RegExp(/^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/),A=new RegExp(/^[a-zA-Z0-9\-]+$/),D=(t,e)=>t===e?null:t.slice(0,t.length-e.length-1),x=t=>{let e;try{e=new URL(t.replace(/^[a-zA-Z]+:\/\//,"https://")).hostname}catch{return""}if(e==="youtu.be")return"youtube.com";let n=e.split(".");return n.length>2?o.has(n[n.length-2])&&r.has(n[n.length-1])||l.has(n.slice(-2).join("."))?n.slice(-3).join("."):n.slice(-2).join("."):e},d=t=>{if(a(t))return new URL(t).hostname.replace(/^www\./,"");try{if(t.includes(".")&&!t.includes(" "))return new URL(`https://${t}`).hostname.replace(/^www\./,"")}catch{return null}},S=t=>c.some(e=>e.slug===t);export{f as a,w as b,A as c,D as d,x as e,d as f,S as g};
@@ -0,0 +1 @@
1
+ async function f(l,c,w={}){let{timeout:m=5e3,maxRetries:o=10,retryDelay:n=1e3}=w,a=null;for(let t=0;t<o;t++){let i=new AbortController,u=setTimeout(()=>{i.abort()},m);try{let r=await fetch(l,{...c,signal:i.signal});if(clearTimeout(u),r.ok)return r;if(r.status===429||r.status>=500){let e=n+Math.pow(t,2)*50;await new Promise(s=>setTimeout(s,e));continue}if(r.status===403)throw new Error("Unauthorized");if(!r.ok){let e;try{e=(await r.json()).error||`HTTP error ${r.status}`}catch{e=`HTTP error ${r.status}`}throw new Error(e)}}catch(r){if(clearTimeout(u),a=r instanceof Error?r:new Error(String(r)),t===o-1)throw new Error(`Failed after ${o} retries. Last error: ${a.message}`);let e=n+Math.pow(t,2)*50;await new Promise(s=>setTimeout(s,e))}}throw new Error(`Failed after ${o} retries`)}export{f as a};
@@ -0,0 +1 @@
1
+ import{a}from"./chunk-H4ELSETA.mjs";import{a as r}from"./chunk-YUMUNL66.mjs";import{a as o,b as l}from"./chunk-SYT2IXG6.mjs";import{a as c}from"./chunk-XID7WUKM.mjs";import u from"@sindresorhus/slugify";var f=t=>{let e=u(t,{separator:""});if(e.length<3)return"";if(r.has(e.slice(-2)))return`${e.slice(0,-2)}.${e.slice(-2)}`;let n=e.replace(/[aeiou]/g,"");return n.length>=3&&r.has(n.slice(-2))?`${n.slice(0,-2)}.${n.slice(-2)}`:`${[e,n].reduce((i,s)=>i.length<s.length?i:s)}.link`},w=new RegExp(/^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/),A=new RegExp(/^[a-zA-Z0-9\-]+$/),D=(t,e)=>t===e?null:t.slice(0,t.length-e.length-1),x=t=>{let e;try{e=new URL(t.replace(/^[a-zA-Z]+:\/\//,"https://")).hostname}catch{return""}if(e==="youtu.be")return"youtube.com";let n=e.split(".");return n.length>2?o.has(n[n.length-2])&&r.has(n[n.length-1])||l.has(n.slice(-2).join("."))?n.slice(-3).join("."):n.slice(-2).join("."):e},d=t=>{if(a(t))return new URL(t).hostname.replace(/^www\./,"");try{if(t.includes(".")&&!t.includes(" "))return new URL(`https://${t}`).hostname.replace(/^www\./,"")}catch{return null}},S=t=>c.some(e=>e.slug===t);export{f as a,w as b,A as c,D as d,x as e,d as f,S as g};
@@ -0,0 +1 @@
1
+ import{a}from"./chunk-NWFCCRLG.mjs";import{g as n}from"./chunk-QQHB6G47.mjs";import{Fragment as r,jsx as t,jsxs as i}from"react/jsx-runtime";var k=[{category:"Links",href:"https://dub.co/links",features:[{text:()=>i(r,{children:[t("strong",{children:"Unlimited"})," clicks"]})},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.links)})," ","new links",e.name==="Enterprise"?"":"/mo"]})},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.tags===n?"Unlimited":a(e.limits.tags)})," ","tags"]}),href:"https://dub.co/help/article/how-to-use-tags"},{check:{free:!1,default:!0},text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.folders===n?"Unlimited":a(e.limits.folders)})," ","folders"]})},{text:"Custom QR codes",href:"https://dub.co/help/article/custom-qr-codes"},{text:"UTM builder + templates",href:"https://dub.co/help/article/how-to-create-utm-templates"},{check:{free:!1,default:!0},text:"Custom link previews",href:"https://dub.co/help/article/custom-link-previews"},{check:{free:!1,default:!0},text:"Deep links",href:"https://dub.co/help/article/custom-domain-deep-links"},{check:{free:!1,default:!0},text:"Link cloaking",href:"https://dub.co/help/article/link-cloaking"},{check:{free:!1,default:!0},text:"Link expiration",href:"https://dub.co/help/article/link-expiration"},{check:{free:!1,default:!0},text:"Password protection",href:"https://dub.co/help/article/password-protected-links"},{check:{free:!1,default:!0},text:"Device targeting",href:"https://dub.co/help/article/device-targeting"},{check:{free:!1,default:!0},text:"Geo targeting",href:"https://dub.co/help/article/geo-targeting"},{check:{free:!1,pro:!1,default:!0},text:"A/B testing"}]},{category:"Analytics",href:"https://dub.co/analytics",features:[{text:"Advanced analytics",href:"https://dub.co/help/article/dub-analytics"},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.clicks)})," ","tracked clicks",e.name==="Enterprise"?"":"/mo"]}),href:"https://dub.co/help/article/dub-analytics-limits"},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.retention})," retention"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Conversion tracking",href:"https://dub.co/help/article/dub-conversions"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Customer insights",href:"https://dub.co/help/article/customer-insights"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Real-time events stream",href:"https://dub.co/help/article/real-time-events-stream"}]},{category:"Partners",href:"https://dub.co/partners",features:[{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Partner management",href:"https://dub.co/partners"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:({id:e,plan:s})=>e==="free"||e==="pro"?"No tracked sales":i(r,{children:[t("strong",{children:s.name==="Enterprise"?"Unlimited":`$${a(s.limits.sales/100)}`})," ","tracked sales",s.name==="Enterprise"?"":"/mo"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"1-click global payouts",href:"https://dub.co/help/article/partner-payouts"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:({id:e})=>e==="free"||e==="pro"?"No payouts":i(r,{children:[t("strong",{children:{business:"7%",advanced:"5%",enterprise:"3%"}[e]})," ","payout fees"]}),href:"https://dub.co/help/article/partner-payouts#payout-fees-and-timing"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Tax compliance",href:"https://dub.co/help/article/partner-payouts#tax-compliance"},{check:{default:!1,business:!1,advanced:!0,enterprise:!0},text:"White-labeling support",href:"https://dub.co/docs/partners/white-labeling"},{check:{default:!1,business:!1,advanced:!0,enterprise:!0},text:"Branded email domains"}]},{category:"Domains",href:"https://dub.co/help/category/custom-domains",features:[{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.domains,{full:!0})})," ","custom domains"]})},{text:()=>t(r,{children:"SSL certificates"})},{check:{default:!0,free:!1},text:()=>i(r,{children:["Premium ",t("strong",{children:"dub.link"})," domain"]}),href:"https://dub.co/help/article/default-dub-domains#premium-dublink-domain"},{check:{default:!0,free:!1},text:()=>i(r,{children:["Free ",t("strong",{children:".link"})," domain"]}),href:"https://dub.co/help/article/free-dot-link-domain"}]},{category:"API",href:"https://dub.co/docs/api-reference/introduction",features:[{text:"API Access",href:"https://dub.co/docs/api-reference/introduction"},{text:"Native SDKs",href:"https://dub.co/docs/sdks/overview"},{text:({id:e,plan:s})=>i(r,{children:[t("strong",{children:e==="enterprise"?"Custom":a(s.limits.api,{full:!0})+"/min"})," ","rate limit"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Event webhooks",href:"https://dub.co/docs/concepts/webhooks/introduction"}]},{category:"Workspace",href:"https://dub.co/help/category/workspaces",features:[{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.users)})," ","user",e.limits.users===1?"":"s"]})},{check:{default:!1,advanced:!0,enterprise:!0},text:"Role-based access control"},{check:{default:!1,enterprise:!0},text:"SAML/SSO",href:"https://dub.co/help/category/saml-sso"},{check:{default:!1,enterprise:!0},text:"Custom SLA"},{check:{default:!1,enterprise:!0},text:"Audit logs"}]},{category:"Support",href:"https://dub.co/contact/support",features:[{text:({id:e})=>t(r,{children:t("strong",{children:{free:"Basic support",pro:"Elevated support",business:"Priority support",advanced:"Priority via Slack",enterprise:"Priority with SLA"}[e]})})},{check:{default:!1,enterprise:!0},text:()=>i(r,{children:[t("strong",{children:"Dedicated"})," success manager"]})}]}];var o=[{name:"Free",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,sales:0,domains:3,tags:5,folders:0,users:1,ai:10,api:60,retention:"30-day"}},{name:"Pro",link:"https://dub.co/help/article/pro-plan",price:{monthly:30,yearly:25,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ","price_1OTcQBAlJJEpqkPViGtGEsbb","price_1OYJeBAlJJEpqkPVLjTsjX0E","price_1OTcQBAlJJEpqkPVYlCMqdLL","price_1OYJeBAlJJEpqkPVnPGEZeb0","price_1R8XtyAlJJEpqkPV5WZ4c0jF","price_1R8XtEAlJJEpqkPV4opVvVPq","price_1R8XxZAlJJEpqkPVqGi0wOqD","price_1R7oeBAlJJEpqkPVh6q5q3h8"]},limits:{links:1e3,clicks:5e4,sales:0,domains:10,tags:25,folders:3,users:3,ai:1e3,api:600,retention:"1-year"},featureTitle:"Everything in Free, plus:",features:[{id:"clicks",text:"50K tracked clicks/mo"},{id:"links",text:"1K new links/mo"},{id:"retention",text:"1-year analytics retention"},{id:"domains",text:"10 domains"},{id:"users",text:"3 users"},{id:"advanced",text:"Advanced link features",tooltip:"ADVANCED_LINK_FEATURES"},{id:"ai",text:"Unlimited AI credits",tooltip:{title:"Subject to fair use policy \u2013 you will be notified if you exceed the limit, which are high enough for frequent usage.",cta:"Learn more.",href:"https://dub.co/blog/introducing-dub-ai"}},{id:"dotlink",text:"Free .link domain",tooltip:{title:"All our paid plans come with a free .link custom domain, which helps improve click-through rates.",cta:"Learn more.",href:"https://dub.co/help/article/free-dot-link-domain"}},{id:"folders",text:"Link folders",tooltip:{title:"Organize and manage access to your links on Dub using folders.",cta:"Learn more.",href:"https://dub.co/help/article/link-folders"}},{id:"deeplinks",text:"Deep links",tooltip:{title:"Redirect users to a specific page within your mobile application using deep links.",cta:"Learn more.",href:"https://dub.co//help/article/custom-domain-deep-links"}}]},{name:"Business",price:{monthly:90,yearly:75,ids:["price_1LodLoAlJJEpqkPV9rD0rlNL","price_1LodLoAlJJEpqkPVJdwv5zrG","price_1OZgmnAlJJEpqkPVOj4kV64R","price_1OzNlmAlJJEpqkPV7s9HXNAC","price_1OzNmXAlJJEpqkPVYO89lTdx","price_1OzOFIAlJJEpqkPVJxzc9irl","price_1OzOXMAlJJEpqkPV9ERrjjbw","price_1R3j01AlJJEpqkPVXuG1eNzm","price_1R6JedAlJJEpqkPVMUkfjch4","price_1R8XypAlJJEpqkPVdjzOcYUC","price_1R7ofLAlJJEpqkPV3MlgDpyx"]},limits:{links:1e4,clicks:25e4,sales:25e5,domains:100,tags:n,folders:20,users:10,ai:1e3,api:1200,retention:"3-year"},featureTitle:"Everything in Pro, plus:",features:[{id:"clicks",text:"250K tracked clicks/mo"},{id:"links",text:"10K new links/mo"},{id:"retention",text:"3-year analytics retention"},{id:"sales",text:"$25K tracked sales/mo",tooltip:{title:"Use Dub Conversions to track how your link clicks are converting to signups and sales. Limits are based on the total sale amount tracked within a given month.",cta:"Learn more.",href:"https://d.to/conversions"}},{id:"users",text:"10 users"},{id:"events",text:"Real-time events stream",tooltip:{title:"Get more data on your link clicks and QR code scans with a detailed, real-time stream of events in your workspace",cta:"Learn more.",href:"https://dub.co/help/article/real-time-events-stream"}},{id:"partners",text:"Partner management",tooltip:{title:"Use Dub Partners to manage and pay out your affiliates.",cta:"Learn more.",href:"https://dub.co/partners"}},{id:"tests",text:"A/B testing (beta)"},{id:"roles",text:"Customer insights",tooltip:{title:"Get real-time insights into your customers' behavior and preferences.",cta:"Learn more.",href:"https://dub.co/help/article/customer-insights"}},{id:"webhooks",text:"Event webhooks",tooltip:{title:"Get real-time notifications when a link is clicked or a QR code is scanned using webhooks.",cta:"Learn more.",href:"https://dub.co/docs/concepts/webhooks/introduction"}}]},{name:"Advanced",price:{monthly:300,yearly:250,ids:["price_1R8Xw4AlJJEpqkPV6nwdink9","price_1R3j0qAlJJEpqkPVkfGNXRwb","price_1R8XztAlJJEpqkPVnHmIU2tf","price_1R7ofzAlJJEpqkPV0L2TwyJo"]},limits:{links:5e4,clicks:1e6,sales:1e7,domains:250,tags:n,folders:50,users:20,ai:1e3,api:3e3,retention:"5-year"},featureTitle:"Everything in Business, plus:",features:[{id:"clicks",text:"1M tracked clicks/mo"},{id:"links",text:"50K new links/mo"},{id:"retention",text:"5-year analytics retention"},{id:"sales",text:"$100K tracked sales/mo",tooltip:{title:"Use Dub Conversions to track how your link clicks are converting to signups and sales. Limits are based on the total sale amount tracked within a given month.",cta:"Learn more.",href:"https://d.to/conversions"}},{id:"users",text:"20 users"},{id:"whitelabel",text:"White-labeling support",tooltip:{title:"Embed a white-labeled referral dashboard directly in your app in just a few lines of code.",cta:"Learn more.",href:"https://dub.co/docs/partners/white-labeling"}},{id:"volume",text:"Lower payout fees",tooltip:{title:"Lower fees associated with Partner payouts.",cta:"Learn more.",href:"https://dub.co/help/article/partner-payouts"}},{id:"email",text:"Branded email domains"},{id:"slack",text:"Priority Slack support"}]},{name:"Enterprise",price:{monthly:null,yearly:null},limits:{links:25e4,clicks:5e6,sales:1e8,domains:1e3,tags:n,folders:n,users:500,ai:1e4,api:1e4,retention:"Unlimited"}}],p=o.find(e=>e.name==="Free"),u=o.find(e=>e.name==="Pro"),b=o.find(e=>e.name==="Business"),y=o.find(e=>e.name==="Advanced"),f=o.filter(e=>["Pro","Business","Advanced"].includes(e.name)),P=2,E=e=>o.find(s=>{var l;return(l=s.price.ids)==null?void 0:l.includes(e)})||null,A=e=>f.find(s=>s.name.toLowerCase()===e.toLowerCase()),L=e=>o.find(s=>s.name.toLowerCase()===e.toLowerCase())||p,w=e=>e?o[o.findIndex(s=>s.name.toLowerCase()===e.toLowerCase())+1]:u,v=(e,s)=>{let l=o.findIndex(c=>c.name.toLowerCase()===e.toLowerCase()),d=o.findIndex(c=>c.name.toLowerCase()===s.toLowerCase());return l>d};export{k as a,o as b,p as c,u as d,b as e,y as f,f as g,P as h,E as i,A as j,L as k,w as l,v as m};
@@ -0,0 +1 @@
1
+ import{a as o,b as l}from"./chunk-SYT2IXG6.mjs";import{a as c}from"./chunk-XID7WUKM.mjs";import{a}from"./chunk-H4ELSETA.mjs";import{a as r}from"./chunk-YUMUNL66.mjs";import u from"@sindresorhus/slugify";var f=t=>{let e=u(t,{separator:""});if(e.length<3)return"";if(r.has(e.slice(-2)))return`${e.slice(0,-2)}.${e.slice(-2)}`;let n=e.replace(/[aeiou]/g,"");return n.length>=3&&r.has(n.slice(-2))?`${n.slice(0,-2)}.${n.slice(-2)}`:`${[e,n].reduce((i,s)=>i.length<s.length?i:s)}.link`},w=new RegExp(/^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/),A=new RegExp(/^[a-zA-Z0-9\-]+$/),D=(t,e)=>t===e?null:t.slice(0,t.length-e.length-1),x=t=>{let e;try{e=new URL(t.replace(/^[a-zA-Z]+:\/\//,"https://")).hostname}catch{return""}if(e==="youtu.be")return"youtube.com";let n=e.split(".");return n.length>2?o.has(n[n.length-2])&&r.has(n[n.length-1])||l.has(n.slice(-2).join("."))?n.slice(-3).join("."):n.slice(-2).join("."):e},d=t=>{if(a(t))return new URL(t).hostname.replace(/^www\./,"");try{if(t.includes(".")&&!t.includes(" "))return new URL(`https://${t}`).hostname.replace(/^www\./,"")}catch{return null}},S=t=>c.some(e=>e.slug===t);export{f as a,w as b,A as c,D as d,x as e,d as f,S as g};
@@ -0,0 +1 @@
1
+ import{a}from"./chunk-NWFCCRLG.mjs";import{g as n}from"./chunk-QQHB6G47.mjs";import{Fragment as r,jsx as t,jsxs as i}from"react/jsx-runtime";var k=[{category:"Links",href:"https://dub.co/links",features:[{text:()=>i(r,{children:[t("strong",{children:"Unlimited"})," clicks"]})},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.links)})," ","new links",e.name==="Enterprise"?"":"/mo"]})},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.tags===n?"Unlimited":a(e.limits.tags)})," ","tags"]}),href:"https://dub.co/help/article/how-to-use-tags"},{check:{free:!1,default:!0},text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.folders===n?"Unlimited":a(e.limits.folders)})," ","folders"]})},{text:"Custom QR codes",href:"https://dub.co/help/article/custom-qr-codes"},{text:"UTM builder + templates",href:"https://dub.co/help/article/how-to-create-utm-templates"},{check:{free:!1,default:!0},text:"Custom link previews",href:"https://dub.co/help/article/custom-link-previews"},{check:{free:!1,default:!0},text:"Deep links",href:"https://dub.co/help/article/custom-domain-deep-links"},{check:{free:!1,default:!0},text:"Link cloaking",href:"https://dub.co/help/article/link-cloaking"},{check:{free:!1,default:!0},text:"Link expiration",href:"https://dub.co/help/article/link-expiration"},{check:{free:!1,default:!0},text:"Password protection",href:"https://dub.co/help/article/password-protected-links"},{check:{free:!1,default:!0},text:"Device targeting",href:"https://dub.co/help/article/device-targeting"},{check:{free:!1,default:!0},text:"Geo targeting",href:"https://dub.co/help/article/geo-targeting"},{check:{free:!1,pro:!1,default:!0},text:"A/B testing"}]},{category:"Analytics",href:"https://dub.co/analytics",features:[{text:"Advanced analytics",href:"https://dub.co/help/article/dub-analytics"},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.clicks)})," ","tracked clicks",e.name==="Enterprise"?"":"/mo"]}),href:"https://dub.co/help/article/dub-analytics-limits"},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.retention})," retention"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Conversion tracking",href:"https://dub.co/help/article/dub-conversions"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Customer insights",href:"https://dub.co/help/article/customer-insights"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Real-time events stream",href:"https://dub.co/help/article/real-time-events-stream"}]},{category:"Partners",href:"https://dub.co/partners",features:[{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Partner management",href:"https://dub.co/partners"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:({id:e,plan:s})=>e==="free"||e==="pro"?"No tracked sales":i(r,{children:[t("strong",{children:s.name==="Enterprise"?"Unlimited":`$${a(s.limits.sales/100)}`})," ","tracked sales",s.name==="Enterprise"?"":"/mo"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"1-click global payouts",href:"https://dub.co/help/article/partner-payouts"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:({id:e})=>e==="free"||e==="pro"?"No payouts":i(r,{children:[t("strong",{children:{business:"7%",advanced:"5%",enterprise:"3%"}[e]})," ","payout fees"]}),href:"https://dub.co/help/article/partner-payouts#payout-fees-and-timing"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Tax compliance",href:"https://dub.co/help/article/partner-payouts#tax-compliance"},{check:{default:!1,business:!1,advanced:!0,enterprise:!0},text:"White-labeling support",href:"https://dub.co/docs/partners/white-labeling"}]},{category:"Domains",href:"https://dub.co/help/category/custom-domains",features:[{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.domains,{full:!0})})," ","custom domains"]})},{text:()=>t(r,{children:"SSL certificates"})},{check:{default:!0,free:!1},text:()=>i(r,{children:["Premium ",t("strong",{children:"dub.link"})," domain"]}),href:"https://dub.co/help/article/default-dub-domains#premium-dublink-domain"},{check:{default:!0,free:!1},text:()=>i(r,{children:["Free ",t("strong",{children:".link"})," domain"]}),href:"https://dub.co/help/article/free-dot-link-domain"}]},{category:"API",href:"https://dub.co/docs/api-reference/introduction",features:[{text:"API Access",href:"https://dub.co/docs/api-reference/introduction"},{text:"Native SDKs",href:"https://dub.co/docs/sdks/overview"},{text:({id:e,plan:s})=>i(r,{children:[t("strong",{children:e==="enterprise"?"Custom":a(s.limits.api,{full:!0})+"/min"})," ","rate limit"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Event webhooks",href:"https://dub.co/docs/concepts/webhooks/introduction"}]},{category:"Workspace",href:"https://dub.co/help/category/workspaces",features:[{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.users)})," ","user",e.limits.users===1?"":"s"]})},{check:{default:!1,advanced:!0,enterprise:!0},text:"Role-based access control"},{check:{default:!1,enterprise:!0},text:"SAML/SSO",href:"https://dub.co/help/category/saml-sso"},{check:{default:!1,enterprise:!0},text:"Custom SLA"},{check:{default:!1,enterprise:!0},text:"Audit logs"}]},{category:"Support",href:"https://dub.co/contact/support",features:[{text:({id:e})=>t(r,{children:t("strong",{children:{free:"Basic support",pro:"Elevated support",business:"Priority support",advanced:"Priority via Slack",enterprise:"Priority with SLA"}[e]})})},{check:{default:!1,enterprise:!0},text:()=>i(r,{children:[t("strong",{children:"Dedicated"})," success manager"]})}]}];var o=[{name:"Free",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,sales:0,domains:3,tags:5,folders:0,users:1,ai:10,api:60,retention:"30-day"}},{name:"Pro",link:"https://dub.co/help/article/pro-plan",price:{monthly:30,yearly:25,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ","price_1OTcQBAlJJEpqkPViGtGEsbb","price_1OYJeBAlJJEpqkPVLjTsjX0E","price_1OTcQBAlJJEpqkPVYlCMqdLL","price_1OYJeBAlJJEpqkPVnPGEZeb0","price_1R8XtyAlJJEpqkPV5WZ4c0jF","price_1R8XtEAlJJEpqkPV4opVvVPq","price_1R8XxZAlJJEpqkPVqGi0wOqD","price_1R7oeBAlJJEpqkPVh6q5q3h8"]},limits:{links:1e3,clicks:5e4,sales:0,domains:10,tags:25,folders:3,users:3,ai:1e3,api:600,retention:"1-year"},featureTitle:"Everything in Free, plus:",features:[{id:"clicks",text:"50K tracked clicks/mo"},{id:"links",text:"1K new links/mo"},{id:"retention",text:"1-year analytics retention"},{id:"domains",text:"10 domains"},{id:"users",text:"3 users"},{id:"advanced",text:"Advanced link features",tooltip:"ADVANCED_LINK_FEATURES"},{id:"ai",text:"Unlimited AI credits",tooltip:{title:"Subject to fair use policy \u2013 you will be notified if you exceed the limit, which are high enough for frequent usage.",cta:"Learn more.",href:"https://dub.co/blog/introducing-dub-ai"}},{id:"dotlink",text:"Free .link domain",tooltip:{title:"All our paid plans come with a free .link custom domain, which helps improve click-through rates.",cta:"Learn more.",href:"https://dub.co/help/article/free-dot-link-domain"}},{id:"folders",text:"Link folders",tooltip:{title:"Organize and manage access to your links on Dub using folders.",cta:"Learn more.",href:"https://dub.co/help/article/link-folders"}},{id:"deeplinks",text:"Deep links",tooltip:{title:"Redirect users to a specific page within your mobile application using deep links.",cta:"Learn more.",href:"https://dub.co//help/article/custom-domain-deep-links"}}]},{name:"Business",price:{monthly:90,yearly:75,ids:["price_1LodLoAlJJEpqkPV9rD0rlNL","price_1LodLoAlJJEpqkPVJdwv5zrG","price_1OZgmnAlJJEpqkPVOj4kV64R","price_1OzNlmAlJJEpqkPV7s9HXNAC","price_1OzNmXAlJJEpqkPVYO89lTdx","price_1OzOFIAlJJEpqkPVJxzc9irl","price_1OzOXMAlJJEpqkPV9ERrjjbw","price_1R3j01AlJJEpqkPVXuG1eNzm","price_1R6JedAlJJEpqkPVMUkfjch4","price_1R8XypAlJJEpqkPVdjzOcYUC","price_1R7ofLAlJJEpqkPV3MlgDpyx"]},limits:{links:1e4,clicks:25e4,sales:25e5,domains:100,tags:n,folders:20,users:10,ai:1e3,api:1200,retention:"3-year"},featureTitle:"Everything in Pro, plus:",features:[{id:"clicks",text:"250K tracked clicks/mo"},{id:"links",text:"10K new links/mo"},{id:"retention",text:"3-year analytics retention"},{id:"sales",text:"$25K tracked sales/mo",tooltip:{title:"Use Dub Conversions to track how your link clicks are converting to signups and sales. Limits are based on the total sale amount tracked within a given month.",cta:"Learn more.",href:"https://d.to/conversions"}},{id:"users",text:"10 users"},{id:"events",text:"Real-time events stream",tooltip:{title:"Get more data on your link clicks and QR code scans with a detailed, real-time stream of events in your workspace",cta:"Learn more.",href:"https://dub.co/help/article/real-time-events-stream"}},{id:"partners",text:"Partner management",tooltip:{title:"Use Dub Partners to manage and pay out your affiliates.",cta:"Learn more.",href:"https://dub.co/partners"}},{id:"tests",text:"A/B testing (beta)"},{id:"roles",text:"Customer insights",tooltip:{title:"Get real-time insights into your customers' behavior and preferences.",cta:"Learn more.",href:"https://dub.co/help/article/customer-insights"}},{id:"webhooks",text:"Event webhooks",tooltip:{title:"Get real-time notifications when a link is clicked or a QR code is scanned using webhooks.",cta:"Learn more.",href:"https://dub.co/docs/concepts/webhooks/introduction"}}]},{name:"Advanced",price:{monthly:300,yearly:250,ids:["price_1R8Xw4AlJJEpqkPV6nwdink9","price_1R3j0qAlJJEpqkPVkfGNXRwb","price_1R8XztAlJJEpqkPVnHmIU2tf","price_1R7ofzAlJJEpqkPV0L2TwyJo"]},limits:{links:5e4,clicks:1e6,sales:1e7,domains:250,tags:n,folders:50,users:20,ai:1e3,api:3e3,retention:"5-year"},featureTitle:"Everything in Business, plus:",features:[{id:"clicks",text:"1M tracked clicks/mo"},{id:"links",text:"50K new links/mo"},{id:"retention",text:"5-year analytics retention"},{id:"sales",text:"$100K tracked sales/mo",tooltip:{title:"Use Dub Conversions to track how your link clicks are converting to signups and sales. Limits are based on the total sale amount tracked within a given month.",cta:"Learn more.",href:"https://d.to/conversions"}},{id:"users",text:"20 users"},{id:"whitelabel",text:"White-labeling support",tooltip:{title:"Embed a white-labeled referral dashboard directly in your app in just a few lines of code.",cta:"Learn more.",href:"https://dub.co/docs/partners/white-labeling"}},{id:"volume",text:"Lower payout fees",tooltip:{title:"Lower fees associated with Partner payouts.",cta:"Learn more.",href:"https://dub.co/help/article/partner-payouts"}},{id:"slack",text:"Priority Slack support"}]},{name:"Enterprise",price:{monthly:null,yearly:null},limits:{links:25e4,clicks:5e6,sales:1e8,domains:1e3,tags:n,folders:n,users:500,ai:1e4,api:1e4,retention:"Unlimited"}}],d=o.find(e=>e.name==="Free"),u=o.find(e=>e.name==="Pro"),b=o.find(e=>e.name==="Business"),y=o.find(e=>e.name==="Advanced"),f=o.filter(e=>["Pro","Business","Advanced"].includes(e.name)),P=2,E=e=>o.find(s=>{var l;return(l=s.price.ids)==null?void 0:l.includes(e)})||null,A=e=>f.find(s=>s.name.toLowerCase()===e.toLowerCase()),L=e=>o.find(s=>s.name.toLowerCase()===e.toLowerCase())||d,w=e=>e?o[o.findIndex(s=>s.name.toLowerCase()===e.toLowerCase())+1]:u,J=(e,s)=>{let l=o.findIndex(c=>c.name.toLowerCase()===e.toLowerCase()),p=o.findIndex(c=>c.name.toLowerCase()===s.toLowerCase());return l>p};export{k as a,o as b,d as c,u as d,b as e,y as f,f as g,P as h,E as i,A as j,L as k,w as l,J as m};
@@ -0,0 +1 @@
1
+ import{a as e}from"./chunk-CP4WO7MM.mjs";import{a as p}from"./chunk-IHX4EDUF.mjs";function C({domain:r,key:o,pretty:x,searchParams:m}){if(!r)return"";let t=`https://${p(r)}${o&&o!=="_root"?`/${p(o)}`:""}`;if(m){let f=new URLSearchParams;for(let[n,i]of Object.entries(m))f.set(n,i);t+=`?${f.toString()}`}return x?t.replace(/^https?:\/\//,""):t}function E({domain:r,key:o}){return`https://${r}${o==="_root"?"":`/${o}`}`}var ar=r=>!r.periodStart||!r.periodEnd?"-":`${e(r.periodStart,{month:"short",year:new Date(r.periodStart).getUTCFullYear()===new Date(r.periodEnd).getUTCFullYear()?void 0:"numeric",timeZone:"utc"})}-${e(r.periodEnd,{month:"short",timeZone:"utc"})}`;export{ar as a,C as b,E as c};
@@ -0,0 +1 @@
1
+ import{b as e,p as o}from"./chunk-ARPOY53H.mjs";var d=[{id:"clce1z7ch00j0rbstbjufva4j",slug:e,verified:!0,primary:!0,archived:!1,placeholder:"https://dub.co/help/article/what-is-dub",allowedHostnames:[],description:"The default domain for all new accounts.",projectId:o},...process.env.NEXT_PUBLIC_IS_DUB?[{id:"clxp3lfsb00011na8tfs7t0lx",slug:"dub.link",verified:!0,primary:!0,archived:!1,placeholder:"https://dub.co/help/article/what-is-dub",allowedHostnames:[],description:"Premium short domain on Dub \u2013 only available on our Pro plan and above.",projectId:o},{id:"clce1z7cs00y8rbstk4xtnj0k",slug:"chatg.pt",verified:!0,primary:!1,archived:!1,placeholder:"https://chat.openai.com/g/g-UGjKKONEe-domainsgpt",allowedHostnames:["openai.com","chatgpt.com"],description:"Branded domain for ChatGPT links (convos, custom GPTs).",projectId:o},{id:"cloxw8y2u0003js08a7mqg1j8",slug:"spti.fi",verified:!0,primary:!1,archived:!1,placeholder:"https://open.spotify.com/album/1SCyi9a5pOasikidToUY5y",allowedHostnames:["spotify.com"],description:"Branded domain for Spotify links (songs, playlists, etc.).",projectId:o},{id:"cltgtd6s5000341itdszz20u2",slug:"git.new",verified:!0,primary:!1,archived:!1,placeholder:"https://github.com/dubinc/dub",allowedHostnames:["github.com"],description:"Branded domain for GitHub links (repositories, gists, etc.).",projectId:o},{id:"cm23qevp4000412mqwvtkthzw",slug:"cal.link",verified:!0,primary:!1,archived:!1,placeholder:"https://cal.com/steven",allowedHostnames:["cal.com","calendly.com","calendar.app.google","calendar.google.com","calendar.notion.so","chillipiper.com","fantastical.app","hubspot.com","savvycal.com","scheduler.default.com","tidycal.com","you.ashbyhq.com","zcal.co"],description:"Branded domain for your scheduling links (Cal.com, Calendly, etc.).",projectId:o},{id:"cloxw8qtk000bjt08n9b812vs",slug:"amzn.id",verified:!0,primary:!1,archived:!1,placeholder:"https://www.amazon.com/dp/B0BW4SWNC8",allowedHostnames:["amazon.com","amazon.co.uk","amazon.ca","amazon.es","amazon.fr"],description:"Branded domain for Amazon links (products, wishlists, etc.).",projectId:o},{id:"clymd6zkc0001elilr1215tj9",slug:"ggl.link",verified:!0,primary:!1,archived:!1,placeholder:"https://docs.google.com/document/d/15-GOZA12SXGEh8lNwU5QI1jBi04TCPgY2-LChTbXVpA",allowedHostnames:["google.com","google.co.uk","google.co.id","google.ca","google.es","google.fr","googleblog.com","blog.google","g.co","g.page","youtube.com","youtu.be"],description:"Branded domain for Google links (Search, Docs, Sheets, Slides, Drive, Maps, etc.).",projectId:o},{id:"clymczttm0001jgkore3ltr37",slug:"fig.page",verified:!0,primary:!1,archived:!1,placeholder:"https://www.figma.com/design/YAfTk6SGV2HcSvL2415oED/Dub.co-Brand-Assets-(Public)?node-id=1-36593&t=QMKQNtUzxSSzG3hX-1",allowedHostnames:["figma.com"],description:"Branded domain for Figma links (portfolios, prototypes, presentations, etc.).",projectId:o},{id:"clugy7euh000a11h6ignmj42o",slug:"loooooooo.ng",verified:!0,primary:!1,archived:!0,placeholder:"https://d.to/long",description:"Branded domain for lengthening links instead of shortening them (April Fool's Prank).",projectId:o}]:[]],l=d.map(a=>a.slug),s=[{id:"clqo10sum0006js08vutzfxt3",domain:"d.to",key:"try",dashboardId:"dash_Rqy6tVEO5Ib4iVFvmYYTK4kO"},{id:"cltshzzpd0005126z3rd2lvo4",domain:"dub.sh",key:"try",dashboardId:"dash_bUNOfMQVcKS0VMDa2HaYhOjg"},{id:"clot0z5rg000djp08ue98hxkn",domain:"chatg.pt",key:"domains",dashboardId:"dash_lX4or5Yj6ZrPk3qW4SwgrQ5t"},{id:"clp4jh9av0001l308ormavtlu",domain:"spti.fi",key:"hans",dashboardId:"dash_v2Ygwn3hZNYx6kFYfBT4IApM"},{id:"cltgtsex40003ck8z444hum5u",domain:"git.new",key:"dub",dashboardId:"dash_FX5HKOKhtQ6uoIeSDxWM8eIb"},{id:"clymd5vqj0005jgkorsopklsk",domain:"fig.page",key:"dub",dashboardId:"dash_no9BFlfSjHDG6K7XIAuwLt5p"},{id:"clp3k3yoi0001ju0874nz899q",domain:"amzn.id",key:"tv",dashboardId:"dash_fKwai9V9nsLcC0IaY0rTF1yA"},{id:"clymd73o50001ulmzzxjumr8l",domain:"ggl.link",key:"dub",dashboardId:"dash_rx5c7pQPnx2MUCX3cL4t1Zpn"},{id:"cm24785ki0001ainw2qks4uq5",domain:"cal.link",key:"demo",dashboardId:"dash_zbzP2UVvTrv5SkIEPP2pV5pC"}];export{d as a,l as b,s as c};
@@ -0,0 +1 @@
1
+ import{a as m}from"./chunk-CP4WO7MM.mjs";import{a as f}from"./chunk-IHX4EDUF.mjs";var i=(r,o)=>{let e=new Date(r),t=new Date;return new Date(r).toLocaleDateString("en-US",{month:"short",day:"numeric",...e.getUTCFullYear()!==t.getUTCFullYear()?{year:"numeric"}:{},...o})};function y({domain:r,key:o,pretty:e,searchParams:t}){if(!r)return"";let p=`https://${f(r)}${o&&o!=="_root"?`/${f(o)}`:""}`;if(t){let n=new URLSearchParams;for(let[x,a]of Object.entries(t))n.set(x,a);p+=`?${n.toString()}`}return e?p.replace(/^https?:\/\//,""):p}function F({domain:r,key:o}){return`https://${r}${o==="_root"?"":`/${o}`}`}var cr=r=>!r.periodStart||!r.periodEnd?"-":`${m(r.periodStart,{month:"short",year:new Date(r.periodStart).getUTCFullYear()===new Date(r.periodEnd).getUTCFullYear()?void 0:"numeric",timeZone:"utc"})}-${m(r.periodEnd,{month:"short",timeZone:"utc"})}`;export{i as a,cr as b,y as c,F as d};
@@ -0,0 +1 @@
1
+ import{a}from"./chunk-NWFCCRLG.mjs";import{g as n}from"./chunk-QQHB6G47.mjs";import{Fragment as r,jsx as t,jsxs as i}from"react/jsx-runtime";var k=[{category:"Links",href:"https://dub.co/links",features:[{text:()=>i(r,{children:[t("strong",{children:"Unlimited"})," clicks"]})},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.links)})," ","new links",e.name==="Enterprise"?"":"/mo"]})},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.tags===n?"Unlimited":a(e.limits.tags)})," ","tags"]}),href:"https://dub.co/help/article/how-to-use-tags"},{check:{free:!1,default:!0},text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.folders===n?"Unlimited":a(e.limits.folders)})," ","folders"]})},{text:"Custom QR codes",href:"https://dub.co/help/article/custom-qr-codes"},{text:"UTM builder + templates",href:"https://dub.co/help/article/how-to-create-utm-templates"},{check:{free:!1,default:!0},text:"Custom link previews",href:"https://dub.co/help/article/custom-link-previews"},{check:{free:!1,default:!0},text:"Deep links",href:"https://dub.co/help/article/custom-domain-deep-links"},{check:{free:!1,default:!0},text:"Link cloaking",href:"https://dub.co/help/article/link-cloaking"},{check:{free:!1,default:!0},text:"Link expiration",href:"https://dub.co/help/article/link-expiration"},{check:{free:!1,default:!0},text:"Password protection",href:"https://dub.co/help/article/password-protected-links"},{check:{free:!1,default:!0},text:"Device targeting",href:"https://dub.co/help/article/device-targeting"},{check:{free:!1,default:!0},text:"Geo targeting",href:"https://dub.co/help/article/geo-targeting"},{check:{free:!1,pro:!1,default:!0},text:"A/B testing"}]},{category:"Analytics",href:"https://dub.co/analytics",features:[{text:"Advanced analytics",href:"https://dub.co/help/article/dub-analytics"},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.clicks)})," ","tracked clicks",e.name==="Enterprise"?"":"/mo"]}),href:"https://dub.co/help/article/dub-analytics-limits"},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.retention})," retention"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Conversion tracking",href:"https://dub.co/help/article/dub-conversions"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Customer insights",href:"https://dub.co/help/article/customer-insights"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Real-time events stream",href:"https://dub.co/help/article/real-time-events-stream"}]},{category:"Partners",href:"https://dub.co/partners",features:[{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Partner management",href:"https://dub.co/partners"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:({id:e,plan:s})=>e==="free"||e==="pro"?"No tracked sales":i(r,{children:[t("strong",{children:s.name==="Enterprise"?"Unlimited":`$${a(s.limits.sales/100)}`})," ","tracked sales",s.name==="Enterprise"?"":"/mo"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"1-click global payouts",href:"https://dub.co/help/article/partner-payouts"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:({id:e})=>e==="free"||e==="pro"?"No payouts":i(r,{children:[t("strong",{children:{business:"7%",advanced:"5%",enterprise:"3%"}[e]})," ","payout fees"]}),href:"https://dub.co/help/article/partner-payouts#payout-fees-and-timing"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Tax compliance",href:"https://dub.co/help/article/partner-payouts#tax-compliance"},{check:{default:!1,business:!1,advanced:!0,enterprise:!0},text:"White-labeling support",href:"https://dub.co/docs/partners/white-labeling"},{check:{default:!1,business:!1,advanced:!0,enterprise:!0},text:"Branded email domains"}]},{category:"Domains",href:"https://dub.co/help/category/custom-domains",features:[{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.domains,{full:!0})})," ","custom domains"]})},{text:()=>t(r,{children:"SSL certificates"})},{check:{default:!0,free:!1},text:()=>i(r,{children:["Premium ",t("strong",{children:"dub.link"})," domain"]}),href:"https://dub.co/help/article/default-dub-domains#premium-dublink-domain"},{check:{default:!0,free:!1},text:()=>i(r,{children:["Free ",t("strong",{children:".link"})," domain"]}),href:"https://dub.co/help/article/free-dot-link-domain"}]},{category:"API",href:"https://dub.co/docs/api-reference/introduction",features:[{text:"API Access",href:"https://dub.co/docs/api-reference/introduction"},{text:"Native SDKs",href:"https://dub.co/docs/sdks/overview"},{text:({id:e,plan:s})=>i(r,{children:[t("strong",{children:e==="enterprise"?"Custom":a(s.limits.api,{full:!0})+"/min"})," ","rate limit"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Event webhooks",href:"https://dub.co/docs/concepts/webhooks/introduction"}]},{category:"Workspace",href:"https://dub.co/help/category/workspaces",features:[{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.users)})," ","user",e.limits.users===1?"":"s"]})},{check:{default:!1,advanced:!0,enterprise:!0},text:"Role-based access control"},{check:{default:!1,enterprise:!0},text:"SAML/SSO",href:"https://dub.co/help/category/saml-sso"},{check:{default:!1,enterprise:!0},text:"Custom SLA"},{check:{default:!1,enterprise:!0},text:"Audit logs"}]},{category:"Support",href:"https://dub.co/contact/support",features:[{text:({id:e})=>t(r,{children:t("strong",{children:{free:"Basic support",pro:"Elevated support",business:"Priority support",advanced:"Priority via Slack",enterprise:"Priority with SLA"}[e]})})},{check:{default:!1,enterprise:!0},text:()=>i(r,{children:[t("strong",{children:"Dedicated"})," success manager"]})}]}];var o=[{name:"Free",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,sales:0,domains:3,tags:5,folders:0,users:1,ai:10,api:60,retention:"30-day"}},{name:"Pro",link:"https://dub.co/help/article/pro-plan",price:{monthly:30,yearly:25,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ","price_1OTcQBAlJJEpqkPViGtGEsbb","price_1OYJeBAlJJEpqkPVLjTsjX0E","price_1OTcQBAlJJEpqkPVYlCMqdLL","price_1OYJeBAlJJEpqkPVnPGEZeb0","price_1R8XtyAlJJEpqkPV5WZ4c0jF","price_1R8XtEAlJJEpqkPV4opVvVPq","price_1R8XxZAlJJEpqkPVqGi0wOqD","price_1R7oeBAlJJEpqkPVh6q5q3h8"]},limits:{links:1e3,clicks:5e4,sales:0,domains:10,tags:25,folders:3,users:3,ai:1e3,api:600,retention:"1-year"},featureTitle:"Everything in Free, plus:",features:[{id:"clicks",text:"50K tracked clicks/mo"},{id:"links",text:"1K new links/mo"},{id:"retention",text:"1-year analytics retention"},{id:"domains",text:"10 domains"},{id:"users",text:"3 users"},{id:"advanced",text:"Advanced link features",tooltip:"ADVANCED_LINK_FEATURES"},{id:"ai",text:"Unlimited AI credits",tooltip:{title:"Subject to fair use policy \u2013 you will be notified if you exceed the limit, which are high enough for frequent usage.",cta:"Learn more.",href:"https://dub.co/blog/introducing-dub-ai"}},{id:"dotlink",text:"Free .link domain",tooltip:{title:"All our paid plans come with a free .link custom domain, which helps improve click-through rates.",cta:"Learn more.",href:"https://dub.co/help/article/free-dot-link-domain"}},{id:"folders",text:"Link folders",tooltip:{title:"Organize and manage access to your links on Dub using folders.",cta:"Learn more.",href:"https://dub.co/help/article/link-folders"}},{id:"deeplinks",text:"Deep links",tooltip:{title:"Redirect users to a specific page within your mobile application using deep links.",cta:"Learn more.",href:"https://dub.co//help/article/custom-domain-deep-links"}}]},{name:"Business",price:{monthly:90,yearly:75,ids:["price_1LodLoAlJJEpqkPV9rD0rlNL","price_1LodLoAlJJEpqkPVJdwv5zrG","price_1OZgmnAlJJEpqkPVOj4kV64R","price_1OzNlmAlJJEpqkPV7s9HXNAC","price_1OzNmXAlJJEpqkPVYO89lTdx","price_1OzOFIAlJJEpqkPVJxzc9irl","price_1OzOXMAlJJEpqkPV9ERrjjbw","price_1R3j01AlJJEpqkPVXuG1eNzm","price_1R6JedAlJJEpqkPVMUkfjch4","price_1R8XypAlJJEpqkPVdjzOcYUC","price_1R7ofLAlJJEpqkPV3MlgDpyx"]},limits:{links:1e4,clicks:25e4,sales:25e5,domains:100,tags:n,folders:20,users:10,ai:1e3,api:1200,retention:"3-year"},featureTitle:"Everything in Pro, plus:",features:[{id:"clicks",text:"250K tracked clicks/mo"},{id:"links",text:"10K new links/mo"},{id:"retention",text:"3-year analytics retention"},{id:"sales",text:"$25K tracked sales/mo",tooltip:{title:"Use Dub Conversions to track how your link clicks are converting to signups and sales. Limits are based on the total sale amount tracked within a given month.",cta:"Learn more.",href:"https://d.to/conversions"}},{id:"users",text:"10 users"},{id:"events",text:"Real-time events stream",tooltip:{title:"Get more data on your link clicks and QR code scans with a detailed, real-time stream of events in your workspace",cta:"Learn more.",href:"https://dub.co/help/article/real-time-events-stream"}},{id:"partners",text:"Partner management",tooltip:{title:"Use Dub Partners to manage and pay out your affiliates.",cta:"Learn more.",href:"https://dub.co/partners"}},{id:"tests",text:"A/B testing (beta)"},{id:"roles",text:"Customer insights",tooltip:{title:"Get real-time insights into your customers' behavior and preferences.",cta:"Learn more.",href:"https://dub.co/help/article/customer-insights"}},{id:"webhooks",text:"Event webhooks",tooltip:{title:"Get real-time notifications when a link is clicked or a QR code is scanned using webhooks.",cta:"Learn more.",href:"https://dub.co/docs/concepts/webhooks/introduction"}}]},{name:"Advanced",price:{monthly:300,yearly:250,ids:["price_1R8Xw4AlJJEpqkPV6nwdink9","price_1R3j0qAlJJEpqkPVkfGNXRwb","price_1R8XztAlJJEpqkPVnHmIU2tf","price_1R7ofzAlJJEpqkPV0L2TwyJo"]},limits:{links:5e4,clicks:1e6,sales:1e7,domains:250,tags:n,folders:50,users:20,ai:1e3,api:3e3,retention:"5-year"},featureTitle:"Everything in Business, plus:",features:[{id:"clicks",text:"1M tracked clicks/mo"},{id:"links",text:"50K new links/mo"},{id:"retention",text:"5-year analytics retention"},{id:"sales",text:"$100K tracked sales/mo",tooltip:{title:"Use Dub Conversions to track how your link clicks are converting to signups and sales. Limits are based on the total sale amount tracked within a given month.",cta:"Learn more.",href:"https://d.to/conversions"}},{id:"users",text:"20 users"},{id:"whitelabel",text:"White-labeling support",tooltip:{title:"Embed a white-labeled referral dashboard directly in your app in just a few lines of code.",cta:"Learn more.",href:"https://dub.co/docs/partners/white-labeling"}},{id:"volume",text:"Lower payout fees",tooltip:{title:"Lower fees associated with Partner payouts.",cta:"Learn more.",href:"https://dub.co/help/article/partner-payouts"}},{id:"slack",text:"Priority Slack support"}]},{name:"Enterprise",price:{monthly:null,yearly:null},limits:{links:25e4,clicks:5e6,sales:1e8,domains:1e3,tags:n,folders:n,users:500,ai:1e4,api:1e4,retention:"Unlimited"}}],p=o.find(e=>e.name==="Free"),u=o.find(e=>e.name==="Pro"),b=o.find(e=>e.name==="Business"),y=o.find(e=>e.name==="Advanced"),f=o.filter(e=>["Pro","Business","Advanced"].includes(e.name)),P=2,E=e=>o.find(s=>{var l;return(l=s.price.ids)==null?void 0:l.includes(e)})||null,A=e=>f.find(s=>s.name.toLowerCase()===e.toLowerCase()),L=e=>o.find(s=>s.name.toLowerCase()===e.toLowerCase())||p,w=e=>e?o[o.findIndex(s=>s.name.toLowerCase()===e.toLowerCase())+1]:u,v=(e,s)=>{let l=o.findIndex(c=>c.name.toLowerCase()===e.toLowerCase()),d=o.findIndex(c=>c.name.toLowerCase()===s.toLowerCase());return l>d};export{k as a,o as b,p as c,u as d,b as e,y as f,f as g,P as h,E as i,A as j,L as k,w as l,v as m};
@@ -0,0 +1 @@
1
+ import{a}from"./chunk-NWFCCRLG.mjs";import{g as n}from"./chunk-QQHB6G47.mjs";import{Fragment as r,jsx as t,jsxs as i}from"react/jsx-runtime";var k=[{category:"Links",href:"https://dub.co/home",features:[{text:()=>i(r,{children:[t("strong",{children:"Unlimited"})," clicks"]})},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.links)})," ","new links",e.name==="Enterprise"?"":"/mo"]})},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.tags===n?"Unlimited":a(e.limits.tags)})," ","tags"]}),href:"https://dub.co/help/article/how-to-use-tags"},{check:{free:!1,default:!0},text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.folders===n?"Unlimited":a(e.limits.folders)})," ","folders"]})},{text:"Custom QR codes",href:"https://dub.co/help/article/custom-qr-codes"},{text:"UTM builder + templates",href:"https://dub.co/help/article/how-to-create-utm-templates"},{check:{free:!1,default:!0},text:"Custom link previews",href:"https://dub.co/help/article/custom-link-previews"},{check:{free:!1,default:!0},text:"Deep links",href:"https://dub.co/help/article/custom-domain-deep-links"},{check:{free:!1,default:!0},text:"Link cloaking",href:"https://dub.co/help/article/link-cloaking"},{check:{free:!1,default:!0},text:"Link expiration",href:"https://dub.co/help/article/link-expiration"},{check:{free:!1,default:!0},text:"Password protection",href:"https://dub.co/help/article/password-protected-links"},{check:{free:!1,default:!0},text:"Device targeting",href:"https://dub.co/help/article/device-targeting"},{check:{free:!1,default:!0},text:"Geo targeting",href:"https://dub.co/help/article/geo-targeting"},{check:{free:!1,pro:!1,default:!0},text:"A/B testing"}]},{category:"Analytics",href:"https://dub.co/analytics",features:[{text:"Advanced analytics",href:"https://dub.co/help/article/dub-analytics"},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.clicks)})," ","tracked clicks",e.name==="Enterprise"?"":"/mo"]}),href:"https://dub.co/help/article/dub-analytics-limits"},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.retention})," retention"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Conversion tracking",href:"https://dub.co/help/article/dub-conversions"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Customer insights",href:"https://dub.co/help/article/customer-insights"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Real-time events stream",href:"https://dub.co/help/article/real-time-events-stream"}]},{category:"Partners",href:"https://dub.co/partners",features:[{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Partner management",href:"https://dub.co/partners"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:({id:e,plan:s})=>e==="free"||e==="pro"?"No tracked sales":i(r,{children:[t("strong",{children:s.name==="Enterprise"?"Unlimited":`$${a(s.limits.sales/100)}`})," ","tracked sales",s.name==="Enterprise"?"":"/mo"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"1-click global payouts",href:"https://dub.co/help/article/partner-payouts"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:({id:e})=>e==="free"||e==="pro"?"No payouts":i(r,{children:[t("strong",{children:{business:"7%",advanced:"5%",enterprise:"3%"}[e]})," ","payout fees"]}),href:"https://dub.co/help/article/partner-payouts#payout-fees-and-timing"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Tax compliance",href:"https://dub.co/help/article/partner-payouts#tax-compliance"},{check:{default:!1,business:!1,advanced:!0,enterprise:!0},text:"White-labeling support",href:"https://dub.co/docs/partners/white-labeling"},{check:{default:!1,business:!1,advanced:!0,enterprise:!0},text:"Branded email domains"}]},{category:"Domains",href:"https://dub.co/help/category/custom-domains",features:[{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.domains,{full:!0})})," ","custom domains"]})},{text:()=>t(r,{children:"SSL certificates"})},{check:{default:!0,free:!1},text:()=>i(r,{children:["Premium ",t("strong",{children:"dub.link"})," domain"]}),href:"https://dub.co/help/article/default-dub-domains#premium-dublink-domain"},{check:{default:!0,free:!1},text:()=>i(r,{children:["Free ",t("strong",{children:".link"})," domain"]}),href:"https://dub.co/help/article/free-dot-link-domain"}]},{category:"API",href:"https://dub.co/docs/api-reference/introduction",features:[{text:"API Access",href:"https://dub.co/docs/api-reference/introduction"},{text:"Native SDKs",href:"https://dub.co/docs/sdks/overview"},{text:({id:e,plan:s})=>i(r,{children:[t("strong",{children:e==="enterprise"?"Custom":a(s.limits.api,{full:!0})+"/min"})," ","rate limit"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Event webhooks",href:"https://dub.co/docs/concepts/webhooks/introduction"}]},{category:"Workspace",href:"https://dub.co/help/category/workspaces",features:[{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.users)})," ","user",e.limits.users===1?"":"s"]})},{check:{default:!1,advanced:!0,enterprise:!0},text:"Role-based access control"},{check:{default:!1,enterprise:!0},text:"SAML/SSO",href:"https://dub.co/help/category/saml-sso"},{check:{default:!1,enterprise:!0},text:"Custom SLA"},{check:{default:!1,enterprise:!0},text:"Audit logs"}]},{category:"Support",href:"https://dub.co/help",features:[{text:({id:e})=>t(r,{children:t("strong",{children:{free:"Basic support",pro:"Elevated support",business:"Priority support",advanced:"Priority via Slack",enterprise:"Priority with SLA"}[e]})})},{check:{default:!1,enterprise:!0},text:()=>i(r,{children:[t("strong",{children:"Dedicated"})," success manager"]})}]}];var o=[{name:"Free",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,sales:0,domains:3,tags:5,folders:0,users:1,ai:10,api:60,retention:"30-day"}},{name:"Pro",link:"https://dub.co/help/article/pro-plan",price:{monthly:30,yearly:25,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ","price_1OTcQBAlJJEpqkPViGtGEsbb","price_1OYJeBAlJJEpqkPVLjTsjX0E","price_1OTcQBAlJJEpqkPVYlCMqdLL","price_1OYJeBAlJJEpqkPVnPGEZeb0","price_1R8XtyAlJJEpqkPV5WZ4c0jF","price_1R8XtEAlJJEpqkPV4opVvVPq","price_1R8XxZAlJJEpqkPVqGi0wOqD","price_1R7oeBAlJJEpqkPVh6q5q3h8"]},limits:{links:1e3,clicks:5e4,sales:0,domains:10,tags:25,folders:3,users:3,ai:1e3,api:600,retention:"1-year"},featureTitle:"Everything in Free, plus:",features:[{id:"clicks",text:"50K tracked clicks/mo"},{id:"links",text:"1K new links/mo"},{id:"retention",text:"1-year analytics retention"},{id:"domains",text:"10 domains"},{id:"users",text:"3 users"},{id:"advanced",text:"Advanced link features",tooltip:"ADVANCED_LINK_FEATURES"},{id:"ai",text:"Unlimited AI credits",tooltip:{title:"Subject to fair use policy \u2013 you will be notified if you exceed the limit, which are high enough for frequent usage.",cta:"Learn more.",href:"https://dub.co/blog/introducing-dub-ai"}},{id:"dotlink",text:"Free .link domain",tooltip:{title:"All our paid plans come with a free .link custom domain, which helps improve click-through rates.",cta:"Learn more.",href:"https://dub.co/help/article/free-dot-link-domain"}},{id:"folders",text:"Link folders",tooltip:{title:"Organize and manage access to your links on Dub using folders.",cta:"Learn more.",href:"https://dub.co/help/article/link-folders"}},{id:"deeplinks",text:"Deep links",tooltip:{title:"Redirect users to a specific page within your mobile application using deep links.",cta:"Learn more.",href:"https://dub.co//help/article/custom-domain-deep-links"}}]},{name:"Business",price:{monthly:90,yearly:75,ids:["price_1LodLoAlJJEpqkPV9rD0rlNL","price_1LodLoAlJJEpqkPVJdwv5zrG","price_1OZgmnAlJJEpqkPVOj4kV64R","price_1OzNlmAlJJEpqkPV7s9HXNAC","price_1OzNmXAlJJEpqkPVYO89lTdx","price_1OzOFIAlJJEpqkPVJxzc9irl","price_1OzOXMAlJJEpqkPV9ERrjjbw","price_1R3j01AlJJEpqkPVXuG1eNzm","price_1R6JedAlJJEpqkPVMUkfjch4","price_1R8XypAlJJEpqkPVdjzOcYUC","price_1R7ofLAlJJEpqkPV3MlgDpyx"]},limits:{links:1e4,clicks:25e4,sales:25e5,domains:100,tags:n,folders:20,users:10,ai:1e3,api:1200,retention:"3-year"},featureTitle:"Everything in Pro, plus:",features:[{id:"clicks",text:"250K tracked clicks/mo"},{id:"links",text:"10K new links/mo"},{id:"retention",text:"3-year analytics retention"},{id:"sales",text:"$25K tracked sales/mo",tooltip:{title:"Use Dub Conversions to track how your link clicks are converting to signups and sales. Limits are based on the total sale amount tracked within a given month.",cta:"Learn more.",href:"https://d.to/conversions"}},{id:"users",text:"10 users"},{id:"events",text:"Real-time events stream",tooltip:{title:"Get more data on your link clicks and QR code scans with a detailed, real-time stream of events in your workspace",cta:"Learn more.",href:"https://dub.co/help/article/real-time-events-stream"}},{id:"partners",text:"Partner management",tooltip:{title:"Use Dub Partners to manage and pay out your affiliates.",cta:"Learn more.",href:"https://dub.co/partners"}},{id:"tests",text:"A/B testing (beta)"},{id:"roles",text:"Customer insights",tooltip:{title:"Get real-time insights into your customers' behavior and preferences.",cta:"Learn more.",href:"https://dub.co/help/article/customer-insights"}},{id:"webhooks",text:"Event webhooks",tooltip:{title:"Get real-time notifications when a link is clicked or a QR code is scanned using webhooks.",cta:"Learn more.",href:"https://dub.co/docs/concepts/webhooks/introduction"}}]},{name:"Advanced",price:{monthly:300,yearly:250,ids:["price_1R8Xw4AlJJEpqkPV6nwdink9","price_1R3j0qAlJJEpqkPVkfGNXRwb","price_1R8XztAlJJEpqkPVnHmIU2tf","price_1R7ofzAlJJEpqkPV0L2TwyJo"]},limits:{links:5e4,clicks:1e6,sales:1e7,domains:250,tags:n,folders:50,users:20,ai:1e3,api:3e3,retention:"5-year"},featureTitle:"Everything in Business, plus:",features:[{id:"clicks",text:"1M tracked clicks/mo"},{id:"links",text:"50K new links/mo"},{id:"retention",text:"5-year analytics retention"},{id:"sales",text:"$100K tracked sales/mo",tooltip:{title:"Use Dub Conversions to track how your link clicks are converting to signups and sales. Limits are based on the total sale amount tracked within a given month.",cta:"Learn more.",href:"https://d.to/conversions"}},{id:"users",text:"20 users"},{id:"whitelabel",text:"White-labeling support",tooltip:{title:"Embed a white-labeled referral dashboard directly in your app in just a few lines of code.",cta:"Learn more.",href:"https://dub.co/docs/partners/white-labeling"}},{id:"volume",text:"Lower payout fees",tooltip:{title:"Lower fees associated with Partner payouts.",cta:"Learn more.",href:"https://dub.co/help/article/partner-payouts"}},{id:"email",text:"Branded email domains"},{id:"slack",text:"Priority Slack support"}]},{name:"Enterprise",price:{monthly:null,yearly:null},limits:{links:25e4,clicks:5e6,sales:1e8,domains:1e3,tags:n,folders:n,users:500,ai:1e4,api:1e4,retention:"Unlimited"}}],p=o.find(e=>e.name==="Free"),u=o.find(e=>e.name==="Pro"),b=o.find(e=>e.name==="Business"),y=o.find(e=>e.name==="Advanced"),f=o.filter(e=>["Pro","Business","Advanced"].includes(e.name)),P=2,E=e=>o.find(s=>{var l;return(l=s.price.ids)==null?void 0:l.includes(e)})||null,A=e=>f.find(s=>s.name.toLowerCase()===e.toLowerCase()),L=e=>o.find(s=>s.name.toLowerCase()===e.toLowerCase())||p,w=e=>e?o[o.findIndex(s=>s.name.toLowerCase()===e.toLowerCase())+1]:u,v=(e,s)=>{let l=o.findIndex(c=>c.name.toLowerCase()===e.toLowerCase()),d=o.findIndex(c=>c.name.toLowerCase()===s.toLowerCase());return l>d};export{k as a,o as b,p as c,u as d,b as e,y as f,f as g,P as h,E as i,A as j,L as k,w as l,v as m};
@@ -0,0 +1 @@
1
+ import{g as n}from"./chunk-QQHB6G47.mjs";import{a}from"./chunk-NWFCCRLG.mjs";import{Fragment as r,jsx as t,jsxs as i}from"react/jsx-runtime";var k=[{category:"Links",href:"https://dub.co/home",features:[{text:()=>i(r,{children:[t("strong",{children:"Unlimited"})," clicks"]})},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.links)})," ","new links",e.name==="Enterprise"?"":"/mo"]})},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.tags===n?"Unlimited":a(e.limits.tags)})," ","tags"]}),href:"https://dub.co/help/article/how-to-use-tags"},{check:{free:!1,default:!0},text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.folders===n?"Unlimited":a(e.limits.folders)})," ","folders"]})},{text:"Custom QR codes",href:"https://dub.co/help/article/custom-qr-codes"},{text:"UTM builder + templates",href:"https://dub.co/help/article/how-to-create-utm-templates"},{check:{free:!1,default:!0},text:"Custom link previews",href:"https://dub.co/help/article/custom-link-previews"},{check:{free:!1,default:!0},text:"Deep links",href:"https://dub.co/help/article/custom-domain-deep-links"},{check:{free:!1,default:!0},text:"Link cloaking",href:"https://dub.co/help/article/link-cloaking"},{check:{free:!1,default:!0},text:"Link expiration",href:"https://dub.co/help/article/link-expiration"},{check:{free:!1,default:!0},text:"Password protection",href:"https://dub.co/help/article/password-protected-links"},{check:{free:!1,default:!0},text:"Device targeting",href:"https://dub.co/help/article/device-targeting"},{check:{free:!1,default:!0},text:"Geo targeting",href:"https://dub.co/help/article/geo-targeting"},{check:{free:!1,pro:!1,default:!0},text:"A/B testing"}]},{category:"Analytics",href:"https://dub.co/analytics",features:[{text:"Advanced analytics",href:"https://dub.co/help/article/dub-analytics"},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.clicks)})," ","tracked clicks",e.name==="Enterprise"?"":"/mo"]}),href:"https://dub.co/help/article/dub-analytics-limits"},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.retention})," retention"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Conversion tracking",href:"https://dub.co/help/article/dub-conversions"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Customer insights",href:"https://dub.co/help/article/customer-insights"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Real-time events stream",href:"https://dub.co/help/article/real-time-events-stream"}]},{category:"Partners",href:"https://dub.co/partners",features:[{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Partner management",href:"https://dub.co/partners"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:({id:e,plan:s})=>e==="free"||e==="pro"?"No tracked sales":i(r,{children:[t("strong",{children:s.name==="Enterprise"?"Unlimited":`$${a(s.limits.sales/100)}`})," ","tracked sales",s.name==="Enterprise"?"":"/mo"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"1-click global payouts",href:"https://dub.co/help/article/partner-payouts"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:({id:e})=>e==="free"||e==="pro"?"No payouts":i(r,{children:[t("strong",{children:{business:"7%",advanced:"5%",enterprise:"3%"}[e]})," ","payout fees"]}),href:"https://dub.co/help/article/partner-payouts#payout-fees-and-timing"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Tax compliance",href:"https://dub.co/help/article/partner-payouts#tax-compliance"},{check:{default:!1,business:!1,advanced:!0,enterprise:!0},text:"White-labeling support",href:"https://dub.co/docs/partners/white-labeling"},{check:{default:!1,business:!1,advanced:!0,enterprise:!0},text:"Branded email domains"}]},{category:"Domains",href:"https://dub.co/help/category/custom-domains",features:[{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.domains,{full:!0})})," ","custom domains"]})},{text:()=>t(r,{children:"SSL certificates"})},{check:{default:!0,free:!1},text:()=>i(r,{children:["Premium ",t("strong",{children:"dub.link"})," domain"]}),href:"https://dub.co/help/article/default-dub-domains#premium-dublink-domain"},{check:{default:!0,free:!1},text:()=>i(r,{children:["Free ",t("strong",{children:".link"})," domain"]}),href:"https://dub.co/help/article/free-dot-link-domain"}]},{category:"API",href:"https://dub.co/docs/api-reference/introduction",features:[{text:"API Access",href:"https://dub.co/docs/api-reference/introduction"},{text:"Native SDKs",href:"https://dub.co/docs/sdks/overview"},{text:({id:e,plan:s})=>i(r,{children:[t("strong",{children:e==="enterprise"?"Custom":a(s.limits.api,{full:!0})+"/min"})," ","rate limit"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Event webhooks",href:"https://dub.co/docs/concepts/webhooks/introduction"}]},{category:"Workspace",href:"https://dub.co/help/category/workspaces",features:[{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.users)})," ","user",e.limits.users===1?"":"s"]})},{check:{default:!1,advanced:!0,enterprise:!0},text:"Role-based access control"},{check:{default:!1,enterprise:!0},text:"SAML/SSO",href:"https://dub.co/help/category/saml-sso"},{check:{default:!1,enterprise:!0},text:"Custom SLA"},{check:{default:!1,enterprise:!0},text:"Audit logs"}]},{category:"Support",href:"https://dub.co/help",features:[{text:({id:e})=>t(r,{children:t("strong",{children:{free:"Basic support",pro:"Elevated support",business:"Priority support",advanced:"Priority via Slack",enterprise:"Priority with SLA"}[e]})})},{check:{default:!1,enterprise:!0},text:()=>i(r,{children:[t("strong",{children:"Dedicated"})," success manager"]})}]}];var o=[{name:"Free",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,sales:0,domains:3,tags:5,folders:0,users:1,ai:10,api:60,retention:"30-day"}},{name:"Pro",link:"https://dub.co/help/article/pro-plan",price:{monthly:30,yearly:25,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ","price_1OTcQBAlJJEpqkPViGtGEsbb","price_1OYJeBAlJJEpqkPVLjTsjX0E","price_1OTcQBAlJJEpqkPVYlCMqdLL","price_1OYJeBAlJJEpqkPVnPGEZeb0","price_1R8XtyAlJJEpqkPV5WZ4c0jF","price_1R8XtEAlJJEpqkPV4opVvVPq","price_1R8XxZAlJJEpqkPVqGi0wOqD","price_1R7oeBAlJJEpqkPVh6q5q3h8"]},limits:{links:1e3,clicks:5e4,sales:0,domains:10,tags:25,folders:3,users:3,ai:1e3,api:600,retention:"1-year"},featureTitle:"Everything in Free, plus:",features:[{id:"clicks",text:"50K tracked clicks/mo"},{id:"links",text:"1K new links/mo"},{id:"retention",text:"1-year analytics retention"},{id:"domains",text:"10 domains"},{id:"users",text:"3 users"},{id:"advanced",text:"Advanced link features",tooltip:"ADVANCED_LINK_FEATURES"},{id:"ai",text:"Unlimited AI credits",tooltip:{title:"Subject to fair use policy \u2013 you will be notified if you exceed the limit, which are high enough for frequent usage.",cta:"Learn more.",href:"https://dub.co/blog/introducing-dub-ai"}},{id:"dotlink",text:"Free .link domain",tooltip:{title:"All our paid plans come with a free .link custom domain, which helps improve click-through rates.",cta:"Learn more.",href:"https://dub.co/help/article/free-dot-link-domain"}},{id:"folders",text:"Link folders",tooltip:{title:"Organize and manage access to your links on Dub using folders.",cta:"Learn more.",href:"https://dub.co/help/article/link-folders"}},{id:"deeplinks",text:"Deep links",tooltip:{title:"Redirect users to a specific page within your mobile application using deep links.",cta:"Learn more.",href:"https://dub.co//help/article/custom-domain-deep-links"}}]},{name:"Business",price:{monthly:90,yearly:75,ids:["price_1LodLoAlJJEpqkPV9rD0rlNL","price_1LodLoAlJJEpqkPVJdwv5zrG","price_1OZgmnAlJJEpqkPVOj4kV64R","price_1OzNlmAlJJEpqkPV7s9HXNAC","price_1OzNmXAlJJEpqkPVYO89lTdx","price_1OzOFIAlJJEpqkPVJxzc9irl","price_1OzOXMAlJJEpqkPV9ERrjjbw","price_1R3j01AlJJEpqkPVXuG1eNzm","price_1R6JedAlJJEpqkPVMUkfjch4","price_1R8XypAlJJEpqkPVdjzOcYUC","price_1R7ofLAlJJEpqkPV3MlgDpyx"]},limits:{links:1e4,clicks:25e4,sales:25e5,domains:100,tags:n,folders:20,users:10,ai:1e3,api:1200,retention:"3-year"},featureTitle:"Everything in Pro, plus:",features:[{id:"clicks",text:"250K tracked clicks/mo"},{id:"links",text:"10K new links/mo"},{id:"retention",text:"3-year analytics retention"},{id:"sales",text:"$25K tracked sales/mo",tooltip:{title:"Use Dub Conversions to track how your link clicks are converting to signups and sales. Limits are based on the total sale amount tracked within a given month.",cta:"Learn more.",href:"https://d.to/conversions"}},{id:"users",text:"10 users"},{id:"events",text:"Real-time events stream",tooltip:{title:"Get more data on your link clicks and QR code scans with a detailed, real-time stream of events in your workspace",cta:"Learn more.",href:"https://dub.co/help/article/real-time-events-stream"}},{id:"partners",text:"Partner management",tooltip:{title:"Use Dub Partners to manage and pay out your affiliates.",cta:"Learn more.",href:"https://dub.co/partners"}},{id:"tests",text:"A/B testing (beta)"},{id:"roles",text:"Customer insights",tooltip:{title:"Get real-time insights into your customers' behavior and preferences.",cta:"Learn more.",href:"https://dub.co/help/article/customer-insights"}},{id:"webhooks",text:"Event webhooks",tooltip:{title:"Get real-time notifications when a link is clicked or a QR code is scanned using webhooks.",cta:"Learn more.",href:"https://dub.co/docs/concepts/webhooks/introduction"}}]},{name:"Advanced",price:{monthly:300,yearly:250,ids:["price_1R8Xw4AlJJEpqkPV6nwdink9","price_1R3j0qAlJJEpqkPVkfGNXRwb","price_1R8XztAlJJEpqkPVnHmIU2tf","price_1R7ofzAlJJEpqkPV0L2TwyJo"]},limits:{links:5e4,clicks:1e6,sales:1e7,domains:250,tags:n,folders:50,users:20,ai:1e3,api:3e3,retention:"5-year"},featureTitle:"Everything in Business, plus:",features:[{id:"clicks",text:"1M tracked clicks/mo"},{id:"links",text:"50K new links/mo"},{id:"retention",text:"5-year analytics retention"},{id:"sales",text:"$100K tracked sales/mo",tooltip:{title:"Use Dub Conversions to track how your link clicks are converting to signups and sales. Limits are based on the total sale amount tracked within a given month.",cta:"Learn more.",href:"https://d.to/conversions"}},{id:"users",text:"20 users"},{id:"whitelabel",text:"White-labeling support",tooltip:{title:"Embed a white-labeled referral dashboard directly in your app in just a few lines of code.",cta:"Learn more.",href:"https://dub.co/docs/partners/white-labeling"}},{id:"volume",text:"Lower payout fees",tooltip:{title:"Lower fees associated with Partner payouts.",cta:"Learn more.",href:"https://dub.co/help/article/partner-payouts"}},{id:"email",text:"Branded email domains"},{id:"slack",text:"Priority Slack support"}]},{name:"Enterprise",price:{monthly:null,yearly:null},limits:{links:25e4,clicks:5e6,sales:1e8,domains:1e3,tags:n,folders:n,users:500,ai:1e4,api:1e4,retention:"Unlimited"}}],p=o.find(e=>e.name==="Free"),u=o.find(e=>e.name==="Pro"),b=o.find(e=>e.name==="Business"),y=o.find(e=>e.name==="Advanced"),f=o.filter(e=>["Pro","Business","Advanced"].includes(e.name)),P=2,E=e=>o.find(s=>{var l;return(l=s.price.ids)==null?void 0:l.includes(e)})||null,A=e=>f.find(s=>s.name.toLowerCase()===e.toLowerCase()),L=e=>o.find(s=>s.name.toLowerCase()===e.toLowerCase())||p,w=e=>e?o[o.findIndex(s=>s.name.toLowerCase()===e.toLowerCase())+1]:u,v=(e,s)=>{let l=o.findIndex(c=>c.name.toLowerCase()===e.toLowerCase()),d=o.findIndex(c=>c.name.toLowerCase()===s.toLowerCase());return l>d};export{k as a,o as b,p as c,u as d,b as e,y as f,f as g,P as h,E as i,A as j,L as k,w as l,v as m};
@@ -0,0 +1 @@
1
+ import{g as n}from"./chunk-QQHB6G47.mjs";import{a}from"./chunk-NWFCCRLG.mjs";import{Fragment as r,jsx as t,jsxs as i}from"react/jsx-runtime";var k=[{category:"Links",href:"https://dub.co/links",features:[{text:()=>i(r,{children:[t("strong",{children:"Unlimited"})," clicks"]})},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.links)})," ","new links",e.name==="Enterprise"?"":"/mo"]})},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.tags===n?"Unlimited":a(e.limits.tags)})," ","tags"]}),href:"https://dub.co/help/article/how-to-use-tags"},{check:{free:!1,default:!0},text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.folders===n?"Unlimited":a(e.limits.folders)})," ","folders"]})},{text:"Custom QR codes",href:"https://dub.co/help/article/custom-qr-codes"},{text:"UTM builder + templates",href:"https://dub.co/help/article/how-to-create-utm-templates"},{check:{free:!1,default:!0},text:"Custom link previews",href:"https://dub.co/help/article/custom-link-previews"},{check:{free:!1,default:!0},text:"Deep links",href:"https://dub.co/help/article/custom-domain-deep-links"},{check:{free:!1,default:!0},text:"Link cloaking",href:"https://dub.co/help/article/link-cloaking"},{check:{free:!1,default:!0},text:"Link expiration",href:"https://dub.co/help/article/link-expiration"},{check:{free:!1,default:!0},text:"Password protection",href:"https://dub.co/help/article/password-protected-links"},{check:{free:!1,default:!0},text:"Device targeting",href:"https://dub.co/help/article/device-targeting"},{check:{free:!1,default:!0},text:"Geo targeting",href:"https://dub.co/help/article/geo-targeting"},{check:{free:!1,pro:!1,default:!0},text:"A/B testing"}]},{category:"Analytics",href:"https://dub.co/analytics",features:[{text:"Advanced analytics",href:"https://dub.co/help/article/dub-analytics"},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.clicks)})," ","tracked clicks",e.name==="Enterprise"?"":"/mo"]}),href:"https://dub.co/help/article/dub-analytics-limits"},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.retention})," retention"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Conversion tracking",href:"https://dub.co/help/article/dub-conversions"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Customer insights",href:"https://dub.co/help/article/customer-insights"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Real-time events stream",href:"https://dub.co/help/article/real-time-events-stream"}]},{category:"Partners",href:"https://dub.co/partners",features:[{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Partner management",href:"https://dub.co/partners"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:({id:e,plan:s})=>e==="free"||e==="pro"?"No tracked sales":i(r,{children:[t("strong",{children:s.name==="Enterprise"?"Unlimited":`$${a(s.limits.sales/100)}`})," ","tracked sales",s.name==="Enterprise"?"":"/mo"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"1-click global payouts",href:"https://dub.co/help/article/partner-payouts"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:({id:e})=>e==="free"||e==="pro"?"No payouts":i(r,{children:[t("strong",{children:{business:"7%",advanced:"5%",enterprise:"3%"}[e]})," ","payout fees"]}),href:"https://dub.co/help/article/partner-payouts#payout-fees-and-timing"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Tax compliance",href:"https://dub.co/help/article/partner-payouts#tax-compliance"},{check:{default:!1,business:!1,advanced:!0,enterprise:!0},text:"White-labeling support",href:"https://dub.co/docs/partners/white-labeling"},{check:{default:!1,business:!1,advanced:!0,enterprise:!0},text:"Branded email domains"}]},{category:"Domains",href:"https://dub.co/help/category/custom-domains",features:[{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.domains,{full:!0})})," ","custom domains"]})},{text:()=>t(r,{children:"SSL certificates"})},{check:{default:!0,free:!1},text:()=>i(r,{children:["Premium ",t("strong",{children:"dub.link"})," domain"]}),href:"https://dub.co/help/article/default-dub-domains#premium-dublink-domain"},{check:{default:!0,free:!1},text:()=>i(r,{children:["Free ",t("strong",{children:".link"})," domain"]}),href:"https://dub.co/help/article/free-dot-link-domain"}]},{category:"API",href:"https://dub.co/docs/api-reference/introduction",features:[{text:"API Access",href:"https://dub.co/docs/api-reference/introduction"},{text:"Native SDKs",href:"https://dub.co/docs/sdks/overview"},{text:({id:e,plan:s})=>i(r,{children:[t("strong",{children:e==="enterprise"?"Custom":a(s.limits.api,{full:!0})+"/min"})," ","rate limit"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Event webhooks",href:"https://dub.co/docs/concepts/webhooks/introduction"}]},{category:"Workspace",href:"https://dub.co/help/category/workspaces",features:[{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.users)})," ","user",e.limits.users===1?"":"s"]})},{check:{default:!1,advanced:!0,enterprise:!0},text:"Role-based access control"},{check:{default:!1,enterprise:!0},text:"SAML/SSO",href:"https://dub.co/help/category/saml-sso"},{check:{default:!1,enterprise:!0},text:"Custom SLA"},{check:{default:!1,enterprise:!0},text:"Audit logs"}]},{category:"Support",href:"https://dub.co/contact/support",features:[{text:({id:e})=>t(r,{children:t("strong",{children:{free:"Basic support",pro:"Elevated support",business:"Priority support",advanced:"Priority via Slack",enterprise:"Priority with SLA"}[e]})})},{check:{default:!1,enterprise:!0},text:()=>i(r,{children:[t("strong",{children:"Dedicated"})," success manager"]})}]}];var o=[{name:"Free",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,sales:0,domains:3,tags:5,folders:0,users:1,ai:10,api:60,retention:"30-day"}},{name:"Pro",link:"https://dub.co/help/article/pro-plan",price:{monthly:30,yearly:25,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ","price_1OTcQBAlJJEpqkPViGtGEsbb","price_1OYJeBAlJJEpqkPVLjTsjX0E","price_1OTcQBAlJJEpqkPVYlCMqdLL","price_1OYJeBAlJJEpqkPVnPGEZeb0","price_1R8XtyAlJJEpqkPV5WZ4c0jF","price_1R8XtEAlJJEpqkPV4opVvVPq","price_1R8XxZAlJJEpqkPVqGi0wOqD","price_1R7oeBAlJJEpqkPVh6q5q3h8"]},limits:{links:1e3,clicks:5e4,sales:0,domains:10,tags:25,folders:3,users:3,ai:1e3,api:600,retention:"1-year"},featureTitle:"Everything in Free, plus:",features:[{id:"clicks",text:"50K tracked clicks/mo"},{id:"links",text:"1K new links/mo"},{id:"retention",text:"1-year analytics retention"},{id:"domains",text:"10 domains"},{id:"users",text:"3 users"},{id:"advanced",text:"Advanced link features",tooltip:"ADVANCED_LINK_FEATURES"},{id:"ai",text:"Unlimited AI credits",tooltip:{title:"Subject to fair use policy \u2013 you will be notified if you exceed the limit, which are high enough for frequent usage.",cta:"Learn more.",href:"https://dub.co/blog/introducing-dub-ai"}},{id:"dotlink",text:"Free .link domain",tooltip:{title:"All our paid plans come with a free .link custom domain, which helps improve click-through rates.",cta:"Learn more.",href:"https://dub.co/help/article/free-dot-link-domain"}},{id:"folders",text:"Link folders",tooltip:{title:"Organize and manage access to your links on Dub using folders.",cta:"Learn more.",href:"https://dub.co/help/article/link-folders"}},{id:"deeplinks",text:"Deep links",tooltip:{title:"Redirect users to a specific page within your mobile application using deep links.",cta:"Learn more.",href:"https://dub.co//help/article/custom-domain-deep-links"}}]},{name:"Business",price:{monthly:90,yearly:75,ids:["price_1LodLoAlJJEpqkPV9rD0rlNL","price_1LodLoAlJJEpqkPVJdwv5zrG","price_1OZgmnAlJJEpqkPVOj4kV64R","price_1OzNlmAlJJEpqkPV7s9HXNAC","price_1OzNmXAlJJEpqkPVYO89lTdx","price_1OzOFIAlJJEpqkPVJxzc9irl","price_1OzOXMAlJJEpqkPV9ERrjjbw","price_1R3j01AlJJEpqkPVXuG1eNzm","price_1R6JedAlJJEpqkPVMUkfjch4","price_1R8XypAlJJEpqkPVdjzOcYUC","price_1R7ofLAlJJEpqkPV3MlgDpyx"]},limits:{links:1e4,clicks:25e4,sales:25e5,domains:100,tags:n,folders:20,users:10,ai:1e3,api:1200,retention:"3-year"},featureTitle:"Everything in Pro, plus:",features:[{id:"clicks",text:"250K tracked clicks/mo"},{id:"links",text:"10K new links/mo"},{id:"retention",text:"3-year analytics retention"},{id:"sales",text:"$25K tracked sales/mo",tooltip:{title:"Use Dub Conversions to track how your link clicks are converting to signups and sales. Limits are based on the total sale amount tracked within a given month.",cta:"Learn more.",href:"https://d.to/conversions"}},{id:"users",text:"10 users"},{id:"events",text:"Real-time events stream",tooltip:{title:"Get more data on your link clicks and QR code scans with a detailed, real-time stream of events in your workspace",cta:"Learn more.",href:"https://dub.co/help/article/real-time-events-stream"}},{id:"partners",text:"Partner management",tooltip:{title:"Use Dub Partners to manage and pay out your affiliates.",cta:"Learn more.",href:"https://dub.co/partners"}},{id:"tests",text:"A/B testing (beta)"},{id:"roles",text:"Customer insights",tooltip:{title:"Get real-time insights into your customers' behavior and preferences.",cta:"Learn more.",href:"https://dub.co/help/article/customer-insights"}},{id:"webhooks",text:"Event webhooks",tooltip:{title:"Get real-time notifications when a link is clicked or a QR code is scanned using webhooks.",cta:"Learn more.",href:"https://dub.co/docs/concepts/webhooks/introduction"}}]},{name:"Advanced",price:{monthly:300,yearly:250,ids:["price_1R8Xw4AlJJEpqkPV6nwdink9","price_1R3j0qAlJJEpqkPVkfGNXRwb","price_1R8XztAlJJEpqkPVnHmIU2tf","price_1R7ofzAlJJEpqkPV0L2TwyJo"]},limits:{links:5e4,clicks:1e6,sales:1e7,domains:250,tags:n,folders:50,users:20,ai:1e3,api:3e3,retention:"5-year"},featureTitle:"Everything in Business, plus:",features:[{id:"clicks",text:"1M tracked clicks/mo"},{id:"links",text:"50K new links/mo"},{id:"retention",text:"5-year analytics retention"},{id:"sales",text:"$100K tracked sales/mo",tooltip:{title:"Use Dub Conversions to track how your link clicks are converting to signups and sales. Limits are based on the total sale amount tracked within a given month.",cta:"Learn more.",href:"https://d.to/conversions"}},{id:"users",text:"20 users"},{id:"whitelabel",text:"White-labeling support",tooltip:{title:"Embed a white-labeled referral dashboard directly in your app in just a few lines of code.",cta:"Learn more.",href:"https://dub.co/docs/partners/white-labeling"}},{id:"volume",text:"Lower payout fees",tooltip:{title:"Lower fees associated with Partner payouts.",cta:"Learn more.",href:"https://dub.co/help/article/partner-payouts"}},{id:"email",text:"Branded email domains"},{id:"slack",text:"Priority Slack support"}]},{name:"Enterprise",price:{monthly:null,yearly:null},limits:{links:25e4,clicks:5e6,sales:1e8,domains:1e3,tags:n,folders:n,users:500,ai:1e4,api:1e4,retention:"Unlimited"}}],p=o.find(e=>e.name==="Free"),u=o.find(e=>e.name==="Pro"),b=o.find(e=>e.name==="Business"),y=o.find(e=>e.name==="Advanced"),f=o.filter(e=>["Pro","Business","Advanced"].includes(e.name)),P=2,E=e=>o.find(s=>{var l;return(l=s.price.ids)==null?void 0:l.includes(e)})||null,A=e=>f.find(s=>s.name.toLowerCase()===e.toLowerCase()),L=e=>o.find(s=>s.name.toLowerCase()===e.toLowerCase())||p,w=e=>e?o[o.findIndex(s=>s.name.toLowerCase()===e.toLowerCase())+1]:u,v=(e,s)=>{let l=o.findIndex(c=>c.name.toLowerCase()===e.toLowerCase()),d=o.findIndex(c=>c.name.toLowerCase()===s.toLowerCase());return l>d};export{k as a,o as b,p as c,u as d,b as e,y as f,f as g,P as h,E as i,A as j,L as k,w as l,v as m};
@@ -0,0 +1 @@
1
+ import{a as s}from"./chunk-CP4WO7MM.mjs";import{a as u}from"./chunk-IHX4EDUF.mjs";async function D(r,t,i={}){let{timeout:p=5e3,maxRetries:e=10,retryDelay:f=1e3}=i;for(let n=0;n<e;n++)try{let m=new AbortController,a=setTimeout(()=>{m.abort()},p),o=await fetch(r,{...t,signal:m.signal});if(clearTimeout(a),o.ok)return o;if(o.status===429||o.status>=500){let x=f+Math.pow(n,2)*50;await new Promise(c=>setTimeout(c,x));continue}if(o.status===403)throw new Error("Unauthorized");if(!o.ok){let x=await o.json().catch(()=>({error:"Unknown error"}));throw new Error(x.error||`HTTP error ${o.status}`)}}catch(m){if(n===e-1)throw m;let a=f+Math.pow(n,2)*50;await new Promise(o=>setTimeout(o,a))}throw new Error(`Failed after ${e} retries`)}function U({domain:r,key:t,pretty:i,searchParams:p}){if(!r)return"";let e=`https://${u(r)}${t&&t!=="_root"?`/${u(t)}`:""}`;if(p){let f=new URLSearchParams;for(let[n,m]of Object.entries(p))f.set(n,m);e+=`?${f.toString()}`}return i?e.replace(/^https?:\/\//,""):e}function k({domain:r,key:t}){return`https://${r}${t==="_root"?"":`/${t}`}`}var dr=r=>!r.periodStart||!r.periodEnd?"-":`${s(r.periodStart,{month:"short",year:new Date(r.periodStart).getUTCFullYear()===new Date(r.periodEnd).getUTCFullYear()?void 0:"numeric",timeZone:"utc"})}-${s(r.periodEnd,{month:"short",timeZone:"utc"})}`;export{dr as a,D as b,U as c,k as d};
@@ -0,0 +1 @@
1
+ import{b as e,p as o}from"./chunk-ARPOY53H.mjs";var d=[{id:"clce1z7ch00j0rbstbjufva4j",slug:e,verified:!0,primary:!0,archived:!1,placeholder:"https://dub.co/help/article/what-is-dub",allowedHostnames:[],description:"The default domain for all new accounts.",projectId:o},...process.env.NEXT_PUBLIC_IS_DUB?[{id:"clxp3lfsb00011na8tfs7t0lx",slug:"dub.link",verified:!0,primary:!0,archived:!1,placeholder:"https://dub.co/help/article/what-is-dub",allowedHostnames:[],description:"Premium short domain on Dub \u2013 only available on our Pro plan and above.",projectId:o},{id:"clce1z7cs00y8rbstk4xtnj0k",slug:"chatg.pt",verified:!0,primary:!1,archived:!1,placeholder:"https://chat.openai.com/g/g-UGjKKONEe-domainsgpt",allowedHostnames:["openai.com","chatgpt.com"],description:"Branded domain for ChatGPT links (convos, custom GPTs).",projectId:o},{id:"cloxw8y2u0003js08a7mqg1j8",slug:"spti.fi",verified:!0,primary:!1,archived:!1,placeholder:"https://open.spotify.com/album/1SCyi9a5pOasikidToUY5y",allowedHostnames:["spotify.com"],description:"Branded domain for Spotify links (songs, playlists, etc.).",projectId:o},{id:"cltgtd6s5000341itdszz20u2",slug:"git.new",verified:!0,primary:!1,archived:!1,placeholder:"https://github.com/dubinc/dub",allowedHostnames:["github.com"],description:"Branded domain for GitHub links (repositories, gists, etc.).",projectId:o},{id:"cm23qevp4000412mqwvtkthzw",slug:"cal.link",verified:!0,primary:!1,archived:!1,placeholder:"https://cal.com/steven",allowedHostnames:["cal.com","calendly.com","calendar.app.google","calendar.google.com","chillipiper.com","fantastical.app","hubspot.com","savvycal.com","scheduler.default.com","tidycal.com","you.ashbyhq.com","zcal.co"],description:"Branded domain for your scheduling links (Cal.com, Calendly, etc.).",projectId:o},{id:"cloxw8qtk000bjt08n9b812vs",slug:"amzn.id",verified:!0,primary:!1,archived:!1,placeholder:"https://www.amazon.com/dp/B0BW4SWNC8",allowedHostnames:["amazon.com","amazon.co.uk","amazon.ca","amazon.es","amazon.fr"],description:"Branded domain for Amazon links (products, wishlists, etc.).",projectId:o},{id:"clymd6zkc0001elilr1215tj9",slug:"ggl.link",verified:!0,primary:!1,archived:!1,placeholder:"https://docs.google.com/document/d/15-GOZA12SXGEh8lNwU5QI1jBi04TCPgY2-LChTbXVpA",allowedHostnames:["google.com","google.co.uk","google.co.id","google.ca","google.es","google.fr","googleblog.com","blog.google","g.co","g.page","youtube.com","youtu.be"],description:"Branded domain for Google links (Search, Docs, Sheets, Slides, Drive, Maps, etc.).",projectId:o},{id:"clymczttm0001jgkore3ltr37",slug:"fig.page",verified:!0,primary:!1,archived:!1,placeholder:"https://www.figma.com/design/YAfTk6SGV2HcSvL2415oED/Dub.co-Brand-Assets-(Public)?node-id=1-36593&t=QMKQNtUzxSSzG3hX-1",allowedHostnames:["figma.com"],description:"Branded domain for Figma links (portfolios, prototypes, presentations, etc.).",projectId:o},{id:"clugy7euh000a11h6ignmj42o",slug:"loooooooo.ng",verified:!0,primary:!1,archived:!0,placeholder:"https://d.to/long",description:"Branded domain for lengthening links instead of shortening them (April Fool's Prank).",projectId:o}]:[]],l=d.map(a=>a.slug),s=[{id:"clqo10sum0006js08vutzfxt3",domain:"d.to",key:"try",dashboardId:"dash_Rqy6tVEO5Ib4iVFvmYYTK4kO"},{id:"cltshzzpd0005126z3rd2lvo4",domain:"dub.sh",key:"try",dashboardId:"dash_bUNOfMQVcKS0VMDa2HaYhOjg"},{id:"clot0z5rg000djp08ue98hxkn",domain:"chatg.pt",key:"domains",dashboardId:"dash_lX4or5Yj6ZrPk3qW4SwgrQ5t"},{id:"clp4jh9av0001l308ormavtlu",domain:"spti.fi",key:"hans",dashboardId:"dash_v2Ygwn3hZNYx6kFYfBT4IApM"},{id:"cltgtsex40003ck8z444hum5u",domain:"git.new",key:"dub",dashboardId:"dash_FX5HKOKhtQ6uoIeSDxWM8eIb"},{id:"clymd5vqj0005jgkorsopklsk",domain:"fig.page",key:"dub",dashboardId:"dash_no9BFlfSjHDG6K7XIAuwLt5p"},{id:"clp3k3yoi0001ju0874nz899q",domain:"amzn.id",key:"tv",dashboardId:"dash_fKwai9V9nsLcC0IaY0rTF1yA"},{id:"clymd73o50001ulmzzxjumr8l",domain:"ggl.link",key:"dub",dashboardId:"dash_rx5c7pQPnx2MUCX3cL4t1Zpn"},{id:"cm24785ki0001ainw2qks4uq5",domain:"cal.link",key:"demo",dashboardId:"dash_zbzP2UVvTrv5SkIEPP2pV5pC"}];export{d as a,l as b,s as c};
@@ -0,0 +1 @@
1
+ import{a as x}from"./chunk-CP4WO7MM.mjs";import{a as u}from"./chunk-IHX4EDUF.mjs";async function b(r,t,a={}){let{timeout:p=5e3,maxRetries:e=10,retryDelay:f=1e3}=a,i=null;for(let n=0;n<e;n++){let l=new AbortController,c=setTimeout(()=>{l.abort()},p);try{let o=await fetch(r,{...t,signal:l.signal});if(clearTimeout(c),o.ok)return o;if(o.status===429||o.status>=500){let m=f+Math.pow(n,2)*50;await new Promise(s=>setTimeout(s,m));continue}if(o.status===403)throw new Error("Unauthorized");if(!o.ok){let m;try{m=(await o.json()).error||`HTTP error ${o.status}`}catch{m=`HTTP error ${o.status}`}throw new Error(m)}}catch(o){if(clearTimeout(c),i=o instanceof Error?o:new Error(String(o)),n===e-1)throw new Error(`Failed after ${e} retries. Last error: ${i.message}`);let m=f+Math.pow(n,2)*50;await new Promise(s=>setTimeout(s,m))}}throw new Error(`Failed after ${e} retries`)}function C({domain:r,key:t,pretty:a,searchParams:p}){if(!r)return"";let e=`https://${u(r)}${t&&t!=="_root"?`/${u(t)}`:""}`;if(p){let f=new URLSearchParams;for(let[i,n]of Object.entries(p))f.set(i,n);e+=`?${f.toString()}`}return a?e.replace(/^https?:\/\//,""):e}function U({domain:r,key:t}){return`https://${r}${t==="_root"?"":`/${t}`}`}var wr=r=>!r.periodStart||!r.periodEnd?"-":`${x(r.periodStart,{month:"short",year:new Date(r.periodStart).getUTCFullYear()===new Date(r.periodEnd).getUTCFullYear()?void 0:"numeric",timeZone:"utc"})}-${x(r.periodEnd,{month:"short",timeZone:"utc"})}`;export{wr as a,b,C as c,U as d};
@@ -1 +1 @@
1
- import{a,b,c}from"../chunk-WUD6DJTA.mjs";import"../chunk-ARPOY53H.mjs";export{c as DUB_DEMO_LINKS,a as DUB_DOMAINS,b as DUB_DOMAINS_ARRAY};
1
+ import{a,b,c}from"../chunk-N72TTVUG.mjs";import"../chunk-ARPOY53H.mjs";export{c as DUB_DEMO_LINKS,a as DUB_DOMAINS,b as DUB_DOMAINS_ARRAY};
@@ -1 +1 @@
1
- import{a as ba,b as ca,c as da,d as ea,e as fa,f as ga,g as ha,h as ia,i as ja,j as ka,k as la,l as ma,m as na}from"../chunk-CZPMEIRC.mjs";import"../chunk-NWFCCRLG.mjs";import{a as oa,b as pa}from"../chunk-KQ4NF54J.mjs";import{a as qa}from"../chunk-B5RDJTTU.mjs";import{a as ra}from"../chunk-6MXH6P2P.mjs";import{a as I,b as J,c as K}from"../chunk-L3IOBXLP.mjs";import{a as L,b as M,c as N,d as O,e as P}from"../chunk-YICE6QF7.mjs";import{a as Q}from"../chunk-PYD75RYX.mjs";import{a as R,b as S}from"../chunk-2OGPCKQX.mjs";import{a as T,b as U,c as V}from"../chunk-DEIZ6NOQ.mjs";import{a as W,b as X,c as Y,d as Z,e as _,f as $,g as aa}from"../chunk-QQHB6G47.mjs";import{a}from"../chunk-YUMUNL66.mjs";import{a as b}from"../chunk-JO76EBDG.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 F,b as G,c as H}from"../chunk-WUD6DJTA.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,u as E}from"../chunk-ARPOY53H.mjs";export{B as ACME_PROGRAM_ID,A as ACME_WORKSPACE_ID,r as ADMIN_HOSTNAMES,ga as ADVANCED_PLAN,Q as ALL_TOOLS,q as API_DOMAIN,p as API_HOSTNAMES,n as APP_DOMAIN,o as APP_DOMAIN_WITH_NGROK,m as APP_HOSTNAMES,k as APP_NAME,fa 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,W as DEFAULT_LINK_PROPS,T as DEFAULT_REDIRECTS,H as DUB_DEMO_LINKS,F as DUB_DOMAINS,G as DUB_DOMAINS_ARRAY,U 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,g as EU_COUNTRY_CODES,I as FRAMER_MOTION_LIST_ITEM_VARIANTS,da as FREE_PLAN,ia as FREE_WORKSPACES_LIMIT,X as GOOGLE_FAVICON_URL,aa as INFINITY_NUMBER,D as LEGAL_USER_ID,C as LEGAL_WORKSPACE_ID,R as LOCALHOST_GEO_DATA,S as LOCALHOST_IP,Y as OG_AVATAR_URL,Z as PAGINATION_LIMIT,t as PARTNERS_DOMAIN,u as PARTNERS_DOMAIN_WITH_NGROK,s as PARTNERS_HOSTNAMES,ca as PLANS,ba as PLAN_COMPARE_FEATURES,ea as PRO_PLAN,E as R2_URL,V as REDIRECTION_QUERY_PARAM,oa as REGIONS,pa as REGION_CODES,qa as RESERVED_SLUGS,ra as SAML_PROVIDERS,i as SECOND_LEVEL_DOMAINS,N as SEGMENT_INTEGRATION_ID,ha as SELF_SERVE_PAID_PLANS,P as SHOPIFY_INTEGRATION_ID,l as SHORT_DOMAIN,L as SLACK_INTEGRATION_ID,j as SPECIAL_APEX_DOMAINS,J as STAGGER_CHILD_VARIANTS,M as STRIPE_INTEGRATION_ID,K as TAB_ITEM_ANIMATION_SETTINGS,$ as THE_BEGINNING_OF_TIME,_ as TWO_WEEKS_IN_SECONDS,O as ZAPIER_INTEGRATION_ID,a as ccTLDs,la as getCurrentPlan,ma as getNextPlan,ka as getPlanDetails,ja as getPlanFromPriceId,na as isDowngradePlan};
1
+ import{a as ba,b as ca,c as da,d as ea,e as fa,f as ga,g as ha,h as ia,i as ja,j as ka,k as la,l as ma,m as na}from"../chunk-KQARG6O4.mjs";import"../chunk-NWFCCRLG.mjs";import{a as oa,b as pa}from"../chunk-KQ4NF54J.mjs";import{a as qa}from"../chunk-B5RDJTTU.mjs";import{a as ra}from"../chunk-6MXH6P2P.mjs";import{a as I,b as J,c as K}from"../chunk-L3IOBXLP.mjs";import{a as L,b as M,c as N,d as O,e as P}from"../chunk-YICE6QF7.mjs";import{a as Q}from"../chunk-PYD75RYX.mjs";import{a as R,b as S}from"../chunk-2OGPCKQX.mjs";import{a as T,b as U,c as V}from"../chunk-DEIZ6NOQ.mjs";import{a as W,b as X,c as Y,d as Z,e as _,f as $,g as aa}from"../chunk-QQHB6G47.mjs";import{a}from"../chunk-YUMUNL66.mjs";import{a as b}from"../chunk-JO76EBDG.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 F,b as G,c as H}from"../chunk-N72TTVUG.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,u as E}from"../chunk-ARPOY53H.mjs";export{B as ACME_PROGRAM_ID,A as ACME_WORKSPACE_ID,r as ADMIN_HOSTNAMES,ga as ADVANCED_PLAN,Q as ALL_TOOLS,q as API_DOMAIN,p as API_HOSTNAMES,n as APP_DOMAIN,o as APP_DOMAIN_WITH_NGROK,m as APP_HOSTNAMES,k as APP_NAME,fa 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,W as DEFAULT_LINK_PROPS,T as DEFAULT_REDIRECTS,H as DUB_DEMO_LINKS,F as DUB_DOMAINS,G as DUB_DOMAINS_ARRAY,U 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,g as EU_COUNTRY_CODES,I as FRAMER_MOTION_LIST_ITEM_VARIANTS,da as FREE_PLAN,ia as FREE_WORKSPACES_LIMIT,X as GOOGLE_FAVICON_URL,aa as INFINITY_NUMBER,D as LEGAL_USER_ID,C as LEGAL_WORKSPACE_ID,R as LOCALHOST_GEO_DATA,S as LOCALHOST_IP,Y as OG_AVATAR_URL,Z as PAGINATION_LIMIT,t as PARTNERS_DOMAIN,u as PARTNERS_DOMAIN_WITH_NGROK,s as PARTNERS_HOSTNAMES,ca as PLANS,ba as PLAN_COMPARE_FEATURES,ea as PRO_PLAN,E as R2_URL,V as REDIRECTION_QUERY_PARAM,oa as REGIONS,pa as REGION_CODES,qa as RESERVED_SLUGS,ra as SAML_PROVIDERS,i as SECOND_LEVEL_DOMAINS,N as SEGMENT_INTEGRATION_ID,ha as SELF_SERVE_PAID_PLANS,P as SHOPIFY_INTEGRATION_ID,l as SHORT_DOMAIN,L as SLACK_INTEGRATION_ID,j as SPECIAL_APEX_DOMAINS,J as STAGGER_CHILD_VARIANTS,M as STRIPE_INTEGRATION_ID,K as TAB_ITEM_ANIMATION_SETTINGS,$ as THE_BEGINNING_OF_TIME,_ as TWO_WEEKS_IN_SECONDS,O as ZAPIER_INTEGRATION_ID,a as ccTLDs,la as getCurrentPlan,ma as getNextPlan,ka as getPlanDetails,ja as getPlanFromPriceId,na as isDowngradePlan};
@@ -0,0 +1,7 @@
1
+ declare function fetchWithRetry(input: RequestInfo | URL, init?: RequestInit | undefined, options?: {
2
+ timeout?: number;
3
+ maxRetries?: number;
4
+ retryDelay?: number;
5
+ }): Promise<Response>;
6
+
7
+ export { fetchWithRetry as f };
@@ -0,0 +1,3 @@
1
+ declare const formatDateSmart: (datetime: Date | string, options?: Intl.DateTimeFormatOptions) => string;
2
+
3
+ export { formatDateSmart as f };
@@ -1 +1 @@
1
- import{a}from"../../chunk-6U2XQRAL.mjs";import"../../chunk-53SZZ2QK.mjs";import"../../chunk-UWXN5NEH.mjs";import"../../chunk-MP5IS4V2.mjs";import"../../chunk-HR4YFT2T.mjs";import"../../chunk-AQPTJK67.mjs";import"../../chunk-NQP6WK7A.mjs";import"../../chunk-MPU6JRPV.mjs";import"../../chunk-E3EM6ARH.mjs";import"../../chunk-KIDNKMJ2.mjs";import"../../chunk-CP4WO7MM.mjs";import"../../chunk-NBHXSY6E.mjs";import"../../chunk-GRNEXX4Q.mjs";import"../../chunk-EHUYHMHD.mjs";import"../../chunk-IHX4EDUF.mjs";import"../../chunk-RONJDARA.mjs";import"../../chunk-3Q25XO3O.mjs";import"../../chunk-Y37NQHZ4.mjs";import"../../chunk-PPEZOXLP.mjs";import"../../chunk-FKLXONKR.mjs";import"../../chunk-F4P6WJV7.mjs";import"../../chunk-JKFE3UP3.mjs";import"../../chunk-NZ4UYKAT.mjs";import"../../chunk-WKSJXYEU.mjs";import"../../chunk-GGIZK3EO.mjs";import"../../chunk-OWYWG4M6.mjs";import"../../chunk-VZT64RAP.mjs";import"../../chunk-J7REM3DA.mjs";import"../../chunk-ZECUYKGD.mjs";import"../../chunk-6QBFOWVB.mjs";import"../../chunk-H4ELSETA.mjs";import"../../chunk-EMO4MGOU.mjs";import"../../chunk-VQH3G3BC.mjs";import"../../chunk-ZTPDEOIY.mjs";import"../../chunk-E5KCWRHJ.mjs";import"../../chunk-ORB6LTBV.mjs";import"../../chunk-PMOQSSOL.mjs";import"../../chunk-2OJAP233.mjs";import"../../chunk-NEIHTFSW.mjs";import"../../chunk-HJD7AJT4.mjs";import"../../chunk-CZPMEIRC.mjs";import"../../chunk-NWFCCRLG.mjs";import"../../chunk-KQ4NF54J.mjs";import"../../chunk-B5RDJTTU.mjs";import"../../chunk-6MXH6P2P.mjs";import"../../chunk-L3IOBXLP.mjs";import"../../chunk-YICE6QF7.mjs";import"../../chunk-PYD75RYX.mjs";import"../../chunk-2OGPCKQX.mjs";import"../../chunk-DEIZ6NOQ.mjs";import"../../chunk-QQHB6G47.mjs";import"../../chunk-YUMUNL66.mjs";import"../../chunk-JO76EBDG.mjs";import"../../chunk-MH5LZNIE.mjs";import"../../chunk-6YGW3G46.mjs";import"../../chunk-CELI6EJU.mjs";import"../../chunk-SYT2IXG6.mjs";import"../../chunk-WUD6DJTA.mjs";import"../../chunk-ARPOY53H.mjs";export{a as formatPeriod};
1
+ import{a}from"../../chunk-MPC4FJJA.mjs";import"../../chunk-NBHXSY6E.mjs";import"../../chunk-53SZZ2QK.mjs";import"../../chunk-UWXN5NEH.mjs";import"../../chunk-MP5IS4V2.mjs";import"../../chunk-HR4YFT2T.mjs";import"../../chunk-AQPTJK67.mjs";import"../../chunk-PPEZOXLP.mjs";import"../../chunk-NQP6WK7A.mjs";import"../../chunk-MPU6JRPV.mjs";import"../../chunk-E3EM6ARH.mjs";import"../../chunk-FKLXONKR.mjs";import"../../chunk-KIDNKMJ2.mjs";import"../../chunk-CP4WO7MM.mjs";import"../../chunk-OWYWG4M6.mjs";import"../../chunk-GRNEXX4Q.mjs";import"../../chunk-EHUYHMHD.mjs";import"../../chunk-IHX4EDUF.mjs";import"../../chunk-RONJDARA.mjs";import"../../chunk-3Q25XO3O.mjs";import"../../chunk-Y37NQHZ4.mjs";import"../../chunk-E5KCWRHJ.mjs";import"../../chunk-F4P6WJV7.mjs";import"../../chunk-JKFE3UP3.mjs";import"../../chunk-NZ4UYKAT.mjs";import"../../chunk-WKSJXYEU.mjs";import"../../chunk-GGIZK3EO.mjs";import"../../chunk-VZT64RAP.mjs";import"../../chunk-J7REM3DA.mjs";import"../../chunk-ZECUYKGD.mjs";import"../../chunk-3IW5HUAZ.mjs";import"../../chunk-H4ELSETA.mjs";import"../../chunk-6QPNCI3L.mjs";import"../../chunk-EMO4MGOU.mjs";import"../../chunk-VQH3G3BC.mjs";import"../../chunk-ZTPDEOIY.mjs";import"../../chunk-ORB6LTBV.mjs";import"../../chunk-PMOQSSOL.mjs";import"../../chunk-2OJAP233.mjs";import"../../chunk-NEIHTFSW.mjs";import"../../chunk-HJD7AJT4.mjs";import"../../chunk-KQARG6O4.mjs";import"../../chunk-NWFCCRLG.mjs";import"../../chunk-KQ4NF54J.mjs";import"../../chunk-B5RDJTTU.mjs";import"../../chunk-6MXH6P2P.mjs";import"../../chunk-L3IOBXLP.mjs";import"../../chunk-YICE6QF7.mjs";import"../../chunk-PYD75RYX.mjs";import"../../chunk-2OGPCKQX.mjs";import"../../chunk-DEIZ6NOQ.mjs";import"../../chunk-QQHB6G47.mjs";import"../../chunk-YUMUNL66.mjs";import"../../chunk-JO76EBDG.mjs";import"../../chunk-MH5LZNIE.mjs";import"../../chunk-6YGW3G46.mjs";import"../../chunk-CELI6EJU.mjs";import"../../chunk-SYT2IXG6.mjs";import"../../chunk-N72TTVUG.mjs";import"../../chunk-ARPOY53H.mjs";export{a as formatPeriod};
@@ -1 +1 @@
1
- import{a as g}from"../../chunk-6U2XQRAL.mjs";import{a as e}from"../../chunk-53SZZ2QK.mjs";import{a as h}from"../../chunk-UWXN5NEH.mjs";import{a as i}from"../../chunk-MP5IS4V2.mjs";import{a as j}from"../../chunk-HR4YFT2T.mjs";import{a as k}from"../../chunk-AQPTJK67.mjs";import"../../chunk-NQP6WK7A.mjs";import"../../chunk-MPU6JRPV.mjs";import"../../chunk-E3EM6ARH.mjs";import{a,b,c}from"../../chunk-KIDNKMJ2.mjs";import{a as d}from"../../chunk-CP4WO7MM.mjs";import{a as f}from"../../chunk-NBHXSY6E.mjs";import"../../chunk-GRNEXX4Q.mjs";import"../../chunk-EHUYHMHD.mjs";import"../../chunk-IHX4EDUF.mjs";import"../../chunk-RONJDARA.mjs";import"../../chunk-3Q25XO3O.mjs";import"../../chunk-Y37NQHZ4.mjs";import"../../chunk-PPEZOXLP.mjs";import"../../chunk-FKLXONKR.mjs";import"../../chunk-F4P6WJV7.mjs";import"../../chunk-JKFE3UP3.mjs";import"../../chunk-NZ4UYKAT.mjs";import"../../chunk-WKSJXYEU.mjs";import"../../chunk-GGIZK3EO.mjs";import"../../chunk-OWYWG4M6.mjs";import"../../chunk-VZT64RAP.mjs";import"../../chunk-J7REM3DA.mjs";import"../../chunk-ZECUYKGD.mjs";import"../../chunk-6QBFOWVB.mjs";import"../../chunk-H4ELSETA.mjs";import"../../chunk-EMO4MGOU.mjs";import"../../chunk-VQH3G3BC.mjs";import"../../chunk-ZTPDEOIY.mjs";import"../../chunk-E5KCWRHJ.mjs";import"../../chunk-ORB6LTBV.mjs";import"../../chunk-PMOQSSOL.mjs";import"../../chunk-2OJAP233.mjs";import"../../chunk-NEIHTFSW.mjs";import"../../chunk-HJD7AJT4.mjs";import"../../chunk-CZPMEIRC.mjs";import"../../chunk-NWFCCRLG.mjs";import"../../chunk-KQ4NF54J.mjs";import"../../chunk-B5RDJTTU.mjs";import"../../chunk-6MXH6P2P.mjs";import"../../chunk-L3IOBXLP.mjs";import"../../chunk-YICE6QF7.mjs";import"../../chunk-PYD75RYX.mjs";import"../../chunk-2OGPCKQX.mjs";import"../../chunk-DEIZ6NOQ.mjs";import"../../chunk-QQHB6G47.mjs";import"../../chunk-YUMUNL66.mjs";import"../../chunk-JO76EBDG.mjs";import"../../chunk-MH5LZNIE.mjs";import"../../chunk-6YGW3G46.mjs";import"../../chunk-CELI6EJU.mjs";import"../../chunk-SYT2IXG6.mjs";import"../../chunk-WUD6DJTA.mjs";import"../../chunk-ARPOY53H.mjs";export{d as formatDate,e as formatDateTime,f as formatDateTimeSmart,g as formatPeriod,b as getAdjustedBillingCycleStart,c as getBillingStartDate,h as getDateTimeLocal,i as getDaysDifference,j as getFirstAndLastDay,a as getLastDayOfMonth,k as parseDateTime};
1
+ import{a as g}from"../../chunk-MPC4FJJA.mjs";import{a as f}from"../../chunk-NBHXSY6E.mjs";import{a as e}from"../../chunk-53SZZ2QK.mjs";import{a as h}from"../../chunk-UWXN5NEH.mjs";import{a as i}from"../../chunk-MP5IS4V2.mjs";import{a as j}from"../../chunk-HR4YFT2T.mjs";import{a as k}from"../../chunk-AQPTJK67.mjs";import"../../chunk-PPEZOXLP.mjs";import"../../chunk-NQP6WK7A.mjs";import"../../chunk-MPU6JRPV.mjs";import"../../chunk-E3EM6ARH.mjs";import"../../chunk-FKLXONKR.mjs";import{a,b,c}from"../../chunk-KIDNKMJ2.mjs";import{a as d}from"../../chunk-CP4WO7MM.mjs";import"../../chunk-OWYWG4M6.mjs";import"../../chunk-GRNEXX4Q.mjs";import"../../chunk-EHUYHMHD.mjs";import"../../chunk-IHX4EDUF.mjs";import"../../chunk-RONJDARA.mjs";import"../../chunk-3Q25XO3O.mjs";import"../../chunk-Y37NQHZ4.mjs";import"../../chunk-E5KCWRHJ.mjs";import"../../chunk-F4P6WJV7.mjs";import"../../chunk-JKFE3UP3.mjs";import"../../chunk-NZ4UYKAT.mjs";import"../../chunk-WKSJXYEU.mjs";import"../../chunk-GGIZK3EO.mjs";import"../../chunk-VZT64RAP.mjs";import"../../chunk-J7REM3DA.mjs";import"../../chunk-ZECUYKGD.mjs";import"../../chunk-3IW5HUAZ.mjs";import"../../chunk-H4ELSETA.mjs";import"../../chunk-6QPNCI3L.mjs";import"../../chunk-EMO4MGOU.mjs";import"../../chunk-VQH3G3BC.mjs";import"../../chunk-ZTPDEOIY.mjs";import"../../chunk-ORB6LTBV.mjs";import"../../chunk-PMOQSSOL.mjs";import"../../chunk-2OJAP233.mjs";import"../../chunk-NEIHTFSW.mjs";import"../../chunk-HJD7AJT4.mjs";import"../../chunk-KQARG6O4.mjs";import"../../chunk-NWFCCRLG.mjs";import"../../chunk-KQ4NF54J.mjs";import"../../chunk-B5RDJTTU.mjs";import"../../chunk-6MXH6P2P.mjs";import"../../chunk-L3IOBXLP.mjs";import"../../chunk-YICE6QF7.mjs";import"../../chunk-PYD75RYX.mjs";import"../../chunk-2OGPCKQX.mjs";import"../../chunk-DEIZ6NOQ.mjs";import"../../chunk-QQHB6G47.mjs";import"../../chunk-YUMUNL66.mjs";import"../../chunk-JO76EBDG.mjs";import"../../chunk-MH5LZNIE.mjs";import"../../chunk-6YGW3G46.mjs";import"../../chunk-CELI6EJU.mjs";import"../../chunk-SYT2IXG6.mjs";import"../../chunk-N72TTVUG.mjs";import"../../chunk-ARPOY53H.mjs";export{d as formatDate,e as formatDateTime,f as formatDateTimeSmart,g as formatPeriod,b as getAdjustedBillingCycleStart,c as getBillingStartDate,h as getDateTimeLocal,i as getDaysDifference,j as getFirstAndLastDay,a as getLastDayOfMonth,k as parseDateTime};
@@ -1 +1 @@
1
- import{a,b,c,d,e,f,g}from"../chunk-6QBFOWVB.mjs";import"../chunk-H4ELSETA.mjs";import"../chunk-CZPMEIRC.mjs";import"../chunk-NWFCCRLG.mjs";import"../chunk-KQ4NF54J.mjs";import"../chunk-B5RDJTTU.mjs";import"../chunk-6MXH6P2P.mjs";import"../chunk-L3IOBXLP.mjs";import"../chunk-YICE6QF7.mjs";import"../chunk-PYD75RYX.mjs";import"../chunk-2OGPCKQX.mjs";import"../chunk-DEIZ6NOQ.mjs";import"../chunk-QQHB6G47.mjs";import"../chunk-YUMUNL66.mjs";import"../chunk-JO76EBDG.mjs";import"../chunk-MH5LZNIE.mjs";import"../chunk-6YGW3G46.mjs";import"../chunk-CELI6EJU.mjs";import"../chunk-SYT2IXG6.mjs";import"../chunk-WUD6DJTA.mjs";import"../chunk-ARPOY53H.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{a,b,c,d,e,f,g}from"../chunk-3IW5HUAZ.mjs";import"../chunk-H4ELSETA.mjs";import"../chunk-KQARG6O4.mjs";import"../chunk-NWFCCRLG.mjs";import"../chunk-KQ4NF54J.mjs";import"../chunk-B5RDJTTU.mjs";import"../chunk-6MXH6P2P.mjs";import"../chunk-L3IOBXLP.mjs";import"../chunk-YICE6QF7.mjs";import"../chunk-PYD75RYX.mjs";import"../chunk-2OGPCKQX.mjs";import"../chunk-DEIZ6NOQ.mjs";import"../chunk-QQHB6G47.mjs";import"../chunk-YUMUNL66.mjs";import"../chunk-JO76EBDG.mjs";import"../chunk-MH5LZNIE.mjs";import"../chunk-6YGW3G46.mjs";import"../chunk-CELI6EJU.mjs";import"../chunk-SYT2IXG6.mjs";import"../chunk-N72TTVUG.mjs";import"../chunk-ARPOY53H.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,7 @@
1
+ declare function fetchWithRetry(input: RequestInfo | URL, init?: RequestInit | undefined, options?: {
2
+ timeout?: number;
3
+ maxRetries?: number;
4
+ retryDelay?: number;
5
+ }): Promise<Response>;
6
+
7
+ export { fetchWithRetry };
@@ -0,0 +1 @@
1
+ import{a}from"../chunk-6QPNCI3L.mjs";export{a as fetchWithRetry};
@@ -16,6 +16,7 @@ export { getFirstAndLastDay } from './datetime/get-first-and-last-day.js';
16
16
  export { parseDateTime } from './datetime/parse-datetime.js';
17
17
  export { deepEqual } from './deep-equal.js';
18
18
  export { generateDomainFromName, getApexDomain, getDomainWithoutWWW, getSubdomain, isDubDomain, validDomainRegex, validSlugRegex } from './domains.js';
19
+ export { fetchWithRetry } from './fetch-with-retry.js';
19
20
  export { fetchWithTimeout } from './fetch-with-timeout.js';
20
21
  export { fetcher } from './fetcher.js';
21
22
  export { formatFileSize } from './format-file-size.js';
@@ -1 +1 @@
1
- import{a as o,b as Y,c as Z}from"../chunk-6U2XQRAL.mjs";import{a as m}from"../chunk-53SZZ2QK.mjs";import{a as p}from"../chunk-UWXN5NEH.mjs";import{a as q}from"../chunk-MP5IS4V2.mjs";import{a as r}from"../chunk-HR4YFT2T.mjs";import{a as s}from"../chunk-AQPTJK67.mjs";import{a as ja}from"../chunk-NQP6WK7A.mjs";import{a as ka}from"../chunk-MPU6JRPV.mjs";import{a as la}from"../chunk-E3EM6ARH.mjs";import{a as i,b as j,c as k}from"../chunk-KIDNKMJ2.mjs";import{a as l}from"../chunk-CP4WO7MM.mjs";import{a as n}from"../chunk-NBHXSY6E.mjs";import{a as aa}from"../chunk-GRNEXX4Q.mjs";import{a as ba}from"../chunk-EHUYHMHD.mjs";import{a as ca,b as da}from"../chunk-IHX4EDUF.mjs";import{a as ea}from"../chunk-RONJDARA.mjs";import{a as fa}from"../chunk-3Q25XO3O.mjs";import{a as ga}from"../chunk-Y37NQHZ4.mjs";import{a as ia}from"../chunk-PPEZOXLP.mjs";import{a as ha}from"../chunk-FKLXONKR.mjs";import{a as S}from"../chunk-F4P6WJV7.mjs";import{a as T}from"../chunk-JKFE3UP3.mjs";import{a as U}from"../chunk-NZ4UYKAT.mjs";import{a as V,b as W,c as X}from"../chunk-WKSJXYEU.mjs";import{a as _}from"../chunk-GGIZK3EO.mjs";import{a as $}from"../chunk-OWYWG4M6.mjs";import{a as g}from"../chunk-VZT64RAP.mjs";import{a as h}from"../chunk-J7REM3DA.mjs";import{a as t}from"../chunk-ZECUYKGD.mjs";import{a as H,b as I,c as J,d as K,e as L,f as M,g as N}from"../chunk-6QBFOWVB.mjs";import{a as u,b as v,c as w,d as x,e as y,f as z,g as A,h as B,i as C,j as D,k as E,l as F,m as G}from"../chunk-H4ELSETA.mjs";import{a as O}from"../chunk-EMO4MGOU.mjs";import{a as P}from"../chunk-VQH3G3BC.mjs";import{a as Q}from"../chunk-ZTPDEOIY.mjs";import{a as R}from"../chunk-E5KCWRHJ.mjs";import{a as b}from"../chunk-ORB6LTBV.mjs";import{a as c}from"../chunk-PMOQSSOL.mjs";import{a as d}from"../chunk-2OJAP233.mjs";import{a as e}from"../chunk-NEIHTFSW.mjs";import{a as f}from"../chunk-HJD7AJT4.mjs";import"../chunk-CZPMEIRC.mjs";import{a}from"../chunk-NWFCCRLG.mjs";import"../chunk-KQ4NF54J.mjs";import"../chunk-B5RDJTTU.mjs";import"../chunk-6MXH6P2P.mjs";import"../chunk-L3IOBXLP.mjs";import"../chunk-YICE6QF7.mjs";import"../chunk-PYD75RYX.mjs";import"../chunk-2OGPCKQX.mjs";import"../chunk-DEIZ6NOQ.mjs";import"../chunk-QQHB6G47.mjs";import"../chunk-YUMUNL66.mjs";import"../chunk-JO76EBDG.mjs";import"../chunk-MH5LZNIE.mjs";import"../chunk-6YGW3G46.mjs";import"../chunk-CELI6EJU.mjs";import"../chunk-SYT2IXG6.mjs";import"../chunk-WUD6DJTA.mjs";import"../chunk-ARPOY53H.mjs";export{B as UTMTags,c as capitalize,d as chunk,e as cn,f as combineWords,g as constructMetadata,C as constructURLFromUTMParams,G as createHref,h as currencyFormatter,t as deepEqual,O as fetchWithTimeout,P as fetcher,l as formatDate,m as formatDateTime,n as formatDateTimeSmart,Q as formatFileSize,o as formatPeriod,H as generateDomainFromName,R as generateRandomString,j as getAdjustedBillingCycleStart,L as getApexDomain,k as getBillingStartDate,p as getDateTimeLocal,q as getDaysDifference,M as getDomainWithoutWWW,r as getFirstAndLastDay,i as getLastDayOfMonth,A as getParamsFromURL,F as getPrettyUrl,y as getSearchParams,z as getSearchParamsWithArray,K as getSubdomain,v as getUrlFromString,x as getUrlFromStringIfValid,w as getUrlObjFromString,E as getUrlWithoutUTMParams,S as hashStringSHA256,T as isClickOnInteractiveChild,N as isDubDomain,U as isIframeable,X as isReservedKeyGlobal,W as isUnsupportedKey,u as isValidUrl,Y as linkConstructor,Z as linkConstructorSimple,_ as log,a as nFormatter,$ as nanoid,aa as normalizeString,D as paramsMetadata,s as parseDateTime,ba as pluralize,da as punyEncode,ca as punycode,ea as randomValue,fa as regexEscape,ga as resizeImage,ia as smartTruncate,ja as stableSort,ka as timeAgo,b as toCamelCase,la as trim,ha as truncate,I as validDomainRegex,V as validKeyRegex,J as validSlugRegex};
1
+ import{a as o,b as Z,c as _}from"../chunk-MPC4FJJA.mjs";import{a as n}from"../chunk-NBHXSY6E.mjs";import{a as m}from"../chunk-53SZZ2QK.mjs";import{a as p}from"../chunk-UWXN5NEH.mjs";import{a as q}from"../chunk-MP5IS4V2.mjs";import{a as r}from"../chunk-HR4YFT2T.mjs";import{a as s}from"../chunk-AQPTJK67.mjs";import{a as ja}from"../chunk-PPEZOXLP.mjs";import{a as ka}from"../chunk-NQP6WK7A.mjs";import{a as la}from"../chunk-MPU6JRPV.mjs";import{a as ma}from"../chunk-E3EM6ARH.mjs";import{a as ia}from"../chunk-FKLXONKR.mjs";import{a as i,b as j,c as k}from"../chunk-KIDNKMJ2.mjs";import{a as l}from"../chunk-CP4WO7MM.mjs";import{a as aa}from"../chunk-OWYWG4M6.mjs";import{a as ba}from"../chunk-GRNEXX4Q.mjs";import{a as ca}from"../chunk-EHUYHMHD.mjs";import{a as da,b as ea}from"../chunk-IHX4EDUF.mjs";import{a as fa}from"../chunk-RONJDARA.mjs";import{a as ga}from"../chunk-3Q25XO3O.mjs";import{a as ha}from"../chunk-Y37NQHZ4.mjs";import{a as S}from"../chunk-E5KCWRHJ.mjs";import{a as T}from"../chunk-F4P6WJV7.mjs";import{a as U}from"../chunk-JKFE3UP3.mjs";import{a as V}from"../chunk-NZ4UYKAT.mjs";import{a as W,b as X,c as Y}from"../chunk-WKSJXYEU.mjs";import{a as $}from"../chunk-GGIZK3EO.mjs";import{a as g}from"../chunk-VZT64RAP.mjs";import{a as h}from"../chunk-J7REM3DA.mjs";import{a as t}from"../chunk-ZECUYKGD.mjs";import{a as H,b as I,c as J,d as K,e as L,f as M,g as N}from"../chunk-3IW5HUAZ.mjs";import{a as u,b as v,c as w,d as x,e as y,f as z,g as A,h as B,i as C,j as D,k as E,l as F,m as G}from"../chunk-H4ELSETA.mjs";import{a as O}from"../chunk-6QPNCI3L.mjs";import{a as P}from"../chunk-EMO4MGOU.mjs";import{a as Q}from"../chunk-VQH3G3BC.mjs";import{a as R}from"../chunk-ZTPDEOIY.mjs";import{a as b}from"../chunk-ORB6LTBV.mjs";import{a as c}from"../chunk-PMOQSSOL.mjs";import{a as d}from"../chunk-2OJAP233.mjs";import{a as e}from"../chunk-NEIHTFSW.mjs";import{a as f}from"../chunk-HJD7AJT4.mjs";import"../chunk-KQARG6O4.mjs";import{a}from"../chunk-NWFCCRLG.mjs";import"../chunk-KQ4NF54J.mjs";import"../chunk-B5RDJTTU.mjs";import"../chunk-6MXH6P2P.mjs";import"../chunk-L3IOBXLP.mjs";import"../chunk-YICE6QF7.mjs";import"../chunk-PYD75RYX.mjs";import"../chunk-2OGPCKQX.mjs";import"../chunk-DEIZ6NOQ.mjs";import"../chunk-QQHB6G47.mjs";import"../chunk-YUMUNL66.mjs";import"../chunk-JO76EBDG.mjs";import"../chunk-MH5LZNIE.mjs";import"../chunk-6YGW3G46.mjs";import"../chunk-CELI6EJU.mjs";import"../chunk-SYT2IXG6.mjs";import"../chunk-N72TTVUG.mjs";import"../chunk-ARPOY53H.mjs";export{B as UTMTags,c as capitalize,d as chunk,e as cn,f as combineWords,g as constructMetadata,C as constructURLFromUTMParams,G as createHref,h as currencyFormatter,t as deepEqual,O as fetchWithRetry,P as fetchWithTimeout,Q as fetcher,l as formatDate,m as formatDateTime,n as formatDateTimeSmart,R as formatFileSize,o as formatPeriod,H as generateDomainFromName,S as generateRandomString,j as getAdjustedBillingCycleStart,L as getApexDomain,k as getBillingStartDate,p as getDateTimeLocal,q as getDaysDifference,M as getDomainWithoutWWW,r as getFirstAndLastDay,i as getLastDayOfMonth,A as getParamsFromURL,F as getPrettyUrl,y as getSearchParams,z as getSearchParamsWithArray,K as getSubdomain,v as getUrlFromString,x as getUrlFromStringIfValid,w as getUrlObjFromString,E as getUrlWithoutUTMParams,T as hashStringSHA256,U as isClickOnInteractiveChild,N as isDubDomain,V as isIframeable,Y as isReservedKeyGlobal,X as isUnsupportedKey,u as isValidUrl,Z as linkConstructor,_ as linkConstructorSimple,$ as log,a as nFormatter,aa as nanoid,ba as normalizeString,D as paramsMetadata,s as parseDateTime,ca as pluralize,ea as punyEncode,da as punycode,fa as randomValue,ga as regexEscape,ha as resizeImage,ja as smartTruncate,ka as stableSort,la as timeAgo,b as toCamelCase,ma as trim,ia as truncate,I as validDomainRegex,W as validKeyRegex,J as validSlugRegex};
@@ -1 +1 @@
1
- import{b as a,c as b}from"../chunk-6U2XQRAL.mjs";import"../chunk-53SZZ2QK.mjs";import"../chunk-UWXN5NEH.mjs";import"../chunk-MP5IS4V2.mjs";import"../chunk-HR4YFT2T.mjs";import"../chunk-AQPTJK67.mjs";import"../chunk-NQP6WK7A.mjs";import"../chunk-MPU6JRPV.mjs";import"../chunk-E3EM6ARH.mjs";import"../chunk-KIDNKMJ2.mjs";import"../chunk-CP4WO7MM.mjs";import"../chunk-NBHXSY6E.mjs";import"../chunk-GRNEXX4Q.mjs";import"../chunk-EHUYHMHD.mjs";import"../chunk-IHX4EDUF.mjs";import"../chunk-RONJDARA.mjs";import"../chunk-3Q25XO3O.mjs";import"../chunk-Y37NQHZ4.mjs";import"../chunk-PPEZOXLP.mjs";import"../chunk-FKLXONKR.mjs";import"../chunk-F4P6WJV7.mjs";import"../chunk-JKFE3UP3.mjs";import"../chunk-NZ4UYKAT.mjs";import"../chunk-WKSJXYEU.mjs";import"../chunk-GGIZK3EO.mjs";import"../chunk-OWYWG4M6.mjs";import"../chunk-VZT64RAP.mjs";import"../chunk-J7REM3DA.mjs";import"../chunk-ZECUYKGD.mjs";import"../chunk-6QBFOWVB.mjs";import"../chunk-H4ELSETA.mjs";import"../chunk-EMO4MGOU.mjs";import"../chunk-VQH3G3BC.mjs";import"../chunk-ZTPDEOIY.mjs";import"../chunk-E5KCWRHJ.mjs";import"../chunk-ORB6LTBV.mjs";import"../chunk-PMOQSSOL.mjs";import"../chunk-2OJAP233.mjs";import"../chunk-NEIHTFSW.mjs";import"../chunk-HJD7AJT4.mjs";import"../chunk-CZPMEIRC.mjs";import"../chunk-NWFCCRLG.mjs";import"../chunk-KQ4NF54J.mjs";import"../chunk-B5RDJTTU.mjs";import"../chunk-6MXH6P2P.mjs";import"../chunk-L3IOBXLP.mjs";import"../chunk-YICE6QF7.mjs";import"../chunk-PYD75RYX.mjs";import"../chunk-2OGPCKQX.mjs";import"../chunk-DEIZ6NOQ.mjs";import"../chunk-QQHB6G47.mjs";import"../chunk-YUMUNL66.mjs";import"../chunk-JO76EBDG.mjs";import"../chunk-MH5LZNIE.mjs";import"../chunk-6YGW3G46.mjs";import"../chunk-CELI6EJU.mjs";import"../chunk-SYT2IXG6.mjs";import"../chunk-WUD6DJTA.mjs";import"../chunk-ARPOY53H.mjs";export{a as linkConstructor,b as linkConstructorSimple};
1
+ import{b as a,c as b}from"../chunk-MPC4FJJA.mjs";import"../chunk-NBHXSY6E.mjs";import"../chunk-53SZZ2QK.mjs";import"../chunk-UWXN5NEH.mjs";import"../chunk-MP5IS4V2.mjs";import"../chunk-HR4YFT2T.mjs";import"../chunk-AQPTJK67.mjs";import"../chunk-PPEZOXLP.mjs";import"../chunk-NQP6WK7A.mjs";import"../chunk-MPU6JRPV.mjs";import"../chunk-E3EM6ARH.mjs";import"../chunk-FKLXONKR.mjs";import"../chunk-KIDNKMJ2.mjs";import"../chunk-CP4WO7MM.mjs";import"../chunk-OWYWG4M6.mjs";import"../chunk-GRNEXX4Q.mjs";import"../chunk-EHUYHMHD.mjs";import"../chunk-IHX4EDUF.mjs";import"../chunk-RONJDARA.mjs";import"../chunk-3Q25XO3O.mjs";import"../chunk-Y37NQHZ4.mjs";import"../chunk-E5KCWRHJ.mjs";import"../chunk-F4P6WJV7.mjs";import"../chunk-JKFE3UP3.mjs";import"../chunk-NZ4UYKAT.mjs";import"../chunk-WKSJXYEU.mjs";import"../chunk-GGIZK3EO.mjs";import"../chunk-VZT64RAP.mjs";import"../chunk-J7REM3DA.mjs";import"../chunk-ZECUYKGD.mjs";import"../chunk-3IW5HUAZ.mjs";import"../chunk-H4ELSETA.mjs";import"../chunk-6QPNCI3L.mjs";import"../chunk-EMO4MGOU.mjs";import"../chunk-VQH3G3BC.mjs";import"../chunk-ZTPDEOIY.mjs";import"../chunk-ORB6LTBV.mjs";import"../chunk-PMOQSSOL.mjs";import"../chunk-2OJAP233.mjs";import"../chunk-NEIHTFSW.mjs";import"../chunk-HJD7AJT4.mjs";import"../chunk-KQARG6O4.mjs";import"../chunk-NWFCCRLG.mjs";import"../chunk-KQ4NF54J.mjs";import"../chunk-B5RDJTTU.mjs";import"../chunk-6MXH6P2P.mjs";import"../chunk-L3IOBXLP.mjs";import"../chunk-YICE6QF7.mjs";import"../chunk-PYD75RYX.mjs";import"../chunk-2OGPCKQX.mjs";import"../chunk-DEIZ6NOQ.mjs";import"../chunk-QQHB6G47.mjs";import"../chunk-YUMUNL66.mjs";import"../chunk-JO76EBDG.mjs";import"../chunk-MH5LZNIE.mjs";import"../chunk-6YGW3G46.mjs";import"../chunk-CELI6EJU.mjs";import"../chunk-SYT2IXG6.mjs";import"../chunk-N72TTVUG.mjs";import"../chunk-ARPOY53H.mjs";export{a as linkConstructor,b as linkConstructorSimple};
package/dist/index.d.ts CHANGED
@@ -34,6 +34,7 @@ export { getFirstAndLastDay } from './functions/datetime/get-first-and-last-day.
34
34
  export { parseDateTime } from './functions/datetime/parse-datetime.js';
35
35
  export { deepEqual } from './functions/deep-equal.js';
36
36
  export { generateDomainFromName, getApexDomain, getDomainWithoutWWW, getSubdomain, isDubDomain, validDomainRegex, validSlugRegex } from './functions/domains.js';
37
+ export { fetchWithRetry } from './functions/fetch-with-retry.js';
37
38
  export { fetchWithTimeout } from './functions/fetch-with-timeout.js';
38
39
  export { fetcher } from './functions/fetcher.js';
39
40
  export { formatFileSize } from './functions/format-file-size.js';
package/dist/index.mjs CHANGED
@@ -1 +1 @@
1
- import{a as Ga,b as ob,c as pb}from"./chunk-6U2XQRAL.mjs";import{a as Ea}from"./chunk-53SZZ2QK.mjs";import{a as Ha}from"./chunk-UWXN5NEH.mjs";import{a as Ia}from"./chunk-MP5IS4V2.mjs";import{a as Ja}from"./chunk-HR4YFT2T.mjs";import{a as Ka}from"./chunk-AQPTJK67.mjs";import{a as Bb}from"./chunk-NQP6WK7A.mjs";import{a as Cb}from"./chunk-MPU6JRPV.mjs";import{a as Db}from"./chunk-E3EM6ARH.mjs";import{a as Aa,b as Ba,c as Ca}from"./chunk-KIDNKMJ2.mjs";import{a as Da}from"./chunk-CP4WO7MM.mjs";import{a as Fa}from"./chunk-NBHXSY6E.mjs";import{a as sb}from"./chunk-GRNEXX4Q.mjs";import{a as tb}from"./chunk-EHUYHMHD.mjs";import{a as ub,b as vb}from"./chunk-IHX4EDUF.mjs";import{a as wb}from"./chunk-RONJDARA.mjs";import{a as xb}from"./chunk-3Q25XO3O.mjs";import{a as yb}from"./chunk-Y37NQHZ4.mjs";import{a as Ab}from"./chunk-PPEZOXLP.mjs";import{a as zb}from"./chunk-FKLXONKR.mjs";import{a as ib}from"./chunk-F4P6WJV7.mjs";import{a as jb}from"./chunk-JKFE3UP3.mjs";import{a as kb}from"./chunk-NZ4UYKAT.mjs";import{a as lb,b as mb,c as nb}from"./chunk-WKSJXYEU.mjs";import{a as qb}from"./chunk-GGIZK3EO.mjs";import{a as rb}from"./chunk-OWYWG4M6.mjs";import{a as ya}from"./chunk-VZT64RAP.mjs";import{a as za}from"./chunk-J7REM3DA.mjs";import{a as La}from"./chunk-ZECUYKGD.mjs";import{a as Za,b as _a,c as $a,d as ab,e as bb,f as cb,g as db}from"./chunk-6QBFOWVB.mjs";import{a as Ma,b as Na,c as Oa,d as Pa,e as Qa,f as Ra,g as Sa,h as Ta,i as Ua,j as Va,k as Wa,l as Xa,m as Ya}from"./chunk-H4ELSETA.mjs";import{a as eb}from"./chunk-EMO4MGOU.mjs";import{a as fb}from"./chunk-VQH3G3BC.mjs";import{a as gb}from"./chunk-ZTPDEOIY.mjs";import{a as hb}from"./chunk-E5KCWRHJ.mjs";import{a as ta}from"./chunk-ORB6LTBV.mjs";import{a as ua}from"./chunk-PMOQSSOL.mjs";import{a as va}from"./chunk-2OJAP233.mjs";import{a as wa}from"./chunk-NEIHTFSW.mjs";import{a as xa}from"./chunk-HJD7AJT4.mjs";import{a as ca,b as da,c as ea,d as fa,e as ga,f as ha,g as ia,h as ja,i as ka,j as la,k as ma,l as na,m as oa}from"./chunk-CZPMEIRC.mjs";import{a as ba}from"./chunk-NWFCCRLG.mjs";import{a as pa,b as qa}from"./chunk-KQ4NF54J.mjs";import{a as ra}from"./chunk-B5RDJTTU.mjs";import{a as sa}from"./chunk-6MXH6P2P.mjs";import{a as I,b as J,c as K}from"./chunk-L3IOBXLP.mjs";import{a as L,b as M,c as N,d as O,e as P}from"./chunk-YICE6QF7.mjs";import{a as Q}from"./chunk-PYD75RYX.mjs";import{a as R,b as S}from"./chunk-2OGPCKQX.mjs";import{a as T,b as U,c as V}from"./chunk-DEIZ6NOQ.mjs";import{a as W,b as X,c as Y,d as Z,e as _,f as $,g as aa}from"./chunk-QQHB6G47.mjs";import{a}from"./chunk-YUMUNL66.mjs";import{a as b}from"./chunk-JO76EBDG.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 F,b as G,c as H}from"./chunk-WUD6DJTA.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,u as E}from"./chunk-ARPOY53H.mjs";export{B as ACME_PROGRAM_ID,A as ACME_WORKSPACE_ID,r as ADMIN_HOSTNAMES,ha as ADVANCED_PLAN,Q as ALL_TOOLS,q as API_DOMAIN,p as API_HOSTNAMES,n as APP_DOMAIN,o as APP_DOMAIN_WITH_NGROK,m as APP_HOSTNAMES,k as APP_NAME,ga 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,W as DEFAULT_LINK_PROPS,T as DEFAULT_REDIRECTS,H as DUB_DEMO_LINKS,F as DUB_DOMAINS,G as DUB_DOMAINS_ARRAY,U 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,g as EU_COUNTRY_CODES,I as FRAMER_MOTION_LIST_ITEM_VARIANTS,ea as FREE_PLAN,ja as FREE_WORKSPACES_LIMIT,X as GOOGLE_FAVICON_URL,aa as INFINITY_NUMBER,D as LEGAL_USER_ID,C as LEGAL_WORKSPACE_ID,R as LOCALHOST_GEO_DATA,S as LOCALHOST_IP,Y as OG_AVATAR_URL,Z as PAGINATION_LIMIT,t as PARTNERS_DOMAIN,u as PARTNERS_DOMAIN_WITH_NGROK,s as PARTNERS_HOSTNAMES,da as PLANS,ca as PLAN_COMPARE_FEATURES,fa as PRO_PLAN,E as R2_URL,V as REDIRECTION_QUERY_PARAM,pa as REGIONS,qa as REGION_CODES,ra as RESERVED_SLUGS,sa as SAML_PROVIDERS,i as SECOND_LEVEL_DOMAINS,N as SEGMENT_INTEGRATION_ID,ia as SELF_SERVE_PAID_PLANS,P as SHOPIFY_INTEGRATION_ID,l as SHORT_DOMAIN,L as SLACK_INTEGRATION_ID,j as SPECIAL_APEX_DOMAINS,J as STAGGER_CHILD_VARIANTS,M as STRIPE_INTEGRATION_ID,K as TAB_ITEM_ANIMATION_SETTINGS,$ as THE_BEGINNING_OF_TIME,_ as TWO_WEEKS_IN_SECONDS,Ta as UTMTags,O as ZAPIER_INTEGRATION_ID,ua as capitalize,a as ccTLDs,va as chunk,wa as cn,xa as combineWords,ya as constructMetadata,Ua as constructURLFromUTMParams,Ya as createHref,za as currencyFormatter,La as deepEqual,eb as fetchWithTimeout,fb as fetcher,Da as formatDate,Ea as formatDateTime,Fa as formatDateTimeSmart,gb as formatFileSize,Ga as formatPeriod,Za as generateDomainFromName,hb as generateRandomString,Ba as getAdjustedBillingCycleStart,bb as getApexDomain,Ca as getBillingStartDate,ma as getCurrentPlan,Ha as getDateTimeLocal,Ia as getDaysDifference,cb as getDomainWithoutWWW,Ja as getFirstAndLastDay,Aa as getLastDayOfMonth,na as getNextPlan,Sa as getParamsFromURL,la as getPlanDetails,ka as getPlanFromPriceId,Xa as getPrettyUrl,Qa as getSearchParams,Ra as getSearchParamsWithArray,ab as getSubdomain,Na as getUrlFromString,Pa as getUrlFromStringIfValid,Oa as getUrlObjFromString,Wa as getUrlWithoutUTMParams,ib as hashStringSHA256,jb as isClickOnInteractiveChild,oa as isDowngradePlan,db as isDubDomain,kb as isIframeable,nb as isReservedKeyGlobal,mb as isUnsupportedKey,Ma as isValidUrl,ob as linkConstructor,pb as linkConstructorSimple,qb as log,ba as nFormatter,rb as nanoid,sb as normalizeString,Va as paramsMetadata,Ka as parseDateTime,tb as pluralize,vb as punyEncode,ub as punycode,wb as randomValue,xb as regexEscape,yb as resizeImage,Ab as smartTruncate,Bb as stableSort,Cb as timeAgo,ta as toCamelCase,Db as trim,zb as truncate,_a as validDomainRegex,lb as validKeyRegex,$a as validSlugRegex};
1
+ import{a as Ga,b as pb,c as qb}from"./chunk-MPC4FJJA.mjs";import{a as Fa}from"./chunk-NBHXSY6E.mjs";import{a as Ea}from"./chunk-53SZZ2QK.mjs";import{a as Ha}from"./chunk-UWXN5NEH.mjs";import{a as Ia}from"./chunk-MP5IS4V2.mjs";import{a as Ja}from"./chunk-HR4YFT2T.mjs";import{a as Ka}from"./chunk-AQPTJK67.mjs";import{a as Bb}from"./chunk-PPEZOXLP.mjs";import{a as Cb}from"./chunk-NQP6WK7A.mjs";import{a as Db}from"./chunk-MPU6JRPV.mjs";import{a as Eb}from"./chunk-E3EM6ARH.mjs";import{a as Ab}from"./chunk-FKLXONKR.mjs";import{a as Aa,b as Ba,c as Ca}from"./chunk-KIDNKMJ2.mjs";import{a as Da}from"./chunk-CP4WO7MM.mjs";import{a as sb}from"./chunk-OWYWG4M6.mjs";import{a as tb}from"./chunk-GRNEXX4Q.mjs";import{a as ub}from"./chunk-EHUYHMHD.mjs";import{a as vb,b as wb}from"./chunk-IHX4EDUF.mjs";import{a as xb}from"./chunk-RONJDARA.mjs";import{a as yb}from"./chunk-3Q25XO3O.mjs";import{a as zb}from"./chunk-Y37NQHZ4.mjs";import{a as ib}from"./chunk-E5KCWRHJ.mjs";import{a as jb}from"./chunk-F4P6WJV7.mjs";import{a as kb}from"./chunk-JKFE3UP3.mjs";import{a as lb}from"./chunk-NZ4UYKAT.mjs";import{a as mb,b as nb,c as ob}from"./chunk-WKSJXYEU.mjs";import{a as rb}from"./chunk-GGIZK3EO.mjs";import{a as ya}from"./chunk-VZT64RAP.mjs";import{a as za}from"./chunk-J7REM3DA.mjs";import{a as La}from"./chunk-ZECUYKGD.mjs";import{a as Za,b as _a,c as $a,d as ab,e as bb,f as cb,g as db}from"./chunk-3IW5HUAZ.mjs";import{a as Ma,b as Na,c as Oa,d as Pa,e as Qa,f as Ra,g as Sa,h as Ta,i as Ua,j as Va,k as Wa,l as Xa,m as Ya}from"./chunk-H4ELSETA.mjs";import{a as eb}from"./chunk-6QPNCI3L.mjs";import{a as fb}from"./chunk-EMO4MGOU.mjs";import{a as gb}from"./chunk-VQH3G3BC.mjs";import{a as hb}from"./chunk-ZTPDEOIY.mjs";import{a as ta}from"./chunk-ORB6LTBV.mjs";import{a as ua}from"./chunk-PMOQSSOL.mjs";import{a as va}from"./chunk-2OJAP233.mjs";import{a as wa}from"./chunk-NEIHTFSW.mjs";import{a as xa}from"./chunk-HJD7AJT4.mjs";import{a as ca,b as da,c as ea,d as fa,e as ga,f as ha,g as ia,h as ja,i as ka,j as la,k as ma,l as na,m as oa}from"./chunk-KQARG6O4.mjs";import{a as ba}from"./chunk-NWFCCRLG.mjs";import{a as pa,b as qa}from"./chunk-KQ4NF54J.mjs";import{a as ra}from"./chunk-B5RDJTTU.mjs";import{a as sa}from"./chunk-6MXH6P2P.mjs";import{a as I,b as J,c as K}from"./chunk-L3IOBXLP.mjs";import{a as L,b as M,c as N,d as O,e as P}from"./chunk-YICE6QF7.mjs";import{a as Q}from"./chunk-PYD75RYX.mjs";import{a as R,b as S}from"./chunk-2OGPCKQX.mjs";import{a as T,b as U,c as V}from"./chunk-DEIZ6NOQ.mjs";import{a as W,b as X,c as Y,d as Z,e as _,f as $,g as aa}from"./chunk-QQHB6G47.mjs";import{a}from"./chunk-YUMUNL66.mjs";import{a as b}from"./chunk-JO76EBDG.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 F,b as G,c as H}from"./chunk-N72TTVUG.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,u as E}from"./chunk-ARPOY53H.mjs";export{B as ACME_PROGRAM_ID,A as ACME_WORKSPACE_ID,r as ADMIN_HOSTNAMES,ha as ADVANCED_PLAN,Q as ALL_TOOLS,q as API_DOMAIN,p as API_HOSTNAMES,n as APP_DOMAIN,o as APP_DOMAIN_WITH_NGROK,m as APP_HOSTNAMES,k as APP_NAME,ga 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,W as DEFAULT_LINK_PROPS,T as DEFAULT_REDIRECTS,H as DUB_DEMO_LINKS,F as DUB_DOMAINS,G as DUB_DOMAINS_ARRAY,U 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,g as EU_COUNTRY_CODES,I as FRAMER_MOTION_LIST_ITEM_VARIANTS,ea as FREE_PLAN,ja as FREE_WORKSPACES_LIMIT,X as GOOGLE_FAVICON_URL,aa as INFINITY_NUMBER,D as LEGAL_USER_ID,C as LEGAL_WORKSPACE_ID,R as LOCALHOST_GEO_DATA,S as LOCALHOST_IP,Y as OG_AVATAR_URL,Z as PAGINATION_LIMIT,t as PARTNERS_DOMAIN,u as PARTNERS_DOMAIN_WITH_NGROK,s as PARTNERS_HOSTNAMES,da as PLANS,ca as PLAN_COMPARE_FEATURES,fa as PRO_PLAN,E as R2_URL,V as REDIRECTION_QUERY_PARAM,pa as REGIONS,qa as REGION_CODES,ra as RESERVED_SLUGS,sa as SAML_PROVIDERS,i as SECOND_LEVEL_DOMAINS,N as SEGMENT_INTEGRATION_ID,ia as SELF_SERVE_PAID_PLANS,P as SHOPIFY_INTEGRATION_ID,l as SHORT_DOMAIN,L as SLACK_INTEGRATION_ID,j as SPECIAL_APEX_DOMAINS,J as STAGGER_CHILD_VARIANTS,M as STRIPE_INTEGRATION_ID,K as TAB_ITEM_ANIMATION_SETTINGS,$ as THE_BEGINNING_OF_TIME,_ as TWO_WEEKS_IN_SECONDS,Ta as UTMTags,O as ZAPIER_INTEGRATION_ID,ua as capitalize,a as ccTLDs,va as chunk,wa as cn,xa as combineWords,ya as constructMetadata,Ua as constructURLFromUTMParams,Ya as createHref,za as currencyFormatter,La as deepEqual,eb as fetchWithRetry,fb as fetchWithTimeout,gb as fetcher,Da as formatDate,Ea as formatDateTime,Fa as formatDateTimeSmart,hb as formatFileSize,Ga as formatPeriod,Za as generateDomainFromName,ib as generateRandomString,Ba as getAdjustedBillingCycleStart,bb as getApexDomain,Ca as getBillingStartDate,ma as getCurrentPlan,Ha as getDateTimeLocal,Ia as getDaysDifference,cb as getDomainWithoutWWW,Ja as getFirstAndLastDay,Aa as getLastDayOfMonth,na as getNextPlan,Sa as getParamsFromURL,la as getPlanDetails,ka as getPlanFromPriceId,Xa as getPrettyUrl,Qa as getSearchParams,Ra as getSearchParamsWithArray,ab as getSubdomain,Na as getUrlFromString,Pa as getUrlFromStringIfValid,Oa as getUrlObjFromString,Wa as getUrlWithoutUTMParams,jb as hashStringSHA256,kb as isClickOnInteractiveChild,oa as isDowngradePlan,db as isDubDomain,lb as isIframeable,ob as isReservedKeyGlobal,nb as isUnsupportedKey,Ma as isValidUrl,pb as linkConstructor,qb as linkConstructorSimple,rb as log,ba as nFormatter,sb as nanoid,tb as normalizeString,Va as paramsMetadata,Ka as parseDateTime,ub as pluralize,wb as punyEncode,vb as punycode,xb as randomValue,yb as regexEscape,zb as resizeImage,Bb as smartTruncate,Cb as stableSort,Db as timeAgo,ta as toCamelCase,Eb as trim,Ab as truncate,_a as validDomainRegex,mb as validKeyRegex,$a 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",
4
- "version": "0.1.33",
4
+ "version": "0.1.34",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/index.mjs",
7
7
  "module": "./dist/index.mjs",
@@ -32,7 +32,7 @@
32
32
  },
33
33
  "dependencies": {
34
34
  "@sindresorhus/slugify": "^2.2.1",
35
- "chrono-node": "^2.7.5",
35
+ "chrono-node": "2.7.5",
36
36
  "clsx": "^2.1.1",
37
37
  "ms": "^2.1.3",
38
38
  "nanoid": "^5.0.1",