import{W as a,X as e,J as s,az as t,Z as c,aa as i,a8 as r,a9 as n}from"./vendor.js?ver=3.1.8";import{_ as m}from"./fc-bits-ui.js?ver=3.1.8";const p={name:"CampaignSubjectLines",props:{campaign:{type:Object,required:!0},showPriority:{type:Boolean,default:!0}},computed:{activeSubjects(){return(this.campaign.subjects||[]).filter(a=>a&&a.value&&a.value.trim())}}},u={class:"fcrm_campaign_subject_lines"},o={class:"fcrm_campaign_subject_lines--value"},l={key:0,class:"fcrm_campaign_subject_lines--priority"};const _=m(p,[["render",function(m,p,_,j,b,f){return a(),e("span",u,[f.activeSubjects.length?(a(!0),e(s,{key:0},t(f.activeSubjects,(s,t)=>(a(),e("span",{key:s.id||t,class:"fcrm_campaign_subject_lines--item"},[c("span",o,i(s.value),1),_.showPriority?(a(),e("span",l,i(s.key)+"% ",1)):r("",!0)]))),128)):(a(),e(s,{key:1},[n(i(_.campaign.email_subject||"--"),1)],64))])}]]);export{_ as C};
