J['indexOf'](K)>-0x1);};b['ChannelUtils']['isTextChannel']=function(I){let J=typeof I=='string'?m['ChannelStore']['getChannel'](I):I;return b['ObjectUtils']['is'](J)&&(J['type']==b['DiscordConstants']['ChannelTypes']['GUILD_TEXT']||J['type']==b['DiscordConstants']['ChannelTypes']['GUILD_STORE']||J['type']==b['DiscordConstants']['ChannelTypes']['GUILD_ANNOUNCEMENT']);};b['ChannelUtils']['getId']=function(I){if(!Node['prototype']['isPrototypeOf'](I)||!b['ReactUtils']['getInstance'](I))return;I=b['DOMUtils']['getParent'](b['dotCNC']['categorycontainerdefault']+b['dotCNC']['channelcontainerdefault']+b['dotCN']['dmchannel'],I);if(!I)return;let J=b['ReactUtils']['findValue'](I,'channel');return J?J['id']['toString']():null;};b['ChannelUtils']['getDiv']=function(I){if(!I)return null;let J=b['ChannelUtils']['getData'](I);return J?J['div']:null;};b['ChannelUtils']['getData']=function(I){if(!I)return null;let J=Node['prototype']['isPrototypeOf'](I)?b['ChannelUtils']['getId'](I):typeof I=='object'?I['id']:I;J=typeof J=='number'?J['toFixed']():J;for(let K of b['ChannelUtils']['getAll']())if(K&&K['id']==J)return K;return null;};b['ChannelUtils']['getName']=function(I,J){let K=b['LibraryModules']['ChannelStore']['getChannel'](I);if(!K)return'';switch(K['type']){case b['DiscordConstants']['ChannelTypes']['DM']:let L=K['recipients']['map'](b['LibraryModules']['UserStore']['getUser'])['filter'](N=>N)[0x0];return(J&&'@'||'')+(L&&L['toString']()||'');case b['DiscordConstants']['ChannelTypes']['GROUP_DM']:if(K['name'])return K['name'];let M=K['recipients']['map'](b['LibraryModules']['UserStore']['getUser'])['filter'](N=>N);return M['length']>0x0?M['map'](N=>N['toString'])['join'](',\x20'):b['LanguageUtils']['LanguageStrings']['UNNAMED'];case b['DiscordConstants']['ChannelTypes']['GUILD_ANNOUNCEMENT']:case b['DiscordConstants']['ChannelTypes']['GUILD_TEXT']:return(J&&'#'||'')+K['name'];default:return K['name'];}};b['ChannelUtils']['getAll']=function(){let I=[];for(let K of b['ReactUtils']['findOwner'](document['querySelector'](b['dotCN']['channels']),{'name':['ChannelCategoryItem','ChannelItem','PrivateChannel'],'all':!![],'unlimited':!![]}))if(K['props']&&!K['props']['ispin']&&K['props']['channel']&&K['_reactInternalFiber']['return']){var J=b['ReactUtils']['findDOMNode'](K);J=J&&b['DOMUtils']['containsClass'](J['parentElement'],b['disCN']['categorycontainerdefault'],b['disCN']['channelcontainerdefault'],![])?J['parentElement']:J;I['push'](Object['assign'](new K['props']['channel']['constructor'](K['props']['channel']),{'div':J,'instance':K}));}return I;};b['ChannelUtils']['getSelected']=function(){let I=m['ChannelStore']['getChannel'](m['LastChannelStore']['getChannelId']());if(I)return b['ChannelUtils']['getData'](I['id'])||Object['assign'](new I['constructor'](I),{'div':null,'instance':null});else return null;};b['ChannelUtils']['openMenu']=function(I,J=b['InternalData']['mousePosition']){if(!I)return;let K=Node['prototype']['isPrototypeOf'](I)?b['ChannelUtils']['getId'](I):typeof I=='object'?I['id']:I;let L=m['ChannelStore']['getChannel'](K);if(L){let M=null;for(let N in b['DiscordConstants']['ChannelTypes'])if(b['DiscordConstants']['ChannelTypes'][N]==L['type']){M=b['DiscordConstants']['ContextMenuTypes'][(N=='GUILD_CATEGORY'?'CHANNEL_':'CHANNEL_LIST_')+N['replace']('GUILD_','')];break;}if(M)m['ContextMenuUtils']['openContextMenu'](J,function(O){return b['ReactUtils']['createElement'](t['LibraryComponents']['ContextMenus']['_Exports']['ChannelContextMenu']&&t['LibraryComponents']['ContextMenus']['_Exports']['ChannelContextMenu']['default'],Object['assign']({},O,{'type':M,'channel':L,'guild':m['GuildStore']['getGuild'](L['guild_id']),'selected':L['id']==m['LastChannelStore']['getChannelId']()}));});}};b['ChannelUtils']['markAsRead']=function(I){if(!I)return;let J=[];for(let K of I=b['ArrayUtils']['is'](I)?I:typeof I=='string'||typeof I=='number'?Array['of'](I):Array['from'](I)){let L=Node['prototype']['isPrototypeOf'](K)?b['ChannelUtils']['getId'](K):K&&typeof K=='object'?K['id']:K;if(L&&b['ChannelUtils']['isTextChannel'](L))J['push']({'channelId':L,'messageId':m['UnreadChannelUtils']['lastMessageId'](L)});}if(J['length'])m['AckUtils']['bulkAck'](J);};b['DMUtils']={};b['DMUtils']['isDMChannel']=function(I){let J=typeof I=='string'?m['ChannelStore']['getChannel'](I):I;return b['ObjectUtils']['is'](J)&&(J['type']==b['DiscordConstants']['ChannelTypes']['DM']||J['type']==b['DiscordConstants']['ChannelTypes']['GROUP_DM']);};b['DMUtils']['getIcon']=function(I){let J=m['ChannelStore']['getChannel'](I=typeof I=='number'?I['toFixed']():I);if(!J)return null;if(!J['icon'])return J['type']==0x1?b['UserUtils']['getAvatar'](J['recipients'][0x0]):J['type']==0x3?window['location']['origin']+m['IconUtils']['getChannelIconURL'](J)['split']('?')[0x0]:null;return m['IconUtils']['getChannelIconURL'](J)['split']('?')[0x0];};b['DMUtils']['getId']=function(I){if(!Node['prototype']['isPrototypeOf'](I)||!b['ReactUtils']['getInstance'](I))return;let J=b['DOMUtils']['getParent'](b['dotCN']['guildouter'],I);if(!J)return;let K=J['querySelector'](b['dotCN']['guildiconwrapper']);let L=K&&K['href']?K['href']['split']('/')['slice'](-0x1)[0x0]:null;return L&&!isNaN(parseInt(L))?L['toString']():null;};b['DMUtils']['getDiv']=function(I){if(!I)return null;if(Node['prototype']['isPrototypeOf'](I)){var J=b['DOMUtils']['getParent'](b['dotCN']['guildouter'],I);return J?J['parentElement']:J;}else{let K=typeof I=='object'?I['id']:I;if(K){var J=b['DOMUtils']['getParent'](b['dotCN']['guildouter'],document['querySelector'](b['dotCNS']['guilds']+b['dotCN']['dmpill']+'\x20+\x20*\x20'+b['dotCN']['guildiconwrapper']+'[href*=\x22/channels/@me/'+K+'\x22]'));return J&&b?J['parentElement']:J;}}return null;};b['DMUtils']['getData']=function(I){if(!I)return null;let J=Node['prototype']['isPrototypeOf'](I)?b['BDFDB']['DMUtils']['getId'](I):typeof I=='object'?I['id']:I;J=typeof J=='number'?J['toFixed']():J;for(let K of b['DMUtils']['getAll']())if(K&&K['id']==J)return K;return null;};b['DMUtils']['getAll']=function(){let I=[];for(let J of b['ReactUtils']['findOwner'](document['querySelector'](b['dotCN']['guilds']),{'name':'DirectMessage','all':!![],'unlimited':!![]})){if(J['props']&&J['props']['channel'])I['push'](Object['assign'](new J['props']['channel']['constructor'](J['props']['channel']),{'div':b['ReactUtils']['findDOMNode'](J),'instance':J}));}return I;};b['DMUtils']['openMenu']=function(I,J=b['InternalData']['mousePosition']){if(!I)return;let K=Node['prototype']['isPrototypeOf'](I)?b['ChannelUtils']['getId'](I):typeof I=='object'?I['id']:I;let L=m['ChannelStore']['getChannel'](K);if(L){if(L['isMultiUserDM']())m['ContextMenuUtils']['openContextMenu'](J,function(M){return b['ReactUtils']['createElement'](t['LibraryComponents']['ContextMenus']['GroupDMContextMenu'],Object['assign']({},M,{'channelId':L['id'],'selected':L['id']==m['LastChannelStore']['getChannelId']()}));},{'noBlurEvent':!![]});else m['ContextMenuUtils']['openContextMenu'](J,function(M){return b['ReactUtils']['createElement'](t['LibraryComponents']['ContextMenus']['_Exports']['UserContextMenu']&&t['LibraryComponents']['ContextMenus']['_Exports']['UserContextMenu']['default'],Object['assign']({},M,{'type':b['DiscordConstants']['ContextMenuTypes']['USER_PRIVATE_CHANNELS'],'user':m['UserStore']['getUser'](L['recipients'][0x0]),'channelId':L['id'],'selected':L['id']==m['LastChannelStore']['getChannelId']()}));});}};b['DMUtils']['markAsRead']=function(I){if(!I)return;let J=[];for(let K of I=b['ArrayUtils']['is'](I)?I:typeof I=='string'||typeof I=='number'?Array['of'](I):Array['from'](I)){let L=Node['prototype']['isPrototypeOf'](K)?b['BDFDB']['DMUtils']['getId'](K):K&&typeof K=='object'?K['id']:K;if(L)J['push'](L);}for(let M in J)b['TimeUtils']['timeout'](N=>{m['AckUtils']['ack'](J[M]);},M*0x3e8);};b['DataUtils']={};b['DataUtils']['cached']=window['BDFDB']&&window['BDFDB']['DataUtils']&&window['BDFDB']['DataUtils']['cached']||{};b['DataUtils']['save']=function(I,J,K,L){J=J==b&&c||J;let M=typeof J==='string'?J:J['name'];let N=l['path']['join'](b['BDUtils']['getPluginsFolder'](),M+'.config.json');let O=b['DataUtils']['cached'][M]!==undefined?b['DataUtils']['cached'][M]:c['readConfig'](N)||{};if(K===undefined)O=b['ObjectUtils']['is'](I)?b['ObjectUtils']['sort'](I):I;else{if(L===undefined)O[K]=b['ObjectUtils']['is'](I)?b['ObjectUtils']['sort'](I):I;else{if(!b['ObjectUtils']['is'](O[K]))O[K]={};O[K][L]=b['ObjectUtils']['is'](I)?b['ObjectUtils']['sort'](I):I;}}let P=b['ObjectUtils']['is'](O);if(K!==undefined&&P&&b['ObjectUtils']['is'](O[K])&&b['ObjectUtils']['isEmpty'](O[K]))delete O[K];if(b['ObjectUtils']['isEmpty'](O)){delete b['DataUtils']['cached'][M];if(l['fs']['existsSync'](N))l['fs']['unlinkSync'](N);}else{if(P)O=b['ObjectUtils']['sort'](O);b['DataUtils']['cached'][M]=P?b['ObjectUtils']['deepAssign']({},O):O;l['fs']['writeFileSync'](N,JSON['stringify'](O,null,'\x09'));}};b['DataUtils']['load']=function(I,J,K){I=I==b&&c||I;let L=typeof I==='string'?I:I['name'];let M=l['path']['join'](b['BDUtils']['getPluginsFolder'](),L+'.config.json');let N=b['DataUtils']['cached'][L]!==undefined?b['DataUtils']['cached'][L]:c['readConfig'](M)||{};let O=b['ObjectUtils']['is'](N);b['DataUtils']['cached'][L]=O?b['ObjectUtils']['deepAssign']({},N):N;if(J===undefined)return N;else{let P=O?b['ObjectUtils']['is'](N[J])||N[J]==undefined?b['ObjectUtils']['deepAssign']({},N[J]):N[J]:null;if(K===undefined)return P;else return!b['ObjectUtils']['is'](P)||P[K]===undefined?null:P[K];}};b['DataUtils']['remove']=function(I,J,K){I=I==b&&c||I;let L=typeof I==='string'?I:I['name'];let M=l['path']['join'](b['BDUtils']['getPluginsFolder'](),L+'.config.json');let N=b['DataUtils']['cached'][L]!==undefined?b['DataUtils']['cached'][L]:c['readConfig'](M)||{};let O=b['ObjectUtils']['is'](N);if(J===undefined||!O)N={};else{if(K===undefined)delete N[J];else if(b['ObjectUtils']['is'](N[J]))delete N[J][K];}if(b['ObjectUtils']['is'](N[J])&&b['ObjectUtils']['isEmpty'](N[J]))delete N[J];if(b['ObjectUtils']['isEmpty'](N)){delete b['DataUtils']['cached'][L];if(l['fs']['existsSync'](M))l['fs']['unlinkSync'](M);}else{if(O)N=b['ObjectUtils']['sort'](N);b['DataUtils']['cached'][L]=O?b['ObjectUtils']['deepAssign']({},N):N;l['fs']['writeFileSync'](M,JSON['stringify'](N,null,'\x09'));}};b['DataUtils']['get']=function(I,J,K){I=I==b&&c||I;I=typeof I=='string'?b['BDUtils']['getPlugin'](I):I;if(!b['ObjectUtils']['is'](I))return K===undefined?{}:null;let L=I['defaults'];if(!b['ObjectUtils']['is'](L)||!L[J])return K===undefined?{}:null;let M=b['DataUtils']['load'](I,J),N={},O=![];for(let P in L[J]){let Q=b['ObjectUtils']['is'](L[J][P]['value']);if(M[P]==null||Q&&(!b['ObjectUtils']['is'](M[P])||Object['keys'](L[J][P]['value'])['some'](R=>L[J][P]['value'][R]!=null&&!b['sameProto'](L[J][P]['value'][R],M[P][R])))){N[P]=Q?b['ObjectUtils']['deepAssign']({},L[J][P]['value']):L[J][P]['value'];O=!![];}else N[P]=M[P];}if(O)b['DataUtils']['save'](N,I,J);if(K===undefined)return N;else return N[K]===undefined?null:N[K];};c['readConfig']=function(I){try{return JSON['parse'](l['fs']['readFileSync'](I));}catch(J){return{};}};b['ColorUtils']={};b['ColorUtils']['convert']=function(I,J,K){if(b['ObjectUtils']['is'](I)){var L={};for(let a9 in I)L[a9]=b['ColorUtils']['convert'](I[a9],J,K);return L;}else{J=J===undefined||!J?J='RGBCOMP':J['toUpperCase']();K=K===undefined||!K||!['RGB','RGBA','RGBCOMP','HSL','HSLA','HSLCOMP','HEX','HEXA','INT']['includes'](K['toUpperCase']())?b['ColorUtils']['getType'](I):K['toUpperCase']();if(J=='RGBCOMP'){switch(K){case'RGBCOMP':if(I['length']==0x3)return a4(I);else if(I['length']==0x4){let ac=a5(I['pop']());return a4(I)['concat'](ac);}break;case'RGB':return a4(I['replace'](/\s/g,'')['slice'](0x4,-0x1)['split'](','));case'RGBA':let aa=I['replace'](/\s/g,'')['slice'](0x5,-0x1)['split'](',');let ab=a5(aa['pop']());return a4(aa)['concat'](ab);case'HSLCOMP':if(I['length']==0x3)return b['ColorUtils']['convert']('hsl('+a7(I)['join'](',')+')','RGBCOMP');else if(I['length']==0x4){let ad=a5(I['pop']());return b['ColorUtils']['convert']('hsl('+a7(I)['join'](',')+')','RGBCOMP')['concat'](ad);}break;case'HSL':var M=a7(I['replace'](/\s/g,'')['slice'](0x4,-0x1)['split'](','));var N,O,P,Q,R,S,T,U;var V=M[0x0]/0x168,W=parseInt(M[0x1])/0x64,X=parseInt(M[0x2])/0x64;Q=Math['floor'](V*0x6);R=V*0x6-Q;S=X*(0x1-W);T=X*(0x1-R*W);U=X*(0x1-(0x1-R)*W);switch(Q%0x6){case 0x0:N=X,O=U,P=S;break;case 0x1:N=T,O=X,P=S;break;case 0x2:N=S,O=X,P=U;break;case 0x3:N=S,O=T,P=X;break;case 0x4:N=U,O=S,P=X;break;case 0x5:N=X,O=S,P=T;break;}return[Math['round'](N*0xff),Math['round'](O*0xff),Math['round'](P*0xff)];case'HSLA':var M=I['replace'](/\s/g,'')['slice'](0x5,-0x1)['split'](',');return b['ColorUtils']['convert']('hsl('+M['slice'](0x0,0x3)['join'](',')+')','RGBCOMP')['concat'](a5(M['pop']()));case'HEX':var Y=/^#([a-f\d]{1})([a-f\d]{1})([a-f\d]{1})$|^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i['exec'](I);return[parseInt(Y[0x1]+Y[0x1]||Y[0x4],0x10)['toString'](),parseInt(Y[0x2]+Y[0x2]||Y[0x5],0x10)['toString'](),parseInt(Y[0x3]+Y[0x3]||Y[0x6],0x10)['toString']()];case'HEXA':var Y=/^#([a-f\d]{1})([a-f\d]{1})([a-f\d]{1})([a-f\d]{1})$|^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i['exec'](I);return[parseInt(Y[0x1]+Y[0x1]||Y[0x5],0x10)['toString'](),parseInt(Y[0x2]+Y[0x2]||Y[0x6],0x10)['toString'](),parseInt(Y[0x3]+Y[0x3]||Y[0x7],0x10)['toString'](),Math['floor'](b['NumberUtils']['mapRange']([0x0,0xff],[0x0,0x64],parseInt(Y[0x4]+Y[0x4]||Y[0x8],0x10)['toString']()))/0x64];case'INT':I=a8(I);return[(I>>0x10&0xff)['toString'](),(I>>0x8&0xff)['toString'](),(I&0xff)['toString']()];default:return null;}}else{if(J&&K&&J['indexOf']('HSL')==0x0&&K['indexOf']('HSL')==0x0){if(K=='HSLCOMP'){switch(J){case'HSLCOMP':if(I['length']==0x3)return a7(I);else if(I['length']==0x4){var Z=a5(I['pop']());return a7(I)['concat'](Z);}break;case'HSL':return'hsl('+a7(I['slice'](0x0,0x3))['join'](',')+')';case'HSLA':I=I['slice'](0x0,0x4);var Z=I['length']==0x4?a5(I['pop']()):0x1;return'hsla('+a7(I)['concat'](Z)['join'](',')+')';}}else return b['ColorUtils']['convert'](I['replace'](/\s/g,'')['slice'](I['toLowerCase']()['indexOf']('hsla')==0x0?0x5:0x4,-0x1)['split'](','),J,'HSLCOMP');}else{let ae=K=='RGBCOMP'?I:b['ColorUtils']['convert'](I,'RGBCOMP',K);if(ae)switch(J){case'RGB':return'rgb('+a4(ae['slice'](0x0,0x3))['join'](',')+')';case'RGBA':ae=ae['slice'](0x0,0x4);var Z=ae['length']==0x4?a5(ae['pop']()):0x1;return'rgba('+a4(ae)['concat'](Z)['join'](',')+')';case'HSLCOMP':var Z=ae['length']==0x4?a5(ae['pop']()):null;var M=a7(b['ColorUtils']['convert'](ae,'HSL')['replace'](/\s/g,'')['split'](','));return Z!=null?M['concat'](Z):M;case'HSL':var N=a3(ae[0x0]),O=a3(ae[0x1]),P=a3(ae[0x2]);var a0=Math['max'](N,O,P),a1=Math['min'](N,O,P),a2=a0-a1,V,W=a0===0x0?0x0:a2/a0,X=a0/0xff;switch(a0){case a1:V=0x0;break;case N:V=O-P+a2*(O0xff?0xff:af<0x0?0x0:af;}};function a4(af){return af['map'](ag=>{return a3(ag);});};function a5(af){if(af==null){return 0x1;}else{af=af['toString']();af=(af['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(af['replace'](/[^0-9\.\-]/g,''));return isNaN(af)||af>0x1?0x1:af<0x0?0x0:af;}};function a6(af){if(af==null){return'100%';}else{af=parseFloat(af['toString']()['replace'](/[^0-9\.\-]/g,''));return(isNaN(af)||af>0x64?0x64:af<0x0?0x0:af)+'%';}};function a7(af){let ag=parseFloat(af['shift']()['toString']()['replace'](/[^0-9\.\-]/g,''));ag=isNaN(ag)||ag>0x168?0x168:ag<0x0?0x0:ag;return[ag]['concat'](af['map'](ah=>{return a6(ah);}));};function a8(af){if(af==null){return 0xffffff;}else{af=parseInt(af['toString']()['replace'](/[^0-9]/g,''));return isNaN(af)||af>0xffffff?0xffffff:af<0x0?0x0:af;}};};b['ColorUtils']['setAlpha']=function(I,J,K){if(b['ObjectUtils']['is'](I)){var L={};for(let N in I)L[N]=b['ColorUtils']['setAlpha'](I[N],J,K);return L;}else{var M=b['ColorUtils']['convert'](I,'RGBCOMP');if(M){J=J['toString']();J=(J['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(J['replace'](/[^0-9\.\-]/g,''));J=isNaN(J)||J>0x1?0x1:J<0x0?0x0:J;M[0x3]=J;K=(K||b['ColorUtils']['getType'](I))['toUpperCase']();K=K=='RGB'||K=='HSL'||K=='HEX'?K+'A':K;return b['ColorUtils']['convert'](M,K);}}return null;};b['ColorUtils']['getAlpha']=function(I){var J=b['ColorUtils']['convert'](I,'RGBCOMP');if(J){if(J['length']==0x3)return 0x1;else if(J['length']==0x4){let K=J[0x3]['toString']();K=(K['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(K['replace'](/[^0-9\.\-]/g,''));return isNaN(K)||K>0x1?0x1:K<0x0?0x0:K;}}return null;};b['ColorUtils']['change']=function(I,J,K){J=parseFloat(J);if(I!=null&&typeof J=='number'&&!isNaN(J)){if(b['ObjectUtils']['is'](I)){var L={};for(let N in I)L[N]=b['ColorUtils']['change'](I[N],J,K);return L;}else{var M=b['ColorUtils']['convert'](I,'RGBCOMP');if(M){if(parseInt(J)!==J){J=J['toString']();J=(J['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(J['replace'](/[^0-9\.\-]/g,''));J=isNaN(J)?0x0:J;return b['ColorUtils']['convert']([Math['round'](M[0x0]*(0x1+J)),Math['round'](M[0x1]*(0x1+J)),Math['round'](M[0x2]*(0x1+J))],K||b['ColorUtils']['getType'](I));}else return b['ColorUtils']['convert']([Math['round'](M[0x0]+J),Math['round'](M[0x1]+J),Math['round'](M[0x2]+J)],K||b['ColorUtils']['getType'](I));}}}return null;};b['ColorUtils']['invert']=function(I,J){if(b['ObjectUtils']['is'](I)){var K={};for(let M in I)K[M]=b['ColorUtils']['invert'](I[M],J);return K;}else{var L=b['ColorUtils']['convert'](I,'RGBCOMP');if(L)return b['ColorUtils']['convert']([0xff-L[0x0],0xff-L[0x1],0xff-L[0x2]],J||b['ColorUtils']['getType'](I));}return null;};b['ColorUtils']['compare']=function(I,J){if(I&&J){I=b['ColorUtils']['convert'](I,'RGBA');J=b['ColorUtils']['convert'](J,'RGBA');if(I&&J)return b['equals'](I,J);}return null;};b['ColorUtils']['isBright']=function(I,J=0xa0){I=b['ColorUtils']['convert'](I,'RGBCOMP');if(!I)return![];return parseInt(J)