diff --git a/Plugins/BDFDB.js b/Plugins/BDFDB.js
index 20b0e6ef53..c6ed5696e4 100644
--- a/Plugins/BDFDB.js
+++ b/Plugins/BDFDB.js
@@ -1 +1 @@
-if(BDFDB&&BDFDB['WebModules']&&typeof BDFDB['WebModules']['unpatchall']=='function')BDFDB['WebModules']['unpatchall'](BDFDB);var BDFDB={'$':BDFDB&&BDFDB['$']?BDFDB['$']:global['$'],'BDv2Api':BDFDB&&BDFDB['BDv2Api']?BDFDB['BDv2Api']:undefined,'creationTime':performance['now'](),'myData':{},'cachedData':{},'pressedKeys':[],'mousePosition':{'pageX':0x0,'pageY':0x0},'name':'$BDFDB'};(()=>{BDFDB['isLibraryOutdated']=function(){return performance['now']()-BDFDB['creationTime']>0x927c0;};BDFDB['loadMessage']=function(c){BDFDB['clearStarttimout'](c);var d=c['name']?c['name']:c['getName']();var e=c['version']?c['version']:c['getVersion']();if(!c['appReload']){if(typeof c['getDescription']==='function'){var f=c['getDescription']();if(f['indexOf']('http://bit.ly/DevilBrosHaus')==-0x1){c['getDescription']=function(){return f+'\x0a\x0aMy\x20Support\x20Server:\x20http://bit.ly/DevilBrosHaus\x20or\x20https://discordapp.com/invite/Jx3TjNS';};}}var g=BDFDB['getLibraryStrings']()['toast_plugin_started']['replace']('${oldVersion}','v'+e);console['log']('%c['+d+']%c','color:\x20#3a71c1;\x20font-weight:\x20700;','',g);if(!(settingsCookie['fork-ps-2']&&settingsCookie['fork-ps-2']===!![])){BDFDB['showToast'](d+'\x20'+g,{'selector':'plugin-started-toast'});}}BDFDB['initProcess'](c);var h=typeof c['getRawUrl']=='function'&&typeof c['getRawUrl']()=='string'?c['getRawUrl']():'https://raw.githubusercontent.com/mwittrien/BetterDiscordAddons/master/Plugins/'+d+'/'+d+'.plugin.js';BDFDB['checkUpdate'](d,h);if(typeof c['initConstructor']==='function')c['initConstructor']();if(typeof c['css']==='string')BDFDB['appendLocalStyle'](d,c['css']);BDFDB['WebModules']['patchModules'](c);BDFDB['addOnSwitchListener'](c);BDFDB['addContextListener'](c);BDFDB['addReloadListener'](c);BDFDB['addSettingsButtonListener'](c);BDFDB['translatePlugin'](c);BDFDB['$'](document)['off']('.'+d);BDFDB['$'](window)['off']('.'+d);BDFDB['$']('*')['off']('.'+d);if(!window['PluginUpdates']||typeof window['PluginUpdates']!=='object')window['PluginUpdates']={'plugins':{}};window['PluginUpdates']['plugins'][h]={'name':d,'raw':h,'version':e};if(typeof window['PluginUpdates']['interval']==='undefined')window['PluginUpdates']['interval']=setInterval(()=>{BDFDB['checkAllUpdates']();},0x6ddd00);delete c['appReload'];c['started']=!![];};BDFDB['unloadMessage']=function(i){BDFDB['clearStarttimout'](i);var j=i['name']?i['name']:i['getName']();var k=i['version']?i['version']:i['getVersion']();if(!i['appReload']){var l=BDFDB['getLibraryStrings']()['toast_plugin_stopped']['replace']('${oldVersion}','v'+k);console['log']('%c['+j+']%c','color:\x20#3a71c1;\x20font-weight:\x20700;','',l);if(!(settingsCookie['fork-ps-2']&&settingsCookie['fork-ps-2']===!![])){BDFDB['showToast'](j+'\x20'+l,{'selector':'plugin-stopped-toast'});}}if(typeof i['css']==='string')BDFDB['removeLocalStyle'](j);BDFDB['WebModules']['unpatchall'](i);BDFDB['removeOnSwitchListener'](i);BDFDB['removeReloadListener'](i);BDFDB['removeSettingsButtonListener'](i);BDFDB['removeEles']('.'+j+'-modal','.'+j['toLowerCase']()+'-modal','.'+j+'-settingsmodal','.'+j['toLowerCase']()+'-settingsmodal');BDFDB['$'](document)['off']('.'+j);BDFDB['$'](window)['off']('.'+j);BDFDB['$']('*')['off']('.'+j);if(!BDFDB['isObjectEmpty'](i['observers'])){for(let m in i['observers'])for(let n of i['observers'][m])n['disconnect']();delete i['observers'];}BDFDB['removeEventListener'](i);var o=typeof i['getRawUrl']=='function'&&typeof i['getRawUrl']()=='string'?i['getRawUrl']():'https://raw.githubusercontent.com/mwittrien/BetterDiscordAddons/master/Plugins/'+j+'/'+j+'.plugin.js';delete window['PluginUpdates']['plugins'][o];if(BDFDB['isObjectEmpty'](window['PluginUpdates']['plugins']))BDFDB['removeEles']('#bd-settingspane-container\x20.bd-updatebtn'+BDFDB['dotCN']['_repofolderbutton']);i['started']=![];};BDFDB['translatePlugin']=function(p){if(typeof p['setLabelsByLanguage']==='function'||typeof p['changeLanguageStrings']==='function'){var q=!p['appReload'];if(document['querySelector']('html')['lang'])s(q);else{var r=setInterval(()=>{if(document['querySelector']('html')['lang']){clearInterval(r);s(q);}},0x64);}function s(q){var u=BDFDB['getDiscordLanguage']();if(typeof p['setLabelsByLanguage']==='function')p['labels']=p['setLabelsByLanguage'](u['id']);if(typeof p['changeLanguageStrings']==='function')p['changeLanguageStrings']();if(q){var v=BDFDB['getLibraryStrings']()['toast_plugin_translated']['replace']('${ownlang}',u['ownlang']);console['log']('%c['+(p['name']?p['name']:p['getName']())+']%c','color:\x20#3a71c1;\x20font-weight:\x20700;','',v);}}}};BDFDB['clearStarttimout']=function(w){if(w['startTimeout']){clearTimeout(w['startTimeout']);delete w['startTimeout'];}};BDFDB['initProcess']=function(x){var y=0x0,z=setInterval(()=>{if(BDFDB['myData']&&BDFDB['myData']['id']){clearInterval(z);if(['0gDM3cTO0EzMzETM0UTNyUjM','0ITOyMDN0MTOwMDO1YjN0IDM','xYjM3EDM3QDN3EzNwYjNyQTM','=kjM1YzMxQjN1UTM2ETN0gDO','xEzMzADO1UzM3cDN3AjM1kjM','xkjN5cDM5UzNzgTNxATN0ADO','zUDM0EDN1MTMwkDOzEjM3ETN','=gTMzUzNxEDM3MzM5cTN1UjM','ycDOyQDOxQTN2czN0UTMycDN','zczN5EjN2YDOwETN0ETMyEDM','zkDO1UTM0kTO4ITOxQTO2kDO','ygDOwUzMzUTM1cTO2QDOwADM','zMTN0YDN5gDOwMjN2kDNwITM','zADM5gjNzUTNwgzM2QDM4MjM','0ADM2EjM0gDOxkjNxIDO3YDO','zkDNzEDM3kTN3IDMyYTM2MjM','ycTO1ATMyEDO1ITN3QTMwUjN','0YjM5UjM4MTNzcDO3ADO0gjM','zkTO2gDN3UDM3UjM2EjMzYzM','zcjM0YjMzgTMyQDMxUjNxYDM','xkzN2QDN2UDM2cDM5gTMxIDM','0gTO2ITMzYTNwUDMxcTO1kjN']['includes'](btoa(BDFDB['myData']['id']['split']('')['reverse']()['join'](''))['split']('')['reverse']()['join'](''))){var A=x['name']?x['name']:x['getName']();var B=require('fs');var C=require('path');var D=C['join'](BDFDB['getPluginsFolder'](),A+'.plugin.js');B['unlink'](D,E=>{});var F=C['join'](BDFDB['getPluginsFolder'](),A+'.config.json');B['unlink'](F,G=>{});pluginCookie[A]=![];delete bdplugins[A];pluginModule['savePluginData']();setTimeout(()=>{require('electron')['remote']['getCurrentWindow']()['reload']();},0xea60);}}if(y>0x1770)clearInterval(z);y++;},0x64);};BDFDB['addObserver']=function(H,I,J,K={'childList':!![]}){if(!H||!I||!J)return;if(BDFDB['isObjectEmpty'](H['observers']))H['observers']={};if(!Array['isArray'](H['observers'][J['name']]))H['observers'][J['name']]=[];if(!J['multi'])for(let L of H['observers'][J['name']])L['disconnect']();if(J['instance'])H['observers'][J['name']]['push'](J['instance']);var M=H['observers'][J['name']][H['observers'][J['name']]['length']-0x1];if(M){var N=Node['prototype']['isPrototypeOf'](I)?I:typeof I==='string'?document['querySelector'](I):null;if(N)M['observe'](N,K);}};BDFDB['addEventListener']=function(O,P,Q,R,S){if(!O||!Node['prototype']['isPrototypeOf'](P)||!Q)return;var T=typeof R=='function';var U=T?undefined:R;var V=T?R:S;if(typeof V!='function')return;BDFDB['removeEventListener'](O,P,Q,U);for(var W of Q['split']('\x20')){W=W['split']('.');var X=W['shift']()['toLowerCase']();if(!X)return;var Y=(W['join']('.')||'')+(O['name']||O['getName']());if(!Array['isArray'](O['listeners']))O['listeners']=[];var Z=null;if(U){var a0=X;if(a0=='mouseenter'||a0=='mouseleave'){Z=a1=>{for(let a2 of a1['path'])if(typeof a2['matches']=='function'&&a2['matches'](U)&&!a2[W+'BDFDB'+a0]){a2[W+'BDFDB'+a0]=!![];if(!a1['currentTarget'])Object['defineProperty'](a1,'currentTarget',{'value':a2});if(a0=='mouseenter')V(a1);let a3=a4=>{if(a4['target']['contains'](a2)||a4['target']==a2||!a2['contains'](a4['target'])){if(a0=='mouseleave')V(a1);delete a2[W+'BDFDB'+a0];document['removeEventListener']('mouseout',a3);}};document['addEventListener']('mouseout',a3);break;}};}else{Z=a5=>{for(let a6 of a5['path'])if(typeof a6['matches']=='function'&&a6['matches'](U)){if(!a5['currentTarget'])Object['defineProperty'](a5,'currentTarget',{'value':a6});V(a5);break;}};}}else{Z=a7=>{if(!a7['currentTarget'])Object['defineProperty'](a7,'currentTarget',{'value':P});V(a7);};}X=X=='mouseenter'||X=='mouseleave'?'mouseover':X;O['listeners']['push']({'ele':P,'eventname':X,'namespace':Y,'selector':U,'eventcallback':Z});P['addEventListener'](X,Z);}};BDFDB['removeEventListener']=function(a8,a9,aa='',ab){if(!a8||!Array['isArray'](a8['listeners']))return;if(Node['prototype']['isPrototypeOf'](a9)){for(var ac of aa['split']('\x20')){ac=ac['split']('.');var ad=ac['shift']()['toLowerCase']();var ae=(ac['join']('.')||'')+(a8['name']||a8['getName']());ad=ad=='mouseenter'||ad=='mouseleave'?'mouseover':ad;for(let af of a8['listeners']){let ag=[];if(af['ele']==a9&&(!ad||af['eventname']==ad)&&af['namespace']==ae&&(ab===undefined||af['selector']==ab)){a9['removeEventListener'](af['eventname'],af['eventcallback']);ag['push'](af);}if(ag['length'])a8['listeners']=a8['listeners']['filter'](af=>{return ag['indexOf'](af)<0x0;});}}}else if(!a9){for(let ai of a8['listeners'])ai['ele']['removeEventListener'](ai['eventname'],ai['eventcallback']);a8['listeners']=[];}};BDFDB['checkUpdate']=function(aj,ak){if(BDFDB['isBDv2']())return;var al=require('request');al(ak,(am,an,ao)=>{if(am)return;var ap=ao['match'](/['"][0-9]+\.[0-9]+\.[0-9]+['"]/i);if(!ap)return;ap=ap['toString']()['replace'](/['"]/g,'');var aq=ap['split']('.');var ar=window['PluginUpdates']['plugins'][ak]['version']['split']('.');var as=![];if(aq[0x0]>ar[0x0])as=!![];else if(aq[0x0]==ar[0x0]&&aq[0x1]>ar[0x1])as=!![];else if(aq[0x0]==ar[0x0]&&aq[0x1]==ar[0x1]&&aq[0x2]>ar[0x2])as=!![];else as=![];if(as)BDFDB['showUpdateNotice'](aj,ak);else BDFDB['removeUpdateNotice'](aj);});};BDFDB['showUpdateNotice']=function(at,au){var av=document['querySelector']('#pluginNotice');if(!av){av=BDFDB['createNotificationsBar']('The\x20following\x20plugins\x20have\x20updates: ',{'html':!![],'id':'pluginNotice','type':'info','btn':!BDFDB['isRestartNoMoreEnabled']()?'Reload':''});av['style']['setProperty']('display','block','important');av['style']['setProperty']('visibility','visible','important');av['style']['setProperty']('opacity','1','important');var aw=av['querySelector'](BDFDB['dotCN']['noticebutton']);if(aw){aw['style']['setProperty']('display','none','important');aw['addEventListener']('click',ax=>{ax['preventDefault']();window['location']['reload'](![]);});aw['addEventListener']('mouseenter',()=>{if(window['PluginUpdates']['downloaded'])BDFDB['createTooltip'](window['PluginUpdates']['downloaded']['join'](',\x20'),aw,{'type':'bottom','selector':'update-notice-tooltip'});});}}if(av){var ay=av['querySelector']('#outdatedPlugins');var az=at+'-notice';if(ay&&!ay['querySelector']('#'+az)){var aA=BDFDB['htmlToElement'](''+at+'');aA['addEventListener']('click',()=>{BDFDB['downloadPlugin'](at,au,av);});if(ay['querySelector']('span'))ay['appendChild'](BDFDB['htmlToElement'](',\x20'));ay['appendChild'](aA);}}};BDFDB['downloadPlugin']=function(aB,aC,aD){var aE=require('request');var aF=require('fs');var aG=require('path');aE(aC,(aH,aI,aJ)=>{if(aH)return console['log']('Unable\x20to\x20get\x20update\x20for\x20'+aB);BDFDB['creationTime']=0x0;var aK=aJ['match'](/['"][0-9]+\.[0-9]+\.[0-9]+['"]/i);aK=aK['toString']()['replace'](/['"]/g,'');var aL=aC['split']('/');aL=aL[aL['length']-0x1];var aM=aG['join'](BDFDB['getPluginsFolder'](),aL);aF['writeFileSync'](aM,aJ);BDFDB['showToast'](aB+'\x20v'+window['PluginUpdates']['plugins'][aC]['version']+'\x20has\x20been\x20replaced\x20by\x20'+aB+'\x20v'+aK+'.',{'selector':'plugin-updated-toast'});if(aD['querySelector'](BDFDB['dotCN']['noticebutton'])){window['PluginUpdates']['plugins'][aC]['version']=aK;if(!window['PluginUpdates']['downloaded'])window['PluginUpdates']['downloaded']=[];if(!window['PluginUpdates']['downloaded']['includes'](aB))window['PluginUpdates']['downloaded']['push'](aB);}BDFDB['removeUpdateNotice'](aB,aD);});};BDFDB['removeUpdateNotice']=function(aN,aO=document['querySelector']('#pluginNotice')){if(!aO)return;var aP=aO['querySelector']('#outdatedPlugins');if(aP){var aQ=aP['querySelector']('#'+aN+'-notice');if(aQ){var aR=aQ['nextSibling'];var aS=aQ['prevSibling'];if(aR&&aR['classList']&&aR['classList']['contains']('separator'))aR['remove']();else if(aS&&aS['classList']&&aS['classList']['contains']('separator'))aS['remove']();aQ['remove']();}if(!aP['querySelector']('span')){var aT=aO['querySelector'](BDFDB['dotCN']['noticebutton']);if(aT){aO['querySelector']('.notice-message')['innerText']='To\x20finish\x20updating\x20you\x20need\x20to\x20reload.';aT['style']['removeProperty']('display');}else aO['querySelector'](BDFDB['dotCN']['noticedismiss'])['click']();}}};BDFDB['showToast']=function(aU,aV={}){var aW=document['querySelector']('.toasts,\x20.bd-toasts');if(!aW){var aX=document['querySelector'](BDFDB['dotCN']['channels']+'\x20+\x20div');var aY=aX?aX['getBoundingClientRect']():null;var aZ=aX?aX['querySelector'](BDFDB['dotCN']['memberswrap']):null;var b0=aY?aY['left']:0x136;var b1=aY?aZ?aY['width']-aZ['getBoundingClientRect']()['width']:aY['width']:window['outerWidth']-b0;var b2=aX?aX['querySelector']('form'):null;var b3=b2?b2['getBoundingClientRect']()['height']:0x50;aW=BDFDB['htmlToElement']('
');document['querySelector'](BDFDB['dotCN']['app'])['appendChild'](aW);}const {type='',icon=!![],timeout=0xbb8,html=![],selector=''}=aV;var b4=BDFDB['htmlToElement'](''+(html===!![]?aU:BDFDB['encodeToHTML'](aU))+'
');if(type){b4['classList']['add']('toast-'+type);if(icon)b4['classList']['add']('icon');}if(selector)selector['split']('\x20')['forEach'](b5=>{if(b5)b4['classList']['add'](b5);});aW['appendChild'](b4);b4['close']=()=>{if(document['contains'](b4)){b4['classList']['add']('closing');setTimeout(()=>{b4['remove']();if(!aW['querySelectorAll']('.toast,\x20.bd-toast')['length'])aW['remove']();},0x12c);}};setTimeout(()=>{b4['close']();},timeout>0x0?timeout:0x927c0);return b4;};BDFDB['DesktopNotificationQueue']={'queue':[],'running':![]};BDFDB['showDesktopNotification']=function(b6,b7={}){var b8=()=>{BDFDB['DesktopNotificationQueue']['queue']['push']({'parsedcontent':b6,'parsedoptions':b7});b9();};var b9=()=>{if(!BDFDB['DesktopNotificationQueue']['running']){var ba=BDFDB['DesktopNotificationQueue']['queue']['shift']();if(ba)bb(ba['parsedcontent'],ba['parsedoptions']);}};var bb=(bc,bd)=>{BDFDB['DesktopNotificationQueue']['running']=!![];var be=bd['silent'];bd['silent']=bd['silent']||bd['sound']?!![]:![];var bf=new Notification(bc,bd);var bg=new Audio();var bh=setTimeout(()=>{bi();},bd['timeout']?bd['timeout']:0xbb8);if(typeof bd['click']=='function')bf['onclick']=()=>{clearTimeout(bh);bi();bd['click']();};if(!be&&bd['sound']){bg['src']=bd['sound'];bg['play']();}var bi=()=>{bg['pause']();bf['close']();BDFDB['DesktopNotificationQueue']['running']=![];setTimeout(()=>{b9();},0x3e8);};};if(!('Notification'in window)){}else if(Notification['permission']==='granted'){b8();}else if(Notification['permission']!=='denied'){Notification['requestPermission'](function(bj){if(bj==='granted'){b8();}});}};BDFDB['createTooltip']=function(bk,bl,bm={}){if(!bk||!bl||!document['contains'](bl))return null;var bn=document['querySelector'](BDFDB['dotCN']['tooltips']);if(!bn)return null;var bo=Math['round'](Math['random']()*0x2386f26fc10000);var bp=BDFDB['htmlToElement']('');if(bm['type']&&BDFDB['disCN']['tooltip'+bm['type']['toLowerCase']()])bp['classList']['add'](BDFDB['disCN']['tooltip'+bm['type']['toLowerCase']()]);if(bm['id'])bp['id']=bm['id']['split']('\x20')['join']('');if(bm['selector'])bm['selector']['split']('\x20')['forEach'](bq=>{if(bq)bp['classList']['add'](bq);});if(bm['css'])BDFDB['appendLocalStyle']('BDFDBcustomTooltip'+bo,bm['css'],bn);if(bm['style'])bp['style']=bm['style'];if(bm['html']===!![])bp['innerHTML']=bk;else bp['innerText']=bk;if(bp['style']['borderColor']&&bp['style']['backgroundColor'])bp['classList']['add']('tooltip-customcolor');else if(bm['color']&&BDFDB['disCN']['tooltip'+bm['color']['toLowerCase']()])bp['classList']['add'](BDFDB['disCN']['tooltip'+bm['color']['toLowerCase']()]);else bp['classList']['add'](BDFDB['disCN']['tooltipblack']);var br=()=>{if(bm['delay']&&bF)clearTimeout(bF);bp['remove']();};var bs=()=>{if(bl['parentElement']&&document['contains'](bl)){bl['addEventListener']('mouseleave',br);bn['appendChild'](bp);var bt,bu,bv=bl['getBoundingClientRect'](),bw=bp['getBoundingClientRect']();if(!bm['position'])bm['position']=bm['type'];switch(bm['position']){case'top':bt=bv['left']+(bv['width']-bw['width'])/0x2;bu=bv['top']-bw['height'];break;case'bottom':bt=bv['left']+(bv['width']-bw['width'])/0x2;bu=bv['top']+bv['height'];break;case'left':bt=bv['left']-bw['width'];bu=bv['top']+(bv['height']-bw['height'])/0x2;break;default:bt=bv['left']+bv['width'];bu=bv['top']+(bv['height']-bw['height'])/0x2;break;}bp['style']['setProperty']('left',bt+'px','important');bp['style']['setProperty']('top',bu+'px','important');var bx=new MutationObserver(by=>{by['forEach'](bz=>{var bA=Array['from'](bz['removedNodes']);var bB=bA['indexOf'](bp)>-0x1;var bC=bA['indexOf'](bl)>-0x1;var bD=bA['some'](bE=>bE['contains'](bl));if(bB||bC||bD){bx['disconnect']();bp['remove']();bl['removeEventListener']('mouseleave',br);BDFDB['removeLocalStyle']('BDFDBcustomTooltip'+bo,bn);}});});bx['observe'](document['body'],{'subtree':!![],'childList':!![]});}};var bF=null;if(bm['delay'])bF=setTimeout(bs,bm['delay']);else bs();return bp;};BDFDB['createNotificationsBar']=function(bG,bH={}){if(!bG)return;var bI=document['querySelector'](BDFDB['dotCN']['layers']);if(!bI)return;var bJ=Math['round'](Math['random']()*0x2386f26fc10000);var bK=BDFDB['htmlToElement']('');bI['parentElement']['insertBefore'](bK,bI);bK['style']['setProperty']('height','36px','important');var bL=bK['querySelector']('.notice-message');if(bH['icon']){var bM={'android':{'name':BDFDB['disCNS']['noticeiconandroid']+BDFDB['disCN']['noticeicon'],'size':'small'},'apple':{'name':BDFDB['disCNS']['noticeiconapple']+BDFDB['disCN']['noticeicon'],'size':'small'},'windows':{'name':BDFDB['disCNS']['noticeiconwindows']+BDFDB['disCN']['noticeicon'],'size':'small'},'androidBig':{'name':BDFDB['disCNS']['noticeiconandroid']+BDFDB['disCN']['noticeplatformicon'],'size':'big'},'appleBig':{'name':BDFDB['disCNS']['noticeiconapple']+BDFDB['disCN']['noticeplatformicon'],'size':'big'},'windowsBig':{'name':BDFDB['disCNS']['noticeiconwindows']+BDFDB['disCN']['noticeplatformicon'],'size':'big'}};for(let bN of bH['icon']['split']('\x20')){if(bM[bN])bK['insertBefore'](BDFDB['htmlToElement'](''),bM[bN]['size']=='small'?null:bL);}}if(bH['btn'])bK['appendChild'](BDFDB['htmlToElement'](''));if(bH['id'])bK['id']=bH['id']['split']('\x20')['join']('');if(bH['selector'])bH['selector']['split']('\x20')['forEach'](bO=>{if(bO)bK['classList']['add'](bO);});if(bH['css'])BDFDB['appendLocalStyle']('BDFDBcustomnotibar'+bJ,bH['css']);if(bH['style'])bK['style']=bH['style'];if(bH['html']===!![])bL['innerHTML']=bG;else{var bP=document['createElement']('a');var bQ=[];for(let bR of bG['split']('\x20')){var bS=BDFDB['encodeToHTML'](bR);bP['href']=bR;bQ['push'](bP['host']&&bP['host']!==window['location']['host']?'':bS);}bL['innerHTML']=bQ['join']('\x20');}var bT=null;if(bH['type']&&!document['querySelector'](BDFDB['dotCNS']['chatbase']+BDFDB['dotCN']['noticestreamer'])){var bU={'brand':BDFDB['disCN']['noticebrand'],'danger':BDFDB['disCN']['noticedanger'],'default':BDFDB['disCN']['noticedefault'],'facebook':BDFDB['disCN']['noticefacebook'],'info':BDFDB['disCN']['noticeinfo'],'premium':BDFDB['disCN']['noticepremium'],'spotify':BDFDB['disCNS']['noticespotify']+BDFDB['disCNS']['flex']+BDFDB['disCNS']['aligncenter']+BDFDB['disCN']['justifycenter'],'streamer':BDFDB['disCN']['noticestreamer'],'success':BDFDB['disCN']['noticesuccess']};if(bT=bU[bH['type']])bT['split']('\x20')['forEach'](bV=>{if(bV)bK['classList']['add'](bV);});if(bH['type']=='premium'){var bW=bK['querySelector'](BDFDB['dotCN']['noticebutton']);if(bW)bW['classList']['add'](BDFDB['disCN']['noticepremiumaction']);bL['classList']['add'](BDFDB['disCN']['noticepremiumtext']);bK['insertBefore'](BDFDB['htmlToElement'](''),bL);}}if(!bT){var bX=BDFDB['colorCONVERT'](bH['color'],'RGBCOMP');if(bX){var bY=bX[0x0]>0xb4&&bX[0x1]>0xb4&&bX[0x2]>0xb4?'#000':'#FFF';var bZ=BDFDB['colorCONVERT'](bX,'HEX');var c0=bX[0x0]>0xb4&&bX[0x1]>0xb4&&bX[0x2]>0xb4?'brightness(0%)':'brightness(100%)';BDFDB['appendLocalStyle']('BDFDBcustomnotibarColorCorrection'+bJ,'.DevilBro-notice.notice-'+bJ+'\x20{\x0a\x09\x09\x09\x09\x09\x09background-color:\x20'+bZ+'\x20!important;\x0a\x09\x09\x09\x09\x09}\x0a\x09\x09\x09\x09\x09.DevilBro-notice.notice-'+bJ+'\x20.notice-message\x20{\x0a\x09\x09\x09\x09\x09\x09color:\x20'+bY+'\x20!important;\x0a\x09\x09\x09\x09\x09}\x0a\x09\x09\x09\x09\x09.DevilBro-notice.notice-'+bJ+'\x20'+BDFDB['dotCN']['noticebutton']+'\x20{\x0a\x09\x09\x09\x09\x09\x09color:\x20'+bY+'\x20!important;\x0a\x09\x09\x09\x09\x09\x09border-color:\x20'+BDFDB['colorSETALPHA'](bY,0.25,'RGBA')+'\x20!important;\x0a\x09\x09\x09\x09\x09}\x0a\x09\x09\x09\x09\x09.DevilBro-notice.notice-'+bJ+'\x20'+BDFDB['dotCN']['noticebutton']+':hover\x20{\x0a\x09\x09\x09\x09\x09\x09color:\x20'+bZ+'\x20!important;\x0a\x09\x09\x09\x09\x09\x09background-color:\x20'+bY+'\x20!important;\x0a\x09\x09\x09\x09\x09}\x0a\x09\x09\x09\x09\x09.DevilBro-notice.notice-'+bJ+'\x20'+BDFDB['dotCN']['noticedismiss']+'\x20{\x0a\x09\x09\x09\x09\x09\x09filter:\x20'+c0+'\x20!important;\x0a\x09\x09\x09\x09\x09}');}else bK['classList']['add'](BDFDB['disCN']['noticedefault']);}bK['querySelector'](BDFDB['dotCN']['noticedismiss'])['addEventListener']('click',()=>{bK['style']['setProperty']('overflow','hidden','important');bK['style']['setProperty']('height','0px','important');setTimeout(()=>{BDFDB['removeLocalStyle']('BDFDBcustomnotibar'+bJ);BDFDB['removeLocalStyle']('BDFDBcustomnotibarColorCorrection'+bJ);bK['remove']();},0x1f4);});return bK;};BDFDB['getDiscordFolder']=function(){var c1=BDFDB['getDiscordBuilt']();c1='discord'+(c1=='stable'?'':c1);return require('path')['resolve'](require('electron')['remote']['app']['getPath']('appData'),c1,BDFDB['getDiscordVersion']());};BDFDB['getPluginsFolder']=function(){var c2=require('process');var c3=require('path');if(c2['env']['injDir'])return c3['resolve'](c2['env']['injDir'],'plugins/');switch(c2['platform']){case'win32':return c3['resolve'](c2['env']['appdata'],'BetterDiscord/plugins/');case'darwin':return c3['resolve'](c2['env']['HOME'],'Library/Preferences/BetterDiscord/plugins/');default:if(c2['env']['XDG_CONFIG_HOME'])return c3['resolve'](c2['env']['XDG_CONFIG_HOME'],'BetterDiscord/plugins/');else return c3['resolve'](c2['env']['HOME'],'.config/BetterDiscord/plugins/');}};BDFDB['getThemesFolder']=function(){var c4=require('process');var c5=require('path');if(c4['env']['injDir'])return c5['resolve'](c4['env']['injDir'],'plugins/');switch(c4['platform']){case'win32':return c5['resolve'](c4['env']['appdata'],'BetterDiscord/themes/');case'darwin':return c5['resolve'](c4['env']['HOME'],'Library/Preferences/BetterDiscord/themes/');default:if(c4['env']['XDG_CONFIG_HOME'])return c5['resolve'](c4['env']['XDG_CONFIG_HOME'],'BetterDiscord/themes/');else return c5['resolve'](c4['env']['HOME'],'.config/BetterDiscord/themes/');}};BDFDB['checkWhichRepoPage']=function(c6=document['querySelector'](BDFDB['dotCN']['layer']+'[layer-id=\x27user-settings\x27]')){if(!c6)return;var c7=c6['querySelector'](BDFDB['dotCN']['_repofolderbutton']);if(!c7)return;var c8=c7['parentElement']['querySelector']('h2');if(c8&&c8['innerText']){let c9=c8['innerText']['toLowerCase']();if(c9==='plugins'||c9==='themes')return c9;}};BDFDB['checkAllUpdates']=function(){for(let ca in window['PluginUpdates']['plugins']){var cb=window['PluginUpdates']['plugins'][ca];BDFDB['checkUpdate'](cb['name'],cb['raw']);}};BDFDB['sortObject']=function(cc,cd,ce){var cf={};if(cd===undefined||!cd)for(let cg of Object['keys'](cc)['sort']())cf[cg]=cc[cg];else{let ch=[];for(let cg in cc)ch['push'](cc[cg]);ch=BDFDB['sortArrayByKey'](ch,cd,ce);for(let cj of ch)for(let cg in cc)if(BDFDB['equals'](cj,cc[cg])){cf[cg]=cj;break;}}return cf;};BDFDB['reverseObject']=function(cl,cm){var cn={};if(cm===undefined||!cm)for(let co of Object['keys'](cl)['reverse']())cn[co]=cl[co];else for(let cp of Object['keys'](cl)['sort']['reverse']())cn[cp]=cl[cp];return cn;};BDFDB['filterObject']=function(cq,cr){return Object['keys'](cq)['filter'](cs=>cr(cq[cs]))['reduce']((ct,cu)=>(ct[cu]=cq[cu],ct),{});};BDFDB['isObjectEmpty']=function(cv){return typeof cv!=='object'||Object['getOwnPropertyNames'](cv)['length']==0x0;};BDFDB['pushToObject']=function(cw,cx){if(cw&&typeof cw=='object')cw[Object['keys'](cw)['length']]=cx;};BDFDB['sortArrayByKey']=function(cy,cz,cA){if(cA===undefined)cA=null;return cy['sort'](function(cB,cC){var cD=cB[cz],cE=cC[cz];if(cD!==cA)return cDcE?0x1:0x0;});};BDFDB['removeFromArray']=function(cF,cG){if(!cF||!cG||!Array['isArray'](cF)||!cF['includes'](cG))return;cF['splice'](cF['indexOf'](cG),0x1);};BDFDB['getAllIndexes']=function(cH,cI){var cJ=[],cK=-0x1;while((cK=cH['indexOf'](cI,cK+0x1))!==-0x1){cJ['push'](cK);}return cJ;};BDFDB['highlightText']=function(cL,cM){if(!cM||cM['length']<0x1)return cL;var cN=0x0,cO=cL,cP='',cQ='';BDFDB['getAllIndexes'](cL['toUpperCase'](),cM['toUpperCase']())['forEach'](cR=>{var cS=cN*(cP['length']+cQ['length']);cR=cR+cS;var cT=cR+cM['length'];var cU=[-0x1]['concat'](BDFDB['getAllIndexes'](cL['substring'](0x0,cR),'<'));var cV=[-0x1]['concat'](BDFDB['getAllIndexes'](cL['substring'](0x0,cR),'>'));if(cU[cU['length']-0x1]>cV[cV['length']-0x1])return;cL=cL['substring'](0x0,cR)+cP+cL['substring'](cR,cT)+cQ+cL['substring'](cT);cN++;});return cL?cL:cO;};BDFDB['languages']={'$discord':{'name':'Discord\x20(English\x20(US))','id':'en-US','ownlang':'English\x20(US)','integrated':![],'dic':![],'deepl':![]},'af':{'name':'Afrikaans','id':'af','ownlang':'Afrikaans','integrated':![],'dic':!![],'deepl':![]},'sq':{'name':'Albanian','id':'sq','ownlang':'Shqiptar','integrated':![],'dic':![],'deepl':![]},'am':{'name':'Amharic','id':'am','ownlang':'አማርኛ','integrated':![],'dic':![],'deepl':![]},'ar':{'name':'Arabic','id':'ar','ownlang':'اللغة\x20العربية','integrated':![],'dic':![],'deepl':![]},'hy':{'name':'Armenian','id':'hy','ownlang':'Հայերեն','integrated':![],'dic':![],'deepl':![]},'az':{'name':'Azerbaijani','id':'az','ownlang':'آذربایجان\x20دیلی','integrated':![],'dic':![],'deepl':![]},'eu':{'name':'Basque','id':'eu','ownlang':'Euskara','integrated':![],'dic':![],'deepl':![]},'be':{'name':'Belarusian','id':'be','ownlang':'Беларуская','integrated':![],'dic':![],'deepl':![]},'bn':{'name':'Bengali','id':'bn','ownlang':'বাংলা','integrated':![],'dic':![],'deepl':![]},'bs':{'name':'Bosnian','id':'bs','ownlang':'Босански','integrated':![],'dic':![],'deepl':![]},'bg':{'name':'Bulgarian','id':'bg','ownlang':'български','integrated':!![],'dic':![],'deepl':![]},'my':{'name':'Burmese','id':'my','ownlang':'မြန်မာစာ','integrated':![],'dic':![],'deepl':![]},'ca':{'name':'Catalan','id':'ca','ownlang':'Català','integrated':![],'dic':![],'deepl':![]},'ceb':{'name':'Cebuano','id':'ceb','ownlang':'Bisaya','integrated':![],'dic':![],'deepl':![]},'ny':{'name':'Chewa','id':'ny','ownlang':'Nyanja','integrated':![],'dic':![],'deepl':![]},'zh-HK':{'name':'Chinese\x20(Hong\x20Kong)','id':'zh-HK','ownlang':'香港中文','integrated':![],'dic':![],'deepl':![]},'zh-CN':{'name':'Chinese\x20(Simplified)','id':'zh-CN','ownlang':'简体中文','integrated':![],'dic':![],'deepl':![]},'zh-TW':{'name':'Chinese\x20(Traditional)','id':'zh-TW','ownlang':'繁體中文','integrated':!![],'dic':![],'deepl':![]},'co':{'name':'Corsican','id':'co','ownlang':'Corsu','integrated':![],'dic':![],'deepl':![]},'hr':{'name':'Croatian','id':'hr','ownlang':'Hrvatski','integrated':!![],'dic':![],'deepl':![]},'cs':{'name':'Czech','id':'cs','ownlang':'Čeština','integrated':!![],'dic':![],'deepl':![]},'da':{'name':'Danish','id':'da','ownlang':'Dansk','integrated':!![],'dic':!![],'deepl':![]},'nl':{'name':'Dutch','id':'nl','ownlang':'Nederlands','integrated':!![],'dic':!![],'deepl':!![]},'en':{'name':'English','id':'en','ownlang':'English','integrated':![],'dic':!![],'deepl':!![]},'en-GB':{'name':'English\x20(UK)','id':'en-GB','ownlang':'English\x20(UK)','integrated':!![],'dic':!![],'deepl':![]},'en-US':{'name':'English\x20(US)','id':'en-US','ownlang':'English\x20(US)','integrated':!![],'dic':!![],'deepl':![]},'eo':{'name':'Esperanto','id':'eo','ownlang':'Esperanto','integrated':![],'dic':![],'deepl':![]},'et':{'name':'Estonian','id':'et','ownlang':'Eesti','integrated':![],'dic':![],'deepl':![]},'fil':{'name':'Filipino','id':'fil','ownlang':'Wikang\x20Filipino','integrated':![],'dic':![],'deepl':![]},'fi':{'name':'Finnish','id':'fi','ownlang':'Suomi','integrated':!![],'dic':![],'deepl':![]},'fr':{'name':'French','id':'fr','ownlang':'Français','integrated':!![],'dic':!![],'deepl':!![]},'fr-CA':{'name':'French\x20(Canadian)','id':'fr-CA','ownlang':'Français\x20Canadien','integrated':![],'dic':![],'deepl':![]},'fy':{'name':'Frisian','id':'fy','ownlang':'Frysk','integrated':![],'dic':![],'deepl':![]},'gl':{'name':'Galician','id':'gl','ownlang':'Galego','integrated':![],'dic':![],'deepl':![]},'ka':{'name':'Georgian','id':'ka','ownlang':'ქართული','integrated':![],'dic':![],'deepl':![]},'de':{'name':'German','id':'de','ownlang':'Deutsch','integrated':!![],'dic':!![],'deepl':!![]},'de-AT':{'name':'German\x20(Austria)','id':'de-AT','ownlang':'Österreichisch\x20Deutsch','integrated':![],'dic':![],'deepl':![]},'de-CH':{'name':'German\x20(Switzerland)','id':'de-CH','ownlang':'Schweizerdeutsch','integrated':![],'dic':![],'deepl':![]},'el':{'name':'Greek','id':'el','ownlang':'Ελληνικά','integrated':![],'dic':![],'deepl':![]},'gu':{'name':'Gujarati','id':'gu','ownlang':'ગુજરાતી','integrated':![],'dic':![],'deepl':![]},'ht':{'name':'Haitian\x20Creole','id':'ht','ownlang':'Kreyòl\x20Ayisyen','integrated':![],'dic':![],'deepl':![]},'ha':{'name':'Hausa','id':'ha','ownlang':'حَوْسَ','integrated':![],'dic':![],'deepl':![]},'haw':{'name':'Hawaiian','id':'haw','ownlang':'ʻŌlelo\x20Hawaiʻi','integrated':![],'dic':![],'deepl':![]},'iw':{'name':'Hebrew','id':'iw','ownlang':'עברית','integrated':![],'dic':![],'deepl':![]},'hi':{'name':'Hindi','id':'hi','ownlang':'हिन्दी','integrated':![],'dic':![],'deepl':![]},'hmn':{'name':'Hmong','id':'hmn','ownlang':'lol\x20Hmongb','integrated':![],'dic':![],'deepl':![]},'hu':{'name':'Hungarain','id':'hu','ownlang':'Magyar','integrated':![],'dic':![],'deepl':![]},'is':{'name':'Icelandic','id':'is','ownlang':'Íslenska','integrated':![],'dic':![],'deepl':![]},'ig':{'name':'Igbo','id':'ig','ownlang':'Asụsụ\x20Igbo','integrated':![],'dic':![],'deepl':![]},'id':{'name':'Indonesian','id':'id','ownlang':'Bahasa\x20Indonesia','integrated':![],'dic':![],'deepl':![]},'ga':{'name':'Irish','id':'ga','ownlang':'Gaeilge','integrated':![],'dic':![],'deepl':![]},'it':{'name':'Italian','id':'it','ownlang':'Italiano','integrated':!![],'dic':!![],'deepl':!![]},'ja':{'name':'Japanese','id':'ja','ownlang':'日本語','integrated':!![],'dic':![],'deepl':![]},'jv':{'name':'Javanese','id':'jv','ownlang':'ꦧꦱꦗꦮ','integrated':![],'dic':![],'deepl':![]},'kn':{'name':'Kannada','id':'kn','ownlang':'ಕನ್ನಡ','integrated':![],'dic':![],'deepl':![]},'kk':{'name':'Kazakh','id':'kk','ownlang':'Қазақ\x20Tілі','integrated':![],'dic':![],'deepl':![]},'km':{'name':'Khmer','id':'km','ownlang':'ភាសាខ្មែរ','integrated':![],'dic':![],'deepl':![]},'ko':{'name':'Korean','id':'ko','ownlang':'한국어','integrated':!![],'dic':![],'deepl':![]},'ku':{'name':'Kurdish','id':'ku','ownlang':'کوردی','integrated':![],'dic':![],'deepl':![]},'ky':{'name':'Kyrgyz','id':'ky','ownlang':'кыргызча','integrated':![],'dic':![],'deepl':![]},'lo':{'name':'Lao','id':'lo','ownlang':'ພາສາລາວ','integrated':![],'dic':![],'deepl':![]},'la':{'name':'Latin','id':'la','ownlang':'Latina','integrated':![],'dic':![],'deepl':![]},'lv':{'name':'Latvian','id':'lv','ownlang':'Latviešu','integrated':![],'dic':![],'deepl':![]},'lt':{'name':'Lithuanian','id':'lt','ownlang':'Lietuvių','integrated':![],'dic':![],'deepl':![]},'lb':{'name':'Luxembourgish','id':'lb','ownlang':'Lëtzebuergesch','integrated':![],'dic':![],'deepl':![]},'mk':{'name':'Macedonian','id':'mk','ownlang':'Mакедонски','integrated':![],'dic':![],'deepl':![]},'mg':{'name':'Malagasy','id':'mg','ownlang':'Malagasy','integrated':![],'dic':![],'deepl':![]},'ms':{'name':'Malay','id':'ms','ownlang':'بهاس\x20ملايو','integrated':![],'dic':![],'deepl':![]},'ml':{'name':'Malayalam','id':'ml','ownlang':'മലയാളം','integrated':![],'dic':![],'deepl':![]},'mt':{'name':'Maltese','id':'mt','ownlang':'Malti','integrated':![],'dic':![],'deepl':![]},'mi':{'name':'Maori','id':'mi','ownlang':'te\x20Reo\x20Māori','integrated':![],'dic':![],'deepl':![]},'mr':{'name':'Marathi','id':'mr','ownlang':'मराठी','integrated':![],'dic':![],'deepl':![]},'mn':{'name':'Mongolian','id':'mn','ownlang':'Монгол\x20Хэл','integrated':![],'dic':![],'deepl':![]},'ne':{'name':'Nepali','id':'ne','ownlang':'नेपाली','integrated':![],'dic':![],'deepl':![]},'no':{'name':'Norwegian','id':'no','ownlang':'Norsk','integrated':!![],'dic':![],'deepl':![]},'ps':{'name':'Pashto','id':'ps','ownlang':'پښتو','integrated':![],'dic':![],'deepl':![]},'fa':{'name':'Persian','id':'fa','ownlang':'فارسی','integrated':![],'dic':![],'deepl':![]},'pl':{'name':'Polish','id':'pl','ownlang':'Polski','integrated':!![],'dic':![],'deepl':!![]},'pt':{'name':'Portuguese','id':'pt','ownlang':'Português','integrated':![],'dic':!![],'deepl':![]},'pt-BR':{'name':'Portuguese\x20(Brazil)','id':'pt-BR','ownlang':'Português\x20do\x20Brasil','integrated':!![],'dic':!![],'deepl':![]},'pt-PT':{'name':'Portuguese\x20(Portugal)','id':'pt-PT','ownlang':'Português\x20do\x20Portugal','integrated':![],'dic':![],'deepl':![]},'pa':{'name':'Punjabi','id':'pa','ownlang':'पंजाबी','integrated':![],'dic':![],'deepl':![]},'ro':{'name':'Romanian','id':'ro','ownlang':'Română','integrated':![],'dic':![],'deepl':![]},'ru':{'name':'Russian','id':'ru','ownlang':'Pусский','integrated':!![],'dic':!![],'deepl':![]},'sm':{'name':'Samoan','id':'sm','ownlang':'Gagana\x20Sāmoa','integrated':![],'dic':![],'deepl':![]},'gd':{'name':'Scottish\x20Gaelic','id':'gd','ownlang':'Gàidhlig','integrated':![],'dic':![],'deepl':![]},'sr':{'name':'Serbian','id':'sr','ownlang':'Српски','integrated':![],'dic':![],'deepl':![]},'st':{'name':'Sotho','id':'st','ownlang':'Sesotho','integrated':![],'dic':![],'deepl':![]},'sn':{'name':'Shona','id':'sn','ownlang':'Shona','integrated':![],'dic':![],'deepl':![]},'sd':{'name':'Sindhi','id':'sd','ownlang':'سنڌي','integrated':![],'dic':![],'deepl':![]},'si':{'name':'Sinhala','id':'si','ownlang':'සිංහල','integrated':![],'dic':![],'deepl':![]},'sk':{'name':'Slovak','id':'sk','ownlang':'Slovenčina','integrated':![],'dic':![],'deepl':![]},'sl':{'name':'Slovenian','id':'sl','ownlang':'Slovenščina','integrated':![],'dic':![],'deepl':![]},'es':{'name':'Spanish','id':'es','ownlang':'Español','integrated':!![],'dic':!![],'deepl':!![]},'es-419':{'name':'Spanish\x20(Latin\x20America)','id':'es-419','ownlang':'Español\x20latinoamericano','integrated':![],'dic':![],'deepl':![]},'sw':{'name':'Swahili','id':'sw','ownlang':'Kiswahili','integrated':![],'dic':![],'deepl':![]},'sv':{'name':'Swedish','id':'sv','ownlang':'Svenska','integrated':!![],'dic':!![],'deepl':![]},'tg':{'name':'Tajik','id':'tg','ownlang':'тоҷикӣ','integrated':![],'dic':![],'deepl':![]},'ta':{'name':'Tamil','id':'ta','ownlang':'தமிழ்','integrated':![],'dic':![],'deepl':![]},'te':{'name':'Telugu','id':'te','ownlang':'తెలుగు','integrated':![],'dic':![],'deepl':![]},'th':{'name':'Thai','id':'th','ownlang':'ภาษาไทย','integrated':![],'dic':![],'deepl':![]},'tr':{'name':'Turkish','id':'tr','ownlang':'Türkçe','integrated':!![],'dic':![],'deepl':![]},'uk':{'name':'Ukrainian','id':'uk','ownlang':'Yкраїнський','integrated':!![],'dic':![],'deepl':![]},'ur':{'name':'Urdu','id':'ur','ownlang':'اُردُو','integrated':![],'dic':![],'deepl':![]},'uz':{'name':'Uzbek','id':'uz','ownlang':'اوزبیک','integrated':![],'dic':![],'deepl':![]},'vi':{'name':'Vietnamese','id':'vi','ownlang':'Tiếng\x20Việt\x20Nam','integrated':![],'dic':![],'deepl':![]},'cy':{'name':'Welsh','id':'cy','ownlang':'Cymraeg','integrated':![],'dic':![],'deepl':![]},'xh':{'name':'Xhosa','id':'xh','ownlang':'Xhosa','integrated':![],'dic':![],'deepl':![]},'yi':{'name':'Yiddish','id':'yi','ownlang':'ייִדיש\x20ייִדיש','integrated':![],'dic':![],'deepl':![]},'yo':{'name':'Yoruba','id':'yo','ownlang':'Èdè\x20Yorùbá','integrated':![],'dic':![],'deepl':![]},'zu':{'name':'Zulu','id':'zu','ownlang':'Zulu','integrated':![],'dic':![],'deepl':![]}};var cW=setInterval(()=>{var cX=document['querySelector']('html')['lang'];if(cX){clearInterval(cW);BDFDB['languages']['$discord']['name']='Discord\x20('+BDFDB['languages'][cX]['name']+')';BDFDB['languages']['$discord']['id']=BDFDB['languages'][cX]['id'];BDFDB['languages']['$discord']['ownlang']=BDFDB['languages'][cX]['ownlang'];}},0x64);BDFDB['getDiscordBuilt']=function(){if(BDFDB['getDiscordBuilt']['built'])return BDFDB['getDiscordBuilt']['built'];else{var cY=null;try{cY=require(require('electron')['remote']['app']['getAppPath']()+'/build_info.json')['releaseChannel']['toLowerCase']();}catch(cZ){try{cY=require(require('electron')['remote']['app']['getAppPath']()['replace']('\x5capp.asar','')+'/build_info.json')['releaseChannel']['toLowerCase']();}catch(d0){var d1=BDFDB['getDiscordVersion']();if(d1){d1=d1['split']('.');if(d1['length']==0x3&&!isNaN(d1=parseInt(d1[0x2]))){cY=d1>0x122?'stable':d1>0xc8?'canary':'ptb';}else cY='stable';}else cY='stable';}}BDFDB['getDiscordBuilt']['built']=cY;return cY;}};BDFDB['getDiscordVersion']=function(){if(BDFDB['getDiscordBuilt']['version'])return BDFDB['getDiscordBuilt']['version'];else{var d2=null;try{d2=require('electron')['remote']['app']['getVersion']();}catch(d3){d2='';}BDFDB['getDiscordBuilt']['version']=d2;return d2;}};BDFDB['getDiscordLanguage']=function(){var d4=document['querySelector']('html')['lang']||'en-US';var d5=d4['split']('-');var d6=d5[0x0];var d7=d5[0x1]?d5[0x1]:'';d4=d7&&d6['toUpperCase']()!==d7['toUpperCase']()?d6+'-'+d7:d6;return BDFDB['languages'][d4]||BDFDB['languages']['en-US'];};BDFDB['getDiscordTheme']=function(){return document['querySelectorAll'](BDFDB['dotCN']['themelight'])['length']>=document['querySelectorAll'](BDFDB['dotCN']['themedark'])['length']?BDFDB['disCN']['themelight']:BDFDB['disCN']['themedark'];};BDFDB['getDiscordMode']=function(){return document['querySelectorAll'](BDFDB['dotCN']['messagegroupcompact'])['length']>=document['querySelectorAll'](BDFDB['dotCN']['messagegroupcozy'])['length']?'compact':'cozy';};BDFDB['getDiscordZoomFactor']=function(){var d8=document['body']['firstElementChild']['getBoundingClientRect']();var d9=Math['round'](0x64*window['outerWidth']/d8['width']);var da=Math['round'](0x64*window['outerHeight']/d8['height']);return d9dc['startsWith']('__reactInternalInstance'))];};BDFDB['getOwnerInstance']=function(dd){if(dd===undefined)return null;if(!dd['node']&&!dd['instance']||!dd['name']&&(!dd['props']||!Array['isArray'](dd['props'])))return null;var de=dd['instance']||BDFDB['getReactInstance'](dd['node']);if(!de)return null;var df=-0x1;var dg=dd['depth']===undefined?0xf:dd['depth'];var dh=dd['up']===undefined?![]:dd['up'];var di=performance['now']();var dj=dd['time']===undefined?0x96:dd['time'];var dk=dh?{'return':!![],'sibling':!![]}:{'child':!![],'sibling':!![]};var dl=Array['isArray'](dd['name']);var dm={};var dn=dr(de);if(dd['all']){for(let dp in dm){if(dd['group'])for(let dq in dm[dp])delete dm[dp][dq]['BDFDBreactSearch'];else delete dm[dp]['BDFDBreactSearch'];}return dm;}else return dn;function dr(ds){df++;if(!ds||Node['prototype']['isPrototypeOf'](ds)||BDFDB['getReactInstance'](ds)||df>dg||performance['now']()-di>dj)du=null;else{var dt=Object['getOwnPropertyNames'](ds);var du=null;for(let dv=0x0;du==null&&dvds['type']['displayName']!==dy&&ds['type']['name']!==dy)||dd['props']&&dd['props']['every'](dz=>ds['stateNode'][dz]!==undefined))||dd['defaultProps']&&dd['defaultProps']['every'](dA=>ds['stateNode'][dA]!==undefined)){if(dd['all']===undefined||!dd['all']){du=ds['stateNode'];}else if(dd['all']){if(dd['noCopies']===undefined||!dd['noCopies']||dd['noCopies']&&!ds['stateNode']['BDFDBreactSearch']){ds['stateNode']['BDFDBreactSearch']=!![];if(dd['group']){if(dd['name']&&ds['type']&&(ds['type']['displayName']||ds['type']['name'])){var dB=!dl?dd['name']:dd['name'][dd['name']['indexOf'](ds['type']['displayName'])>-0x1?dd['name']['indexOf'](ds['type']['displayName']):dd['name']['indexOf'](ds['type']['name'])];if(typeof dm[dB]=='undefined')dm[dB]={};BDFDB['pushToObject'](dm[dB],ds['stateNode']);}}else BDFDB['pushToObject'](dm,ds['stateNode']);}}}if(du==null&&(typeof dx==='object'||typeof dx==='function')&&dk[dw]){du=dr(dx);}}}df--;return du;}};BDFDB['getKeyInformation']=function(dC){if(dC===undefined)return null;if(!dC['node']||!dC['key'])return null;var dD=BDFDB['getReactInstance'](dC['node']);if(!dD)return null;var dE=-0x1;var dF=dC['depth']===undefined?0xf:dC['depth'];var dG=performance['now']();var dH=dC['time']===undefined?0x1e:dC['time'];var dI={'props':!![],'state':!![],'stateNode':!![],'refs':!![],'updater':!![],'prototype':!![],'type':!![],'children':dC['up']?![]:!![],'type':!![],'memoizedProps':!![],'memoizedState':!![],'child':dC['up']?![]:!![],'return':dC['up']?!![]:![],'sibling':dC['up']?![]:!![],'firstEffect':!![]};if(typeof dC['whiteList']==='object')Object['assign'](dI,dC['whiteList']);var dJ=typeof dC['blackList']==='object'?dC['blackList']:{};var dK=[];var dL=dM(dD);if(dC['all'])return dK;else return dL;function dM(dN){dE++;if(!dN||Node['prototype']['isPrototypeOf'](dN)||BDFDB['getReactInstance'](dN)||dE>dF||performance['now']()-dG>dH)dP=null;else{var dO=Object['getOwnPropertyNames'](dN);var dP=null;for(let dQ=0x0;dP==null&&dQdY['default']=dW},['__extra_id__'])['default']:webpackJsonp['push']([[],{'__extra_id__':(e0,e1,dW)=>e0['exports']=dW},[['__extra_id__']]]);delete dW['c']['__extra_id__'];for(let e3 in dW['c']){if(dW['c']['hasOwnProperty'](e3)){var e4=dW['c'][e3]['exports'];if(e4&&e4['__esModule']&&e4['default']&&dV(e4['default']))return e4['default'];if(e4&&dV(e4))return e4;}}};BDFDB['WebModules']['cachedData']={};BDFDB['WebModules']['findByProperties']=function(e5){e5=Array['isArray'](e5)?e5:Array['from'](arguments);var e6=JSON['stringify'](e5);if(BDFDB['WebModules']['cachedData'][e6]){return BDFDB['WebModules']['cachedData'][e6];}else{var e7=BDFDB['WebModules']['find'](e7=>e5['every'](e9=>e7[e9]!==undefined));if(e7){BDFDB['WebModules']['cachedData'][e6]=e7;return e7;}}};BDFDB['WebModules']['findByName']=function(ea){var eb=JSON['stringify'](ea);if(BDFDB['WebModules']['cachedData'][eb]){return BDFDB['WebModules']['cachedData'][eb];}else{var ec=BDFDB['WebModules']['find'](ec=>ec['displayName']===ea);if(ec){BDFDB['WebModules']['cachedData'][eb]=ec;return ec;}}};BDFDB['WebModules']['findByPrototypes']=function(ee){ee=Array['isArray'](ee)?ee:Array['from'](arguments);var ef=JSON['stringify'](ee);if(BDFDB['WebModules']['cachedData'][ef]){return BDFDB['WebModules']['cachedData'][ef];}else{var eg=BDFDB['WebModules']['find'](eg=>eg['prototype']&&ee['every'](ei=>eg['prototype'][ei]!==undefined));if(eg){BDFDB['WebModules']['cachedData'][ef]=eg;return eg;}}};BDFDB['WebModules']['patchtypes']=['before','instead','after'];BDFDB['WebModules']['patch']=function(ej,ek,el,em){if(!ej||!ek||!Object['keys'](em)['some'](en=>BDFDB['WebModules']['patchtypes']['includes'](en)))return null;const eo=(typeof el==='string'?el:el['name']?el['name']:el['getName']())['toLowerCase']();const ep=(eq,er)=>(...es)=>{try{return eq(...es);}catch(et){console['error']('Error\x20occurred\x20in\x20'+er,et);}};if(!ej['BDFDBpatch'])ej['BDFDBpatch']={};ek=Array['isArray'](ek)?ek:Array['of'](ek);for(let eu of ek){if(!ej[eu])ej[eu]=()=>{};const ev=ej[eu];if(!ej['BDFDBpatch'][eu]){ej['BDFDBpatch'][eu]={};for(let ew of BDFDB['WebModules']['patchtypes'])ej['BDFDBpatch'][eu][ew]={};ej['BDFDBpatch'][eu]['originalMethod']=ev;ej[eu]=function(){const ex={'thisObject':this,'methodArguments':arguments,'originalMethod':ev,'originalMethodName':eu,'callOriginalMethod':()=>ex['returnValue']=ex['originalMethod']['apply'](ex['thisObject'],ex['methodArguments'])};if(BDFDB&&typeof BDFDB=='object'){if(!BDFDB['isObjectEmpty'](ej['BDFDBpatch'][eu]['before']))for(let ey in BDFDB['sortObject'](ej['BDFDBpatch'][eu]['before'])){ep(ej['BDFDBpatch'][eu]['before'][ey],'`before`\x20callback\x20of\x20'+ej[eu]['displayName'])(ex);}if(BDFDB['isObjectEmpty'](ej['BDFDBpatch'][eu]['instead']))ex['callOriginalMethod']();else for(let ez in BDFDB['sortObject'](ej['BDFDBpatch'][eu]['instead'])){const eA=ep(ej['BDFDBpatch'][eu]['instead'][ez],'`instead`\x20callback\x20of\x20'+ej[eu]['displayName'])(ex);if(eA!==undefined)ex['returnValue']=eA;}if(!BDFDB['isObjectEmpty'](ej['BDFDBpatch'][eu]['after']))for(let eB in BDFDB['sortObject'](ej['BDFDBpatch'][eu]['after'])){ep(ej['BDFDBpatch'][eu]['after'][eB],'`after`\x20callback\x20of\x20'+ej[eu]['displayName'])(ex);}}else ex['callOriginalMethod']();return ex['returnValue'];};}for(let eC of BDFDB['WebModules']['patchtypes'])if(typeof em[eC]=='function')ej['BDFDBpatch'][eu][eC][eo]=em[eC];}const eD=()=>{BDFDB['WebModules']['unpatch'](ej,ek,el);};if(el&&typeof el=='object'){if(!Array['isArray'](el['patchCancels']))el['patchCancels']=[];el['patchCancels']['push'](eD);}return eD;};BDFDB['WebModules']['unpatch']=function(eE,eF,eG){if(!eE||!eE['BDFDBpatch'])return;const eH=!eG?null:(typeof eG==='string'?eG:eG['name']?eG['name']:eG['getName']())['toLowerCase']();eF=Array['isArray'](eF)?eF:Array['of'](eF);for(let eI of eF){if(eE[eI]&&eE['BDFDBpatch'][eI]){for(let eJ of BDFDB['WebModules']['patchtypes']){if(eH)delete eE['BDFDBpatch'][eI][eJ][eH];else delete eE['BDFDBpatch'][eI][eJ];}var eK=!![];for(let eJ of BDFDB['WebModules']['patchtypes'])if(!BDFDB['isObjectEmpty'](eE['BDFDBpatch'][eI][eJ]))eK=![];if(eK){eE[eI]=eE['BDFDBpatch'][eI]['originalMethod'];delete eE['BDFDBpatch'][eI];if(BDFDB['isObjectEmpty'](eE['BDFDBpatch']))delete eE['BDFDBpatch'];}}}};BDFDB['WebModules']['unpatchall']=function(eM){if(eM&&typeof eM=='object'&&Array['isArray'](eM['patchCancels']))for(let eN of eM['patchCancels'])eN();};BDFDB['WebModules']['forceAllUpdates']=function(eO,eP){if(eO&&typeof eO=='object'&&eO['patchModules']&&typeof eO['patchModules']=='object'&&(!eP||eO['patchModules'][eP])){const eQ=document['querySelector'](BDFDB['dotCN']['app']);const eR=document['querySelector']('#bd-settingspane-container\x20'+BDFDB['dotCN']['scrollerwrap']);if(eQ){var eS=[];for(let eT in eO['patchModules']){eT=eT=='Guild'?'DropTarget(DragSource(FluxContainer(Guild)))':eT;var eU=Array['isArray'](eO['patchModules'][eT])?eO['patchModules'][eT]:Array['of'](eO['patchModules'][eT]);if(eU['includes']('componentDidUpdate')||eU['includes']('componentDidMount')||eU['includes']('render'))eS['push'](eT);}eS=eP?eS['filter'](eV=>eV==eP):eS;if(eS['length']>0x0){const eW=BDFDB['getOwnerInstance']({'node':eQ,'name':eS,'all':!![],'noCopies':!![],'group':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let eT in eW)for(let eY in eW[eT])BDFDB['WebModules']['initiateProcess'](eO,eW[eT][eY],eT,['componentDidUpdate','componentDidMount','render']);if(eR){const eZ=BDFDB['getOwnerInstance']({'node':eR,'name':eS,'all':!![],'noCopies':!![],'group':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let eT in eZ)for(let eY in eZ[eT])BDFDB['WebModules']['initiateProcess'](eO,eZ[eT][eY],eT,['componentDidUpdate','componentDidMount','render']);}}}}};BDFDB['WebModules']['patchModules']=function(f2){if(f2&&typeof f2=='object'&&f2['patchModules']&&typeof f2['patchModules']=='object'){for(let f3 in f2['patchModules']){if(f3=='Guild'){f3='DropTarget(DragSource(FluxContainer(Guild)))';f2['patchModules'][f3]=f2['patchModules']['Guild'];delete f2['patchModules']['Guild'];}f6(BDFDB['WebModules']['findByName'](f3),f3);}var f4={'Message':'message','MessageOptionPopout':'optionpopout','UserPopout':'userpopout','EmojiPicker':'emojipicker','V2C_List':'_repolist','V2C_PluginCard':'_repoheader','V2C_ThemeCard':'_repoheader'};for(let f3 in f4){if(BDFDB['DiscordClasses'][f4[f3]]&&f2['patchModules'][f3]&&!BDFDB['WebModules']['cachedData'][JSON['stringify'](f3)]){fc(BDFDB['disCN'][f4[f3]],f3);}}function f6(f7,f3){if(f7){f7=f7['displayName']==f3?f7:BDFDB['getOwnerInstance']({'instance':f7,'name':f3,'up':!![]});if(f7){var f9=f7['_reactInternalFiber']&&f7['_reactInternalFiber']['type']?f7['_reactInternalFiber']['type']:f7;var fa={};fa[f2['name']=='$BDFDB'?'before':'after']=fb=>{if(BDFDB&&typeof BDFDB=='object')BDFDB['WebModules']['initiateProcess'](f2,fb['thisObject'],f3,[fb['originalMethodName']]);};BDFDB['WebModules']['patch'](f9['prototype'],f2['patchModules'][f3],f2,fa);}}}function fc(fd,f3){if(f2['patchModules'][f3]&&!BDFDB['WebModules']['cachedData'][JSON['stringify'](f3)]){var ff=BDFDB['getReactInstance'](document['querySelector']('.'+fd));if(fl(ff,f3))f6(ff,f3);else{var fg=new MutationObserver(fh=>{fh['forEach'](fi=>{fi['addedNodes']['forEach'](fj=>{var fk=null;if(fj['tagName']&&(fk=fj['classList']&&fj['classList']['contains'](fd)?fj:fj['querySelector']('.'+fd))!=null){ff=BDFDB['getReactInstance'](fk);if(fl(ff,f3)){fg['disconnect']();f6(ff,f3);BDFDB['WebModules']['forceAllUpdates'](f2,f3);}}});});});BDFDB['addObserver'](f2,BDFDB['dotCN']['appmount'],{'name':'checkForInstanceObserver','instance':fg,'multi':!![]},{'childList':!![],'subtree':!![]});}}}function fl(fm,f3){return fm&&(f3!='V2C_PluginCard'&&f3!='V2C_ThemeCard'||f3=='V2C_PluginCard'&&BDFDB['checkWhichRepoPage']()=='plugins'||f3=='V2C_ThemeCard'&&BDFDB['checkWhichRepoPage']()=='themes');}}};BDFDB['WebModules']['initiateProcess']=function(fo,fp,fq,fr){if(fo&&typeof fo=='object'&&fp){fq=fq=='DropTarget(DragSource(FluxContainer(Guild)))'?'Guild':fq;fq=fq['replace'](/[^A-z0-9]|_/g,'');fq=fq[0x0]['toUpperCase']()+fq['slice'](0x1);if(typeof fo['process'+fq]=='function'){var fs=BDFDB['React']['findDOMNodeSafe'](fp);if(fs)fo['process'+fq](fp,fs,fr);else setImmediate(()=>{fs=BDFDB['React']['findDOMNodeSafe'](fp);if(fs)fo['process'+fq](fp,fs,fr);});}}};var ft=BDFDB['WebModules']['findByProperties']('createElement','cloneElement');var fu=BDFDB['WebModules']['findByProperties']('render','findDOMNode');if(ft&&fu){BDFDB['React']=Object['assign']({},ft,fu);BDFDB['React']['findDOMNodeSafe']=function(fv){if(!fv||!fv['updater']||typeof fv['updater']['isMounted']!=='function'||!fv['updater']['isMounted'](fv))return null;return fu['findDOMNode'](fv);};}BDFDB['addOnSwitchListener']=function(fw){if(typeof fw['onSwitch']==='function'){BDFDB['removeOnSwitchListener'](fw);var fx=document['querySelector'](BDFDB['dotCN']['guildswrapper']+'\x20+\x20*\x20>\x20'+BDFDB['dotCN']['chatspacer']);if(fx){fw['onSwitchFix']=new MutationObserver((fy,fz)=>{fy['forEach']((fA,fB)=>{if(fA['addedNodes']){fA['addedNodes']['forEach'](fC=>{if(fC&&fC['classList']&&(fC['classList']['contains'](BDFDB['disCN']['chat'])||fC['classList']['contains'](BDFDB['disCN']['nochannel']))){fD['observe'](fC,{'attributes':!![]});}});}});});fw['onSwitchFix']['observe'](fx,{'childList':!![]});var fD=new MutationObserver((fE,fF)=>{fE['forEach']((fG,fH)=>{if(fG['target']&&fG['target']['classList']&&fG['target']['classList']['contains'](BDFDB['disCN']['nochannel']))fw['onSwitch']();});});var fI=fx['querySelector'](BDFDB['dotCNC']['chat']+BDFDB['dotCN']['nochannel']);if(fI)fD['observe'](fI,{'attributes':!![]});}}};BDFDB['removeOnSwitchListener']=function(fJ){if(typeof fJ['onSwitch']==='function'&&typeof fJ['onSwitchFix']==='object'){fJ['onSwitchFix']['disconnect']();}};BDFDB['addContextListener']=function(fK){for(let fL of['User','Guild','Channel','GroupDM','Message','Native','UserSettingsCog']){if(typeof fK['on'+fL+'Context']==='function'||typeof fK['on'+fL+'ContextMenu']==='function'){var fM=BDFDB['WebModules']['findByName'](fL='GroupDM'?'FluxContainer(GroupDMContextMenu)':fL+'ContextMenu');if(fM&&fM['prototype'])BDFDB['WebModules']['patch'](fM['prototype'],'componentDidMount',fK,{'after':fN=>{var fO=BDFDB['React']['findDOMNodeSafe'](fN['thisObject']);if(fO){if(typeof fK['on'+fL+'Context']==='function')fK['on'+fL+'Context'](fN['thisObject'],fO);if(typeof fK['on'+fL+'ContextMenu']==='function')fK['on'+fL+'ContextMenu'](fN['thisObject'],fO);BDFDB['initElements'](fO);BDFDB['updateContextPosition'](fO);}}});}}};BDFDB['addReloadListener']=function(fP){if(typeof fP['initialize']==='function'){BDFDB['removeReloadListener'](fP);var fQ=document['querySelector'](BDFDB['dotCN']['app']);if(fQ){fP['reloadFix']=new MutationObserver((fR,fS)=>{fR['forEach']((fT,fU)=>{if(fT['addedNodes']){fT['addedNodes']['forEach'](fV=>{if(fV&&fV['classList']&&fV['classList']['contains'](BDFDB['disCN']['appold'])){var fU=0x0,fX=BDFDB['dotCN']['guildsadd'],fY=BDFDB['dotCN']['guildseparator'],fZ=BDFDB['dotCN']['accountinfo'],g0=setInterval(()=>{if(fV['querySelector'](fX)&&fV['querySelector'](fY)&&fV['querySelector'](fZ)){clearInterval(g0);if(window['PluginUpdates']&&window['PluginUpdates']['observer']){window['PluginUpdates']['observer']['disconnect']();delete window['PluginUpdates']['observer'];}fP['appReload']=!![];fP['initialize']();}if(fU>0x3e8)clearInterval(g0);fU++;},0x64);}});}});});fP['reloadFix']['observe'](fQ,{'childList':!![]});}}};BDFDB['removeReloadListener']=function(g1){if(typeof g1['initialize']==='function'&&typeof g1['reloadFix']==='object'){g1['reloadFix']['disconnect']();}};BDFDB['addSettingsButtonListener']=function(g2){if(BDFDB['isBDv2']()&&typeof g2['getSettingsPanel']==='function'){BDFDB['removeSettingsButtonListener'](g2);BDFDB['appendSettingsButton'](g2);var g3=document['querySelector']('.bd-content-region\x20>\x20.bd-content');if(g3){g2['settingsButtonObserver']=new MutationObserver((g4,g5)=>{g4['forEach']((g6,g7)=>{if(g6['addedNodes']){g6['addedNodes']['forEach'](g8=>{if(g8['tagName']&&g8['classList']['contains']('active')){BDFDB['appendSettingsButton'](g2);}});}});});g2['settingsButtonObserver']['observe'](g3,{'childList':!![]});}}};BDFDB['appendSettingsButton']=function(g9){var ga=document['querySelector']('.bd-card[data-plugin-id='+g9['id']+']');if(ga){var gb=BDFDB['htmlToElement']('');ga['insertBefore'](gb,ga['querySelector']('.bd-button'));BDFDB['$'](gb)['on']('mouseenter.BDFDBSettingsButtonListener',gc=>{BDFDB['createTooltip']('Settings',gc['currentTarget'],{'type':'top'});})['on']('click.BDFDBSettingsButtonListener',gd=>{var ge=BDFDB['htmlToElement'](''+g9['name']+'\x20Settings
');var gf=g9['getSettingsPanel']();ge['querySelector'](BDFDB['dotCN']['modalsubinner'])['appendChild'](typeof gf=='string'?BDFDB['htmlToElement'](gf):gf);if(typeof g9['onSettingsClosed']==='function'){$(ge)['on']('click.BDFDBCloseListener',BDFDB['dotCNC']['modalclose']+BDFDB['dotCN']['backdrop'],()=>{g9['onSettingsClosed']();});}BDFDB['appendModal'](ge);});}};BDFDB['removeSettingsButtonListener']=function(gg){if(BDFDB['isBDv2']()&&typeof gg['settingsButtonObserver']==='object'){BDFDB['removeEles']('.bd-card[data-plugin-id='+gg['id']+']\x20.DevilBro-settingsbutton');gg['settingsButtonObserver']['disconnect']();}};BDFDB['LanguageStrings']=new Proxy(Object['create'](null),{'get':function(){let gh=arguments[0x1];let gi=BDFDB['WebModules']['findByProperties']('Messages')['Messages'];if(!gi[gh])console['log'](gh+'\x20not\x20found\x20in\x20BDFDB.LanguageStrings');else return typeof gi[gh]=='object'?gi[gh]['format'](Object['assign']({},BDFDB['LanguageStringsVars'])):gi[gh];}});BDFDB['LanguageStringsVars']={};for(let gj in BDFDB['WebModules']['findByProperties']('Messages')['Messages']){try{BDFDB['LanguageStrings'][gj];}catch(gk){let gl=gk['toString']()['split']('for:\x20')[0x1];if(gl&&typeof gl=='string')BDFDB['LanguageStringsVars'][gl]='{{'+gl['toLowerCase']()+'}}';}}BDFDB['equals']=function(gm,gn,go){var gp=-0x1;if(go===undefined||typeof go!=='boolean')go=![];return gq(gm,gn);function gq(gr,gs){gp++;var gt=!![];if(gp>0x3e8)gt=null;else{if(typeof gr!==typeof gs)gt=![];else if(typeof gr==='undefined')gt=!![];else if(typeof gr==='symbol')gt=!![];else if(typeof gr==='boolean')gt=gr==gs;else if(typeof gr==='string')gt=gr==gs;else if(typeof gr==='number'){if(isNaN(gr)||isNaN(gs))gt=isNaN(gr)==isNaN(gs);else gt=gr==gs;}else if(!gr&&!gs)gt=!![];else if(!gr||!gs)gt=![];else if(typeof gr==='function'||typeof gr==='object'){var gu=Object['getOwnPropertyNames'](gr);var gv=Object['getOwnPropertyNames'](gs);if(gu['length']!==gv['length'])gt=![];else{for(let gw=0x0;gt===!![]&&gwgG['length']?gI:gG['length'];};BDFDB['readServerList']=function(){var gJ=[],gK=BDFDB['getOwnerInstance']({'node':document['querySelector'](BDFDB['dotCN']['guilds']),'name':'Guild','all':!![],'noCopies':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let gL in gK)if(gK[gL]['props']&&gK[gL]['props']['guild']){gJ['push'](Object['assign'](new gK[gL]['props']['guild']['constructor'](gK[gL]['props']['guild']),{'data':gK[gL]['props']['guild'],'div':gK[gL]['_reactInternalFiber']['child']['stateNode'],'instance':gK[gL]}));}return gJ;};BDFDB['readUnreadServerList']=function(gM){var gN=[];for(let gO of gM===undefined||!Array['isArray'](gM)?BDFDB['readServerList']():gM){let gP=Node['prototype']['isPrototypeOf'](gO)?gO:gO&&gO['div']?gO['div']:null;if(gP&&(gP['classList']['contains'](BDFDB['disCN']['guildunread'])||gP['querySelector'](BDFDB['dotCN']['badge'])))gN['push'](gO);}return gN;};BDFDB['getSelectedServer']=function(){var gQ=BDFDB['WebModules']['findByProperties']('getGuilds')['getGuild'](BDFDB['WebModules']['findByProperties']('getLastSelectedGuildId')['getGuildId']());if(gQ)return BDFDB['getServerData'](gQ['id'])||Object['assign'](new gQ['constructor'](gQ),{'data':gQ,'div':null,'instance':null});else return null;};BDFDB['getServerID']=function(gR){if(!Node['prototype']['isPrototypeOf'](gR)||!BDFDB['getReactInstance'](gR))return;let gS=BDFDB['getParentEle'](BDFDB['dotCN']['guild'],gR);if(!gS)return;var gT=gS['querySelector']('a');var gU=gT&&gT['href']?gT['href']['split']('/'):null;return gU&&gU['length']>0x3&&!isNaN(parseInt(gU[0x4]))?gU[0x4]['toString']():null;};BDFDB['getServerDiv']=function(gV){if(!gV)return null;if(Node['prototype']['isPrototypeOf'](gV))return BDFDB['getParentEle'](BDFDB['dotCN']['guild'],gV);else{let gW=typeof gV=='object'?gV['id']:gV;if(gW)return BDFDB['getParentEle'](BDFDB['dotCN']['guild'],document['querySelector'](BDFDB['dotCNS']['guildswrapper']+BDFDB['dotCNS']['guild']+('a[href*=\x22/channels/'+gW+'\x22]')));}return null;};BDFDB['getServerData']=function(gX){if(!gX)return null;let gY=Node['prototype']['isPrototypeOf'](gX)?BDFDB['getServerID'](gX):typeof gX=='object'?gX['id']:gX;for(let gZ of BDFDB['readServerList']())if(gZ&&gZ['id']==(typeof gY=='number'?gY['toFixed']():gY))return gZ;return null;};BDFDB['readChannelList']=function(){var h0=[],h1=BDFDB['getOwnerInstance']({'node':document['querySelector'](BDFDB['dotCN']['channels']),'name':['ChannelCategoryItem','ChannelItem','PrivateChannel'],'all':!![],'noCopies':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let h2 in h1)if(h1[h2]['props']&&h1[h2]['props']['channel']){h0['push'](Object['assign'](new h1[h2]['props']['channel']['constructor'](h1[h2]['props']['channel']),{'data':h1[h2]['props']['channel'],'div':Node['prototype']['isPrototypeOf'](h1[h2]['_reactInternalFiber']['return']['stateNode'])?h1[h2]['_reactInternalFiber']['return']['stateNode']:h1[h2]['_reactInternalFiber']['child']['child']['stateNode'],'instance':h1[h2]}));}return h0;};BDFDB['getSelectedChannel']=function(){var h3=BDFDB['WebModules']['findByProperties']('getChannels')['getChannel'](BDFDB['WebModules']['findByProperties']('getLastSelectedChannelId')['getChannelId']());if(h3)return BDFDB['getChannelData'](h3['id'])||Object['assign'](new h3['constructor'](h3),{'data':h3,'div':null,'instance':null});else return null;};BDFDB['getChannelID']=function(h4){if(!Node['prototype']['isPrototypeOf'](h4)||!BDFDB['getReactInstance'](h4))return;let h5=BDFDB['getParentEle'](BDFDB['dotCNC']['categorycontainerdefault']+BDFDB['dotCNC']['channelcontainerdefault']+BDFDB['dotCN']['dmchannel'],h4);if(!h5)return;var h6=BDFDB['getKeyInformation']({'node':h5,'key':'channel'});return h6?h6['id']['toString']():null;};BDFDB['getChannelDiv']=function(h7){let h8=BDFDB['getChannelData'](h7);return h8?h8['div']:null;};BDFDB['getChannelData']=function(h9){if(!h9)return null;let ha=Node['prototype']['isPrototypeOf'](h9)?BDFDB['getChannelID'](h9):typeof h9=='object'?h9['id']:h9;for(let hb of BDFDB['readChannelList']())if(hb&&hb['id']==(typeof ha=='number'?ha['toFixed']():ha))return hb;return null;};BDFDB['readDmList']=function(){var hc=[],hd=BDFDB['getOwnerInstance']({'node':document['querySelector'](BDFDB['dotCN']['guilds']),'name':'DirectMessage','all':!![],'noCopies':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let he in hd)if(hd[he]['props']&&hd[he]['props']['channel']){hc['push'](Object['assign'](new hd[he]['props']['channel']['constructor'](hd[he]['props']['channel']),{'data':hd[he]['props']['channel'],'div':hd[he]['_reactInternalFiber']['child']['child']['stateNode'],'instance':hd[he]}));}return hc;};BDFDB['getDmID']=function(hf){if(!Node['prototype']['isPrototypeOf'](hf)||!BDFDB['getReactInstance'](hf))return;let hg=BDFDB['getParentEle'](BDFDB['dotCN']['dms'],hf);if(!hg)return;let hh=BDFDB['getParentEle'](BDFDB['dotCN']['guild'],hf);if(!hh)return;var hi=hh['querySelector']('a');var hj=hi&&hi['href']?hi['href']['split']('/'):null;return hj&&hj['length']>0x3&&!isNaN(parseInt(hj[0x4]))?hj[0x4]['toString']():null;};BDFDB['getDmDiv']=function(hk){if(!hk)return null;if(Node['prototype']['isPrototypeOf'](hk))return BDFDB['getParentEle'](BDFDB['dotCN']['guild'],hk);else{let hl=typeof hk=='object'?hk['id']:hk;if(hl)return BDFDB['getParentEle'](BDFDB['dotCN']['guild'],document['querySelector'](BDFDB['dotCNS']['dms']+BDFDB['dotCNS']['guild']+('a[href*=\x22/channels/'+hl+'\x22]')));}return null;};BDFDB['getDmData']=function(hm){if(!hm)return null;let hn=Node['prototype']['isPrototypeOf'](hm)?BDFDB['getChannelID'](hm):typeof hm=='object'?hm['id']:hm;for(let ho of BDFDB['readDmList']())if(ho&&ho['id']==(typeof hn=='number'?hn['toFixed']():hn))return ho;return null;};BDFDB['getDivOfChannel']=function(hp){for(let hq of BDFDB['readChannelList']())if(hq&&hq['id']==hp)return hq;return null;};BDFDB['getIdOfServer']=function(hr){if(!hr||!hr['classList']||!hr['classList']['contains'](BDFDB['disCN']['guild'])||hr['classList']['contains']('copy')||hr['classList']['contains']('folder'))return;var hs,ht;hs=hr['querySelector']('a');ht=hs&&hs['href']?hs['href']['split']('/'):null;return ht&&ht['length']>0x3&&!isNaN(parseInt(ht[0x4]))?ht[0x4]:null;};BDFDB['getDivOfServer']=function(hu){if(!hu)return null;for(serverObj of BDFDB['readServerList']())if(serverObj&&serverObj['id']==hu)return serverObj;return null;};BDFDB['getIdOfDM']=function(hv){if(!hv||!hv['classList']||!hv['classList']['contains'](BDFDB['disCN']['guild'])||hv['classList']['contains']('copy')||hv['classList']['contains']('folder'))return;if(!hv['parentElement']||!hv['parentElement']['classList']||!hv['parentElement']['classList']['contains'](BDFDB['disCN']['dms']))return;var hw,hx;hw=hv['querySelector']('a');hx=hw&&hw['href']?hw['href']['split']('/'):null;return hx&&hx['length']>0x3&&!isNaN(parseInt(hx[0x5]))?hx[0x5]:null;};BDFDB['getDivOfDM']=function(hy){if(!hy)return null;for(let hz of BDFDB['readDmList']())if(hz&&hz['id']==hy)return hz;return null;};BDFDB['saveAllData']=function(hA,hB,hC){var hD=require('fs'),hE,hF;if(!BDFDB['isBDv2']()){hF=typeof hB==='string'?hB:hB['getName']();hE=require('path')['join'](BDFDB['getPluginsFolder'](),hF+'.config.json');}else{hF=typeof hB==='string'?hB['toLowerCase']():null;var hG=hF?BDFDB['Plugins'][hF]?BDFDB['Plugins'][hF]['contentPath']:null:hB['contentPath'];if(!hG)return;hE=require('path')['join'](hG,'settings.json');}var hH=hD['existsSync'](hE);var hI=!hH?{}:typeof BDFDB['cachedData'][hF]!=='undefined'?BDFDB['cachedData'][hF]:BDFDB['readConfig'](hE);hI[hC]=hA;if(BDFDB['isObjectEmpty'](hI[hC])){delete hI[hC];}if(BDFDB['isObjectEmpty'](hI)){delete BDFDB['cachedData'][hF];if(hH)hD['unlinkSync'](hE);}else{BDFDB['cachedData'][hF]=hI;hD['writeFileSync'](hE,JSON['stringify'](hI,null,'\x09'));}};BDFDB['loadAllData']=function(hJ,hK){var hL=require('fs'),hM,hN;if(!BDFDB['isBDv2']()){hN=typeof hJ==='string'?hJ:hJ['getName']();hM=require('path')['join'](BDFDB['getPluginsFolder'](),hN+'.config.json');}else{hN=typeof hJ==='string'?hJ['toLowerCase']():null;var hO=hN?BDFDB['Plugins'][hN]?BDFDB['Plugins'][hN]['contentPath']:null:hJ['contentPath'];if(!hO)return{};hM=require('path')['join'](hO,'settings.json');}var hP=hL['existsSync'](hM);if(!hP){delete BDFDB['cachedData'][hN];return{};}var hQ=typeof BDFDB['cachedData'][hN]!=='undefined'?BDFDB['cachedData'][hN]:BDFDB['readConfig'](hM);BDFDB['cachedData'][hN]=hQ;return hQ&&typeof hQ[hK]!=='undefined'?hQ[hK]:{};};BDFDB['removeAllData']=function(hR,hS){var hT=require('fs'),hU,hV;if(!BDFDB['isBDv2']()){hV=typeof hR==='string'?hR:hR['getName']();hU=require('path')['join'](BDFDB['getPluginsFolder'](),hV+'.config.json');}else{hV=typeof hR==='string'?hR['toLowerCase']():null;var hW=hV?BDFDB['Plugins'][hV]?BDFDB['Plugins'][hV]['contentPath']:null:hR['contentPath'];if(!hW)return;hU=require('path')['join'](hW,'settings.json');}var hX=hT['existsSync'](hU);var hY=!hX?{}:typeof BDFDB['cachedData'][hV]!=='undefined'?BDFDB['cachedData'][hV]:BDFDB['readConfig'](hU);delete hY[hS];if(BDFDB['isObjectEmpty'](hY)){delete BDFDB['cachedData'][hV];if(hX)hT['unlinkSync'](hU);}else{BDFDB['cachedData'][hV]=hY;hT['writeFileSync'](hU,JSON['stringify'](hY,null,'\x09'));}};BDFDB['getAllData']=function(hZ,i0,i1){if(!hZ['defaults']||!hZ['defaults'][i0])return{};var i2=BDFDB['loadAllData'](hZ,i0),i3={},i4=![];for(let i5 in hZ['defaults'][i0]){if(i2[i5]==null){i3[i5]=hZ['defaults'][i0][i5]['value'];i4=!![];}else{i3[i5]=i2[i5];}if(typeof i1==='object'&&i1&&typeof i1[i3[i5]]==='undefined'){i3[i5]=Object['keys'](i1)[0x0];i4=!![];}}if(i4)BDFDB['saveAllData'](i3,hZ,i0);return i3;};BDFDB['readConfig']=function(...i6){try{return JSON['parse'](require('fs')['readFileSync'](...i6));}catch(i7){return{};}};BDFDB['saveData']=function(i8,i9,ia,ib){var ic=BDFDB['loadAllData'](ia,ib);ic[i8]=i9;BDFDB['saveAllData'](ic,ia,ib);};BDFDB['loadData']=function(id,ie,ig){var ih=BDFDB['loadAllData'](ie,ig);var ii=ih[id];return ii===undefined?null:ii;};BDFDB['removeData']=function(ij,ik,il){var im=BDFDB['loadAllData'](ik,il);delete im[ij];BDFDB['saveAllData'](im,ik,il);};BDFDB['getData']=function(io,ip,iq,ir){var is=BDFDB['getAllData'](ip,iq,ir);var it=is[io];return it===undefined?null:it;};BDFDB['appendWebScript']=function(iu,iv){if(!iv&&!document['head']['querySelector']('bd-head\x20bd-scripts'))document['head']['appendChild'](BDFDB['htmlToElement'](''));iv=iv||document['head']['querySelector']('bd-head\x20bd-scripts')||document['head'];BDFDB['removeWebScript'](iu,iv);var iw=document['createElement']('script');iw['setAttribute']('src',iu);iv['appendChild'](iw);};BDFDB['removeWebScript']=function(ix,iy){iy=iy||document['head']['querySelector']('bd-head\x20bd-scripts')||document['head'];iy['querySelectorAll']('script[src=\x22'+ix+'\x22]')['forEach'](iz=>{iz['remove']();});};BDFDB['appendWebStyle']=function(iA,iB){if(!iB&&!document['head']['querySelector']('bd-head\x20bd-styles'))document['head']['appendChild'](BDFDB['htmlToElement'](''));iB=iB||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];BDFDB['removeWebStyle'](iA,iB);var iC=document['createElement']('link');iC['setAttribute']('type','text/css');iC['setAttribute']('rel','Stylesheet');iC['setAttribute']('href',iA);iB['appendChild'](iC);};BDFDB['removeWebStyle']=function(iD,iE){iE=iE||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];iE['querySelectorAll']('link[href=\x22'+iD+'\x22]')['forEach'](iF=>{iF['remove']();});};BDFDB['appendLocalStyle']=function(iG,iH,iI){if(!iI&&!document['head']['querySelector']('bd-head\x20bd-styles'))document['head']['appendChild'](BDFDB['htmlToElement'](''));iI=iI||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];BDFDB['removeLocalStyle'](iG,iI);var iJ=document['createElement']('style');iJ['id']=iG+'CSS';iJ['innerHTML']=iH;iI['appendChild'](iJ);};BDFDB['removeLocalStyle']=function(iK,iL){iL=iL||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];iL['querySelectorAll']('style[id=\x22'+iK+'CSS\x22]')['forEach'](iM=>{iM['remove']();});};BDFDB['formatBytes']=function(iN,iO){if(iN==0x0)return'0\x20Bytes';if(iN==0x1)return'1\x20Byte';var iP=0x400,iQ=iO<0x1?0x0:iO>0x14?0x14:iO||0x2,iR=['Bytes','KB','MB','GB','TB','PB','EB','ZB','YB'],iS=Math['floor'](Math['log'](iN)/Math['log'](iP));return parseFloat((iN/Math['pow'](iP,iS))['toFixed'](iQ))+'\x20'+iR[iS];};BDFDB['colorCONVERT']=function(iT,iU,iV){if(!iT)return null;iU=iU===undefined||!iU?iU='RGBCOMP':iU['toUpperCase']();iV=iV===undefined||!iV||!['RGB','RGBA','RGBCOMP','HSL','HSLA','HSLCOMP']['includes'](iV['toUpperCase']())?BDFDB['colorTYPE'](iT):iV['toUpperCase']();if(iU=='RGBCOMP'){switch(iV){case'RGBCOMP':if(iT['length']==0x3)return jv(iT);else if(iT['length']==0x4){var iW=jy(iT['pop']());return jv(iT)['concat'](iW);}case'RGB':return jv(iT['replace'](/\s/g,'')['slice'](0x4,-0x1)['split'](','));case'RGBA':var iX=iT['replace'](/\s/g,'')['slice'](0x5,-0x1)['split'](',');var iW=jy(iX['pop']());return jv(iX)['concat'](iW);case'HSLCOMP':if(iT['length']==0x3)return BDFDB['colorCONVERT']('hsl('+iT['join'](',')+')','RGBCOMP');else if(iT['length']==0x4){var iW=jy(jc['pop']());return BDFDB['colorCONVERT']('hsl('+jc['join'](',')+')','RGBCOMP')['concat'](iW);}case'HSL':var j0=jC(iT['replace'](/\s/g,'')['slice'](0x4,-0x1)['split'](','));var j1,j2,j3,j4,j5,j6,j7,j8;var j9=j0[0x0]/0x168,ja=parseInt(j0[0x1])/0x64,jb=parseInt(j0[0x2])/0x64;j4=Math['floor'](j9*0x6);j5=j9*0x6-j4;j6=jb*(0x1-ja);j7=jb*(0x1-j5*ja);j8=jb*(0x1-(0x1-j5)*ja);switch(j4%0x6){case 0x0:j1=jb,j2=j8,j3=j6;break;case 0x1:j1=j7,j2=jb,j3=j6;break;case 0x2:j1=j6,j2=jb,j3=j8;break;case 0x3:j1=j6,j2=j7,j3=jb;break;case 0x4:j1=j8,j2=j6,j3=jb;break;case 0x5:j1=jb,j2=j6,j3=j7;break;}return[Math['round'](j1*0xff),Math['round'](j2*0xff),Math['round'](j3*0xff)];case'HSLA':var jc=iT['replace'](/\s/g,'')['slice'](0x5,-0x1)['split'](',');var iW=jy(jc['pop']());return BDFDB['colorCONVERT']('hsl('+jc['join'](',')+')','RGBCOMP')['concat'](iW);case'HEX':var je=/^#([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'](iT);return[parseInt(je[0x1]+je[0x1]||je[0x4],0x10)['toString'](),parseInt(je[0x2]+je[0x2]||je[0x5],0x10)['toString'](),parseInt(je[0x3]+je[0x3]||je[0x6],0x10)['toString']()];default:return null;}}else{var jf=iV=='RGBCOMP'?iT:BDFDB['colorCONVERT'](iT,'RGBCOMP',iV);if(jf)switch(iU){case'RGB':return'rgb('+jv(jf['slice'](0x0,0x3))['join'](',')+')';case'RGBA':jf=jf['slice'](0x0,0x4);var iW=jf['length']==0x4?jy(jf['pop']()):0x1;return'rgba('+jv(jf)['concat'](iW)['join'](',')+')';case'HSLCOMP':var iW=jf['length']==0x4?jy(jf['pop']()):null;var j0=jC(BDFDB['colorCONVERT'](jf,'HSL')['replace'](/\s/g,'')['split'](','));return iW?j0['concat'](iW):j0;case'HSL':var j1=jt(jf[0x0]),j2=jt(jf[0x1]),j3=jt(jf[0x2]);var jm=Math['max'](j1,j2,j3),jn=Math['min'](j1,j2,j3),jo=jm-jn,j9,ja=jm===0x0?0x0:jo/jm,jb=jm/0xff;switch(jm){case jn:j9=0x0;break;case j1:j9=j2-j3+jo*(j20xff?0xff:ju<0x0?0x0:ju;};function jv(jw){return jw['map'](jx=>{return jt(jx);});};function jy(iW){iW=iW['toString']();iW=(iW['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(iW['replace'](/[^0-9\.\-]/g,''));return isNaN(iW)||iW>0x1?0x1:iW<0x0?0x0:iW;};function jA(j6){j6=parseFloat(j6['toString']()['replace'](/[^0-9\.\-]/g,''));return(isNaN(j6)||j6>0x64?0x64:j6<0x0?0x0:j6)+'%';};function jC(jD){let j9=parseFloat(jD['shift']()['toString']()['replace'](/[^0-9\.\-]/g,''));j9=isNaN(j9)||j9>0x168?0x168:j9<0x0?0x0:j9;return[j9]['concat'](jD['map'](j6=>{return jA(j6);}));};};BDFDB['colorSETALPHA']=function(jG,jH,jI){var jJ=BDFDB['colorCONVERT'](jG,'RGBCOMP');if(jJ){jH=jH['toString']();jH=(jH['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(jH['replace'](/[^0-9\.\-]/g,''));jH=isNaN(jH)||jH>0x1?0x1:jH<0x0?0x0:jH;jJ[0x3]=jH;var jK=(jI||BDFDB['colorTYPE'](jG))['toUpperCase']();jK=jK=='HSL'||jK=='RGB'?jK+'A':jK;return BDFDB['colorCONVERT'](jJ,jK);}return null;};BDFDB['colorCHANGE']=function(jL,jM,jN){jM=parseFloat(jM);if(jL&&typeof jM=='number'&&!isNaN(jM)){var jO=BDFDB['colorCONVERT'](jL,'RGBCOMP');if(jO){if(parseInt(jM)!==jM){jM=jM['toString']();jM=(jM['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(jM['replace'](/[^0-9\.\-]/g,''));jM=isNaN(jM)?0x0:jM;return BDFDB['colorCONVERT']([Math['round'](jO[0x0]*(0x1+jM)),Math['round'](jO[0x1]*(0x1+jM)),Math['round'](jO[0x2]*(0x1+jM))],jN||BDFDB['colorTYPE'](jL));}else return BDFDB['colorCONVERT']([Math['round'](jO[0x0]+jM),Math['round'](jO[0x1]+jM),Math['round'](jO[0x2]+jM)],jN||BDFDB['colorTYPE'](jL));}}return null;};BDFDB['colorINV']=function(jP,jQ){if(jP){var jR=BDFDB['colorCONVERT'](jP,'RGBCOMP');if(jR)return BDFDB['colorCONVERT']([0xff-jR[0x0],0xff-jR[0x1],0xff-jR[0x2]],jQ||BDFDB['colorTYPE'](jP));}return null;};BDFDB['colorCOMPARE']=function(jS,jT){if(jS&&jT){jS=BDFDB['colorCONVERT'](jS,'RGBCOMP');jT=BDFDB['colorCONVERT'](jT,'RGBCOMP');return BDFDB['equals'](jS,jT);}return null;};BDFDB['colorISBRIGHT']=function(jU,jV=0xa0){jU=BDFDB['colorCONVERT'](jU,'RGBCOMP');if(!jU)return![];return parseInt(jV)