diff --git a/Plugins/BDFDB.js b/Plugins/BDFDB.js
index fb35de9c9b..17e34e9efd 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 c=Math['round'](Math['random']()*0x2386f26fc10000);var bM=BDFDB['htmlToElement']('');bM['anker']=bI;var bN=bM['firstElementChild']?bM['firstElementChild']:bM;if(bJ['id'])bM['id']=bJ['id']['split']('\x20')['join']('');if(bJ['selector'])BDFDB['addClass'](bM,bJ['selector']);if(bJ['css'])BDFDB['appendLocalStyle']('BDFDBcustomTooltip'+c,bJ['css'],bK);if(bJ['style'])bN['style']=bJ['style'];if(bJ['html']===!![])bN['innerHTML']=bH;else bN['innerText']=bH;if(bJ['type']&&BDFDB['disCN']['tooltip'+bJ['type']['toLowerCase']()]){BDFDB['addClass'](bN,BDFDB['disCN']['tooltip'+bJ['type']['toLowerCase']()]);bN['appendChild'](BDFDB['htmlToElement'](''));}if(bN['style']['borderColor']&&bN['style']['backgroundColor'])BDFDB['addClass'](bN,'tooltip-customcolor');else if(bJ['color']&&BDFDB['disCN']['tooltip'+bJ['color']['toLowerCase']()])BDFDB['addClass'](bN,BDFDB['disCN']['tooltip'+bJ['color']['toLowerCase']()]);else BDFDB['addClass'](bN,BDFDB['disCN']['tooltipblack']);bK['appendChild'](bM);if(!bJ['position']||bJ['type'])bJ['position']=bJ['type'];if(!bJ['position']||!['top','bottom','left','right']['includes'](bJ['position']['toLowerCase']()))bJ['position']='right';bM['position']=bJ['position']['toLowerCase']();BDFDB['updateTooltipPosition'](bM);var bO=()=>{bM['remove']();};var bP=new MutationObserver(bQ=>{bQ['forEach'](bR=>{var bS=Array['from'](bR['removedNodes']);var bT=bS['indexOf'](bM)>-0x1;var bU=bS['indexOf'](bI)>-0x1;var bV=bS['some'](bW=>bW['contains'](bI));if(bT||bU||bV){bP['disconnect']();bM['remove']();bI['removeEventListener']('mouseleave',bO);BDFDB['removeLocalStyle']('BDFDBcustomTooltip'+c,bK);}});});bP['observe'](document['body'],{'subtree':!![],'childList':!![]});bI['addEventListener']('mouseleave',bO);if(bJ['delay']){BDFDB['toggleEles'](bM);setTimeout(()=>{BDFDB['toggleEles'](bM);},bJ['delay']);}return bM;};BDFDB['updateTooltipPosition']=function(bX){if(!Node['prototype']['isPrototypeOf'](bX)||!Node['prototype']['isPrototypeOf'](bX['anker'])||!bX['position'])return;var bY,bZ,c0=BDFDB['getRects'](bX['anker']),c1=BDFDB['getRects'](bX),c2={'height':0x0,'width':0x0};var c3=bX['querySelector'](BDFDB['dotCN']['tooltippointer']);if(c3)c2=BDFDB['getRects'](c3);switch(bX['position']){case'top':bZ=c0['top']-c1['height']-c2['height']+0x2;bY=c0['left']+(c0['width']-c1['width'])/0x2;break;case'bottom':bZ=c0['top']+c0['height']+c2['height']-0x2;bY=c0['left']+(c0['width']-c1['width'])/0x2;break;case'left':bZ=c0['top']+(c0['height']-c1['height'])/0x2;bY=c0['left']-c1['width']-c2['width']+0x2;break;case'right':bZ=c0['top']+(c0['height']-c1['height'])/0x2;bY=c0['left']+c0['width']+c2['width']-0x2;break;}bX['style']['setProperty']('top',bZ+'px');bX['style']['setProperty']('left',bY+'px');var c4=BDFDB['getRects'](document['querySelector'](BDFDB['dotCN']['appmount'])),c1=BDFDB['getRects'](bX);var c6=bX['querySelector'](BDFDB['dotCN']['tooltippointer']);if(bX['position']=='top'||bX['position']=='bottom'){if(c1['left']<0x0){bX['style']['setProperty']('left','5px');c6['style']['setProperty']('margin-left',c1['left']-0xa+'px');}else{var c7=c4['width']-(c1['left']+c1['width']);if(c7<0x0){bX['style']['setProperty']('left',c4['width']-c1['width']-0x5+'px');c6['style']['setProperty']('margin-left',-0x1*c7+'px');}}}else if(bX['position']=='left'||bX['position']=='right'){if(c1['top']<0x0){bX['style']['setProperty']('top','5px');c6['style']['setProperty']('margin-top',c1['top']-0xa+'px');}else{var c8=c4['height']-(c1['top']+c1['height']);if(c8<0x0){bX['style']['setProperty']('top',c4['height']-c1['height']-0x5+'px');c6['style']['setProperty']('margin-top',-0x1*c8+'px');}}}};BDFDB['createNotificationsBar']=function(c9,ca={}){if(!c9)return;var cb=document['querySelector'](BDFDB['dotCN']['layers']);if(!cb)return;var c=Math['round'](Math['random']()*0x2386f26fc10000);var cd=BDFDB['htmlToElement']('');cb['parentElement']['insertBefore'](cd,cb);var ce=cd['querySelector']('.notice-message');if(ca['platform'])for(let cf of ca['platform']['split']('\x20'))if(rG['noticeicon'+cf]){let cg=BDFDB['htmlToElement']('');BDFDB['addClass'](cg,BDFDB['disCN']['noticeplatformicon']);BDFDB['removeClass'](cg,BDFDB['disCN']['noticeicon']);cd['insertBefore'](cg,ce);}if(ca['customicon']){let ch=BDFDB['htmlToElement'](ca['customicon']);let cg=BDFDB['htmlToElement']('');if(ch['tagName']=='span'&&!ch['firstElementChild'])cg['style']['setProperty']('background','url('+ca['customicon']+')\x20center/cover\x20no-repeat');else cg['appendChild'](ch);BDFDB['addClass'](cg,BDFDB['disCN']['noticeplatformicon']);BDFDB['removeClass'](cg,BDFDB['disCN']['noticeicon']);cd['insertBefore'](cg,ce);}if(ca['btn'])cd['appendChild'](BDFDB['htmlToElement'](''));if(ca['id'])cd['id']=ca['id']['split']('\x20')['join']('');if(ca['selector'])BDFDB['addClass'](cd,ca['selector']);if(ca['css'])BDFDB['appendLocalStyle']('BDFDBcustomnotibar'+c,ca['css']);if(ca['style'])cd['style']=ca['style'];if(ca['html']===!![])ce['innerHTML']=c9;else{var cj=document['createElement']('a');var ck=[];for(let cl of c9['split']('\x20')){var cm=BDFDB['encodeToHTML'](cl);cj['href']=cl;ck['push'](cj['host']&&cj['host']!==window['location']['host']?'':cm);}ce['innerHTML']=ck['join']('\x20');}var cn=null;if(ca['type']&&!document['querySelector'](BDFDB['dotCNS']['chatbase']+BDFDB['dotCN']['noticestreamer'])){if(cn=BDFDB['disCN']['notice'+ca['type']])BDFDB['addClass'](cd,cn);if(ca['type']=='premium'){var co=cd['querySelector'](BDFDB['dotCN']['noticebutton']);if(co)BDFDB['addClass'](co,BDFDB['disCN']['noticepremiumaction']);BDFDB['addClass'](ce,BDFDB['disCN']['noticepremiumtext']);cd['insertBefore'](BDFDB['htmlToElement'](''),ce);}}if(!cn){var cp=BDFDB['colorCONVERT'](ca['color'],'RGBCOMP');if(cp){var cq=cp[0x0]>0xb4&&cp[0x1]>0xb4&&cp[0x2]>0xb4?'#000':'#FFF';var cr=BDFDB['colorCONVERT'](cp,'HEX');var cs=cp[0x0]>0xb4&&cp[0x1]>0xb4&&cp[0x2]>0xb4?'brightness(0%)':'brightness(100%)';BDFDB['appendLocalStyle']('BDFDBcustomnotibarColorCorrection'+c,'.BDFDB-notice.notice-'+c+'{background-color:'+cr+'\x20!important;}.BDFDB-notice.notice-'+c+'\x20.notice-message\x20{color:'+cq+'\x20!important;}.BDFDB-notice.notice-'+c+'\x20'+BDFDB['dotCN']['noticebutton']+'\x20{color:'+cq+'\x20!important;border-color:'+BDFDB['colorSETALPHA'](cq,0.25,'RGBA')+'\x20!important;}.BDFDB-notice.notice-'+c+'\x20'+BDFDB['dotCN']['noticebutton']+':hover\x20{color:'+cr+'\x20!important;background-color:'+cq+'\x20!important;}.BDFDB-notice.notice-'+c+'\x20'+BDFDB['dotCN']['noticedismiss']+'\x20{filter:'+cs+'\x20!important;}');}else BDFDB['addClass'](cd,BDFDB['disCN']['noticedefault']);}cd['style']['setProperty']('height','36px','important');cd['style']['setProperty']('min-width','70vw','important');cd['style']['setProperty']('left','unset','important');cd['style']['setProperty']('right','unset','important');let ct=(BDFDB['getTotalWidth'](document['body']['firstElementChild'])-BDFDB['getTotalWidth'](cd))/0x2;cd['style']['setProperty']('left',ct+'px','important');cd['style']['setProperty']('right',ct+'px','important');cd['style']['setProperty']('min-width','unset','important');cd['style']['setProperty']('width','unset','important');cd['style']['setProperty']('max-width','calc(100vw\x20-\x20'+ct*0x2+'px)','important');cd['querySelector'](BDFDB['dotCN']['noticedismiss'])['addEventListener']('click',()=>{cd['style']['setProperty']('overflow','hidden','important');cd['style']['setProperty']('height','0px','important');setTimeout(()=>{BDFDB['removeLocalStyle']('BDFDBcustomnotibar'+c);BDFDB['removeLocalStyle']('BDFDBcustomnotibarColorCorrection'+c);cd['remove']();},0x1f4);});return cd;};BDFDB['getDiscordFolder']=function(){var cu=BDFDB['getDiscordBuilt']();cu='discord'+(cu=='stable'?'':cu);return require('path')['resolve'](require('electron')['remote']['app']['getPath']('appData'),cu,BDFDB['getDiscordVersion']());};BDFDB['getPluginsFolder']=function(){var cv=require('process');var cw=require('path');if(cv['env']['injDir'])return cw['resolve'](cv['env']['injDir'],'plugins/');switch(cv['platform']){case'win32':return cw['resolve'](cv['env']['appdata'],'BetterDiscord/plugins/');case'darwin':return cw['resolve'](cv['env']['HOME'],'Library/Preferences/BetterDiscord/plugins/');default:if(cv['env']['XDG_CONFIG_HOME'])return cw['resolve'](cv['env']['XDG_CONFIG_HOME'],'BetterDiscord/plugins/');else return cw['resolve'](cv['env']['HOME'],'.config/BetterDiscord/plugins/');}};BDFDB['getThemesFolder']=function(){var cx=require('process');var cy=require('path');if(cx['env']['injDir'])return cy['resolve'](cx['env']['injDir'],'plugins/');switch(cx['platform']){case'win32':return cy['resolve'](cx['env']['appdata'],'BetterDiscord/themes/');case'darwin':return cy['resolve'](cx['env']['HOME'],'Library/Preferences/BetterDiscord/themes/');default:if(cx['env']['XDG_CONFIG_HOME'])return cy['resolve'](cx['env']['XDG_CONFIG_HOME'],'BetterDiscord/themes/');else return cy['resolve'](cx['env']['HOME'],'.config/BetterDiscord/themes/');}};BDFDB['checkWhichRepoPage']=function(cz=document['querySelector'](BDFDB['dotCN']['layer']+'[layer-id=\x22user-settings\x22]')){if(!cz)return;var cA=cz['querySelector'](BDFDB['dotCN']['_repofolderbutton']);if(!cA)return;var cB=cA['parentElement']['querySelector']('h2');if(cB&&cB['innerText']){let cC=cB['innerText']['toLowerCase']();if(cC==='plugins'||cC==='themes')return cC;}};BDFDB['checkAllUpdates']=function(){for(let cD in window['PluginUpdates']['plugins']){var cE=window['PluginUpdates']['plugins'][cD];BDFDB['checkUpdate'](cE['name'],cE['raw']);}};BDFDB['getLineOfString']=function(cF,cG){if(typeof cF!='string'||typeof cF!='string')return-0x1;let cH=cF['indexOf'](cG);if(cH<0x0)return-0x1;return cF['substring'](0x0,cH)['split']('\x0a')['length'];};BDFDB['sortObject']=function(cI,cJ,cK){var cL={};if(cJ===undefined||!cJ)for(let cM of Object['keys'](cI)['sort']())cL[cM]=cI[cM];else{let cN=[];for(let cM in cI)cN['push'](cI[cM]);cN=BDFDB['sortArrayByKey'](cN,cJ,cK);for(let cP of cN)for(let cM in cI)if(BDFDB['equals'](cP,cI[cM])){cL[cM]=cP;break;}}return cL;};BDFDB['reverseObject']=function(cR,cS){var cT={};for(let cU of cS===undefined||!cS?Object['keys'](cR)['reverse']():Object['keys'](cR)['sort']()['reverse']())cT[cU]=cR[cU];return cT;};BDFDB['filterObject']=function(cV,cW){return Object['keys'](cV)['filter'](cX=>cW(cV[cX]))['reduce']((cY,cZ)=>(cY[cZ]=cV[cZ],cY),{});};BDFDB['isObject']=function(d0){return d0&&Object['prototype']['isPrototypeOf'](d0)&&!Array['prototype']['isPrototypeOf'](d0);};BDFDB['isObjectEmpty']=function(d1){return typeof d1!=='object'||Object['getOwnPropertyNames'](d1)['length']==0x0;};BDFDB['pushToObject']=function(d2,d3){if(BDFDB['isObject'](d2))d2[Object['keys'](d2)['length']]=d3;};BDFDB['deepAssign']=function(d4,...d5){if(!d5['length'])return d4;var d6=d5['shift']();if(BDFDB['isObject'](d4)&&BDFDB['isObject'](d6)){for(var d7 in d6){if(BDFDB['isObject'](d6[d7])){if(!d4[d7])Object['assign'](d4,{[d7]:{}});BDFDB['deepAssign'](d4[d7],d6[d7]);}else Object['assign'](d4,{[d7]:d6[d7]});}}return BDFDB['deepAssign'](d4,...d5);};BDFDB['sortArrayByKey']=function(d8,d9,da){if(da===undefined)da=null;return d8['sort'](function(db,dc){var dd=db[d9],de=dc[d9];if(dd!==da)return ddde?0x1:0x0;});};BDFDB['numSortArray']=function(df,dg,dh){return df['sort'](function(di,dj){return didj?0x1:0x0;});};BDFDB['removeFromArray']=function(dk,dl,dm=![]){if(!dk||!dl||!Array['isArray'](dk)||!dk['includes'](dl))return dk;if(!dm)dk['splice'](dk['indexOf'](dl),0x1);else while(dk['indexOf'](dl)>-0x1)dk['splice'](dk['indexOf'](dl),0x1);return dk;};BDFDB['getAllIndexes']=function(dn,dp){var dq=[],dr=-0x1;while((dr=dn['indexOf'](dp,dr+0x1))!==-0x1)dq['push'](dr);return dq;};BDFDB['removeCopiesFromArray']=function(ds){return[...new Set(ds)];};BDFDB['highlightText']=function(dt,du){if(!du||du['length']<0x1)return dt;var dv=0x0,dw=dt,dx='',dy='';BDFDB['getAllIndexes'](dt['toUpperCase'](),du['toUpperCase']())['forEach'](dz=>{var dA=dv*(dx['length']+dy['length']);dz=dz+dA;var dB=dz+du['length'];var dC=[-0x1]['concat'](BDFDB['getAllIndexes'](dt['substring'](0x0,dz),'<'));var dD=[-0x1]['concat'](BDFDB['getAllIndexes'](dt['substring'](0x0,dz),'>'));if(dC[dC['length']-0x1]>dD[dD['length']-0x1])return;dt=dt['substring'](0x0,dz)+dx+dt['substring'](dz,dB)+dy+dt['substring'](dB);dv++;});return dt?dt:dw;};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 dE=setInterval(()=>{if(document['querySelector']('html')['lang']){clearInterval(dE);var dF=BDFDB['getDiscordLanguage']();BDFDB['languages']['$discord']['name']='Discord\x20('+dF['name']+')';BDFDB['languages']['$discord']['id']=dF['id'];BDFDB['languages']['$discord']['ownlang']=dF['ownlang'];}},0x64);BDFDB['getDiscordBuilt']=function(){if(BDFDB['getDiscordBuilt']['built'])return BDFDB['getDiscordBuilt']['built'];else{var dG=null;try{dG=require(require('electron')['remote']['app']['getAppPath']()+'/build_info.json')['releaseChannel']['toLowerCase']();}catch(dH){try{dG=require(require('electron')['remote']['app']['getAppPath']()['replace']('app.asar','')+'/build_info.json')['releaseChannel']['toLowerCase']();}catch(dI){var dJ=BDFDB['getDiscordVersion']();if(dJ){dJ=dJ['split']('.');if(dJ['length']==0x3&&!isNaN(dJ=parseInt(dJ[0x2])))dG=dJ>0x12c?'stable':da>0xc8?'canary':'ptb';else dG='stable';}else dG='stable';}}BDFDB['getDiscordBuilt']['built']=dG;return dG;}};BDFDB['getDiscordVersion']=function(){if(BDFDB['getDiscordBuilt']['version'])return BDFDB['getDiscordBuilt']['version'];else{var dK=null;try{dK=require('electron')['remote']['app']['getVersion']();}catch(dL){dL='';}BDFDB['getDiscordBuilt']['version']=dK;return dK;}};BDFDB['getDiscordLanguage']=function(){var dM=document['querySelector']('html')['lang']||'en-US';var dN=dM['split']('-');var dO=dN[0x0];var dP=dN[0x1]||'';dM=dP&&dO['toUpperCase']()!==dP['toUpperCase']()?dO+'-'+dP:dO;return BDFDB['languages'][dM]||BDFDB['languages'][dO]||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 dQ=BDFDB['getRects'](document['body']['firstElementChild']);var dR=Math['round'](0x64*window['outerWidth']/dQ['width']);var dS=Math['round'](0x64*window['outerHeight']/dQ['height']);return dRdU['startsWith']('__reactInternalInstance'))];};BDFDB['getReactValue']=function(dV,dW){if(!dV||!dW)return null;let dX=Node['prototype']['isPrototypeOf'](dV)?BDFDB['getReactInstance'](dV):dV;if(!BDFDB['isObject'](dX))return null;let dY=dX;for(let dZ of dW['split']('.')['filter'](e0=>e0)){dY=dY[dZ];if(dY==undefined)return null;}return dY;};BDFDB['getOwnerInstance']=function(e1){if(e1===undefined)return null;if(!e1['node']&&!e1['instance']||!e1['name']&&(!e1['props']||!Array['isArray'](e1['props'])))return null;var e2=e1['instance']||BDFDB['getReactInstance'](e1['node']);if(!e2)return null;e1['name']=e1['name']&&!Array['isArray'](e1['name'])?Array['of'](e1['name']):e1['name'];var e3=-0x1;var e4=e1['depth']===undefined?0xf:e1['depth'];var e5=e1['up']===undefined?![]:e1['up'];var e6=performance['now']();var e7=e1['time']===undefined?0x96:e1['time'];var e8=e5?{'return':!![],'sibling':!![],'_reactInternalFiber':!![]}:{'child':!![],'sibling':!![],'_reactInternalFiber':!![]};var e9={};var ea=ed(e2);if(e1['all']){for(let eb in e9){if(e1['group'])for(let e2 in e9[eb])delete e9[eb][e2]['BDFDBreactSearch'];else delete e9[eb]['BDFDBreactSearch'];}return e9;}else return ea;function ed(e2){e3++;if(!e2||Node['prototype']['isPrototypeOf'](e2)||BDFDB['getReactInstance'](e2)||e3>e4||performance['now']()-e6>e7)eg=null;else{var ef=Object['getOwnPropertyNames'](e2);var eg=null;for(let eh=0x0;eg==null&&ehe2['type']['displayName']===el['split']('\x20')[0x0]||e2['type']['name']===el['split']('\x20')[0x0])||e1['props']&&e1['props']['every'](em=>ek[em]!==undefined)||e1['defaultProps']&&e1['defaultProps']['every'](en=>ek[en]!==undefined))){if(e1['all']===undefined||!e1['all'])eg=ek;else if(e1['all']){if(e1['noCopies']===undefined||!e1['noCopies']||e1['noCopies']&&!ek['BDFDBreactSearch']){ek['BDFDBreactSearch']=!![];if(e1['group']){if(e1['name']&&e2['type']&&(e2['type']['displayName']||e2['type']['name'])){var eo='Default';for(let ep of e1['name'])if(e2['type']['displayName']===ep['split']('\x20')[0x0]||e2['type']['name']===ep['split']('\x20')[0x0]){eo=ep;break;}if(typeof e9[eo]=='undefined')e9[eo]={};BDFDB['pushToObject'](e9[eo],ek);}}else BDFDB['pushToObject'](e9,ek);}}}if(eg==null&&(typeof ej==='object'||typeof ej==='function')&&e8[ei])eg=ed(ej);}}e3--;return eg;}};BDFDB['getKeyInformation']=function(eq){if(eq===undefined)return null;if(!eq['node']&&!eq['instance']||!eq['key'])return null;var er=eq['instance']||BDFDB['getReactInstance'](eq['node']);if(!er)return null;var es=-0x1;var et=eq['depth']===undefined?0xf:eq['depth'];var eu=performance['now']();var ev=eq['time']===undefined?0x96:eq['time'];var ew={'props':!![],'state':!![],'stateNode':!![],'refs':!![],'updater':!![],'prototype':!![],'type':!![],'children':eq['up']?![]:!![],'type':!![],'memoizedProps':!![],'memoizedState':!![],'child':eq['up']?![]:!![],'return':eq['up']?!![]:![],'sibling':eq['up']?![]:!![],'firstEffect':!![]};var ex={'contextSection':!![]};if(typeof eq['whitelist']==='object')Object['assign'](ew,eq['whiteList']);if(typeof eq['blacklist']==='object')Object['assign'](ex,eq['blacklist']);var ey=[];var ez=eA(er);if(eq['all'])return ey;else return ez;function eA(er){es++;if(!er||Node['prototype']['isPrototypeOf'](er)||BDFDB['getReactInstance'](er)||es>et||performance['now']()-eu>ev)eD=null;else{var eC=Object['getOwnPropertyNames'](er);var eD=null;for(let eE=0x0;eD==null&&eEeN['default']=eL},[c])['default']:window['webpackJsonp']['push']([[],{[c]:(eP,eQ,eL)=>eP['exports']=eL},[[c]]]);delete eL['m'][c];delete eL['c'][c];BDFDB['WebModules']['find']['req']=eL;}for(let eS in BDFDB['WebModules']['find']['req']['c']){if(BDFDB['WebModules']['find']['req']['c']['hasOwnProperty'](eS)){var eT=BDFDB['WebModules']['find']['req']['c'][eS]['exports'];if(eT&&eT['__esModule']&&eT['default']&&eJ(eT['default']))return eT['default'];if(eT&&eJ(eT))return eT;}}};BDFDB['WebModules']['cachedData']={'prop':{},'name':{},'proto':{}};BDFDB['WebModules']['findByProperties']=function(eU){eU=Array['isArray'](eU)?eU:Array['from'](arguments);var eV=JSON['stringify'](eU);if(BDFDB['WebModules']['cachedData']['prop'][eV])return BDFDB['WebModules']['cachedData']['prop'][eV];else{var eW=BDFDB['WebModules']['find'](eW=>eU['every'](eY=>eW[eY]!==undefined));if(eW){BDFDB['WebModules']['cachedData']['prop'][eV]=eW;return eW;}else console['warn']('%c[BDFDB]%c','color:#3a71c1;\x20font-weight:700;','',eV+'\x20[properties]\x20not\x20found\x20in\x20WebModules');}};BDFDB['WebModules']['findByName']=function(eZ){var f0=JSON['stringify'](eZ);if(BDFDB['WebModules']['cachedData']['name'][f0])return BDFDB['WebModules']['cachedData']['name'][f0];else{var f1=BDFDB['WebModules']['find'](f1=>f1['displayName']===eZ);if(f1){BDFDB['WebModules']['cachedData']['name'][f0]=f1;return f1;}else console['warn']('%c[BDFDB]%c','color:#3a71c1;\x20font-weight:700;','',f0+'\x20[name]\x20not\x20found\x20in\x20WebModules');}};BDFDB['WebModules']['findByPrototypes']=function(f3){f3=Array['isArray'](f3)?f3:Array['from'](arguments);var f4=JSON['stringify'](f3);if(BDFDB['WebModules']['cachedData']['proto'][f4])return BDFDB['WebModules']['cachedData']['proto'][f4];else{var f5=BDFDB['WebModules']['find'](f5=>f5['prototype']&&f3['every'](f7=>f5['prototype'][f7]!==undefined));if(f5){BDFDB['WebModules']['cachedData']['proto'][f4]=f5;return f5;}else console['warn']('%c[BDFDB]%c','color:#3a71c1;\x20font-weight:700;','',f4+'\x20[prototypes]\x20not\x20found\x20in\x20WebModules');}};BDFDB['WebModules']['patchtypes']=['before','instead','after'];BDFDB['WebModules']['patchmap']={'Account':'FluxContainer(Account)','BannedCard':'BannedUser','InvitationCard':'InviteRow','InviteCard':'InviteRow','PopoutContainer':'Popout','MemberCard':'Member','Note':'FluxContainer(Note)','WebhookCard':'Webhook'};BDFDB['WebModules']['notfindablemodules']={'AuthWrapper':'loginscreen','BannedCard':'guildsettingsbannedcard','ChannelMember':'member','CircleIconButton':'guildbuttoncontainer','EmojiPicker':'emojipicker','FriendsOnline':'friendsonline','FriendRow':'friendsrow','Guild':'guildcontainer','GuildHeader':'guildheader','InstantInviteModal':'invitemodalwrapper','InvitationCard':'invitemodalinviterow','InviteCard':'guildsettingsinvitecard','PopoutContainer':'popout','PrivateChannelCall':'callcurrentcontainer','MemberCard':'guildsettingsmembercard','Message':'message','MessageOptionPopout':'optionpopout','MessageUsername':'messageusername','NameTag':'nametag','SearchResults':'searchresultswrap','TypingUsers':'typing','UserPopout':'userpopout','V2C_List':'_repolist','V2C_PluginCard':'_repoheader','V2C_ThemeCard':'_repoheader'};BDFDB['WebModules']['patch']=function(f8,f9,fa,fb){if(!f8||!f9||!fa||!Object['keys'](fb)['some'](fc=>BDFDB['WebModules']['patchtypes']['includes'](fc)))return null;const fd=(typeof fa==='string'?fa:fa['name'])['toLowerCase']();const fe=(ff,fg)=>(...fh)=>{try{return ff(...fh);}catch(fi){console['error']('Error\x20occurred\x20in\x20'+fg,fi);}};if(!f8['BDFDBpatch'])f8['BDFDBpatch']={};f9=Array['isArray'](f9)?f9:Array['of'](f9);for(let fj of f9){if(!f8[fj])f8[fj]=()=>{};const fk=f8[fj];if(!f8['BDFDBpatch'][fj]){f8['BDFDBpatch'][fj]={};for(let fl of BDFDB['WebModules']['patchtypes'])f8['BDFDBpatch'][fj][fl]={};f8['BDFDBpatch'][fj]['originalMethod']=fk;f8[fj]=function(){const fm={'thisObject':this,'methodArguments':arguments,'originalMethod':fk,'originalMethodName':fj,'callOriginalMethod':()=>fm['returnValue']=fm['originalMethod']['apply'](fm['thisObject'],fm['methodArguments'])};if(global['BDFDB']&&typeof BDFDB==='object'&&BDFDB['loaded']&&f8['BDFDBpatch'][fj]){if(!BDFDB['isObjectEmpty'](f8['BDFDBpatch'][fj]['before']))for(let c in BDFDB['sortObject'](f8['BDFDBpatch'][fj]['before'])){fe(f8['BDFDBpatch'][fj]['before'][c],'`before`\x20callback\x20of\x20'+f8[fj]['displayName'])(fm);}if(BDFDB['isObjectEmpty'](f8['BDFDBpatch'][fj]['instead']))fm['callOriginalMethod']();else for(let c in BDFDB['sortObject'](f8['BDFDBpatch'][fj]['instead'])){const fp=fe(f8['BDFDBpatch'][fj]['instead'][c],'`instead`\x20callback\x20of\x20'+f8[fj]['displayName'])(fm);if(fp!==undefined)fm['returnValue']=fp;}if(!BDFDB['isObjectEmpty'](f8['BDFDBpatch'][fj]['after']))for(let c in BDFDB['sortObject'](f8['BDFDBpatch'][fj]['after'])){fe(f8['BDFDBpatch'][fj]['after'][c],'`after`\x20callback\x20of\x20'+f8[fj]['displayName'])(fm);}}else fm['callOriginalMethod']();return fm['returnValue'];};}for(let fr of BDFDB['WebModules']['patchtypes'])if(typeof fb[fr]=='function')f8['BDFDBpatch'][fj][fr][fd]=fb[fr];}const fs=()=>{BDFDB['WebModules']['unpatch'](f8,f9,fa);};if(fa&&typeof fa=='object'){if(!Array['isArray'](fa['patchCancels']))fa['patchCancels']=[];fa['patchCancels']['push'](fs);}return fs;};BDFDB['WebModules']['unpatch']=function(ft,fu,fv){if(!ft||!ft['BDFDBpatch'])return;const fw=!fv?null:(typeof fv==='string'?fv:fv['name'])['toLowerCase']();fu=Array['isArray'](fu)?fu:Array['of'](fu);for(let fx of fu){if(ft[fx]&&ft['BDFDBpatch'][fx]){for(let fy of BDFDB['WebModules']['patchtypes']){if(fw)delete ft['BDFDBpatch'][fx][fy][fw];else delete ft['BDFDBpatch'][fx][fy];}var fz=!![];for(let fy of BDFDB['WebModules']['patchtypes'])if(!BDFDB['isObjectEmpty'](ft['BDFDBpatch'][fx][fy]))fz=![];if(fz){ft[fx]=ft['BDFDBpatch'][fx]['originalMethod'];delete ft['BDFDBpatch'][fx];if(BDFDB['isObjectEmpty'](ft['BDFDBpatch']))delete ft['BDFDBpatch'];}}}};BDFDB['WebModules']['unpatchall']=function(fB){if(BDFDB['isObject'](fB)&&Array['isArray'](fB['patchCancels']))for(let fC of fB['patchCancels'])fC();};BDFDB['WebModules']['forceAllUpdates']=function(fD,fE){fE=fE&&BDFDB['WebModules']['patchmap'][fE]?BDFDB['WebModules']['patchmap'][fE]+'\x20'+fE:fE;if(BDFDB['isObject'](fD)&&BDFDB['isObject'](fD['patchModules'])&&(!fE||fD['patchModules'][fE])){const fF=document['querySelector'](BDFDB['dotCN']['app']);const fG=document['querySelector']('#bd-settingspane-container\x20'+BDFDB['dotCN']['scrollerwrap']);if(fF){var fH=[];for(let fI in fD['patchModules']){var fJ=Array['isArray'](fD['patchModules'][fI])?fD['patchModules'][fI]:Array['of'](fD['patchModules'][fI]);if(fJ['includes']('componentDidUpdate')||fJ['includes']('componentDidMount')||fJ['includes']('render'))fH['push'](fI);}fH=fE?fH['filter'](fK=>fK==fE):fH;if(fH['length']>0x0){const fL=BDFDB['getOwnerInstance']({'node':fF,'name':fH,'all':!![],'noCopies':!![],'group':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let fI in fL)for(let fN in fL[fI])BDFDB['WebModules']['initiateProcess'](fD,fL[fI][fN],fI,['componentDidUpdate','componentDidMount','render']);if(fG){const fO=BDFDB['getOwnerInstance']({'node':fG,'name':fH,'all':!![],'noCopies':!![],'group':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let fI in fO)for(let fN in fO[fI])BDFDB['WebModules']['initiateProcess'](fD,fO[fI][fN],fI,['componentDidUpdate','componentDidMount','render']);}}}}};BDFDB['WebModules']['patchModules']=function(fR){if(BDFDB['isObject'](fR)&&BDFDB['isObject'](fR['patchModules'])){for(let fS in fR['patchModules']){var fT=BDFDB['WebModules']['patchmap'][fS];if(fT){fR['patchModules'][fT+'\x20'+fS]=fR['patchModules'][fS];delete fR['patchModules'][fS];if(!BDFDB['WebModules']['notfindablemodules'][fS])fW(BDFDB['WebModules']['findByName'](fT),fT+'\x20'+fS);}else if(!BDFDB['WebModules']['notfindablemodules'][fS])fW(BDFDB['WebModules']['findByName'](fS),fS);}for(let fS in BDFDB['WebModules']['notfindablemodules']){var fV=BDFDB['WebModules']['patchmap'][fS]?BDFDB['WebModules']['patchmap'][fS]+'\x20'+fS:fS;if(rG[BDFDB['WebModules']['notfindablemodules'][fS]]&&fR['patchModules'][fV])g3(BDFDB['WebModules']['notfindablemodules'][fS],fV);}function fW(fX,fS){if(fX){var fV=fS['split']('\x20')[0x0];fX=fX['displayName']==fV?fX:BDFDB['getOwnerInstance']({'instance':fX,'name':fV,'up':!![]});if(fX){var g0=fX['_reactInternalFiber']&&fX['_reactInternalFiber']['type']?fX['_reactInternalFiber']['type']:fX;var g1={};g1[fR['name']=='$BDFDB'?'before':'after']=g2=>{if(global['BDFDB']&&typeof BDFDB==='object'&&BDFDB['loaded'])BDFDB['WebModules']['initiateProcess'](fR,g2['thisObject'],fS,[g2['originalMethodName']]);};BDFDB['WebModules']['patch'](g0['prototype'],fR['patchModules'][fS],fR,g1);}}}function g3(g4,fS){var g6=![];const g7=document['querySelector'](BDFDB['dotCN']['app']);const g8=document['querySelector']('#bd-settingspane-container\x20'+BDFDB['dotCN']['scrollerwrap']);if(g7){var g9=BDFDB['getOwnerInstance']({'node':g7,'name':fS,'depth':0x5f5e0ff,'time':0x5f5e0ff});if(g9){g6=!![];fW(g9,fS);}}if(!g6&&g8){var ga=BDFDB['getOwnerInstance']({'node':g8,'name':fS,'depth':0x5f5e0ff,'time':0x5f5e0ff});if(ga){g6=!![];fW(ga,fS);}}if(!g6){var gb=![],gc=new MutationObserver(gd=>{gd['forEach'](ge=>{ge['addedNodes']['forEach'](gf=>{var gg=null;if(!gb&&gf['tagName']&&(gg=BDFDB['containsClass'](gf,BDFDB['disCN'][g4])?gf:gf['querySelector'](BDFDB['dotCN'][g4]))!=null){instance=BDFDB['getReactInstance'](gg);if(gh(instance,fS)){gb=!![];gc['disconnect']();fW(instance,fS);BDFDB['WebModules']['forceAllUpdates'](fR,fS);}}});});});BDFDB['addObserver'](fR,BDFDB['dotCN']['appmount'],{'name':'checkForInstanceObserver','instance':gc,'multi':!![]},{'childList':!![],'subtree':!![]});}}function gh(gi,fS){if(!gi)return![];gi=gi['displayName']==fS?gi:BDFDB['getOwnerInstance']({'instance':gi,'name':fS,'up':!![]});return gi&&(fS!='V2C_PluginCard'&&fS!='V2C_ThemeCard'||fS=='V2C_PluginCard'&&BDFDB['checkWhichRepoPage']()=='plugins'||fS=='V2C_ThemeCard'&&BDFDB['checkWhichRepoPage']()=='themes');}}};BDFDB['WebModules']['initiateProcess']=function(gk,gl,gm,gn){if(BDFDB['isObject'](gk)&&gl){gk=gk['name']=='$BDFDB'?sa:gk;gm=(gm['split']('\x20')[0x1]||gm)['replace'](/[^A-z0-9]|_/g,'');gm=gm[0x0]['toUpperCase']()+gm['slice'](0x1);if(typeof gk['process'+gm]=='function'){var go=BDFDB['React']['findDOMNodeSafe'](gl);if(go)gk['process'+gm](gl,go,gn);else setImmediate(()=>{go=BDFDB['React']['findDOMNodeSafe'](gl);if(go)gk['process'+gm](gl,go,gn);});}}};var gp=BDFDB['WebModules']['findByProperties']('createElement','cloneElement');var gq=BDFDB['WebModules']['findByProperties']('render','findDOMNode');if(gp&&gq){BDFDB['React']=Object['assign']({},gp,gq);BDFDB['React']['findDOMNodeSafe']=function(gr){if(!gr||!gr['updater']||typeof gr['updater']['isMounted']!=='function'||!gr['updater']['isMounted'](gr))return null;var gs=gq['findDOMNode'](gr)||BDFDB['getReactValue'](gr,'child.stateNode');return Node['prototype']['isPrototypeOf'](gs)?gs:null;};};BDFDB['addOnSwitchListener']=function(gt){if(typeof gt['onSwitch']==='function'){BDFDB['removeOnSwitchListener'](gt);var gu=document['querySelector'](BDFDB['dotCN']['guildswrapper']+'\x20+\x20*\x20>\x20'+BDFDB['dotCN']['chatspacer']);if(gu){var gv=new MutationObserver(gw=>{gw['forEach'](gx=>{if(gx['target']&&BDFDB['containsClass'](gx['target'],BDFDB['disCN']['nochannel']))gt['onSwitch']();});});var gy=gu['querySelector'](BDFDB['dotCNC']['chat']+BDFDB['dotCN']['nochannel']);if(gy)gv['observe'](gy,{'attributes':!![]});gt['onSwitchFix']=new MutationObserver(gz=>{gz['forEach'](gA=>{if(gA['addedNodes']){gA['addedNodes']['forEach'](gB=>{if(BDFDB['containsClass'](gB,BDFDB['disCN']['chat'],BDFDB['disCN']['nochannel'],![]))gv['observe'](gB,{'attributes':!![]});});}});});gt['onSwitchFix']['observe'](gu,{'childList':!![]});}}};BDFDB['removeOnSwitchListener']=function(gC){if(typeof gC['onSwitch']==='function'&&BDFDB['isObject'](gC['onSwitchFix'])){gC['onSwitchFix']['disconnect']();delete gC['onSwitchFix'];}};BDFDB['addContextListener']=function(gD){for(let gE of['User','Guild','Channel','GroupDM','Message','Native','UserSettingsCog']){if(typeof gD['on'+gE+'Context']==='function'||typeof gD['on'+gE+'ContextMenu']==='function'){if(gE=='GroupDM'){var gF=![],gG=new MutationObserver(gH=>{gH['forEach'](gI=>{gI['addedNodes']['forEach'](gJ=>{var gK=null;if(!gF&&gJ['tagName']&&(gK=BDFDB['containsClass'](gJ,BDFDB['disCN']['contextmenu'])?gJ:gJ['querySelector'](BDFDB['dotCN']['contextmenu']))!=null){var gL=BDFDB['getReactInstance'](gK);if(gL&&gL['return']&&gL['return']['type']&&gL['return']['type']['displayName']==gE+'ContextMenu'){gF=!![];gG['disconnect']();gM(gE,gL['return']['type']);gQ(gE,gL['return']['stateNode'],gL['stateNode']);}}});});});BDFDB['addObserver'](gD,BDFDB['dotCN']['appmount'],{'name':'checkForContextObserver','instance':gG,'multi':!![]},{'childList':!![],'subtree':!![]});}else gM(gE,BDFDB['WebModules']['findByName'](gE+'ContextMenu'));}}function gM(gE,gO){if(gO&&gO['prototype'])BDFDB['WebModules']['patch'](gO['prototype'],'componentDidMount',gD,{'after':gP=>{gQ(gE,gP['thisObject'],BDFDB['React']['findDOMNodeSafe'](gP['thisObject']));}});}function gQ(gE,gS,gT){if(gS&&gT){if(typeof gD['on'+gE+'Context']==='function')gD['on'+gE+'Context'](gS,gT);if(typeof gD['on'+gE+'ContextMenu']==='function')gD['on'+gE+'ContextMenu'](gS,gT);BDFDB['initElements'](gT,gD);BDFDB['updateContextPosition'](gT);}}};BDFDB['addSettingsButtonListener']=function(gU){if(BDFDB['isBDv2']()&&typeof gU['getSettingsPanel']==='function'){BDFDB['removeSettingsButtonListener'](gU);BDFDB['appendSettingsButton'](gU);var gV=document['querySelector']('.bd-content-region\x20>\x20.bd-content');if(gV){gU['settingsButtonObserver']=new MutationObserver(gW=>{gW['forEach'](gX=>{if(gX['addedNodes']){gX['addedNodes']['forEach'](gY=>{if(gY['tagName']&&BDFDB['containsClass'](gY,'active'))BDFDB['appendSettingsButton'](gU);});}});});gU['settingsButtonObserver']['observe'](gV,{'childList':!![]});}}};BDFDB['appendSettingsButton']=function(gZ){var h0=document['querySelector'](BDFDB['dotCN']['_bdv2card']+'[data-plugin-id='+gZ['id']+']');if(h0){var h1=BDFDB['htmlToElement']('');h0['insertBefore'](h1,h0['querySelector'](BDFDB['d']['_bdv2button']));h1['addEventListener']('mouseenter',()=>{BDFDB['createTooltip']('Settings',h1,{'type':'top'});BDFDB['addClass'](h1,BDFDB['disCN']['_bdv2tooltipopen']);});h1['addEventListener']('mouseleave',()=>{BDFDB['removeClass'](h1,BDFDB['disCN']['_bdv2tooltipopen']);});h1['addEventListener']('click',()=>{var h2=BDFDB['htmlToElement'](''+gZ['name']+'\x20Settings
');var h3=gZ['getSettingsPanel']();h2['querySelector'](BDFDB['dotCN']['modalsubinner'])['appendChild'](typeof h3=='string'?BDFDB['htmlToElement'](h3):h3);if(typeof gZ['onSettingsClosed']==='function')BDFDB['addChildEventListener'](h2,'click',BDFDB['dotCNC']['modalclose']+BDFDB['dotCN']['backdrop'],()=>{gZ['onSettingsClosed']();});BDFDB['appendModal'](h2);});}};BDFDB['removeSettingsButtonListener']=function(h4){if(BDFDB['isBDv2']()&&typeof h4['settingsButtonObserver']==='object'){BDFDB['removeEles']('.bd-card[data-plugin-id='+h4['id']+']\x20.BDFDB-settingsbutton');h4['settingsButtonObserver']['disconnect']();delete h4['settingsButtonObserver'];}};var h5={},h6=BDFDB['WebModules']['findByProperties']('Messages'),h7=h6?Object['assign']({},h6['_proxyContext']['defaultMessages']):{};BDFDB['LanguageStrings']=new Proxy(h7,{'get':function(h8,h9){var ha=h6['Messages'][h9];if(!ha)console['warn']('%c[BDFDB]%c','color:#3a71c1;\x20font-weight:700;','',h9+'\x20not\x20found\x20in\x20BDFDB.LanguageStrings');else{var hb=typeof ha=='object'?ha['format'](Object['assign']({},h5)):ha;if(typeof hb=='string')return hb;else if(Array['isArray'](hb)){var hc='';for(let hd of hb){if(typeof hd=='string')hc+=BDFDB['encodeToHTML'](hd);else if(BDFDB['isObject'](hd)&&hd['props'])hc+='<'+hd['type']+'>'+BDFDB['encodeToHTML'](hd['props']['children'][0x0]['toString']())+''+hd['type']+'>';}return hc;}else console['warn']('%c[BDFDB]%c','color:#3a71c1;\x20font-weight:700;','',h9+'\x20could\x20not\x20be\x20parsed\x20from\x20BDFDB.LanguageStrings');}return'';}});BDFDB['LanguageStringsCheck']=new Proxy(h7,{'get':function(he,hf){return h6['Messages'][hf];}});BDFDB['LanguageStringsFormat']=function(hg,hh){if(hg&&hh){var hi=h6['Messages'][hg];if(hi&&typeof hi=='object'&&typeof hi['format']=='function'){try{var hj={};for(let hk in h5)hj[hk]=hh;var hl=hi['format'](hj);if(typeof hl=='string')return hl;else if(Array['isArray'](hl)){var hm='';for(let hn of hl){if(typeof hn=='string')hm+=BDFDB['encodeToHTML'](hn);else if(BDFDB['isObject'](hn)&&hn['props'])hm+='<'+hn['type']+'>'+BDFDB['encodeToHTML'](hn['props']['children'][0x0]['toString']())+''+hn['type']+'>';}return hm;}}catch(ho){console['warn']('%c[BDFDB]%c','color:#3a71c1;\x20font-weight:700;','',hg+'\x20failed\x20to\x20format\x20string\x20in\x20BDFDB.LanguageStrings');}}else console['warn']('%c[BDFDB]%c','color:#3a71c1;\x20font-weight:700;','',hg+'\x20is\x20not\x20a\x20formatable\x20string\x20in\x20BDFDB.LanguageStrings');}else console['warn']('%c[BDFDB]%c','color:#3a71c1;\x20font-weight:700;','',hg+'\x20enter\x20a\x20valid\x20key\x20and\x20value\x20to\x20format\x20the\x20string');return'';};if(h6)for(let hp in h7){try{BDFDB['LanguageStrings'][hp];}catch(hq){let hr=hq['toString']()['split']('for:\x20')[0x1];if(hr&&typeof hr=='string'&&!h5[hr])h5[hr]='{{'+hr['toLowerCase']()+'}}';}};BDFDB['equals']=function(hs,ht,hu){var hv=-0x1;if(hu===undefined||typeof hu!=='boolean')hu=![];return hw(hs,ht);function hw(hx,hy){hv++;var hz=!![];if(hv>0x3e8)hz=null;else{if(typeof hx!==typeof hy)hz=![];else if(typeof hx==='undefined')hz=!![];else if(typeof hx==='symbol')hz=!![];else if(typeof hx==='boolean')hz=hx==hy;else if(typeof hx==='string')hz=hx==hy;else if(typeof hx==='number'){if(isNaN(hx)||isNaN(hy))hz=isNaN(hx)==isNaN(hy);else hz=hx==hy;}else if(!hx&&!hy)hz=!![];else if(!hx||!hy)hz=![];else if(typeof hx==='function'||typeof hx==='object'){var hA=Object['getOwnPropertyNames'](hx);var hB=Object['getOwnPropertyNames'](hy);if(hA['length']!==hB['length'])hz=![];else for(let hC=0x0;hz===!![]&&hChV['length']?hY:hV['length'];};BDFDB['readServerList']=function(){var hZ=[],i0=BDFDB['getOwnerInstance']({'node':document['querySelector'](BDFDB['dotCN']['guilds']),'name':['Guild','GuildIcon'],'all':!![],'noCopies':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let i1 in i0)if(i0[i1]['props']&&i0[i1]['props']['guild'])hZ['push'](Object['assign'](new i0[i1]['props']['guild']['constructor'](i0[i1]['props']['guild']),{'div':i0[i1]['handleContextMenu']?BDFDB['React']['findDOMNodeSafe'](i0[i1]):BDFDB['htmlToElement'](''),'instance':i0[i1]}));return hZ;};BDFDB['readUnreadServerList']=function(i2){var i3=[],i4=BDFDB['WebModules']['findByProperties']('hasUnread','getUnreadGuilds');for(let i5 of i2===undefined||!Array['isArray'](i2)?BDFDB['readServerList']():i2){if(!i5)return null;let c=Node['prototype']['isPrototypeOf'](i5)?BDFDB['getServerID'](i5):typeof i5=='object'?i5['id']:i5;c=typeof c=='number'?c['toFixed']():c;if(c&&i4['hasUnread'](c))i3['push'](i5);}return i3;};BDFDB['readMutedServerList']=function(i7){var i8=[],i9=BDFDB['WebModules']['findByProperties']('isGuildOrCategoryOrChannelMuted');for(let ia of i7===undefined||!Array['isArray'](i7)?BDFDB['readServerList']():i7){if(!ia)return null;let c=Node['prototype']['isPrototypeOf'](ia)?BDFDB['getServerID'](ia):typeof ia=='object'?ia['id']:ia;c=typeof c=='number'?c['toFixed']():c;if(c&&i9['isGuildOrCategoryOrChannelMuted'](c))i8['push'](ia);}return i8;};BDFDB['getSelectedServer']=function(){var ic=BDFDB['WebModules']['findByProperties']('getGuilds')['getGuild'](BDFDB['WebModules']['findByProperties']('getLastSelectedGuildId')['getGuildId']());if(ic)return BDFDB['getServerData'](ic['id'])||Object['assign'](new ic['constructor'](ic),{'div':null,'instance':null});else return null;};BDFDB['getServerID']=function(id){if(!Node['prototype']['isPrototypeOf'](id)||!BDFDB['getReactInstance'](id))return;let ie=BDFDB['getParentEle'](BDFDB['dotCN']['guildouter'],id);if(!ie)return;var ig=ie['querySelector'](BDFDB['dotCN']['guildiconwrapper']);var c=ig&&ig['href']?ig['href']['split']('/')['slice'](-0x2)[0x0]:null;return c&&!isNaN(parseInt(c))?c['toString']():null;};BDFDB['getServerDiv']=function(ii){if(!ii)return null;if(Node['prototype']['isPrototypeOf'](ii))return BDFDB['getParentEle'](BDFDB['dotCN']['guildouter'],ii);else{let c=typeof ii=='object'?ii['id']:ii;if(c)return BDFDB['getParentEle'](BDFDB['dotCN']['guildouter'],document['querySelector'](BDFDB['dotCNS']['guilds']+BDFDB['dotCN']['guildiconwrapper']+'[href*=\x22/channels/'+c+'\x22]'));}return null;};BDFDB['getServerData']=function(ik){if(!ik)return null;let c=Node['prototype']['isPrototypeOf'](ik)?BDFDB['getServerID'](ik):typeof ik=='object'?ik['id']:ik;c=typeof c=='number'?c['toFixed']():c;for(let im of BDFDB['readServerList']())if(im&&im['id']==c)return im;return null;};BDFDB['readChannelList']=function(){var io=[],ip=BDFDB['getOwnerInstance']({'node':document['querySelector'](BDFDB['dotCN']['channels']),'name':['ChannelCategoryItem','ChannelItem','PrivateChannel'],'all':!![],'noCopies':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let iq in ip)if(ip[iq]['props']&&!ip[iq]['props']['ispin']&&ip[iq]['props']['channel']&&ip[iq]['_reactInternalFiber']['return']){var ir=BDFDB['React']['findDOMNodeSafe'](ip[iq]);ir=ir&&BDFDB['containsClass'](ir['parentElement'],BDFDB['disCN']['categorycontainerdefault'],BDFDB['disCN']['channelcontainerdefault'],![])?ir['parentElement']:ir;io['push'](Object['assign'](new ip[iq]['props']['channel']['constructor'](ip[iq]['props']['channel']),{'div':ir,'instance':ip[iq]}));}return io;};BDFDB['getSelectedChannel']=function(){var is=BDFDB['WebModules']['findByProperties']('getChannels')['getChannel'](BDFDB['WebModules']['findByProperties']('getLastSelectedChannelId')['getChannelId']());if(is)return BDFDB['getChannelData'](is['id'])||Object['assign'](new is['constructor'](is),{'div':null,'instance':null});else return null;};BDFDB['getChannelID']=function(it){if(!Node['prototype']['isPrototypeOf'](it)||!BDFDB['getReactInstance'](it))return;it=BDFDB['getParentEle'](BDFDB['dotCNC']['categorycontainerdefault']+BDFDB['dotCNC']['channelcontainerdefault']+BDFDB['dotCN']['dmchannel'],it);if(!it)return;var iu=BDFDB['getKeyInformation']({'node':it,'key':'channel'});return iu?iu['id']['toString']():null;};BDFDB['getChannelDiv']=function(iv){if(!iv)return null;let iw=BDFDB['getChannelData'](iv);return iw?iw['div']:null;};BDFDB['getChannelData']=function(ix){if(!ix)return null;let c=Node['prototype']['isPrototypeOf'](ix)?BDFDB['getChannelID'](ix):typeof ix=='object'?ix['id']:ix;c=typeof c=='number'?c['toFixed']():c;for(let iz of BDFDB['readChannelList']())if(iz&&iz['id']==c)return iz;return null;};BDFDB['readDmList']=function(){var iA=[],iB=BDFDB['getOwnerInstance']({'node':document['querySelector'](BDFDB['dotCN']['guilds']),'name':'DirectMessage','all':!![],'noCopies':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let iC in iB)if(iB[iC]['props']&&iB[iC]['props']['channel']&&iB[iC]['_reactInternalFiber']['child'])iA['push'](Object['assign'](new iB[iC]['props']['channel']['constructor'](iB[iC]['props']['channel']),{'div':BDFDB['React']['findDOMNodeSafe'](iB[iC]),'instance':iB[iC]}));return iA;};BDFDB['getDmID']=function(iD){if(!Node['prototype']['isPrototypeOf'](iD)||!BDFDB['getReactInstance'](iD))return;let iE=BDFDB['getParentEle'](BDFDB['dotCN']['guildouter'],iD);if(!iE)return;var iF=iE['querySelector'](BDFDB['dotCN']['guildiconwrapper']);var c=iF&&iF['href']?iF['href']['split']('/')['slice'](-0x1)[0x0]:null;return c&&!isNaN(parseInt(c))?c['toString']():null;};BDFDB['getDmDiv']=function(iH){if(!iH)return null;if(Node['prototype']['isPrototypeOf'](iH)){var iI=BDFDB['getParentEle'](BDFDB['dotCN']['guildouter'],iH);return iI?iI['parentElement']:iI;}else{let c=typeof iH=='object'?iH['id']:iH;if(c){var iI=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 iI&&BDFDB?iI['parentElement']:iI;}}return null;};BDFDB['getDmData']=function(iL){if(!iL)return null;let c=Node['prototype']['isPrototypeOf'](iL)?BDFDB['getDmID'](iL):typeof iL=='object'?iL['id']:iL;c=typeof c=='number'?c['toFixed']():c;for(let iN of BDFDB['readDmList']())if(iN&&iN['id']==c)return iN;return null;};BDFDB['markChannelAsRead']=function(iO){if(!iO)return;var iP=BDFDB['WebModules']['findByProperties']('localAck','bulkAck');if(!iP)return;var iQ=[];for(let iR of iO=Array['isArray'](iO)?iO:typeof iO=='string'||typeof iO=='number'?Array['of'](iO):Array['from'](iO)){let c=Node['prototype']['isPrototypeOf'](iR)?BDFDB['getChannelID'](iR)||BDFDB['getDmID'](iR):iR&&typeof iR=='object'?iR['id']:iR;if(c)iQ['push'](c);}if(iQ['length']>0x0)iP['bulkAck'](iQ);};BDFDB['markGuildAsRead']=function(iT){if(!iT)return;var iU=BDFDB['WebModules']['findByProperties']('getChannels','getDefaultChannel'),iV=BDFDB['WebModules']['findByProperties']('localAck','bulkAck');if(!iU||!iV)return;var iW=[];for(let iX of Array['isArray'](iT)?iT:typeof iT=='string'||typeof iT=='number'?Array['of'](iT):Array['from'](iT)){let c=Node['prototype']['isPrototypeOf'](iX)?BDFDB['getServerID'](iX):iX&&typeof iX=='object'?iX['id']:iX;let iZ=c?iU['getChannels'](c):null;if(iZ)for(let j0 in iZ)if(Array['isArray'](iZ[j0]))for(let j1 of iZ[j0])iW['push'](j1['channel']['id']);}if(iW['length']>0x0)iV['bulkAck'](iW);};BDFDB['saveAllData']=function(j2,j3,j4){var j5=require('fs'),j6,j7;if(!BDFDB['isBDv2']()){j7=typeof j3==='string'?j3:j3['name'];j6=require('path')['join'](BDFDB['getPluginsFolder'](),j7+'.config.json');}else{j7=typeof j3==='string'?j3['toLowerCase']():null;var j8=j7?BDFDB['Plugins'][j7]?BDFDB['Plugins'][j7]['contentPath']:null:j3['contentPath'];if(!j8)return;j6=require('path')['join'](j8,'settings.json');}var j9=j5['existsSync'](j6);var ja=!j9?{}:typeof BDFDB['cachedData'][j7]!=='undefined'?BDFDB['cachedData'][j7]:BDFDB['readConfig'](j6);ja[j4]=j2;if(BDFDB['isObjectEmpty'](ja[j4]))delete ja[j4];if(BDFDB['isObjectEmpty'](ja)){delete BDFDB['cachedData'][j7];if(j9)j5['unlinkSync'](j6);}else{BDFDB['cachedData'][j7]=ja;j5['writeFileSync'](j6,JSON['stringify'](ja,null,'\x09'));}};BDFDB['loadAllData']=function(jb,jc){var jd=require('fs'),je,jf;if(!BDFDB['isBDv2']()){jf=typeof jb==='string'?jb:jb['name'];je=require('path')['join'](BDFDB['getPluginsFolder'](),jf+'.config.json');}else{jf=typeof jb==='string'?jb['toLowerCase']():null;var jg=jf?BDFDB['Plugins'][jf]?BDFDB['Plugins'][jf]['contentPath']:null:jb['contentPath'];if(!jg)return{};je=require('path')['join'](jg,'settings.json');}if(!jd['existsSync'](je)){delete BDFDB['cachedData'][jf];return{};}var jh=typeof BDFDB['cachedData'][jf]!=='undefined'?BDFDB['cachedData'][jf]:BDFDB['readConfig'](je);BDFDB['cachedData'][jf]=jh;return jh&&typeof jh[jc]!=='undefined'?jh[jc]:{};};BDFDB['removeAllData']=function(ji,jj){var jk=require('fs'),jl,jm;if(!BDFDB['isBDv2']()){jm=typeof ji==='string'?ji:ji['name'];jl=require('path')['join'](BDFDB['getPluginsFolder'](),jm+'.config.json');}else{jm=typeof ji==='string'?ji['toLowerCase']():null;var jn=jm?BDFDB['Plugins'][jm]?BDFDB['Plugins'][jm]['contentPath']:null:ji['contentPath'];if(!jn)return;jl=require('path')['join'](jn,'settings.json');}var jo=jk['existsSync'](jl);var jp=!jo?{}:typeof BDFDB['cachedData'][jm]!=='undefined'?BDFDB['cachedData'][jm]:BDFDB['readConfig'](jl);delete jp[jj];if(BDFDB['isObjectEmpty'](jp)){delete BDFDB['cachedData'][jm];if(jo)jk['unlinkSync'](jl);}else{BDFDB['cachedData'][jm]=jp;jk['writeFileSync'](jl,JSON['stringify'](jp,null,'\x09'));}};BDFDB['getAllData']=function(jq,jr){if(!BDFDB['isObject'](jq)||!jq['defaults']||!jq['defaults'][jr])return{};var js=BDFDB['loadAllData'](jq,jr),jt={},ju=![];for(let jv in jq['defaults'][jr]){if(js[jv]==null){jt[jv]=jq['defaults'][jr][jv]['value'];ju=!![];}else jt[jv]=js[jv];}if(ju)BDFDB['saveAllData'](jt,jq,jr);return jt;};BDFDB['readConfig']=function(jw){try{return JSON['parse'](require('fs')['readFileSync'](jw));}catch(jx){return{};}};BDFDB['saveData']=function(c,jz,jA,jB){var jC=BDFDB['loadAllData'](jA,jB);jC[c]=jz;BDFDB['saveAllData'](jC,jA,jB);};BDFDB['loadData']=function(c,jE,jF){var jG=BDFDB['loadAllData'](jE,jF);var jH=jG[c];return jH===undefined?null:jH;};BDFDB['removeData']=function(c,jJ,jK){var jL=BDFDB['loadAllData'](jJ,jK);delete jL[c];BDFDB['saveAllData'](jL,jJ,jK);};BDFDB['getData']=function(c,jN,jO){var jP=BDFDB['getAllData'](jN,jO);var jQ=jP[c];return jQ===undefined?null:jQ;};BDFDB['appendWebScript']=function(jR,jS){if(!jS&&!document['head']['querySelector']('bd-head\x20bd-scripts'))document['head']['appendChild'](BDFDB['htmlToElement'](''));jS=jS||document['head']['querySelector']('bd-head\x20bd-scripts')||document['head'];jS=Node['prototype']['isPrototypeOf'](jS)?jS:document['head'];BDFDB['removeWebScript'](jR,jS);jS['appendChild'](BDFDB['htmlToElement'](''));};BDFDB['removeWebScript']=function(jT,jU){jU=jU||document['head']['querySelector']('bd-head\x20bd-scripts')||document['head'];jU=Node['prototype']['isPrototypeOf'](jU)?jU:document['head'];BDFDB['removeEles'](jU['querySelectorAll']('script[src=\x22'+jT+'\x22]'));};BDFDB['appendWebStyle']=function(jV,jW){if(!jW&&!document['head']['querySelector']('bd-head\x20bd-styles'))document['head']['appendChild'](BDFDB['htmlToElement'](''));jW=jW||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];jW=Node['prototype']['isPrototypeOf'](jW)?jW:document['head'];BDFDB['removeWebStyle'](jV,jW);jW['appendChild'](BDFDB['htmlToElement'](''));};BDFDB['removeWebStyle']=function(jX,jY){jY=jY||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];jY=Node['prototype']['isPrototypeOf'](jY)?jY:document['head'];BDFDB['removeEles'](jY['querySelectorAll']('link[href=\x22'+jX+'\x22]'));};BDFDB['appendLocalStyle']=function(c,k0,k1){if(!k1&&!document['head']['querySelector']('bd-head\x20bd-styles'))document['head']['appendChild'](BDFDB['htmlToElement'](''));k1=k1||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];k1=Node['prototype']['isPrototypeOf'](k1)?k1:document['head'];BDFDB['removeLocalStyle'](c,k1);k1['appendChild'](BDFDB['htmlToElement'](''));};BDFDB['removeLocalStyle']=function(c,k3){k3=k3||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];k3=Node['prototype']['isPrototypeOf'](k3)?k3:document['head'];BDFDB['removeEles'](k3['querySelectorAll']('style[id=\x22'+c+'CSS\x22]'));};BDFDB['formatBytes']=function(k4,k5){k4=parseInt(k4);if(isNaN(k4)||k4<0x0)return'0\x20Bytes';if(k4==0x1)return'1\x20Byte';var k6=Math['floor'](Math['log'](k4)/Math['log'](0x400));return parseFloat((k4/Math['pow'](0x400,k6))['toFixed'](k5<0x1?0x0:k5>0x14?0x14:k5||0x2))+'\x20'+['Bytes','KB','MB','GB','TB','PB','EB','ZB','YB'][k6];};BDFDB['colorCONVERT']=function(k7,k8,k9){if(!k7)return null;k8=k8===undefined||!k8?k8='RGBCOMP':k8['toUpperCase']();k9=k9===undefined||!k9||!['RGB','RGBA','RGBCOMP','HSL','HSLA','HSLCOMP']['includes'](k9['toUpperCase']())?BDFDB['colorTYPE'](k7):k9['toUpperCase']();if(k8=='RGBCOMP'){switch(k9){case'RGBCOMP':if(k7['length']==0x3)return kJ(k7);else if(k7['length']==0x4){var ka=kM(k7['pop']());return kJ(k7)['concat'](ka);}case'RGB':return kJ(k7['replace'](/\s/g,'')['slice'](0x4,-0x1)['split'](','));case'RGBA':var kb=k7['replace'](/\s/g,'')['slice'](0x5,-0x1)['split'](',');var ka=kM(kb['pop']());return kJ(kb)['concat'](ka);case'HSLCOMP':if(k7['length']==0x3)return BDFDB['colorCONVERT']('hsl('+k7['join'](',')+')','RGBCOMP');else if(k7['length']==0x4){var ka=kM(jg['pop']());return BDFDB['colorCONVERT']('hsl('+jg['join'](',')+')','RGBCOMP')['concat'](ka);}case'HSL':var ke=kQ(k7['replace'](/\s/g,'')['slice'](0x4,-0x1)['split'](','));var kf,kg,kh,ki,kj,kk,kl,km;var kn=ke[0x0]/0x168,ko=parseInt(ke[0x1])/0x64,kp=parseInt(ke[0x2])/0x64;ki=Math['floor'](kn*0x6);kj=kn*0x6-ki;kk=kp*(0x1-ko);kl=kp*(0x1-kj*ko);km=kp*(0x1-(0x1-kj)*ko);switch(ki%0x6){case 0x0:kf=kp,kg=km,kh=kk;break;case 0x1:kf=kl,kg=kp,kh=kk;break;case 0x2:kf=kk,kg=kp,kh=km;break;case 0x3:kf=kk,kg=kl,kh=kp;break;case 0x4:kf=km,kg=kk,kh=kp;break;case 0x5:kf=kp,kg=kk,kh=kl;break;}return[Math['round'](kf*0xff),Math['round'](kg*0xff),Math['round'](kh*0xff)];case'HSLA':var ke=k7['replace'](/\s/g,'')['slice'](0x5,-0x1)['split'](',');var ka=kM(ke['pop']());return BDFDB['colorCONVERT']('hsl('+ke['join'](',')+')','RGBCOMP')['concat'](ka);case'HEX':var ks=/^#([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'](k7);return[parseInt(ks[0x1]+ks[0x1]||ks[0x4],0x10)['toString'](),parseInt(ks[0x2]+ks[0x2]||ks[0x5],0x10)['toString'](),parseInt(ks[0x3]+ks[0x3]||ks[0x6],0x10)['toString']()];default:return null;}}else{var kt=k9=='RGBCOMP'?k7:BDFDB['colorCONVERT'](k7,'RGBCOMP',k9);if(kt)switch(k8){case'RGB':return'rgb('+kJ(kt['slice'](0x0,0x3))['join'](',')+')';case'RGBA':kt=kt['slice'](0x0,0x4);var ka=kt['length']==0x4?kM(kt['pop']()):0x1;return'rgba('+kJ(kt)['concat'](ka)['join'](',')+')';case'HSLCOMP':var ka=kt['length']==0x4?kM(kt['pop']()):null;var ke=kQ(BDFDB['colorCONVERT'](kt,'HSL')['replace'](/\s/g,'')['split'](','));return ka?ke['concat'](ka):ke;case'HSL':var kf=kH(kt[0x0]),kg=kH(kt[0x1]),kh=kH(kt[0x2]);var kA=Math['max'](kf,kg,kh),kB=Math['min'](kf,kg,kh),kC=kA-kB,kn,ko=kA===0x0?0x0:kC/kA,kp=kA/0xff;switch(kA){case kB:kn=0x0;break;case kf:kn=kg-kh+kC*(kg0xff?0xff:kj<0x0?0x0:kj;};function kJ(kb){return kb['map'](kj=>{return kH(kj);});};function kM(ka){ka=ka['toString']();ka=(ka['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(ka['replace'](/[^0-9\.\-]/g,''));return isNaN(ka)||ka>0x1?0x1:ka<0x0?0x0:ka;};function kO(kP){kP=parseFloat(kP['toString']()['replace'](/[^0-9\.\-]/g,''));return(isNaN(kP)||kP>0x64?0x64:kP<0x0?0x0:kP)+'%';};function kQ(kb){let kn=parseFloat(kb['shift']()['toString']()['replace'](/[^0-9\.\-]/g,''));kn=isNaN(kn)||kn>0x168?0x168:kn<0x0?0x0:kn;return[kn]['concat'](kb['map'](kT=>{return kO(kT);}));};};BDFDB['colorSETALPHA']=function(kU,kV,kW){var kX=BDFDB['colorCONVERT'](kU,'RGBCOMP');if(kX){kV=kV['toString']();kV=(kV['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(kV['replace'](/[^0-9\.\-]/g,''));kV=isNaN(kV)||kV>0x1?0x1:kV<0x0?0x0:kV;kX[0x3]=kV;kW=(kW||BDFDB['colorTYPE'](kU))['toUpperCase']();kW=kW=='HSL'||kW=='RGB'?kW+'A':kW;return BDFDB['colorCONVERT'](kX,kW);}return null;};BDFDB['colorCHANGE']=function(kY,kZ,l0){kZ=parseFloat(kZ);if(kY&&typeof kZ=='number'&&!isNaN(kZ)){var l1=BDFDB['colorCONVERT'](kY,'RGBCOMP');if(l1){if(parseInt(kZ)!==kZ){kZ=kZ['toString']();kZ=(kZ['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(kZ['replace'](/[^0-9\.\-]/g,''));kZ=isNaN(kZ)?0x0:kZ;return BDFDB['colorCONVERT']([Math['round'](l1[0x0]*(0x1+kZ)),Math['round'](l1[0x1]*(0x1+kZ)),Math['round'](l1[0x2]*(0x1+kZ))],l0||BDFDB['colorTYPE'](kY));}else return BDFDB['colorCONVERT']([Math['round'](l1[0x0]+kZ),Math['round'](l1[0x1]+kZ),Math['round'](l1[0x2]+kZ)],l0||BDFDB['colorTYPE'](kY));}}return null;};BDFDB['colorINV']=function(l2,l3){if(l2){var l4=BDFDB['colorCONVERT'](l2,'RGBCOMP');if(l4)return BDFDB['colorCONVERT']([0xff-l4[0x0],0xff-l4[0x1],0xff-l4[0x2]],l3||BDFDB['colorTYPE'](l2));}return null;};BDFDB['colorCOMPARE']=function(l5,l6){if(l5&&l6){l5=BDFDB['colorCONVERT'](l5,'RGBCOMP');l6=BDFDB['colorCONVERT'](l6,'RGBCOMP');if(l5&&l6)return BDFDB['equals'](l5,l6);}return null;};BDFDB['colorISBRIGHT']=function(l7,l8=0xa0){l7=BDFDB['colorCONVERT'](l7,'RGBCOMP');if(!l7)return![];return parseInt(l8)