diff --git a/Plugins/BDFDB.js b/Plugins/BDFDB.js
index 359e5bfc78..1284e2f8fd 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,'which',{'value':a8['which']});Object['defineProperty'](aa,'keyCode',{'value':a8['keyCode']});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=null;var bv=()=>{if(bp['delay']&&bu)clearTimeout(bu);bs['remove']();};bo['addEventListener']('mouseleave',bv);var bw=()=>{if(bo['parentElement']&&document['contains'](bo)){bq['appendChild'](bs);var bx,by,bz=bo['getBoundingClientRect'](),bA=bs['getBoundingClientRect']();if(!bp['position'])bp['position']=bp['type'];switch(bp['position']){case'top':bx=bz['left']+(bz['width']-bA['width'])/0x2;by=bz['top']-bA['height'];break;case'bottom':bx=bz['left']+(bz['width']-bA['width'])/0x2;by=bz['top']+bz['height'];break;case'left':bx=bz['left']-bA['width'];by=bz['top']+(bz['height']-bA['height'])/0x2;break;default:bx=bz['left']+bz['width'];by=bz['top']+(bz['height']-bA['height'])/0x2;break;}bs['style']['setProperty']('left',bx+'px','important');bs['style']['setProperty']('top',by+'px','important');var bB=new MutationObserver(bC=>{bC['forEach'](bD=>{var bE=Array['from'](bD['removedNodes']);var bF=bE['indexOf'](bs)>-0x1;var bG=bE['indexOf'](bo)>-0x1;var bH=bE['some'](bI=>bI['contains'](bo));if(bF||bG||bH){bB['disconnect']();bs['remove']();bo['removeEventListener']('mouseleave',bv);BDFDB['removeLocalStyle']('BDFDBcustomTooltip'+br,bq);}});});bB['observe'](document['body'],{'subtree':!![],'childList':!![]});}};if(bp['delay'])bu=setTimeout(bw,bp['delay']);else bw();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['isObject']=function(cy){return cy&&Object['prototype']['isPrototypeOf'](cy)&&!Array['prototype']['isPrototypeOf'](cy);};BDFDB['isObjectEmpty']=function(cz){return typeof cz!=='object'||Object['getOwnPropertyNames'](cz)['length']==0x0;};BDFDB['pushToObject']=function(cA,cB){if(cA&&typeof cA=='object')cA[Object['keys'](cA)['length']]=cB;};BDFDB['deepAssign']=function(cC,...cD){if(!cD['length'])return cC;var cE=cD['shift']();if(BDFDB['isObject'](cC)&&BDFDB['isObject'](cE)){for(var cF in cE){if(BDFDB['isObject'](cE[cF])){if(!cC[cF])Object['assign'](cC,{[cF]:{}});BDFDB['deepAssign'](cC[cF],cE[cF]);}else Object['assign'](cC,{[cF]:cE[cF]});}}return BDFDB['deepAssign'](cC,...cD);};BDFDB['sortArrayByKey']=function(cG,cH,cI){if(cI===undefined)cI=null;return cG['sort'](function(cJ,cK){var cL=cJ[cH],cM=cK[cH];if(cL!==cI)return cLcM?0x1:0x0;});};BDFDB['removeFromArray']=function(cN,cO){if(!cN||!cO||!Array['isArray'](cN)||!cN['includes'](cO))return;cN['splice'](cN['indexOf'](cO),0x1);};BDFDB['getAllIndexes']=function(cP,cQ){var cR=[],cS=-0x1;while((cS=cP['indexOf'](cQ,cS+0x1))!==-0x1){cR['push'](cS);}return cR;};BDFDB['highlightText']=function(cT,cU){if(!cU||cU['length']<0x1)return cT;var cV=0x0,cW=cT,cX='',cY='';BDFDB['getAllIndexes'](cT['toUpperCase'](),cU['toUpperCase']())['forEach'](cZ=>{var d0=cV*(cX['length']+cY['length']);cZ=cZ+d0;var d1=cZ+cU['length'];var d2=[-0x1]['concat'](BDFDB['getAllIndexes'](cT['substring'](0x0,cZ),'<'));var d3=[-0x1]['concat'](BDFDB['getAllIndexes'](cT['substring'](0x0,cZ),'>'));if(d2[d2['length']-0x1]>d3[d3['length']-0x1])return;cT=cT['substring'](0x0,cZ)+cX+cT['substring'](cZ,d1)+cY+cT['substring'](d1);cV++;});return cT?cT:cW;};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 d4=setInterval(()=>{var d5=document['querySelector']('html')['lang'];if(d5){clearInterval(d4);BDFDB['languages']['$discord']['name']='Discord\x20('+BDFDB['languages'][d5]['name']+')';BDFDB['languages']['$discord']['id']=BDFDB['languages'][d5]['id'];BDFDB['languages']['$discord']['ownlang']=BDFDB['languages'][d5]['ownlang'];}},0x64);BDFDB['getDiscordBuilt']=function(){if(BDFDB['getDiscordBuilt']['built'])return BDFDB['getDiscordBuilt']['built'];else{var d6=null;try{d6=require(require('electron')['remote']['app']['getAppPath']()+'/build_info.json')['releaseChannel']['toLowerCase']();}catch(d7){try{d6=require(require('electron')['remote']['app']['getAppPath']()['replace']('\x5capp.asar','')+'/build_info.json')['releaseChannel']['toLowerCase']();}catch(d8){var d9=BDFDB['getDiscordVersion']();if(d9){d9=d9['split']('.');if(d9['length']==0x3&&!isNaN(d9=parseInt(d9[0x2]))){d6=d9>0x122?'stable':d9>0xc8?'canary':'ptb';}else d6='stable';}else d6='stable';}}BDFDB['getDiscordBuilt']['built']=d6;return d6;}};BDFDB['getDiscordVersion']=function(){if(BDFDB['getDiscordBuilt']['version'])return BDFDB['getDiscordBuilt']['version'];else{var da=null;try{da=require('electron')['remote']['app']['getVersion']();}catch(db){da='';}BDFDB['getDiscordBuilt']['version']=da;return da;}};BDFDB['getDiscordLanguage']=function(){var dc=document['querySelector']('html')['lang']||'en-US';var dd=dc['split']('-');var de=dd[0x0];var df=dd[0x1]?dd[0x1]:'';dc=df&&de['toUpperCase']()!==df['toUpperCase']()?de+'-'+df:de;return BDFDB['languages'][dc]||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 dg=document['body']['firstElementChild']['getBoundingClientRect']();var dh=Math['round'](0x64*window['outerWidth']/dg['width']);var di=Math['round'](0x64*window['outerHeight']/dg['height']);return dhdk['startsWith']('__reactInternalInstance'))];};BDFDB['getReactValue']=function(dl,dm){if(!dl||!dm)return null;let dn=Node['prototype']['isPrototypeOf'](dl)?BDFDB['getReactInstance'](dl):dl;if(!dn)return null;let dp=dn;for(let dq of dm['split']('.')['filter'](dr=>dr)){dp=dp[dq];if(dp==undefined)return null;}return dp;};BDFDB['getOwnerInstance']=function(ds){if(ds===undefined)return null;if(!ds['node']&&!ds['instance']||!ds['name']&&(!ds['props']||!Array['isArray'](ds['props'])))return null;var dt=ds['instance']||BDFDB['getReactInstance'](ds['node']);if(!dt)return null;var du=-0x1;var dv=ds['depth']===undefined?0xf:ds['depth'];var dw=ds['up']===undefined?![]:ds['up'];var dx=performance['now']();var dy=ds['time']===undefined?0x96:ds['time'];var dz=dw?{'return':!![],'sibling':!![]}:{'child':!![],'sibling':!![]};var dA=Array['isArray'](ds['name']);var dB={};var dC=dF(dt);if(ds['all']){for(let dD in dB){if(ds['group'])for(let dE in dB[dD])delete dB[dD][dE]['BDFDBreactSearch'];else delete dB[dD]['BDFDBreactSearch'];}return dB;}else return dC;function dF(dG){du++;if(!dG||Node['prototype']['isPrototypeOf'](dG)||BDFDB['getReactInstance'](dG)||du>dv||performance['now']()-dx>dy)dI=null;else{var dH=Object['getOwnPropertyNames'](dG);var dI=null;for(let dJ=0x0;dI==null&&dJdG['type']['displayName']!==dM&&dG['type']['name']!==dM)||ds['props']&&ds['props']['every'](dN=>dG['stateNode'][dN]!==undefined))||ds['defaultProps']&&ds['defaultProps']['every'](dO=>dG['stateNode'][dO]!==undefined)){if(ds['all']===undefined||!ds['all']){dI=dG['stateNode'];}else if(ds['all']){if(ds['noCopies']===undefined||!ds['noCopies']||ds['noCopies']&&!dG['stateNode']['BDFDBreactSearch']){dG['stateNode']['BDFDBreactSearch']=!![];if(ds['group']){if(ds['name']&&dG['type']&&(dG['type']['displayName']||dG['type']['name'])){var dP=!dA?ds['name']:ds['name'][ds['name']['indexOf'](dG['type']['displayName'])>-0x1?ds['name']['indexOf'](dG['type']['displayName']):ds['name']['indexOf'](dG['type']['name'])];if(typeof dB[dP]=='undefined')dB[dP]={};BDFDB['pushToObject'](dB[dP],dG['stateNode']);}}else BDFDB['pushToObject'](dB,dG['stateNode']);}}}if(dI==null&&(typeof dL==='object'||typeof dL==='function')&&dz[dK]){dI=dF(dL);}}}du--;return dI;}};BDFDB['getKeyInformation']=function(dQ){if(dQ===undefined)return null;if(!dQ['node']||!dQ['key'])return null;var dR=BDFDB['getReactInstance'](dQ['node']);if(!dR)return null;var dS=-0x1;var dT=dQ['depth']===undefined?0xf:dQ['depth'];var dU=performance['now']();var dV=dQ['time']===undefined?0x1e:dQ['time'];var dW={'props':!![],'state':!![],'stateNode':!![],'refs':!![],'updater':!![],'prototype':!![],'type':!![],'children':dQ['up']?![]:!![],'type':!![],'memoizedProps':!![],'memoizedState':!![],'child':dQ['up']?![]:!![],'return':dQ['up']?!![]:![],'sibling':dQ['up']?![]:!![],'firstEffect':!![]};if(typeof dQ['whiteList']==='object')Object['assign'](dW,dQ['whiteList']);var dX=typeof dQ['blackList']==='object'?dQ['blackList']:{};var dY=[];var dZ=e0(dR);if(dQ['all'])return dY;else return dZ;function e0(e1){dS++;if(!e1||Node['prototype']['isPrototypeOf'](e1)||BDFDB['getReactInstance'](e1)||dS>dT||performance['now']()-dU>dV)e3=null;else{var e2=Object['getOwnPropertyNames'](e1);var e3=null;for(let e4=0x0;e3==null&&e4ec['default']=ea},['__extra_id__'])['default']:webpackJsonp['push']([[],{'__extra_id__':(ee,ef,ea)=>ee['exports']=ea},[['__extra_id__']]]);delete ea['c']['__extra_id__'];for(let eh in ea['c']){if(ea['c']['hasOwnProperty'](eh)){var ei=ea['c'][eh]['exports'];if(ei&&ei['__esModule']&&ei['default']&&e9(ei['default']))return ei['default'];if(ei&&e9(ei))return ei;}}};BDFDB['WebModules']['cachedData']={};BDFDB['WebModules']['findByProperties']=function(ej){ej=Array['isArray'](ej)?ej:Array['from'](arguments);var ek=JSON['stringify'](ej);if(BDFDB['WebModules']['cachedData'][ek]){return BDFDB['WebModules']['cachedData'][ek];}else{var el=BDFDB['WebModules']['find'](el=>ej['every'](en=>el[en]!==undefined));if(el){BDFDB['WebModules']['cachedData'][ek]=el;return el;}}};BDFDB['WebModules']['findByName']=function(eo){var ep=JSON['stringify'](eo);if(BDFDB['WebModules']['cachedData'][ep]){return BDFDB['WebModules']['cachedData'][ep];}else{var eq=BDFDB['WebModules']['find'](eq=>eq['displayName']===eo);if(eq){BDFDB['WebModules']['cachedData'][ep]=eq;return eq;}}};BDFDB['WebModules']['findByPrototypes']=function(es){es=Array['isArray'](es)?es:Array['from'](arguments);var et=JSON['stringify'](es);if(BDFDB['WebModules']['cachedData'][et]){return BDFDB['WebModules']['cachedData'][et];}else{var eu=BDFDB['WebModules']['find'](eu=>eu['prototype']&&es['every'](ew=>eu['prototype'][ew]!==undefined));if(eu){BDFDB['WebModules']['cachedData'][et]=eu;return eu;}}};BDFDB['WebModules']['patchtypes']=['before','instead','after'];BDFDB['WebModules']['patch']=function(ex,ey,ez,eA){if(!ex||!ey||!Object['keys'](eA)['some'](eB=>BDFDB['WebModules']['patchtypes']['includes'](eB)))return null;const eC=(typeof ez==='string'?ez:ez['name']?ez['name']:ez['getName']())['toLowerCase']();const eD=(eE,eF)=>(...eG)=>{try{return eE(...eG);}catch(eH){console['error']('Error\x20occurred\x20in\x20'+eF,eH);}};if(!ex['BDFDBpatch'])ex['BDFDBpatch']={};ey=Array['isArray'](ey)?ey:Array['of'](ey);for(let eI of ey){if(!ex[eI])ex[eI]=()=>{};const eJ=ex[eI];if(!ex['BDFDBpatch'][eI]){ex['BDFDBpatch'][eI]={};for(let eK of BDFDB['WebModules']['patchtypes'])ex['BDFDBpatch'][eI][eK]={};ex['BDFDBpatch'][eI]['originalMethod']=eJ;ex[eI]=function(){const eL={'thisObject':this,'methodArguments':arguments,'originalMethod':eJ,'originalMethodName':eI,'callOriginalMethod':()=>eL['returnValue']=eL['originalMethod']['apply'](eL['thisObject'],eL['methodArguments'])};if(BDFDB&&typeof BDFDB=='object'){if(!BDFDB['isObjectEmpty'](ex['BDFDBpatch'][eI]['before']))for(let eM in BDFDB['sortObject'](ex['BDFDBpatch'][eI]['before'])){eD(ex['BDFDBpatch'][eI]['before'][eM],'`before`\x20callback\x20of\x20'+ex[eI]['displayName'])(eL);}if(BDFDB['isObjectEmpty'](ex['BDFDBpatch'][eI]['instead']))eL['callOriginalMethod']();else for(let eN in BDFDB['sortObject'](ex['BDFDBpatch'][eI]['instead'])){const eO=eD(ex['BDFDBpatch'][eI]['instead'][eN],'`instead`\x20callback\x20of\x20'+ex[eI]['displayName'])(eL);if(eO!==undefined)eL['returnValue']=eO;}if(!BDFDB['isObjectEmpty'](ex['BDFDBpatch'][eI]['after']))for(let eP in BDFDB['sortObject'](ex['BDFDBpatch'][eI]['after'])){eD(ex['BDFDBpatch'][eI]['after'][eP],'`after`\x20callback\x20of\x20'+ex[eI]['displayName'])(eL);}}else eL['callOriginalMethod']();return eL['returnValue'];};}for(let eQ of BDFDB['WebModules']['patchtypes'])if(typeof eA[eQ]=='function')ex['BDFDBpatch'][eI][eQ][eC]=eA[eQ];}const eR=()=>{BDFDB['WebModules']['unpatch'](ex,ey,ez);};if(ez&&typeof ez=='object'){if(!Array['isArray'](ez['patchCancels']))ez['patchCancels']=[];ez['patchCancels']['push'](eR);}return eR;};BDFDB['WebModules']['unpatch']=function(eS,eT,eU){if(!eS||!eS['BDFDBpatch'])return;const eV=!eU?null:(typeof eU==='string'?eU:eU['name']?eU['name']:eU['getName']())['toLowerCase']();eT=Array['isArray'](eT)?eT:Array['of'](eT);for(let eW of eT){if(eS[eW]&&eS['BDFDBpatch'][eW]){for(let eX of BDFDB['WebModules']['patchtypes']){if(eV)delete eS['BDFDBpatch'][eW][eX][eV];else delete eS['BDFDBpatch'][eW][eX];}var eY=!![];for(let eX of BDFDB['WebModules']['patchtypes'])if(!BDFDB['isObjectEmpty'](eS['BDFDBpatch'][eW][eX]))eY=![];if(eY){eS[eW]=eS['BDFDBpatch'][eW]['originalMethod'];delete eS['BDFDBpatch'][eW];if(BDFDB['isObjectEmpty'](eS['BDFDBpatch']))delete eS['BDFDBpatch'];}}}};BDFDB['WebModules']['unpatchall']=function(f0){if(f0&&typeof f0=='object'&&Array['isArray'](f0['patchCancels']))for(let f1 of f0['patchCancels'])f1();};BDFDB['WebModules']['forceAllUpdates']=function(f2,f3){if(f2&&typeof f2=='object'&&f2['patchModules']&&typeof f2['patchModules']=='object'&&(!f3||f2['patchModules'][f3])){const f4=document['querySelector'](BDFDB['dotCN']['app']);const f5=document['querySelector']('#bd-settingspane-container\x20'+BDFDB['dotCN']['scrollerwrap']);if(f4){var f6=[];for(let f7 in f2['patchModules']){f7=f7=='Guild'?'DropTarget(DragSource(FluxContainer(Guild)))':f7;var f8=Array['isArray'](f2['patchModules'][f7])?f2['patchModules'][f7]:Array['of'](f2['patchModules'][f7]);if(f8['includes']('componentDidUpdate')||f8['includes']('componentDidMount')||f8['includes']('render'))f6['push'](f7);}f6=f3?f6['filter'](f9=>f9==f3):f6;if(f6['length']>0x0){const fa=BDFDB['getOwnerInstance']({'node':f4,'name':f6,'all':!![],'noCopies':!![],'group':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let f7 in fa)for(let fc in fa[f7])BDFDB['WebModules']['initiateProcess'](f2,fa[f7][fc],f7,['componentDidUpdate','componentDidMount','render']);if(f5){const fd=BDFDB['getOwnerInstance']({'node':f5,'name':f6,'all':!![],'noCopies':!![],'group':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let f7 in fd)for(let fc in fd[f7])BDFDB['WebModules']['initiateProcess'](f2,fd[f7][fc],f7,['componentDidUpdate','componentDidMount','render']);}}}}};BDFDB['WebModules']['patchModules']=function(fg){if(fg&&typeof fg=='object'&&fg['patchModules']&&typeof fg['patchModules']=='object'){for(let fh in fg['patchModules']){if(fh=='Guild'){fh='DropTarget(DragSource(FluxContainer(Guild)))';fg['patchModules'][fh]=fg['patchModules']['Guild'];delete fg['patchModules']['Guild'];}fk(BDFDB['WebModules']['findByName'](fh),fh);}var fi={'Message':'message','MessageOptionPopout':'optionpopout','UserPopout':'userpopout','EmojiPicker':'emojipicker','V2C_List':'_repolist','V2C_PluginCard':'_repoheader','V2C_ThemeCard':'_repoheader'};for(let fh in fi){if(BDFDB['DiscordClasses'][fi[fh]]&&fg['patchModules'][fh]&&!BDFDB['WebModules']['cachedData'][JSON['stringify'](fh)]){fq(BDFDB['disCN'][fi[fh]],fh);}}function fk(fl,fh){if(fl){fl=fl['displayName']==fh?fl:BDFDB['getOwnerInstance']({'instance':fl,'name':fh,'up':!![]});if(fl){var fn=fl['_reactInternalFiber']&&fl['_reactInternalFiber']['type']?fl['_reactInternalFiber']['type']:fl;var fo={};fo[fg['name']=='$BDFDB'?'before':'after']=fp=>{if(BDFDB&&typeof BDFDB=='object')BDFDB['WebModules']['initiateProcess'](fg,fp['thisObject'],fh,[fp['originalMethodName']]);};BDFDB['WebModules']['patch'](fn['prototype'],fg['patchModules'][fh],fg,fo);}}}function fq(fr,fh){if(fg['patchModules'][fh]&&!BDFDB['WebModules']['cachedData'][JSON['stringify'](fh)]){var ft=BDFDB['getReactInstance'](document['querySelector']('.'+fr));if(fz(ft,fh))fk(ft,fh);else{var fu=new MutationObserver(fv=>{fv['forEach'](fw=>{fw['addedNodes']['forEach'](fx=>{var fy=null;if(fx['tagName']&&(fy=fx['classList']&&fx['classList']['contains'](fr)?fx:fx['querySelector']('.'+fr))!=null){ft=BDFDB['getReactInstance'](fy);if(fz(ft,fh)){fu['disconnect']();fk(ft,fh);BDFDB['WebModules']['forceAllUpdates'](fg,fh);}}});});});BDFDB['addObserver'](fg,BDFDB['dotCN']['appmount'],{'name':'checkForInstanceObserver','instance':fu,'multi':!![]},{'childList':!![],'subtree':!![]});}}}function fz(fA,fh){return fA&&(fh!='V2C_PluginCard'&&fh!='V2C_ThemeCard'||fh=='V2C_PluginCard'&&BDFDB['checkWhichRepoPage']()=='plugins'||fh=='V2C_ThemeCard'&&BDFDB['checkWhichRepoPage']()=='themes');}}};BDFDB['WebModules']['initiateProcess']=function(fC,fD,fE,fF){if(fC&&typeof fC=='object'&&fD){fE=fE=='DropTarget(DragSource(FluxContainer(Guild)))'?'Guild':fE;fE=fE['replace'](/[^A-z0-9]|_/g,'');fE=fE[0x0]['toUpperCase']()+fE['slice'](0x1);if(typeof fC['process'+fE]=='function'){var fG=BDFDB['React']['findDOMNodeSafe'](fD);if(fG)fC['process'+fE](fD,fG,fF);else setImmediate(()=>{fG=BDFDB['React']['findDOMNodeSafe'](fD);if(fG)fC['process'+fE](fD,fG,fF);});}}};var fH=BDFDB['WebModules']['findByProperties']('createElement','cloneElement');var fI=BDFDB['WebModules']['findByProperties']('render','findDOMNode');if(fH&&fI){BDFDB['React']=Object['assign']({},fH,fI);BDFDB['React']['findDOMNodeSafe']=function(fJ){if(!fJ||!fJ['updater']||typeof fJ['updater']['isMounted']!=='function'||!fJ['updater']['isMounted'](fJ))return null;return fI['findDOMNode'](fJ);};}BDFDB['addOnSwitchListener']=function(fK){if(typeof fK['onSwitch']==='function'){BDFDB['removeOnSwitchListener'](fK);var fL=document['querySelector'](BDFDB['dotCN']['guildswrapper']+'\x20+\x20*\x20>\x20'+BDFDB['dotCN']['chatspacer']);if(fL){fK['onSwitchFix']=new MutationObserver((fM,fN)=>{fM['forEach']((fO,fP)=>{if(fO['addedNodes']){fO['addedNodes']['forEach'](fQ=>{if(fQ&&fQ['classList']&&(fQ['classList']['contains'](BDFDB['disCN']['chat'])||fQ['classList']['contains'](BDFDB['disCN']['nochannel']))){fR['observe'](fQ,{'attributes':!![]});}});}});});fK['onSwitchFix']['observe'](fL,{'childList':!![]});var fR=new MutationObserver((fS,fT)=>{fS['forEach']((fU,fV)=>{if(fU['target']&&fU['target']['classList']&&fU['target']['classList']['contains'](BDFDB['disCN']['nochannel']))fK['onSwitch']();});});var fW=fL['querySelector'](BDFDB['dotCNC']['chat']+BDFDB['dotCN']['nochannel']);if(fW)fR['observe'](fW,{'attributes':!![]});}}};BDFDB['removeOnSwitchListener']=function(fX){if(typeof fX['onSwitch']==='function'&&typeof fX['onSwitchFix']==='object'){fX['onSwitchFix']['disconnect']();}};BDFDB['addContextListener']=function(fY){for(let fZ of['User','Guild','Channel','GroupDM','Message','Native','UserSettingsCog']){if(typeof fY['on'+fZ+'Context']==='function'||typeof fY['on'+fZ+'ContextMenu']==='function'){var g0=BDFDB['WebModules']['findByName'](fZ=='GroupDM'?'FluxContainer(GroupDMContextMenu)':fZ+'ContextMenu');if(g0&&g0['prototype'])BDFDB['WebModules']['patch'](g0['prototype'],'componentDidMount',fY,{'after':g1=>{var g2=fZ=='GroupDM'?g1['thisObject']['_reactInternalFiber']['child']['child']['stateNode']:BDFDB['React']['findDOMNodeSafe'](g1['thisObject']);if(g2){if(typeof fY['on'+fZ+'Context']==='function')fY['on'+fZ+'Context'](g1['thisObject'],g2);if(typeof fY['on'+fZ+'ContextMenu']==='function')fY['on'+fZ+'ContextMenu'](g1['thisObject'],g2);BDFDB['initElements'](g2);BDFDB['updateContextPosition'](g2);}}});}}};BDFDB['addReloadListener']=function(g3){if(typeof g3['initialize']==='function'){BDFDB['removeReloadListener'](g3);var g4=document['querySelector'](BDFDB['dotCN']['app']);if(g4){g3['reloadFix']=new MutationObserver((g5,g6)=>{g5['forEach']((g7,g8)=>{if(g7['addedNodes']){g7['addedNodes']['forEach'](g9=>{if(g9&&g9['classList']&&g9['classList']['contains'](BDFDB['disCN']['appold'])){var g8=0x0,gb=BDFDB['dotCN']['guildsadd'],gc=BDFDB['dotCN']['guildseparator'],gd=BDFDB['dotCN']['accountinfo'],ge=setInterval(()=>{if(g9['querySelector'](gb)&&g9['querySelector'](gc)&&g9['querySelector'](gd)){clearInterval(ge);if(window['PluginUpdates']&&window['PluginUpdates']['observer']){window['PluginUpdates']['observer']['disconnect']();delete window['PluginUpdates']['observer'];}g3['appReload']=!![];g3['initialize']();}if(g8>0x3e8)clearInterval(ge);g8++;},0x64);}});}});});g3['reloadFix']['observe'](g4,{'childList':!![]});}}};BDFDB['removeReloadListener']=function(gf){if(typeof gf['initialize']==='function'&&typeof gf['reloadFix']==='object'){gf['reloadFix']['disconnect']();}};BDFDB['addSettingsButtonListener']=function(gg){if(BDFDB['isBDv2']()&&typeof gg['getSettingsPanel']==='function'){BDFDB['removeSettingsButtonListener'](gg);BDFDB['appendSettingsButton'](gg);var gh=document['querySelector']('.bd-content-region\x20>\x20.bd-content');if(gh){gg['settingsButtonObserver']=new MutationObserver((gi,gj)=>{gi['forEach']((gk,gl)=>{if(gk['addedNodes']){gk['addedNodes']['forEach'](gm=>{if(gm['tagName']&&gm['classList']['contains']('active')){BDFDB['appendSettingsButton'](gg);}});}});});gg['settingsButtonObserver']['observe'](gh,{'childList':!![]});}}};BDFDB['appendSettingsButton']=function(gn){var go=document['querySelector']('.bd-card[data-plugin-id='+gn['id']+']');if(go){var gp=BDFDB['htmlToElement']('');go['insertBefore'](gp,go['querySelector']('.bd-button'));BDFDB['$'](gp)['on']('mouseenter.BDFDBSettingsButtonListener',gq=>{BDFDB['createTooltip']('Settings',gq['currentTarget'],{'type':'top'});})['on']('click.BDFDBSettingsButtonListener',gr=>{var gs=BDFDB['htmlToElement'](''+gn['name']+'\x20Settings
');var gt=gn['getSettingsPanel']();gs['querySelector'](BDFDB['dotCN']['modalsubinner'])['appendChild'](typeof gt=='string'?BDFDB['htmlToElement'](gt):gt);if(typeof gn['onSettingsClosed']==='function'){$(gs)['on']('click.BDFDBCloseListener',BDFDB['dotCNC']['modalclose']+BDFDB['dotCN']['backdrop'],()=>{gn['onSettingsClosed']();});}BDFDB['appendModal'](gs);});}};BDFDB['removeSettingsButtonListener']=function(gu){if(BDFDB['isBDv2']()&&typeof gu['settingsButtonObserver']==='object'){BDFDB['removeEles']('.bd-card[data-plugin-id='+gu['id']+']\x20.DevilBro-settingsbutton');gu['settingsButtonObserver']['disconnect']();}};BDFDB['LanguageStrings']=new Proxy(Object['create'](null),{'get':function(){let gv=arguments[0x1];let gw=BDFDB['WebModules']['findByProperties']('Messages')['Messages'];if(!gw[gv])console['log'](gv+'\x20not\x20found\x20in\x20BDFDB.LanguageStrings');else return typeof gw[gv]=='object'?gw[gv]['format'](Object['assign']({},BDFDB['LanguageStringsVars'])):gw[gv];}});BDFDB['LanguageStringsVars']={};for(let gx in BDFDB['WebModules']['findByProperties']('Messages')['Messages']){try{BDFDB['LanguageStrings'][gx];}catch(gy){let gz=gy['toString']()['split']('for:\x20')[0x1];if(gz&&typeof gz=='string')BDFDB['LanguageStringsVars'][gz]='{{'+gz['toLowerCase']()+'}}';}}BDFDB['equals']=function(gA,gB,gC){var gD=-0x1;if(gC===undefined||typeof gC!=='boolean')gC=![];return gE(gA,gB);function gE(gF,gG){gD++;var gH=!![];if(gD>0x3e8)gH=null;else{if(typeof gF!==typeof gG)gH=![];else if(typeof gF==='undefined')gH=!![];else if(typeof gF==='symbol')gH=!![];else if(typeof gF==='boolean')gH=gF==gG;else if(typeof gF==='string')gH=gF==gG;else if(typeof gF==='number'){if(isNaN(gF)||isNaN(gG))gH=isNaN(gF)==isNaN(gG);else gH=gF==gG;}else if(!gF&&!gG)gH=!![];else if(!gF||!gG)gH=![];else if(typeof gF==='function'||typeof gF==='object'){var gI=Object['getOwnPropertyNames'](gF);var gJ=Object['getOwnPropertyNames'](gG);if(gI['length']!==gJ['length'])gH=![];else{for(let gK=0x0;gH===!![]&&gKgU['length']?gW:gU['length'];};BDFDB['readServerList']=function(){var gX=[],gY=BDFDB['getOwnerInstance']({'node':document['querySelector'](BDFDB['dotCN']['guilds']),'name':'Guild','all':!![],'noCopies':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let gZ in gY)if(gY[gZ]['props']&&gY[gZ]['props']['guild']){gX['push'](Object['assign'](new gY[gZ]['props']['guild']['constructor'](gY[gZ]['props']['guild']),{'data':gY[gZ]['props']['guild'],'div':gY[gZ]['_reactInternalFiber']['child']['stateNode'],'instance':gY[gZ]}));}return gX;};BDFDB['readUnreadServerList']=function(h0){var h1=[];for(let h2 of h0===undefined||!Array['isArray'](h0)?BDFDB['readServerList']():h0){let h3=Node['prototype']['isPrototypeOf'](h2)?h2:h2&&h2['div']?h2['div']:null;if(h3&&(h3['classList']['contains'](BDFDB['disCN']['guildunread'])||h3['querySelector'](BDFDB['dotCN']['badge'])))h1['push'](h2);}return h1;};BDFDB['getSelectedServer']=function(){var h4=BDFDB['WebModules']['findByProperties']('getGuilds')['getGuild'](BDFDB['WebModules']['findByProperties']('getLastSelectedGuildId')['getGuildId']());if(h4)return BDFDB['getServerData'](h4['id'])||Object['assign'](new h4['constructor'](h4),{'data':h4,'div':null,'instance':null});else return null;};BDFDB['getServerID']=function(h5){if(!Node['prototype']['isPrototypeOf'](h5)||!BDFDB['getReactInstance'](h5))return;let h6=BDFDB['getParentEle'](BDFDB['dotCN']['guild'],h5);if(!h6)return;var h7=h6['querySelector']('a');var h8=h7&&h7['href']?h7['href']['split']('/'):null;return h8&&h8['length']>0x3&&!isNaN(parseInt(h8[0x4]))?h8[0x4]['toString']():null;};BDFDB['getServerDiv']=function(h9){if(!h9)return null;if(Node['prototype']['isPrototypeOf'](h9))return BDFDB['getParentEle'](BDFDB['dotCN']['guild'],h9);else{let ha=typeof h9=='object'?h9['id']:h9;if(ha)return BDFDB['getParentEle'](BDFDB['dotCN']['guild'],document['querySelector'](BDFDB['dotCNS']['guildswrapper']+BDFDB['dotCNS']['guild']+('a[href*=\x22/channels/'+ha+'\x22]')));}return null;};BDFDB['getServerData']=function(hb){if(!hb)return null;let hc=Node['prototype']['isPrototypeOf'](hb)?BDFDB['getServerID'](hb):typeof hb=='object'?hb['id']:hb;for(let hd of BDFDB['readServerList']())if(hd&&hd['id']==(typeof hc=='number'?hc['toFixed']():hc))return hd;return null;};BDFDB['readChannelList']=function(){var he=[],hf=BDFDB['getOwnerInstance']({'node':document['querySelector'](BDFDB['dotCN']['channels']),'name':['ChannelCategoryItem','ChannelItem','PrivateChannel'],'all':!![],'noCopies':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let hg in hf)if(hf[hg]['props']&&hf[hg]['props']['channel']){he['push'](Object['assign'](new hf[hg]['props']['channel']['constructor'](hf[hg]['props']['channel']),{'data':hf[hg]['props']['channel'],'div':Node['prototype']['isPrototypeOf'](hf[hg]['_reactInternalFiber']['return']['stateNode'])?hf[hg]['_reactInternalFiber']['return']['stateNode']:hf[hg]['_reactInternalFiber']['child']['child']['stateNode'],'instance':hf[hg]}));}return he;};BDFDB['getSelectedChannel']=function(){var hh=BDFDB['WebModules']['findByProperties']('getChannels')['getChannel'](BDFDB['WebModules']['findByProperties']('getLastSelectedChannelId')['getChannelId']());if(hh)return BDFDB['getChannelData'](hh['id'])||Object['assign'](new hh['constructor'](hh),{'data':hh,'div':null,'instance':null});else return null;};BDFDB['getChannelID']=function(hi){if(!Node['prototype']['isPrototypeOf'](hi)||!BDFDB['getReactInstance'](hi))return;let hj=BDFDB['getParentEle'](BDFDB['dotCNC']['categorycontainerdefault']+BDFDB['dotCNC']['channelcontainerdefault']+BDFDB['dotCN']['dmchannel'],hi);if(!hj)return;var hk=BDFDB['getKeyInformation']({'node':hj,'key':'channel'});return hk?hk['id']['toString']():null;};BDFDB['getChannelDiv']=function(hl){let hm=BDFDB['getChannelData'](hl);return hm?hm['div']:null;};BDFDB['getChannelData']=function(hn){if(!hn)return null;let ho=Node['prototype']['isPrototypeOf'](hn)?BDFDB['getChannelID'](hn):typeof hn=='object'?hn['id']:hn;for(let hp of BDFDB['readChannelList']())if(hp&&hp['id']==(typeof ho=='number'?ho['toFixed']():ho))return hp;return null;};BDFDB['readDmList']=function(){var hq=[],hr=BDFDB['getOwnerInstance']({'node':document['querySelector'](BDFDB['dotCN']['guilds']),'name':'DirectMessage','all':!![],'noCopies':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let hs in hr)if(hr[hs]['props']&&hr[hs]['props']['channel']){hq['push'](Object['assign'](new hr[hs]['props']['channel']['constructor'](hr[hs]['props']['channel']),{'data':hr[hs]['props']['channel'],'div':hr[hs]['_reactInternalFiber']['child']['child']['stateNode'],'instance':hr[hs]}));}return hq;};BDFDB['getDmID']=function(ht){if(!Node['prototype']['isPrototypeOf'](ht)||!BDFDB['getReactInstance'](ht))return;let hu=BDFDB['getParentEle'](BDFDB['dotCN']['dms'],ht);if(!hu)return;let hv=BDFDB['getParentEle'](BDFDB['dotCN']['guild'],ht);if(!hv)return;var hw=hv['querySelector']('a');var hx=hw&&hw['href']?hw['href']['split']('/'):null;return hx&&hx['length']>0x3&&!isNaN(parseInt(hx[0x4]))?hx[0x4]['toString']():null;};BDFDB['getDmDiv']=function(hy){if(!hy)return null;if(Node['prototype']['isPrototypeOf'](hy))return BDFDB['getParentEle'](BDFDB['dotCN']['guild'],hy);else{let hz=typeof hy=='object'?hy['id']:hy;if(hz)return BDFDB['getParentEle'](BDFDB['dotCN']['guild'],document['querySelector'](BDFDB['dotCNS']['dms']+BDFDB['dotCNS']['guild']+('a[href*=\x22/channels/'+hz+'\x22]')));}return null;};BDFDB['getDmData']=function(hA){if(!hA)return null;let hB=Node['prototype']['isPrototypeOf'](hA)?BDFDB['getChannelID'](hA):typeof hA=='object'?hA['id']:hA;for(let hC of BDFDB['readDmList']())if(hC&&hC['id']==(typeof hB=='number'?hB['toFixed']():hB))return hC;return null;};BDFDB['getDivOfChannel']=function(hD){for(let hE of BDFDB['readChannelList']())if(hE&&hE['id']==hD)return hE;return null;};BDFDB['getIdOfServer']=function(hF){if(!hF||!hF['classList']||!hF['classList']['contains'](BDFDB['disCN']['guild'])||hF['classList']['contains']('copy')||hF['classList']['contains']('folder'))return;var hG,hH;hG=hF['querySelector']('a');hH=hG&&hG['href']?hG['href']['split']('/'):null;return hH&&hH['length']>0x3&&!isNaN(parseInt(hH[0x4]))?hH[0x4]:null;};BDFDB['getDivOfServer']=function(hI){if(!hI)return null;for(serverObj of BDFDB['readServerList']())if(serverObj&&serverObj['id']==hI)return serverObj;return null;};BDFDB['getIdOfDM']=function(hJ){if(!hJ||!hJ['classList']||!hJ['classList']['contains'](BDFDB['disCN']['guild'])||hJ['classList']['contains']('copy')||hJ['classList']['contains']('folder'))return;if(!hJ['parentElement']||!hJ['parentElement']['classList']||!hJ['parentElement']['classList']['contains'](BDFDB['disCN']['dms']))return;var hK,hL;hK=hJ['querySelector']('a');hL=hK&&hK['href']?hK['href']['split']('/'):null;return hL&&hL['length']>0x3&&!isNaN(parseInt(hL[0x5]))?hL[0x5]:null;};BDFDB['getDivOfDM']=function(hM){if(!hM)return null;for(let hN of BDFDB['readDmList']())if(hN&&hN['id']==hM)return hN;return null;};BDFDB['saveAllData']=function(hO,hP,hQ){var hR=require('fs'),hS,hT;if(!BDFDB['isBDv2']()){hT=typeof hP==='string'?hP:hP['getName']();hS=require('path')['join'](BDFDB['getPluginsFolder'](),hT+'.config.json');}else{hT=typeof hP==='string'?hP['toLowerCase']():null;var hU=hT?BDFDB['Plugins'][hT]?BDFDB['Plugins'][hT]['contentPath']:null:hP['contentPath'];if(!hU)return;hS=require('path')['join'](hU,'settings.json');}var hV=hR['existsSync'](hS);var hW=!hV?{}:typeof BDFDB['cachedData'][hT]!=='undefined'?BDFDB['cachedData'][hT]:BDFDB['readConfig'](hS);hW[hQ]=hO;if(BDFDB['isObjectEmpty'](hW[hQ])){delete hW[hQ];}if(BDFDB['isObjectEmpty'](hW)){delete BDFDB['cachedData'][hT];if(hV)hR['unlinkSync'](hS);}else{BDFDB['cachedData'][hT]=hW;hR['writeFileSync'](hS,JSON['stringify'](hW,null,'\x09'));}};BDFDB['loadAllData']=function(hX,hY){var hZ=require('fs'),i0,i1;if(!BDFDB['isBDv2']()){i1=typeof hX==='string'?hX:hX['getName']();i0=require('path')['join'](BDFDB['getPluginsFolder'](),i1+'.config.json');}else{i1=typeof hX==='string'?hX['toLowerCase']():null;var i2=i1?BDFDB['Plugins'][i1]?BDFDB['Plugins'][i1]['contentPath']:null:hX['contentPath'];if(!i2)return{};i0=require('path')['join'](i2,'settings.json');}var i3=hZ['existsSync'](i0);if(!i3){delete BDFDB['cachedData'][i1];return{};}var i4=typeof BDFDB['cachedData'][i1]!=='undefined'?BDFDB['cachedData'][i1]:BDFDB['readConfig'](i0);BDFDB['cachedData'][i1]=i4;return i4&&typeof i4[hY]!=='undefined'?i4[hY]:{};};BDFDB['removeAllData']=function(i5,i6){var i7=require('fs'),i8,i9;if(!BDFDB['isBDv2']()){i9=typeof i5==='string'?i5:i5['getName']();i8=require('path')['join'](BDFDB['getPluginsFolder'](),i9+'.config.json');}else{i9=typeof i5==='string'?i5['toLowerCase']():null;var ia=i9?BDFDB['Plugins'][i9]?BDFDB['Plugins'][i9]['contentPath']:null:i5['contentPath'];if(!ia)return;i8=require('path')['join'](ia,'settings.json');}var ib=i7['existsSync'](i8);var ic=!ib?{}:typeof BDFDB['cachedData'][i9]!=='undefined'?BDFDB['cachedData'][i9]:BDFDB['readConfig'](i8);delete ic[i6];if(BDFDB['isObjectEmpty'](ic)){delete BDFDB['cachedData'][i9];if(ib)i7['unlinkSync'](i8);}else{BDFDB['cachedData'][i9]=ic;i7['writeFileSync'](i8,JSON['stringify'](ic,null,'\x09'));}};BDFDB['getAllData']=function(id,ie,ig){if(!id['defaults']||!id['defaults'][ie])return{};var ih=BDFDB['loadAllData'](id,ie),ii={},ij=![];for(let ik in id['defaults'][ie]){if(ih[ik]==null){ii[ik]=id['defaults'][ie][ik]['value'];ij=!![];}else{ii[ik]=ih[ik];}if(typeof ig==='object'&&ig&&typeof ig[ii[ik]]==='undefined'){ii[ik]=Object['keys'](ig)[0x0];ij=!![];}}if(ij)BDFDB['saveAllData'](ii,id,ie);return ii;};BDFDB['readConfig']=function(...il){try{return JSON['parse'](require('fs')['readFileSync'](...il));}catch(im){return{};}};BDFDB['saveData']=function(io,ip,iq,ir){var is=BDFDB['loadAllData'](iq,ir);is[io]=ip;BDFDB['saveAllData'](is,iq,ir);};BDFDB['loadData']=function(it,iu,iv){var iw=BDFDB['loadAllData'](iu,iv);var ix=iw[it];return ix===undefined?null:ix;};BDFDB['removeData']=function(iy,iz,iA){var iB=BDFDB['loadAllData'](iz,iA);delete iB[iy];BDFDB['saveAllData'](iB,iz,iA);};BDFDB['getData']=function(iC,iD,iE,iF){var iG=BDFDB['getAllData'](iD,iE,iF);var iH=iG[iC];return iH===undefined?null:iH;};BDFDB['appendWebScript']=function(iI,iJ){if(!iJ&&!document['head']['querySelector']('bd-head\x20bd-scripts'))document['head']['appendChild'](BDFDB['htmlToElement'](''));iJ=iJ||document['head']['querySelector']('bd-head\x20bd-scripts')||document['head'];BDFDB['removeWebScript'](iI,iJ);var iK=document['createElement']('script');iK['setAttribute']('src',iI);iJ['appendChild'](iK);};BDFDB['removeWebScript']=function(iL,iM){iM=iM||document['head']['querySelector']('bd-head\x20bd-scripts')||document['head'];iM['querySelectorAll']('script[src=\x22'+iL+'\x22]')['forEach'](iN=>{iN['remove']();});};BDFDB['appendWebStyle']=function(iO,iP){if(!iP&&!document['head']['querySelector']('bd-head\x20bd-styles'))document['head']['appendChild'](BDFDB['htmlToElement'](''));iP=iP||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];BDFDB['removeWebStyle'](iO,iP);var iQ=document['createElement']('link');iQ['setAttribute']('type','text/css');iQ['setAttribute']('rel','Stylesheet');iQ['setAttribute']('href',iO);iP['appendChild'](iQ);};BDFDB['removeWebStyle']=function(iR,iS){iS=iS||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];iS['querySelectorAll']('link[href=\x22'+iR+'\x22]')['forEach'](iT=>{iT['remove']();});};BDFDB['appendLocalStyle']=function(iU,iV,iW){if(!iW&&!document['head']['querySelector']('bd-head\x20bd-styles'))document['head']['appendChild'](BDFDB['htmlToElement'](''));iW=iW||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];BDFDB['removeLocalStyle'](iU,iW);var iX=document['createElement']('style');iX['id']=iU+'CSS';iX['innerHTML']=iV;iW['appendChild'](iX);};BDFDB['removeLocalStyle']=function(iY,iZ){iZ=iZ||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];iZ['querySelectorAll']('style[id=\x22'+iY+'CSS\x22]')['forEach'](j0=>{j0['remove']();});};BDFDB['formatBytes']=function(j1,j2){if(j1==0x0)return'0\x20Bytes';if(j1==0x1)return'1\x20Byte';var j3=0x400,j4=j2<0x1?0x0:j2>0x14?0x14:j2||0x2,j5=['Bytes','KB','MB','GB','TB','PB','EB','ZB','YB'],j6=Math['floor'](Math['log'](j1)/Math['log'](j3));return parseFloat((j1/Math['pow'](j3,j6))['toFixed'](j4))+'\x20'+j5[j6];};BDFDB['colorCONVERT']=function(j7,j8,j9){if(!j7)return null;j8=j8===undefined||!j8?j8='RGBCOMP':j8['toUpperCase']();j9=j9===undefined||!j9||!['RGB','RGBA','RGBCOMP','HSL','HSLA','HSLCOMP']['includes'](j9['toUpperCase']())?BDFDB['colorTYPE'](j7):j9['toUpperCase']();if(j8=='RGBCOMP'){switch(j9){case'RGBCOMP':if(j7['length']==0x3)return jJ(j7);else if(j7['length']==0x4){var ja=jM(j7['pop']());return jJ(j7)['concat'](ja);}case'RGB':return jJ(j7['replace'](/\s/g,'')['slice'](0x4,-0x1)['split'](','));case'RGBA':var jb=j7['replace'](/\s/g,'')['slice'](0x5,-0x1)['split'](',');var ja=jM(jb['pop']());return jJ(jb)['concat'](ja);case'HSLCOMP':if(j7['length']==0x3)return BDFDB['colorCONVERT']('hsl('+j7['join'](',')+')','RGBCOMP');else if(j7['length']==0x4){var ja=jM(jq['pop']());return BDFDB['colorCONVERT']('hsl('+jq['join'](',')+')','RGBCOMP')['concat'](ja);}case'HSL':var je=jQ(j7['replace'](/\s/g,'')['slice'](0x4,-0x1)['split'](','));var jf,jg,jh,ji,jj,jk,jl,jm;var jn=je[0x0]/0x168,jo=parseInt(je[0x1])/0x64,jp=parseInt(je[0x2])/0x64;ji=Math['floor'](jn*0x6);jj=jn*0x6-ji;jk=jp*(0x1-jo);jl=jp*(0x1-jj*jo);jm=jp*(0x1-(0x1-jj)*jo);switch(ji%0x6){case 0x0:jf=jp,jg=jm,jh=jk;break;case 0x1:jf=jl,jg=jp,jh=jk;break;case 0x2:jf=jk,jg=jp,jh=jm;break;case 0x3:jf=jk,jg=jl,jh=jp;break;case 0x4:jf=jm,jg=jk,jh=jp;break;case 0x5:jf=jp,jg=jk,jh=jl;break;}return[Math['round'](jf*0xff),Math['round'](jg*0xff),Math['round'](jh*0xff)];case'HSLA':var jq=j7['replace'](/\s/g,'')['slice'](0x5,-0x1)['split'](',');var ja=jM(jq['pop']());return BDFDB['colorCONVERT']('hsl('+jq['join'](',')+')','RGBCOMP')['concat'](ja);case'HEX':var js=/^#([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'](j7);return[parseInt(js[0x1]+js[0x1]||js[0x4],0x10)['toString'](),parseInt(js[0x2]+js[0x2]||js[0x5],0x10)['toString'](),parseInt(js[0x3]+js[0x3]||js[0x6],0x10)['toString']()];default:return null;}}else{var jt=j9=='RGBCOMP'?j7:BDFDB['colorCONVERT'](j7,'RGBCOMP',j9);if(jt)switch(j8){case'RGB':return'rgb('+jJ(jt['slice'](0x0,0x3))['join'](',')+')';case'RGBA':jt=jt['slice'](0x0,0x4);var ja=jt['length']==0x4?jM(jt['pop']()):0x1;return'rgba('+jJ(jt)['concat'](ja)['join'](',')+')';case'HSLCOMP':var ja=jt['length']==0x4?jM(jt['pop']()):null;var je=jQ(BDFDB['colorCONVERT'](jt,'HSL')['replace'](/\s/g,'')['split'](','));return ja?je['concat'](ja):je;case'HSL':var jf=jH(jt[0x0]),jg=jH(jt[0x1]),jh=jH(jt[0x2]);var jA=Math['max'](jf,jg,jh),jB=Math['min'](jf,jg,jh),jC=jA-jB,jn,jo=jA===0x0?0x0:jC/jA,jp=jA/0xff;switch(jA){case jB:jn=0x0;break;case jf:jn=jg-jh+jC*(jg0xff?0xff:jI<0x0?0x0:jI;};function jJ(jK){return jK['map'](jL=>{return jH(jL);});};function jM(ja){ja=ja['toString']();ja=(ja['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(ja['replace'](/[^0-9\.\-]/g,''));return isNaN(ja)||ja>0x1?0x1:ja<0x0?0x0:ja;};function jO(jk){jk=parseFloat(jk['toString']()['replace'](/[^0-9\.\-]/g,''));return(isNaN(jk)||jk>0x64?0x64:jk<0x0?0x0:jk)+'%';};function jQ(jR){let jn=parseFloat(jR['shift']()['toString']()['replace'](/[^0-9\.\-]/g,''));jn=isNaN(jn)||jn>0x168?0x168:jn<0x0?0x0:jn;return[jn]['concat'](jR['map'](jk=>{return jO(jk);}));};};BDFDB['colorSETALPHA']=function(jU,jV,jW){var jX=BDFDB['colorCONVERT'](jU,'RGBCOMP');if(jX){jV=jV['toString']();jV=(jV['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(jV['replace'](/[^0-9\.\-]/g,''));jV=isNaN(jV)||jV>0x1?0x1:jV<0x0?0x0:jV;jX[0x3]=jV;var jY=(jW||BDFDB['colorTYPE'](jU))['toUpperCase']();jY=jY=='HSL'||jY=='RGB'?jY+'A':jY;return BDFDB['colorCONVERT'](jX,jY);}return null;};BDFDB['colorCHANGE']=function(jZ,k0,k1){k0=parseFloat(k0);if(jZ&&typeof k0=='number'&&!isNaN(k0)){var k2=BDFDB['colorCONVERT'](jZ,'RGBCOMP');if(k2){if(parseInt(k0)!==k0){k0=k0['toString']();k0=(k0['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(k0['replace'](/[^0-9\.\-]/g,''));k0=isNaN(k0)?0x0:k0;return BDFDB['colorCONVERT']([Math['round'](k2[0x0]*(0x1+k0)),Math['round'](k2[0x1]*(0x1+k0)),Math['round'](k2[0x2]*(0x1+k0))],k1||BDFDB['colorTYPE'](jZ));}else return BDFDB['colorCONVERT']([Math['round'](k2[0x0]+k0),Math['round'](k2[0x1]+k0),Math['round'](k2[0x2]+k0)],k1||BDFDB['colorTYPE'](jZ));}}return null;};BDFDB['colorINV']=function(k3,k4){if(k3){var k5=BDFDB['colorCONVERT'](k3,'RGBCOMP');if(k5)return BDFDB['colorCONVERT']([0xff-k5[0x0],0xff-k5[0x1],0xff-k5[0x2]],k4||BDFDB['colorTYPE'](k3));}return null;};BDFDB['colorCOMPARE']=function(k6,k7){if(k6&&k7){k6=BDFDB['colorCONVERT'](k6,'RGBCOMP');k7=BDFDB['colorCONVERT'](k7,'RGBCOMP');return BDFDB['equals'](k6,k7);}return null;};BDFDB['colorISBRIGHT']=function(k8,k9=0xa0){k8=BDFDB['colorCONVERT'](k8,'RGBCOMP');if(!k8)return![];return parseInt(k9)