diff --git a/Plugins/BDFDB.js b/Plugins/BDFDB.js
index 7e1b2315a0..0bc14bf893 100644
--- a/Plugins/BDFDB.js
+++ b/Plugins/BDFDB.js
@@ -1147,6 +1147,7 @@
callInstead = false, stopCall = false;
return modulefunction == "render" && data.returnValue === undefined ? null : data.returnValue;
};
+ for (let key of Object.keys(originalfunction)) module[modulefunction][key] = originalfunction[key];
module[modulefunction].originalsource = originalfunction;
module[modulefunction].isBDFDBpatched = true;
}
diff --git a/Plugins/BDFDB.min.js b/Plugins/BDFDB.min.js
index 56ad26b461..c0ce749c7b 100644
--- a/Plugins/BDFDB.min.js
+++ b/Plugins/BDFDB.min.js
@@ -1 +1 @@
-(c=>{if(window['BDFDB']&&window['BDFDB']['ListenerUtils']&&typeof window['BDFDB']['ListenerUtils']['remove']=='function')window['BDFDB']['ListenerUtils']['remove'](window['BDFDB']);if(window['BDFDB']&&window['BDFDB']['ObserverUtils']&&typeof window['BDFDB']['ObserverUtils']['disconnect']=='function')window['BDFDB']['ObserverUtils']['disconnect'](window['BDFDB']);if(window['BDFDB']&&window['BDFDB']['ModuleUtils']&&typeof window['BDFDB']['ModuleUtils']['unpatch']=='function')window['BDFDB']['ModuleUtils']['unpatch'](window['BDFDB']);if(window['BDFDB']&&window['BDFDB']['WindowUtils']&&typeof window['BDFDB']['WindowUtils']['closeAll']=='function')window['BDFDB']['WindowUtils']['closeAll'](window['BDFDB']);if(window['BDFDB']&&window['BDFDB']['WindowUtils']&&typeof window['BDFDB']['WindowUtils']['removeListener']=='function')window['BDFDB']['WindowUtils']['removeListener'](window['BDFDB']);var d={'myPlugins':Object['assign']({},window['BDFDB']&&window['BDFDB']['myPlugins']),'InternalData':Object['assign']({'pressedKeys':[],'mousePosition':{'pageX':0x0,'pageY':0x0},'patchMenuQueries':{}},window['BDFDB']&&window['BDFDB']['InternalData'],{'creationTime':performance['now']()}),'BDv2Api':window['BDFDB']&&window['BDFDB']['BDv2Api']||undefined,'name':'$BDFDB'};var e=Math['round'](Math['random']()*0x2386f26fc10000),f={};d['InternalData']['loadid']=e;if(typeof Array['prototype']['flat']!='function')Array['prototype']['flat']=function(){return this;};d['LogUtils']={};d['LogUtils']['log']=function(g,h){if(typeof g!='string')g='';if(typeof h!='string'||h=='$BDFDB')h='BDFDB';console['log']('%c['+h+']','color:\x20#3a71c1;\x20font-weight:\x20700;',g['trim']());};d['LogUtils']['warn']=function(i,j){if(typeof i!='string')i='';if(typeof j!='string'||j=='$BDFDB')j='BDFDB';console['warn']('%c['+j+']','color:\x20#3a71c1;\x20font-weight:\x20700;',i['trim']());};d['LogUtils']['error']=function(k,l){if(typeof k!='string')k='';if(typeof l!='string'||l=='$BDFDB')l='BDFDB';console['error']('%c['+l+']','color:\x20#3a71c1;\x20font-weight:\x20700;','Fatal\x20Error:\x20'+k['trim']());};d['LogUtils']['log']('Loading\x20library.');d['PluginUtils']={};d['PluginUtils']['init']=function(m){m['name']=m['name']||(typeof m['getName']=='function'?m['getName']():null);m['version']=m['version']||(typeof m['getVersion']=='function'?m['getVersion']():null);m['author']=m['author']||(typeof m['getAuthor']=='function'?m['getAuthor']():null);m['description']=m['description']||(typeof m['getDescription']=='function'?m['getDescription']():null);if(m['patchModules']){m['patchedModules']={'after':m['patchModules']};delete m['patchModules'];}m['patchedModules']=d['ObjectUtils']['filter'](m['patchedModules'],n=>fc['Patchtypes']['includes'](n),!![]);f['clearStartTimeout'](m);let o=d['LanguageUtils']['LibraryStringsFormat']('toast_plugin_started','v'+m['version']);d['LogUtils']['log'](o,m['name']);if(!d['BDUtils']['getSettings']('fork-ps-2'))d['NotificationUtils']['toast'](m['name']+'\x20'+o,{'nopointer':!![],'selector':'plugin-started-toast'});let p=typeof m['getRawUrl']=='function'&&typeof m['getRawUrl']()=='string'?m['getRawUrl']():'https://mwittrien.github.io/BetterDiscordAddons/Plugins/'+m['name']+'/'+m['name']+'.plugin.js';d['PluginUtils']['checkUpdate'](m['name'],p);if(d['ObjectUtils']['is'](m['classes']))f['addPluginClasses'](m);if(typeof m['initConstructor']==='function')d['TimeUtils']['suppress'](m['initConstructor']['bind'](m),'Could\x20not\x20initiate\x20constructor!',m['name'])();if(typeof m['css']==='string')d['DOMUtils']['appendLocalStyle'](m['name'],m['css']);f['patchPlugin'](m);f['addOnSettingsClosedListener'](m);f['addOnSwitchListener'](m);f['addContextListeners'](m);d['PluginUtils']['translate'](m);d['PluginUtils']['checkChangeLog'](m);if(!window['PluginUpdates']||typeof window['PluginUpdates']!=='object')window['PluginUpdates']={'plugins':{}};window['PluginUpdates']['plugins'][p]={'name':m['name'],'raw':p,'version':m['version']};if(typeof window['PluginUpdates']['interval']==='undefined')window['PluginUpdates']['interval']=d['TimeUtils']['interval'](c=>{d['PluginUtils']['checkAllUpdates']();},0x3e8*0x3c*0x3c*0x2);m['started']=!![];delete m['stopping'];for(let r in d['myPlugins'])if(!d['myPlugins'][r]['started']&&typeof d['myPlugins'][r]['initialize']=='function')setImmediate(c=>{d['TimeUtils']['suppress'](d['myPlugins'][r]['initialize']['bind'](d['myPlugins'][r]),'Could\x20not\x20initiate\x20plugin!',r)();});};d['PluginUtils']['clear']=function(t){f['clearStartTimeout'](t);delete d['myPlugins'][t['name']];let u=d['LanguageUtils']['LibraryStringsFormat']('toast_plugin_stopped','v'+t['version']);d['LogUtils']['log'](u,t['name']);if(!d['BDUtils']['getSettings']('fork-ps-2'))d['NotificationUtils']['toast'](t['name']+'\x20'+u,{'nopointer':!![],'selector':'plugin-stopped-toast'});let v=typeof t['getRawUrl']=='function'&&typeof t['getRawUrl']()=='string'?t['getRawUrl']():'https://mwittrien.github.io/BetterDiscordAddons/Plugins/'+t['name']+'/'+t['name']+'.plugin.js';if(d['ObjectUtils']['is'](t['classes']))f['removePluginClasses'](t);if(typeof t['css']==='string')d['DOMUtils']['removeLocalStyle'](t['name']);d['ModuleUtils']['unpatch'](t);d['ListenerUtils']['remove'](t);d['ObserverUtils']['disconnect'](t);d['WindowUtils']['closeAll'](t);d['WindowUtils']['removeListener'](t);f['removeOnSwitchListener'](t);for(let w of document['querySelectorAll']('.'+t['name']+'-modal,\x20.'+t['name']['toLowerCase']()+'-modal,\x20.'+t['name']+'-settingsmodal,\x20.'+t['name']['toLowerCase']()+'-settingsmodal')){let x=w['querySelector'](d['dotCN']['modalclose']);if(x)x['click']();}delete d['DataUtils']['cached'][t['name']];delete window['PluginUpdates']['plugins'][v];delete t['started'];d['TimeUtils']['timeout'](c=>{delete t['stopping'];});};d['PluginUtils']['translate']=function(z){z['labels']={};if(typeof z['setLabelsByLanguage']==='function'||typeof z['changeLanguageStrings']==='function'){if(document['querySelector']('html')['lang'])C();else{var A=d['TimeUtils']['interval'](c=>{if(document['querySelector']('html')['lang']){d['TimeUtils']['clear'](A);C();}},0x64);}function C(){var D=d['LanguageUtils']['getLanguage']();if(typeof z['setLabelsByLanguage']==='function')z['labels']=z['setLabelsByLanguage'](D['id']);if(typeof z['changeLanguageStrings']==='function')z['changeLanguageStrings']();d['LogUtils']['log'](d['LanguageUtils']['LibraryStringsFormat']('toast_plugin_translated',D['ownlang']),z['name']);}}};d['PluginUtils']['checkUpdate']=function(E,F){if(d['BDUtils']['isBDv2']()||!E||!F)return;i8['request'](F,(G,H,I)=>{if(G)return;var J=I['match'](/['"][0-9]+\.[0-9]+\.[0-9]+['"]/i);if(!J)return;if(d['NumberUtils']['getVersionDifference'](J[0x0],window['PluginUpdates']['plugins'][F]['version'])>0.2){d['NotificationUtils']['toast'](E+'\x20will\x20be\x20force\x20updated,\x20because\x20your\x20version\x20is\x20heavily\x20outdated.',{'type':'warn','nopointer':!![],'selector':'plugin-forceupdate-toast'});d['PluginUtils']['downloadUpdate'](E,F);}else if(d['NumberUtils']['compareVersions'](J[0x0],window['PluginUpdates']['plugins'][F]['version']))d['PluginUtils']['showUpdateNotice'](E,F);else d['PluginUtils']['removeUpdateNotice'](E);});};d['PluginUtils']['checkAllUpdates']=function(){for(let K in window['PluginUpdates']['plugins']){var L=window['PluginUpdates']['plugins'][K];d['PluginUtils']['checkUpdate'](L['name'],L['raw']);}};d['PluginUtils']['showUpdateNotice']=function(M,N){if(!M||!N)return;var O=document['querySelector']('#pluginNotice');if(!O){O=d['NotificationUtils']['notice']('The\x20following\x20plugins\x20need\x20to\x20be\x20updated: ',{'html':!![],'id':'pluginNotice','type':'info','btn':!d['BDUtils']['isAutoLoadEnabled']()?'Reload':'','customicon':''});O['style']['setProperty']('display','block','important');O['style']['setProperty']('visibility','visible','important');O['style']['setProperty']('opacity','1','important');O['querySelector'](d['dotCN']['noticedismiss'])['addEventListener']('click',c=>{d['DOMUtils']['remove']('.update-clickme-tooltip');});let Q=O['querySelector'](d['dotCN']['noticebutton']);if(Q){d['DOMUtils']['toggle'](Q,!![]);Q['addEventListener']('click',c=>{i8['electron']['remote']['getCurrentWindow']()['reload']();});Q['addEventListener']('mouseenter',c=>{if(window['PluginUpdates']['downloaded'])d['TooltipUtils']['create'](Q,window['PluginUpdates']['downloaded']['join'](',\x20'),{'type':'bottom','selector':'update-notice-tooltip','style':'max-width:\x20420px'});});}}if(O){var T=O['querySelector']('#outdatedPlugins');if(T&&!T['querySelector']('#'+M+'-notice')){if(T['querySelector']('span'))T['appendChild'](d['DOMUtils']['create'](',\x20'));var U=d['DOMUtils']['create'](''+M+'');U['addEventListener']('click',c=>{d['PluginUtils']['downloadUpdate'](M,N);});T['appendChild'](U);if(!document['querySelector']('.update-clickme-tooltip'))d['TooltipUtils']['create'](T,'Click\x20us!',{'type':'bottom','selector':'update-clickme-tooltip','delay':0x1f4});}}};d['PluginUtils']['removeUpdateNotice']=function(W,X=document['querySelector']('#pluginNotice')){if(!W||!X)return;var Y=X['querySelector']('#outdatedPlugins');if(Y){var Z=Y['querySelector']('#'+W+'-notice');if(Z){var a0=Z['nextSibling'];var a1=Z['prevSibling'];if(a0&&d['DOMUtils']['containsClass'](a0,'separator'))a0['remove']();else if(a1&&d['DOMUtils']['containsClass'](a1,'separator'))a1['remove']();Z['remove']();}if(!Y['querySelector']('span')){var a2=X['querySelector'](d['dotCN']['noticebutton']);if(a2){X['querySelector']('.notice-message')['innerText']='To\x20finish\x20updating\x20you\x20need\x20to\x20reload.';d['DOMUtils']['toggle'](a2,![]);}else X['querySelector'](d['dotCN']['noticedismiss'])['click']();}}};d['PluginUtils']['downloadUpdate']=function(a3,a4){if(!a3||!a4)return;i8['request'](a4,(a5,a6,a7)=>{if(a5)return d['LogUtils']['warn']('Unable\x20to\x20get\x20update\x20for\x20'+a3);d['InternalData']['creationTime']=0x0;var a8=a7['match'](/['"][0-9]+\.[0-9]+\.[0-9]+['"]/i);a8=a8['toString']()['replace'](/['"]/g,'');i8['fs']['writeFileSync'](i8['path']['join'](d['BDUtils']['getPluginsFolder'](),a4['split']('/')['slice'](-0x1)[0x0]),a7);d['NotificationUtils']['toast'](a3+'\x20v'+window['PluginUpdates']['plugins'][a4]['version']+'\x20has\x20been\x20replaced\x20by\x20'+a3+'\x20v'+a8+'.',{'nopointer':!![],'selector':'plugin-updated-toast'});var a9=document['querySelector']('#pluginNotice');if(a9){if(a9['querySelector'](d['dotCN']['noticebutton'])){window['PluginUpdates']['plugins'][a4]['version']=a8;if(!window['PluginUpdates']['downloaded'])window['PluginUpdates']['downloaded']=[];if(!window['PluginUpdates']['downloaded']['includes'](a3))window['PluginUpdates']['downloaded']['push'](a3);}d['PluginUtils']['removeUpdateNotice'](a3,a9);}});};d['PluginUtils']['checkChangeLog']=function(aa){if(!d['ObjectUtils']['is'](aa)||!aa['changelog'])return;var ab=d['DataUtils']['load'](aa,'changelog');if(!ab['currentversion']||d['NumberUtils']['compareVersions'](aa['version'],ab['currentversion'])){ab['currentversion']=aa['version'];d['DataUtils']['save'](ab,aa,'changelog');d['PluginUtils']['openChangeLog'](aa);}};d['PluginUtils']['openChangeLog']=function(ac){if(!d['ObjectUtils']['is'](ac)||!ac['changelog'])return;var ad='',ae={'added':'New\x20Features','fixed':'Bug\x20Fixes','improved':'Improvements','progress':'Progress'};for(let af in ac['changelog']){af=af['toLowerCase']();var ag=d['disCN']['changelog'+af];if(ag){ad+='
'+ae[af]+'
';for(let ah of ac['changelog'][af])ad+='- '+ah[0x0]+''+(ah[0x1]?':\x20'+ah[0x1]+'.':'')+'
';ad+='
';}}if(ad)d['ModalUtils']['open'](ac,{'header':ac['name']+'\x20'+d['LanguageUtils']['LanguageStrings']['CHANGE_LOG'],'subheader':'Version\x20'+ac['version'],'children':d['ReactUtils']['elementToReact'](d['DOMUtils']['create'](ad)),'className':d['disCN']['modalchangelogmodal'],'contentClassName':d['disCNS']['changelogcontainer']+d['disCN']['modalminicontent']});};d['PluginUtils']['addLoadingIcon']=function(ai){if(!Node['prototype']['isPrototypeOf'](ai))return;d['DOMUtils']['addClass'](ai,d['disCN']['loadingicon']);let aj=document['querySelector'](d['dotCN']['app']+'>'+d['dotCN']['loadingiconwrapper']);if(!aj){aj=d['DOMUtils']['create']('');document['querySelector'](d['dotCN']['app'])['appendChild'](aj);let ak=new MutationObserver(al=>{if(!aj['firstElementChild'])d['DOMUtils']['remove'](aj);});ak['observe'](aj,{'childList':!![]});}aj['appendChild'](ai);};d['PluginUtils']['createSettingsPanel']=function(am,an){if(!d['ObjectUtils']['is'](am)||!an||!d['ReactUtils']['isValidElement'](an)&&!d['ArrayUtils']['is'](an)||d['ArrayUtils']['is'](an)&&!an['length'])return;var ao=d['DOMUtils']['create']('');d['ReactUtils']['render'](d['ReactUtils']['createElement'](An['SettingsPanel'],{'key':am['name']+'-settingspanel','title':am['name'],'children':an}),ao);return ao;};d['PluginUtils']['refreshSettingsPanel']=function(ap,aq,...ar){if(!d['ObjectUtils']['is'](ap)||typeof ap['getSettingsPanel']!='function'||!Node['prototype']['isPrototypeOf'](aq)||!aq['parentElement'])return;aq['parentElement']['appendChild'](ap['getSettingsPanel'](...ar));aq['remove']();};f['addPluginClasses']=function(as){zg['PLUGIN_'+as['name']]=as['classes'];for(let at in as['classes'])zq['$'+(as['name']+at)['toLowerCase']()]=['PLUGIN_'+as['name'],at];};f['removePluginClasses']=function(au){delete zg['PLUGIN_'+au['name']];zq=d['ObjectUtils']['filter'](zq,av=>av[0x0]!='PLUGIN_'+au['name']);};f['clearStartTimeout']=function(aw){if(!d['ObjectUtils']['is'](aw))return;d['TimeUtils']['clear'](aw['startTimeout'],aw['libLoadTimeout']);delete aw['startTimeout'];delete aw['libLoadTimeout'];};f['addOnSettingsClosedListener']=function(ax){if(d['ObjectUtils']['is'](ax)&&typeof ax['onSettingsClosed']==='function'){let ay=d['ModuleUtils']['findByName']('StandardSidebarView');if(ay)d['ModuleUtils']['patch'](ax,ay['prototype'],'componentWillUnmount',{'after':az=>{ax['onSettingsClosed']();}});}};f['addOnSwitchListener']=function(aA){if(d['ObjectUtils']['is'](aA)&&typeof aA['onSwitch']==='function'){f['removeOnSwitchListener'](aA);let aB=document['querySelector'](d['dotCN']['guildswrapper']+'\x20~\x20*\x20>\x20'+d['dotCN']['chatspacer']);if(aB){let aC=new MutationObserver(aD=>{aD['forEach'](aE=>{if(aE['target']&&d['DOMUtils']['containsClass'](aE['target'],d['disCN']['nochannel']))aA['onSwitch']();});});let aF=aB['querySelector'](d['dotCNC']['chat']+d['dotCN']['nochannel']);if(aF)aC['observe'](aF,{'attributes':!![]});aA['onSwitchFix']=new MutationObserver(aG=>{aG['forEach'](aH=>{if(aH['addedNodes']){aH['addedNodes']['forEach'](aI=>{if(d['DOMUtils']['containsClass'](aI,d['disCN']['chat'],d['disCN']['nochannel'],![]))aC['observe'](aI,{'attributes':!![]});});}});});aA['onSwitchFix']['observe'](aB,{'childList':!![]});}}};f['removeOnSwitchListener']=function(aJ){if(d['ObjectUtils']['is'](aJ)&&typeof aJ['onSwitch']==='function'&&d['ObjectUtils']['is'](aJ['onSwitchFix'])){aJ['onSwitchFix']['disconnect']();delete aJ['onSwitchFix'];}};d['ObserverUtils']={};d['ObserverUtils']['connect']=function(aK,aL,aM,aN={'childList':!![]}){if(!d['ObjectUtils']['is'](aK)||!aL||!aM)return;if(d['ObjectUtils']['isEmpty'](aK['observers']))aK['observers']={};if(!d['ArrayUtils']['is'](aK['observers'][aM['name']]))aK['observers'][aM['name']]=[];if(!aM['multi'])for(let aO of aK['observers'][aM['name']])aO['disconnect']();if(aM['instance'])aK['observers'][aM['name']]['push'](aM['instance']);var aP=aK['observers'][aM['name']][aK['observers'][aM['name']]['length']-0x1];if(aP){var aQ=Node['prototype']['isPrototypeOf'](aL)?aL:typeof aL==='string'?document['querySelector'](aL):null;if(aQ)aP['observe'](aQ,aN);}};d['ObserverUtils']['disconnect']=function(aR,aS){if(d['ObjectUtils']['is'](aR)&&!d['ObjectUtils']['isEmpty'](aR['observers'])){let aT=typeof aS=='string'?aS:d['ObjectUtils']['is'](aS)?aS['name']:null;if(!aT){for(let aS in aR['observers'])for(let aV of aR['observers'][aS])aV['disconnect']();delete aR['observers'];}else if(!d['ArrayUtils']['is'](aR['observers'][aT])){for(let aW of aR['observers'][aT])aW['disconnect']();delete aR['observers'][aT];}}};d['ListenerUtils']={};d['ListenerUtils']['add']=function(aX,aY,aZ,b0,b1){if(!d['ObjectUtils']['is'](aX)||!Node['prototype']['isPrototypeOf'](aY)&&aY!==window||!aZ)return;var b2=typeof b0=='function';var b3=b2?undefined:b0;var b4=b2?b0:b1;if(typeof b4!='function')return;d['ListenerUtils']['remove'](aX,aY,aZ,b3);for(var b5 of aZ['split']('\x20')){b5=b5['split']('.');var b6=b5['shift']()['toLowerCase']();if(!b6)return;var b7=b6;b6=b6=='mouseenter'||b6=='mouseleave'?'mouseover':b6;var b8=(b5['join']('.')||'')+aX['name'];if(!d['ArrayUtils']['is'](aX['listeners']))aX['listeners']=[];var b9=null;if(b3){if(b7=='mouseenter'||b7=='mouseleave'){b9=ba=>{for(let bb of ba['path'])if(typeof bb['matches']=='function'&&bb['matches'](b3)&&!bb[b8+'BDFDB'+b7]){bb[b8+'BDFDB'+b7]=!![];if(b7=='mouseenter')b4(d['ListenerUtils']['copyEvent'](ba,bb));let bc=bd=>{if(bd['target']['contains'](bb)||bd['target']==bb||!bb['contains'](bd['target'])){if(b7=='mouseleave')b4(d['ListenerUtils']['copyEvent'](ba,bb));delete bb[b8+'BDFDB'+b7];document['removeEventListener']('mouseout',bc);}};document['addEventListener']('mouseout',bc);break;}};}else{b9=be=>{for(let bf of be['path'])if(typeof bf['matches']=='function'&&bf['matches'](b3)){b4(d['ListenerUtils']['copyEvent'](be,bf));break;}};}}else b9=bg=>{b4(d['ListenerUtils']['copyEvent'](bg,aY));};aX['listeners']['push']({'ele':aY,'eventname':b6,'origeventname':b7,'namespace':b8,'selector':b3,'eventcallback':b9});aY['addEventListener'](b6,b9,!![]);}};d['ListenerUtils']['remove']=function(bh,bi,bj='',bk){if(!d['ObjectUtils']['is'](bh)||!d['ArrayUtils']['is'](bh['listeners']))return;if(Node['prototype']['isPrototypeOf'](bi)||bi===window){for(var bl of bj['split']('\x20')){bl=bl['split']('.');var bm=bl['shift']()['toLowerCase']();var bn=(bl['join']('.')||'')+bh['name'];for(let bo of bh['listeners']){let bp=[];if(bo['ele']==bi&&(!bm||bo['origeventname']==bm)&&bo['namespace']==bn&&(bk===undefined||bo['selector']==bk)){bi['removeEventListener'](bo['eventname'],bo['eventcallback'],!![]);bp['push'](bo);}if(bp['length'])bh['listeners']=bh['listeners']['filter'](bo=>{return bp['indexOf'](bo)<0x0;});}}}else if(!bi){for(let br of bh['listeners'])br['ele']['removeEventListener'](br['eventname'],br['eventcallback'],!![]);bh['listeners']=[];}};d['ListenerUtils']['multiAdd']=function(bs,bt,bu){if(!Node['prototype']['isPrototypeOf'](bs)||!bt||typeof bu!='function')return;for(var bv of bt['trim']()['split']('\x20')['filter'](bw=>bw))bs['addEventListener'](bv,bu,!![]);};d['ListenerUtils']['multiRemove']=function(bx,by,bz){if(!Node['prototype']['isPrototypeOf'](bx)||!by||typeof bz!='function')return;for(var bA of by['trim']()['split']('\x20')['filter'](bB=>bB))bx['removeEventListener'](bA,bz,!![]);};d['ListenerUtils']['addToChildren']=function(bC,bD,bE,bF){if(!Node['prototype']['isPrototypeOf'](bC)||!bD||!bE||!bE['trim']()||typeof bF!='function')return;for(var bG of bD['trim']()['split']('\x20')['filter'](bH=>bH)){var bI=bF;if(bG=='mouseenter'||bG=='mouseleave')bI=bJ=>{if(bJ['target']['matches'](bE))bF(bJ);};bC['querySelectorAll'](bE['trim']())['forEach'](bK=>{bK['addEventListener'](bG,bI,!![]);});}};d['ListenerUtils']['copyEvent']=function(bL,bM){if(!bL||!bL['constructor']||!bL['type'])return bL;var bN=new bL['constructor'](bL['type'],bL);Object['defineProperty'](bN,'originalEvent',{'value':bL});Object['defineProperty'](bN,'which',{'value':bL['which']});Object['defineProperty'](bN,'keyCode',{'value':bL['keyCode']});Object['defineProperty'](bN,'path',{'value':bL['path']});Object['defineProperty'](bN,'relatedTarget',{'value':bL['relatedTarget']});Object['defineProperty'](bN,'srcElement',{'value':bL['srcElement']});Object['defineProperty'](bN,'target',{'value':bL['target']});Object['defineProperty'](bN,'toElement',{'value':bL['toElement']});if(bM)Object['defineProperty'](bN,'currentTarget',{'value':bM});return bN;};d['ListenerUtils']['stopEvent']=function(bO){if(d['ObjectUtils']['is'](bO)){if(typeof bO['preventDefault']=='function')bO['preventDefault']();if(typeof bO['stopPropagation']=='function')bO['stopPropagation']();if(typeof bO['stopImmediatePropagation']=='function')bO['stopImmediatePropagation']();if(d['ObjectUtils']['is'](bO['originalEvent'])){if(typeof bO['originalEvent']['preventDefault']=='function')bO['originalEvent']['preventDefault']();if(typeof bO['originalEvent']['stopPropagation']=='function')bO['originalEvent']['stopPropagation']();if(typeof bO['originalEvent']['stopImmediatePropagation']=='function')bO['originalEvent']['stopImmediatePropagation']();}}};var bP=[],bQ={'queue':[],'running':![]};d['NotificationUtils']={};d['NotificationUtils']['toast']=function(bR,bS={}){let bT=document['querySelector']('.toasts,\x20.bd-toasts');if(!bT){let bU=document['querySelector'](d['dotCN']['channels']+'\x20+\x20div');let bV=bU?d['DOMUtils']['getRects'](bU):null;let bW=bU?bU['querySelector'](d['dotCN']['memberswrap']):null;let bX=bV?bV['left']:0x136;let bY=bV?bW?bV['width']-d['DOMUtils']['getRects'](bW)['width']:bV['width']:window['outerWidth']-0x0;let bZ=bU?bU['querySelector']('form'):null;let c0=bZ?d['DOMUtils']['getRects'](bZ)['height']:0x50;bT=d['DOMUtils']['create']('');(document['querySelector'](d['dotCN']['app'])||document['body'])['appendChild'](bT);}const {type='',icon=!![],timeout=0xbb8,html=![],selector='',nopointer=![],color=''}=bS;let c1=d['DOMUtils']['create'](''+(html===!![]?bR:d['StringUtils']['htmlEscape'](bR))+'
');if(type){d['DOMUtils']['addClass'](c1,'toast-'+type);if(icon)d['DOMUtils']['addClass'](c1,'icon');}else if(color){let c2=d['ColorUtils']['convert'](color,'RGB');if(c2)c1['style']['setProperty']('background-color',c2);}d['DOMUtils']['addClass'](c1,selector);bT['appendChild'](c1);c1['close']=c=>{if(document['contains'](c1)){d['DOMUtils']['addClass'](c1,'closing');c1['style']['setProperty']('pointer-events','none','important');d['TimeUtils']['timeout'](c=>{c1['remove']();if(!bT['querySelectorAll']('.toast,\x20.bd-toast')['length'])bT['remove']();},0xbb8);}};if(nopointer)c1['style']['setProperty']('pointer-events','none','important');else c1['addEventListener']('click',c1['close']);d['TimeUtils']['timeout'](c=>{c1['close']();},timeout>0x0?timeout:0x927c0);return c1;};d['NotificationUtils']['desktop']=function(c6,c7={}){var c8=c=>{bQ['queue']['push']({'parsedcontent':c6,'parsedoptions':c7});ca();};var ca=c=>{if(!bQ['running']){var cc=bQ['queue']['shift']();if(cc)cd(cc['parsedcontent'],cc['parsedoptions']);}};var cd=(ce,cf)=>{bQ['running']=!![];var cg=cf['silent'];cf['silent']=cf['silent']||cf['sound']?!![]:![];var ch=new Notification(ce,cf);var ci=new Audio();var cj=d['TimeUtils']['timeout'](c=>{cm();},cf['timeout']?cf['timeout']:0xbb8);if(typeof cf['click']=='function')ch['onclick']=c=>{d['TimeUtils']['clear'](cj);cm();cf['click']();};if(!cg&&cf['sound']){ci['src']=cf['sound'];ci['play']();}var cm=c=>{ci['pause']();ch['close']();bQ['running']=![];d['TimeUtils']['timeout'](c=>{ca();},0x3e8);};};if(!('Notification'in window)){}else if(Notification['permission']==='granted')c8();else if(Notification['permission']!=='denied')Notification['requestPermission'](function(cp){if(cp==='granted')c8();});};d['NotificationUtils']['notice']=function(cq,cr={}){if(!cq)return;var cs=document['querySelector'](d['dotCN']['layers']);if(!cs)return;var ct=d['NumberUtils']['generateId'](bP);var cu=d['DOMUtils']['create']('');cs['parentElement']['insertBefore'](cu,cs);var cv=cu['querySelector']('.notice-message');if(cr['platform'])for(let cw of cr['platform']['split']('\x20'))if(zq['noticeicon'+cw]){let cx=d['DOMUtils']['create']('');d['DOMUtils']['addClass'](cx,d['disCN']['noticeplatformicon']);d['DOMUtils']['removeClass'](cx,d['disCN']['noticeicon']);cu['insertBefore'](cx,cv);}if(cr['customicon']){let cy=d['DOMUtils']['create'](cr['customicon']);let cx=d['DOMUtils']['create']('');if(cy['tagName']=='span'&&!cy['firstElementChild'])cx['style']['setProperty']('background','url('+cr['customicon']+')\x20center/cover\x20no-repeat');else cx['appendChild'](cy);d['DOMUtils']['addClass'](cx,d['disCN']['noticeplatformicon']);d['DOMUtils']['removeClass'](cx,d['disCN']['noticeicon']);cu['insertBefore'](cx,cv);}if(cr['btn']||cr['button'])cu['appendChild'](d['DOMUtils']['create'](''));if(cr['id'])cu['id']=cr['id']['split']('\x20')['join']('');if(cr['selector'])d['DOMUtils']['addClass'](cu,cr['selector']);if(cr['css'])d['DOMUtils']['appendLocalStyle']('BDFDBcustomnotificationbar'+ct,cr['css']);if(cr['style'])cu['style']=cr['style'];if(cr['html']===!![])cv['innerHTML']=cq;else{var cA=document['createElement']('a');var cB=[];for(let cC of cq['split']('\x20')){var cD=d['StringUtils']['htmlEscape'](cC);cA['href']=cC;cB['push'](cA['host']&&cA['host']!==window['location']['host']?'':cD);}cv['innerHTML']=cB['join']('\x20');}var cE=null;if(cr['type']&&!document['querySelector'](d['dotCNS']['chatbase']+d['dotCN']['noticestreamer'])){if(cE=d['disCN']['notice'+cr['type']])d['DOMUtils']['addClass'](cu,cE);if(cr['type']=='premium'){var cF=cu['querySelector'](d['dotCN']['noticebutton']);if(cF)d['DOMUtils']['addClass'](cF,d['disCN']['noticepremiumaction']);d['DOMUtils']['addClass'](cv,d['disCN']['noticepremiumtext']);cu['insertBefore'](d['DOMUtils']['create'](''),cv);}}if(!cE){var cG=d['ColorUtils']['convert'](cr['color'],'RGBCOMP');if(cG){var cH=cG[0x0]>0xb4&&cG[0x1]>0xb4&&cG[0x2]>0xb4?'#000':'#FFF';var cI=d['ColorUtils']['convert'](cG,'HEX');var cJ=cG[0x0]>0xb4&&cG[0x1]>0xb4&&cG[0x2]>0xb4?'brightness(0%)':'brightness(100%)';d['DOMUtils']['appendLocalStyle']('BDFDBcustomnotificationbarColorCorrection'+ct,d['dotCN']['noticewrapper']+'[notice-id=\x22'+ct+'\x22]{background-color:'+cI+'\x20!important;}'+d['dotCN']['noticewrapper']+'[notice-id=\x22'+ct+'\x22]\x20.notice-message\x20{color:'+cH+'\x20!important;}'+d['dotCN']['noticewrapper']+'[notice-id=\x22'+ct+'\x22]\x20'+d['dotCN']['noticebutton']+'\x20{color:'+cH+'\x20!important;border-color:'+d['ColorUtils']['setAlpha'](cH,0.25,'RGBA')+'\x20!important;}'+d['dotCN']['noticewrapper']+'[notice-id=\x22'+ct+'\x22]\x20'+d['dotCN']['noticebutton']+':hover\x20{color:'+cI+'\x20!important;background-color:'+cH+'\x20!important;}'+d['dotCN']['noticewrapper']+'[notice-id=\x22'+ct+'\x22]\x20'+d['dotCN']['noticedismiss']+'\x20{filter:'+cJ+'\x20!important;}');}else d['DOMUtils']['addClass'](cu,d['disCN']['noticedefault']);}cu['style']['setProperty']('height','36px','important');cu['style']['setProperty']('min-width','70vw','important');cu['style']['setProperty']('left','unset','important');cu['style']['setProperty']('right','unset','important');let cK=(d['DOMUtils']['getWidth'](document['body']['firstElementChild'])-d['DOMUtils']['getWidth'](cu))/0x2;cu['style']['setProperty']('left',cK+'px','important');cu['style']['setProperty']('right',cK+'px','important');cu['style']['setProperty']('min-width','unset','important');cu['style']['setProperty']('width','unset','important');cu['style']['setProperty']('max-width','calc(100vw\x20-\x20'+cK*0x2+'px)','important');cu['querySelector'](d['dotCN']['noticedismiss'])['addEventListener']('click',c=>{cu['style']['setProperty']('overflow','hidden','important');cu['style']['setProperty']('height','0px','important');d['TimeUtils']['timeout'](c=>{d['ArrayUtils']['remove'](bP,ct);d['DOMUtils']['removeLocalStyle']('BDFDBcustomnotificationbar'+ct);d['DOMUtils']['removeLocalStyle']('BDFDBcustomnotificationbarColorCorrection'+ct);cu['remove']();},0x1f4);});return cu;};d['NotificationUtils']['alert']=function(cN,cO){if(typeof cN=='string'&&typeof cN=='string'&&window['BdApi']&&typeof BdApi['alert']=='function')BdApi['alert'](cN,cO);};var cP=[];d['TooltipUtils']={};d['TooltipUtils']['create']=function(cQ,cR,cS={}){var cT=document['querySelector'](d['dotCN']['appmount']+'\x20>\x20*\x20>\x20'+d['dotCN']['itemlayercontainer']);if(!cT||typeof cR!='string'&&!d['ObjectUtils']['is'](cS['guild'])||!Node['prototype']['isPrototypeOf'](cQ)||!document['contains'](cQ))return null;var cU=d['NumberUtils']['generateId'](cP);var cV=d['DOMUtils']['create']('');cT['appendChild'](cV);var cW=cV['firstElementChild'];if(cS['id'])cW['id']=cS['id']['split']('\x20')['join']('');if(!cS['type']||!d['disCN']['tooltip'+cS['type']['toLowerCase']()])cS['type']='top';d['DOMUtils']['addClass'](cW,d['disCN']['tooltip'+cS['type']['toLowerCase']()]);cW['type']=cS['type']['toLowerCase']();let cX=![],cY=![],cZ='';if(cS['style'])cZ+=cS['style'];if(cS['fontColor']){cX=d['ObjectUtils']['is'](cS['fontColor']);if(!cX)cZ=(cZ?cZ+'\x20':'')+('color:\x20'+d['ColorUtils']['convert'](cS['fontColor'],'RGBA')+'\x20!important;');}if(cS['backgroundColor']){cY=!![];let d0=d['ObjectUtils']['is'](cS['backgroundColor']);let d1=!d0?d['ColorUtils']['convert'](cS['backgroundColor'],'RGBA'):d['ColorUtils']['createGradient'](cS['backgroundColor']);cZ=(cZ?cZ+'\x20':'')+('background:\x20'+d1+'\x20!important;\x20border-color:\x20'+(d0?d['ColorUtils']['convert'](cS['backgroundColor'][cS['type']=='left'?0x64:0x0],'RGBA'):d1)+'\x20!important;');}if(cZ)cW['style']=cZ;if(cY)d['DOMUtils']['addClass'](cW,d['disCN']['tooltipcustom']);else if(cS['color']&&d['disCN']['tooltip'+cS['color']['toLowerCase']()])d['DOMUtils']['addClass'](cW,d['disCN']['tooltip'+cS['color']['toLowerCase']()]);else d['DOMUtils']['addClass'](cW,d['disCN']['tooltipblack']);if(cS['list']||d['ObjectUtils']['is'](cS['guild']))d['DOMUtils']['addClass'](cW,d['disCN']['tooltiplistitem']);if(cS['selector'])d['DOMUtils']['addClass'](cW,cS['selector']);if(d['ObjectUtils']['is'](cS['guild'])){let d2=ib['StreamUtils']['getAllApplicationStreams']()['filter'](d3=>d3['guildId']===cS['guild']['id'])['map'](d4=>d4['ownerId']);let d5=d2['map'](d6=>ib['UserStore']['getUser'](d6))['filter'](d7=>d7);let d8=Object['keys'](ib['VoiceUtils']['getVoiceStates'](cS['guild']['id']))['map'](d9=>!d2['includes'](d9)&&d['LibraryModules']['UserStore']['getUser'](d9))['filter'](da=>da);let db=cR||cS['guild']['toString']();if(cX)db=''+d['StringUtils']['htmlEscape'](db)+'';d['ReactUtils']['render'](d['ReactUtils']['createElement'](d['ReactUtils']['Fragment'],{'children':[d['ReactUtils']['createElement']('div',{'className':d['DOMUtils']['formatClassName'](d['disCN']['tooltiprow'],d['disCN']['tooltiprowguildname']),'children':[d['ReactUtils']['createElement'](An['GuildComponents']['Badge'],{'guild':cS['guild'],'size':ib['StringUtils']['cssValueToNumber'](zg['TooltipGuild']['iconSize']),'className':d['disCN']['tooltiprowicon']}),d['ReactUtils']['createElement']('span',{'className':d['DOMUtils']['formatClassName'](d['disCN']['tooltipguildnametext'],(d8['length']||d5['length'])&&d['disCN']['tooltipguildnametextlimitedsize']),'children':cX||cS['html']?d['ReactUtils']['elementToReact'](d['DOMUtils']['create'](db)):db})]}),d8['length']?d['ReactUtils']['createElement']('div',{'className':d['disCN']['tooltiprow'],'children':[d['ReactUtils']['createElement'](An['SvgIcon'],{'name':An['SvgIcon']['Names']['SPEAKER'],'className':d['disCN']['tooltipactivityicon']}),d['ReactUtils']['createElement'](An['UserSummaryItem'],{'users':d8,'max':0x6})]}):null,d5['length']?d['ReactUtils']['createElement']('div',{'className':d['disCN']['tooltiprow'],'children':[d['ReactUtils']['createElement'](An['SvgIcon'],{'name':An['SvgIcon']['Names']['STREAM'],'className':d['disCN']['tooltipactivityicon']}),d['ReactUtils']['createElement'](An['UserSummaryItem'],{'users':d5,'max':0x6})]}):null]['filter'](dc=>dc)}),cW);}else{if(cX)cW['innerHTML']=''+d['StringUtils']['htmlEscape'](cR)+'';else if(cS['html']===!![])cW['innerHTML']=cR;else cW['innerText']=cR;}cW['appendChild'](d['DOMUtils']['create'](''));cW['anker']=cQ;if(cS['hide'])d['DOMUtils']['appendLocalStyle']('BDFDBhideOtherTooltips'+cU,'#app-mount\x20'+d['dotCN']['tooltip']+':not([tooltip-id=\x22'+cU+'\x22])\x20{display:\x20none\x20!important;}',cT);let dd=c=>{d['DOMUtils']['remove'](cV);};cQ['addEventListener']('mouseleave',dd);let df=new MutationObserver(dg=>dg['forEach'](dh=>{let di=Array['from'](dh['removedNodes']);if(di['indexOf'](cV)>-0x1||di['indexOf'](cQ)>-0x1||di['some'](dj=>dj['contains'](cQ))){d['ArrayUtils']['remove'](cP,cU);df['disconnect']();d['DOMUtils']['remove'](cV);d['DOMUtils']['removeLocalStyle']('BDFDBhideOtherTooltips'+cU,cT);cQ['removeEventListener']('mouseleave',dd);}}));df['observe'](document['body'],{'subtree':!![],'childList':!![]});d['TooltipUtils']['update'](cW);if(cS['delay']){d['DOMUtils']['toggle'](cV);d['TimeUtils']['timeout'](c=>{d['DOMUtils']['toggle'](cV);},cS['delay']);}return cV;};d['TooltipUtils']['update']=function(dl){if(!Node['prototype']['isPrototypeOf'](dl))return;let dm=d['DOMUtils']['getParent'](d['dotCN']['itemlayer'],dl);if(!Node['prototype']['isPrototypeOf'](dm))return;dl=dm['querySelector'](d['dotCN']['tooltip']);if(!Node['prototype']['isPrototypeOf'](dl)||!Node['prototype']['isPrototypeOf'](dl['anker'])||!dl['type'])return;var dn=dl['querySelector'](d['dotCN']['tooltippointer']);var dp,dq,dr=d['DOMUtils']['getRects'](dl['anker']),ds=d['DOMUtils']['getRects'](dm),dt=d['DOMUtils']['getRects'](document['querySelector'](d['dotCN']['appmount'])),du={'height':0xa,'width':0xa};switch(dl['type']){case'top':dq=dr['top']-ds['height']-du['height']+0x2;dp=dr['left']+(dr['width']-ds['width'])/0x2;break;case'bottom':dq=dr['top']+dr['height']+du['height']-0x2;dp=dr['left']+(dr['width']-ds['width'])/0x2;break;case'left':dq=dr['top']+(dr['height']-ds['height'])/0x2;dp=dr['left']-ds['width']-du['width']+0x2;break;case'right':dq=dr['top']+(dr['height']-ds['height'])/0x2;dp=dr['left']+dr['width']+du['width']-0x2;break;}dm['style']['setProperty']('top',dq+'px');dm['style']['setProperty']('left',dp+'px');dn['style']['removeProperty']('margin-left');dn['style']['removeProperty']('margin-top');if(dl['type']=='top'||dl['type']=='bottom'){if(dp<0x0){dm['style']['setProperty']('left','5px');dn['style']['setProperty']('margin-left',dp-0xa+'px');}else{var dv=dt['width']-(dp+ds['width']);if(dv<0x0){dm['style']['setProperty']('left',dt['width']-ds['width']-0x5+'px');dn['style']['setProperty']('margin-left',-0x1*dv+'px');}}}else if(dl['type']=='left'||dl['type']=='right'){if(dq<0x0){dm['style']['setProperty']('top','5px');dn['style']['setProperty']('margin-top',dq-0xa+'px');}else{var dw=dt['height']-(dq+ds['height']);if(dw<0x0){dm['style']['setProperty']('top',dt['height']-ds['height']-0x5+'px');dn['style']['setProperty']('margin-top',-0x1*dw+'px');}}}};d['ObjectUtils']={};d['ObjectUtils']['is']=function(dx){return dx&&Object['prototype']['isPrototypeOf'](dx)&&!Array['prototype']['isPrototypeOf'](dx);};d['ObjectUtils']['extract']=function(dy,...dz){let dA={};if(d['ObjectUtils']['is'](dy))for(let dB of dz['flat'](0xa)['filter'](dC=>dC))if(dy[dB])dA[dB]=dy[dB];return dA;};d['ObjectUtils']['exclude']=function(dD,...dE){let dF=Object['assign']({},dD);d['ObjectUtils']['delete'](dF,...dE);return dF;};d['ObjectUtils']['delete']=function(dG,...dH){if(d['ObjectUtils']['is'](dG))for(let dI of dH['flat'](0xa)['filter'](dJ=>dJ))delete dG[dI];};d['ObjectUtils']['sort']=function(dK,dL,dM){if(!d['ObjectUtils']['is'](dK))return{};var dN={};if(dL===undefined||!dL)for(let dO of Object['keys'](dK)['sort']())dN[dO]=dK[dO];else{let dP=[];for(let dO in dK)dP['push'](dK[dO]);dP=d['ArrayUtils']['keySort'](dP,dL,dM);for(let dR of dP)for(let dO in dK)if(d['equals'](dR,dK[dO])){dN[dO]=dR;break;}}return dN;};d['ObjectUtils']['reverse']=function(dT,dU){if(!d['ObjectUtils']['is'](dT))return{};var dV={};for(let dW of dU===undefined||!dU?Object['keys'](dT)['reverse']():Object['keys'](dT)['sort']()['reverse']())dV[dW]=dT[dW];return dV;};d['ObjectUtils']['filter']=function(dX,dY,dZ=![]){if(!d['ObjectUtils']['is'](dX))return{};if(typeof dY!='function')return dX;return Object['keys'](dX)['filter'](e0=>dY(dZ?e0:dX[e0]))['reduce']((e1,e2)=>(e1[e2]=dX[e2],e1),{});};d['ObjectUtils']['push']=function(e3,e4){if(d['ObjectUtils']['is'](e3))e3[Object['keys'](e3)['length']]=e4;};d['ObjectUtils']['pop']=function(e5,e6){if(d['ObjectUtils']['is'](e5)){let e7=Object['keys'](e5);if(!e7['length'])return;let e6=e5[e7[e7['length']-0x1]];delete e5[e7[e7['length']-0x1]];return e6;}};d['ObjectUtils']['map']=function(e9,ea){if(!d['ObjectUtils']['is'](e9))return{};if(typeof ea!='string'&&typeof ea!='function')return e9;var eb={};for(let ec in e9)if(d['ObjectUtils']['is'](e9[ec]))eb[ec]=typeof ea=='string'?e9[ec][ea]:ea(e9[ec],ec);return eb;};d['ObjectUtils']['toArray']=function(ed){if(!d['ObjectUtils']['is'](ed))return[];return Object['entries'](ed)['map'](ee=>ee[0x1]);};d['ObjectUtils']['deepAssign']=function(ef,...eg){if(!eg['length'])return ef;let eh=eg['shift']();if(d['ObjectUtils']['is'](ef)&&d['ObjectUtils']['is'](eh)){for(let ei in eh){if(d['ObjectUtils']['is'](eh[ei])){if(!ef[ei])Object['assign'](ef,{[ei]:{}});d['ObjectUtils']['deepAssign'](ef[ei],eh[ei]);}else Object['assign'](ef,{[ei]:eh[ei]});}}return d['ObjectUtils']['deepAssign'](ef,...eg);};d['ObjectUtils']['isEmpty']=function(ej){return!d['ObjectUtils']['is'](ej)||Object['getOwnPropertyNames'](ej)['length']==0x0;};d['ArrayUtils']={};d['ArrayUtils']['is']=function(ek){return ek&&Array['isArray'](ek);};d['ArrayUtils']['sum']=function(el){return Array['isArray'](el)?el['reduce']((em,en)=>em+Math['round'](en),0x0):0x0;};d['ArrayUtils']['keySort']=function(eo,ep,eq){if(!d['ArrayUtils']['is'](eo))return[];if(ep==null)return eo;if(eq===undefined)eq=null;return eo['sort']((er,es)=>{var et=er[ep],eu=es[ep];if(et!==eq)return eteu?0x1:0x0;});};d['ArrayUtils']['numSort']=function(ev){return ev['sort']((ew,ex)=>{return ewex?0x1:0x0;});};d['ArrayUtils']['remove']=function(ey,ez,eA=![]){if(!d['ArrayUtils']['is'](ey))return[];if(!ey['includes'](ez))return ey;if(!eA)ey['splice'](ey['indexOf'](ez),0x1);else while(ey['indexOf'](ez)>-0x1)ey['splice'](ey['indexOf'](ez),0x1);return ey;};d['ArrayUtils']['getAllIndexes']=function(eB,eC){if(!d['ArrayUtils']['is'](eB)&&typeof eB!='string')return[];var eD=[],eE=-0x1;while((eE=eB['indexOf'](eC,eE+0x1))!==-0x1)eD['push'](eE);return eD;};d['ArrayUtils']['removeCopies']=function(eF){if(!d['ArrayUtils']['is'](eF))return[];return[...new Set(eF)];};d['ModuleUtils']={};d['ModuleUtils']['cached']=window['BDFDB']&&window['BDFDB']['ModuleUtils']&&window['BDFDB']['ModuleUtils']['cached']||{};d['ModuleUtils']['find']=function(eG,eH){eH=typeof eH!='boolean'?!![]:eH;var eI=f['getWebModuleReq']();for(let eJ in eI['c'])if(eI['c']['hasOwnProperty'](eJ)){var eK=eI['c'][eJ]['exports'];if(eK&&(typeof eK=='object'||typeof eK=='function')&&eG(eK))return eH?eK:eI['c'][eJ];if(eK&&eK['__esModule'])for(let eL in eK)if(eK[eL]&&(typeof eK[eL]=='object'||typeof eK[eL]=='function')&&eG(eK[eL]))return eH?eK[eL]:eI['c'][eJ];}};d['ModuleUtils']['findByProperties']=function(...eM){eM=eM['flat'](0xa);let eN=eM['pop']();if(typeof eN!='boolean'){eM['push'](eN);eN=!![];}return f['findModule']('prop',JSON['stringify'](eM),eO=>eM['every'](eP=>eO[eP]!==undefined),eN);};d['ModuleUtils']['findByName']=function(eQ,eR){let eS=f['findModule']('name',JSON['stringify'](eQ),eT=>eT['displayName']===eQ||eT['render']&&eT['render']['displayName']===eQ,typeof eR!='boolean'?!![]:eR);if(eS&&eS['render']&&eS['render']['displayName']==eQ)eS['displayName']=eQ;return eS;};d['ModuleUtils']['findByString']=function(...eU){eU=eU['flat'](0xa);let eV=eU['pop']();if(typeof eV!='boolean'){eU['push'](eV);eV=!![];}return f['findModule']('string',JSON['stringify'](eU),eW=>eU['every'](eX=>typeof eW=='function'&&(eW['toString']()['indexOf'](eX)>-0x1||eW['originalsource']&&eW['originalsource']['toString']()['indexOf'](eX)>-0x1)),eV);};d['ModuleUtils']['findByPrototypes']=function(...eY){eY=eY['flat'](0xa);let eZ=eY['pop']();if(typeof eZ!='boolean'){eY['push'](eZ);eZ=!![];}return f['findModule']('proto',JSON['stringify'](eY),f0=>f0['prototype']&&eY['every'](f1=>f0['prototype'][f1]!==undefined),eZ);};f['findModule']=function(f2,f3,f4,f5){if(!d['ObjectUtils']['is'](d['ModuleUtils']['cached'][f2]))d['ModuleUtils']['cached'][f2]={'module':{},'export':{}};if(f5&&d['ModuleUtils']['cached'][f2]['export'][f3])return d['ModuleUtils']['cached'][f2]['export'][f3];else if(!f5&&d['ModuleUtils']['cached'][f2]['module'][f3])return d['ModuleUtils']['cached'][f2]['module'][f3];else{var f6=d['ModuleUtils']['find'](f4,f5);if(f6){if(f5)d['ModuleUtils']['cached'][f2]['export'][f3]=f6;else d['ModuleUtils']['cached'][f2]['module'][f3]=f6;return f6;}else d['LogUtils']['warn'](f3+'\x20['+f2+']\x20not\x20found\x20in\x20WebModules');}};f['getWebModuleReq']=function(){if(!f['getWebModuleReq']['req']){const f7='BDFDB-WebModules';const f8=window['webpackJsonp']['push']([[],{[f7]:(f9,fa,f8)=>f9['exports']=f8},[[f7]]]);delete f8['m'][f7];delete f8['c'][f7];f['getWebModuleReq']['req']=f8;}return f['getWebModuleReq']['req'];};var fc={};fc['Patchtypes']=['before','instead','after'];fc['Patchmap']={'BannedCard':'BannedUser','ChannelWindow':'Channel','InvitationCard':'InviteRow','InviteCard':'InviteRow','MemberCard':'Member','PopoutContainer':'Popout','QuickSwitchChannelResult':'Channel','QuickSwitchGuildResult':'Guild','QuickSwitchResult':'Result','WebhookCard':'Webhook'};fc['Forceobserve']=['DirectMessage','GuildIcon','QuickSwitchChannelResult','QuickSwitchGuildResult'];fc['Nonprototype']=['ChannelTextAreaContainer'];fc['LoadedInComponents']={'AutocompleteChannelResult':'AutocompleteComponents.Channel','AutocompleteUserResult':'AutocompleteComponents.User'};fc['Patchfinder']={'Account':'accountinfo','App':'app','AppSkeleton':'app','AppView':'appcontainer','AuthWrapper':'loginscreen','BannedCard':'guildsettingsbannedcard','ChannelMember':'member','ChannelTextAreaForm':'chatform','ChannelWindow':'chatcontent','DirectMessage':'guildouter','EmojiPicker':'emojipicker','FriendRow':'friendsrow','Guild':'guildouter','GuildIcon':'avataricon','GuildSidebar':'guildchannels','I18nLoaderWrapper':'app','InstantInviteModal':'invitemodalwrapper','InvitationCard':'invitemodalinviterow','InviteCard':'guildsettingsinvitecard','PopoutContainer':'popout','PrivateChannelCall':'callcurrentcontainer','PrivateChannelRecipientsInvitePopout':'searchpopoutdmaddpopout','PrivateChannelsList':'dmchannelsscroller','QuickSwitchChannelResult':'quickswitchresult','QuickSwitchGuildResult':'quickswitchresult','QuickSwitchResult':'quickswitchresult','MemberCard':'guildsettingsmembercard','Messages':'messages','MessagesPopout':'messagespopout','MutualGuilds':'userprofilebody','MutualFriends':'userprofilebody','NameTag':'nametag','Note':'usernote','SearchResults':'searchresultswrap','TypingUsers':'typing','UnreadDMs':'guildsscroller','Upload':'uploadmodal','UserPopout':'userpopout','V2C_ContentColumn':'contentcolumn','V2C_List':'_repolist','V2C_PluginCard':'_repoheader','V2C_ThemeCard':'_repoheader'};fc['GlobalModules']={};try{fc['GlobalModules']['V2C_ContentColumn']=V2C_ContentColumn;}catch(fd){d['LogUtils']['warn']('Could\x20not\x20find\x20global\x20Module\x20\x22V2C_ContentColumn\x22');}try{fc['GlobalModules']['V2C_List']=V2C_List;}catch(fe){d['LogUtils']['warn']('Could\x20not\x20find\x20global\x20Module\x20\x22V2C_List\x22');}try{fc['GlobalModules']['V2C_PluginCard']=V2C_PluginCard;}catch(ff){d['LogUtils']['warn']('Could\x20not\x20find\x20global\x20Module\x20\x22V2C_PluginCard\x22');}try{fc['GlobalModules']['V2C_ThemeCard']=V2C_ThemeCard;}catch(fg){d['LogUtils']['warn']('Could\x20not\x20find\x20global\x20Module\x20\x22V2C_ThemeCard\x22');}d['ModuleUtils']['isPatched']=function(fh,fi,fj){if(!fh||!d['ObjectUtils']['is'](fi)||!fi['BDFDBpatch']||!fj)return![];const fk=(typeof fh==='string'?fh:fh['name'])['toLowerCase']();return fk&&fi[fj]&&fi[fj]['isBDFDBpatched']&&fi['BDFDBpatch'][fj]&&Object['keys'](fi['BDFDBpatch'][fj])['some'](fl=>Object['keys'](fi['BDFDBpatch'][fj][fl])['includes'](fk));};d['ModuleUtils']['patch']=function(fm,fn,fo,fp,fq=![]){if(!fm||!d['ObjectUtils']['is'](fn)||!fo||!d['ObjectUtils']['is'](fp))return null;fp=d['ObjectUtils']['filter'](fp,fr=>fc['Patchtypes']['includes'](fr),!![]);if(d['ObjectUtils']['isEmpty'](fp))return null;const fs=typeof fm==='string'?fm:fm['name'];const ft=fs['toLowerCase']();if(!fn['BDFDBpatch'])fn['BDFDBpatch']={};fo=[fo]['flat'](0xa)['filter'](fu=>fu);for(let fv of fo){if(!fn['BDFDBpatch'][fv]||fq&&(!fn[fv]||!fn[fv]['isBDFDBpatched'])){if(!fn['BDFDBpatch'][fv]){fn['BDFDBpatch'][fv]={};for(let fw of fc['Patchtypes'])fn['BDFDBpatch'][fv][fw]={};}if(!fn[fv])fn[fv]=c=>{};const fy=fn[fv];fn['BDFDBpatch'][fv]['originalMethod']=fy;fn[fv]=function(){let fz=![],fA=![];const fB={'thisObject':this,'methodArguments':arguments,'originalMethod':fy,'originalMethodName':fv,'callOriginalMethod':c=>{if(!fA)fB['returnValue']=fB['originalMethod']['apply'](fB['thisObject'],fB['methodArguments']);},'callOriginalMethodAfterwards':c=>{fz=!![];},'stopOriginalMethodCall':c=>{fA=!![];}};if(fn['BDFDBpatch']&&fn['BDFDBpatch'][fv]){if(!d['ObjectUtils']['isEmpty'](fn['BDFDBpatch'][fv]['before']))for(let fF in d['ObjectUtils']['sort'](fn['BDFDBpatch'][fv]['before'])){d['TimeUtils']['suppress'](fn['BDFDBpatch'][fv]['before'][fF],'\x22before\x22\x20callback\x20of\x20'+fv+'\x20in\x20'+(fn['constructor']?fn['constructor']['displayName']||fn['constructor']['name']:'module'),fn['BDFDBpatch'][fv]['before'][fF]['pluginname'])(fB);}let fG=!d['ObjectUtils']['isEmpty'](fn['BDFDBpatch'][fv]['instead']);if(fG)for(let fF in d['ObjectUtils']['sort'](fn['BDFDBpatch'][fv]['instead'])){let fI=d['TimeUtils']['suppress'](fn['BDFDBpatch'][fv]['instead'][fF],'\x22instead\x22\x20callback\x20of\x20'+fv+'\x20in\x20'+(fn['constructor']?fn['constructor']['displayName']||fn['constructor']['name']:'module'),fn['BDFDBpatch'][fv]['instead'][fF]['pluginname'])(fB);if(fI!==undefined)fB['returnValue']=fI;}if((!fG||fz)&&!fA)d['TimeUtils']['suppress'](fB['callOriginalMethod'],'originalMethod\x20of\x20'+fv+'\x20in\x20'+(fn['constructor']?fn['constructor']['displayName']||fn['constructor']['name']:'module'))();if(!d['ObjectUtils']['isEmpty'](fn['BDFDBpatch'][fv]['after']))for(let fF in d['ObjectUtils']['sort'](fn['BDFDBpatch'][fv]['after'])){let fI=d['TimeUtils']['suppress'](fn['BDFDBpatch'][fv]['after'][fF],'\x22after\x22\x20callback\x20of\x20'+fv+'\x20in\x20'+(fn['constructor']?fn['constructor']['displayName']||fn['constructor']['name']:'module'),fn['BDFDBpatch'][fv]['after'][fF]['pluginname'])(fB);if(fI!==undefined)fB['returnValue']=fI;}}else d['TimeUtils']['suppress'](fB['callOriginalMethod'],'originalMethod\x20of\x20'+fv+'\x20in\x20'+(fn['constructor']?fn['constructor']['displayName']||fn['constructor']['name']:'module'))();fz=![],fA=![];return fv=='render'&&fB['returnValue']===undefined?null:fB['returnValue'];};fn[fv]['originalsource']=fy;fn[fv]['isBDFDBpatched']=!![];}for(let fL in fp)if(typeof fp[fL]=='function'){fn['BDFDBpatch'][fv][fL][ft]=fp[fL];fn['BDFDBpatch'][fv][fL][ft]['pluginname']=fs;}}let fM=c=>{d['ModuleUtils']['unpatch'](fm,fn,fo);};if(d['ObjectUtils']['is'](fm)){if(!d['ArrayUtils']['is'](fm['patchCancels']))fm['patchCancels']=[];fm['patchCancels']['push'](fM);}return fM;};d['ModuleUtils']['unpatch']=function(fO,fP,fQ){if(!fP&&!fQ){if(d['ObjectUtils']['is'](fO)&&d['ArrayUtils']['is'](fO['patchCancels'])){for(let fR of fO['patchCancels'])fR();fO['patchCancels']=[];}}else{if(!d['ObjectUtils']['is'](fP)||!fP['BDFDBpatch'])return;const fS=!fO?null:(typeof fO==='string'?fO:fO['name'])['toLowerCase']();if(fQ){for(let fT of[fQ]['flat'](0xa)['filter'](fU=>fU))if(fP[fT]&&fP['BDFDBpatch'][fT])fW(fT,fS);}else for(let fV of fP['BDFDBpatch'])fW(fV,fS);}function fW(fX,fY){for(let fZ of fc['Patchtypes']){if(fY)delete fP['BDFDBpatch'][fX][fZ][fY];else delete fP['BDFDBpatch'][fX][fZ];}var g0=!![];for(let fZ of fc['Patchtypes'])if(!d['ObjectUtils']['isEmpty'](fP['BDFDBpatch'][fX][fZ]))g0=![];if(g0){fP[fX]=fP['BDFDBpatch'][fX]['originalMethod'];delete fP['BDFDBpatch'][fX];if(d['ObjectUtils']['isEmpty'](fP['BDFDBpatch']))delete fP['BDFDBpatch'];}}};d['ModuleUtils']['forceAllUpdates']=function(g2,g3){if(d['ObjectUtils']['is'](g2)&&d['ObjectUtils']['is'](g2['patchedModules'])){const g4=document['querySelector'](d['dotCN']['app']);const g5=document['querySelector']('#bd-settingspane-container\x20'+d['dotCN']['scrollerwrap']);if(g4){let g6=[],g7={};for(let g8 in g2['patchedModules'])for(let g9 in g2['patchedModules'][g8]){let ga=[g2['patchedModules'][g8][g9]]['flat'](0xa)['filter'](gb=>gb);if(ga['includes']('componentDidMount')||ga['includes']('componentDidUpdate')||ga['includes']('render')){g6['push'](g9);let gc=g9['split']('\x20_\x20_\x20')[0x0];if(!g7[gc])g7[gc]=[];g7[gc]['push'](g8);}}g3=[g3]['flat'](0xa)['filter'](gd=>gd);if(g3['length']){g3=g3['map'](ge=>ge&&fc['Patchmap'][ge]?fc['Patchmap'][ge]+'\x20_\x20_\x20'+ge:ge);g6=g6['filter'](gf=>g3['indexOf'](gf)>-0x1);}g6=d['ArrayUtils']['removeCopies'](g6);if(g6['length']){try{const gg=d['ReactUtils']['findOwner'](g4,{'name':g6,'all':!![],'group':!![],'unlimited':!![]});const gh=d['ReactUtils']['findOwner'](g4,{'name':g6,'all':!![],'group':!![],'unlimited':!![],'up':!![]});for(let g9 in gg)for(let gj of gg[g9])f['forceInitiateProcess'](g2,gj,g9,g7[g9]);for(let g9 in gh)for(let gj of gh[g9])f['forceInitiateProcess'](g2,gj,g9,g7[g9]);if(g5){const gm=d['ReactUtils']['findOwner'](g5,{'name':g6,'all':!![],'group':!![],'unlimited':!![]});for(let g9 in gm)for(let gj of gm[g9])f['forceInitiateProcess'](g2,gj,g9,g7[g9]);}}catch(gp){d['LogUtils']['error']('Could\x20not\x20force\x20update\x20components!\x20'+gp,g2['name']);}}}}};f['forceInitiateProcess']=function(gq,gr,gs,gt){if(!gq||!gr||!gs)return;let gu=[];for(let gv in gq['patchedModules'])if(gq['patchedModules'][gv][gs])gu['push'](gq['patchedModules'][gv][gs]);gu=d['ArrayUtils']['removeCopies'](gu)['flat'](0xa)['filter'](gw=>gw);if(gu['includes']('componentDidMount'))f['initiateProcess'](gq,gs,{'instance':gr,'methodname':'componentDidMount','patchtypes':gt});if(gu['includes']('render'))d['ReactUtils']['forceUpdate'](gr);else if(gu['includes']('componentDidUpdate'))f['initiateProcess'](gq,gs,{'instance':gr,'methodname':'componentDidUpdate','patchtypes':gt});};f['initiateProcess']=function(gx,gy,gz){if(d['ObjectUtils']['is'](gx)&&!gx['stopping']&&gz['instance']){let gA=gx['name']=='$BDFDB';if(gx['name']=='$BDFDB')gx=Ek;gy=(gy['split']('\x20_\x20_\x20')[0x1]||gy)['replace'](/[^A-z0-9]|_/g,'');gy=gy['charAt'](0x0)['toUpperCase']()+gy['slice'](0x1);if(typeof gx['process'+gy]=='function'){let gB=!gA&&gx['process'+gy]['toString']()['split']('\x0a')[0x0]['replace'](/ /g,'')['split'](',')['length']>0x1;if(gB){if(gz['methodname']=='render'){if(gz['returnvalue'])gx['process'+gy](gz['instance'],null,gz['returnvalue'],[gz['methodname']]);}else{let gC=d['ReactUtils']['findDOMNode'](gz['instance']);if(gC)gx['process'+gy](gz['instance'],gC,gz['returnvalue'],[gz['methodname']]);else d['TimeUtils']['timeout'](c=>{gC=d['ReactUtils']['findDOMNode'](gz['instance']);if(gC)gx['process'+gy](gz['instance'],gC,gz['returnvalue'],[gz['methodname']]);});}}else{if(gz['methodname']=='render'){if(gz['returnvalue']||gz['patchtypes']['includes']('before'))gx['process'+gy](gz);}else{gz['node']=d['ReactUtils']['findDOMNode'](gz['instance']);if(gz['node'])gx['process'+gy](gz);else d['TimeUtils']['timeout'](c=>{gz['node']=d['ReactUtils']['findDOMNode'](gz['instance']);if(gz['node'])gx['process'+gy](gz);});}}}}};f['patchPlugin']=function(gF){if(!d['ObjectUtils']['is'](gF)||!d['ObjectUtils']['is'](gF['patchedModules']))return;d['ModuleUtils']['unpatch'](gF);for(let gG in gF['patchedModules'])for(let gH in gF['patchedModules'][gG]){if(fc['GlobalModules'][gH]&&typeof fc['GlobalModules'][gH]=='function')gM(fc['GlobalModules'][gH],gH,gG);else{let gI=fc['LoadedInComponents'][gH]&&d['ReactUtils']['getValue'](An,fc['LoadedInComponents'][gH]);if(gI)gM(gI,gH,gG);else{let gJ=fc['Patchmap'][gH];let gK=fc['Patchfinder'][gH['split']('\x20_\x20_\x20')[0x1]||gH];let gL=gJ?gJ+'\x20_\x20_\x20'+gH:gH;if(gJ){gF['patchedModules'][gG][gL]=gF['patchedModules'][gG][gH];delete gF['patchedModules'][gG][gH];}if(!gK)gM(d['ModuleUtils']['findByName'](gL['split']('\x20_\x20_\x20')[0x0]),gL,gG);else if(zq[gK])gT(gK,gL,gG,fc['Forceobserve']['includes'](gH['split']('\x20_\x20_\x20')[0x1]||gH));}}}function gM(gN,gO,gP){if(gN){let gQ=gO['split']('\x20_\x20_\x20')[0x0];gN=gN['_reactInternalFiber']&&gN['_reactInternalFiber']['type']?gN['_reactInternalFiber']['type']:gN;gN=gN['displayName']==gQ||gN['name']==gQ||fc['LoadedInComponents'][gO]?gN:d['ReactUtils']['findConstructor'](gN,gQ)||d['ReactUtils']['findConstructor'](gN,gQ,{'up':!![]});if(gN){gN=gN['_reactInternalFiber']&&gN['_reactInternalFiber']['type']?gN['_reactInternalFiber']['type']:gN;let gR={};gR[gP]=gS=>{f['initiateProcess'](gF,gO,{'instance':gS['thisObject'],'returnvalue':gS['returnValue'],'methodname':gS['originalMethodName'],'patchtypes':[gP]});};d['ModuleUtils']['patch'](gF,fc['Nonprototype']['includes'](gQ)?gN:gN['prototype'],gF['patchedModules'][gP][gO],gR);}}}function gT(gU,gV,gW,gX){const gY=document['querySelector'](d['dotCN']['app']),gZ=document['querySelector']('#bd-settingspane-container\x20'+d['dotCN']['scrollerwrap']);let h0=![];if(!gX){if(gY){let h1=d['ReactUtils']['findConstructor'](gY,gV,{'unlimited':!![]})||d['ReactUtils']['findConstructor'](gY,gV,{'unlimited':!![],'up':!![]});if(h1&&(h0=!![]))gM(h1,gV,gW);}if(!h0&&gZ){let h2=d['ReactUtils']['findConstructor'](gZ,gV,{'unlimited':!![]});if(h2&&(h0=!![]))gM(h2,gV,gW);}}if(!h0){let h3=![],h4=d['disCN'][gU],h5=d['dotCN'][gU];for(let h6 of document['querySelectorAll'](h5)){let h7=d['ReactUtils']['getInstance'](h6);if(he(h7,gV)){h3=!![];gM(h7,gV,gW);d['ModuleUtils']['forceAllUpdates'](gF,gV);break;}}if(!h3){let h8=new MutationObserver(h9=>{h9['forEach'](ha=>{ha['addedNodes']['forEach'](hb=>{if(h3||!hb||!hb['tagName'])return;let h6=null;if((h6=d['DOMUtils']['containsClass'](hb,h4)?hb:hb['querySelector'](h5))!=null){let h7=d['ReactUtils']['getInstance'](h6);if(he(h7,gV)){h3=!![];h8['disconnect']();gM(h7,gV,gW);d['ModuleUtils']['forceAllUpdates'](gF,gV);}}});});});d['ObserverUtils']['connect'](gF,d['dotCN']['appmount'],{'name':'checkForInstanceObserver','instance':h8,'multi':!![]},{'childList':!![],'subtree':!![]});}}}function he(hf,hg){if(!hf)return![];hf=hf['_reactInternalFiber']&&hf['_reactInternalFiber']['type']?hf['_reactInternalFiber']['type']:hf;hf=hf['displayName']==hg||hf['name']==hg?hf:d['ReactUtils']['findConstructor'](hf,hg)||d['ReactUtils']['findConstructor'](hf,hg,{'up':!![]});return!!hf;}};var hh=['MessageOptionPopout'];f['addContextListeners']=hi=>{if(!d['ObjectUtils']['is'](hi))return;for(let hj of An['ContextMenus']['_NormalMenus'])if(typeof hi['on'+hj]==='function')f['patchContextMenuPlugin'](hi,hj,An['ContextMenus'][hj]);for(let hk of hh)if(typeof hi['on'+hk]==='function')f['patchPopoutPlugin'](hi,hk,d['ModuleUtils']['findByName'](hk));for(let hl of An['ContextMenus']['_FluxMenus'])if(typeof hi['on'+hl]==='function'){if(d['InternalData']['patchMenuQueries'][hl]['module'])f['patchContextMenuPlugin'](hi,hl,d['InternalData']['patchMenuQueries'][hl]['module']);else d['InternalData']['patchMenuQueries'][hl]['query']['push'](hi);}for(let hm of An['ContextMenus']['_NonRenderMenus'])if(typeof hi['on'+hm]==='function'){if(d['InternalData']['patchMenuQueries'][hm]['module'])f['patchNonRenderContextMenuPlugin'](hi,hm,d['InternalData']['patchMenuQueries'][hm]['module']);else d['InternalData']['patchMenuQueries'][hm]['query']['push'](hi);}};f['patchContextMenuPlugin']=(hn,ho,hp)=>{if(hp&&hp['prototype']){let hq=hn['on'+ho]['toString']()['split']('\x0a')[0x0]['replace'](/ /g,'')['split'](',')['length']>0x1;if(hq){d['ModuleUtils']['patch'](hn,hp['prototype'],'render',{'after':hr=>{let hs=hr['thisObject'],ht=d['ReactUtils']['findDOMNode'](hr['thisObject']),hu=hr['returnValue'];if(hs&&ht&&hu&&typeof hn['on'+ho]==='function')hn['on'+ho](hs,ht,hu);}});}else{d['ModuleUtils']['patch'](hn,hp['prototype'],'render',{'after':hv=>{if(hv['thisObject']&&hv['returnValue']&&typeof hn['on'+ho]==='function')hn['on'+ho]({'instance':hv['thisObject'],'returnvalue':hv['returnValue'],'methodname':'render'});}});}}};f['patchNonRenderContextMenuPlugin']=(hw,hx,hy)=>{if(hy&&hy['exports']){let hz=hw['on'+hx]['toString']()['split']('\x0a')[0x0]['replace'](/ /g,'')['split'](',')['length']>0x1;if(hz)d['ModuleUtils']['patch'](hw,hy['exports'],'default',{'after':hA=>{if(hA['returnValue']&&typeof hw['on'+hx]==='function')hw['on'+hx]({'props':hA['methodArguments'][0x0]},document,hA['returnValue']);}});else d['ModuleUtils']['patch'](hw,hy['exports'],'default',{'after':hB=>{if(hB['returnValue']&&typeof hw['on'+hx]==='function')hw['on'+hx]({'instance':{'props':hB['methodArguments'][0x0]},'returnvalue':hB['returnValue'],'methodname':'default'});}});}};f['patchPopoutPlugin']=(hC,hD,hE)=>{if(hE&&hE['prototype']){let hF=hC['on'+hD]['toString']()['split']('\x0a')[0x0]['replace'](/ /g,'')['split'](',')['length']>0x1;if(hF)d['ModuleUtils']['patch'](hC,hE['prototype'],'render',{'after':hG=>{let hH=hG['thisObject'],hI=d['ReactUtils']['findDOMNode'](hG['thisObject']),hJ=hG['returnValue'];if(hH&&hI&&hJ&&typeof hC['on'+hD]==='function'){hC['on'+hD](hH,hI,hJ);if(!hH['BDFDBforceUpdateTimeout'])d['ReactUtils']['forceUpdate'](hH);}}});else d['ModuleUtils']['patch'](hC,hE['prototype'],'render',{'after':hK=>{if(hK['thisObject']&&hK['returnValue']&&typeof hC['on'+hD]==='function')hC['on'+hD]({'instance':hK['thisObject'],'returnvalue':hK['returnValue'],'methodname':'render'});}});}};f['patchContextMenuLib']=(hL,hM)=>{if(hL&&hL['prototype']){d['ModuleUtils']['patch'](d,hL['prototype'],'componentDidMount',{'after':hN=>{if(!hN['thisObject']['BDFDBforceRenderTimeout']&&typeof hN['thisObject']['render']=='function')hN['thisObject']['render']();}});d['ModuleUtils']['patch'](d,hL['prototype'],'componentDidUpdate',{'after':hO=>{var hP=d['ReactUtils']['findDOMNode'](hO['thisObject']);if(hP){const hQ=d['ReactUtils']['getValue'](hO,'thisObject._reactInternalFiber.stateNode.props.onHeightUpdate');const hR=d['DOMUtils']['getRects'](hP),hS=d['DOMUtils']['getRects'](document['querySelector'](d['dotCN']['appmount']));if(hQ&&hR['top']+hR['height']>hS['height'])hQ();}}});d['ModuleUtils']['patch'](d,hL['prototype'],'render',{'after':hT=>{if(hT['thisObject']['props']['BDFDBcontextMenu']&&hT['thisObject']['props']['children']&&hT['returnValue']&&hT['returnValue']['props']){hT['returnValue']['props']['children']=hT['thisObject']['props']['children'];delete hT['thisObject']['props']['value'];delete hT['thisObject']['props']['children'];delete hT['thisObject']['props']['BDFDBcontextMenu'];}if(d['ReactUtils']['findDOMNode'](hT['thisObject'])){hT['thisObject']['BDFDBforceRenderTimeout']=!![];d['TimeUtils']['timeout'](c=>{delete hT['thisObject']['BDFDBforceRenderTimeout'];},0x3e8);}if(hM){let hV=d['ReactUtils']['getValue'](hT,'thisObject._reactInternalFiber.child.type');if(hV&&hV['displayName']&&d['InternalData']['patchMenuQueries'][hV['displayName']]&&!d['InternalData']['patchMenuQueries'][hV['displayName']]['module']){d['InternalData']['patchMenuQueries'][hV['displayName']]['module']=hV;f['patchContextMenuLib'](hV,![]);while(d['InternalData']['patchMenuQueries'][hV['displayName']]['query']['length'])f['patchContextMenuPlugin'](d['InternalData']['patchMenuQueries'][hV['displayName']]['query']['pop'](),hV['displayName'],hV);}}}});}};f['patchPopoutLib']=(hW,hX)=>{if(hW&&hW['prototype']){d['ModuleUtils']['patch'](d,hW['prototype'],'componentDidMount',{'after':hY=>{if(!hY['thisObject']['BDFDBforceRenderTimeout']&&!hY['thisObject']['BDFDBforceUpdateTimeout']&&typeof hY['thisObject']['render']=='function')hY['thisObject']['render']();}});d['ModuleUtils']['patch'](d,hW['prototype'],'componentDidUpdate',{'after':hZ=>{const i0=d['ReactUtils']['getValue'](hZ,'thisObject._reactInternalFiber.return.return.return.stateNode.updateOffsets');if(i0)i0();hZ['thisObject']['BDFDBforceUpdateTimeout']=!![];d['TimeUtils']['timeout'](c=>{delete hZ['thisObject']['BDFDBforceUpdateTimeout'];},0x3e8);}});d['ModuleUtils']['patch'](d,hW['prototype'],'render',{'after':i2=>{if(d['ReactUtils']['findDOMNode'](i2['thisObject'])){i2['thisObject']['BDFDBforceRenderTimeout']=!![];d['TimeUtils']['timeout'](c=>{delete i2['thisObject']['BDFDBforceRenderTimeout'];},0x3e8);}if(i2['thisObject']['props']['message']&&!i2['thisObject']['props']['target']){const i4=document['querySelector'](d['dotCN']['messages']);if(i4)for(let i5 of d['ReactUtils']['findOwner'](i4,{'name':'Message','all':!![],'unlimited':!![]})){if(i2['thisObject']['props']['message']['id']==i5['props']['message']['id']){target=d['ReactUtils']['findDOMNode'](i5);if(target)i2['thisObject']['props']['target']=target;break;}}}}});}};f['getContextMenuType']=i6=>{if(i6){if(i6['endsWith']('ContextMenu'))return i6;else if(An['ContextMenus']['_Types']['includes'](i6)){if(i6['indexOf']('USER_')==0x0)return'UserContextMenu';else if(i6['indexOf']('CHANNEL_')==0x0)return'ChannelContextMenu';else if(i6['indexOf']('GUILD_')==0x0)return'GuildContextMenu';}}return null;};d['DiscordConstants']=d['ModuleUtils']['findByProperties']('Permissions','ActivityTypes');var i7={};i7['Channel']=d['ModuleUtils']['findByPrototypes']('getRecipientId','isManaged','getGuildId');i7['Guild']=d['ModuleUtils']['findByPrototypes']('getIconURL','getMaxEmojiSlots','getRole');i7['Message']=d['ModuleUtils']['findByPrototypes']('getReaction','getAuthorName','getChannelId');i7['Messages']=d['ModuleUtils']['findByPrototypes']('jumpToMessage','hasAfterCached','forEach');i7['Timestamp']=d['ModuleUtils']['findByPrototypes']('add','dayOfYear','hasAlignedHourOffset');i7['User']=d['ModuleUtils']['findByPrototypes']('hasFlag','isLocalBot','isClaimed');d['DiscordObjects']=Object['assign']({},i7);var i8={};for(let i9 of['child_process','electron','fs','path','process','request']){try{i8[i9]=require(i9);}catch(ia){}}d['LibraryRequires']=Object['assign']({},i8);var ib={};ib['AckUtils']=d['ModuleUtils']['findByProperties']('localAck','bulkAck');ib['APIUtils']=d['ModuleUtils']['findByProperties']('getAPIBaseURL');ib['AnalyticsUtils']=d['ModuleUtils']['findByProperties']('isThrottled','track');ib['AnimationUtils']=d['ModuleUtils']['findByProperties']('spring','decay');ib['BadgeUtils']=d['ModuleUtils']['findByProperties']('getBadgeCountString','getBadgeWidthForValue');ib['CategoryCollapseStore']=d['ModuleUtils']['findByProperties']('getCollapsedCategories','isCollapsed');ib['CategoryCollapseUtils']=d['ModuleUtils']['findByProperties']('categoryCollapse','categoryCollapseAll');ib['ChannelStore']=d['ModuleUtils']['findByProperties']('getChannel','getChannels');ib['ColorUtils']=d['ModuleUtils']['findByProperties']('hex2int','hex2rgb');ib['ContextMenuUtils']=d['ModuleUtils']['findByProperties']('closeContextMenu','openContextMenu');ib['CopyLinkUtils']=d['ModuleUtils']['findByProperties']('SUPPORTS_COPY','copy');ib['CurrentUserStore']=d['ModuleUtils']['findByProperties']('getCurrentUser');ib['CurrentVoiceUtils']=d['ModuleUtils']['findByProperties']('getAveragePing','isConnected');ib['DirectMessageStore']=d['ModuleUtils']['findByProperties']('getPrivateChannelIds','getPrivateChannelTimestamps');ib['DirectMessageUnreadStore']=d['ModuleUtils']['findByProperties']('getUnreadPrivateChannelIds');ib['DispatchApiUtils']=d['ModuleUtils']['findByProperties']('dirtyDispatch','isDispatching');ib['DispatchUtils']=d['ModuleUtils']['findByProperties']('ComponentDispatch');ib['DirectMessageUtils']=d['ModuleUtils']['findByProperties']('addRecipient','openPrivateChannel');ib['FriendUtils']=d['ModuleUtils']['findByProperties']('getFriendIDs','getRelationships');ib['FolderStore']=d['ModuleUtils']['findByProperties']('getGuildFolderById','getFlattenedGuilds');ib['FolderUtils']=d['ModuleUtils']['findByProperties']('isFolderExpanded','getExpandedFolders');ib['GuildBoostUtils']=d['ModuleUtils']['findByProperties']('getTierName','getUserLevel');ib['GuildChannelStore']=d['ModuleUtils']['findByProperties']('getChannels','getDefaultChannel');ib['GuildEmojiStore']=d['ModuleUtils']['findByProperties']('getGuildEmoji','getDisambiguatedEmojiContext');ib['GuildSettingsUtils']=d['ModuleUtils']['findByProperties']('updateChannelOverrideSettings','updateNotificationSettings');ib['GuildStore']=d['ModuleUtils']['findByProperties']('getGuild','getGuilds');ib['GuildUtils']=d['ModuleUtils']['findByProperties']('transitionToGuildSync');ib['HistoryUtils']=d['ModuleUtils']['findByProperties']('transitionTo','replaceWith','getHistory');;ib['IconUtils']=d['ModuleUtils']['findByProperties']('getGuildIconURL','getGuildBannerURL');ib['InviteUtils']=d['ModuleUtils']['findByProperties']('acceptInvite','createInvite');ib['KeyCodeUtils']=Object['assign']({},d['ModuleUtils']['findByProperties']('toCombo','keyToCode'));ib['KeyCodeUtils']['getString']=ic=>{return ib['KeyCodeUtils']['toString']([ic]['flat'](0xa)['filter'](id=>id)['map'](ie=>[d['DiscordConstants']['KeyboardDeviceTypes']['KEYBOARD_KEY'],ie,d['DiscordConstants']['KeyboardEnvs']['BROWSER']]),!![]);};ib['KeyEvents']=d['ModuleUtils']['findByProperties']('aliases','code','codes');ib['LanguageStore']=d['ModuleUtils']['findByProperties']('getLanguages','Messages');ib['LastChannelStore']=d['ModuleUtils']['findByProperties']('getLastSelectedChannelId');ib['LastGuildStore']=d['ModuleUtils']['findByProperties']('getLastSelectedGuildId');ib['LoginUtils']=d['ModuleUtils']['findByProperties']('login','logout');ib['MemberStore']=d['ModuleUtils']['findByProperties']('getMember','getMembers');ib['MessagePinUtils']=d['ModuleUtils']['findByProperties']('pinMessage','unpinMessage');ib['MessageStore']=d['ModuleUtils']['findByProperties']('getMessage','getMessages');ib['MessageUtils']=d['ModuleUtils']['findByProperties']('receiveMessage','editMessage');ib['ModalUtils']=d['ModuleUtils']['findByProperties']('openModal','hasModalOpen');ib['MutedUtils']=d['ModuleUtils']['findByProperties']('isGuildOrCategoryOrChannelMuted');ib['NoteStore']=d['ModuleUtils']['findByProperties']('getNotes','getNote');ib['NotificationSettingsUtils']=d['ModuleUtils']['findByProperties']('setDesktopType','setTTSType');ib['NotificationSettingsStore']=d['ModuleUtils']['findByProperties']('getDesktopType','getTTSType');ib['PlatformUtils']=d['ModuleUtils']['findByProperties']('isWindows','isLinux');ib['PermissionUtils']=d['ModuleUtils']['findByProperties']('getChannelPermissions','canUser');ib['PermissionRoleUtils']=d['ModuleUtils']['findByProperties']('getHighestRole','can');ib['QuoteUtils']=d['ModuleUtils']['findByProperties']('canQuote','createQuotedText');ib['ReactionUtils']=d['ModuleUtils']['findByProperties']('addReaction','removeReaction');ib['SearchPageUtils']=d['ModuleUtils']['findByProperties']('searchNextPage','searchPreviousPage');ib['SelectChannelUtils']=d['ModuleUtils']['findByProperties']('selectChannel','selectPrivateChannel');ib['SettingsUtils']=d['ModuleUtils']['findByProperties']('updateRemoteSettings','updateLocalSettings');ib['SoundUtils']=d['ModuleUtils']['findByProperties']('playSound','createSound');ib['SpellCheckUtils']=d['ModuleUtils']['findByProperties']('learnWord','toggleSpellcheck');ib['SlateUtils']=d['ModuleUtils']['findByProperties']('serialize','deserialize');ib['SlateSelectionUtils']=d['ModuleUtils']['findByProperties']('serialize','serializeSelection');ib['StateStoreUtils']=d['ModuleUtils']['findByProperties']('useStateFromStores','useStateFromStoresArray');ib['StatusMetaUtils']=d['ModuleUtils']['findByProperties']('getApplicationActivity','getStatus');ib['StoreUtils']=d['ModuleUtils']['findByProperties']('get','set','clear','remove');ib['StreamUtils']=d['ModuleUtils']['findByProperties']('getStreamForUser','getActiveStream');ib['StringUtils']=d['ModuleUtils']['findByProperties']('cssValueToNumber','upperCaseFirstChar');ib['UnreadGuildUtils']=d['ModuleUtils']['findByProperties']('hasUnread','getUnreadGuilds');ib['UnreadChannelUtils']=d['ModuleUtils']['findByProperties']('getUnreadCount','getOldestUnreadMessageId');ib['UploadUtils']=d['ModuleUtils']['findByProperties']('upload','instantBatchUpload');ib['UserNameUtils']=d['ModuleUtils']['findByProperties']('getName','getNickname');ib['UserStore']=d['ModuleUtils']['findByProperties']('getUser','getUsers');ib['Utilities']=d['ModuleUtils']['findByProperties']('flatMap','cloneDeep');ib['VoiceUtils']=d['ModuleUtils']['findByProperties']('getAllVoiceStates','getVoiceStatesForChannel');ib['ZoomUtils']=d['ModuleUtils']['findByProperties']('setZoom','setFontSize');d['LibraryModules']=Object['assign']({},ib);ib['React']=d['ModuleUtils']['findByProperties']('createElement','cloneElement');ib['ReactDOM']=d['ModuleUtils']['findByProperties']('render','findDOMNode');d['ReactUtils']=Object['assign']({},ib['React'],ib['ReactDOM']);d['ReactUtils']['childrenToArray']=function(ig){if(ig&&ig['props']&&ig['props']['children']&&!d['ArrayUtils']['is'](ig['props']['children'])){var ih=ig['props']['children'];ig['props']['children']=[];ig['props']['children']['push'](ih);}return ig['props']['children'];};d['ReactUtils']['createElement']=function(ii,ij){if(ii&&ii['defaultProps'])for(let ik in ii['defaultProps'])if(ij[ik]==null)ij[ik]=ii['defaultProps'][ik];try{return ib['React']['createElement'](ii||'div',ij||{})||null;}catch(il){d['LogUtils']['error']('Fatal\x20Error:\x20Could\x20not\x20create\x20react\x20element!\x20'+il);}return null;};d['ReactUtils']['elementToReact']=function(im){if(d['ReactUtils']['isValidElement'](im))return im;else if(!Node['prototype']['isPrototypeOf'](im))return null;else if(im['nodeType']==Node['TEXT_NODE'])return im['nodeValue'];let io={},ip={};for(let iq of im['attributes'])io[iq['name']]=iq['value'];if(im['attributes']['style'])io['style']=d['ObjectUtils']['filter'](im['style'],ir=>im['style'][ir]&&isNaN(parseInt(ir)),!![]);io['children']=[];if(im['style']&&im['style']['cssText'])for(let is of im['style']['cssText']['split'](';'))if(is['endsWith']('!important')){let it=is['split'](':')[0x0];let iu=it['replace'](/-([a-z]?)/g,(iv,iw)=>iw['toUpperCase']());if(io['style'][iu]!=null)ip[it]=io['style'][iu];}if(Object['keys'](ip)['length'])io['ref']=ix=>{let iy=d['ReactUtils']['findDOMNode'](ix);if(iy)for(let iz in ip)iy['style']['setProperty'](iz,ip[iz],'important');};for(let iA of im['childNodes'])io['children']['push'](d['ReactUtils']['elementToReact'](iA));return d['ReactUtils']['createElement'](im['tagName'],io);};d['ReactUtils']['findChildren']=function(iB,iC){if(!iB||!d['ObjectUtils']['is'](iC)||!iC['name']&&!iC['key']&&!iC['props']&&!iC['filter'])return[null,-0x1];var iD=Node['prototype']['isPrototypeOf'](iB)?d['ReactUtils']['getInstance'](iB):iB;if(!d['ObjectUtils']['is'](iD)&&!d['ArrayUtils']['is'](iD))return[null,-0x1];iC['name']=iC['name']&&[iC['name']]['flat']()['filter'](iE=>iE);iC['key']=iC['key']&&[iC['key']]['flat']()['filter'](iF=>iF);iC['props']=iC['props']&&[iC['props']]['flat']()['filter'](iG=>iG);iC['filter']=typeof iC['filter']=='function'&&iC['filter'];var iH=firstarray=iD;while(!d['ArrayUtils']['is'](firstarray)&&firstarray['props']&&firstarray['props']['children'])firstarray=firstarray['props']['children'];if(!d['ArrayUtils']['is'](firstarray)){if(iH&&iH['props']){iH['props']['children']=[iH['props']['children']];firstarray=iH['props']['children'];}else firstarray=[];}return iI(iD);function iI(iJ){var iK=[firstarray,-0x1];if(!iJ)return iK;if(!d['ArrayUtils']['is'](iJ)){if(iO(iJ))iK=iM(iJ);else if(iJ['props']&&iJ['props']['children']){iH=iJ;iK=iI(iJ['props']['children']);}}else{for(let iL=0x0;iK[0x1]==-0x1&&iLiD['type']['render']&&iD['type']['render']['displayName']===iR||iD['type']['displayName']===iR||iD['type']['name']===iR||iD['type']===iR)||iC['key']&&iC['key']['some'](iS=>iD['key']==iS)||iQ&&iC['props']&&iC['props']['every'](iT=>d['ArrayUtils']['is'](iT)?d['ArrayUtils']['is'](iT[0x1])?iT[0x1]['some'](iU=>iV(iQ,iT[0x0],iU)):iV(iQ,iT[0x0],iT[0x1]):iQ[iT]!==undefined)||iC['filter']&&iC['filter'](iD);}function iV(iW,iX,iY){return iX!=null&&iW[iX]!=null&&iY!=null&&(iX=='className'?('\x20'+iW[iX]+'\x20')['indexOf']('\x20'+iY+'\x20')>-0x1:d['equals'](iW[iX],iY));}};d['ReactUtils']['findConstructor']=function(iZ,j0,j1={}){if(!d['ObjectUtils']['is'](j1))return null;if(!iZ||!j0)return j1['all']?j1['group']?{}:[]:null;var j2=Node['prototype']['isPrototypeOf'](iZ)?d['ReactUtils']['getInstance'](iZ):iZ;if(!d['ObjectUtils']['is'](j2))return j1['all']?j1['group']?{}:[]:null;j0=j0&&[j0]['flat'](0xa)['filter'](j3=>typeof j3=='string');if(!j0['length'])return j1['all']?j1['group']?{}:[]:null;;var j4=-0x1;var j5=performance['now']();var j6=j1['unlimited']?0x3b9ac9ff:j1['depth']===undefined?0x1e:j1['depth'];var j7=j1['unlimited']?0x3b9ac9ff:j1['time']===undefined?0x96:j1['time'];var j8=j1['up']?{'return':!![],'sibling':!![],'_reactInternalFiber':!![]}:{'child':!![],'sibling':!![],'_reactInternalFiber':!![]};var j9=j1['group']?{}:[];var ja=jd(j2);if(j1['all']){for(let jb in j9){if(j1['group'])for(let jc in j9[jb])delete j9[jb][jc]['BDFDBreactSearch'];else delete j9[jb]['BDFDBreactSearch'];}return j9;}else return ja;function jd(j2){j4++;var jf=undefined;if(j2&&!Node['prototype']['isPrototypeOf'](j2)&&!d['ReactUtils']['getInstance'](j2)&&j4(j2['type']['render']&&j2['type']['render']['displayName']||j2['type']['displayName']||j2['type']['name'])===jg['split']('\x20_\x20_\x20')[0x0])){if(j1['all']===undefined||!j1['all'])jf=j2['type'];else if(j1['all']){if(!j2['type']['BDFDBreactSearch']){j2['type']['BDFDBreactSearch']=!![];if(j1['group']){if(j2['type']&&(j2['type']['render']&&j2['type']['render']['displayName']||j2['type']['displayName']||j2['type']['name'])){let jh=j1['name']['find'](ji=>(j2['type']['render']&&j2['type']['render']['displayName']||j2['type']['displayName']||j2['type']['name']||j2['type'])['split']('\x20_\x20_\x20')[0x0]==ji)||'Default';if(!d['ArrayUtils']['is'](foundinstances[jh]))foundinstances[jh]=[];foundinstances[jh]['push'](j2['stateNode']);}}else foundinstances['push'](j2['type']);}}}if(jf===undefined){let jj=Object['getOwnPropertyNames'](j2);for(let jk=0x0;jf===undefined&&jkjr);jp['key']=jp['key']&&[jp['key']]['flat']()['filter'](js=>js);jp['props']=jp['props']&&[jp['props']]['flat']()['filter'](jt=>jt);var ju=-0x1;var jv=performance['now']();var jw=jp['unlimited']?0x3b9ac9ff:jp['depth']===undefined?0x1e:jp['depth'];var jx=jp['unlimited']?0x3b9ac9ff:jp['time']===undefined?0x96:jp['time'];var jy=jp['up']?{'return':!![],'sibling':!![],'_reactInternalFiber':!![]}:{'child':!![],'sibling':!![],'_reactInternalFiber':!![]};var jz=jp['group']?{}:[];var jA=jD(jq);if(jp['all']){for(let jB in jz){if(jp['group'])for(let jC in jz[jB])delete jz[jB][jC]['BDFDBreactSearch'];else delete jz[jB]['BDFDBreactSearch'];}return jz;}else return jA;function jD(jq){ju++;var jF=undefined;if(jq&&!Node['prototype']['isPrototypeOf'](jq)&&!d['ReactUtils']['getInstance'](jq)&&ju(jq['type']['render']&&jq['type']['render']['displayName']||jq['type']['displayName']||jq['type']['name']||jq['type'])===jH['split']('\x20_\x20_\x20')[0x0])||jp['key']&&jp['key']['some'](jI=>jq['key']==jI)||jG&&jp['props']&&jp['props']['every'](jJ=>d['ArrayUtils']['is'](jJ)?d['ArrayUtils']['is'](jJ[0x1])?jJ[0x1]['some'](jK=>d['equals'](jG[jJ[0x0]],jK)):d['equals'](jG[jJ[0x0]],jJ[0x1]):jG[jJ]!==undefined))){if(jp['all']===undefined||!jp['all'])jF=jq['stateNode'];else if(jp['all']){if(!jq['stateNode']['BDFDBreactSearch']){jq['stateNode']['BDFDBreactSearch']=!![];if(jp['group']){if(jp['name']&&jq['type']&&(jq['type']['render']&&jq['type']['render']['displayName']||jq['type']['displayName']||jq['type']['name']||jq['type'])){let jL=jp['name']['find'](jM=>(jq['type']['render']&&jq['type']['render']['displayName']||jq['type']['displayName']||jq['type']['name']||jq['type'])['split']('\x20_\x20_\x20')[0x0]==jM)||'Default';if(!d['ArrayUtils']['is'](jz[jL]))jz[jL]=[];jz[jL]['push'](jq['stateNode']);}}else jz['push'](jq['stateNode']);}}}if(jF===undefined){let jN=Object['getOwnPropertyNames'](jq);for(let jO=0x0;jF===undefined&&jOjT);jR['key']=jR['key']&&[jR['key']]['flat']()['filter'](jU=>jU);var jV=-0x1;var jW=performance['now']();var jX=jR['unlimited']?0x3b9ac9ff:jR['depth']===undefined?0x1e:jR['depth'];var jY=jR['unlimited']?0x3b9ac9ff:jR['time']===undefined?0x96:jR['time'];var jZ=jR['up']?{'return':!![],'sibling':!![],'_reactInternalFiber':!![]}:{'child':!![],'sibling':!![],'_reactInternalFiber':!![]};return k0(jS);function k0(jS){jV++;var k2=undefined;if(jS&&!Node['prototype']['isPrototypeOf'](jS)&&!d['ReactUtils']['getInstance'](jS)&&jV(jS['type']['render']&&jS['type']['render']['displayName']||jS['type']['displayName']||jS['type']['name']||jS['type'])===k3['split']('\x20_\x20_\x20')[0x0])||jR['key']&&jR['key']['some'](k4=>jS['key']==k4)))k2=jS['memoizedProps'];if(k2===undefined){let k5=Object['getOwnPropertyNames'](jS);for(let k6=0x0;k2===undefined&&k6kv))if(ku['updater']&&typeof ku['updater']['isMounted']=='function'&&ku['updater']['isMounted'](ku))ku['forceUpdate']();};d['ReactUtils']['getInstance']=function(kw){if(!d['ObjectUtils']['is'](kw))return null;return kw[Object['keys'](kw)['find'](kx=>kx['startsWith']('__reactInternalInstance'))];};d['ReactUtils']['getValue']=function(ky,kz){if(!ky||!kz)return null;var kA=Node['prototype']['isPrototypeOf'](ky)?d['ReactUtils']['getInstance'](ky):ky;if(!d['ObjectUtils']['is'](kA))return null;var kB=kA,kC=kz['split']('.')['filter'](kD=>kD);for(value of kC){if(!kB)return null;kB=kB[value];}return kB;};d['ReactUtils']['render']=function(kE,kF){if(!d['ReactUtils']['isValidElement'](kE)||!Node['prototype']['isPrototypeOf'](kF))return;try{ib['ReactDOM']['render'](kE,kF);let kG=new MutationObserver(kH=>kH['forEach'](kI=>{let kJ=Array['from'](kI['removedNodes']);if(kJ['indexOf'](kF)>-0x1||kJ['some'](kK=>kK['contains'](kF))){kG['disconnect']();d['ReactUtils']['unmountComponentAtNode'](kF);}}));kG['observe'](document['body'],{'subtree':!![],'childList':!![]});}catch(kL){d['LogUtils']['error']('Fatal\x20Error:\x20Could\x20not\x20render\x20react\x20element!\x20'+kL);}};f['setDefaultProps']=function(kM,kN){if(d['ObjectUtils']['is'](kM))kM['defaultProps']=Object['assign']({},kM['defaultProps'],kN);};d['equals']=function(kO,kP,kQ){var kR=-0x1;if(kQ===undefined||typeof kQ!=='boolean')kQ=![];return kS(kO,kP);function kS(kT,kU){kR++;var kV=!![];if(kR>0x3e8)kV=null;else{if(typeof kT!==typeof kU)kV=![];else if(typeof kT==='undefined')kV=!![];else if(typeof kT==='symbol')kV=!![];else if(typeof kT==='boolean')kV=kT==kU;else if(typeof kT==='string')kV=kT==kU;else if(typeof kT==='number'){if(isNaN(kT)||isNaN(kU))kV=isNaN(kT)==isNaN(kU);else kV=kT==kU;}else if(!kT&&!kU)kV=!![];else if(!kT||!kU)kV=![];else if(typeof kT==='function'||typeof kT==='object'){var kW=Object['getOwnPropertyNames'](kT);var kX=Object['getOwnPropertyNames'](kU);if(kW['length']!==kX['length'])kV=![];else for(let kY=0x0;kV===!![]&&kYlk['folderId'])['find'](ll=>ll['guildIds']['includes'](lj));};d['GuildUtils']['getId']=function(lm){if(!Node['prototype']['isPrototypeOf'](lm)||!d['ReactUtils']['getInstance'](lm))return;let ln=d['DOMUtils']['getParent'](d['dotCN']['guildouter'],lm);if(!ln)return;var lo=ln['querySelector'](d['dotCN']['guildiconwrapper']);var lp=lo&&lo['href']?lo['href']['split']('/')['slice'](-0x2)[0x0]:null;return lp&&!isNaN(parseInt(lp))?lp['toString']():null;};d['GuildUtils']['getData']=function(lq){if(!lq)return null;let lr=Node['prototype']['isPrototypeOf'](lq)?d['GuildUtils']['getId'](lq):typeof lq=='object'?lq['id']:lq;lr=typeof lr=='number'?lr['toFixed']():lr;for(let ls of d['GuildUtils']['getAll']())if(ls&&ls['id']==lr)return ls;return null;};d['GuildUtils']['getAll']=function(){var lt=[],lu=[];for(let lv of d['ReactUtils']['findOwner'](document['querySelector'](d['dotCN']['guilds']),{'name':['Guild','GuildIcon'],'all':!![],'unlimited':!![]})){if(lv['props']&&lv['props']['guild'])lu['push'](Object['assign'](new lv['props']['guild']['constructor'](lv['props']['guild']),{'div':lv['handleContextMenu']&&d['ReactUtils']['findDOMNode'](lv),'instance':lv}));}for(let lw of d['LibraryModules']['FolderStore']['getFlattenedGuildIds']()){let lx=null;for(let ly of lu)if(ly['id']==lw){lx=ly;break;}if(lx)lt['push'](lx);else{let lz=d['LibraryModules']['GuildStore']['getGuild'](lw);lt['push'](Object['assign'](new lz['constructor'](lz),{'div':null,'instance':null}));}}return lt;};d['GuildUtils']['getUnread']=function(lA){var lB=[];for(let lC of lA===undefined||!d['ArrayUtils']['is'](lA)?d['GuildUtils']['getAll']():lA){if(!lC)return null;let lD=Node['prototype']['isPrototypeOf'](lC)?d['GuildUtils']['getId'](lC):typeof lC=='object'?lC['id']:lC;lD=typeof lD=='number'?lD['toFixed']():lD;if(lD&&(ib['UnreadGuildUtils']['hasUnread'](lD)||ib['UnreadGuildUtils']['getMentionCount'](lD)>0x0))lB['push'](lC);}return lB;};d['GuildUtils']['getPinged']=function(lE){var lF=[];for(let lG of lE===undefined||!d['ArrayUtils']['is'](lE)?d['GuildUtils']['getAll']():lE){if(!lG)return null;let lH=Node['prototype']['isPrototypeOf'](lG)?d['GuildUtils']['getId'](lG):typeof lG=='object'?lG['id']:lG;lH=typeof lH=='number'?lH['toFixed']():lH;if(lH&&ib['UnreadGuildUtils']['getMentionCount'](lH)>0x0)lF['push'](lG);}return lF;};d['GuildUtils']['getMuted']=function(lI){var lJ=[];for(let lK of lI===undefined||!d['ArrayUtils']['is'](lI)?d['GuildUtils']['getAll']():lI){if(!lK)return null;let lL=Node['prototype']['isPrototypeOf'](lK)?d['GuildUtils']['getId'](lK):typeof lK=='object'?lK['id']:lK;lL=typeof lL=='number'?lL['toFixed']():lL;if(lL&&ib['MutedUtils']['isGuildOrCategoryOrChannelMuted'](lL))lJ['push'](lK);}return lJ;};d['GuildUtils']['getSelected']=function(){var lM=ib['GuildStore']['getGuild'](ib['LastGuildStore']['getGuildId']());if(lM)return d['GuildUtils']['getData'](lM['id'])||Object['assign'](new lM['constructor'](lM),{'div':null,'instance':null});else return null;};d['GuildUtils']['openMenu']=function(lN,lO=d['InternalData']['mousePosition']){if(!lN)return;let lP=Node['prototype']['isPrototypeOf'](lN)?d['GuildUtils']['getId'](lN):typeof lN=='object'?lN['id']:lN;let lQ=ib['GuildStore']['getGuild'](lP);if(lQ)ib['ContextMenuUtils']['openContextMenu'](lO,function(lO){return d['ReactUtils']['createElement'](An['ContextMenus']['_Exports']['GuildContextMenu']&&An['ContextMenus']['_Exports']['GuildContextMenu']['default'],Object['assign']({},lO,{'type':d['DiscordConstants']['ContextMenuTypes']['GUILD_ICON_BAR'],'guild':lQ,'badge':ib['UnreadGuildUtils']['getMentionCount'](lQ['id']),'link':d['DiscordConstants']['Routes']['CHANNEL'](lQ['id'],ib['LastChannelStore']['getChannelId'](lQ['id'])),'selected':lQ['id']==ib['LastGuildStore']['getGuildId']()}));});};d['GuildUtils']['markAsRead']=function(lS){if(!lS)return;var lT=[];for(let lU of d['ArrayUtils']['is'](lS)?lS:typeof lS=='string'||typeof lS=='number'?Array['of'](lS):Array['from'](lS)){let lV=Node['prototype']['isPrototypeOf'](lU)?d['GuildUtils']['getId'](lU):lU&&typeof lU=='object'?lU['id']:lU;let lW=lV&&ib['GuildChannelStore']['getChannels'](lV);if(lW)for(let lX in lW)if(d['ArrayUtils']['is'](lW[lX]))for(let lY of lW[lX])lT['push'](lY['channel']['id']);}if(lT['length'])ib['AckUtils']['bulkAck'](lT);};d['FolderUtils']={};d['FolderUtils']['getId']=function(lZ){if(!Node['prototype']['isPrototypeOf'](lZ)||!d['ReactUtils']['getInstance'](lZ))return;lZ=d['DOMUtils']['getParent'](d['dotCN']['guildfolderwrapper'],lZ);if(!lZ)return;return d['ReactUtils']['findValue'](lZ,'folderId',{'up':!![]});};d['FolderUtils']['getDefaultName']=function(m0){let m1=d['LibraryModules']['FolderStore']['getGuildFolderById'](m0);if(!m1)return'';let m2=0x2*d['DiscordConstants']['MAX_GUILD_FOLDER_NAME_LENGTH'];let m3=[],m4=m1['guildIds']['map'](m5=>(d['LibraryModules']['GuildStore']['getGuild'](m5)||{})['name'])['filter'](m6=>m6);for(let m7 of m4)if(m7['length']{ib['AckUtils']['ack'](n2[n5]);},n5*0x3e8);};d['DataUtils']={};d['DataUtils']['cached']=window['BDFDB']&&window['BDFDB']['DataUtils']&&window['BDFDB']['DataUtils']['cached']||{};d['DataUtils']['save']=function(n7,n8,n9,na){let nb,nc;if(!d['BDUtils']['isBDv2']()){nc=typeof n8==='string'?n8:n8['name'];nb=i8['path']['join'](d['BDUtils']['getPluginsFolder'](),nc+'.config.json');}else{nc=typeof n8==='string'?n8['toLowerCase']():null;let nd=nc?d['Plugins'][nc]?d['Plugins'][nc]['contentPath']:null:n8['contentPath'];if(!nd)return;nb=i8['path']['join'](nd,'settings.json');}let ne=d['DataUtils']['cached'][nc]!==undefined?d['DataUtils']['cached'][nc]:f['readConfig'](nb)||{};if(n9===undefined)ne=d['ObjectUtils']['is'](n7)?d['ObjectUtils']['sort'](n7):n7;else{if(na===undefined)ne[n9]=d['ObjectUtils']['is'](n7)?d['ObjectUtils']['sort'](n7):n7;else{if(!d['ObjectUtils']['is'](ne[n9]))ne[n9]={};ne[n9][na]=d['ObjectUtils']['is'](n7)?d['ObjectUtils']['sort'](n7):n7;}}let nf=d['ObjectUtils']['is'](ne);if(n9!==undefined&&nf&&d['ObjectUtils']['is'](ne[n9])&&d['ObjectUtils']['isEmpty'](ne[n9]))delete ne[n9];if(d['ObjectUtils']['isEmpty'](ne)){delete d['DataUtils']['cached'][nc];if(i8['fs']['existsSync'](nb))i8['fs']['unlinkSync'](nb);}else{if(nf)ne=d['ObjectUtils']['sort'](ne);d['DataUtils']['cached'][nc]=nf?d['ObjectUtils']['deepAssign']({},ne):ne;i8['fs']['writeFileSync'](nb,JSON['stringify'](ne,null,'\x09'));}};d['DataUtils']['load']=function(ng,nh,ni){let nj,nk;if(!d['BDUtils']['isBDv2']()){nk=typeof ng==='string'?ng:ng['name'];nj=i8['path']['join'](d['BDUtils']['getPluginsFolder'](),nk+'.config.json');}else{nk=typeof ng==='string'?ng['toLowerCase']():null;let nl=nk?d['Plugins'][nk]?d['Plugins'][nk]['contentPath']:null:ng['contentPath'];if(!nl)return{};nj=i8['path']['join'](nl,'settings.json');}let nm=d['DataUtils']['cached'][nk]!==undefined?d['DataUtils']['cached'][nk]:f['readConfig'](nj)||{};let nn=d['ObjectUtils']['is'](nm);d['DataUtils']['cached'][nk]=nn?d['ObjectUtils']['deepAssign']({},nm):nm;if(nh===undefined)return nm;else{let no=nn?d['ObjectUtils']['is'](nm[nh])||nm[nh]==undefined?d['ObjectUtils']['deepAssign']({},nm[nh]):nm[nh]:null;if(ni===undefined)return no;else return!d['ObjectUtils']['is'](no)||no[ni]===undefined?null:no[ni];}};d['DataUtils']['remove']=function(np,nq,nr){let ns,nt;if(!d['BDUtils']['isBDv2']()){nt=typeof np==='string'?np:np['name'];ns=i8['path']['join'](d['BDUtils']['getPluginsFolder'](),nt+'.config.json');}else{nt=typeof np==='string'?np['toLowerCase']():null;let nu=nt?d['Plugins'][nt]?d['Plugins'][nt]['contentPath']:null:np['contentPath'];if(!nu)return;ns=i8['path']['join'](nu,'settings.json');}let nv=d['DataUtils']['cached'][nt]!==undefined?d['DataUtils']['cached'][nt]:f['readConfig'](ns)||{};let nw=d['ObjectUtils']['is'](nv);if(nq===undefined||!nw)nv={};else{if(nr===undefined)delete nv[nq];else if(d['ObjectUtils']['is'](nv[nq]))delete nv[nq][nr];}if(d['ObjectUtils']['is'](nv[nq])&&d['ObjectUtils']['isEmpty'](nv[nq]))delete nv[nq];if(d['ObjectUtils']['isEmpty'](nv)){delete d['DataUtils']['cached'][nt];if(i8['fs']['existsSync'](ns))i8['fs']['unlinkSync'](ns);}else{if(nw)nv=d['ObjectUtils']['sort'](nv);d['DataUtils']['cached'][nt]=nw?d['ObjectUtils']['deepAssign']({},nv):nv;i8['fs']['writeFileSync'](ns,JSON['stringify'](nv,null,'\x09'));}};d['DataUtils']['get']=function(nx,ny,nz){nx=typeof nx=='string'?d['BDUtils']['getPlugin'](nx):nx;if(!d['ObjectUtils']['is'](nx)||!nx['defaults']||!nx['defaults'][ny])return nz===undefined?{}:null;var nA=d['DataUtils']['load'](nx,ny),nB={},nC=![];for(let nD in nx['defaults'][ny]){if(nA[nD]==null){nB[nD]=d['ObjectUtils']['is'](nx['defaults'][ny][nD]['value'])?d['ObjectUtils']['deepAssign']({},nx['defaults'][ny][nD]['value']):nx['defaults'][ny][nD]['value'];nC=!![];}else nB[nD]=nA[nD];}if(nC)d['DataUtils']['save'](nB,nx,ny);if(nz===undefined)return nB;else return nB[nz]===undefined?null:nB[nz];};f['readConfig']=function(nE){try{return JSON['parse'](i8['fs']['readFileSync'](nE));}catch(nF){return{};}};d['ColorUtils']={};d['ColorUtils']['convert']=function(nG,nH,nI){if(d['ObjectUtils']['is'](nG)){var nJ={};for(let nK in nG)nJ[nK]=d['ColorUtils']['convert'](nG[nK],nH,nI);return nJ;}else{nH=nH===undefined||!nH?nH='RGBCOMP':nH['toUpperCase']();nI=nI===undefined||!nI||!['RGB','RGBA','RGBCOMP','HSL','HSLA','HSLCOMP','HEX','HEXA','INT']['includes'](nI['toUpperCase']())?d['ColorUtils']['getType'](nG):nI['toUpperCase']();if(nH=='RGBCOMP'){switch(nI){case'RGBCOMP':if(nG['length']==0x3)return ok(nG);else if(nG['length']==0x4){let nL=on(nG['pop']());return ok(nG)['concat'](nL);}break;case'RGB':return ok(nG['replace'](/\s/g,'')['slice'](0x4,-0x1)['split'](','));case'RGBA':let nM=nG['replace'](/\s/g,'')['slice'](0x5,-0x1)['split'](',');let nL=on(nM['pop']());return ok(nM)['concat'](nL);case'HSLCOMP':if(nG['length']==0x3)return d['ColorUtils']['convert']('hsl('+or(nG)['join'](',')+')','RGBCOMP');else if(nG['length']==0x4){let nO=on(nG['pop']());return d['ColorUtils']['convert']('hsl('+or(nG)['join'](',')+')','RGBCOMP')['concat'](nO);}break;case'HSL':var nP=or(nG['replace'](/\s/g,'')['slice'](0x4,-0x1)['split'](','));var nQ,nR,nS,nT,nU,nV,nW,nX;var nY=nP[0x0]/0x168,nZ=parseInt(nP[0x1])/0x64,o0=parseInt(nP[0x2])/0x64;nT=Math['floor'](nY*0x6);nU=nY*0x6-nT;nV=o0*(0x1-nZ);nW=o0*(0x1-nU*nZ);nX=o0*(0x1-(0x1-nU)*nZ);switch(nT%0x6){case 0x0:nQ=o0,nR=nX,nS=nV;break;case 0x1:nQ=nW,nR=o0,nS=nV;break;case 0x2:nQ=nV,nR=o0,nS=nX;break;case 0x3:nQ=nV,nR=nW,nS=o0;break;case 0x4:nQ=nX,nR=nV,nS=o0;break;case 0x5:nQ=o0,nR=nV,nS=nW;break;}return[Math['round'](nQ*0xff),Math['round'](nR*0xff),Math['round'](nS*0xff)];case'HSLA':var nP=nG['replace'](/\s/g,'')['slice'](0x5,-0x1)['split'](',');return d['ColorUtils']['convert']('hsl('+nP['slice'](0x0,0x3)['join'](',')+')','RGBCOMP')['concat'](on(nP['pop']()));case'HEX':var o2=/^#([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'](nG);return[parseInt(o2[0x1]+o2[0x1]||o2[0x4],0x10)['toString'](),parseInt(o2[0x2]+o2[0x2]||o2[0x5],0x10)['toString'](),parseInt(o2[0x3]+o2[0x3]||o2[0x6],0x10)['toString']()];case'HEXA':var o2=/^#([a-f\d]{1})([a-f\d]{1})([a-f\d]{1})([a-f\d]{1})$|^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i['exec'](nG);return[parseInt(o2[0x1]+o2[0x1]||o2[0x5],0x10)['toString'](),parseInt(o2[0x2]+o2[0x2]||o2[0x6],0x10)['toString'](),parseInt(o2[0x3]+o2[0x3]||o2[0x7],0x10)['toString'](),Math['floor'](d['NumberUtils']['mapRange']([0x0,0xff],[0x0,0x64],parseInt(o2[0x4]+o2[0x4]||o2[0x8],0x10)['toString']()))/0x64];case'INT':nG=ov(nG);return[(nG>>0x10&0xff)['toString'](),(nG>>0x8&0xff)['toString'](),(nG&0xff)['toString']()];default:return null;}}else{var o4=nI=='RGBCOMP'?nG:d['ColorUtils']['convert'](nG,'RGBCOMP',nI);if(o4)switch(nH){case'RGB':return'rgb('+ok(o4['slice'](0x0,0x3))['join'](',')+')';case'RGBA':o4=o4['slice'](0x0,0x4);var o5=o4['length']==0x4?on(o4['pop']()):0x1;return'rgba('+ok(o4)['concat'](o5)['join'](',')+')';case'HSLCOMP':var o5=o4['length']==0x4?on(o4['pop']()):null;var nP=or(d['ColorUtils']['convert'](o4,'HSL')['replace'](/\s/g,'')['split'](','));return o5!=null?nP['concat'](o5):nP;case'HSL':var nQ=oi(o4[0x0]),nR=oi(o4[0x1]),nS=oi(o4[0x2]);var ob=Math['max'](nQ,nR,nS),oc=Math['min'](nQ,nR,nS),od=ob-oc,nY,nZ=ob===0x0?0x0:od/ob,o0=ob/0xff;switch(ob){case oc:nY=0x0;break;case nQ:nY=nR-nS+od*(nR0xff?0xff:nU<0x0?0x0:nU;}};function ok(ol){return ol['map'](nU=>{return oi(nU);});};function on(o5){if(o5==null){return 0x1;}else{o5=o5['toString']();o5=(o5['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(o5['replace'](/[^0-9\.\-]/g,''));return isNaN(o5)||o5>0x1?0x1:o5<0x0?0x0:o5;}};function op(oq){if(oq==null){return'100%';}else{oq=parseFloat(oq['toString']()['replace'](/[^0-9\.\-]/g,''));return(isNaN(oq)||oq>0x64?0x64:oq<0x0?0x0:oq)+'%';}};function or(os){let nY=parseFloat(os['shift']()['toString']()['replace'](/[^0-9\.\-]/g,''));nY=isNaN(nY)||nY>0x168?0x168:nY<0x0?0x0:nY;return[nY]['concat'](os['map'](ou=>{return op(ou);}));};function ov(nU){if(nU==null){return 0xffffff;}else{nU=parseInt(nU['toString']()['replace'](/[^0-9]/g,''));return isNaN(nU)||nU>0xffffff?0xffffff:nU<0x0?0x0:nU;}};};d['ColorUtils']['setAlpha']=function(ox,oy,oz){if(d['ObjectUtils']['is'](ox)){var oA={};for(let oB in ox)oA[oB]=d['ColorUtils']['setAlpha'](ox[oB],oy,oz);return oA;}else{var oC=d['ColorUtils']['convert'](ox,'RGBCOMP');if(oC){oy=oy['toString']();oy=(oy['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(oy['replace'](/[^0-9\.\-]/g,''));oy=isNaN(oy)||oy>0x1?0x1:oy<0x0?0x0:oy;oC[0x3]=oy;oz=(oz||d['ColorUtils']['getType'](ox))['toUpperCase']();oz=oz=='RGB'||oz=='HSL'||oz=='HEX'?oz+'A':oz;return d['ColorUtils']['convert'](oC,oz);}}return null;};d['ColorUtils']['getAlpha']=function(oD){var oE=d['ColorUtils']['convert'](oD,'RGBCOMP');if(oE){if(oE['length']==0x3)return 0x1;else if(oE['length']==0x4){let oF=oE[0x3]['toString']();oF=(oF['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(oF['replace'](/[^0-9\.\-]/g,''));return isNaN(oF)||oF>0x1?0x1:oF<0x0?0x0:oF;}}return null;};d['ColorUtils']['change']=function(oG,oH,oI){oH=parseFloat(oH);if(oG!=null&&typeof oH=='number'&&!isNaN(oH)){if(d['ObjectUtils']['is'](oG)){var oJ={};for(let oK in oG)oJ[oK]=d['ColorUtils']['change'](oG[oK],oH,oI);return oJ;}else{var oL=d['ColorUtils']['convert'](oG,'RGBCOMP');if(oL){if(parseInt(oH)!==oH){oH=oH['toString']();oH=(oH['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(oH['replace'](/[^0-9\.\-]/g,''));oH=isNaN(oH)?0x0:oH;return d['ColorUtils']['convert']([Math['round'](oL[0x0]*(0x1+oH)),Math['round'](oL[0x1]*(0x1+oH)),Math['round'](oL[0x2]*(0x1+oH))],oI||d['ColorUtils']['getType'](oG));}else return d['ColorUtils']['convert']([Math['round'](oL[0x0]+oH),Math['round'](oL[0x1]+oH),Math['round'](oL[0x2]+oH)],oI||d['ColorUtils']['getType'](oG));}}}return null;};d['ColorUtils']['invert']=function(oM,oN){if(d['ObjectUtils']['is'](oM)){var oO={};for(let oP in oM)oO[oP]=d['ColorUtils']['invert'](oM[oP],oN);return oO;}else{var oQ=d['ColorUtils']['convert'](oM,'RGBCOMP');if(oQ)return d['ColorUtils']['convert']([0xff-oQ[0x0],0xff-oQ[0x1],0xff-oQ[0x2]],oN||d['ColorUtils']['getType'](oM));}return null;};d['ColorUtils']['compare']=function(oR,oS){if(oR&&oS){oR=d['ColorUtils']['convert'](oR,'RGBA');oS=d['ColorUtils']['convert'](oS,'RGBA');if(oR&&oS)return d['equals'](oR,oS);}return null;};d['ColorUtils']['isBright']=function(oT,oU=0xa0){oT=d['ColorUtils']['convert'](oT,'RGBCOMP');if(!oT)return![];return parseInt(oU)