import{_ as x,o as s,c as d,d as u,s as f,q as S,t as T,y as p,b8 as y,u as C,R as m,k as g,b as h,af as v}from"./BDipKYNj.js";import L from"./WebHTML-Czn1S3Rj.mjs";import"./WebImage-CIpNTik-.mjs";import"./nuxt-link-BWzEhDJx.mjs";import"./index-7Ej-JsQt.mjs";import"./WebContentListNew-BgdZ5dgN.mjs";import"./WebContentItem-Bpw6xJnG.mjs";import"./useImageUrl-1XbeiwSF.mjs";import"./WebSubscribeNew-C7dCpx5X.mjs";const z={props:{text:{type:String,default:""},buttonText:{type:String,default:"Learn More"},buttonStyle:{type:String,default:"solid"},buttonColor:{type:String},buttonTextColor:{type:String},buttonLink:{type:String,required:!0},alignment:{type:String,default:"left"}},computed:{buttonStyles(){return{color:this.buttonTextColor}}}};function B(t,n,e,r,c,o){const l=L,i=y;return s(),d("div",{class:p(["call-to-action",e.alignment])},[u(l,{html:e.text},null,8,["html"]),u(i,{mode:e.buttonStyle,type:"link",link:e.buttonLink,target:e.buttonLink.startsWith("/")?"_self":"_blank",size:"large",color:e.buttonColor,"override-styles":o.buttonStyles},{default:f(()=>[S(T(e.buttonText),1)]),_:1},8,["mode","link","target","color","override-styles"])],2)}const w=x(z,[["render",B],["__scopeId","data-v-cf272bcf"]]),N={key:0,class:"call-to-action"},W={__name:"CallToActionBlock",props:{settings:{type:Object,required:!0,validator(t){return["buttonText","buttonSize","buttonStyle","buttonColor","buttonTextColor","buttonLink","alignment"].every(n=>n in t)}}},setup(t){var o,l;const n=t,{$ss:e}=C(),r=m({});if(e!=null&&e.useNewDesign){const{getStyles:i}=v();r.value=i((o=n.settings)==null?void 0:o.colorScheme)}const c=m(((l=n.settings.text)==null?void 0:l.text)??n.settings.text??"");return(i,A)=>{var a,b;const _=y,k=w;return(a=g(e))!=null&&a.useNewDesign?(s(),d("div",N,[u(_,{label:t.settings.buttonText,icon:"ic:round-arrow-forward",size:"large","icon-position":"right",type:"link","button-link":(b=t.settings)==null?void 0:b.buttonLink},null,8,["label","button-link"])])):(s(),h(k,{key:1,text:g(c),"button-text":t.settings.buttonText,"button-size":t.settings.buttonSize,"button-style":t.settings.buttonStyle,"button-color":t.settings.buttonColor,"button-text-color":t.settings.buttonTextColor,"button-link":t.settings.buttonLink,alignment:t.settings.alignment},null,8,["text","button-text","button-size","button-style","button-color","button-text-color","button-link","alignment"]))}}},R=x(W,[["__scopeId","data-v-611be048"]]);export{R as default};