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