Module 881973

323 characters · in 30a277b9d32d70b1.js
Dependencies
Required by (1)
Lazily required by (0)none
Requires (1)
Lazily requires (0)none
Source Raw
function(e,t,n){n.d(t,{A:()=>l});var i=n(449054);class l{guildIds=new Set;categoryId;constructor(e){this.categoryId=e}markAsSeen(e,t,n){this.categoryId!==e&&(this.categoryId=e,this.flushSeenGuilds(n)),this.guildIds.add(t)}flushSeenGuilds(e){this.guildIds.size>0&&(i.PU(e,Array.from(this.guildIds)),this.guildIds.clear())}}}