import{K as s,m as i,j as o,k as a,a7 as c}from"./BCLrUOBx.js";const l={name:"RatingStar",props:{rating:{type:Number,default:5}},mixins:[],computed:{ratingPercent(){return{width:`${parseInt(this.rating/5*100)}%`}}}},p=["title"];function m(e,t,n,u,_,r){return o(),i("span",{title:e.$t("ratingStar.outOf",{rating:n.rating}),class:"rating-stars"},[t[0]||(t[0]=a("span",null,"☆☆☆☆☆",-1)),a("span",{class:"rating",style:c(r.ratingPercent)},"★★★★★",4)],8,p)}const d=s(l,[["render",m]]);export{d as default};
