import{H as m,j as k,V as a,W as t,ad as c,I as s,Z as n,a9 as d,K as u,a3 as f,$ as y,a0 as L,ar as v,aX as C,aS as H,J as o,a4 as w,_ as x,a5 as T}from"./iUk1uHo5.js";import{_ as $}from"./BvOUKjfd.js";import{m as M}from"./CMsq3SoH.js";const S=["dir"],V={class:"h-double-color-section__wrapper"},p={class:"h-double-color-section__left"},B={key:0,class:"h-double-color-section__youtube-video-wrapper"},R=["dir"],D=["innerHTML"],N=["innerHTML"],j={key:2,class:"h-double-color-section__features-wrapper"},I=["innerHTML"],q={key:3,class:"h-double-color-section__button-wrapper"},z={class:"h-double-color-section__button"},E=m({__name:"HDoubleColorSection",props:{data:{type:Object,required:!0},backgroundColorLeft:{type:String,default:"neutral0"},backgroundColorRight:{type:String,default:"neutral0"}},setup(e){const{direction:r}=k();return(i,F)=>{const _=C,b=$,h=H,g=M;return o(),a("section",{class:"h-double-color-section",dir:u(r)},[t("div",V,[t("div",{class:c(["h-double-color-section__left-wrapper",{[`h-double-color-section__left-wrapper--bg-${e.backgroundColorLeft}`]:!!e.backgroundColorLeft,"h-double-color-section__left-wrapper--centered":e.data.youtubeLink}])},[t("div",p,[e.data.youtubeLink?(o(),a("div",B,[d(_,{"youtube-link":e.data.youtubeLink,title:e.data.youtubeLinkTitle},null,8,["youtube-link","title"])])):e.data.imageData?(o(),s(b,{key:1,media:e.data.imageData},null,8,["media"])):n("",!0)])],2),t("div",{class:c(["h-double-color-section__right-wrapper",{[`h-double-color-section__right-wrapper--bg-${e.backgroundColorRight}`]:!!e.backgroundColorRight}])},[t("div",{class:"h-double-color-section__right",dir:u(r)},[e.data.badge?(o(),s(h,{key:0,"background-color":"light-blue200",small:""},{default:f(()=>[w(x(e.data.badge),1)]),_:1})):n("",!0),t("h2",{innerHTML:e.data.heading},null,8,D),e.data.description?(o(),a("div",{key:1,class:"h-double-color-section__description",innerHTML:e.data.description},null,8,N)):n("",!0),e.data.featuresList?(o(),a("div",j,[(o(!0),a(y,null,L(e.data.featuresList,l=>(o(),a("div",{key:l.text,class:c(["h-double-color-section__feature",{[`h-double-color-section__feature--bg-${e.backgroundColorLeft||e.backgroundColorRight}`]:!!(e.backgroundColorLeft||e.backgroundColorRight)}])},[d(g,{color:"success500"}),t("div",{innerHTML:l.text},null,8,I)],2))),128))])):n("",!0),i.$slots.button?(o(),a("div",q,[t("div",z,[v(i.$slots,"button",{},void 0,!0)])])):n("",!0)],8,R)],2)])],8,S)}}}),O=T(E,[["__scopeId","data-v-8531a8f7"]]);export{O as _};