1import{g as S,r as v}from"./EXNpA6UL.js";import{b as k}from"./CQ46VCtl.js";import{R as p}from"./C9uadrci.js";import{u as C}from"./DYHRGN3y.js";import{n as _,a4 as n,aa as c,a5 as u,a7 as i,a9 as l,u as t,B as o,ab as m,ac as r,aj as z,ai as P,M as j,L as H,ad as L,q as w}from"./DFsHQQM9.js";import"./TS4IpSFE.js";import"./WQfsIXVg.js";import"./DgV_QWP9.js";const N={class:"row"},R={class:"col col-12"},V={class:"text--holder"},T={key:0,class:"type-eyebrow tw-mb-2 only:tw-mb-0 !tw-text-[inherit]"},D={key:0,class:"tw-flex tw-flex-wrap sm:tw-justify-start lg:tw-justify-end tw-items-center tw-gap-4"},E=_({__name:"CtaBanner",props:{data:{}},setup(e){const s=e,f=w(()=>s.data?.fields?.sectionSize?`section--inner--${s.data.fields.sectionSize.toLowerCase()}`:""),{headingStyles:a,headingSyntax:g}=C({headingStyles:s.data.fields?.boxHeadingStyles,initialHeadingStyles:"sm",initialHeadingSyntax:"h3"}),d=w(()=>s.data.fields?.bannerStyle??"Box");function x(){return{...v()}}return(q,A)=>{const b=S,y=k;return n(),c(y,{data:e.data},{default:u(()=>[i("div",{class:l(["section--inner",t(f)])},[i("div",N,[i("div",R,[i("div",{class:l(["box--padding box--l tw-relative !tw-grid tw-items-end tw-gap-5 sm:tw-gap-6 lg:tw-gap-10 tw-overflow-hidden *:tw-relative *:tw-z-1",{"lg:tw-grid-cols-1/auto xl:tw-grid-cols-[3fr_1fr]":e.data?.fields?.buttons,"!tw-bg-container-subtle tw-text-default tw-ring-1/2 tw-ring-default":e.data?.fields?.background==="White"&&t(d)==="Box","!tw-bg-container-default tw-text-default tw-ring-1/2 tw-ring-default":(e.data?.fields?.background==="Light Blue"||!e.data?.fields?.background)&&t(d)==="Box","!tw-rounded-16":t(d)!=="Plain","!tw-bg-transparent !tw-p-0 !tw-rounded-0":t(d)==="Plain"}])},[i("div",V,[e.data?.fields?.subtitle?(n(),o("div",T,m(e.data.fields.subtitle),1)):r("",!0),e.data?.fields?.title?(n(),c(z(t(g)),{key:1,class:l(["!tw-text-[inherit]",[t(a)]])},{default:u(()=>[P(m(e.data.fields.title),1)]),_:1},8,["class"])):r("",!0),e.data?.fields?.description?(n(),o("div",{key:2,class:l(["description rich-text--default !tw-text-[inherit]",[{"type-body-xl tw-mt-6 lg:tw-mt-8":t(a).includes("-2xl"),"type-body-md tw-mt-4 sm:tw-mt-6":t(a).includes("-xl"),"tw-mt-4 sm:tw-mt-5":t(a).includes("-lg"),"tw-mt-4":t(a).includes("-md"),"tw-mt-3":t(a).includes("-sm"),"tw-mt-2":t(a).includes("-xs")||t(a).includes("-2xs")}]])},[j(t(p),{document:e.data.fields.description,nodeRenderers:x()},null,8,["document","nodeRenderers"])],2)):r("",!0)]),e.data?.fields?.buttons?(n(),o("div",D,[(n(!0),o(H,null,L(e.data.fields.buttons,(h,B)=>(n(),c(b,{key:B,data:h},null,8,["data"]))),128))])):r("",!0)],2)])])],2)]),_:1},8,["data"])}}}),K=Object.assign(E,{__name:"PageBuilderSectionsCtaBanner"});export{K as default};
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.