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