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