import{W as t,o as n,c as r,a3 as u,F as l,a7 as i,$ as p,a4 as d,ae as m}from"./runtime-core.esm-bundler.ce5add0b.js";const f=["id"],g={__name:"ScoreButton",props:{showScore:{type:Boolean,default:!0},score:{type:Number,default:0},postId:{type:Number,default:0}},setup(o){const e=o,s=t(()=>0<e.postId?`score-button-${e.postId}`:null),a=t(()=>!e.showScore||e.score===0?"score-disabled":40>e.score?"score-red":70>e.score?"score-orange":"score-green");return(c,_)=>(n(),r("div",{class:m(["aioseo-score-button",a.value]),id:s.value},[u(c.$slots,"icon"),o.showScore?(n(),r(l,{key:0},[i(p(o.score===0?"N/A":`${o.score}/100`),1)],64)):d("",!0)],10,f))}};export{g as _};
