1import{Et as e,P as t,d as n,kt as r,s as i,y as a}from"./runtime-core.esm-bundler-BdWkyeAP.js";var o=[`href`,`target`],s=a({__name:`CTAButton`,props:{message:{},link:{default:`https://app.controla.ai`},linkClass:{default:``},linkSource:{default:`website`},linkMedium:{},linkCampaign:{},target:{default:`_blank`}},setup(a){let s=a,c=i(()=>{try{let e=new URL(s.link);return e.protocol!==`http:`&&e.protocol!==`https:`?s.link:(s.linkSource!==``&&e.searchParams.set(`utm_source`,s.linkSource),s.linkMedium&&e.searchParams.set(`utm_medium`,s.linkMedium),s.linkCampaign&&e.searchParams.set(`utm_campaign`,s.linkCampaign),e.toString())}catch(e){return console.error(`Failed to compute link`,e),s.link}});return(i,s)=>(t(),n(`a`,{class:e([`inline-flex flex-col items-center justify-center rounded-pill bg-primary-black px-4 py-3 text-sm font-medium text-white`,a.linkClass]),href:c.value,target:a.target},r(a.message),11,o))}});export{s as t}; 2//# sourceMappingURL=CTAButton-BzZJ7ise.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.