import{Z as r}from"./chunk-L6W7X4TF.js";import{i as o}from"./chunk-WH5WJFMZ.js";var c=(()=>{let e=class e{valueToBadge=new Map;badgesUsed=new Set;getRandomBadge(a,t){this.valueToBadge.has(a)||this.valueToBadge.set(a,new Map);let n=this.valueToBadge.get(a),g=n.get(t);if(g)return g;let i=["badge-yellow","badge-purple","badge-blue","badge-brown","badge-green","badge-secondary"];for(let s of i)if(!this.badgesUsed.has(s))return this.badgesUsed.add(s),n.set(t,s),s;return this.badgesUsed.clear(),this.getRandomBadge(a,t)}};o(e,"\u0275fac",function(t){return new(t||e)}),o(e,"\u0275prov",r({token:e,factory:e.\u0275fac}));let d=e;return d})();export{c as a};
/**i18n:ae7e6707fc51a9e1f6f015929aece8afe43a92a094f09f07f0463afe6c89573f*/
//# sourceMappingURL=chunk-FYTZ5J3H.js.map
