Build 545032stable
Module 857069
1,051 characters · in 0cedf9ecc15a28ca.jsDependencies
Source Raw
function(e,t,n){n.d(t,{A:()=>u,l:()=>o});var a=n(58703),i=n(927813),s=n(935208),l=n(143413),r=n(652215);let d=7*i.A.Millis.MINUTE;function o(e,t,n){return null==t||t.type===r.TZK.MESSAGE&&t.content.id===t.content.channel_id||t.type!==r.TZK.MESSAGE&&t.type!==r.TZK.THREAD_STARTER_MESSAGE||u(e,t.content,n)}function u(e,t,n){return!!(n.hasFlag(r.pr7.HAS_THREAD)||n.isCommandType())||t.blocked!==n.blocked||t.ignored!==n.ignored||(n.type>r.lAJ.DEFAULT?!(0,l.A)(t)||n.type===r.lAJ.REPLY:!!((0,l.A)(t)||t.author.id!==n.author.id||t.hasFlag(r.pr7.EPHEMERAL)!==n.hasFlag(r.pr7.EPHEMERAL)||null!=n.webhookId&&t.author.username!==n.author.username||e?.isForumPost()&&t.id===s.default.castChannelIdAsMessageId(e.id)||!(0,a.ro)(t.timestamp,n.timestamp)||!(0,a.v0)(t.timestamp,n.timestamp,d)||n.hasFlag(r.pr7.SUPPRESS_NOTIFICATIONS)&&!t.hasFlag(r.pr7.SUPPRESS_NOTIFICATIONS)||t.hasFlag(r.pr7.SUPPRESS_NOTIFICATIONS)&&!n.hasFlag(r.pr7.SUPPRESS_NOTIFICATIONS)&&(n.mentions.length>0||n.mentionRoles.length>0||n.mentionEveryone))||n.applicationId!==t.applicationId)}}