Module 812299

726 characters · in 354a200baf40ce50.js, 1c2c538c03228d78.js
Dependencies
Lazily required by (0)none
Lazily requires (0)none
Source Raw
function(e,t,n){n.d(t,{k:()=>A,y:()=>o});var s=n(627968);n(64700);var u=n(709066),r=n(455207),i=n(943667),l=n(334211);function A(e){let t,{message:n,channel:s,user:l,isRepliedMessage:A}=e;return n?.isSystemDM()?t=u.A.Types.SYSTEM_DM:null!=n&&(0,i.A)(n)?t=(0,r.MZ)(n)?u.A.Types.OFFICIAL:u.A.Types.SERVER:l?.bot?t=u.A.Types.BOT:null!=s&&s.isForumPost()&&s.ownerId===l?.id&&!A&&(t=u.A.Types.ORIGINAL_POSTER),t}function o(e){let{message:t,channel:n,user:r,compact:i,isRepliedMessage:o,hideIcon:d=!1,children:c}=e,p=A({message:t,channel:n,user:r,compact:i,isRepliedMessage:o,hideIcon:d,children:c});return null==p?null:(0,s.jsx)(u.A,{className:i?l.jW:l.RQ,type:p,verified:r?.isVerifiedBot(),hideIcon:d,useRemSizes:!0,children:c})}}