import{c as t,x as d,e as s,a as l,t as a,F as c,r as n,b as x}from"./runtime-dom.esm-bundler-Dxy_DEvW.js";const p={key:0,class:"flex flex-col gap-2"},_={class:"text-gray-500 text-xl font-semibold"},u={class:"flex justify-between"},y={class:"flex items-center gap-2"},g={class:"text-base font-semibold"},h={key:0,class:"text-xs bg-red-200 text-red-700 px-2 py-1 rounded-lg"},m={key:1,class:"text-xs bg-yellow-200 text-yellow-700 px-2 py-1 rounded-lg"},b={key:2,class:"text-xs bg-green-200 text-green-700 px-2 py-1 rounded-lg"},f={class:"text-gray-500"},k={class:"divide-x divide-gray-500"},v=["href"],N={__name:"Recommendations",props:{recommendations:{type:Array,required:!0},labels:{type:Object,required:!0}},setup(r){return(w,o)=>r.recommendations.length>0?(s(),t("div",p,[l("h3",_,a(r.labels.recommendations),1),(s(!0),t(c,null,n(r.recommendations,e=>(s(),t("div",{class:"border border-primary-600 rounded-lg px-4 py-4 flex flex-col gap-1",key:e.id},[l("div",u,[l("div",y,[o[0]||(o[0]=l("i",{class:"fas fa-bolt text-primary-600 text-lg"},null,-1)),l("h4",g,a(e.title),1),e.high_impact?(s(),t("span",h,a(e.high_impact),1)):e.medium_impact?(s(),t("span",m,a(e.medium_impact),1)):e.low_impact?(s(),t("span",b,a(e.low_impact),1)):d("",!0)])]),l("p",f,[x(a(e.description)+" ",1),l("span",k,[(s(!0),t(c,null,n(e.actions,i=>(s(),t("a",{key:i.id,href:i.url,class:"text-primary-600 underline font-semibold"},a(i.label),9,v))),128))])])]))),128))])):d("",!0)}};export{N as _};
//# sourceMappingURL=Recommendations-bef8w8Qq.js.map
