import{f as t,o as c,c as u,m as a,D as l,t as i,I as p}from"./vue.runtime.esm-bundler.4a881941.js";const _=["id"],m={__name:"ScoreButton",props:{score:{type:Number,default:0},postId:{type:Number,default:0}},setup(o){const e=o,n=t(()=>0<e.postId?`score-button-${e.postId}`:null),r=t(()=>80<e.score?"score-green":50<e.score?"score-orange":1<e.score?"score-red":"score-disabled");return(s,d)=>(c(),u("div",{class:p(["aioseo-score-button",r.value]),id:n.value},[a(s.$slots,"icon"),l(" "+i(o.score===0?"N/A":`${o.score}/100`),1)],10,_))}};export{m as _};
