diff --git a/Plugins/BDFDB.js b/Plugins/BDFDB.js
index ef21e08c1b..ef2a33948d 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;};BDFDB['loadMessage']=function(d){BDFDB['clearStarttimout'](d);d['name']=d['name']||(typeof d['getName']=='function'?d['getName']():null);d['version']=d['version']||(typeof d['getVersion']=='function'?d['getVersion']():null);d['author']=d['author']||(typeof d['getAuthor']=='function'?d['getAuthor']():null);d['description']=d['description']||(typeof d['getDescription']=='function'?d['getDescription']():null);var e=BDFDB['getLibraryStrings']()['toast_plugin_started']['replace']('{{oldversion}}','v'+d['version']);console['log']('%c['+d['name']+']%c','color:\x20#3a71c1;\x20font-weight:\x20700;','',e);if(!(window['settingsCookie']['fork-ps-2']&&window['settingsCookie']['fork-ps-2']===!![]))BDFDB['showToast'](d['name']+'\x20'+e,{'nopointer':!![],'selector':'plugin-started-toast'});var f=typeof d['getRawUrl']=='function'&&typeof d['getRawUrl']()=='string'?d['getRawUrl']():'https://mwittrien.github.io/BetterDiscordAddons/Plugins/'+d['name']+'/'+d['name']+'.plugin.js';BDFDB['checkUpdate'](d['name'],f);if(typeof d['initConstructor']==='function'){try{d['initConstructor']();}catch(g){console['error']('%c['+d['name']+']%c','color:\x20#3a71c1;\x20font-weight:\x20700;','','Fatal\x20Error:\x20Could\x20not\x20initiate\x20constructor!\x20'+g);}}if(typeof d['css']==='string')BDFDB['appendLocalStyle'](d['name'],d['css']);BDFDB['WebModules']['patchModules'](d);BDFDB['addOnSwitchListener'](d);BDFDB['addSettingsButtonListener'](d);BDFDB['addContextListener'](d);BDFDB['translatePlugin'](d);BDFDB['checkChangeLog'](d);if(!window['PluginUpdates']||typeof window['PluginUpdates']!=='object')window['PluginUpdates']={'plugins':{}};window['PluginUpdates']['plugins'][f]={'name':d['name'],'raw':f,'version':d['version']};if(typeof window['PluginUpdates']['interval']==='undefined')window['PluginUpdates']['interval']=setInterval(()=>{BDFDB['checkAllUpdates']();},0x3e8*0x3c*0x3c*0x2);d['started']=!![];for(let h in BDFDB['myPlugins'])if(!BDFDB['myPlugins'][h]['started']&&typeof BDFDB['myPlugins'][h]['initialize']=='function')BDFDB['myPlugins'][h]['initialize']();};BDFDB['unloadMessage']=function(i){BDFDB['clearStarttimout'](i);delete BDFDB['myPlugins'][i['name']];var j=BDFDB['getLibraryStrings']()['toast_plugin_stopped']['replace']('{{oldversion}}','v'+i['version']);console['log']('%c['+i['name']+']%c','color:\x20#3a71c1;\x20font-weight:\x20700;','',j);if(!(window['settingsCookie']['fork-ps-2']&&window['settingsCookie']['fork-ps-2']===!![]))BDFDB['showToast'](i['name']+'\x20'+j,{'nopointer':!![],'selector':'plugin-stopped-toast'});var k=typeof i['getRawUrl']=='function'&&typeof i['getRawUrl']()=='string'?i['getRawUrl']():'https://mwittrien.github.io/BetterDiscordAddons/Plugins/'+i['name']+'/'+i['name']+'.plugin.js';if(typeof i['css']==='string')BDFDB['removeLocalStyle'](i['name']);BDFDB['WebModules']['unpatchall'](i);BDFDB['removeOnSwitchListener'](i);BDFDB['removeSettingsButtonListener'](i);BDFDB['removeEventListener'](i);BDFDB['removeEles']('.'+i['name']+'-modal,\x20.'+i['name']['toLowerCase']()+'-modal,\x20.'+i['name']+'-settingsmodal,\x20.'+i['name']['toLowerCase']()+'-settingsmodal');BDFDB['killObservers'](i);delete window['PluginUpdates']['plugins'][k];if(BDFDB['isObjectEmpty'](window['PluginUpdates']['plugins']))BDFDB['removeEles']('#bd-settingspane-container\x20.bd-updatebtn'+BDFDB['dotCN']['_repofolderbutton']);delete i['started'];};BDFDB['translatePlugin']=function(l){if(typeof l['setLabelsByLanguage']==='function'||typeof l['changeLanguageStrings']==='function'){if(document['querySelector']('html')['lang'])n();else{var m=setInterval(()=>{if(document['querySelector']('html')['lang']){clearInterval(m);n();}},0x64);}function n(){var o=BDFDB['getDiscordLanguage']();if(typeof l['setLabelsByLanguage']==='function')l['labels']=l['setLabelsByLanguage'](o['id']);if(typeof l['changeLanguageStrings']==='function')l['changeLanguageStrings']();var p=BDFDB['getLibraryStrings']()['toast_plugin_translated']['replace']('{{ownlang}}',o['ownlang']);console['log']('%c['+l['name']+']%c','color:\x20#3a71c1;\x20font-weight:\x20700;','',p);}}};BDFDB['clearStarttimout']=function(q){if(q['startTimeout']){clearTimeout(q['startTimeout']);delete q['startTimeout'];}if(q['libLoadTimeout']){clearTimeout(q['libLoadTimeout']);delete q['libLoadTimeout'];}};BDFDB['checkChangeLog']=function(r){if(!BDFDB['isObject'](r)||!r['changelog'])return;var s=BDFDB['loadAllData'](r,'changelog');if(!s['currentversion']||BDFDB['checkVersions'](r['version'],s['currentversion'])){s['currentversion']=r['version'];var t='';var u={'added':'New\x20Features','fixed':'Bug\x20Fixes','improved':'Improvements','progress':'Progress'};for(let v in r['changelog']){v=v['toLowerCase']();var w=BDFDB['disCN']['changelog'+v];if(w){t+='
'+u[v]+'
';for(let x of r['changelog'][v])t+='- '+x[0x0]+''+(x[0x1]?':\x20'+x[0x1]+'.':'')+'
';t+='
';}}if(t)BDFDB['removeEles'](BDFDB['openConfirmModal'](r,t,BDFDB['LanguageStrings']['CHANGE_LOG'])['querySelectorAll']('.btn-cancel'));BDFDB['saveAllData'](s,r,'changelog');}};BDFDB['addObserver']=function(y,z,A,B={'childList':!![]}){if(!BDFDB['isObject'](y)||!z||!A)return;if(BDFDB['isObjectEmpty'](y['observers']))y['observers']={};if(!Array['isArray'](y['observers'][A['name']]))y['observers'][A['name']]=[];if(!A['multi'])for(let C of y['observers'][A['name']])C['disconnect']();if(A['instance'])y['observers'][A['name']]['push'](A['instance']);var D=y['observers'][A['name']][y['observers'][A['name']]['length']-0x1];if(D){var E=Node['prototype']['isPrototypeOf'](z)?z:typeof z==='string'?document['querySelector'](z):null;if(E)D['observe'](E,B);}};BDFDB['killObservers']=function(F){if(!BDFDB['isObjectEmpty'](F['observers'])){for(let G in F['observers'])for(let H of F['observers'][G])H['disconnect']();delete F['observers'];}};BDFDB['addChildEventListener']=function(I,J,K,L){if(!Node['prototype']['isPrototypeOf'](I)||!J||!K||!K['trim']()||typeof L!='function')return;for(var M of J['trim']()['split']('\x20'))if(M){var N=L;if(M=='mouseenter'||M=='mouseleave')N=O=>{if(O['target']['matches'](K))L(O);};I['querySelectorAll'](K['trim']())['forEach'](P=>{P['addEventListener'](M,N,!![]);});}};BDFDB['addEventListener']=function(Q,R,S,T,U){if(!BDFDB['isObject'](Q)||!Node['prototype']['isPrototypeOf'](R)&&R!==window||!S)return;var V=typeof T=='function';var W=V?undefined:T;var X=V?T:U;if(typeof X!='function')return;BDFDB['removeEventListener'](Q,R,S,W);for(var Y of S['split']('\x20')){Y=Y['split']('.');var Z=Y['shift']()['toLowerCase']();if(!Z)return;var a0=Z;Z=Z=='mouseenter'||Z=='mouseleave'?'mouseover':Z;var a1=(Y['join']('.')||'')+Q['name'];if(!Array['isArray'](Q['listeners']))Q['listeners']=[];var a2=null;if(W){if(a0=='mouseenter'||a0=='mouseleave'){a2=a3=>{for(let a4 of a3['path'])if(typeof a4['matches']=='function'&&a4['matches'](W)&&!a4[a1+'BDFDB'+a0]){a4[a1+'BDFDB'+a0]=!![];if(a0=='mouseenter')X(BDFDB['copyEvent'](a3,a4));let a5=a6=>{if(a6['target']['contains'](a4)||a6['target']==a4||!a4['contains'](a6['target'])){if(a0=='mouseleave')X(BDFDB['copyEvent'](a3,a4));delete a4[a1+'BDFDB'+a0];document['removeEventListener']('mouseout',a5);}};document['addEventListener']('mouseout',a5);break;}};}else{a2=a7=>{for(let a8 of a7['path'])if(typeof a8['matches']=='function'&&a8['matches'](W)){X(BDFDB['copyEvent'](a7,a8));break;}};}}else a2=a9=>{X(BDFDB['copyEvent'](a9,R));};Q['listeners']['push']({'ele':R,'eventname':Z,'origeventname':a0,'namespace':a1,'selector':W,'eventcallback':a2});R['addEventListener'](Z,a2,!![]);}};BDFDB['copyEvent']=function(aa,ab){if(!aa||!aa['constructor']||!aa['type'])return aa;var ac=new aa['constructor'](aa['type'],aa);Object['defineProperty'](ac,'originalEvent',{'value':aa});Object['defineProperty'](ac,'which',{'value':aa['which']});Object['defineProperty'](ac,'keyCode',{'value':aa['keyCode']});Object['defineProperty'](ac,'path',{'value':aa['path']});Object['defineProperty'](ac,'relatedTarget',{'value':aa['relatedTarget']});Object['defineProperty'](ac,'srcElement',{'value':aa['srcElement']});Object['defineProperty'](ac,'target',{'value':aa['target']});Object['defineProperty'](ac,'toElement',{'value':aa['toElement']});if(ab)Object['defineProperty'](ac,'currentTarget',{'value':ab});return ac;};BDFDB['stopEvent']=function(ad){if(BDFDB['isObject'](ad)){if(typeof ad['preventDefault']=='function')ad['preventDefault']();if(typeof ad['stopPropagation']=='function')ad['stopPropagation']();if(typeof ad['stopImmediatePropagation']=='function')ad['stopImmediatePropagation']();if(BDFDB['isObject'](ad['originalEvent'])){if(typeof ad['originalEvent']['preventDefault']=='function')ad['originalEvent']['preventDefault']();if(typeof ad['originalEvent']['stopPropagation']=='function')ad['originalEvent']['stopPropagation']();if(typeof ad['originalEvent']['stopImmediatePropagation']=='function')ad['originalEvent']['stopImmediatePropagation']();}}};BDFDB['removeEventListener']=function(ae,af,ag='',ah){if(!BDFDB['isObject'](ae)||!Array['isArray'](ae['listeners']))return;if(Node['prototype']['isPrototypeOf'](af)||af===window){for(var ai of ag['split']('\x20')){ai=ai['split']('.');var aj=ai['shift']()['toLowerCase']();var ak=(ai['join']('.')||'')+ae['name'];for(let al of ae['listeners']){let am=[];if(al['ele']==af&&(!aj||al['origeventname']==aj)&&al['namespace']==ak&&(ah===undefined||al['selector']==ah)){af['removeEventListener'](al['eventname'],al['eventcallback'],!![]);am['push'](al);}if(am['length'])ae['listeners']=ae['listeners']['filter'](al=>{return am['indexOf'](al)<0x0;});}}}else if(!af){for(let ao of ae['listeners'])ao['ele']['removeEventListener'](ao['eventname'],ao['eventcallback'],!![]);ae['listeners']=[];}};BDFDB['checkUpdate']=function(ap,aq){if(BDFDB['isBDv2']())return;require('request')(aq,(ar,as,at)=>{if(ar)return;var au=at['match'](/['"][0-9]+\.[0-9]+\.[0-9]+['"]/i);if(!au)return;if(BDFDB['checkVersionDifference'](au[0x0],window['PluginUpdates']['plugins'][aq]['version'])>0.2){BDFDB['showToast'](ap+'\x20will\x20be\x20force\x20updated,\x20because\x20your\x20version\x20is\x20heavily\x20outdated.',{'type':'warn','nopointer':!![],'selector':'plugin-forceupdate-toast'});BDFDB['downloadPlugin'](ap,aq);}else if(BDFDB['checkVersions'](au[0x0],window['PluginUpdates']['plugins'][aq]['version']))BDFDB['showUpdateNotice'](ap,aq);else BDFDB['removeUpdateNotice'](ap);});};BDFDB['checkVersions']=function(av,aw){if(!av||!aw)return!![];av=av['toString']()['replace'](/["'`]/g,'')['split'](/,|\./g)['map'](ax=>parseInt(ax))['filter'](ay=>(ay||ay==0x0)&&!isNaN(ay));aw=aw['toString']()['replace'](/["'`]/g,'')['split'](/,|\./g)['map'](az=>parseInt(az))['filter'](aA=>(aA||aA==0x0)&&!isNaN(aA));var aB=Math['max'](av['length'],aw['length']);if(!aB)return!![];if(av['length']>aw['length']){var aC=new Array(av['length']-aw['length']);for(let aD=0x0;aDaw[aI])return!![];}return![];};BDFDB['checkVersionDifference']=function(aJ,aK){if(!aJ||!aK)return![];aJ=aJ['toString']()['replace'](/["'`]/g,'')['split'](/,|\./g)['map'](aL=>parseInt(aL))['filter'](aM=>(aM||aM==0x0)&&!isNaN(aM));aK=aK['toString']()['replace'](/["'`]/g,'')['split'](/,|\./g)['map'](aN=>parseInt(aN))['filter'](aO=>(aO||aO==0x0)&&!isNaN(aO));var aP=Math['max'](aJ['length'],aK['length']);if(!aP)return![];if(aJ['length']>aK['length']){var aQ=new Array(aJ['length']-aK['length']);for(let aR=0x0;aR',{'html':!![],'id':'pluginNotice','type':'info','btn':!BDFDB['isRestartNoMoreEnabled']()?'Reload':'','customicon':''});b0['style']['setProperty']('display','block','important');b0['style']['setProperty']('visibility','visible','important');b0['style']['setProperty']('opacity','1','important');b0['querySelector'](BDFDB['dotCN']['noticedismiss'])['addEventListener']('click',()=>{BDFDB['removeEles']('.update-clickme-tooltip');});var b1=b0['querySelector'](BDFDB['dotCN']['noticebutton']);if(b1){BDFDB['toggleEles'](b1,!![]);b1['addEventListener']('click',()=>{window['location']['reload'](![]);});b1['addEventListener']('mouseenter',()=>{if(window['PluginUpdates']['downloaded'])BDFDB['createTooltip'](window['PluginUpdates']['downloaded']['join'](',\x20'),b1,{'type':'bottom','selector':'update-notice-tooltip','style':'max-width:\x20420px'});});}}if(b0){var b2=b0['querySelector']('#outdatedPlugins');if(b2&&!b2['querySelector']('#'+aY+'-notice')){if(b2['querySelector']('span'))b2['appendChild'](BDFDB['htmlToElement'](',\x20'));var b3=BDFDB['htmlToElement'](''+aY+'');b3['addEventListener']('click',()=>{BDFDB['downloadPlugin'](aY,aZ);});b2['appendChild'](b3);if(!document['querySelector']('.update-clickme-tooltip'))BDFDB['createTooltip']('Click\x20us!',b2,{'type':'bottom','selector':'update-clickme-tooltip','delay':0x1f4});}}};BDFDB['downloadPlugin']=function(b4,b5){require('request')(b5,(b6,b7,b8)=>{if(b6)return console['warn']('%c[BDFDB]%c','color:#3a71c1;\x20font-weight:700;','','Unable\x20to\x20get\x20update\x20for\x20'+b4);BDFDB['creationTime']=0x0;var b9=b8['match'](/['"][0-9]+\.[0-9]+\.[0-9]+['"]/i);b9=b9['toString']()['replace'](/['"]/g,'');require('fs')['writeFileSync'](require('path')['join'](BDFDB['getPluginsFolder'](),bdplugins[b4]?bdplugins[b4]['filename']:b5['split']('/')['slice'](-0x1)[0x0]),b8);BDFDB['showToast'](b4+'\x20v'+window['PluginUpdates']['plugins'][b5]['version']+'\x20has\x20been\x20replaced\x20by\x20'+b4+'\x20v'+b9+'.',{'nopointer':!![],'selector':'plugin-updated-toast'});var ba=document['querySelector']('#pluginNotice');if(ba){if(ba['querySelector'](BDFDB['dotCN']['noticebutton'])){window['PluginUpdates']['plugins'][b5]['version']=b9;if(!window['PluginUpdates']['downloaded'])window['PluginUpdates']['downloaded']=[];if(!window['PluginUpdates']['downloaded']['includes'](b4))window['PluginUpdates']['downloaded']['push'](b4);}BDFDB['removeUpdateNotice'](b4,ba);}});};BDFDB['removeUpdateNotice']=function(bb,bc=document['querySelector']('#pluginNotice')){if(!bc)return;var bd=bc['querySelector']('#outdatedPlugins');if(bd){var be=bd['querySelector']('#'+bb+'-notice');if(be){var bf=be['nextSibling'];var bg=be['prevSibling'];if(bf&&BDFDB['containsClass'](bf,'separator'))bf['remove']();else if(bg&&BDFDB['containsClass'](bg,'separator'))bg['remove']();be['remove']();}if(!bd['querySelector']('span')){var bh=bc['querySelector'](BDFDB['dotCN']['noticebutton']);if(bh){bc['querySelector']('.notice-message')['innerText']='To\x20finish\x20updating\x20you\x20need\x20to\x20reload.';BDFDB['toggleEles'](bh,![]);}else bc['querySelector'](BDFDB['dotCN']['noticedismiss'])['click']();}}};BDFDB['showToast']=function(bi,bj={}){var bk=document['querySelector']('.toasts,\x20.bd-toasts');if(!bk){var bl=document['querySelector'](BDFDB['dotCN']['channels']+'\x20+\x20div');var bm=bl?BDFDB['getRects'](bl):null;var bn=bl?bl['querySelector'](BDFDB['dotCN']['memberswrap']):null;var bo=bm?bm['left']:0x136;var bp=bm?bn?bm['width']-BDFDB['getRects'](bn)['width']:bm['width']:window['outerWidth']-0x0;var bq=bl?bl['querySelector']('form'):null;var br=bq?BDFDB['getRects'](bq)['height']:0x50;bk=BDFDB['htmlToElement']('');document['querySelector'](BDFDB['dotCN']['app'])['appendChild'](bk);}const {type='',icon=!![],timeout=0xbb8,html=![],selector='',nopointer=![]}=bj;var bs=BDFDB['htmlToElement'](''+(html===!![]?bi:BDFDB['encodeToHTML'](bi))+'
');if(type){BDFDB['addClass'](bs,'toast-'+type);if(icon)BDFDB['addClass'](bs,'icon');}BDFDB['addClass'](bs,selector);bk['appendChild'](bs);bs['close']=()=>{if(document['contains'](bs)){BDFDB['addClass'](bs,'closing');setTimeout(()=>{bs['remove']();if(!bk['querySelectorAll']('.toast,\x20.bd-toast')['length'])bk['remove']();},0xbb8);}};if(nopointer)bs['style']['setProperty']('pointer-events','none','important');else bs['addEventListener']('click',bs['close']);setTimeout(()=>{bs['close']();},timeout>0x0?timeout:0x927c0);return bs;};BDFDB['DesktopNotificationQueue']={'queue':[],'running':![]};BDFDB['showDesktopNotification']=function(bt,bu={}){var bv=()=>{BDFDB['DesktopNotificationQueue']['queue']['push']({'parsedcontent':bt,'parsedoptions':bu});bw();};var bw=()=>{if(!BDFDB['DesktopNotificationQueue']['running']){var bx=BDFDB['DesktopNotificationQueue']['queue']['shift']();if(bx)by(bx['parsedcontent'],bx['parsedoptions']);}};var by=(bz,bA)=>{BDFDB['DesktopNotificationQueue']['running']=!![];var bB=bA['silent'];bA['silent']=bA['silent']||bA['sound']?!![]:![];var bC=new Notification(bz,bA);var bD=new Audio();var bE=setTimeout(()=>{bF();},bA['timeout']?bA['timeout']:0xbb8);if(typeof bA['click']=='function')bC['onclick']=()=>{clearTimeout(bE);bF();bA['click']();};if(!bB&&bA['sound']){bD['src']=bA['sound'];bD['play']();}var bF=()=>{bD['pause']();bC['close']();BDFDB['DesktopNotificationQueue']['running']=![];setTimeout(()=>{bw();},0x3e8);};};if(!('Notification'in window)){}else if(Notification['permission']==='granted')bv();else if(Notification['permission']!=='denied')Notification['requestPermission'](function(bG){if(bG==='granted')bv();});};BDFDB['createTooltip']=function(bH,bI,bJ={}){if(!bH||!bI||!Node['prototype']['isPrototypeOf'](bI)||!document['contains'](bI))return null;var bK=document['querySelector'](BDFDB['dotCN']['tooltips']);if(!bK)return null;var bL=document['querySelector']('.BDFDB-tooltips');if(!bL){bL=bK['cloneNode']();BDFDB['addClass'](bL,'BDFDB-tooltips');bK['parentElement']['insertBefore'](bL,bK['nextSibling']);}var c=Math['round'](Math['random']()*0x2386f26fc10000);var bN=BDFDB['htmlToElement']('');bN['anker']=bI;var bO=bN['firstElementChild']?bN['firstElementChild']:bN;if(bJ['id'])bN['id']=bJ['id']['split']('\x20')['join']('');if(bJ['selector'])BDFDB['addClass'](bN,bJ['selector']);if(bJ['css'])BDFDB['appendLocalStyle']('BDFDBcustomTooltip'+c,bJ['css'],bL);if(bJ['style'])bO['style']=bJ['style'];if(bJ['html']===!![])bO['innerHTML']=bH;else bO['innerText']=bH;if(bJ['type']&&BDFDB['disCN']['tooltip'+bJ['type']['toLowerCase']()]){BDFDB['addClass'](bO,BDFDB['disCN']['tooltip'+bJ['type']['toLowerCase']()]);bO['appendChild'](BDFDB['htmlToElement'](''));}if(bO['style']['getPropertyValue']('border-color')&&(bO['style']['getPropertyValue']('background-color')||bO['style']['getPropertyValue']('background-image')))BDFDB['addClass'](bO,'tooltip-customcolor');else if(bJ['color']&&BDFDB['disCN']['tooltip'+bJ['color']['toLowerCase']()])BDFDB['addClass'](bO,BDFDB['disCN']['tooltip'+bJ['color']['toLowerCase']()]);else BDFDB['addClass'](bO,BDFDB['disCN']['tooltipblack']);bL['appendChild'](bN);if(!bJ['position']||bJ['type'])bJ['position']=bJ['type'];if(!bJ['position']||!['top','bottom','left','right']['includes'](bJ['position']['toLowerCase']()))bJ['position']='right';bN['position']=bJ['position']['toLowerCase']();BDFDB['updateTooltipPosition'](bN);var bP=()=>{bN['remove']();if(!bL['firstElementChild'])BDFDB['removeEles'](bL);};var bQ=new MutationObserver(bR=>{bR['forEach'](bS=>{var bT=Array['from'](bS['removedNodes']);var bU=bT['indexOf'](bN)>-0x1;var bV=bT['indexOf'](bI)>-0x1;var bW=bT['some'](bX=>bX['contains'](bI));if(bU||bV||bW){bQ['disconnect']();bP();bI['removeEventListener']('mouseleave',bP);BDFDB['removeLocalStyle']('BDFDBcustomTooltip'+c,bL);}});});bQ['observe'](document['body'],{'subtree':!![],'childList':!![]});bI['addEventListener']('mouseleave',bP);if(bJ['delay']){BDFDB['toggleEles'](bN);setTimeout(()=>{BDFDB['toggleEles'](bN);},bJ['delay']);}return bN;};BDFDB['updateTooltipPosition']=function(bY){if(!Node['prototype']['isPrototypeOf'](bY)||!Node['prototype']['isPrototypeOf'](bY['anker'])||!bY['position'])return;var bZ,c0,c1=BDFDB['getRects'](bY['anker']),c2=BDFDB['getRects'](bY),c3={'height':0x0,'width':0x0};var c4=bY['querySelector'](BDFDB['dotCN']['tooltippointer']);if(c4)c3=BDFDB['getRects'](c4);switch(bY['position']){case'top':c0=c1['top']-c2['height']-c3['height']+0x2;bZ=c1['left']+(c1['width']-c2['width'])/0x2;break;case'bottom':c0=c1['top']+c1['height']+c3['height']-0x2;bZ=c1['left']+(c1['width']-c2['width'])/0x2;break;case'left':c0=c1['top']+(c1['height']-c2['height'])/0x2;bZ=c1['left']-c2['width']-c3['width']+0x2;break;case'right':c0=c1['top']+(c1['height']-c2['height'])/0x2;bZ=c1['left']+c1['width']+c3['width']-0x2;break;}bY['style']['setProperty']('top',c0+'px');bY['style']['setProperty']('left',bZ+'px');var c5=BDFDB['getRects'](document['querySelector'](BDFDB['dotCN']['appmount'])),c2=BDFDB['getRects'](bY);var c7=bY['querySelector'](BDFDB['dotCN']['tooltippointer']);if(bY['position']=='top'||bY['position']=='bottom'){if(c2['left']<0x0){bY['style']['setProperty']('left','5px');c7['style']['setProperty']('margin-left',c2['left']-0xa+'px');}else{var c8=c5['width']-(c2['left']+c2['width']);if(c8<0x0){bY['style']['setProperty']('left',c5['width']-c2['width']-0x5+'px');c7['style']['setProperty']('margin-left',-0x1*c8+'px');}}}else if(bY['position']=='left'||bY['position']=='right'){if(c2['top']<0x0){bY['style']['setProperty']('top','5px');c7['style']['setProperty']('margin-top',c2['top']-0xa+'px');}else{var c9=c5['height']-(c2['top']+c2['height']);if(c9<0x0){bY['style']['setProperty']('top',c5['height']-c2['height']-0x5+'px');c7['style']['setProperty']('margin-top',-0x1*c9+'px');}}}};BDFDB['createNotificationsBar']=function(ca,cb={}){if(!ca)return;var cc=document['querySelector'](BDFDB['dotCN']['layers']);if(!cc)return;var c=Math['round'](Math['random']()*0x2386f26fc10000);var ce=BDFDB['htmlToElement']('');cc['parentElement']['insertBefore'](ce,cc);var cf=ce['querySelector']('.notice-message');if(cb['platform'])for(let cg of cb['platform']['split']('\x20'))if(sm['noticeicon'+cg]){let ch=BDFDB['htmlToElement']('');BDFDB['addClass'](ch,BDFDB['disCN']['noticeplatformicon']);BDFDB['removeClass'](ch,BDFDB['disCN']['noticeicon']);ce['insertBefore'](ch,cf);}if(cb['customicon']){let ci=BDFDB['htmlToElement'](cb['customicon']);let ch=BDFDB['htmlToElement']('');if(ci['tagName']=='span'&&!ci['firstElementChild'])ch['style']['setProperty']('background','url('+cb['customicon']+')\x20center/cover\x20no-repeat');else ch['appendChild'](ci);BDFDB['addClass'](ch,BDFDB['disCN']['noticeplatformicon']);BDFDB['removeClass'](ch,BDFDB['disCN']['noticeicon']);ce['insertBefore'](ch,cf);}if(cb['btn'])ce['appendChild'](BDFDB['htmlToElement'](''));if(cb['id'])ce['id']=cb['id']['split']('\x20')['join']('');if(cb['selector'])BDFDB['addClass'](ce,cb['selector']);if(cb['css'])BDFDB['appendLocalStyle']('BDFDBcustomnotibar'+c,cb['css']);if(cb['style'])ce['style']=cb['style'];if(cb['html']===!![])cf['innerHTML']=ca;else{var ck=document['createElement']('a');var cl=[];for(let cm of ca['split']('\x20')){var cn=BDFDB['encodeToHTML'](cm);ck['href']=cm;cl['push'](ck['host']&&ck['host']!==window['location']['host']?'':cn);}cf['innerHTML']=cl['join']('\x20');}var co=null;if(cb['type']&&!document['querySelector'](BDFDB['dotCNS']['chatbase']+BDFDB['dotCN']['noticestreamer'])){if(co=BDFDB['disCN']['notice'+cb['type']])BDFDB['addClass'](ce,co);if(cb['type']=='premium'){var cp=ce['querySelector'](BDFDB['dotCN']['noticebutton']);if(cp)BDFDB['addClass'](cp,BDFDB['disCN']['noticepremiumaction']);BDFDB['addClass'](cf,BDFDB['disCN']['noticepremiumtext']);ce['insertBefore'](BDFDB['htmlToElement'](''),cf);}}if(!co){var cq=BDFDB['colorCONVERT'](cb['color'],'RGBCOMP');if(cq){var cr=cq[0x0]>0xb4&&cq[0x1]>0xb4&&cq[0x2]>0xb4?'#000':'#FFF';var cs=BDFDB['colorCONVERT'](cq,'HEX');var ct=cq[0x0]>0xb4&&cq[0x1]>0xb4&&cq[0x2]>0xb4?'brightness(0%)':'brightness(100%)';BDFDB['appendLocalStyle']('BDFDBcustomnotibarColorCorrection'+c,'.BDFDB-notice.notice-'+c+'{background-color:'+cs+'\x20!important;}.BDFDB-notice.notice-'+c+'\x20.notice-message\x20{color:'+cr+'\x20!important;}.BDFDB-notice.notice-'+c+'\x20'+BDFDB['dotCN']['noticebutton']+'\x20{color:'+cr+'\x20!important;border-color:'+BDFDB['colorSETALPHA'](cr,0.25,'RGBA')+'\x20!important;}.BDFDB-notice.notice-'+c+'\x20'+BDFDB['dotCN']['noticebutton']+':hover\x20{color:'+cs+'\x20!important;background-color:'+cr+'\x20!important;}.BDFDB-notice.notice-'+c+'\x20'+BDFDB['dotCN']['noticedismiss']+'\x20{filter:'+ct+'\x20!important;}');}else BDFDB['addClass'](ce,BDFDB['disCN']['noticedefault']);}ce['style']['setProperty']('height','36px','important');ce['style']['setProperty']('min-width','70vw','important');ce['style']['setProperty']('left','unset','important');ce['style']['setProperty']('right','unset','important');let cu=(BDFDB['getTotalWidth'](document['body']['firstElementChild'])-BDFDB['getTotalWidth'](ce))/0x2;ce['style']['setProperty']('left',cu+'px','important');ce['style']['setProperty']('right',cu+'px','important');ce['style']['setProperty']('min-width','unset','important');ce['style']['setProperty']('width','unset','important');ce['style']['setProperty']('max-width','calc(100vw\x20-\x20'+cu*0x2+'px)','important');ce['querySelector'](BDFDB['dotCN']['noticedismiss'])['addEventListener']('click',()=>{ce['style']['setProperty']('overflow','hidden','important');ce['style']['setProperty']('height','0px','important');setTimeout(()=>{BDFDB['removeLocalStyle']('BDFDBcustomnotibar'+c);BDFDB['removeLocalStyle']('BDFDBcustomnotibarColorCorrection'+c);ce['remove']();},0x1f4);});return ce;};BDFDB['getDiscordFolder']=function(){var cv=BDFDB['getDiscordBuilt']();cv='discord'+(cv=='stable'?'':cv);return require('path')['resolve'](require('electron')['remote']['app']['getPath']('appData'),cv,BDFDB['getDiscordVersion']());};BDFDB['getPluginsFolder']=function(){var cw=require('process');var cx=require('path');if(cw['env']['injDir'])return cx['resolve'](cw['env']['injDir'],'plugins/');switch(cw['platform']){case'win32':return cx['resolve'](cw['env']['appdata'],'BetterDiscord/plugins/');case'darwin':return cx['resolve'](cw['env']['HOME'],'Library/Preferences/BetterDiscord/plugins/');default:if(cw['env']['XDG_CONFIG_HOME'])return cx['resolve'](cw['env']['XDG_CONFIG_HOME'],'BetterDiscord/plugins/');else return cx['resolve'](cw['env']['HOME'],'.config/BetterDiscord/plugins/');}};BDFDB['getThemesFolder']=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/themes/');case'darwin':return cz['resolve'](cy['env']['HOME'],'Library/Preferences/BetterDiscord/themes/');default:if(cy['env']['XDG_CONFIG_HOME'])return cz['resolve'](cy['env']['XDG_CONFIG_HOME'],'BetterDiscord/themes/');else return cz['resolve'](cy['env']['HOME'],'.config/BetterDiscord/themes/');}};BDFDB['checkWhichRepoPage']=function(cA=document['querySelector'](BDFDB['dotCN']['layer']+'[layer-id=\x22user-settings\x22]')){if(!cA)return;var cB=cA['querySelector'](BDFDB['dotCN']['_repofolderbutton']);if(!cB)return;var cC=cB['parentElement']['querySelector']('h2');if(cC&&cC['innerText']){let cD=cC['innerText']['toLowerCase']();if(cD==='plugins'||cD==='themes')return cD;}};BDFDB['checkAllUpdates']=function(){for(let cE in window['PluginUpdates']['plugins']){var cF=window['PluginUpdates']['plugins'][cE];BDFDB['checkUpdate'](cF['name'],cF['raw']);}};BDFDB['getLineOfString']=function(cG,cH){if(typeof cG!='string'||typeof cG!='string')return-0x1;let cI=cG['indexOf'](cH);if(cI<0x0)return-0x1;return cG['substring'](0x0,cI)['split']('\x0a')['length'];};BDFDB['sortObject']=function(cJ,cK,cL){var cM={};if(cK===undefined||!cK)for(let cN of Object['keys'](cJ)['sort']())cM[cN]=cJ[cN];else{let cO=[];for(let cN in cJ)cO['push'](cJ[cN]);cO=BDFDB['sortArrayByKey'](cO,cK,cL);for(let cQ of cO)for(let cN in cJ)if(BDFDB['equals'](cQ,cJ[cN])){cM[cN]=cQ;break;}}return cM;};BDFDB['reverseObject']=function(cS,cT){var cU={};for(let cV of cT===undefined||!cT?Object['keys'](cS)['reverse']():Object['keys'](cS)['sort']()['reverse']())cU[cV]=cS[cV];return cU;};BDFDB['filterObject']=function(cW,cX){return Object['keys'](cW)['filter'](cY=>cX(cW[cY]))['reduce']((cZ,d0)=>(cZ[d0]=cW[d0],cZ),{});};BDFDB['isObject']=function(d1){return d1&&Object['prototype']['isPrototypeOf'](d1)&&!Array['prototype']['isPrototypeOf'](d1);};BDFDB['isObjectEmpty']=function(d2){return typeof d2!=='object'||Object['getOwnPropertyNames'](d2)['length']==0x0;};BDFDB['pushToObject']=function(d3,d4){if(BDFDB['isObject'](d3))d3[Object['keys'](d3)['length']]=d4;};BDFDB['deepAssign']=function(d5,...d6){if(!d6['length'])return d5;var d7=d6['shift']();if(BDFDB['isObject'](d5)&&BDFDB['isObject'](d7)){for(var d8 in d7){if(BDFDB['isObject'](d7[d8])){if(!d5[d8])Object['assign'](d5,{[d8]:{}});BDFDB['deepAssign'](d5[d8],d7[d8]);}else Object['assign'](d5,{[d8]:d7[d8]});}}return BDFDB['deepAssign'](d5,...d6);};BDFDB['sortArrayByKey']=function(d9,da,db){if(db===undefined)db=null;return d9['sort'](function(dc,dd){var de=dc[da],df=dd[da];if(de!==db)return dedf?0x1:0x0;});};BDFDB['numSortArray']=function(dg,dh,di){return dg['sort'](function(dj,dk){return djdk?0x1:0x0;});};BDFDB['removeFromArray']=function(dl,dm,dn=![]){if(!dl||!dm||!Array['isArray'](dl)||!dl['includes'](dm))return dl;if(!dn)dl['splice'](dl['indexOf'](dm),0x1);else while(dl['indexOf'](dm)>-0x1)dl['splice'](dl['indexOf'](dm),0x1);return dl;};BDFDB['getAllIndexes']=function(dp,dq){var dr=[],ds=-0x1;while((ds=dp['indexOf'](dq,ds+0x1))!==-0x1)dr['push'](ds);return dr;};BDFDB['removeCopiesFromArray']=function(dt){return[...new Set(dt)];};BDFDB['highlightText']=function(du,dv){if(!dv||dv['length']<0x1)return du;var dw=0x0,dx=du,dy='',dz='';BDFDB['getAllIndexes'](du['toUpperCase'](),dv['toUpperCase']())['forEach'](dA=>{var dB=dw*(dy['length']+dz['length']);dA=dA+dB;var dC=dA+dv['length'];var dD=[-0x1]['concat'](BDFDB['getAllIndexes'](du['substring'](0x0,dA),'<'));var dE=[-0x1]['concat'](BDFDB['getAllIndexes'](du['substring'](0x0,dA),'>'));if(dD[dD['length']-0x1]>dE[dE['length']-0x1])return;du=du['substring'](0x0,dA)+dy+du['substring'](dA,dC)+dz+du['substring'](dC);dw++;});return du?du:dx;};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 dF=setInterval(()=>{if(document['querySelector']('html')['lang']){clearInterval(dF);var dG=BDFDB['getDiscordLanguage']();BDFDB['languages']['$discord']['name']='Discord\x20('+dG['name']+')';BDFDB['languages']['$discord']['id']=dG['id'];BDFDB['languages']['$discord']['ownlang']=dG['ownlang'];}},0x64);BDFDB['getDiscordBuilt']=function(){if(BDFDB['getDiscordBuilt']['built'])return BDFDB['getDiscordBuilt']['built'];else{var dH=null;try{dH=require(require('electron')['remote']['app']['getAppPath']()+'/build_info.json')['releaseChannel']['toLowerCase']();}catch(dI){try{dH=require(require('electron')['remote']['app']['getAppPath']()['replace']('app.asar','')+'/build_info.json')['releaseChannel']['toLowerCase']();}catch(dJ){var dK=BDFDB['getDiscordVersion']();if(dK){dK=dK['split']('.');if(dK['length']==0x3&&!isNaN(dK=parseInt(dK[0x2])))dH=dK>0x12c?'stable':da>0xc8?'canary':'ptb';else dH='stable';}else dH='stable';}}BDFDB['getDiscordBuilt']['built']=dH;return dH;}};BDFDB['getDiscordVersion']=function(){if(BDFDB['getDiscordBuilt']['version'])return BDFDB['getDiscordBuilt']['version'];else{var dL=null;try{dL=require('electron')['remote']['app']['getVersion']();}catch(dM){dM='';}BDFDB['getDiscordBuilt']['version']=dL;return dL;}};BDFDB['getDiscordLanguage']=function(){var dN=document['querySelector']('html')['lang']||'en-US';var dO=dN['split']('-');var dP=dO[0x0];var dQ=dO[0x1]||'';dN=dQ&&dP['toUpperCase']()!==dQ['toUpperCase']()?dP+'-'+dQ:dP;return BDFDB['languages'][dN]||BDFDB['languages'][dP]||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 dR=BDFDB['getRects'](document['body']['firstElementChild']);var dS=Math['round'](0x64*window['outerWidth']/dR['width']);var dT=Math['round'](0x64*window['outerHeight']/dR['height']);return dSdV['startsWith']('__reactInternalInstance'))];};BDFDB['getReactValue']=function(dW,dX){if(!dW||!dX)return null;let dY=Node['prototype']['isPrototypeOf'](dW)?BDFDB['getReactInstance'](dW):dW;if(!BDFDB['isObject'](dY))return null;let dZ=dY;for(let e0 of dX['split']('.')['filter'](e1=>e1)){dZ=dZ[e0];if(dZ==undefined)return null;}return dZ;};BDFDB['getOwnerInstance']=function(e2){if(e2===undefined)return null;if(!e2['node']&&!e2['instance']||!e2['name']&&(!e2['props']||!Array['isArray'](e2['props'])))return null;var e3=e2['instance']||BDFDB['getReactInstance'](e2['node']);if(!e3)return null;e2['name']=e2['name']&&!Array['isArray'](e2['name'])?Array['of'](e2['name']):e2['name'];var e4=-0x1;var e5=e2['depth']===undefined?0xf:e2['depth'];var e6=e2['up']===undefined?![]:e2['up'];var e7=performance['now']();var e8=e2['time']===undefined?0x96:e2['time'];var e9=e6?{'return':!![],'sibling':!![],'_reactInternalFiber':!![]}:{'child':!![],'sibling':!![],'_reactInternalFiber':!![]};var ea={};var eb=ee(e3);if(e2['all']){for(let ec in ea){if(e2['group'])for(let e3 in ea[ec])delete ea[ec][e3]['BDFDBreactSearch'];else delete ea[ec]['BDFDBreactSearch'];}return ea;}else return eb;function ee(e3){e4++;if(!e3||Node['prototype']['isPrototypeOf'](e3)||BDFDB['getReactInstance'](e3)||e4>e5||performance['now']()-e7>e8)eh=null;else{var eg=Object['getOwnPropertyNames'](e3);var eh=null;for(let ei=0x0;eh==null&&eie3['type']['displayName']===em['split']('\x20')[0x0]||e3['type']['name']===em['split']('\x20')[0x0])||e2['props']&&e2['props']['every'](en=>el[en]!==undefined)||e2['defaultProps']&&e2['defaultProps']['every'](eo=>el[eo]!==undefined))){if(e2['all']===undefined||!e2['all'])eh=el;else if(e2['all']){if(e2['noCopies']===undefined||!e2['noCopies']||e2['noCopies']&&!el['BDFDBreactSearch']){el['BDFDBreactSearch']=!![];if(e2['group']){if(e2['name']&&e3['type']&&(e3['type']['displayName']||e3['type']['name'])){var ep='Default';for(let eq of e2['name'])if(e3['type']['displayName']===eq['split']('\x20')[0x0]||e3['type']['name']===eq['split']('\x20')[0x0]){ep=eq;break;}if(typeof ea[ep]=='undefined')ea[ep]={};BDFDB['pushToObject'](ea[ep],el);}}else BDFDB['pushToObject'](ea,el);}}}if(eh==null&&(typeof ek==='object'||typeof ek==='function')&&e9[ej])eh=ee(ek);}}e4--;return eh;}};BDFDB['getKeyInformation']=function(er){if(er===undefined)return null;if(!er['node']&&!er['instance']||!er['key'])return null;var es=er['instance']||BDFDB['getReactInstance'](er['node']);if(!es)return null;var et=-0x1;var eu=er['depth']===undefined?0xf:er['depth'];var ev=performance['now']();var ew=er['time']===undefined?0x96:er['time'];var ex={'props':!![],'state':!![],'stateNode':!![],'refs':!![],'updater':!![],'prototype':!![],'type':!![],'children':er['up']?![]:!![],'type':!![],'memoizedProps':!![],'memoizedState':!![],'child':er['up']?![]:!![],'return':er['up']?!![]:![],'sibling':er['up']?![]:!![],'firstEffect':!![]};var ey={'contextSection':!![]};if(typeof er['whitelist']==='object')Object['assign'](ex,er['whiteList']);if(typeof er['blacklist']==='object')Object['assign'](ey,er['blacklist']);var ez=[];var eA=eB(es);if(er['all'])return ez;else return eA;function eB(es){et++;if(!es||Node['prototype']['isPrototypeOf'](es)||BDFDB['getReactInstance'](es)||et>eu||performance['now']()-ev>ew)eE=null;else{var eD=Object['getOwnPropertyNames'](es);var eE=null;for(let eF=0x0;eE==null&&eF{if(!eK['req']){const c='BDFDB-WebModules';const eM=typeof window['webpackJsonp']=='function'?window['webpackJsonp']([],{[c]:(eN,eO,eM)=>eO['default']=eM},[c])['default']:window['webpackJsonp']['push']([[],{[c]:(eQ,eR,eM)=>eQ['exports']=eM},[[c]]]);delete eM['m'][c];delete eM['c'][c];eK['req']=eM;}return eK['req'];};BDFDB['WebModules']={};BDFDB['WebModules']['find']=function(eT){var eU=eK();for(let eV in eU['c'])if(eU['c']['hasOwnProperty'](eV)){var eW=eU['c'][eV]['exports'];if(eW&&eW['__esModule']&&eW['default']&&eT(eW['default']))return eW['default'];if(eW&&eT(eW))return eW;}};BDFDB['WebModules']['cachedData']={'prop':{},'name':{},'proto':{}};BDFDB['WebModules']['findByProperties']=function(eX){eX=Array['isArray'](eX)?eX:Array['from'](arguments);var eY=JSON['stringify'](eX);if(BDFDB['WebModules']['cachedData']['prop'][eY])return BDFDB['WebModules']['cachedData']['prop'][eY];else{var eZ=BDFDB['WebModules']['find'](eZ=>eX['every'](f1=>eZ[f1]!==undefined));if(eZ){BDFDB['WebModules']['cachedData']['prop'][eY]=eZ;return eZ;}else console['warn']('%c[BDFDB]%c','color:#3a71c1;\x20font-weight:700;','',eY+'\x20[properties]\x20not\x20found\x20in\x20WebModules');}};BDFDB['WebModules']['findByName']=function(f2){var f3=JSON['stringify'](f2);if(BDFDB['WebModules']['cachedData']['name'][f3])return BDFDB['WebModules']['cachedData']['name'][f3];else{var f4=BDFDB['WebModules']['find'](f4=>f4['displayName']===f2);if(f4){BDFDB['WebModules']['cachedData']['name'][f3]=f4;return f4;}else console['warn']('%c[BDFDB]%c','color:#3a71c1;\x20font-weight:700;','',f3+'\x20[name]\x20not\x20found\x20in\x20WebModules');}};BDFDB['WebModules']['findByPrototypes']=function(f6){f6=Array['isArray'](f6)?f6:Array['from'](arguments);var f7=JSON['stringify'](f6);if(BDFDB['WebModules']['cachedData']['proto'][f7])return BDFDB['WebModules']['cachedData']['proto'][f7];else{var f8=BDFDB['WebModules']['find'](f8=>f8['prototype']&&f6['every'](fa=>f8['prototype'][fa]!==undefined));if(f8){BDFDB['WebModules']['cachedData']['proto'][f7]=f8;return f8;}else console['warn']('%c[BDFDB]%c','color:#3a71c1;\x20font-weight:700;','',f7+'\x20[prototypes]\x20not\x20found\x20in\x20WebModules');}};var fb={};fb['AckUtils']=BDFDB['WebModules']['findByProperties']('localAck','bulkAck');fb['APIModule']=BDFDB['WebModules']['findByProperties']('getAPIBaseURL');fb['Animations']=BDFDB['WebModules']['findByProperties']('spring','decay');fb['BadgeUtils']=BDFDB['WebModules']['findByProperties']('getBadgeCountString','getBadgeWidthForValue');fb['ChannelStore']=BDFDB['WebModules']['findByProperties']('getChannel','getChannels');fb['ContextMenuUtils']=BDFDB['WebModules']['findByProperties']('closeContextMenu','openContextMenu');fb['CurrentUserStore']=BDFDB['WebModules']['findByProperties']('getCurrentUser');fb['DirectMessageUtils']=BDFDB['WebModules']['findByProperties']('addRecipient','openPrivateChannel');fb['DiscordConstants']=BDFDB['WebModules']['findByProperties']('Permissions','ActivityTypes');fb['GuildStore']=BDFDB['WebModules']['findByProperties']('getGuild','getGuilds');fb['GuildChannelStore']=BDFDB['WebModules']['findByProperties']('getChannels','getDefaultChannel');fb['GuildUtils']=BDFDB['WebModules']['findByProperties']('transitionToGuildSync');fb['IconUtils']=BDFDB['WebModules']['findByProperties']('getGuildIconURL','getGuildBannerURL');fb['InviteUtils']=BDFDB['WebModules']['findByProperties']('acceptInvite','createInvite');fb['LanguageStore']=BDFDB['WebModules']['findByProperties']('getLanguages','Messages');fb['LastChannelStore']=BDFDB['WebModules']['findByProperties']('getLastSelectedChannelId');fb['LastGuildStore']=BDFDB['WebModules']['findByProperties']('getLastSelectedGuildId');fb['MemberStore']=BDFDB['WebModules']['findByProperties']('getMember','getMembers');fb['MentionUtils']=BDFDB['WebModules']['findByProperties']('getMentionCount','getMentionCounts');fb['MessageStore']=BDFDB['WebModules']['findByProperties']('getMessage','getMessages');fb['MessageUtils']=BDFDB['WebModules']['findByProperties']('parse','isMentioned');fb['MutedUtils']=BDFDB['WebModules']['findByProperties']('isGuildOrCategoryOrChannelMuted');fb['PermissionUtils']=BDFDB['WebModules']['findByProperties']('getChannelPermissions','canUser');fb['SelectChannelUtils']=BDFDB['WebModules']['findByProperties']('selectChannel','selectPrivateChannel');fb['StatusUtils']=BDFDB['WebModules']['findByProperties']('getApplicationActivity','getStatus');fb['StreamingUtils']=BDFDB['WebModules']['findByProperties']('isStreaming');fb['UnreadUtils']=BDFDB['WebModules']['findByProperties']('hasUnread','getUnreadGuilds');fb['UserStore']=BDFDB['WebModules']['findByProperties']('getUser','getUsers');BDFDB['LibraryModules']=Object['assign']({},fb);fb['React']=BDFDB['WebModules']['findByProperties']('createElement','cloneElement');fb['ReactDOM']=BDFDB['WebModules']['findByProperties']('render','findDOMNode');if(fb['React']&&fb['ReactDOM']){BDFDB['React']=Object['assign']({},fb['React'],fb['ReactDOM']);BDFDB['React']['findDOMNodeSafe']=function(fc){if(Node['prototype']['isPrototypeOf'](fc))return fc;if(!fc||!fc['updater']||typeof fc['updater']['isMounted']!=='function'||!fc['updater']['isMounted'](fc))return null;var fd=fb['ReactDOM']['findDOMNode'](fc)||BDFDB['getReactValue'](fc,'child.stateNode');return Node['prototype']['isPrototypeOf'](fd)?fd:null;};};var fe=fb['CurrentUserStore']['getCurrentUser']();BDFDB['myData']=new Proxy(fe||{},{'get':function(ff,fg){if(!fe)fe=fb['CurrentUserStore']['getCurrentUser']();return fe?fe[fg]:null;}});var fh=['before','instead','after'];var fi={'Account':'FluxContainer(Account)','BannedCard':'BannedUser','InvitationCard':'InviteRow','InviteCard':'InviteRow','PopoutContainer':'Popout','MemberCard':'Member','Note':'FluxContainer(Note)','WebhookCard':'Webhook'};var fj={'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(fk,fl,fm,fn){if(!fk||!fl||!fm||!Object['keys'](fn)['some'](fo=>fh['includes'](fo)))return null;const fp=(typeof fm==='string'?fm:fm['name'])['toLowerCase']();const fq=(fr,fs)=>(...ft)=>{try{return fr(...ft);}catch(fu){console['error']('Error\x20occurred\x20in\x20'+fs,fu);}};if(!fk['BDFDBpatch'])fk['BDFDBpatch']={};fl=Array['isArray'](fl)?fl:Array['of'](fl);for(let fv of fl){if(!fk[fv])fk[fv]=()=>{};const fw=fk[fv];if(!fk['BDFDBpatch'][fv]){fk['BDFDBpatch'][fv]={};for(let fx of fh)fk['BDFDBpatch'][fv][fx]={};fk['BDFDBpatch'][fv]['originalMethod']=fw;fk[fv]=function(){const fy={'thisObject':this,'methodArguments':arguments,'originalMethod':fw,'originalMethodName':fv,'callOriginalMethod':()=>fy['returnValue']=fy['originalMethod']['apply'](fy['thisObject'],fy['methodArguments'])};if(global['BDFDB']&&typeof BDFDB==='object'&&BDFDB['loaded']&&fk['BDFDBpatch'][fv]){if(!BDFDB['isObjectEmpty'](fk['BDFDBpatch'][fv]['before']))for(let c in BDFDB['sortObject'](fk['BDFDBpatch'][fv]['before'])){fq(fk['BDFDBpatch'][fv]['before'][c],'`before`\x20callback\x20of\x20'+fk[fv]['displayName'])(fy);}if(BDFDB['isObjectEmpty'](fk['BDFDBpatch'][fv]['instead']))fy['callOriginalMethod']();else for(let c in BDFDB['sortObject'](fk['BDFDBpatch'][fv]['instead'])){const fB=fq(fk['BDFDBpatch'][fv]['instead'][c],'`instead`\x20callback\x20of\x20'+fk[fv]['displayName'])(fy);if(fB!==undefined)fy['returnValue']=fB;}if(!BDFDB['isObjectEmpty'](fk['BDFDBpatch'][fv]['after']))for(let c in BDFDB['sortObject'](fk['BDFDBpatch'][fv]['after'])){fq(fk['BDFDBpatch'][fv]['after'][c],'`after`\x20callback\x20of\x20'+fk[fv]['displayName'])(fy);}}else fy['callOriginalMethod']();return fy['returnValue'];};}for(let fD of fh)if(typeof fn[fD]=='function')fk['BDFDBpatch'][fv][fD][fp]=fn[fD];}const fE=()=>{BDFDB['WebModules']['unpatch'](fk,fl,fm);};if(fm&&typeof fm=='object'){if(!Array['isArray'](fm['patchCancels']))fm['patchCancels']=[];fm['patchCancels']['push'](fE);}return fE;};BDFDB['WebModules']['unpatch']=function(fF,fG,fH){if(!fF||!fF['BDFDBpatch'])return;const fI=!fH?null:(typeof fH==='string'?fH:fH['name'])['toLowerCase']();fG=Array['isArray'](fG)?fG:Array['of'](fG);for(let fJ of fG){if(fF[fJ]&&fF['BDFDBpatch'][fJ]){for(let fK of fh){if(fI)delete fF['BDFDBpatch'][fJ][fK][fI];else delete fF['BDFDBpatch'][fJ][fK];}var fL=!![];for(let fK of fh)if(!BDFDB['isObjectEmpty'](fF['BDFDBpatch'][fJ][fK]))fL=![];if(fL){fF[fJ]=fF['BDFDBpatch'][fJ]['originalMethod'];delete fF['BDFDBpatch'][fJ];if(BDFDB['isObjectEmpty'](fF['BDFDBpatch']))delete fF['BDFDBpatch'];}}}};BDFDB['WebModules']['unpatchall']=function(fN){if(BDFDB['isObject'](fN)&&Array['isArray'](fN['patchCancels']))for(let fO of fN['patchCancels'])fO();};BDFDB['WebModules']['forceAllUpdates']=function(fP,fQ){fQ=fQ&&fi[fQ]?fi[fQ]+'\x20'+fQ:fQ;if(BDFDB['isObject'](fP)&&BDFDB['isObject'](fP['patchModules'])&&(!fQ||fP['patchModules'][fQ])){const fR=document['querySelector'](BDFDB['dotCN']['app']);const fS=document['querySelector']('#bd-settingspane-container\x20'+BDFDB['dotCN']['scrollerwrap']);if(fR){var fT=[];for(let fU in fP['patchModules']){var fV=Array['isArray'](fP['patchModules'][fU])?fP['patchModules'][fU]:Array['of'](fP['patchModules'][fU]);if(fV['includes']('componentDidUpdate')||fV['includes']('componentDidMount')||fV['includes']('render'))fT['push'](fU);}fT=fQ?fT['filter'](fW=>fW==fQ):fT;if(fT['length']>0x0){const fX=BDFDB['getOwnerInstance']({'node':fR,'name':fT,'all':!![],'noCopies':!![],'group':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let fU in fX)for(let fZ in fX[fU])BDFDB['WebModules']['initiateProcess'](fP,fX[fU][fZ],fU,['componentDidUpdate','componentDidMount','render']);if(fS){const g0=BDFDB['getOwnerInstance']({'node':fS,'name':fT,'all':!![],'noCopies':!![],'group':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let fU in g0)for(let fZ in g0[fU])BDFDB['WebModules']['initiateProcess'](fP,g0[fU][fZ],fU,['componentDidUpdate','componentDidMount','render']);}}}}};BDFDB['WebModules']['patchModules']=function(g3){if(BDFDB['isObject'](g3)&&BDFDB['isObject'](g3['patchModules'])){for(let g4 in g3['patchModules']){var g5=fi[g4];if(g5){g3['patchModules'][g5+'\x20'+g4]=g3['patchModules'][g4];delete g3['patchModules'][g4];if(!fj[g4])g8(BDFDB['WebModules']['findByName'](g5),g5+'\x20'+g4);}else if(!fj[g4])g8(BDFDB['WebModules']['findByName'](g4),g4);}for(let g4 in fj){var g7=fi[g4]?fi[g4]+'\x20'+g4:g4;if(sm[fj[g4]]&&g3['patchModules'][g7])gf(fj[g4],g7);}function g8(g9,g4){if(g9){var g7=g4['split']('\x20')[0x0];g9=g9['displayName']==g7?g9:BDFDB['getOwnerInstance']({'instance':g9,'name':g7,'up':!![]});if(g9){var gc=g9['_reactInternalFiber']&&g9['_reactInternalFiber']['type']?g9['_reactInternalFiber']['type']:g9;var gd={};gd[g3['name']=='$BDFDB'?'before':'after']=ge=>{if(global['BDFDB']&&typeof BDFDB==='object'&&BDFDB['loaded'])BDFDB['WebModules']['initiateProcess'](g3,ge['thisObject'],g4,[ge['originalMethodName']]);};BDFDB['WebModules']['patch'](gc['prototype'],g3['patchModules'][g4],g3,gd);}}}function gf(gg,g4){var gi=![];const gj=document['querySelector'](BDFDB['dotCN']['app']);const gk=document['querySelector']('#bd-settingspane-container\x20'+BDFDB['dotCN']['scrollerwrap']);if(gj){var gl=BDFDB['getOwnerInstance']({'node':gj,'name':g4,'depth':0x5f5e0ff,'time':0x5f5e0ff});if(gl){gi=!![];g8(gl,g4);}}if(!gi&&gk){var gm=BDFDB['getOwnerInstance']({'node':gk,'name':g4,'depth':0x5f5e0ff,'time':0x5f5e0ff});if(gm){gi=!![];g8(gm,g4);}}if(!gi){var gn=![],go=new MutationObserver(gp=>{gp['forEach'](gq=>{gq['addedNodes']['forEach'](gr=>{var gs=null;if(!gn&&gr['tagName']&&(gs=BDFDB['containsClass'](gr,BDFDB['disCN'][gg])?gr:gr['querySelector'](BDFDB['dotCN'][gg]))!=null){instance=BDFDB['getReactInstance'](gs);if(gt(instance,g4)){gn=!![];go['disconnect']();g8(instance,g4);BDFDB['WebModules']['forceAllUpdates'](g3,g4);}}});});});BDFDB['addObserver'](g3,BDFDB['dotCN']['appmount'],{'name':'checkForInstanceObserver','instance':go,'multi':!![]},{'childList':!![],'subtree':!![]});}}function gt(gu,g4){if(!gu)return![];gu=gu['displayName']==g4?gu:BDFDB['getOwnerInstance']({'instance':gu,'name':g4,'up':!![]});return gu&&(g4!='V2C_PluginCard'&&g4!='V2C_ThemeCard'||g4=='V2C_PluginCard'&&BDFDB['checkWhichRepoPage']()=='plugins'||g4=='V2C_ThemeCard'&&BDFDB['checkWhichRepoPage']()=='themes');}}};BDFDB['WebModules']['initiateProcess']=function(gw,gx,gy,gz){if(BDFDB['isObject'](gw)&&gx){gw=gw['name']=='$BDFDB'?sQ:gw;gy=(gy['split']('\x20')[0x1]||gy)['replace'](/[^A-z0-9]|_/g,'');gy=gy[0x0]['toUpperCase']()+gy['slice'](0x1);if(typeof gw['process'+gy]=='function'){var gA=BDFDB['React']['findDOMNodeSafe'](gx);if(gA)gw['process'+gy](gx,gA,gz);else setImmediate(()=>{gA=BDFDB['React']['findDOMNodeSafe'](gx);if(gA)gw['process'+gy](gx,gA,gz);});}}};BDFDB['addOnSwitchListener']=function(gB){if(typeof gB['onSwitch']==='function'){BDFDB['removeOnSwitchListener'](gB);var gC=document['querySelector'](BDFDB['dotCN']['guildswrapper']+'\x20+\x20*\x20>\x20'+BDFDB['dotCN']['chatspacer']);if(gC){var gD=new MutationObserver(gE=>{gE['forEach'](gF=>{if(gF['target']&&BDFDB['containsClass'](gF['target'],BDFDB['disCN']['nochannel']))gB['onSwitch']();});});var gG=gC['querySelector'](BDFDB['dotCNC']['chat']+BDFDB['dotCN']['nochannel']);if(gG)gD['observe'](gG,{'attributes':!![]});gB['onSwitchFix']=new MutationObserver(gH=>{gH['forEach'](gI=>{if(gI['addedNodes']){gI['addedNodes']['forEach'](gJ=>{if(BDFDB['containsClass'](gJ,BDFDB['disCN']['chat'],BDFDB['disCN']['nochannel'],![]))gD['observe'](gJ,{'attributes':!![]});});}});});gB['onSwitchFix']['observe'](gC,{'childList':!![]});}}};BDFDB['removeOnSwitchListener']=function(gK){if(typeof gK['onSwitch']==='function'&&BDFDB['isObject'](gK['onSwitchFix'])){gK['onSwitchFix']['disconnect']();delete gK['onSwitchFix'];}};BDFDB['addContextListener']=function(gL){for(let gM of['User','Guild','Channel','GroupDM','Message','Native','UserSettingsCog']){if(typeof gL['on'+gM+'Context']==='function'||typeof gL['on'+gM+'ContextMenu']==='function'){if(gM=='GroupDM'){var gN=![],gO=new MutationObserver(gP=>{gP['forEach'](gQ=>{gQ['addedNodes']['forEach'](gR=>{var gS=null;if(!gN&&gR['tagName']&&(gS=BDFDB['containsClass'](gR,BDFDB['disCN']['contextmenu'])?gR:gR['querySelector'](BDFDB['dotCN']['contextmenu']))!=null){var gT=BDFDB['getReactInstance'](gS);if(gT&&gT['return']&&gT['return']['type']&&gT['return']['type']['displayName']==gM+'ContextMenu'){gN=!![];gO['disconnect']();gU(gM,gT['return']['type']);gY(gM,gT['return']['stateNode'],gT['stateNode']);}}});});});BDFDB['addObserver'](gL,BDFDB['dotCN']['appmount'],{'name':'checkForContextObserver','instance':gO,'multi':!![]},{'childList':!![],'subtree':!![]});}else gU(gM,BDFDB['WebModules']['findByName'](gM+'ContextMenu'));}}function gU(gM,gW){if(gW&&gW['prototype'])BDFDB['WebModules']['patch'](gW['prototype'],'componentDidMount',gL,{'after':gX=>{gY(gM,gX['thisObject'],BDFDB['React']['findDOMNodeSafe'](gX['thisObject']));}});}function gY(gM,h0,h1){if(h0&&h1){if(typeof gL['on'+gM+'Context']==='function')gL['on'+gM+'Context'](h0,h1);if(typeof gL['on'+gM+'ContextMenu']==='function')gL['on'+gM+'ContextMenu'](h0,h1);BDFDB['initElements'](h1,gL);BDFDB['updateContextPosition'](h1);}}};BDFDB['addSettingsButtonListener']=function(h2){if(BDFDB['isBDv2']()&&typeof h2['getSettingsPanel']==='function'){BDFDB['removeSettingsButtonListener'](h2);BDFDB['appendSettingsButton'](h2);var h3=document['querySelector']('.bd-content-region\x20>\x20.bd-content');if(h3){h2['settingsButtonObserver']=new MutationObserver(h4=>{h4['forEach'](h5=>{if(h5['addedNodes']){h5['addedNodes']['forEach'](h6=>{if(h6['tagName']&&BDFDB['containsClass'](h6,'active'))BDFDB['appendSettingsButton'](h2);});}});});h2['settingsButtonObserver']['observe'](h3,{'childList':!![]});}}};BDFDB['appendSettingsButton']=function(h7){var h8=document['querySelector'](BDFDB['dotCN']['_bdv2card']+'[data-plugin-id='+h7['id']+']');if(h8){var h9=BDFDB['htmlToElement']('');h8['insertBefore'](h9,h8['querySelector'](BDFDB['d']['_bdv2button']));h9['addEventListener']('mouseenter',()=>{BDFDB['createTooltip']('Settings',h9,{'type':'top'});BDFDB['addClass'](h9,BDFDB['disCN']['_bdv2tooltipopen']);});h9['addEventListener']('mouseleave',()=>{BDFDB['removeClass'](h9,BDFDB['disCN']['_bdv2tooltipopen']);});h9['addEventListener']('click',()=>{var ha=BDFDB['htmlToElement'](''+h7['name']+'\x20Settings
');var hb=h7['getSettingsPanel']();ha['querySelector'](BDFDB['dotCN']['modalsubinner'])['appendChild'](typeof hb=='string'?BDFDB['htmlToElement'](hb):hb);if(typeof h7['onSettingsClosed']==='function')BDFDB['addChildEventListener'](ha,'click',BDFDB['dotCNC']['modalclose']+BDFDB['dotCN']['backdrop'],()=>{h7['onSettingsClosed']();});BDFDB['appendModal'](ha);});}};BDFDB['removeSettingsButtonListener']=function(hc){if(BDFDB['isBDv2']()&&typeof hc['settingsButtonObserver']==='object'){BDFDB['removeEles']('.bd-card[data-plugin-id='+hc['id']+']\x20.BDFDB-settingsbutton');hc['settingsButtonObserver']['disconnect']();delete hc['settingsButtonObserver'];}};var hd={},he=fb['LanguageStore']?Object['assign']({},fb['LanguageStore']['_proxyContext']['defaultMessages']):{};BDFDB['LanguageStrings']=new Proxy(he,{'get':function(hf,hg){var hh=fb['LanguageStore']['Messages'][hg];if(!hh)console['warn']('%c[BDFDB]%c','color:#3a71c1;\x20font-weight:700;','',hg+'\x20not\x20found\x20in\x20BDFDB.LanguageStrings');else{var hi=typeof hh=='object'?hh['format'](Object['assign']({},hd)):hh;if(typeof hi=='string')return hi;else if(Array['isArray'](hi)){var hj='';for(let hk of hi){if(typeof hk=='string')hj+=BDFDB['encodeToHTML'](hk);else if(BDFDB['isObject'](hk)&&hk['props'])hj+='<'+hk['type']+'>'+BDFDB['encodeToHTML'](hk['props']['children'][0x0]['toString']())+''+hk['type']+'>';}return hj;}else console['warn']('%c[BDFDB]%c','color:#3a71c1;\x20font-weight:700;','',hg+'\x20could\x20not\x20be\x20parsed\x20from\x20BDFDB.LanguageStrings');}return'';}});BDFDB['LanguageStringsCheck']=new Proxy(he,{'get':function(hl,hm){return fb['LanguageStore']['Messages'][hm];}});BDFDB['LanguageStringsFormat']=function(hn,ho){if(hn&&ho){var hp=fb['LanguageStore']['Messages'][hn];if(hp&&typeof hp=='object'&&typeof hp['format']=='function'){try{var hq={};for(let hr in hd)hq[hr]=ho;var hs=hp['format'](hq);if(typeof hs=='string')return hs;else if(Array['isArray'](hs)){var ht='';for(let hu of hs){if(typeof hu=='string')ht+=BDFDB['encodeToHTML'](hu);else if(BDFDB['isObject'](hu)&&hu['props'])ht+='<'+hu['type']+'>'+BDFDB['encodeToHTML'](hu['props']['children'][0x0]['toString']())+''+hu['type']+'>';}return ht;}}catch(hv){console['warn']('%c[BDFDB]%c','color:#3a71c1;\x20font-weight:700;','',hn+'\x20failed\x20to\x20format\x20string\x20in\x20BDFDB.LanguageStrings');}}else console['warn']('%c[BDFDB]%c','color:#3a71c1;\x20font-weight:700;','',hn+'\x20is\x20not\x20a\x20formatable\x20string\x20in\x20BDFDB.LanguageStrings');}else console['warn']('%c[BDFDB]%c','color:#3a71c1;\x20font-weight:700;','',hn+'\x20enter\x20a\x20valid\x20key\x20and\x20value\x20to\x20format\x20the\x20string');return'';};if(fb['LanguageStore'])for(let hw in he){try{BDFDB['LanguageStrings'][hw];}catch(hx){let hy=hx['toString']()['split']('for:\x20')[0x1];if(hy&&typeof hy=='string'&&!hd[hy])hd[hy]='{{'+hy['toLowerCase']()+'}}';}};BDFDB['equals']=function(hz,hA,hB){var hC=-0x1;if(hB===undefined||typeof hB!=='boolean')hB=![];return hD(hz,hA);function hD(hE,hF){hC++;var hG=!![];if(hC>0x3e8)hG=null;else{if(typeof hE!==typeof hF)hG=![];else if(typeof hE==='undefined')hG=!![];else if(typeof hE==='symbol')hG=!![];else if(typeof hE==='boolean')hG=hE==hF;else if(typeof hE==='string')hG=hE==hF;else if(typeof hE==='number'){if(isNaN(hE)||isNaN(hF))hG=isNaN(hE)==isNaN(hF);else hG=hE==hF;}else if(!hE&&!hF)hG=!![];else if(!hE||!hF)hG=![];else if(typeof hE==='function'||typeof hE==='object'){var hH=Object['getOwnPropertyNames'](hE);var hI=Object['getOwnPropertyNames'](hF);if(hH['length']!==hI['length'])hG=![];else for(let hJ=0x0;hG===!![]&&hJhY['length']?i1:hY['length'];};BDFDB['readServerList']=function(){var i2=[],i3=BDFDB['getOwnerInstance']({'node':document['querySelector'](BDFDB['dotCN']['guilds']),'name':['Guild','GuildIcon'],'all':!![],'noCopies':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let i4 in i3)if(i3[i4]['props']&&i3[i4]['props']['guild'])i2['push'](Object['assign'](new i3[i4]['props']['guild']['constructor'](i3[i4]['props']['guild']),{'div':i3[i4]['handleContextMenu']?BDFDB['React']['findDOMNodeSafe'](i3[i4]):BDFDB['createServerDivCopy'](i3[i4]['props']['guild']),'instance':i3[i4]}));return i2;};BDFDB['readUnreadServerList']=function(i5){var i6=[];for(let i7 of i5===undefined||!Array['isArray'](i5)?BDFDB['readServerList']():i5){if(!i7)return null;let c=Node['prototype']['isPrototypeOf'](i7)?BDFDB['getServerID'](i7):typeof i7=='object'?i7['id']:i7;c=typeof c=='number'?c['toFixed']():c;if(c&&(fb['UnreadUtils']['hasUnread'](c)||fb['MentionUtils']['getMentionCount'](c)>0x0))i6['push'](i7);}return i6;};BDFDB['readMutedServerList']=function(i9){var ia=[];for(let ib of i9===undefined||!Array['isArray'](i9)?BDFDB['readServerList']():i9){if(!ib)return null;let c=Node['prototype']['isPrototypeOf'](ib)?BDFDB['getServerID'](ib):typeof ib=='object'?ib['id']:ib;c=typeof c=='number'?c['toFixed']():c;if(c&&fb['MutedUtils']['isGuildOrCategoryOrChannelMuted'](c))ia['push'](ib);}return ia;};BDFDB['getSelectedServer']=function(){var id=fb['GuildStore']['getGuild'](fb['LastGuildStore']['getGuildId']());if(id)return BDFDB['getServerData'](id['id'])||Object['assign'](new id['constructor'](id),{'div':null,'instance':null});else return null;};BDFDB['getServerID']=function(ie){if(!Node['prototype']['isPrototypeOf'](ie)||!BDFDB['getReactInstance'](ie))return;let ig=BDFDB['getParentEle'](BDFDB['dotCN']['guildouter'],ie);if(!ig)return;var ih=ig['querySelector'](BDFDB['dotCN']['guildiconwrapper']);var c=ih&&ih['href']?ih['href']['split']('/')['slice'](-0x2)[0x0]:null;return c&&!isNaN(parseInt(c))?c['toString']():null;};BDFDB['getServerDiv']=function(ij){if(!ij)return null;if(Node['prototype']['isPrototypeOf'](ij))return BDFDB['getParentEle'](BDFDB['dotCN']['guildouter'],ij);else{let c=typeof ij=='object'?ij['id']:ij;if(c)return BDFDB['getParentEle'](BDFDB['dotCN']['guildouter'],document['querySelector'](BDFDB['dotCNS']['guilds']+BDFDB['dotCN']['guildiconwrapper']+'[href*=\x22/channels/'+c+'\x22]'))||BDFDB['createServerDivCopy'](c,{'pill':!![],'hover':!![],'click':!![],'menu':!![]});}return null;};BDFDB['getServerData']=function(il){if(!il)return null;let c=Node['prototype']['isPrototypeOf'](il)?BDFDB['getServerID'](il):typeof il=='object'?il['id']:il;c=typeof c=='number'?c['toFixed']():c;for(let io of BDFDB['readServerList']())if(io&&io['id']==c)return io;return null;};BDFDB['createServerDivCopy']=function(ip,iq={'pill':![],'hover':![],'click':![],'menu':![],'size':null}){let c=typeof ip=='object'?ip['id']:ip;let is=c?fb['GuildStore']['getGuild'](c):null;if(is){let it=Math['round'](Math['random']()*0x2386f26fc10000);let iu=BDFDB['htmlToElement']('');let iv=iu['querySelector'](BDFDB['dotCN']['guildcontainer']);BDFDB['toggleEles'](iu['querySelector'](BDFDB['dotCN']['guildpillwrapper']),iq['pill']);if(iq['hover']){let iw=iu['querySelector'](BDFDB['dotCN']['guildiconwrapper']);let ix=iu['querySelector'](BDFDB['dotCN']['guildpillitem']);let iy=ix['style']['getPropertyValue']('opacity')!=0x0;let iz=new fb['Animations']['Value'](0x0);iz['interpolate']({'inputRange':[0x0,0x1],'outputRange':[0x32,0x1e]})['addListener'](iA=>{iv['style']['setProperty']('border-radius',iA['value']+'%');});let iB=new fb['Animations']['Value'](0x0);iB['interpolate']({'inputRange':[0x0,0x1],'outputRange':[0x8,0x14]})['addListener'](iC=>{ix['style']['setProperty']('height',iC['value']+'px');});let iD=new fb['Animations']['Value'](0x0);iD['interpolate']({'inputRange':[0x0,0x1],'outputRange':[0x0,0.7]})['addListener'](iE=>{ix['style']['setProperty']('opacity',''+iE['value']);});let iF=iG=>{fb['Animations']['parallel']([fb['Animations']['timing'](iz,{'toValue':iG,'duration':0xc8}),fb['Animations']['spring'](iB,{'toValue':iG,'friction':0x5})])['start']();};let iH=iI=>{fb['Animations']['parallel']([fb['Animations']['timing'](iD,{'toValue':iI,'duration':0xc8})])['start']();};iv['addEventListener']('mouseenter',()=>{iy=ix['style']['getPropertyValue']('opacity')!=0x0;if(fb['LastGuildStore']['getGuildId']()!=is['id']){iF(0x1);if(!iy)iH(0x1);}});iv['addEventListener']('mouseleave',()=>{if(fb['LastGuildStore']['getGuildId']()!=is['id']){iF(0x0);if(!iy)iH(0x0);}});}if(iq['click'])iv['addEventListener']('click',iJ=>{BDFDB['stopEvent'](iJ);fb['GuildUtils']['transitionToGuildSync'](is['id']);if(typeof iq['click']=='function')iq['click']();});if(iq['menu'])iv['addEventListener']('contextmenu',iK=>{BDFDB['openGuildContextMenu'](is['id'],iK);if(typeof iq['menu']=='function')iq['menu']();});if(iq['size']){iu['style']['setProperty']('margin','0','important');iu['style']['setProperty']('width',iq['size']+'px','important');iu['style']['setProperty']('height',iq['size']+'px','important');}return iu;}else return null;};BDFDB['openGuildContextMenu']=function(iL,iM=BDFDB['mousePosition']){let c=Node['prototype']['isPrototypeOf'](iL)?BDFDB['getServerID'](iL):typeof iL=='object'?iL['id']:iL;let iO=fb['GuildStore']['getGuild'](c);if(iO)fb['ContextMenuUtils']['openContextMenu'](iM,function(iM){return BDFDB['React']['createElement'](BDFDB['WebModules']['findByName']('GuildContextMenu'),Object['assign']({},iM,{'type':fb['DiscordConstants']['ContextMenuTypes']['GUILD_ICON_BAR'],'guild':iO,'badge':fb['MentionUtils']['getMentionCount'](iO['id']),'link':fb['DiscordConstants']['Routes']['CHANNEL'](iO['id'],fb['LastChannelStore']['getChannelId'](iO['id'])),'selected':iO['id']==fb['LastGuildStore']['getGuildId']()}));});};BDFDB['readChannelList']=function(){var iQ=[],iR=BDFDB['getOwnerInstance']({'node':document['querySelector'](BDFDB['dotCN']['channels']),'name':['ChannelCategoryItem','ChannelItem','PrivateChannel'],'all':!![],'noCopies':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let iS in iR)if(iR[iS]['props']&&!iR[iS]['props']['ispin']&&iR[iS]['props']['channel']&&iR[iS]['_reactInternalFiber']['return']){var iT=BDFDB['React']['findDOMNodeSafe'](iR[iS]);iT=iT&&BDFDB['containsClass'](iT['parentElement'],BDFDB['disCN']['categorycontainerdefault'],BDFDB['disCN']['channelcontainerdefault'],![])?iT['parentElement']:iT;iQ['push'](Object['assign'](new iR[iS]['props']['channel']['constructor'](iR[iS]['props']['channel']),{'div':iT,'instance':iR[iS]}));}return iQ;};BDFDB['getSelectedChannel']=function(){var iU=fb['ChannelStore']['getChannel'](fb['LastChannelStore']['getChannelId']());if(iU)return BDFDB['getChannelData'](iU['id'])||Object['assign'](new iU['constructor'](iU),{'div':null,'instance':null});else return null;};BDFDB['getChannelID']=function(iV){if(!Node['prototype']['isPrototypeOf'](iV)||!BDFDB['getReactInstance'](iV))return;iV=BDFDB['getParentEle'](BDFDB['dotCNC']['categorycontainerdefault']+BDFDB['dotCNC']['channelcontainerdefault']+BDFDB['dotCN']['dmchannel'],iV);if(!iV)return;var iW=BDFDB['getKeyInformation']({'node':iV,'key':'channel'});return iW?iW['id']['toString']():null;};BDFDB['getChannelDiv']=function(iX){if(!iX)return null;let iY=BDFDB['getChannelData'](iX);return iY?iY['div']:null;};BDFDB['getChannelData']=function(iZ){if(!iZ)return null;let c=Node['prototype']['isPrototypeOf'](iZ)?BDFDB['getChannelID'](iZ):typeof iZ=='object'?iZ['id']:iZ;c=typeof c=='number'?c['toFixed']():c;for(let j1 of BDFDB['readChannelList']())if(j1&&j1['id']==c)return j1;return null;};BDFDB['readDmList']=function(){var j2=[],j3=BDFDB['getOwnerInstance']({'node':document['querySelector'](BDFDB['dotCN']['guilds']),'name':'DirectMessage','all':!![],'noCopies':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let j4 in j3)if(j3[j4]['props']&&j3[j4]['props']['channel']&&j3[j4]['_reactInternalFiber']['child'])j2['push'](Object['assign'](new j3[j4]['props']['channel']['constructor'](j3[j4]['props']['channel']),{'div':BDFDB['React']['findDOMNodeSafe'](j3[j4]),'instance':j3[j4]}));return j2;};BDFDB['getDmID']=function(j5){if(!Node['prototype']['isPrototypeOf'](j5)||!BDFDB['getReactInstance'](j5))return;let j6=BDFDB['getParentEle'](BDFDB['dotCN']['guildouter'],j5);if(!j6)return;var j7=j6['querySelector'](BDFDB['dotCN']['guildiconwrapper']);var c=j7&&j7['href']?j7['href']['split']('/')['slice'](-0x1)[0x0]:null;return c&&!isNaN(parseInt(c))?c['toString']():null;};BDFDB['getDmDiv']=function(j9){if(!j9)return null;if(Node['prototype']['isPrototypeOf'](j9)){var ja=BDFDB['getParentEle'](BDFDB['dotCN']['guildouter'],j9);return ja?ja['parentElement']:ja;}else{let c=typeof j9=='object'?j9['id']:j9;if(c){var ja=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 ja&&BDFDB?ja['parentElement']:ja;}}return null;};BDFDB['getDmData']=function(jd){if(!jd)return null;let c=Node['prototype']['isPrototypeOf'](jd)?BDFDB['getDmID'](jd):typeof jd=='object'?jd['id']:jd;c=typeof c=='number'?c['toFixed']():c;for(let jf of BDFDB['readDmList']())if(jf&&jf['id']==c)return jf;return null;};BDFDB['markChannelAsRead']=function(jg){if(!jg)return;var jh=[];for(let ji of jg=Array['isArray'](jg)?jg:typeof jg=='string'||typeof jg=='number'?Array['of'](jg):Array['from'](jg)){let c=Node['prototype']['isPrototypeOf'](ji)?BDFDB['getChannelID'](ji)||BDFDB['getDmID'](ji):ji&&typeof ji=='object'?ji['id']:ji;if(c)jh['push'](c);}if(jh['length']>0x0)fb['AckUtils']['bulkAck'](jh);};BDFDB['markGuildAsRead']=function(jk){if(!jk)return;var jl=[];for(let jm of Array['isArray'](jk)?jk:typeof jk=='string'||typeof jk=='number'?Array['of'](jk):Array['from'](jk)){let c=Node['prototype']['isPrototypeOf'](jm)?BDFDB['getServerID'](jm):jm&&typeof jm=='object'?jm['id']:jm;let jo=c?fb['GuildChannelStore']['getChannels'](c):null;if(jo)for(let jp in jo)if(Array['isArray'](jo[jp]))for(let jq of jo[jp])jl['push'](jq['channel']['id']);}if(jl['length']>0x0)fb['AckUtils']['bulkAck'](jl);};BDFDB['saveAllData']=function(jr,js,jt){var ju=require('fs'),jv,jw;if(!BDFDB['isBDv2']()){jw=typeof js==='string'?js:js['name'];jv=require('path')['join'](BDFDB['getPluginsFolder'](),jw+'.config.json');}else{jw=typeof js==='string'?js['toLowerCase']():null;var jx=jw?BDFDB['Plugins'][jw]?BDFDB['Plugins'][jw]['contentPath']:null:js['contentPath'];if(!jx)return;jv=require('path')['join'](jx,'settings.json');}var jy=ju['existsSync'](jv);var jz=!jy?{}:typeof BDFDB['cachedData'][jw]!=='undefined'?BDFDB['cachedData'][jw]:BDFDB['readConfig'](jv);jz[jt]=jr;if(BDFDB['isObjectEmpty'](jz[jt]))delete jz[jt];if(BDFDB['isObjectEmpty'](jz)){delete BDFDB['cachedData'][jw];if(jy)ju['unlinkSync'](jv);}else{BDFDB['cachedData'][jw]=jz;ju['writeFileSync'](jv,JSON['stringify'](jz,null,'\x09'));}};BDFDB['loadAllData']=function(jA,jB){var jC=require('fs'),jD,jE;if(!BDFDB['isBDv2']()){jE=typeof jA==='string'?jA:jA['name'];jD=require('path')['join'](BDFDB['getPluginsFolder'](),jE+'.config.json');}else{jE=typeof jA==='string'?jA['toLowerCase']():null;var jF=jE?BDFDB['Plugins'][jE]?BDFDB['Plugins'][jE]['contentPath']:null:jA['contentPath'];if(!jF)return{};jD=require('path')['join'](jF,'settings.json');}if(!jC['existsSync'](jD)){delete BDFDB['cachedData'][jE];return{};}var jG=typeof BDFDB['cachedData'][jE]!=='undefined'?BDFDB['cachedData'][jE]:BDFDB['readConfig'](jD);BDFDB['cachedData'][jE]=jG;return jG&&typeof jG[jB]!=='undefined'?jG[jB]:{};};BDFDB['removeAllData']=function(jH,jI){var jJ=require('fs'),jK,jL;if(!BDFDB['isBDv2']()){jL=typeof jH==='string'?jH:jH['name'];jK=require('path')['join'](BDFDB['getPluginsFolder'](),jL+'.config.json');}else{jL=typeof jH==='string'?jH['toLowerCase']():null;var jM=jL?BDFDB['Plugins'][jL]?BDFDB['Plugins'][jL]['contentPath']:null:jH['contentPath'];if(!jM)return;jK=require('path')['join'](jM,'settings.json');}var jN=jJ['existsSync'](jK);var jO=!jN?{}:typeof BDFDB['cachedData'][jL]!=='undefined'?BDFDB['cachedData'][jL]:BDFDB['readConfig'](jK);delete jO[jI];if(BDFDB['isObjectEmpty'](jO)){delete BDFDB['cachedData'][jL];if(jN)jJ['unlinkSync'](jK);}else{BDFDB['cachedData'][jL]=jO;jJ['writeFileSync'](jK,JSON['stringify'](jO,null,'\x09'));}};BDFDB['getAllData']=function(jP,jQ){if(!BDFDB['isObject'](jP)||!jP['defaults']||!jP['defaults'][jQ])return{};var jR=BDFDB['loadAllData'](jP,jQ),jS={},jT=![];for(let jU in jP['defaults'][jQ]){if(jR[jU]==null){jS[jU]=jP['defaults'][jQ][jU]['value'];jT=!![];}else jS[jU]=jR[jU];}if(jT)BDFDB['saveAllData'](jS,jP,jQ);return jS;};BDFDB['readConfig']=function(jV){try{return JSON['parse'](require('fs')['readFileSync'](jV));}catch(jW){return{};}};BDFDB['saveData']=function(c,jY,jZ,k0){var k1=BDFDB['loadAllData'](jZ,k0);k1[c]=jY;BDFDB['saveAllData'](k1,jZ,k0);};BDFDB['loadData']=function(c,k3,k4){var k5=BDFDB['loadAllData'](k3,k4);var k6=k5[c];return k6===undefined?null:k6;};BDFDB['removeData']=function(c,k8,k9){var ka=BDFDB['loadAllData'](k8,k9);delete ka[c];BDFDB['saveAllData'](ka,k8,k9);};BDFDB['getData']=function(c,kc,kd){var ke=BDFDB['getAllData'](kc,kd);var kf=ke[c];return kf===undefined?null:kf;};BDFDB['appendWebScript']=function(kg,kh){if(!kh&&!document['head']['querySelector']('bd-head\x20bd-scripts'))document['head']['appendChild'](BDFDB['htmlToElement'](''));kh=kh||document['head']['querySelector']('bd-head\x20bd-scripts')||document['head'];kh=Node['prototype']['isPrototypeOf'](kh)?kh:document['head'];BDFDB['removeWebScript'](kg,kh);kh['appendChild'](BDFDB['htmlToElement'](''));};BDFDB['removeWebScript']=function(ki,kj){kj=kj||document['head']['querySelector']('bd-head\x20bd-scripts')||document['head'];kj=Node['prototype']['isPrototypeOf'](kj)?kj:document['head'];BDFDB['removeEles'](kj['querySelectorAll']('script[src=\x22'+ki+'\x22]'));};BDFDB['appendWebStyle']=function(kk,kl){if(!kl&&!document['head']['querySelector']('bd-head\x20bd-styles'))document['head']['appendChild'](BDFDB['htmlToElement'](''));kl=kl||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];kl=Node['prototype']['isPrototypeOf'](kl)?kl:document['head'];BDFDB['removeWebStyle'](kk,kl);kl['appendChild'](BDFDB['htmlToElement'](''));};BDFDB['removeWebStyle']=function(km,kn){kn=kn||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];kn=Node['prototype']['isPrototypeOf'](kn)?kn:document['head'];BDFDB['removeEles'](kn['querySelectorAll']('link[href=\x22'+km+'\x22]'));};BDFDB['appendLocalStyle']=function(c,kp,kq){if(!kq&&!document['head']['querySelector']('bd-head\x20bd-styles'))document['head']['appendChild'](BDFDB['htmlToElement'](''));kq=kq||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];kq=Node['prototype']['isPrototypeOf'](kq)?kq:document['head'];BDFDB['removeLocalStyle'](c,kq);kq['appendChild'](BDFDB['htmlToElement'](''));};BDFDB['removeLocalStyle']=function(c,ks){ks=ks||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];ks=Node['prototype']['isPrototypeOf'](ks)?ks:document['head'];BDFDB['removeEles'](ks['querySelectorAll']('style[id=\x22'+c+'CSS\x22]'));};BDFDB['formatBytes']=function(kt,ku){kt=parseInt(kt);if(isNaN(kt)||kt<0x0)return'0\x20Bytes';if(kt==0x1)return'1\x20Byte';var kv=Math['floor'](Math['log'](kt)/Math['log'](0x400));return parseFloat((kt/Math['pow'](0x400,kv))['toFixed'](ku<0x1?0x0:ku>0x14?0x14:ku||0x2))+'\x20'+['Bytes','KB','MB','GB','TB','PB','EB','ZB','YB'][kv];};BDFDB['colorCONVERT']=function(kw,kx,ky){if(!kw)return null;kx=kx===undefined||!kx?kx='RGBCOMP':kx['toUpperCase']();ky=ky===undefined||!ky||!['RGB','RGBA','RGBCOMP','HSL','HSLA','HSLCOMP']['includes'](ky['toUpperCase']())?BDFDB['colorTYPE'](kw):ky['toUpperCase']();if(kx=='RGBCOMP'){switch(ky){case'RGBCOMP':if(kw['length']==0x3)return l8(kw);else if(kw['length']==0x4){var kz=lb(kw['pop']());return l8(kw)['concat'](kz);}case'RGB':return l8(kw['replace'](/\s/g,'')['slice'](0x4,-0x1)['split'](','));case'RGBA':var kA=kw['replace'](/\s/g,'')['slice'](0x5,-0x1)['split'](',');var kz=lb(kA['pop']());return l8(kA)['concat'](kz);case'HSLCOMP':if(kw['length']==0x3)return BDFDB['colorCONVERT']('hsl('+kw['join'](',')+')','RGBCOMP');else if(kw['length']==0x4){var kz=lb(jg['pop']());return BDFDB['colorCONVERT']('hsl('+jg['join'](',')+')','RGBCOMP')['concat'](kz);}case'HSL':var kD=lf(kw['replace'](/\s/g,'')['slice'](0x4,-0x1)['split'](','));var kE,kF,kG,kH,kI,kJ,kK,kL;var kM=kD[0x0]/0x168,kN=parseInt(kD[0x1])/0x64,kO=parseInt(kD[0x2])/0x64;kH=Math['floor'](kM*0x6);kI=kM*0x6-kH;kJ=kO*(0x1-kN);kK=kO*(0x1-kI*kN);kL=kO*(0x1-(0x1-kI)*kN);switch(kH%0x6){case 0x0:kE=kO,kF=kL,kG=kJ;break;case 0x1:kE=kK,kF=kO,kG=kJ;break;case 0x2:kE=kJ,kF=kO,kG=kL;break;case 0x3:kE=kJ,kF=kK,kG=kO;break;case 0x4:kE=kL,kF=kJ,kG=kO;break;case 0x5:kE=kO,kF=kJ,kG=kK;break;}return[Math['round'](kE*0xff),Math['round'](kF*0xff),Math['round'](kG*0xff)];case'HSLA':var kD=kw['replace'](/\s/g,'')['slice'](0x5,-0x1)['split'](',');var kz=lb(kD['pop']());return BDFDB['colorCONVERT']('hsl('+kD['join'](',')+')','RGBCOMP')['concat'](kz);case'HEX':var kR=/^#([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'](kw);return[parseInt(kR[0x1]+kR[0x1]||kR[0x4],0x10)['toString'](),parseInt(kR[0x2]+kR[0x2]||kR[0x5],0x10)['toString'](),parseInt(kR[0x3]+kR[0x3]||kR[0x6],0x10)['toString']()];default:return null;}}else{var kS=ky=='RGBCOMP'?kw:BDFDB['colorCONVERT'](kw,'RGBCOMP',ky);if(kS)switch(kx){case'RGB':return'rgb('+l8(kS['slice'](0x0,0x3))['join'](',')+')';case'RGBA':kS=kS['slice'](0x0,0x4);var kz=kS['length']==0x4?lb(kS['pop']()):0x1;return'rgba('+l8(kS)['concat'](kz)['join'](',')+')';case'HSLCOMP':var kz=kS['length']==0x4?lb(kS['pop']()):null;var kD=lf(BDFDB['colorCONVERT'](kS,'HSL')['replace'](/\s/g,'')['split'](','));return kz?kD['concat'](kz):kD;case'HSL':var kE=l6(kS[0x0]),kF=l6(kS[0x1]),kG=l6(kS[0x2]);var kZ=Math['max'](kE,kF,kG),l0=Math['min'](kE,kF,kG),l1=kZ-l0,kM,kN=kZ===0x0?0x0:l1/kZ,kO=kZ/0xff;switch(kZ){case l0:kM=0x0;break;case kE:kM=kF-kG+l1*(kF0xff?0xff:kI<0x0?0x0:kI;};function l8(kA){return kA['map'](kI=>{return l6(kI);});};function lb(kz){kz=kz['toString']();kz=(kz['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(kz['replace'](/[^0-9\.\-]/g,''));return isNaN(kz)||kz>0x1?0x1:kz<0x0?0x0:kz;};function ld(le){le=parseFloat(le['toString']()['replace'](/[^0-9\.\-]/g,''));return(isNaN(le)||le>0x64?0x64:le<0x0?0x0:le)+'%';};function lf(kA){let kM=parseFloat(kA['shift']()['toString']()['replace'](/[^0-9\.\-]/g,''));kM=isNaN(kM)||kM>0x168?0x168:kM<0x0?0x0:kM;return[kM]['concat'](kA['map'](li=>{return ld(li);}));};};var lj=(lk,ll,lm)=>{var ln=BDFDB['colorCONVERT'](lk,'RGBCOMP');if(ln){ll=ll['toString']();ll=(ll['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(ll['replace'](/[^0-9\.\-]/g,''));ll=isNaN(ll)||ll>0x1?0x1:ll<0x0?0x0:ll;ln[0x3]=ll;lm=(lm||BDFDB['colorTYPE'](lk))['toUpperCase']();lm=lm=='HSL'||lm=='RGB'?lm+'A':lm;return BDFDB['colorCONVERT'](ln,lm);}return null;};BDFDB['colorSETALPHA']=function(lo,lp,lq){if(BDFDB['isObject'](lo)){var lr={};for(let ls in lo)lr[ls]=lj(lo[ls],lp,lq);return lr;}else return lj(lo,lp,lq);};var lt=(lu,lv,lw)=>{var lx=BDFDB['colorCONVERT'](lu,'RGBCOMP');if(lx){if(parseInt(lv)!==lv){lv=lv['toString']();lv=(lv['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(lv['replace'](/[^0-9\.\-]/g,''));lv=isNaN(lv)?0x0:lv;return BDFDB['colorCONVERT']([Math['round'](lx[0x0]*(0x1+lv)),Math['round'](lx[0x1]*(0x1+lv)),Math['round'](lx[0x2]*(0x1+lv))],lw||BDFDB['colorTYPE'](lu));}else return BDFDB['colorCONVERT']([Math['round'](lx[0x0]+lv),Math['round'](lx[0x1]+lv),Math['round'](lx[0x2]+lv)],lw||BDFDB['colorTYPE'](lu));}return null;};BDFDB['colorCHANGE']=function(ly,lz,lA){lz=parseFloat(lz);if(ly&&typeof lz=='number'&&!isNaN(lz)){if(BDFDB['isObject'](ly)){var lB={};for(let lC in ly)lB[lC]=lt(ly[lC],lz,lA);return lB;}else return lt(ly,lz,lA);}return null;};BDFDB['colorINV']=function(lD,lE){if(lD){var lF=BDFDB['colorCONVERT'](lD,'RGBCOMP');if(lF)return BDFDB['colorCONVERT']([0xff-lF[0x0],0xff-lF[0x1],0xff-lF[0x2]],lE||BDFDB['colorTYPE'](lD));}return null;};BDFDB['colorCOMPARE']=function(lG,lH){if(lG&&lH){lG=BDFDB['colorCONVERT'](lG,'RGBCOMP');lH=BDFDB['colorCONVERT'](lH,'RGBCOMP');if(lG&&lH)return BDFDB['equals'](lG,lH);}return null;};BDFDB['colorISBRIGHT']=function(lI,lJ=0xa0){lI=BDFDB['colorCONVERT'](lI,'RGBCOMP');if(!lI)return![];return parseInt(lJ)