1import{D as e,E as t,Lt as n,On as r,Zn as i,_ as a,b as o,bt as s,et as c,g as l,k as u,mt as d,o as f,qt as p,tr as m,v as h,w as g,xt as _,y as v}from"./BKdLzFmX.js";import{r as y}from"./Byae-44p.js";import{n as b,t as x}from"./BlUaWCGk.js";import{t as S}from"./Dw1pt9-Z.js";import{t as C}from"./C4pAAm312.js";import{t as w}from"./SjoLZ5De2.js";import{t as T}from"./CZiwqKhI.js";import{t as E}from"./8mQxIIZN2.js";var D={slots:{root:`relative isolate rounded-xl overflow-hidden`,container:`flex flex-col lg:grid px-6 py-12 sm:px-12 sm:py-24 lg:px-16 lg:py-24 gap-8 sm:gap-16`,wrapper:``,header:``,title:`text-3xl sm:text-4xl text-pretty tracking-tight font-bold text-highlighted`,description:`text-base sm:text-lg text-muted`,body:`mt-8`,footer:`mt-8`,links:`flex flex-wrap gap-x-6 gap-y-3`},variants:{orientation:{horizontal:{container:`lg:grid-cols-2 lg:items-center`,description:`text-pretty`},vertical:{container:``,title:`text-center`,description:`text-center text-balance`,links:`justify-center`}},reverse:{true:{wrapper:`order-last`}},variant:{solid:{root:`bg-inverted text-inverted`,title:`text-inverted`,description:`text-dimmed`},outline:{root:`bg-default ring ring-default`,description:`text-muted`},soft:{root:`bg-elevated/50`,description:`text-toned`},subtle:{root:`bg-elevated/50 ring ring-default`,description:`text-toned`},naked:{description:`text-muted`}},title:{true:{description:`mt-6`}}},defaultVariants:{variant:`outline`}},O={__name:`UPageCTA`,props:{as:{type:null,required:!1},class:{type:null,required:!1},title:{type:String,required:!1},description:{type:String,required:!1},orientation:{type:null,required:!1,default:`vertical`},reverse:{type:Boolean,required:!1,default:!1},variant:{type:null,required:!1},links:{type:Array,required:!1},ui:{type:Object,required:!1}},setup(a){let u=a,g=n(),T=b(`pageCTA`,u),O=y(),k=E(),A=l(()=>x({extend:D,...O.ui?.pageCTA||{}})({variant:T.variant,orientation:T.orientation,reverse:T.reverse,title:!!T.title||!!g.title}));return(n,a)=>(d(),h(r(S),{as:r(T).as,"data-orientation":r(T).orientation,"data-slot":`root`,class:i(A.value.root({class:[r(T).ui?.root,r(T).class]}))},{default:p(()=>[_(n.$slots,`top`),e(w,{"data-slot":`container`,class:i(A.value.container({class:r(T).ui?.container}))},{default:p(()=>[g.header||r(T).title||g.title||r(T).description||g.description||g.body||g.footer||r(T).links?.length||g.links?(d(),o(`div`,{key:0,"data-slot":`wrapper`,class:i(A.value.wrapper({class:r(T).ui?.wrapper}))},[g.header||r(T).title||g.title||r(T).description||g.description?(d(),o(`div`,{key:0,"data-slot":`header`,class:i(A.value.header({class:r(T).ui?.header}))},[_(n.$slots,`header`,{},()=>[r(T).title||g.title?(d(),o(`h2`,{key:0,"data-slot":`title`,class:i(A.value.title({class:r(T).ui?.title}))},[_(n.$slots,`title`,{},()=>[t(m(r(T).title),1)])],2)):v(``,!0),r(T).description||g.description?(d(),o(`div`,{key:1,"data-slot":`description`,class:i(A.value.description({class:r(T).ui?.description}))},[_(n.$slots,`description`,{},()=>[t(m(r(T).description),1)])],2)):v(``,!0)])],2)):v(``,!0),g.body?(d(),o(`div`,{key:1,"data-slot":`body`,class:i(A.value.body({class:r(T).ui?.body}))},[_(n.$slots,`body`)],2)):v(``,!0),g.footer||r(T).links?.length||g.links?(d(),o(`div`,{key:2,"data-slot":`footer`,class:i(A.value.footer({class:r(T).ui?.footer}))},[_(n.$slots,`footer`,{},()=>[r(T).links?.length||g.links?(d(),o(`div`,{key:0,"data-slot":`links`,class:i(A.value.links({class:r(T).ui?.links}))},[_(n.$slots,`links`,{},()=>[(d(!0),o(f,null,s(r(T).links,(e,t)=>(d(),h(C,c({key:t,size:`lg`},{ref_for:!0},e),null,16))),128))])],2)):v(``,!0)])],2)):v(``,!0)],2)):v(``,!0),g.default?_(n.$slots,`default`,{},void 0,void 0,1):r(T).orientation===`horizontal`?(d(),o(`div`,{key:2,class:i(r(k)(`hidden lg:block`))},null,2)):v(``,!0)]),_:3},8,[`class`]),_(n.$slots,`bottom`)]),_:3},8,[`as`,`data-orientation`,`class`]))}},k={class:`flex flex-wrap justify-center gap-4`},A=Object.assign(u({__name:`CtaBanner`,props:{title:{},description:{},links:{}},setup(e){let{track:n}=T();function r(e){if(e.to.startsWith(`tel:`)){n(`phone_click`,{link_label:e.label,link_url:e.to,location:`cta_banner`});return}n(`cta_click`,{link_label:e.label,link_url:e.to,location:`cta_banner`})}return(n,i)=>{let l=C,u=O;return d(),h(u,{variant:`naked`,ui:{root:`py-20 sm:py-28 bg-primary/5`,container:`max-w-none text-center sm:px-8 lg:px-16`,title:`font-hero text-3xl sm:text-4xl tracking-tight`,description:`mx-auto max-w-lg leading-relaxed text-neutral-800`}},g({title:p(()=>
1[t(m(e.title),1)]),description:p(()=>[t(m(e.description),1)]),_:2},[e.links?.length?{name:`links`,fn:p(()=>[a(`div`,k,[(d(!0),o(f,null,s(e.links,e=>(d(),h(l,c({key:e.label},{ref_for:!0},e,{onClick:t=>r(e)}),null,16,[`onClick`]))),128))])]),key:`0`}:void 0]),1024)}}}),{__name:`CtaBanner`});export{A as t};
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.