import{_ as p,c as x,o as _,a as t,t as s,F as g,g as h,f as w,n as v,e as y,G as b}from"./app-q0jdcHwC.js";const j={class:"w-full p-4 bg-primary-500 rounded-2xl inline-flex flex-col justify-start items-start gap-4"},k={class:"w-full inline-flex justify-start items-center gap-4"},z=["src"],L={class:"w-full flex flex-col md:flex-row justify-between items-start gap-3"},B={class:"flex flex-col justify-center items-start gap-2"},F={class:"text-zinc-800 text-lg md:text-2xl font-semibold font-['Lato'] leading-tight md:leading-loose"},I={class:"block md:hidden text-right text-zinc-800 text-sm font-normal font-['Inter'] leading-snug"},R={class:"inline-flex justify-start items-center gap-1"},N={class:"text-slate-500 text-base md:text-xl font-semibold font-['Lato'] md:font-['Poppins'] leading-7 ml-[6px]"},V={class:"hidden md:block text-right justify-start text-zinc-800 text-sm font-normal font-['Inter'] leading-snug"},C={class:"inline-flex justify-start items-start gap-2"},D={class:"flex-1 justify-start text-zinc-900 text-base font-medium font-['Lato'] leading-normal"},E={__name:"Review",props:{review:Object},setup(u){const e=u;return(G,i)=>{var n,o,a,l,r,c,d;return _(),x("div",j,[t("div",k,[t("img",{class:"w-20 md:w-24 h-20 md:h-24 rounded-xl",src:(n=e.review)==null?void 0:n.customer_profile},null,8,z),t("div",L,[t("div",B,[t("p",F,s((o=e.review)==null?void 0:o.customer_name),1),t("p",I,s((a=e.review)==null?void 0:a.created_at),1),t("div",R,[(_(),x(g,null,h(5,f=>{var m;return w(y(b),{key:f,class:v(["w-4 h-4 md:w-7 md:h-7",f<=((m=e.review)==null?void 0:m.rating)?"text-primary-300":"text-[#e8e8e8]"])},null,8,["class"])}),64)),t("p",N,s((r=(l=e.review)==null?void 0:l.rating)==null?void 0:r.toFixed(1)),1)])]),t("p",V,s((c=e.review)==null?void 0:c.created_at),1)])]),i[0]||(i[0]=t("div",{class:"w-full h-0 outline outline-1 outline-offset-[-0.50px] outline-gray-300"},null,-1)),t("div",C,[t("p",D,s((d=e.review)==null?void 0:d.description),1)])])}}},P=p(E,[["__scopeId","data-v-5546a825"]]);export{P as R};
