@dub/utils 0.1.26 → 0.1.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # `@dub/utils`
2
2
 
3
- `@dub/utils` is a library of utility functions that are used across Dub.co's web applications.
3
+ `@dub/utils` is a library of utility functions that are used across Dub's web applications.
4
4
 
5
5
  ## Installation
6
6
 
@@ -0,0 +1 @@
1
+ function p({title:t,fullTitle:i,description:s="Dub is the modern link attribution platform for short links, conversion tracking, and affiliate programs.",image:a="https://assets.dub.co/thumbnail.jpg",video:n,icons:l=[{rel:"apple-touch-icon",sizes:"32x32",url:"https://assets.dub.co/favicons/apple-touch-icon.png"},{rel:"icon",type:"image/png",sizes:"32x32",url:"https://assets.dub.co/favicons/favicon-32x32.png"},{rel:"icon",type:"image/png",sizes:"16x16",url:"https://assets.dub.co/favicons/favicon-16x16.png"}],url:e,canonicalUrl:o,noIndex:c=!1,manifest:r}={}){return{title:i||(t?`${t} | Dub.co`:"Dub.co - Link Management for Modern Marketing Teams"),description:s,openGraph:{title:t,description:s,...a&&{images:a},url:e,...n&&{videos:n}},twitter:{title:t,description:s,...a&&{card:"summary_large_image",images:[a]},...n&&{player:n},creator:"@dubdotco"},icons:l,metadataBase:new URL("https://dub.co"),...(e||o)&&{alternates:{canonical:e||o}},...c&&{robots:{index:!1,follow:!1}},...r&&{manifest:r}}}export{p as a};
@@ -0,0 +1 @@
1
+ var _=process.env.NEXT_PUBLIC_APP_NAME||"Dub",s=process.env.NEXT_PUBLIC_APP_SHORT_DOMAIN||"dub.sh",e=new Set([`app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"localhost:8888","localhost"]),t=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:"http://localhost:8888",p=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_NGROK_URL||"http://localhost:8888",o=new Set([`api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`api-staging.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`api.${s}`,"api.localhost:8888"]),r=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://api-staging.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:"http://api.localhost:8888",P=new Set([`admin.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"admin.localhost:8888"]),n=new Set([`partners.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`partners-staging.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"partners.localhost:8888"]),N=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://partners.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://partners-staging.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:"http://partners.localhost:8888",c=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://partners.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://partners-staging.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_NGROK_URL||"http://partners.localhost:8888",E="https://assets.dub.co/logo.png",A="https://assets.dub.co/logo.png",I="https://assets.dub.co/wordmark.png",L="https://assets.dub.co/thumbnail.jpg",C="cl7pj5kq4006835rbjlt2ofka",a="clrei1gld0002vs9mzn93p8ik",T="prog_CYCu7IMAapjkRpTnr8F1azjN",O="clrflia0j0000vs7sqfhz9c7q",v="clqei1lgc0000vsnzi01pbf47",U="https://dubassets.com";export{_ as a,s as b,e as c,t as d,p as e,o as f,r as g,P as h,n as i,N as j,c as k,E as l,A as m,I as n,L as o,C as p,a as q,T as r,O as s,v as t,U as u};
@@ -0,0 +1 @@
1
+ import{b as e,p as o}from"./chunk-63TWQUGD.mjs";var d=[{id:"clce1z7ch00j0rbstbjufva4j",slug:e,verified:!0,primary:!0,archived:!1,placeholder:"https://dub.co/help/article/what-is-dub",allowedHostnames:[],description:"The default domain for all new accounts.",projectId:o},...process.env.NEXT_PUBLIC_IS_DUB?[{id:"clxp3lfsb00011na8tfs7t0lx",slug:"dub.link",verified:!0,primary:!0,archived:!1,placeholder:"https://dub.co/help/article/what-is-dub",allowedHostnames:[],description:"Premium short domain on Dub \u2013 only available on our Pro plan and above.",projectId:o},{id:"clce1z7cs00y8rbstk4xtnj0k",slug:"chatg.pt",verified:!0,primary:!1,archived:!1,placeholder:"https://chat.openai.com/g/g-UGjKKONEe-domainsgpt",allowedHostnames:["openai.com","chatgpt.com"],description:"Branded domain for ChatGPT links (convos, custom GPTs).",projectId:o},{id:"cloxw8y2u0003js08a7mqg1j8",slug:"spti.fi",verified:!0,primary:!1,archived:!1,placeholder:"https://open.spotify.com/album/1SCyi9a5pOasikidToUY5y",allowedHostnames:["spotify.com"],description:"Branded domain for Spotify links (songs, playlists, etc.).",projectId:o},{id:"cltgtd6s5000341itdszz20u2",slug:"git.new",verified:!0,primary:!1,archived:!1,placeholder:"https://github.com/dubinc/dub",allowedHostnames:["github.com"],description:"Branded domain for GitHub links (repositories, gists, etc.).",projectId:o},{id:"cm23qevp4000412mqwvtkthzw",slug:"cal.link",verified:!0,primary:!1,archived:!1,placeholder:"https://cal.com/steven",allowedHostnames:["cal.com","calendly.com","calendar.app.google","calendar.google.com","chillipiper.com","fantastical.app","hubspot.com","savvycal.com","tidycal.com","you.ashbyhq.com","zcal.co"],description:"Branded domain for your scheduling links (Cal.com, Calendly, etc.).",projectId:o},{id:"cloxw8qtk000bjt08n9b812vs",slug:"amzn.id",verified:!0,primary:!1,archived:!1,placeholder:"https://www.amazon.com/dp/B0BW4SWNC8",allowedHostnames:["amazon.com","amazon.co.uk","amazon.ca","amazon.es","amazon.fr"],description:"Branded domain for Amazon links (products, wishlists, etc.).",projectId:o},{id:"clymd6zkc0001elilr1215tj9",slug:"ggl.link",verified:!0,primary:!1,archived:!1,placeholder:"https://docs.google.com/document/d/15-GOZA12SXGEh8lNwU5QI1jBi04TCPgY2-LChTbXVpA",allowedHostnames:["google.com","google.co.uk","google.co.id","google.ca","google.es","google.fr","googleblog.com","blog.google","g.co","g.page","youtube.com","youtu.be"],description:"Branded domain for Google links (Search, Docs, Sheets, Slides, Drive, Maps, etc.).",projectId:o},{id:"clymczttm0001jgkore3ltr37",slug:"fig.page",verified:!0,primary:!1,archived:!1,placeholder:"https://www.figma.com/design/YAfTk6SGV2HcSvL2415oED/Dub.co-Brand-Assets-(Public)?node-id=1-36593&t=QMKQNtUzxSSzG3hX-1",allowedHostnames:["figma.com"],description:"Branded domain for Figma links (portfolios, prototypes, presentations, etc.).",projectId:o},{id:"clugy7euh000a11h6ignmj42o",slug:"loooooooo.ng",verified:!0,primary:!1,archived:!0,placeholder:"https://d.to/long",description:"Branded domain for lengthening links instead of shortening them (April Fool's Prank).",projectId:o}]:[]],l=d.map(a=>a.slug),s=[{id:"clqo10sum0006js08vutzfxt3",domain:"d.to",key:"try",dashboardId:"dash_Rqy6tVEO5Ib4iVFvmYYTK4kO"},{id:"cltshzzpd0005126z3rd2lvo4",domain:"dub.sh",key:"try",dashboardId:"dash_bUNOfMQVcKS0VMDa2HaYhOjg"},{id:"clot0z5rg000djp08ue98hxkn",domain:"chatg.pt",key:"domains",dashboardId:"dash_lX4or5Yj6ZrPk3qW4SwgrQ5t"},{id:"clp4jh9av0001l308ormavtlu",domain:"spti.fi",key:"hans",dashboardId:"dash_v2Ygwn3hZNYx6kFYfBT4IApM"},{id:"cltgtsex40003ck8z444hum5u",domain:"git.new",key:"dub",dashboardId:"dash_FX5HKOKhtQ6uoIeSDxWM8eIb"},{id:"clymd5vqj0005jgkorsopklsk",domain:"fig.page",key:"dub",dashboardId:"dash_no9BFlfSjHDG6K7XIAuwLt5p"},{id:"clp3k3yoi0001ju0874nz899q",domain:"amzn.id",key:"tv",dashboardId:"dash_fKwai9V9nsLcC0IaY0rTF1yA"},{id:"clymd73o50001ulmzzxjumr8l",domain:"ggl.link",key:"dub",dashboardId:"dash_rx5c7pQPnx2MUCX3cL4t1Zpn"},{id:"cm24785ki0001ainw2qks4uq5",domain:"cal.link",key:"demo",dashboardId:"dash_zbzP2UVvTrv5SkIEPP2pV5pC"}];export{d as a,l as b,s as c};
@@ -0,0 +1 @@
1
+ function u({title:t,fullTitle:r,description:s="Dub is the modern link attribution platform for short links, conversion tracking, and affiliate programs.",image:a="https://assets.dub.co/thumbnail.jpg",video:n,icons:l=[{rel:"apple-touch-icon",sizes:"32x32",url:"https://assets.dub.co/favicons/apple-touch-icon.png"},{rel:"icon",type:"image/png",sizes:"32x32",url:"https://assets.dub.co/favicons/favicon-32x32.png"},{rel:"icon",type:"image/png",sizes:"16x16",url:"https://assets.dub.co/favicons/favicon-16x16.png"}],url:o,canonicalUrl:e,noIndex:c=!1,manifest:i}={}){return{title:r||(t?`${t} | Dub`:"Dub \u2013 The Modern Link Attribution Platform"),description:s,openGraph:{title:t,description:s,...a&&{images:a},url:o,...n&&{videos:n}},twitter:{title:t,description:s,...a&&{card:"summary_large_image",images:[a]},...n&&{player:n},creator:"@dubdotco"},icons:l,metadataBase:new URL("https://dub.co"),...(o||e)&&{alternates:{canonical:o||e}},...c&&{robots:{index:!1,follow:!1}},...i&&{manifest:i}}}export{u as a};
@@ -0,0 +1 @@
1
+ import{g as n}from"./chunk-QQHB6G47.mjs";import{a}from"./chunk-NWFCCRLG.mjs";import{Fragment as r,jsx as t,jsxs as i}from"react/jsx-runtime";var k=[{category:"Links",href:"https://dub.co/home",features:[{text:()=>i(r,{children:[t("strong",{children:"Unlimited"})," clicks"]})},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.links)})," ","new links",e.name==="Enterprise"?"":"/mo"]})},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.tags===n?"Unlimited":a(e.limits.tags)})," ","tags"]}),href:"https://dub.co/help/article/how-to-use-tags"},{check:{free:!1,default:!0},text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.folders===n?"Unlimited":a(e.limits.folders)})," ","folders"]})},{text:"Custom QR codes",href:"https://dub.co/help/article/custom-qr-codes"},{text:"UTM builder + templates",href:"https://dub.co/help/article/how-to-create-utm-templates"},{check:{free:!1,default:!0},text:"Custom link previews",href:"https://dub.co/help/article/custom-link-previews"},{check:{free:!1,default:!0},text:"Deep links",href:"https://dub.co/help/article/custom-domain-deep-links"},{check:{free:!1,default:!0},text:"Link cloaking",href:"https://dub.co/help/article/link-cloaking"},{check:{free:!1,default:!0},text:"Link expiration",href:"https://dub.co/help/article/link-expiration"},{check:{free:!1,default:!0},text:"Password protection",href:"https://dub.co/help/article/password-protected-links"},{check:{free:!1,default:!0},text:"Device targeting",href:"https://dub.co/help/article/device-targeting"},{check:{free:!1,default:!0},text:"Geo targeting",href:"https://dub.co/help/article/geo-targeting"},{check:{free:!1,pro:!1,default:!0},text:"A/B testing"}]},{category:"Analytics",href:"https://dub.co/analytics",features:[{text:"Advanced analytics",href:"https://dub.co/help/article/dub-analytics"},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.clicks)})," ","tracked clicks",e.name==="Enterprise"?"":"/mo"]}),href:"https://dub.co/help/article/dub-analytics-limits"},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.retention})," retention"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Real-time events stream",href:"https://dub.co/help/article/real-time-events-stream"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Conversion tracking",href:"https://dub.co/help/article/dub-conversions"}]},{category:"Partners",href:"https://dub.co/partners",features:[{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Partner management",href:"https://dub.co/partners"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:({id:e,plan:s})=>e==="free"||e==="pro"?"No tracked sales":i(r,{children:[t("strong",{children:s.name==="Enterprise"?"Unlimited":`$${a(s.limits.sales/100)}`})," ","tracked sales",s.name==="Enterprise"?"":"/mo"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"1-click global payouts",href:"https://dub.co/help/article/partner-payouts"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:({id:e})=>e==="free"||e==="pro"?"No payouts":i(r,{children:[t("strong",{children:{business:"7%",advanced:"5%",enterprise:"3%"}[e]})," ","payout fees"]}),href:"https://dub.co/help/article/partner-payouts#payout-fees-and-timing"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Tax compliance",href:"https://dub.co/help/article/partner-payouts#tax-compliance"},{check:{default:!1,business:!1,advanced:!0,enterprise:!0},text:"White-labeling support",href:"https://dub.co/docs/partners/white-labeling"},{check:{default:!1,business:!1,advanced:!0,enterprise:!0},text:"Branded email domains"}]},{category:"Domains",href:"https://dub.co/help/category/custom-domains",features:[{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.domains,{full:!0})})," ","custom domains"]})},{text:()=>t(r,{children:"SSL certificates"})},{check:{default:!0,free:!1},text:()=>i(r,{children:["Premium ",t("strong",{children:"dub.link"})," domain"]}),href:"https://dub.co/help/article/default-dub-domains#premium-dublink-domain"},{check:{default:!0,free:!1},text:()=>i(r,{children:["Free ",t("strong",{children:".link"})," domain"]}),href:"https://dub.co/help/article/free-dot-link-domain"}]},{category:"API",href:"https://dub.co/docs/api-reference/introduction",features:[{text:"API Access",href:"https://dub.co/docs/api-reference/introduction"},{text:"Native SDKs",href:"https://dub.co/docs/sdks/overview"},{text:({id:e,plan:s})=>i(r,{children:[t("strong",{children:e==="enterprise"?"Custom":a(s.limits.api)+"/min"})," ","rate limit"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Event webhooks",href:"https://dub.co/docs/concepts/webhooks/introduction"}]},{category:"Workspace",href:"https://dub.co/help/category/workspaces",features:[{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.users)})," ","user",e.limits.users===1?"":"s"]})},{check:{default:!1,advanced:!0,enterprise:!0},text:"Role-based access control"},{check:{default:!1,enterprise:!0},text:"SAML/SSO",href:"https://dub.co/help/category/saml-sso"},{check:{default:!1,enterprise:!0},text:"Custom SLA"},{check:{default:!1,enterprise:!0},text:"Audit logs"}]},{category:"Support",href:"https://dub.co/help",features:[{text:({id:e})=>t(r,{children:t("strong",{children:{free:"Basic support",pro:"Elevated support",business:"Priority support",advanced:"Priority via Slack",enterprise:"Priority with SLA"}[e]})})},{check:{default:!1,enterprise:!0},text:()=>i(r,{children:[t("strong",{children:"Dedicated"})," success manager"]})}]}];var o=[{name:"Free",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,sales:0,domains:3,tags:5,folders:0,users:1,ai:10,api:60,retention:"30-day"}},{name:"Pro",link:"https://dub.co/help/article/pro-plan",price:{monthly:30,yearly:25,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ","price_1OTcQBAlJJEpqkPViGtGEsbb","price_1OYJeBAlJJEpqkPVLjTsjX0E","price_1OTcQBAlJJEpqkPVYlCMqdLL","price_1OYJeBAlJJEpqkPVnPGEZeb0","price_1R8XtyAlJJEpqkPV5WZ4c0jF","price_1R8XtEAlJJEpqkPV4opVvVPq","price_1R8XxZAlJJEpqkPVqGi0wOqD","price_1R7oeBAlJJEpqkPVh6q5q3h8"]},limits:{links:1e3,clicks:5e4,sales:0,domains:10,tags:25,folders:3,users:3,ai:1e3,api:600,retention:"1-year"},featureTitle:"Everything in Free, plus:",features:[{id:"clicks",text:"50K tracked clicks/mo"},{id:"links",text:"1K new links/mo"},{id:"retention",text:"1-year analytics retention"},{id:"domains",text:"10 domains"},{id:"users",text:"3 users"},{id:"advanced",text:"Advanced link features",tooltip:"ADVANCED_LINK_FEATURES"},{id:"ai",text:"Unlimited AI credits",tooltip:{title:"Subject to fair use policy \u2013 you will be notified if you exceed the limit, which are high enough for frequent usage.",cta:"Learn more.",href:"https://dub.co/blog/introducing-dub-ai"}},{id:"dotlink",text:"Free .link domain",tooltip:{title:"All our paid plans come with a free .link custom domain, which helps improve click-through rates.",cta:"Learn more.",href:"https://dub.co/help/article/free-dot-link-domain"}},{id:"folders",text:"Link folders"},{id:"deeplinks",text:"Deep links",tooltip:{title:"Redirect users to a specific page within your mobile application using deep links.",cta:"Learn more.",href:"https://dub.co//help/article/custom-domain-deep-links"}}]},{name:"Business",price:{monthly:90,yearly:75,ids:["price_1LodLoAlJJEpqkPV9rD0rlNL","price_1LodLoAlJJEpqkPVJdwv5zrG","price_1OZgmnAlJJEpqkPVOj4kV64R","price_1OzNlmAlJJEpqkPV7s9HXNAC","price_1OzNmXAlJJEpqkPVYO89lTdx","price_1OzOFIAlJJEpqkPVJxzc9irl","price_1OzOXMAlJJEpqkPV9ERrjjbw","price_1R3j01AlJJEpqkPVXuG1eNzm","price_1R6JedAlJJEpqkPVMUkfjch4","price_1R8XypAlJJEpqkPVdjzOcYUC","price_1R7ofLAlJJEpqkPV3MlgDpyx"]},limits:{links:1e4,clicks:25e4,sales:25e5,domains:100,tags:n,folders:20,users:10,ai:1e3,api:3e3,retention:"3-year"},featureTitle:"Everything in Pro, plus:",features:[{id:"clicks",text:"250K tracked clicks/mo"},{id:"links",text:"10K new links/mo"},{id:"retention",text:"3-year analytics retention"},{id:"sales",text:"$25K tracked sales/mo",tooltip:{title:"Use Dub Conversions to track how your link clicks are converting to signups and sales. Limits are based on the total sale amount tracked within a given month.",cta:"Learn more.",href:"https://d.to/conversions"}},{id:"users",text:"10 users"},{id:"events",text:"Real-time events stream",tooltip:{title:"Get more data on your link clicks and QR code scans with a detailed, real-time stream of events in your workspace",cta:"Learn more.",href:"https://dub.co/help/article/real-time-events-stream"}},{id:"partners",text:"Partner management",tooltip:{title:"Use Dub Partners to manage and pay out your affiliates.",cta:"Learn more.",href:"https://dub.co/partners"}},{id:"payouts",text:"1-click global payouts",tooltip:{title:"Send payouts to 180+ countries in 1-click.",cta:"Learn more.",href:"https://dub.co/help/article/partner-payouts"}},{id:"webhooks",text:"Event webhooks",tooltip:{title:"Get real-time notifications when a link is clicked or a QR code is scanned using webhooks.",cta:"Learn more.",href:"https://dub.co/docs/concepts/webhooks/introduction"}},{id:"tests",text:"A/B testing"}]},{name:"Advanced",price:{monthly:300,yearly:250,ids:["price_1R8Xw4AlJJEpqkPV6nwdink9","price_1R3j0qAlJJEpqkPVkfGNXRwb","price_1R8XztAlJJEpqkPVnHmIU2tf","price_1R7ofzAlJJEpqkPV0L2TwyJo"]},limits:{links:5e4,clicks:1e6,sales:1e7,domains:250,tags:n,folders:50,users:20,ai:1e3,api:3e3,retention:"5-year"},featureTitle:"Everything in Business, plus:",features:[{id:"clicks",text:"1M tracked clicks/mo"},{id:"links",text:"50K new links/mo"},{id:"retention",text:"5-year analytics retention"},{id:"sales",text:"$100K tracked sales/mo",tooltip:{title:"Use Dub Conversions to track how your link clicks are converting to signups and sales. Limits are based on the total sale amount tracked within a given month.",cta:"Learn more.",href:"https://d.to/conversions"}},{id:"users",text:"20 users"},{id:"roles",text:"Folders RBAC"},{id:"whitelabel",text:"White-labeling support",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,J=(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,J 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:"Real-time events stream",href:"https://dub.co/help/article/real-time-events-stream"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Conversion tracking",href:"https://dub.co/help/article/dub-conversions"}]},{category:"Partners",href:"https://dub.co/partners",features:[{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Partner management",href:"https://dub.co/partners"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:({id:e,plan:s})=>e==="free"||e==="pro"?"No tracked sales":i(r,{children:[t("strong",{children:s.name==="Enterprise"?"Unlimited":`$${a(s.limits.sales/100)}`})," ","tracked sales",s.name==="Enterprise"?"":"/mo"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"1-click global payouts",href:"https://dub.co/help/article/partner-payouts"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:({id:e})=>e==="free"||e==="pro"?"No payouts":i(r,{children:[t("strong",{children:{business:"7%",advanced:"5%",enterprise:"3%"}[e]})," ","payout fees"]}),href:"https://dub.co/help/article/partner-payouts#payout-fees-and-timing"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Tax compliance",href:"https://dub.co/help/article/partner-payouts#tax-compliance"},{check:{default:!1,business:!1,advanced:!0,enterprise:!0},text:"White-labeling support",href:"https://dub.co/docs/partners/white-labeling"},{check:{default:!1,business:!1,advanced:!0,enterprise:!0},text:"Branded email domains"}]},{category:"Domains",href:"https://dub.co/help/category/custom-domains",features:[{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.domains,{full:!0})})," ","custom domains"]})},{text:()=>t(r,{children:"SSL certificates"})},{check:{default:!0,free:!1},text:()=>i(r,{children:["Premium ",t("strong",{children:"dub.link"})," domain"]}),href:"https://dub.co/help/article/default-dub-domains#premium-dublink-domain"},{check:{default:!0,free:!1},text:()=>i(r,{children:["Free ",t("strong",{children:".link"})," domain"]}),href:"https://dub.co/help/article/free-dot-link-domain"}]},{category:"API",href:"https://dub.co/docs/api-reference/introduction",features:[{text:"API Access",href:"https://dub.co/docs/api-reference/introduction"},{text:"Native SDKs",href:"https://dub.co/docs/sdks/overview"},{text:({id:e,plan:s})=>i(r,{children:[t("strong",{children:e==="enterprise"?"Custom":a(s.limits.api)+"/min"})," ","rate limit"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Event webhooks",href:"https://dub.co/docs/concepts/webhooks/introduction"}]},{category:"Workspace",href:"https://dub.co/help/category/workspaces",features:[{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.users)})," ","user",e.limits.users===1?"":"s"]})},{check:{default:!1,advanced:!0,enterprise:!0},text:"Role-based access control"},{check:{default:!1,enterprise:!0},text:"SAML/SSO",href:"https://dub.co/help/category/saml-sso"},{check:{default:!1,enterprise:!0},text:"Custom SLA"},{check:{default:!1,enterprise:!0},text:"Audit logs"}]},{category:"Support",href:"https://dub.co/help",features:[{text:({id:e})=>t(r,{children:t("strong",{children:{free:"Basic support",pro:"Elevated support",business:"Priority support",advanced:"Priority via Slack",enterprise:"Priority with SLA"}[e]})})},{check:{default:!1,enterprise:!0},text:()=>i(r,{children:[t("strong",{children:"Dedicated"})," success manager"]})}]}];var o=[{name:"Free",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,sales:0,domains:3,tags:5,folders:0,users:1,ai:10,api:60,retention:"30-day"}},{name:"Pro",link:"https://dub.co/help/article/pro-plan",price:{monthly:30,yearly:25,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ","price_1OTcQBAlJJEpqkPViGtGEsbb","price_1OYJeBAlJJEpqkPVLjTsjX0E","price_1OTcQBAlJJEpqkPVYlCMqdLL","price_1OYJeBAlJJEpqkPVnPGEZeb0","price_1R8XtyAlJJEpqkPV5WZ4c0jF","price_1R8XtEAlJJEpqkPV4opVvVPq","price_1R8XxZAlJJEpqkPVqGi0wOqD","price_1R7oeBAlJJEpqkPVh6q5q3h8"]},limits:{links:1e3,clicks:5e4,sales:0,domains:10,tags:25,folders:3,users:3,ai:1e3,api:600,retention:"1-year"},featureTitle:"Everything in Free, plus:",features:[{id:"clicks",text:"50K tracked clicks/mo"},{id:"links",text:"1K new links/mo"},{id:"retention",text:"1-year analytics retention"},{id:"domains",text:"10 domains"},{id:"users",text:"3 users"},{id:"advanced",text:"Advanced link features",tooltip:"ADVANCED_LINK_FEATURES"},{id:"ai",text:"Unlimited AI credits",tooltip:{title:"Subject to fair use policy \u2013 you will be notified if you exceed the limit, which are high enough for frequent usage.",cta:"Learn more.",href:"https://dub.co/blog/introducing-dub-ai"}},{id:"dotlink",text:"Free .link domain",tooltip:{title:"All our paid plans come with a free .link custom domain, which helps improve click-through rates.",cta:"Learn more.",href:"https://dub.co/help/article/free-dot-link-domain"}},{id:"folders",text:"Link folders"},{id:"deeplinks",text:"Deep links",tooltip:{title:"Redirect users to a specific page within your mobile application using deep links.",cta:"Learn more.",href:"https://dub.co//help/article/custom-domain-deep-links"}}]},{name:"Business",price:{monthly:90,yearly:75,ids:["price_1LodLoAlJJEpqkPV9rD0rlNL","price_1LodLoAlJJEpqkPVJdwv5zrG","price_1OZgmnAlJJEpqkPVOj4kV64R","price_1OzNlmAlJJEpqkPV7s9HXNAC","price_1OzNmXAlJJEpqkPVYO89lTdx","price_1OzOFIAlJJEpqkPVJxzc9irl","price_1OzOXMAlJJEpqkPV9ERrjjbw","price_1R3j01AlJJEpqkPVXuG1eNzm","price_1R6JedAlJJEpqkPVMUkfjch4","price_1R8XypAlJJEpqkPVdjzOcYUC","price_1R7ofLAlJJEpqkPV3MlgDpyx"]},limits:{links:1e4,clicks:25e4,sales:25e5,domains:100,tags:n,folders:20,users:10,ai:1e3,api:3e3,retention:"3-year"},featureTitle:"Everything in Pro, plus:",features:[{id:"clicks",text:"250K tracked clicks/mo"},{id:"links",text:"10K new links/mo"},{id:"retention",text:"3-year analytics retention"},{id:"sales",text:"$25K tracked sales/mo",tooltip:{title:"Use Dub Conversions to track how your link clicks are converting to signups and sales. Limits are based on the total sale amount tracked within a given month.",cta:"Learn more.",href:"https://d.to/conversions"}},{id:"users",text:"10 users"},{id:"events",text:"Real-time events stream",tooltip:{title:"Get more data on your link clicks and QR code scans with a detailed, real-time stream of events in your workspace",cta:"Learn more.",href:"https://dub.co/help/article/real-time-events-stream"}},{id:"partners",text:"Partner management",tooltip:{title:"Use Dub Partners to manage and pay out your affiliates.",cta:"Learn more.",href:"https://dub.co/partners"}},{id:"payouts",text:"1-click global payouts",tooltip:{title:"Send payouts to 180+ countries in 1-click.",cta:"Learn more.",href:"https://dub.co/help/article/partner-payouts"}},{id:"webhooks",text:"Event webhooks",tooltip:{title:"Get real-time notifications when a link is clicked or a QR code is scanned using webhooks.",cta:"Learn more.",href:"https://dub.co/docs/concepts/webhooks/introduction"}},{id:"tests",text:"A/B testing"}]},{name:"Advanced",price:{monthly:300,yearly:250,ids:["price_1R8Xw4AlJJEpqkPV6nwdink9","price_1R3j0qAlJJEpqkPVkfGNXRwb","price_1R8XztAlJJEpqkPVnHmIU2tf","price_1R7ofzAlJJEpqkPV0L2TwyJo"]},limits:{links:5e4,clicks:1e6,sales:1e7,domains:250,tags:n,folders:50,users:20,ai:1e3,api:3e3,retention:"5-year"},featureTitle:"Everything in Business, plus:",features:[{id:"clicks",text:"1M tracked clicks/mo"},{id:"links",text:"50K new links/mo"},{id:"retention",text:"5-year analytics retention"},{id:"sales",text:"$100K tracked sales/mo",tooltip:{title:"Use Dub Conversions to track how your link clicks are converting to signups and sales. Limits are based on the total sale amount tracked within a given month.",cta:"Learn more.",href:"https://d.to/conversions"}},{id:"users",text:"20 users"},{id:"roles",text:"Folders RBAC"},{id:"whitelabel",text:"White-labeling support"},{id:"volume",text:"Lower payout fees",tooltip:{title:"Lower fees associated with Partner payouts.",cta:"Learn more.",href:"https://dub.co/help/article/partner-payouts"}},{id:"email",text:"Branded email domains"},{id:"slack",text:"Priority Slack support"}]},{name:"Enterprise",price:{monthly:null,yearly:null},limits:{links:25e4,clicks:5e6,sales:1e8,domains:1e3,tags:n,folders:n,users:500,ai:1e4,api:1e4,retention:"Unlimited"}}],p=o.find(e=>e.name==="Free"),u=o.find(e=>e.name==="Pro"),b=o.find(e=>e.name==="Business"),y=o.find(e=>e.name==="Advanced"),f=o.filter(e=>["Pro","Business","Advanced"].includes(e.name)),P=2,E=e=>o.find(s=>{var l;return(l=s.price.ids)==null?void 0:l.includes(e)})||null,A=e=>f.find(s=>s.name.toLowerCase()===e.toLowerCase()),L=e=>o.find(s=>s.name.toLowerCase()===e.toLowerCase())||p,J=e=>e?o[o.findIndex(s=>s.name.toLowerCase()===e.toLowerCase())+1]:u,w=(e,s)=>{let l=o.findIndex(c=>c.name.toLowerCase()===e.toLowerCase()),d=o.findIndex(c=>c.name.toLowerCase()===s.toLowerCase());return l>d};export{k as a,o as b,p as c,u as d,b as e,y as f,f as g,P as h,E as i,A as j,L as k,J as l,w as m};
@@ -0,0 +1 @@
1
+ var t={home:"https://dub.co",dub:"https://dub.co",signin:"https://app.dub.co/login",login:"https://app.dub.co/login",register:"https://app.dub.co/register",signup:"https://app.dub.co/register",app:"https://app.dub.co",dashboard:"https://app.dub.co",links:"https://app.dub.co/links",settings:"https://app.dub.co/settings",welcome:"https://app.dub.co/onboarding/welcome",discord:"https://twitter.com/dubdotco"},p={"x-powered-by":"Dub \u2013 the modern link attribution platform"},o="redir_url";export{t as a,p as b,o as c};
@@ -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-6KU7NTJL.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/home",features:[{text:()=>i(r,{children:[t("strong",{children:"Unlimited"})," clicks"]})},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.links)})," ","new links",e.name==="Enterprise"?"":"/mo"]})},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.tags===n?"Unlimited":a(e.limits.tags)})," ","tags"]}),href:"https://dub.co/help/article/how-to-use-tags"},{check:{free:!1,default:!0},text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.folders===n?"Unlimited":a(e.limits.folders)})," ","folders"]})},{text:"Custom QR codes",href:"https://dub.co/help/article/custom-qr-codes"},{text:"UTM builder + templates",href:"https://dub.co/help/article/how-to-create-utm-templates"},{check:{free:!1,default:!0},text:"Custom link previews",href:"https://dub.co/help/article/custom-link-previews"},{check:{free:!1,default:!0},text:"Deep links",href:"https://dub.co/help/article/custom-domain-deep-links"},{check:{free:!1,default:!0},text:"Link cloaking",href:"https://dub.co/help/article/link-cloaking"},{check:{free:!1,default:!0},text:"Link expiration",href:"https://dub.co/help/article/link-expiration"},{check:{free:!1,default:!0},text:"Password protection",href:"https://dub.co/help/article/password-protected-links"},{check:{free:!1,default:!0},text:"Device targeting",href:"https://dub.co/help/article/device-targeting"},{check:{free:!1,default:!0},text:"Geo targeting",href:"https://dub.co/help/article/geo-targeting"},{check:{free:!1,pro:!1,default:!0},text:"A/B testing"}]},{category:"Analytics",href:"https://dub.co/analytics",features:[{text:"Advanced analytics",href:"https://dub.co/help/article/dub-analytics"},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.clicks)})," ","tracked clicks",e.name==="Enterprise"?"":"/mo"]}),href:"https://dub.co/help/article/dub-analytics-limits"},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.retention})," retention"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Real-time events stream",href:"https://dub.co/help/article/real-time-events-stream"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Conversion tracking",href:"https://dub.co/help/article/dub-conversions"}]},{category:"Partners",href:"https://dub.co/partners",features:[{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Partner management",href:"https://dub.co/partners"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:({id:e,plan:s})=>e==="free"||e==="pro"?"No tracked sales":i(r,{children:[t("strong",{children:s.name==="Enterprise"?"Unlimited":`$${a(s.limits.sales/100)}`})," ","tracked sales",s.name==="Enterprise"?"":"/mo"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"1-click global payouts",href:"https://dub.co/help/article/partner-payouts"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:({id:e})=>e==="free"||e==="pro"?"No payouts":i(r,{children:[t("strong",{children:{business:"7%",advanced:"5%",enterprise:"3%"}[e]})," ","payout fees"]}),href:"https://dub.co/help/article/partner-payouts#payout-fees-and-timing"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Tax compliance",href:"https://dub.co/help/article/partner-payouts#tax-compliance"},{check:{default:!1,business:!1,advanced:!0,enterprise:!0},text:"White-labeling support",href:"https://dub.co/docs/partners/white-labeling"},{check:{default:!1,business:!1,advanced:!0,enterprise:!0},text:"Branded email domains"}]},{category:"Domains",href:"https://dub.co/help/category/custom-domains",features:[{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.domains,{full:!0})})," ","custom domains"]})},{text:()=>t(r,{children:"SSL certificates"})},{check:{default:!0,free:!1},text:()=>i(r,{children:["Premium ",t("strong",{children:"dub.link"})," domain"]}),href:"https://dub.co/help/article/default-dub-domains#premium-dublink-domain"},{check:{default:!0,free:!1},text:()=>i(r,{children:["Free ",t("strong",{children:".link"})," domain"]}),href:"https://dub.co/help/article/free-dot-link-domain"}]},{category:"API",href:"https://dub.co/docs/api-reference/introduction",features:[{text:"API Access",href:"https://dub.co/docs/api-reference/introduction"},{text:"Native SDKs",href:"https://dub.co/docs/sdks/overview"},{text:({id:e,plan:s})=>i(r,{children:[t("strong",{children:e==="enterprise"?"Custom":a(s.limits.api)+"/min"})," ","rate limit"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Event webhooks",href:"https://dub.co/docs/concepts/webhooks/introduction"}]},{category:"Workspace",href:"https://dub.co/help/category/workspaces",features:[{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.users)})," ","user",e.limits.users===1?"":"s"]})},{check:{default:!1,advanced:!0,enterprise:!0},text:"Role-based access control"},{check:{default:!1,enterprise:!0},text:"SAML/SSO",href:"https://dub.co/help/category/saml-sso"},{check:{default:!1,enterprise:!0},text:"Custom SLA"},{check:{default:!1,enterprise:!0},text:"Audit logs"}]},{category:"Support",href:"https://dub.co/help",features:[{text:({id:e})=>t(r,{children:t("strong",{children:{free:"Basic support",pro:"Elevated support",business:"Priority support",advanced:"Priority via Slack",enterprise:"Priority with SLA"}[e]})})},{check:{default:!1,enterprise:!0},text:()=>i(r,{children:[t("strong",{children:"Dedicated"})," success manager"]})}]}];var o=[{name:"Free",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,sales:0,domains:3,tags:5,folders:0,users:1,ai:10,api:60,retention:"30-day"}},{name:"Pro",link:"https://dub.co/help/article/pro-plan",price:{monthly:30,yearly:25,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ","price_1OTcQBAlJJEpqkPViGtGEsbb","price_1OYJeBAlJJEpqkPVLjTsjX0E","price_1OTcQBAlJJEpqkPVYlCMqdLL","price_1OYJeBAlJJEpqkPVnPGEZeb0","price_1R8XtyAlJJEpqkPV5WZ4c0jF","price_1R8XtEAlJJEpqkPV4opVvVPq","price_1R8XxZAlJJEpqkPVqGi0wOqD","price_1R7oeBAlJJEpqkPVh6q5q3h8"]},limits:{links:1e3,clicks:5e4,sales:0,domains:10,tags:25,folders:3,users:3,ai:1e3,api:600,retention:"1-year"},featureTitle:"Everything in Free, plus:",features:[{id:"clicks",text:"50K tracked clicks/mo"},{id:"links",text:"1K new links/mo"},{id:"retention",text:"1-year analytics retention"},{id:"domains",text:"10 domains"},{id:"users",text:"3 users"},{id:"advanced",text:"Advanced link features",tooltip:"ADVANCED_LINK_FEATURES"},{id:"ai",text:"Unlimited AI credits",tooltip:{title:"Subject to fair use policy \u2013 you will be notified if you exceed the limit, which are high enough for frequent usage.",cta:"Learn more.",href:"https://dub.co/blog/introducing-dub-ai"}},{id:"dotlink",text:"Free .link domain",tooltip:{title:"All our paid plans come with a free .link custom domain, which helps improve click-through rates.",cta:"Learn more.",href:"https://dub.co/help/article/free-dot-link-domain"}},{id:"folders",text:"Link folders"},{id:"deeplinks",text:"Deep links",tooltip:{title:"Redirect users to a specific page within your mobile application using deep links.",cta:"Learn more.",href:"https://dub.co//help/article/custom-domain-deep-links"}}]},{name:"Business",price:{monthly:90,yearly:75,ids:["price_1LodLoAlJJEpqkPV9rD0rlNL","price_1LodLoAlJJEpqkPVJdwv5zrG","price_1OZgmnAlJJEpqkPVOj4kV64R","price_1OzNlmAlJJEpqkPV7s9HXNAC","price_1OzNmXAlJJEpqkPVYO89lTdx","price_1OzOFIAlJJEpqkPVJxzc9irl","price_1OzOXMAlJJEpqkPV9ERrjjbw","price_1R3j01AlJJEpqkPVXuG1eNzm","price_1R6JedAlJJEpqkPVMUkfjch4","price_1R8XypAlJJEpqkPVdjzOcYUC","price_1R7ofLAlJJEpqkPV3MlgDpyx"]},limits:{links:1e4,clicks:25e4,sales:25e5,domains:100,tags:n,folders:20,users:10,ai:1e3,api:3e3,retention:"3-year"},featureTitle:"Everything in Pro, plus:",features:[{id:"clicks",text:"250K tracked clicks/mo"},{id:"links",text:"10K new links/mo"},{id:"retention",text:"3-year analytics retention"},{id:"sales",text:"$25K tracked sales/mo",tooltip:{title:"Use Dub Conversions to track how your link clicks are converting to signups and sales. Limits are based on the total sale amount tracked within a given month.",cta:"Learn more.",href:"https://d.to/conversions"}},{id:"users",text:"10 users"},{id:"events",text:"Real-time events stream",tooltip:{title:"Get more data on your link clicks and QR code scans with a detailed, real-time stream of events in your workspace",cta:"Learn more.",href:"https://dub.co/help/article/real-time-events-stream"}},{id:"partners",text:"Partner management",tooltip:{title:"Use Dub Partners to manage and pay out your affiliates.",cta:"Learn more.",href:"https://dub.co/partners"}},{id:"payouts",text:"1-click global payouts",tooltip:{title:"Send payouts to 180+ countries in 1-click.",cta:"Learn more.",href:"https://dub.co/help/article/partner-payouts"}},{id:"webhooks",text:"Event webhooks",tooltip:{title:"Get real-time notifications when a link is clicked or a QR code is scanned using webhooks.",cta:"Learn more.",href:"https://dub.co/docs/concepts/webhooks/introduction"}},{id:"tests",text:"A/B testing"}]},{name:"Advanced",price:{monthly:300,yearly:250,ids:["price_1R8Xw4AlJJEpqkPV6nwdink9","price_1R3j0qAlJJEpqkPVkfGNXRwb","price_1R8XztAlJJEpqkPVnHmIU2tf","price_1R7ofzAlJJEpqkPV0L2TwyJo"]},limits:{links:5e4,clicks:1e6,sales:1e7,domains:250,tags:n,folders:50,users:20,ai:1e3,api:3e3,retention:"5-year"},featureTitle:"Everything in Business, plus:",features:[{id:"clicks",text:"1M tracked clicks/mo"},{id:"links",text:"50K new links/mo"},{id:"retention",text:"5-year analytics retention"},{id:"sales",text:"$100K tracked sales/mo",tooltip:{title:"Use Dub Conversions to track how your link clicks are converting to signups and sales. Limits are based on the total sale amount tracked within a given month.",cta:"Learn more.",href:"https://d.to/conversions"}},{id:"users",text:"20 users"},{id:"roles",text:"Folders RBAC"},{id:"whitelabel",text:"White-labeling support",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,J=(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,J as m};
@@ -0,0 +1 @@
1
+ async function c(n,r){var o,t;let e=await fetch(n,{...r,...(r==null?void 0:r.headers)&&{headers:r.headers}});if(!e.ok){let a=((t=(o=await e.json())==null?void 0:o.error)==null?void 0:t.message)||"An error occurred while fetching the data.",s=new Error(a);throw s.info=a,s.status=e.status,s}return e.json()}export{c as a};
@@ -0,0 +1 @@
1
+ var t={home:"https://dub.co",dub:"https://dub.co",signin:"https://app.dub.co/login",login:"https://app.dub.co/login",register:"https://app.dub.co/register",signup:"https://app.dub.co/register",app:"https://app.dub.co",dashboard:"https://app.dub.co",links:"https://app.dub.co/links",settings:"https://app.dub.co/settings",welcome:"https://app.dub.co/onboarding/welcome",discord:"https://twitter.com/dubdotco"},p={"x-powered-by":"Dub \u2013 The Modern Link Attribution Platform"},o="redir_url";export{t as a,p as b,o as c};
@@ -1 +1 @@
1
- import{a,b,c}from"../chunk-HHGB6SK3.mjs";import"../chunk-BJNY77CS.mjs";export{c as DUB_DEMO_LINKS,a as DUB_DOMAINS,b as DUB_DOMAINS_ARRAY};
1
+ import{a,b,c}from"../chunk-6KU7NTJL.mjs";import"../chunk-63TWQUGD.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-C4IEMCX4.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-NZI3GX7M.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-HHGB6SK3.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-BJNY77CS.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-V456HTKY.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-W75HQHAV.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-6KU7NTJL.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-63TWQUGD.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 +1 @@
1
- import{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u}from"../chunk-BJNY77CS.mjs";export{r as ACME_PROGRAM_ID,q as ACME_WORKSPACE_ID,h as ADMIN_HOSTNAMES,g as API_DOMAIN,f as API_HOSTNAMES,d as APP_DOMAIN,e as APP_DOMAIN_WITH_NGROK,c as APP_HOSTNAMES,a as APP_NAME,l as DUB_LOGO,m as DUB_QR_LOGO,o as DUB_THUMBNAIL,n as DUB_WORDMARK,p as DUB_WORKSPACE_ID,t as LEGAL_USER_ID,s as LEGAL_WORKSPACE_ID,j as PARTNERS_DOMAIN,k as PARTNERS_DOMAIN_WITH_NGROK,i as PARTNERS_HOSTNAMES,u as R2_URL,b as SHORT_DOMAIN};
1
+ import{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u}from"../chunk-63TWQUGD.mjs";export{r as ACME_PROGRAM_ID,q as ACME_WORKSPACE_ID,h as ADMIN_HOSTNAMES,g as API_DOMAIN,f as API_HOSTNAMES,d as APP_DOMAIN,e as APP_DOMAIN_WITH_NGROK,c as APP_HOSTNAMES,a as APP_NAME,l as DUB_LOGO,m as DUB_QR_LOGO,o as DUB_THUMBNAIL,n as DUB_WORDMARK,p as DUB_WORKSPACE_ID,t as LEGAL_USER_ID,s as LEGAL_WORKSPACE_ID,j as PARTNERS_DOMAIN,k as PARTNERS_DOMAIN_WITH_NGROK,i as PARTNERS_HOSTNAMES,u as R2_URL,b as SHORT_DOMAIN};
@@ -1 +1 @@
1
- import{a,b,c}from"../chunk-NZI3GX7M.mjs";export{a as DEFAULT_REDIRECTS,b as DUB_HEADERS,c as REDIRECTION_QUERY_PARAM};
1
+ import{a,b,c}from"../chunk-W75HQHAV.mjs";export{a as DEFAULT_REDIRECTS,b as DUB_HEADERS,c as REDIRECTION_QUERY_PARAM};
@@ -1 +1 @@
1
- import{a}from"../chunk-HTBJJ35Z.mjs";export{a as constructMetadata};
1
+ import{a}from"../chunk-6P5PNUKY.mjs";export{a as constructMetadata};
@@ -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-HTBJJ35Z.mjs";import"../../chunk-J7REM3DA.mjs";import"../../chunk-ZECUYKGD.mjs";import"../../chunk-OTQRCUL4.mjs";import"../../chunk-H4ELSETA.mjs";import"../../chunk-EMO4MGOU.mjs";import"../../chunk-QR4M7ZRI.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-C4IEMCX4.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-NZI3GX7M.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-HHGB6SK3.mjs";import"../../chunk-BJNY77CS.mjs";export{a as formatPeriod};
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-6P5PNUKY.mjs";import"../../chunk-J7REM3DA.mjs";import"../../chunk-ZECUYKGD.mjs";import"../../chunk-T5CT7WA5.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-V456HTKY.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-W75HQHAV.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-6KU7NTJL.mjs";import"../../chunk-63TWQUGD.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-HTBJJ35Z.mjs";import"../../chunk-J7REM3DA.mjs";import"../../chunk-ZECUYKGD.mjs";import"../../chunk-OTQRCUL4.mjs";import"../../chunk-H4ELSETA.mjs";import"../../chunk-EMO4MGOU.mjs";import"../../chunk-QR4M7ZRI.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-C4IEMCX4.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-NZI3GX7M.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-HHGB6SK3.mjs";import"../../chunk-BJNY77CS.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-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-6P5PNUKY.mjs";import"../../chunk-J7REM3DA.mjs";import"../../chunk-ZECUYKGD.mjs";import"../../chunk-T5CT7WA5.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-V456HTKY.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-W75HQHAV.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-6KU7NTJL.mjs";import"../../chunk-63TWQUGD.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-OTQRCUL4.mjs";import"../chunk-H4ELSETA.mjs";import"../chunk-C4IEMCX4.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-NZI3GX7M.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-HHGB6SK3.mjs";import"../chunk-BJNY77CS.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-T5CT7WA5.mjs";import"../chunk-H4ELSETA.mjs";import"../chunk-V456HTKY.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-W75HQHAV.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-6KU7NTJL.mjs";import"../chunk-63TWQUGD.mjs";export{a as generateDomainFromName,e as getApexDomain,f as getDomainWithoutWWW,d as getSubdomain,g as isDubDomain,b as validDomainRegex,c as validSlugRegex};
@@ -1,3 +1,5 @@
1
- declare function fetcher<JSON = any>(input: RequestInfo, init?: RequestInit): Promise<JSON>;
1
+ declare function fetcher<JSON = any>(input: RequestInfo, init?: RequestInit & {
2
+ headers?: Record<string, string>;
3
+ }): Promise<JSON>;
2
4
 
3
5
  export { fetcher };
@@ -1 +1 @@
1
- import{a}from"../chunk-QR4M7ZRI.mjs";export{a as fetcher};
1
+ import{a}from"../chunk-VQH3G3BC.mjs";export{a as fetcher};
@@ -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-HTBJJ35Z.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-OTQRCUL4.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-QR4M7ZRI.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-C4IEMCX4.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-NZI3GX7M.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-HHGB6SK3.mjs";import"../chunk-BJNY77CS.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 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-6P5PNUKY.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-T5CT7WA5.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-V456HTKY.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-W75HQHAV.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-6KU7NTJL.mjs";import"../chunk-63TWQUGD.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 +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-HTBJJ35Z.mjs";import"../chunk-J7REM3DA.mjs";import"../chunk-ZECUYKGD.mjs";import"../chunk-OTQRCUL4.mjs";import"../chunk-H4ELSETA.mjs";import"../chunk-EMO4MGOU.mjs";import"../chunk-QR4M7ZRI.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-C4IEMCX4.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-NZI3GX7M.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-HHGB6SK3.mjs";import"../chunk-BJNY77CS.mjs";export{a as linkConstructor,b as linkConstructorSimple};
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-6P5PNUKY.mjs";import"../chunk-J7REM3DA.mjs";import"../chunk-ZECUYKGD.mjs";import"../chunk-T5CT7WA5.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-V456HTKY.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-W75HQHAV.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-6KU7NTJL.mjs";import"../chunk-63TWQUGD.mjs";export{a as linkConstructor,b as linkConstructorSimple};
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-HTBJJ35Z.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-OTQRCUL4.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-QR4M7ZRI.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-C4IEMCX4.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-NZI3GX7M.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-HHGB6SK3.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-BJNY77CS.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 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-6P5PNUKY.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-T5CT7WA5.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-V456HTKY.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-W75HQHAV.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-6KU7NTJL.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-63TWQUGD.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};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dub/utils",
3
- "description": "Utility functions and constants for Dub.co",
4
- "version": "0.1.26",
3
+ "description": "Utility functions and constants for Dub",
4
+ "version": "0.1.28",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/index.mjs",
7
7
  "module": "./dist/index.mjs",