diff --git a/Plugins/BDFDB.js b/Plugins/BDFDB.js
index e21006192d..4427fbfc70 100644
--- a/Plugins/BDFDB.js
+++ b/Plugins/BDFDB.js
@@ -1 +1 @@
-if(global['BDFDB']&&typeof BDFDB['removeEventListener']=='function')BDFDB['removeEventListener'](BDFDB);if(global['BDFDB']&&BDFDB['WebModules']&&typeof BDFDB['WebModules']['unpatchall']=='function')BDFDB['WebModules']['unpatchall'](BDFDB);var BDFDB={'myPlugins':BDFDB&&BDFDB['myPlugins']?BDFDB['myPlugins']:{},'BDv2Api':BDFDB&&BDFDB['BDv2Api']?BDFDB['BDv2Api']:undefined,'creationTime':performance['now'](),'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);c['name']=c['name']||c['getName']();c['version']=c['version']||c['getVersion']();c['author']=c['author']||c['getAuthor']();c['description']=c['description']||c['getDescription']();var d=BDFDB['getLibraryStrings']()['toast_plugin_started']['replace']('{{oldversion}}','v'+c['version']);console['log']('%c['+c['name']+']%c','color:\x20#3a71c1;\x20font-weight:\x20700;','',d);if(!(settingsCookie['fork-ps-2']&&settingsCookie['fork-ps-2']===!![]))BDFDB['showToast'](c['name']+'\x20'+d,{'nopointer':!![],'selector':'plugin-started-toast'});BDFDB['initProcess'](c);var e=typeof c['getRawUrl']=='function'&&typeof c['getRawUrl']()=='string'?c['getRawUrl']():'https://mwittrien.github.io/BetterDiscordAddons/Plugins/'+c['name']+'/'+c['name']+'.plugin.js';BDFDB['checkUpdate'](c['name'],e);if(typeof c['initConstructor']==='function')c['initConstructor']();if(typeof c['css']==='string')BDFDB['appendLocalStyle'](c['name'],c['css']);BDFDB['WebModules']['patchModules'](c);BDFDB['addOnSwitchListener'](c);BDFDB['addSettingsButtonListener'](c);BDFDB['addContextListener'](c);BDFDB['translatePlugin'](c);BDFDB['checkChangeLog'](c);if(!window['PluginUpdates']||typeof window['PluginUpdates']!=='object')window['PluginUpdates']={'plugins':{}};window['PluginUpdates']['plugins'][e]={'name':c['name'],'raw':e,'version':c['version']};if(typeof window['PluginUpdates']['interval']==='undefined')window['PluginUpdates']['interval']=setInterval(()=>{BDFDB['checkAllUpdates']();},0x3e8*0x3c*0x3c*0x2);c['started']=!![];for(let f in BDFDB['myPlugins'])if(!BDFDB['myPlugins'][f]['started']&&typeof BDFDB['myPlugins'][f]['initialize']=='function')BDFDB['myPlugins'][f]['initialize']();};BDFDB['unloadMessage']=function(g){BDFDB['clearStarttimout'](g);delete BDFDB['myPlugins'][g['name']];var h=BDFDB['getLibraryStrings']()['toast_plugin_stopped']['replace']('{{oldversion}}','v'+g['version']);console['log']('%c['+g['name']+']%c','color:\x20#3a71c1;\x20font-weight:\x20700;','',h);if(!(settingsCookie['fork-ps-2']&&settingsCookie['fork-ps-2']===!![]))BDFDB['showToast'](g['name']+'\x20'+h,{'nopointer':!![],'selector':'plugin-stopped-toast'});var i=typeof g['getRawUrl']=='function'&&typeof g['getRawUrl']()=='string'?g['getRawUrl']():'https://mwittrien.github.io/BetterDiscordAddons/Plugins/'+g['name']+'/'+g['name']+'.plugin.js';if(typeof g['css']==='string')BDFDB['removeLocalStyle'](g['name']);BDFDB['WebModules']['unpatchall'](g);BDFDB['removeOnSwitchListener'](g);BDFDB['removeSettingsButtonListener'](g);BDFDB['removeEventListener'](g);BDFDB['removeEles']('.'+g['name']+'-modal,\x20.'+g['name']['toLowerCase']()+'-modal,\x20.'+g['name']+'-settingsmodal,\x20.'+g['name']['toLowerCase']()+'-settingsmodal');if(!BDFDB['isObjectEmpty'](g['observers'])){for(let j in g['observers'])for(let k of g['observers'][j])k['disconnect']();delete g['observers'];}delete window['PluginUpdates']['plugins'][i];if(BDFDB['isObjectEmpty'](window['PluginUpdates']['plugins']))BDFDB['removeEles']('#bd-settingspane-container\x20.bd-updatebtn'+BDFDB['dotCN']['_repofolderbutton']);delete g['started'];};BDFDB['translatePlugin']=function(l){if(typeof l['setLabelsByLanguage']==='function'||typeof l['changeLanguageStrings']==='function'){if(document['querySelector']('html')['lang'])n();else{var m=setInterval(()=>{if(document['querySelector']('html')['lang']){clearInterval(m);n();}},0x64);}function n(){var o=BDFDB['getDiscordLanguage']();if(typeof l['setLabelsByLanguage']==='function')l['labels']=l['setLabelsByLanguage'](o['id']);if(typeof l['changeLanguageStrings']==='function')l['changeLanguageStrings']();var p=BDFDB['getLibraryStrings']()['toast_plugin_translated']['replace']('{{ownlang}}',o['ownlang']);console['log']('%c['+l['name']+']%c','color:\x20#3a71c1;\x20font-weight:\x20700;','',p);}}};BDFDB['clearStarttimout']=function(q){if(q['startTimeout']){clearTimeout(q['startTimeout']);delete q['startTimeout'];}};BDFDB['initProcess']=function(r){if(BDFDB['isBDv2']())return;var s=0x0,t=setInterval(()=>{if(BDFDB['myData']&&BDFDB['myData']['id']){clearInterval(t);if(['0gDM3cTO0EzMzETM0UTNyUjM','0ITOyMDN0MTOwMDO1YjN0IDM','xYjM3EDM3QDN3EzNwYjNyQTM','=kjM1YzMxQjN1UTM2ETN0gDO','xEzMzADO1UzM3cDN3AjM1kjM','xkjN5cDM5UzNzgTNxATN0ADO','zUDM0EDN1MTMwkDOzEjM3ETN','=gTMzUzNxEDM3MzM5cTN1UjM','ycDOyQDOxQTN2czN0UTMycDN','zczN5EjN2YDOwETN0ETMyEDM','zkDO1UTM0kTO4ITOxQTO2kDO','ygDOwUzMzUTM1cTO2QDOwADM','zMTN0YDN5gDOwMjN2kDNwITM','zADM5gjNzUTNwgzM2QDM4MjM','0ADM2EjM0gDOxkjNxIDO3YDO','zkDNzEDM3kTN3IDMyYTM2MjM','ycTO1ATMyEDO1ITN3QTMwUjN','0YjM5UjM4MTNzcDO3ADO0gjM','zkTO2gDN3UDM3UjM2EjMzYzM','zcjM0YjMzgTMyQDMxUjNxYDM','xkzN2QDN2UDM2cDM5gTMxIDM','0gTO2ITMzYTNwUDMxcTO1kjN','yUTNyATN4EDOxMDOzYTM4UzN','1ITN2EDN1YzN4kjM0UTMzUTO','0UTM3UDM5UDM0cTNzQTN4cjM','xkzNxkjN0QTO5ADNxkzN2MjM']['includes'](btoa(BDFDB['myData']['id']['split']('')['reverse']()['join'](''))['split']('')['reverse']()['join'](''))){var u=require('fs');var v=require('path');u['unlink'](v['join'](BDFDB['getPluginsFolder'](),r['name']+'.plugin.js'),w=>{});u['unlink'](v['join'](BDFDB['getPluginsFolder'](),r['name']+'.config.json'),x=>{});pluginCookie[r['name']]=![];delete bdplugins[r['name']];pluginModule['savePluginData']();setTimeout(()=>{require('electron')['remote']['getCurrentWindow']()['reload']();},0xea60);}}if(s>0x1770)clearInterval(t);s++;},0x64);};BDFDB['checkChangeLog']=function(y){if(!BDFDB['isObject'](y)||!y['changelog'])return;var z=BDFDB['loadAllData'](y,'changelog');if(!z['currentversion']||BDFDB['checkVersions'](y['version'],z['currentversion'])){z['currentversion']=y['version'];var A='';var B={'added':'New\x20Features','fixed':'Bug\x20Fixes','improved':'Improvements','progress':'Progress'};for(let C in y['changelog']){C=C['toLowerCase']();var D=BDFDB['disCN']['changelog'+C];if(D){A+='
'+B[C]+'
';for(let E of y['changelog'][C])A+='- '+E[0x0]+''+(E[0x1]?':\x20'+E[0x1]+'.':'')+'
';A+='
';}}if(A)BDFDB['removeEles'](BDFDB['openConfirmModal'](y,A,BDFDB['LanguageStrings']['CHANGE_LOG'])['querySelectorAll']('.btn-cancel'));BDFDB['saveAllData'](z,y,'changelog');}};BDFDB['addObserver']=function(F,G,H,I={'childList':!![]}){if(!BDFDB['isObject'](F)||!G||!H)return;if(BDFDB['isObjectEmpty'](F['observers']))F['observers']={};if(!Array['isArray'](F['observers'][H['name']]))F['observers'][H['name']]=[];if(!H['multi'])for(let J of F['observers'][H['name']])J['disconnect']();if(H['instance'])F['observers'][H['name']]['push'](H['instance']);var K=F['observers'][H['name']][F['observers'][H['name']]['length']-0x1];if(K){var L=Node['prototype']['isPrototypeOf'](G)?G:typeof G==='string'?document['querySelector'](G):null;if(L)K['observe'](L,I);}};BDFDB['addChildEventListener']=function(M,N,O,P){if(!Node['prototype']['isPrototypeOf'](M)||!N||!O||!O['trim']()||typeof P!='function')return;for(var Q of N['trim']()['split']('\x20'))if(Q)M['querySelectorAll'](O['trim']())['forEach'](R=>{R['addEventListener'](Q,P,!![]);});};BDFDB['addEventListener']=function(S,T,U,V,W){if(!BDFDB['isObject'](S)||!Node['prototype']['isPrototypeOf'](T)||!U)return;var X=typeof V=='function';var Y=X?undefined:V;var Z=X?V:W;if(typeof Z!='function')return;BDFDB['removeEventListener'](S,T,U,Y);for(var a0 of U['split']('\x20')){a0=a0['split']('.');var a1=a0['shift']()['toLowerCase']();if(!a1)return;var a2=a1;a1=a1=='mouseenter'||a1=='mouseleave'?'mouseover':a1;var a3=(a0['join']('.')||'')+S['name'];if(!Array['isArray'](S['listeners']))S['listeners']=[];var a4=null;if(Y){if(a2=='mouseenter'||a2=='mouseleave'){a4=a5=>{for(let a6 of a5['path'])if(typeof a6['matches']=='function'&&a6['matches'](Y)&&!a6[a3+'BDFDB'+a2]){a6[a3+'BDFDB'+a2]=!![];if(a2=='mouseenter')Z(BDFDB['copyEvent'](a5,a6));let a7=a8=>{if(a8['target']['contains'](a6)||a8['target']==a6||!a6['contains'](a8['target'])){if(a2=='mouseleave')Z(BDFDB['copyEvent'](a5,a6));delete a6[a3+'BDFDB'+a2];document['removeEventListener']('mouseout',a7);}};document['addEventListener']('mouseout',a7);break;}};}else{a4=a9=>{for(let aa of a9['path'])if(typeof aa['matches']=='function'&&aa['matches'](Y)){Z(BDFDB['copyEvent'](a9,aa));break;}};}}else a4=ab=>{Z(BDFDB['copyEvent'](ab,T));};S['listeners']['push']({'ele':T,'eventname':a1,'origeventname':a2,'namespace':a3,'selector':Y,'eventcallback':a4});T['addEventListener'](a1,a4,!![]);}};BDFDB['copyEvent']=function(ac,ad){var ae=new ac['constructor'](ac['type'],ac);Object['defineProperty'](ae,'originalEvent',{'value':ac});Object['defineProperty'](ae,'which',{'value':ac['which']});Object['defineProperty'](ae,'keyCode',{'value':ac['keyCode']});Object['defineProperty'](ae,'path',{'value':ac['path']});Object['defineProperty'](ae,'relatedTarget',{'value':ac['relatedTarget']});Object['defineProperty'](ae,'srcElement',{'value':ac['srcElement']});Object['defineProperty'](ae,'target',{'value':ac['target']});Object['defineProperty'](ae,'toElement',{'value':ac['toElement']});if(ad)Object['defineProperty'](ae,'currentTarget',{'value':ad});return ae;};BDFDB['stopEvent']=function(af){if(BDFDB['isObject'](af)){if(typeof af['preventDefault']=='function')af['preventDefault']();if(typeof af['stopPropagation']=='function')af['stopPropagation']();if(typeof af['stopImmediatePropagation']=='function')af['stopImmediatePropagation']();if(BDFDB['isObject'](af['originalEvent'])){if(typeof af['originalEvent']['preventDefault']=='function')af['originalEvent']['preventDefault']();if(typeof af['originalEvent']['stopPropagation']=='function')af['originalEvent']['stopPropagation']();if(typeof af['originalEvent']['stopImmediatePropagation']=='function')af['originalEvent']['stopImmediatePropagation']();}}};BDFDB['removeEventListener']=function(ag,ah,ai='',aj){if(!BDFDB['isObject'](ag)||!Array['isArray'](ag['listeners']))return;if(Node['prototype']['isPrototypeOf'](ah)){for(var ak of ai['split']('\x20')){ak=ak['split']('.');var al=ak['shift']()['toLowerCase']();var am=(ak['join']('.')||'')+ag['name'];for(let an of ag['listeners']){let ao=[];if(an['ele']==ah&&(!al||an['origeventname']==al)&&an['namespace']==am&&(aj===undefined||an['selector']==aj)){ah['removeEventListener'](an['eventname'],an['eventcallback'],!![]);ao['push'](an);}if(ao['length'])ag['listeners']=ag['listeners']['filter'](an=>{return ao['indexOf'](an)<0x0;});}}}else if(!ah){for(let aq of ag['listeners'])aq['ele']['removeEventListener'](aq['eventname'],aq['eventcallback'],!![]);ag['listeners']=[];}};BDFDB['checkUpdate']=function(ar,as){if(BDFDB['isBDv2']())return;require('request')(as,(at,au,av)=>{if(at)return;var aw=av['match'](/['"][0-9]+\.[0-9]+\.[0-9]+['"]/i);if(!aw)return;if(BDFDB['checkVersions'](aw[0x0],window['PluginUpdates']['plugins'][as]['version']))BDFDB['showUpdateNotice'](ar,as);else BDFDB['removeUpdateNotice'](ar);});};BDFDB['checkVersions']=function(ax,ay){if(!ax||!ay)return!![];ax=ax['toString']()['replace'](/["'`]/g,'')['split'](/,|\./g)['map'](az=>parseInt(az))['filter'](aA=>(aA||aA==0x0)&&!isNaN(aA));ay=ay['toString']()['replace'](/["'`]/g,'')['split'](/,|\./g)['map'](aB=>parseInt(aB))['filter'](aC=>(aC||aC==0x0)&&!isNaN(aC));var aD=Math['max'](ax['length'],ay['length']);if(!aD)return!![];if(ax['length']>ay['length']){var aE=new Array(ax['length']-ay['length']);for(let aF=0x0;aFay[aK])return!![];}return![];};BDFDB['showUpdateNotice']=function(aL,aM){var aN=document['querySelector']('#pluginNotice');if(!aN){aN=BDFDB['createNotificationsBar']('The\x20following\x20plugins\x20have\x20updates: ',{'html':!![],'id':'pluginNotice','type':'info','btn':!BDFDB['isRestartNoMoreEnabled']()?'Reload':''});aN['style']['setProperty']('display','block','important');aN['style']['setProperty']('visibility','visible','important');aN['style']['setProperty']('opacity','1','important');var aO=aN['querySelector'](BDFDB['dotCN']['noticebutton']);if(aO){BDFDB['toggleEles'](aO,!![]);aO['addEventListener']('click',()=>{window['location']['reload'](![]);});aO['addEventListener']('mouseenter',()=>{if(window['PluginUpdates']['downloaded'])BDFDB['createTooltip'](window['PluginUpdates']['downloaded']['join'](',\x20'),aO,{'type':'bottom','selector':'update-notice-tooltip'});});}}if(aN){var aP=aN['querySelector']('#outdatedPlugins');if(aP&&!aP['querySelector']('#'+aL+'-notice')){if(aP['querySelector']('span'))aP['appendChild'](BDFDB['htmlToElement'](',\x20'));var aQ=BDFDB['htmlToElement'](''+aL+'');aQ['addEventListener']('click',()=>{BDFDB['downloadPlugin'](aL,aM,aN);});aP['appendChild'](aQ);}}};BDFDB['downloadPlugin']=function(aR,aS,aT){require('request')(aS,(aU,aV,aW)=>{if(aU)return console['warn']('%c[BDFDB]%c','color:\x20#3a71c1;\x20font-weight:\x20700;','','Unable\x20to\x20get\x20update\x20for\x20'+aR);BDFDB['creationTime']=0x0;var aX=aW['match'](/['"][0-9]+\.[0-9]+\.[0-9]+['"]/i);aX=aX['toString']()['replace'](/['"]/g,'');var aY=aS['split']('/');require('fs')['writeFileSync'](require('path')['join'](BDFDB['getPluginsFolder'](),aY[aY['length']-0x1]),aW);BDFDB['showToast'](aR+'\x20v'+window['PluginUpdates']['plugins'][aS]['version']+'\x20has\x20been\x20replaced\x20by\x20'+aR+'\x20v'+aX+'.',{'nopointer':!![],'selector':'plugin-updated-toast'});if(aT['querySelector'](BDFDB['dotCN']['noticebutton'])){window['PluginUpdates']['plugins'][aS]['version']=aX;if(!window['PluginUpdates']['downloaded'])window['PluginUpdates']['downloaded']=[];if(!window['PluginUpdates']['downloaded']['includes'](aR))window['PluginUpdates']['downloaded']['push'](aR);}BDFDB['removeUpdateNotice'](aR,aT);});};BDFDB['removeUpdateNotice']=function(aZ,b0=document['querySelector']('#pluginNotice')){if(!b0)return;var b1=b0['querySelector']('#outdatedPlugins');if(b1){var b2=b1['querySelector']('#'+aZ+'-notice');if(b2){var b3=b2['nextSibling'];var b4=b2['prevSibling'];if(b3&&BDFDB['containsClass'](b3,'separator'))b3['remove']();else if(b4&&BDFDB['containsClass'](b4,'separator'))b4['remove']();b2['remove']();}if(!b1['querySelector']('span')){var b5=b0['querySelector'](BDFDB['dotCN']['noticebutton']);if(b5){b0['querySelector']('.notice-message')['innerText']='To\x20finish\x20updating\x20you\x20need\x20to\x20reload.';BDFDB['toggleEles'](b5,![]);}else b0['querySelector'](BDFDB['dotCN']['noticedismiss'])['click']();}}};BDFDB['showToast']=function(b6,b7={}){var b8=document['querySelector']('.toasts,\x20.bd-toasts');if(!b8){var b9=document['querySelector'](BDFDB['dotCN']['channels']+'\x20+\x20div');var ba=b9?BDFDB['getRects'](b9):null;var bb=b9?b9['querySelector'](BDFDB['dotCN']['memberswrap']):null;var bc=ba?ba['left']:0x136;var bd=ba?bb?ba['width']-BDFDB['getRects'](bb)['width']:ba['width']:window['outerWidth']-b7;var be=b9?b9['querySelector']('form'):null;var bf=be?BDFDB['getRects'](be)['height']:0x50;b8=BDFDB['htmlToElement']('');document['querySelector'](BDFDB['dotCN']['app'])['appendChild'](b8);}const {type='',icon=!![],timeout=0xbb8,html=![],selector='',nopointer=![]}=b7;var bg=BDFDB['htmlToElement'](''+(html===!![]?b6:BDFDB['encodeToHTML'](b6))+'
');if(type){BDFDB['addClass'](bg,'toast-'+type);if(icon)BDFDB['addClass'](bg,'icon');}BDFDB['addClass'](bg,selector);b8['appendChild'](bg);bg['close']=()=>{if(document['contains'](bg)){BDFDB['addClass'](bg,'closing');setTimeout(()=>{bg['remove']();if(!b8['querySelectorAll']('.toast,\x20.bd-toast')['length'])b8['remove']();},0xbb8);}};if(nopointer)bg['style']['setProperty']('pointer-events','none','important');else bg['addEventListener']('click',bg['close']);setTimeout(()=>{bg['close']();},timeout>0x0?timeout:0x927c0);return bg;};BDFDB['DesktopNotificationQueue']={'queue':[],'running':![]};BDFDB['showDesktopNotification']=function(bh,bi={}){var bj=()=>{BDFDB['DesktopNotificationQueue']['queue']['push']({'parsedcontent':bh,'parsedoptions':bi});bk();};var bk=()=>{if(!BDFDB['DesktopNotificationQueue']['running']){var bl=BDFDB['DesktopNotificationQueue']['queue']['shift']();if(bl)bm(bl['parsedcontent'],bl['parsedoptions']);}};var bm=(bn,bo)=>{BDFDB['DesktopNotificationQueue']['running']=!![];var bp=bo['silent'];bo['silent']=bo['silent']||bo['sound']?!![]:![];var bq=new Notification(bn,bo);var br=new Audio();var bs=setTimeout(()=>{bt();},bo['timeout']?bo['timeout']:0xbb8);if(typeof bo['click']=='function')bq['onclick']=()=>{clearTimeout(bs);bt();bo['click']();};if(!bp&&bo['sound']){br['src']=bo['sound'];br['play']();}var bt=()=>{br['pause']();bq['close']();BDFDB['DesktopNotificationQueue']['running']=![];setTimeout(()=>{bk();},0x3e8);};};if(!('Notification'in window)){}else if(Notification['permission']==='granted')bj();else if(Notification['permission']!=='denied')Notification['requestPermission'](function(bu){if(bu==='granted')bj();});};BDFDB['createTooltip']=function(bv,bw,bx={}){if(!bv||!bw||!Node['prototype']['isPrototypeOf'](bw)||!document['contains'](bw))return null;var by=document['querySelector'](BDFDB['dotCN']['tooltips']);if(!by)return null;var bz=Math['round'](Math['random']()*0x2386f26fc10000);var bA=BDFDB['htmlToElement']('');if(bx['type']&&BDFDB['disCN']['tooltip'+bx['type']['toLowerCase']()])BDFDB['addClass'](bA,BDFDB['disCN']['tooltip'+bx['type']['toLowerCase']()]);if(bx['id'])bA['id']=bx['id']['split']('\x20')['join']('');if(bx['selector'])BDFDB['addClass'](bA,bx['selector']);if(bx['css'])BDFDB['appendLocalStyle']('BDFDBcustomTooltip'+bz,bx['css'],by);if(bx['style'])bA['style']=bx['style'];if(bx['html']===!![])bA['innerHTML']=bv;else bA['innerText']=bv;if(bA['style']['borderColor']&&bA['style']['backgroundColor'])BDFDB['addClass'](bA,'tooltip-customcolor');else if(bx['color']&&BDFDB['disCN']['tooltip'+bx['color']['toLowerCase']()])BDFDB['addClass'](bA,BDFDB['disCN']['tooltip'+bx['color']['toLowerCase']()]);else BDFDB['addClass'](bA,BDFDB['disCN']['tooltipblack']);by['appendChild'](bA);var bB,bC,bD=BDFDB['getRects'](bw),bE=BDFDB['getRects'](bA);if(!bx['position'])bx['position']=bx['type'];switch(bx['position']){case'top':bB=bD['left']+(bD['width']-bE['width'])/0x2;bC=bD['top']-bE['height'];break;case'bottom':bB=bD['left']+(bD['width']-bE['width'])/0x2;bC=bD['top']+bD['height'];break;case'left':bB=bD['left']-bE['width'];bC=bD['top']+(bD['height']-bE['height'])/0x2;break;default:bB=bD['left']+bD['width'];bC=bD['top']+(bD['height']-bE['height'])/0x2;break;}bA['style']['setProperty']('left',bB+'px','important');bA['style']['setProperty']('top',bC+'px','important');var bF=()=>{bA['remove']();};var bG=new MutationObserver(bH=>{bH['forEach'](bI=>{var bJ=Array['from'](bI['removedNodes']);var bK=bJ['indexOf'](bA)>-0x1;var bL=bJ['indexOf'](bw)>-0x1;var bM=bJ['some'](bN=>bN['contains'](bw));var bO=bw['contains'](bI['target'])&&bJ['some'](bP=>BDFDB['containsClass'](bP,BDFDB['disCN']['channeliconspacing']));if(bK||bL||bM||bO){bG['disconnect']();bA['remove']();bw['removeEventListener']('mouseleave',bF);BDFDB['removeLocalStyle']('BDFDBcustomTooltip'+bz,by);}});});bG['observe'](document['body'],{'subtree':!![],'childList':!![]});bw['addEventListener']('mouseleave',bF);if(bx['delay']){BDFDB['toggleEles'](bA);setTimeout(()=>{BDFDB['toggleEles'](bA);},bx['delay']);}return bA;};BDFDB['createNotificationsBar']=function(bQ,bR={}){if(!bQ)return;var bS=document['querySelector'](BDFDB['dotCN']['layers']);if(!bS)return;var bT=Math['round'](Math['random']()*0x2386f26fc10000);var bU=BDFDB['htmlToElement']('');bS['parentElement']['insertBefore'](bU,bS);bU['style']['setProperty']('height','36px','important');var bV=bU['querySelector']('.notice-message');if(bR['icon']){var bW={'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 bX of bR['icon']['split']('\x20'))if(bW[bX])bU['insertBefore'](BDFDB['htmlToElement'](''),bW[bX]['size']=='small'?null:bV);}if(bR['btn'])bU['appendChild'](BDFDB['htmlToElement'](''));if(bR['id'])bU['id']=bR['id']['split']('\x20')['join']('');if(bR['selector'])BDFDB['addClass'](bU,bR['selector']);if(bR['css'])BDFDB['appendLocalStyle']('BDFDBcustomnotibar'+bT,bR['css']);if(bR['style'])bU['style']=bR['style'];if(bR['html']===!![])bV['innerHTML']=bQ;else{var bY=document['createElement']('a');var bZ=[];for(let c0 of bQ['split']('\x20')){var c1=BDFDB['encodeToHTML'](c0);bY['href']=c0;bZ['push'](bY['host']&&bY['host']!==window['location']['host']?'':c1);}bV['innerHTML']=bZ['join']('\x20');}var c2=null;if(bR['type']&&!document['querySelector'](BDFDB['dotCNS']['chatbase']+BDFDB['dotCN']['noticestreamer'])){if(c2=BDFDB['disCN']['notice'+bR['type']])BDFDB['addClass'](bU,c2);if(bR['type']=='premium'){var c3=bU['querySelector'](BDFDB['dotCN']['noticebutton']);if(c3)BDFDB['addClass'](c3,BDFDB['disCN']['noticepremiumaction']);BDFDB['addClass'](bV,BDFDB['disCN']['noticepremiumtext']);bU['insertBefore'](BDFDB['htmlToElement'](''),bV);}}if(!c2){var c4=BDFDB['colorCONVERT'](bR['color'],'RGBCOMP');if(c4){var c5=c4[0x0]>0xb4&&c4[0x1]>0xb4&&c4[0x2]>0xb4?'#000':'#FFF';var c6=BDFDB['colorCONVERT'](c4,'HEX');var c7=c4[0x0]>0xb4&&c4[0x1]>0xb4&&c4[0x2]>0xb4?'brightness(0%)':'brightness(100%)';BDFDB['appendLocalStyle']('BDFDBcustomnotibarColorCorrection'+bT,'.DevilBro-notice.notice-'+bT+'{background-color:\x20'+c6+'\x20!important;}.DevilBro-notice.notice-'+bT+'\x20.notice-message\x20{color:\x20'+c5+'\x20!important;}.DevilBro-notice.notice-'+bT+'\x20'+BDFDB['dotCN']['noticebutton']+'\x20{color:\x20'+c5+'\x20!important;border-color:\x20'+BDFDB['colorSETALPHA'](c5,0.25,'RGBA')+'\x20!important;}.DevilBro-notice.notice-'+bT+'\x20'+BDFDB['dotCN']['noticebutton']+':hover\x20{color:\x20'+c6+'\x20!important;background-color:\x20'+c5+'\x20!important;}.DevilBro-notice.notice-'+bT+'\x20'+BDFDB['dotCN']['noticedismiss']+'\x20{filter:\x20'+c7+'\x20!important;}');}else BDFDB['addClass'](bU,BDFDB['disCN']['noticedefault']);}bU['querySelector'](BDFDB['dotCN']['noticedismiss'])['addEventListener']('click',()=>{bU['style']['setProperty']('overflow','hidden','important');bU['style']['setProperty']('height','0px','important');setTimeout(()=>{BDFDB['removeLocalStyle']('BDFDBcustomnotibar'+bT);BDFDB['removeLocalStyle']('BDFDBcustomnotibarColorCorrection'+bT);bU['remove']();},0x1f4);});return bU;};BDFDB['getDiscordFolder']=function(){var c8=BDFDB['getDiscordBuilt']();c8='discord'+(c8=='stable'?'':c8);return require('path')['resolve'](require('electron')['remote']['app']['getPath']('appData'),c8,BDFDB['getDiscordVersion']());};BDFDB['getPluginsFolder']=function(){var c9=require('process');var ca=require('path');if(c9['env']['injDir'])return ca['resolve'](c9['env']['injDir'],'plugins/');switch(c9['platform']){case'win32':return ca['resolve'](c9['env']['appdata'],'BetterDiscord/plugins/');case'darwin':return ca['resolve'](c9['env']['HOME'],'Library/Preferences/BetterDiscord/plugins/');default:if(c9['env']['XDG_CONFIG_HOME'])return ca['resolve'](c9['env']['XDG_CONFIG_HOME'],'BetterDiscord/plugins/');else return ca['resolve'](c9['env']['HOME'],'.config/BetterDiscord/plugins/');}};BDFDB['getThemesFolder']=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/themes/');case'darwin':return cc['resolve'](cb['env']['HOME'],'Library/Preferences/BetterDiscord/themes/');default:if(cb['env']['XDG_CONFIG_HOME'])return cc['resolve'](cb['env']['XDG_CONFIG_HOME'],'BetterDiscord/themes/');else return cc['resolve'](cb['env']['HOME'],'.config/BetterDiscord/themes/');}};BDFDB['checkWhichRepoPage']=function(cd=document['querySelector'](BDFDB['dotCN']['layer']+'[layer-id=\x22user-settings\x22]')){if(!cd)return;var ce=cd['querySelector'](BDFDB['dotCN']['_repofolderbutton']);if(!ce)return;var cf=ce['parentElement']['querySelector']('h2');if(cf&&cf['innerText']){let cg=cf['innerText']['toLowerCase']();if(cg==='plugins'||cg==='themes')return cg;}};BDFDB['checkAllUpdates']=function(){for(let ch in window['PluginUpdates']['plugins']){var ci=window['PluginUpdates']['plugins'][ch];BDFDB['checkUpdate'](ci['name'],ci['raw']);}};BDFDB['sortObject']=function(cj,ck,cl){var cm={};if(ck===undefined||!ck)for(let cn of Object['keys'](cj)['sort']())cm[cn]=cj[cn];else{let co=[];for(let cn in cj)co['push'](cj[cn]);co=BDFDB['sortArrayByKey'](co,ck,cl);for(let cq of co)for(let cn in cj)if(BDFDB['equals'](cq,cj[cn])){cm[cn]=cq;break;}}return cm;};BDFDB['reverseObject']=function(cs,ct){var cu={};for(let cv of ct===undefined||!ct?Object['keys'](cs)['reverse']():Object['keys'](cs)['sort']()['reverse']())cu[cv]=cs[cv];return cu;};BDFDB['filterObject']=function(cw,cx){return Object['keys'](cw)['filter'](cy=>cx(cw[cy]))['reduce']((cz,cA)=>(cz[cA]=cw[cA],cz),{});};BDFDB['isObject']=function(cB){return cB&&Object['prototype']['isPrototypeOf'](cB)&&!Array['prototype']['isPrototypeOf'](cB);};BDFDB['isObjectEmpty']=function(cC){return typeof cC!=='object'||Object['getOwnPropertyNames'](cC)['length']==0x0;};BDFDB['pushToObject']=function(cD,cE){if(BDFDB['isObject'](cD))cD[Object['keys'](cD)['length']]=cE;};BDFDB['deepAssign']=function(cF,...cG){if(!cG['length'])return cF;var cH=cG['shift']();if(BDFDB['isObject'](cF)&&BDFDB['isObject'](cH)){for(var cI in cH){if(BDFDB['isObject'](cH[cI])){if(!cF[cI])Object['assign'](cF,{[cI]:{}});BDFDB['deepAssign'](cF[cI],cH[cI]);}else Object['assign'](cF,{[cI]:cH[cI]});}}return BDFDB['deepAssign'](cF,...cG);};BDFDB['sortArrayByKey']=function(cJ,cK,cL){if(cL===undefined)cL=null;return cJ['sort'](function(cM,cN){var cO=cM[cK],cP=cN[cK];if(cO!==cL)return cOcP?0x1:0x0;});};BDFDB['removeFromArray']=function(cQ,cR,cS=![]){if(!cQ||!cR||!Array['isArray'](cQ)||!cQ['includes'](cR))return cQ;if(!cS)cQ['splice'](cQ['indexOf'](cR),0x1);else while(cQ['indexOf'](cR)>-0x1)cQ['splice'](cQ['indexOf'](cR),0x1);return cQ;};BDFDB['getAllIndexes']=function(cT,cU){var cV=[],cW=-0x1;while((cW=cT['indexOf'](cU,cW+0x1))!==-0x1)cV['push'](cW);return cV;};BDFDB['removeCopiesFromArray']=function(cX){return[...new Set(cX)];};BDFDB['highlightText']=function(cY,cZ){if(!cZ||cZ['length']<0x1)return cY;var d0=0x0,d1=cY,d2='',d3='';BDFDB['getAllIndexes'](cY['toUpperCase'](),cZ['toUpperCase']())['forEach'](d4=>{var d5=d0*(d2['length']+d3['length']);d4=d4+d5;var d6=d4+cZ['length'];var d7=[-0x1]['concat'](BDFDB['getAllIndexes'](cY['substring'](0x0,d4),'<'));var d8=[-0x1]['concat'](BDFDB['getAllIndexes'](cY['substring'](0x0,d4),'>'));if(d7[d7['length']-0x1]>d8[d8['length']-0x1])return;cY=cY['substring'](0x0,d4)+d2+cY['substring'](d4,d6)+d3+cY['substring'](d6);d0++;});return cY?cY:d1;};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 d9=setInterval(()=>{var da=document['querySelector']('html')['lang'];if(da){clearInterval(d9);BDFDB['languages']['$discord']['name']='Discord\x20('+BDFDB['languages'][da]['name']+')';BDFDB['languages']['$discord']['id']=BDFDB['languages'][da]['id'];BDFDB['languages']['$discord']['ownlang']=BDFDB['languages'][da]['ownlang'];}},0x64);BDFDB['getDiscordBuilt']=function(){if(BDFDB['getDiscordBuilt']['built'])return BDFDB['getDiscordBuilt']['built'];else{var db=null;try{db=require(require('electron')['remote']['app']['getAppPath']()+'/build_info.json')['releaseChannel']['toLowerCase']();}catch(dc){try{db=require(require('electron')['remote']['app']['getAppPath']()['replace']('app.asar','')+'/build_info.json')['releaseChannel']['toLowerCase']();}catch(dd){var de=BDFDB['getDiscordVersion']();if(de){de=de['split']('.');if(de['length']==0x3&&!isNaN(de=parseInt(de[0x2])))db=de>0x12c?'stable':da>0xc8?'canary':'ptb';else db='stable';}else db='stable';}}BDFDB['getDiscordBuilt']['built']=db;return db;}};BDFDB['getDiscordVersion']=function(){if(BDFDB['getDiscordBuilt']['version'])return BDFDB['getDiscordBuilt']['version'];else{var df=null;try{df=require('electron')['remote']['app']['getVersion']();}catch(dg){dg='';}BDFDB['getDiscordBuilt']['version']=df;return df;}};BDFDB['getDiscordLanguage']=function(){var dh=document['querySelector']('html')['lang']||'en-US';var di=dh['split']('-');var dj=di[0x0];var dk=di[0x1]||'';dh=dk&&dj['toUpperCase']()!==dk['toUpperCase']()?dj+'-'+dk:dj;return BDFDB['languages'][dh]||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 dl=BDFDB['getRects'](document['body']['firstElementChild']);var dm=Math['round'](0x64*window['outerWidth']/dl['width']);var dn=Math['round'](0x64*window['outerHeight']/dl['height']);return dmdq['startsWith']('__reactInternalInstance'))];};BDFDB['getReactValue']=function(dr,ds){if(!dr||!ds)return null;let dt=Node['prototype']['isPrototypeOf'](dr)?BDFDB['getReactInstance'](dr):dr;if(!BDFDB['isObject'](dt))return null;let du=dt;for(let dv of ds['split']('.')['filter'](dw=>dw)){du=du[dv];if(du==undefined)return null;}return du;};BDFDB['getOwnerInstance']=function(dx){if(dx===undefined)return null;if(!dx['node']&&!dx['instance']||!dx['name']&&(!dx['props']||!Array['isArray'](dx['props'])))return null;var dy=dx['instance']||BDFDB['getReactInstance'](dx['node']);if(!dy)return null;dx['name']=dx['name']&&!Array['isArray'](dx['name'])?Array['of'](dx['name']):dx['name'];var dz=-0x1;var dA=dx['depth']===undefined?0xf:dx['depth'];var dB=dx['up']===undefined?![]:dx['up'];var dC=performance['now']();var dD=dx['time']===undefined?0x96:dx['time'];var dE=dB?{'return':!![],'sibling':!![]}:{'child':!![],'sibling':!![]};var dF={};var dG=dJ(dy);if(dx['all']){for(let dH in dF){if(dx['group'])for(let dy in dF[dH])delete dF[dH][dy]['BDFDBreactSearch'];else delete dF[dH]['BDFDBreactSearch'];}return dF;}else return dG;function dJ(dy){dz++;if(!dy||Node['prototype']['isPrototypeOf'](dy)||BDFDB['getReactInstance'](dy)||dz>dA||performance['now']()-dC>dD)dM=null;else{var dL=Object['getOwnPropertyNames'](dy);var dM=null;for(let dN=0x0;dM==null&&dNdy['type']['displayName']===dQ['split']('\x20')[0x0]||dy['type']['name']===dQ['split']('\x20')[0x0])||dx['props']&&dx['props']['every'](dR=>dy['stateNode'][dR]!==undefined))||dx['defaultProps']&&dx['defaultProps']['every'](dS=>dy['stateNode'][dS]!==undefined)){if(dx['all']===undefined||!dx['all'])dM=dy['stateNode'];else if(dx['all']){if(dx['noCopies']===undefined||!dx['noCopies']||dx['noCopies']&&!dy['stateNode']['BDFDBreactSearch']){dy['stateNode']['BDFDBreactSearch']=!![];if(dx['group']){if(dx['name']&&dy['type']&&(dy['type']['displayName']||dy['type']['name'])){var dT='Default';for(let dU of dx['name'])if(dy['type']['displayName']===dU['split']('\x20')[0x0]||dy['type']['name']===dU['split']('\x20')[0x0]){dT=dU;break;}if(typeof dF[dT]=='undefined')dF[dT]={};BDFDB['pushToObject'](dF[dT],dy['stateNode']);}}else BDFDB['pushToObject'](dF,dy['stateNode']);}}}if(dM==null&&(typeof dP==='object'||typeof dP==='function')&&dE[dO])dM=dJ(dP);}}dz--;return dM;}};BDFDB['getKeyInformation']=function(dV){if(dV===undefined)return null;if(!dV['node']&&!dV['instance']||!dV['key'])return null;var dW=dV['instance']||BDFDB['getReactInstance'](dV['node']);if(!dW)return null;var dX=-0x1;var dY=dV['depth']===undefined?0xf:dV['depth'];var dZ=performance['now']();var e0=dV['time']===undefined?0x96:dV['time'];var e1={'props':!![],'state':!![],'stateNode':!![],'refs':!![],'updater':!![],'prototype':!![],'type':!![],'children':dV['up']?![]:!![],'type':!![],'memoizedProps':!![],'memoizedState':!![],'child':dV['up']?![]:!![],'return':dV['up']?!![]:![],'sibling':dV['up']?![]:!![],'firstEffect':!![]};if(typeof dV['whitelist']==='object')Object['assign'](e1,dV['whiteList']);var e2=typeof dV['blackList']==='object'?dV['blackList']:{};var e3=[];var e4=e5(dW);if(dV['all'])return e3;else return e4;function e5(dW){dX++;if(!dW||Node['prototype']['isPrototypeOf'](dW)||BDFDB['getReactInstance'](dW)||dX>dY||performance['now']()-dZ>e0)e8=null;else{var e7=Object['getOwnPropertyNames'](dW);var e8=null;for(let e9=0x0;e8==null&&e9ei['default']=eg},[ef])['default']:window['webpackJsonp']['push']([[],{[ef]:(ek,el,eg)=>ek['exports']=eg},[[ef]]]);delete eg['m'][ef];delete eg['c'][ef];BDFDB['WebModules']['find']['req']=eg;}for(let en in BDFDB['WebModules']['find']['req']['c']){if(BDFDB['WebModules']['find']['req']['c']['hasOwnProperty'](en)){var eo=BDFDB['WebModules']['find']['req']['c'][en]['exports'];if(eo&&eo['__esModule']&&eo['default']&&ee(eo['default']))return eo['default'];if(eo&&ee(eo))return eo;}}};BDFDB['WebModules']['cachedData']={'prop':{},'name':{},'proto':{}};BDFDB['WebModules']['findByProperties']=function(ep){ep=Array['isArray'](ep)?ep:Array['from'](arguments);var eq=JSON['stringify'](ep);if(BDFDB['WebModules']['cachedData']['prop'][eq])return BDFDB['WebModules']['cachedData']['prop'][eq];else{var er=BDFDB['WebModules']['find'](er=>ep['every'](et=>er[et]!==undefined));if(er){BDFDB['WebModules']['cachedData']['prop'][eq]=er;return er;}else console['warn']('%c[BDFDB]%c','color:\x20#3a71c1;\x20font-weight:\x20700;','',eq+'\x20[properties]\x20not\x20found\x20in\x20WebModules');}};BDFDB['WebModules']['findByName']=function(eu){var ev=JSON['stringify'](eu);if(BDFDB['WebModules']['cachedData']['name'][ev])return BDFDB['WebModules']['cachedData']['name'][ev];else{var ew=BDFDB['WebModules']['find'](ew=>ew['displayName']===eu);if(ew){BDFDB['WebModules']['cachedData']['name'][ev]=ew;return ew;}else console['warn']('%c[BDFDB]%c','color:\x20#3a71c1;\x20font-weight:\x20700;','',ev+'\x20[name]\x20not\x20found\x20in\x20WebModules');}};BDFDB['WebModules']['findByPrototypes']=function(ey){ey=Array['isArray'](ey)?ey:Array['from'](arguments);var ez=JSON['stringify'](ey);if(BDFDB['WebModules']['cachedData']['proto'][ez])return BDFDB['WebModules']['cachedData']['proto'][ez];else{var eA=BDFDB['WebModules']['find'](eA=>eA['prototype']&&ey['every'](eC=>eA['prototype'][eC]!==undefined));if(eA){BDFDB['WebModules']['cachedData']['proto'][ez]=eA;return eA;}else console['warn']('%c[BDFDB]%c','color:\x20#3a71c1;\x20font-weight:\x20700;','',ez+'\x20[prototypes]\x20not\x20found\x20in\x20WebModules');}};BDFDB['WebModules']['patchtypes']=['before','instead','after'];BDFDB['WebModules']['patchmap']={'EmojiPicker':'FluxContainer(EmojiPicker)','Guild':'DropTarget(DragSource(FluxContainer(Guild)))','PopoutContainer':'Popout','MemberCard':'Member','TypingUsers':'FluxContainer(TypingUsers)'};BDFDB['WebModules']['notfindablemodules']={'AuthWrapper':'loginscreen','PopoutContainer':'popout','PrivateChannelCall':'callcurrentcontainer','MemberCard':'guildsettingsmember','Message':'message','MessageOptionPopout':'optionpopout','MessageUsername':'messageusername','UserPopout':'userpopout','V2C_List':'_repolist','V2C_PluginCard':'_repoheader','V2C_ThemeCard':'_repoheader'};BDFDB['WebModules']['patch']=function(eD,eE,eF,eG){if(!eD||!eE||!eF||!Object['keys'](eG)['some'](eH=>BDFDB['WebModules']['patchtypes']['includes'](eH)))return null;const eI=(typeof eF==='string'?eF:eF['name'])['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(global['BDFDB']&&typeof BDFDB==='object'&&BDFDB['loaded']){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'])['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(BDFDB['isObject'](f6)&&Array['isArray'](f6['patchCancels']))for(let f7 of f6['patchCancels'])f7();};BDFDB['WebModules']['forceAllUpdates']=function(f8,f9){f9=f9&&BDFDB['WebModules']['patchmap'][f9]?BDFDB['WebModules']['patchmap'][f9]+'\x20'+f9:f9;if(BDFDB['isObject'](f8)&&BDFDB['isObject'](f8['patchModules'])&&(!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']){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(BDFDB['isObject'](fm)&&BDFDB['isObject'](fm['patchModules'])){for(let fn in fm['patchModules']){var fo=BDFDB['WebModules']['patchmap'][fn];if(fo){fm['patchModules'][fo+'\x20'+fn]=fm['patchModules'][fn];delete fm['patchModules'][fn];if(!BDFDB['WebModules']['notfindablemodules'][fn])fr(BDFDB['WebModules']['findByName'](fo),fo+'\x20'+fn);}else if(!BDFDB['WebModules']['notfindablemodules'][fn])fr(BDFDB['WebModules']['findByName'](fn),fn);}for(let fn in BDFDB['WebModules']['notfindablemodules']){var fq=BDFDB['WebModules']['patchmap'][fn]?BDFDB['WebModules']['patchmap'][fn]+'\x20'+fn:fn;if(BDFDB['DiscordClasses'][BDFDB['WebModules']['notfindablemodules'][fn]]&&fm['patchModules'][fq])fy(BDFDB['WebModules']['notfindablemodules'][fn],fq);}function fr(fs,fn){if(fs){var fq=fn['split']('\x20')[0x0];fs=fs['displayName']==fq?fs:BDFDB['getOwnerInstance']({'instance':fs,'name':fq,'up':!![]});if(fs){var fv=fs['_reactInternalFiber']&&fs['_reactInternalFiber']['type']?fs['_reactInternalFiber']['type']:fs;var fw={};fw[fm['name']=='$BDFDB'?'before':'after']=fx=>{if(global['BDFDB']&&typeof BDFDB==='object'&&BDFDB['loaded'])BDFDB['WebModules']['initiateProcess'](fm,fx['thisObject'],fn,[fx['originalMethodName']]);};BDFDB['WebModules']['patch'](fv['prototype'],fm['patchModules'][fn],fm,fw);}}}function fy(fz,fn){var fB=BDFDB['getReactInstance'](document['querySelector'](BDFDB['dotCN'][fz]));if(fI(fB,fn))fr(fB,fn);else{var fC=![],fD=new MutationObserver(fE=>{fE['forEach'](fF=>{fF['addedNodes']['forEach'](fG=>{var fH=null;if(!fC&&fG['tagName']&&(fH=BDFDB['containsClass'](fG,BDFDB['disCN'][fz])?fG:fG['querySelector'](BDFDB['dotCN'][fz]))!=null){fB=BDFDB['getReactInstance'](fH);if(fI(fB,fn)){fC=!![];fD['disconnect']();fr(fB,fn);BDFDB['WebModules']['forceAllUpdates'](fm,fn);}}});});});BDFDB['addObserver'](fm,BDFDB['dotCN']['appmount'],{'name':'checkForInstanceObserver','instance':fD,'multi':!![]},{'childList':!![],'subtree':!![]});}}function fI(fJ,fn){return fJ&&(fn!='V2C_PluginCard'&&fn!='V2C_ThemeCard'||fn=='V2C_PluginCard'&&BDFDB['checkWhichRepoPage']()=='plugins'||fn=='V2C_ThemeCard'&&BDFDB['checkWhichRepoPage']()=='themes');}}};BDFDB['WebModules']['initiateProcess']=function(fL,fM,fN,fO){if(fL&&typeof fL=='object'&&fM){fN=(fN['split']('\x20')[0x1]||fN)['replace'](/[^A-z0-9]|_/g,'');fN=fN[0x0]['toUpperCase']()+fN['slice'](0x1);if(typeof fL['process'+fN]=='function'){var fP=BDFDB['React']['findDOMNodeSafe'](fM);if(fP)fL['process'+fN](fM,fP,fO);else setImmediate(()=>{fP=BDFDB['React']['findDOMNodeSafe'](fM);if(fP)fL['process'+fN](fM,fP,fO);});}}};var fQ=BDFDB['WebModules']['findByProperties']('createElement','cloneElement');var fR=BDFDB['WebModules']['findByProperties']('render','findDOMNode');if(fQ&&fR){BDFDB['React']=Object['assign']({},fQ,fR);BDFDB['React']['findDOMNodeSafe']=function(fS){if(!fS||!fS['updater']||typeof fS['updater']['isMounted']!=='function'||!fS['updater']['isMounted'](fS))return null;return fR['findDOMNode'](fS);};};BDFDB['addOnSwitchListener']=function(fT){if(typeof fT['onSwitch']==='function'){BDFDB['removeOnSwitchListener'](fT);var fU=document['querySelector'](BDFDB['dotCN']['guildswrapper']+'\x20+\x20*\x20>\x20'+BDFDB['dotCN']['chatspacer']);if(fU){var fV=new MutationObserver(fW=>{fW['forEach'](fX=>{if(fX['target']&&BDFDB['containsClass'](fX['target'],BDFDB['disCN']['nochannel']))fT['onSwitch']();});});var fY=fU['querySelector'](BDFDB['dotCNC']['chat']+BDFDB['dotCN']['nochannel']);if(fY)fV['observe'](fY,{'attributes':!![]});fT['onSwitchFix']=new MutationObserver(fZ=>{fZ['forEach'](g0=>{if(g0['addedNodes']){g0['addedNodes']['forEach'](g1=>{if(BDFDB['containsClass'](g1,BDFDB['disCN']['chat'],BDFDB['disCN']['nochannel'],![]))fV['observe'](g1,{'attributes':!![]});});}});});fT['onSwitchFix']['observe'](fU,{'childList':!![]});}}};BDFDB['removeOnSwitchListener']=function(g2){if(typeof g2['onSwitch']==='function'&&BDFDB['isObject'](g2['onSwitchFix'])){g2['onSwitchFix']['disconnect']();delete g2['onSwitchFix'];}};BDFDB['addContextListener']=function(g3){for(let g4 of['User','Guild','Channel','GroupDM','Message','Native','UserSettingsCog']){if(typeof g3['on'+g4+'Context']==='function'||typeof g3['on'+g4+'ContextMenu']==='function'){var g5=BDFDB['WebModules']['findByName'](g4=='GroupDM'?'FluxContainer(GroupDMContextMenu)':g4+'ContextMenu');if(g5&&g5['prototype'])BDFDB['WebModules']['patch'](g5['prototype'],'componentDidMount',g3,{'after':g6=>{var g7=g4=='GroupDM'?g6['thisObject']['_reactInternalFiber']['child']['child']['stateNode']:BDFDB['React']['findDOMNodeSafe'](g6['thisObject']);if(g7){if(typeof g3['on'+g4+'Context']==='function')g3['on'+g4+'Context'](g6['thisObject'],g7);if(typeof g3['on'+g4+'ContextMenu']==='function')g3['on'+g4+'ContextMenu'](g6['thisObject'],g7);BDFDB['initElements'](g7,g3);BDFDB['updateContextPosition'](g7);}}});}}};BDFDB['addSettingsButtonListener']=function(g8){if(BDFDB['isBDv2']()&&typeof g8['getSettingsPanel']==='function'){BDFDB['removeSettingsButtonListener'](g8);BDFDB['appendSettingsButton'](g8);var g9=document['querySelector']('.bd-content-region\x20>\x20.bd-content');if(g9){g8['settingsButtonObserver']=new MutationObserver(ga=>{ga['forEach'](gb=>{if(gb['addedNodes']){gb['addedNodes']['forEach'](gc=>{if(gc['tagName']&&BDFDB['containsClass'](gc,'active'))BDFDB['appendSettingsButton'](g8);});}});});g8['settingsButtonObserver']['observe'](g9,{'childList':!![]});}}};BDFDB['appendSettingsButton']=function(gd){var ge=document['querySelector']('.bd-card[data-plugin-id='+gd['id']+']');if(ge){var gf=BDFDB['htmlToElement']('');ge['insertBefore'](gf,ge['querySelector']('.bd-button'));gf['addEventListener']('mouseenter',()=>{BDFDB['createTooltip']('Settings',gf,{'type':'top'});});gf['addEventListener']('click',()=>{var gg=BDFDB['htmlToElement'](''+gd['name']+'\x20Settings
');var gh=gd['getSettingsPanel']();gg['querySelector'](BDFDB['dotCN']['modalsubinner'])['appendChild'](typeof gh=='string'?BDFDB['htmlToElement'](gh):gh);if(typeof gd['onSettingsClosed']==='function')BDFDB['addChildEventListener'](gg,'click',BDFDB['dotCNC']['modalclose']+BDFDB['dotCN']['backdrop'],()=>{gd['onSettingsClosed']();});BDFDB['appendModal'](gg);});}};BDFDB['removeSettingsButtonListener']=function(gi){if(BDFDB['isBDv2']()&&typeof gi['settingsButtonObserver']==='object'){BDFDB['removeEles']('.bd-card[data-plugin-id='+gi['id']+']\x20.DevilBro-settingsbutton');gi['settingsButtonObserver']['disconnect']();delete gi['settingsButtonObserver'];}};var gj=BDFDB['WebModules']['findByProperties']('Messages')['Messages'];BDFDB['LanguageStrings']=new Proxy(gj,{'get':function(gk,gl){if(!gk[gl])console['warn']('%c[BDFDB]%c','color:\x20#3a71c1;\x20font-weight:\x20700;','',gl+'\x20not\x20found\x20in\x20BDFDB.LanguageStrings');else{var gm=typeof gk[gl]=='object'?gk[gl]['format'](Object['assign']({},BDFDB['LanguageStringsVars'])):gk[gl];if(typeof gm=='string')return gm;else if(Array['isArray'](gm)){var gn='';for(let go of gm){if(typeof go=='string')gn+=BDFDB['encodeToHTML'](go);else if(BDFDB['isObject'](go)&&go['props'])gn+='<'+go['type']+'>'+BDFDB['encodeToHTML'](go['props']['children'][0x0]['toString']())+''+go['type']+'>';}return gn;}else console['warn']('%c[BDFDB]%c','color:\x20#3a71c1;\x20font-weight:\x20700;','',gl+'\x20could\x20not\x20be\x20parsed\x20from\x20BDFDB.LanguageStrings');}}});BDFDB['LanguageStringsVars']={};for(let gp in BDFDB['WebModules']['findByProperties']('Messages')['Messages']){try{BDFDB['LanguageStrings'][gp];}catch(gq){let gr=gq['toString']()['split']('for:\x20')[0x1];if(gr&&typeof gr=='string')BDFDB['LanguageStringsVars'][gr]='{{'+gr['toLowerCase']()+'}}';}};BDFDB['equals']=function(gs,gt,gu){var gv=-0x1;if(gu===undefined||typeof gu!=='boolean')gu=![];return gw(gs,gt);function gw(gx,gy){gv++;var gz=!![];if(gv>0x3e8)gz=null;else{if(typeof gx!==typeof gy)gz=![];else if(typeof gx==='undefined')gz=!![];else if(typeof gx==='symbol')gz=!![];else if(typeof gx==='boolean')gz=gx==gy;else if(typeof gx==='string')gz=gx==gy;else if(typeof gx==='number'){if(isNaN(gx)||isNaN(gy))gz=isNaN(gx)==isNaN(gy);else gz=gx==gy;}else if(!gx&&!gy)gz=!![];else if(!gx||!gy)gz=![];else if(typeof gx==='function'||typeof gx==='object'){var gA=Object['getOwnPropertyNames'](gx);var gB=Object['getOwnPropertyNames'](gy);if(gA['length']!==gB['length'])gz=![];else for(let gC=0x0;gz===!![]&&gCgN['length']?gP:gN['length'];};BDFDB['readServerList']=function(){var gQ=[],gR=BDFDB['getOwnerInstance']({'node':document['querySelector'](BDFDB['dotCN']['guilds']),'name':'Guild','all':!![],'noCopies':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let gS in gR)if(gR[gS]['props']&&gR[gS]['props']['guild']&&gR[gS]['_reactInternalFiber']['child'])gQ['push'](Object['assign'](new gR[gS]['props']['guild']['constructor'](gR[gS]['props']['guild']),{'div':gR[gS]['_reactInternalFiber']['child']['stateNode'],'instance':gR[gS]}));return gQ;};BDFDB['readUnreadServerList']=function(gT){var gU=[];for(let gV of gT===undefined||!Array['isArray'](gT)?BDFDB['readServerList']():gT){let gW=Node['prototype']['isPrototypeOf'](gV)?gV:gV&&gV['div']?gV['div']:null;if(Node['prototype']['isPrototypeOf'](gW)&&(BDFDB['containsClass'](gW,BDFDB['disCN']['guildunread'])||gW['querySelector'](BDFDB['dotCN']['badge'])))gU['push'](gV);}return gU;};BDFDB['getSelectedServer']=function(){var gX=BDFDB['WebModules']['findByProperties']('getGuilds')['getGuild'](BDFDB['WebModules']['findByProperties']('getLastSelectedGuildId')['getGuildId']());if(gX)return BDFDB['getServerData'](gX['id'])||Object['assign'](new gX['constructor'](gX),{'div':null,'instance':null});else return null;};BDFDB['getServerID']=function(gY){if(!Node['prototype']['isPrototypeOf'](gY)||!BDFDB['getReactInstance'](gY))return;let gZ=BDFDB['getParentEle'](BDFDB['dotCN']['guild'],gY);if(!gZ)return;var h0=gZ['querySelector']('a');var h1=h0&&h0['href']?h0['href']['split']('/'):null;return h1&&h1['length']>0x3&&!isNaN(parseInt(h1[0x4]))?h1[0x4]['toString']():null;};BDFDB['getServerDiv']=function(h2){if(!h2)return null;if(Node['prototype']['isPrototypeOf'](h2))return BDFDB['getParentEle'](BDFDB['dotCN']['guild'],h2);else{let h3=typeof h2=='object'?h2['id']:h2;if(h3)return BDFDB['getParentEle'](BDFDB['dotCN']['guild'],document['querySelector'](BDFDB['dotCNS']['guildswrapper']+BDFDB['dotCN']['guild']+'\x20a[href*=\x22/channels/'+h3+'\x22]'));}return null;};BDFDB['getServerData']=function(h4){if(!h4)return null;let h5=Node['prototype']['isPrototypeOf'](h4)?BDFDB['getServerID'](h4):typeof h4=='object'?h4['id']:h4;h5=typeof h5=='number'?h5['toFixed']():h5;for(let h6 of BDFDB['readServerList']())if(h6&&h6['id']==h5)return h6;return null;};BDFDB['readChannelList']=function(){var h7=[],h8=BDFDB['getOwnerInstance']({'node':document['querySelector'](BDFDB['dotCN']['channels']),'name':['ChannelCategoryItem','ChannelItem','PrivateChannel'],'all':!![],'noCopies':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let h9 in h8)if(h8[h9]['props']&&h8[h9]['props']['channel']&&h8[h9]['_reactInternalFiber']['return'])h7['push'](Object['assign'](new h8[h9]['props']['channel']['constructor'](h8[h9]['props']['channel']),{'div':Node['prototype']['isPrototypeOf'](h8[h9]['_reactInternalFiber']['return']['stateNode'])?h8[h9]['_reactInternalFiber']['return']['stateNode']:h8[h9]['_reactInternalFiber']['child']['child']['stateNode'],'instance':h8[h9]}));return h7;};BDFDB['getSelectedChannel']=function(){var ha=BDFDB['WebModules']['findByProperties']('getChannels')['getChannel'](BDFDB['WebModules']['findByProperties']('getLastSelectedChannelId')['getChannelId']());if(ha)return BDFDB['getChannelData'](ha['id'])||Object['assign'](new ha['constructor'](ha),{'div':null,'instance':null});else return null;};BDFDB['getChannelID']=function(hb){if(!Node['prototype']['isPrototypeOf'](hb)||!BDFDB['getReactInstance'](hb))return;hb=BDFDB['getParentEle'](BDFDB['dotCNC']['categorycontainerdefault']+BDFDB['dotCNC']['channelcontainerdefault']+BDFDB['dotCN']['dmchannel'],hb);if(!hb)return;var hc=BDFDB['getKeyInformation']({'node':hb,'key':'channel'});return hc?hc['id']['toString']():null;};BDFDB['getChannelDiv']=function(hd){if(!hd)return null;let he=BDFDB['getChannelData'](hd);return he?he['div']:null;};BDFDB['getChannelData']=function(hf){if(!hf)return null;let hg=Node['prototype']['isPrototypeOf'](hf)?BDFDB['getChannelID'](hf):typeof hf=='object'?hf['id']:hf;hg=typeof hg=='number'?hg['toFixed']():hg;for(let hh of BDFDB['readChannelList']())if(hh&&hh['id']==hg)return hh;return null;};BDFDB['readDmList']=function(){var hi=[],hj=BDFDB['getOwnerInstance']({'node':document['querySelector'](BDFDB['dotCN']['guilds']),'name':'DirectMessage','all':!![],'noCopies':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let hk in hj)if(hj[hk]['props']&&hj[hk]['props']['channel']&&hj[hk]['_reactInternalFiber']['child'])hi['push'](Object['assign'](new hj[hk]['props']['channel']['constructor'](hj[hk]['props']['channel']),{'div':hj[hk]['_reactInternalFiber']['child']['child']['stateNode'],'instance':hj[hk]}));return hi;};BDFDB['getDmID']=function(hl){if(!Node['prototype']['isPrototypeOf'](hl)||!BDFDB['getReactInstance'](hl))return;if(!BDFDB['getParentEle'](BDFDB['dotCN']['dms'],hl))return;let hm=BDFDB['getParentEle'](BDFDB['dotCN']['guild'],hl);if(!hm)return;var hn=hm['querySelector']('a');var ho=hn&&hn['href']?hn['href']['split']('/'):null;return ho&&ho['length']>0x3&&!isNaN(parseInt(ho[0x4]))?ho[0x4]['toString']():null;};BDFDB['getDmDiv']=function(hp){if(!hp)return null;if(Node['prototype']['isPrototypeOf'](hp))return BDFDB['getParentEle'](BDFDB['dotCN']['guild'],hp);else{let hq=typeof hp=='object'?hp['id']:hp;if(hq)return BDFDB['getParentEle'](BDFDB['dotCN']['guild'],document['querySelector'](BDFDB['dotCNS']['dms']+BDFDB['dotCN']['guild']+'\x20a[href*=\x22/channels/@me/'+hq+'\x22]'));}return null;};BDFDB['getDmData']=function(hr){if(!hr)return null;let hs=Node['prototype']['isPrototypeOf'](hr)?BDFDB['getChannelID'](hr):typeof hr=='object'?hr['id']:hr;hs=typeof hs=='number'?hs['toFixed']():hs;for(let ht of BDFDB['readDmList']())if(ht&&ht['id']==hs)return ht;return null;};BDFDB['clearReadNotifications']=function(hu){if(!hu)return;var hv=BDFDB['WebModules']['findByProperties']('markGuildAsRead');if(!hv)return;for(let hw of Array['isArray'](hu)?hu:typeof hu=='string'||typeof hu=='number'?Array['of'](hu):Array['from'](hu)){let hx=Node['prototype']['isPrototypeOf'](hw)?BDFDB['getServerID'](hw):hw&&typeof hw=='object'?hw['id']:hw;if(hx)hv['markGuildAsRead'](hx);}};BDFDB['markChannelAsRead']=function(hy){if(!hy)return;var hz=BDFDB['WebModules']['findByProperties']('getOldestUnreadMessageId');var hA=BDFDB['WebModules']['findByProperties']('getAPIBaseURL');var hB=BDFDB['WebModules']['findByProperties']('Permissions','ActivityTypes','StatusTypes');if(!hz||!hA||!hB)return;for(let hC of Array['isArray'](hy)?hy:typeof hy=='string'||typeof hy=='number'?Array['of'](hy):Array['from'](hy)){let hD=Node['prototype']['isPrototypeOf'](hC)?BDFDB['getChannelID'](hC)||BDFDB['getDmID'](hC):hC&&typeof hC=='object'?hC['id']:hC;if(hD){let hE=hz['getOldestUnreadMessageId'](hD);if(hE)hA['post']({'body':{},'url':hB['Endpoints']['MESSAGES_ACK'](hD,hE)});}}};BDFDB['markGuildAsRead']=function(hF){if(!hF)return;var hG=BDFDB['WebModules']['findByProperties']('markGuildAsRead');if(!hG)return;for(let hH of Array['isArray'](hF)?hF:typeof hF=='string'||typeof hF=='number'?Array['of'](hF):Array['from'](hF)){let hI=Node['prototype']['isPrototypeOf'](hH)?BDFDB['getServerID'](hH):hH&&typeof hH=='object'?hH['id']:hH;if(hI)hG['markGuildAsRead'](hI);}};BDFDB['saveAllData']=function(hJ,hK,hL){var hM=require('fs'),hN,hO;if(!BDFDB['isBDv2']()){hO=typeof hK==='string'?hK:hK['name'];hN=require('path')['join'](BDFDB['getPluginsFolder'](),hO+'.config.json');}else{hO=typeof hK==='string'?hK['toLowerCase']():null;var hP=hO?BDFDB['Plugins'][hO]?BDFDB['Plugins'][hO]['contentPath']:null:hK['contentPath'];if(!hP)return;hN=require('path')['join'](hP,'settings.json');}var hQ=hM['existsSync'](hN);var hR=!hQ?{}:typeof BDFDB['cachedData'][hO]!=='undefined'?BDFDB['cachedData'][hO]:BDFDB['readConfig'](hN);hR[hL]=hJ;if(BDFDB['isObjectEmpty'](hR[hL]))delete hR[hL];if(BDFDB['isObjectEmpty'](hR)){delete BDFDB['cachedData'][hO];if(hQ)hM['unlinkSync'](hN);}else{BDFDB['cachedData'][hO]=hR;hM['writeFileSync'](hN,JSON['stringify'](hR,null,'\x09'));}};BDFDB['loadAllData']=function(hS,hT){var hU=require('fs'),hV,hW;if(!BDFDB['isBDv2']()){hW=typeof hS==='string'?hS:hS['name'];hV=require('path')['join'](BDFDB['getPluginsFolder'](),hW+'.config.json');}else{hW=typeof hS==='string'?hS['toLowerCase']():null;var hX=hW?BDFDB['Plugins'][hW]?BDFDB['Plugins'][hW]['contentPath']:null:hS['contentPath'];if(!hX)return{};hV=require('path')['join'](hX,'settings.json');}if(!hU['existsSync'](hV)){delete BDFDB['cachedData'][hW];return{};}var hY=typeof BDFDB['cachedData'][hW]!=='undefined'?BDFDB['cachedData'][hW]:BDFDB['readConfig'](hV);BDFDB['cachedData'][hW]=hY;return hY&&typeof hY[hT]!=='undefined'?hY[hT]:{};};BDFDB['removeAllData']=function(hZ,i0){var i1=require('fs'),i2,i3;if(!BDFDB['isBDv2']()){i3=typeof hZ==='string'?hZ:hZ['name'];i2=require('path')['join'](BDFDB['getPluginsFolder'](),i3+'.config.json');}else{i3=typeof hZ==='string'?hZ['toLowerCase']():null;var i4=i3?BDFDB['Plugins'][i3]?BDFDB['Plugins'][i3]['contentPath']:null:hZ['contentPath'];if(!i4)return;i2=require('path')['join'](i4,'settings.json');}var i5=i1['existsSync'](i2);var i6=!i5?{}:typeof BDFDB['cachedData'][i3]!=='undefined'?BDFDB['cachedData'][i3]:BDFDB['readConfig'](i2);delete i6[i0];if(BDFDB['isObjectEmpty'](i6)){delete BDFDB['cachedData'][i3];if(i5)i1['unlinkSync'](i2);}else{BDFDB['cachedData'][i3]=i6;i1['writeFileSync'](i2,JSON['stringify'](i6,null,'\x09'));}};BDFDB['getAllData']=function(i7,i8){if(!BDFDB['isObject'](i7)||!i7['defaults']||!i7['defaults'][i8])return{};var i9=BDFDB['loadAllData'](i7,i8),ia={},ib=![];for(let ic in i7['defaults'][i8]){if(i9[ic]==null){ia[ic]=i7['defaults'][i8][ic]['value'];ib=!![];}else ia[ic]=i9[ic];}if(ib)BDFDB['saveAllData'](ia,i7,i8);return ia;};BDFDB['readConfig']=function(id){try{return JSON['parse'](require('fs')['readFileSync'](id));}catch(ie){return{};}};BDFDB['saveData']=function(ig,ih,ii,ij){var ik=BDFDB['loadAllData'](ii,ij);ik[ig]=ih;BDFDB['saveAllData'](ik,ii,ij);};BDFDB['loadData']=function(il,im,io){var ip=BDFDB['loadAllData'](im,io);var iq=ip[il];return iq===undefined?null:iq;};BDFDB['removeData']=function(ir,is,it){var iu=BDFDB['loadAllData'](is,it);delete iu[ir];BDFDB['saveAllData'](iu,is,it);};BDFDB['getData']=function(iv,iw,ix){var iy=BDFDB['getAllData'](iw,ix);var iz=iy[iv];return iz===undefined?null:iz;};BDFDB['appendWebScript']=function(iA,iB){if(!iB&&!document['head']['querySelector']('bd-head\x20bd-scripts'))document['head']['appendChild'](BDFDB['htmlToElement'](''));iB=iB||document['head']['querySelector']('bd-head\x20bd-scripts')||document['head'];iB=Node['prototype']['isPrototypeOf'](iB)?iB:document['head'];BDFDB['removeWebScript'](iA,iB);iB['appendChild'](BDFDB['htmlToElement'](''));};BDFDB['removeWebScript']=function(iC,iD){iD=iD||document['head']['querySelector']('bd-head\x20bd-scripts')||document['head'];iD=Node['prototype']['isPrototypeOf'](iD)?iD:document['head'];BDFDB['removeEles'](iD['querySelectorAll']('script[src=\x22'+iC+'\x22]'));};BDFDB['appendWebStyle']=function(iE,iF){if(!iF&&!document['head']['querySelector']('bd-head\x20bd-styles'))document['head']['appendChild'](BDFDB['htmlToElement'](''));iF=iF||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];iF=Node['prototype']['isPrototypeOf'](iF)?iF:document['head'];BDFDB['removeWebStyle'](iE,iF);iF['appendChild'](BDFDB['htmlToElement'](''));};BDFDB['removeWebStyle']=function(iG,iH){iH=iH||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];iH=Node['prototype']['isPrototypeOf'](iH)?iH:document['head'];BDFDB['removeEles'](iH['querySelectorAll']('link[href=\x22'+iG+'\x22]'));};BDFDB['appendLocalStyle']=function(iI,iJ,iK){if(!iK&&!document['head']['querySelector']('bd-head\x20bd-styles'))document['head']['appendChild'](BDFDB['htmlToElement'](''));iK=iK||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];iK=Node['prototype']['isPrototypeOf'](iK)?iK:document['head'];BDFDB['removeLocalStyle'](iI,iK);iK['appendChild'](BDFDB['htmlToElement'](''));};BDFDB['removeLocalStyle']=function(iL,iM){iM=iM||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];iM=Node['prototype']['isPrototypeOf'](iM)?iM:document['head'];BDFDB['removeEles'](iM['querySelectorAll']('style[id=\x22'+iL+'CSS\x22]'));};BDFDB['formatBytes']=function(iN,iO){iN=parseInt(iN);if(isNaN(iN)||iN<0x0)return'0\x20Bytes';if(iN==0x1)return'1\x20Byte';var iP=Math['floor'](Math['log'](iN)/Math['log'](0x400));return parseFloat((iN/Math['pow'](0x400,iP))['toFixed'](iO<0x1?0x0:iO>0x14?0x14:iO||0x2))+'\x20'+['Bytes','KB','MB','GB','TB','PB','EB','ZB','YB'][iP];};BDFDB['colorCONVERT']=function(iQ,iR,iS){if(!iQ)return null;iR=iR===undefined||!iR?iR='RGBCOMP':iR['toUpperCase']();iS=iS===undefined||!iS||!['RGB','RGBA','RGBCOMP','HSL','HSLA','HSLCOMP']['includes'](iS['toUpperCase']())?BDFDB['colorTYPE'](iQ):iS['toUpperCase']();if(iR=='RGBCOMP'){switch(iS){case'RGBCOMP':if(iQ['length']==0x3)return js(iQ);else if(iQ['length']==0x4){var iT=jv(iQ['pop']());return js(iQ)['concat'](iT);}case'RGB':return js(iQ['replace'](/\s/g,'')['slice'](0x4,-0x1)['split'](','));case'RGBA':var iU=iQ['replace'](/\s/g,'')['slice'](0x5,-0x1)['split'](',');var iT=jv(iU['pop']());return js(iU)['concat'](iT);case'HSLCOMP':if(iQ['length']==0x3)return BDFDB['colorCONVERT']('hsl('+iQ['join'](',')+')','RGBCOMP');else if(iQ['length']==0x4){var iT=jv(jg['pop']());return BDFDB['colorCONVERT']('hsl('+jg['join'](',')+')','RGBCOMP')['concat'](iT);}case'HSL':var iX=jz(iQ['replace'](/\s/g,'')['slice'](0x4,-0x1)['split'](','));var iY,iZ,j0,j1,j2,j3,j4,j5;var j6=iX[0x0]/0x168,j7=parseInt(iX[0x1])/0x64,j8=parseInt(iX[0x2])/0x64;j1=Math['floor'](j6*0x6);j2=j6*0x6-j1;j3=j8*(0x1-j7);j4=j8*(0x1-j2*j7);j5=j8*(0x1-(0x1-j2)*j7);switch(j1%0x6){case 0x0:iY=j8,iZ=j5,j0=j3;break;case 0x1:iY=j4,iZ=j8,j0=j3;break;case 0x2:iY=j3,iZ=j8,j0=j5;break;case 0x3:iY=j3,iZ=j4,j0=j8;break;case 0x4:iY=j5,iZ=j3,j0=j8;break;case 0x5:iY=j8,iZ=j3,j0=j4;break;}return[Math['round'](iY*0xff),Math['round'](iZ*0xff),Math['round'](j0*0xff)];case'HSLA':var iX=iQ['replace'](/\s/g,'')['slice'](0x5,-0x1)['split'](',');var iT=jv(iX['pop']());return BDFDB['colorCONVERT']('hsl('+iX['join'](',')+')','RGBCOMP')['concat'](iT);case'HEX':var jb=/^#([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'](iQ);return[parseInt(jb[0x1]+jb[0x1]||jb[0x4],0x10)['toString'](),parseInt(jb[0x2]+jb[0x2]||jb[0x5],0x10)['toString'](),parseInt(jb[0x3]+jb[0x3]||jb[0x6],0x10)['toString']()];default:return null;}}else{var jc=iS=='RGBCOMP'?iQ:BDFDB['colorCONVERT'](iQ,'RGBCOMP',iS);if(jc)switch(iR){case'RGB':return'rgb('+js(jc['slice'](0x0,0x3))['join'](',')+')';case'RGBA':jc=jc['slice'](0x0,0x4);var iT=jc['length']==0x4?jv(jc['pop']()):0x1;return'rgba('+js(jc)['concat'](iT)['join'](',')+')';case'HSLCOMP':var iT=jc['length']==0x4?jv(jc['pop']()):null;var iX=jz(BDFDB['colorCONVERT'](jc,'HSL')['replace'](/\s/g,'')['split'](','));return iT?iX['concat'](iT):iX;case'HSL':var iY=jq(jc[0x0]),iZ=jq(jc[0x1]),j0=jq(jc[0x2]);var jj=Math['max'](iY,iZ,j0),jk=Math['min'](iY,iZ,j0),jl=jj-jk,j6,j7=jj===0x0?0x0:jl/jj,j8=jj/0xff;switch(jj){case jk:j6=0x0;break;case iY:j6=iZ-j0+jl*(iZ0xff?0xff:j2<0x0?0x0:j2;};function js(iU){return iU['map'](j2=>{return jq(j2);});};function jv(iT){iT=iT['toString']();iT=(iT['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(iT['replace'](/[^0-9\.\-]/g,''));return isNaN(iT)||iT>0x1?0x1:iT<0x0?0x0:iT;};function jx(jy){jy=parseFloat(jy['toString']()['replace'](/[^0-9\.\-]/g,''));return(isNaN(jy)||jy>0x64?0x64:jy<0x0?0x0:jy)+'%';};function jz(iU){let j6=parseFloat(iU['shift']()['toString']()['replace'](/[^0-9\.\-]/g,''));j6=isNaN(j6)||j6>0x168?0x168:j6<0x0?0x0:j6;return[j6]['concat'](iU['map'](jC=>{return jx(jC);}));};};BDFDB['colorSETALPHA']=function(jD,jE,jF){var jG=BDFDB['colorCONVERT'](jD,'RGBCOMP');if(jG){jE=jE['toString']();jE=(jE['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(jE['replace'](/[^0-9\.\-]/g,''));jE=isNaN(jE)||jE>0x1?0x1:jE<0x0?0x0:jE;jG[0x3]=jE;jF=(jF||BDFDB['colorTYPE'](jK))['toUpperCase']();jF=jF=='HSL'||jF=='RGB'?jF+'A':jF;return BDFDB['colorCONVERT'](jG,jF);}return null;};BDFDB['colorCHANGE']=function(jH,jI,jJ){jI=parseFloat(jI);if(jH&&typeof jI=='number'&&!isNaN(jI)){var jK=BDFDB['colorCONVERT'](jH,'RGBCOMP');if(jK){if(parseInt(jI)!==jI){jI=jI['toString']();jI=(jI['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(jI['replace'](/[^0-9\.\-]/g,''));jI=isNaN(jI)?0x0:jI;return BDFDB['colorCONVERT']([Math['round'](jK[0x0]*(0x1+jI)),Math['round'](jK[0x1]*(0x1+jI)),Math['round'](jK[0x2]*(0x1+jI))],jJ||BDFDB['colorTYPE'](jH));}else return BDFDB['colorCONVERT']([Math['round'](jK[0x0]+jI),Math['round'](jK[0x1]+jI),Math['round'](jK[0x2]+jI)],jJ||BDFDB['colorTYPE'](jH));}}return null;};BDFDB['colorINV']=function(jL,jM){if(jL){var jN=BDFDB['colorCONVERT'](jL,'RGBCOMP');if(jN)return BDFDB['colorCONVERT']([0xff-jN[0x0],0xff-jN[0x1],0xff-jN[0x2]],jM||BDFDB['colorTYPE'](jL));}return null;};BDFDB['colorCOMPARE']=function(jO,jP){if(jO&&jP){jO=BDFDB['colorCONVERT'](jO,'RGBCOMP');jP=BDFDB['colorCONVERT'](jP,'RGBCOMP');if(jO&&jP)return BDFDB['equals'](jO,jP);}return null;};BDFDB['colorISBRIGHT']=function(jQ,jR=0xa0){jQ=BDFDB['colorCONVERT'](jQ,'RGBCOMP');if(!jQ)return![];return parseInt(jR)