Loading
function(e,t,n){n.d(t,{D:()=>m});var i=n(855986),s=n(576705),a=n(73153);let r=new Set,o=new Set;class l extends i.Ay.PersistedStore{static displayName="PinotAdminNoticeAckStore";static persistKey="PinotAdminNoticeAckStore";initialize(e){r=new Set(e?.ackedGuildIds??[]),o=new Set}getState(){return{ackedGuildIds:Array.from(r)}}isAcked(e){return r.has(e)}isHidden(e){return o.has(e)}}let c=new l(a.h,{PINOT_ADMIN_NOTICE_ACK:function(e){let{guildId:t}=e;if(r.has(t))return!1;r=new Set([...r,t])},PINOT_ADMIN_NOTICE_HIDE:function(e){let{guildId:t}=e;if(o.has(t))return!1;o=new Set([...o,t])}}),d=221552==n.j?c:null;var u=n(677166),p=n(652215);function m(e){let t=(0,i.bG)([s.A],()=>null!=e&&e.features.has(p.GuildFeatures.DISCOVERABLE)&&s.A.can(p.xBc.MANAGE_GUILD,e)?e.id:null,[e]),n=(0,u.C)(t,"guild_header_coachmark"),a=(0,i.bG)([d],()=>null!=t&&(d.isAcked(t)||d.isHidden(t)),[t]);return n&&!a}}