1import{u as g}from"./JM5f-qkU.js";import{_ as h,u as x,g as C,r as p,o as i,h as u,w as l,b as r,p as d,a as n,t as y,d as M,m as T,j as H,i as L,ae as S,af as B}from"./BRxqtKHh.js";const j=["innerHTML"],w={class:"c-copy-block__subtitle"},N=["innerHTML"],V=["innerHTML"],$={class:"c-copy-block__subtitle"},z=["innerHTML"],A={__name:"CopyBlock",props:{desktopClass:{type:String,default:""},mobileClass:{type:String,default:""},title:{type:String,default:""},subtitle:{type:String,default:""},description:{type:String,default:""},titleMobile:{type:String,default:""},cta:{type:Object,default:()=>({})}},setup(t){const m=g(),o=t,b=x(),s=L(()=>b.mdAndUp.value),c=H(null);return C(async()=>{var a;if(o.cta&&o.cta.sys&&!o.cta.fields)try{const _=o.cta.sys.id,e=await m.getEntries({content_type:"cta","sys.id[in]":_});console.log("CTA Response:",e),e!=null&&e.items&&((a=e==null?void 0:e.items)!=null&&a.length)&&(c.value=e.items[0].fields)}catch{}}),(a,_)=>{const e=p("v-col"),f=p("v-row"),k=p("v-btn");return i(),u(f,{class:"mx-0"},{default:l(()=>[r(e,null,{default:l(()=>[c.value?(i(),u(f,{key:1,class:d([s.value?t.desktopClass:t.mobileClass,"mx-0 py-10 c-copy-block d-flex justify-center align-center"])},{default:l(()=>[r(e,{cols:"12",lg:"8",class:"text-center animated"},{default:l(()=>[n("h1",{class:d(s.value?"c-copy-block__title":"text-h3"),innerHTML:s.value?t.title:t.titleMobile},null,10,V),n("h2",$,y(t.subtitle),1),n("h4",{class:"mb-0 c-copy-block__description",innerHTML:t.description},null,8,z)]),_:1}),c.value?(i(),u(e,{key:0,cols:"12",lg:"2",class:"text-center text-lg-left"},{default:l(()=>[r(k,{href:c.value.buttonUrl,color:c.value.buttonColor||"primary",size:"large",tile:""},{default:l(()=>[M(y(c.value.buttonTitle),1)]),_:1},8,["href","color"])]),_:1})):T("",!0)]),_:1},8,["class"])):(i(),u(f,{key:0,class:d([s.value?t.desktopClass:t.mobileClass,"mx-0 c-copy-block d-flex justify-center align-center"])},{default:l(()=>[r(e,{cols:"12",lg:"10",class:"text-center animated"},{default:l(()=>[n("h1",{class:d(s.value?"c-copy-block__title":"text-h3"),innerHTML:s.value?t.title:t.titleMobile},null,10,j),n("h2",w,y(t.subtitle),1),n("h4",{class:"mb-0 c-copy-block__description",innerHTML:t.description},null,8,N)]),_:1})]),_:1},8,["class"]))]),_:1})]),_:1})}}},v=h(A,[["__scopeId","data-v-9e78f863"]]),D={components:{CopyBlock:v},props:{section:{type:Object,default:()=>{}}}};function O(t,m,o,b,s,c){const a=v;return i(),u(a,S(B(o.section)),null,16)}const U=h(D,[["render",O]]);export{U 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.