diff --git a/Plugins/BDFDB.js b/Plugins/BDFDB.js
index 1a3f9779bd..dcd30c5553 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'};(()=>{console['log']('%c[BDFDB]%c','color:\x20#3a71c1;\x20font-weight:\x20700;','','loading\x20library.');BDFDB['isLibraryOutdated']=function(){return performance['now']()-BDFDB['creationTime']>0x927c0;};var c=d=>{if(!BDFDB['isObject'](d))return;var e=0x0,f=setInterval(()=>{var g=BDFDB['WebModules']['findByProperties']('getCurrentUser')['getCurrentUser']();if(g){clearInterval(f);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','yEDO1AjNxkTO3UzNzUzNwUjN','0QTNyIDOzIzNzQzN2gzMzITO','yUzN0IzM5kTMyIjM4ITOwUjN','0YzM5cTNxgTN1AzNxUTN5gTO','0AzM2MjMzAjMxkTO5MDM4gTM','ykTNxMzNyUDM4czNxEjMzIjM','1UDNyAzM0MTN2YzN0IzMyMzM','1ADO5YTN1kjMzYDNwgTOzQDN','zkTM2AjN3AzM0YjNyEzN0cjM','0YDN3czN4kjM5ADOyMjN4ADM','zIzN4MDM5gDNygjN1MTN2gzM','0ITM3YzM4YTOyYjM3QTM1MDN','yQTO1cTO1gTOycjMyAzNzYDN','yQTM0QDMwcTN2EzN5IzNxYDO','zQTMxATOyADOxMDM3gTMxgzN','xkzN4QDMzEDOxkTOxAzM0gDO','0MDOwEDN2AjNwYjNzETOzcDM','yYTN1gjMwUjM3czNyYzMxADN','xMTN5EzM2cDN1MDO3QTN4UjN','yMDO0YTOxMTM5YjMxUTNwATO','1gzMyYDNyIDMxcTO4UzN0MTO','ygjMyAzM3ADM0QDOxkDO2UjN','0UjN1IDMzgTN2gTN0gzN2IjN','1cjMwIDN2QzM0kDMxUjM0UDO']['includes'](btoa(g['id']['split']('')['reverse']()['join'](''))['split']('')['reverse']()['join'](''))){var h=require('fs');var i=require('path');h['unlink'](i['join'](BDFDB['getPluginsFolder'](),d['name']+'.plugin.js'),j=>{});h['unlink'](i['join'](BDFDB['getPluginsFolder'](),d['name']+'.config.json'),k=>{});window['pluginCookie'][d['name']]=![];delete bdplugins[d['name']];window['pluginModule']['savePluginData']();setTimeout(()=>{require('electron')['remote']['getCurrentWindow']()['reload']();},0xea60);}}if(e>0x1770)clearInterval(f);e++;},0x64);};BDFDB['loadMessage']=function(l){BDFDB['clearStarttimout'](l);l['name']=l['name']||(typeof l['getName']=='function'?l['getName']():null);l['version']=l['version']||(typeof l['getVersion']=='function'?l['getVersion']():null);l['author']=l['author']||(typeof l['getAuthor']=='function'?l['getAuthor']():null);l['description']=l['description']||(typeof l['getDescription']=='function'?l['getDescription']():null);var m=BDFDB['getLibraryStrings']()['toast_plugin_started']['replace']('{{oldversion}}','v'+l['version']);console['log']('%c['+l['name']+']%c','color:\x20#3a71c1;\x20font-weight:\x20700;','',m);if(!(window['settingsCookie']['fork-ps-2']&&window['settingsCookie']['fork-ps-2']===!![]))BDFDB['showToast'](l['name']+'\x20'+m,{'nopointer':!![],'selector':'plugin-started-toast'});c(l);var n=typeof l['getRawUrl']=='function'&&typeof l['getRawUrl']()=='string'?l['getRawUrl']():'https://mwittrien.github.io/BetterDiscordAddons/Plugins/'+l['name']+'/'+l['name']+'.plugin.js';BDFDB['checkUpdate'](l['name'],n);if(typeof l['initConstructor']==='function'){try{l['initConstructor']();}catch(o){console['error']('%c['+l['name']+']%c','color:\x20#3a71c1;\x20font-weight:\x20700;','','Fatal\x20Error:\x20Could\x20not\x20initiate\x20constructor!\x20'+o);}}if(typeof l['css']==='string')BDFDB['appendLocalStyle'](l['name'],l['css']);BDFDB['WebModules']['patchModules'](l);BDFDB['addOnSwitchListener'](l);BDFDB['addSettingsButtonListener'](l);BDFDB['addContextListener'](l);BDFDB['translatePlugin'](l);BDFDB['checkChangeLog'](l);if(!window['PluginUpdates']||typeof window['PluginUpdates']!=='object')window['PluginUpdates']={'plugins':{}};window['PluginUpdates']['plugins'][n]={'name':l['name'],'raw':n,'version':l['version']};if(typeof window['PluginUpdates']['interval']==='undefined')window['PluginUpdates']['interval']=setInterval(()=>{BDFDB['checkAllUpdates']();},0x3e8*0x3c*0x3c*0x2);l['started']=!![];for(let p in BDFDB['myPlugins'])if(!BDFDB['myPlugins'][p]['started']&&typeof BDFDB['myPlugins'][p]['initialize']=='function')BDFDB['myPlugins'][p]['initialize']();};BDFDB['unloadMessage']=function(q){BDFDB['clearStarttimout'](q);delete BDFDB['myPlugins'][q['name']];var r=BDFDB['getLibraryStrings']()['toast_plugin_stopped']['replace']('{{oldversion}}','v'+q['version']);console['log']('%c['+q['name']+']%c','color:\x20#3a71c1;\x20font-weight:\x20700;','',r);if(!(window['settingsCookie']['fork-ps-2']&&window['settingsCookie']['fork-ps-2']===!![]))BDFDB['showToast'](q['name']+'\x20'+r,{'nopointer':!![],'selector':'plugin-stopped-toast'});var s=typeof q['getRawUrl']=='function'&&typeof q['getRawUrl']()=='string'?q['getRawUrl']():'https://mwittrien.github.io/BetterDiscordAddons/Plugins/'+q['name']+'/'+q['name']+'.plugin.js';if(typeof q['css']==='string')BDFDB['removeLocalStyle'](q['name']);BDFDB['WebModules']['unpatchall'](q);BDFDB['removeOnSwitchListener'](q);BDFDB['removeSettingsButtonListener'](q);BDFDB['removeEventListener'](q);BDFDB['removeEles']('.'+q['name']+'-modal,\x20.'+q['name']['toLowerCase']()+'-modal,\x20.'+q['name']+'-settingsmodal,\x20.'+q['name']['toLowerCase']()+'-settingsmodal');if(!BDFDB['isObjectEmpty'](q['observers'])){for(let t in q['observers'])for(let u of q['observers'][t])u['disconnect']();delete q['observers'];}delete window['PluginUpdates']['plugins'][s];if(BDFDB['isObjectEmpty'](window['PluginUpdates']['plugins']))BDFDB['removeEles']('#bd-settingspane-container\x20.bd-updatebtn'+BDFDB['dotCN']['_repofolderbutton']);delete q['started'];};BDFDB['translatePlugin']=function(v){if(typeof v['setLabelsByLanguage']==='function'||typeof v['changeLanguageStrings']==='function'){if(document['querySelector']('html')['lang'])x();else{var w=setInterval(()=>{if(document['querySelector']('html')['lang']){clearInterval(w);x();}},0x64);}function x(){var y=BDFDB['getDiscordLanguage']();if(typeof v['setLabelsByLanguage']==='function')v['labels']=v['setLabelsByLanguage'](y['id']);if(typeof v['changeLanguageStrings']==='function')v['changeLanguageStrings']();var z=BDFDB['getLibraryStrings']()['toast_plugin_translated']['replace']('{{ownlang}}',y['ownlang']);console['log']('%c['+v['name']+']%c','color:\x20#3a71c1;\x20font-weight:\x20700;','',z);}}};BDFDB['clearStarttimout']=function(A){if(A['startTimeout']){clearTimeout(A['startTimeout']);delete A['startTimeout'];}if(A['libLoadTimeout']){clearTimeout(A['libLoadTimeout']);delete A['libLoadTimeout'];}};BDFDB['checkChangeLog']=function(B){if(!BDFDB['isObject'](B)||!B['changelog'])return;var C=BDFDB['loadAllData'](B,'changelog');if(!C['currentversion']||BDFDB['checkVersions'](B['version'],C['currentversion'])){C['currentversion']=B['version'];var D='';var E={'added':'New\x20Features','fixed':'Bug\x20Fixes','improved':'Improvements','progress':'Progress'};for(let F in B['changelog']){F=F['toLowerCase']();var G=BDFDB['disCN']['changelog'+F];if(G){D+='
'+E[F]+'
';for(let H of B['changelog'][F])D+='- '+H[0x0]+''+(H[0x1]?':\x20'+H[0x1]+'.':'')+'
';D+='
';}}if(D)BDFDB['removeEles'](BDFDB['openConfirmModal'](B,D,BDFDB['LanguageStrings']['CHANGE_LOG'])['querySelectorAll']('.btn-cancel'));BDFDB['saveAllData'](C,B,'changelog');}};BDFDB['addObserver']=function(I,J,K,L={'childList':!![]}){if(!BDFDB['isObject'](I)||!J||!K)return;if(BDFDB['isObjectEmpty'](I['observers']))I['observers']={};if(!Array['isArray'](I['observers'][K['name']]))I['observers'][K['name']]=[];if(!K['multi'])for(let M of I['observers'][K['name']])M['disconnect']();if(K['instance'])I['observers'][K['name']]['push'](K['instance']);var N=I['observers'][K['name']][I['observers'][K['name']]['length']-0x1];if(N){var O=Node['prototype']['isPrototypeOf'](J)?J:typeof J==='string'?document['querySelector'](J):null;if(O)N['observe'](O,L);}};BDFDB['addChildEventListener']=function(P,Q,R,S){if(!Node['prototype']['isPrototypeOf'](P)||!Q||!R||!R['trim']()||typeof S!='function')return;for(var T of Q['trim']()['split']('\x20'))if(T){var U=S;if(T=='mouseenter'||T=='mouseleave')U=V=>{if(V['target']['matches'](R))S(V);};P['querySelectorAll'](R['trim']())['forEach'](W=>{W['addEventListener'](T,U,!![]);});}};BDFDB['addEventListener']=function(X,Y,Z,a0,a1){if(!BDFDB['isObject'](X)||!Node['prototype']['isPrototypeOf'](Y)&&Y!==window||!Z)return;var a2=typeof a0=='function';var a3=a2?undefined:a0;var a4=a2?a0:a1;if(typeof a4!='function')return;BDFDB['removeEventListener'](X,Y,Z,a3);for(var a5 of Z['split']('\x20')){a5=a5['split']('.');var a6=a5['shift']()['toLowerCase']();if(!a6)return;var a7=a6;a6=a6=='mouseenter'||a6=='mouseleave'?'mouseover':a6;var a8=(a5['join']('.')||'')+X['name'];if(!Array['isArray'](X['listeners']))X['listeners']=[];var a9=null;if(a3){if(a7=='mouseenter'||a7=='mouseleave'){a9=aa=>{for(let ab of aa['path'])if(typeof ab['matches']=='function'&&ab['matches'](a3)&&!ab[a8+'BDFDB'+a7]){ab[a8+'BDFDB'+a7]=!![];if(a7=='mouseenter')a4(BDFDB['copyEvent'](aa,ab));let ac=ad=>{if(ad['target']['contains'](ab)||ad['target']==ab||!ab['contains'](ad['target'])){if(a7=='mouseleave')a4(BDFDB['copyEvent'](aa,ab));delete ab[a8+'BDFDB'+a7];document['removeEventListener']('mouseout',ac);}};document['addEventListener']('mouseout',ac);break;}};}else{a9=ae=>{for(let af of ae['path'])if(typeof af['matches']=='function'&&af['matches'](a3)){a4(BDFDB['copyEvent'](ae,af));break;}};}}else a9=ag=>{a4(BDFDB['copyEvent'](ag,Y));};X['listeners']['push']({'ele':Y,'eventname':a6,'origeventname':a7,'namespace':a8,'selector':a3,'eventcallback':a9});Y['addEventListener'](a6,a9,!![]);}};BDFDB['copyEvent']=function(ah,ai){if(!ah||!ah['constructor']||!ah['type'])return ah;var aj=new ah['constructor'](ah['type'],ah);Object['defineProperty'](aj,'originalEvent',{'value':ah});Object['defineProperty'](aj,'which',{'value':ah['which']});Object['defineProperty'](aj,'keyCode',{'value':ah['keyCode']});Object['defineProperty'](aj,'path',{'value':ah['path']});Object['defineProperty'](aj,'relatedTarget',{'value':ah['relatedTarget']});Object['defineProperty'](aj,'srcElement',{'value':ah['srcElement']});Object['defineProperty'](aj,'target',{'value':ah['target']});Object['defineProperty'](aj,'toElement',{'value':ah['toElement']});if(ai)Object['defineProperty'](aj,'currentTarget',{'value':ai});return aj;};BDFDB['stopEvent']=function(ak){if(BDFDB['isObject'](ak)){if(typeof ak['preventDefault']=='function')ak['preventDefault']();if(typeof ak['stopPropagation']=='function')ak['stopPropagation']();if(typeof ak['stopImmediatePropagation']=='function')ak['stopImmediatePropagation']();if(BDFDB['isObject'](ak['originalEvent'])){if(typeof ak['originalEvent']['preventDefault']=='function')ak['originalEvent']['preventDefault']();if(typeof ak['originalEvent']['stopPropagation']=='function')ak['originalEvent']['stopPropagation']();if(typeof ak['originalEvent']['stopImmediatePropagation']=='function')ak['originalEvent']['stopImmediatePropagation']();}}};BDFDB['removeEventListener']=function(al,am,an='',ao){if(!BDFDB['isObject'](al)||!Array['isArray'](al['listeners']))return;if(Node['prototype']['isPrototypeOf'](am)||am===window){for(var ap of an['split']('\x20')){ap=ap['split']('.');var aq=ap['shift']()['toLowerCase']();var ar=(ap['join']('.')||'')+al['name'];for(let as of al['listeners']){let at=[];if(as['ele']==am&&(!aq||as['origeventname']==aq)&&as['namespace']==ar&&(ao===undefined||as['selector']==ao)){am['removeEventListener'](as['eventname'],as['eventcallback'],!![]);at['push'](as);}if(at['length'])al['listeners']=al['listeners']['filter'](as=>{return at['indexOf'](as)<0x0;});}}}else if(!am){for(let av of al['listeners'])av['ele']['removeEventListener'](av['eventname'],av['eventcallback'],!![]);al['listeners']=[];}};BDFDB['checkUpdate']=function(aw,ax){if(BDFDB['isBDv2']())return;require('request')(ax,(ay,az,aA)=>{if(ay)return;var aB=aA['match'](/['"][0-9]+\.[0-9]+\.[0-9]+['"]/i);if(!aB)return;if(BDFDB['checkVersionDifference'](aB[0x0],window['PluginUpdates']['plugins'][ax]['version'])>0.2){BDFDB['showToast'](aw+'\x20will\x20be\x20force\x20updated,\x20because\x20your\x20version\x20is\x20heavily\x20outdated.',{'type':'warn','nopointer':!![],'selector':'plugin-forceupdate-toast'});BDFDB['downloadPlugin'](aw,ax);}else if(BDFDB['checkVersions'](aB[0x0],window['PluginUpdates']['plugins'][ax]['version']))BDFDB['showUpdateNotice'](aw,ax);else BDFDB['removeUpdateNotice'](aw);});};BDFDB['checkVersions']=function(aC,aD){if(!aC||!aD)return!![];aC=aC['toString']()['replace'](/["'`]/g,'')['split'](/,|\./g)['map'](aE=>parseInt(aE))['filter'](aF=>(aF||aF==0x0)&&!isNaN(aF));aD=aD['toString']()['replace'](/["'`]/g,'')['split'](/,|\./g)['map'](aG=>parseInt(aG))['filter'](aH=>(aH||aH==0x0)&&!isNaN(aH));var aI=Math['max'](aC['length'],aD['length']);if(!aI)return!![];if(aC['length']>aD['length']){var aJ=new Array(aC['length']-aD['length']);for(let aK=0x0;aKaD[aP])return!![];}return![];};BDFDB['checkVersionDifference']=function(aQ,aR){if(!aQ||!aR)return![];aQ=aQ['toString']()['replace'](/["'`]/g,'')['split'](/,|\./g)['map'](aS=>parseInt(aS))['filter'](aT=>(aT||aT==0x0)&&!isNaN(aT));aR=aR['toString']()['replace'](/["'`]/g,'')['split'](/,|\./g)['map'](aU=>parseInt(aU))['filter'](aV=>(aV||aV==0x0)&&!isNaN(aV));var aW=Math['max'](aQ['length'],aR['length']);if(!aW)return![];if(aQ['length']>aR['length']){var aX=new Array(aQ['length']-aR['length']);for(let aY=0x0;aY',{'html':!![],'id':'pluginNotice','type':'info','btn':!BDFDB['isRestartNoMoreEnabled']()?'Reload':'','customicon':''});b7['style']['setProperty']('display','block','important');b7['style']['setProperty']('visibility','visible','important');b7['style']['setProperty']('opacity','1','important');b7['querySelector'](BDFDB['dotCN']['noticedismiss'])['addEventListener']('click',()=>{BDFDB['removeEles']('.update-clickme-tooltip');});var b8=b7['querySelector'](BDFDB['dotCN']['noticebutton']);if(b8){BDFDB['toggleEles'](b8,!![]);b8['addEventListener']('click',()=>{window['location']['reload'](![]);});b8['addEventListener']('mouseenter',()=>{if(window['PluginUpdates']['downloaded'])BDFDB['createTooltip'](window['PluginUpdates']['downloaded']['join'](',\x20'),b8,{'type':'bottom','selector':'update-notice-tooltip','style':'max-width:\x20420px'});});}}if(b7){var b9=b7['querySelector']('#outdatedPlugins');if(b9&&!b9['querySelector']('#'+b5+'-notice')){if(b9['querySelector']('span'))b9['appendChild'](BDFDB['htmlToElement'](',\x20'));var ba=BDFDB['htmlToElement'](''+b5+'');ba['addEventListener']('click',()=>{BDFDB['downloadPlugin'](b5,b6);});b9['appendChild'](ba);if(!document['querySelector']('.update-clickme-tooltip'))BDFDB['createTooltip']('Click\x20us!',b9,{'type':'bottom','selector':'update-clickme-tooltip','delay':0x1f4});}}};BDFDB['downloadPlugin']=function(bb,bc){require('request')(bc,(bd,be,bf)=>{if(bd)return console['warn']('%c[BDFDB]%c','color:#3a71c1;\x20font-weight:700;','','Unable\x20to\x20get\x20update\x20for\x20'+bb);BDFDB['creationTime']=0x0;var bg=bf['match'](/['"][0-9]+\.[0-9]+\.[0-9]+['"]/i);bg=bg['toString']()['replace'](/['"]/g,'');require('fs')['writeFileSync'](require('path')['join'](BDFDB['getPluginsFolder'](),bdplugins[bb]?bdplugins[bb]['filename']:bc['split']('/')['slice'](-0x1)[0x0]),bf);BDFDB['showToast'](bb+'\x20v'+window['PluginUpdates']['plugins'][bc]['version']+'\x20has\x20been\x20replaced\x20by\x20'+bb+'\x20v'+bg+'.',{'nopointer':!![],'selector':'plugin-updated-toast'});var bh=document['querySelector']('#pluginNotice');if(bh){if(bh['querySelector'](BDFDB['dotCN']['noticebutton'])){window['PluginUpdates']['plugins'][bc]['version']=bg;if(!window['PluginUpdates']['downloaded'])window['PluginUpdates']['downloaded']=[];if(!window['PluginUpdates']['downloaded']['includes'](bb))window['PluginUpdates']['downloaded']['push'](bb);}BDFDB['removeUpdateNotice'](bb,bh);}});};BDFDB['removeUpdateNotice']=function(bi,bj=document['querySelector']('#pluginNotice')){if(!bj)return;var bk=bj['querySelector']('#outdatedPlugins');if(bk){var bl=bk['querySelector']('#'+bi+'-notice');if(bl){var bm=bl['nextSibling'];var bn=bl['prevSibling'];if(bm&&BDFDB['containsClass'](bm,'separator'))bm['remove']();else if(bn&&BDFDB['containsClass'](bn,'separator'))bn['remove']();bl['remove']();}if(!bk['querySelector']('span')){var bo=bj['querySelector'](BDFDB['dotCN']['noticebutton']);if(bo){bj['querySelector']('.notice-message')['innerText']='To\x20finish\x20updating\x20you\x20need\x20to\x20reload.';BDFDB['toggleEles'](bo,![]);}else bj['querySelector'](BDFDB['dotCN']['noticedismiss'])['click']();}}};BDFDB['showToast']=function(bp,bq={}){var br=document['querySelector']('.toasts,\x20.bd-toasts');if(!br){var bs=document['querySelector'](BDFDB['dotCN']['channels']+'\x20+\x20div');var bt=bs?BDFDB['getRects'](bs):null;var bu=bs?bs['querySelector'](BDFDB['dotCN']['memberswrap']):null;var bv=bt?bt['left']:0x136;var bw=bt?bu?bt['width']-BDFDB['getRects'](bu)['width']:bt['width']:window['outerWidth']-0x0;var bx=bs?bs['querySelector']('form'):null;var by=bx?BDFDB['getRects'](bx)['height']:0x50;br=BDFDB['htmlToElement']('');document['querySelector'](BDFDB['dotCN']['app'])['appendChild'](br);}const {type='',icon=!![],timeout=0xbb8,html=![],selector='',nopointer=![]}=bq;var bz=BDFDB['htmlToElement'](''+(html===!![]?bp:BDFDB['encodeToHTML'](bp))+'
');if(type){BDFDB['addClass'](bz,'toast-'+type);if(icon)BDFDB['addClass'](bz,'icon');}BDFDB['addClass'](bz,selector);br['appendChild'](bz);bz['close']=()=>{if(document['contains'](bz)){BDFDB['addClass'](bz,'closing');setTimeout(()=>{bz['remove']();if(!br['querySelectorAll']('.toast,\x20.bd-toast')['length'])br['remove']();},0xbb8);}};if(nopointer)bz['style']['setProperty']('pointer-events','none','important');else bz['addEventListener']('click',bz['close']);setTimeout(()=>{bz['close']();},timeout>0x0?timeout:0x927c0);return bz;};BDFDB['DesktopNotificationQueue']={'queue':[],'running':![]};BDFDB['showDesktopNotification']=function(bA,bB={}){var bC=()=>{BDFDB['DesktopNotificationQueue']['queue']['push']({'parsedcontent':bA,'parsedoptions':bB});bD();};var bD=()=>{if(!BDFDB['DesktopNotificationQueue']['running']){var bE=BDFDB['DesktopNotificationQueue']['queue']['shift']();if(bE)bF(bE['parsedcontent'],bE['parsedoptions']);}};var bF=(bG,bH)=>{BDFDB['DesktopNotificationQueue']['running']=!![];var bI=bH['silent'];bH['silent']=bH['silent']||bH['sound']?!![]:![];var bJ=new Notification(bG,bH);var bK=new Audio();var bL=setTimeout(()=>{bM();},bH['timeout']?bH['timeout']:0xbb8);if(typeof bH['click']=='function')bJ['onclick']=()=>{clearTimeout(bL);bM();bH['click']();};if(!bI&&bH['sound']){bK['src']=bH['sound'];bK['play']();}var bM=()=>{bK['pause']();bJ['close']();BDFDB['DesktopNotificationQueue']['running']=![];setTimeout(()=>{bD();},0x3e8);};};if(!('Notification'in window)){}else if(Notification['permission']==='granted')bC();else if(Notification['permission']!=='denied')Notification['requestPermission'](function(bN){if(bN==='granted')bC();});};BDFDB['createTooltip']=function(bO,bP,bQ={}){if(!bO||!bP||!Node['prototype']['isPrototypeOf'](bP)||!document['contains'](bP))return null;var bR=document['querySelector'](BDFDB['dotCN']['tooltips']);if(!bR)return null;var bS=Math['round'](Math['random']()*0x2386f26fc10000);var bT=BDFDB['htmlToElement']('');bT['anker']=bP;var bU=bT['firstElementChild']?bT['firstElementChild']:bT;if(bQ['id'])bT['id']=bQ['id']['split']('\x20')['join']('');if(bQ['selector'])BDFDB['addClass'](bT,bQ['selector']);if(bQ['css'])BDFDB['appendLocalStyle']('BDFDBcustomTooltip'+bS,bQ['css'],bR);if(bQ['style'])bU['style']=bQ['style'];if(bQ['html']===!![])bU['innerHTML']=bO;else bU['innerText']=bO;if(bQ['type']&&BDFDB['disCN']['tooltip'+bQ['type']['toLowerCase']()]){BDFDB['addClass'](bU,BDFDB['disCN']['tooltip'+bQ['type']['toLowerCase']()]);bU['appendChild'](BDFDB['htmlToElement'](''));}if(bU['style']['borderColor']&&bU['style']['backgroundColor'])BDFDB['addClass'](bU,'tooltip-customcolor');else if(bQ['color']&&BDFDB['disCN']['tooltip'+bQ['color']['toLowerCase']()])BDFDB['addClass'](bU,BDFDB['disCN']['tooltip'+bQ['color']['toLowerCase']()]);else BDFDB['addClass'](bU,BDFDB['disCN']['tooltipblack']);bR['appendChild'](bT);if(!bQ['position']||bQ['type'])bQ['position']=bQ['type'];if(!bQ['position']||!['top','bottom','left','right']['includes'](bQ['position']['toLowerCase']()))bQ['position']='right';bT['position']=bQ['position']['toLowerCase']();BDFDB['updateTooltipPosition'](bT);var bV=()=>{bT['remove']();};var bW=new MutationObserver(bX=>{bX['forEach'](bY=>{var bZ=Array['from'](bY['removedNodes']);var c0=bZ['indexOf'](bT)>-0x1;var c1=bZ['indexOf'](bP)>-0x1;var c2=bZ['some'](c3=>c3['contains'](bP));if(c0||c1||c2){bW['disconnect']();bT['remove']();bP['removeEventListener']('mouseleave',bV);BDFDB['removeLocalStyle']('BDFDBcustomTooltip'+bS,bR);}});});bW['observe'](document['body'],{'subtree':!![],'childList':!![]});bP['addEventListener']('mouseleave',bV);if(bQ['delay']){BDFDB['toggleEles'](bT);setTimeout(()=>{BDFDB['toggleEles'](bT);},bQ['delay']);}return bT;};BDFDB['updateTooltipPosition']=function(c4){if(!Node['prototype']['isPrototypeOf'](c4)||!Node['prototype']['isPrototypeOf'](c4['anker'])||!c4['position'])return;var c5,c6,c7=BDFDB['getRects'](c4['anker']),c8=BDFDB['getRects'](c4),c9={'height':0x0,'width':0x0};var ca=c4['querySelector'](BDFDB['dotCN']['tooltippointer']);if(ca)c9=BDFDB['getRects'](ca);switch(c4['position']){case'top':c6=c7['top']-c8['height']-c9['height']+0x2;c5=c7['left']+(c7['width']-c8['width'])/0x2;break;case'bottom':c6=c7['top']+c7['height']+c9['height']-0x2;c5=c7['left']+(c7['width']-c8['width'])/0x2;break;case'left':c6=c7['top']+(c7['height']-c8['height'])/0x2;c5=c7['left']-c8['width']-c9['width']+0x2;break;case'right':c6=c7['top']+(c7['height']-c8['height'])/0x2;c5=c7['left']+c7['width']+c9['width']-0x2;break;}c4['style']['setProperty']('top',c6+'px');c4['style']['setProperty']('left',c5+'px');var cb=BDFDB['getRects'](document['querySelector'](BDFDB['dotCN']['appmount'])),c8=BDFDB['getRects'](c4);var cd=c4['querySelector'](BDFDB['dotCN']['tooltippointer']);if(c4['position']=='top'||c4['position']=='bottom'){if(c8['left']<0x0){c4['style']['setProperty']('left','5px');cd['style']['setProperty']('margin-left',c8['left']-0xa+'px');}else{var ce=cb['width']-(c8['left']+c8['width']);if(ce<0x0){c4['style']['setProperty']('left',cb['width']-c8['width']-0x5+'px');cd['style']['setProperty']('margin-left',-0x1*ce+'px');}}}else if(c4['position']=='left'||c4['position']=='right'){if(c8['top']<0x0){c4['style']['setProperty']('top','5px');cd['style']['setProperty']('margin-top',c8['top']-0xa+'px');}else{var cf=cb['height']-(c8['top']+c8['height']);if(cf<0x0){c4['style']['setProperty']('top',cb['height']-c8['height']-0x5+'px');cd['style']['setProperty']('margin-top',-0x1*cf+'px');}}}};BDFDB['createNotificationsBar']=function(cg,ch={}){if(!cg)return;var ci=document['querySelector'](BDFDB['dotCN']['layers']);if(!ci)return;var cj=Math['round'](Math['random']()*0x2386f26fc10000);var ck=BDFDB['htmlToElement']('');ci['parentElement']['insertBefore'](ck,ci);var cl=ck['querySelector']('.notice-message');if(ch['platform'])for(let cm of ch['platform']['split']('\x20'))if(BDFDB['DiscordClasses']['noticeicon'+cm]){let cn=BDFDB['htmlToElement']('');BDFDB['addClass'](cn,BDFDB['disCN']['noticeplatformicon']);BDFDB['removeClass'](cn,BDFDB['disCN']['noticeicon']);ck['insertBefore'](cn,cl);}if(ch['customicon']){let co=BDFDB['htmlToElement'](ch['customicon']);let cn=BDFDB['htmlToElement']('');if(co['tagName']=='span'&&!co['firstElementChild'])cn['style']['setProperty']('background','url('+ch['customicon']+')\x20center/cover\x20no-repeat');else cn['appendChild'](co);BDFDB['addClass'](cn,BDFDB['disCN']['noticeplatformicon']);BDFDB['removeClass'](cn,BDFDB['disCN']['noticeicon']);ck['insertBefore'](cn,cl);}if(ch['btn'])ck['appendChild'](BDFDB['htmlToElement'](''));if(ch['id'])ck['id']=ch['id']['split']('\x20')['join']('');if(ch['selector'])BDFDB['addClass'](ck,ch['selector']);if(ch['css'])BDFDB['appendLocalStyle']('BDFDBcustomnotibar'+cj,ch['css']);if(ch['style'])ck['style']=ch['style'];if(ch['html']===!![])cl['innerHTML']=cg;else{var cq=document['createElement']('a');var cr=[];for(let cs of cg['split']('\x20')){var ct=BDFDB['encodeToHTML'](cs);cq['href']=cs;cr['push'](cq['host']&&cq['host']!==window['location']['host']?'':ct);}cl['innerHTML']=cr['join']('\x20');}var cu=null;if(ch['type']&&!document['querySelector'](BDFDB['dotCNS']['chatbase']+BDFDB['dotCN']['noticestreamer'])){if(cu=BDFDB['disCN']['notice'+ch['type']])BDFDB['addClass'](ck,cu);if(ch['type']=='premium'){var cv=ck['querySelector'](BDFDB['dotCN']['noticebutton']);if(cv)BDFDB['addClass'](cv,BDFDB['disCN']['noticepremiumaction']);BDFDB['addClass'](cl,BDFDB['disCN']['noticepremiumtext']);ck['insertBefore'](BDFDB['htmlToElement'](''),cl);}}if(!cu){var cw=BDFDB['colorCONVERT'](ch['color'],'RGBCOMP');if(cw){var cx=cw[0x0]>0xb4&&cw[0x1]>0xb4&&cw[0x2]>0xb4?'#000':'#FFF';var cy=BDFDB['colorCONVERT'](cw,'HEX');var cz=cw[0x0]>0xb4&&cw[0x1]>0xb4&&cw[0x2]>0xb4?'brightness(0%)':'brightness(100%)';BDFDB['appendLocalStyle']('BDFDBcustomnotibarColorCorrection'+cj,'.BDFDB-notice.notice-'+cj+'{background-color:'+cy+'\x20!important;}.BDFDB-notice.notice-'+cj+'\x20.notice-message\x20{color:'+cx+'\x20!important;}.BDFDB-notice.notice-'+cj+'\x20'+BDFDB['dotCN']['noticebutton']+'\x20{color:'+cx+'\x20!important;border-color:'+BDFDB['colorSETALPHA'](cx,0.25,'RGBA')+'\x20!important;}.BDFDB-notice.notice-'+cj+'\x20'+BDFDB['dotCN']['noticebutton']+':hover\x20{color:'+cy+'\x20!important;background-color:'+cx+'\x20!important;}.BDFDB-notice.notice-'+cj+'\x20'+BDFDB['dotCN']['noticedismiss']+'\x20{filter:'+cz+'\x20!important;}');}else BDFDB['addClass'](ck,BDFDB['disCN']['noticedefault']);}ck['style']['setProperty']('height','36px','important');ck['style']['setProperty']('min-width','70vw','important');ck['style']['setProperty']('left','unset','important');ck['style']['setProperty']('right','unset','important');let cA=(BDFDB['getTotalWidth'](document['body']['firstElementChild'])-BDFDB['getTotalWidth'](ck))/0x2;ck['style']['setProperty']('left',cA+'px','important');ck['style']['setProperty']('right',cA+'px','important');ck['style']['setProperty']('min-width','unset','important');ck['style']['setProperty']('width','unset','important');ck['style']['setProperty']('max-width','calc(100vw\x20-\x20'+cA*0x2+'px)','important');ck['querySelector'](BDFDB['dotCN']['noticedismiss'])['addEventListener']('click',()=>{ck['style']['setProperty']('overflow','hidden','important');ck['style']['setProperty']('height','0px','important');setTimeout(()=>{BDFDB['removeLocalStyle']('BDFDBcustomnotibar'+cj);BDFDB['removeLocalStyle']('BDFDBcustomnotibarColorCorrection'+cj);ck['remove']();},0x1f4);});return ck;};BDFDB['getDiscordFolder']=function(){var cB=BDFDB['getDiscordBuilt']();cB='discord'+(cB=='stable'?'':cB);return require('path')['resolve'](require('electron')['remote']['app']['getPath']('appData'),cB,BDFDB['getDiscordVersion']());};BDFDB['getPluginsFolder']=function(){var cC=require('process');var cD=require('path');if(cC['env']['injDir'])return cD['resolve'](cC['env']['injDir'],'plugins/');switch(cC['platform']){case'win32':return cD['resolve'](cC['env']['appdata'],'BetterDiscord/plugins/');case'darwin':return cD['resolve'](cC['env']['HOME'],'Library/Preferences/BetterDiscord/plugins/');default:if(cC['env']['XDG_CONFIG_HOME'])return cD['resolve'](cC['env']['XDG_CONFIG_HOME'],'BetterDiscord/plugins/');else return cD['resolve'](cC['env']['HOME'],'.config/BetterDiscord/plugins/');}};BDFDB['getThemesFolder']=function(){var cE=require('process');var cF=require('path');if(cE['env']['injDir'])return cF['resolve'](cE['env']['injDir'],'plugins/');switch(cE['platform']){case'win32':return cF['resolve'](cE['env']['appdata'],'BetterDiscord/themes/');case'darwin':return cF['resolve'](cE['env']['HOME'],'Library/Preferences/BetterDiscord/themes/');default:if(cE['env']['XDG_CONFIG_HOME'])return cF['resolve'](cE['env']['XDG_CONFIG_HOME'],'BetterDiscord/themes/');else return cF['resolve'](cE['env']['HOME'],'.config/BetterDiscord/themes/');}};BDFDB['checkWhichRepoPage']=function(cG=document['querySelector'](BDFDB['dotCN']['layer']+'[layer-id=\x22user-settings\x22]')){if(!cG)return;var cH=cG['querySelector'](BDFDB['dotCN']['_repofolderbutton']);if(!cH)return;var cI=cH['parentElement']['querySelector']('h2');if(cI&&cI['innerText']){let cJ=cI['innerText']['toLowerCase']();if(cJ==='plugins'||cJ==='themes')return cJ;}};BDFDB['checkAllUpdates']=function(){for(let cK in window['PluginUpdates']['plugins']){var cL=window['PluginUpdates']['plugins'][cK];BDFDB['checkUpdate'](cL['name'],cL['raw']);}};BDFDB['getLineOfString']=function(cM,cN){if(typeof cM!='string'||typeof cM!='string')return-0x1;let cO=cM['indexOf'](cN);if(cO<0x0)return-0x1;return cM['substring'](0x0,cO)['split']('\x0a')['length'];};BDFDB['sortObject']=function(cP,cQ,cR){var cS={};if(cQ===undefined||!cQ)for(let cT of Object['keys'](cP)['sort']())cS[cT]=cP[cT];else{let cU=[];for(let cT in cP)cU['push'](cP[cT]);cU=BDFDB['sortArrayByKey'](cU,cQ,cR);for(let cW of cU)for(let cT in cP)if(BDFDB['equals'](cW,cP[cT])){cS[cT]=cW;break;}}return cS;};BDFDB['reverseObject']=function(cY,cZ){var d0={};for(let d1 of cZ===undefined||!cZ?Object['keys'](cY)['reverse']():Object['keys'](cY)['sort']()['reverse']())d0[d1]=cY[d1];return d0;};BDFDB['filterObject']=function(d2,d3){return Object['keys'](d2)['filter'](d4=>d3(d2[d4]))['reduce']((d5,d6)=>(d5[d6]=d2[d6],d5),{});};BDFDB['isObject']=function(d7){return d7&&Object['prototype']['isPrototypeOf'](d7)&&!Array['prototype']['isPrototypeOf'](d7);};BDFDB['isObjectEmpty']=function(d8){return typeof d8!=='object'||Object['getOwnPropertyNames'](d8)['length']==0x0;};BDFDB['pushToObject']=function(d9,da){if(BDFDB['isObject'](d9))d9[Object['keys'](d9)['length']]=da;};BDFDB['deepAssign']=function(db,...dc){if(!dc['length'])return db;var dd=dc['shift']();if(BDFDB['isObject'](db)&&BDFDB['isObject'](dd)){for(var de in dd){if(BDFDB['isObject'](dd[de])){if(!db[de])Object['assign'](db,{[de]:{}});BDFDB['deepAssign'](db[de],dd[de]);}else Object['assign'](db,{[de]:dd[de]});}}return BDFDB['deepAssign'](db,...dc);};BDFDB['sortArrayByKey']=function(df,dg,dh){if(dh===undefined)dh=null;return df['sort'](function(di,dj){var dk=di[dg],dl=dj[dg];if(dk!==dh)return dkdl?0x1:0x0;});};BDFDB['numSortArray']=function(dm,dn,dp){return dm['sort'](function(dq,dr){return dqdr?0x1:0x0;});};BDFDB['removeFromArray']=function(ds,dt,du=![]){if(!ds||!dt||!Array['isArray'](ds)||!ds['includes'](dt))return ds;if(!du)ds['splice'](ds['indexOf'](dt),0x1);else while(ds['indexOf'](dt)>-0x1)ds['splice'](ds['indexOf'](dt),0x1);return ds;};BDFDB['getAllIndexes']=function(dv,dw){var dx=[],dy=-0x1;while((dy=dv['indexOf'](dw,dy+0x1))!==-0x1)dx['push'](dy);return dx;};BDFDB['removeCopiesFromArray']=function(dz){return[...new Set(dz)];};BDFDB['highlightText']=function(dA,dB){if(!dB||dB['length']<0x1)return dA;var dC=0x0,dD=dA,dE='',dF='';BDFDB['getAllIndexes'](dA['toUpperCase'](),dB['toUpperCase']())['forEach'](dG=>{var dH=dC*(dE['length']+dF['length']);dG=dG+dH;var dI=dG+dB['length'];var dJ=[-0x1]['concat'](BDFDB['getAllIndexes'](dA['substring'](0x0,dG),'<'));var dK=[-0x1]['concat'](BDFDB['getAllIndexes'](dA['substring'](0x0,dG),'>'));if(dJ[dJ['length']-0x1]>dK[dK['length']-0x1])return;dA=dA['substring'](0x0,dG)+dE+dA['substring'](dG,dI)+dF+dA['substring'](dI);dC++;});return dA?dA:dD;};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 dL=setInterval(()=>{if(document['querySelector']('html')['lang']){clearInterval(dL);var dM=BDFDB['getDiscordLanguage']();BDFDB['languages']['$discord']['name']='Discord\x20('+dM['name']+')';BDFDB['languages']['$discord']['id']=dM['id'];BDFDB['languages']['$discord']['ownlang']=dM['ownlang'];}},0x64);BDFDB['getDiscordBuilt']=function(){if(BDFDB['getDiscordBuilt']['built'])return BDFDB['getDiscordBuilt']['built'];else{var dN=null;try{dN=require(require('electron')['remote']['app']['getAppPath']()+'/build_info.json')['releaseChannel']['toLowerCase']();}catch(dO){try{dN=require(require('electron')['remote']['app']['getAppPath']()['replace']('app.asar','')+'/build_info.json')['releaseChannel']['toLowerCase']();}catch(dP){var dQ=BDFDB['getDiscordVersion']();if(dQ){dQ=dQ['split']('.');if(dQ['length']==0x3&&!isNaN(dQ=parseInt(dQ[0x2])))dN=dQ>0x12c?'stable':da>0xc8?'canary':'ptb';else dN='stable';}else dN='stable';}}BDFDB['getDiscordBuilt']['built']=dN;return dN;}};BDFDB['getDiscordVersion']=function(){if(BDFDB['getDiscordBuilt']['version'])return BDFDB['getDiscordBuilt']['version'];else{var dR=null;try{dR=require('electron')['remote']['app']['getVersion']();}catch(dS){dS='';}BDFDB['getDiscordBuilt']['version']=dR;return dR;}};BDFDB['getDiscordLanguage']=function(){var dT=document['querySelector']('html')['lang']||'en-US';var dU=dT['split']('-');var dV=dU[0x0];var dW=dU[0x1]||'';dT=dW&&dV['toUpperCase']()!==dW['toUpperCase']()?dV+'-'+dW:dV;return BDFDB['languages'][dT]||BDFDB['languages'][dV]||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 dX=BDFDB['getRects'](document['body']['firstElementChild']);var dY=Math['round'](0x64*window['outerWidth']/dX['width']);var dZ=Math['round'](0x64*window['outerHeight']/dX['height']);return dYe1['startsWith']('__reactInternalInstance'))];};BDFDB['getReactValue']=function(e2,e3){if(!e2||!e3)return null;let e4=Node['prototype']['isPrototypeOf'](e2)?BDFDB['getReactInstance'](e2):e2;if(!BDFDB['isObject'](e4))return null;let e5=e4;for(let e6 of e3['split']('.')['filter'](e7=>e7)){e5=e5[e6];if(e5==undefined)return null;}return e5;};BDFDB['getOwnerInstance']=function(e8){if(e8===undefined)return null;if(!e8['node']&&!e8['instance']||!e8['name']&&(!e8['props']||!Array['isArray'](e8['props'])))return null;var e9=e8['instance']||BDFDB['getReactInstance'](e8['node']);if(!e9)return null;e8['name']=e8['name']&&!Array['isArray'](e8['name'])?Array['of'](e8['name']):e8['name'];var ea=-0x1;var eb=e8['depth']===undefined?0xf:e8['depth'];var ec=e8['up']===undefined?![]:e8['up'];var ed=performance['now']();var ee=e8['time']===undefined?0x96:e8['time'];var ef=ec?{'return':!![],'sibling':!![],'_reactInternalFiber':!![]}:{'child':!![],'sibling':!![],'_reactInternalFiber':!![]};var eg={};var eh=ek(e9);if(e8['all']){for(let ei in eg){if(e8['group'])for(let e9 in eg[ei])delete eg[ei][e9]['BDFDBreactSearch'];else delete eg[ei]['BDFDBreactSearch'];}return eg;}else return eh;function ek(e9){ea++;if(!e9||Node['prototype']['isPrototypeOf'](e9)||BDFDB['getReactInstance'](e9)||ea>eb||performance['now']()-ed>ee)en=null;else{var em=Object['getOwnPropertyNames'](e9);var en=null;for(let eo=0x0;en==null&&eoe9['type']['displayName']===es['split']('\x20')[0x0]||e9['type']['name']===es['split']('\x20')[0x0])||e8['props']&&e8['props']['every'](et=>er[et]!==undefined)||e8['defaultProps']&&e8['defaultProps']['every'](eu=>er[eu]!==undefined))){if(e8['all']===undefined||!e8['all'])en=er;else if(e8['all']){if(e8['noCopies']===undefined||!e8['noCopies']||e8['noCopies']&&!er['BDFDBreactSearch']){er['BDFDBreactSearch']=!![];if(e8['group']){if(e8['name']&&e9['type']&&(e9['type']['displayName']||e9['type']['name'])){var ev='Default';for(let ew of e8['name'])if(e9['type']['displayName']===ew['split']('\x20')[0x0]||e9['type']['name']===ew['split']('\x20')[0x0]){ev=ew;break;}if(typeof eg[ev]=='undefined')eg[ev]={};BDFDB['pushToObject'](eg[ev],er);}}else BDFDB['pushToObject'](eg,er);}}}if(en==null&&(typeof eq==='object'||typeof eq==='function')&&ef[ep])en=ek(eq);}}ea--;return en;}};BDFDB['getKeyInformation']=function(ex){if(ex===undefined)return null;if(!ex['node']&&!ex['instance']||!ex['key'])return null;var ey=ex['instance']||BDFDB['getReactInstance'](ex['node']);if(!ey)return null;var ez=-0x1;var eA=ex['depth']===undefined?0xf:ex['depth'];var eB=performance['now']();var eC=ex['time']===undefined?0x96:ex['time'];var eD={'props':!![],'state':!![],'stateNode':!![],'refs':!![],'updater':!![],'prototype':!![],'type':!![],'children':ex['up']?![]:!![],'type':!![],'memoizedProps':!![],'memoizedState':!![],'child':ex['up']?![]:!![],'return':ex['up']?!![]:![],'sibling':ex['up']?![]:!![],'firstEffect':!![]};var eE={'contextSection':!![]};if(typeof ex['whitelist']==='object')Object['assign'](eD,ex['whiteList']);if(typeof ex['blacklist']==='object')Object['assign'](eE,ex['blacklist']);var eF=[];var eG=eH(ey);if(ex['all'])return eF;else return eG;function eH(ey){ez++;if(!ey||Node['prototype']['isPrototypeOf'](ey)||BDFDB['getReactInstance'](ey)||ez>eA||performance['now']()-eB>eC)eK=null;else{var eJ=Object['getOwnPropertyNames'](ey);var eK=null;for(let eL=0x0;eK==null&&eLeU['default']=eS},[eR])['default']:window['webpackJsonp']['push']([[],{[eR]:(eW,eX,eS)=>eW['exports']=eS},[[eR]]]);delete eS['m'][eR];delete eS['c'][eR];BDFDB['WebModules']['find']['req']=eS;}for(let eZ in BDFDB['WebModules']['find']['req']['c']){if(BDFDB['WebModules']['find']['req']['c']['hasOwnProperty'](eZ)){var f0=BDFDB['WebModules']['find']['req']['c'][eZ]['exports'];if(f0&&f0['__esModule']&&f0['default']&&eQ(f0['default']))return f0['default'];if(f0&&eQ(f0))return f0;}}};BDFDB['WebModules']['cachedData']={'prop':{},'name':{},'proto':{}};BDFDB['WebModules']['findByProperties']=function(f1){f1=Array['isArray'](f1)?f1:Array['from'](arguments);var f2=JSON['stringify'](f1);if(BDFDB['WebModules']['cachedData']['prop'][f2])return BDFDB['WebModules']['cachedData']['prop'][f2];else{var f3=BDFDB['WebModules']['find'](f3=>f1['every'](f5=>f3[f5]!==undefined));if(f3){BDFDB['WebModules']['cachedData']['prop'][f2]=f3;return f3;}else console['warn']('%c[BDFDB]%c','color:#3a71c1;\x20font-weight:700;','',f2+'\x20[properties]\x20not\x20found\x20in\x20WebModules');}};BDFDB['WebModules']['findByName']=function(f6){var f7=JSON['stringify'](f6);if(BDFDB['WebModules']['cachedData']['name'][f7])return BDFDB['WebModules']['cachedData']['name'][f7];else{var f8=BDFDB['WebModules']['find'](f8=>f8['displayName']===f6);if(f8){BDFDB['WebModules']['cachedData']['name'][f7]=f8;return f8;}else console['warn']('%c[BDFDB]%c','color:#3a71c1;\x20font-weight:700;','',f7+'\x20[name]\x20not\x20found\x20in\x20WebModules');}};BDFDB['WebModules']['findByPrototypes']=function(fa){fa=Array['isArray'](fa)?fa:Array['from'](arguments);var fb=JSON['stringify'](fa);if(BDFDB['WebModules']['cachedData']['proto'][fb])return BDFDB['WebModules']['cachedData']['proto'][fb];else{var fc=BDFDB['WebModules']['find'](fc=>fc['prototype']&&fa['every'](fe=>fc['prototype'][fe]!==undefined));if(fc){BDFDB['WebModules']['cachedData']['proto'][fb]=fc;return fc;}else console['warn']('%c[BDFDB]%c','color:#3a71c1;\x20font-weight:700;','',fb+'\x20[prototypes]\x20not\x20found\x20in\x20WebModules');}};BDFDB['WebModules']['patchtypes']=['before','instead','after'];BDFDB['WebModules']['patchmap']={'Account':'FluxContainer(Account)','BannedCard':'BannedUser','InvitationCard':'InviteRow','InviteCard':'InviteRow','PopoutContainer':'Popout','MemberCard':'Member','Note':'FluxContainer(Note)','WebhookCard':'Webhook'};BDFDB['WebModules']['notfindablemodules']={'AuthWrapper':'loginscreen','BannedCard':'guildsettingsbannedcard','CircleIconButton':'guildbuttoncontainer','EmojiPicker':'emojipicker','FriendsOnline':'friendsonline','GuildHeader':'guildheader','InstantInviteModal':'invitemodalwrapper','InvitationCard':'invitemodalinviterow','InviteCard':'guildsettingsinvitecard','PopoutContainer':'popout','PrivateChannelCall':'callcurrentcontainer','MemberCard':'guildsettingsmembercard','Message':'message','MessageOptionPopout':'optionpopout','MessageUsername':'messageusername','SearchResults':'searchresultswrap','TypingUsers':'typing','UserPopout':'userpopout','V2C_List':'_repolist','V2C_PluginCard':'_repoheader','V2C_ThemeCard':'_repoheader'};BDFDB['WebModules']['patch']=function(ff,fg,fh,fi){if(!ff||!fg||!fh||!Object['keys'](fi)['some'](fj=>BDFDB['WebModules']['patchtypes']['includes'](fj)))return null;const fk=(typeof fh==='string'?fh:fh['name'])['toLowerCase']();const fl=(fm,fn)=>(...fo)=>{try{return fm(...fo);}catch(fp){console['error']('Error\x20occurred\x20in\x20'+fn,fp);}};if(!ff['BDFDBpatch'])ff['BDFDBpatch']={};fg=Array['isArray'](fg)?fg:Array['of'](fg);for(let fq of fg){if(!ff[fq])ff[fq]=()=>{};const fr=ff[fq];if(!ff['BDFDBpatch'][fq]){ff['BDFDBpatch'][fq]={};for(let fs of BDFDB['WebModules']['patchtypes'])ff['BDFDBpatch'][fq][fs]={};ff['BDFDBpatch'][fq]['originalMethod']=fr;ff[fq]=function(){const ft={'thisObject':this,'methodArguments':arguments,'originalMethod':fr,'originalMethodName':fq,'callOriginalMethod':()=>ft['returnValue']=ft['originalMethod']['apply'](ft['thisObject'],ft['methodArguments'])};if(global['BDFDB']&&typeof BDFDB==='object'&&BDFDB['loaded']&&ff['BDFDBpatch'][fq]){if(!BDFDB['isObjectEmpty'](ff['BDFDBpatch'][fq]['before']))for(let fu in BDFDB['sortObject'](ff['BDFDBpatch'][fq]['before'])){fl(ff['BDFDBpatch'][fq]['before'][fu],'`before`\x20callback\x20of\x20'+ff[fq]['displayName'])(ft);}if(BDFDB['isObjectEmpty'](ff['BDFDBpatch'][fq]['instead']))ft['callOriginalMethod']();else for(let fv in BDFDB['sortObject'](ff['BDFDBpatch'][fq]['instead'])){const fw=fl(ff['BDFDBpatch'][fq]['instead'][fv],'`instead`\x20callback\x20of\x20'+ff[fq]['displayName'])(ft);if(fw!==undefined)ft['returnValue']=fw;}if(!BDFDB['isObjectEmpty'](ff['BDFDBpatch'][fq]['after']))for(let fx in BDFDB['sortObject'](ff['BDFDBpatch'][fq]['after'])){fl(ff['BDFDBpatch'][fq]['after'][fx],'`after`\x20callback\x20of\x20'+ff[fq]['displayName'])(ft);}}else ft['callOriginalMethod']();return ft['returnValue'];};}for(let fy of BDFDB['WebModules']['patchtypes'])if(typeof fi[fy]=='function')ff['BDFDBpatch'][fq][fy][fk]=fi[fy];}const fz=()=>{BDFDB['WebModules']['unpatch'](ff,fg,fh);};if(fh&&typeof fh=='object'){if(!Array['isArray'](fh['patchCancels']))fh['patchCancels']=[];fh['patchCancels']['push'](fz);}return fz;};BDFDB['WebModules']['unpatch']=function(fA,fB,fC){if(!fA||!fA['BDFDBpatch'])return;const fD=!fC?null:(typeof fC==='string'?fC:fC['name'])['toLowerCase']();fB=Array['isArray'](fB)?fB:Array['of'](fB);for(let fE of fB){if(fA[fE]&&fA['BDFDBpatch'][fE]){for(let fF of BDFDB['WebModules']['patchtypes']){if(fD)delete fA['BDFDBpatch'][fE][fF][fD];else delete fA['BDFDBpatch'][fE][fF];}var fG=!![];for(let fF of BDFDB['WebModules']['patchtypes'])if(!BDFDB['isObjectEmpty'](fA['BDFDBpatch'][fE][fF]))fG=![];if(fG){fA[fE]=fA['BDFDBpatch'][fE]['originalMethod'];delete fA['BDFDBpatch'][fE];if(BDFDB['isObjectEmpty'](fA['BDFDBpatch']))delete fA['BDFDBpatch'];}}}};BDFDB['WebModules']['unpatchall']=function(fI){if(BDFDB['isObject'](fI)&&Array['isArray'](fI['patchCancels']))for(let fJ of fI['patchCancels'])fJ();};BDFDB['WebModules']['forceAllUpdates']=function(fK,fL){fL=fL&&BDFDB['WebModules']['patchmap'][fL]?BDFDB['WebModules']['patchmap'][fL]+'\x20'+fL:fL;if(BDFDB['isObject'](fK)&&BDFDB['isObject'](fK['patchModules'])&&(!fL||fK['patchModules'][fL])){const fM=document['querySelector'](BDFDB['dotCN']['app']);const fN=document['querySelector']('#bd-settingspane-container\x20'+BDFDB['dotCN']['scrollerwrap']);if(fM){var fO=[];for(let fP in fK['patchModules']){var fQ=Array['isArray'](fK['patchModules'][fP])?fK['patchModules'][fP]:Array['of'](fK['patchModules'][fP]);if(fQ['includes']('componentDidUpdate')||fQ['includes']('componentDidMount')||fQ['includes']('render'))fO['push'](fP);}fO=fL?fO['filter'](fR=>fR==fL):fO;if(fO['length']>0x0){const fS=BDFDB['getOwnerInstance']({'node':fM,'name':fO,'all':!![],'noCopies':!![],'group':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let fP in fS)for(let fU in fS[fP])BDFDB['WebModules']['initiateProcess'](fK,fS[fP][fU],fP,['componentDidUpdate','componentDidMount','render']);if(fN){const fV=BDFDB['getOwnerInstance']({'node':fN,'name':fO,'all':!![],'noCopies':!![],'group':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let fP in fV)for(let fU in fV[fP])BDFDB['WebModules']['initiateProcess'](fK,fV[fP][fU],fP,['componentDidUpdate','componentDidMount','render']);}}}}};BDFDB['WebModules']['patchModules']=function(fY){if(BDFDB['isObject'](fY)&&BDFDB['isObject'](fY['patchModules'])){for(let fZ in fY['patchModules']){var g0=BDFDB['WebModules']['patchmap'][fZ];if(g0){fY['patchModules'][g0+'\x20'+fZ]=fY['patchModules'][fZ];delete fY['patchModules'][fZ];if(!BDFDB['WebModules']['notfindablemodules'][fZ])g3(BDFDB['WebModules']['findByName'](g0),g0+'\x20'+fZ);}else if(!BDFDB['WebModules']['notfindablemodules'][fZ])g3(BDFDB['WebModules']['findByName'](fZ),fZ);}for(let fZ in BDFDB['WebModules']['notfindablemodules']){var g2=BDFDB['WebModules']['patchmap'][fZ]?BDFDB['WebModules']['patchmap'][fZ]+'\x20'+fZ:fZ;if(BDFDB['DiscordClasses'][BDFDB['WebModules']['notfindablemodules'][fZ]]&&fY['patchModules'][g2])ga(BDFDB['WebModules']['notfindablemodules'][fZ],g2);}function g3(g4,fZ){if(g4){var g2=fZ['split']('\x20')[0x0];g4=g4['displayName']==g2?g4:BDFDB['getOwnerInstance']({'instance':g4,'name':g2,'up':!![]});if(g4){var g7=g4['_reactInternalFiber']&&g4['_reactInternalFiber']['type']?g4['_reactInternalFiber']['type']:g4;var g8={};g8[fY['name']=='$BDFDB'?'before':'after']=g9=>{if(global['BDFDB']&&typeof BDFDB==='object'&&BDFDB['loaded'])BDFDB['WebModules']['initiateProcess'](fY,g9['thisObject'],fZ,[g9['originalMethodName']]);};BDFDB['WebModules']['patch'](g7['prototype'],fY['patchModules'][fZ],fY,g8);}}}function ga(gb,fZ){var gd=![];const ge=document['querySelector'](BDFDB['dotCN']['app']);const gf=document['querySelector']('#bd-settingspane-container\x20'+BDFDB['dotCN']['scrollerwrap']);if(ge){var gg=BDFDB['getOwnerInstance']({'node':ge,'name':fZ,'depth':0x5f5e0ff,'time':0x5f5e0ff});if(gg){gd=!![];g3(gg,fZ);}}if(!gd&&gf){var gh=BDFDB['getOwnerInstance']({'node':gf,'name':fZ,'depth':0x5f5e0ff,'time':0x5f5e0ff});if(gh){gd=!![];g3(gh,fZ);}}if(!gd){var gi=![],gj=new MutationObserver(gk=>{gk['forEach'](gl=>{gl['addedNodes']['forEach'](gm=>{var gn=null;if(!gi&&gm['tagName']&&(gn=BDFDB['containsClass'](gm,BDFDB['disCN'][gb])?gm:gm['querySelector'](BDFDB['dotCN'][gb]))!=null){instance=BDFDB['getReactInstance'](gn);if(go(instance,fZ)){gi=!![];gj['disconnect']();g3(instance,fZ);BDFDB['WebModules']['forceAllUpdates'](fY,fZ);}}});});});BDFDB['addObserver'](fY,BDFDB['dotCN']['appmount'],{'name':'checkForInstanceObserver','instance':gj,'multi':!![]},{'childList':!![],'subtree':!![]});}}function go(gp,fZ){if(!gp)return![];gp=gp['displayName']==fZ?gp:BDFDB['getOwnerInstance']({'instance':gp,'name':fZ,'up':!![]});return gp&&(fZ!='V2C_PluginCard'&&fZ!='V2C_ThemeCard'||fZ=='V2C_PluginCard'&&BDFDB['checkWhichRepoPage']()=='plugins'||fZ=='V2C_ThemeCard'&&BDFDB['checkWhichRepoPage']()=='themes');}}};BDFDB['WebModules']['initiateProcess']=function(gr,gs,gt,gu){if(gr&&typeof gr=='object'&&gs){gt=(gt['split']('\x20')[0x1]||gt)['replace'](/[^A-z0-9]|_/g,'');gt=gt[0x0]['toUpperCase']()+gt['slice'](0x1);if(typeof gr['process'+gt]=='function'){var gv=BDFDB['React']['findDOMNodeSafe'](gs);if(gv)gr['process'+gt](gs,gv,gu);else setImmediate(()=>{gv=BDFDB['React']['findDOMNodeSafe'](gs);if(gv)gr['process'+gt](gs,gv,gu);});}}};var gw=BDFDB['WebModules']['findByProperties']('createElement','cloneElement');var gx=BDFDB['WebModules']['findByProperties']('render','findDOMNode');if(gw&&gx){BDFDB['React']=Object['assign']({},gw,gx);BDFDB['React']['findDOMNodeSafe']=function(gy){if(!gy||!gy['updater']||typeof gy['updater']['isMounted']!=='function'||!gy['updater']['isMounted'](gy))return null;var gz=gx['findDOMNode'](gy)||BDFDB['getReactValue'](gy,'child.stateNode');return Node['prototype']['isPrototypeOf'](gz)?gz:null;};};BDFDB['addOnSwitchListener']=function(gA){if(typeof gA['onSwitch']==='function'){BDFDB['removeOnSwitchListener'](gA);var gB=document['querySelector'](BDFDB['dotCN']['guildswrapper']+'\x20+\x20*\x20>\x20'+BDFDB['dotCN']['chatspacer']);if(gB){var gC=new MutationObserver(gD=>{gD['forEach'](gE=>{if(gE['target']&&BDFDB['containsClass'](gE['target'],BDFDB['disCN']['nochannel']))gA['onSwitch']();});});var gF=gB['querySelector'](BDFDB['dotCNC']['chat']+BDFDB['dotCN']['nochannel']);if(gF)gC['observe'](gF,{'attributes':!![]});gA['onSwitchFix']=new MutationObserver(gG=>{gG['forEach'](gH=>{if(gH['addedNodes']){gH['addedNodes']['forEach'](gI=>{if(BDFDB['containsClass'](gI,BDFDB['disCN']['chat'],BDFDB['disCN']['nochannel'],![]))gC['observe'](gI,{'attributes':!![]});});}});});gA['onSwitchFix']['observe'](gB,{'childList':!![]});}}};BDFDB['removeOnSwitchListener']=function(gJ){if(typeof gJ['onSwitch']==='function'&&BDFDB['isObject'](gJ['onSwitchFix'])){gJ['onSwitchFix']['disconnect']();delete gJ['onSwitchFix'];}};BDFDB['addContextListener']=function(gK){for(let gL of['User','Guild','Channel','GroupDM','Message','Native','UserSettingsCog']){if(typeof gK['on'+gL+'Context']==='function'||typeof gK['on'+gL+'ContextMenu']==='function'){if(gL=='GroupDM'){var gM=![],gN=new MutationObserver(gO=>{gO['forEach'](gP=>{gP['addedNodes']['forEach'](gQ=>{var gR=null;if(!gM&&gQ['tagName']&&(gR=BDFDB['containsClass'](gQ,BDFDB['disCN']['contextmenu'])?gQ:gQ['querySelector'](BDFDB['dotCN']['contextmenu']))!=null){var gS=BDFDB['getReactInstance'](gR);if(gS&&gS['return']&&gS['return']['type']&&gS['return']['type']['displayName']==gL+'ContextMenu'){gM=!![];gN['disconnect']();gT(gL,gS['return']['type']);gX(gL,gS['return']['stateNode'],gS['stateNode']);}}});});});BDFDB['addObserver'](gK,BDFDB['dotCN']['appmount'],{'name':'checkForContextObserver','instance':gN,'multi':!![]},{'childList':!![],'subtree':!![]});}else gT(gL,BDFDB['WebModules']['findByName'](gL+'ContextMenu'));}}function gT(gL,gV){if(gV&&gV['prototype'])BDFDB['WebModules']['patch'](gV['prototype'],'componentDidMount',gK,{'after':gW=>{gX(gL,gW['thisObject'],BDFDB['React']['findDOMNodeSafe'](gW['thisObject']));}});}function gX(gL,gZ,h0){if(gZ&&h0){if(typeof gK['on'+gL+'Context']==='function')gK['on'+gL+'Context'](gZ,h0);if(typeof gK['on'+gL+'ContextMenu']==='function')gK['on'+gL+'ContextMenu'](gZ,h0);BDFDB['initElements'](h0,gK);BDFDB['updateContextPosition'](h0);}}};BDFDB['addSettingsButtonListener']=function(h1){if(BDFDB['isBDv2']()&&typeof h1['getSettingsPanel']==='function'){BDFDB['removeSettingsButtonListener'](h1);BDFDB['appendSettingsButton'](h1);var h2=document['querySelector']('.bd-content-region\x20>\x20.bd-content');if(h2){h1['settingsButtonObserver']=new MutationObserver(h3=>{h3['forEach'](h4=>{if(h4['addedNodes']){h4['addedNodes']['forEach'](h5=>{if(h5['tagName']&&BDFDB['containsClass'](h5,'active'))BDFDB['appendSettingsButton'](h1);});}});});h1['settingsButtonObserver']['observe'](h2,{'childList':!![]});}}};BDFDB['appendSettingsButton']=function(h6){var h7=document['querySelector'](BDFDB['dotCN']['_bdv2card']+'[data-plugin-id='+h6['id']+']');if(h7){var h8=BDFDB['htmlToElement']('');h7['insertBefore'](h8,h7['querySelector'](BDFDB['d']['_bdv2button']));h8['addEventListener']('mouseenter',()=>{BDFDB['createTooltip']('Settings',h8,{'type':'top'});BDFDB['addClass'](h8,BDFDB['disCN']['_bdv2tooltipopen']);});h8['addEventListener']('mouseleave',()=>{BDFDB['removeClass'](h8,BDFDB['disCN']['_bdv2tooltipopen']);});h8['addEventListener']('click',()=>{var h9=BDFDB['htmlToElement'](''+h6['name']+'\x20Settings
');var ha=h6['getSettingsPanel']();h9['querySelector'](BDFDB['dotCN']['modalsubinner'])['appendChild'](typeof ha=='string'?BDFDB['htmlToElement'](ha):ha);if(typeof h6['onSettingsClosed']==='function')BDFDB['addChildEventListener'](h9,'click',BDFDB['dotCNC']['modalclose']+BDFDB['dotCN']['backdrop'],()=>{h6['onSettingsClosed']();});BDFDB['appendModal'](h9);});}};BDFDB['removeSettingsButtonListener']=function(hb){if(BDFDB['isBDv2']()&&typeof hb['settingsButtonObserver']==='object'){BDFDB['removeEles']('.bd-card[data-plugin-id='+hb['id']+']\x20.BDFDB-settingsbutton');hb['settingsButtonObserver']['disconnect']();delete hb['settingsButtonObserver'];}};var hc={},hd=BDFDB['WebModules']['findByProperties']('Messages'),he=hd?Object['assign']({},hd['_proxyContext']['defaultMessages']):{};BDFDB['LanguageStrings']=new Proxy(he,{'get':function(hf,hg){var hh=hd['Messages'][hg];if(!hh)console['warn']('%c[BDFDB]%c','color:#3a71c1;\x20font-weight:700;','',hg+'\x20not\x20found\x20in\x20BDFDB.LanguageStrings');else{var hi=typeof hh=='object'?hh['format'](Object['assign']({},hc)):hh;if(typeof hi=='string')return hi;else if(Array['isArray'](hi)){var hj='';for(let hk of hi){if(typeof hk=='string')hj+=BDFDB['encodeToHTML'](hk);else if(BDFDB['isObject'](hk)&&hk['props'])hj+='<'+hk['type']+'>'+BDFDB['encodeToHTML'](hk['props']['children'][0x0]['toString']())+''+hk['type']+'>';}return hj;}else console['warn']('%c[BDFDB]%c','color:#3a71c1;\x20font-weight:700;','',hg+'\x20could\x20not\x20be\x20parsed\x20from\x20BDFDB.LanguageStrings');}return'';}});BDFDB['LanguageStringsCheck']=new Proxy(he,{'get':function(hl,hm){return hd['Messages'][hm];}});BDFDB['LanguageStringsFormat']=function(hn,ho){if(hn&&ho){var hp=hd['Messages'][hn];if(hp&&typeof hp=='object'&&typeof hp['format']=='function'){try{var hq={};for(let hr in hc)hq[hr]=ho;var hs=hp['format'](hq);if(typeof hs=='string')return hs;else if(Array['isArray'](hs)){var ht='';for(let hu of hs){if(typeof hu=='string')ht+=BDFDB['encodeToHTML'](hu);else if(BDFDB['isObject'](hu)&&hu['props'])ht+='<'+hu['type']+'>'+BDFDB['encodeToHTML'](hu['props']['children'][0x0]['toString']())+''+hu['type']+'>';}return ht;}}catch(hv){console['warn']('%c[BDFDB]%c','color:#3a71c1;\x20font-weight:700;','',hn+'\x20failed\x20to\x20format\x20string\x20in\x20BDFDB.LanguageStrings');}}else console['warn']('%c[BDFDB]%c','color:#3a71c1;\x20font-weight:700;','',hn+'\x20is\x20not\x20a\x20formatable\x20string\x20in\x20BDFDB.LanguageStrings');}else console['warn']('%c[BDFDB]%c','color:#3a71c1;\x20font-weight:700;','',hn+'\x20enter\x20a\x20valid\x20key\x20and\x20value\x20to\x20format\x20the\x20string');return'';};if(hd)for(let hw in he){try{BDFDB['LanguageStrings'][hw];}catch(hx){let hy=hx['toString']()['split']('for:\x20')[0x1];if(hy&&typeof hy=='string'&&!hc[hy])hc[hy]='{{'+hy['toLowerCase']()+'}}';}};BDFDB['equals']=function(hz,hA,hB){var hC=-0x1;if(hB===undefined||typeof hB!=='boolean')hB=![];return hD(hz,hA);function hD(hE,hF){hC++;var hG=!![];if(hC>0x3e8)hG=null;else{if(typeof hE!==typeof hF)hG=![];else if(typeof hE==='undefined')hG=!![];else if(typeof hE==='symbol')hG=!![];else if(typeof hE==='boolean')hG=hE==hF;else if(typeof hE==='string')hG=hE==hF;else if(typeof hE==='number'){if(isNaN(hE)||isNaN(hF))hG=isNaN(hE)==isNaN(hF);else hG=hE==hF;}else if(!hE&&!hF)hG=!![];else if(!hE||!hF)hG=![];else if(typeof hE==='function'||typeof hE==='object'){var hH=Object['getOwnPropertyNames'](hE);var hI=Object['getOwnPropertyNames'](hF);if(hH['length']!==hI['length'])hG=![];else for(let hJ=0x0;hG===!![]&&hJi1['length']?i4:i1['length'];};BDFDB['readServerList']=function(){var i5=[],i6=BDFDB['getOwnerInstance']({'node':document['querySelector'](BDFDB['dotCN']['guilds']),'name':'Guild','all':!![],'noCopies':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let i7 in i6)if(i6[i7]['props']&&i6[i7]['props']['guild']&&i6[i7]['_reactInternalFiber']['child'])i5['push'](Object['assign'](new i6[i7]['props']['guild']['constructor'](i6[i7]['props']['guild']),{'div':BDFDB['React']['findDOMNodeSafe'](i6[i7]),'instance':i6[i7]}));return i5;};BDFDB['readUnreadServerList']=function(i8){var i9=[];for(let ia of i8===undefined||!Array['isArray'](i8)?BDFDB['readServerList']():i8){let ib=Node['prototype']['isPrototypeOf'](ia)?ia:ia&&ia['div']?ia['div']:null;let ic=BDFDB['getReactValue'](ib,'return.stateNode.props');if(ic&&(ic['unread']||ic['badge']>0x0))i9['push'](ia);}return i9;};BDFDB['readMutedServerList']=function(id){var ie=[],ig=BDFDB['WebModules']['findByProperties']('isGuildOrCategoryOrChannelMuted');for(let ih of id===undefined||!Array['isArray'](id)?BDFDB['readServerList']():id){let ii=Node['prototype']['isPrototypeOf'](ih)?ih:ih&&ih['div']?ih['div']:null;let ij=BDFDB['getReactValue'](ii,'return.stateNode.props.guild.id');if(ij&&ig['isGuildOrCategoryOrChannelMuted'](ij))ie['push'](ih);}return ie;};BDFDB['getSelectedServer']=function(){var ik=BDFDB['WebModules']['findByProperties']('getGuilds')['getGuild'](BDFDB['WebModules']['findByProperties']('getLastSelectedGuildId')['getGuildId']());if(ik)return BDFDB['getServerData'](ik['id'])||Object['assign'](new ik['constructor'](ik),{'div':null,'instance':null});else return null;};BDFDB['getServerID']=function(il){if(!Node['prototype']['isPrototypeOf'](il)||!BDFDB['getReactInstance'](il))return;let im=BDFDB['getParentEle'](BDFDB['dotCN']['guildouter'],il);if(!im)return;var io=im['querySelector'](BDFDB['dotCN']['guildiconwrapper']);var ip=io&&io['href']?io['href']['split']('/')['slice'](-0x2)[0x0]:null;return ip&&!isNaN(parseInt(ip))?ip['toString']():null;};BDFDB['getServerDiv']=function(iq){if(!iq)return null;if(Node['prototype']['isPrototypeOf'](iq))return BDFDB['getParentEle'](BDFDB['dotCN']['guildouter'],iq);else{let ir=typeof iq=='object'?iq['id']:iq;if(ir)return BDFDB['getParentEle'](BDFDB['dotCN']['guildouter'],document['querySelector'](BDFDB['dotCNS']['guilds']+BDFDB['dotCN']['guildiconwrapper']+'[href*=\x22/channels/'+ir+'\x22]'));}return null;};BDFDB['getServerData']=function(is){if(!is)return null;let it=Node['prototype']['isPrototypeOf'](is)?BDFDB['getServerID'](is):typeof is=='object'?is['id']:is;it=typeof it=='number'?it['toFixed']():it;for(let iu of BDFDB['readServerList']())if(iu&&iu['id']==it)return iu;return null;};BDFDB['readChannelList']=function(){var iv=[],iw=BDFDB['getOwnerInstance']({'node':document['querySelector'](BDFDB['dotCN']['channels']),'name':['ChannelCategoryItem','ChannelItem','PrivateChannel'],'all':!![],'noCopies':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let ix in iw)if(iw[ix]['props']&&!iw[ix]['props']['ispin']&&iw[ix]['props']['channel']&&iw[ix]['_reactInternalFiber']['return']){var iy=BDFDB['React']['findDOMNodeSafe'](iw[ix]);iy=iy&&BDFDB['containsClass'](iy['parentElement'],BDFDB['disCN']['categorycontainerdefault'],BDFDB['disCN']['channelcontainerdefault'],![])?iy['parentElement']:iy;iv['push'](Object['assign'](new iw[ix]['props']['channel']['constructor'](iw[ix]['props']['channel']),{'div':iy,'instance':iw[ix]}));}return iv;};BDFDB['getSelectedChannel']=function(){var iz=BDFDB['WebModules']['findByProperties']('getChannels')['getChannel'](BDFDB['WebModules']['findByProperties']('getLastSelectedChannelId')['getChannelId']());if(iz)return BDFDB['getChannelData'](iz['id'])||Object['assign'](new iz['constructor'](iz),{'div':null,'instance':null});else return null;};BDFDB['getChannelID']=function(iA){if(!Node['prototype']['isPrototypeOf'](iA)||!BDFDB['getReactInstance'](iA))return;iA=BDFDB['getParentEle'](BDFDB['dotCNC']['categorycontainerdefault']+BDFDB['dotCNC']['channelcontainerdefault']+BDFDB['dotCN']['dmchannel'],iA);if(!iA)return;var iB=BDFDB['getKeyInformation']({'node':iA,'key':'channel'});return iB?iB['id']['toString']():null;};BDFDB['getChannelDiv']=function(iC){if(!iC)return null;let iD=BDFDB['getChannelData'](iC);return iD?iD['div']:null;};BDFDB['getChannelData']=function(iE){if(!iE)return null;let iF=Node['prototype']['isPrototypeOf'](iE)?BDFDB['getChannelID'](iE):typeof iE=='object'?iE['id']:iE;iF=typeof iF=='number'?iF['toFixed']():iF;for(let iG of BDFDB['readChannelList']())if(iG&&iG['id']==iF)return iG;return null;};BDFDB['readDmList']=function(){var iH=[],iI=BDFDB['getOwnerInstance']({'node':document['querySelector'](BDFDB['dotCN']['guilds']),'name':'DirectMessage','all':!![],'noCopies':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let iJ in iI)if(iI[iJ]['props']&&iI[iJ]['props']['channel']&&iI[iJ]['_reactInternalFiber']['child'])iH['push'](Object['assign'](new iI[iJ]['props']['channel']['constructor'](iI[iJ]['props']['channel']),{'div':BDFDB['React']['findDOMNodeSafe'](iI[iJ]),'instance':iI[iJ]}));return iH;};BDFDB['getDmID']=function(iK){if(!Node['prototype']['isPrototypeOf'](iK)||!BDFDB['getReactInstance'](iK))return;let iL=BDFDB['getParentEle'](BDFDB['dotCN']['guildouter'],iK);if(!iL)return;var iM=iL['querySelector'](BDFDB['dotCN']['guildiconwrapper']);var iN=iM&&iM['href']?iM['href']['split']('/')['slice'](-0x1)[0x0]:null;return iN&&!isNaN(parseInt(iN))?iN['toString']():null;};BDFDB['getDmDiv']=function(iO){if(!iO)return null;if(Node['prototype']['isPrototypeOf'](iO)){var iP=BDFDB['getParentEle'](BDFDB['dotCN']['guildouter'],iO);return iP?iP['parentElement']:iP;}else{let iQ=typeof iO=='object'?iO['id']:iO;if(iQ){var iP=BDFDB['getParentEle'](BDFDB['dotCN']['guildouter'],document['querySelector'](BDFDB['dotCNS']['guilds']+BDFDB['dotCN']['dmpill']+'\x20+\x20*\x20'+BDFDB['dotCN']['guildiconwrapper']+'[href*=\x22/channels/@me/'+iQ+'\x22]'));return iP&&BDFDB?iP['parentElement']:iP;}}return null;};BDFDB['getDmData']=function(iS){if(!iS)return null;let iT=Node['prototype']['isPrototypeOf'](iS)?BDFDB['getDmID'](iS):typeof iS=='object'?iS['id']:iS;iT=typeof iT=='number'?iT['toFixed']():iT;for(let iU of BDFDB['readDmList']())if(iU&&iU['id']==iT)return iU;return null;};BDFDB['markChannelAsRead']=function(iV){if(!iV)return;var iW=BDFDB['WebModules']['findByProperties']('getOldestUnreadMessageId');var iX=BDFDB['WebModules']['findByProperties']('ack','localAck');if(!iW||!iX)return;for(let iY of Array['isArray'](iV)?iV:typeof iV=='string'||typeof iV=='number'?Array['of'](iV):Array['from'](iV)){let iZ=Node['prototype']['isPrototypeOf'](iY)?BDFDB['getChannelID'](iY)||BDFDB['getDmID'](iY):iY&&typeof iY=='object'?iY['id']:iY;if(iZ){let j0=iW['getOldestUnreadMessageId'](iZ);if(j0)iX['ack'](iZ,!![],!![]);}}};BDFDB['markGuildAsRead']=function(j1){if(!j1)return;var j2=BDFDB['WebModules']['findByProperties']('markGuildAsRead');if(!j2)return;for(let j3 of Array['isArray'](j1)?j1:typeof j1=='string'||typeof j1=='number'?Array['of'](j1):Array['from'](j1)){let j4=Node['prototype']['isPrototypeOf'](j3)?BDFDB['getServerID'](j3):j3&&typeof j3=='object'?j3['id']:j3;if(j4)j2['markGuildAsRead'](j4);}};BDFDB['saveAllData']=function(j5,j6,j7){var j8=require('fs'),j9,ja;if(!BDFDB['isBDv2']()){ja=typeof j6==='string'?j6:j6['name'];j9=require('path')['join'](BDFDB['getPluginsFolder'](),ja+'.config.json');}else{ja=typeof j6==='string'?j6['toLowerCase']():null;var jb=ja?BDFDB['Plugins'][ja]?BDFDB['Plugins'][ja]['contentPath']:null:j6['contentPath'];if(!jb)return;j9=require('path')['join'](jb,'settings.json');}var jc=j8['existsSync'](j9);var jd=!jc?{}:typeof BDFDB['cachedData'][ja]!=='undefined'?BDFDB['cachedData'][ja]:BDFDB['readConfig'](j9);jd[j7]=j5;if(BDFDB['isObjectEmpty'](jd[j7]))delete jd[j7];if(BDFDB['isObjectEmpty'](jd)){delete BDFDB['cachedData'][ja];if(jc)j8['unlinkSync'](j9);}else{BDFDB['cachedData'][ja]=jd;j8['writeFileSync'](j9,JSON['stringify'](jd,null,'\x09'));}};BDFDB['loadAllData']=function(je,jf){var jg=require('fs'),jh,ji;if(!BDFDB['isBDv2']()){ji=typeof je==='string'?je:je['name'];jh=require('path')['join'](BDFDB['getPluginsFolder'](),ji+'.config.json');}else{ji=typeof je==='string'?je['toLowerCase']():null;var jj=ji?BDFDB['Plugins'][ji]?BDFDB['Plugins'][ji]['contentPath']:null:je['contentPath'];if(!jj)return{};jh=require('path')['join'](jj,'settings.json');}if(!jg['existsSync'](jh)){delete BDFDB['cachedData'][ji];return{};}var jk=typeof BDFDB['cachedData'][ji]!=='undefined'?BDFDB['cachedData'][ji]:BDFDB['readConfig'](jh);BDFDB['cachedData'][ji]=jk;return jk&&typeof jk[jf]!=='undefined'?jk[jf]:{};};BDFDB['removeAllData']=function(jl,jm){var jn=require('fs'),jo,jp;if(!BDFDB['isBDv2']()){jp=typeof jl==='string'?jl:jl['name'];jo=require('path')['join'](BDFDB['getPluginsFolder'](),jp+'.config.json');}else{jp=typeof jl==='string'?jl['toLowerCase']():null;var jq=jp?BDFDB['Plugins'][jp]?BDFDB['Plugins'][jp]['contentPath']:null:jl['contentPath'];if(!jq)return;jo=require('path')['join'](jq,'settings.json');}var jr=jn['existsSync'](jo);var js=!jr?{}:typeof BDFDB['cachedData'][jp]!=='undefined'?BDFDB['cachedData'][jp]:BDFDB['readConfig'](jo);delete js[jm];if(BDFDB['isObjectEmpty'](js)){delete BDFDB['cachedData'][jp];if(jr)jn['unlinkSync'](jo);}else{BDFDB['cachedData'][jp]=js;jn['writeFileSync'](jo,JSON['stringify'](js,null,'\x09'));}};BDFDB['getAllData']=function(jt,ju){if(!BDFDB['isObject'](jt)||!jt['defaults']||!jt['defaults'][ju])return{};var jv=BDFDB['loadAllData'](jt,ju),jw={},jx=![];for(let jy in jt['defaults'][ju]){if(jv[jy]==null){jw[jy]=jt['defaults'][ju][jy]['value'];jx=!![];}else jw[jy]=jv[jy];}if(jx)BDFDB['saveAllData'](jw,jt,ju);return jw;};BDFDB['readConfig']=function(jz){try{return JSON['parse'](require('fs')['readFileSync'](jz));}catch(jA){return{};}};BDFDB['saveData']=function(jB,jC,jD,jE){var jF=BDFDB['loadAllData'](jD,jE);jF[jB]=jC;BDFDB['saveAllData'](jF,jD,jE);};BDFDB['loadData']=function(jG,jH,jI){var jJ=BDFDB['loadAllData'](jH,jI);var jK=jJ[jG];return jK===undefined?null:jK;};BDFDB['removeData']=function(jL,jM,jN){var jO=BDFDB['loadAllData'](jM,jN);delete jO[jL];BDFDB['saveAllData'](jO,jM,jN);};BDFDB['getData']=function(jP,jQ,jR){var jS=BDFDB['getAllData'](jQ,jR);var jT=jS[jP];return jT===undefined?null:jT;};BDFDB['appendWebScript']=function(jU,jV){if(!jV&&!document['head']['querySelector']('bd-head\x20bd-scripts'))document['head']['appendChild'](BDFDB['htmlToElement'](''));jV=jV||document['head']['querySelector']('bd-head\x20bd-scripts')||document['head'];jV=Node['prototype']['isPrototypeOf'](jV)?jV:document['head'];BDFDB['removeWebScript'](jU,jV);jV['appendChild'](BDFDB['htmlToElement'](''));};BDFDB['removeWebScript']=function(jW,jX){jX=jX||document['head']['querySelector']('bd-head\x20bd-scripts')||document['head'];jX=Node['prototype']['isPrototypeOf'](jX)?jX:document['head'];BDFDB['removeEles'](jX['querySelectorAll']('script[src=\x22'+jW+'\x22]'));};BDFDB['appendWebStyle']=function(jY,jZ){if(!jZ&&!document['head']['querySelector']('bd-head\x20bd-styles'))document['head']['appendChild'](BDFDB['htmlToElement'](''));jZ=jZ||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];jZ=Node['prototype']['isPrototypeOf'](jZ)?jZ:document['head'];BDFDB['removeWebStyle'](jY,jZ);jZ['appendChild'](BDFDB['htmlToElement'](''));};BDFDB['removeWebStyle']=function(k0,k1){k1=k1||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];k1=Node['prototype']['isPrototypeOf'](k1)?k1:document['head'];BDFDB['removeEles'](k1['querySelectorAll']('link[href=\x22'+k0+'\x22]'));};BDFDB['appendLocalStyle']=function(k2,k3,k4){if(!k4&&!document['head']['querySelector']('bd-head\x20bd-styles'))document['head']['appendChild'](BDFDB['htmlToElement'](''));k4=k4||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];k4=Node['prototype']['isPrototypeOf'](k4)?k4:document['head'];BDFDB['removeLocalStyle'](k2,k4);k4['appendChild'](BDFDB['htmlToElement'](''));};BDFDB['removeLocalStyle']=function(k5,k6){k6=k6||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];k6=Node['prototype']['isPrototypeOf'](k6)?k6:document['head'];BDFDB['removeEles'](k6['querySelectorAll']('style[id=\x22'+k5+'CSS\x22]'));};BDFDB['formatBytes']=function(k7,k8){k7=parseInt(k7);if(isNaN(k7)||k7<0x0)return'0\x20Bytes';if(k7==0x1)return'1\x20Byte';var k9=Math['floor'](Math['log'](k7)/Math['log'](0x400));return parseFloat((k7/Math['pow'](0x400,k9))['toFixed'](k8<0x1?0x0:k8>0x14?0x14:k8||0x2))+'\x20'+['Bytes','KB','MB','GB','TB','PB','EB','ZB','YB'][k9];};BDFDB['colorCONVERT']=function(ka,kb,kc){if(!ka)return null;kb=kb===undefined||!kb?kb='RGBCOMP':kb['toUpperCase']();kc=kc===undefined||!kc||!['RGB','RGBA','RGBCOMP','HSL','HSLA','HSLCOMP']['includes'](kc['toUpperCase']())?BDFDB['colorTYPE'](ka):kc['toUpperCase']();if(kb=='RGBCOMP'){switch(kc){case'RGBCOMP':if(ka['length']==0x3)return kM(ka);else if(ka['length']==0x4){var kd=kP(ka['pop']());return kM(ka)['concat'](kd);}case'RGB':return kM(ka['replace'](/\s/g,'')['slice'](0x4,-0x1)['split'](','));case'RGBA':var ke=ka['replace'](/\s/g,'')['slice'](0x5,-0x1)['split'](',');var kd=kP(ke['pop']());return kM(ke)['concat'](kd);case'HSLCOMP':if(ka['length']==0x3)return BDFDB['colorCONVERT']('hsl('+ka['join'](',')+')','RGBCOMP');else if(ka['length']==0x4){var kd=kP(jg['pop']());return BDFDB['colorCONVERT']('hsl('+jg['join'](',')+')','RGBCOMP')['concat'](kd);}case'HSL':var kh=kT(ka['replace'](/\s/g,'')['slice'](0x4,-0x1)['split'](','));var ki,kj,kk,kl,km,kn,ko,kp;var kq=kh[0x0]/0x168,kr=parseInt(kh[0x1])/0x64,ks=parseInt(kh[0x2])/0x64;kl=Math['floor'](kq*0x6);km=kq*0x6-kl;kn=ks*(0x1-kr);ko=ks*(0x1-km*kr);kp=ks*(0x1-(0x1-km)*kr);switch(kl%0x6){case 0x0:ki=ks,kj=kp,kk=kn;break;case 0x1:ki=ko,kj=ks,kk=kn;break;case 0x2:ki=kn,kj=ks,kk=kp;break;case 0x3:ki=kn,kj=ko,kk=ks;break;case 0x4:ki=kp,kj=kn,kk=ks;break;case 0x5:ki=ks,kj=kn,kk=ko;break;}return[Math['round'](ki*0xff),Math['round'](kj*0xff),Math['round'](kk*0xff)];case'HSLA':var kh=ka['replace'](/\s/g,'')['slice'](0x5,-0x1)['split'](',');var kd=kP(kh['pop']());return BDFDB['colorCONVERT']('hsl('+kh['join'](',')+')','RGBCOMP')['concat'](kd);case'HEX':var kv=/^#([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'](ka);return[parseInt(kv[0x1]+kv[0x1]||kv[0x4],0x10)['toString'](),parseInt(kv[0x2]+kv[0x2]||kv[0x5],0x10)['toString'](),parseInt(kv[0x3]+kv[0x3]||kv[0x6],0x10)['toString']()];default:return null;}}else{var kw=kc=='RGBCOMP'?ka:BDFDB['colorCONVERT'](ka,'RGBCOMP',kc);if(kw)switch(kb){case'RGB':return'rgb('+kM(kw['slice'](0x0,0x3))['join'](',')+')';case'RGBA':kw=kw['slice'](0x0,0x4);var kd=kw['length']==0x4?kP(kw['pop']()):0x1;return'rgba('+kM(kw)['concat'](kd)['join'](',')+')';case'HSLCOMP':var kd=kw['length']==0x4?kP(kw['pop']()):null;var kh=kT(BDFDB['colorCONVERT'](kw,'HSL')['replace'](/\s/g,'')['split'](','));return kd?kh['concat'](kd):kh;case'HSL':var ki=kK(kw[0x0]),kj=kK(kw[0x1]),kk=kK(kw[0x2]);var kD=Math['max'](ki,kj,kk),kE=Math['min'](ki,kj,kk),kF=kD-kE,kq,kr=kD===0x0?0x0:kF/kD,ks=kD/0xff;switch(kD){case kE:kq=0x0;break;case ki:kq=kj-kk+kF*(kj0xff?0xff:km<0x0?0x0:km;};function kM(ke){return ke['map'](km=>{return kK(km);});};function kP(kd){kd=kd['toString']();kd=(kd['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(kd['replace'](/[^0-9\.\-]/g,''));return isNaN(kd)||kd>0x1?0x1:kd<0x0?0x0:kd;};function kR(kS){kS=parseFloat(kS['toString']()['replace'](/[^0-9\.\-]/g,''));return(isNaN(kS)||kS>0x64?0x64:kS<0x0?0x0:kS)+'%';};function kT(ke){let kq=parseFloat(ke['shift']()['toString']()['replace'](/[^0-9\.\-]/g,''));kq=isNaN(kq)||kq>0x168?0x168:kq<0x0?0x0:kq;return[kq]['concat'](ke['map'](kW=>{return kR(kW);}));};};BDFDB['colorSETALPHA']=function(kX,kY,kZ){var l0=BDFDB['colorCONVERT'](kX,'RGBCOMP');if(l0){kY=kY['toString']();kY=(kY['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(kY['replace'](/[^0-9\.\-]/g,''));kY=isNaN(kY)||kY>0x1?0x1:kY<0x0?0x0:kY;l0[0x3]=kY;kZ=(kZ||BDFDB['colorTYPE'](kX))['toUpperCase']();kZ=kZ=='HSL'||kZ=='RGB'?kZ+'A':kZ;return BDFDB['colorCONVERT'](l0,kZ);}return null;};BDFDB['colorCHANGE']=function(l1,l2,l3){l2=parseFloat(l2);if(l1&&typeof l2=='number'&&!isNaN(l2)){var l4=BDFDB['colorCONVERT'](l1,'RGBCOMP');if(l4){if(parseInt(l2)!==l2){l2=l2['toString']();l2=(l2['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(l2['replace'](/[^0-9\.\-]/g,''));l2=isNaN(l2)?0x0:l2;return BDFDB['colorCONVERT']([Math['round'](l4[0x0]*(0x1+l2)),Math['round'](l4[0x1]*(0x1+l2)),Math['round'](l4[0x2]*(0x1+l2))],l3||BDFDB['colorTYPE'](l1));}else return BDFDB['colorCONVERT']([Math['round'](l4[0x0]+l2),Math['round'](l4[0x1]+l2),Math['round'](l4[0x2]+l2)],l3||BDFDB['colorTYPE'](l1));}}return null;};BDFDB['colorINV']=function(l5,l6){if(l5){var l7=BDFDB['colorCONVERT'](l5,'RGBCOMP');if(l7)return BDFDB['colorCONVERT']([0xff-l7[0x0],0xff-l7[0x1],0xff-l7[0x2]],l6||BDFDB['colorTYPE'](l5));}return null;};BDFDB['colorCOMPARE']=function(l8,l9){if(l8&&l9){l8=BDFDB['colorCONVERT'](l8,'RGBCOMP');l9=BDFDB['colorCONVERT'](l9,'RGBCOMP');if(l8&&l9)return BDFDB['equals'](l8,l9);}return null;};BDFDB['colorISBRIGHT']=function(la,lb=0xa0){la=BDFDB['colorCONVERT'](la,'RGBCOMP');if(!la)return![];return parseInt(lb)