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