Module 485394

862 characters · in 194d78840482c64f.js, c8222e778476c33e.js, 7832650ac106d345.js, 9645830126c4e2cd.js, 07ecc91908d83823.js
Dependencies
Lazily required by (0)none
Lazily requires (0)none
Source Raw
function(e,n,t){t.d(n,{Ay:()=>b,K7:()=>p});var a=t(311907),i=t(855687),r=t(446600),o=t(734057),l=t(808728),s=t(71393),c=t(576705),_=t(488926),d=t(698441),u=t(988794),h=t(652215);function p(e){let[n,t,a,p]=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[l.Ay,o.A,s.A,r.A];if((0,d.AZ)(e))return!1;let{guild_id:b,channel_id:m}=e,x=e.entity_type===u.Ps.EXTERNAL?n.getDefaultChannel(e.guild_id):t.getChannel(m),C=a.getGuild(b),g=p.getStageInstanceByChannel(m);return!!(0,i.K)(c.A,C,x,g)&&null!=x&&function(e){let[n]=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[o.A],{entityType:t,channelId:a}="entity_type"in e?{entityType:e.entity_type,channelId:e.channel_id}:e;if(t===u.Ps.EXTERNAL)return!0;let i=n.getChannel(a);return null!=i&&_.MJ(h.xBc.VIEW_CHANNEL,i)}(e,[t])}function b(e){return(0,a.bG)([l.Ay,o.A,s.A,r.A],()=>p(e,[l.Ay,o.A,s.A,r.A]),[e])}}