index.b9449915.js 913 B

1
  1. import{k as c,s as a,c as i,ai as n,P as l,y as d}from"./index.db28295d.js";import{b as s,d as u}from"./base.7a4a12c7.js";const m="_dot_188qh_1",p="_active_188qh_9",f="_first_188qh_12",h="_container_188qh_15";var e={dot:m,active:p,first:f,container:h},v=t=>s("div",{class:e.container},[Array(t.dots*(t.repeat||1)).fill(0).map((o,r)=>s("div",{class:c(e.dot,{[e.first]:r%t.dots===0},{[e.active]:a.activeTick>=0&&a.activeTick===r})},null))]),T=u({name:"DetailTick",props:{show:{type:Boolean,default:!1},score:{default:""}},render(){return this.score&&i.osmd||this.show?s(l,{show:a.activeTick>-1,closeable:!0,"close-icon-position":"bottom-right",onClickCloseIcon:n,style:{width:"100%",height:"100%",display:"flex",background:"transparent"}},{default:()=>{var t,o;return[s(v,{dots:((o=(t=i)==null?void 0:t.osmd)==null?void 0:o.numerator)||d(i.osmd).numerator||0,repeat:a.activeTickRepeat},null)]}}):null}});export{T};