diff --git a/Plugins/BDFDB.js b/Plugins/BDFDB.js
index 9e7d679b36..687feac00b 100644
--- a/Plugins/BDFDB.js
+++ b/Plugins/BDFDB.js
@@ -1786,7 +1786,7 @@
function getChild (children) {
let result = null;
- if (!children || depth >= maxDepth && performance.now() - start >= maxTime) return result;
+ if (!children || depth >= maxDepth || performance.now() - start >= maxTime) return result;
if (!BDFDB.ArrayUtils.is(children)) {
if (check(children)) {
if (config.all === undefined || !config.all) result = children;
@@ -1820,6 +1820,7 @@
result = getChild(child.props.children);
depth--;
}
+ if (result) break;
}
}
return result;
@@ -1827,7 +1828,7 @@
function check (instance) {
if (!instance) return false;
let props = instance.stateNode ? instance.stateNode.props : instance.props;
- return instance.type && config.name && config.name.some(name => InternalBDFDB.isInstanceCorrect(instance, name)) || config.key && config.key.some(key => instance.key == key) || props && config.props && config.props[config.someProps ? "some" : "every"](prop => BDFDB.ArrayUtils.is(prop) ? (BDFDB.ArrayUtils.is(prop[1]) ? prop[1].some(checkvalue => propCheck(props, prop[0], checkvalue)) : propCheck(props, prop[0], prop[1])) : props[prop] !== undefined) || config.filter && config.filter(instance);
+ return instance.type && config.name && config.name.some(name => InternalBDFDB.isInstanceCorrect(instance, name)) || config.key && config.key.some(key => instance.key == key) || props && config.props && config.props[config.someProps ? "some" : "every"](prop => BDFDB.ArrayUtils.is(prop) ? (BDFDB.ArrayUtils.is(prop[1]) ? prop[1].some(checkValue => propCheck(props, prop[0], checkValue)) : propCheck(props, prop[0], prop[1])) : props[prop] !== undefined) || config.filter && config.filter(instance);
}
function propCheck (props, key, value) {
return key != null && props[key] != null && value != null && (key == "className" ? (" " + props[key] + " ").indexOf(" " + value + " ") > -1 : BDFDB.equals(props[key], value));
@@ -1951,7 +1952,7 @@
let result = undefined;
if (instance && !Node.prototype.isPrototypeOf(instance) && !BDFDB.ReactUtils.getInstance(instance) && depth < maxDepth && performance.now() - start < maxTime) {
let props = instance.stateNode ? instance.stateNode.props : instance.props;
- if (instance.stateNode && !Node.prototype.isPrototypeOf(instance.stateNode) && (instance.type && config.name && config.name.some(name => InternalBDFDB.isInstanceCorrect(instance, name.split(" _ _ ")[0])) || instance.type && config.type && config.type.some(type => BDFDB.ArrayUtils.is(type) ? instance.type === type[1] : instance.type === type) || instance.key && config.key && config.key.some(key => instance.key == key) || props && config.props && config.props.every(prop => BDFDB.ArrayUtils.is(prop) ? (BDFDB.ArrayUtils.is(prop[1]) ? prop[1].some(checkvalue => BDFDB.equals(props[prop[0]], checkvalue)) : BDFDB.equals(props[prop[0]], prop[1])) : props[prop] !== undefined))) {
+ if (instance.stateNode && !Node.prototype.isPrototypeOf(instance.stateNode) && (instance.type && config.name && config.name.some(name => InternalBDFDB.isInstanceCorrect(instance, name.split(" _ _ ")[0])) || instance.type && config.type && config.type.some(type => BDFDB.ArrayUtils.is(type) ? instance.type === type[1] : instance.type === type) || instance.key && config.key && config.key.some(key => instance.key == key) || props && config.props && config.props.every(prop => BDFDB.ArrayUtils.is(prop) ? (BDFDB.ArrayUtils.is(prop[1]) ? prop[1].some(checkValue => BDFDB.equals(props[prop[0]], checkValue)) : BDFDB.equals(props[prop[0]], prop[1])) : props[prop] !== undefined))) {
if (config.all === undefined || !config.all) result = instance.stateNode;
else if (config.all) {
if (!instance.stateNode.BDFDBreactSearch) {
@@ -2041,7 +2042,7 @@
function check (instance) {
if (!instance) return false;
let props = instance.stateNode ? instance.stateNode.props : instance.props;
- return instance.type && config.name && config.name.some(name => InternalBDFDB.isInstanceCorrect(instance, name)) || config.key && config.key.some(key => instance.key == key) || props && config.props && config.props[config.someProps ? "some" : "every"](prop => BDFDB.ArrayUtils.is(prop) ? (BDFDB.ArrayUtils.is(prop[1]) ? prop[1].some(checkvalue => propCheck(props, prop[0], checkvalue)) : propCheck(props, prop[0], prop[1])) : props[prop] !== undefined) || config.filter && config.filter(instance);
+ return instance.type && config.name && config.name.some(name => InternalBDFDB.isInstanceCorrect(instance, name)) || config.key && config.key.some(key => instance.key == key) || props && config.props && config.props[config.someProps ? "some" : "every"](prop => BDFDB.ArrayUtils.is(prop) ? (BDFDB.ArrayUtils.is(prop[1]) ? prop[1].some(checkValue => propCheck(props, prop[0], checkValue)) : propCheck(props, prop[0], prop[1])) : props[prop] !== undefined) || config.filter && config.filter(instance);
}
function propCheck (props, key, value) {
return key != null && props[key] != null && value != null && (key == "className" ? (" " + props[key] + " ").indexOf(" " + value + " ") > -1 : BDFDB.equals(props[key], value));
diff --git a/Plugins/BDFDB.min.js b/Plugins/BDFDB.min.js
index 3f55b00d73..cb35d4ede0 100644
--- a/Plugins/BDFDB.min.js
+++ b/Plugins/BDFDB.min.js
@@ -1 +1 @@
-(a=>{if(window['BDFDB']&&window['BDFDB']['ListenerUtils']&&typeof window['BDFDB']['ListenerUtils']['remove']=='function')window['BDFDB']['ListenerUtils']['remove'](window['BDFDB']);if(window['BDFDB']&&window['BDFDB']['StoreChangeUtils']&&typeof window['BDFDB']['StoreChangeUtils']['remove']=='function')window['BDFDB']['StoreChangeUtils']['remove'](window['BDFDB']);if(window['BDFDB']&&window['BDFDB']['ObserverUtils']&&typeof window['BDFDB']['ObserverUtils']['disconnect']=='function')window['BDFDB']['ObserverUtils']['disconnect'](window['BDFDB']);if(window['BDFDB']&&window['BDFDB']['ModuleUtils']&&typeof window['BDFDB']['ModuleUtils']['unpatch']=='function')window['BDFDB']['ModuleUtils']['unpatch'](window['BDFDB']);if(window['BDFDB']&&window['BDFDB']['WindowUtils']&&typeof window['BDFDB']['WindowUtils']['closeAll']=='function')window['BDFDB']['WindowUtils']['closeAll'](window['BDFDB']);if(window['BDFDB']&&window['BDFDB']['WindowUtils']&&typeof window['BDFDB']['WindowUtils']['removeListener']=='function')window['BDFDB']['WindowUtils']['removeListener'](window['BDFDB']);const b={'myPlugins':Object['assign']({},window['BDFDB']&&window['BDFDB']['myPlugins']),'InternalData':Object['assign']({'pressedKeys':[],'mousePosition':{'pageX':0x0,'pageY':0x0},'componentPatchQueries':{}},window['BDFDB']&&window['BDFDB']['InternalData'],{'creationTime':performance['now']()}),'name':'BDFDB'};const c={'name':'BDFDB','started':!![],'patchPriority':0x0};const d=Math['round'](Math['random']()*0x2386f26fc10000),e='278543574059057154',f='410787888507256842';b['InternalData']['loadId']=d;if(typeof Array['prototype']['flat']!='function')Array['prototype']['flat']=function(){return this;};c['defaults']={'settings':{'showToasts':{'value':!![],'description':'Show\x20Plugin\x20start\x20and\x20stop\x20Toasts'},'showSupportBadges':{'value':!![],'description':'Show\x20little\x20Badges\x20for\x20Users\x20who\x20support\x20my\x20Patreon'}}};b['LogUtils']={};b['LogUtils']['log']=function(E,F){console['log']('%c['+(typeof F=='string'&&F||'BDFDB')+']','color:\x20#3a71c1;\x20font-weight:\x20700;',(typeof E=='string'&&E||'')['trim']());};b['LogUtils']['warn']=function(E,F){console['warn']('%c['+(typeof F=='string'&&F||'BDFDB')+']','color:\x20#3a71c1;\x20font-weight:\x20700;',(typeof E=='string'&&E||'')['trim']());};b['LogUtils']['error']=function(E,F){console['error']('%c['+(typeof F=='string'&&F||'BDFDB')+']','color:\x20#3a71c1;\x20font-weight:\x20700;','Fatal\x20Error:\x20'+(typeof E=='string'&&E||'')['trim']());};b['LogUtils']['log']('Loading\x20library.');b['PluginUtils']={};b['PluginUtils']['init']=b['loadMessage']=function(E){E['name']=E['name']||(typeof E['getName']=='function'?E['getName']():null);E['version']=E['version']||(typeof E['getVersion']=='function'?E['getVersion']():null);E['author']=E['author']||(typeof E['getAuthor']=='function'?E['getAuthor']():null);E['description']=E['description']||(typeof E['getDescription']=='function'?E['getDescription']():null);if(typeof E['getSettingsPanel']!='function')E['getSettingsPanel']=I=>{return E['started']&&b['PluginUtils']['createSettingsPanel'](E,[]);};let F=b['LanguageUtils']['LibraryStringsFormat']('toast_plugin_started','v'+E['version']);b['LogUtils']['log'](F,E['name']);if(!b['BDUtils']['getSettings']('fork-ps-2')&&b['DataUtils']['get'](b,'settings','showToasts'))b['NotificationUtils']['toast'](E['name']+'\x20'+F,{'nopointer':!![],'selector':'plugin-started-toast'});let G=typeof E['getRawUrl']=='function'&&typeof E['getRawUrl']()=='string'?E['getRawUrl']():'https://mwittrien.github.io/BetterDiscordAddons/Plugins/'+E['name']+'/'+E['name']+'.plugin.js';b['PluginUtils']['checkUpdate'](E['name'],G);if(typeof E['initConstructor']==='function')b['TimeUtils']['suppress'](E['initConstructor']['bind'](E),'Could\x20not\x20initiate\x20constructor!',E['name'])();if(typeof E['css']==='string')b['DOMUtils']['appendLocalStyle'](E['name'],E['css']);c['patchPlugin'](E);c['addSpecialListeners'](E);b['PluginUtils']['translate'](E);b['PluginUtils']['checkChangeLog'](E);if(!window['PluginUpdates']||typeof window['PluginUpdates']!=='object')window['PluginUpdates']={'plugins':{}};window['PluginUpdates']['plugins'][G]={'name':E['name'],'raw':G,'version':E['version']};if(typeof window['PluginUpdates']['interval']==='undefined')window['PluginUpdates']['interval']=b['TimeUtils']['interval'](I=>{b['PluginUtils']['checkAllUpdates']();},0x3e8*0x3c*0x3c*0x2);E['started']=!![];delete E['stopping'];let H=0x1;for(let I in b['myPlugins'])if(!b['myPlugins'][I]['started']&&typeof b['myPlugins'][I]['initialize']=='function')setTimeout(J=>{b['TimeUtils']['suppress'](b['myPlugins'][I]['initialize']['bind'](b['myPlugins'][I]),'Could\x20not\x20initiate\x20plugin!',I)();},0x64*H++);};b['PluginUtils']['clear']=b['unloadMessage']=function(E){c['clearStartTimeout'](E);delete b['myPlugins'][E['name']];let F=b['LanguageUtils']['LibraryStringsFormat']('toast_plugin_stopped','v'+E['version']);b['LogUtils']['log'](F,E['name']);if(!b['BDUtils']['getSettings']('fork-ps-2')&&b['DataUtils']['get'](b,'settings','showToasts'))b['NotificationUtils']['toast'](E['name']+'\x20'+F,{'nopointer':!![],'selector':'plugin-stopped-toast'});let G=typeof E['getRawUrl']=='function'&&typeof E['getRawUrl']()=='string'?E['getRawUrl']():'https://mwittrien.github.io/BetterDiscordAddons/Plugins/'+E['name']+'/'+E['name']+'.plugin.js';if(typeof E['css']==='string')b['DOMUtils']['removeLocalStyle'](E['name']);b['ModuleUtils']['unpatch'](E);b['ListenerUtils']['remove'](E);b['StoreChangeUtils']['remove'](E);b['ObserverUtils']['disconnect'](E);b['WindowUtils']['closeAll'](E);b['WindowUtils']['removeListener'](E);for(let H in b['InternalData']['componentPatchQueries'])b['ArrayUtils']['remove'](b['InternalData']['componentPatchQueries'][H]['query'],E,!![]);for(let I of document['querySelectorAll']('.'+E['name']+'-modal,\x20.'+E['name']['toLowerCase']()+'-modal,\x20.'+E['name']+'-settingsmodal,\x20.'+E['name']['toLowerCase']()+'-settingsmodal')){let J=I['querySelector'](b['dotCN']['modalclose']);if(J)J['click']();}delete b['DataUtils']['cached'][E['name']];delete window['PluginUpdates']['plugins'][G];delete E['started'];b['TimeUtils']['timeout'](K=>{delete E['stopping'];});};b['PluginUtils']['translate']=function(E){E['labels']={};if(typeof E['setLabelsByLanguage']==='function'||typeof E['changeLanguageStrings']==='function'){if(m['LanguageStore']['chosenLocale'])F();else b['TimeUtils']['interval'](G=>{if(m['LanguageStore']['chosenLocale']){b['TimeUtils']['clear'](G);F();}},0x64);function F(){let G=b['LanguageUtils']['getLanguage']();if(typeof E['setLabelsByLanguage']==='function')E['labels']=E['setLabelsByLanguage'](G['id']);if(typeof E['changeLanguageStrings']==='function')E['changeLanguageStrings']();b['LogUtils']['log'](b['LanguageUtils']['LibraryStringsFormat']('toast_plugin_translated',G['ownlang']),E['name']);}}};b['PluginUtils']['checkUpdate']=function(E,F){if(E&&F)return new Promise(G=>{l['request'](F,(H,I,J)=>{if(H)return G(null);let K=J['match'](/['"][0-9]+\.[0-9]+\.[0-9]+['"]/i);if(!K)return G(null);if(b['NumberUtils']['getVersionDifference'](K[0x0],window['PluginUpdates']['plugins'][F]['version'])>0.2){b['NotificationUtils']['toast'](E+'\x20will\x20be\x20force\x20updated,\x20because\x20your\x20version\x20is\x20heavily\x20outdated.',{'type':'warn','nopointer':!![],'selector':'plugin-forceupdate-toast'});b['PluginUtils']['downloadUpdate'](E,F);return G(0x2);}else if(b['NumberUtils']['compareVersions'](K[0x0],window['PluginUpdates']['plugins'][F]['version'])){b['PluginUtils']['showUpdateNotice'](E,F);return G(0x1);}else{b['PluginUtils']['removeUpdateNotice'](E);return G(0x0);}});});return new Promise(G=>{callback(null);});};b['PluginUtils']['checkAllUpdates']=function(){return new Promise(E=>{let F=0x0,G=0x0;for(let H in window['PluginUpdates']['plugins']){let I=window['PluginUpdates']['plugins'][H];if(I)b['PluginUtils']['checkUpdate'](I['name'],I['raw'])['then'](J=>{F++;if(J==0x1)G++;if(F>=Object['keys'](window['PluginUpdates']['plugins'])['length'])E(G);});}});};b['PluginUtils']['showUpdateNotice']=function(E,F){if(!E||!F)return;let G=document['querySelector']('#pluginNotice');if(!G){G=b['NotificationUtils']['notice']('The\x20following\x20plugins\x20need\x20to\x20be\x20updated: ',{'html':!![],'id':'pluginNotice','type':'info','btn':!b['BDUtils']['isAutoLoadEnabled']()?'Reload':'','customicon':''});G['style']['setProperty']('display','block','important');G['style']['setProperty']('visibility','visible','important');G['style']['setProperty']('opacity','1','important');G['querySelector'](b['dotCN']['noticedismiss'])['addEventListener']('click',I=>{b['DOMUtils']['remove']('.update-clickme-tooltip');});let H=G['querySelector'](b['dotCN']['noticebutton']);if(H){b['DOMUtils']['toggle'](H,!![]);H['addEventListener']('click',I=>{l['electron']['remote']['getCurrentWindow']()['reload']();});H['addEventListener']('mouseenter',I=>{if(window['PluginUpdates']['downloaded'])b['TooltipUtils']['create'](H,window['PluginUpdates']['downloaded']['join'](',\x20'),{'type':'bottom','selector':'update-notice-tooltip','style':'max-width:\x20420px'});});}}if(G){let I=G['querySelector']('#outdatedPlugins');if(I&&!I['querySelector']('#'+E+'-notice')){if(I['querySelector']('span'))I['appendChild'](b['DOMUtils']['create'](',\x20'));let J=b['DOMUtils']['create'](''+E+'');J['addEventListener']('click',K=>{b['PluginUtils']['downloadUpdate'](E,F);});I['appendChild'](J);if(!document['querySelector']('.update-clickme-tooltip'))b['TooltipUtils']['create'](I,'Click\x20us!',{'type':'bottom','selector':'update-clickme-tooltip','delay':0x1f4});}}};b['PluginUtils']['removeUpdateNotice']=function(E,F=document['querySelector']('#pluginNotice')){if(!E||!F)return;let G=F['querySelector']('#outdatedPlugins');if(G){let H=G['querySelector']('#'+E+'-notice');if(H){let I=H['nextSibling'];let J=H['prevSibling'];if(I&&b['DOMUtils']['containsClass'](I,'separator'))I['remove']();else if(J&&b['DOMUtils']['containsClass'](J,'separator'))J['remove']();H['remove']();}if(!G['querySelector']('span')){let K=F['querySelector'](b['dotCN']['noticebutton']);if(K){F['querySelector']('.notice-message')['innerText']='To\x20finish\x20updating\x20you\x20need\x20to\x20reload.';b['DOMUtils']['toggle'](K,![]);}else F['querySelector'](b['dotCN']['noticedismiss'])['click']();}}};b['PluginUtils']['downloadUpdate']=function(E,F){if(!E||!F)return;l['request'](F,(G,H,I)=>{if(G)return b['LogUtils']['warn']('Unable\x20to\x20get\x20update\x20for\x20'+E);b['InternalData']['creationTime']=0x0;let J=b['BDUtils']['isPluginEnabled'](E);let K=I['match'](/"name"\s*:\s*"([^"]+)"/)[0x1];let L=I['match'](/['"][0-9]+\.[0-9]+\.[0-9]+['"]/i)['toString']()['replace'](/['"]/g,'');let M=window['PluginUpdates']['plugins'][F]['version'];l['fs']['writeFile'](l['path']['join'](b['BDUtils']['getPluginsFolder'](),K+'.plugin.js'),I,N=>{if(E!=K){F=F['replace'](new RegExp(E,'g'),K);l['fs']['unlink'](l['path']['join'](b['BDUtils']['getPluginsFolder'](),E+'.plugin.js'),P=>{});b['TimeUtils']['timeout'](P=>{if(J&&!b['BDUtils']['isPluginEnabled'](K))b['BDUtils']['enablePlugin'](K);},0xbb8);}b['NotificationUtils']['toast'](E+'\x20v'+M+'\x20has\x20been\x20replaced\x20by\x20'+K+'\x20v'+L+'.',{'nopointer':!![],'selector':'plugin-updated-toast'});let O=document['querySelector']('#pluginNotice');if(O){if(O['querySelector'](b['dotCN']['noticebutton'])){window['PluginUpdates']['plugins'][F]['version']=L;if(!window['PluginUpdates']['downloaded'])window['PluginUpdates']['downloaded']=[];if(!window['PluginUpdates']['downloaded']['includes'](E))window['PluginUpdates']['downloaded']['push'](E);}b['PluginUtils']['removeUpdateNotice'](E,O);}});});};b['PluginUtils']['checkChangeLog']=function(E){if(!b['ObjectUtils']['is'](E)||!E['changelog'])return;let F=b['DataUtils']['load'](E,'changelog');if(!F['currentversion']||b['NumberUtils']['compareVersions'](E['version'],F['currentversion'])){F['currentversion']=E['version'];b['DataUtils']['save'](F,E,'changelog');b['PluginUtils']['openChangeLog'](E);}};b['PluginUtils']['openChangeLog']=function(E){if(!b['ObjectUtils']['is'](E)||!E['changelog'])return;let F='',G={'added':'New\x20Features','fixed':'Bug\x20Fixes','improved':'Improvements','progress':'Progress'};for(let H in E['changelog']){H=H['toLowerCase']();let I=b['disCN']['changelog'+H];if(I){F+='
'+G[H]+'
';for(let J of E['changelog'][H])F+='- '+J[0x0]+''+(J[0x1]?':\x20'+J[0x1]+'.':'')+'
';F+='
';}}if(F)b['ModalUtils']['open'](E,{'header':E['name']+'\x20'+b['LanguageUtils']['LanguageStrings']['CHANGE_LOG'],'subheader':'Version\x20'+E['version'],'children':b['ReactUtils']['elementToReact'](b['DOMUtils']['create'](F)),'className':b['disCN']['modalchangelogmodal'],'contentClassName':b['disCNS']['changelogcontainer']+b['disCN']['modalminicontent']});};b['PluginUtils']['addLoadingIcon']=function(E){if(!Node['prototype']['isPrototypeOf'](E))return;let F=document['querySelector'](b['dotCN']['app']);if(!F)return;b['DOMUtils']['addClass'](E,b['disCN']['loadingicon']);let G=document['querySelector'](b['dotCN']['app']+'>'+b['dotCN']['loadingiconwrapper']);if(!G){G=b['DOMUtils']['create']('');F['appendChild'](G);let H=new MutationObserver(I=>{if(!G['firstElementChild'])b['DOMUtils']['remove'](G);});H['observe'](G,{'childList':!![]});}G['appendChild'](E);};b['PluginUtils']['createSettingsPanel']=function(E,F){if(!b['ObjectUtils']['is'](E)||!F||!b['ReactUtils']['isValidElement'](F)&&!b['ArrayUtils']['is'](F))return;let G=b['DOMUtils']['create']('');b['ReactUtils']['render'](b['ReactUtils']['createElement'](u['LibraryComponents']['SettingsPanel'],{'key':E['name']+'-settingsPanel','title':E['name'],'controls':[E['changelog']&&b['ReactUtils']['createElement'](u['LibraryComponents']['Clickable'],{'className':b['disCN']['settingspanelheaderbutton'],'children':b['ReactUtils']['createElement'](u['LibraryComponents']['TooltipContainer'],{'text':b['LanguageUtils']['LanguageStrings']['CHANGE_LOG'],'children':b['ReactUtils']['createElement'](u['LibraryComponents']['SvgIcon'],{'name':u['LibraryComponents']['SvgIcon']['Names']['CHANGELOG'],'onClick':H=>{b['PluginUtils']['openChangeLog'](E);}})})}),E!=b&&b['ReactUtils']['createElement'](u['LibraryComponents']['Button'],{'size':u['LibraryComponents']['Button']['Sizes']['MIN'],'children':'Library\x20Settings','onClick':H=>{let I=b['DOMUtils']['getParent'](b['dotCN']['_repocard'],H['currentTarget']);if(I){let J=c['createLibrarySettings']();if(J){let K=[];while(I['childElementCount']){K['push'](I['firstChild']);I['firstChild']['remove']();}let L=b['DOMUtils']['create']('');I['appendChild'](L);L['addEventListener']('click',M=>{while(I['childElementCount'])I['firstChild']['remove']();while(K['length'])I['appendChild'](K['shift']());let N=I['querySelector'](b['dotCN']['_reposettings']);if(N){while(N['childElementCount'])N['firstChild']['remove']();N['appendChild'](E['getSettingsPanel']());}});I['appendChild'](J);}}}})],'children':F}),G);return G;};b['PluginUtils']['refreshSettingsPanel']=function(E,F,...G){if(!b['ObjectUtils']['is'](E)||typeof E['getSettingsPanel']!='function'||!Node['prototype']['isPrototypeOf'](F)||!F['parentElement'])return;F['parentElement']['appendChild'](E['getSettingsPanel'](...G));F['remove']();};c['createLibrarySettings']=function(){if(!window['BDFDB']||typeof b!='object'||!b['loaded'])return;let E=b['DataUtils']['get'](b,'settings');let F,G=[];let H=b['BDUtils']['getSettings']('fork-ps-2');for(let I in E)G['push'](b['ReactUtils']['createElement'](u['LibraryComponents']['SettingsSaveItem'],{'className':b['disCN']['marginbottom8'],'type':'Switch','plugin':b,'disabled':I=='showToasts'&&H,'keys':['settings',I],'label':c['defaults']['settings'][I]['description'],'note':I=='showToasts'&&H&&'Disable\x20BBDs\x20general\x20\x27Show\x20Toast\x27\x20setting\x20before\x20disabling\x20this','dividerbottom':!![],'value':E[I]||I=='showToasts'&&H}));return F=b['PluginUtils']['createSettingsPanel'](b,G);};c['clearStartTimeout']=function(E){if(!b['ObjectUtils']['is'](E))return;b['TimeUtils']['clear'](E['startTimeout'],E['libLoadTimeout']);delete E['startTimeout'];delete E['libLoadTimeout'];};c['addSpecialListeners']=function(E){if(b['ObjectUtils']['is'](E)){if(typeof E['onSettingsClosed']==='function'){let F=b['ModuleUtils']['findByName']('StandardSidebarView');if(F)b['ModuleUtils']['patch'](E,F['prototype'],'componentWillUnmount',{'after':G=>{E['onSettingsClosed']();}});}if(typeof E['onSwitch']==='function'){let G=document['querySelector'](b['dotCN']['guildswrapper']+'\x20~\x20*\x20>\x20'+b['dotCN']['chatspacer']);if(G){let H=new MutationObserver(J=>{J['forEach'](K=>{if(K['target']&&b['DOMUtils']['containsClass'](K['target'],b['disCN']['nochannel']))E['onSwitch']();});});b['ObserverUtils']['connect'](E,G['querySelector'](b['dotCNC']['chat']+b['dotCN']['nochannel']),{'name':'switchFixNoChannelObserver','instance':H},{'attributes':!![]});let I=new MutationObserver(J=>{J['forEach'](K=>{if(K['addedNodes']){K['addedNodes']['forEach'](L=>{if(b['DOMUtils']['containsClass'](L,b['disCN']['chat'],b['disCN']['nochannel'],![])){b['ObserverUtils']['connect'](E,L,{'name':'switchFixNoChannelObserver','instance':H},{'attributes':!![]});}});}});});b['ObserverUtils']['connect'](E,G,{'name':'switchFixSpacerObserver','instance':I},{'childList':!![]});}}c['addContextListeners'](E);}};b['ObserverUtils']={};b['ObserverUtils']['connect']=function(E,F,G,H={'childList':!![]}){E=E==b&&c||E;if(!b['ObjectUtils']['is'](E)||!F||!G)return;if(b['ObjectUtils']['isEmpty'](E['observers']))E['observers']={};if(!b['ArrayUtils']['is'](E['observers'][G['name']]))E['observers'][G['name']]=[];if(!G['multi'])for(let J of E['observers'][G['name']])J['disconnect']();if(G['instance'])E['observers'][G['name']]['push'](G['instance']);let I=E['observers'][G['name']][E['observers'][G['name']]['length']-0x1];if(I){let K=Node['prototype']['isPrototypeOf'](F)?F:typeof F==='string'?document['querySelector'](F):null;if(K)I['observe'](K,H);}};b['ObserverUtils']['disconnect']=function(E,F){E=E==b&&c||E;if(b['ObjectUtils']['is'](E)&&!b['ObjectUtils']['isEmpty'](E['observers'])){let G=typeof F=='string'?F:b['ObjectUtils']['is'](F)?F['name']:null;if(!G){for(let H in E['observers'])for(let I of E['observers'][H])I['disconnect']();delete E['observers'];}else if(!b['ArrayUtils']['is'](E['observers'][G])){for(let J of E['observers'][G])J['disconnect']();delete E['observers'][G];}}};b['StoreChangeUtils']={};b['StoreChangeUtils']['add']=function(E,F,G){E=E==b&&c||E;if(!b['ObjectUtils']['is'](E)||!b['ObjectUtils']['is'](F)||typeof F['addChangeListener']!='function'||typeof G!='function')return;b['ListenerUtils']['remove'](E,F,G);if(!b['ArrayUtils']['is'](E['changeListeners']))E['changeListeners']=[];E['changeListeners']['push']({'store':F,'callback':G});F['addChangeListener'](G);};b['StoreChangeUtils']['remove']=function(E,F,G){E=E==b&&c||E;if(!b['ObjectUtils']['is'](E)||!b['ArrayUtils']['is'](E['changeListeners']))return;if(!F){while(E['changeListeners']['length']){let H=E['changeListeners']['pop']();H['store']['removeChangeListener'](H['callback']);}}else if(b['ObjectUtils']['is'](F)&&typeof F['addChangeListener']=='function'){if(!G){for(let I of E['changeListeners']){let J=[];if(I['store']==F){I['store']['removeChangeListener'](I['callback']);J['push'](I);}if(J['length'])E['changeListeners']=E['changeListeners']['filter'](K=>!J['includes'](K));}}else if(typeof G=='function'){F['removeChangeListener'](G);E['changeListeners']=E['changeListeners']['filter'](K=>K['store']==F&&K['callback']==G);}}};b['ListenerUtils']={};b['ListenerUtils']['add']=function(E,F,G,H,I){E=E==b&&c||E;if(!b['ObjectUtils']['is'](E)||!Node['prototype']['isPrototypeOf'](F)&&F!==window||!G)return;let J=typeof H=='function';let K=J?undefined:H;let L=J?H:I;if(typeof L!='function')return;b['ListenerUtils']['remove'](E,F,G,K);for(let M of G['split']('\x20')){M=M['split']('.');let N=M['shift']()['toLowerCase']();if(!N)return;let O=N;N=N=='mouseenter'||N=='mouseleave'?'mouseover':N;let P=(M['join']('.')||'')+E['name'];if(!b['ArrayUtils']['is'](E['eventListeners']))E['eventListeners']=[];let Q=null;if(K){if(O=='mouseenter'||O=='mouseleave'){Q=R=>{for(let S of R['path'])if(typeof S['matches']=='function'&&S['matches'](K)&&!S[P+'BDFDB'+O]){S[P+'BDFDB'+O]=!![];if(O=='mouseenter')L(b['ListenerUtils']['copyEvent'](R,S));let T=U=>{if(U['target']['contains'](S)||U['target']==S||!S['contains'](U['target'])){if(O=='mouseleave')L(b['ListenerUtils']['copyEvent'](R,S));delete S[P+'BDFDB'+O];document['removeEventListener']('mouseout',T);}};document['addEventListener']('mouseout',T);break;}};}else{Q=R=>{for(let S of R['path'])if(typeof S['matches']=='function'&&S['matches'](K)){L(b['ListenerUtils']['copyEvent'](R,S));break;}};}}else Q=R=>{L(b['ListenerUtils']['copyEvent'](R,F));};E['eventListeners']['push']({'ele':F,'eventName':N,'origEventName':O,'namespace':P,'selector':K,'eventCallback':Q});F['addEventListener'](N,Q,!![]);}};b['ListenerUtils']['remove']=function(E,F,G='',H){E=E==b&&c||E;if(!b['ObjectUtils']['is'](E)||!b['ArrayUtils']['is'](E['eventListeners']))return;if(!F){while(E['eventListeners']['length']){let I=E['eventListeners']['pop']();I['ele']['removeEventListener'](I['eventName'],I['eventCallback'],!![]);}}else if(Node['prototype']['isPrototypeOf'](F)||F===window){for(let J of G['split']('\x20')){J=J['split']('.');let K=J['shift']()['toLowerCase']();let L=(J['join']('.')||'')+E['name'];for(let M of E['eventListeners']){let N=[];if(M['ele']==F&&(!K||M['origEventName']==K)&&M['namespace']==L&&(H===undefined||M['selector']==H)){M['ele']['removeEventListener'](M['eventName'],M['eventCallback'],!![]);N['push'](M);}if(N['length'])E['eventListeners']=E['eventListeners']['filter'](O=>!N['includes'](O));}}}};b['ListenerUtils']['multiAdd']=function(E,F,G){if(!Node['prototype']['isPrototypeOf'](E)||!F||typeof G!='function')return;for(let H of F['trim']()['split']('\x20')['filter'](I=>I))E['addEventListener'](H,G,!![]);};b['ListenerUtils']['multiRemove']=function(E,F,G){if(!Node['prototype']['isPrototypeOf'](E)||!F||typeof G!='function')return;for(let H of F['trim']()['split']('\x20')['filter'](I=>I))E['removeEventListener'](H,G,!![]);};b['ListenerUtils']['addToChildren']=function(E,F,G,H){if(!Node['prototype']['isPrototypeOf'](E)||!F||!G||!G['trim']()||typeof H!='function')return;for(let I of F['trim']()['split']('\x20')['filter'](J=>J)){let J=H;if(I=='mouseenter'||I=='mouseleave')J=K=>{if(K['target']['matches'](G))H(K);};E['querySelectorAll'](G['trim']())['forEach'](K=>{K['addEventListener'](I,J,!![]);});}};b['ListenerUtils']['copyEvent']=function(E,F){if(!E||!E['constructor']||!E['type'])return E;let G=new E['constructor'](E['type'],E);Object['defineProperty'](G,'originalEvent',{'value':E});Object['defineProperty'](G,'which',{'value':E['which']});Object['defineProperty'](G,'keyCode',{'value':E['keyCode']});Object['defineProperty'](G,'path',{'value':E['path']});Object['defineProperty'](G,'relatedTarget',{'value':E['relatedTarget']});Object['defineProperty'](G,'srcElement',{'value':E['srcElement']});Object['defineProperty'](G,'target',{'value':E['target']});Object['defineProperty'](G,'toElement',{'value':E['toElement']});if(F)Object['defineProperty'](G,'currentTarget',{'value':F});return G;};b['ListenerUtils']['stopEvent']=function(E){if(b['ObjectUtils']['is'](E)){if(typeof E['preventDefault']=='function')E['preventDefault']();if(typeof E['stopPropagation']=='function')E['stopPropagation']();if(typeof E['stopImmediatePropagation']=='function')E['stopImmediatePropagation']();if(b['ObjectUtils']['is'](E['originalEvent'])){if(typeof E['originalEvent']['preventDefault']=='function')E['originalEvent']['preventDefault']();if(typeof E['originalEvent']['stopPropagation']=='function')E['originalEvent']['stopPropagation']();if(typeof E['originalEvent']['stopImmediatePropagation']=='function')E['originalEvent']['stopImmediatePropagation']();}}};var g=[],h={'queue':[],'running':![]};b['NotificationUtils']={};b['NotificationUtils']['toast']=function(E,F={}){let G=document['querySelector']('.toasts,\x20.bd-toasts');if(!G){let I=document['querySelector'](b['dotCN']['channels']+'\x20+\x20div');let J=I?b['DOMUtils']['getRects'](I):null;let K=I?I['querySelector'](b['dotCN']['memberswrap']):null;let L=J?J['left']:0x136;let M=J?K?J['width']-b['DOMUtils']['getRects'](K)['width']:J['width']:window['outerWidth']-0x0;let N=I?I['querySelector']('form'):null;let O=N?b['DOMUtils']['getRects'](N)['height']:0x50;G=b['DOMUtils']['create']('');(document['querySelector'](b['dotCN']['app'])||document['body'])['appendChild'](G);}const {type='',icon=!![],timeout=0xbb8,html=![],selector='',nopointer=![],color=''}=F;let H=b['DOMUtils']['create'](''+(html===!![]?E:b['StringUtils']['htmlEscape'](E))+'
');if(type){b['DOMUtils']['addClass'](H,'toast-'+type);if(icon)b['DOMUtils']['addClass'](H,'icon');}else if(color){let P=b['ColorUtils']['convert'](color,'RGB');if(P)H['style']['setProperty']('background-color',P);}b['DOMUtils']['addClass'](H,selector);G['appendChild'](H);H['close']=Q=>{if(document['contains'](H)){b['DOMUtils']['addClass'](H,'closing');H['style']['setProperty']('pointer-events','none','important');b['TimeUtils']['timeout'](R=>{H['remove']();if(!G['querySelectorAll']('.toast,\x20.bd-toast')['length'])G['remove']();},0xbb8);}};if(nopointer)H['style']['setProperty']('pointer-events','none','important');else H['addEventListener']('click',H['close']);b['TimeUtils']['timeout'](Q=>{H['close']();},timeout>0x0?timeout:0x927c0);return H;};b['NotificationUtils']['desktop']=function(E,F={}){const G=J=>{h['queue']['push']({'parsedcontent':E,'parsedoptions':F});H();};const H=J=>{if(!h['running']){let K=h['queue']['shift']();if(K)I(K['parsedcontent'],K['parsedoptions']);}};const I=(J,K)=>{h['running']=!![];let L=K['silent'];K['silent']=K['silent']||K['sound']?!![]:![];let M=new Notification(J,K);let N=new Audio();let O=b['TimeUtils']['timeout'](Q=>{P();},K['timeout']?K['timeout']:0xbb8);if(typeof K['click']=='function')M['onclick']=Q=>{b['TimeUtils']['clear'](O);P();K['click']();};if(!L&&K['sound']){N['src']=K['sound'];N['play']();}const P=Q=>{N['pause']();M['close']();h['running']=![];b['TimeUtils']['timeout'](R=>{H();},0x3e8);};};if(!('Notification'in window)){}else if(Notification['permission']==='granted')G();else if(Notification['permission']!=='denied')Notification['requestPermission'](function(J){if(J==='granted')G();});};b['NotificationUtils']['notice']=function(E,F={}){if(!E)return;let G=document['querySelector'](b['dotCN']['layers']);if(!G)return;let H=b['NumberUtils']['generateId'](g);let I=b['DOMUtils']['create']('');G['parentElement']['insertBefore'](I,G);let J=I['querySelector']('.notice-message');if(F['platform'])for(let M of F['platform']['split']('\x20'))if(s['noticeicon'+M]){let N=b['DOMUtils']['create']('');b['DOMUtils']['addClass'](N,b['disCN']['noticeplatformicon']);b['DOMUtils']['removeClass'](N,b['disCN']['noticeicon']);I['insertBefore'](N,J);}if(F['customicon']){let O=b['DOMUtils']['create'](F['customicon']);let P=b['DOMUtils']['create']('');if(O['tagName']=='span'&&!O['firstElementChild'])P['style']['setProperty']('background','url('+F['customicon']+')\x20center/cover\x20no-repeat');else P['appendChild'](O);b['DOMUtils']['addClass'](P,b['disCN']['noticeplatformicon']);b['DOMUtils']['removeClass'](P,b['disCN']['noticeicon']);I['insertBefore'](P,J);}if(F['btn']||F['button'])I['appendChild'](b['DOMUtils']['create'](''));if(F['id'])I['id']=F['id']['split']('\x20')['join']('');if(F['selector'])b['DOMUtils']['addClass'](I,F['selector']);if(F['css'])b['DOMUtils']['appendLocalStyle']('BDFDBcustomNotificationBar'+H,F['css']);if(F['style'])I['style']=F['style'];if(F['html']===!![])J['innerHTML']=E;else{let Q=document['createElement']('a');let R=[];for(let S of E['split']('\x20')){let T=b['StringUtils']['htmlEscape'](S);Q['href']=S;R['push'](Q['host']&&Q['host']!==window['location']['host']?'':T);}J['innerHTML']=R['join']('\x20');}let K=null;if(F['type']&&!document['querySelector'](b['dotCNS']['chatbase']+b['dotCN']['noticestreamer'])){if(K=b['disCN']['notice'+F['type']])b['DOMUtils']['addClass'](I,K);if(F['type']=='premium'){let U=I['querySelector'](b['dotCN']['noticebutton']);if(U)b['DOMUtils']['addClass'](U,b['disCN']['noticepremiumaction']);b['DOMUtils']['addClass'](J,b['disCN']['noticepremiumtext']);I['insertBefore'](b['DOMUtils']['create'](''),J);}}if(!K){let V=b['ColorUtils']['convert'](F['color'],'RGBCOMP');if(V){let W=V[0x0]>0xb4&&V[0x1]>0xb4&&V[0x2]>0xb4?'#000':'#FFF';let X=b['ColorUtils']['convert'](V,'HEX');let Y=V[0x0]>0xb4&&V[0x1]>0xb4&&V[0x2]>0xb4?'brightness(0%)':'brightness(100%)';b['DOMUtils']['appendLocalStyle']('BDFDBcustomNotificationBarColorCorrection'+H,b['dotCN']['noticewrapper']+'[notice-id=\x22'+H+'\x22]{background-color:'+X+'\x20!important;}'+b['dotCN']['noticewrapper']+'[notice-id=\x22'+H+'\x22]\x20.notice-message\x20{color:'+W+'\x20!important;}'+b['dotCN']['noticewrapper']+'[notice-id=\x22'+H+'\x22]\x20'+b['dotCN']['noticebutton']+'\x20{color:'+W+'\x20!important;border-color:'+b['ColorUtils']['setAlpha'](W,0.25,'RGBA')+'\x20!important;}'+b['dotCN']['noticewrapper']+'[notice-id=\x22'+H+'\x22]\x20'+b['dotCN']['noticebutton']+':hover\x20{color:'+X+'\x20!important;background-color:'+W+'\x20!important;}'+b['dotCN']['noticewrapper']+'[notice-id=\x22'+H+'\x22]\x20'+b['dotCN']['noticedismiss']+'\x20{filter:'+Y+'\x20!important;}');}else b['DOMUtils']['addClass'](I,b['disCN']['noticedefault']);}I['style']['setProperty']('height','36px','important');I['style']['setProperty']('min-width','70vw','important');I['style']['setProperty']('left','unset','important');I['style']['setProperty']('right','unset','important');let L=(b['DOMUtils']['getWidth'](document['body']['firstElementChild'])-b['DOMUtils']['getWidth'](I))/0x2;I['style']['setProperty']('left',L+'px','important');I['style']['setProperty']('right',L+'px','important');I['style']['setProperty']('min-width','unset','important');I['style']['setProperty']('width','unset','important');I['style']['setProperty']('max-width','calc(100vw\x20-\x20'+L*0x2+'px)','important');I['querySelector'](b['dotCN']['noticedismiss'])['addEventListener']('click',Z=>{I['style']['setProperty']('overflow','hidden','important');I['style']['setProperty']('height','0px','important');b['TimeUtils']['timeout'](a0=>{b['ArrayUtils']['remove'](g,H);b['DOMUtils']['removeLocalStyle']('BDFDBcustomNotificationBar'+H);b['DOMUtils']['removeLocalStyle']('BDFDBcustomNotificationBarColorCorrection'+H);I['remove']();},0x1f4);});return I;};b['NotificationUtils']['alert']=function(E,F){if(typeof E=='string'&&typeof E=='string'&&window['BdApi']&&typeof BdApi['alert']=='function')BdApi['alert'](E,F);};var i=[];b['TooltipUtils']={};b['TooltipUtils']['create']=function(E,F,G={}){let H=document['querySelector'](b['dotCN']['appmount']+'\x20>\x20'+b['dotCN']['itemlayercontainer']);if(!H||typeof F!='string'&&!b['ObjectUtils']['is'](G['guild'])||!Node['prototype']['isPrototypeOf'](E)||!document['contains'](E))return null;let I=b['NumberUtils']['generateId'](i);let J=b['DOMUtils']['create']('');H['appendChild'](J);let K=J['firstElementChild'];let L=J['querySelector'](b['dotCN']['tooltipcontent']);let M=J['querySelector'](b['dotCN']['tooltippointer']);if(G['id'])K['id']=G['id']['split']('\x20')['join']('');if(typeof G['type']!='string'||!b['disCN']['tooltip'+G['type']['toLowerCase']()])G['type']='top';let N=G['type']['toLowerCase']();b['DOMUtils']['addClass'](K,b['disCN']['tooltip'+N]);let O=![],P=![],Q='';if(G['style'])Q+=G['style'];if(G['fontColor']){O=b['ObjectUtils']['is'](G['fontColor']);if(!O)Q=(Q?Q+'\x20':'')+('color:\x20'+b['ColorUtils']['convert'](G['fontColor'],'RGBA')+'\x20!important;');}if(G['backgroundColor']){P=!![];let T=b['ObjectUtils']['is'](G['backgroundColor']);let U=!T?b['ColorUtils']['convert'](G['backgroundColor'],'RGBA'):b['ColorUtils']['createGradient'](G['backgroundColor']);Q=(Q?Q+'\x20':'')+('background:\x20'+U+'\x20!important;\x20border-color:\x20'+(T?b['ColorUtils']['convert'](G['backgroundColor'][N=='left'?0x64:0x0],'RGBA'):U)+'\x20!important;');}if(Q)K['style']=Q;if(typeof G['zIndex']=='number'){J['style']['setProperty']('z-index',G['zIndex'],'important');K['style']['setProperty']('z-index',G['zIndex'],'important');}if(P)b['DOMUtils']['addClass'](K,b['disCN']['tooltipcustom']);else if(G['color']&&b['disCN']['tooltip'+G['color']['toLowerCase']()])b['DOMUtils']['addClass'](K,b['disCN']['tooltip'+G['color']['toLowerCase']()]);else b['DOMUtils']['addClass'](K,b['disCN']['tooltipblack']);if(G['list']||b['ObjectUtils']['is'](G['guild']))b['DOMUtils']['addClass'](K,b['disCN']['tooltiplistitem']);if(G['selector'])b['DOMUtils']['addClass'](K,G['selector']);if(b['ObjectUtils']['is'](G['guild'])){let V=m['StreamUtils']['getAllApplicationStreams']()['filter'](Z=>Z['guildId']===G['guild']['id'])['map'](Z=>Z['ownerId']);let W=V['map'](Z=>m['UserStore']['getUser'](Z))['filter'](Z=>Z);let X=Object['keys'](m['VoiceUtils']['getVoiceStates'](G['guild']['id']))['map'](Z=>!V['includes'](Z)&&b['LibraryModules']['UserStore']['getUser'](Z))['filter'](Z=>Z);let Y=F||G['guild']['toString']();if(O)Y=''+b['StringUtils']['htmlEscape'](Y)+'';b['ReactUtils']['render'](b['ReactUtils']['createElement'](b['ReactUtils']['Fragment'],{'children':[b['ReactUtils']['createElement']('div',{'className':b['DOMUtils']['formatClassName'](b['disCN']['tooltiprow'],b['disCN']['tooltiprowguildname']),'children':[b['ReactUtils']['createElement'](u['LibraryComponents']['GuildComponents']['Badge'],{'guild':G['guild'],'size':m['StringUtils']['cssValueToNumber'](r['TooltipGuild']['iconSize']),'className':b['disCN']['tooltiprowicon']}),b['ReactUtils']['createElement']('span',{'className':b['DOMUtils']['formatClassName'](b['disCN']['tooltipguildnametext'],(X['length']||W['length'])&&b['disCN']['tooltipguildnametextlimitedsize']),'children':O||G['html']?b['ReactUtils']['elementToReact'](b['DOMUtils']['create'](Y)):Y})]}),X['length']?b['ReactUtils']['createElement']('div',{'className':b['disCN']['tooltiprow'],'children':[b['ReactUtils']['createElement'](u['LibraryComponents']['SvgIcon'],{'name':u['LibraryComponents']['SvgIcon']['Names']['SPEAKER'],'className':b['disCN']['tooltipactivityicon']}),b['ReactUtils']['createElement'](u['LibraryComponents']['UserSummaryItem'],{'users':X,'max':0x6})]}):null,W['length']?b['ReactUtils']['createElement']('div',{'className':b['disCN']['tooltiprow'],'children':[b['ReactUtils']['createElement'](u['LibraryComponents']['SvgIcon'],{'name':u['LibraryComponents']['SvgIcon']['Names']['STREAM'],'className':b['disCN']['tooltipactivityicon']}),b['ReactUtils']['createElement'](u['LibraryComponents']['UserSummaryItem'],{'users':W,'max':0x6})]}):null]['filter'](Z=>Z)}),L);}else{if(O)L['innerHTML']=''+b['StringUtils']['htmlEscape'](F)+'';else if(G['html']===!![])L['innerHTML']=F;else L['innerText']=F;}if(G['hide'])b['DOMUtils']['appendLocalStyle']('BDFDBhideOtherTooltips'+I,'#app-mount\x20'+b['dotCN']['tooltip']+':not([tooltip-id=\x22'+I+'\x22])\x20{display:\x20none\x20!important;}',H);let R=Z=>{b['DOMUtils']['remove'](J);};if(!G['perssist'])E['addEventListener']('mouseleave',R);let S=new MutationObserver(Z=>Z['forEach'](a0=>{let a1=Array['from'](a0['removedNodes']);if(a1['indexOf'](J)>-0x1||a1['indexOf'](E)>-0x1||a1['some'](a2=>a2['contains'](E))){b['ArrayUtils']['remove'](i,I);S['disconnect']();b['DOMUtils']['remove'](J);b['DOMUtils']['removeLocalStyle']('BDFDBhideOtherTooltips'+I,H);E['removeEventListener']('mouseleave',R);}}));S['observe'](document['body'],{'subtree':!![],'childList':!![]});(K['update']=J['update']=Z=>{let a0,a1,a2=b['DOMUtils']['getRects'](E),a3=b['DOMUtils']['getRects'](J),a4=b['DOMUtils']['getRects'](document['querySelector'](b['dotCN']['appmount'])),a5={'height':0xa,'width':0xa},a6=typeof G['offset']=='number'?G['offset']:0x0;switch(N){case'top':a1=a2['top']-a3['height']-a5['height']+0x2-a6;a0=a2['left']+(a2['width']-a3['width'])/0x2;break;case'bottom':a1=a2['top']+a2['height']+a5['height']-0x2+a6;a0=a2['left']+(a2['width']-a3['width'])/0x2;break;case'left':a1=a2['top']+(a2['height']-a3['height'])/0x2;a0=a2['left']-a3['width']-a5['width']+0x2-a6;break;case'right':a1=a2['top']+(a2['height']-a3['height'])/0x2;a0=a2['left']+a2['width']+a5['width']-0x2+a6;break;}J['style']['setProperty']('top',a1+'px');J['style']['setProperty']('left',a0+'px');M['style']['removeProperty']('margin-left');M['style']['removeProperty']('margin-top');if(N=='top'||N=='bottom'){if(a0<0x0){J['style']['setProperty']('left','5px');M['style']['setProperty']('margin-left',a0-0xa+'px');}else{let a7=a4['width']-(a0+a3['width']);if(a7<0x0){J['style']['setProperty']('left',a4['width']-a3['width']-0x5+'px');M['style']['setProperty']('margin-left',-0x1*a7+'px');}}}else if(N=='left'||N=='right'){if(a1<0x0){J['style']['setProperty']('top','5px');M['style']['setProperty']('margin-top',a1-0xa+'px');}else{let a8=a4['height']-(a1+a3['height']);if(a8<0x0){J['style']['setProperty']('top',a4['height']-a3['height']-0x5+'px');M['style']['setProperty']('margin-top',-0x1*a8+'px');}}}})();if(G['delay']){b['DOMUtils']['toggle'](J);b['TimeUtils']['timeout'](Z=>{b['DOMUtils']['toggle'](J);},G['delay']);}return J;};b['ObjectUtils']={};b['ObjectUtils']['is']=function(E){return E&&Object['prototype']['isPrototypeOf'](E)&&!Array['prototype']['isPrototypeOf'](E);};b['ObjectUtils']['extract']=function(E,...F){let G={};if(b['ObjectUtils']['is'](E))for(let H of F['flat'](0xa)['filter'](I=>I))if(E[H])G[H]=E[H];return G;};b['ObjectUtils']['exclude']=function(E,...F){let G=Object['assign']({},E);b['ObjectUtils']['delete'](G,...F);return G;};b['ObjectUtils']['delete']=function(E,...F){if(b['ObjectUtils']['is'](E))for(let G of F['flat'](0xa)['filter'](H=>H))delete E[G];};b['ObjectUtils']['sort']=function(E,F,G){if(!b['ObjectUtils']['is'](E))return{};let H={};if(F===undefined||!F)for(let I of Object['keys'](E)['sort']())H[I]=E[I];else{let J=[];for(let K in E)J['push'](E[K]);J=b['ArrayUtils']['keySort'](J,F,G);for(let L of J)for(let M in E)if(b['equals'](L,E[M])){H[M]=L;break;}}return H;};b['ObjectUtils']['reverse']=function(E,F){if(!b['ObjectUtils']['is'](E))return{};let G={};for(let H of F===undefined||!F?Object['keys'](E)['reverse']():Object['keys'](E)['sort']()['reverse']())G[H]=E[H];return G;};b['ObjectUtils']['filter']=function(E,F,G=![]){if(!b['ObjectUtils']['is'](E))return{};if(typeof F!='function')return E;return Object['keys'](E)['filter'](H=>F(G?H:E[H]))['reduce']((H,I)=>(H[I]=E[I],H),{});};b['ObjectUtils']['push']=function(E,F){if(b['ObjectUtils']['is'](E))E[Object['keys'](E)['length']]=F;};b['ObjectUtils']['pop']=function(E,F){if(b['ObjectUtils']['is'](E)){let G=Object['keys'](E);if(!G['length'])return;let H=E[G[G['length']-0x1]];delete E[G[G['length']-0x1]];return H;}};b['ObjectUtils']['map']=function(E,F){if(!b['ObjectUtils']['is'](E))return{};if(typeof F!='string'&&typeof F!='function')return E;let G={};for(let H in E)if(b['ObjectUtils']['is'](E[H]))G[H]=typeof F=='string'?E[H][F]:F(E[H],H);return G;};b['ObjectUtils']['toArray']=function(E){if(!b['ObjectUtils']['is'](E))return[];return Object['entries'](E)['map'](F=>F[0x1]);};b['ObjectUtils']['deepAssign']=function(E,...F){if(!F['length'])return E;let G=F['shift']();if(b['ObjectUtils']['is'](E)&&b['ObjectUtils']['is'](G)){for(let H in G){if(b['ObjectUtils']['is'](G[H])){if(!E[H])Object['assign'](E,{[H]:{}});b['ObjectUtils']['deepAssign'](E[H],G[H]);}else Object['assign'](E,{[H]:G[H]});}}return b['ObjectUtils']['deepAssign'](E,...F);};b['ObjectUtils']['isEmpty']=function(E){return!b['ObjectUtils']['is'](E)||Object['getOwnPropertyNames'](E)['length']==0x0;};b['ArrayUtils']={};b['ArrayUtils']['is']=function(E){return E&&Array['isArray'](E);};b['ArrayUtils']['sum']=function(E){return Array['isArray'](E)?E['reduce']((F,G)=>F+Math['round'](G),0x0):0x0;};b['ArrayUtils']['keySort']=function(E,F,G){if(!b['ArrayUtils']['is'](E))return[];if(F==null)return E;if(G===undefined)G=null;return E['sort']((H,I)=>{let J=H[F],K=I[F];if(J!==G)return JK?0x1:0x0;});};b['ArrayUtils']['numSort']=function(E){return E['sort']((F,G)=>FG?0x1:0x0);};b['ArrayUtils']['includes']=function(E,...F){if(!b['ArrayUtils']['is'](E))return null;if(!E['length'])return![];let G=F['pop']();if(typeof G!='boolean'){F['push'](G);G=!![];}if(!F['length'])return![];let H=undefined;for(let I of F){if(H===undefined)H=G;if(G&&!E['includes'](I))H=![];if(!G&&E['includes'](I))H=!![];}return H;};b['ArrayUtils']['remove']=function(E,F,G=![]){if(!b['ArrayUtils']['is'](E))return[];if(!E['includes'](F))return E;if(!G)E['splice'](E['indexOf'](F),0x1);else while(E['indexOf'](F)>-0x1)E['splice'](E['indexOf'](F),0x1);return E;};b['ArrayUtils']['getAllIndexes']=function(E,F){if(!b['ArrayUtils']['is'](E)&&typeof E!='string')return[];var G=[],H=-0x1;while((H=E['indexOf'](F,H+0x1))!==-0x1)G['push'](H);return G;};b['ArrayUtils']['removeCopies']=function(E){if(!b['ArrayUtils']['is'](E))return[];return[...new Set(E)];};b['ModuleUtils']={};b['ModuleUtils']['cached']=window['BDFDB']&&window['BDFDB']['ModuleUtils']&&window['BDFDB']['ModuleUtils']['cached']||{};b['ModuleUtils']['find']=function(E,F){F=typeof F!='boolean'?!![]:F;let G=c['getWebModuleReq']();for(let H in G['c'])if(G['c']['hasOwnProperty'](H)){let I=G['c'][H]['exports'];if(I&&(typeof I=='object'||typeof I=='function')&&E(I))return F?I:G['c'][H];if(I&&I['__esModule']){for(let J in I)if(I[J]&&(typeof I[J]=='object'||typeof I[J]=='function')&&E(I[J]))return F?I[J]:G['c'][H];if(I['default']&&(typeof I['default']=='object'||typeof I['default']=='function'))for(let K in I['default'])if(I['default'][K]&&(typeof I['default'][K]=='object'||typeof I['default'][K]=='function')&&E(I['default'][K]))return F?I['default'][K]:G['c'][H];}}for(let L in G['m'])if(G['m']['hasOwnProperty'](L)){let M=G['m'][L];if(M&&typeof M=='function'&&E(M)){if(G['c'][L])return F?G['c'][L]['exports']:G['c'][L];else{let N={};G['m'][L](N,null,G);return F?N['exports']:N;}}}};b['ModuleUtils']['findByProperties']=function(...E){E=E['flat'](0xa);let F=E['pop']();if(typeof F!='boolean'){E['push'](F);F=!![];}return c['findModule']('prop',JSON['stringify'](E),G=>E['every'](H=>G[H]!==undefined),F);};b['ModuleUtils']['findByName']=function(E,F){return c['findModule']('name',JSON['stringify'](E),G=>G['displayName']===E||G['render']&&G['render']['displayName']===E,typeof F!='boolean'?!![]:F);};b['ModuleUtils']['findByString']=function(...E){E=E['flat'](0xa);let F=E['pop']();if(typeof F!='boolean'){E['push'](F);F=!![];}return c['findModule']('string',JSON['stringify'](E),G=>E['every'](H=>typeof G=='function'&&(G['toString']()['indexOf'](H)>-0x1||typeof G['__originalMethod']=='function'&&G['__originalMethod']['toString']()['indexOf'](H)>-0x1||typeof G['__originalFunction']=='function'&&G['__originalFunction']['toString']()['indexOf'](H)>-0x1)||b['ObjectUtils']['is'](G)&&typeof G['type']=='function'&&G['type']['toString']()['indexOf'](H)>-0x1),F);};b['ModuleUtils']['findByPrototypes']=function(...E){E=E['flat'](0xa);let F=E['pop']();if(typeof F!='boolean'){E['push'](F);F=!![];}return c['findModule']('proto',JSON['stringify'](E),G=>G['prototype']&&E['every'](H=>G['prototype'][H]!==undefined),F);};c['findModule']=function(E,F,G,H){if(!b['ObjectUtils']['is'](b['ModuleUtils']['cached'][E]))b['ModuleUtils']['cached'][E]={'module':{},'export':{}};if(H&&b['ModuleUtils']['cached'][E]['export'][F])return b['ModuleUtils']['cached'][E]['export'][F];else if(!H&&b['ModuleUtils']['cached'][E]['module'][F])return b['ModuleUtils']['cached'][E]['module'][F];else{let I=b['ModuleUtils']['find'](G,H);if(I){if(H)b['ModuleUtils']['cached'][E]['export'][F]=I;else b['ModuleUtils']['cached'][E]['module'][F]=I;return I;}else b['LogUtils']['warn'](F+'\x20['+E+']\x20not\x20found\x20in\x20WebModules');}};c['getWebModuleReq']=function(){if(!c['getWebModuleReq']['req']){const E='BDFDB-WebModules';const F=window['webpackJsonp']['push']([[],{[E]:(G,H,I)=>G['exports']=I},[[E]]]);delete F['m'][E];delete F['c'][E];c['getWebModuleReq']['req']=F;}return c['getWebModuleReq']['req'];};var j={};j['PatchTypes']=['before','instead','after'];j['PatchMap']={'BannedCard':'BannedUser','ChannelWindow':'Channel','InvitationCard':'InviteRow','InviteCard':'InviteRow','MemberCard':'Member','PopoutContainer':'Popout','QuickSwitchResult':'Result','UserProfile':'UserProfileBody','WebhookCard':'Webhook'};j['ForceObserve']=['DirectMessage','GuildIcon'];j['MemoComponent']=['EmojiPicker','ExpressionPicker','GuildFolder','MessageContent','NowPlayingHeader'];j['NonRender']=b['ArrayUtils']['removeCopies']([]['concat'](j['MemoComponent'],['Attachment','ConnectedPrivateChannelsList','DiscordTag','InviteModalUserRow','Mention','Menu','MenuCheckboxItem','MenuControlItem','MenuItem','Message','MessageTimestamp','NameTag','NowPlayingItem','PrivateChannelEmptyMessage','RecentsChannelHeader','RecentsHeader','SystemMessage','SimpleMessageAccessories','UnreadMessages','UserInfo']));j['LoadedInComponents']={'AutocompleteChannelResult':'LibraryComponents.AutocompleteItems.Channel','AutocompleteUserResult':'LibraryComponents.AutocompleteItems.User','QuickSwitchChannelResult':'LibraryComponents.QuickSwitchItems.Channel','QuickSwitchGroupDMResult':'LibraryComponents.QuickSwitchItems.GroupDM','QuickSwitchGuildResult':'LibraryComponents.QuickSwitchItems.Guild','QuickSwitchUserResult':'LibraryComponents.QuickSwitchItems.User'};j['SpecialFilter']={'V2C_ContentColumn':E=>E&&E['return']&&E['return']['stateNode']&&E['return']['stateNode']['props']&&typeof E['return']['stateNode']['props']['title']=='string'&&(E['return']['stateNode']['props']['title']['toUpperCase']()['indexOf']('PLUGINS')==0x0||E['return']['stateNode']['props']['title']['toUpperCase']()['indexOf']('THEMES')==0x0)&&E['return']['type'],'GuildFolder':E=>E&&E['return']&&E['return']['memoizedProps']&&E['return']['memoizedProps']['folderId']&&E['return']['memoizedProps']['guildIds']&&E['return']['type']};j['PatchFinder']={'Account':'accountinfo','App':'app','AppSkeleton':'app','AppView':'appcontainer','AuthWrapper':'loginscreen','BannedCard':'guildsettingsbannedcard','Category':'categorycontainerdefault','ChannelCall':'callcurrentcontainer','ChannelMember':'member','Channels':'guildchannels','ChannelTextAreaForm':'chatform','ChannelWindow':'chatcontent','DirectMessage':'guildouter','Guild':'guildouter','GuildFolder':'guildfolderwrapper','GuildIcon':'avataricon','GuildRoleSettings':'settingswindowcontent','Guilds':'guildswrapper','GuildSettings':'layer','GuildSettingsBans':'guildsettingsbannedcard','GuildSettingsEmoji':'guildsettingsemojicard','GuildSettingsMembers':'guildsettingsmembercard','GuildSidebar':'guildchannels','I18nLoaderWrapper':'app','InstantInviteModal':'invitemodalwrapper','InvitationCard':'invitemodalinviterow','InviteCard':'guildsettingsinvitecard','MemberCard':'guildsettingsmembercard','Messages':'messages','MessagesPopout':'messagespopout','ModalLayer':'layermodal','MutualGuilds':'userprofilebody','MutualFriends':'userprofilebody','Note':'usernote','PopoutContainer':'popout','Popouts':'popouts','PrivateChannelCall':'callcurrentcontainer','PrivateChannelCallParticipants':'callcurrentcontainer','PrivateChannelRecipientsInvitePopout':'searchpopoutdmaddpopout','PrivateChannelsList':'dmchannelsscroller','QuickSwitchChannelResult':'quickswitchresult','QuickSwitchGuildResult':'quickswitchresult','QuickSwitchResult':'quickswitchresult','RTCConnection':'voicedetails','SearchResults':'searchresultswrap','TypingUsers':'typing','UnreadDMs':'guildsscroller','Upload':'uploadmodal','UserHook':'auditloguserhook','UserPopout':'userpopout','UserProfile':'userprofile','V2C_ContentColumn':'settingswindowcontentcolumn'};j['CodeFinder']={'EmojiPicker':['allowManagedEmojis','EMOJI_PICKER_TAB_PANEL_ID','diversitySelector'],'SearchResultsInner':['SEARCH_HIDE_BLOCKED_MESSAGES','totalResults','SEARCH_PAGE_SIZE']};j['PropsFinder']={'MessageHeader':'MessageTimestamp','UnavailableGuildsButton':'UnavailableGuildsButton'};j['NonPrototype']=b['ArrayUtils']['removeCopies']([]['concat'](j['NonRender'],Object['keys'](j['CodeFinder']),Object['keys'](j['PropsFinder']),['ChannelTextAreaContainer']));b['ModuleUtils']['isPatched']=function(E,F,G){E=E==b&&c||E;if(!E||!b['ObjectUtils']['is'](F)||!F['BDFDBpatch']||!G)return![];const H=(typeof E==='string'?E:E['name'])['toLowerCase']();return H&&F[G]&&F[G]['__isBDFDBpatched']&&F['BDFDBpatch'][G]&&b['ObjectUtils']['toArray'](F['BDFDBpatch'][G])['some'](I=>b['ObjectUtils']['toArray'](I)['some'](J=>Object['keys'](J)['includes'](H)));};b['ModuleUtils']['patch']=function(E,F,G,H,I={}){E=E==b&&c||E;if(!E||!b['ObjectUtils']['is'](F)||!G||!b['ObjectUtils']['is'](H))return null;H=b['ObjectUtils']['filter'](H,N=>j['PatchTypes']['includes'](N),!![]);if(b['ObjectUtils']['isEmpty'](H))return null;const J=typeof E==='string'?E:E['name'];const K=J['toLowerCase']();const L=b['ObjectUtils']['is'](E)&&!isNaN(E['patchPriority'])?E['patchPriority']<0x0?0x0:E['patchPriority']>0xa?0xa:Math['round'](E['patchPriority']):0x5;if(!b['ObjectUtils']['is'](F['BDFDBpatch']))F['BDFDBpatch']={};G=[G]['flat'](0xa)['filter'](N=>N);let M=N=>{b['ModuleUtils']['unpatch'](E,F,G);};for(let N of G)if(F[N]==null||typeof F[N]=='function'){let O=0x0;if(!F['BDFDBpatch'][N]||I['force']&&(!F[N]||!F[N]['__isBDFDBpatched'])){if(!F['BDFDBpatch'][N]){F['BDFDBpatch'][N]={};for(let Q of j['PatchTypes'])F['BDFDBpatch'][N][Q]={};}if(!F[N])F[N]=R=>{};const P=F[N];F['BDFDBpatch'][N]['originalMethod']=P;F[N]=function(){let R=![],S=![];const T={'thisObject':this,'methodArguments':arguments,'originalMethod':P,'originalMethodName':N,'callOriginalMethod':U=>{if(!S)T['returnValue']=T['originalMethod']['apply'](T['thisObject'],T['methodArguments']);},'callOriginalMethodAfterwards':U=>{R=!![];},'stopOriginalMethodCall':U=>{S=!![];}};if(F['BDFDBpatch']&&F['BDFDBpatch'][N]){for(let V in F['BDFDBpatch'][N]['before'])for(let W in b['ObjectUtils']['sort'](F['BDFDBpatch'][N]['before'][V])){b['TimeUtils']['suppress'](F['BDFDBpatch'][N]['before'][V][W],'\x22before\x22\x20callback\x20of\x20'+N+'\x20in\x20'+(F['constructor']?F['constructor']['displayName']||F['constructor']['name']:'module'),F['BDFDBpatch'][N]['before'][V][W]['pluginName'])(T);}let U=b['ObjectUtils']['toArray'](F['BDFDBpatch'][N]['instead'])['some'](X=>!b['ObjectUtils']['isEmpty'](X));if(U)for(let X in F['BDFDBpatch'][N]['instead'])for(let Y in b['ObjectUtils']['sort'](F['BDFDBpatch'][N]['instead'][X])){let Z=b['TimeUtils']['suppress'](F['BDFDBpatch'][N]['instead'][X][Y],'\x22instead\x22\x20callback\x20of\x20'+N+'\x20in\x20'+(F['constructor']?F['constructor']['displayName']||F['constructor']['name']:'module'),F['BDFDBpatch'][N]['instead'][X][Y]['pluginName'])(T);if(Z!==undefined)T['returnValue']=Z;}if((!U||R)&&!S)b['TimeUtils']['suppress'](T['callOriginalMethod'],'originalMethod\x20of\x20'+N+'\x20in\x20'+(F['constructor']?F['constructor']['displayName']||F['constructor']['name']:'module'))();for(let a0 in F['BDFDBpatch'][N]['after'])for(let a1 in b['ObjectUtils']['sort'](F['BDFDBpatch'][N]['after'][a0])){let a2=b['TimeUtils']['suppress'](F['BDFDBpatch'][N]['after'][a0][a1],'\x22after\x22\x20callback\x20of\x20'+N+'\x20in\x20'+(F['constructor']?F['constructor']['displayName']||F['constructor']['name']:'module'),F['BDFDBpatch'][N]['after'][a0][a1]['pluginName'])(T);if(a2!==undefined)T['returnValue']=a2;}}else b['TimeUtils']['suppress'](T['callOriginalMethod'],'originalMethod\x20of\x20'+N+'\x20in\x20'+(F['constructor']?F['constructor']['displayName']||F['constructor']['name']:'module'))();R=![],S=![];return N=='render'&&T['returnValue']===undefined?null:T['returnValue'];};for(let R of Object['keys'](P))F[N][R]=P[R];if(!F[N]['__originalFunction']){let S=P['__originalMethod']||P['__originalFunction']||P;if(typeof S=='function'){F[N]['__originalFunction']=S;F[N]['toString']=T=>S['toString']();}}F[N]['__isBDFDBpatched']=!![];}for(let T in H)if(typeof H[T]=='function'){if(!b['ObjectUtils']['is'](F['BDFDBpatch'][N][T][L]))F['BDFDBpatch'][N][T][L]={};F['BDFDBpatch'][N][T][L][K]=(...U)=>{if(I['once']||!E['started'])M();return H[T](...U);};F['BDFDBpatch'][N][T][L][K]['pluginName']=J;}}if(b['ObjectUtils']['is'](E)&&!I['once']&&!I['noCache']){if(!b['ArrayUtils']['is'](E['patchCancels']))E['patchCancels']=[];E['patchCancels']['push'](M);}return M;};b['ModuleUtils']['unpatch']=function(E,F,G){E=E==b&&c||E;if(!F&&!G){if(b['ObjectUtils']['is'](E)&&b['ArrayUtils']['is'](E['patchCancels']))while(E['patchCancels']['length'])E['patchCancels']['pop']()();}else{if(!b['ObjectUtils']['is'](F)||!F['BDFDBpatch'])return;const I=!E?null:(typeof E==='string'?E:E['name'])['toLowerCase']();if(G){for(let J of[G]['flat'](0xa)['filter'](K=>K))if(F[J]&&F['BDFDBpatch'][J])H(J,I);}else for(let K of F['BDFDBpatch'])H(K,I);}function H(L,M){for(let N of j['PatchTypes']){if(M)for(let O in F['BDFDBpatch'][L][N]){delete F['BDFDBpatch'][L][N][O][M];if(b['ObjectUtils']['isEmpty'](F['BDFDBpatch'][L][N][O]))delete F['BDFDBpatch'][L][N][O];}else delete F['BDFDBpatch'][L][N];}if(b['ObjectUtils']['isEmpty'](b['ObjectUtils']['filter'](F['BDFDBpatch'][L],P=>j['PatchTypes']['includes'](P)&&!b['ObjectUtils']['isEmpty'](F['BDFDBpatch'][L][P]),!![]))){F[L]=F['BDFDBpatch'][L]['originalMethod'];delete F['BDFDBpatch'][L];if(b['ObjectUtils']['isEmpty'](F['BDFDBpatch']))delete F['BDFDBpatch'];}}};b['ModuleUtils']['forceAllUpdates']=function(E,F){E=E==b&&c||E;if(b['ObjectUtils']['is'](E)&&b['ObjectUtils']['is'](E['patchedModules'])){const G=document['querySelector'](b['dotCN']['app']);const H=document['querySelector']('#bd-settingspane-container\x20>\x20*');if(G){F=[F]['flat'](0xa)['filter'](L=>L)['map'](L=>L&&j['PatchMap'][L]?j['PatchMap'][L]+'\x20_\x20_\x20'+L:L);let I=[],J=[],K={};for(let L in E['patchedModules'])for(let M in E['patchedModules'][L]){let N=[E['patchedModules'][L][M]]['flat'](0xa)['filter'](O=>O);if(b['ArrayUtils']['includes'](N,'componentDidMount','componentDidUpdate','render',![])&&(!F['length']||F['includes'](M))){let O=M['split']('\x20_\x20_\x20')[0x1]||M;let P=j['PatchFinder'][O];let Q=j['SpecialFilter'][O];if(P&&s[P]&&typeof Q=='function'){for(let S of document['querySelectorAll'](b['dotCN'][P])){let T=Q(b['ReactUtils']['getInstance'](S));if(T){J['push']([M,T]);break;}}}else I['push'](M);let R=M['split']('\x20_\x20_\x20')[0x0];if(!K[R])K[R]=[];K[R]['push'](L);}}if(I['length']||J['length']){I=b['ArrayUtils']['removeCopies'](I);J=b['ArrayUtils']['removeCopies'](J);try{const U=b['ReactUtils']['findOwner'](G,{'name':I,'type':J,'all':!![],'group':!![],'unlimited':!![]});const V=b['ReactUtils']['findOwner'](G,{'name':I,'type':J,'all':!![],'group':!![],'unlimited':!![],'up':!![]});for(let W in U)for(let X of U[W])c['forceInitiateProcess'](E,X,W,K[W]);for(let Y in V)for(let Z of V[Y])c['forceInitiateProcess'](E,Z,Y,K[Y]);if(H){const a0=b['ReactUtils']['findOwner'](H,{'name':I,'type':J,'all':!![],'unlimited':!![]});if(a0['length']){const a1=b['ReactUtils']['findOwner'](b['ReactUtils']['getInstance'](document['querySelector']('#bd-settingspane-container\x20>\x20*')),{'props':'onChange','up':!![]});if(a1&&a1['props']&&typeof a1['props']['onChange']=='function')a1['props']['onChange'](a1['props']['type']);}}}catch(a2){b['LogUtils']['error']('Could\x20not\x20force\x20update\x20components!\x20'+a2,E['name']);}}}}};c['forceInitiateProcess']=function(E,F,G,H){E=E==b&&c||E;if(!E||!F||!G)return;let I=[];for(let J in E['patchedModules'])if(E['patchedModules'][J][G])I['push'](E['patchedModules'][J][G]);I=b['ArrayUtils']['removeCopies'](I)['flat'](0xa)['filter'](K=>K);if(I['includes']('componentDidMount'))c['initiateProcess'](E,G,{'instance':F,'methodname':'componentDidMount','patchtypes':H});if(I['includes']('render'))b['ReactUtils']['forceUpdate'](F);else if(I['includes']('componentDidUpdate'))c['initiateProcess'](E,G,{'instance':F,'methodname':'componentDidUpdate','patchtypes':H});};c['initiateProcess']=function(E,F,G){E=E==b&&c||E;if(b['ObjectUtils']['is'](E)&&!E['stopping']&&G['instance']){F=m['StringUtils']['upperCaseFirstChar'](F['split']('\x20_\x20_\x20')[0x1]||F)['replace'](/[^A-z0-9]|_/g,'');if(typeof E['process'+F]=='function'){if(typeof G['methodname']=='string'&&(G['methodname']['indexOf']('componentDid')==0x0||G['methodname']['indexOf']('componentWill')==0x0)){G['node']=b['ReactUtils']['findDOMNode'](G['instance']);if(G['node'])return E['process'+F](G);else b['TimeUtils']['timeout'](H=>{G['node']=b['ReactUtils']['findDOMNode'](G['instance']);if(G['node'])return E['process'+F](G);});}else if(G['returnvalue']||G['patchtypes']['includes']('before'))return E['process'+F](G);}}};c['patchPlugin']=function(E){E=E==b&&c||E;if(!b['ObjectUtils']['is'](E)||!b['ObjectUtils']['is'](E['patchedModules']))return;b['ModuleUtils']['unpatch'](E);for(let J in E['patchedModules'])for(let K in E['patchedModules'][J]){let L=K['split']('\x20_\x20_\x20')[0x1]||K;let M=j['LoadedInComponents'][K]&&b['ReactUtils']['getValue'](u,j['LoadedInComponents'][K]);if(M)F(j['NonRender']['includes'](L)?(b['ModuleUtils']['find'](N=>N==M,![])||{})['exports']:M,K,J);else{let N=j['PatchFinder'][L];let O=j['CodeFinder'][L];let P=j['PropsFinder'][L];let Q=j['PatchMap'][K];let R=Q?Q+'\x20_\x20_\x20'+K:K;let S=R['split']('\x20_\x20_\x20')[0x0];if(Q){E['patchedModules'][J][R]=E['patchedModules'][J][K];delete E['patchedModules'][J][K];}if(N&&s[N])H(N,R,J,j['ForceObserve']['includes'](L));else if(O){let T=(b['ModuleUtils']['findByString'](O,![])||{})['exports'];F(T&&j['MemoComponent']['includes'](L)?T['default']:T,R,J,!![]);}else if(P){let U=(b['ModuleUtils']['findByProperties'](P,![])||{})['exports'];F(U&&j['MemoComponent']['includes'](L)?U['default']:U,R,J,!![]);}else if(j['NonRender']['includes'](L)){let V=(b['ModuleUtils']['findByName'](S,![])||{})['exports'];F(V&&j['MemoComponent']['includes'](L)?V['default']:V,R,J,!![]);}else F(b['ModuleUtils']['findByName'](S),R,J);}}function F(W,X,Y,Z){if(W){let a0=X['split']('\x20_\x20_\x20')[0x0];W=W['_reactInternalFiber']&&W['_reactInternalFiber']['type']?W['_reactInternalFiber']['type']:W;W=Z||c['isInstanceCorrect'](W,a0)||j['LoadedInComponents'][X]?W:b['ReactUtils']['findConstructor'](W,a0)||b['ReactUtils']['findConstructor'](W,a0,{'up':!![]});if(W){W=W['_reactInternalFiber']&&W['_reactInternalFiber']['type']?W['_reactInternalFiber']['type']:W;let a1={};a1[Y]=a2=>{return c['initiateProcess'](E,X,{'instance':window!=a2['thisObject']?a2['thisObject']:{'props':a2['methodArguments'][0x0]},'returnvalue':a2['returnValue'],'methodname':a2['originalMethodName'],'patchtypes':[Y]});};b['ModuleUtils']['patch'](E,j['NonPrototype']['includes'](a0)?W:W['prototype'],E['patchedModules'][Y][X],a1);}}}function G(W,X,Y,Z){let a0=X['split']('\x20_\x20_\x20')[0x1]||X;let a1=b['ReactUtils']['getInstance'](W);let a2=j['SpecialFilter'][a0];if(typeof a2=='function'){let a3=a2(a1);if(a3){if(j['NonRender']['includes'](a0)){let a4=(b['ModuleUtils']['find'](a5=>a5==a3,![])||{})['exports'];F(a4&&j['MemoComponent']['includes'](a0)?a4['default']:a4,X,Y,!![]);}else F(a3,X,Y,!![]);b['ModuleUtils']['forceAllUpdates'](E,X);return!![];}}else if(I(a1,X)){F(a1,X,Y);b['ModuleUtils']['forceAllUpdates'](E,X);return!![];}return![];}function H(W,X,Y,Z){const a0=document['querySelector'](b['dotCN']['app']),a1=document['querySelector']('#bd-settingspane-container\x20'+b['dotCN']['scrollerwrap']);let a2=![];if(!Z){if(a0){let a3=b['ReactUtils']['findConstructor'](a0,X,{'unlimited':!![]})||b['ReactUtils']['findConstructor'](a0,X,{'unlimited':!![],'up':!![]});if(a3&&(a2=!![]))F(a3,X,Y);}if(!a2&&a1){let a4=b['ReactUtils']['findConstructor'](a1,X,{'unlimited':!![]});if(a4&&(a2=!![]))F(a4,X,Y);}}if(!a2){let a5=![],a6=b['disCN'][W],a7=b['dotCN'][W];for(let a8 of document['querySelectorAll'](a7)){a5=G(a8,X,Y);if(a5)break;}if(!a5){let a9=new MutationObserver(aa=>{aa['forEach'](ab=>{ab['addedNodes']['forEach'](ac=>{if(a5||!ac||!ac['tagName'])return;let ad=null;if((ad=b['DOMUtils']['containsClass'](ac,a6)?ac:ac['querySelector'](a7))!=null){a5=G(ad,X,Y);if(a5)a9['disconnect']();}});});});b['ObserverUtils']['connect'](E,b['dotCN']['appmount'],{'name':'checkForinstanceObserver','instance':a9,'multi':!![]},{'childList':!![],'subtree':!![]});}}}function I(W,X){if(!W)return![];W=W['_reactInternalFiber']&&W['_reactInternalFiber']['type']?W['_reactInternalFiber']['type']:W;W=c['isInstanceCorrect'](W,X)?W:b['ReactUtils']['findConstructor'](W,X)||b['ReactUtils']['findConstructor'](W,X,{'up':!![]});return!!W;}};c['isInstanceCorrect']=function(E,F){return E&&(E['type']&&(E['type']['render']&&E['type']['render']['displayName']===F||E['type']['displayName']===F||E['type']['name']===F||E['type']===F)||E['render']&&(E['render']['displayName']===F||E['render']['name']===F)||E['displayName']==F||E['name']===F);};b['DiscordConstants']=b['ModuleUtils']['findByProperties']('Permissions','ActivityTypes');var k={};k['Channel']=b['ModuleUtils']['findByPrototypes']('getRecipientId','isManaged','getGuildId');k['Guild']=b['ModuleUtils']['findByPrototypes']('getIconURL','getMaxEmojiSlots','getRole');k['Invite']=b['ModuleUtils']['findByPrototypes']('getExpiresAt','isExpired');k['Message']=b['ModuleUtils']['findByPrototypes']('getReaction','getAuthorName','getChannelId');k['Messages']=b['ModuleUtils']['findByPrototypes']('jumpToMessage','hasAfterCached','forEach');k['Timestamp']=b['ModuleUtils']['findByPrototypes']('add','dayOfYear','hasAlignedHourOffset');k['User']=b['ModuleUtils']['findByPrototypes']('hasFlag','isLocalBot','isClaimed');b['DiscordObjects']=Object['assign']({},k);var l={};for(let E of['child_process','electron','fs','path','process','request']){try{l[E]=require(E);}catch(F){}}b['LibraryRequires']=Object['assign']({},l);var m={};m['AckUtils']=b['ModuleUtils']['findByProperties']('localAck','bulkAck');m['APIUtils']=b['ModuleUtils']['findByProperties']('getAPIBaseURL');m['AnalyticsUtils']=b['ModuleUtils']['findByProperties']('isThrottled','track');m['AnimationUtils']=b['ModuleUtils']['findByProperties']('spring','decay');m['BadgeUtils']=b['ModuleUtils']['findByProperties']('getBadgeCountString','getBadgeWidthForValue');m['CallUtils']=b['ModuleUtils']['findByProperties']('getCalls','isCallActive');m['CategoryCollapseStore']=b['ModuleUtils']['findByProperties']('getCollapsedCategories','isCollapsed');m['CategoryCollapseUtils']=b['ModuleUtils']['findByProperties']('categoryCollapse','categoryCollapseAll');m['ChannelStore']=b['ModuleUtils']['findByProperties']('getChannel','getChannels');m['ColorUtils']=b['ModuleUtils']['findByProperties']('hex2int','hex2rgb');m['ContextMenuUtils']=b['ModuleUtils']['findByProperties']('closeContextMenu','openContextMenu');m['CopyLinkUtils']=b['ModuleUtils']['findByProperties']('SUPPORTS_COPY','copy');m['CurrentUserStore']=b['ModuleUtils']['findByProperties']('getCurrentUser');m['CurrentVoiceUtils']=b['ModuleUtils']['findByProperties']('getAveragePing','isConnected');m['DirectMessageStore']=b['ModuleUtils']['findByProperties']('getPrivateChannelIds','getPrivateChannelTimestamps');m['DirectMessageUnreadStore']=b['ModuleUtils']['findByProperties']('getUnreadPrivateChannelIds');m['DispatchApiUtils']=b['ModuleUtils']['findByProperties']('dirtyDispatch','isDispatching');m['DispatchUtils']=b['ModuleUtils']['findByProperties']('ComponentDispatch');m['DirectMessageUtils']=b['ModuleUtils']['findByProperties']('addRecipient','openPrivateChannel');m['EmojiUtils']=b['ModuleUtils']['findByProperties']('translateInlineEmojiToSurrogates','translateSurrogatesToInlineEmoji');m['EmojiStateUtils']=b['ModuleUtils']['findByProperties']('getURL','isEmojiDisabled');m['FriendUtils']=b['ModuleUtils']['findByProperties']('getFriendIDs','getRelationships');m['FolderStore']=b['ModuleUtils']['findByProperties']('getGuildFolderById','getFlattenedGuilds');m['FolderUtils']=b['ModuleUtils']['findByProperties']('isFolderExpanded','getExpandedFolders');m['GuildBoostUtils']=b['ModuleUtils']['findByProperties']('getTierName','getUserLevel');m['GuildChannelStore']=b['ModuleUtils']['findByProperties']('getChannels','getDefaultChannel');m['GuildEmojiStore']=b['ModuleUtils']['findByProperties']('getGuildEmoji','getDisambiguatedEmojiContext');m['GuildNotificationsUtils']=b['ModuleUtils']['findByProperties']('updateChannelOverrideSettings','updateNotificationSettings');m['GuildSettingsSectionUtils']=b['ModuleUtils']['findByProperties']('getGuildSettingsSections');m['GuildSettingsUtils']=b['ModuleUtils']['findByProperties']('open','updateGuild');m['GuildStore']=b['ModuleUtils']['findByProperties']('getGuild','getGuilds');m['GuildUnavailableStore']=b['ModuleUtils']['findByProperties']('isUnavailable','totalUnavailableGuilds');m['GuildUtils']=b['ModuleUtils']['findByProperties']('transitionToGuildSync');m['GuildWelcomeStore']=b['ModuleUtils']['findByProperties']('hasSeen','get');m['GuildWelcomeUtils']=b['ModuleUtils']['findByProperties']('welcomeScreenViewed','resetWelcomeScreen');m['HistoryUtils']=b['ModuleUtils']['findByProperties']('transitionTo','replaceWith','getHistory');;m['IconUtils']=b['ModuleUtils']['findByProperties']('getGuildIconURL','getGuildBannerURL');m['InviteUtils']=b['ModuleUtils']['findByProperties']('acceptInvite','createInvite');m['KeyCodeUtils']=Object['assign']({},b['ModuleUtils']['findByProperties']('toCombo','keyToCode'));m['KeyCodeUtils']['getString']=function(G){return m['KeyCodeUtils']['toString']([G]['flat'](0xa)['filter'](H=>H)['map'](H=>[b['DiscordConstants']['KeyboardDeviceTypes']['KEYBOARD_KEY'],H,b['DiscordConstants']['KeyboardEnvs']['BROWSER']]),!![]);};m['KeyEvents']=b['ModuleUtils']['findByProperties']('aliases','code','codes');m['LanguageStore']=b['ModuleUtils']['findByProperties']('getLanguages','Messages');m['LastChannelStore']=b['ModuleUtils']['findByProperties']('getLastSelectedChannelId');m['LastGuildStore']=b['ModuleUtils']['findByProperties']('getLastSelectedGuildId');m['LoginUtils']=b['ModuleUtils']['findByProperties']('login','logout');m['MemberStore']=b['ModuleUtils']['findByProperties']('getMember','getMembers');m['MentionUtils']=b['ModuleUtils']['findByProperties']('isRawMessageMentioned','isMentioned');m['MessagePinUtils']=b['ModuleUtils']['findByProperties']('pinMessage','unpinMessage');m['MessageStore']=b['ModuleUtils']['findByProperties']('getMessage','getMessages');m['MessageUtils']=b['ModuleUtils']['findByProperties']('receiveMessage','editMessage');m['ModalUtils']=b['ModuleUtils']['findByProperties']('openModal','hasModalOpen');m['MutedUtils']=b['ModuleUtils']['findByProperties']('isGuildOrCategoryOrChannelMuted');m['NoteStore']=b['ModuleUtils']['findByProperties']('getNote');m['NotificationSettingsStore']=b['ModuleUtils']['findByProperties']('getDesktopType','getTTSType');m['NotificationSettingsUtils']=b['ModuleUtils']['findByProperties']('setDesktopType','setTTSType');m['NotificationUtils']=b['ModuleUtils']['findByProperties']('makeTextChatNotification','shouldNotify');m['PlatformUtils']=b['ModuleUtils']['findByProperties']('isWindows','isLinux');m['PermissionUtils']=b['ModuleUtils']['findByProperties']('getChannelPermissions','canUser');m['PermissionRoleUtils']=b['ModuleUtils']['findByProperties']('getHighestRole','can');m['QuoteUtils']=b['ModuleUtils']['findByProperties']('canQuote','createQuotedText');m['ReactionUtils']=b['ModuleUtils']['findByProperties']('addReaction','removeReaction');m['RecentMentionUtils']=b['ModuleUtils']['findByProperties']('deleteRecentMention','fetchRecentMentions');m['SearchPageUtils']=b['ModuleUtils']['findByProperties']('searchNextPage','searchPreviousPage');m['SelectChannelUtils']=b['ModuleUtils']['findByProperties']('selectChannel','selectPrivateChannel');m['SettingsUtils']=b['ModuleUtils']['findByProperties']('updateRemoteSettings','updateLocalSettings');m['SoundStateUtils']=b['ModuleUtils']['findByProperties']('isSoundDisabled','getDisabledSounds');m['SoundUtils']=b['ModuleUtils']['findByProperties']('playSound','createSound');m['SpellCheckUtils']=b['ModuleUtils']['findByProperties']('learnWord','toggleSpellcheck');m['SlateUtils']=b['ModuleUtils']['findByProperties']('serialize','deserialize');m['SlateSelectionUtils']=b['ModuleUtils']['findByProperties']('serialize','serializeSelection');m['SlowmodeUtils']=b['ModuleUtils']['findByProperties']('getSlowmodeCooldownGuess');m['StateStoreUtils']=b['ModuleUtils']['findByProperties']('useStateFromStores','useStateFromStoresArray');m['StatusMetaUtils']=b['ModuleUtils']['findByProperties']('getApplicationActivity','getStatus');m['StoreChangeUtils']=b['ModuleUtils']['findByProperties']('get','set','clear','remove');m['StreamerModeStore']=b['ModuleUtils']['findByProperties']('disableSounds','hidePersonalInformation');m['StreamUtils']=b['ModuleUtils']['findByProperties']('getStreamForUser','getActiveStream');m['StringUtils']=b['ModuleUtils']['findByProperties']('cssValueToNumber','upperCaseFirstChar');m['UnreadGuildUtils']=b['ModuleUtils']['findByProperties']('hasUnread','getUnreadGuilds');m['UnreadChannelUtils']=b['ModuleUtils']['findByProperties']('getUnreadCount','getOldestUnreadMessageId');m['UploadUtils']=b['ModuleUtils']['findByProperties']('upload','instantBatchUpload');m['UserFetchUtils']=b['ModuleUtils']['findByProperties']('fetchCurrentUser','getUser');m['UserNameUtils']=b['ModuleUtils']['findByProperties']('getName','getNickname');m['UserStore']=b['ModuleUtils']['findByProperties']('getUser','getUsers');m['Utilities']=b['ModuleUtils']['findByProperties']('flatMap','cloneDeep');m['VoiceUtils']=b['ModuleUtils']['findByProperties']('getAllVoiceStates','getVoiceStatesForChannel');m['ZoomUtils']=b['ModuleUtils']['findByProperties']('setZoom','setFontSize');b['LibraryModules']=Object['assign']({},m);m['React']=b['ModuleUtils']['findByProperties']('createElement','cloneElement');m['ReactDOM']=b['ModuleUtils']['findByProperties']('render','findDOMNode');b['ReactUtils']=Object['assign']({},m['React'],m['ReactDOM']);b['ReactUtils']['childrenToArray']=function(G){if(G&&G['props']&&G['props']['children']&&!b['ArrayUtils']['is'](G['props']['children'])){var H=G['props']['children'];G['props']['children']=[];G['props']['children']['push'](H);}return G['props']['children'];};b['ReactUtils']['createElement']=function(G,H={}){if(G&&G['defaultProps'])for(let I in G['defaultProps'])if(H[I]==null)H[I]=G['defaultProps'][I];try{return m['React']['createElement'](G||'div',H)||null;}catch(J){b['LogUtils']['error']('Could\x20not\x20create\x20react\x20element!\x20'+J);}return null;};b['ReactUtils']['objectToReact']=function(G){if(!G)return null;else if(typeof G=='string')return G;else if(b['ObjectUtils']['is'](G))return b['ReactUtils']['createElement'](G['type']||G['props']&&G['props']['href']&&'a'||'div',!G['props']?{}:Object['assign']({},G['props'],{'children':G['props']['children']?b['ReactUtils']['objectToReact'](G['props']['children']):null}));else if(b['ArrayUtils']['is'](G))return G['map'](H=>b['ReactUtils']['objectToReact'](H));else return null;};b['ReactUtils']['elementToReact']=function(G,H){if(b['ReactUtils']['isValidElement'](G))return G;else if(!Node['prototype']['isPrototypeOf'](G))return null;else if(G['nodeType']==Node['TEXT_NODE'])return G['nodeValue'];let I={},J=[];if(typeof H=='function')I['ref']=H;for(let L of G['attributes'])I[L['name']]=L['value'];if(G['attributes']['style'])I['style']=b['ObjectUtils']['filter'](G['style'],M=>G['style'][M]&&isNaN(parseInt(M)),!![]);I['children']=[];if(G['style']&&G['style']['cssText'])for(let M of G['style']['cssText']['split'](';'))if(M['endsWith']('!important')){let N=M['split'](':')[0x0];let O=N['replace'](/-([a-z]?)/g,(P,Q)=>Q['toUpperCase']());if(I['style'][O]!=null)J['push'](N);}for(let P of G['childNodes'])I['children']['push'](b['ReactUtils']['elementToReact'](P));I['className']=b['DOMUtils']['formatClassName'](I['className'],I['class']);delete I['class'];let K=b['ReactUtils']['createElement'](G['tagName'],I);b['ReactUtils']['forceStyle'](K,J);return K;};b['ReactUtils']['forceStyle']=function(G,H){if(!b['ReactUtils']['isValidElement'](G)||!b['ObjectUtils']['is'](G['props']['style'])||!b['ArrayUtils']['is'](H)||!H['length'])return;let I=G['ref'];G['ref']=J=>{if(typeof I=='function')I(J);let K=b['ReactUtils']['findDOMNode'](J);if(Node['prototype']['isPrototypeOf'](K))for(let L of H){let M=G['props']['style'][L['replace'](/-([a-z]?)/g,(N,O)=>O['toUpperCase']())];if(M!=null)K['style']['setProperty'](L,M,'important');}};};b['ReactUtils']['findChild']=function(G,H){if(!G||!b['ObjectUtils']['is'](H)||!H['name']&&!H['key']&&!H['props']&&!H['filter'])return H['all']?[]:null;let I=Node['prototype']['isPrototypeOf'](G)?b['ReactUtils']['getInstance'](G):G;if(!b['ObjectUtils']['is'](I)&&!b['ArrayUtils']['is'](I))return null;H['name']=H['name']&&[H['name']]['flat']()['filter'](S=>S);H['key']=H['key']&&[H['key']]['flat']()['filter'](S=>S);H['props']=H['props']&&[H['props']]['flat']()['filter'](S=>S);H['filter']=typeof H['filter']=='function'&&H['filter'];let J=-0x1;let K=performance['now']();let L=H['unlimited']?0x3b9ac9ff:H['depth']===undefined?0x1e:H['depth'];let M=H['unlimited']?0x3b9ac9ff:H['time']===undefined?0x96:H['time'];let N=[];let O=P(I);if(H['all']){for(let S in N)delete N[S]['BDFDBreactSearch'];return N;}else return O;function P(T){let U=null;if(!T||J>=L&&performance['now']()-K>=M)return U;if(!b['ArrayUtils']['is'](T)){if(Q(T)){if(H['all']===undefined||!H['all'])U=T;else if(H['all']){if(!T['BDFDBreactSearch']){T['BDFDBreactSearch']=!![];N['push'](T);}}}else if(T['props']&&T['props']['children']){J++;U=P(T['props']['children']);J--;}}else{for(let V of T)if(V){if(b['ArrayUtils']['is'](V))U=P(V);else if(Q(V)){if(H['all']===undefined||!H['all'])U=V;else if(H['all']){if(!V['BDFDBreactSearch']){V['BDFDBreactSearch']=!![];N['push'](V);}}}else if(V['props']&&V['props']['children']){J++;U=P(V['props']['children']);J--;}}}return U;}function Q(T){if(!T)return![];let U=T['stateNode']?T['stateNode']['props']:T['props'];return T['type']&&H['name']&&H['name']['some'](V=>c['isInstanceCorrect'](T,V))||H['key']&&H['key']['some'](V=>T['key']==V)||U&&H['props']&&H['props'][H['someProps']?'some':'every'](V=>b['ArrayUtils']['is'](V)?b['ArrayUtils']['is'](V[0x1])?V[0x1]['some'](W=>R(U,V[0x0],W)):R(U,V[0x0],V[0x1]):U[V]!==undefined)||H['filter']&&H['filter'](T);}function R(T,U,V){return U!=null&&T[U]!=null&&V!=null&&(U=='className'?('\x20'+T[U]+'\x20')['indexOf']('\x20'+V+'\x20')>-0x1:b['equals'](T[U],V));}};b['ReactUtils']['setChild']=function(G,H){if(!b['ReactUtils']['isValidElement'](G)||!b['ReactUtils']['isValidElement'](H)&&typeof H!='string'&&!b['ArrayUtils']['is'](H))return;let I=![];J(G);function J(L){if(I)return;if(!b['ArrayUtils']['is'](L))K(L);else for(let M of L)K(M);}function K(L){if(!b['ReactUtils']['isValidElement'](L))return;if(b['ReactUtils']['isValidElement'](L['props']['children']))J(L['props']['children']);else if(b['ArrayUtils']['is'](L['props']['children'])){if(L['props']['children']['every'](M=>!M||typeof M=='string')){I=!![];L['props']['children']=[H]['flat'](0xa);}else J(L['props']['children']);}else{I=!![];L['props']['children']=H;}}};b['ReactUtils']['findConstructor']=function(G,H,I={}){if(!b['ObjectUtils']['is'](I))return null;if(!G||!H)return I['all']?I['group']?{}:[]:null;let J=Node['prototype']['isPrototypeOf'](G)?b['ReactUtils']['getInstance'](G):G;if(!b['ObjectUtils']['is'](J))return I['all']?I['group']?{}:[]:null;H=H&&[H]['flat'](0xa)['filter'](S=>typeof S=='string');if(!H['length'])return I['all']?I['group']?{}:[]:null;;let K=-0x1;let L=performance['now']();let M=I['unlimited']?0x3b9ac9ff:I['depth']===undefined?0x1e:I['depth'];let N=I['unlimited']?0x3b9ac9ff:I['time']===undefined?0x96:I['time'];let O=I['up']?{'return':!![],'sibling':!![],'default':!![],'_reactInternalFiber':!![]}:{'child':!![],'sibling':!![],'default':!![],'_reactInternalFiber':!![]};let P=I['group']?{}:[];let Q=R(J);if(I['all']){for(let S in P){if(I['group'])for(let T in P[S])delete P[S][T]['BDFDBreactSearch'];else delete P[S]['BDFDBreactSearch'];}return P;}else return Q;function R(U){K++;let V=undefined;if(U&&!Node['prototype']['isPrototypeOf'](U)&&!b['ReactUtils']['getInstance'](U)&&Kc['isInstanceCorrect'](U,W['split']('\x20_\x20_\x20')[0x0]))){if(I['all']===undefined||!I['all'])V=U['type'];else if(I['all']){if(!U['type']['BDFDBreactSearch']){U['type']['BDFDBreactSearch']=!![];if(I['group']){if(U['type']&&(U['type']['render']&&U['type']['render']['displayName']||U['type']['displayName']||U['type']['name'])){let W=I['name']['find'](X=>(U['type']['render']&&U['type']['render']['displayName']||U['type']['displayName']||U['type']['name']||U['type'])==X['split']('\x20_\x20_\x20')[0x0])||'Default';if(!b['ArrayUtils']['is'](P[W]))P[W]=[];P[W]['push'](U['stateNode']);}}else P['push'](U['type']);}}}if(V===undefined){let X=Object['getOwnPropertyNames'](U);for(let Y=0x0;V===undefined&&YR);H['type']=H['type']&&[H['type']]['flat']()['filter'](R=>R);H['key']=H['key']&&[H['key']]['flat']()['filter'](R=>R);H['props']=H['props']&&[H['props']]['flat']()['filter'](R=>R);let J=-0x1;let K=performance['now']();let L=H['unlimited']?0x3b9ac9ff:H['depth']===undefined?0x1e:H['depth'];let M=H['unlimited']?0x3b9ac9ff:H['time']===undefined?0x96:H['time'];let N=H['up']?{'return':!![],'sibling':!![],'_reactInternalFiber':!![]}:{'child':!![],'sibling':!![],'_reactInternalFiber':!![]};let O=H['group']?{}:[];let P=Q(I);if(H['all']){for(let R in O){if(H['group'])for(let S in O[R])delete O[R][S]['BDFDBreactSearch'];else delete O[R]['BDFDBreactSearch'];}return O;}else return P;function Q(T){J++;let U=undefined;if(T&&!Node['prototype']['isPrototypeOf'](T)&&!b['ReactUtils']['getInstance'](T)&&Jc['isInstanceCorrect'](T,W['split']('\x20_\x20_\x20')[0x0]))||T['type']&&H['type']&&H['type']['some'](W=>b['ArrayUtils']['is'](W)?T['type']===W[0x1]:T['type']===W)||T['key']&&H['key']&&H['key']['some'](W=>T['key']==W)||V&&H['props']&&H['props']['every'](W=>b['ArrayUtils']['is'](W)?b['ArrayUtils']['is'](W[0x1])?W[0x1]['some'](X=>b['equals'](V[W[0x0]],X)):b['equals'](V[W[0x0]],W[0x1]):V[W]!==undefined))){if(H['all']===undefined||!H['all'])U=T['stateNode'];else if(H['all']){if(!T['stateNode']['BDFDBreactSearch']){T['stateNode']['BDFDBreactSearch']=!![];if(H['group']){if(H['name']&&T['type']&&(T['type']['render']&&T['type']['render']['displayName']||T['type']['displayName']||T['type']['name']||T['type'])){let W=H['name']['find'](X=>(T['type']['render']&&T['type']['render']['displayName']||T['type']['displayName']||T['type']['name']||T['type'])==X['split']('\x20_\x20_\x20')[0x0])||'Default';if(!b['ArrayUtils']['is'](O[W]))O[W]=[];O[W]['push'](T['stateNode']);}if(H['type']&&T['type']){let X=[H['type']['find'](Y=>b['ArrayUtils']['is'](Y)&&T['type']===Y[0x1])]['flat'](0xa)[0x0]||'Default';if(!b['ArrayUtils']['is'](O[X]))O[X]=[];O[X]['push'](T['stateNode']);}}else O['push'](T['stateNode']);}}}if(U===undefined){let Y=Object['getOwnPropertyNames'](T);for(let Z=0x0;U===undefined&&ZO);H['key']=H['key']&&[H['key']]['flat']()['filter'](O=>O);H['props']=H['props']&&[H['props']]['flat']()['filter'](O=>O);H['filter']=typeof H['filter']=='function'&&H['filter'];let J=firstArray=I;while(!b['ArrayUtils']['is'](firstArray)&&firstArray['props']&&firstArray['props']['children'])firstArray=firstArray['props']['children'];if(!b['ArrayUtils']['is'](firstArray)){if(J&&J['props']){J['props']['children']=[J['props']['children']];firstArray=J['props']['children'];}else firstArray=[];}return K(I);function K(O){let P=[firstArray,-0x1];if(!O)return P;if(!b['ArrayUtils']['is'](O)){if(M(O))P=L(O);else if(O['props']&&O['props']['children']){J=O;P=K(O['props']['children']);}}else{for(let Q=0x0;P[0x1]==-0x1&&Qc['isInstanceCorrect'](O,Q))||H['key']&&H['key']['some'](Q=>O['key']==Q)||P&&H['props']&&H['props'][H['someProps']?'some':'every'](Q=>b['ArrayUtils']['is'](Q)?b['ArrayUtils']['is'](Q[0x1])?Q[0x1]['some'](R=>N(P,Q[0x0],R)):N(P,Q[0x0],Q[0x1]):P[Q]!==undefined)||H['filter']&&H['filter'](O);}function N(O,P,Q){return P!=null&&O[P]!=null&&Q!=null&&(P=='className'?('\x20'+O[P]+'\x20')['indexOf']('\x20'+Q+'\x20')>-0x1:b['equals'](O[P],Q));}};b['ReactUtils']['findProps']=function(G,H){if(!b['ObjectUtils']['is'](H))return null;if(!G||!H['name']&&!H['key'])return null;let I=Node['prototype']['isPrototypeOf'](G)?b['ReactUtils']['getInstance'](G):G;if(!b['ObjectUtils']['is'](I))return null;H['name']=H['name']&&[H['name']]['flat']()['filter'](P=>P);H['key']=H['key']&&[H['key']]['flat']()['filter'](P=>P);let J=-0x1;let K=performance['now']();let L=H['unlimited']?0x3b9ac9ff:H['depth']===undefined?0x1e:H['depth'];let M=H['unlimited']?0x3b9ac9ff:H['time']===undefined?0x96:H['time'];let N=H['up']?{'return':!![],'sibling':!![],'_reactInternalFiber':!![]}:{'child':!![],'sibling':!![],'_reactInternalFiber':!![]};return O(I);function O(P){J++;let Q=undefined;if(P&&!Node['prototype']['isPrototypeOf'](P)&&!b['ReactUtils']['getInstance'](P)&&Jc['isInstanceCorrect'](P,R['split']('\x20_\x20_\x20')[0x0]))||H['key']&&H['key']['some'](R=>P['key']==R)))Q=P['memoizedProps'];if(Q===undefined){let R=Object['getOwnPropertyNames'](P);for(let S=0x0;Q===undefined&&SI))if(H['updater']&&typeof H['updater']['isMounted']=='function'&&H['updater']['isMounted'](H))H['forceUpdate']();};b['ReactUtils']['getInstance']=function(G){if(!b['ObjectUtils']['is'](G))return null;return G[Object['keys'](G)['find'](H=>H['startsWith']('__reactInternalInstance'))];};b['ReactUtils']['getValue']=function(G,H){if(!G||!H)return null;let I=Node['prototype']['isPrototypeOf'](G)?b['ReactUtils']['getInstance'](G):G;if(!b['ObjectUtils']['is'](I))return null;let J=I,K=H['split']('.')['filter'](L=>L);for(value of K){if(!J)return null;J=J[value];}return J;};b['ReactUtils']['render']=function(G,H){if(!b['ReactUtils']['isValidElement'](G)||!Node['prototype']['isPrototypeOf'](H))return;try{m['ReactDOM']['render'](G,H);let I=new MutationObserver(J=>J['forEach'](K=>{let L=Array['from'](K['removedNodes']);if(L['indexOf'](H)>-0x1||L['some'](M=>M['contains'](H))){I['disconnect']();b['ReactUtils']['unmountComponentAtNode'](H);}}));I['observe'](document['body'],{'subtree':!![],'childList':!![]});}catch(J){b['LogUtils']['error']('Could\x20not\x20render\x20react\x20element!\x20'+J);}};c['setDefaultProps']=function(G,H){if(b['ObjectUtils']['is'](G))G['defaultProps']=Object['assign']({},G['defaultProps'],H);};c['loadPatchedComp']=function(G){let H=b['ReactUtils']['getValue'](window['BDFDB'],'LibraryComponents.'+G);if(H&&H['prototype']&&H['prototype']['BDFDBpatch'])return H;};b['sameProto']=function(G,H){if(G!=null&&typeof G=='object')return G['constructor']&&G['constructor']['prototype']&&typeof G['constructor']['prototype']['isPrototypeOf']=='function'&&G['constructor']['prototype']['isPrototypeOf'](H);else return typeof G==typeof H;};b['equals']=function(G,H,I){var J=-0x1;if(I===undefined||typeof I!=='boolean')I=![];return K(G,H);function K(L,M){J++;var N=!![];if(J>0x3e8)N=null;else{if(typeof L!==typeof M)N=![];else if(typeof L==='function')N=L['toString']()==M['toString']();else if(typeof L==='undefined')N=!![];else if(typeof L==='symbol')N=!![];else if(typeof L==='boolean')N=L==M;else if(typeof L==='string')N=L==M;else if(typeof L==='number'){if(isNaN(L)||isNaN(M))N=isNaN(L)==isNaN(M);else N=L==M;}else if(!L&&!M)N=!![];else if(!L||!M)N=![];else if(typeof L==='object'){var O=Object['getOwnPropertyNames'](L);var P=Object['getOwnPropertyNames'](M);if(O['length']!==P['length'])N=![];else for(let Q=0x0;N===!![]&&Q{let H=b['ReactUtils']['findOwner'](document['querySelector'](b['dotCN']['app']),{'name':'Messages','unlimited':!![]});let I=b['ReactUtils']['getValue'](H,'_reactInternalFiber.type.prototype');if(H&&I){b['ModuleUtils']['patch'](b,I,'render',{'after':J=>{let [K,L]=b['ReactUtils']['findParent'](J['returnValue'],{'props':['message','channel']});if(L>-0x1)for(let M of K)if(M['props']['message'])M['props']['message']=new b['DiscordObjects']['Message'](M['props']['message']);}},{'once':!![]});b['ReactUtils']['forceUpdate'](H);}},0x3e8);};b['UserUtils']={};b['UserUtils']['is']=function(G){return G&&G instanceof b['DiscordObjects']['User'];};var o=m['CurrentUserStore']&&m['CurrentUserStore']['getCurrentUser']();b['UserUtils']['me']=new Proxy(o||{},{'get':function(G,H){return(o=m['CurrentUserStore']['getCurrentUser']())&&o[H];}});b['UserUtils']['getStatus']=function(G=b['UserUtils']['me']['id']){G=typeof G=='number'?G['toFixed']():G;let H=b['UserUtils']['getActivitiy'](G);return H&&H['type']==b['DiscordConstants']['ActivityTypes']['STREAMING']?'streaming':m['StatusMetaUtils']['getStatus'](G);};b['UserUtils']['getStatusColor']=function(G){G=typeof G=='string'?G['toLowerCase']():null;switch(G){case'online':return b['DiscordConstants']['Colors']['STATUS_GREEN'];case'mobile':return b['DiscordConstants']['Colors']['STATUS_GREEN'];case'idle':return b['DiscordConstants']['Colors']['STATUS_YELLOW'];case'dnd':return b['DiscordConstants']['Colors']['STATUS_RED'];case'playing':return b['DiscordConstants']['Colors']['BRAND'];case'listening':return b['DiscordConstants']['Colors']['SPOTIFY'];case'streaming':return b['DiscordConstants']['Colors']['TWITCH'];default:return b['DiscordConstants']['Colors']['STATUS_GREY'];}};b['UserUtils']['getActivitiy']=function(G=b['UserUtils']['me']['id']){for(let H of m['StatusMetaUtils']['getActivities'](G))if(H['type']!=b['DiscordConstants']['ActivityTypes']['CUSTOM_STATUS'])return H;return null;};b['UserUtils']['getAvatar']=function(G=b['UserUtils']['me']['id']){let H=m['UserStore']['getUser'](typeof G=='number'?G['toFixed']():G);if(!H)return window['location']['origin']+'/assets/322c936a8c8be1b803cd94861bdfa868.png';else return((H['avatar']?'':window['location']['origin'])+m['IconUtils']['getUserAvatarURL'](H))['split']('?')[0x0];};b['UserUtils']['can']=function(G,H=b['UserUtils']['me']['id'],I=m['LastChannelStore']['getChannelId']()){if(!b['DiscordConstants']['Permissions'][G])b['LogUtils']['warn'](G+'\x20not\x20found\x20in\x20Permissions');else{let J=m['ChannelStore']['getChannel'](I);if(J)return m['PermissionUtils']['canUser'](H,b['DiscordConstants']['Permissions'][G],J);}return![];};let p;b['GuildUtils']={};b['GuildUtils']['is']=function(G){if(!b['ObjectUtils']['is'](G))return![];let H=Object['keys'](G);return G instanceof b['DiscordObjects']['Guild']||Object['keys'](new b['DiscordObjects']['Guild']({}))['every'](I=>H['indexOf'](I)>-0x1);};b['GuildUtils']['getIcon']=function(G){let H=m['GuildStore']['getGuild'](typeof G=='number'?G['toFixed']():G);if(!H||!H['icon'])return null;return m['IconUtils']['getGuildIconURL'](H)['split']('?')[0x0];};b['GuildUtils']['getBanner']=function(G){let H=m['GuildStore']['getGuild'](typeof G=='number'?G['toFixed']():G);if(!H||!H['banner'])return null;return m['IconUtils']['getGuildBannerURL'](H)['split']('?')[0x0];};b['GuildUtils']['getFolder']=function(G){return b['LibraryModules']['FolderStore']['guildFolders']['filter'](H=>H['folderId'])['find'](H=>H['guildIds']['includes'](G));};b['GuildUtils']['getId']=function(G){if(!Node['prototype']['isPrototypeOf'](G)||!b['ReactUtils']['getInstance'](G))return;let H=b['DOMUtils']['getParent'](b['dotCN']['guildouter'],G);if(!H)return;let I=H['querySelector'](b['dotCN']['guildiconwrapper']);let J=I&&I['href']?I['href']['split']('/')['slice'](-0x2)[0x0]:null;return J&&!isNaN(parseInt(J))?J['toString']():null;};b['GuildUtils']['getData']=function(G){if(!G)return null;let H=Node['prototype']['isPrototypeOf'](G)?b['GuildUtils']['getId'](G):typeof G=='object'?G['id']:G;H=typeof H=='number'?H['toFixed']():H;for(let I of b['GuildUtils']['getAll']())if(I&&I['id']==H)return I;return null;};b['GuildUtils']['getAll']=function(){let G=[],H=[];for(let I of b['ReactUtils']['findOwner'](document['querySelector'](b['dotCN']['guilds']),{'name':['Guild','GuildIcon'],'all':!![],'unlimited':!![]})){if(I['props']&&I['props']['guild'])H['push'](Object['assign'](new I['props']['guild']['constructor'](I['props']['guild']),{'div':I['handleContextMenu']&&b['ReactUtils']['findDOMNode'](I),'instance':I}));}for(let J of b['LibraryModules']['FolderStore']['getFlattenedGuildIds']()){let K=null;for(let L of H)if(L['id']==J){K=L;break;}if(K)G['push'](K);else{let M=b['LibraryModules']['GuildStore']['getGuild'](J);if(M)G['push'](Object['assign'](new M['constructor'](M),{'div':null,'instance':null}));}}return G;};b['GuildUtils']['getUnread']=function(G){let H=[];for(let I of G===undefined||!b['ArrayUtils']['is'](G)?b['GuildUtils']['getAll']():G){if(!I)return null;let J=Node['prototype']['isPrototypeOf'](I)?b['GuildUtils']['getId'](I):typeof I=='object'?I['id']:I;J=typeof J=='number'?J['toFixed']():J;if(J&&(m['UnreadGuildUtils']['hasUnread'](J)||m['UnreadGuildUtils']['getMentionCount'](J)>0x0))H['push'](I);}return H;};b['GuildUtils']['getPinged']=function(G){let H=[];for(let I of G===undefined||!b['ArrayUtils']['is'](G)?b['GuildUtils']['getAll']():G){if(!I)return null;let J=Node['prototype']['isPrototypeOf'](I)?b['GuildUtils']['getId'](I):typeof I=='object'?I['id']:I;J=typeof J=='number'?J['toFixed']():J;if(J&&m['UnreadGuildUtils']['getMentionCount'](J)>0x0)H['push'](I);}return H;};b['GuildUtils']['getMuted']=function(G){let H=[];for(let I of G===undefined||!b['ArrayUtils']['is'](G)?b['GuildUtils']['getAll']():G){if(!I)return null;let J=Node['prototype']['isPrototypeOf'](I)?b['GuildUtils']['getId'](I):typeof I=='object'?I['id']:I;J=typeof J=='number'?J['toFixed']():J;if(J&&m['MutedUtils']['isGuildOrCategoryOrChannelMuted'](J))H['push'](I);}return H;};b['GuildUtils']['getSelected']=function(){let G=m['GuildStore']['getGuild'](m['LastGuildStore']['getGuildId']());if(G)return b['GuildUtils']['getData'](G['id'])||Object['assign'](new G['constructor'](G),{'div':null,'instance':null});else return null;};b['GuildUtils']['openMenu']=function(G,H=b['InternalData']['mousePosition']){if(!G)return;let I=Node['prototype']['isPrototypeOf'](G)?b['GuildUtils']['getId'](G):typeof G=='object'?G['id']:G;let J=m['GuildStore']['getGuild'](I);if(J)m['ContextMenuUtils']['openContextMenu'](H,function(K){return b['ReactUtils']['createElement']((b['ModuleUtils']['findByName']('GuildContextMenu',![])||{'exports':{}})['exports']['default'],Object['assign']({},K,{'guild':J}));});};b['GuildUtils']['markAsRead']=function(G){if(!G)return;let H=[];for(let I of b['ArrayUtils']['is'](G)?G:typeof G=='string'||typeof G=='number'?Array['of'](G):Array['from'](G)){let J=Node['prototype']['isPrototypeOf'](I)?b['GuildUtils']['getId'](I):I&&typeof I=='object'?I['id']:I;let K=J&&m['GuildChannelStore']['getChannels'](J);if(K)for(let L in K)if(b['ArrayUtils']['is'](K[L]))for(let M of K[L])H['push'](M['channel']['id']);}if(H['length'])b['ChannelUtils']['markAsRead'](H);};b['GuildUtils']['rerenderAll']=function(){b['TimeUtils']['clear'](p);p=b['TimeUtils']['timeout'](G=>{let H=b['ReactUtils']['findOwner'](document['querySelector'](b['dotCN']['app']),{'name':'Guilds','unlimited':!![]});let I=b['ReactUtils']['getValue'](H,'_reactInternalFiber.type.prototype');if(H&&I){b['ModuleUtils']['patch'](b,I,'render',{'after':J=>{let [K,L]=b['ReactUtils']['findParent'](J['returnValue'],{'name':'ConnectedUnreadDMs'});if(L>-0x1)K['splice'](L+0x1,0x0,b['ReactUtils']['createElement']('div',{}));b['ReactUtils']['forceUpdate'](H);}},{'once':!![]});b['ReactUtils']['forceUpdate'](H);}},0x3e8);};b['FolderUtils']={};b['FolderUtils']['getId']=function(G){if(!Node['prototype']['isPrototypeOf'](G)||!b['ReactUtils']['getInstance'](G))return;G=b['DOMUtils']['getParent'](b['dotCN']['guildfolderwrapper'],G);if(!G)return;return b['ReactUtils']['findValue'](G,'folderId',{'up':!![]});};b['FolderUtils']['getDefaultName']=function(G){let H=b['LibraryModules']['FolderStore']['getGuildFolderById'](G);if(!H)return'';let I=0x2*b['DiscordConstants']['MAX_GUILD_FOLDER_NAME_LENGTH'];let J=[],K=H['guildIds']['map'](L=>(b['LibraryModules']['GuildStore']['getGuild'](L)||{})['name'])['filter'](L=>L);for(let L of K)if(L['length']H['indexOf'](I)>-0x1);};b['ChannelUtils']['isTextChannel']=function(G){let H=typeof G=='string'?m['ChannelStore']['getChannel'](G):G;return b['ObjectUtils']['is'](H)&&(H['type']==b['DiscordConstants']['ChannelTypes']['GUILD_TEXT']||H['type']==b['DiscordConstants']['ChannelTypes']['GUILD_STORE']||H['type']==b['DiscordConstants']['ChannelTypes']['GUILD_ANNOUNCEMENT']);};b['ChannelUtils']['getId']=function(G){if(!Node['prototype']['isPrototypeOf'](G)||!b['ReactUtils']['getInstance'](G))return;G=b['DOMUtils']['getParent'](b['dotCNC']['categorycontainerdefault']+b['dotCNC']['channelcontainerdefault']+b['dotCN']['dmchannel'],G);if(!G)return;let H=b['ReactUtils']['findValue'](G,'channel');return H?H['id']['toString']():null;};b['ChannelUtils']['getDiv']=function(G){if(!G)return null;let H=b['ChannelUtils']['getData'](G);return H?H['div']:null;};b['ChannelUtils']['getData']=function(G){if(!G)return null;let H=Node['prototype']['isPrototypeOf'](G)?b['ChannelUtils']['getId'](G):typeof G=='object'?G['id']:G;H=typeof H=='number'?H['toFixed']():H;for(let I of b['ChannelUtils']['getAll']())if(I&&I['id']==H)return I;return null;};b['ChannelUtils']['getName']=function(G,H){let I=b['LibraryModules']['ChannelStore']['getChannel'](G);if(!I)return'';switch(I['type']){case b['DiscordConstants']['ChannelTypes']['DM']:let J=I['recipients']['map'](b['LibraryModules']['UserStore']['getUser'])['filter'](L=>L)[0x0];return(H&&'@'||'')+(J&&J['toString']()||'');case b['DiscordConstants']['ChannelTypes']['GROUP_DM']:if(I['name'])return I['name'];let K=I['recipients']['map'](b['LibraryModules']['UserStore']['getUser'])['filter'](L=>L);return K['length']>0x0?K['map'](L=>L['toString'])['join'](',\x20'):b['LanguageUtils']['LanguageStrings']['UNNAMED'];case b['DiscordConstants']['ChannelTypes']['GUILD_ANNOUNCEMENT']:case b['DiscordConstants']['ChannelTypes']['GUILD_TEXT']:return(H&&'#'||'')+I['name'];default:return I['name'];}};b['ChannelUtils']['getAll']=function(){let G=[];for(let I of b['ReactUtils']['findOwner'](document['querySelector'](b['dotCN']['channels']),{'name':['ChannelCategoryItem','ChannelItem','PrivateChannel'],'all':!![],'unlimited':!![]}))if(I['props']&&!I['props']['ispin']&&I['props']['channel']&&I['_reactInternalFiber']['return']){var H=b['ReactUtils']['findDOMNode'](I);H=H&&b['DOMUtils']['containsClass'](H['parentElement'],b['disCN']['categorycontainerdefault'],b['disCN']['channelcontainerdefault'],![])?H['parentElement']:H;G['push'](Object['assign'](new I['props']['channel']['constructor'](I['props']['channel']),{'div':H,'instance':I}));}return G;};b['ChannelUtils']['getSelected']=function(){let G=m['ChannelStore']['getChannel'](m['LastChannelStore']['getChannelId']());if(G)return b['ChannelUtils']['getData'](G['id'])||Object['assign'](new G['constructor'](G),{'div':null,'instance':null});else return null;};b['ChannelUtils']['markAsRead']=function(G){if(!G)return;let H=[];for(let I of G=b['ArrayUtils']['is'](G)?G:typeof G=='string'||typeof G=='number'?Array['of'](G):Array['from'](G)){let J=Node['prototype']['isPrototypeOf'](I)?b['ChannelUtils']['getId'](I):I&&typeof I=='object'?I['id']:I;if(J&&b['ChannelUtils']['isTextChannel'](J))H['push']({'channelId':J,'messageId':m['UnreadChannelUtils']['lastMessageId'](J)});}if(H['length'])m['AckUtils']['bulkAck'](H);};b['DMUtils']={};b['DMUtils']['isDMChannel']=function(G){let H=typeof G=='string'?m['ChannelStore']['getChannel'](G):G;return b['ObjectUtils']['is'](H)&&(H['type']==b['DiscordConstants']['ChannelTypes']['DM']||H['type']==b['DiscordConstants']['ChannelTypes']['GROUP_DM']);};b['DMUtils']['getIcon']=function(G){let H=m['ChannelStore']['getChannel'](G=typeof G=='number'?G['toFixed']():G);if(!H)return null;if(!H['icon'])return H['type']==0x1?b['UserUtils']['getAvatar'](H['recipients'][0x0]):H['type']==0x3?window['location']['origin']+m['IconUtils']['getChannelIconURL'](H)['split']('?')[0x0]:null;return m['IconUtils']['getChannelIconURL'](H)['split']('?')[0x0];};b['DMUtils']['getId']=function(G){if(!Node['prototype']['isPrototypeOf'](G)||!b['ReactUtils']['getInstance'](G))return;let H=b['DOMUtils']['getParent'](b['dotCN']['guildouter'],G);if(!H)return;let I=H['querySelector'](b['dotCN']['guildiconwrapper']);let J=I&&I['href']?I['href']['split']('/')['slice'](-0x1)[0x0]:null;return J&&!isNaN(parseInt(J))?J['toString']():null;};b['DMUtils']['getDiv']=function(G){if(!G)return null;if(Node['prototype']['isPrototypeOf'](G)){var H=b['DOMUtils']['getParent'](b['dotCN']['guildouter'],G);return H?H['parentElement']:H;}else{let I=typeof G=='object'?G['id']:G;if(I){var H=b['DOMUtils']['getParent'](b['dotCN']['guildouter'],document['querySelector'](b['dotCNS']['guilds']+b['dotCN']['dmpill']+'\x20+\x20*\x20'+b['dotCN']['guildiconwrapper']+'[href*=\x22/channels/@me/'+I+'\x22]'));return H&&b?H['parentElement']:H;}}return null;};b['DMUtils']['getData']=function(G){if(!G)return null;let H=Node['prototype']['isPrototypeOf'](G)?b['BDFDB']['DMUtils']['getId'](G):typeof G=='object'?G['id']:G;H=typeof H=='number'?H['toFixed']():H;for(let I of b['DMUtils']['getAll']())if(I&&I['id']==H)return I;return null;};b['DMUtils']['getAll']=function(){let G=[];for(let H of b['ReactUtils']['findOwner'](document['querySelector'](b['dotCN']['guilds']),{'name':'DirectMessage','all':!![],'unlimited':!![]})){if(H['props']&&H['props']['channel'])G['push'](Object['assign'](new H['props']['channel']['constructor'](H['props']['channel']),{'div':b['ReactUtils']['findDOMNode'](H),'instance':H}));}return G;};b['DMUtils']['openMenu']=function(G,H=b['InternalData']['mousePosition']){if(!G)return;let I=Node['prototype']['isPrototypeOf'](G)?b['ChannelUtils']['getId'](G):typeof G=='object'?G['id']:G;let J=m['ChannelStore']['getChannel'](I);if(J){if(J['isMultiUserDM']())m['ContextMenuUtils']['openContextMenu'](H,function(K){return b['ReactUtils']['createElement']((b['ModuleUtils']['findByName']('GroupDMContextMenu',![])||{'exports':{}})['exports']['default'],Object['assign']({},K,{'channel':J,'selected':J['id']==m['LastChannelStore']['getChannelId']()}));});else m['ContextMenuUtils']['openContextMenu'](H,function(K){return b['ReactUtils']['createElement']((b['ModuleUtils']['findByName']('DMUserContextMenu',![])||{'exports':{}})['exports']['default'],Object['assign']({},K,{'user':m['UserStore']['getUser'](J['recipients'][0x0]),'channel':J,'selected':J['id']==m['LastChannelStore']['getChannelId']()}));});}};b['DMUtils']['markAsRead']=function(G){if(!G)return;let H=[];for(let I of G=b['ArrayUtils']['is'](G)?G:typeof G=='string'||typeof G=='number'?Array['of'](G):Array['from'](G)){let J=Node['prototype']['isPrototypeOf'](I)?b['BDFDB']['DMUtils']['getId'](I):I&&typeof I=='object'?I['id']:I;if(J)H['push'](J);}for(let K in H)b['TimeUtils']['timeout'](L=>{m['AckUtils']['ack'](H[K]);},K*0x3e8);};b['DataUtils']={};b['DataUtils']['cached']=window['BDFDB']&&window['BDFDB']['DataUtils']&&window['BDFDB']['DataUtils']['cached']||{};b['DataUtils']['save']=function(G,H,I,J){H=H==b&&c||H;let K=typeof H==='string'?H:H['name'];let L=l['path']['join'](b['BDUtils']['getPluginsFolder'](),K+'.config.json');let M=b['DataUtils']['cached'][K]!==undefined?b['DataUtils']['cached'][K]:c['readConfig'](L)||{};if(I===undefined)M=b['ObjectUtils']['is'](G)?b['ObjectUtils']['sort'](G):G;else{if(J===undefined)M[I]=b['ObjectUtils']['is'](G)?b['ObjectUtils']['sort'](G):G;else{if(!b['ObjectUtils']['is'](M[I]))M[I]={};M[I][J]=b['ObjectUtils']['is'](G)?b['ObjectUtils']['sort'](G):G;}}let N=b['ObjectUtils']['is'](M);if(I!==undefined&&N&&b['ObjectUtils']['is'](M[I])&&b['ObjectUtils']['isEmpty'](M[I]))delete M[I];if(b['ObjectUtils']['isEmpty'](M)){delete b['DataUtils']['cached'][K];if(l['fs']['existsSync'](L))l['fs']['unlinkSync'](L);}else{if(N)M=b['ObjectUtils']['sort'](M);b['DataUtils']['cached'][K]=N?b['ObjectUtils']['deepAssign']({},M):M;c['writeConfig'](L,M);}};b['DataUtils']['load']=function(G,H,I){G=G==b&&c||G;let J=typeof G==='string'?G:G['name'];let K=l['path']['join'](b['BDUtils']['getPluginsFolder'](),J+'.config.json');let L=b['DataUtils']['cached'][J]!==undefined?b['DataUtils']['cached'][J]:c['readConfig'](K)||{};let M=b['ObjectUtils']['is'](L);b['DataUtils']['cached'][J]=M?b['ObjectUtils']['deepAssign']({},L):L;if(H===undefined)return L;else{let N=M?b['ObjectUtils']['is'](L[H])||L[H]==undefined?b['ObjectUtils']['deepAssign']({},L[H]):L[H]:null;if(I===undefined)return N;else return!b['ObjectUtils']['is'](N)||N[I]===undefined?null:N[I];}};b['DataUtils']['remove']=function(G,H,I){G=G==b&&c||G;let J=typeof G==='string'?G:G['name'];let K=l['path']['join'](b['BDUtils']['getPluginsFolder'](),J+'.config.json');let L=b['DataUtils']['cached'][J]!==undefined?b['DataUtils']['cached'][J]:c['readConfig'](K)||{};let M=b['ObjectUtils']['is'](L);if(H===undefined||!M)L={};else{if(I===undefined)delete L[H];else if(b['ObjectUtils']['is'](L[H]))delete L[H][I];}if(b['ObjectUtils']['is'](L[H])&&b['ObjectUtils']['isEmpty'](L[H]))delete L[H];if(b['ObjectUtils']['isEmpty'](L)){delete b['DataUtils']['cached'][J];if(l['fs']['existsSync'](K))l['fs']['unlinkSync'](K);}else{if(M)L=b['ObjectUtils']['sort'](L);b['DataUtils']['cached'][J]=M?b['ObjectUtils']['deepAssign']({},L):L;c['writeConfig'](K,L);}};b['DataUtils']['get']=function(G,H,I){G=G==b&&c||G;G=typeof G=='string'?b['BDUtils']['getPlugin'](G):G;if(!b['ObjectUtils']['is'](G))return I===undefined?{}:null;let J=G['defaults'];if(!b['ObjectUtils']['is'](J)||!J[H])return I===undefined?{}:null;let K=b['DataUtils']['load'](G,H),L={},M=![];for(let N in J[H]){let O=b['ObjectUtils']['is'](J[H][N]['value']);if(K[N]==null||O&&(!b['ObjectUtils']['is'](K[N])||Object['keys'](J[H][N]['value'])['some'](P=>J[H][N]['value'][P]!=null&&!b['sameProto'](J[H][N]['value'][P],K[N][P])))){L[N]=O?b['ObjectUtils']['deepAssign']({},J[H][N]['value']):J[H][N]['value'];M=!![];}else L[N]=K[N];}if(M)b['DataUtils']['save'](L,G,H);if(I===undefined)return L;else return L[I]===undefined?null:L[I];};c['writeConfig']=function(G,H){try{l['fs']['writeFileSync'](G,JSON['stringify'](H,null,'\x09'));}catch(I){}};c['readConfig']=function(G){try{return JSON['parse'](l['fs']['readFileSync'](G));}catch(H){return{};}};b['ColorUtils']={};b['ColorUtils']['convert']=function(G,H,I){if(b['ObjectUtils']['is'](G)){var J={};for(let a7 in G)J[a7]=b['ColorUtils']['convert'](G[a7],H,I);return J;}else{H=H===undefined||!H?H='RGBCOMP':H['toUpperCase']();I=I===undefined||!I||!['RGB','RGBA','RGBCOMP','HSL','HSLA','HSLCOMP','HEX','HEXA','INT']['includes'](I['toUpperCase']())?b['ColorUtils']['getType'](G):I['toUpperCase']();if(H=='RGBCOMP'){switch(I){case'RGBCOMP':if(G['length']==0x3)return a2(G);else if(G['length']==0x4){let aa=a3(G['pop']());return a2(G)['concat'](aa);}break;case'RGB':return a2(G['replace'](/\s/g,'')['slice'](0x4,-0x1)['split'](','));case'RGBA':let a8=G['replace'](/\s/g,'')['slice'](0x5,-0x1)['split'](',');let a9=a3(a8['pop']());return a2(a8)['concat'](a9);case'HSLCOMP':if(G['length']==0x3)return b['ColorUtils']['convert']('hsl('+a5(G)['join'](',')+')','RGBCOMP');else if(G['length']==0x4){let ab=a3(G['pop']());return b['ColorUtils']['convert']('hsl('+a5(G)['join'](',')+')','RGBCOMP')['concat'](ab);}break;case'HSL':var K=a5(G['replace'](/\s/g,'')['slice'](0x4,-0x1)['split'](','));var L,M,N,O,P,Q,R,S;var T=K[0x0]/0x168,U=parseInt(K[0x1])/0x64,V=parseInt(K[0x2])/0x64;O=Math['floor'](T*0x6);P=T*0x6-O;Q=V*(0x1-U);R=V*(0x1-P*U);S=V*(0x1-(0x1-P)*U);switch(O%0x6){case 0x0:L=V,M=S,N=Q;break;case 0x1:L=R,M=V,N=Q;break;case 0x2:L=Q,M=V,N=S;break;case 0x3:L=Q,M=R,N=V;break;case 0x4:L=S,M=Q,N=V;break;case 0x5:L=V,M=Q,N=R;break;}return[Math['round'](L*0xff),Math['round'](M*0xff),Math['round'](N*0xff)];case'HSLA':var K=G['replace'](/\s/g,'')['slice'](0x5,-0x1)['split'](',');return b['ColorUtils']['convert']('hsl('+K['slice'](0x0,0x3)['join'](',')+')','RGBCOMP')['concat'](a3(K['pop']()));case'HEX':var W=/^#([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'](G);return[parseInt(W[0x1]+W[0x1]||W[0x4],0x10)['toString'](),parseInt(W[0x2]+W[0x2]||W[0x5],0x10)['toString'](),parseInt(W[0x3]+W[0x3]||W[0x6],0x10)['toString']()];case'HEXA':var W=/^#([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'](G);return[parseInt(W[0x1]+W[0x1]||W[0x5],0x10)['toString'](),parseInt(W[0x2]+W[0x2]||W[0x6],0x10)['toString'](),parseInt(W[0x3]+W[0x3]||W[0x7],0x10)['toString'](),Math['floor'](b['NumberUtils']['mapRange']([0x0,0xff],[0x0,0x64],parseInt(W[0x4]+W[0x4]||W[0x8],0x10)['toString']()))/0x64];case'INT':G=a6(G);return[(G>>0x10&0xff)['toString'](),(G>>0x8&0xff)['toString'](),(G&0xff)['toString']()];default:return null;}}else{if(H&&I&&H['indexOf']('HSL')==0x0&&I['indexOf']('HSL')==0x0){if(I=='HSLCOMP'){switch(H){case'HSLCOMP':if(G['length']==0x3)return a5(G);else if(G['length']==0x4){var X=a3(G['pop']());return a5(G)['concat'](X);}break;case'HSL':return'hsl('+a5(G['slice'](0x0,0x3))['join'](',')+')';case'HSLA':G=G['slice'](0x0,0x4);var X=G['length']==0x4?a3(G['pop']()):0x1;return'hsla('+a5(G)['concat'](X)['join'](',')+')';}}else return b['ColorUtils']['convert'](G['replace'](/\s/g,'')['slice'](G['toLowerCase']()['indexOf']('hsla')==0x0?0x5:0x4,-0x1)['split'](','),H,'HSLCOMP');}else{let ac=I=='RGBCOMP'?G:b['ColorUtils']['convert'](G,'RGBCOMP',I);if(ac)switch(H){case'RGB':return'rgb('+a2(ac['slice'](0x0,0x3))['join'](',')+')';case'RGBA':ac=ac['slice'](0x0,0x4);var X=ac['length']==0x4?a3(ac['pop']()):0x1;return'rgba('+a2(ac)['concat'](X)['join'](',')+')';case'HSLCOMP':var X=ac['length']==0x4?a3(ac['pop']()):null;var K=a5(b['ColorUtils']['convert'](ac,'HSL')['replace'](/\s/g,'')['split'](','));return X!=null?K['concat'](X):K;case'HSL':var L=a1(ac[0x0]),M=a1(ac[0x1]),N=a1(ac[0x2]);var Y=Math['max'](L,M,N),Z=Math['min'](L,M,N),a0=Y-Z,T,U=Y===0x0?0x0:a0/Y,V=Y/0xff;switch(Y){case Z:T=0x0;break;case L:T=M-N+a0*(M0xff?0xff:ad<0x0?0x0:ad;}};function a2(ad){return ad['map'](ae=>{return a1(ae);});};function a3(ad){if(ad==null){return 0x1;}else{ad=ad['toString']();ad=(ad['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(ad['replace'](/[^0-9\.\-]/g,''));return isNaN(ad)||ad>0x1?0x1:ad<0x0?0x0:ad;}};function a4(ad){if(ad==null){return'100%';}else{ad=parseFloat(ad['toString']()['replace'](/[^0-9\.\-]/g,''));return(isNaN(ad)||ad>0x64?0x64:ad<0x0?0x0:ad)+'%';}};function a5(ad){let ae=parseFloat(ad['shift']()['toString']()['replace'](/[^0-9\.\-]/g,''));ae=isNaN(ae)||ae>0x168?0x168:ae<0x0?0x0:ae;return[ae]['concat'](ad['map'](af=>{return a4(af);}));};function a6(ad){if(ad==null){return 0xffffff;}else{ad=parseInt(ad['toString']()['replace'](/[^0-9]/g,''));return isNaN(ad)||ad>0xffffff?0xffffff:ad<0x0?0x0:ad;}};};b['ColorUtils']['setAlpha']=function(G,H,I){if(b['ObjectUtils']['is'](G)){var J={};for(let L in G)J[L]=b['ColorUtils']['setAlpha'](G[L],H,I);return J;}else{var K=b['ColorUtils']['convert'](G,'RGBCOMP');if(K){H=H['toString']();H=(H['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(H['replace'](/[^0-9\.\-]/g,''));H=isNaN(H)||H>0x1?0x1:H<0x0?0x0:H;K[0x3]=H;I=(I||b['ColorUtils']['getType'](G))['toUpperCase']();I=I=='RGB'||I=='HSL'||I=='HEX'?I+'A':I;return b['ColorUtils']['convert'](K,I);}}return null;};b['ColorUtils']['getAlpha']=function(G){var H=b['ColorUtils']['convert'](G,'RGBCOMP');if(H){if(H['length']==0x3)return 0x1;else if(H['length']==0x4){let I=H[0x3]['toString']();I=(I['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(I['replace'](/[^0-9\.\-]/g,''));return isNaN(I)||I>0x1?0x1:I<0x0?0x0:I;}}return null;};b['ColorUtils']['change']=function(G,H,I){H=parseFloat(H);if(G!=null&&typeof H=='number'&&!isNaN(H)){if(b['ObjectUtils']['is'](G)){var J={};for(let L in G)J[L]=b['ColorUtils']['change'](G[L],H,I);return J;}else{var K=b['ColorUtils']['convert'](G,'RGBCOMP');if(K){if(parseInt(H)!==H){H=H['toString']();H=(H['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(H['replace'](/[^0-9\.\-]/g,''));H=isNaN(H)?0x0:H;return b['ColorUtils']['convert']([Math['round'](K[0x0]*(0x1+H)),Math['round'](K[0x1]*(0x1+H)),Math['round'](K[0x2]*(0x1+H))],I||b['ColorUtils']['getType'](G));}else return b['ColorUtils']['convert']([Math['round'](K[0x0]+H),Math['round'](K[0x1]+H),Math['round'](K[0x2]+H)],I||b['ColorUtils']['getType'](G));}}}return null;};b['ColorUtils']['invert']=function(G,H){if(b['ObjectUtils']['is'](G)){var I={};for(let K in G)I[K]=b['ColorUtils']['invert'](G[K],H);return I;}else{var J=b['ColorUtils']['convert'](G,'RGBCOMP');if(J)return b['ColorUtils']['convert']([0xff-J[0x0],0xff-J[0x1],0xff-J[0x2]],H||b['ColorUtils']['getType'](G));}return null;};b['ColorUtils']['compare']=function(G,H){if(G&&H){G=b['ColorUtils']['convert'](G,'RGBA');H=b['ColorUtils']['convert'](H,'RGBA');if(G&&H)return b['equals'](G,H);}return null;};b['ColorUtils']['isBright']=function(G,H=0xa0){G=b['ColorUtils']['convert'](G,'RGBCOMP');if(!G)return![];return parseInt(H)