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