import{_ as m,i as _,G as u,R as g,aq as k,r as s,o,a as C,w as c,l as n,b as h,n as l,q as x,p as d}from"./main-DtyiNRRn.js";const p={name:"TextTwoColumnFi",components:{ComponentWrapper:_,GridContainerFi:u,RichtextFi:g},mixins:[k],props:{fields:{type:Object,default:()=>({})}},computed:{isWideContent(){return this.fields.wideContent&&!!this.fields.wideContent.value},isDark(){var e;return(e=this.fields.dark)==null?void 0:e.value}}};function w(e,b,i,W,v,t){const a=s("richtext-fi"),r=s("grid-container-fi"),f=s("component-wrapper");return o(),C(f,null,{default:c(()=>[n(r,{class:l({"text-two-column-fi":!0,"text-two-column-fi--dark":t.isDark})},{default:c(()=>[i.fields.textTop||e.isEditMode?(o(),h("div",{key:0,class:l({"fi-col-start-1 fi-col-end-13 md:fi-col-start-2 md:fi-col-end-12":!0,"lg:fi-col-start-2 lg:fi-col-end-12":t.isWideContent,"lg:fi-col-start-3 lg:fi-col-end-11":!t.isWideContent})},[n(a,{"html-content":i.fields.textTop,"is-bg-dark":t.isDark},null,8,["html-content","is-bg-dark"])],2)):x("",!0),d("div",{class:l({"fi-col-start-1 fi-col-end-13 sm:fi-col-start-1 sm:fi-col-end-7 md:fi-col-start-2 md:fi-col-end-7":!0,"lg:fi-col-start-2 lg:fi-col-end-7":t.isWideContent,"lg:fi-col-start-3 lg:fi-col-end-7":!t.isWideContent})},[n(a,{"html-content":i.fields.textLeft,"is-bg-dark":t.isDark},null,8,["html-content","is-bg-dark"])],2),d("div",{class:l({"fi-col-start-1 fi-col-end-13 sm:fi-col-start-7 sm:fi-col-end-13 md:fi-col-start-7 md:fi-col-end-12 lg:fi-col-start-7":!0,"lg:fi-col-end-12":t.isWideContent,"lg:fi-col-end-11":!t.isWideContent})},[n(a,{"html-content":i.fields.textRight,"is-bg-dark":t.isDark},null,8,["html-content","is-bg-dark"])],2)]),_:1},8,["class"])]),_:1})}const B=m(p,[["render",w],["__scopeId","data-v-64ca5489"]]);export{B as default};