import{s as a,a as t,o,b as c,u as s}from"./m2W8DxR4.js";const u={class:"bg-foreground/20 flex h-4 w-6 overflow-hidden"},l=["src","alt","title"],f={__name:"FlagComponent",props:{country:{required:!0},countryName:{type:String,required:!1}},setup(e){const r=e,n=a(()=>`https://flagcdn.com/w40/${r.country.toLowerCase()}.png`);return(m,d)=>(o(),t("span",u,[e.country?(o(),t("img",{key:0,src:s(n),alt:e.countryName,title:e.countryName},null,8,l)):c("",!0)]))}};export{f as default};
