import{fr as S}from"./chunk-B_pj7Jpm.js";var d=class s{valueToBadge=new Map;badgesUsed=new Set;getRandomBadge(e,a){this.valueToBadge.has(e)||this.valueToBadge.set(e,new Map);let r=this.valueToBadge.get(e),g=r.get(a);if(g)return g;for(let t of[`badge-yellow`,`badge-purple`,`badge-blue`,`badge-brown`,`badge-green`,`badge-secondary`])if(!this.badgesUsed.has(t))return this.badgesUsed.add(t),r.set(a,t),t;return this.badgesUsed.clear(),this.getRandomBadge(e,a)}static ɵfac=function(a){return new(a||s)};static ɵprov=S({token:s,factory:s.ɵfac})};export{d as t};
//# debugId=b58f9071-6455-55be-9916-75f82a6d9147
//# sourceMappingURL=chunk-BKnUaU7t.js.map