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