/* empty css       */import{o,c as a,a as u,F as d,i as l,h as _,w as h,n as p,t as r,f as m,T as f,_ as v}from"./index.js";const q={class:"iface-centered"},T={class:"points"},k={class:"point-value"},x={class:"point-text"};function y(e,i,n,t,c,g){return o(),a("div",q,[u("div",T,[(o(!0),a(d,null,l(c.queue,s=>(o(),_(f,{name:"fade",key:s.key},{default:h(()=>[s.value?(o(),a("div",{key:0,class:p(["point",{selected:s.selected}])},[u("div",k,"+"+r(s.value),1),u("div",x,r(s.title),1)],2)):m("",!0)]),_:2},1024))),128))])])}const Q={props:["openParams"],data(){return{queue:[]}},created(){},methods:{removeFromQueue(e){this.queue[e]={}},addToQueue(e){this.queue[e]&&(this.queue[e].selected=!1),setTimeout(()=>{this.removeFromQueue(e)},5e3)},addPoint(e,i){for(let t=0;t<this.queue.length;++t)this.queue[t].selected&&this.addToQueue(t);const n=this.queue.push({value:e,title:i,selected:!0})-1;setTimeout(()=>{this.addToQueue(n)},3e3)}}},P=v(Q,[["render",y]]);export{P as default};
