diff --git a/Plugins/BDFDB.js b/Plugins/BDFDB.js
index 223ff7c238..c6dd51213c 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(a0=='mouseenter')V(BDFDB['copyEvent'](a1,a2));let a3=a4=>{if(a4['target']['contains'](a2)||a4['target']==a2||!a2['contains'](a4['target'])){if(a0=='mouseleave')V(BDFDB['copyEvent'](a1,a2));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)){V(BDFDB['copyEvent'](a5,a6));break;}};}}else{Z=a7=>{V(BDFDB['copyEvent'](a7,P));};}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['copyEvent']=function(a8,a9){var aa=new a8['constructor'](a8['type'],a8);Object['defineProperty'](aa,'originalEvent',{'value':a8});Object['defineProperty'](aa,'path',{'value':a8['path']});Object['defineProperty'](aa,'relatedTarget',{'value':a8['relatedTarget']});Object['defineProperty'](aa,'srcElement',{'value':a8['srcElement']});Object['defineProperty'](aa,'target',{'value':a8['target']});Object['defineProperty'](aa,'toElement',{'value':a8['toElement']});if(a9)Object['defineProperty'](aa,'currentTarget',{'value':a9});return aa;};BDFDB['removeEventListener']=function(ab,ac,ad='',ae){if(!ab||!Array['isArray'](ab['listeners']))return;if(Node['prototype']['isPrototypeOf'](ac)){for(var af of ad['split']('\x20')){af=af['split']('.');var ag=af['shift']()['toLowerCase']();var ah=(af['join']('.')||'')+(ab['name']||ab['getName']());ag=ag=='mouseenter'||ag=='mouseleave'?'mouseover':ag;for(let ai of ab['listeners']){let aj=[];if(ai['ele']==ac&&(!ag||ai['eventname']==ag)&&ai['namespace']==ah&&(ae===undefined||ai['selector']==ae)){ac['removeEventListener'](ai['eventname'],ai['eventcallback'],!![]);aj['push'](ai);}if(aj['length'])ab['listeners']=ab['listeners']['filter'](ai=>{return aj['indexOf'](ai)<0x0;});}}}else if(!ac){for(let al of ab['listeners'])al['ele']['removeEventListener'](al['eventname'],al['eventcallback'],!![]);ab['listeners']=[];}};BDFDB['checkUpdate']=function(am,an){if(BDFDB['isBDv2']())return;var ao=require('request');ao(an,(ap,aq,ar)=>{if(ap)return;var as=ar['match'](/['"][0-9]+\.[0-9]+\.[0-9]+['"]/i);if(!as)return;as=as['toString']()['replace'](/['"]/g,'');var at=as['split']('.');var au=window['PluginUpdates']['plugins'][an]['version']['split']('.');var av=![];if(at[0x0]>au[0x0])av=!![];else if(at[0x0]==au[0x0]&&at[0x1]>au[0x1])av=!![];else if(at[0x0]==au[0x0]&&at[0x1]==au[0x1]&&at[0x2]>au[0x2])av=!![];else av=![];if(av)BDFDB['showUpdateNotice'](am,an);else BDFDB['removeUpdateNotice'](am);});};BDFDB['showUpdateNotice']=function(aw,ax){var ay=document['querySelector']('#pluginNotice');if(!ay){ay=BDFDB['createNotificationsBar']('The\x20following\x20plugins\x20have\x20updates: ',{'html':!![],'id':'pluginNotice','type':'info','btn':!BDFDB['isRestartNoMoreEnabled']()?'Reload':''});ay['style']['setProperty']('display','block','important');ay['style']['setProperty']('visibility','visible','important');ay['style']['setProperty']('opacity','1','important');var az=ay['querySelector'](BDFDB['dotCN']['noticebutton']);if(az){az['style']['setProperty']('display','none','important');az['addEventListener']('click',aA=>{aA['preventDefault']();window['location']['reload'](![]);});az['addEventListener']('mouseenter',()=>{if(window['PluginUpdates']['downloaded'])BDFDB['createTooltip'](window['PluginUpdates']['downloaded']['join'](',\x20'),az,{'type':'bottom','selector':'update-notice-tooltip'});});}}if(ay){var aB=ay['querySelector']('#outdatedPlugins');var aC=aw+'-notice';if(aB&&!aB['querySelector']('#'+aC)){var aD=BDFDB['htmlToElement'](''+aw+'');aD['addEventListener']('click',()=>{BDFDB['downloadPlugin'](aw,ax,ay);});if(aB['querySelector']('span'))aB['appendChild'](BDFDB['htmlToElement'](',\x20'));aB['appendChild'](aD);}}};BDFDB['downloadPlugin']=function(aE,aF,aG){var aH=require('request');var aI=require('fs');var aJ=require('path');aH(aF,(aK,aL,aM)=>{if(aK)return console['log']('Unable\x20to\x20get\x20update\x20for\x20'+aE);BDFDB['creationTime']=0x0;var aN=aM['match'](/['"][0-9]+\.[0-9]+\.[0-9]+['"]/i);aN=aN['toString']()['replace'](/['"]/g,'');var aO=aF['split']('/');aO=aO[aO['length']-0x1];var aP=aJ['join'](BDFDB['getPluginsFolder'](),aO);aI['writeFileSync'](aP,aM);BDFDB['showToast'](aE+'\x20v'+window['PluginUpdates']['plugins'][aF]['version']+'\x20has\x20been\x20replaced\x20by\x20'+aE+'\x20v'+aN+'.',{'selector':'plugin-updated-toast'});if(aG['querySelector'](BDFDB['dotCN']['noticebutton'])){window['PluginUpdates']['plugins'][aF]['version']=aN;if(!window['PluginUpdates']['downloaded'])window['PluginUpdates']['downloaded']=[];if(!window['PluginUpdates']['downloaded']['includes'](aE))window['PluginUpdates']['downloaded']['push'](aE);}BDFDB['removeUpdateNotice'](aE,aG);});};BDFDB['removeUpdateNotice']=function(aQ,aR=document['querySelector']('#pluginNotice')){if(!aR)return;var aS=aR['querySelector']('#outdatedPlugins');if(aS){var aT=aS['querySelector']('#'+aQ+'-notice');if(aT){var aU=aT['nextSibling'];var aV=aT['prevSibling'];if(aU&&aU['classList']&&aU['classList']['contains']('separator'))aU['remove']();else if(aV&&aV['classList']&&aV['classList']['contains']('separator'))aV['remove']();aT['remove']();}if(!aS['querySelector']('span')){var aW=aR['querySelector'](BDFDB['dotCN']['noticebutton']);if(aW){aR['querySelector']('.notice-message')['innerText']='To\x20finish\x20updating\x20you\x20need\x20to\x20reload.';aW['style']['removeProperty']('display');}else aR['querySelector'](BDFDB['dotCN']['noticedismiss'])['click']();}}};BDFDB['showToast']=function(aX,aY={}){var aZ=document['querySelector']('.toasts,\x20.bd-toasts');if(!aZ){var b0=document['querySelector'](BDFDB['dotCN']['channels']+'\x20+\x20div');var b1=b0?b0['getBoundingClientRect']():null;var b2=b0?b0['querySelector'](BDFDB['dotCN']['memberswrap']):null;var b3=b1?b1['left']:0x136;var b4=b1?b2?b1['width']-b2['getBoundingClientRect']()['width']:b1['width']:window['outerWidth']-b3;var b5=b0?b0['querySelector']('form'):null;var b6=b5?b5['getBoundingClientRect']()['height']:0x50;aZ=BDFDB['htmlToElement']('
');document['querySelector'](BDFDB['dotCN']['app'])['appendChild'](aZ);}const {type='',icon=!![],timeout=0xbb8,html=![],selector=''}=aY;var b7=BDFDB['htmlToElement'](''+(html===!![]?aX:BDFDB['encodeToHTML'](aX))+'
');if(type){b7['classList']['add']('toast-'+type);if(icon)b7['classList']['add']('icon');}if(selector)selector['split']('\x20')['forEach'](b8=>{if(b8)b7['classList']['add'](b8);});aZ['appendChild'](b7);b7['close']=()=>{if(document['contains'](b7)){b7['classList']['add']('closing');setTimeout(()=>{b7['remove']();if(!aZ['querySelectorAll']('.toast,\x20.bd-toast')['length'])aZ['remove']();},0x12c);}};setTimeout(()=>{b7['close']();},timeout>0x0?timeout:0x927c0);return b7;};BDFDB['DesktopNotificationQueue']={'queue':[],'running':![]};BDFDB['showDesktopNotification']=function(b9,ba={}){var bb=()=>{BDFDB['DesktopNotificationQueue']['queue']['push']({'parsedcontent':b9,'parsedoptions':ba});bc();};var bc=()=>{if(!BDFDB['DesktopNotificationQueue']['running']){var bd=BDFDB['DesktopNotificationQueue']['queue']['shift']();if(bd)be(bd['parsedcontent'],bd['parsedoptions']);}};var be=(bf,bg)=>{BDFDB['DesktopNotificationQueue']['running']=!![];var bh=bg['silent'];bg['silent']=bg['silent']||bg['sound']?!![]:![];var bi=new Notification(bf,bg);var bj=new Audio();var bk=setTimeout(()=>{bl();},bg['timeout']?bg['timeout']:0xbb8);if(typeof bg['click']=='function')bi['onclick']=()=>{clearTimeout(bk);bl();bg['click']();};if(!bh&&bg['sound']){bj['src']=bg['sound'];bj['play']();}var bl=()=>{bj['pause']();bi['close']();BDFDB['DesktopNotificationQueue']['running']=![];setTimeout(()=>{bc();},0x3e8);};};if(!('Notification'in window)){}else if(Notification['permission']==='granted'){bb();}else if(Notification['permission']!=='denied'){Notification['requestPermission'](function(bm){if(bm==='granted'){bb();}});}};BDFDB['createTooltip']=function(bn,bo,bp={}){if(!bn||!bo||!document['contains'](bo))return null;var bq=document['querySelector'](BDFDB['dotCN']['tooltips']);if(!bq)return null;var br=Math['round'](Math['random']()*0x2386f26fc10000);var bs=BDFDB['htmlToElement']('');if(bp['type']&&BDFDB['disCN']['tooltip'+bp['type']['toLowerCase']()])bs['classList']['add'](BDFDB['disCN']['tooltip'+bp['type']['toLowerCase']()]);if(bp['id'])bs['id']=bp['id']['split']('\x20')['join']('');if(bp['selector'])bp['selector']['split']('\x20')['forEach'](bt=>{if(bt)bs['classList']['add'](bt);});if(bp['css'])BDFDB['appendLocalStyle']('BDFDBcustomTooltip'+br,bp['css'],bq);if(bp['style'])bs['style']=bp['style'];if(bp['html']===!![])bs['innerHTML']=bn;else bs['innerText']=bn;if(bs['style']['borderColor']&&bs['style']['backgroundColor'])bs['classList']['add']('tooltip-customcolor');else if(bp['color']&&BDFDB['disCN']['tooltip'+bp['color']['toLowerCase']()])bs['classList']['add'](BDFDB['disCN']['tooltip'+bp['color']['toLowerCase']()]);else bs['classList']['add'](BDFDB['disCN']['tooltipblack']);var bu=()=>{if(bp['delay']&&bI)clearTimeout(bI);bs['remove']();};var bv=()=>{if(bo['parentElement']&&document['contains'](bo)){bo['addEventListener']('mouseleave',bu);bq['appendChild'](bs);var bw,bx,by=bo['getBoundingClientRect'](),bz=bs['getBoundingClientRect']();if(!bp['position'])bp['position']=bp['type'];switch(bp['position']){case'top':bw=by['left']+(by['width']-bz['width'])/0x2;bx=by['top']-bz['height'];break;case'bottom':bw=by['left']+(by['width']-bz['width'])/0x2;bx=by['top']+by['height'];break;case'left':bw=by['left']-bz['width'];bx=by['top']+(by['height']-bz['height'])/0x2;break;default:bw=by['left']+by['width'];bx=by['top']+(by['height']-bz['height'])/0x2;break;}bs['style']['setProperty']('left',bw+'px','important');bs['style']['setProperty']('top',bx+'px','important');var bA=new MutationObserver(bB=>{bB['forEach'](bC=>{var bD=Array['from'](bC['removedNodes']);var bE=bD['indexOf'](bs)>-0x1;var bF=bD['indexOf'](bo)>-0x1;var bG=bD['some'](bH=>bH['contains'](bo));if(bE||bF||bG){bA['disconnect']();bs['remove']();bo['removeEventListener']('mouseleave',bu);BDFDB['removeLocalStyle']('BDFDBcustomTooltip'+br,bq);}});});bA['observe'](document['body'],{'subtree':!![],'childList':!![]});}};var bI=null;if(bp['delay'])bI=setTimeout(bv,bp['delay']);else bv();return bs;};BDFDB['createNotificationsBar']=function(bJ,bK={}){if(!bJ)return;var bL=document['querySelector'](BDFDB['dotCN']['layers']);if(!bL)return;var bM=Math['round'](Math['random']()*0x2386f26fc10000);var bN=BDFDB['htmlToElement']('');bL['parentElement']['insertBefore'](bN,bL);bN['style']['setProperty']('height','36px','important');var bO=bN['querySelector']('.notice-message');if(bK['icon']){var bP={'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 bQ of bK['icon']['split']('\x20')){if(bP[bQ])bN['insertBefore'](BDFDB['htmlToElement'](''),bP[bQ]['size']=='small'?null:bO);}}if(bK['btn'])bN['appendChild'](BDFDB['htmlToElement'](''));if(bK['id'])bN['id']=bK['id']['split']('\x20')['join']('');if(bK['selector'])bK['selector']['split']('\x20')['forEach'](bR=>{if(bR)bN['classList']['add'](bR);});if(bK['css'])BDFDB['appendLocalStyle']('BDFDBcustomnotibar'+bM,bK['css']);if(bK['style'])bN['style']=bK['style'];if(bK['html']===!![])bO['innerHTML']=bJ;else{var bS=document['createElement']('a');var bT=[];for(let bU of bJ['split']('\x20')){var bV=BDFDB['encodeToHTML'](bU);bS['href']=bU;bT['push'](bS['host']&&bS['host']!==window['location']['host']?'':bV);}bO['innerHTML']=bT['join']('\x20');}var bW=null;if(bK['type']&&!document['querySelector'](BDFDB['dotCNS']['chatbase']+BDFDB['dotCN']['noticestreamer'])){var bX={'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(bW=bX[bK['type']])bW['split']('\x20')['forEach'](bY=>{if(bY)bN['classList']['add'](bY);});if(bK['type']=='premium'){var bZ=bN['querySelector'](BDFDB['dotCN']['noticebutton']);if(bZ)bZ['classList']['add'](BDFDB['disCN']['noticepremiumaction']);bO['classList']['add'](BDFDB['disCN']['noticepremiumtext']);bN['insertBefore'](BDFDB['htmlToElement'](''),bO);}}if(!bW){var c0=BDFDB['colorCONVERT'](bK['color'],'RGBCOMP');if(c0){var c1=c0[0x0]>0xb4&&c0[0x1]>0xb4&&c0[0x2]>0xb4?'#000':'#FFF';var c2=BDFDB['colorCONVERT'](c0,'HEX');var c3=c0[0x0]>0xb4&&c0[0x1]>0xb4&&c0[0x2]>0xb4?'brightness(0%)':'brightness(100%)';BDFDB['appendLocalStyle']('BDFDBcustomnotibarColorCorrection'+bM,'.DevilBro-notice.notice-'+bM+'\x20{\x0a\x09\x09\x09\x09\x09\x09background-color:\x20'+c2+'\x20!important;\x0a\x09\x09\x09\x09\x09}\x0a\x09\x09\x09\x09\x09.DevilBro-notice.notice-'+bM+'\x20.notice-message\x20{\x0a\x09\x09\x09\x09\x09\x09color:\x20'+c1+'\x20!important;\x0a\x09\x09\x09\x09\x09}\x0a\x09\x09\x09\x09\x09.DevilBro-notice.notice-'+bM+'\x20'+BDFDB['dotCN']['noticebutton']+'\x20{\x0a\x09\x09\x09\x09\x09\x09color:\x20'+c1+'\x20!important;\x0a\x09\x09\x09\x09\x09\x09border-color:\x20'+BDFDB['colorSETALPHA'](c1,0.25,'RGBA')+'\x20!important;\x0a\x09\x09\x09\x09\x09}\x0a\x09\x09\x09\x09\x09.DevilBro-notice.notice-'+bM+'\x20'+BDFDB['dotCN']['noticebutton']+':hover\x20{\x0a\x09\x09\x09\x09\x09\x09color:\x20'+c2+'\x20!important;\x0a\x09\x09\x09\x09\x09\x09background-color:\x20'+c1+'\x20!important;\x0a\x09\x09\x09\x09\x09}\x0a\x09\x09\x09\x09\x09.DevilBro-notice.notice-'+bM+'\x20'+BDFDB['dotCN']['noticedismiss']+'\x20{\x0a\x09\x09\x09\x09\x09\x09filter:\x20'+c3+'\x20!important;\x0a\x09\x09\x09\x09\x09}');}else bN['classList']['add'](BDFDB['disCN']['noticedefault']);}bN['querySelector'](BDFDB['dotCN']['noticedismiss'])['addEventListener']('click',()=>{bN['style']['setProperty']('overflow','hidden','important');bN['style']['setProperty']('height','0px','important');setTimeout(()=>{BDFDB['removeLocalStyle']('BDFDBcustomnotibar'+bM);BDFDB['removeLocalStyle']('BDFDBcustomnotibarColorCorrection'+bM);bN['remove']();},0x1f4);});return bN;};BDFDB['getDiscordFolder']=function(){var c4=BDFDB['getDiscordBuilt']();c4='discord'+(c4=='stable'?'':c4);return require('path')['resolve'](require('electron')['remote']['app']['getPath']('appData'),c4,BDFDB['getDiscordVersion']());};BDFDB['getPluginsFolder']=function(){var c5=require('process');var c6=require('path');if(c5['env']['injDir'])return c6['resolve'](c5['env']['injDir'],'plugins/');switch(c5['platform']){case'win32':return c6['resolve'](c5['env']['appdata'],'BetterDiscord/plugins/');case'darwin':return c6['resolve'](c5['env']['HOME'],'Library/Preferences/BetterDiscord/plugins/');default:if(c5['env']['XDG_CONFIG_HOME'])return c6['resolve'](c5['env']['XDG_CONFIG_HOME'],'BetterDiscord/plugins/');else return c6['resolve'](c5['env']['HOME'],'.config/BetterDiscord/plugins/');}};BDFDB['getThemesFolder']=function(){var c7=require('process');var c8=require('path');if(c7['env']['injDir'])return c8['resolve'](c7['env']['injDir'],'plugins/');switch(c7['platform']){case'win32':return c8['resolve'](c7['env']['appdata'],'BetterDiscord/themes/');case'darwin':return c8['resolve'](c7['env']['HOME'],'Library/Preferences/BetterDiscord/themes/');default:if(c7['env']['XDG_CONFIG_HOME'])return c8['resolve'](c7['env']['XDG_CONFIG_HOME'],'BetterDiscord/themes/');else return c8['resolve'](c7['env']['HOME'],'.config/BetterDiscord/themes/');}};BDFDB['checkWhichRepoPage']=function(c9=document['querySelector'](BDFDB['dotCN']['layer']+'[layer-id=\x27user-settings\x27]')){if(!c9)return;var ca=c9['querySelector'](BDFDB['dotCN']['_repofolderbutton']);if(!ca)return;var cb=ca['parentElement']['querySelector']('h2');if(cb&&cb['innerText']){let cc=cb['innerText']['toLowerCase']();if(cc==='plugins'||cc==='themes')return cc;}};BDFDB['checkAllUpdates']=function(){for(let cd in window['PluginUpdates']['plugins']){var ce=window['PluginUpdates']['plugins'][cd];BDFDB['checkUpdate'](ce['name'],ce['raw']);}};BDFDB['sortObject']=function(cf,cg,ch){var ci={};if(cg===undefined||!cg)for(let cj of Object['keys'](cf)['sort']())ci[cj]=cf[cj];else{let ck=[];for(let cj in cf)ck['push'](cf[cj]);ck=BDFDB['sortArrayByKey'](ck,cg,ch);for(let cm of ck)for(let cj in cf)if(BDFDB['equals'](cm,cf[cj])){ci[cj]=cm;break;}}return ci;};BDFDB['reverseObject']=function(co,cp){var cq={};if(cp===undefined||!cp)for(let cr of Object['keys'](co)['reverse']())cq[cr]=co[cr];else for(let cs of Object['keys'](co)['sort']['reverse']())cq[cs]=co[cs];return cq;};BDFDB['filterObject']=function(ct,cu){return Object['keys'](ct)['filter'](cv=>cu(ct[cv]))['reduce']((cw,cx)=>(cw[cx]=ct[cx],cw),{});};BDFDB['isObjectEmpty']=function(cy){return typeof cy!=='object'||Object['getOwnPropertyNames'](cy)['length']==0x0;};BDFDB['pushToObject']=function(cz,cA){if(cz&&typeof cz=='object')cz[Object['keys'](cz)['length']]=cA;};BDFDB['sortArrayByKey']=function(cB,cC,cD){if(cD===undefined)cD=null;return cB['sort'](function(cE,cF){var cG=cE[cC],cH=cF[cC];if(cG!==cD)return cGcH?0x1:0x0;});};BDFDB['removeFromArray']=function(cI,cJ){if(!cI||!cJ||!Array['isArray'](cI)||!cI['includes'](cJ))return;cI['splice'](cI['indexOf'](cJ),0x1);};BDFDB['getAllIndexes']=function(cK,cL){var cM=[],cN=-0x1;while((cN=cK['indexOf'](cL,cN+0x1))!==-0x1){cM['push'](cN);}return cM;};BDFDB['highlightText']=function(cO,cP){if(!cP||cP['length']<0x1)return cO;var cQ=0x0,cR=cO,cS='',cT='';BDFDB['getAllIndexes'](cO['toUpperCase'](),cP['toUpperCase']())['forEach'](cU=>{var cV=cQ*(cS['length']+cT['length']);cU=cU+cV;var cW=cU+cP['length'];var cX=[-0x1]['concat'](BDFDB['getAllIndexes'](cO['substring'](0x0,cU),'<'));var cY=[-0x1]['concat'](BDFDB['getAllIndexes'](cO['substring'](0x0,cU),'>'));if(cX[cX['length']-0x1]>cY[cY['length']-0x1])return;cO=cO['substring'](0x0,cU)+cS+cO['substring'](cU,cW)+cT+cO['substring'](cW);cQ++;});return cO?cO:cR;};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 cZ=setInterval(()=>{var d0=document['querySelector']('html')['lang'];if(d0){clearInterval(cZ);BDFDB['languages']['$discord']['name']='Discord\x20('+BDFDB['languages'][d0]['name']+')';BDFDB['languages']['$discord']['id']=BDFDB['languages'][d0]['id'];BDFDB['languages']['$discord']['ownlang']=BDFDB['languages'][d0]['ownlang'];}},0x64);BDFDB['getDiscordBuilt']=function(){if(BDFDB['getDiscordBuilt']['built'])return BDFDB['getDiscordBuilt']['built'];else{var d1=null;try{d1=require(require('electron')['remote']['app']['getAppPath']()+'/build_info.json')['releaseChannel']['toLowerCase']();}catch(d2){try{d1=require(require('electron')['remote']['app']['getAppPath']()['replace']('\x5capp.asar','')+'/build_info.json')['releaseChannel']['toLowerCase']();}catch(d3){var d4=BDFDB['getDiscordVersion']();if(d4){d4=d4['split']('.');if(d4['length']==0x3&&!isNaN(d4=parseInt(d4[0x2]))){d1=d4>0x122?'stable':d4>0xc8?'canary':'ptb';}else d1='stable';}else d1='stable';}}BDFDB['getDiscordBuilt']['built']=d1;return d1;}};BDFDB['getDiscordVersion']=function(){if(BDFDB['getDiscordBuilt']['version'])return BDFDB['getDiscordBuilt']['version'];else{var d5=null;try{d5=require('electron')['remote']['app']['getVersion']();}catch(d6){d5='';}BDFDB['getDiscordBuilt']['version']=d5;return d5;}};BDFDB['getDiscordLanguage']=function(){var d7=document['querySelector']('html')['lang']||'en-US';var d8=d7['split']('-');var d9=d8[0x0];var da=d8[0x1]?d8[0x1]:'';d7=da&&d9['toUpperCase']()!==da['toUpperCase']()?d9+'-'+da:d9;return BDFDB['languages'][d7]||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 db=document['body']['firstElementChild']['getBoundingClientRect']();var dc=Math['round'](0x64*window['outerWidth']/db['width']);var dd=Math['round'](0x64*window['outerHeight']/db['height']);return dcdf['startsWith']('__reactInternalInstance'))];};BDFDB['getOwnerInstance']=function(dg){if(dg===undefined)return null;if(!dg['node']&&!dg['instance']||!dg['name']&&(!dg['props']||!Array['isArray'](dg['props'])))return null;var dh=dg['instance']||BDFDB['getReactInstance'](dg['node']);if(!dh)return null;var di=-0x1;var dj=dg['depth']===undefined?0xf:dg['depth'];var dk=dg['up']===undefined?![]:dg['up'];var dl=performance['now']();var dm=dg['time']===undefined?0x96:dg['time'];var dn=dk?{'return':!![],'sibling':!![]}:{'child':!![],'sibling':!![]};var dp=Array['isArray'](dg['name']);var dq={};var dr=du(dh);if(dg['all']){for(let ds in dq){if(dg['group'])for(let dt in dq[ds])delete dq[ds][dt]['BDFDBreactSearch'];else delete dq[ds]['BDFDBreactSearch'];}return dq;}else return dr;function du(dv){di++;if(!dv||Node['prototype']['isPrototypeOf'](dv)||BDFDB['getReactInstance'](dv)||di>dj||performance['now']()-dl>dm)dx=null;else{var dw=Object['getOwnPropertyNames'](dv);var dx=null;for(let dy=0x0;dx==null&&dydv['type']['displayName']!==dB&&dv['type']['name']!==dB)||dg['props']&&dg['props']['every'](dC=>dv['stateNode'][dC]!==undefined))||dg['defaultProps']&&dg['defaultProps']['every'](dD=>dv['stateNode'][dD]!==undefined)){if(dg['all']===undefined||!dg['all']){dx=dv['stateNode'];}else if(dg['all']){if(dg['noCopies']===undefined||!dg['noCopies']||dg['noCopies']&&!dv['stateNode']['BDFDBreactSearch']){dv['stateNode']['BDFDBreactSearch']=!![];if(dg['group']){if(dg['name']&&dv['type']&&(dv['type']['displayName']||dv['type']['name'])){var dE=!dp?dg['name']:dg['name'][dg['name']['indexOf'](dv['type']['displayName'])>-0x1?dg['name']['indexOf'](dv['type']['displayName']):dg['name']['indexOf'](dv['type']['name'])];if(typeof dq[dE]=='undefined')dq[dE]={};BDFDB['pushToObject'](dq[dE],dv['stateNode']);}}else BDFDB['pushToObject'](dq,dv['stateNode']);}}}if(dx==null&&(typeof dA==='object'||typeof dA==='function')&&dn[dz]){dx=du(dA);}}}di--;return dx;}};BDFDB['getKeyInformation']=function(dF){if(dF===undefined)return null;if(!dF['node']||!dF['key'])return null;var dG=BDFDB['getReactInstance'](dF['node']);if(!dG)return null;var dH=-0x1;var dI=dF['depth']===undefined?0xf:dF['depth'];var dJ=performance['now']();var dK=dF['time']===undefined?0x1e:dF['time'];var dL={'props':!![],'state':!![],'stateNode':!![],'refs':!![],'updater':!![],'prototype':!![],'type':!![],'children':dF['up']?![]:!![],'type':!![],'memoizedProps':!![],'memoizedState':!![],'child':dF['up']?![]:!![],'return':dF['up']?!![]:![],'sibling':dF['up']?![]:!![],'firstEffect':!![]};if(typeof dF['whiteList']==='object')Object['assign'](dL,dF['whiteList']);var dM=typeof dF['blackList']==='object'?dF['blackList']:{};var dN=[];var dO=dP(dG);if(dF['all'])return dN;else return dO;function dP(dQ){dH++;if(!dQ||Node['prototype']['isPrototypeOf'](dQ)||BDFDB['getReactInstance'](dQ)||dH>dI||performance['now']()-dJ>dK)dS=null;else{var dR=Object['getOwnPropertyNames'](dQ);var dS=null;for(let dT=0x0;dS==null&&dTe1['default']=dZ},['__extra_id__'])['default']:webpackJsonp['push']([[],{'__extra_id__':(e3,e4,dZ)=>e3['exports']=dZ},[['__extra_id__']]]);delete dZ['c']['__extra_id__'];for(let e6 in dZ['c']){if(dZ['c']['hasOwnProperty'](e6)){var e7=dZ['c'][e6]['exports'];if(e7&&e7['__esModule']&&e7['default']&&dY(e7['default']))return e7['default'];if(e7&&dY(e7))return e7;}}};BDFDB['WebModules']['cachedData']={};BDFDB['WebModules']['findByProperties']=function(e8){e8=Array['isArray'](e8)?e8:Array['from'](arguments);var e9=JSON['stringify'](e8);if(BDFDB['WebModules']['cachedData'][e9]){return BDFDB['WebModules']['cachedData'][e9];}else{var ea=BDFDB['WebModules']['find'](ea=>e8['every'](ec=>ea[ec]!==undefined));if(ea){BDFDB['WebModules']['cachedData'][e9]=ea;return ea;}}};BDFDB['WebModules']['findByName']=function(ed){var ee=JSON['stringify'](ed);if(BDFDB['WebModules']['cachedData'][ee]){return BDFDB['WebModules']['cachedData'][ee];}else{var ef=BDFDB['WebModules']['find'](ef=>ef['displayName']===ed);if(ef){BDFDB['WebModules']['cachedData'][ee]=ef;return ef;}}};BDFDB['WebModules']['findByPrototypes']=function(eh){eh=Array['isArray'](eh)?eh:Array['from'](arguments);var ei=JSON['stringify'](eh);if(BDFDB['WebModules']['cachedData'][ei]){return BDFDB['WebModules']['cachedData'][ei];}else{var ej=BDFDB['WebModules']['find'](ej=>ej['prototype']&&eh['every'](el=>ej['prototype'][el]!==undefined));if(ej){BDFDB['WebModules']['cachedData'][ei]=ej;return ej;}}};BDFDB['WebModules']['patchtypes']=['before','instead','after'];BDFDB['WebModules']['patch']=function(em,en,eo,ep){if(!em||!en||!Object['keys'](ep)['some'](eq=>BDFDB['WebModules']['patchtypes']['includes'](eq)))return null;const er=(typeof eo==='string'?eo:eo['name']?eo['name']:eo['getName']())['toLowerCase']();const es=(et,eu)=>(...ev)=>{try{return et(...ev);}catch(ew){console['error']('Error\x20occurred\x20in\x20'+eu,ew);}};if(!em['BDFDBpatch'])em['BDFDBpatch']={};en=Array['isArray'](en)?en:Array['of'](en);for(let ex of en){if(!em[ex])em[ex]=()=>{};const ey=em[ex];if(!em['BDFDBpatch'][ex]){em['BDFDBpatch'][ex]={};for(let ez of BDFDB['WebModules']['patchtypes'])em['BDFDBpatch'][ex][ez]={};em['BDFDBpatch'][ex]['originalMethod']=ey;em[ex]=function(){const eA={'thisObject':this,'methodArguments':arguments,'originalMethod':ey,'originalMethodName':ex,'callOriginalMethod':()=>eA['returnValue']=eA['originalMethod']['apply'](eA['thisObject'],eA['methodArguments'])};if(BDFDB&&typeof BDFDB=='object'){if(!BDFDB['isObjectEmpty'](em['BDFDBpatch'][ex]['before']))for(let eB in BDFDB['sortObject'](em['BDFDBpatch'][ex]['before'])){es(em['BDFDBpatch'][ex]['before'][eB],'`before`\x20callback\x20of\x20'+em[ex]['displayName'])(eA);}if(BDFDB['isObjectEmpty'](em['BDFDBpatch'][ex]['instead']))eA['callOriginalMethod']();else for(let eC in BDFDB['sortObject'](em['BDFDBpatch'][ex]['instead'])){const eD=es(em['BDFDBpatch'][ex]['instead'][eC],'`instead`\x20callback\x20of\x20'+em[ex]['displayName'])(eA);if(eD!==undefined)eA['returnValue']=eD;}if(!BDFDB['isObjectEmpty'](em['BDFDBpatch'][ex]['after']))for(let eE in BDFDB['sortObject'](em['BDFDBpatch'][ex]['after'])){es(em['BDFDBpatch'][ex]['after'][eE],'`after`\x20callback\x20of\x20'+em[ex]['displayName'])(eA);}}else eA['callOriginalMethod']();return eA['returnValue'];};}for(let eF of BDFDB['WebModules']['patchtypes'])if(typeof ep[eF]=='function')em['BDFDBpatch'][ex][eF][er]=ep[eF];}const eG=()=>{BDFDB['WebModules']['unpatch'](em,en,eo);};if(eo&&typeof eo=='object'){if(!Array['isArray'](eo['patchCancels']))eo['patchCancels']=[];eo['patchCancels']['push'](eG);}return eG;};BDFDB['WebModules']['unpatch']=function(eH,eI,eJ){if(!eH||!eH['BDFDBpatch'])return;const eK=!eJ?null:(typeof eJ==='string'?eJ:eJ['name']?eJ['name']:eJ['getName']())['toLowerCase']();eI=Array['isArray'](eI)?eI:Array['of'](eI);for(let eL of eI){if(eH[eL]&&eH['BDFDBpatch'][eL]){for(let eM of BDFDB['WebModules']['patchtypes']){if(eK)delete eH['BDFDBpatch'][eL][eM][eK];else delete eH['BDFDBpatch'][eL][eM];}var eN=!![];for(let eM of BDFDB['WebModules']['patchtypes'])if(!BDFDB['isObjectEmpty'](eH['BDFDBpatch'][eL][eM]))eN=![];if(eN){eH[eL]=eH['BDFDBpatch'][eL]['originalMethod'];delete eH['BDFDBpatch'][eL];if(BDFDB['isObjectEmpty'](eH['BDFDBpatch']))delete eH['BDFDBpatch'];}}}};BDFDB['WebModules']['unpatchall']=function(eP){if(eP&&typeof eP=='object'&&Array['isArray'](eP['patchCancels']))for(let eQ of eP['patchCancels'])eQ();};BDFDB['WebModules']['forceAllUpdates']=function(eR,eS){if(eR&&typeof eR=='object'&&eR['patchModules']&&typeof eR['patchModules']=='object'&&(!eS||eR['patchModules'][eS])){const eT=document['querySelector'](BDFDB['dotCN']['app']);const eU=document['querySelector']('#bd-settingspane-container\x20'+BDFDB['dotCN']['scrollerwrap']);if(eT){var eV=[];for(let eW in eR['patchModules']){eW=eW=='Guild'?'DropTarget(DragSource(FluxContainer(Guild)))':eW;var eX=Array['isArray'](eR['patchModules'][eW])?eR['patchModules'][eW]:Array['of'](eR['patchModules'][eW]);if(eX['includes']('componentDidUpdate')||eX['includes']('componentDidMount')||eX['includes']('render'))eV['push'](eW);}eV=eS?eV['filter'](eY=>eY==eS):eV;if(eV['length']>0x0){const eZ=BDFDB['getOwnerInstance']({'node':eT,'name':eV,'all':!![],'noCopies':!![],'group':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let eW in eZ)for(let f1 in eZ[eW])BDFDB['WebModules']['initiateProcess'](eR,eZ[eW][f1],eW,['componentDidUpdate','componentDidMount','render']);if(eU){const f2=BDFDB['getOwnerInstance']({'node':eU,'name':eV,'all':!![],'noCopies':!![],'group':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let eW in f2)for(let f1 in f2[eW])BDFDB['WebModules']['initiateProcess'](eR,f2[eW][f1],eW,['componentDidUpdate','componentDidMount','render']);}}}}};BDFDB['WebModules']['patchModules']=function(f5){if(f5&&typeof f5=='object'&&f5['patchModules']&&typeof f5['patchModules']=='object'){for(let f6 in f5['patchModules']){if(f6=='Guild'){f6='DropTarget(DragSource(FluxContainer(Guild)))';f5['patchModules'][f6]=f5['patchModules']['Guild'];delete f5['patchModules']['Guild'];}f9(BDFDB['WebModules']['findByName'](f6),f6);}var f7={'Message':'message','MessageOptionPopout':'optionpopout','UserPopout':'userpopout','EmojiPicker':'emojipicker','V2C_List':'_repolist','V2C_PluginCard':'_repoheader','V2C_ThemeCard':'_repoheader'};for(let f6 in f7){if(BDFDB['DiscordClasses'][f7[f6]]&&f5['patchModules'][f6]&&!BDFDB['WebModules']['cachedData'][JSON['stringify'](f6)]){ff(BDFDB['disCN'][f7[f6]],f6);}}function f9(fa,f6){if(fa){fa=fa['displayName']==f6?fa:BDFDB['getOwnerInstance']({'instance':fa,'name':f6,'up':!![]});if(fa){var fc=fa['_reactInternalFiber']&&fa['_reactInternalFiber']['type']?fa['_reactInternalFiber']['type']:fa;var fd={};fd[f5['name']=='$BDFDB'?'before':'after']=fe=>{if(BDFDB&&typeof BDFDB=='object')BDFDB['WebModules']['initiateProcess'](f5,fe['thisObject'],f6,[fe['originalMethodName']]);};BDFDB['WebModules']['patch'](fc['prototype'],f5['patchModules'][f6],f5,fd);}}}function ff(fg,f6){if(f5['patchModules'][f6]&&!BDFDB['WebModules']['cachedData'][JSON['stringify'](f6)]){var fi=BDFDB['getReactInstance'](document['querySelector']('.'+fg));if(fo(fi,f6))f9(fi,f6);else{var fj=new MutationObserver(fk=>{fk['forEach'](fl=>{fl['addedNodes']['forEach'](fm=>{var fn=null;if(fm['tagName']&&(fn=fm['classList']&&fm['classList']['contains'](fg)?fm:fm['querySelector']('.'+fg))!=null){fi=BDFDB['getReactInstance'](fn);if(fo(fi,f6)){fj['disconnect']();f9(fi,f6);BDFDB['WebModules']['forceAllUpdates'](f5,f6);}}});});});BDFDB['addObserver'](f5,BDFDB['dotCN']['appmount'],{'name':'checkForInstanceObserver','instance':fj,'multi':!![]},{'childList':!![],'subtree':!![]});}}}function fo(fp,f6){return fp&&(f6!='V2C_PluginCard'&&f6!='V2C_ThemeCard'||f6=='V2C_PluginCard'&&BDFDB['checkWhichRepoPage']()=='plugins'||f6=='V2C_ThemeCard'&&BDFDB['checkWhichRepoPage']()=='themes');}}};BDFDB['WebModules']['initiateProcess']=function(fr,fs,ft,fu){if(fr&&typeof fr=='object'&&fs){ft=ft=='DropTarget(DragSource(FluxContainer(Guild)))'?'Guild':ft;ft=ft['replace'](/[^A-z0-9]|_/g,'');ft=ft[0x0]['toUpperCase']()+ft['slice'](0x1);if(typeof fr['process'+ft]=='function'){var fv=BDFDB['React']['findDOMNodeSafe'](fs);if(fv)fr['process'+ft](fs,fv,fu);else setImmediate(()=>{fv=BDFDB['React']['findDOMNodeSafe'](fs);if(fv)fr['process'+ft](fs,fv,fu);});}}};var fw=BDFDB['WebModules']['findByProperties']('createElement','cloneElement');var fx=BDFDB['WebModules']['findByProperties']('render','findDOMNode');if(fw&&fx){BDFDB['React']=Object['assign']({},fw,fx);BDFDB['React']['findDOMNodeSafe']=function(fy){if(!fy||!fy['updater']||typeof fy['updater']['isMounted']!=='function'||!fy['updater']['isMounted'](fy))return null;return fx['findDOMNode'](fy);};}BDFDB['addOnSwitchListener']=function(fz){if(typeof fz['onSwitch']==='function'){BDFDB['removeOnSwitchListener'](fz);var fA=document['querySelector'](BDFDB['dotCN']['guildswrapper']+'\x20+\x20*\x20>\x20'+BDFDB['dotCN']['chatspacer']);if(fA){fz['onSwitchFix']=new MutationObserver((fB,fC)=>{fB['forEach']((fD,fE)=>{if(fD['addedNodes']){fD['addedNodes']['forEach'](fF=>{if(fF&&fF['classList']&&(fF['classList']['contains'](BDFDB['disCN']['chat'])||fF['classList']['contains'](BDFDB['disCN']['nochannel']))){fG['observe'](fF,{'attributes':!![]});}});}});});fz['onSwitchFix']['observe'](fA,{'childList':!![]});var fG=new MutationObserver((fH,fI)=>{fH['forEach']((fJ,fK)=>{if(fJ['target']&&fJ['target']['classList']&&fJ['target']['classList']['contains'](BDFDB['disCN']['nochannel']))fz['onSwitch']();});});var fL=fA['querySelector'](BDFDB['dotCNC']['chat']+BDFDB['dotCN']['nochannel']);if(fL)fG['observe'](fL,{'attributes':!![]});}}};BDFDB['removeOnSwitchListener']=function(fM){if(typeof fM['onSwitch']==='function'&&typeof fM['onSwitchFix']==='object'){fM['onSwitchFix']['disconnect']();}};BDFDB['addContextListener']=function(fN){for(let fO of['User','Guild','Channel','GroupDM','Message','Native','UserSettingsCog']){if(typeof fN['on'+fO+'Context']==='function'||typeof fN['on'+fO+'ContextMenu']==='function'){var fP=BDFDB['WebModules']['findByName'](fO=='GroupDM'?'FluxContainer(GroupDMContextMenu)':fO+'ContextMenu');if(fP&&fP['prototype'])BDFDB['WebModules']['patch'](fP['prototype'],'componentDidMount',fN,{'after':fQ=>{var fR=fO=='GroupDM'?fQ['thisObject']['_reactInternalFiber']['child']['child']['stateNode']:BDFDB['React']['findDOMNodeSafe'](fQ['thisObject']);if(fR){if(typeof fN['on'+fO+'Context']==='function')fN['on'+fO+'Context'](fQ['thisObject'],fR);if(typeof fN['on'+fO+'ContextMenu']==='function')fN['on'+fO+'ContextMenu'](fQ['thisObject'],fR);BDFDB['initElements'](fR);BDFDB['updateContextPosition'](fR);}}});}}};BDFDB['addReloadListener']=function(fS){if(typeof fS['initialize']==='function'){BDFDB['removeReloadListener'](fS);var fT=document['querySelector'](BDFDB['dotCN']['app']);if(fT){fS['reloadFix']=new MutationObserver((fU,fV)=>{fU['forEach']((fW,fX)=>{if(fW['addedNodes']){fW['addedNodes']['forEach'](fY=>{if(fY&&fY['classList']&&fY['classList']['contains'](BDFDB['disCN']['appold'])){var fX=0x0,g0=BDFDB['dotCN']['guildsadd'],g1=BDFDB['dotCN']['guildseparator'],g2=BDFDB['dotCN']['accountinfo'],g3=setInterval(()=>{if(fY['querySelector'](g0)&&fY['querySelector'](g1)&&fY['querySelector'](g2)){clearInterval(g3);if(window['PluginUpdates']&&window['PluginUpdates']['observer']){window['PluginUpdates']['observer']['disconnect']();delete window['PluginUpdates']['observer'];}fS['appReload']=!![];fS['initialize']();}if(fX>0x3e8)clearInterval(g3);fX++;},0x64);}});}});});fS['reloadFix']['observe'](fT,{'childList':!![]});}}};BDFDB['removeReloadListener']=function(g4){if(typeof g4['initialize']==='function'&&typeof g4['reloadFix']==='object'){g4['reloadFix']['disconnect']();}};BDFDB['addSettingsButtonListener']=function(g5){if(BDFDB['isBDv2']()&&typeof g5['getSettingsPanel']==='function'){BDFDB['removeSettingsButtonListener'](g5);BDFDB['appendSettingsButton'](g5);var g6=document['querySelector']('.bd-content-region\x20>\x20.bd-content');if(g6){g5['settingsButtonObserver']=new MutationObserver((g7,g8)=>{g7['forEach']((g9,ga)=>{if(g9['addedNodes']){g9['addedNodes']['forEach'](gb=>{if(gb['tagName']&&gb['classList']['contains']('active')){BDFDB['appendSettingsButton'](g5);}});}});});g5['settingsButtonObserver']['observe'](g6,{'childList':!![]});}}};BDFDB['appendSettingsButton']=function(gc){var gd=document['querySelector']('.bd-card[data-plugin-id='+gc['id']+']');if(gd){var ge=BDFDB['htmlToElement']('');gd['insertBefore'](ge,gd['querySelector']('.bd-button'));BDFDB['$'](ge)['on']('mouseenter.BDFDBSettingsButtonListener',gf=>{BDFDB['createTooltip']('Settings',gf['currentTarget'],{'type':'top'});})['on']('click.BDFDBSettingsButtonListener',gg=>{var gh=BDFDB['htmlToElement'](''+gc['name']+'\x20Settings
');var gi=gc['getSettingsPanel']();gh['querySelector'](BDFDB['dotCN']['modalsubinner'])['appendChild'](typeof gi=='string'?BDFDB['htmlToElement'](gi):gi);if(typeof gc['onSettingsClosed']==='function'){$(gh)['on']('click.BDFDBCloseListener',BDFDB['dotCNC']['modalclose']+BDFDB['dotCN']['backdrop'],()=>{gc['onSettingsClosed']();});}BDFDB['appendModal'](gh);});}};BDFDB['removeSettingsButtonListener']=function(gj){if(BDFDB['isBDv2']()&&typeof gj['settingsButtonObserver']==='object'){BDFDB['removeEles']('.bd-card[data-plugin-id='+gj['id']+']\x20.DevilBro-settingsbutton');gj['settingsButtonObserver']['disconnect']();}};BDFDB['LanguageStrings']=new Proxy(Object['create'](null),{'get':function(){let gk=arguments[0x1];let gl=BDFDB['WebModules']['findByProperties']('Messages')['Messages'];if(!gl[gk])console['log'](gk+'\x20not\x20found\x20in\x20BDFDB.LanguageStrings');else return typeof gl[gk]=='object'?gl[gk]['format'](Object['assign']({},BDFDB['LanguageStringsVars'])):gl[gk];}});BDFDB['LanguageStringsVars']={};for(let gm in BDFDB['WebModules']['findByProperties']('Messages')['Messages']){try{BDFDB['LanguageStrings'][gm];}catch(gn){let go=gn['toString']()['split']('for:\x20')[0x1];if(go&&typeof go=='string')BDFDB['LanguageStringsVars'][go]='{{'+go['toLowerCase']()+'}}';}}BDFDB['equals']=function(gp,gq,gr){var gs=-0x1;if(gr===undefined||typeof gr!=='boolean')gr=![];return gt(gp,gq);function gt(gu,gv){gs++;var gw=!![];if(gs>0x3e8)gw=null;else{if(typeof gu!==typeof gv)gw=![];else if(typeof gu==='undefined')gw=!![];else if(typeof gu==='symbol')gw=!![];else if(typeof gu==='boolean')gw=gu==gv;else if(typeof gu==='string')gw=gu==gv;else if(typeof gu==='number'){if(isNaN(gu)||isNaN(gv))gw=isNaN(gu)==isNaN(gv);else gw=gu==gv;}else if(!gu&&!gv)gw=!![];else if(!gu||!gv)gw=![];else if(typeof gu==='function'||typeof gu==='object'){var gx=Object['getOwnPropertyNames'](gu);var gy=Object['getOwnPropertyNames'](gv);if(gx['length']!==gy['length'])gw=![];else{for(let gz=0x0;gw===!![]&&gzgJ['length']?gL:gJ['length'];};BDFDB['readServerList']=function(){var gM=[],gN=BDFDB['getOwnerInstance']({'node':document['querySelector'](BDFDB['dotCN']['guilds']),'name':'Guild','all':!![],'noCopies':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let gO in gN)if(gN[gO]['props']&&gN[gO]['props']['guild']){gM['push'](Object['assign'](new gN[gO]['props']['guild']['constructor'](gN[gO]['props']['guild']),{'data':gN[gO]['props']['guild'],'div':gN[gO]['_reactInternalFiber']['child']['stateNode'],'instance':gN[gO]}));}return gM;};BDFDB['readUnreadServerList']=function(gP){var gQ=[];for(let gR of gP===undefined||!Array['isArray'](gP)?BDFDB['readServerList']():gP){let gS=Node['prototype']['isPrototypeOf'](gR)?gR:gR&&gR['div']?gR['div']:null;if(gS&&(gS['classList']['contains'](BDFDB['disCN']['guildunread'])||gS['querySelector'](BDFDB['dotCN']['badge'])))gQ['push'](gR);}return gQ;};BDFDB['getSelectedServer']=function(){var gT=BDFDB['WebModules']['findByProperties']('getGuilds')['getGuild'](BDFDB['WebModules']['findByProperties']('getLastSelectedGuildId')['getGuildId']());if(gT)return BDFDB['getServerData'](gT['id'])||Object['assign'](new gT['constructor'](gT),{'data':gT,'div':null,'instance':null});else return null;};BDFDB['getServerID']=function(gU){if(!Node['prototype']['isPrototypeOf'](gU)||!BDFDB['getReactInstance'](gU))return;let gV=BDFDB['getParentEle'](BDFDB['dotCN']['guild'],gU);if(!gV)return;var gW=gV['querySelector']('a');var gX=gW&&gW['href']?gW['href']['split']('/'):null;return gX&&gX['length']>0x3&&!isNaN(parseInt(gX[0x4]))?gX[0x4]['toString']():null;};BDFDB['getServerDiv']=function(gY){if(!gY)return null;if(Node['prototype']['isPrototypeOf'](gY))return BDFDB['getParentEle'](BDFDB['dotCN']['guild'],gY);else{let gZ=typeof gY=='object'?gY['id']:gY;if(gZ)return BDFDB['getParentEle'](BDFDB['dotCN']['guild'],document['querySelector'](BDFDB['dotCNS']['guildswrapper']+BDFDB['dotCNS']['guild']+('a[href*=\x22/channels/'+gZ+'\x22]')));}return null;};BDFDB['getServerData']=function(h0){if(!h0)return null;let h1=Node['prototype']['isPrototypeOf'](h0)?BDFDB['getServerID'](h0):typeof h0=='object'?h0['id']:h0;for(let h2 of BDFDB['readServerList']())if(h2&&h2['id']==(typeof h1=='number'?h1['toFixed']():h1))return h2;return null;};BDFDB['readChannelList']=function(){var h3=[],h4=BDFDB['getOwnerInstance']({'node':document['querySelector'](BDFDB['dotCN']['channels']),'name':['ChannelCategoryItem','ChannelItem','PrivateChannel'],'all':!![],'noCopies':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let h5 in h4)if(h4[h5]['props']&&h4[h5]['props']['channel']){h3['push'](Object['assign'](new h4[h5]['props']['channel']['constructor'](h4[h5]['props']['channel']),{'data':h4[h5]['props']['channel'],'div':Node['prototype']['isPrototypeOf'](h4[h5]['_reactInternalFiber']['return']['stateNode'])?h4[h5]['_reactInternalFiber']['return']['stateNode']:h4[h5]['_reactInternalFiber']['child']['child']['stateNode'],'instance':h4[h5]}));}return h3;};BDFDB['getSelectedChannel']=function(){var h6=BDFDB['WebModules']['findByProperties']('getChannels')['getChannel'](BDFDB['WebModules']['findByProperties']('getLastSelectedChannelId')['getChannelId']());if(h6)return BDFDB['getChannelData'](h6['id'])||Object['assign'](new h6['constructor'](h6),{'data':h6,'div':null,'instance':null});else return null;};BDFDB['getChannelID']=function(h7){if(!Node['prototype']['isPrototypeOf'](h7)||!BDFDB['getReactInstance'](h7))return;let h8=BDFDB['getParentEle'](BDFDB['dotCNC']['categorycontainerdefault']+BDFDB['dotCNC']['channelcontainerdefault']+BDFDB['dotCN']['dmchannel'],h7);if(!h8)return;var h9=BDFDB['getKeyInformation']({'node':h8,'key':'channel'});return h9?h9['id']['toString']():null;};BDFDB['getChannelDiv']=function(ha){let hb=BDFDB['getChannelData'](ha);return hb?hb['div']:null;};BDFDB['getChannelData']=function(hc){if(!hc)return null;let hd=Node['prototype']['isPrototypeOf'](hc)?BDFDB['getChannelID'](hc):typeof hc=='object'?hc['id']:hc;for(let he of BDFDB['readChannelList']())if(he&&he['id']==(typeof hd=='number'?hd['toFixed']():hd))return he;return null;};BDFDB['readDmList']=function(){var hf=[],hg=BDFDB['getOwnerInstance']({'node':document['querySelector'](BDFDB['dotCN']['guilds']),'name':'DirectMessage','all':!![],'noCopies':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let hh in hg)if(hg[hh]['props']&&hg[hh]['props']['channel']){hf['push'](Object['assign'](new hg[hh]['props']['channel']['constructor'](hg[hh]['props']['channel']),{'data':hg[hh]['props']['channel'],'div':hg[hh]['_reactInternalFiber']['child']['child']['stateNode'],'instance':hg[hh]}));}return hf;};BDFDB['getDmID']=function(hi){if(!Node['prototype']['isPrototypeOf'](hi)||!BDFDB['getReactInstance'](hi))return;let hj=BDFDB['getParentEle'](BDFDB['dotCN']['dms'],hi);if(!hj)return;let hk=BDFDB['getParentEle'](BDFDB['dotCN']['guild'],hi);if(!hk)return;var hl=hk['querySelector']('a');var hm=hl&&hl['href']?hl['href']['split']('/'):null;return hm&&hm['length']>0x3&&!isNaN(parseInt(hm[0x4]))?hm[0x4]['toString']():null;};BDFDB['getDmDiv']=function(hn){if(!hn)return null;if(Node['prototype']['isPrototypeOf'](hn))return BDFDB['getParentEle'](BDFDB['dotCN']['guild'],hn);else{let ho=typeof hn=='object'?hn['id']:hn;if(ho)return BDFDB['getParentEle'](BDFDB['dotCN']['guild'],document['querySelector'](BDFDB['dotCNS']['dms']+BDFDB['dotCNS']['guild']+('a[href*=\x22/channels/'+ho+'\x22]')));}return null;};BDFDB['getDmData']=function(hp){if(!hp)return null;let hq=Node['prototype']['isPrototypeOf'](hp)?BDFDB['getChannelID'](hp):typeof hp=='object'?hp['id']:hp;for(let hr of BDFDB['readDmList']())if(hr&&hr['id']==(typeof hq=='number'?hq['toFixed']():hq))return hr;return null;};BDFDB['getDivOfChannel']=function(hs){for(let ht of BDFDB['readChannelList']())if(ht&&ht['id']==hs)return ht;return null;};BDFDB['getIdOfServer']=function(hu){if(!hu||!hu['classList']||!hu['classList']['contains'](BDFDB['disCN']['guild'])||hu['classList']['contains']('copy')||hu['classList']['contains']('folder'))return;var hv,hw;hv=hu['querySelector']('a');hw=hv&&hv['href']?hv['href']['split']('/'):null;return hw&&hw['length']>0x3&&!isNaN(parseInt(hw[0x4]))?hw[0x4]:null;};BDFDB['getDivOfServer']=function(hx){if(!hx)return null;for(serverObj of BDFDB['readServerList']())if(serverObj&&serverObj['id']==hx)return serverObj;return null;};BDFDB['getIdOfDM']=function(hy){if(!hy||!hy['classList']||!hy['classList']['contains'](BDFDB['disCN']['guild'])||hy['classList']['contains']('copy')||hy['classList']['contains']('folder'))return;if(!hy['parentElement']||!hy['parentElement']['classList']||!hy['parentElement']['classList']['contains'](BDFDB['disCN']['dms']))return;var hz,hA;hz=hy['querySelector']('a');hA=hz&&hz['href']?hz['href']['split']('/'):null;return hA&&hA['length']>0x3&&!isNaN(parseInt(hA[0x5]))?hA[0x5]:null;};BDFDB['getDivOfDM']=function(hB){if(!hB)return null;for(let hC of BDFDB['readDmList']())if(hC&&hC['id']==hB)return hC;return null;};BDFDB['saveAllData']=function(hD,hE,hF){var hG=require('fs'),hH,hI;if(!BDFDB['isBDv2']()){hI=typeof hE==='string'?hE:hE['getName']();hH=require('path')['join'](BDFDB['getPluginsFolder'](),hI+'.config.json');}else{hI=typeof hE==='string'?hE['toLowerCase']():null;var hJ=hI?BDFDB['Plugins'][hI]?BDFDB['Plugins'][hI]['contentPath']:null:hE['contentPath'];if(!hJ)return;hH=require('path')['join'](hJ,'settings.json');}var hK=hG['existsSync'](hH);var hL=!hK?{}:typeof BDFDB['cachedData'][hI]!=='undefined'?BDFDB['cachedData'][hI]:BDFDB['readConfig'](hH);hL[hF]=hD;if(BDFDB['isObjectEmpty'](hL[hF])){delete hL[hF];}if(BDFDB['isObjectEmpty'](hL)){delete BDFDB['cachedData'][hI];if(hK)hG['unlinkSync'](hH);}else{BDFDB['cachedData'][hI]=hL;hG['writeFileSync'](hH,JSON['stringify'](hL,null,'\x09'));}};BDFDB['loadAllData']=function(hM,hN){var hO=require('fs'),hP,hQ;if(!BDFDB['isBDv2']()){hQ=typeof hM==='string'?hM:hM['getName']();hP=require('path')['join'](BDFDB['getPluginsFolder'](),hQ+'.config.json');}else{hQ=typeof hM==='string'?hM['toLowerCase']():null;var hR=hQ?BDFDB['Plugins'][hQ]?BDFDB['Plugins'][hQ]['contentPath']:null:hM['contentPath'];if(!hR)return{};hP=require('path')['join'](hR,'settings.json');}var hS=hO['existsSync'](hP);if(!hS){delete BDFDB['cachedData'][hQ];return{};}var hT=typeof BDFDB['cachedData'][hQ]!=='undefined'?BDFDB['cachedData'][hQ]:BDFDB['readConfig'](hP);BDFDB['cachedData'][hQ]=hT;return hT&&typeof hT[hN]!=='undefined'?hT[hN]:{};};BDFDB['removeAllData']=function(hU,hV){var hW=require('fs'),hX,hY;if(!BDFDB['isBDv2']()){hY=typeof hU==='string'?hU:hU['getName']();hX=require('path')['join'](BDFDB['getPluginsFolder'](),hY+'.config.json');}else{hY=typeof hU==='string'?hU['toLowerCase']():null;var hZ=hY?BDFDB['Plugins'][hY]?BDFDB['Plugins'][hY]['contentPath']:null:hU['contentPath'];if(!hZ)return;hX=require('path')['join'](hZ,'settings.json');}var i0=hW['existsSync'](hX);var i1=!i0?{}:typeof BDFDB['cachedData'][hY]!=='undefined'?BDFDB['cachedData'][hY]:BDFDB['readConfig'](hX);delete i1[hV];if(BDFDB['isObjectEmpty'](i1)){delete BDFDB['cachedData'][hY];if(i0)hW['unlinkSync'](hX);}else{BDFDB['cachedData'][hY]=i1;hW['writeFileSync'](hX,JSON['stringify'](i1,null,'\x09'));}};BDFDB['getAllData']=function(i2,i3,i4){if(!i2['defaults']||!i2['defaults'][i3])return{};var i5=BDFDB['loadAllData'](i2,i3),i6={},i7=![];for(let i8 in i2['defaults'][i3]){if(i5[i8]==null){i6[i8]=i2['defaults'][i3][i8]['value'];i7=!![];}else{i6[i8]=i5[i8];}if(typeof i4==='object'&&i4&&typeof i4[i6[i8]]==='undefined'){i6[i8]=Object['keys'](i4)[0x0];i7=!![];}}if(i7)BDFDB['saveAllData'](i6,i2,i3);return i6;};BDFDB['readConfig']=function(...i9){try{return JSON['parse'](require('fs')['readFileSync'](...i9));}catch(ia){return{};}};BDFDB['saveData']=function(ib,ic,id,ie){var ig=BDFDB['loadAllData'](id,ie);ig[ib]=ic;BDFDB['saveAllData'](ig,id,ie);};BDFDB['loadData']=function(ih,ii,ij){var ik=BDFDB['loadAllData'](ii,ij);var il=ik[ih];return il===undefined?null:il;};BDFDB['removeData']=function(im,io,ip){var iq=BDFDB['loadAllData'](io,ip);delete iq[im];BDFDB['saveAllData'](iq,io,ip);};BDFDB['getData']=function(ir,is,it,iu){var iv=BDFDB['getAllData'](is,it,iu);var iw=iv[ir];return iw===undefined?null:iw;};BDFDB['appendWebScript']=function(ix,iy){if(!iy&&!document['head']['querySelector']('bd-head\x20bd-scripts'))document['head']['appendChild'](BDFDB['htmlToElement'](''));iy=iy||document['head']['querySelector']('bd-head\x20bd-scripts')||document['head'];BDFDB['removeWebScript'](ix,iy);var iz=document['createElement']('script');iz['setAttribute']('src',ix);iy['appendChild'](iz);};BDFDB['removeWebScript']=function(iA,iB){iB=iB||document['head']['querySelector']('bd-head\x20bd-scripts')||document['head'];iB['querySelectorAll']('script[src=\x22'+iA+'\x22]')['forEach'](iC=>{iC['remove']();});};BDFDB['appendWebStyle']=function(iD,iE){if(!iE&&!document['head']['querySelector']('bd-head\x20bd-styles'))document['head']['appendChild'](BDFDB['htmlToElement'](''));iE=iE||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];BDFDB['removeWebStyle'](iD,iE);var iF=document['createElement']('link');iF['setAttribute']('type','text/css');iF['setAttribute']('rel','Stylesheet');iF['setAttribute']('href',iD);iE['appendChild'](iF);};BDFDB['removeWebStyle']=function(iG,iH){iH=iH||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];iH['querySelectorAll']('link[href=\x22'+iG+'\x22]')['forEach'](iI=>{iI['remove']();});};BDFDB['appendLocalStyle']=function(iJ,iK,iL){if(!iL&&!document['head']['querySelector']('bd-head\x20bd-styles'))document['head']['appendChild'](BDFDB['htmlToElement'](''));iL=iL||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];BDFDB['removeLocalStyle'](iJ,iL);var iM=document['createElement']('style');iM['id']=iJ+'CSS';iM['innerHTML']=iK;iL['appendChild'](iM);};BDFDB['removeLocalStyle']=function(iN,iO){iO=iO||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];iO['querySelectorAll']('style[id=\x22'+iN+'CSS\x22]')['forEach'](iP=>{iP['remove']();});};BDFDB['formatBytes']=function(iQ,iR){if(iQ==0x0)return'0\x20Bytes';if(iQ==0x1)return'1\x20Byte';var iS=0x400,iT=iR<0x1?0x0:iR>0x14?0x14:iR||0x2,iU=['Bytes','KB','MB','GB','TB','PB','EB','ZB','YB'],iV=Math['floor'](Math['log'](iQ)/Math['log'](iS));return parseFloat((iQ/Math['pow'](iS,iV))['toFixed'](iT))+'\x20'+iU[iV];};BDFDB['colorCONVERT']=function(iW,iX,iY){if(!iW)return null;iX=iX===undefined||!iX?iX='RGBCOMP':iX['toUpperCase']();iY=iY===undefined||!iY||!['RGB','RGBA','RGBCOMP','HSL','HSLA','HSLCOMP']['includes'](iY['toUpperCase']())?BDFDB['colorTYPE'](iW):iY['toUpperCase']();if(iX=='RGBCOMP'){switch(iY){case'RGBCOMP':if(iW['length']==0x3)return jy(iW);else if(iW['length']==0x4){var iZ=jB(iW['pop']());return jy(iW)['concat'](iZ);}case'RGB':return jy(iW['replace'](/\s/g,'')['slice'](0x4,-0x1)['split'](','));case'RGBA':var j0=iW['replace'](/\s/g,'')['slice'](0x5,-0x1)['split'](',');var iZ=jB(j0['pop']());return jy(j0)['concat'](iZ);case'HSLCOMP':if(iW['length']==0x3)return BDFDB['colorCONVERT']('hsl('+iW['join'](',')+')','RGBCOMP');else if(iW['length']==0x4){var iZ=jB(jf['pop']());return BDFDB['colorCONVERT']('hsl('+jf['join'](',')+')','RGBCOMP')['concat'](iZ);}case'HSL':var j3=jF(iW['replace'](/\s/g,'')['slice'](0x4,-0x1)['split'](','));var j4,j5,j6,j7,j8,j9,ja,jb;var jc=j3[0x0]/0x168,jd=parseInt(j3[0x1])/0x64,je=parseInt(j3[0x2])/0x64;j7=Math['floor'](jc*0x6);j8=jc*0x6-j7;j9=je*(0x1-jd);ja=je*(0x1-j8*jd);jb=je*(0x1-(0x1-j8)*jd);switch(j7%0x6){case 0x0:j4=je,j5=jb,j6=j9;break;case 0x1:j4=ja,j5=je,j6=j9;break;case 0x2:j4=j9,j5=je,j6=jb;break;case 0x3:j4=j9,j5=ja,j6=je;break;case 0x4:j4=jb,j5=j9,j6=je;break;case 0x5:j4=je,j5=j9,j6=ja;break;}return[Math['round'](j4*0xff),Math['round'](j5*0xff),Math['round'](j6*0xff)];case'HSLA':var jf=iW['replace'](/\s/g,'')['slice'](0x5,-0x1)['split'](',');var iZ=jB(jf['pop']());return BDFDB['colorCONVERT']('hsl('+jf['join'](',')+')','RGBCOMP')['concat'](iZ);case'HEX':var jh=/^#([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'](iW);return[parseInt(jh[0x1]+jh[0x1]||jh[0x4],0x10)['toString'](),parseInt(jh[0x2]+jh[0x2]||jh[0x5],0x10)['toString'](),parseInt(jh[0x3]+jh[0x3]||jh[0x6],0x10)['toString']()];default:return null;}}else{var ji=iY=='RGBCOMP'?iW:BDFDB['colorCONVERT'](iW,'RGBCOMP',iY);if(ji)switch(iX){case'RGB':return'rgb('+jy(ji['slice'](0x0,0x3))['join'](',')+')';case'RGBA':ji=ji['slice'](0x0,0x4);var iZ=ji['length']==0x4?jB(ji['pop']()):0x1;return'rgba('+jy(ji)['concat'](iZ)['join'](',')+')';case'HSLCOMP':var iZ=ji['length']==0x4?jB(ji['pop']()):null;var j3=jF(BDFDB['colorCONVERT'](ji,'HSL')['replace'](/\s/g,'')['split'](','));return iZ?j3['concat'](iZ):j3;case'HSL':var j4=jw(ji[0x0]),j5=jw(ji[0x1]),j6=jw(ji[0x2]);var jp=Math['max'](j4,j5,j6),jq=Math['min'](j4,j5,j6),jr=jp-jq,jc,jd=jp===0x0?0x0:jr/jp,je=jp/0xff;switch(jp){case jq:jc=0x0;break;case j4:jc=j5-j6+jr*(j50xff?0xff:jx<0x0?0x0:jx;};function jy(jz){return jz['map'](jA=>{return jw(jA);});};function jB(iZ){iZ=iZ['toString']();iZ=(iZ['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(iZ['replace'](/[^0-9\.\-]/g,''));return isNaN(iZ)||iZ>0x1?0x1:iZ<0x0?0x0:iZ;};function jD(j9){j9=parseFloat(j9['toString']()['replace'](/[^0-9\.\-]/g,''));return(isNaN(j9)||j9>0x64?0x64:j9<0x0?0x0:j9)+'%';};function jF(jG){let jc=parseFloat(jG['shift']()['toString']()['replace'](/[^0-9\.\-]/g,''));jc=isNaN(jc)||jc>0x168?0x168:jc<0x0?0x0:jc;return[jc]['concat'](jG['map'](j9=>{return jD(j9);}));};};BDFDB['colorSETALPHA']=function(jJ,jK,jL){var jM=BDFDB['colorCONVERT'](jJ,'RGBCOMP');if(jM){jK=jK['toString']();jK=(jK['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(jK['replace'](/[^0-9\.\-]/g,''));jK=isNaN(jK)||jK>0x1?0x1:jK<0x0?0x0:jK;jM[0x3]=jK;var jN=(jL||BDFDB['colorTYPE'](jJ))['toUpperCase']();jN=jN=='HSL'||jN=='RGB'?jN+'A':jN;return BDFDB['colorCONVERT'](jM,jN);}return null;};BDFDB['colorCHANGE']=function(jO,jP,jQ){jP=parseFloat(jP);if(jO&&typeof jP=='number'&&!isNaN(jP)){var jR=BDFDB['colorCONVERT'](jO,'RGBCOMP');if(jR){if(parseInt(jP)!==jP){jP=jP['toString']();jP=(jP['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(jP['replace'](/[^0-9\.\-]/g,''));jP=isNaN(jP)?0x0:jP;return BDFDB['colorCONVERT']([Math['round'](jR[0x0]*(0x1+jP)),Math['round'](jR[0x1]*(0x1+jP)),Math['round'](jR[0x2]*(0x1+jP))],jQ||BDFDB['colorTYPE'](jO));}else return BDFDB['colorCONVERT']([Math['round'](jR[0x0]+jP),Math['round'](jR[0x1]+jP),Math['round'](jR[0x2]+jP)],jQ||BDFDB['colorTYPE'](jO));}}return null;};BDFDB['colorINV']=function(jS,jT){if(jS){var jU=BDFDB['colorCONVERT'](jS,'RGBCOMP');if(jU)return BDFDB['colorCONVERT']([0xff-jU[0x0],0xff-jU[0x1],0xff-jU[0x2]],jT||BDFDB['colorTYPE'](jS));}return null;};BDFDB['colorCOMPARE']=function(jV,jW){if(jV&&jW){jV=BDFDB['colorCONVERT'](jV,'RGBCOMP');jW=BDFDB['colorCONVERT'](jW,'RGBCOMP');return BDFDB['equals'](jV,jW);}return null;};BDFDB['colorISBRIGHT']=function(jX,jY=0xa0){jX=BDFDB['colorCONVERT'](jX,'RGBCOMP');if(!jX)return![];return parseInt(jY)