This repository has been archived by the owner on Oct 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbdRenderer.js
2 lines (2 loc) · 441 KB
/
bdRenderer.js
1
2
/*! For license information please see renderer.js.LICENSE.txt */
(()=>{var e={7094:(e,t,n)=>{e.exports={"en-US":n(6858),"en-GB":n(7043),"zh-CN":n(6928),"zh-TW":n(6248),cs:n(7814),da:n(6059),nl:n(3106),fr:n(28),de:n(9463),el:n(5641),hu:n(1707),it:n(5557),ja:n(1221),ko:n(7578),pl:n(8808),"pt-PT":n(6587),"pt-BR":n(5055),ru:n(2681),sk:n(910),"es-ES":n(2247),"es-419":n(7067),"sv-SE":n(1592),tr:n(3162),bg:n(4591),uk:n(2880),fi:n(4321),no:n(7411),hr:n(7318),ro:n(7735),lt:n(8316),th:n(6400),vi:n(4401),hi:n(7487)}},4312:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});const o={err:"error",error:"error",dbg:"debug",debug:"debug",log:"log",warn:"warn",info:"info"};class a{static stacktrace(e,t,n){console.error(`%c[${e}]%c ${t}\n\n%c`,"color: #3a71c1; font-weight: 700;","color: red; font-weight: 700;","color: red;",n)}static err(e,...t){a._log(e,t,"error")}static error(e,...t){a._log(e,t,"error")}static warn(e,...t){a._log(e,t,"warn")}static info(e,...t){a._log(e,t,"info")}static debug(e,...t){a._log(e,t,"debug")}static log(e,...t){a._log(e,t)}static _log(e,t,n="log"){n=a.parseType(n),Array.isArray(t)||(t=[t]),console[n](`%c[BetterDiscord]%c [${e}]%c`,"color: #3E82E5; font-weight: 700;","color: #3a71c1;","",...t)}static parseType(e){return o[e]||"log"}}},6800:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});const o={video:"https://www.youtube.com/embed/evyvq9eQTqA?si=opmzjGjUArT4VLrj&vq=hd720p&hd=1&rel=0&showinfo=0&mute=1&loop=1&autohide=1",description:"This is just a quick fix for those using Discord Canary & PTB, and of course a pre-emptive fix for when they move these changes to Stable.",changes:[{title:"Bugs Squashed",type:"fixed",items:["Fixed modal transition component being grabbed incorrectly.","Fixed custom modal stack not having an `ErrorBoundary` which caused any small issue to bubble up and prevent BetterDiscord startup."]}]}},9382:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});const o={version:"1.10.1",release:{assets:[]},path:"",appPath:"",userData:""}},7895:(e,t,n)=>{"use strict";n.d(t,{A:()=>N});var o=n(3168),a=n.n(o),r=n(8812),i=n.n(r),s=n(4312),l=n(3774),d=n(7219),c=n(4189),u=n(1298),m=n(8820),p=n(5977),h=n(7708),g=n(9768),b=n(9392),f=n(9591);const{useState:v,useCallback:y,forwardRef:A,useImperativeHandle:w,useRef:k}=m.A,S=A((function({content:e,language:t,save:n,openNative:o,id:a="bd-addon-editor"},r){const i=k(null),[s,l]=v(!1);w(r,(()=>({resize(){i.current.resize()},showSettings(){i.current.showSettings()},get value(){return i.current.getValue()},set value(e){i.current.setValue(e)},get hasUnsavedChanges(){return s}})),[s]);const d=y((()=>null==o?void 0:o()),[o]),c=y((()=>l(!0)),[]),u=y(((e,t)=>{null==n||n(t),l(!1)}),[n]);return m.A.createElement(g.A,{ref:i,language:t,id:a,controls:[{label:m.A.createElement(b.A,{size:"18px"}),tooltip:p.A.CustomCSS.save,onClick:u},{label:m.A.createElement(f.A,{size:"18px"}),tooltip:p.A.CustomCSS.openNative,onClick:d}],value:e,onChange:c})}));var x=n(1377),E=n(6766);const z=h.A.openPath,C=/[^\S\r\n]*?\r?(?:\r\n|\n)[^\S\r\n]*?\*[^\S\r\n]?/,D=/^\\@/;class N{get name(){return""}get extension(){return""}get duplicatePattern(){return/./}get addonFolder(){return""}get language(){return""}get prefix(){return"addon"}emit(e,...t){return c.A.emit(`${this.prefix}-${e}`,...t)}constructor(){this.timeCache={},this.addonList=[],this.state={},this.windows=new Set}initialize(){return this.loadAllAddons()}initializeAddon(){}startAddon(){}stopAddon(){}loadState(){const e=u.A.getData(`${this.prefix}s`);e&&Object.assign(this.state,e)}saveState(){u.A.setData(`${this.prefix}s`,this.state)}watchAddons(){if(this.watcher)return s.A.err(this.name,`Already watching ${this.prefix} addons.`);s.A.log(this.name,`Starting to watch ${this.prefix} addons.`),this.watcher=i().watch(this.addonFolder,{persistent:!1},(async(e,t)=>{if(!e||!t)return;const n=a().resolve(this.addonFolder,t);if(!t.endsWith(this.extension)){const e=t.match(this.duplicatePattern);if(!e)return;const o=e[0],r=t.replace(o,"")+this.extension;if(i().existsSync(r))return void s.A.warn(this.name,`Duplicate files found: ${t} and ${r}`);try{i().renameSync(n,a().resolve(this.addonFolder,r))}catch(e){s.A.err(this.name,`Could not rename file: ${t} ${r}`,e)}}await new Promise((e=>setTimeout(e,100)));try{const o=i().statSync(n);if(!o.isFile())return;if(!o||!o.mtime||!o.mtime.getTime())return;if("number"!=typeof o.mtime.getTime())return;if(this.timeCache[t]==o.mtime.getTime())return;this.timeCache[t]=o.mtime.getTime(),"rename"==e&&this.loadAddon(t,!0),"change"==e&&this.reloadAddon(t,!0)}catch(e){if("ENOENT"!==e.code&&(null==e||!e.message.startsWith("ENOENT")))return;delete this.timeCache[t],this.unloadAddon(t,!0)}}))}unwatchAddons(){if(!this.watcher)return s.A.error(this.name,`Was not watching ${this.prefix} addons.`);this.watcher.close(),delete this.watcher,s.A.log(this.name,`No longer watching ${this.prefix} addons.`)}extractMeta(e,t){const n=e.split("\n")[0];if(n.includes("//META")&&n.includes("*//"))return this.parseOldMeta(e,t);if(n.includes("/**"))return this.parseNewMeta(e);throw new l.A(t,t,p.A.Addons.metaNotFound,{message:"",stack:e},this.prefix)}parseOldMeta(e,t){const n=e.split("\n")[0],o=n.substring(n.lastIndexOf("//META")+6,n.lastIndexOf("*//"));let a=null;try{a=JSON.parse(o)}catch(e){throw new l.A(t,t,p.A.Addons.metaError,e,this.prefix)}if(!a||!a.name)throw new l.A(t,t,p.A.Addons.missingNameData,{message:"",stack:n},this.prefix);return a.format="json",a}parseNewMeta(e){const t=e.split("/**",2)[1].split("*/",1)[0],n={};let o="",a="";for(const e of t.split(C))if(0!==e.length)if("@"===e.charAt(0)&&" "!==e.charAt(1)){n[o]=a.trim();const t=e.indexOf(" ");o=e.substring(1,t),a=e.substring(t+1)}else a+=" "+e.replace("\\n","\n").replace(D,"@");return n[o]=a.trim(),delete n[""],n.format="jsdoc",n}requireAddon(e){let t=i().readFileSync(e,"utf8");t=function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}(t);const n=i().statSync(e),o=this.extractMeta(t,a().basename(e));if(o.author||(o.author=p.A.Addons.unknownAuthor),o.version||(o.version="???"),o.description||(o.description=p.A.Addons.noDescription),o.id=o.name||a().basename(e),o.slug=a().basename(e).replace(this.extension,"").replace(/ /g,"-"),o.filename=a().basename(e),o.added=n.atimeMs,o.modified=n.mtimeMs,o.size=n.size,o.fileContent=t,this.addonList.find((e=>e.id==o.id)))throw new l.A(o.name,e,p.A.Addons.alreadyExists.format({type:this.prefix,name:o.name}),this.prefix);return this.addonList.push(o),o}loadAddon(e,t=!1){if(void 0===e)return;let n;try{n=this.requireAddon(a().resolve(this.addonFolder,e))}catch(t){const n=this.addonList.find((t=>t.filename==e));return n&&(n.partial=!0,this.state[n.id]=!1,this.emit("loaded",n)),t}const o=this.initializeAddon(n);return o?(this.state[n.id]=!1,n.partial=!0,this.emit("loaded",n),o):(t&&E.A.success(p.A.Addons.wasLoaded.format({name:n.name,version:n.version})),this.emit("loaded",n),this.state[n.id]?this.startAddon(n):this.state[n.id]=!1)}unloadAddon(e,t=!0,n=!1){const o="string"==typeof e?this.addonList.find((t=>t.id==e||t.filename==e)):e;return!!o&&(this.state[o.id]&&(n?this.stopAddon(o):this.disableAddon(o)),this.addonList.splice(this.addonList.indexOf(o),1),this.emit("unloaded",o),t&&E.A.success(p.A.Addons.wasUnloaded.format({name:o.name})),!0)}reloadAddon(e,t=!0){const n="string"==typeof e?this.addonList.find((t=>t.id==e||t.filename==e)):e,o=this.unloadAddon(n,t,!0);return n&&!o?o:this.loadAddon(n?n.filename:e,t)}isLoaded(e){return!!this.addonList.find((t=>t.id==e||t.filename==e))}isEnabled(e){const t=this.addonList.find((t=>t.id==e||t.filename==e));return!!t&&this.state[t.id]}getAddon(e){return this.addonList.find((t=>t.id==e||t.filename==e))}enableAddon(e){const t="string"==typeof e?this.addonList.find((t=>t.id==e)):e;t&&!t.partial&&(this.state[t.id]||(this.state[t.id]=!0,this.emit("enabled",t),this.startAddon(t),this.saveState()))}enableAllAddons(){const e=d.A.get("settings","general","showToasts",!1);d.A.set("settings","general","showToasts",!1);for(let e=0;e<this.addonList.length;e++)this.enableAddon(this.addonList[e]);d.A.set("settings","general","showToasts",e),this.emit("batch")}disableAddon(e){const t="string"==typeof e?this.addonList.find((t=>t.id==e)):e;t&&!t.partial&&this.state[t.id]&&(this.state[t.id]=!1,this.emit("disabled",t),this.stopAddon(t),this.saveState())}disableAllAddons(){const e=d.A.get("settings","general","showToasts",!1);d.A.set("settings","general","showToasts",!1);for(let e=0;e<this.addonList.length;e++)this.disableAddon(this.addonList[e]);d.A.set("settings","general","showToasts",e),this.emit("batch")}toggleAddon(e){this.state[e]?this.disableAddon(e):this.enableAddon(e)}loadNewAddons(){const e=i().readdirSync(this.addonFolder),t=this.addonList.filter((t=>!e.includes(t.filename))).map((e=>e.id));return{added:e.filter((e=>!this.addonList.find((t=>t.filename==e))&&e.endsWith(this.extension)&&i().statSync(a().resolve(this.addonFolder,e)).isFile())),removed:t}}updateList(){const e=this.loadNewAddons();for(const t of e.added)this.loadAddon(t);for(const t of e.removed)this.unloadAddon(t)}loadAllAddons(){this.loadState();const e=[],t=i().readdirSync(this.addonFolder);for(const n of t){const t=a().resolve(this.addonFolder,n),o=i().statSync(t);if(!o||!o.isFile())continue;if(this.timeCache[n]=o.mtime.getTime(),!n.endsWith(this.extension)){const e=n.match(this.duplicatePattern);if(!e)continue;const o=e[0],r=n.replace(o,"")+this.extension;if(i().existsSync(r)){s.A.warn("AddonManager",`Duplicate files found: ${n} and ${r}`);continue}i().renameSync(t,a().resolve(this.addonFolder,r))}const r=this.loadAddon(n,!1);r instanceof l.A&&e.push(r)}return this.saveState(),this.watchAddons(),e}deleteAddon(e){const t="string"==typeof e?this.addonList.find((t=>t.id==e||t.filename==e)):e;return i().unlinkSync(a().resolve(this.addonFolder,t.filename))}saveAddon(e,t){const n="string"==typeof e?this.addonList.find((t=>t.id==e||t.filename==e)):e;return i().writeFileSync(a().resolve(this.addonFolder,n.filename),t)}editAddon(e,t){const n="string"==typeof e?this.addonList.find((t=>t.id==e||t.filename==e)):e,o=a().resolve(this.addonFolder,n.filename);return void 0===t&&(t="system"==d.A.get("settings","addons","editAction")),t?z(`${o}`):this.openDetached(n)}openDetached(e){const t=a().resolve(this.addonFolder,e.filename),n=i().readFileSync(t).toString();if(this.windows.has(t))return;this.windows.add(t);const o=m.A.createRef(),r=m.A.createElement(S,{id:"bd-floating-editor-"+e.id,ref:o,content:n,save:this.saveAddon.bind(this,e),openNative:this.editAddon.bind(this,e,!0),language:this.language});x.A.open({onClose:()=>{this.windows.delete(t)},onResize:()=>{o&&o.current&&o.current.resize&&o.current.resize()},title:e.name,id:"bd-floating-window-"+e.id,className:"floating-addon-window",height:470,width:410,center:!0,resizable:!0,children:r,confirmClose:()=>!(!o||!o.current)&&o.current.hasUnsavedChanges,confirmationText:p.A.Addons.confirmationText.format({name:e.name})})}}},9098:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var o=n(594);const a={get rootInstance(){var e;return null===(e=document.getElementById("app-mount"))||void 0===e||null===(e=e._reactRootContainer)||void 0===e||null===(e=e._internalRoot)||void 0===e?void 0:e.current},getInternalInstance:e=>e.__reactFiber$?e.__reactFiber$:e[Object.keys(e).find((e=>e.startsWith("__reactInternalInstance")||e.startsWith("__reactFiber")))]||null,getOwnerInstance(e,{include:t,exclude:n=["Popout","Tooltip","Scroller","BackgroundFlash"],filter:o=(e=>e)}={}){if(void 0===e)return;const r=void 0===t,i=r?n:t;function s(e){const t=function(e){const t=e.type;return t&&(t.displayName||t.name)||null}(e);return null!==t&&!!(i.includes(t)^r)}let l=a.getInternalInstance(e);for(l=l&&l.return;null!==l;l=l.return){if(null===l)continue;const e=l.stateNode;if(null!==e&&!(e instanceof HTMLElement)&&s(l)&&o(e))return e}return null},wrapElement:e=>class extends o.A.React.Component{constructor(t){super(t),this.element=e,this.state={hasError:!1}}componentDidCatch(){this.setState({hasError:!0})}componentDidMount(){this.refs.element.appendChild(this.element)}render(){return this.state.hasError?null:o.A.React.createElement("div",{className:"react-wrapper",ref:"element"})}}};Object.freeze(a);const r=a},1298:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var o,a,r=n(8812),i=n.n(r),s=n(3168),l=n.n(s),d=n(4312),c=n(9382);const u=(null===(o=window)||void 0===o||null===(o=o.DiscordNative)||void 0===o||null===(o=o.app)||void 0===o||null===(a=o.getReleaseChannel)||void 0===a?void 0:a.call(o))??"stable",m=new class{constructor(){this.data={misc:{}},this.pluginData={},this.cacheData={}}initialize(){i().existsSync(c.A.dataPath)||i().mkdirSync(c.A.dataPath);i().existsSync(this.pluginFolder)||i().mkdirSync(this.pluginFolder);i().existsSync(this.themeFolder)||i().mkdirSync(this.themeFolder);i().existsSync(this.baseFolder)||i().mkdirSync(this.baseFolder),i().existsSync(this.dataFolder)||i().mkdirSync(this.dataFolder),i().existsSync(this.customCSS)||i().writeFileSync(this.customCSS,"");const e=i().readdirSync(this.dataFolder).filter((e=>!i().statSync(l().resolve(this.dataFolder,e)).isDirectory()&&e.endsWith(".json")));for(const t of e){let e={};try{e=require(l().resolve(this.dataFolder,t))}catch(e){d.A.stacktrace("DataStore",`Could not load file ${t}`,e)}this.data[t.split(".")[0]]=e}}get pluginFolder(){return this._pluginFolder||(this._pluginFolder=l().resolve(c.A.dataPath,"plugins"))}get themeFolder(){return this._themeFolder||(this._themeFolder=l().resolve(c.A.dataPath,"themes"))}get customCSS(){return this._customCSS||(this._customCSS=l().resolve(this.dataFolder,"custom.css"))}get baseFolder(){return this._baseFolder||(this._baseFolder=l().resolve(c.A.dataPath,"data"))}get dataFolder(){return this._dataFolder||(this._dataFolder=l().resolve(this.baseFolder,`${u}`))}getPluginFile(e){return l().resolve(c.A.dataPath,"plugins",e+".config.json")}_getFile(e){return"settings"==e||"plugins"==e||"themes"==e||"window"==e?l().resolve(this.dataFolder,`${e}.json`):l().resolve(this.dataFolder,"misc.json")}getBDData(e){return this.data.misc[e]||""}setBDData(e,t){this.data.misc[e]=t,i().writeFileSync(l().resolve(this.dataFolder,"misc.json"),JSON.stringify(this.data.misc,null,4))}getLocale(e){const t=l().resolve(this.localeFolder,`${e}.json`);if(!i().existsSync(t))return null;try{return JSON.parse(i().readFileSync(t).toString())}catch{return!1}}saveLocale(e,t){i().writeFileSync(l().resolve(this.localeFolder,`${e}.json`),JSON.stringify(t,null,4))}getData(e){return this.data[e]||""}setData(e,t){this.data[e]=t,i().writeFileSync(l().resolve(this.dataFolder,`${e}.json`),JSON.stringify(t,null,4))}loadCustomCSS(){return i().readFileSync(this.customCSS).toString()}saveCustomCSS(e){return i().writeFileSync(this.customCSS,e)}ensurePluginData(e){if(void 0===this.pluginData[e])return i().existsSync(this.getPluginFile(e))?void(this.pluginData[e]=JSON.parse(i().readFileSync(this.getPluginFile(e)))):this.pluginData[e]={}}getPluginData(e,t){return this.ensurePluginData(e),this.pluginData[e][t]}setPluginData(e,t,n){void 0!==n&&(this.ensurePluginData(e),this.pluginData[e][t]=n,i().writeFileSync(this.getPluginFile(e),JSON.stringify(this.pluginData[e],null,4)))}deletePluginData(e,t){this.ensurePluginData(e),delete this.pluginData[e][t],i().writeFileSync(this.getPluginFile(e),JSON.stringify(this.pluginData[e],null,4))}}},594:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var o=n(8707),a=n(2103);const r=o.A.memoizeObject({get React(){return a.A.getByProps("createElement","cloneElement")},get ReactDOM(){return a.A.getByProps("render","findDOMNode")},get ChannelActions(){return a.A.getByProps("selectChannel")},get LocaleStore(){return a.A.getByProps("locale","initialize")},get UserStore(){return a.A.getByProps("getCurrentUser","getUser")},get InviteActions(){return a.A.getByProps("createInvite")},get SimpleMarkdown(){return a.A.getByProps("parseBlock","parseInline","defaultOutput")},get Strings(){return a.A.getByProps("Messages").Messages},get Dispatcher(){return a.A.getByProps("dispatch","subscribe","register")},get Tooltip(){return a.A.getModule(a.C.byPrototypeKeys(["renderTooltip"]),{searchExports:!0})??(e=>{var t;return(null===(t=e.children)||void 0===t?void 0:t.call(e,{}))??null})}})},6672:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});class o{static get screenWidth(){return Math.max(document.documentElement.clientWidth,window.innerWidth||0)}static get screenHeight(){return Math.max(document.documentElement.clientHeight,window.innerHeight||0)}static get bdHead(){return this.getElement("bd-head")}static get bdBody(){return this.getElement("bd-body")}static get bdScripts(){return this.getElement("bd-scripts")}static get bdStyles(){return this.getElement("bd-styles")}static get bdThemes(){return this.getElement("bd-themes")}static get bdCustomCSS(){return this.getElement("#customcss")}static get bdTooltips(){return this.getElement("bd-tooltips")||this.createElement("bd-tooltips").appendTo(this.bdBody)}static get bdModals(){return this.getElement("bd-modals")||this.createElement("bd-modals").appendTo(this.bdBody)}static get bdToasts(){return this.getElement("bd-toasts")||this.createElement("bd-toasts").appendTo(this.bdBody)}static initialize(){}static escapeID(e){return e.replace(/^[^a-z]+|[^\w-]+/gi,"-")}static getElement(e,t=document){return e instanceof Node?e:t.querySelector(e)}static createElement(e,t={},n=null){const{className:o,id:a,target:r}=t,i=document.createElement(e);return o&&(i.className=o),a&&(i.id=a),n&&i.append(n),r&&this.getElement(r).append(i),i}static parseHTML(e,t=!1){const n=document.createElement("template");n.innerHTML=e;const o=n.content.cloneNode(!0);return t?o:o.childNodes.length>1?o.childNodes:o.childNodes[0]}static removeStyle(e){e=this.escapeID(e);const t=this.getElement(`#${e}`,this.bdStyles);t&&t.remove()}static injectStyle(e,t){e=this.escapeID(e);const n=this.getElement(`#${e}`,this.bdStyles)||this.createElement("style",{id:e});n.textContent=t,this.bdStyles.append(n)}static unlinkStyle(e){return this.removeStyle(e)}static linkStyle(e,t,{documentHead:n=!1}={}){return e=this.escapeID(e),new Promise((o=>{const a=this.getElement(`#${e}`,this.bdStyles)||this.createElement("link",{id:e});a.rel="stylesheet",a.href=t,a.onload=o;(n?document.head:this.bdStyles).append(a)}))}static removeTheme(e){e=this.escapeID(e);const t=this.getElement(`#${e}`,this.bdThemes);t&&t.remove()}static injectTheme(e,t){e=this.escapeID(e);const n=this.getElement(`#${e}`,this.bdThemes)||this.createElement("style",{id:e});n.textContent=t,this.bdThemes.append(n)}static updateCustomCSS(e){this.bdCustomCSS.textContent=e}static removeScript(e){e=this.escapeID(e);const t=this.getElement(`#${e}`,this.bdScripts);t&&t.remove()}static injectScript(e,t){return e=this.escapeID(e),new Promise(((n,o)=>{const a=this.getElement(`#${e}`,this.bdScripts)||this.createElement("script",{id:e});a.src=t,a.onload=n,a.onerror=o,this.bdScripts.append(a)}))}static animate({timing:e=(e=>e),update:t,duration:n}){const o=performance.now();requestAnimationFrame((function a(r){let i=(r-o)/n;i>1&&(i=1);const s=e(i);t(s),i<1&&requestAnimationFrame(a)}))}static onAdded(e,t){if(document.body.querySelector(e))return t(document.body.querySelector(e));const n=new MutationObserver((o=>{for(let a=0;a<o.length;a++)for(let r=0;r<o[a].addedNodes.length;r++){const i=o[a].addedNodes[r];if(3===i.nodeType)continue;const s=i.matches(e)&&i,l=i.querySelector(e);if(s||l)return n.disconnect(),t(s??l)}}));return n.observe(document.body,{subtree:!0,childList:!0}),()=>{n.disconnect()}}static onRemoved(e,t){const n=new MutationObserver((o=>{for(let a=0;a<o.length;a++){const r=o[a],i=Array.from(r.removedNodes),s=i.indexOf(e)>-1,l=i.some((t=>t.contains(e)));(s||l)&&(n.disconnect(),t())}}));return n.observe(document.body,{subtree:!0,childList:!0}),()=>{n.disconnect()}}}o.createElement("bd-head",{target:document.body}),o.createElement("bd-body",{target:document.body}),o.createElement("bd-scripts",{target:o.bdHead}),o.createElement("bd-styles",{target:o.bdHead}),o.createElement("bd-themes",{target:o.bdHead}),o.createElement("style",{id:"customcss",target:o.bdHead})},4189:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const o=require("events");var a=n.n(o);const r=new class extends(a()){constructor(){super(),this.setMaxListeners(20)}dispatch(e,...t){this.emit(e,...t)}}},7708:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var o=n(6819);var a=n(4189);const r=new class{constructor(){o.ipcRenderer.on("bd-did-navigate-in-page",(()=>a.A.dispatch("navigate"))),o.ipcRenderer.on("bd-window-maximize",(()=>a.A.dispatch("maximize"))),o.ipcRenderer.on("bd-window-minimize",(()=>a.A.dispatch("minimize")))}openDevTools(){return o.ipcRenderer.send("bd-open-devtools")}closeDevTools(){return o.ipcRenderer.send("bd-close-devtools")}toggleDevTools(){return o.ipcRenderer.send("bd-toggle-devtools")}relaunch(){return o.ipcRenderer.send("bd-relaunch-app")}runScript(e){return o.ipcRenderer.invoke("bd-run-script",e)}openWindow(e,t){return o.ipcRenderer.invoke("bd-open-window",e,t)}inspectElement(){return o.ipcRenderer.send("bd-inspect-element")}setMinimumSize(e,t){return o.ipcRenderer.send("bd-minimum-size",e,t)}setWindowSize(e,t){return o.ipcRenderer.send("bd-window-size",e,t)}stopDevtoolsWarning(){return o.ipcRenderer.send("bd-remove-devtools-message")}openDialog(e){return o.ipcRenderer.invoke("bd-open-dialog",e)}getSystemAccentColor(){return o.ipcRenderer.invoke("bd-get-accent-color")}openPath(e){return o.ipcRenderer.send("bd-open-path",e)}}},9138:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var o=n(7094),a=n(594),r=n(8707),i=n(4189);const{LocaleStore:s}=a.A,l=new class{get discordLocale(){return(null==s?void 0:s.locale)??this.defaultLocale}get defaultLocale(){return"en-US"}constructor(){this.strings=r.A.extend({},o[this.defaultLocale])}initialize(){this.setLocale(),null==s||s.addChangeListener((()=>this.setLocale()))}setLocale(){r.A.extend(this.strings,o[this.defaultLocale]);const e=o[this.discordLocale];e&&r.A.extendTruthy(this.strings,e),i.A.emit("strings-updated")}}},5226:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var o=n(4312),a=n(594),r=n(2103);class i{static get patches(){return this._patches||(this._patches=[])}static getPatchesByCaller(e){if(!e)return[];const t=[];for(const n of this.patches)for(const o of n.children)o.caller===e&&t.push(o);return t}static unpatchAll(e){"string"==typeof e&&(e=this.getPatchesByCaller(e));for(const t of e)t.unpatch()}static resolveModule(e){return!e||"function"==typeof e||"object"==typeof e&&!Array.isArray(e)?e:"string"==typeof e?a.A[e]:Array.isArray(e)?r.A.findByUniqueProperties(e):null}static makeOverride(e){return function(){let t;if(!e.children||!e.children.length)return e.originalFunction.apply(this,arguments);for(const t of e.children.filter((e=>"before"===e.type)))try{t.callback(this,arguments)}catch(n){o.A.err("Patcher",`Could not fire before callback of ${e.functionName} for ${t.caller}`,n)}const n=e.children.filter((e=>"instead"===e.type));if(n.length)for(const a of n)try{const n=a.callback(this,arguments,e.originalFunction.bind(this));void 0!==n&&(t=n)}catch(t){o.A.err("Patcher",`Could not fire instead callback of ${e.functionName} for ${a.caller}`,t)}else t=e.originalFunction.apply(this,arguments);for(const n of e.children.filter((e=>"after"===e.type)))try{const e=n.callback(this,arguments,t);void 0!==e&&(t=e)}catch(t){o.A.err("Patcher",`Could not fire after callback of ${e.functionName} for ${n.caller}`,t)}return t}}static rePatch(e){e.proxyFunction=e.module[e.functionName]=this.makeOverride(e)}static makePatch(e,t,n){const o={name:n,module:e,functionName:t,originalFunction:e[t],proxyFunction:null,revert:()=>{o.module[o.functionName]=o.originalFunction,o.proxyFunction=null,o.children=[]},counter:0,children:[]};return o.proxyFunction=e[t]=this.makeOverride(o),Object.assign(e[t],o.originalFunction),e[t].__originalFunction=o.originalFunction,e[t].toString=()=>o.originalFunction.toString(),this.patches.push(o),o}static before(e,t,n,o,a={}){return this.pushChildPatch(e,t,n,o,Object.assign(a,{type:"before"}))}static after(e,t,n,o,a={}){return this.pushChildPatch(e,t,n,o,Object.assign(a,{type:"after"}))}static instead(e,t,n,o,a={}){return this.pushChildPatch(e,t,n,o,Object.assign(a,{type:"instead"}))}static pushChildPatch(e,t,n,o,a={}){const{type:r="after",forcePatch:i=!0}=a,s=this.resolveModule(t);if(!s)return null;if(!s[n]&&i&&(s[n]=function(){}),!(s[n]instanceof Function))return null;"string"==typeof t&&(a.displayName=t);const l=`${a.displayName||s.displayName||s.name||s.constructor.displayName||s.constructor.name}.${n}`,d=this.patches.find((e=>e.module==s&&e.functionName==n))||this.makePatch(s,n,l);d.proxyFunction||this.rePatch(d);const c={caller:e,type:r,id:d.counter,callback:o,unpatch:()=>{if(d.children.splice(d.children.findIndex((e=>e.id===c.id&&e.type===r)),1),d.children.length<=0){const e=this.patches.findIndex((e=>e.module==s&&e.functionName==n));if(e<0)return;this.patches[e].revert(),this.patches.splice(e,1)}}};return d.children.push(c),d.counter++,c.unpatch}}},928:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var o=n(3168),a=n.n(o);const r=require("vm");var i=n.n(r),s=n(4312),l=n(9382),d=n(3774),c=n(7895),u=n(7219),m=n(5977),p=n(4189),h=n(6766),g=n(5960),b=n(5900);e=n.hmd(e);const f=new class extends c.A{get name(){return"PluginManager"}get extension(){return".plugin.js"}get duplicatePattern(){return/\.plugin\s?\([0-9]+\)\.js/}get addonFolder(){return a().resolve(l.A.dataPath,"plugins")}get prefix(){return"plugin"}get language(){return"javascript"}constructor(){super(),this.onSwitch=this.onSwitch.bind(this),this.observer=new MutationObserver((e=>{for(let t=0,n=e.length;t<n;t++)this.onMutation(e[t])}))}initialize(){const e=super.initialize();return this.setupFunctions(),u.A.registerPanel("plugins",m.A.Panels.plugins,{order:3,element:b.A.getAddonPanel(m.A.Panels.plugins,this.addonList,this.state,{type:this.prefix,folder:this.addonFolder,onChange:this.togglePlugin.bind(this),reload:this.reloadPlugin.bind(this),refreshList:this.updatePluginList.bind(this),saveAddon:this.saveAddon.bind(this),editAddon:this.editAddon.bind(this),deleteAddon:this.deleteAddon.bind(this),enableAll:this.enableAllAddons.bind(this),disableAll:this.disableAllAddons.bind(this),prefix:this.prefix})}),e}updatePluginList(){return this.updateList()}loadAllPlugins(){return this.loadAllAddons()}enablePlugin(e){return this.enableAddon(e)}disablePlugin(e){return this.disableAddon(e)}togglePlugin(e){return this.toggleAddon(e)}unloadPlugin(e){return this.unloadAddon(e)}loadPlugin(e){return this.loadAddon(e)}loadAddon(e,t=!0){const n=super.loadAddon(e,t);return n&&t&&g.A.showAddonErrors({plugins:[n]}),n}reloadPlugin(e){const t=this.reloadAddon(e);return t&&g.A.showAddonErrors({plugins:[t]}),"string"==typeof e?this.addonList.find((t=>t.id==e||t.filename==e)):e}initializeAddon(e){if(!e.exports||!e.name)return new d.A(e.name||e.filename,e.filename,"Plugin had no exports or @name property",{message:"Plugin had no exports or no @name property. @name property is required for all addons.",stack:""},this.prefix);try{if(!("function"==typeof e.exports))return new d.A(e.name||e.filename,e.filename,"Plugin not a valid format.",{message:"Plugins should be either a function or a class",stack:""},this.prefix);const t=e.exports,n=Object.assign({},e);delete n.exports;const o=t.prototype?new t(n):e.exports(n);if(!o.start||!o.stop)return new d.A(e.name||e.filename,e.filename,"Missing start or stop function.",{message:"Plugins must have both a start and stop function.",stack:""},this.prefix);if(e.instance=o,e.name=o.getName?o.getName():e.name,e.author=o.getAuthor?o.getAuthor():e.author,e.description=o.getDescription?o.getDescription():e.description,e.version=o.getVersion?o.getVersion():e.version,!(e.name&&e.author&&e.description&&e.version))return new d.A(e.name||e.filename,e.filename,"Plugin is missing name, author, description, or version",{message:"Plugin must provide name, author, description, and version.",stack:""},this.prefix);try{"function"==typeof e.instance.load&&e.instance.load()}catch(t){return this.state[e.id]=!1,new d.A(e.name,e.filename,m.A.Addons.methodError.format({method:"load()"}),{message:t.message,stack:t.stack},this.prefix)}}catch(t){return new d.A(e.name,e.filename,m.A.Addons.methodError.format({method:"Plugin constructor()"}),{message:t.message,stack:t.stack},this.prefix)}}requireAddon(t){const n=super.requireAddon(t);try{const e={filename:t,exports:{}};i().compileFunction(n.fileContent,["require","module","exports","__filename","__dirname"],{filename:a().basename(t)}),n.fileContent+=`\nif (module.exports.default) {\n module.exports = module.exports.default;\n}\nif (typeof(module.exports) !== "function") {\n module.exports = eval("${n.exports||n.name}");\n}`,n.fileContent+=`\n//# sourceURL=betterdiscord://plugins/${n.filename}`;return new Function(["require","module","exports","__filename","__dirname"],n.fileContent)(window.require,e,e.exports,e.filename,this.addonFolder),n.exports=e.exports,delete n.fileContent,n}catch(t){throw new d.A(n.name||n.filename,e.filename,m.A.Addons.compileError,{message:t.message,stack:t.stack},this.prefix)}}startAddon(e){return this.startPlugin(e)}stopAddon(e){return this.stopPlugin(e)}getAddon(e){return this.getPlugin(e)}startPlugin(e){const t="string"==typeof e?this.addonList.find((t=>t.id==e)):e;if(!t)return;const n=t.instance;try{n.start()}catch(e){return this.state[t.id]=!1,this.emit("disabled",t),h.A.error(m.A.Addons.couldNotStart.format({name:t.name,version:t.version})),s.A.stacktrace(this.name,`${t.name} v${t.version} could not be started.`,e),new d.A(t.name,t.filename,m.A.Addons.enabled.format({method:"start()"}),{message:e.message,stack:e.stack},this.prefix)}this.emit("started",t.id),h.A.show(m.A.Addons.enabled.format({name:t.name,version:t.version}))}stopPlugin(e){const t="string"==typeof e?this.addonList.find((t=>t.id==e)):e;if(!t)return;const n=t.instance;try{n.stop()}catch(e){return this.state[t.id]=!1,h.A.error(m.A.Addons.couldNotStop.format({name:t.name,version:t.version})),s.A.stacktrace(this.name,`${t.name} v${t.version} could not be started.`,e),new d.A(t.name,t.filename,m.A.Addons.enabled.format({method:"stop()"}),{message:e.message,stack:e.stack},this.prefix)}this.emit("stopped",t.id),h.A.show(m.A.Addons.disabled.format({name:t.name,version:t.version}))}getPlugin(e){const t=this.addonList.find((t=>t.id==e||t.filename==e));if(t)return t}setupFunctions(){p.A.on("navigate",this.onSwitch),this.observer.observe(document,{childList:!0,subtree:!0})}onSwitch(){for(let e=0;e<this.addonList.length;e++){const t=this.addonList[e].instance;if(this.state[this.addonList[e].id]&&"function"==typeof(null==t?void 0:t.onSwitch))try{t.onSwitch()}catch(t){s.A.stacktrace(this.name,`Unable to fire onSwitch for ${this.addonList[e].name} v${this.addonList[e].version}`,t)}}}onMutation(e){for(let t=0;t<this.addonList.length;t++){const n=this.addonList[t].instance;if(this.state[this.addonList[t].id]&&"function"==typeof(null==n?void 0:n.observer))try{n.observer(e)}catch(e){s.A.stacktrace(this.name,`Unable to fire observer for ${this.addonList[t].name} v${this.addonList[t].version}`,e)}}}}},8820:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var o=n(594);const a=o.A.React;o.A.ReactDOM},7358:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});const o=n(594).A.ReactDOM},7219:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var o=n(4312);const a=[{type:"category",id:"general",collapsible:!0,settings:[{type:"switch",id:"voiceDisconnect",value:!1},{type:"switch",id:"showToasts",value:!0},{type:"switch",id:"mediaKeys",value:!1},{type:"switch",id:"bdContextMenu",value:!0}]},{type:"category",id:"addons",collapsible:!0,shown:!1,settings:[{type:"switch",id:"addonErrors",value:!0},{type:"dropdown",id:"editAction",value:"detached",options:[{value:"detached"},{value:"system"}]}]},{type:"category",id:"customcss",collapsible:!0,shown:!1,settings:[{type:"switch",id:"customcss",value:!0},{type:"switch",id:"liveUpdate",value:!1},{type:"dropdown",id:"openAction",value:"settings",options:[{value:"settings"},{value:"detached"},{value:"system"}]}]},{type:"category",id:"editor",collapsible:!0,shown:!1,settings:[{type:"switch",id:"lineNumbers",value:!0},{type:"switch",id:"minimap",value:!0},{type:"switch",id:"hover",value:!0},{type:"switch",id:"quickSuggestions",value:!0},{type:"number",id:"fontSize",min:2,value:14},{type:"dropdown",id:"renderWhitespace",value:"selection",options:[{value:"none"},{value:"all"},{value:"selection"}]}]},{type:"category",id:"window",collapsible:!0,shown:!1,settings:[{type:"switch",id:"transparency",value:!1},{type:"switch",id:"removeMinimumSize",value:!1},{type:"switch",id:"frame",value:!1,hidden:!0}]},{type:"category",id:"developer",collapsible:!0,shown:!1,settings:[{type:"switch",id:"debugLogs",value:!1},{type:"switch",id:"devTools",value:!1},{type:"switch",id:"debuggerHotkey",value:!1,enableWith:"devTools"},{type:"switch",id:"reactDevTools",value:!1,enableWith:"devTools"},{type:"switch",id:"inspectElement",value:!1,enableWith:"devTools"},{type:"switch",id:"devToolsWarning",value:!1,enableWith:"devTools"}]}];var r=n(1298),i=n(4189),s=n(594),l=n(5977);const d=new class{constructor(){this.state={},this.collections=[],this.panels=[],this.updateStrings=this.updateStrings.bind(this)}initialize(){this.registerCollection("settings","Settings",a),i.A.on("strings-updated",this.updateStrings)}registerCollection(e,t,n,a=null){if(this.collections.find((t=>t.id==e)))return o.A.error("Settings","Already have a collection with id "+e);this.collections.push({type:"collection",id:e,name:t,settings:n,button:a}),this.setupCollection(e),this.loadCollection(e),this.updateStrings()}removeCollection(e){const t=this.collections.findIndex((t=>t.id==e));if(t<0)return o.A.error("Settings","No collection with id "+e);this.collections.splice(t,1)}registerPanel(e,t,n){if(this.panels.find((t=>t.id==e)))return o.A.error("Settings","Already have a panel with id "+e);const{element:a,onClick:r,order:i=1}=n,l={id:e,order:i,label:t,section:e};r&&(l.clickListener=r),a&&(l.element=a instanceof s.A.React.Component?()=>s.A.React.createElement(a,{}):"function"==typeof a?a:()=>a),this.panels.push(l)}removePanel(e){const t=this.panels.findIndex((t=>t.id==e));if(t<0)return o.A.error("Settings","No collection with id "+e);this.panels.splice(t,1)}getPath(e,t="",n=""){return{collection:3==e.length?e[0]:t,category:3==e.length?e[1]:2==e.length?e[0]:n,setting:e[e.length-1]}}setupCollection(e){const t=this.collections.find((t=>t.id==e));if(!t)return;const n=t.settings;this.state[t.id]||(this.state[t.id]={});for(let e=0;e<n.length;e++){const o=n[e];if("category"!=o.type)this.state[t.id].hasOwnProperty(o.id)||(this.state[t.id][o.id]=o.value),o.defaultValue=o.value;else{this.state[t.id].hasOwnProperty(o.id)||(this.state[t.id][o.id]={});for(let e=0;e<o.settings.length;e++){const n=o.settings[e];if(this.state[t.id][o.id].hasOwnProperty(n.id)||(this.state[t.id][o.id][n.id]=n.value),n.defaultValue=n.value,n.hasOwnProperty("disabled"))continue;if(!n.enableWith&&!n.disableWith)continue;const a=n.enableWith||n.disableWith,r=this.getPath(a.split("."),t.id,o.id);Object.defineProperty(n,"disabled",{get:()=>{const e=this.state[r.collection][r.category][r.setting];return n.enableWith?!e:e}})}}}}saveSettings(){for(const e in this.state)this.saveCollection(e)}loadSettings(){for(const e in this.state)this.loadCollection(e)}saveCollection(e){r.A.setData(e,this.state[e])}loadCollection(e){const t=r.A.getData(e);if(!t)return this.saveCollection(e);for(const n in this.state[e]){t[n]||Object.assign(t,{[n]:this.state[e][n]});for(const o in this.state[e][n]){if(null==t[n][o])continue;const a=this.getSetting(e,n,o);switch(a.type){case"radio":case"dropdown":a.options.some((e=>e.value==t[n][o]))&&(this.state[e][n][o]=t[n][o]);break;default:this.state[e][n][o]=t[n][o]}}}this.saveCollection(e)}resetCollection(e){const t=this.collections.find((t=>t.id==e));if(!t)return;const n=t.settings;for(let e=0;e<n.length;e++){const o=n[e];if("category"!=o.type){if(this.get(t.id,o.id)==o.defaultValue)continue;this.set(t.id,o.id,o.defaultValue)}else for(let e=0;e<o.settings.length;e++){const n=o.settings[e];this.get(t.id,o.id,n.id)!=n.defaultValue&&this.set(t.id,o.id,n.id,n.defaultValue)}}}onSettingChange(e,t,n,o){this.state[e][t][n]=o,i.A.dispatch("setting-updated",e,t,n,o),this.saveCollection(e)}getSetting(e,t,n){return 2==arguments.length?this.collections[0].find((e=>e.id==arguments[0])).settings.find((e=>e.id==arguments[1])):this.collections.find((t=>t.id==e)).settings.find((e=>e.id==t)).settings.find((e=>e.id==n))}get(e,t,n){return 2==arguments.length&&(n=t,t=e,e="settings"),!(!this.state[e]||!this.state[e][t])&&this.state[e][t][n]}set(e,t,n,o){return 3==arguments.length&&(o=n,n=t,t=e,e="settings"),this.onSettingChange(e,t,n,o)}on(e,t,n,o){const a=(a,r,i,s)=>{a===e&&r===t&&i===n&&o(s)};return i.A.on("setting-updated",a),()=>{i.A.off("setting-updated",a)}}updateStrings(){for(let e=0;e<this.collections.length;e++){const t=this.collections[e],n=l.A.Collections[t.id];if(!n)continue;t.name=n.name||t.name;const o=this.collections[e].settings;for(let e=0;e<o.length;e++){const t=o[e],a=n[t.id];if(a){t.name=a.name||t.name;for(let e=0;e<t.settings.length;e++){const n=t.settings[e],o=a[n.id];if(o&&(n.name=o.name||n.name,n.note=o.note||n.note,n.options))for(const e of n.options)e.label=o.options[e.id]||o.options[e.value]||e.label}}}}for(let e=0;e<this.panels.length;e++){const t=this.panels[e],n=l.A.Panels[t.id];t.label=n||t.label}}}},5977:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var o=n(5443),a=n(9138);const r=new Proxy(a.A.strings,{get:function(e,t){return e.hasOwnProperty(t)?new Proxy(e[t],{get:function(e,t){return"string"==typeof e[t]?new o.A(e[t]):e[t]}}):new Proxy({},{get:function(){return`String group "${t}" not found.`}})}})},2051:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var o=n(3168),a=n.n(o),r=n(9382),i=n(3774),s=n(7895),l=n(7219),d=n(6672),c=n(5977),u=n(6766),m=n(5960),p=n(5900);const h=new class extends s.A{get name(){return"ThemeManager"}get extension(){return".theme.css"}get duplicatePattern(){return/\.theme\s?\([0-9]+\)\.css/}get addonFolder(){return a().resolve(r.A.dataPath,"themes")}get prefix(){return"theme"}get language(){return"css"}initialize(){const e=super.initialize();return l.A.registerPanel("themes",c.A.Panels.themes,{order:4,element:p.A.getAddonPanel(c.A.Panels.themes,this.addonList,this.state,{type:this.prefix,folder:this.addonFolder,onChange:this.toggleTheme.bind(this),reload:this.reloadTheme.bind(this),refreshList:this.updateThemeList.bind(this),saveAddon:this.saveAddon.bind(this),editAddon:this.editAddon.bind(this),deleteAddon:this.deleteAddon.bind(this),enableAll:this.enableAllAddons.bind(this),disableAll:this.disableAllAddons.bind(this),prefix:this.prefix})}),e}updateThemeList(){return this.updateList()}loadAllThemes(){return this.loadAllAddons()}enableTheme(e){return this.enableAddon(e)}disableTheme(e){return this.disableAddon(e)}toggleTheme(e){return this.toggleAddon(e)}unloadTheme(e){return this.unloadAddon(e)}loadTheme(e){return this.loadAddon(e)}reloadTheme(e){return this.reloadAddon(e)}loadAddon(e,t=!0){const n=super.loadAddon(e,t);return n&&t&&m.A.showAddonErrors({themes:[n]}),n}initializeAddon(e){if(!(e.name&&e.author&&e.description&&e.version))return new i.A(e.name||e.filename,e.filename,"Addon is missing name, author, description, or version",{message:"Addon must provide name, author, description, and version.",stack:""},this.prefix)}requireAddon(e){const t=super.requireAddon(e);return t.css=t.fileContent,delete t.fileContent,"json"==t.format&&(t.css=t.css.split("\n").slice(1).join("\n")),t}startAddon(e){return this.addTheme(e)}stopAddon(e){return this.removeTheme(e)}addTheme(e){const t="string"==typeof e?this.addonList.find((t=>t.id==e)):e;t&&(d.A.injectTheme(t.slug+"-theme-container",t.css),u.A.show(c.A.Addons.enabled.format({name:t.name,version:t.version})))}removeTheme(e){const t="string"==typeof e?this.addonList.find((t=>t.id==e)):e;t&&(d.A.removeTheme(t.slug+"-theme-container"),u.A.show(c.A.Addons.disabled.format({name:t.name,version:t.version})))}}},8707:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var o=n(4312);class a{static memoizeObject(e){const t=new Proxy(e,{get:function(e,t){if(e.hasOwnProperty(t)){if(Object.getOwnPropertyDescriptor(e,t).get){const n=e[t];delete e[t],e[t]=n}return e[t]}},set:function(e,t,n){return e.hasOwnProperty(t)?o.A.error("MemoizedObject","Trying to overwrite existing property"):(e[t]=n,e[t])}});return Object.defineProperty(t,"hasOwnProperty",{value:function(e){return void 0!==this[e]}}),t}static extend(e,...t){for(let n=0;n<t.length;n++)for(const o in t[n])t[n].hasOwnProperty(o)&&("object"==typeof e[o]&&"object"==typeof t[n][o]?this.extend(e[o],t[n][o]):"object"==typeof t[n][o]?(e[o]={},this.extend(e[o],t[n][o])):e[o]=t[n][o]);return e}static extendTruthy(e,...t){for(let n=0;n<t.length;n++)for(const o in t[n])t[n].hasOwnProperty(o)&&("object"==typeof e[o]&&"object"==typeof t[n][o]?this.extendTruthy(e[o],t[n][o]):"object"==typeof t[n][o]?(e[o]={},this.extendTruthy(e[o],t[n][o])):t[n][o]&&(e[o]=t[n][o]));return e}static formatString(e,t){for(const n in t){let o=t[n];Array.isArray(o)&&(o=JSON.stringify(o)),"object"==typeof o&&null!==o&&(o=o.toString()),e=e.replace(new RegExp(`{{${n}}}`,"g"),o)}return e}static findInTree(e,t,{walkable:n=null,ignore:o=[]}={}){if("string"==typeof t){if(e.hasOwnProperty(t))return e[t]}else if(t(e))return e;if("object"!=typeof e||null==e)return;let a;if(e instanceof Array){for(const r of e)if(a=this.findInTree(r,t,{walkable:n,ignore:o}),void 0!==a)return a}else{const r=null==n?Object.keys(e):n;for(const i of r)if(void 0!==e[i]&&!o.includes(i)&&(a=this.findInTree(e[i],t,{walkable:n,ignore:o}),void 0!==a))return a}return a}static debounce(e,t){let n;return function(...o){clearTimeout(n),n=setTimeout((()=>{n=null,Reflect.apply(e,null,o)}),t)}}static escapeHTML(e){const t=document.createTextNode(""),n=document.createElement("span");return n.append(t),t.nodeValue=e,n.innerHTML}static className(){const e=[],t={}.hasOwnProperty;for(let n=0;n<arguments.length;n++){const o=arguments[n];if(!o)continue;const a=typeof o;if("string"===a||"number"===a)e.push(o);else if(Array.isArray(o)&&o.length){const t=this.classNames.apply(null,o);t&&e.push(t)}else if("object"===a)for(const n in o)t.call(o,n)&&o[n]&&e.push(n)}return e.join(" ")}}},2103:(e,t,n)=>{"use strict";n.d(t,{A:()=>l,C:()=>r});var o=n(4312);function a(e,t,n){var o;return(t="symbol"==typeof(o=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"))?o:String(o))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class r{static byKeys(e,t=(e=>e)){return n=>{if(!n)return!1;if("object"!=typeof n&&"function"!=typeof n)return!1;const o=t(n);if(!o)return!1;for(let t=0;t<e.length;t++)if(!(e[t]in o))return!1;return!0}}static byPrototypeKeys(e,t=(e=>e)){return n=>{if(!n)return!1;if("object"!=typeof n&&"function"!=typeof n)return!1;const o=t(n);if(!o)return!1;if(!o.prototype)return!1;for(let t=0;t<e.length;t++)if(!(e[t]in o.prototype))return!1;return!0}}static byRegex(e,t=(e=>e)){return n=>{const o=t(n);if(!o)return!1;let a="";try{a=o.toString([])}catch(e){a=o.toString()}return-1!==a.search(e)}}static byStrings(...e){return t=>{if(null==t||!t.toString||"function"!=typeof(null==t?void 0:t.toString))return;let n="";try{n=null==t?void 0:t.toString([])}catch(e){n=null==t?void 0:t.toString()}if(!n)return!1;for(const t of e)if(!n.includes(t))return!1;return!0}}static byDisplayName(e){return t=>t&&t.displayName===e}static byStoreName(e){return t=>{var n;return(null==t?void 0:t._dispatchToken)&&(null==t||null===(n=t.getName)||void 0===n?void 0:n.call(t))===e}}static combine(...e){return t=>e.every((e=>e(t)))}}const i=new WeakSet,s=e=>(t,n,a)=>{try{var r,s,l,d,c,u,m,p;return!(null!=t&&null!==(r=t.default)&&void 0!==r&&r.remove&&null!=t&&null!==(s=t.default)&&void 0!==s&&s.set&&null!=t&&null!==(l=t.default)&&void 0!==l&&l.clear&&null!=t&&null!==(d=t.default)&&void 0!==d&&d.get&&(null==t||null===(c=t.default)||void 0===c||!c.sort))&&(!(t.remove&&t.set&&t.clear&&t.get&&!t.sort)&&(!(null!=t&&null!==(u=t.default)&&void 0!==u&&u.getToken||null!=t&&null!==(m=t.default)&&void 0!==m&&m.getEmail||null!=t&&null!==(p=t.default)&&void 0!==p&&p.showToken)&&(!(t.getToken||t.getEmail||t.showToken)&&e(t,n,a))))}catch(t){return i.has(e)||o.A.warn("WebpackModules~getModule","Module filter threw an exception.",e,t),i.add(e),!1}};class l{static find(e,t=!0){return this.getModule(e,{first:t})}static findAll(e){return this.getModule(e,{first:!1})}static findByUniqueProperties(e,t=!0){return t?this.getByProps(...e):this.getAllByProps(...e)}static findByDisplayName(e){return this.getByDisplayName(e)}static#e=a(this,"modules",new Proxy({},{ownKeys:()=>Object.keys(l.require.m),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0}),get:(e,t)=>l.require.m[t],set(){throw new Error("[WebpackModules~modules] Setting modules is not allowed.")}}));static getModule(e,t={}){const{first:n=!0,defaultExport:o=!0,searchExports:a=!1}=t,r=s(e),i=this.getAllModules(),l=[],d=Object.keys(i);for(let e=0;e<d.length;e++){const t=d[e];if(!i.hasOwnProperty(t))continue;let s=null;try{s=i[t]}catch{continue}const{exports:c}=s;if(c&&c!==window&&c!==document.documentElement&&"DOMTokenList"!==c[Symbol.toStringTag])if("object"==typeof c&&a&&!c.TypedArray)for(const e in c){let o=null,a=null;try{a=c[e]}catch{continue}if(a&&(r(a,s,t)&&(o=a),o)){if(n)return o;l.push(o)}}else{let e=null;if(c.Z&&r(c.Z,s,t)&&(e=o?c.Z:c),c.ZP&&r(c.ZP,s,t)&&(e=o?c.ZP:c),c.__esModule&&c.default&&r(c.default,s,t)&&(e=o?c.default:c),r(c,s,t)&&(e=c),!e)continue;if(n)return e;l.push(e)}}return n||0==l.length?void 0:l}static getBulk(...e){const t=this.getAllModules(),n=Array(e.length),o=Object.keys(t);for(let a=0;a<o.length;a++){const r=o[a];if(!t.hasOwnProperty(r))continue;const i=t[r],{exports:l}=i;if(l&&l!==window&&l!==document.documentElement&&"DOMTokenList"!==l[Symbol.toStringTag])for(let t=0;t<e.length;t++){const o=e[t],{filter:a,first:d=!0,defaultExport:c=!0,searchExports:u=!1}=o;if(d&&n[t])continue;d||n[t]||(n[t]=[]);const m=s(a);if("object"==typeof l&&u&&!l.TypedArray)for(const e in l){let o=null;const a=l[e];a&&(m(a,i,r)&&(o=a),o&&(d?n[t]=o:n[t].push(o)))}else{let e=null;if(l.Z&&m(l.Z,i,r)&&(e=c?l.Z:l),l.ZP&&m(l.ZP,i,r)&&(e=c?l.ZP:l),l.__esModule&&l.default&&m(l.default,i,r)&&(e=c?l.default:l),m(l,i,r)&&(e=l),!e)continue;d?n[t]=e:n[t].push(e)}}}return n}static*getWithKey(e,{target:t=null,...n}={}){yield t??(t=this.getModule((t=>Object.values(t).some(e)),n)),yield t&&Object.keys(t).find((n=>e(t[n])))}static getModules(e){return this.getModule(e,{first:!1})}static getByDisplayName(e){return this.getModule(r.byDisplayName(e))}static getByRegex(e,t=!0){return this.getModule(r.byRegex(e),{first:t})}static getByPrototypes(...e){return this.getModule(r.byPrototypeKeys(e))}static getAllByPrototypes(...e){return this.getModule(r.byPrototypeKeys(e),{first:!1})}static getByProps(...e){return this.getModule(r.byKeys(e))}static getAllByProps(...e){return this.getModule(r.byKeys(e),{first:!1})}static getByString(...e){return this.getModule(r.byStrings(...e))}static getAllByString(...e){return this.getModule(r.byStrings(...e),{first:!1})}static getLazy(e,t={}){const{signal:n,defaultExport:o=!0,searchExports:a=!1}=t,r=this.getModule(e,{defaultExport:o,searchExports:a});if(r)return Promise.resolve(r);const i=s(e);return new Promise((e=>{const t=()=>this.removeListener(r),r=function(n){if(!n||n===window||n===document.documentElement||"DOMTokenList"===n[Symbol.toStringTag])return;let r=null;if("object"==typeof n&&a&&!n.TypedArray)for(const e in n){r=null;const t=n[e];t&&(i(t)&&(r=t))}else n.Z&&i(n.Z)&&(r=o?n.Z:n),n.ZP&&i(n.ZP)&&(r=o?n.ZP:n),n.__esModule&&n.default&&i(n.default)&&(r=o?n.default:n),i(n)&&(r=n);r&&(t(),e(r))};this.addListener(r),null==n||n.addEventListener("abort",(()=>{t(),e()}))}))}static get require(){if(this._require)return this._require;const e="bd-webpackmodules";let t;return"undefined"!=typeof webpackJsonp?t=window.webpackJsonp.push([[],{[e]:(e,t,n)=>e.exports=n},[[e]]]):void 0!==window[this.chunkName]&&window[this.chunkName].push([[e],{},e=>t=e]),delete t.m[e],delete t.c[e],this._require=t}static getAllModules(){return this.require.c}static get chunkName(){return"webpackChunkdiscord_app"}static initialize(){this.handlePush=this.handlePush.bind(this),this.listeners=new Set,this.__ORIGINAL_PUSH__=window[this.chunkName].push,Object.defineProperty(window[this.chunkName],"push",{configurable:!0,get:()=>this.handlePush,set:e=>{this.__ORIGINAL_PUSH__=e,Object.defineProperty(window[this.chunkName],"push",{value:this.handlePush,configurable:!0,writable:!0})}})}static addListener(e){return this.listeners.add(e),this.removeListener.bind(this,e)}static removeListener(e){return this.listeners.delete(e)}static handlePush(e){const[,t]=e;for(const e in t){const n=t[e];t[e]=(t,a,r)=>{try{Reflect.apply(n,null,[t,a,r]);const e=[...this.listeners];for(let t=0;t<e.length;t++)try{e[t](a)}catch(e){o.A.stacktrace("WebpackModules","Could not fire callback listener:",e)}}catch(e){o.A.stacktrace("WebpackModules","Could not patch pushed module",e)}finally{r.m[e]=n}},Object.assign(t[e],n,{toString:()=>n.toString()})}return Reflect.apply(this.__ORIGINAL_PUSH__,window[this.chunkName],[e])}}l.initialize()},3774:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});class o extends Error{constructor(e,t,n,o,a){super(n),this.name=e,this.file=t,this.error=o,this.type=a}}},127:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var o=n(594),a=n(8707);class r{static parseToReact(e,t=!0){return this._parser||this._initialize(),this._renderer(this._parse(e,{inline:t}))}static _initialize(){const e=o.A.SimpleMarkdown,t=e.defaultRules.link.react,n=a.A.extend({},e.defaultRules,{link:{react:function(){const e=Reflect.apply(t,void 0,arguments);return e.props.className="bd-link",e.props.target="_blank",e.props.rel="noopener noreferrer",e}}});for(const e in n)n[e].requiredFirstCharacters&&(n[e].requiredFirstCharacters=Object.values(n[e].requiredFirstCharacters));this._parse=e.parserFor(n),this._renderer=e.reactFor(e.ruleOutput(n,"react"))}}},5443:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var o=n(8707);const a=/\[(.+?)]/;class r extends String{format(e){return o.A.formatString(this,e)}replaceLink(e){const t=this.match(a);if(!t)return[this];const n=this.split(t[0]),o=e(t[1]);return n.splice(1,0,o),n}}},5306:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>c});var o=n(8820),a=n(8707);function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r.apply(this,arguments)}const{useCallback:i}=o.A,s=Object.freeze({FILLED:"bd-button-filled",OUTLINED:"bd-button-outlined",LINK:"bd-button-link",BLANK:"bd-button-blank"}),l=Object.freeze({BRAND:"bd-button-color-brand",BLURPLE:"bd-button-color-blurple",RED:"bd-button-color-red",GREEN:"bd-button-color-green",YELLOW:"bd-button-color-yellow",PRIMARY:"bd-button-color-primary",LINK:"bd-button-color-link",WHITE:"bd-button-color-white",TRANSPARENT:"bd-button-color-transparent",CUSTOM:""}),d=Object.freeze({NONE:"",TINY:"bd-button-tiny",SMALL:"bd-button-small",MEDIUM:"bd-button-medium",LARGE:"bd-button-large",ICON:"bd-button-icon"});function c({className:e,children:t,onClick:n,onKeyDown:c,buttonRef:u,disabled:m=!1,type:p="button",look:h=s.FILLED,color:g=l.BRAND,size:b=d.MEDIUM,grow:f=!0,...v}){const y=i((e=>{e.preventDefault(),e.stopPropagation(),null==n||n(e)}),[n]);return o.A.createElement("button",r({},v,{className:a.A.className("bd-button",e,h,g,b,f?"bd-button-grow":""),ref:u,type:"button"===p?null:p,onClick:m?()=>{}:y,onKeyDown:m?()=>{}:c}),o.A.createElement("div",{className:"bd-button-content"},t))}c.Looks=s,c.Colors=l,c.Sizes=d},6747:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>d});var o=n(8820),a=n(8707);const r=Object.freeze({VERTICAL:"bd-flex-vertical",HORIZONTAL:"bd-flex-horizontal",HORIZONTAL_REVERSE:"bd-flex-reverse"}),i=Object.freeze({START:"bd-flex-justify-start",END:"bd-flex-justify-end",CENTER:"bd-flex-justify-center",BETWEEN:"bd-flex-justify-between",AROUND:"bd-flex-justify-around"}),s=Object.freeze({START:"bd-flex-align-start",END:"bd-flex-align-end",CENTER:"bd-flex-align-center",STRETCH:"bd-flex-align-stretch",BASELINE:"bd-flex-align-baseline"}),l=Object.freeze({NO_WRAP:"bd-flex-no-wrap",WRAP:"bd-flex-wrap",WRAP_REVERSE:"bd-flex-wrap-reverse"});function d({children:e,className:t,style:n,shrink:d=1,grow:c=1,basis:u="auto",direction:m=r.HORIZONTAL,align:p=s.STRETCH,justify:h=i.START,wrap:g=l.NO_WRAP}){return o.A.createElement("div",{className:a.A.className("bd-flex",m,h,p,g,t),style:Object.assign({flexShrink:d,flexGrow:c,flexBasis:u},n)},e)}d.Child=function(e){return e.className||(e.className=""),e.className=a.A.className(e.className,"bd-flex-child"),o.A.createElement(d,e)},d.Direction=r,d.Align=s,d.Justify=i,d.Wrap=l},4279:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>s});var o=n(8820),a=n(8707);const r=Object.freeze({STANDARD:"bd-text-normal",MUTED:"bd-text-muted",ERROR:"bd-text-error",BRAND:"bd-text-brand",LINK:"bd-text-link",HEADER_PRIMARY:"bd-header-primary",HEADER_SECONDARY:"bd-header-secondary",STATUS_YELLOW:"bd-text-yellow",STATUS_GREEN:"bd-text-green",STATUS_RED:"bd-text-red",ALWAYS_WHITE:"bd-text-white",CUSTOM:null}),i=Object.freeze({SIZE_10:"bd-text-10",SIZE_12:"bd-text-12",SIZE_14:"bd-text-14",SIZE_16:"bd-text-16",SIZE_20:"bd-text-20",SIZE_24:"bd-text-24",SIZE_32:"bd-text-32"});function s({tag:e="div",className:t,children:n,color:s=r.STANDARD,size:l=i.SIZE_14,selectable:d,strong:c,style:u}){return o.A.createElement(e,{className:a.A.className(s,l,t,{"bd-selectable":d,"bd-text-strong":c}),style:u},n)}s.Colors=r,s.Sizes=i},9768:(e,t,n)=>{"use strict";n.d(t,{A:()=>A});var o=n(8820),a=n(594),r=n(7219),i=n(5306),s=n(6747),l=n(163),d=n(4279);function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},c.apply(this,arguments)}const{useState:u,useCallback:m,useEffect:p,forwardRef:h,useMemo:g,useImperativeHandle:b}=o.A,f=a.A.ThemeStore,v=["abap","abc","actionscript","ada","apache_conf","asciidoc","assembly_x86","autohotkey","batchfile","bro","c_cpp","c9search","cirru","clojure","cobol","coffee","coldfusion","csharp","csound_document","csound_orchestra","csound_score","css","curly","d","dart","diff","dockerfile","dot","drools","dummy","dummysyntax","eiffel","ejs","elixir","elm","erlang","forth","fortran","ftl","gcode","gherkin","gitignore","glsl","gobstones","golang","graphqlschema","groovy","haml","handlebars","haskell","haskell_cabal","haxe","hjson","html","html_elixir","html_ruby","ini","io","jack","jade","java","javascript","json","jsoniq","jsp","jssm","jsx","julia","kotlin","latex","less","liquid","lisp","livescript","logiql","lsl","lua","luapage","lucene","makefile","markdown","mask","matlab","maze","mel","mushcode","mysql","nix","nsis","objectivec","ocaml","pascal","perl","pgsql","php","pig","powershell","praat","prolog","properties","protobuf","python","r","razor","rdoc","red","rhtml","rst","ruby","rust","sass","scad","scala","scheme","scss","sh","sjs","smarty","snippets","soy_template","space","sql","sqlserver","stylus","svg","swift","tcl","tex","text","textile","toml","tsx","twig","typescript","vala","vbscript","velocity","verilog","vhdl","wollok","xml","xquery","yaml","django"];function y(e,t){return"boolean"==t.type?function(e){return o.A.createElement(s.Ay,{align:s.Ay.Align.CENTER,style:{gap:"10px"}},o.A.createElement(d.Ay,null,e.label),o.A.createElement(l.A,{onChange:e.onChange,checked:e.checked}))}(t):function(e,t){return o.A.createElement(a.A.Tooltip,{color:"primary",position:"top",text:e.tooltip},(n=>o.A.createElement(i.Ay,c({},n,{size:i.Ay.Sizes.ICON,look:i.Ay.Looks.BLANK,onClick:n=>{e.onClick(n,null==t?void 0:t())}}),e.label)))}(t,e)}const A=h((function({value:e,language:t="css",id:n="bd-editor",controls:a=[],onChange:i},s){const l=g((()=>{const e=t.toLowerCase().replace(/ /g,"_");return v.includes(e)?e:"css"}),[t]),[d,c]=u((()=>"light"===(null==f?void 0:f.theme)?"vs":"vs-dark")),[h,A]=u(null),[,w]=u([]),k=m((()=>{var e;const t="light"===(null==f?void 0:f.theme)?"vs":"vs-dark";t!==d&&(null!==(e=window.monaco)&&void 0!==e&&e.editor&&window.monaco.editor.setTheme(t),c(t))}),[d]),S=m((()=>{null==i||i(null==h?void 0:h.getValue())}),[h,i]),x=m((()=>h.layout()),[h]),E=m((()=>h.keyBinding.$defaultHandler.commands.showSettingsMenu.exec(h)),[h]);b(s,(()=>({resize:x,showSettings:E,get value(){return h.getValue()},set value(e){h.setValue(e)}})),[h,x,E]),p((()=>(w((e=>[...e,null==h?void 0:h.onDidChangeModelContent(S)])),()=>{w((e=>{for(const t of e)null==t||t.dispose();return[]}))})),[h,S]),p((()=>{var t;let o=null;if(null!==(t=window.monaco)&&void 0!==t&&t.editor){const t=window.monaco.editor.create(document.getElementById(n),{value:e,language:l,theme:d,fontSize:r.A.get("settings","editor","fontSize"),lineNumbers:r.A.get("settings","editor","lineNumbers"),minimap:{enabled:r.A.get("settings","editor","minimap")},hover:{enabled:r.A.get("settings","editor","hover")},quickSuggestions:{other:r.A.get("settings","editor","quickSuggestions"),comments:r.A.get("settings","editor","quickSuggestions"),strings:r.A.get("settings","editor","quickSuggestions")},renderWhitespace:r.A.get("settings","editor","renderWhitespace")});o=t,A(t)}else{const t=document.createElement("textarea");t.className="bd-fallback-editor",t.value=e,A({dispose:()=>t.remove(),getValue:()=>t.value,setValue:e=>t.value=e,layout:()=>{},onDidChangeModelContent:e=>{t.onchange=e,t.oninput=e}}),document.getElementById(n).appendChild(t)}return()=>{var e,t;null===(e=o)||void 0===e||null===(t=e.dispose)||void 0===t||t.call(e)}}),[n,l,d,e]),p((()=>{var e;return null==f||null===(e=f.addChangeListener)||void 0===e||e.call(f,k),window.addEventListener("resize",x),()=>{var e;window.removeEventListener("resize",x),null==f||null===(e=f.removeChangeListener)||void 0===e||e.call(f,k)}}),[k,x]),h&&h.layout&&h.layout();const z=a.filter((e=>"right"!=e.side)).map(y.bind(null,(()=>null==h?void 0:h.getValue()))),C=a.filter((e=>"right"==e.side)).map(y.bind(null,(()=>null==h?void 0:h.getValue())));return o.A.createElement("div",{id:"bd-editor-panel",className:d},o.A.createElement("div",{id:"bd-editor-controls"},o.A.createElement("div",{className:"controls-section controls-left"},z),o.A.createElement("div",{className:"controls-section controls-right"},C)),o.A.createElement("div",{className:"editor-wrapper"},o.A.createElement("div",{id:n,className:"editor "+d})))}))},2719:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var o=n(8820);const a=({className:e})=>o.A.createElement("div",{className:`bd-divider ${e||""}`})},9716:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var o=n(4312),a=n(8820),r=n(7708);class i extends a.A.Component{constructor(e){super(e),this.state={hasError:!1}}componentDidCatch(e){this.setState({hasError:!0}),"function"==typeof this.props.onError&&this.props.onError(e)}render(){return this.state.hasError&&!this.props.hideError?a.A.createElement("div",{onClick:()=>r.A.openDevTools(),className:"react-error"},"There was an unexpected Error. Click to open console for more details."):this.props.children}}const s=i.prototype.render;Object.defineProperty(i.prototype,"render",{enumerable:!1,configurable:!1,set:function(){o.A.warn("ErrorBoundary","Addon policy for plugins #5 https://github.com/BetterDiscord/BetterDiscord/wiki/Addon-Policies#plugins")},get:()=>s})},1377:(e,t,n)=>{"use strict";n.d(t,{A:()=>z});var o=n(8820),a=n(7358),r=n(4189),i=n(6672),s=n(2103),l=n(5977);class d{static get width(){return Math.max(document.documentElement.clientWidth,window.innerWidth||0)}static get height(){return Math.max(document.documentElement.clientHeight,window.innerHeight||0)}}var c=n(119);function u(e){const t=e.size||"24px";return o.A.createElement("svg",{className:e.className||"",fill:"#FFFFFF",viewBox:"0 0 24 24",style:{width:t,height:t},onClick:e.onClick},o.A.createElement("path",{fill:"none",d:"M0 0h24v24H0V0z"}),o.A.createElement("path",{d:"M7 14H5v5h5v-2H7v-3zm-2-4h2V7h3V5H5v5zm12 7h-3v2h5v-5h-2v3zM14 5v2h3v3h2V5h-5z"}))}var m=n(5960);const{useState:p,useCallback:h,useEffect:g,useRef:b}=o.A;function f({id:e,title:t,resizable:n,children:a,className:r,center:i,top:s,left:f,width:v,height:y,minX:A=0,minY:w=0,maxX:k=d.width,maxY:S=d.height,onResize:x,close:E,confirmClose:z,confirmationText:C}){const[D,N]=p(!1),[T,M]=p(!1),[j,P]=p({x:i?d.width/2-v/2:f,y:i?d.height/2-y/2:s}),[L,I]=p({x:0,y:0}),[F,B]=p({width:0,height:0}),R=b(null),O=b(null),U=h((()=>{B({width:O.current.offsetWidth,height:O.current.offsetHeight})}),[O]),H=h((e=>{if(!T)return;let t=e.clientY-L.y;t<=w&&(t=w),t+F.height>=S&&(t=S-F.height);let n=e.clientX-L.x;n<=A&&(n=A),n+F.width>=k&&(n=k-F.width),P({x:n,y:t})}),[L,F,T,A,w,k,S]),W=h((e=>{const t=O.current;I({x:e.clientX-parseInt(t.offsetLeft),y:e.clientY-parseInt(t.offsetTop)}),M(!0)}),[O]),V=h((()=>{M(!1);const e=O.current.offsetWidth,t=O.current.offsetHeight;if(e!=F.width||t!=F.height){x&&x();const n=parseInt(O.current.style.left),o=parseInt(O.current.style.top);n+e>=k&&(O.current.style.width=k-n+"px"),o+t>=S&&(O.current.style.height=S-o+"px")}B({width:e,height:t})}),[O,F,k,S,x]);g((()=>{const e=O.current,t=R.current;return e.addEventListener("mousedown",U,!1),t.addEventListener("mousedown",W,!1),document.addEventListener("mouseup",V,!1),document.addEventListener("mousemove",H,!0),()=>{document.removeEventListener("mouseup",V,!1),document.removeEventListener("mousemove",H,!0),e.removeEventListener("mousedown",U,!1),t.removeEventListener("mousedown",W,!1)}}),[R,O,W,V,H,U]);const _=h((()=>{O.current.style.width="100%",O.current.style.height="100%",x&&x();const e=O.current.offsetWidth,t=O.current.offsetHeight,n=parseInt(O.current.style.left)+e;parseInt(O.current.style.top)+t>S&&(O.current.style.top=S-t+"px"),n>k&&(O.current.style.left=k-e+"px");const o=parseInt(O.current.style.left),a=parseInt(O.current.style.top);if(a<w){const e=w-a;O.current.style.top=w+"px",O.current.style.height=t-e+"px"}if(o<A){const t=A-o;O.current.style.left=A+"px",O.current.style.height=e-t+"px"}}),[O,A,w,k,S,x]),q=h((async()=>{let e=!0;("function"==typeof z?z():z)&&(N(!0),e=await function(e){return new Promise((t=>{m.A.showConfirmationModal(l.A.Modals.confirmAction,e,{danger:!0,confirmText:l.A.Modals.close,onConfirm:()=>{t(!0)},onCancel:()=>{t(!1)}})}))}(C),N(!1)),E&&e&&E()}),[C,E,z]),Z=`floating-window${` ${r}`||""}${n?" resizable":""}${D?" modal-open":""}`,$={height:y,width:v,left:j.x||0,top:j.y||0};return o.A.createElement("div",{id:e,className:Z,ref:O,style:$},o.A.createElement("div",{className:"floating-window-titlebar",ref:R},o.A.createElement("span",{className:"title"},t),o.A.createElement("div",{className:"floating-window-buttons"},o.A.createElement("div",{className:"button maximize-button",onClick:_},o.A.createElement(u,{size:"18px"})),o.A.createElement("div",{className:"button close-button",onClick:q},o.A.createElement(c.A,null)))),o.A.createElement("div",{className:"floating-window-content"},a))}function v(){return v=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},v.apply(this,arguments)}const{useState:y,useCallback:A,useEffect:w}=o.A;function k(){const e=document.querySelector('#app-mount > div[class*="app-"]');return e?e.offsetTop:0}function S(){const[e,t]=y([]),n=A((e=>{t((t=>[...t,e]))}),[]),a=A((n=>{t(e.filter((e=>(e.id===n&&e.onClose&&e.onClose(),e.id!==n))))}),[e]);return w((()=>(r.A.on("open-window",n),()=>r.A.off("open-window",n))),[n]),e.map((e=>o.A.createElement(f,v({},e,{close:()=>a(e.id),minY:k(),key:e.id}),e.children)))}const x=s.A.getByDisplayName("AppLayerProvider");let E=!1;class z{static initialize(){const e=o.A.createElement(S,null),t=x?o.A.createElement(x().props.layerContext.Provider,{value:[document.querySelector("#app-mount > .layerContainer-2v_Sit")]},e):e,n=i.A.parseHTML('<div id="floating-windows-layer">');i.A.bdBody.append(n),a.A.render(t,n),E=!0}static open(e){return E||this.initialize(),r.A.emit("open-window",e)}}},8635:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var o=n(8820);function a(e){const t=e.size||"24px";return o.A.createElement("svg",{viewBox:"0 0 24 24",fill:"#FFFFFF",className:e.className||"",style:{width:t,height:t},onClick:e.onClick},o.A.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),o.A.createElement("path",{d:"M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"}))}},119:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var o=n(8820);function a(e){const t=e.size||"18px";return o.A.createElement("svg",{viewBox:"0 0 12 12",style:{width:t,height:t}},o.A.createElement("g",{className:"background",fill:"none",fillRule:"evenodd"},o.A.createElement("path",{d:"M0 0h12v12H0"}),o.A.createElement("path",{className:"fill",fill:"#dcddde",d:"M9.5 3.205L8.795 2.5 6 5.295 3.205 2.5l-.705.705L5.295 6 2.5 8.795l.705.705L6 6.705 8.795 9.5l.705-.705L6.705 6"})))}},9591:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var o=n(8820);function a(e){const t=e.size||"24px";return o.A.createElement("svg",{viewBox:"0 0 24 24",fill:"#FFFFFF",style:{width:t,height:t},onClick:e.onClick},o.A.createElement("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"}),o.A.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}))}},9044:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var o=n(8820);function a(e){const t=e.size||"24px";return o.A.createElement("svg",{viewBox:"0 0 24 24",fill:"#FFFFFF",style:{width:t,height:t},onClick:e.onClick,className:e.className},o.A.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),o.A.createElement("path",{d:"M20.5 11H19V7c0-1.1-.9-2-2-2h-4V3.5C13 2.12 11.88 1 10.5 1S8 2.12 8 3.5V5H4c-1.1 0-1.99.9-1.99 2v3.8H3.5c1.49 0 2.7 1.21 2.7 2.7s-1.21 2.7-2.7 2.7H2V20c0 1.1.9 2 2 2h3.8v-1.5c0-1.49 1.21-2.7 2.7-2.7 1.49 0 2.7 1.21 2.7 2.7V22H17c1.1 0 2-.9 2-2v-4h1.5c1.38 0 2.5-1.12 2.5-2.5S21.88 11 20.5 11z"}))}},4978:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var o=n(8820);function a(e){const t=e.size||"18px";return o.A.createElement("svg",{viewBox:"0 0 24 24",fill:"#FFFFFF",style:{width:t,height:t},onClick:e.onClick},o.A.createElement("path",{d:"m12 .5c-6.63 0-12 5.28-12 11.792 0 5.211 3.438 9.63 8.205 11.188.6.111.82-.254.82-.567 0-.28-.01-1.022-.015-2.005-3.338.711-4.042-1.582-4.042-1.582-.546-1.361-1.335-1.725-1.335-1.725-1.087-.731.084-.716.084-.716 1.205.082 1.838 1.215 1.838 1.215 1.07 1.803 2.809 1.282 3.495.981.108-.763.417-1.282.76-1.577-2.665-.295-5.466-1.309-5.466-5.827 0-1.287.465-2.339 1.235-3.164-.135-.298-.54-1.497.105-3.121 0 0 1.005-.316 3.3 1.209.96-.262 1.98-.392 3-.398 1.02.006 2.04.136 3 .398 2.28-1.525 3.285-1.209 3.285-1.209.645 1.624.24 2.823.12 3.121.765.825 1.23 1.877 1.23 3.164 0 4.53-2.805 5.527-5.475 5.817.42.354.81 1.077.81 2.182 0 1.578-.015 2.846-.015 3.229 0 .309.21.678.825.56 4.801-1.548 8.236-5.97 8.236-11.173 0-6.512-5.373-11.792-12-11.792z"}))}},9392:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var o=n(8820);function a(e){const t=e.size||"24px";return o.A.createElement("svg",{viewBox:"0 0 24 24",style:{width:t,height:t}},o.A.createElement("path",{fill:"none",d:"M0 0h24v24H0V0z"}),o.A.createElement("path",{d:"M17 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V7l-4-4zm2 16H5V5h11.17L19 7.83V19zm-7-7c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3zM6 6h9v4H6z"}))}},100:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var o=n(8820);function a(e){const t=e.size||"24px";return o.A.createElement("svg",{viewBox:"0 0 24 24",fill:"#FFFFFF",style:{width:t,height:t},onClick:e.onClick,className:e.className},o.A.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),o.A.createElement("path",{d:"M12 3c-4.97 0-9 4.03-9 9s4.03 9 9 9c.83 0 1.5-.67 1.5-1.5 0-.39-.15-.74-.39-1.01-.23-.26-.38-.61-.38-.99 0-.83.67-1.5 1.5-1.5H16c2.76 0 5-2.24 5-5 0-4.42-4.03-8-9-8zm-5.5 9c-.83 0-1.5-.67-1.5-1.5S5.67 9 6.5 9 8 9.67 8 10.5 7.33 12 6.5 12zm3-4C8.67 8 8 7.33 8 6.5S8.67 5 9.5 5s1.5.67 1.5 1.5S10.33 8 9.5 8zm5 0c-.83 0-1.5-.67-1.5-1.5S13.67 5 14.5 5s1.5.67 1.5 1.5S15.33 8 14.5 8zm3 4c-.83 0-1.5-.67-1.5-1.5S16.67 9 17.5 9s1.5.67 1.5 1.5-.67 1.5-1.5 1.5z"}))}},5960:(e,t,n)=>{"use strict";n.d(t,{A:()=>Ae});var o=n(9382),a=n(5443),r=n(4312),i=n(8820),s=n(7358),l=n(5977),d=n(7219),c=n(4189),u=n(2103),m=n(6672),p=n(4279),h=n(5306),g=n(6747),b=n(9044),f=n(100),v=n(2719),y=n(8707);function A({id:e,className:t,children:n}){return i.A.createElement(g.Ay,{id:e,className:y.A.className("bd-modal-header",t),grow:0,shrink:0,direction:g.Ay.Direction.HORIZONTAL,justify:g.Ay.Justify.START,align:g.Ay.Align.CENTER,wrap:g.Ay.Wrap.NO_WRAP},n)}function w({id:e,className:t,children:n,scroller:o=!0}){return i.A.createElement("div",{id:e,className:y.A.className("bd-modal-content",{"bd-scroller-base bd-scroller-thin":o},t)},n)}const k=u.A.getByProps("useSpring","animated"),S=u.A.getByProps("Easing"),x=Object.freeze({SMALL:"bd-modal-small",MEDIUM:"bd-modal-medium",LARGE:"bd-modal-large",DYNAMIC:""}),E=Object.freeze({STANDARD:"bd-modal-standard",CUSTOM:""}),z=u.A.getModule((e=>{var t;return null==e||null===(t=e._currentValue)||void 0===t?void 0:t.reducedMotion}),{searchExports:!0}),C=u.A.getModule((e=>{var t,n;return(null==e||null===(t=e.render)||void 0===t?void 0:t.toString().includes("impressionProperties"))&&(null==e||null===(n=e.render)||void 0===n?void 0:n.toString().includes(".Provider"))}),{searchExports:!0})??i.A.Fragment;function D({className:e,transitionState:t,children:n,size:o=x.DYNAMIC,style:a=E.CUSTOM}){var r,s;const l=0==t||1==t,d=i.A.useContext(z??{}),c=(null==d||null===(r=d.reducedMotion)||void 0===r?void 0:r.enabled)??(null===(s=document.documentElement)||void 0===s?void 0:s.classList.contains("reduce-motion")),u=k.useSpring({opacity:l?1:0,transform:l||c?"scale(1)":"scale(0.7)",config:{duration:l?300:100,easing:l?S.Easing.inOut(S.Easing.back()):S.Easing.quad,clamp:!0}});return i.A.createElement(C,{disableTrack:!0},i.A.createElement(k.animated.div,{className:y.A.className("bd-modal-root",o,e,a),style:u},n))}function N({id:e,className:t,children:n,justify:o,direction:a,align:r,wrap:s}){return i.A.createElement(g.Ay,{id:e,className:y.A.className("bd-modal-footer",t),grow:0,shrink:0,direction:a??g.Ay.Direction.HORIZONTAL_REVERSE,justify:o??g.Ay.Justify.START,align:r??g.Ay.Align.STRETCH,wrap:s??g.Ay.Wrap.NO_WRAP},n)}D.Sizes=x,D.Styles=E;const T=Object(u.A.getByProps("defaultRules","parse")).defaultRules,{useState:M,useCallback:j,useMemo:P}=i.A,L=(...e)=>e.filter((e=>e)).join(" ");function I({err:e,index:t}){const[n,o]=M(!1),a=j((()=>o(!n)),[n]);return i.A.createElement("div",{key:`${e.type}-${t}`,className:L("bd-addon-error",n?"expanded":"collapsed")},i.A.createElement("div",{className:"bd-addon-error-header",onClick:a},i.A.createElement("div",{className:"bd-addon-error-icon"},"plugin"==e.type?i.A.createElement(b.A,null):i.A.createElement(f.A,null)),i.A.createElement("div",{className:"bd-addon-error-header-inner"},i.A.createElement(p.Ay,{tag:"h3",size:p.Ay.Sizes.SIZE_16,color:p.Ay.Colors.HEADER_PRIMARY,strong:!0},e.name),i.A.createElement("div",{className:"bd-addon-error-details"},i.A.createElement("svg",{className:"bd-addon-error-details-icon","aria-hidden":"false",width:"16",height:"16",viewBox:"0 0 12 12"},i.A.createElement("path",{fill:"currentColor",d:"M6 1C3.243 1 1 3.244 1 6c0 2.758 2.243 5 5 5s5-2.242 5-5c0-2.756-2.243-5-5-5zm0 2.376a.625.625 0 110 1.25.625.625 0 010-1.25zM7.5 8.5h-3v-1h1V6H5V5h1a.5.5 0 01.5.5v2h1v1z"})),i.A.createElement(p.Ay,{color:p.Ay.Colors.HEADER_SECONDARY,size:p.Ay.Sizes.SIZE_12},e.message))),i.A.createElement("svg",{className:"bd-addon-error-expander",width:"24",height:"24",viewBox:"0 0 24 24"},i.A.createElement("path",{fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",d:"M7 10L12 15 17 10","aria-hidden":"true"}))),function(){var t;const o=(null==e||null===(t=e.error)||void 0===t?void 0:t.stack)??e.stack;return n&&o?i.A.createElement("div",{className:"bd-addon-error-body"},i.A.createElement(v.A,null),i.A.createElement("div",{className:"bd-addon-error-stack"},T?T.codeBlock.react({content:o,lang:"js"},null,{}):o)):null}())}function F(e,t){return{id:e,errors:t,name:l.A.Panels[e]}}function B({transitionState:e,onClose:t,pluginErrors:n,themeErrors:o}){const a=P((()=>[n.length&&F("plugins",n),o.length&&F("themes",o)].filter((e=>e))),[n,o]),[r,s]=M(a[0].id),d=j((e=>s(e)),[]),c=a.find((e=>e.id===r));return i.A.createElement(D,{transitionState:e,className:"bd-error-modal",size:D.Sizes.MEDIUM},i.A.createElement(A,{className:"bd-error-modal-header"},i.A.createElement(g.Ay,{direction:g.Ay.Direction.VERTICAL},i.A.createElement(p.Ay,{tag:"h1",size:p.Ay.Sizes.SIZE_14,color:p.Ay.Colors.HEADER_PRIMARY,strong:!0,style:{"text-transform":"uppercase","margin-bottom":"8px"}},l.A.Modals.addonErrors),i.A.createElement("div",{className:"bd-tab-bar"},a.map((e=>i.A.createElement("div",{onClick:()=>{d(e.id)},className:L("bd-tab-item",e.id===c.id&&"selected")},e.name)))))),i.A.createElement(w,{className:"bd-error-modal-content"},i.A.createElement("div",{className:"bd-addon-errors"},c.errors.map(((e,t)=>i.A.createElement(I,{index:t,err:e}))))),i.A.createElement(N,{className:"bd-error-modal-footer"},i.A.createElement(h.Ay,{onClick:t},l.A.Modals.okay)))}var R=n(9716);const{useRef:O,useEffect:U,useLayoutEffect:H}=i.A;function W({transitionState:e,onClose:t,onCloseCallback:n,className:o,size:a=D.Sizes.SMALL,header:r,children:s,danger:d=!1,onCancel:c=(()=>{}),onConfirm:u=(()=>{}),cancelText:m=l.A.Modals.cancel,confirmText:g=l.A.Modals.okay}){const b=O(null);return U((()=>{setTimeout((()=>{var e,t;return null==b||null===(e=b.current)||void 0===e||null===(t=e.focus)||void 0===t?void 0:t.call(e)}),0)}),[]),H((()=>{null==n||n()}),[n]),i.A.createElement(D,{transitionState:e,size:a,className:o},i.A.createElement(A,null,i.A.createElement(p.Ay,{tag:"h1",size:p.Ay.Sizes.SIZE_20,color:p.Ay.Colors.HEADER_PRIMARY,strong:!0},r)),i.A.createElement(w,null,s),i.A.createElement(N,null,g&&i.A.createElement(h.Ay,{type:"submit",buttonRef:b,color:d?h.Ay.Colors.RED:h.Ay.Colors.BRAND,onClick:()=>{null==u||u(),t()}},g),m&&i.A.createElement(h.Ay,{type:"button",look:h.Ay.Looks.LINK,color:h.Ay.Colors.PRIMARY,onClick:()=>{null==c||c(),t()}},m)))}var V=n(594);let _,q;function Z({className:e,children:t}){return _||q||function(){if(_=u.A.find((e=>{var t;return(null==e||null===(t=e.prototype)||void 0===t?void 0:t.render)&&e.rules})),q={},_){q={..._.rules,link:V.A.SimpleMarkdown.defaultRules.link};const e=q.link.react;q.link.react=function(){const t=Reflect.apply(e,void 0,arguments);return t.props.className="bd-link",t.props.target="_blank",t.props.rel="noopener noreferrer",t}}}(),_?i.A.createElement(_,{className:e,parser:V.A.SimpleMarkdown.parserFor(q),output:V.A.SimpleMarkdown.reactFor(V.A.SimpleMarkdown.ruleOutput(q,"react"))},t):i.A.createElement("div",{className:"bd-markdown-fallback"},t)}var $=n(119);function K({onClick:e}){return i.A.createElement(h.Ay,{className:"bd-close-button",size:h.Ay.Sizes.ICON,look:h.Ay.Looks.BLANK,color:h.Ay.Colors.TRANSPARENT,onClick:e},i.A.createElement($.A,{size:"24px"}))}var G=n(127);function J(e){const t=e.size||"18px";return i.A.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"#26a7de",viewBox:"0 0 24 24",style:{width:t,height:t}},i.A.createElement("path",{d:"M24 4.557c-.883.392-1.832.656-2.828.775 1.017-.609 1.798-1.574 2.165-2.724-.951.564-2.005.974-3.127 1.195-.897-.957-2.178-1.555-3.594-1.555-3.179 0-5.515 2.966-4.797 6.045-4.091-.205-7.719-2.165-10.148-5.144-1.29 2.213-.669 5.108 1.523 6.574-.806-.026-1.566-.247-2.229-.616-.054 2.281 1.581 4.415 3.949 4.89-.693.188-1.452.232-2.224.084.626 1.956 2.444 3.379 4.6 3.419-2.07 1.623-4.678 2.348-7.29 2.04 2.179 1.397 4.768 2.212 7.548 2.212 9.142 0 14.307-7.721 13.995-14.646.962-.695 1.797-1.562 2.457-2.549z"}))}var Y=n(4978);function Q(){return Q=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Q.apply(this,arguments)}const{useMemo:X}=i.A,ee=u.A.getByProps("anchorUnderlineOnHover")||{anchor:"anchor-3Z-8Bb",anchorUnderlineOnHover:"anchorUnderlineOnHover-2ESHQB"},te=i.A.createElement("a",{className:`${ee.anchor} ${ee.anchorUnderlineOnHover}`,onClick:e=>{e.preventDefault(),e.stopPropagation(),V.A.InviteActions.acceptInviteAndTransitionToInviteChannel({inviteKey:"0Tmfo5ZbORCRqbAd"})}},"Join our Discord Server."),ne=i.A.createElement(p.Ay,null,"Need support? ",te),oe=i.A.createElement(V.A.Tooltip,{color:"primary",position:"top",text:l.A.Socials.twitter},(e=>i.A.createElement("a",Q({},e,{className:"bd-social",href:"https://x.com/_BetterDiscord_",rel:"noopener noreferrer",target:"_blank"}),i.A.createElement(J,null)))),ae=i.A.createElement(V.A.Tooltip,{color:"primary",position:"top",text:l.A.Socials.github},(e=>i.A.createElement("a",Q({},e,{className:"bd-social",href:"https://github.com/BetterDiscord/BetterDiscord",rel:"noopener noreferrer",target:"_blank"}),i.A.createElement(Y.A,null))));function re({src:e}){return i.A.createElement("iframe",{src:e,title:"YouTube video player",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0})}function ie({src:e,poster:t}){return e.toLowerCase().includes("youtube.com")?i.A.createElement(re,{src:e}):i.A.createElement("video",{src:e,poster:t,controls:!0,className:"bd-changelog-poster"})}function se({transitionState:e,footer:t,title:n,subtitle:o,onClose:a,video:r,poster:s,image:l,description:d,changes:c}){const u=X((()=>i.A.createElement(A,{justify:g.Ay.Justify.BETWEEN},i.A.createElement(g.Ay,{direction:g.Ay.Direction.VERTICAL},i.A.createElement(p.Ay,{tag:"h1",size:p.Ay.Sizes.SIZE_20,strong:!0},n),i.A.createElement(p.Ay,{size:p.Ay.Sizes.SIZE_12,color:p.Ay.Colors.HEADER_SECONDARY},o)),i.A.createElement(K,{onClick:a}))),[n,o,a]),m=X((()=>i.A.createElement(N,{justify:g.Ay.Justify.BETWEEN,direction:g.Ay.Direction.HORIZONTAL},i.A.createElement(g.Ay.Child,{grow:"1",shrink:"1"},t||ne),!t&&i.A.createElement(g.Ay.Child,{grow:"0",shrink:"0"},oe,ae))),[t]),h=X((()=>{const e=[r?i.A.createElement(ie,{src:r,poster:s}):i.A.createElement("img",{src:l,className:"bd-changelog-poster"})];d&&e.push(i.A.createElement("p",null,G.A.parseToReact(d)));for(let t=0;t<c.length;t++){const n=c[t],o="bd-changelog-"+n.type,a=0==t?" bd-changelog-first":"";e.push(i.A.createElement("h1",{className:`bd-changelog-title ${o}${a}`},n.title)),n.description&&e.push(i.A.createElement("p",null,G.A.parseToReact(n.description)));const r=i.A.createElement("ul",null,n.items.map((e=>i.A.createElement("li",null,G.A.parseToReact(e)))));e.push(r)}return e}),[d,r,l,s,c]);return i.A.createElement(D,{className:"bd-changelog-modal",transitionState:e,size:D.Sizes.MEDIUM,style:D.Styles.STANDARD},u,i.A.createElement(w,null,h),m)}const le=u.A.getByProps("useSpring","animated");function de({isVisible:e,className:t,onClick:n}){return le.useTransition(e,{keys:e=>e?"backdrop":"empty",config:{duration:300},from:{opacity:0,background:"var(--black-500)"},enter:{opacity:.85,background:"var(--black-500)"},leave:{opacity:0,background:"var(--black-500)"}})(((e,o)=>o?i.A.createElement(le.animated.div,{className:y.A.className("bd-modal-backdrop",t),style:e,onClick:n}):null))}function ce(){return ce=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},ce.apply(this,arguments)}const{Fragment:ue,useState:me,useCallback:pe,useEffect:he}=i.A,ge=u.A.getModule((e=>{var t,n;return(null==e||null===(t=e.defaultProps)||void 0===t?void 0:t.transitionAppear)||(null==e||null===(n=e.TransitionGroup)||void 0===n?void 0:n.defaultProps)})),be=ge.TransitionGroup??ge;class fe extends i.A.Component{constructor(e){super(e),this.state={transitionState:null}}componentWillEnter(e){this.setState({transitionState:0}),setTimeout((()=>{this.setState({transitionState:1}),e()}),300)}componentWillLeave(e){this.setState({transitionState:2}),setTimeout((()=>{this.setState({transitionState:3}),e()}),300)}render(){return i.A.createElement("div",{className:"bd-modal-layer"},this.props.render({transitionState:this.state.transitionState,onClose:this.props.onClose}))}}let ve=0;function ye(){const[e,t]=me([]),n=pe(((e,n={})=>{t((t=>[...t,{...n,render:e}]))}),[]),o=pe((e=>{t((t=>t.filter((t=>(t.modalKey===e&&t.onClose&&t.onClose(),t.modalKey!==e)))))}),[]);return he((()=>(c.A.on("open-modal",n),()=>{c.A.off("open-modal",n)})),[n]),i.A.createElement(be,{component:ue},i.A.createElement(de,{isVisible:!!e.length,onClick:()=>o(e[e.length-1].modalKey)}),e.length&&i.A.createElement(fe,ce({key:e[e.length-1].modalKey},e[e.length-1],{onClose:()=>o(e[e.length-1].modalKey)})))}class Ae{static get shouldShowAddonErrors(){return d.A.get("settings","addons","addonErrors")}static get hasModalOpen(){return!!document.getElementsByClassName("bd-modal").length}static get ModalActions(){return this._ModalActions??(this._ModalActions=u.A.getByProps("openModal","closeModal","updateModal"))}static get ModalQueue(){return this._ModalQueue??(this._ModalQueue=[])}static async initialize(){const e=["ModalActions"];for(const t of e){let e=this[t];"ModalActions"===t&&(e=Object.keys(this.ModalActions).every((e=>this.ModalActions[e]))),e||r.A.warn("Modals",`Missing ${t} module!`)}}static default(e,t,n=[]){const o=m.A.parseHTML(`<div class="bd-modal-wrapper theme-dark">\n <div class="bd-backdrop backdrop-1wrmKB"></div>\n <div class="bd-modal modal-1UGdnR">\n <div class="bd-modal-inner inner-1JeGVc">\n <div class="header header-1R_AjF">\n <div class="title">${e}</div>\n </div>\n <div class="bd-modal-body">\n <div class="scroller-wrap fade">\n <div class="scroller"></div>\n </div>\n </div>\n <div class="footer footer-2yfCgX footer-3rDWdC footer-2gL1pp"></div>\n </div>\n </div>\n </div>`),a=()=>{o.classList.add("closing"),setTimeout((()=>{o.remove();const e=this.ModalQueue.shift();e&&e()}),300)};n.length||n.push({label:l.A.Modals.okay,action:a});const d=o.querySelector(".footer");for(const e of n){const t=Object.assign(document.createElement("button"),{onclick:t=>{try{e.action(t)}catch(e){r.A.stacktrace("Modals","Could not fire button listener",e)}a()},type:"button",className:"bd-button"});e.danger&&t.classList.add("bd-button-danger"),t.append(e.label),d.appendChild(t)}if(Array.isArray(t)?t.every((e=>i.A.isValidElement(e))):i.A.isValidElement(t)){const e=o.querySelector(".scroller");try{s.A.render(t,e)}catch(t){e.append(m.A.parseHTML('<span style="color: red">There was an unexpected error. Modal could not be rendered.</span>'))}m.A.onRemoved(e,(()=>{s.A.unmountComponentAtNode(e)}))}else o.querySelector(".scroller").append(t);o.querySelector(".footer button").addEventListener("click",a),o.querySelector(".bd-backdrop").addEventListener("click",a);const c=()=>document.getElementById("app-mount").append(o);this.hasModalOpen?this.ModalQueue.push(c):c()}static alert(e,t){this.showConfirmationModal(e,t,{cancelText:null})}static showConfirmationModal(e,t,n={}){const o=this.ModalActions;t instanceof a.A&&(t=t.toString());const r=()=>{},{onClose:s=r,onConfirm:d=r,onCancel:c=r,confirmText:u=l.A.Modals.okay,cancelText:m=l.A.Modals.cancel,danger:p=!1,key:h}=n;if(!this.ModalActions)return this.default(e,t,[u&&{label:u,action:d},m&&{label:m,action:c,danger:p}].filter(Boolean));Array.isArray(t)||(t=[t]),t=t.map((e=>"string"==typeof e?i.A.createElement(Z,null,e):e));const g=this.openModal((n=>i.A.createElement(R.A,{onError:()=>{setTimeout((()=>{o.closeModal(g),this.default(e,t,[u&&{label:u,action:d},m&&{label:m,action:c,danger:p}].filter(Boolean))}))}},i.A.createElement(W,Object.assign({header:e,danger:p,confirmText:u,cancelText:m,onConfirm:d,onCancel:c,onCloseCallback:()=>{2===(null==n?void 0:n.transitionState)&&(null==s||s())}},n),i.A.createElement(R.A,{},t)))),{modalKey:h});return g}static showAddonErrors({plugins:e=[],themes:t=[]}){if(!e||!t||!this.shouldShowAddonErrors)return;if(!e.length&&!t.length)return;const n={ref:this.addonErrorsRef,pluginErrors:Array.isArray(e)?e:[],themeErrors:Array.isArray(t)?t:[]};this.openModal((e=>i.A.createElement(R.A,null,i.A.createElement(B,Object.assign(n,e)))))}static showChangelogModal(e={}){e=Object.assign({image:"https://i.imgur.com/wuh5yMK.png",description:"",changes:[],title:"BetterDiscord",subtitle:`v${o.A.version}`},e);return this.openModal((t=>i.A.createElement(R.A,null,i.A.createElement(se,Object.assign(e,t)))))}static showAddonSettingsModal(e,t){let n=t;(t instanceof Node||"string"==typeof t)&&(n=class extends i.A.Component{constructor(e){super(e),this.elementRef=i.A.createRef(),this.element=t,this.state={hasError:!1}}componentDidCatch(){this.setState({hasError:!0})}componentDidMount(){this.element instanceof Node&&this.elementRef.current.appendChild(this.element)}render(){if(this.state.hasError)return i.A.createElement(p.Ay,{color:p.Ay.Colors.STATUS_RED},l.A.Addons.settingsError);const e={className:"bd-addon-settings-wrap",ref:this.elementRef};return"string"==typeof this.element&&(e.dangerouslySetInnerHTML={__html:this.element}),i.A.createElement("div",e)}}),"function"==typeof n&&(n=i.A.createElement(n));const o={className:"bd-addon-modal",size:D.Sizes.MEDIUM,header:`${e} Settings`,cancelText:null,confirmText:l.A.Modals.done};return this.openModal((e=>i.A.createElement(R.A,null,i.A.createElement(W,Object.assign(o,e),n))))}static makeStack(){const e=m.A.parseHTML('<div id="bd-modal-container">');m.A.bdBody.append(e),s.A.render(i.A.createElement(R.A,{hideError:!0},i.A.createElement(ye,null)),e),this.hasInitialized=!0}static openModal(e,t={}){return"function"==typeof this.ModalActions.openModal?this.ModalActions.openModal(e):(this.hasInitialized||this.makeStack(),t.modalKey=(n=t.modalKey)?`${n}-${ve++}`:ve++,c.A.emit("open-modal",e,t),t.modalKey);var n}}Ae.makeStack()},5900:(e,t,n)=>{"use strict";n.d(t,{A:()=>mt});var o=n(9382),a=n(8820),r=n(5977),i=n(8707),s=n(4189),l=n(7219),d=n(1298),c=n(2103),u=n(5226),m=n(594),p=n(928),h=n(2051),g=n(9098),b=n(5306),f=n(5960),v=n(7708),y=n(1522),A=n(4312),w=n(127),k=n(163),S=n(6766),x=n(9591);function E(e){const t=e.size||"24px";return a.A.createElement("svg",{className:e.className||"",fill:"#FFFFFF",viewBox:"0 0 24 24",style:{width:t,height:t},onClick:e.onClick},a.A.createElement("path",{fill:"none",d:"M0 0h24v24H0V0z"}),a.A.createElement("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zm2.46-7.12l1.41-1.41L12 12.59l2.12-2.12 1.41 1.41L13.41 14l2.12 2.12-1.41 1.41L12 15.41l-2.12 2.12-1.41-1.41L10.59 14l-2.13-2.12zM15.5 4l-1-1h-5l-1 1H5v2h14V4z"}),a.A.createElement("path",{fill:"none",d:"M0 0h24v24H0z"}))}function z(e){const t=e.size||"20px";return a.A.createElement("svg",{viewBox:"0 0 20 20",style:{width:t,height:t}},a.A.createElement("path",{fill:"none",d:"M0 0h20v20H0V0z"}),a.A.createElement("path",{d:"M15.95 10.78c.03-.25.05-.51.05-.78s-.02-.53-.06-.78l1.69-1.32c.15-.12.19-.34.1-.51l-1.6-2.77c-.1-.18-.31-.24-.49-.18l-1.99.8c-.42-.32-.86-.58-1.35-.78L12 2.34c-.03-.2-.2-.34-.4-.34H8.4c-.2 0-.36.14-.39.34l-.3 2.12c-.49.2-.94.47-1.35.78l-1.99-.8c-.18-.07-.39 0-.49.18l-1.6 2.77c-.1.18-.06.39.1.51l1.69 1.32c-.04.25-.07.52-.07.78s.02.53.06.78L2.37 12.1c-.15.12-.19.34-.1.51l1.6 2.77c.1.18.31.24.49.18l1.99-.8c.42.32.86.58 1.35.78l.3 2.12c.04.2.2.34.4.34h3.2c.2 0 .37-.14.39-.34l.3-2.12c.49-.2.94-.47 1.35-.78l1.99.8c.18.07.39 0 .49-.18l1.6-2.77c.1-.18.06-.39-.1-.51l-1.67-1.32zM10 13c-1.65 0-3-1.35-3-3s1.35-3 3-3 3 1.35 3 3-1.35 3-3 3z"}))}var C=n(4978);var D=n(9044);function N(e){const t=e.size||"24px";return a.A.createElement("svg",{viewBox:"0 0 24 24",fill:"#FFFFFF",style:{width:t,height:t},onClick:e.onClick,className:e.className},a.A.createElement("path",{d:"M0 0h24v24H0V0z",fill:"none"}),a.A.createElement("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}))}var T=n(100);function M(){return M=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},M.apply(this,arguments)}const{useState:j,useCallback:P,useMemo:L,useEffect:I}=a.A,F={website:function(e){const t=e.size||"18px",n=e.color||"#FFFFFF";return a.A.createElement("svg",{viewBox:"2 2 20 20",fill:n,style:{width:t,height:t},onClick:e.onClick},a.A.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),a.A.createElement("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zm6.93 6h-2.95c-.32-1.25-.78-2.45-1.38-3.56 1.84.63 3.37 1.91 4.33 3.56zM12 4.04c.83 1.2 1.48 2.53 1.91 3.96h-3.82c.43-1.43 1.08-2.76 1.91-3.96zM4.26 14C4.1 13.36 4 12.69 4 12s.1-1.36.26-2h3.38c-.08.66-.14 1.32-.14 2 0 .68.06 1.34.14 2H4.26zm.82 2h2.95c.32 1.25.78 2.45 1.38 3.56-1.84-.63-3.37-1.9-4.33-3.56zm2.95-8H5.08c.96-1.66 2.49-2.93 4.33-3.56C8.81 5.55 8.35 6.75 8.03 8zM12 19.96c-.83-1.2-1.48-2.53-1.91-3.96h3.82c-.43 1.43-1.08 2.76-1.91 3.96zM14.34 14H9.66c-.09-.66-.16-1.32-.16-2 0-.68.07-1.35.16-2h4.68c.09.65.16 1.32.16 2 0 .68-.07 1.34-.16 2zm.25 5.56c.6-1.11 1.06-2.31 1.38-3.56h2.95c-.96 1.65-2.49 2.93-4.33 3.56zM16.36 14c.08-.66.14-1.32.14-2 0-.68-.06-1.34-.14-2h3.38c.16.64.26 1.31.26 2s-.1 1.36-.26 2h-3.38z"}))},source:C.A,invite:function(e){const t=e.size||"18px";return a.A.createElement("svg",{viewBox:"2 2 20 20",fill:"#FFFFFF",style:{width:t,height:t},onClick:e.onClick},a.A.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),a.A.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 17h-2v-2h2v2zm2.07-7.75l-.9.92C13.45 12.9 13 13.5 13 15h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41 0-1.1-.9-2-2-2s-2 .9-2 2H8c0-2.21 1.79-4 4-4s4 1.79 4 4c0 .88-.36 1.68-.93 2.25z"}))},donate:function(e){const t=e.size||"18px";return a.A.createElement("svg",{viewBox:"2 2 20 20",fill:"#FFFFFF",style:{width:t,height:t},onClick:e.onClick},a.A.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),a.A.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1.41 16.09V20h-2.67v-1.93c-1.71-.36-3.16-1.46-3.27-3.4h1.96c.1 1.05.82 1.87 2.65 1.87 1.96 0 2.4-.98 2.4-1.59 0-.83-.44-1.61-2.67-2.14-2.48-.6-4.18-1.62-4.18-3.67 0-1.72 1.39-2.84 3.11-3.21V4h2.67v1.95c1.86.45 2.79 1.86 2.85 3.39H14.3c-.05-1.11-.64-1.87-2.22-1.87-1.5 0-2.4.68-2.4 1.64 0 .84.65 1.39 2.67 1.91s4.18 1.39 4.18 3.91c-.01 1.83-1.38 2.83-3.12 3.16z"}))},patreon:function(e){const t=e.size||"18px";return a.A.createElement("svg",{viewBox:"0 0 24 24",fill:"#FFFFFF",style:{width:t,height:t},onClick:e.onClick},a.A.createElement("path",{d:"m0 .5h4.219v23h-4.219z"}),a.A.createElement("path",{d:"m15.384.5c-4.767 0-8.644 3.873-8.644 8.633 0 4.75 3.877 8.61 8.644 8.61 4.754 0 8.616-3.865 8.616-8.61 0-4.759-3.863-8.633-8.616-8.633z"}))}},B={pushLayer(e){m.A.Dispatcher.dispatch({type:"LAYER_PUSH",component:e})},popLayer(){m.A.Dispatcher.dispatch({type:"LAYER_POP"})},popAllLayers(){m.A.Dispatcher.dispatch({type:"LAYER_POP_ALL"})}},R=c.A.getByProps("getCurrentUser"),O=c.A.getByProps("getDMFromUserId"),U=c.A.getByProps("openPrivateChannel"),H=c.A.getByProps("selectPrivateChannel"),W=e=>"string"==typeof e?e:e.toString();function V(e,t,n,{isControl:o=!1,danger:r=!1,disabled:i=!1}={}){const s=o?"button":"div";return a.A.createElement(m.A.Tooltip,{color:"primary",position:"top",text:e},(e=>a.A.createElement(s,M({},e,{className:(o?"bd-button bd-button-filled bd-addon-button":"bd-addon-button")+(r?" bd-button-color-red":o?" bd-button-color-brand":"")+(i?" bd-button-disabled":""),onClick:n,disabled:i}),t)))}function _({addon:e,prefix:t,type:n,disabled:o,enabled:i,onChange:l,hasSettings:d,editAddon:c,deleteAddon:u,getSettingsPanel:p}){const[h,g]=j(i);I((()=>{const n=t=>{e.id===t.id&&g(!0)},o=t=>{e.id===t.id&&g(!1)};return s.A.on(`${t}-enabled`,n),s.A.on(`${t}-disabled`,o),()=>{s.A.off(`${t}-enabled`,n),s.A.off(`${t}-disabled`,o)}}),[t,e]);const b=P((()=>{l&&l(e.id)}),[e.id,l]),v=P((()=>{if(!d||!h)return;const t=W(e.name);try{f.A.showAddonSettingsModal(t,p())}catch(e){S.A.show(r.A.Addons.settingsError.format({name:t}),{type:"error"}),A.A.stacktrace("Addon Settings","Unable to get settings panel for "+t+".",e)}}),[d,h,e.name,p]),y=P((()=>{if(!e.authorId)return;if(B&&B.popLayer(),!(R&&H&&O&&U))return;const t=R.getCurrentUser().id;if(t==e.authorId)return;const n=O.getDMFromUserId(e.authorId);if(n)return H.selectPrivateChannel(n);U.openPrivateChannel(t,e.authorId)}),[e.authorId]),C=L((()=>{const t=r.A.Addons.byline.split(/({{[A-Za-z]+}})/),n=e.authorLink||e.authorId?a.A.createElement("a",{className:"bd-link bd-link-website",href:e.authorLink||null,onClick:y,target:"_blank",rel:"noopener noreferrer"},W(e.author)):a.A.createElement("span",{className:"bd-author"},W(e.author)),o=t.findIndex((e=>"{{author}}"==e));return o&&(t[o]=n),[a.A.createElement("div",{className:"bd-name"},W(e.name)),a.A.createElement("div",{className:"bd-meta"},a.A.createElement("span",{className:"bd-version"},"v",W(e.version)),t)]}),[e.name,e.version,e.authorLink,e.authorId,e.author,y]),M=L((()=>{const t=Object.keys(F).map((t=>function(e,t){if(!t)return null;const n=a.A.createElement(F[e]),o=a.A.createElement("a",{className:"bd-link bd-link-website",href:t,target:"_blank",rel:"noopener noreferrer"},n);return"invite"==e&&(o.props.onClick=function(e){var n;e.preventDefault(),e.stopPropagation();let o=t;const a=/\.gg\/(.*)$/;a.test(o)&&(o=o.match(a)[1]),B.popLayer(),null===(n=m.A.InviteActions)||void 0===n||n.acceptInviteAndTransitionToInviteChannel({inviteKey:o})}),V(r.A.Addons[e],o)}(t,e[t]))).filter((e=>e));return a.A.createElement("div",{className:"bd-footer"},a.A.createElement("span",{className:"bd-links"},t),a.A.createElement("div",{className:"bd-controls"},d&&V(r.A.Addons.addonSettings,a.A.createElement(z,{size:"20px"}),v,{isControl:!0,disabled:!h}),c&&V(r.A.Addons.editAddon,a.A.createElement(x.A,{size:"20px"}),c,{isControl:!0}),u&&V(r.A.Addons.deleteAddon,a.A.createElement(E,{size:"20px"}),u,{isControl:!0,danger:!0})))}),[d,c,u,e,h,v]);return a.A.createElement("div",{id:`${e.id}-card`,className:"bd-addon-card"+(o?" bd-addon-card-disabled":"")},a.A.createElement("div",{className:"bd-addon-header"},"plugin"===n?a.A.createElement(D.A,{size:"18px",className:"bd-icon"}):a.A.createElement(T.A,{size:"18px",className:"bd-icon"}),a.A.createElement("div",{className:"bd-title"},C),a.A.createElement(k.A,{internalState:!1,disabled:o,checked:h,onChange:b})),a.A.createElement("div",{className:"bd-description-wrap"},o&&a.A.createElement("div",{className:"banner banner-danger"},a.A.createElement(N,{className:"bd-icon"}),`An error was encountered while trying to load this ${n}.`),a.A.createElement("div",{className:"bd-description"},w.A.parseToReact(W(e.description)))),M)}function q(e){const t=e.size||"16px";return a.A.createElement("svg",{className:e.className||"",fill:"currentColor",viewBox:"0 0 24 24",style:{width:t,height:t}},a.A.createElement("path",{d:"M8.12 9.29L12 13.17l3.88-3.88c.39-.39 1.02-.39 1.41 0 .39.39.39 1.02 0 1.41l-4.59 4.59c-.39.39-1.02.39-1.41 0L6.7 10.7c-.39-.39-.39-1.02 0-1.41.39-.38 1.03-.39 1.42 0z"}))}const{useState:Z,useCallback:$}=a.A;function K({value:e,options:t,style:n,onChange:o}){const[r,i]=Z(e??t[0].value),s=$((e=>{null==o||o(e),i(e)}),[o]),l=$((()=>{c(!1),document.removeEventListener("click",l)}),[]),[d,c]=Z(!1),u=$((e=>{e.preventDefault(),e.stopPropagation();const t=!d;c(t),t&&document.addEventListener("click",l)}),[l,d]),m=t.find((e=>e.value==r))??t[0],p=a.A.createElement("div",{className:"bd-select-options"},t.map((e=>a.A.createElement("div",{className:"bd-select-option"+(m.value==e.value?" selected":""),onClick:()=>s(e.value)},e.label)))),h="transparent"==n?" bd-select-transparent":"",g=d?" menu-open":"";return a.A.createElement("div",{className:`bd-select${h}${g}`,onClick:u},a.A.createElement("div",{className:"bd-select-value"},m.label),a.A.createElement(q,{className:"bd-select-arrow"}),d&&p)}var G=n(119);function J(e){const t=e.size||"16px";return a.A.createElement("svg",{className:e.className||"",fill:"#FFFFFF",viewBox:"0 0 24 24",style:{width:t,height:t}},a.A.createElement("path",{fill:"none",d:"M0 0h24v24H0V0z"}),a.A.createElement("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"}))}const{useState:Y,useEffect:Q,useCallback:X,useRef:ee}=a.A;function te({onChange:e,className:t,onKeyDown:n,placeholder:o}){const r=ee(null),[i,s]=Y("");Q((()=>{r.current&&r.current.focus()}),[]);const l=X((t=>{null==e||e(t),s(t.target.value)}),[e]),d=X((()=>{null==e||e({target:{value:""}}),s(""),r.current&&r.current.focus()}),[e,r]);return a.A.createElement("div",{className:"bd-search-wrapper"+(t?` ${t}`:"")},a.A.createElement("input",{onChange:l,onKeyDown:n,type:"text",className:"bd-search",placeholder:o,maxLength:"50",value:i,ref:r}),!i&&a.A.createElement(J,null),i&&a.A.createElement(b.Ay,{look:b.Ay.Looks.BLANK,color:b.Ay.Colors.TRANSPARENT,size:b.Ay.Sizes.NONE,onClick:d},a.A.createElement(G.A,{size:"16px"})))}var ne=n(9716);function oe(e){const t=e.size||"20px";return a.A.createElement("svg",{viewBox:"2 2 20 20",fill:"#FFFFFF",style:{width:t,height:t}},a.A.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),a.A.createElement("path",{d:"M4 18h17v-6H4v6zM4 5v6h17V5H4z"}))}function ae(e){const t=e.size||"20px";return a.A.createElement("svg",{viewBox:"2 2 20 20",fill:"#FFFFFF",style:{width:t,height:t}},a.A.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),a.A.createElement("path",{d:"M4 11h5V5H4v6zm0 7h5v-6H4v6zm6 0h5v-6h-5v6zm6 0h5v-6h-5v6zm-6-7h5V5h-5v6zm6-6v6h5V5h-5z"}))}function re(e){const t=e.size||"20px";return a.A.createElement("svg",{className:e.className||"",fill:"#FFFFFF",viewBox:"0 0 24 24",style:{width:t,height:t},onClick:e.onClick},a.A.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),a.A.createElement("path",{d:"M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z"}))}var ie=n(8635);function se(e){const t=e.size||"160px";return a.A.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",style:{width:t,height:t},viewBox:"0 0 160 160"},a.A.createElement("g",{fill:"none",fillRule:"evenodd"},a.A.createElement("g",{transform:"translate(9 9)"},a.A.createElement("path",{fill:"rgba(0,0,0,0.1)",d:"M42.1262,100.7598 C25.1382,83.7718 25.1382,56.2288 42.1262,39.2408 C59.1142,22.2538 86.6572,22.2538 103.6452,39.2408 C120.6322,56.2288 120.6322,83.7718 103.6452,100.7598 C86.6572,117.7478 59.1142,117.7478 42.1262,100.7598"}),a.A.createElement("path",{stroke:"#1E2126",strokeWidth:"2",d:"M121.8938,119.4976 C94.5578,146.8346 50.2358,146.8346 22.8988,119.4976 C-4.4382,92.1616 -4.4382,47.8396 22.8988,20.5026 C50.2358,-6.8334 94.5578,-6.8344 121.8938,20.5026 C149.2308,47.8396 149.2308,92.1616 121.8938,119.4976 Z",strokeLinecap:"round",strokeLinejoin:"round",strokeDasharray:"4 5"}),a.A.createElement("path",{fill:"#C9D2F0",d:"M1.8313,140.566 L1.8313,140.566 C-0.6097,138.125 -0.6097,134.166 1.8313,131.725 L38.6023,94.954 L47.4433,103.795 L10.6723,140.566 C8.2303,143.007 4.2723,143.007 1.8313,140.566"}),a.A.createElement("path",{stroke:"#1E2126",strokeWidth:"2",d:"M1.8313,140.566 L1.8313,140.566 C-0.6097,138.125 -0.6097,134.166 1.8313,131.725 L38.6023,94.954 L47.4433,103.795 L10.6723,140.566 C8.2303,143.007 4.2723,143.007 1.8313,140.566 Z",strokeLinecap:"round",strokeLinejoin:"round"}),a.A.createElement("path",{fill:"#9F7373",d:"M12.1457,139.0923 L3.3047,130.2513 C1.6767,128.6233 1.6767,125.9853 3.3047,124.3573 L20.7417,106.9203 C22.3687,105.2923 25.0077,105.2923 26.6357,106.9203 L35.4767,115.7613 C37.1037,117.3893 37.1037,120.0283 35.4767,121.6553 L18.0397,139.0923 C16.4127,140.7193 13.7727,140.7193 12.1457,139.0923"}),a.A.createElement("path",{stroke:"#1E2126",strokeWidth:"2",d:"M12.1457,139.0923 L3.3047,130.2513 C1.6767,128.6233 1.6767,125.9853 3.3047,124.3573 L20.7417,106.9203 C22.3687,105.2923 25.0077,105.2923 26.6357,106.9203 L35.4767,115.7613 C37.1037,117.3893 37.1037,120.0283 35.4767,121.6553 L18.0397,139.0923 C16.4127,140.7193 13.7727,140.7193 12.1457,139.0923 Z",strokeLinecap:"round",strokeLinejoin:"round"}),a.A.createElement("path",{fill:"#F3F9FF",d:"M44.112,98.2847 C28.491,82.6637 28.491,57.3377 44.112,41.7167 C59.733,26.0957 85.06,26.0957 100.681,41.7157 C116.302,57.3367 116.302,82.6637 100.681,98.2847 C85.06,113.9057 59.733,113.9057 44.112,98.2847 M108.007,34.3897 C88.34,14.7227 56.453,14.7227 36.786,34.3897 C17.119,54.0567 17.119,85.9437 36.786,105.6107 C56.453,125.2777 88.34,125.2777 108.007,105.6107 C127.674,85.9437 127.674,54.0567 108.007,34.3897"}),a.A.createElement("path",{stroke:"#1E2126",strokeWidth:"2",d:"M116.386 94.545C115.853 95.498 115.287 96.438 114.688 97.362M108.0071 105.6109C88.3401 125.2779 56.4531 125.2779 36.7861 105.6109 17.1191 85.9439 17.1191 54.0569 36.7861 34.3899 56.4531 14.7229 88.3401 14.7229 108.0071 34.3899 122.7701 49.1529 126.4511 70.7999 119.0511 88.9969",strokeLinecap:"round",strokeLinejoin:"round"}),a.A.createElement("path",{stroke:"#1E2126",strokeWidth:"2",d:"M44.112,98.2847 C28.491,82.6637 28.491,57.3377 44.112,41.7167 C59.733,26.0957 85.06,26.0957 100.681,41.7157 C116.302,57.3367 116.302,82.6637 100.681,98.2847 C85.06,113.9057 59.733,113.9057 44.112,98.2847 Z",strokeLinecap:"round",strokeLinejoin:"round"})),a.A.createElement("rect",{width:"160",height:"160",y:"-1"})))}function le(e){return a.A.createElement("div",{className:"bd-empty-results"+(e.className?` ${e.className}`:"")},a.A.createElement(se,null),a.A.createElement("div",{className:"bd-empty-results-text"},e.text||m.A.Strings.SEARCH_NO_RESULTS||""))}const de=c.A.getByProps("emptyImage","emptyHeader")??{emptyContainer:"emptyContainer-poti7J",emptyImage:"emptyImage-2pCD2j",emptyHeader:"emptyHeader-2cxTFP"};function ce(e){return a.A.createElement("div",{className:`bd-empty-image-container ${de.emptyContainer}`+(e.className?` ${e.className}`:"")},a.A.createElement("div",{className:`bd-empty-image ${de.emptyImage}`}),a.A.createElement("div",{className:`bd-empty-image-header ${de.emptyHeader}`},e.title||"You don't have anything!"),a.A.createElement("div",{className:"bd-empty-image-message"},w.A.parseToReact(e.message||"You should probably get something.")),e.children)}function ue(){return ue=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},ue.apply(this,arguments)}const{useState:me,useCallback:pe,useEffect:he,useReducer:ge,useMemo:be}=a.A;function fe(e){v.A.openPath(e)}function ve(e,t){const n=r.A.Addons.blankSlateMessage.format({link:`https://betterdiscord.app/${e}s`,type:e}).toString();return a.A.createElement(ce,{title:r.A.Addons.blankSlateHeader.format({type:e}),message:n},a.A.createElement(b.Ay,{size:b.Ay.Sizes.LARGE,onClick:t},r.A.Addons.openFolder.format({type:e})))}function ye(e,t,n){return a.A.createElement(m.A.Tooltip,{color:"primary",position:"top",text:e},(e=>a.A.createElement(b.Ay,ue({},e,{size:b.Ay.Sizes.NONE,look:b.Ay.Looks.BLANK,className:"bd-button",onClick:n}),t)))}function Ae(e,t,n,o=!1){return a.A.createElement(m.A.Tooltip,{color:"primary",position:"top",text:e},(e=>a.A.createElement(b.Ay,ue({},e,{size:b.Ay.Sizes.NONE,look:b.Ay.Looks.BLANK,className:"bd-button bd-view-button"+(o?" selected":""),onClick:n}),t)))}function we(e,t,n){const o=d.A.getBDData("addonlistControls")||{};return o[e]&&o[e].hasOwnProperty(t)?o[e][t]:n}function ke(e,t,n){const o=d.A.getBDData("addonlistControls")||{};o[e]||(o[e]={}),o[e][t]=n,d.A.setBDData("addonlistControls",o)}function Se(e,t){return function(n){if(n.shiftKey)return e();f.A.showConfirmationModal(r.A.Modals.confirmAction,r.A.Addons.enableAllWarning.format({type:t.toLocaleLowerCase()}),{confirmText:r.A.Modals.okay,cancelText:r.A.Modals.cancel,danger:!0,onConfirm:e})}}function xe({prefix:e,type:t,title:n,folder:o,addonList:i,addonState:l,onChange:d,reload:c,editAddon:u,deleteAddon:m,enableAll:p,disableAll:h}){const[g,b]=me(""),[v,A]=me(we.bind(null,t,"sort","name")),[w,k]=me(we.bind(null,t,"ascending",!0)),[S,x]=me(we.bind(null,t,"view","list")),[E,z]=ge((e=>e+1),0);he((()=>(s.A.on(`${e}-loaded`,z),s.A.on(`${e}-unloaded`,z),()=>{s.A.off(`${e}-loaded`,z),s.A.off(`${e}-unloaded`,z)})),[e]);const C=pe((e=>{ke(t,"view",e),x(e)}),[t]),D=pe((()=>C("list")),[C]),N=pe((()=>C("grid")),[C]),T=pe((e=>{ke(t,"ascending",e),k(e)}),[t]),M=pe((e=>{ke(t,"sort",e),A(e)}),[t]),j=pe((e=>b(e.target.value.toLocaleLowerCase())),[]),P=pe((e=>null==u?void 0:u(e)),[u]),L=pe((async e=>{const t=i.find((t=>t.id==e)),n=await function(e){return new Promise((t=>{f.A.showConfirmationModal(r.A.Modals.confirmAction,r.A.Addons.confirmDelete.format({name:e.name}),{danger:!0,confirmText:r.A.Addons.deleteAddon,onConfirm:()=>{t(!0)},onCancel:()=>{t(!1)}})}))}(t);n&&m&&m(t)}),[i,m]),I=be((()=>{let n=i.sort(((e,t)=>{const n="isEnabled"===v,o=n?l[e.id]:e[v],a=n?l[t.id]:t[v],r=(e,t)=>e.toLocaleLowerCase().localeCompare(t.toLocaleLowerCase());return"string"==typeof o?r(o,a):"boolean"==typeof o?o===a?r(e.name,t.name):o?-1:1:o>a?1:a>o?-1:0}));return w||n.reverse(),g&&(n=n.filter((e=>{let t=e.name.toLocaleLowerCase().includes(g);return t=t||e.author.toLocaleLowerCase().includes(g),t=t||e.description.toLocaleLowerCase().includes(g),!!t}))),n.map((n=>{const o=n.instance&&"function"==typeof n.instance.getSettingsPanel,r=o&&n.instance.getSettingsPanel.bind(n.instance);return a.A.createElement(ne.A,null,a.A.createElement(_,{disabled:n.partial,type:t,prefix:e,editAddon:()=>P(n.id),deleteAddon:()=>L(n.id),key:n.id,enabled:l[n.id],addon:n,onChange:d,reload:c,hasSettings:o,getSettingsPanel:r}))}))}),[i,l,d,c,L,P,t,e,v,w,g,E]),F=0!==i.length,B=!!g,R=0!==I.length;return[a.A.createElement(y.A,{key:"title",text:B?`${n} - ${r.A.Addons.results.format({count:`${I.length}`})}`:n},a.A.createElement(te,{onChange:j,placeholder:`${r.A.Addons.search.format({type:`${I.length} ${n}`})}...`})),a.A.createElement("div",{className:"bd-controls bd-addon-controls"},a.A.createElement("div",{className:"bd-controls-basic"},ye(r.A.Addons.openFolder.format({type:n}),a.A.createElement(re,null),fe.bind(null,o)),ye(r.A.Addons.enableAll,a.A.createElement(ie.A,{size:"20px"}),Se(p,n)),ye(r.A.Addons.disableAll,a.A.createElement(G.A,{size:"20px"}),h)),a.A.createElement("div",{className:"bd-controls-advanced"},a.A.createElement("div",{className:"bd-addon-dropdowns"},a.A.createElement("div",{className:"bd-select-wrapper"},a.A.createElement("label",{className:"bd-label"},r.A.Sorting.sortBy,":"),a.A.createElement(K,{options:[{label:r.A.Addons.name,value:"name"},{label:r.A.Addons.author,value:"author"},{label:r.A.Addons.version,value:"version"},{label:r.A.Addons.added,value:"added"},{label:r.A.Addons.modified,value:"modified"},{label:r.A.Addons.isEnabled,value:"isEnabled"}],value:v,onChange:M,style:"transparent"})),a.A.createElement("div",{className:"bd-select-wrapper"},a.A.createElement("label",{className:"bd-label"},r.A.Sorting.order,":"),a.A.createElement(K,{options:[{label:r.A.Sorting.ascending,value:!0},{label:r.A.Sorting.descending,value:!1}],value:w,onChange:T,style:"transparent"}))),a.A.createElement("div",{className:"bd-addon-views"},Ae(r.A.Addons.listView,a.A.createElement(oe,null),D,"list"===S),Ae(r.A.Addons.gridView,a.A.createElement(ae,null),N,"grid"===S)))),!F&&ve(t,(()=>fe(o))),B&&!R&&F&&a.A.createElement(le,null),F&&a.A.createElement("div",{key:"addonList",className:"bd-addon-list"+("grid"==S?" bd-grid-view":"")},I)]}var Ee=n(9977);const{useState:ze,useCallback:Ce}=a.A;function De({value:e,min:t,max:n,step:o,onChange:r}){const[i,s]=ze(e),l=Ce((e=>{null==r||r(e.target.value),s(e.target.value)}),[r]);return a.A.createElement("input",{onChange:l,type:"number",className:"bd-number-input",min:t,max:n,step:o,value:i})}var Ne=n(7506);const{useState:Te,useCallback:Me}=a.A;function je({value:e,maxLength:t,placeholder:n,onKeyDown:o,onChange:r}){const[i,s]=Te(e),l=Me((e=>{null==r||r(e.target.value),s(e.target.value)}),[r]);return a.A.createElement("input",{onChange:l,onKeyDown:o,type:"text",className:"bd-text-input",placeholder:n,maxLength:t,value:i})}const{useState:Pe,useCallback:Le}=a.A;function Ie({value:e,min:t,max:n,step:o,onChange:r}){const[i,s]=Pe(e),l=Le((e=>{null==r||r(e.target.value),s(e.target.value)}),[r]);return a.A.createElement("div",{className:"bd-slider-wrap"},a.A.createElement("div",{className:"bd-slider-label"},i),a.A.createElement("input",{onChange:l,type:"range",className:"bd-slider-input",min:t,max:n,step:o,value:i,style:{backgroundSize:100*(i-t)/(n-t)+"% 100%"}}))}function Fe(e){const t=e.size||"24px";return a.A.createElement("svg",{className:e.className,viewBox:"0 0 24 24",fill:"#FFFFFF",style:{width:t,height:t}},a.A.createElement("path",{fill:"none",d:"M0 0h24v24H0z"}),e.checked&&a.A.createElement("path",{d:"M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm0-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),!e.checked&&a.A.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}))}const{useState:Be,useCallback:Re}=a.A;function Oe({name:e,value:t,options:n,onChange:o}){const[r,i]=Be(n.findIndex((e=>e.value===t))),s=Re((e=>{const t=parseInt(e.target.value),a=n[t].value;null==o||o(a),i(t)}),[n,o]);return a.A.createElement("div",{className:"bd-radio-group"},n.map((function(t,n){const o=r===n;return a.A.createElement("label",{className:"bd-radio-option"+(o?" bd-radio-selected":"")},a.A.createElement("input",{onChange:s,type:"radio",name:e,checked:o,value:n}),a.A.createElement(Fe,{className:"bd-radio-icon",size:"24",checked:o}),a.A.createElement("div",{className:"bd-radio-label-wrap"},a.A.createElement("div",{className:"bd-radio-label"},t.name),a.A.createElement("div",{className:"bd-radio-description"},t.desc||t.description)))})))}function Ue(e){const t=e.size||"24px";return a.A.createElement("svg",{className:e.className,viewBox:"0 0 24 24",fill:"#FFFFFF",style:{width:t,height:t}},a.A.createElement("path",{d:"M20 5H4c-1.1 0-1.99.9-1.99 2L2 17c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm-9 3h2v2h-2V8zm0 3h2v2h-2v-2zM8 8h2v2H8V8zm0 3h2v2H8v-2zm-1 2H5v-2h2v2zm0-3H5V8h2v2zm9 7H8v-2h8v2zm0-4h-2v-2h2v2zm0-3h-2V8h2v2zm3 3h-2v-2h2v2zm0-3h-2V8h2v2z"}),a.A.createElement("path",{fill:"none",d:"M0 0h24v24H0zm0 0h24v24H0z"}))}const{useState:He,useCallback:We,useEffect:Ve}=a.A;function _e({value:e,onChange:t,max:n=2,clearable:o=!0}){const[r,i]=He({value:e,isRecording:!1,accum:[]});Ve((()=>(window.addEventListener("keydown",s,!0),()=>window.removeEventListener("keydown",s,!0))));const s=We((e=>{r.isRecording&&(e.stopImmediatePropagation(),e.stopPropagation(),e.preventDefault(),e.repeat||r.accum.includes(e.key)||(r.accum.push(e.key),r.accum.length==n&&(t&&t(r.accum),i({value:r.accum.slice(0),isRecording:!1,accum:[]}))))}),[r,n,t]),l=We((e=>{e.stopPropagation(),e.preventDefault(),t&&t([]),i({...r,isRecording:!1,value:[],accum:[]})}),[t,r]),d=We((e=>{var t,n,o;if(null!==(t=e.target)&&void 0!==t&&null!==(t=t.className)&&void 0!==t&&null!==(n=t.includes)&&void 0!==n&&n.call(t,"bd-keybind-clear")||null!==(o=e.target)&&void 0!==o&&null!==(o=o.closest(".bd-button"))&&void 0!==o&&null!==(o=o.className)&&void 0!==o&&o.includes("bd-keybind-clear"))return l(e);i({...r,isRecording:!r.isRecording})}),[r,l]),c=r.isRecording?"Recording...":r.value.length?r.value.join(" + "):"N/A";return a.A.createElement("div",{className:"bd-keybind-wrap"+(r.isRecording?" recording":""),onClick:d},a.A.createElement("input",{readOnly:!0,type:"text",className:"bd-keybind-input",value:c}),a.A.createElement("div",{className:"bd-keybind-controls"},a.A.createElement(b.Ay,{size:b.Ay.Sizes.ICON,look:b.Ay.Looks.FILLED,color:r.isRecording?b.Ay.Colors.RED:b.Ay.Colors.BRAND,className:"bd-keybind-record",onClick:d},a.A.createElement(Ue,{size:"24px"})),o&&a.A.createElement(b.Ay,{size:b.Ay.Sizes.ICON,look:b.Ay.Looks.BLANK,onClick:l,className:"bd-keybind-clear"},a.A.createElement(G.A,{size:"24px"}))))}function qe(){return qe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},qe.apply(this,arguments)}const{useState:Ze,useCallback:$e}=a.A,Ke=a.A.memo((e=>a.A.createElement("svg",qe({width:"16",height:"16",viewBox:"0 0 24 24"},e),a.A.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",fill:e.color??"#fff",d:"M8.99991 16.17L4.82991 12L3.40991 13.41L8.99991 19L20.9999 7.00003L19.5899 5.59003L8.99991 16.17Z"})))),Ge=a.A.memo((e=>a.A.createElement("svg",qe({width:"14",height:"14",viewBox:"0 0 16 16"},e),a.A.createElement("g",{fill:"none"},a.A.createElement("path",{d:"M-4-4h24v24H-4z"}),a.A.createElement("path",{fill:e.color??"#fff",d:"M14.994 1.006C13.858-.257 11.904-.3 10.72.89L8.637 2.975l-.696-.697-1.387 1.388 5.557 5.557 1.387-1.388-.697-.697 1.964-1.964c1.13-1.13 1.3-2.985.23-4.168zm-13.25 10.25c-.225.224-.408.48-.55.764L.02 14.37l1.39 1.39 2.35-1.174c.283-.14.54-.33.765-.55l4.808-4.808-2.776-2.776-4.813 4.803z"}))))),Je=[1752220,3066993,3447003,10181046,15277667,15844367,15105570,15158332,9807270,6323595,1146986,2067276,2123412,7419530,11342935,12745742,11027200,10038562,9936031,5533306],Ye=(e,t=!0)=>{switch(typeof e){case t&&"number":return`#${e.toString(16)}`;case!t&&"string":return Number.parseInt(e.replace("#",""),16);default:return e}},Qe=e=>{const t="string"==typeof e?(e=>{let t=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(e);return t?[parseInt(t[1]),parseInt(t[2]),parseInt(t[3])]:(t=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)%\s*,\s*([0-9]+(?:\.[0-9]+)?)%\s*,\s*([0-9]+(?:\.[0-9]+)?)%\s*\)/.exec(e),t?[2.55*parseFloat(t[1]),2.55*parseFloat(t[2]),2.55*parseFloat(t[3])]:(t=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(e),t?[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]:(t=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(e),t?[parseInt(t[1]+t[1],16),parseInt(t[2]+t[2],16),parseInt(t[3]+t[3],16)]:void 0)))})(e):e;return.2126*t[0]+.7152*t[1]+.0722*t[2]},Xe=e=>Qe(e)>=165?"#000":"#fff";function et({value:e,onChange:t,colors:n=Je,defaultValue:o}){const[i,s]=Ze(e),l=$e((e=>{null==t||t(Ye(e.target.value)),s(e.target.value)}),[t]),d=Ye(i,!1);return a.A.createElement("div",{className:"bd-color-picker-container"},a.A.createElement("div",{className:"bd-color-picker-controls"},a.A.createElement(m.A.Tooltip,{text:"Default",position:"bottom"},(e=>a.A.createElement("div",qe({},e,{className:"bd-color-picker-default",style:{backgroundColor:Ye(o)},onClick:()=>l({target:{value:o}})}),d===Ye(o,!1)?a.A.createElement(Ke,{width:"25",height:"25"}):null))),a.A.createElement(m.A.Tooltip,{text:r.A.Settings.customColor,position:"bottom"},(e=>a.A.createElement("div",{className:"bd-color-picker-custom"},a.A.createElement(Ge,{color:Xe(Ye(i,!0))}),a.A.createElement("input",qe({},e,{style:{backgroundColor:Ye(i)},type:"color",className:"bd-color-picker",value:Ye(i),onChange:l})))))),a.A.createElement("div",{className:"bd-color-picker-swatch"},n.map(((e,t)=>a.A.createElement("div",{key:t,className:"bd-color-picker-swatch-item",style:{backgroundColor:Ye(e)},onClick:()=>l({target:{value:e}})},d===e?a.A.createElement(Ke,{color:Xe(Ye(i,!0))}):null)))))}const{useCallback:tt}=a.A;function nt({onChange:e,id:t,name:n,button:o,shown:r,onDrawerToggle:i,showDivider:s,collapsible:l,settings:d}){const c=tt(((n,o)=>{t?null==e||e(t,n,o):null==e||e(n,o)}),[t,e]);return a.A.createElement(Ee.A,{collapsible:l,name:n,button:o,shown:r,onDrawerToggle:i,showDivider:s},d.filter((e=>!e.hidden)).map((e=>{let t=null;const n=t=>c(e.id,t);return"dropdown"==e.type&&(t=a.A.createElement(K,{disabled:e.disabled,id:e.id,options:e.options,value:e.value,onChange:n})),"number"==e.type&&(t=a.A.createElement(De,{disabled:e.disabled,id:e.id,min:e.min,max:e.max,step:e.step,value:e.value,onChange:n})),"switch"==e.type&&(t=a.A.createElement(k.A,{disabled:e.disabled,id:e.id,checked:e.value,onChange:n})),"text"==e.type&&(t=a.A.createElement(je,{disabled:e.disabled,id:e.id,value:e.value,onChange:n})),"slider"==e.type&&(t=a.A.createElement(Ie,{disabled:e.disabled,id:e.id,min:e.min,max:e.max,step:e.step,value:e.value,onChange:n})),"radio"==e.type&&(t=a.A.createElement(Oe,{disabled:e.disabled,id:e.id,name:e.id,options:e.options,value:e.value,onChange:n})),"keybind"==e.type&&(t=a.A.createElement(_e,{disabled:e.disabled,id:e.id,value:e.value,max:e.max,onChange:n})),"color"==e.type&&(t=a.A.createElement(et,{disabled:e.disabled,id:e.id,value:e.value,defaultValue:e.defaultValue,colors:e.colors,onChange:n})),t?a.A.createElement(Ne.A,{id:e.id,inline:"radio"!==e.type,key:e.id,name:e.name,note:e.note},t):null})))}var ot=n(6800);function at(e){const t=e.size||"18px";return a.A.createElement("svg",{viewBox:"0 0 24 24",fill:"#FFFFFF",className:e.className||"",style:{width:t,height:t},onClick:e.onClick},a.A.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),a.A.createElement("path",{d:"M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9zm-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8H12z"}))}function rt(){return rt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},rt.apply(this,arguments)}function it(){return a.A.createElement("div",{className:"bd-sidebar-header"},a.A.createElement("h2",{className:"bd-sidebar-header-label"},"BetterDiscord"),a.A.createElement(m.A.Tooltip,{color:"primary",position:"top",text:r.A.Modals.changelog},(e=>a.A.createElement(b.Ay,rt({},e,{className:"bd-changelog-button",look:b.Ay.Looks.BLANK,color:b.Ay.Colors.TRANSPARENT,size:b.Ay.Sizes.NONE,onClick:()=>f.A.showChangelogModal(ot.A)}),a.A.createElement(at,{className:"bd-icon",size:"16px"})))))}function st(e){const t=e.size||"24px";return a.A.createElement("svg",{className:e.className||"",fill:"#FFFFFF",viewBox:"0 0 24 24",style:{width:t,height:t},onClick:e.onClick},a.A.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),a.A.createElement("path",{d:"M14 12c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2zm-2-9c-4.97 0-9 4.03-9 9H0l4 4 4-4H5c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.51 0-2.91-.49-4.06-1.3l-1.42 1.44C8.04 20.3 9.94 21 12 21c4.97 0 9-4.03 9-9s-4.03-9-9-9z"}))}var lt=n(4279);function dt(){return dt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},dt.apply(this,arguments)}function ct(e,t){const n=function(e){return()=>{f.A.showConfirmationModal(r.A.Modals.confirmAction,r.A.Settings.resetSettingsWarning,{confirmText:r.A.Modals.okay,cancelText:r.A.Modals.cancel,danger:!0,onConfirm:e})}}((()=>{l.A.resetCollection(e),null==t||t()}));return a.A.createElement(m.A.Tooltip,{color:"primary",position:"top",text:r.A.Settings.resetSettings},(e=>a.A.createElement(b.Ay,dt({},e,{size:b.Ay.Sizes.ICON,look:b.Ay.Looks.BLANK,color:b.Ay.Colors.TRANSPARENT,onClick:n}),a.A.createElement(st,null))))}function ut(e){return"theme"===e?{total:h.A.addonList.length,enabled:h.A.addonList.filter((e=>h.A.isEnabled(e.id))).length}:"plugin"===e?{total:p.A.addonList.length,enabled:p.A.addonList.filter((e=>p.A.isEnabled(e.id))).length}:{total:0,enabled:0}}const mt=new class{constructor(){this.patchSections(),this.patchVersionInformation(),s.A.on("strings-updated",this.forceUpdate)}onDrawerToggle(e,t,n){const o=d.A.getBDData("drawerStates")||{};o[e]||(o[e]={}),o[e][t]=n,d.A.setBDData("drawerStates",o)}getDrawerState(e,t,n){const o=d.A.getBDData("drawerStates")||{};return o[e]&&o[e].hasOwnProperty(t)?o[e][t]:n}onChange(e){return(t,n,o)=>{e(t,n,o),setTimeout(this.forceUpdate.bind(this),250)}}buildSettingsPanel(e,t,n,o,a){return n.forEach((e=>{e.settings.forEach((t=>t.value=o[e.id][t.id]))})),this.getSettingsPanel(e,t,n,this.onChange(a))}getSettingsPanel(e,t,n,o){return[a.A.createElement(y.A,{text:t},ct(e,this.forceUpdate.bind(this))),n.map((t=>a.A.createElement(nt,Object.assign({},t,{onChange:o,onDrawerToggle:n=>this.onDrawerToggle(e,t.id,n),shown:this.getDrawerState(e,t.id,!t.hasOwnProperty("shown")||t.shown)}))))]}getAddonPanel(e,t,n,o={}){return()=>a.A.createElement(xe,Object.assign({},{title:e,addonList:t,addonState:n},o))}async patchSections(){const e=await c.A.getLazy(c.C.byPrototypeKeys(["getPredicateSections"]));u.A.after("SettingsManager",e.prototype,"getPredicateSections",((e,t,n)=>{let o=n.findIndex((e=>"changelog"==e.section.toLowerCase()))-1;if(o<0)return;const a=e=>{n.splice(o,0,e),o++};a({section:"DIVIDER"}),a({section:"CUSTOM",element:it});for(const e of l.A.collections)e.disabled||a({section:e.name,label:e.name.toString(),className:`bd-${e.id}-tab`,element:()=>this.buildSettingsPanel(e.id,e.name,e.settings,l.A.state[e.id],l.A.onSettingChange.bind(l.A,e.id))});for(const t of l.A.panels.sort(((e,t)=>e.order>t.order?1:-1)))t.clickListener&&(t.onClick=o=>t.clickListener(e,o,n)),t.className||(t.className=`bd-${t.id}-tab`),"string"!=typeof t.label&&(t.label=t.label.toString()),a(t)}))}async patchVersionInformation(){const e=await c.A.getLazy(c.C.byStrings("RELEASE_CHANNEL","COPY_VERSION"),{defaultExport:!1});null!=e&&e.default&&u.A.after("SettingsManager",e,"default",((e,t,n)=>{var i,l;const d=null==n||null===(i=n.props)||void 0===i?void 0:i.copyValue,c=null==n||null===(l=n.props)||void 0===l||null===(l=l.children)||void 0===l||null===(l=l.props)||void 0===l?void 0:l.children;if(!Array.isArray(c)||!d)return;const[u,m]=a.A.useState(ut("plugin")),[g,b]=a.A.useState(ut("theme"));a.A.useEffect((()=>{const e=[m,b],t={},n=["plugin","theme"],o=["enabled","disabled","loaded","unloaded"];for(let a=0;a<n.length;a++){t[n[a]]=()=>e[a](ut(n[a]));for(let e=0;e<o.length;e++)s.A.on(`${n[a]}-${o[e]}`,t[n[a]])}return()=>{for(let e=0;e<n.length;e++)for(let a=0;a<o.length;a++)s.A.off(`${n[e]}-${o[a]}`,t[n[e]])}}),[]),Object.assign(n.props,{get copyValue(){return function(e,t,n){const a=["```md",`## Discord Info\n${e}\n`];return a.push("## BetterDiscord"),a.push(`stable ${o.A.version}\n`),a.push(`### Plugins (${t} Enabled):\n${p.A.addonList.map((e=>`- ${e.name}${p.A.isEnabled(e.id)?" (Enabled)":""}`)).join("\n")}\n`),a.push(`### Themes (${n} Enabled):\n${h.A.addonList.map((e=>`- ${e.name}${h.A.isEnabled(e.id)?" (Enabled)":""}`)).join("\n")}`),a.push("```"),a.join("\n")}(d,u.enabled,g.enabled)}}),c.push(a.A.createElement(lt.Ay,{color:lt.Ay.Colors.MUTED,size:lt.Ay.Sizes.SIZE_12},"BetterDiscord ",o.A.version)),c.push(a.A.createElement(lt.Ay,{color:lt.Ay.Colors.MUTED,size:lt.Ay.Sizes.SIZE_12},r.A.Panels.plugins," ",u.total," (",u.enabled," ",r.A.Addons.isEnabled,")")),c.push(a.A.createElement(lt.Ay,{color:lt.Ay.Colors.MUTED,size:lt.Ay.Sizes.SIZE_12},r.A.Panels.themes," ",g.total," (",g.enabled," ",r.A.Addons.isEnabled,")"))}))}forceUpdate(){var e;const t=null===(e=c.A.getByProps("standardSidebarView"))||void 0===e?void 0:e.standardSidebarView.split(" ")[0],n=document.querySelector(`.${t}`);if(!n)return;const o=i.A.findInTree(g.A.getInternalInstance(n),(e=>e&&e.getPredicateSections),{walkable:["return","stateNode"]});o&&o.forceUpdate()}}},7506:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var o=n(8820);function a({id:e,name:t,note:n,inline:a,children:r}){return o.A.createElement("div",{className:"bd-setting-item"+(a?" inline":"")},o.A.createElement("div",{className:"bd-setting-header"},o.A.createElement("label",{htmlFor:e,className:"bd-setting-title"},t),a&&r),o.A.createElement("div",{className:"bd-setting-note"},n),!a&&r,o.A.createElement("div",{className:"bd-setting-divider"}))}},163:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var o=n(8820);const{useState:a,useCallback:r}=o.A;function i({id:e,checked:t,disabled:n,onChange:i,internalState:s=!0}){const[l,d]=a(t),c=r((()=>{null==i||i(!l),d(!l)}),[l,i]),u=s?l:t,m=n?" bd-switch-disabled":"",p=u?" bd-switch-checked":"";return o.A.createElement("div",{className:"bd-switch"+m+p},o.A.createElement("input",{id:e,type:"checkbox",disabled:n,checked:u,onChange:c}),o.A.createElement("div",{className:"bd-switch-body"},o.A.createElement("svg",{className:"bd-switch-slider",viewBox:"0 0 28 20",preserveAspectRatio:"xMinYMid meet"},o.A.createElement("rect",{className:"bd-switch-handle",fill:"white",x:"4",y:"0",height:"20",width:"20",rx:"10"}),o.A.createElement("svg",{className:"bd-switch-symbol",viewBox:"0 0 20 20",fill:"none"},o.A.createElement("path",null),o.A.createElement("path",null)))))}},9977:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var o=n(8820),a=n(1522),r=n(2719);const{useState:i,useCallback:s,useRef:l}=o.A,d="bd-settings-group";function c({name:e,collapsible:t,shown:n=!0,showDivider:c,children:u,titleChildren:m,onDrawerToggle:p}){const h=l(null),[g,b]=i(t&&!n),f=s((()=>{const e=h.current,t=g?300:1;e.style.setProperty("height",e.scrollHeight+"px"),e.classList.add("animating"),p&&p(g),b(!g),setTimeout((()=>{e.style.setProperty("height",""),e.classList.remove("animating")}),t)}),[g,p]),v=`${d} ${t?"collapsible "+(g?"collapsed":"expanded"):""}`;return o.A.createElement("div",{className:v},o.A.createElement(a.A,{text:e,collapsible:t,onClick:f,isGroup:!0},m),o.A.createElement("div",{className:"bd-settings-container",ref:h},u),c&&o.A.createElement(r.A,null))}},1522:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var o=n(8820),a=n(5306);const{useCallback:r}=o.A,i="bd-settings-title",s="bd-settings-title bd-settings-group-title";function l({isGroup:e,className:t,button:n,onClick:l,text:d,children:c}){const u=r((e=>{var t;e.stopPropagation(),e.preventDefault(),null==n||null===(t=n.onClick)||void 0===t||t.call(n,e)}),[n]),m=e?s:i,p=t?`${m} ${t}`:m;return o.A.createElement("h2",{className:p,onClick:()=>{null==l||l()}},d,n&&o.A.createElement(a.Ay,{className:"bd-button-title",onClick:u,size:a.Ay.Sizes.NONE},n.title),c)}},6766:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var o=n(4312),a=n(7219),r=n(2103),i=n(6672);class s{static get ChannelsClass(){return r.A.getByProps("sidebar","hasNotice").sidebar.split(" ")[0]}static get MembersWrapClass(){return r.A.getByProps("membersWrap").membersWrap.split(" ")[0]}static get shouldShowToasts(){return a.A.get("settings","general","showToasts")}static async success(e,t={}){return this.show(e,Object.assign(t,{type:"success"}))}static async info(e,t={}){return this.show(e,Object.assign(t,{type:"info"}))}static async warning(e,t={}){return this.show(e,Object.assign(t,{type:"warning"}))}static async error(e,t={}){return this.show(e,Object.assign(t,{type:"error"}))}static async default(e,t={}){return this.show(e,Object.assign(t,{type:""}))}static show(e,t={}){try{const{type:n="",icon:o=!0,timeout:a=3e3,forceShow:r=!1}=t;if(!this.shouldShowToasts&&!r)return;this.ensureContainer();const i=document.createElement("div");i.classList.add("bd-toast"),n&&i.classList.add("toast-"+n),n&&o&&i.classList.add("icon"),i.innerText=e,document.querySelector(".bd-toasts").appendChild(i),setTimeout((()=>{i.classList.add("closing"),setTimeout((()=>{i.remove(),document.querySelectorAll(".bd-toasts .bd-toast").length||document.querySelector(".bd-toasts").remove()}),300)}),a)}catch(e){o.A.stacktrace("Toasts","Unable to show toast",e)}}static ensureContainer(){if(document.querySelector(".bd-toasts"))return;const e=document.querySelector(`.${this.ChannelsClass} ~ div:not([style])`),t=e?e.querySelector(`.${this.MembersWrapClass}`):null,n=e?e.querySelector("form"):null,o=e?e.getBoundingClientRect().left:310,a=t?t.getBoundingClientRect().left:0,r=a?a-e.getBoundingClientRect().left:(null==e?void 0:e.offsetWidth)??document.body.offsetWidth/2,s=n?n.offsetHeight:80,l=document.createElement("div");l.classList.add("bd-toasts"),l.style.setProperty("left",o+"px"),l.style.setProperty("width",r+"px"),l.style.setProperty("bottom",s+"px"),i.A.bdBody.appendChild(l)}}},7762:(e,t)=>{"use strict";t.byteLength=function(e){var t=s(e),n=t[0],o=t[1];return 3*(n+o)/4-o},t.toByteArray=function(e){var t,n,r=s(e),i=r[0],l=r[1],d=new a(function(e,t,n){return 3*(t+n)/4-n}(0,i,l)),c=0,u=l>0?i-4:i;for(n=0;n<u;n+=4)t=o[e.charCodeAt(n)]<<18|o[e.charCodeAt(n+1)]<<12|o[e.charCodeAt(n+2)]<<6|o[e.charCodeAt(n+3)],d[c++]=t>>16&255,d[c++]=t>>8&255,d[c++]=255&t;2===l&&(t=o[e.charCodeAt(n)]<<2|o[e.charCodeAt(n+1)]>>4,d[c++]=255&t);1===l&&(t=o[e.charCodeAt(n)]<<10|o[e.charCodeAt(n+1)]<<4|o[e.charCodeAt(n+2)]>>2,d[c++]=t>>8&255,d[c++]=255&t);return d},t.fromByteArray=function(e){for(var t,o=e.length,a=o%3,r=[],i=16383,s=0,d=o-a;s<d;s+=i)r.push(l(e,s,s+i>d?d:s+i));1===a?(t=e[o-1],r.push(n[t>>2]+n[t<<4&63]+"==")):2===a&&(t=(e[o-2]<<8)+e[o-1],r.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"="));return r.join("")};for(var n=[],o=[],a="undefined"!=typeof Uint8Array?Uint8Array:Array,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=0;i<64;++i)n[i]=r[i],o[r.charCodeAt(i)]=i;function s(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function l(e,t,o){for(var a,r,i=[],s=t;s<o;s+=3)a=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]),i.push(n[(r=a)>>18&63]+n[r>>12&63]+n[r>>6&63]+n[63&r]);return i.join("")}o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63},2266:(e,t,n)=>{"use strict";const o=n(7762),a=n(6287),r="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.hp=l,t.IS=50;const i=2147483647;function s(e){if(e>i)throw new RangeError('The value "'+e+'" is invalid for option "size"');const t=new Uint8Array(e);return Object.setPrototypeOf(t,l.prototype),t}function l(e,t,n){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return u(e)}return d(e,t,n)}function d(e,t,n){if("string"==typeof e)return function(e,t){"string"==typeof t&&""!==t||(t="utf8");if(!l.isEncoding(t))throw new TypeError("Unknown encoding: "+t);const n=0|g(e,t);let o=s(n);const a=o.write(e,t);a!==n&&(o=o.slice(0,a));return o}(e,t);if(ArrayBuffer.isView(e))return function(e){if(G(e,Uint8Array)){const t=new Uint8Array(e);return p(t.buffer,t.byteOffset,t.byteLength)}return m(e)}(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(G(e,ArrayBuffer)||e&&G(e.buffer,ArrayBuffer))return p(e,t,n);if("undefined"!=typeof SharedArrayBuffer&&(G(e,SharedArrayBuffer)||e&&G(e.buffer,SharedArrayBuffer)))return p(e,t,n);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');const o=e.valueOf&&e.valueOf();if(null!=o&&o!==e)return l.from(o,t,n);const a=function(e){if(l.isBuffer(e)){const t=0|h(e.length),n=s(t);return 0===n.length||e.copy(n,0,0,t),n}if(void 0!==e.length)return"number"!=typeof e.length||J(e.length)?s(0):m(e);if("Buffer"===e.type&&Array.isArray(e.data))return m(e.data)}(e);if(a)return a;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return l.from(e[Symbol.toPrimitive]("string"),t,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function c(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function u(e){return c(e),s(e<0?0:0|h(e))}function m(e){const t=e.length<0?0:0|h(e.length),n=s(t);for(let o=0;o<t;o+=1)n[o]=255&e[o];return n}function p(e,t,n){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(n||0))throw new RangeError('"length" is outside of buffer bounds');let o;return o=void 0===t&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,t):new Uint8Array(e,t,n),Object.setPrototypeOf(o,l.prototype),o}function h(e){if(e>=i)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i.toString(16)+" bytes");return 0|e}function g(e,t){if(l.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||G(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);const n=e.length,o=arguments.length>2&&!0===arguments[2];if(!o&&0===n)return 0;let a=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return Z(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return $(e).length;default:if(a)return o?-1:Z(e).length;t=(""+t).toLowerCase(),a=!0}}function b(e,t,n){let o=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return T(this,t,n);case"utf8":case"utf-8":return z(this,t,n);case"ascii":return D(this,t,n);case"latin1":case"binary":return N(this,t,n);case"base64":return E(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return M(this,t,n);default:if(o)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),o=!0}}function f(e,t,n){const o=e[t];e[t]=e[n],e[n]=o}function v(e,t,n,o,a){if(0===e.length)return-1;if("string"==typeof n?(o=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),J(n=+n)&&(n=a?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(a)return-1;n=e.length-1}else if(n<0){if(!a)return-1;n=0}if("string"==typeof t&&(t=l.from(t,o)),l.isBuffer(t))return 0===t.length?-1:y(e,t,n,o,a);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?a?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):y(e,[t],n,o,a);throw new TypeError("val must be string, number or Buffer")}function y(e,t,n,o,a){let r,i=1,s=e.length,l=t.length;if(void 0!==o&&("ucs2"===(o=String(o).toLowerCase())||"ucs-2"===o||"utf16le"===o||"utf-16le"===o)){if(e.length<2||t.length<2)return-1;i=2,s/=2,l/=2,n/=2}function d(e,t){return 1===i?e[t]:e.readUInt16BE(t*i)}if(a){let o=-1;for(r=n;r<s;r++)if(d(e,r)===d(t,-1===o?0:r-o)){if(-1===o&&(o=r),r-o+1===l)return o*i}else-1!==o&&(r-=r-o),o=-1}else for(n+l>s&&(n=s-l),r=n;r>=0;r--){let n=!0;for(let o=0;o<l;o++)if(d(e,r+o)!==d(t,o)){n=!1;break}if(n)return r}return-1}function A(e,t,n,o){n=Number(n)||0;const a=e.length-n;o?(o=Number(o))>a&&(o=a):o=a;const r=t.length;let i;for(o>r/2&&(o=r/2),i=0;i<o;++i){const o=parseInt(t.substr(2*i,2),16);if(J(o))return i;e[n+i]=o}return i}function w(e,t,n,o){return K(Z(t,e.length-n),e,n,o)}function k(e,t,n,o){return K(function(e){const t=[];for(let n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,o)}function S(e,t,n,o){return K($(t),e,n,o)}function x(e,t,n,o){return K(function(e,t){let n,o,a;const r=[];for(let i=0;i<e.length&&!((t-=2)<0);++i)n=e.charCodeAt(i),o=n>>8,a=n%256,r.push(a),r.push(o);return r}(t,e.length-n),e,n,o)}function E(e,t,n){return 0===t&&n===e.length?o.fromByteArray(e):o.fromByteArray(e.slice(t,n))}function z(e,t,n){n=Math.min(e.length,n);const o=[];let a=t;for(;a<n;){const t=e[a];let r=null,i=t>239?4:t>223?3:t>191?2:1;if(a+i<=n){let n,o,s,l;switch(i){case 1:t<128&&(r=t);break;case 2:n=e[a+1],128==(192&n)&&(l=(31&t)<<6|63&n,l>127&&(r=l));break;case 3:n=e[a+1],o=e[a+2],128==(192&n)&&128==(192&o)&&(l=(15&t)<<12|(63&n)<<6|63&o,l>2047&&(l<55296||l>57343)&&(r=l));break;case 4:n=e[a+1],o=e[a+2],s=e[a+3],128==(192&n)&&128==(192&o)&&128==(192&s)&&(l=(15&t)<<18|(63&n)<<12|(63&o)<<6|63&s,l>65535&&l<1114112&&(r=l))}}null===r?(r=65533,i=1):r>65535&&(r-=65536,o.push(r>>>10&1023|55296),r=56320|1023&r),o.push(r),a+=i}return function(e){const t=e.length;if(t<=C)return String.fromCharCode.apply(String,e);let n="",o=0;for(;o<t;)n+=String.fromCharCode.apply(String,e.slice(o,o+=C));return n}(o)}l.TYPED_ARRAY_SUPPORT=function(){try{const e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),l.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(l.prototype,"parent",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.buffer}}),Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.byteOffset}}),l.poolSize=8192,l.from=function(e,t,n){return d(e,t,n)},Object.setPrototypeOf(l.prototype,Uint8Array.prototype),Object.setPrototypeOf(l,Uint8Array),l.alloc=function(e,t,n){return function(e,t,n){return c(e),e<=0?s(e):void 0!==t?"string"==typeof n?s(e).fill(t,n):s(e).fill(t):s(e)}(e,t,n)},l.allocUnsafe=function(e){return u(e)},l.allocUnsafeSlow=function(e){return u(e)},l.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==l.prototype},l.compare=function(e,t){if(G(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),G(t,Uint8Array)&&(t=l.from(t,t.offset,t.byteLength)),!l.isBuffer(e)||!l.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;let n=e.length,o=t.length;for(let a=0,r=Math.min(n,o);a<r;++a)if(e[a]!==t[a]){n=e[a],o=t[a];break}return n<o?-1:o<n?1:0},l.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},l.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return l.alloc(0);let n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;const o=l.allocUnsafe(t);let a=0;for(n=0;n<e.length;++n){let t=e[n];if(G(t,Uint8Array))a+t.length>o.length?(l.isBuffer(t)||(t=l.from(t)),t.copy(o,a)):Uint8Array.prototype.set.call(o,t,a);else{if(!l.isBuffer(t))throw new TypeError('"list" argument must be an Array of Buffers');t.copy(o,a)}a+=t.length}return o},l.byteLength=g,l.prototype._isBuffer=!0,l.prototype.swap16=function(){const e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;t<e;t+=2)f(this,t,t+1);return this},l.prototype.swap32=function(){const e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let t=0;t<e;t+=4)f(this,t,t+3),f(this,t+1,t+2);return this},l.prototype.swap64=function(){const e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let t=0;t<e;t+=8)f(this,t,t+7),f(this,t+1,t+6),f(this,t+2,t+5),f(this,t+3,t+4);return this},l.prototype.toString=function(){const e=this.length;return 0===e?"":0===arguments.length?z(this,0,e):b.apply(this,arguments)},l.prototype.toLocaleString=l.prototype.toString,l.prototype.equals=function(e){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===l.compare(this,e)},l.prototype.inspect=function(){let e="";const n=t.IS;return e=this.toString("hex",0,n).replace(/(.{2})/g,"$1 ").trim(),this.length>n&&(e+=" ... "),"<Buffer "+e+">"},r&&(l.prototype[r]=l.prototype.inspect),l.prototype.compare=function(e,t,n,o,a){if(G(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),!l.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===o&&(o=0),void 0===a&&(a=this.length),t<0||n>e.length||o<0||a>this.length)throw new RangeError("out of range index");if(o>=a&&t>=n)return 0;if(o>=a)return-1;if(t>=n)return 1;if(this===e)return 0;let r=(a>>>=0)-(o>>>=0),i=(n>>>=0)-(t>>>=0);const s=Math.min(r,i),d=this.slice(o,a),c=e.slice(t,n);for(let e=0;e<s;++e)if(d[e]!==c[e]){r=d[e],i=c[e];break}return r<i?-1:i<r?1:0},l.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},l.prototype.indexOf=function(e,t,n){return v(this,e,t,n,!0)},l.prototype.lastIndexOf=function(e,t,n){return v(this,e,t,n,!1)},l.prototype.write=function(e,t,n,o){if(void 0===t)o="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)o=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(n)?(n>>>=0,void 0===o&&(o="utf8")):(o=n,n=void 0)}const a=this.length-t;if((void 0===n||n>a)&&(n=a),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");o||(o="utf8");let r=!1;for(;;)switch(o){case"hex":return A(this,e,t,n);case"utf8":case"utf-8":return w(this,e,t,n);case"ascii":case"latin1":case"binary":return k(this,e,t,n);case"base64":return S(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return x(this,e,t,n);default:if(r)throw new TypeError("Unknown encoding: "+o);o=(""+o).toLowerCase(),r=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const C=4096;function D(e,t,n){let o="";n=Math.min(e.length,n);for(let a=t;a<n;++a)o+=String.fromCharCode(127&e[a]);return o}function N(e,t,n){let o="";n=Math.min(e.length,n);for(let a=t;a<n;++a)o+=String.fromCharCode(e[a]);return o}function T(e,t,n){const o=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>o)&&(n=o);let a="";for(let o=t;o<n;++o)a+=Y[e[o]];return a}function M(e,t,n){const o=e.slice(t,n);let a="";for(let e=0;e<o.length-1;e+=2)a+=String.fromCharCode(o[e]+256*o[e+1]);return a}function j(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function P(e,t,n,o,a,r){if(!l.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>a||t<r)throw new RangeError('"value" argument is out of bounds');if(n+o>e.length)throw new RangeError("Index out of range")}function L(e,t,n,o,a){W(t,o,a,e,n,7);let r=Number(t&BigInt(4294967295));e[n++]=r,r>>=8,e[n++]=r,r>>=8,e[n++]=r,r>>=8,e[n++]=r;let i=Number(t>>BigInt(32)&BigInt(4294967295));return e[n++]=i,i>>=8,e[n++]=i,i>>=8,e[n++]=i,i>>=8,e[n++]=i,n}function I(e,t,n,o,a){W(t,o,a,e,n,7);let r=Number(t&BigInt(4294967295));e[n+7]=r,r>>=8,e[n+6]=r,r>>=8,e[n+5]=r,r>>=8,e[n+4]=r;let i=Number(t>>BigInt(32)&BigInt(4294967295));return e[n+3]=i,i>>=8,e[n+2]=i,i>>=8,e[n+1]=i,i>>=8,e[n]=i,n+8}function F(e,t,n,o,a,r){if(n+o>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function B(e,t,n,o,r){return t=+t,n>>>=0,r||F(e,0,n,4),a.write(e,t,n,o,23,4),n+4}function R(e,t,n,o,r){return t=+t,n>>>=0,r||F(e,0,n,8),a.write(e,t,n,o,52,8),n+8}l.prototype.slice=function(e,t){const n=this.length;(e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e);const o=this.subarray(e,t);return Object.setPrototypeOf(o,l.prototype),o},l.prototype.readUintLE=l.prototype.readUIntLE=function(e,t,n){e>>>=0,t>>>=0,n||j(e,t,this.length);let o=this[e],a=1,r=0;for(;++r<t&&(a*=256);)o+=this[e+r]*a;return o},l.prototype.readUintBE=l.prototype.readUIntBE=function(e,t,n){e>>>=0,t>>>=0,n||j(e,t,this.length);let o=this[e+--t],a=1;for(;t>0&&(a*=256);)o+=this[e+--t]*a;return o},l.prototype.readUint8=l.prototype.readUInt8=function(e,t){return e>>>=0,t||j(e,1,this.length),this[e]},l.prototype.readUint16LE=l.prototype.readUInt16LE=function(e,t){return e>>>=0,t||j(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUint16BE=l.prototype.readUInt16BE=function(e,t){return e>>>=0,t||j(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUint32LE=l.prototype.readUInt32LE=function(e,t){return e>>>=0,t||j(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},l.prototype.readUint32BE=l.prototype.readUInt32BE=function(e,t){return e>>>=0,t||j(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readBigUInt64LE=Q((function(e){V(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||_(e,this.length-8);const o=t+256*this[++e]+65536*this[++e]+this[++e]*2**24,a=this[++e]+256*this[++e]+65536*this[++e]+n*2**24;return BigInt(o)+(BigInt(a)<<BigInt(32))})),l.prototype.readBigUInt64BE=Q((function(e){V(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||_(e,this.length-8);const o=t*2**24+65536*this[++e]+256*this[++e]+this[++e],a=this[++e]*2**24+65536*this[++e]+256*this[++e]+n;return(BigInt(o)<<BigInt(32))+BigInt(a)})),l.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||j(e,t,this.length);let o=this[e],a=1,r=0;for(;++r<t&&(a*=256);)o+=this[e+r]*a;return a*=128,o>=a&&(o-=Math.pow(2,8*t)),o},l.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||j(e,t,this.length);let o=t,a=1,r=this[e+--o];for(;o>0&&(a*=256);)r+=this[e+--o]*a;return a*=128,r>=a&&(r-=Math.pow(2,8*t)),r},l.prototype.readInt8=function(e,t){return e>>>=0,t||j(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},l.prototype.readInt16LE=function(e,t){e>>>=0,t||j(e,2,this.length);const n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt16BE=function(e,t){e>>>=0,t||j(e,2,this.length);const n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt32LE=function(e,t){return e>>>=0,t||j(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return e>>>=0,t||j(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readBigInt64LE=Q((function(e){V(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||_(e,this.length-8);const o=this[e+4]+256*this[e+5]+65536*this[e+6]+(n<<24);return(BigInt(o)<<BigInt(32))+BigInt(t+256*this[++e]+65536*this[++e]+this[++e]*2**24)})),l.prototype.readBigInt64BE=Q((function(e){V(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||_(e,this.length-8);const o=(t<<24)+65536*this[++e]+256*this[++e]+this[++e];return(BigInt(o)<<BigInt(32))+BigInt(this[++e]*2**24+65536*this[++e]+256*this[++e]+n)})),l.prototype.readFloatLE=function(e,t){return e>>>=0,t||j(e,4,this.length),a.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return e>>>=0,t||j(e,4,this.length),a.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return e>>>=0,t||j(e,8,this.length),a.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return e>>>=0,t||j(e,8,this.length),a.read(this,e,!1,52,8)},l.prototype.writeUintLE=l.prototype.writeUIntLE=function(e,t,n,o){if(e=+e,t>>>=0,n>>>=0,!o){P(this,e,t,n,Math.pow(2,8*n)-1,0)}let a=1,r=0;for(this[t]=255&e;++r<n&&(a*=256);)this[t+r]=e/a&255;return t+n},l.prototype.writeUintBE=l.prototype.writeUIntBE=function(e,t,n,o){if(e=+e,t>>>=0,n>>>=0,!o){P(this,e,t,n,Math.pow(2,8*n)-1,0)}let a=n-1,r=1;for(this[t+a]=255&e;--a>=0&&(r*=256);)this[t+a]=e/r&255;return t+n},l.prototype.writeUint8=l.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||P(this,e,t,1,255,0),this[t]=255&e,t+1},l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||P(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||P(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||P(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||P(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},l.prototype.writeBigUInt64LE=Q((function(e,t=0){return L(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),l.prototype.writeBigUInt64BE=Q((function(e,t=0){return I(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),l.prototype.writeIntLE=function(e,t,n,o){if(e=+e,t>>>=0,!o){const o=Math.pow(2,8*n-1);P(this,e,t,n,o-1,-o)}let a=0,r=1,i=0;for(this[t]=255&e;++a<n&&(r*=256);)e<0&&0===i&&0!==this[t+a-1]&&(i=1),this[t+a]=(e/r>>0)-i&255;return t+n},l.prototype.writeIntBE=function(e,t,n,o){if(e=+e,t>>>=0,!o){const o=Math.pow(2,8*n-1);P(this,e,t,n,o-1,-o)}let a=n-1,r=1,i=0;for(this[t+a]=255&e;--a>=0&&(r*=256);)e<0&&0===i&&0!==this[t+a+1]&&(i=1),this[t+a]=(e/r>>0)-i&255;return t+n},l.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||P(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||P(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},l.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||P(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},l.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||P(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},l.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||P(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},l.prototype.writeBigInt64LE=Q((function(e,t=0){return L(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),l.prototype.writeBigInt64BE=Q((function(e,t=0){return I(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),l.prototype.writeFloatLE=function(e,t,n){return B(this,e,t,!0,n)},l.prototype.writeFloatBE=function(e,t,n){return B(this,e,t,!1,n)},l.prototype.writeDoubleLE=function(e,t,n){return R(this,e,t,!0,n)},l.prototype.writeDoubleBE=function(e,t,n){return R(this,e,t,!1,n)},l.prototype.copy=function(e,t,n,o){if(!l.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),o||0===o||(o=this.length),t>=e.length&&(t=e.length),t||(t=0),o>0&&o<n&&(o=n),o===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(o<0)throw new RangeError("sourceEnd out of bounds");o>this.length&&(o=this.length),e.length-t<o-n&&(o=e.length-t+n);const a=o-n;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,n,o):Uint8Array.prototype.set.call(e,this.subarray(n,o),t),a},l.prototype.fill=function(e,t,n,o){if("string"==typeof e){if("string"==typeof t?(o=t,t=0,n=this.length):"string"==typeof n&&(o=n,n=this.length),void 0!==o&&"string"!=typeof o)throw new TypeError("encoding must be a string");if("string"==typeof o&&!l.isEncoding(o))throw new TypeError("Unknown encoding: "+o);if(1===e.length){const t=e.charCodeAt(0);("utf8"===o&&t<128||"latin1"===o)&&(e=t)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;let a;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(a=t;a<n;++a)this[a]=e;else{const r=l.isBuffer(e)?e:l.from(e,o),i=r.length;if(0===i)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(a=0;a<n-t;++a)this[a+t]=r[a%i]}return this};const O={};function U(e,t,n){O[e]=class extends n{constructor(){super(),Object.defineProperty(this,"message",{value:t.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${e}]`,this.stack,delete this.name}get code(){return e}set code(e){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:e,writable:!0})}toString(){return`${this.name} [${e}]: ${this.message}`}}}function H(e){let t="",n=e.length;const o="-"===e[0]?1:0;for(;n>=o+4;n-=3)t=`_${e.slice(n-3,n)}${t}`;return`${e.slice(0,n)}${t}`}function W(e,t,n,o,a,r){if(e>n||e<t){const o="bigint"==typeof t?"n":"";let a;throw a=r>3?0===t||t===BigInt(0)?`>= 0${o} and < 2${o} ** ${8*(r+1)}${o}`:`>= -(2${o} ** ${8*(r+1)-1}${o}) and < 2 ** ${8*(r+1)-1}${o}`:`>= ${t}${o} and <= ${n}${o}`,new O.ERR_OUT_OF_RANGE("value",a,e)}!function(e,t,n){V(t,"offset"),void 0!==e[t]&&void 0!==e[t+n]||_(t,e.length-(n+1))}(o,a,r)}function V(e,t){if("number"!=typeof e)throw new O.ERR_INVALID_ARG_TYPE(t,"number",e)}function _(e,t,n){if(Math.floor(e)!==e)throw V(e,n),new O.ERR_OUT_OF_RANGE(n||"offset","an integer",e);if(t<0)throw new O.ERR_BUFFER_OUT_OF_BOUNDS;throw new O.ERR_OUT_OF_RANGE(n||"offset",`>= ${n?1:0} and <= ${t}`,e)}U("ERR_BUFFER_OUT_OF_BOUNDS",(function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"}),RangeError),U("ERR_INVALID_ARG_TYPE",(function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`}),TypeError),U("ERR_OUT_OF_RANGE",(function(e,t,n){let o=`The value of "${e}" is out of range.`,a=n;return Number.isInteger(n)&&Math.abs(n)>2**32?a=H(String(n)):"bigint"==typeof n&&(a=String(n),(n>BigInt(2)**BigInt(32)||n<-(BigInt(2)**BigInt(32)))&&(a=H(a)),a+="n"),o+=` It must be ${t}. Received ${a}`,o}),RangeError);const q=/[^+/0-9A-Za-z-_]/g;function Z(e,t){let n;t=t||1/0;const o=e.length;let a=null;const r=[];for(let i=0;i<o;++i){if(n=e.charCodeAt(i),n>55295&&n<57344){if(!a){if(n>56319){(t-=3)>-1&&r.push(239,191,189);continue}if(i+1===o){(t-=3)>-1&&r.push(239,191,189);continue}a=n;continue}if(n<56320){(t-=3)>-1&&r.push(239,191,189),a=n;continue}n=65536+(a-55296<<10|n-56320)}else a&&(t-=3)>-1&&r.push(239,191,189);if(a=null,n<128){if((t-=1)<0)break;r.push(n)}else if(n<2048){if((t-=2)<0)break;r.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;r.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;r.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return r}function $(e){return o.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(q,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function K(e,t,n,o){let a;for(a=0;a<o&&!(a+n>=t.length||a>=e.length);++a)t[a+n]=e[a];return a}function G(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function J(e){return e!=e}const Y=function(){const e="0123456789abcdef",t=new Array(256);for(let n=0;n<16;++n){const o=16*n;for(let a=0;a<16;++a)t[o+a]=e[n]+e[a]}return t}();function Q(e){return"undefined"==typeof BigInt?X:e}function X(){throw new Error("BigInt not supported")}},473:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var o=n(552),a=n.n(o),r=n(2793),i=n.n(r)()(a());i.push([e.id,"#bd-editor-panel{display:flex;flex-direction:column}#bd-editor-controls button{margin:0 5px 0 0;background:0 0;color:var(--interactive-normal);height:26px;font-weight:600;border-radius:3px;display:flex;align-items:center}#bd-editor-controls button:hover{background:var(--background-modifier-hover);color:var(--interactive-hover)}#bd-editor-controls button:active{background:var(--background-modifier-active)}#bd-editor-controls button svg{fill:currentColor}#bd-editor-controls{display:flex;align-items:center;justify-content:space-between;background:var(--background-secondary-alt);color:var(--text-normal);border:0;box-shadow:var(--elevation-low);padding:5px;z-index:10}.editor-wrapper{display:flex}.editor{box-sizing:border-box;height:calc(100vh - 250px);font-size:14px;width:100%}.controls-section{display:flex;align-items:center}.controls-section.controls-right{gap:15px}.monaco-editor:not(.rename-box),.monaco-editor .overflow-guard,.monaco-editor .editor-scrollable,.monaco-editor .minimap-shadow-visible,.monaco-editor .decorationsOverviewRuler{height:100%!important}.monaco-editor:not(.rename-box),.monaco-editor .overflow-guard,.monaco-editor .overlayWidgets,#bd-customcss-editor>div>.overflow-guard>div:nth-child(3){width:100%!important}.monaco-editor .minimap{right:14px;left:unset!important;height:100%!important}.monaco-editor .editor-scrollable{width:calc(100% - 64px)!important}.monaco-editor .view-overlays .current-line{width:1e+06px!important}.bd-fallback-editor{height:100%;width:100%;resize:none;overflow:auto;white-space:nowrap}.bd-reload{cursor:pointer;vertical-align:top;fill:#dcddde}.bd-reload:hover{fill:#fff}.bd-reload-header{margin-left:5px}.bd-reload-card{margin-right:5px}.bd-controls,.bd-controls-basic,.bd-controls-advanced{display:flex}.bd-addon-list{user-select:text}.bd-addon-list.bd-grid-view{display:grid;grid-template-columns:1fr 1fr;column-gap:10px;row-gap:10px}.bd-addon-list .bd-addon-card{display:flex;flex-direction:column;margin-bottom:20px;border-radius:5px;overflow:hidden;background:var(--background-secondary)}.bd-addon-list.bd-grid-view .bd-addon-card{margin-bottom:0}.bd-addon-list .bd-addon-header{color:var(--header-primary);background:var(--background-secondary-alt);padding:16px;font-size:14px;line-height:20px;font-weight:600;display:flex;align-items:center;justify-content:space-between;overflow:hidden}.bd-addon-header .bd-icon{margin-right:8px;fill:var(--header-primary)}.disabled .bd-addon-header .bd-icon{fill:red}.bd-title,.bd-name,.bd-meta{display:inline;line-height:normal}.bd-title{flex:1;min-width:0}.bd-meta{color:var(--channels-default);font-weight:500}.bd-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bd-name::after,.bd-version::after{display:inline;content:\" \"}.bd-grid-view .bd-title{display:flex;flex-direction:column}.bd-grid-view .bd-meta{font-size:12px}.bd-description-wrap{flex:1;padding:8px 16px 0 16px}.bd-description-wrap .banner{padding:5px;border:2px solid gray;background:#26191e;color:#fff;font-weight:700px;border-radius:5px;font-size:16px;display:flex;align-items:center}.banner.banner-danger{border-color:#f04747;background:#473c41}.banner .bd-icon{fill:#fff;margin-right:5px;height:16px!important}.banner-danger .bd-icon{fill:#f04747}.bd-addon-list .bd-description{word-break:break-word;margin-bottom:5px;padding:5px 0;overflow-y:auto;max-height:175px;font-size:14px;line-height:18px;-webkit-line-clamp:3;color:var(--header-secondary)}.bd-description em{font-style:italic}.bd-description code{padding:.2em;margin:-.2em 0;border-radius:3px;font-size:85%;line-height:1.125rem;white-space:pre-wrap;background:var(--background-tertiary)}.bd-addon-list .scroller::-webkit-scrollbar-track-piece,.bd-addon-list .scroller::-webkit-scrollbar-thumb{border-radius:0!important;border-color:transparent}.bd-addon-list .bd-footer{display:flex;align-items:center;justify-content:space-between;padding:8px 16px 16px 16px;overflow:hidden}.bd-controls>.bd-addon-button{border-radius:0;padding:4px 6px}.bd-links .bd-addon-button+.bd-addon-button{margin-left:10px}.bd-controls>.bd-addon-button svg{fill:#fff}.bd-controls>.bd-addon-button:first-of-type{border-radius:3px 0 0 3px}.bd-controls>.bd-addon-button:last-of-type{border-radius:0 3px 3px 0}.bd-controls>.bd-addon-button:only-child{border-radius:3px}.bd-controls+.bd-addon-list{margin-top:10px}.bd-addon-controls{align-items:center;justify-content:space-between;flex-wrap:wrap}.bd-settings-title .bd-search{font-size:13px;margin:0;width:200px}.bd-addon-dropdowns{display:flex}.react-error{color:red;font-weight:700;font-family:Arial,Helvetica,sans-serif;cursor:pointer}.settings-open .bd-close{cursor:pointer;float:right}.bd-addon-modal{min-height:0}.bd-addon-modal-settings{padding:0 16px 16px 16px}.bd-addon-modal-footer .bd-button{background-color:#3e82e5}.bd-addon-modal-footer .bd-button:hover{background-color:#3875ce}.bd-addon-modal-footer .bd-button:active{background-color:#3268b7}.bd-addon-views{display:flex;margin-left:10px}.bd-addon-controls .bd-button{background-color:transparent;padding:3px 4px}.bd-addon-controls .bd-button svg{fill:var(--interactive-normal)}.bd-addon-controls .bd-button.selected svg{fill:#fff}.bd-addon-controls .bd-button:hover{background-color:var(--background-modifier-selected)}.bd-addon-controls .bd-button:active{background-color:var(--background-modifier-accent)}.bd-addon-controls .bd-button.selected{background-color:#3e82e5}.bd-addon-controls .bd-button+.bd-button{margin-left:5px}.bd-controls-basic .bd-button:active svg{fill:#fff}.bd-controls-basic .bd-button:active{background-color:#3e82e5}.bd-addon-list .bd-footer .bd-links,.bd-addon-list .bd-footer .bd-links a,.bd-addon-list .bd-footer .bd-addon-button{display:flex;align-items:center}.bd-addon-list .bd-footer .bd-link{color:var(--interactive-normal)}.bd-addon-list .bd-footer .bd-link:hover{color:var(--interactive-hover)}.bd-addon-list .bd-footer .bd-link:active{color:var(--interactive-active)}.bd-addon-list .bd-footer .bd-link svg{fill:currentColor}.bd-addon-list .bd-footer .bd-links .bd-addon-button{height:24px}.theme-dark .bd-social-logo path{fill:#adadad}.theme-light .bd-social-logo path{fill:#b9bbbe}.bd-social-link:hover .bd-social-logo{opacity:1}.bd-social-link:hover .bd-social-logo path:first-of-type{fill:#3e82e5}.bd-button-title{margin-left:10px}.bd-select-wrapper{color:var(--text-muted);font-size:13px;display:flex;align-items:center}.bd-select-wrapper+.bd-select-wrapper{margin-left:10px}.bd-select-wrapper label{margin-right:5px}.bd-select{position:relative;cursor:pointer;color:var(--text-normal);font-size:14px;display:flex;align-items:center;justify-content:space-between;background-color:var(--deprecated-text-input-bg);border:1px solid var(--deprecated-text-input-border);border-radius:3px;padding:5px 5px 5px 0;transition:150ms ease border-color}.bd-select:hover,.bd-select.menu-open{border-color:var(--background-tertiary)}.bd-select.bd-select-transparent{align-items:flex-start;background:0 0;border:0;padding:0}.bd-select-value{padding-left:8px}.bd-select-arrow{margin-left:10px;fill:var(--interactive-normal)}.bd-select .bd-select-options{position:absolute;background:var(--background-secondary);border-radius:0 0 3px 3px;max-height:300px;min-width:calc(100% + 2px);overflow-y:auto;box-shadow:rgba(0,0,0,.3)0 1px 5px 0;border:1px solid rgba(0,0,0,.3);border-top:0;margin-top:-1px;margin-left:-1px;z-index:2;top:100%}.bd-select-transparent .bd-select-options{border:1px solid rgba(0,0,0,.3);margin-top:3px;border-radius:3px}.bd-select .bd-select-option{padding:8px 12px;cursor:pointer;white-space:pre}.bd-select .bd-select-option:hover{background:rgba(0,0,0,.1)}.bd-select .bd-select-option.selected{background:rgba(0,0,0,.2)}.bd-setting-item .bd-select{min-width:200px}.bd-setting-item{display:flex;flex-direction:column;margin-bottom:20px}.bd-setting-header{display:flex;justify-content:space-between;align-items:center}.bd-setting-header label{font-weight:500;cursor:pointer;overflow:hidden;word-wrap:break-word;font-size:16px;line-height:24px;color:var(--header-primary)}.bd-setting-note{color:var(--header-secondary);margin-top:4px;font-size:14px;line-height:20px;font-weight:400}.bd-setting-item:not(.inline) .bd-setting-note{margin-bottom:10px}.bd-setting-divider{width:100%;height:1px;margin-top:20px;border-bottom:thin solid var(--background-modifier-accent)}.bd-settings-container{height:auto;overflow:hidden;transition:height 300ms cubic-bezier(.47,0,.745,.715)}.bd-settings-group.collapsed .bd-settings-container{height:0}.bd-settings-group.expanded .bd-settings-container:not(.animating){overflow:visible}.bd-settings-title{display:flex;justify-content:space-between;color:var(--header-primary, #FFFFFF);display:flex;font-weight:600;cursor:default;flex:1}.bd-settings-title:not(.bd-settings-group-title){margin-bottom:20px;font-size:20px;line-height:24px}.bd-settings-group.collapsible .bd-settings-title{display:flex;justify-content:space-between;align-items:center;order:1}.bd-settings-group.collapsible .bd-settings-title::before{content:\"\";background-color:var(--background-modifier-accent);height:2px;order:2;flex:1;margin:0 10px 0 15px}.bd-settings-group.collapsible .bd-settings-title::after{content:\"\";-webkit-mask:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxOS4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iQ2FscXVlXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB2aWV3Qm94PSItOTUwIDUzMiAxOCAxOCIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAtOTUwIDUzMiAxOCAxODsiIHhtbDpzcGFjZT0icHJlc2VydmUiPg0KPHN0eWxlIHR5cGU9InRleHQvY3NzIj4NCgkuc3Qwe2ZpbGw6bm9uZTt9DQoJLnN0MXtmaWxsOm5vbmU7c3Ryb2tlOiNGRkZGRkY7c3Ryb2tlLXdpZHRoOjEuNTtzdHJva2UtbWl0ZXJsaW1pdDoxMDt9DQo8L3N0eWxlPg0KPHBhdGggY2xhc3M9InN0MCIgZD0iTS05MzIsNTMydjE4aC0xOHYtMThILTkzMnoiLz4NCjxwb2x5bGluZSBjbGFzcz0ic3QxIiBwb2ludHM9Ii05MzYuNiw1MzguOCAtOTQxLDU0My4yIC05NDUuNCw1MzguOCAiLz4NCjwvc3ZnPg0K)center/contain no-repeat;mask:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxOS4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iQ2FscXVlXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB2aWV3Qm94PSItOTUwIDUzMiAxOCAxOCIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAtOTUwIDUzMiAxOCAxODsiIHhtbDpzcGFjZT0icHJlc2VydmUiPg0KPHN0eWxlIHR5cGU9InRleHQvY3NzIj4NCgkuc3Qwe2ZpbGw6bm9uZTt9DQoJLnN0MXtmaWxsOm5vbmU7c3Ryb2tlOiNGRkZGRkY7c3Ryb2tlLXdpZHRoOjEuNTtzdHJva2UtbWl0ZXJsaW1pdDoxMDt9DQo8L3N0eWxlPg0KPHBhdGggY2xhc3M9InN0MCIgZD0iTS05MzIsNTMydjE4aC0xOHYtMThILTkzMnoiLz4NCjxwb2x5bGluZSBjbGFzcz0ic3QxIiBwb2ludHM9Ii05MzYuNiw1MzguOCAtOTQxLDU0My4yIC05NDUuNCw1MzguOCAiLz4NCjwvc3ZnPg0K)center/contain no-repeat;background:var(--header-secondary);height:20px;width:20px;display:inline-block;vertical-align:bottom;transition:transform .3s ease;transform:rotate(0);order:3}.bd-settings-group.collapsed .bd-settings-title::after{transition:transform .3s ease;transform:rotate(90deg)}.bd-settings-group~.bd-settings-group .bd-settings-title{margin-top:30px;transition:margin-top 300ms ease}.bd-settings-group.collapsed+.bd-settings-group .bd-settings-title{margin-top:0}.bd-settings-title.bd-settings-group-title{margin-bottom:10px;text-transform:uppercase;font-size:14px;color:var(--interactive-normal)}.checkbox-item{display:flex}.checkbox-item .checkbox-label{margin-right:8px}.bd-changelog-modal iframe,.bd-changelog-modal video,.bd-changelog-modal img{width:100%;border-radius:5px;outline:0}.bd-changelog-modal code.inline{padding:.2em;margin:-.2em 0;border-radius:3px;font-size:85%;line-height:1.125rem;white-space:pre-wrap;background:var(--background-secondary)}.bd-changelog-modal .bd-modal-content{font-size:16px;line-height:20px;padding-bottom:20px}.bd-changelog-modal .bd-modal-content .emoji{object-fit:contain;width:22px;height:22px}.bd-changelog-modal .bd-modal-content h1{line-height:20px;font-size:16px}.bd-changelog-modal .bd-modal-content h1,.bd-changelog-modal .bd-modal-content h2,.bd-changelog-modal .bd-modal-content strong{font-weight:700}.bd-changelog-modal .bd-modal-content em,.bd-changelog-modal .bd-modal-content i{font-style:italic}.bd-changelog-modal .bd-modal-content p+p{margin-top:10px}.bd-changelog-modal .bd-modal-content ol{margin:16px 0 16px 16px}.bd-changelog-modal .bd-modal-content ol li{list-style-type:decimal;margin-bottom:8px;margin-left:20px}.bd-changelog-modal .bd-modal-content ul{margin:20px 0 8px 20px}.bd-changelog-modal .bd-modal-content ul ul{margin-top:8px}.bd-changelog-modal .bd-modal-content ul li{position:relative;list-style:none;margin-bottom:8px;user-select:text}.bd-changelog-modal .bd-modal-content ul li:last-child{margin-bottom:0}.bd-changelog-modal .bd-modal-content ul li::before{content:\"\";position:absolute;top:10px;left:-15px;width:6px;height:6px;margin-top:-4px;margin-left:-3px;border-radius:50%;opacity:.3}.bd-changelog-modal .bd-modal-content ul li li::before{top:12px;height:2px;border-radius:0}.bd-changelog-modal .bd-modal-content img,.bd-changelog-modal .bd-modal-content video,.bd-changelog-modal .bd-modal-content iframe{width:100%}.bd-changelog-modal .bd-modal-content iframe{height:346px}.bd-changelog-modal .bd-modal-content a{color:hsl(200,calc(var(--saturation-factor, 1)*100%),49.4%);transition:.05s;text-decoration:none}.bd-changelog-modal .bd-modal-content a:hover{text-decoration:underline}.theme-dark .bd-changelog-modal .bd-modal-content ol,.theme-dark .bd-changelog-modal .bd-modal-content p,.theme-dark .bd-changelog-modal .bd-modal-content ul li{color:hsl(210,calc(var(--saturation-factor, 1)*9.3%),78.8%)}.theme-dark .bd-changelog-modal .bd-modal-content ul li::before{background-color:hsl(216,calc(var(--saturation-factor, 1)*9.8%),90%)}.theme-light .bd-changelog-modal .bd-modal-content ol,.theme-light .bd-changelog-modal .bd-modal-content p,.theme-light .bd-changelog-modal .bd-modal-content ul li{color:hsl(223,calc(var(--saturation-factor, 1)*5.8%),52.9%)}.theme-light .bd-changelog-modal .bd-modal-content ul li::before{background-color:hsl(223,calc(var(--saturation-factor, 1)*5.8%),52.9%)}.bd-changelog-title{font-weight:700;font-size:16px;line-height:20px;text-transform:uppercase}.bd-changelog-title{display:flex;align-items:center;margin-top:40px}.bd-changelog-title.bd-changelog-first{margin-top:20px}.bd-changelog-title::after{content:\"\";height:1px;flex:1 1 auto;margin-left:4px;opacity:.6}.bd-changelog-added{color:var(--text-positive)}.bd-changelog-added::after{background-color:var(--info-positive-foreground)}.bd-changelog-fixed{color:hsl(359,calc(var(--saturation-factor, 1)*87.3%),59.8%)}.bd-changelog-fixed::after{background-color:hsl(359,calc(var(--saturation-factor, 1)*87.3%),59.8%)}.bd-changelog-progress{color:var(--text-warning)}.bd-changelog-progress::after{background-color:var(--info-warning-foreground)}.bd-changelog-improved{color:hsl(235,calc(var(--saturation-factor, 1)*85.6%),64.7%)}.bd-changelog-improved::after{background-color:hsl(235,calc(var(--saturation-factor, 1)*85.6%),64.7%)}.theme-dark .bd-changelog-improved{color:hsl(235,calc(var(--saturation-factor, 1)*86.1%),77.5%)}.theme-dark .bd-changelog-improved::after{background-color:hsl(235,calc(var(--saturation-factor, 1)*86.1%),77.5%)}.theme-dark .bd-changelog-modal iframe,.theme-dark .bd-changelog-modal video,.theme-dark .bd-changelog-modal img{box-shadow:0 2px 10px 0 hsl(var(0, calc(var(--saturation-factor, 1)*0%), 0%-hsl)/.2)}.theme-light .bd-changelog-modal iframe,.theme-light .bd-changelog-modal video,.theme-light .bd-changelog-modal img{box-shadow:0 2px 10px 0 hsl(var(0, calc(var(--saturation-factor, 1)*0%), 0%-hsl)/.1)}.bd-social{opacity:.7;transition:.17s ease opacity}.bd-social:hover{opacity:1}.bd-social+.bd-social{margin-left:10px}.bd-color-picker-container{display:flex}.bd-color-picker-controls{padding-left:1px;padding-top:2px;display:flex}.bd-color-picker-default{cursor:pointer;width:72px;height:54px;border-radius:4px;margin-right:9px;display:flex;align-items:center;justify-content:center;margin-top:1px}.bd-color-picker-custom{position:relative;display:inline-table}.bd-color-picker-custom svg{position:absolute;top:5px;right:5px}.bd-color-picker{outline:0;width:70px;border:0;height:54px;margin-top:1px;border-radius:4px;cursor:pointer}.bd-color-picker::-webkit-color-swatch{border:0}.bd-color-picker-swatch{display:flex;flex-wrap:wrap;align-content:flex-start;margin-left:5px!important;max-width:340px}.bd-color-picker-swatch-item{cursor:pointer;border-radius:4px;width:23px;height:23px;margin:4px;display:flex;align-items:center;justify-content:center}.bd-addon-errors{margin-top:16px}.bd-addon-error{position:relative;border-radius:5px;padding:0;margin-bottom:16px;background:var(--deprecated-card-editable-bg);border:1px solid}.theme-dark .bd-addon-error{border-color:var(--background-secondary-alt)}.theme-light .bd-addon-error{border-color:var(--background-tertiary)}.bd-addon-error-header{display:flex;align-items:center;padding:20px 16px;cursor:pointer}.bd-addon-error-icon{display:flex;align-items:center;justify-content:center;align-self:flex-start;background-color:var(--background-floating);width:48px;height:48px;border-radius:50%;margin-right:10px}.bd-addon-error-icon svg{fill:var(--interactive-normal);width:24px!important;height:24px!important}.bd-addon-error-expander{color:var(--interactive-normal);transition:transform .2s ease}.bd-addon-error-expander,.bd-addon-error-icon{flex:0 0 auto}.bd-addon-error.collapsed .bd-addon-error-expander{transform:rotate(90deg)}.bd-addon-error-header-inner{display:flex;flex-direction:column;flex:1 1 auto}.bd-addon-error-body{padding:0 16px 24px}.bd-addon-error-stack code{user-select:text;font-size:.875rem;line-height:1.125rem;text-indent:0;white-space:pre-wrap;scrollbar-width:thin;scrollbar-color:var(--background-tertiary) var(--background-secondary);background:var(--background-secondary);border:1px solid var(--background-tertiary)}.bd-addon-error-details{display:flex;flex-grow:0;justify-content:flex-start;margin-top:4px}.bd-addon-error-details-icon{margin-right:4px;color:var(--interactive-normal)}.bd-flex{display:flex}.bd-flex-align-start{align-items:flex-start}.bd-flex-align-end{align-items:flex-end}.bd-flex-align-center{align-items:center}.bd-flex-align-stretch{align-items:stretch}.bd-flex-align-baseline{align-items:baseline}.bd-flex-justify-start{justify-content:flex-start}.bd-flex-justify-end{justify-content:flex-end}.bd-flex-justify-center{justify-content:center}.bd-flex-justify-around{justify-content:space-around}.bd-flex-justify-between{justify-content:space-between}.bd-flex-no-wrap{flex-wrap:nowrap}.bd-flex-wrap{flex-wrap:wrap}.bd-flex-wrap-reverse{flex-wrap:wrap-reverse}.bd-flex-horizontal{flex-direction:row}.bd-flex-reverse{flex-direction:row-reverse}.bd-flex-vertical{flex-direction:column}.spacer-2upayl{flex:1;overflow:hidden}.bd-flex-horizontal>.spacer-2upayl,.bd-flex-reverse>.spacer-2upayl,.bd-flex-vertical>.spacer-2upayl{min-height:1px}.bd-flex-horizontal>.bd-flex,.bd-flex-horizontal>.bd-flex-child{margin-left:10px;margin-right:10px}.bd-flex-horizontal>.bd-flex:first-child,.bd-flex-horizontal>.bd-flex-child:first-child{margin-left:0}.bd-flex-horizontal>.bd-flex:last-child,.bd-flex-horizontal>.bd-flex-child:last-child{margin-right:0}.bd-flex-reverse>.bd-flex,.bd-flex-reverse>.bd-flex-child{margin-left:10px;margin-right:10px}.bd-flex-reverse>.bd-flex:first-child,.bd-flex-reverse>.bd-flex-child:first-child{margin-right:0}.bd-flex-reverse>.bd-flex:last-child,.bd-flex-reverse>.bd-flex-child:last-child{margin-left:0}@keyframes open-window{0%{transform:scale(.9)}to{transform:none}}.floating-window{animation:open-window 200ms ease;min-width:200px;min-height:300px;box-shadow:0 2px 10px 0 rgba(0,0,0,.2);display:flex;flex-direction:column;-webkit-app-region:no-drag;position:fixed;z-index:1001;box-sizing:border-box}.floating-window.modal-open{z-index:999}.floating-window.resizable{overflow:auto;resize:both;padding-bottom:10px;background:var(--background-tertiary)}.floating-window-titlebar{width:100%;height:28px;display:flex;justify-content:space-between;align-items:center;color:#fff;background:var(--background-tertiary)}.floating-window-content{display:flex;flex-direction:column;background:var(--background-secondary);color:#fff;flex:1;overflow:hidden}.floating-window-titlebar .title{font-size:.85em;font-weight:600;color:var(--header-secondary);flex:1;padding:0 8px}.floating-window-buttons{display:flex}.floating-window-buttons .button{cursor:pointer;height:28px;width:30px;display:flex;align-items:center;justify-content:center;color:var(--interactive-normal)}.floating-window-buttons .button svg,.floating-window-buttons .button .fill{fill:currentColor}.floating-window-buttons .maximize-button:hover{background:var(--background-modifier-hover)}.floating-window-buttons .maximize-button:active{background:var(--background-modifier-active)}.floating-window-buttons .close-button:hover{background:#f04747;color:#fff}.floating-window-content #bd-editor-panel{display:flex;flex-direction:column;flex:1;height:100%;overflow:hidden}.floating-window .editor-wrapper{flex:1;overflow:hidden}.floating-window .editor{height:auto;flex:1}.floating-window #bd-editor-controls{z-index:10;height:auto;background:var(--background-secondary-alt);border:0;box-shadow:var(--elevation-low)}#floating-editor-window{min-width:340px;min-height:280px;max-height:900px;max-width:750px}.floating-addon-window{min-width:535px;min-height:605px;max-height:90%;max-width:90%}.bd-keybind-wrap{position:relative;min-width:250px;box-sizing:border-box;border-radius:3px;background-color:hsla(0,calc(var(--saturation-factor, 1)*0%),0%,.1);border:1px solid hsla(0,calc(var(--saturation-factor, 1)*0%),0%,.3);padding:10px;height:40px;cursor:pointer}.bd-keybind-wrap input{outline:0;border:0;pointer-events:none;color:var(--text-normal);background:0 0;font-size:16px;text-transform:uppercase;font-weight:700}.bd-keybind-wrap.recording{border-color:hsla(359,calc(var(--saturation-factor, 1)*82.6%),59.4%,.3)}.bd-keybind-wrap.recording{box-shadow:0 0 6px hsla(359,calc(var(--saturation-factor, 1)*82.6%),59.4%,.3)}.bd-keybind-controls{position:absolute;right:5px;top:3px;display:flex;align-items:center;gap:5px}.bd-keybind-controls .bd-keybind-record{padding:4px 8px}.bd-keybind-clear{margin-left:5px;background:0 0!important;opacity:.5;padding-right:4px!important}.bd-keybind-clear:hover{background:0 0;opacity:1}.bd-keybind-clear svg{width:18px!important;height:18px!important}.bd-modal-wrapper{position:absolute;z-index:1000;width:100vw;height:100vh}.bd-backdrop{width:100%;height:100%;background:rgba(0,0,0,.6);position:absolute}.bd-modal{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:33%}.bd-modal-inner{background:var(--background-primary);border-radius:4px;overflow:hidden;animation:bd-modal-open ease-out;animation-duration:300ms}.bd-modal-wrapper.closing .bd-modal-inner{animation:bd-modal-close ease-in;animation-duration:300ms}.bd-modal .footer{display:flex;justify-content:flex-end;padding:15px;background:var(--background-secondary)}.bd-modal-body{padding:20px 15px;padding-top:0}.bd-modal .header{padding:15px}.bd-modal .title{font-size:22px;color:#fff;font-weight:600}.bd-modal-body{color:#fff}.bd-modal .footer .bd-button{min-width:80px;height:38px}@keyframes bd-modal-close{to{transform:scale(.7)}}@keyframes bd-modal-open{0%{transform:scale(.7)}}.bd-modal-root{display:flex;flex-direction:column;background-color:var(--modal-background);border-radius:4px;margin:0 auto;pointer-events:all;position:relative;max-height:100%}.bd-close-button{height:26px;padding:4px;transition:opacity .2s ease-in-out;opacity:.5;cursor:pointer;border-radius:3px;color:var(--interactive-normal);box-sizing:content-box}.bd-close-button:hover{opacity:1;color:var(--interactive-hover)}.bd-modal-small{width:440px;max-height:720px;min-height:200px}.bd-modal-standard{font-size:13px;white-space:pre-wrap;word-wrap:break-word;width:490px;max-height:800px}.bd-modal-medium{width:600px;max-height:800px;min-height:400px}.bd-modal-large{width:800px;max-height:960px;min-height:400px}.bd-modal-header,.bd-modal-footer{position:relative;flex:0 0 auto;padding:16px;z-index:1;overflow-x:hidden}.bd-modal-header{border-radius:4px 4px 0 0;transition:box-shadow .1s ease-out;word-wrap:break-word}.bd-modal-footer{border-radius:0 0 5px 5px;background-color:var(--modal-footer-background);overflow:hidden;box-shadow:inset 0 1px 0 hsl(var(--primary-630-hsl)/.6)}.bd-modal-content{position:relative;z-index:0;border-radius:5px 5px 0 0;padding-left:16px;overflow-x:hidden;font-size:16px;line-height:20px;padding-bottom:20px;overflow:hidden scroll;padding-right:8px}.bd-modal-backdrop{position:fixed;top:0;right:var(--devtools-sidebar-width,0);bottom:0;left:0;-webkit-transform:translateZ(0);transform:translateZ(0);pointer-events:all}#bd-modal-container{position:absolute;top:0;left:0;right:var(--devtools-sidebar-width,0);bottom:0;background:0 0!important;pointer-events:none;z-index:1002}.bd-modal-layer{position:absolute;top:0;bottom:0;left:0;right:0}.bd-modal-layer{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;min-height:0;padding-top:40px;padding-bottom:40px}.bd-notice-success{--color:#3BA55D}.bd-notice-error{--color:#ED4245}.bd-notice-info{--color:#4A8FE1}.bd-notice-warning{--color:#FAA81A}.bd-notice-closing{transition:height 400ms ease;height:0!important}@keyframes bd-open-notice{0%{height:0}}.bd-notice{animation:bd-open-notice 400ms ease;overflow:hidden;height:36px;font-size:14px;line-height:36px;font-weight:500;text-align:center;position:relative;padding-left:4px;padding-right:28px;z-index:101;flex-shrink:0;flex-grow:0;box-shadow:var(--elevation-low);color:#fff;background:var(--color, var(--brand-experiment-600, #3C45A5))}.bd-notice:first-child{border-radius:8px 0 0}.bd-notice-close{position:absolute;top:0;right:0;width:36px;height:36px;background:url(https://discord.com/assets/7731c77d99babca1a8faec204d98c380.svg)no-repeat;background-position:50% 55%;background-size:10px 10px;opacity:.5;transition:opacity .2s;cursor:pointer;-webkit-app-region:no-drag}.bd-notice-button{font-size:14px;font-weight:500;position:relative;top:6px;border:1px solid;color:#fff;border-radius:3px;height:24px;padding:0 10px;box-sizing:border-box;display:inline-block;vertical-align:top;margin-left:10px;line-height:22px;transition:background-color .2s ease,color .2s ease,border-color .2s ease;-webkit-app-region:no-drag;border-color:#fff;background:0 0}.bd-notice-button:hover{color:var(--color, var(--background-mobile-primary));background:#fff}.bd-notice-close:hover{opacity:1}::-webkit-inner-spin-button,::-webkit-outer-spin-button{opacity:.5}.bd-number-input{display:flex;background-color:var(--deprecated-text-input-bg);border:1px solid var(--deprecated-text-input-border);color:var(--text-normal);font-size:14px;padding:5px;margin:0;border-radius:3px;width:70px}.bd-radio-group{min-width:300px}.bd-radio-option{display:flex;align-items:center;padding:10px;margin-bottom:8px;cursor:pointer;user-select:none;background-color:var(--background-secondary);border-radius:3px;color:var(--interactive-normal)}.bd-radio-option:hover{background-color:var(--background-modifier-hover)}.bd-radio-option.bd-radio-selected{background-color:var(--background-modifier-selected);color:var(--interactive-active)}.bd-radio-option input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.bd-radio-icon{margin-right:10px}.bd-radio-label-wrap{display:flex;flex-direction:column}.bd-radio-label{font-family:var(--font-primary);font-size:16px;line-height:20px;font-weight:500}.bd-radio-description{font-family:var(--font-primary);font-size:14px;line-height:18px;font-weight:400}.bd-scroller-base{position:relative;box-sizing:border-box;min-height:0;flex:1 1 auto}.bd-scroller-thin{scrollbar-width:thin;scrollbar-color:var(--scrollbar-thin-thumb) var(--scrollbar-thin-track)}.bd-scroller-thin::-webkit-scrollbar-track{border-color:var(--scrollbar-thin-track);background-color:var(--scrollbar-thin-track);border:2px solid var(--scrollbar-thin-track)}.bd-scroller-thin::-webkit-scrollbar{width:8px;height:8px}.bd-scroller-thin::-webkit-scrollbar-corner{background-color:transparent}.bd-scroller-thin::-webkit-scrollbar-thumb{background-clip:padding-box;border:2px solid transparent;border-radius:4px;background-color:var(--scrollbar-thin-thumb);min-height:40px}.bd-sidebar-header{display:flex;justify-content:space-between;align-items:center}.bd-sidebar-header h2{padding:6px 10px;box-sizing:border-box;color:#96989d;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;flex-shrink:0;display:flex;font-weight:700;text-transform:uppercase;letter-spacing:.02em;font-size:12px}.bd-sidebar-header .bd-changelog-button{height:16px;padding:0}.bd-sidebar-header .bd-icon{cursor:pointer;fill:var(--interactive-normal)}.bd-sidebar-header .bd-changelog-button:hover .bd-icon{fill:var(--interactive-hover)}.bd-slider-wrap{display:flex;color:var(--text-normal);align-items:center}.bd-slider-label{background:var(--brand-experiment);font-weight:700;padding:5px;margin-right:10px;border-radius:5px}.bd-slider-input{height:8px;border-radius:4px;appearance:none;min-width:350px;border-radius:5px;background:hsl(217,calc(var(--saturation-factor, 1)*7.6%),33.5%);outline:0;transition:opacity .2s;background-image:linear-gradient(var(--brand-experiment),var(--brand-experiment));background-size:70% 100%;background-repeat:no-repeat}.bd-slider-input::-webkit-slider-thumb{appearance:none;width:10px;height:24px;top:50%;border-radius:3px;background-color:hsl(0,calc(var(--saturation-factor, 1)*0%),100%);border:1px solid hsl(210,calc(var(--saturation-factor, 1)*2.9%),86.7%);-webkit-box-shadow:0 3px 1px 0 hsla(0,calc(var(--saturation-factor, 1)*0%),0%,.05),0 2px 2px 0 hsla(0,calc(var(--saturation-factor, 1)*0%),0%,.1),0 3px 3px 0 hsla(0,calc(var(--saturation-factor, 1)*0%),0%,.05);box-shadow:0 3px 1px 0 hsla(0,calc(var(--saturation-factor, 1)*0%),0%,.05),0 2px 2px 0 hsla(0,calc(var(--saturation-factor, 1)*0%),0%,.1),0 3px 3px 0 hsla(0,calc(var(--saturation-factor, 1)*0%),0%,.05);cursor:ew-resize}.bd-switch{position:relative;transition:250ms cubic-bezier(0,.3,.7,1) filter,250ms cubic-bezier(0,.3,.7,1) opacity}.bd-switch-body{--switch-color:rgb(114, 118, 125);--symbol1path:path('M5.13231 6.72963L6.7233 5.13864L14.855 13.2704L13.264 14.8614L5.13231 6.72963Z');--symbol2path:path('M13.2704 5.13864L14.8614 6.72963L6.72963 14.8614L5.13864 13.2704L13.2704 5.13864Z');border-radius:14px;width:40px;height:24px;background-color:var(--switch-color);transition:250ms cubic-bezier(0,.3,.7,1) background-color;position:relative}.bd-switch input:active+.bd-switch-body{--switch-color:rgba(100, 137, 126)}.bd-switch input:checked+.bd-switch-body{--switch-color:rgb(67, 181, 129);--symbol1path:path('M7.89561 14.8538L6.30462 13.2629L14.3099 5.25755L15.9009 6.84854L7.89561 14.8538Z');--symbol2path:path('M4.08643 11.0903L5.67742 9.49929L9.4485 13.2704L7.85751 14.8614L4.08643 11.0903Z')}.full-motion .bd-switch input:active+.bd-switch-body{--symbol1path:path('M6.56666 11.0013L6.56666 8.96683L13.5667 8.96683L13.5667 11.0013L6.56666 11.0013Z');--symbol2path:path('M13.5582 8.96683L13.5582 11.0013L6.56192 11.0013L6.56192 8.96683L13.5582 8.96683Z')}.bd-switch input:checked:active+.bd-switch-body{--switch-color:rgba(81, 162, 128)}.full-motion .bd-switch input:checked:active+.bd-switch-body{--symbol1path:path('M6.56666 11.0013L6.56666 8.96683L13.5667 8.96683L13.5667 11.0013L6.56666 11.0013Z');--symbol2path:path('M13.5582 8.96683L13.5582 11.0013L6.56192 11.0013L6.56192 8.96683L13.5582 8.96683Z')}.bd-switch .bd-switch-symbol path{fill:var(--switch-color);transition:250ms cubic-bezier(0,.3,.7,1)}.bd-switch .bd-switch-symbol path:first-child{d:var(--symbol1path)}.bd-switch .bd-switch-symbol path:last-child{d:var(--symbol2path)}.bd-switch input{position:absolute;z-index:1;opacity:0;margin:0;width:100%;height:100%;border-radius:100px;cursor:pointer}.bd-switch-body .bd-switch-slider{display:block;position:absolute;left:-3px;width:28px;height:18px;margin:3px;transition:250ms cubic-bezier(0,.3,.7,1)}.bd-switch input:active+.bd-switch-body .bd-switch-slider{left:1px}.bd-switch input:checked+.bd-switch-body .bd-switch-slider{left:12px}.bd-switch input:active:checked+.bd-switch-body .bd-switch-slider{left:8px}.bd-switch-body .bd-switch-slider .bd-switch-handle{transition:250ms cubic-bezier(0,.3,.7,1);position:relative}.bd-switch input:active+.bd-switch-body .bd-switch-handle{width:28px;height:18px;y:1;x:0}.bd-switch input:checked:active+.bd-switch-body .bd-switch-handle{x:0}.bd-switch-disabled{opacity:.5;filter:grayscale(1)}.bd-switch-disabled input{cursor:not-allowed}.bd-tab-bar{display:flex;flex-direction:row}.bd-tab-item{justify-content:center;align-items:center;text-align:center;min-width:40px;display:flex;border-radius:4px;margin-right:16px;padding:2px 8px;-webkit-app-region:no-drag;cursor:pointer;position:relative;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:var(--interactive-normal);flex-shrink:0;font-weight:500;font-size:16px;line-height:20px}.bd-tab-item:last-child{margin:0}.bd-tab-item:hover,.bd-tab-item.selected{color:var(--interactive-active)}.bd-tab-item.selected{cursor:default;background-color:var(--background-modifier-selected)}.bd-tab-item:hover{background-color:var(--background-modifier-hover)}.bd-tab-item:active{background-color:var(--background-modifier-active)}.bd-text-input{min-width:250px;font-size:16px;box-sizing:border-box;border-radius:3px;color:var(--text-normal);background-color:var(--input-background);border:0;padding:10px;height:40px}.bd-toasts{position:fixed;display:flex;top:0;flex-direction:column;align-items:center;justify-content:flex-end;pointer-events:none;z-index:4000}@keyframes bd-toast-up{0%{transform:translateY(0);opacity:0}}.bd-toast{animation:bd-toast-up 300ms ease;transform:translateY(-10px);background-color:var(--background-primary);padding:10px;border-radius:5px;box-shadow:var(--elevation-medium),var(--elevation-stroke);font-weight:500;color:var(--header-primary);font-size:14px;opacity:1;margin-top:10px;pointer-events:none;user-select:none}@keyframes bd-toast-down{to{transform:translateY(0);opacity:0}}.bd-toast.toast-info,.bd-toast.toast-success,.bd-toast.toast-danger,.bd-toast.toast-error,.bd-toast.toast-warning,.bd-toast.toast-warn{color:#fff}.bd-toast.closing{animation:bd-toast-down 200ms ease;animation-fill-mode:forwards;opacity:1;transform:translateY(-10px)}.bd-toast.icon{padding-left:30px;background-size:20px 20px;background-repeat:no-repeat;background-position:6px 50%}.bd-toast.toast-info{background-color:#4a90e2}.bd-toast.toast-info.icon{background-image:url(data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjRkZGRkZGIiBoZWlnaHQ9IjI0IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4gICAgPHBhdGggZD0iTTAgMGgyNHYyNEgweiIgZmlsbD0ibm9uZSIvPiAgICA8cGF0aCBkPSJNMTIgMkM2LjQ4IDIgMiA2LjQ4IDIgMTJzNC40OCAxMCAxMCAxMCAxMC00LjQ4IDEwLTEwUzE3LjUyIDIgMTIgMnptMSAxNWgtMnYtNmgydjZ6bTAtOGgtMlY3aDJ2MnoiLz48L3N2Zz4=)}.bd-toast.toast-success{background-color:#43b581}.bd-toast.toast-success.icon{background-image:url(data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjRkZGRkZGIiBoZWlnaHQ9IjI0IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4gICAgPHBhdGggZD0iTTAgMGgyNHYyNEgweiIgZmlsbD0ibm9uZSIvPiAgICA8cGF0aCBkPSJNMTIgMkM2LjQ4IDIgMiA2LjQ4IDIgMTJzNC40OCAxMCAxMCAxMCAxMC00LjQ4IDEwLTEwUzE3LjUyIDIgMTIgMnptLTIgMTVsLTUtNSAxLjQxLTEuNDFMMTAgMTQuMTdsNy41OS03LjU5TDE5IDhsLTkgOXoiLz48L3N2Zz4=)}.bd-toast.toast-danger,.bd-toast.toast-error{background-color:#f04747}.bd-toast.toast-danger.icon,.bd-toast.toast-error.icon{background-image:url(data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjRkZGRkZGIiBoZWlnaHQ9IjI0IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4gICAgPHBhdGggZD0iTTEyIDJDNi40NyAyIDIgNi40NyAyIDEyczQuNDcgMTAgMTAgMTAgMTAtNC40NyAxMC0xMFMxNy41MyAyIDEyIDJ6bTUgMTMuNTlMMTUuNTkgMTcgMTIgMTMuNDEgOC40MSAxNyA3IDE1LjU5IDEwLjU5IDEyIDcgOC40MSA4LjQxIDcgMTIgMTAuNTkgMTUuNTkgNyAxNyA4LjQxIDEzLjQxIDEyIDE3IDE1LjU5eiIvPiAgICA8cGF0aCBkPSJNMCAwaDI0djI0SDB6IiBmaWxsPSJub25lIi8+PC9zdmc+)}.bd-toast.toast-warning,.bd-toast.toast-warn{background-color:#ffa600}.bd-toast.toast-warning.icon,.bd-toast.toast-warn.icon{background-image:url(data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjRkZGRkZGIiBoZWlnaHQ9IjI0IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4gICAgPHBhdGggZD0iTTAgMGgyNHYyNEgweiIgZmlsbD0ibm9uZSIvPiAgICA8cGF0aCBkPSJNMSAyMWgyMkwxMiAyIDEgMjF6bTEyLTNoLTJ2LTJoMnYyem0wLTRoLTJ2LTRoMnY0eiIvPjwvc3ZnPg==)}.bd-layer{position:absolute}.bd-tooltip{position:relative;border-radius:5px;font-weight:500;font-size:14px;line-height:16px;max-width:190px;box-sizing:border-box;word-wrap:break-word;z-index:1002;will-change:opacity,transform;box-shadow:var(--elevation-high);color:var(--header-primary)}.bd-tooltip-content{padding:8px 12px;overflow:hidden}.bd-tooltip-pointer{pointer-events:none;width:0;height:0;border:5px solid transparent}.bd-tooltip-primary{background-color:var(--background-floating);color:var(--text-normal)}.bd-tooltip-primary .bd-tooltip-pointer{border-top-color:var(--background-floating)}.bd-tooltip-info{background-color:#4a90e2}.bd-tooltip-info .bd-tooltip-pointer{border-top-color:#4a90e2}.bd-tooltip-success{background-color:#43b581}.bd-tooltip-success .bd-tooltip-pointer{border-top-color:#43b581}.bd-tooltip-danger{background-color:#f04747}.bd-tooltip-danger .bd-tooltip-pointer{border-top-color:#f04747}.bd-tooltip-warn{background-color:#ffa600}.bd-tooltip-warn .bd-tooltip-pointer{border-top-color:#ffa600}.bd-tooltip-top .bd-tooltip-pointer{position:absolute;top:100%;left:50%;margin-left:-5px}.bd-tooltip-bottom .bd-tooltip-pointer{position:absolute;bottom:100%;left:50%;margin-left:-5px;transform:rotate(180deg)}.bd-tooltip-right .bd-tooltip-pointer{position:absolute;right:100%;top:50%;margin-top:-5px;border-left-width:5px;transform:rotate(90deg)}.bd-tooltip-left .bd-tooltip-pointer{position:absolute;left:100%;top:50%;margin-top:-5px;border-left-width:5px;transform:rotate(270deg)}.bd-filled-checkmark{background:#43b581;border-radius:50%;display:flex;justify-content:center;align-items:center;padding:3px;margin-right:4px}.bd-empty-updates{display:flex;flex-direction:column;justify-content:center;align-items:center;color:var(--header-primary);font-weight:500;font-size:16px}.bd-empty-updates svg{fill:#43b581;margin-bottom:20px}.bd-button.bd-button-icon svg{fill:var(--interactive-normal)}.bd-button.bd-button-icon:hover svg{fill:var(--interactive-hover)}.bd-button.bd-button-icon.animate{animation:500ms linear infinite bd-update-spin}.bd-button.bd-button-icon.no-animate{animation:none!important}.bd-settings-group-title .bd-button-icon{margin-left:3px;margin-right:-8px}@keyframes bd-update-spin{0%{transform:rotate(0)}50%{transform:rotate(180deg)}to{transform:rotate(360deg)}}.bd-empty-image-container{background:0 0}.bd-empty-image-header{color:var(--header-primary);font-size:24px;font-weight:600;margin-bottom:8px}.bd-empty-image-message{color:var(--header-secondary);margin-bottom:8px}.bd-empty-image-container .bd-button{margin-top:10px;padding:10px 16px}.bd-empty-results{display:flex;flex-direction:column;align-items:center;color:var(--text-normal);font-size:16px;line-height:24px;margin-top:100px}.bd-empty-results-text{width:280px;margin-top:40px;text-align:center}.bd-button{position:relative;display:flex;justify-content:center;align-items:center;box-sizing:border-box;background:0 0;border:0;border-radius:3px;font-size:14px;font-weight:500;line-height:16px;padding:2px 16px;user-select:none}.bd-button:disabled{cursor:not-allowed;opacity:.5}.bd-button .bd-button-content{--button--underline-color:transparent;background-image:linear-gradient(0deg,transparent,transparent 1px,var(--button--underline-color)0,var(--button--underline-color) 2px,transparent 0);display:flex;justify-content:center;align-items:center}.bd-button:disabled .bd-button-content{background-image:none!important}.bd-button-outlined:disabled{background-color:transparent!important}.bd-button-tiny{width:52px;height:24px;min-width:52px;min-height:24px}.bd-button-small{width:60px;height:32px;min-width:60px;min-height:32px}.bd-button-medium{width:96px;height:38px;min-width:96px;min-height:38px}.bd-button-large{width:130px;height:44px;min-width:130px;min-height:44px}.bd-button-xlarge{width:148px;height:50px;min-width:148px;min-height:50px;font-size:16px;line-height:normal;padding:2px 20px}.bd-button-icon{height:auto;padding:4px}.bd-button-grow,.bd-button-icon{width:auto}.bd-button-filled{-webkit-transition:background-color .17s ease,color .17s ease;transition:background-color .17s ease,color .17s ease}.bd-button-outlined{-webkit-transition:color .17s ease,background-color .17s ease,border-color .17s ease;transition:color .17s ease,background-color .17s ease,border-color .17s ease;border-width:1px;border-style:solid}.bd-button-blank{background:0 0;color:currentColor;border:0;margin:0}.bd-button-filled .bd-button-content,.bd-button-link .bd-button-content,.bd-button-outlined .bd-button-content{margin:0 auto;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.bd-button-filled.bd-button-color-brand{color:var(--white-500);background-color:#3e82e5}.bd-button-filled.bd-button-color-brand:hover{background-color:#3875ce}.bd-button-filled.bd-button-color-brand:active{background-color:#3268b7}.bd-button-filled.bd-button-color-brand:disabled{background-color:#3e82e5;opacity:.4}.bd-button-outlined.bd-button-color-brand{color:var(--button-outline-brand-text);border-color:var(--button-outline-brand-border)}.bd-button-outlined.bd-button-color-brand:hover{background-color:var(--button-outline-brand-background-hover);border-color:var(--button-outline-brand-border-hover);color:var(--button-outline-brand-text-hover)}.bd-button-outlined.bd-button-color-brand:active{background-color:var(--button-outline-brand-background-active);border-color:var(--button-outline-brand-border-active);color:var(--button-outline-brand-text-active)}.bd-button-link.bd-button-color-brand{color:#3e82e5}.bd-button-link.bd-button-color-brand:hover .bd-button-content{--button--underline-color:#3E82E5}.bd-button-filled.bd-button-color-blurple{color:var(--white-500);background-color:var(--brand-experiment)}.bd-button-filled.bd-button-color-blurple:hover{background-color:var(--brand-experiment-560)}.bd-button-filled.bd-button-color-blurple:active{background-color:var(--brand-experiment-600)}.bd-button-filled.bd-button-color-blurple:disabled{background-color:var(--brand-experiment)}.bd-button-outlined.bd-button-color-blurple{color:var(--button-outline-brand-text);border-color:var(--button-outline-brand-border)}.bd-button-outlined.bd-button-color-blurple:hover{background-color:var(--button-outline-brand-background-hover);border-color:var(--button-outline-brand-border-hover);color:var(--button-outline-brand-text-hover)}.bd-button-outlined.bd-button-color-blurple:active{background-color:var(--button-outline-brand-background-active);border-color:var(--button-outline-brand-border-active);color:var(--button-outline-brand-text-active)}.bd-button-link.bd-button-color-blurple{color:var(--brand-experiment)}.bd-button-link.bd-button-color-blurple:hover .bd-button-content{--button--underline-color:var(--brand-experiment)}.bd-button-filled.bd-button-color-yellow{color:var(--white-500);background-color:var(--status-warning)}.bd-button-filled.bd-button-color-yellow:active,.bd-button-filled.bd-button-color-yellow:hover{background-color:null}.bd-button-filled.bd-button-color-yellow:disabled{background-color:var(--status-warning)}.bd-button-outlined.bd-button-color-yellow{color:var(--status-warning);border-color:var(--status-warning)}.bd-button-outlined.bd-button-color-yellow:active{background-color:hsl(var(--yellow-300-hsl)/.1)}.bd-button-link.bd-button-color-yellow{color:var(--status-warning)}.bd-button-link.bd-button-color-yellow:hover .bd-button-content{--button--underline-color:var(--status-warning)}.bd-button-filled.bd-button-color-link{color:var(--white-500);background-color:var(--text-link)}.bd-button-filled.bd-button-color-link:active,.bd-button-filled.bd-button-color-link:hover{background-color:null}.bd-button-filled.bd-button-color-link:disabled{background-color:var(--text-link)}.bd-button-outlined.bd-button-color-link{color:var(--text-link);border-color:var(--text-link)}.bd-button-outlined.bd-button-color-link:active{background-color:hsl(var(--text-link-hsl)/.1)}.bd-button-link.bd-button-color-link{color:var(--text-link)}.bd-button-link.bd-button-color-link:hover .bd-button-content{--button--underline-color:var(--text-link)}.bd-button-filled.bd-button-color-white{color:var(--primary-500);background-color:var(--white-500)}.bd-button-filled.bd-button-color-white:active,.bd-button-filled.bd-button-color-white:hover{background-color:null}.bd-button-filled.bd-button-color-white:disabled{background-color:var(--white-500)}.bd-button-outlined.bd-button-color-white{color:var(--white-500);border-color:var(--white-500)}.bd-button-outlined.bd-button-color-white:active{background-color:hsl(var(--white-500-hsl)/.1)}.bd-button-link.bd-button-color-white{color:var(--white-500)}.bd-button-link.bd-button-color-white:hover .bd-button-content{--button--underline-color:var(--white-500)}.bd-button-filled.bd-button-color-red{color:var(--white-500);background-color:var(--button-danger-background)}.bd-button-filled.bd-button-color-red:hover{background-color:var(--button-danger-background-hover)}.bd-button-filled.bd-button-color-red:active{background-color:var(--button-danger-background-active)}.bd-button-filled.bd-button-color-red:disabled{background-color:var(--button-danger-background-disabled)}.bd-button-outlined.bd-button-color-red{color:var(--button-outline-danger-text);border-color:var(--button-outline-danger-border)}.bd-button-outlined.bd-button-color-red:hover{background-color:var(--button-outline-danger-background-hover);border-color:var(--button-outline-danger-border-hover);color:var(--button-outline-danger-text-hover)}.bd-button-outlined.bd-button-color-red:active{background-color:var(--button-outline-danger-background-active);border-color:var(--button-outline-danger-border-active);color:var(--button-outline-danger-text-active)}.bd-button-link.bd-button-color-red{color:var(--text-danger)}.bd-button-link.bd-button-color-red:hover .bd-button-content{--button--underline-color:var(--text-danger)}.bd-button-filled.bd-button-color-green{color:var(--white-500);background-color:var(--button-positive-background)}.bd-button-filled.bd-button-color-green:hover{background-color:var(--button-positive-background-hover)}.bd-button-filled.bd-button-color-green:active{background-color:var(--button-positive-background-active)}.bd-button-filled.bd-button-color-green:disabled{background-color:var(--button-positive-background-disabled)}.bd-button-outlined.bd-button-color-green{color:var(--button-outline-positive-text);border-color:var(--button-outline-positive-border)}.bd-button-outlined.bd-button-color-green:hover{background-color:var(--button-outline-positive-background-hover);border-color:var(--button-outline-positive-border-hover);color:var(--button-outline-positive-text-hover)}.bd-button-outlined.bd-button-color-green:active{background-color:var(--button-outline-positive-background-active);border-color:var(--button-outline-positive-border-active);color:var(--button-outline-positive-text-active)}.bd-button-link.bd-button-color-green{color:var(--green-360)}.bd-button-link.bd-button-color-green:hover .bd-button-content{--button--underline-color:var(--green-360)}.bd-button-outlined.bd-button-color-primary{color:var(--button-outline-primary-text);border-color:var(--button-outline-primary-border)}.bd-button-outlined.bd-button-color-primary:hover{background-color:var(--button-outline-primary-background-hover);border-color:var(--button-outline-primary-border-hover);color:var(--button-outline-primary-text-hover)}.bd-button-outlined.bd-button-color-primary:active{background-color:var(--button-outline-primary-background-active);border-color:var(--button-outline-primary-border-active);color:var(--button-outline-primary-text-active)}.bd-button-filled.bd-button-color-primary{color:var(--white-500);background-color:var(--button-secondary-background)}.bd-button-filled.bd-button-color-primary:hover{background-color:var(--button-secondary-background-hover)}.bd-button-filled.bd-button-color-primary:active{background-color:var(--button-secondary-background-active)}.bd-button-filled.bd-button-color-primary:disabled{background-color:var(--button-secondary-background-disabled)}.theme-dark .bd-button-link.bd-button-color-primary{color:var(--white-500)}.theme-dark .bd-button-link.bd-button-color-primary:hover .bd-button-content{--button--underline-color:var(--white-500)}.theme-light .bd-button-link.bd-button-color-primary{color:var(--primary-400)}.theme-light .bd-button-link.bd-button-color-primary:hover .bd-button-content{--button--underline-color:var(--primary-400)}.theme-dark .bd-button-filled.bd-button-color-transparent{color:var(--primary-100);background-color:hsl(var(--white-500-hsl)/.1)}.theme-dark .bd-button-filled.bd-button-color-transparent:hover{background-color:hsl(var(--white-500-hsl)/.05)}.theme-dark .bd-button-filled.bd-button-color-transparent:active{background-color:hsl(var(--white-500-hsl)/.01)}.theme-dark .bd-button-filled.bd-button-color-transparent:disabled{background-color:hsl(var(--white-500-hsl)/.1)}.theme-dark .bd-button-outlined.bd-button-color-transparent{color:var(--primary-200);border-color:var(--primary-200)}.theme-dark .bd-button-outlined.bd-button-color-transparent:active{background-color:hsl(var(--primary-200-hsl)/.1)}.theme-dark .bd-button-link.bd-button-color-transparent{color:var(--primary-200)}.theme-dark .bd-button-link.bd-button-color-transparent:hover .bd-button-content{--button--underline-color:var(--primary-200)}.theme-light .bd-button-filled.bd-button-color-transparent{color:var(--primary-400);background-color:hsl(var(--primary-400-hsl)/.01)}.theme-light .bd-button-filled.bd-button-color-transparent:hover{background-color:hsl(var(--primary-400-hsl)/.2)}.theme-light .bd-button-filled.bd-button-color-transparent:active{background-color:hsl(var(--primary-400-hsl)/.25)}.theme-light .bd-button-filled.bd-button-color-transparent:disabled{background-color:hsl(var(--primary-400-hsl)/.01)}.theme-light .bd-button-outlined.bd-button-color-transparent{color:var(--primary-400);border-color:var(--primary-400)}.theme-light .bd-button-outlined.bd-button-color-transparent:active{background-color:hsl(var(--primary-400-hsl)/.1)}.theme-light .bd-button-link.bd-button-color-transparent{color:var(--primary-400)}.theme-light .bd-button-link.bd-button-color-transparent:hover .bd-button-content{--button--underline-color:var(--primary-400)}.bd-spinner{width:32px;height:32px;position:relative}.bd-cube1,.bd-cube2{background-color:#3e82e5;width:10px;height:10px;position:absolute;top:0;left:0;animation:bd-sk-cubemove 1.8s infinite ease-in-out}.bd-cube2{animation-delay:-.9s}@keyframes bd-sk-cubemove{25%{transform:translateX(22px) rotate(-90deg) scale(.5)}50%{transform:translateX(22px) translateY(22px) rotate(-179deg)}50.1%{transform:translateX(22px) translateY(22px) rotate(-180deg)}75%{transform:translateX(0) translateY(22px) rotate(-270deg) scale(.5)}to{transform:rotate(-360deg)}}.bd-search-wrapper{padding:3px;border-radius:3px;outline:0;border:0;background-color:var(--background-tertiary);color:var(--text-muted);display:flex;align-items:center}.bd-search{padding:2px 3px;background:0 0;border:0;color:var(--text-normal);flex:1}.bd-search::-webkit-input-placeholder{color:var(--text-muted)}.bd-search-wrapper>svg{margin-right:2px;fill:var(--interactive-normal)}.bd-search-wrapper>.bd-button{margin-right:2px;background:0 0;padding:0}.bd-search-wrapper>.bd-button>svg .fill{fill:var(--interactive-normal)}.bd-search-wrapper>.bd-button:hover>svg .fill{fill:var(--interactive-hover)}.bd-text-normal{color:var(--text-normal)}.bd-text-muted{color:var(--text-muted)}.bd-text-error{color:var(--red-400)}.bd-text-brand{color:var(--text-brand)}.bd-text-link{color:var(--text-link)}.bd-header-primary{color:var(--header-primary)}.bd-header-secondary{color:var(--header-secondary)}.bd-text-yellow{color:var(--text-warning)}.bd-text-green{color:var(--text-positive)}.bd-text-red{color:var(--status-danger)}.bd-text-white{color:var(--white-500)}.bd-text-10{font-size:10px;line-height:12px}.bd-text-12{font-size:12px;line-height:16px}.bd-text-14{font-size:14px;line-height:18px}.bd-text-16{font-size:16px;line-height:20px}.bd-text-20{font-size:20px;line-height:24px}.bd-text-24{font-size:24px;line-height:30px}.bd-text-32{font-size:32px;line-height:40px}.bd-text-strong{font-weight:600}.bd-selectable{user-select:text}.bd-chat-badge{vertical-align:bottom;line-height:1.375rem;display:inline-block;height:1.25rem}.bd-member-badge{height:15px;margin-left:4px}.bd-link{text-decoration:none}.bd-link:hover{text-decoration:underline}.bd-divider{width:100%;height:1px;border-top:thin solid var(--background-modifier-accent);margin-bottom:1em}",""]);const s=i},2793:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",o=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),o&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),o&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,o,a,r){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(o)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(i[l]=!0)}for(var d=0;d<e.length;d++){var c=[].concat(e[d]);o&&i[c[0]]||(void 0!==r&&(void 0===c[5]||(c[1]="@layer".concat(c[5].length>0?" ".concat(c[5]):""," {").concat(c[1],"}")),c[5]=r),n&&(c[2]?(c[1]="@media ".concat(c[2]," {").concat(c[1],"}"),c[2]=n):c[2]=n),a&&(c[4]?(c[1]="@supports (".concat(c[4],") {").concat(c[1],"}"),c[4]=a):c[4]="".concat(a)),t.push(c))}},t}},552:e=>{"use strict";e.exports=function(e){return e[1]}},6287:(e,t)=>{t.read=function(e,t,n,o,a){var r,i,s=8*a-o-1,l=(1<<s)-1,d=l>>1,c=-7,u=n?a-1:0,m=n?-1:1,p=e[t+u];for(u+=m,r=p&(1<<-c)-1,p>>=-c,c+=s;c>0;r=256*r+e[t+u],u+=m,c-=8);for(i=r&(1<<-c)-1,r>>=-c,c+=o;c>0;i=256*i+e[t+u],u+=m,c-=8);if(0===r)r=1-d;else{if(r===l)return i?NaN:1/0*(p?-1:1);i+=Math.pow(2,o),r-=d}return(p?-1:1)*i*Math.pow(2,r-o)},t.write=function(e,t,n,o,a,r){var i,s,l,d=8*r-a-1,c=(1<<d)-1,u=c>>1,m=23===a?Math.pow(2,-24)-Math.pow(2,-77):0,p=o?0:r-1,h=o?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,i=c):(i=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-i))<1&&(i--,l*=2),(t+=i+u>=1?m/l:m*Math.pow(2,1-u))*l>=2&&(i++,l/=2),i+u>=c?(s=0,i=c):i+u>=1?(s=(t*l-1)*Math.pow(2,a),i+=u):(s=t*Math.pow(2,u-1)*Math.pow(2,a),i=0));a>=8;e[n+p]=255&s,p+=h,s/=256,a-=8);for(i=i<<a|s,d+=a;d>0;e[n+p]=255&i,p+=h,i/=256,d-=8);e[n+p-h]|=128*g}},6819:e=>{"use strict";e.exports=require("electron")},8812:e=>{"use strict";e.exports=require("fs")},8370:e=>{"use strict";if(void 0===require("original-fs")){var t=new Error("Cannot find module 'require(\"original-fs\")'");throw t.code="MODULE_NOT_FOUND",t}e.exports=require("original-fs")},3168:e=>{"use strict";e.exports=require("path")},4591:e=>{"use strict";e.exports={}},7814:e=>{"use strict";e.exports=JSON.parse('{"Panels":{"plugins":"Pluginy","themes":"Témata","customcss":"Vlastní CSS","updates":"Aktualizace"},"Collections":{"settings":{"name":"Nastavení","general":{"name":"Obecné","voiceDisconnect":{"name":"Odpojení z hlas. kanálu","note":"Odpojit z hlasového kanálu při zavření Discordu"},"showToasts":{"name":"Zobrazit vyskakovací okna","note":"Zobrazí malé oznámení pro důležité informace"},"mediaKeys":{"name":"Zakázat klávesy médií","note":"Zabrání Discordu přivlastnění kláves médií při přehrávání videa."}},"window":{"removeMinimumSize":{"name":"Odebrat minimální velikost","note":"Odebere Discordem vynucenou minimální velikost okna 940x500"},"name":"Předvolby okna","transparency":{"name":"Povolit průhlednost","note":"Povolí průhlednost hlavního okna (vyžaduje restart)"},"frame":{"name":"Okraj okna","note":"Přidá nativní systémový okraj okna k hlavnímu oknu"}},"addons":{"name":"Správce doplňků","addonErrors":{"name":"Zobrazit chyby doplňků","note":"Zobrazí okno s chybami pluginů/témat"},"editAction":{"name":"Upravit akci","note":"Kde se objeví doplňky a témata při úpravě","options":{"detached":"Oddělené okno","system":"Systémový editor"}}},"customcss":{"name":"Vlastní CSS","customcss":{"name":"Vlastní CSS","note":"Povolí záložku Vlastní CSS"},"liveUpdate":{"name":"Okamžitá aktualizace","note":"Aktualizuje CSS při psaní"},"startDetached":{"name":"Spustit odděleně","note":"Kliknutí na záložku Vlastní CSS otevře editor v odděleném okně"},"nativeOpen":{"name":"Otevřít v nativním editoru","note":"Kliknutí na záložku Vlastní CSS otevře tvé vlastní CSS ve tvém nativním editoru"},"openAction":{"name":"Lokace editoru","note":"Kde se má ve výchozím nastavení otevřít Vlastní CSS","options":{"settings":"Menu nastavení","detached":"Oddělené okno","system":"Systémový editor"}}},"developer":{"name":"Vývojářská nastavení","debuggerHotkey":{"name":"Zkratka ladění","note":"Povolí aktivaci ladění při stisknutí F8"},"reactDevTools":{"name":"Vývojářské nástroje React","note":"Vloží tvou lokální instalaci React Developer Tools do Discordu"},"inspectElement":{"name":"Zkratka prozkoumání prvku","note":"Povolí klávesovou zkratku prozkoumání prvku (Ctrl + Shift + C), která je normální ve většině prohlížečů"},"devToolsWarning":{"name":"Zastavit varování DevTools","note":"Zabrání Discordu vypisovat jeho \\"Zadrž!\\" zprávu"},"debugLogs":{"name":"Ladicí protokoly","note":"Vypíše vše z konzole do souboru debug.log ve složce BetterDiscordu"},"devTools":{"name":"DevTools","note":"Povolí přepnutí DevTools při stisku Ctrl+Shift+I"}},"editor":{"name":"Předvolby editoru","lineNumbers":{"name":"Čísla řádků","note":"Povolí zobrazování čísel řádků vedle editoru"},"fontSize":{"name":"Velikost písma","note":"Velikost písma (pt) k použití v editoru"},"minimap":{"name":"Minimapa","note":"Povolí zobrazování kódu v minimapě vedle editoru"},"hover":{"name":"Referenční tooltipy","note":"Povolí zobrazování referenčních tooltipů při přechodu přes pravidla a selektory"},"quickSuggestions":{"name":"Rychlé návrhy","note":"Povolí zobrazování automaticky dokončovaných návrhů, zatímco píšete"},"renderWhitespace":{"name":"Zobrazit neviditelnou mezeru","note":"Zda v editoru zobrazit neviditelnou mezeru","options":{"all":"Vždy","none":"Nikdy","selection":"Výběr"}}}}},"Addons":{"title":"{{name}} v{{version}} od {{author}}","byline":"od {{author}}","openFolder":"Otevřít složku {{type}}","reload":"Znovu načíst","addonSettings":"Nastavení","website":"Web","source":"Zdroj","invite":"Server podpory","donate":"Přispět","patreon":"Patreon","name":"Název","author":"Autor","version":"Verze","added":"Datum přidání","modified":"Datum upravení","search":"Hledat {{type}}","editAddon":"Upravit","deleteAddon":"Odstranit","confirmDelete":"Opravdu chceš odstranit {{name}}?","confirmationText":"Máš neuložené změny u {{name}}. Zavřením tohoto okna je všechny ztratíš.","enabled":"Doplněk {{name}} byl povolen.","disabled":"Doplněk {{name}} byl zakázán.","couldNotEnable":"Doplněk {{name}} nemohl být povolen.","couldNotDisable":"Doplněk {{name}} nemohl být zakázán.","couldNotStart":"Doplněk {{name}} nemohl být spuštěn.","couldNotStop":"Doplněk {{name}} nemohl být zastaven.","settingsError":"Nepodařilo se otevřít nastavení {{name}}","methodError":"Nepodařilo se spustit metodu {{method}}.","unknownAuthor":"Neznámý autor","noDescription":"Bez popisu.","alreadyExists":"Již existuje {{type}} s názvem {{name}}","alreadWatching":"Již sledujete doplňky.","metaError":"META být nemohl parsován.","missingNameData":"META chybějící údaje názvu.","metaNotFound":"META nebyl nalezen.","compileError":"Nepodařilo se zkompilovat.","wasUnloaded":"Doplněk {{name}} byl odnačten.","blankSlateHeader":"Nemáš žádné doplňky typu {{type}}!","blankSlateMessage":"Najdi si nějaké na [tomto webu]({{link}}) a přidej je do své {{type}} složky.","isEnabled":"Povoleno","wasLoaded":"Doplněk {{name}} v{{version}} byl načten."},"CustomCSS":{"confirmationText":"Máš neuložené změny ve vlastním CSS. Zavřením tohoto okna je všechny ztratíš.","update":"Aktualizovat","save":"Uložit","openNative":"Otevřít v systémovém editoru","openDetached":"Oddělit okno","settings":"Nastavení editoru","editorTitle":"Okno vlastního CSS"},"Modals":{"confirmAction":"Opravdu?","okay":"Dobře","done":"Hotovo","cancel":"Zrušit","nevermind":"Ne","close":"Zavřít","name":"Název","message":"Zpráva","error":"Chyba","addonErrors":"Chyby doplňku","restartRequired":"Vyžadován restart","restartNow":"Restartovat nyní","restartLater":"Restartovat později","additionalInfo":"Dodatečné informace","restartPrompt":"Aby se tato změna projevila, bude potřeba restartovat Discord. Chceš jej restartovat nyní?"},"ReactDevTools":{"notFound":"Rozšíření nenalezeno","notFoundDetails":"Nepodařilo se nalézt rozšíření React Developer Tools na tvém počítači. Nainstaluj si prosím rozšíření na své lokální Chrome instalaci."},"Sorting":{"sortBy":"Seřadit podle","order":"Pořadí","ascending":"Vzestupně","descending":"Sestupně"},"WindowPrefs":{"enabledInfo":"Tato možnost vyžaduje průhledné téma, aby fungovala správně. Na Windows to může rozbít Areo přichytávání a maximalizování.\\n\\nAby se tato změna projevila, bude potřeba restartovat Discord. Chceš jej restartovat nyní?","disabledInfo":"Aby se tato změna projevila, bude potřeba restartovat Discord. Chceš jej restartovat nyní?"},"Notices":{"moreInfo":"Více informací"},"Updater":{"updateFailed":"Aktualizace selhala!","updateFailedMessage":"Aktualizace BettterDiscordu se nezdařila. Stáhněte si prosím nejnovější verzi instalátoru z našeho webu (https://betterdiscord.app) a přeinstalujte jej.","updateSuccessful":"Aktualizace byla úspěšná!","updateAvailable":"BetterDiscord má novou aktualizaci (v{{version}})","addonUpdatesAvailable":"BetterDiscord nalezl aktualizace {{count}} vašich doplňků typu {{type}}!","addonUpdated":"Doplněk {{name}} byl aktualizován na verzi {{version}}!","checking":"Kontrola aktualizací!","finishedChecking":"Kontrola aktualizací dokončena!","checkForUpdates":"Zkontrolovat aktualizace!","updateAll":"Aktualizovat vše!","noUpdatesAvailable":"Nejsou dostupné žádné aktualizace.","versionAvailable":"Je dostupná verze {{version}}!","upToDateBlankslate":"Všechny vaše doplňky typu {{type}} jsou aktuální!","updateButton":"Aktualizovat!"}}')},6059:e=>{"use strict";e.exports={}},9463:e=>{"use strict";e.exports=JSON.parse('{"Panels":{"plugins":"Plugins","themes":"Themes","customcss":"Custom-CSS"},"Collections":{"settings":{"name":"Einstellungen","general":{"name":"Allgemein","voiceDisconnect":{"name":"Verbindung zum Sprachchat trennen","note":"Trennt beim Schließen von Discord die Verbindung zum Sprachchat"},"showToasts":{"name":"Toast-Benachrichtigungen anzeigen","note":"Zeigt eine kleine Benachrichtigung für wichtige Informationen an"},"mediaKeys":{"name":"Medien-Tasten deaktivieren","note":"Verhindert, dass Discord deine Medien-Tasten nach dem Abspielen eines Videos beansprucht"}},"window":{"removeMinimumSize":{"name":"Freie Fenstergröße","note":"Entfernt die Beschränkung der minimalen Fenstergröße von 940x500 Pixel"},"name":"Fenster-Einstellungen","transparency":{"name":"Transparenz aktivieren","note":"Macht den Discord-Hintergrund transparent (Benötigt Discord Neustart)"},"frame":{"name":"Standard-Design","note":"Stellt das Hauptfenster im Standard-Design des Betriebssystems dar"}},"addons":{"name":"Erweiterungsverwaltung","addonErrors":{"name":"Fehlernachricht für Erweiterungen anzeigen","note":"Zeigt ein Informationsfenster bei Ladefehlern von Erweiterungen an"},"editAction":{"name":"Bearbeitungsaktion","note":"Bestimmt womit Plugins und Themes zum Bearbeiten geöffnet werden","options":{"detached":"Losgelöstes Fenster","system":"Systemweiter Standard-Texteditor"}}},"customcss":{"name":"Custom-CSS","customcss":{"name":"Custom-CSS","note":"Aktiviert den Custom-CSS Reiter in den Einstellungen"},"liveUpdate":{"name":"Echtzeitaktualisierung","note":"Aktualisert den CSS Code während des Schreibens"},"startDetached":{"name":"In losgelöstem Fenster öffnen","note":"Das Öffnen des \\\\\\"Custom-CSS\\\\\\"-Reiters öffnet den Editor in einem separaten Fenster"},"nativeOpen":{"name":"Im System-Editor öffnen","note":"Das Öffnen des \\\\\\"Custom-CSS\\\\\\"-Reiters öffnet den Editor im systemweiten Standard-Texteditor"},"openAction":{"name":"Editormodus","note":"Wo soll Custom-CSS standardmäßig geöffnet werden","options":{"settings":"in den Einstellungen","detached":"in losgelöstem Fenster","system":"im Standard-Texteditor"}}},"developer":{"name":"Entwickler-Einstellungen","debuggerHotkey":{"name":"Debugger-Tastenkürzel","note":"Erlaubt das Starten des Debuggers durch Drücken der F8-Taste"},"reactDevTools":{"name":"React-Entwicklerwerzeuge","note":"Koppelt eine vorhandene Installation der React-Entwicklerwerkzeuge in Discord ein"},"inspectElement":{"name":"Tastenkürzel für \\"Element untersuchen\\"","note":"Aktiviert das Tastenkürzel für \\\\\\"Element Untersuchen\\\\\\" (Strg + Shift + C), welches in gängigen Browsern vorhanden ist"},"devToolsWarning":{"name":"Entwicklerwerkzeuge Warnungen stoppen","note":"Hält Discord davon ab ihre \\\\\\"Hold Up!\\\\\\" Warnung zu zeigen"},"debugLogs":{"name":"Debugger Logs","note":"Speichert alle Ausgaben aus der Konsole in die \\\\\\"debug.log\\\\\\" Datei im BetterDiscord Verzeichnis"}}}},"Addons":{"title":"{{name}} v{{version}} von {{author}}","byline":"von {{author}}","openFolder":"{{type}}-Ordner öffnen","reload":"Neu laden","addonSettings":"Einstellungen","website":"Webseite","source":"Quelle","invite":"Support-Server","donate":"Spenden","patreon":"Patreon","name":"Name","author":"Autor","version":"Version","added":"Hinzufügedatum","modified":"Bearbeitungsdatum","search":"{{type}} suchen","editAddon":"Bearbeiten","deleteAddon":"Löschen","confirmDelete":"Bist du dir sicher, dass du {{name}} löschen willst?","confirmationText":"Du hast ungespeicherte Änderungen in {{name}}. Durch das Schließen dieses Fensters verlierst du alle Änderungen.","enabled":"{{name}} wurde aktiviert.","disabled":"{{name}} wurde deaktiviert.","couldNotEnable":"{{name}} konnte nicht aktiviert werden.","couldNotDisable":"{{name}} konnte nicht deaktiviert werden.","couldNotStart":"{{name}} konnte nicht gestartet werden.","couldNotStop":"{{name}} konnte nicht gestoppt werden.","settingsError":"Einstellungen für {{name}} konnten nicht geöffnet werden","methodError":"{{method}} konnte nicht ausgeführt werden.","unknownAuthor":"Unbekannter Autor","noDescription":"Keine Beschreibung angegeben.","alreadyExists":"Es existiert bereits ein {{type}} mit dem Namen {{name}}","alreadWatching":"Erweiterungen werden bereits beobachtet.","metaError":"META konnte nicht geparst werden.","missingNameData":"META enthält keinen \\\\\\"name\\\\\\" Parameter.","metaNotFound":"META nicht gefunden.","compileError":"Konnte nicht kompiliert werden.","wasUnloaded":"{{name}} wurde entladen.","blankSlateHeader":"Du besitzt keine {{type}}s!","blankSlateMessage":"Lade dir welche von [this website]({{link}}) herunter und füge sie deinem {{type}} Ordner hinzu."},"CustomCSS":{"confirmationText":"Du hast ungespeicherte Änderungen im Custom-CSS. Durch das Schließen dieses Fensters verlierst du alle Änderungen.","update":"Aktualisieren","save":"Speichern","openNative":"Im System-Editor öffnen","openDetached":"Fenster trennen","settings":"Editor-Einstellungen","editorTitle":"Custom-CSS-Editor"},"Modals":{"confirmAction":"Bist du dir sicher?","okay":"Okay","done":"Fertig","cancel":"Abbrechen","nevermind":"Egal","close":"Schließen","name":"Name","message":"Nachricht","error":"Fehler","addonErrors":"Erweiterungsfehler","restartRequired":"Neustart erforderlich","restartNow":"Jetzt neustarten","restartLater":"Später neustarten","additionalInfo":"Zusätzliche Informationen","restartPrompt":"Die Einstellung wurde gespeichert. Um sie anzuwenden, ist ein Neustart von Discord erforderlich."},"ReactDevTools":{"notFound":"Erweiterung nicht gefunden","notFoundDetails":"React-Entwicklerwerkzeuge-Erweiterung konnte nicht gefunden werden. Füg die Erweiterung zu deiner Chrome-Installation hinzu."},"Sorting":{"sortBy":"Sortieren nach","order":"Reihenfolge","ascending":"Aufsteigend","descending":"Absteigend"},"WindowPrefs":{"enabledInfo":"Diese Option benötigt ein Theme mit transparentem Hintergrund um richtig zu funktionieren. Weiters kann dadurch unter Windows das Andocken des Fensters am Bildschirmrand beeinträchtigt sein.\\n\\nUm die Änderungen zu übernehmen muss Discord neugestartet werden. Möchtest du jetzt neustarten?","disabledInfo":"Die Einstellung wurde gespeichert. Um sie anzuwenden, ist ein Neustart von Discord erforderlich."}}')},5641:e=>{"use strict";e.exports=JSON.parse('{"Panels":{"plugins":"Πρόσθετα","themes":"Θέματα","customcss":"Προσαρμοσμένο CSS","updates":"Ενημερώσεις"},"Collections":{"settings":{"name":"Ρυθμίσεις","general":{"name":"Γενικά","voiceDisconnect":{"name":"Αποσύνδεση Φωνής","note":"Αποσύνδεση από τον διακομιστή φωνής με το κλείσιμο του Discord"},"showToasts":{"name":"Εμφάνιση Ειδοποιήσεων","note":"Εμφάνιση μικρής ειδοποίησης για σημαντικές πληροφορίες"},"mediaKeys":{"name":"Απενεργοποίηση Πλήκτρων Πολυμέσων","note":"Αποτροπή παρέμβασης του Discord στα πλήκτρα πολυμέσων μετά την αναπαραγωγή βίντεο."}},"window":{"removeMinimumSize":{"name":"Απομάκρυνση Ελάχιστου Μεγέθους","note":"Απομακρύνει τον περιορισμό του Discord για ελάχιστες διαστάσεις παραθύρου στα 940 x 500"},"name":"Ιδιότητες Παραθύρου","transparency":{"name":"Ενεργοποίηση Διαφάνειας","note":"Ενεργοποιεί τη διαφάνεια του βασικού παραθύρου (απαιτείται επανεκκίνηση)"},"frame":{"name":"Πλαίσιο Παραθύρου","note":"Προσθέτει το πλαίσιο του συστήματος στο βασικό παράθυρο"}},"addons":{"name":"Διαχειριστής Προσθέτων","addonErrors":{"name":"Εμφάνιση Σφαλμάτων Προσθέτων","note":"Εμφάνιση σφαλμάτων προσθέτων/θεμάτων σε παράθυρο"},"editAction":{"name":"Ενέργεια Επεξεργασίας","note":"Η θέση εμφάνισης προσθέτων και θεμάτων κατά την επεξεργασία","options":{"detached":"Αποσπώμενο Παράθυρο","system":"Επεξεργαστής Συστήματος"}}},"customcss":{"name":"Προσαρμοσμένο CSS","customcss":{"name":"Προσαρμοσμένο CSS","note":"Ενεργοποιεί την καρτέλα Προσαρμοσμένου CSS"},"liveUpdate":{"name":"Ενημέρωση σε πραγματικό χρόνο","note":"Ενημερώνεται το CSS ενώ πληκτρολογείτε"},"startDetached":{"name":"Εκκίνηση ως Αποσπώμενο","note":"Πατώντας την καρτέλα Προσαρμοσμένου CSS ανοίγει τον επεξεργαστή σε χωριστό παράθυρο"},"nativeOpen":{"name":"Άνοιγμα στον Επεξεργαστή του Συστήματος","note":"Πατώντας την καρτέλα του Προσαρμοσμένου CSS ανοίγει το προσαρμοσμένο CSS στον επεξεργαστή συστήματος"},"openAction":{"name":"Θέση επεξεργαστή","note":"Που πρέπει να ανοίγει το Προσαρμοσμένο CSS από προεπιλογή","options":{"settings":"Μενού Ρυθμίσεων","detached":"Αποσπώμενο παράθυρο","system":"Επεξεργαστής Συστήματος"}}},"developer":{"name":"Ρυθμίσεις Δημιουργού","debuggerHotkey":{"name":"Συντόμευση πληκτρολογίου για Αποσφαλμάτωση","note":"Επιτρέπει την ενεργοποίηση της Αποσφαλμάτωσης, πατώντας το πλήκτρο F8 με ανοιχτά τα Εργαλεία Δημιουργού"},"reactDevTools":{"name":"Εργαλεία Δημιουργού React","note":"Ανοίγει την τοπική εγκατάσταση των Εργαλείων Δημιουργού React στο Discord"},"inspectElement":{"name":"Συντόμευση πληκτρολογίου Παρακολούθησης Στοιχείου","note":"Ενεργοποιεί τη συντόμευση πληκτρολογίου παρακολούθησης στοιχείου (Ctrl+Shift+C) που είναι κοινή στους περισσότερους φυλλομετρητές"},"devToolsWarning":{"name":"Σταμάτημα Προειδοποίησης Εργαλείων Δημιουργού","note":"Αποτρέπει το Discord να εμφανίζει το μήνυμα «Αναμείνατε!»"},"debugLogs":{"name":"Καταγραφές Αποσφαλμάτωσης","note":"Εξάγει τα πάντα από την κονσόλα στο αρχείο debug.log στο φάκελο του BetterDiscord"},"devTools":{"name":"Εργαλεία Δημιουργού","note":"Ενεργοποιεί την εναλλαγή των Εργαλείων Δημιουργού με το Ctrl+Shift+I"}},"editor":{"name":"Ιδιότητες Επεξεργαστή","lineNumbers":{"name":"Αριθμοί γραμμών","note":"Ενεργοποιείται η εμφάνιση των αριθμών γραμμών στη πλευρά του επεξεργαστή"},"fontSize":{"name":"Μέγεθος Γραμματοσειράς","note":"Μεγεθος γραμματοσειράς (pt) για χρήση στον επεξεργαστή"},"minimap":{"name":"Εποπτικός χάρτης","note":"Ενεργοποιεί την εμφάνιση του εποπτικού χάρτη του κώδικα στην πλευρά του επεξεργαστή"},"hover":{"name":"Επεξηγήσεις Αναφοράς","note":"Ενεργοποιεί την εμφάνιση των επεξηγήσεων αναφοράς όταν πάτε με το ποντίκι κανόνων και επιλογέων"},"quickSuggestions":{"name":"Γρήγορες Προτάσεις","note":"Ενεργοποιεί την εμφάνιση των αυτοσυμπληρούμενων προτάσεων κατά την δακτυλογράφηση"},"renderWhitespace":{"name":"Εμφάνιση Διαστήματος","note":"Όταν τα διαστήματα πρέπει να φαίνονται από τον επεξεργαστή","options":{"all":"Πάντα","none":"Ποτέ","selection":"Επιλογή"}}}}},"Addons":{"title":"{{name}} v{{version}} από {{author}}","byline":"από {{author}}","openFolder":"Άνοιγμα Φακέλου τύπου {{type}}","reload":"Επαναφόρτωση","addonSettings":"Ρυθμίσεις","website":"Ιστοσελίδα","source":"Προέλευση","invite":"Διακομιστής Υποστήριξης","donate":"Δωρεά","patreon":"Patreon","name":"Ονομασία","author":"Δημιουργός","version":"Έκδοση","added":"Ημερομηνία που Προστέθηκε","modified":"Ημερομηνία που Τροποποιήθηκε","search":"Αναζήτηση για {{type}}","editAddon":"Επεξεργασία","deleteAddon":"Διαγραφή","confirmDelete":"Θέλετε να διαγράψετε το πρόσθετο {{name}};","confirmationText":"Έχετε μη αποθηκευμένες αλλαγές στο πρόσθετο {{name}}. Με το κλείσιμο του παραθύρου θα χαθούν όλες αυτές οι αλλαγές.","enabled":"Το πρόσθετο {{name}} έχει ενεργοποιηθεί.","disabled":"Το πρόσθετο {{name}} έχει απενεργοποιηθεί.","couldNotEnable":"Το πρόσθετο {{name}} δεν μπορεί να ενεργοποιηθεί.","couldNotDisable":"Το πρόσθετο {{name}} δεν μπορεί να απενεργοποιηθεί.","couldNotStart":"Το πρόσθετο {{name}} δεν μπορεί να εκκινηθεί.","couldNotStop":"Το πρόσθετο {{name}} δεν μπορεί να τερματιστεί.","settingsError":"Αδύνατο το άνοιγμα των ρυθμίσεων για το πρόσθετο {{name}}","methodError":"Η μέθοδος {{method}} δεν μπορεί να ενεργοποιηθεί.","unknownAuthor":"Άγνωστος Δημιουργός","noDescription":"Η περιγραφή δεν παρέχεται.","alreadyExists":"Υπάρχει ήδη πρότυπο τύπου {{type}} με το όνομα {{name}}","alreadWatching":"Ήδη παρακολουθούμενη πρόσθετα.","metaError":"Τα μεταδεδομένα δεν μπορούν να αναγνωστούν.","missingNameData":"Τα μεταδεδομένα απώλεσαν δεδομένα ονόματος.","metaNotFound":"Τα μεταδεδομένα δεν βρέθηκαν.","compileError":"Αδύνατη η μετατροπή. Δείτε την κονσόλα για λεπτομέρειες.","wasUnloaded":"Το πρόσθετο {{name}} αποφορτώθηκε.","blankSlateHeader":"Δεν έχετε κάποιο πρόσθετο τύπου {{type}}!","blankSlateMessage":"Λάβετε μερικά από [αυτή την ιστοσελίδα]({{link}}) και προσθέστε τα στον φάκελο τύπου {{type}}.","isEnabled":"Ενεργοποιημένα","wasLoaded":"Το πρόσθετο {{name}} v{{version}} φορτώθηκε."},"CustomCSS":{"confirmationText":"Έχετε μη αποθηκευμένες αλλαγές στο Προσαρμοσμένο CSS. Με το κλείσιμο αυτού του παραθύρου, θα χάσετε όλες αυτές τις αλλαγές.","update":"Ενημέρωση","save":"Αποθήκευση","openNative":"Άνοιγμα στον Επεξεργαστή Συστήματος","openDetached":"Αποσπώμενο Παράθυρο","settings":"Ρυθμίσεις Επεξεργαστή","editorTitle":"Επεξεργαστής Προσαρμοσμένου CSS"},"Modals":{"confirmAction":"Σίγουρα;","okay":"Εντάξει","done":"Ολοκληρώθηκε","cancel":"Άκυρο","nevermind":"Δεν πειράζει","close":"Κλείσιμο","name":"Ονομασία","message":"Μήνυμα","error":"Σφάλμα","addonErrors":"Σφάλματα Πρόσθετου","restartRequired":"Απαιτείται Επανεκκίνηση","restartNow":"Επανεκκίνηση Τώρα","restartLater":"Επανεκκίνηση Αργότερα","additionalInfo":"Πρόσθετες Πληροφορίες","restartPrompt":"Για να εφαρμοστεί, το Discord πρέπει να επανεκκινηθεί. Θέλετε επανεκκίνηση τώρα;"},"ReactDevTools":{"notFound":"Η Επέκταση Δεν Βρέθηκε","notFoundDetails":"Αδύνατη η εύρεση της επέκτασης Εργαλείων Δημιουργού React στον υπολογιστή σας. Εγκαταστήστε την επέκταση στην ��οπική εγκατάσταση του Chrome."},"Sorting":{"sortBy":"Ταξινόμηση κατά","order":"Ταξινόμηση","ascending":"Αύξουσα","descending":"Φθίνουσα"},"WindowPrefs":{"enabledInfo":"Αυτή η επιλογή απαιτεί διαφανές θέμα ώστε να λειτουργεί σωστά. Στα Windows ίσως επηρεάσει την προσαρμογή aero ή τη μεγιστοποίηση.\\n\\nΓια να ενεργοποιηθεί, το Discord πρέπει να επανεκκινηθεί. Επανεκκίνηση τώρα;","disabledInfo":"Για να ενεργοποιηθεί, το Discord πρέπει να επανεκκινηθεί. Επανεκκίνηση τώρα;"},"Notices":{"moreInfo":"Περισσότερες Πληροφορίες"},"Updater":{"updateFailed":"Η ενημέρωση Απέτυχε!","updateFailedMessage":"Το BetterDiscord απέτυχε να ενημερωθεί. Λάβετε την τελευταία έκδοση του προγράμματος εγκατάστασης από την ιστοσελίδα μας (https://betterdiscord.app/) και κάντε επανεγκατάσταση.","updateSuccessful":"Η Ενημέρωση ήταν Επιτυχής!","updateAvailable":"Το BetterDiscord έχει μια νέα ενημερωση (v{{version}})","addonUpdatesAvailable":"Το BetterDiscord έχει ενημερώσεις για {{count}} από τα {{type}}!","addonUpdated":"Το {{name}} έχει ενημερωθεί στην έκδοση {{version}}!","checking":"Έλεγχος για ενημερώσεις!","finishedChecking":"Ολοκλήρωση ελέγχου για ενημερώσεις!","checkForUpdates":"Έλεγχος Για Ενημερώσεις!","updateAll":"Ενημέρωση Όλων!","noUpdatesAvailable":"Καμιά διαθέσιμη ενημέρωση.","versionAvailable":"Η έκδοση {{version}} είναι διαθέσιμη!","upToDateBlankslate":"Όλα σας τα {{type}} φαίνεται ότι είναι ενημερωμένα!","updateButton":"Ενημέρωση!"}}')},7043:e=>{"use strict";e.exports={}},6858:e=>{"use strict";e.exports=JSON.parse('{"Panels":{"plugins":"Plugins","themes":"Themes","customcss":"Custom CSS","updates":"Updates"},"Collections":{"settings":{"name":"Settings","general":{"name":"General","voiceDisconnect":{"name":"Voice Disconnect","note":"Disconnect from voice server when closing Discord"},"showToasts":{"name":"Show Toasts","note":"Shows a small notification for important information"},"mediaKeys":{"name":"Disable Media Keys","note":"Prevents Discord from hijacking your media keys after playing a video."},"bdContextMenu":{"name":"Settings Context Menu","note":"Adds a BetterDiscord subsection to the settings context menu."}},"window":{"removeMinimumSize":{"name":"Remove Minimum Size","note":"Removes Discord\'s forced minimum window size of 940x500"},"name":"Window Preferences","transparency":{"name":"Enable Transparency","note":"Enables the main window to be see-through (requires restart)"},"frame":{"name":"Window Frame","note":"Adds the native os window frame to the main window"}},"addons":{"name":"Addon Manager","addonErrors":{"name":"Show Addon Errors","note":"Shows a modal with plugin/theme errors"},"editAction":{"name":"Edit Action","note":"Where plugins & themes appear when editing","options":{"detached":"Detached Window","system":"System Editor"}}},"customcss":{"name":"Custom CSS","customcss":{"name":"Custom CSS","note":"Enables the Custom CSS tab"},"liveUpdate":{"name":"Live Update","note":"Updates the css as you type"},"startDetached":{"name":"Start Detached","note":"Clicking the Custom CSS tab opens the editor in a separate window"},"nativeOpen":{"name":"Open in Native Editor","note":"Clicking the Custom CSS tab opens your custom css in your native editor"},"openAction":{"name":"Editor Location","note":"Where Custom CSS should open by default","options":{"settings":"Settings Menu","detached":"Detached Window","system":"System Editor"}}},"developer":{"name":"Developer Settings","debuggerHotkey":{"name":"Debugger Hotkey","note":"Allows activating debugger when pressing F8 with DevTools open"},"reactDevTools":{"name":"React Developer Tools","note":"Injects your local installation of React Developer Tools into Discord"},"inspectElement":{"name":"Inspect Element Hotkey","note":"Enables the inspect element hotkey (ctrl + shift + c) that is common in most browsers"},"devToolsWarning":{"name":"Stop DevTools Warning","note":"Stops Discord from printing out their \\"Hold Up!\\" message"},"debugLogs":{"name":"Debug Logs","note":"Outputs everything from the console into the debug.log file in the BetterDiscord folder"},"devTools":{"name":"DevTools","note":"Enables toggling DevTools with ctrl+shift+i"}},"editor":{"name":"Editor Preferences","lineNumbers":{"name":"Line Numbers","note":"Enables showing line numbers on the side of the editor"},"fontSize":{"name":"Font Size","note":"Size of the font (pt) to use in the editor"},"minimap":{"name":"Minimap","note":"Enables showing the code minimap on the side of the editor"},"hover":{"name":"Reference Tooltips","note":"Enables showing the reference tooltips when hovering rules and selectors"},"quickSuggestions":{"name":"Quick Suggestions","note":"Enables showing the autocomplete suggestions as you type"},"renderWhitespace":{"name":"Show Whitespace","note":"When whitespace should be shown by the editor","options":{"all":"Always","none":"Never","selection":"Selection"}}}}},"Addons":{"title":"{{name}} v{{version}} by {{author}}","byline":"by {{author}}","openFolder":"Open {{type}} Folder","reload":"Reload","addonSettings":"Settings","website":"Website","source":"Source","invite":"Support Server","donate":"Donate","patreon":"Patreon","name":"Name","author":"Author","version":"Version","added":"Date Added","modified":"Date Modified","isEnabled":"Enabled","listView":"List View","gridView":"Grid View","enableAll":"Enable All","disableAll":"Disable All","enableAllWarning":"Enabling all {{type}} can cause temporary lag and unexpected errors.\\n\\n(Hold shift while clicking to skip this prompt!)","search":"Search {{type}}","results":"{{count}} Results","editAddon":"Edit","deleteAddon":"Delete","confirmDelete":"Are you sure you want to delete {{name}}?","confirmationText":"You have unsaved changes to {{name}}. Closing this window will lose all those changes.","enabled":"{{name}} has been enabled.","disabled":"{{name}} has been disabled.","couldNotEnable":"{{name}} could not be enabled.","couldNotDisable":"{{name}} could not be disabled.","couldNotStart":"{{name}} could not be started.","couldNotStop":"{{name}} could not be stopped.","settingsError":"Could not open settings for {{name}}","methodError":"{{method}} could not be fired.","unknownAuthor":"Unknown Author","noDescription":"Description not provided.","alreadyExists":"There is already a {{type}} with name {{name}}","alreadWatching":"Already watching addons.","metaError":"META could not be parsed.","missingNameData":"META missing name data.","metaNotFound":"META was not found.","compileError":"Could not be compiled. See console for details.","wasUnloaded":"{{name}} was unloaded.","blankSlateHeader":"You don\'t have any {{type}}s!","blankSlateMessage":"Grab some from [this website]({{link}}) and add them to your {{type}} folder.","wasLoaded":"{{name}} v{{version}} was loaded."},"CustomCSS":{"confirmationText":"You have unsaved changes to your Custom CSS. Closing this window will lose all those changes.","update":"Update","save":"Save","openNative":"Open in System Editor","openDetached":"Detach Window","settings":"Editor Settings","editorTitle":"Custom CSS Editor"},"Modals":{"confirmAction":"Are You Sure?","okay":"Okay","done":"Done","cancel":"Cancel","nevermind":"Nevermind","close":"Close","name":"Name","message":"Message","error":"Error","addonErrors":"Addon Errors","restartRequired":"Restart Required","restartNow":"Restart Now","restartLater":"Restart Later","additionalInfo":"Additional Info","restartPrompt":"In order to take effect, Discord needs to be restarted. Do you want to restart now?","changelog":"Changelog","debuglog":"Your debug log file has exceeded 100MB, would you like to clear the log?"},"ReactDevTools":{"notFound":"Extension Not Found","notFoundDetails":"Unable to find the React Developer Tools extension on your PC. Please install the extension on your local Chrome installation."},"Sorting":{"sortBy":"Sort By","order":"Order","ascending":"Ascending","descending":"Descending"},"WindowPrefs":{"enabledInfo":"This option requires a transparent theme in order to work properly. On Windows this may break your aero snapping and maximizing.\\n\\nIn order to take effect, Discord needs to be restarted. Do you want to restart now?","disabledInfo":"In order to take effect, Discord needs to be restarted. Do you want to restart now?"},"Notices":{"moreInfo":"More Info"},"Updater":{"updateFailed":"Update Failed!","updateFailedMessage":"BetterDiscord failed to update. Please download the latest version of the installer from our website (https://betterdiscord.app/) and reinstall.","updateSuccessful":"Update Successful!","updateAvailable":"BetterDiscord has a new update (v{{version}})","addonUpdatesAvailable":"BetterDiscord has found updates for {{count}} of your {{type}}s!","addonUpdated":"{{name}} has been updated to version {{version}}!","checking":"Checking for updates!","finishedChecking":"Finished checking for updates!","checkForUpdates":"Check For Updates!","updateAll":"Update All!","noUpdatesAvailable":"No updates available.","versionAvailable":"Version {{version}} now available!","upToDateBlankslate":"All of your {{type}} seem to be up to date!","updateButton":"Update!"},"Settings":{"customColor":"Custom Color","resetSettings":"Reset Settings","resetSettingsWarning":"Resetting your settings returns them all to the original state, this cannot be undone."},"Socials":{"twitter":"Follow Us!","github":"Star Us!"}}')},7067:e=>{"use strict";e.exports=JSON.parse('{"Panels":{"plugins":"Plugins","themes":"Temas","customcss":"CSS Personalizado"},"Collections":{"settings":{"name":"Ajustes","general":{"name":"General","voiceDisconnect":{"name":"Desconexión de Voz","note":"Desconectarse del servidor de voz al cerrar Discord"},"showToasts":{"name":"Mostrar Notificaciones","note":"Muestra una pequeña notificación de información importante"},"mediaKeys":{"name":"Desactivar las Teclas Multimedia","note":"Evita que Discord se apropie de tus teclas multimedia después de reproducir un vídeo"}},"window":{"removeMinimumSize":{"name":"Eliminar Tamaño Mínimo","note":"Elimina el tamaño mínimo de Discord de 940x500"},"name":"Preferencias de la Ventana","transparency":{"name":"Activar Transparencia","note":"Hace que la ventana principal pueda ser transparente (requiere reinicio)"},"frame":{"name":"Marco de la Ventana","note":"Añade el marco de ventana nativo de tu sistema operativo a la ventana principal"}},"addons":{"name":"Gestor de Complementos","addonErrors":{"name":"Mostrar Errores de Complementos","note":"Muestra una ventana con los errores de plugin/temas"},"editAction":{"name":"Acción al Editar","note":"Donde aparecerán los plugins y temas al editarlos","options":{"detached":"Ventana Independiente","system":"Editor del Sistema"}}},"customcss":{"name":"CSS Personalizado","customcss":{"name":"CSS Personalizado","note":"Activa la pestaña de CSS Personalizado"},"liveUpdate":{"name":"Actualización en Vivo","note":"Actualiza el CSS a medida que se escribe"},"startDetached":{"name":"Comenzar en Ventana Independiente","note":"Al hacer clic en la pestaña de CSS Personalizado se abre el editor en una ventana independiente"},"nativeOpen":{"name":"Abrir en Editor Nativo","note":"Al hacer clic en la pestaña de CSS Personalizado se abre el editor en tu editor nativo"},"openAction":{"name":"Ubicación del Editor","note":"Donde deberá el CSS Personalizado abrirse por defecto","options":{"settings":"Menú de Ajustes","detached":"Ventana Independiente","system":"Editor del Sistema"}}},"developer":{"name":"Ajustes de Desarrollador","debuggerHotkey":{"name":"Tecla de Acceso Rápido al Depurador","note":"Permite activar el depurador al presionar la tecla F8"},"reactDevTools":{"name":"React Developer Tools","note":"Inyecta tu instalación local de React Developer Tools en Discord"},"inspectElement":{"name":"Tecla de Acceso Rápido al Inspector de Elementos","note":"Activa la tecla de acceso rápido al inspector de elementos (ctrl + shift + c) que es común en la mayoria de navegadores"},"devToolsWarning":{"name":"Quitar el Aviso del Inspector de Elementos","note":"Previene que Discord muestre su mensaje \\"¡Espera!\\""},"debugLogs":{"name":"Registros de Depuración","note":"Envía todo lo que aparece en la consola a un archivo llamado debug.log en la carpeta de BetterDiscord"}}}},"Addons":{"title":"{{name}} v{{version}} por {{author}}","byline":"por {{author}}","openFolder":"Abrir Carpeta de {{type}}","reload":"Recargar","addonSettings":"Ajustes","website":"Sitio web","source":"Fuente","invite":"Servidor de Soporte","donate":"Donar","patreon":"Patreon","name":"Nombre","author":"Autor","version":"Versión","added":"Fecha de Adición","modified":"Fecha de Modificación","search":"Buscar {{type}}","editAddon":"Editar","deleteAddon":"Eliminar","confirmDelete":"¿Estás seguro de que quieres borrar {{name}}?","confirmationText":"Tiene cambios no guardados en {{name}}. Al cerrar esta ventana se perderán todos los cambios.","enabled":"{{name}} ha sido activado.","disabled":"{{name}} ha sido desactivado.","couldNotEnable":"{{name}} no pudo ser activado.","couldNotDisable":"{{name}} no pudo ser desactivado.","couldNotStart":"{{name}} no se pudo iniciar.","couldNotStop":"{{name}} no se pudo detener.","settingsError":"No se pudieron abrir los ajustes de {{name}}","methodError":"{{method}} no pudo ser lanzado.","unknownAuthor":"Autor Desconocido","noDescription":"Descripción no proporcionada.","alreadyExists":"Ya existe un {{type}} con nombre {{name}}","alreadWatching":"Ya está viendo los complementos.","metaError":"El META no pudo ser analizado.","missingNameData":"El META no contiene datos del nombre.","metaNotFound":"El META no ha sido encontrado.","compileError":"No se ha podido compilar.","wasUnloaded":"{{name}} ha sido descargado.","blankSlateHeader":"¡No tienes {{type}}s!","blankSlateMessage":"Consigue alguno en [esta página web]({{link}}) y añadelos a tu carpeta de {{type}}."},"CustomCSS":{"confirmationText":"Tienes cambios sin guardar en tu CSS Personalizado. Al cerrar esta ventana se perderán todos los cambios.","update":"Actualizar","save":"Guardar","openNative":"Abrir en el Editor del Sistema","openDetached":"Mostrar en Ventana Independiente","settings":"Ajustes del Editor","editorTitle":"Editor de CSS Personalizado"},"Modals":{"confirmAction":"¿Estás seguro?","okay":"Vale","done":"Hecho","cancel":"Cancelar","nevermind":"No importa","close":"Cerrar","name":"Nombre","message":"Mensaje","error":"Error","addonErrors":"Errores de Complementos","restartRequired":"Reinicio Requerido","restartNow":"Reiniciar Ahora","restartLater":"Reiniciar más Tarde","additionalInfo":"Información Adicional","restartPrompt":"Para que surta efecto, es necesario reiniciar Discord. ¿Quieres reiniciar ahora?"},"ReactDevTools":{"notFound":"Extensión no Encontrada","notFoundDetails":"No se puede encontrar la extensión React Developer Tools en su PC. Por favor, instale la extensión en su instalación local de Chrome."},"Sorting":{"sortBy":"Ordenar por","order":"Orden","ascending":"Ascendente","descending":"Descendente"},"WindowPrefs":{"enabledInfo":"Esta opción requiere un tema transparente para que funcione correctamente. En Windows esto podría hacer que el ajuste automático de la ventana (Aero Snap) y la maximización dejen de funcionar.\\n\\nPara que surta efecto, es necesario reiniciar Discord. ¿Quieres reiniciar ahora?","disabledInfo":"Para que surta efecto, es necesario reiniciar Discord. ¿Quieres reiniciar ahora?"}}')},2247:e=>{"use strict";e.exports=JSON.parse('{"Panels":{"plugins":"Plugins","themes":"Temas","customcss":"CSS Personalizado"},"Collections":{"settings":{"name":"Ajustes","general":{"name":"General","voiceDisconnect":{"name":"Desconexión de Voz","note":"Desconectarse del servidor de voz al cerrar Discord"},"showToasts":{"name":"Mostrar Notificaciones","note":"Muestra una pequeña notificación de información importante"},"mediaKeys":{"name":"Desactivar las Teclas Multimedia","note":"Evita que Discord se apropie de tus teclas multimedia después de reproducir un vídeo"}},"window":{"removeMinimumSize":{"name":"Eliminar Tamaño Mínimo","note":"Elimina el tamaño mínimo de Discord de 940x500"},"name":"Preferencias de la Ventana","transparency":{"name":"Activar Transparencia","note":"Hace que la ventana principal pueda ser transparente (requiere reinicio)"},"frame":{"name":"Marco de la Ventana","note":"Añade el marco de ventana nativo de tu sistema operativo a la ventana principal"}},"addons":{"name":"Gestor de Complementos","addonErrors":{"name":"Mostrar Errores de Complementos","note":"Muestra una ventana con los errores de plugin/temas"},"editAction":{"name":"Acción al Editar","note":"Donde aparecerán los plugins y temas al editarlos","options":{"detached":"Ventana Independiente","system":"Editor del Sistema"}}},"customcss":{"name":"CSS Personalizado","customcss":{"name":"CSS Personalizado","note":"Activa la pestaña de CSS Personalizado"},"liveUpdate":{"name":"Actualización en Vivo","note":"Actualiza el CSS a medida que se escribe"},"startDetached":{"name":"Comenzar en Ventana Independiente","note":"Al hacer clic en la pestaña de CSS Personalizado se abre el editor en una ventana independiente"},"nativeOpen":{"name":"Abrir en Editor Nativo","note":"Al hacer clic en la pestaña de CSS Personalizado se abre el editor en tu editor nativo"},"openAction":{"name":"Ubicación del Editor","note":"Donde deberá el CSS Personalizado abrirse por defecto","options":{"settings":"Menú de Ajustes","detached":"Ventana Independiente","system":"Editor del Sistema"}}},"developer":{"name":"Ajustes de Desarrollador","debuggerHotkey":{"name":"Tecla de Acceso Rápido al Depurador","note":"Permite activar el depurador al presionar la tecla F8"},"reactDevTools":{"name":"React Developer Tools","note":"Inyecta tu instalación local de React Developer Tools en Discord"},"inspectElement":{"name":"Tecla de Acceso Rápido al Inspector de Elementos","note":"Activa la tecla de acceso rápido al inspector de elementos (ctrl + shift + c) que es común en la mayoria de navegadores"},"devToolsWarning":{"name":"Quitar el Aviso del Inspector de Elementos","note":"Previene que Discord muestre su mensaje \\"¡Espera!\\""},"debugLogs":{"name":"Registros de Depuración","note":"Envía todo lo que aparece en la consola a un archivo llamado debug.log en la carpeta de BetterDiscord"}}}},"Addons":{"title":"{{name}} v{{version}} por {{author}}","byline":"por {{author}}","openFolder":"Abrir Carpeta de {{type}}","reload":"Recargar","addonSettings":"Ajustes","website":"Sitio web","source":"Fuente","invite":"Servidor de Soporte","donate":"Donar","patreon":"Patreon","name":"Nombre","author":"Autor","version":"Versión","added":"Fecha de Adición","modified":"Fecha de Modificación","search":"Buscar {{type}}","editAddon":"Editar","deleteAddon":"Eliminar","confirmDelete":"¿Estás seguro de que quieres borrar {{name}}?","confirmationText":"Tiene cambios no guardados en {{name}}. Al cerrar esta ventana se perderán todos los cambios.","enabled":"{{name}} ha sido activado.","disabled":"{{name}} ha sido desactivado.","couldNotEnable":"{{name}} no pudo ser activado.","couldNotDisable":"{{name}} no pudo ser desactivado.","couldNotStart":"{{name}} no se pudo iniciar.","couldNotStop":"{{name}} no se pudo detener.","settingsError":"No se pudieron abrir los ajustes de {{name}}","methodError":"{{method}} no pudo ser lanzado.","unknownAuthor":"Autor Desconocido","noDescription":"Descripción no proporcionada.","alreadyExists":"Ya existe un {{type}} con nombre {{name}}","alreadWatching":"Ya está viendo los complementos.","metaError":"El META no pudo ser analizado.","missingNameData":"El META no contiene datos del nombre.","metaNotFound":"El META no ha sido encontrado.","compileError":"No se ha podido compilar.","wasUnloaded":"{{name}} ha sido descargado.","blankSlateHeader":"¡No tienes {{type}}s!","blankSlateMessage":"Consigue alguno en [esta página web]({{link}}) y añadelos a tu carpeta de {{type}}."},"CustomCSS":{"confirmationText":"Tienes cambios sin guardar en tu CSS Personalizado. Al cerrar esta ventana se perderán todos los cambios.","update":"Actualizar","save":"Guardar","openNative":"Abrir en el Editor del Sistema","openDetached":"Mostrar en Ventana Independiente","settings":"Ajustes del Editor","editorTitle":"Editor de CSS Personalizado"},"Modals":{"confirmAction":"¿Estás seguro?","okay":"Vale","done":"Hecho","cancel":"Cancelar","nevermind":"No importa","close":"Cerrar","name":"Nombre","message":"Mensaje","error":"Error","addonErrors":"Errores de Complementos","restartRequired":"Reinicio Requerido","restartNow":"Reiniciar Ahora","restartLater":"Reiniciar más Tarde","additionalInfo":"Información Adicional","restartPrompt":"Para que surta efecto, es necesario reiniciar Discord. ¿Quieres reiniciar ahora?"},"ReactDevTools":{"notFound":"Extensión no Encontrada","notFoundDetails":"No se puede encontrar la extensión React Developer Tools en su PC. Por favor, instale la extensión en su instalación local de Chrome."},"Sorting":{"sortBy":"Ordenar por","order":"Orden","ascending":"Ascendente","descending":"Descendente"},"WindowPrefs":{"enabledInfo":"Esta opción requiere un tema transparente para que funcione correctamente. En Windows esto podría hacer que el ajuste automático de la ventana (Aero Snap) y la maximización dejen de funcionar.\\n\\nPara que surta efecto, es necesario reiniciar Discord. ¿Quieres reiniciar ahora?","disabledInfo":"Para que surta efecto, es necesario reiniciar Discord. ¿Quieres reiniciar ahora?"}}')},4321:e=>{"use strict";e.exports=JSON.parse('{"Panels":{"plugins":"Lisäosat","themes":"Teemat","customcss":"Mukautettu CSS","updates":"Päivitykset"},"Collections":{"settings":{"name":"Asetukset","general":{"name":"Yleinen","voiceDisconnect":{"name":"Katkaise puhelu","note":"Katkaise puhelu, kun suljet Discordin"},"showToasts":{"name":"Näytä Paahtoleivät","note":"Näyttää pienen ilmoituksen tärkeistä tiedoista"},"mediaKeys":{"name":"Poista medianäppäimet käytöstä","note":"Estää Discordia kaappaamasta medianäppäimiäsi videon toistamisen jälkeen."}},"window":{"removeMinimumSize":{"name":"Poista vähimmäiskoko","note":"Poistaa Discordin pakotetun vähimmäisikkunakoon 940x500"},"name":"Ikkuna-asetukset","transparency":{"name":"Ota läpinäkyvyys käyttöön","note":"Mahdollistaa pääikkunan läpinäkyvyyden (vaatii uudelleenkäynnistyksen)"},"frame":{"name":"Ikkunakehys","note":"Lisää alkuperäisen käyttöjärjestelmän ikkunakehyksen pääikkunaan"}},"addons":{"name":"Lisäosien hallinta","addonErrors":{"name":"Näytä lisäosien viat","note":"Näyttää modaalin, jossa on laajennus/teemavirheitä"},"editAction":{"name":"Muokkaa toimintaa","note":"Missä lisäosat & teema näkyy, kun muokkaat niitä","options":{"detached":"Irrotettu ikkuna","system":"Järjestelmän muokkaaja"}}},"customcss":{"name":"Mukautettu CSS","customcss":{"name":"Mukautettu CSS","note":"Ottaa käyttöön Mukautetun CSS välilehden"},"liveUpdate":{"name":"Live-päivitys","note":"Päivttää css, kun kirjoitat"},"startDetached":{"name":"Aloita irroitetusti","note":"Mukautetun CSS-välilehden napsauttaminen avaa muokkaajan erilliseen ikkunaan"},"nativeOpen":{"name":"Avaa alkuperäisessä muokkaajassa","note":"Mukautetun CSS-välilehden napsauttaminen avaa mukautetun css alkuperäisessä muokkaajassa"},"openAction":{"name":"Muokkaajan sijainti","note":"Missä mukautettu CSS:n pitäisi avautua normaalisti","options":{"settings":"Asetuksien valikko","detached":"Irrotettu ikkuna","system":"Järjestelmän muokkaaja"}}},"developer":{"name":"Kehittäjän asetukset","debuggerHotkey":{"name":"Virheenkorjaajan pikanäppäin","note":"Mahdollistaa virheenkorjauksen aktivoinnin, kun painetaan F8 DevToolsin ollessa auki"},"reactDevTools":{"name":"React-kehitystyökalut","note":"Lisää paikallisen React Developer Tools -asennuksesi Discordiin"},"inspectElement":{"name":"Tarkista-elementin pikanäppäin","note":"Ottaa käyttöön tarkastuselementin pikanäppäimen (ctrl + shift + c), joka on yleinen useimmissa selaimissa"},"devToolsWarning":{"name":"Lopeta DevTools-varoitus","note":"Pysäyttää Discordin tulostamasta heidän \\"Hold Up!\\" viestin"},"debugLogs":{"name":"Virheenkorjauksen logit","note":"Tulostaa kaiken konsolista BetterDiscord-kansion debug.log-tiedostoon"},"devTools":{"name":"DevTools","note":"Mahdollistaa DevToolsin kytkemisen näppäinyhdistelmällä ctrl+shift+i"}},"editor":{"name":"Muokkaajan asetukset","lineNumbers":{"name":"Rivien numerot","note":"Mahdollistaa rivinumeroiden näyttämisen muokkaajan sivulla"},"fontSize":{"name":"Fontin koko","note":"Muokkaajassa käytettävän fontin koko (pt)."},"minimap":{"name":"Minikartta","note":"Mahdollistaa koodin minikartan näyttämisen muokkaajan sivulla"},"hover":{"name":"Viitetyökaluvinkit","note":"Mahdollistaa viitetyökaluvihjeiden näyttämisen, kun sääntöjä ja valitsimia siirretään"},"quickSuggestions":{"name":"Pikaehdotuksia","note":"Ottaa käyttöön automaattisen täydennyksen ehdotukset kirjoittaessasi"},"renderWhitespace":{"name":"Näytä välilyönti","note":"Milloin muokkaajan tulee näyttää välilyönnit","options":{"all":"Aina","none":"Ei ikinä","selection":"Valinta"}}}}},"Addons":{"openFolder":"Avaa {{type}} kansio","reload":"Lataa uudelleen","addonSettings":"Asetukset","website":"Nettisivu","source":"Lähde","invite":"Tuki-palvelin","donate":"Lahjoita","patreon":"Patreon","name":"Nimi","author":"Luoja","version":"Versio","added":"lisäyspäivämäärä","modified":"Muutospäivämäärä","search":"Etsi {{type}}","editAddon":"Muokkaa","deleteAddon":"Poista","confirmDelete":"Haluatko varmasti poistaa {{name}}?","confirmationText":"Sinulla on tallentamattomia muutoksia kohteeseen {{name}}. Tämän ikkunan sulkeminen menettää kaikki muutokset.","enabled":"\\n{{name}} on otettu käyttöön.","disabled":"\\n{{name}} on poistettu käytöstä.","couldNotEnable":"{{name}} ei voitu ottaa käyttöön.","couldNotDisable":"{{name}} ei voitu poistaa käytöstä.","couldNotStart":"{{name}} ei voitu käynnistää.","couldNotStop":"{{name}} ei voitu pysäyttää.","settingsError":"Käyttäjän {{name}} asetuksia ei voitu avata","methodError":"{{method}} ei voitu laukaista.","unknownAuthor":"Tuntematon tekijä","noDescription":"Kuvausta ei ole annettu.","alreadyExists":"On jo olemassa {{type}} , jonka nimi on {{type}}","alreadWatching":"Katsot jo lisäosia.","metaError":"META:a ei voitu jäsentää.","missingNameData":"META:lta puuttuu nimitiedot.","metaNotFound":"META:a ei löytynyt.","compileError":"Ei voitu koota. Katso lisätietoja konsolista.","wasUnloaded":"{{name}} purettiin.","blankSlateHeader":"Sinulla ei ole yhtään {{type}}!","blankSlateMessage":"Nappaa joitain [tältä verkkosivustolta]({{link}}) ja lisää ne kansioon {{type}}.","isEnabled":"Otettu käyttöön","wasLoaded":"\\n{{name}} v{{version}} ladattiin."},"CustomCSS":{"confirmationText":"Muokatussa CSS:ssä on tallentamattomia muutoksia. Tämän ikkunan sulkeminen menettää kaikki muutokset.","update":"Päivitä","save":"Tallenna","openNative":"Avaa järjestelmän muokkaajassa","openDetached":"Irrota ikkuna","settings":"Muokkaajan asetukset","editorTitle":"Mukautettu CSS-muokkaaja"},"Modals":{"confirmAction":"Oletko varma?","okay":"Okei","done":"Valmis","cancel":"Peruuta","nevermind":"Unohda koko juttu","close":"Sulje","name":"Nimi","message":"Viesti","error":"Vika","addonErrors":"Lisäosan viat","restartRequired":"Uudelleenkäynnistys vaaditaan","restartNow":"Uudelleen käynnistä nyt","restartLater":"Käynnistä uudelleen nyt","additionalInfo":"Lisätietoja","restartPrompt":"Jotta se tulisi voimaan, Discord on käynnistettävä uudelleen. Haluatko käynnistää uudelleen nyt?"},"ReactDevTools":{"notFound":"Laajennusta Ei Löydy","notFoundDetails":"React Developer Tools -laajennusta ei löydy tietokoneeltasi. Asenna laajennus paikalliseen Chrome-asennukseesi."},"Sorting":{"sortBy":"Järjestä","order":"Järjestys","ascending":"Nouseva","descending":"Laskeva"},"WindowPrefs":{"enabledInfo":"Tämä vaihtoehto vaatii läpinäkyvän teeman toimiakseen kunnolla. Windowsissa tämä voi katkaista aerosnapsauksen ja maksimoimisen.\\n\\nJotta Discord tulisi voimaan, se on käynnistettävä uudelleen. Haluatko käynnistää uudelleen nyt?","disabledInfo":"Jotta se tulisi voimaan, Discord on käynnistettävä uudelleen. Haluatko käynnistää uudelleen nyt?"},"Notices":{"moreInfo":"Enemmän tietoa"},"Updater":{"updateFailed":"Päivitys epäonnistui","updateFailedMessage":"BetterDiscordin päivitys epäonnistui. Lataa asennusohjelman uusin versio verkkosivustoltamme (https://betterdiscord.app/) ja asenna se uudelleen.","updateSuccessful":"Päivittäminen onnistui!","updateAvailable":"BetterDiscordilla on uusi päivitys","addonUpdatesAvailable":"BetterDiscord on löytänyt päivityksiä {{count}}:lle {{type}}:lle!","addonUpdated":"{{name}} on päivitetty versioon {{version}}!","checking":"Tarkistetaan päivityksiä!","finishedChecking":"Päivitysten tarkistaminen on valmis!","checkForUpdates":"Tarkista päivitykset!","updateAll":"Päivitä kaikki!","noUpdatesAvailable":"Päivityksiä ei ole saatavilla.","versionAvailable":"Versio {{version}} on saatavilla!","upToDateBlankslate":"Kaikki sinun {{type}} näyttävät olevan ajan tasalla!","updateButton":"Päivitä!"}}')},28:e=>{"use strict";e.exports=JSON.parse('{"Panels":{"plugins":"Plugins","themes":"Thèmes","customcss":"CSS personnalisé"},"Collections":{"settings":{"name":"Réglages","general":{"name":"Général","voiceDisconnect":{"name":"Déconnexion vocale","note":"Déconnexion du serveur vocal lors de la fermeture de Discord"},"showToasts":{"name":"Afficher les notifications bulles","note":"Afficher une petite notification pour les informations importantes"},"mediaKeys":{"name":"Désactiver les Touches Médias","note":"Empêche Discord de détourner vos touches multimédia après la lecture d\'une vidéo."}},"window":{"removeMinimumSize":{"name":"Enlever la Taille Minimale","note":"Enlève la taille de fenêtre minimale forcée de Discord qui est de 940x500"},"name":"Fenêtre des Préférences","transparency":{"name":"Activer la Transparence","note":"Permet à la fenêtre principale d\'être transparente (nécessite un redémarrage)"},"frame":{"name":"Cadre de la Fenêtre","note":"Ajoute le cadre de la fenêtre native de l\'OS à la fenêtre principale."}},"addons":{"name":"Gestionnaire d\'Extensions","addonErrors":{"name":"Afficher les Erreurs d\'Extensions","note":"Affiche une modale avec les erreurs de plugin/thème"},"editAction":{"name":"Action Édition","note":"Là où les thèmes & extensions apparaîtront lors de l\'édition","options":{"detached":"Fenêtre détachée","system":"Éditeur système"}}},"customcss":{"name":"CSS Personnalisé","customcss":{"name":"CSS Personnalisé","note":"Activer l\'onglet de CSS personnalisé"},"liveUpdate":{"name":"Mise à Jour Directe","note":"Met à jour le CSS pendant que vous écrivez"},"startDetached":{"name":"Démarrer Détaché","note":"En cliquant sur l\'onglet CSS Personnalisé, l\'éditeur s\'ouvre dans une fenêtre distincte."},"nativeOpen":{"name":"Ouvrir dans l\'Éditeur Natif","note":"En cliquant sur CSS Personnalisé, l\'onglet ouvrira votre CSS personnalisé dans votre éditeur natif"},"openAction":{"name":"Emplacement de l\'Éditeur","note":"Là où le CSS personnalisé doit s\'ouvrir par défaut","options":{"settings":"Menu Réglages","detached":"Fenêtre Détachée","system":"Éditeur système"}}},"developer":{"name":"Réglages Développeur","debuggerHotkey":{"name":"Touches Raccourcis du Débugueur","note":"Permettre l\'activation du débugueur quand F8 est pressé"},"reactDevTools":{"name":"Outils Développeurs React","note":"Injecte votre installation locale des Outils Développeurs React dans Discord"},"inspectElement":{"name":"Touche pour Inspecter l\'Élément","note":"Active le raccourci clavier de l\'inspecteur d\'élément (ctrl + shift + c) qui est commun à la plupart des navigateurs"},"devToolsWarning":{"name":"Arrêter les Avertissements des Outils Développement","note":"Empêche Discord d\'imprimer son message \\\\\\"Attends!\\\\\\""},"debugLogs":{"name":"Journaux de Débogage","note":"Transmet tout ce qui se trouve dans la console au fichier debug.log situé dans le dossier de BetterDiscord"}}}},"Addons":{"title":"{{name}} v{{version}} par {{author}}","byline":"par {{author}}","openFolder":"Ouvrir dossier {{type}}","reload":"Recharger","addonSettings":"Réglages","website":"Site web","source":"Source","invite":"Server de support","donate":"Donner","patreon":"Patreon","name":"Nom","author":"Auteur","version":"Version","added":"Date d\'Ajout","modified":"Date Modifiée","search":"Rechercher {{type}}","editAddon":"Édition","deleteAddon":"Suppression","confirmDelete":"Êtes-vous sûr de vouloir supprimer {{name}}?","confirmationText":"Vous n\'avez pas sauvegardé les changements pour {{name}}. Fermer cette fenêtre fera perdre ces changements.","enabled":"{{name}} a été activé.","disabled":"{{name}} a été désactivé.","couldNotEnable":"{{name}} ne peut pas être activé.","couldNotDisable":"{{name}} n\'a pas pu être désactivé.","couldNotStart":"{{name}} n\'a pas pu être lancé.","couldNotStop":"{{name}} n\'a pas pu être arrêté.","settingsError":"Impossible d\'ouvrir les paramètres pour {{name}}","methodError":"{{method}} n\'a pas pu être renvoyé.","unknownAuthor":"Auteur Inconnu","noDescription":"Description non fournie.","alreadyExists":"Il y a déjà un {{type}} avec comme nom {{name}}","alreadWatching":"Déjà en train de regarder les extensions.","metaError":"Le META n\'a pas pu être analysé.","missingNameData":"Les données de META ne possèdent pas de nom.","metaNotFound":"Les données de META sont introuvables.","compileError":"Compilation impossible.","wasUnloaded":"{{name}} a été déchargé.","blankSlateHeader":"Vous n\'avez pas de {{type}}!","blankSlateMessage":"Récupère-les depuis [ce site]({{link}}) et ajoute-les dans ton dossier {{type}}."},"CustomCSS":{"confirmationText":"Vous avez des changements non sauvegardés dans votre CSS Personnalisé. Fermer cette fenêtre vous fera perdre ces changements.","update":"Mise à jour","save":"Sauvegarder","openNative":"Ouvrir dans l\'Éditeur Système","openDetached":"Détacher la Fenêtre","settings":"Réglages de l\'Éditeur","editorTitle":"Éditeur CSS Personnalisé"},"Modals":{"confirmAction":"Êtes-vous sûr?","okay":"D\'accord","done":"Terminé","cancel":"Annuler","nevermind":"Laisse tomber","close":"Fermer","name":"Nom","message":"Message","error":"Erreur","addonErrors":"Erreurs d\'extension","restartRequired":"Redémarrage Requis","restartNow":"Redémarrer Maintenant","restartLater":"Redémarrer Ultérieurement","additionalInfo":"Info Additionnelle","restartPrompt":"Pour appliquer ces changements, Discord à besoin d\'être redémarré. Voulez-vous redémarrer l\'application maintenant?"},"ReactDevTools":{"notFound":"Extension Introuvable","notFoundDetails":"Impossible de trouver l\'extension de React Developer Tools sur ton PC. Merci d\'installer l\'extension dans votre installation locale de Chrome."},"Sorting":{"sortBy":"Trier Par","order":"Ordre","ascending":"Ascendant","descending":"Descendant"},"WindowPrefs":{"enabledInfo":"Cette option requière un thème transparent pour pouvoir fonctionner correctement. Sous Windows, cela peut casser le style Aero de Windows lors de la maximisation et du clipsement de la fenêtre.\\n\\nAfin que ce changement soit actif, Discord doit être redémarré. Voulez-vous redémarrer l\'application maintenant?","disabledInfo":"Afin que ce changement soit actif, Discord doit être redémarré. Voulez-vous redémarrer l\'application maintenant?"}}')},7487:e=>{"use strict";e.exports=JSON.parse('{"Panels":{"plugins":"प्लग-इन","themes":"विषयों","customcss":"कस्टम सीएसएस"},"Collections":{"settings":{"name":"समायोजन","general":{"name":"आम","voiceDisconnect":{"name":"आवाज डिस्कनेक्ट","note":"डिसॉर्डर को बंद करते समय वॉयस सर्वर से डिस्कनेक्ट करें"},"showToasts":{"name":"टोस्ट दिखाओ","note":"महत्वपूर्ण जानकारी के लिए एक छोटी अधिसूचना दिखाता है"},"mediaKeys":{"name":"मीडिया कुंजी अक्षम करें","note":"वीडियो चलाने के बाद डिस्कॉर्ड को अपनी मीडिया कुंजियों को हाईजैक करने से रोकें।"}},"window":{"removeMinimumSize":{"name":"न्यूनतम आकार निकालें","note":"940x500 . के डिस्कॉर्ड के मजबूर न्यूनतम विंडो आकार को हटा देता है\\nध्यान दें"}},"addons":{"name":"एडऑन मैनेजर\\n","addonErrors":{"name":"एडऑन त्रुटि दिखाएं","note":"प्लगइन/थीम त्रुटियों के साथ एक मोडल दिखाता है"},"editAction":{"name":"क्रिया संपादित करें","note":"संपादन करते समय प्लगइन्स और थीम कहाँ दिखाई देते हैं"}}}}}')},7318:e=>{"use strict";e.exports={}},1707:e=>{"use strict";e.exports=JSON.parse('{"Panels":{"plugins":"Pluginok","themes":"Témák","customcss":"Egyéni CSS","updates":"Frissítések"},"Collections":{"settings":{"name":"Beállítások","general":{"name":"Általános","voiceDisconnect":{"name":"Hangkapcsolat megszakítása","note":"Kapcsolat megszakítása a hangkiszolgálóval amikor bezárod a Discordot"},"showToasts":{"name":"Értesítés megjelenítése induláskor","note":"Kis értesítést jelenít meg a fontos információkról"},"mediaKeys":{"name":"Médiavezérlő billentyűk letiltása","note":"Megakadályozza, hogy a Discord a videók lejátszása után átkalibrálja a médiavezérlő billentyűket."}},"window":{"removeMinimumSize":{"name":"Minimális méret felülírása","note":"Felülírja és eltávolítja a Discord kényszerített minimális 940x500-as ablakméretét"},"name":"Ablak beállítások","transparency":{"name":"Átlátszóság engedélyezése","note":"A főablak átláthatóvá tétele (újraindítást igényel)"},"frame":{"name":"Ablakkeret","note":"Hozzáadja az alap os ablakkeretet a főablakhoz"}},"addons":{"name":"Kiegészítőkezelő","addonErrors":{"name":"Kiegészítő hibaüzenetek megjelenítése","note":"Megjelenít egy ablakot a pluginok/témák hibáiról"},"editAction":{"name":"Szerkesztő beállítása","note":"A pluginok és témák szerkesztése ebben a szerkesztőben","options":{"detached":"Különálló ablak","system":"Rendszer alapértelmezett"}}},"customcss":{"name":"Egyéni CSS","customcss":{"name":"Egyéni CSS","note":"Engedélyezi az Egyéni CSS szekciót"},"liveUpdate":{"name":"Frissítés élőben","note":"Frissíti a css-t szerkesztés közben"},"startDetached":{"name":"Indítás külön ablakban","note":"Az Egyéni CSS szekcióra kattintva a szerkesztő egy külön ablakban nyílik meg"},"nativeOpen":{"name":"Megnyitás natív szerkesztőben","note":"Az Egyéni CSS fülre kattintva megnyílik az egyéni css egy natív szerkesztőben"},"openAction":{"name":"Szerkesztő helye","note":"Az Egyéni CSS alapértelmezetten itt nyílik meg","options":{"settings":"Beállítások menü","detached":"Különálló ablak","system":"Rendszer alapértelmezett"}}},"developer":{"name":"Fejlesztői beállítások","debuggerHotkey":{"name":"Hibakereső gyorsbillentyű","note":"Lehetővé teszi a debugger aktiválását az F8 megnyomásakor, amikor a DevTools meg van nyitva"},"reactDevTools":{"name":"React fejlesztői eszközök","note":"Beilleszti a telepített React Developer Toolst a Discordba"},"inspectElement":{"name":"Elem vizsgálat gyorsbillentyűje","note":"Engedélyezi a legtöbb böngészőben használt elem vizsgálata gyorsbillentyűt (ctrl + shift + c)"},"devToolsWarning":{"name":"DevTools riasztás leállítása","note":"Megakadályozza, hogy a Discord kiírja a \\"Várj!\\" üzenetét"},"debugLogs":{"name":"Hibakereső napló","note":"A konzolról mindent kiír a BetterDiscord mappában lévő debug.log fájlba"},"devTools":{"name":"Fejlesztői eszközök","note":"Engedélyezi a DevTools bekapcsolását a ctrl+shift+i billentyűkombinációval"}},"editor":{"name":"Szerkesztői beállítások","lineNumbers":{"name":"Szakasz sorszámok","note":"Lehetővé teszi a szakasz sorszámok megjelenítését a szerkesztő oldalán"},"fontSize":{"name":"Betűméret","note":"A szerkesztőben használandó betűtípus mérete (pt)"},"minimap":{"name":"Minitérkép","note":"Megjeleníti a kódminitérkép megjelenítését a szerkesztő oldalán"},"hover":{"name":"Hivatkozási eszköztippek","note":"Megjeleníti a hivatkozási eszköztippek megjelenítését a szabályok és szelektorok lebegtetésekor"},"quickSuggestions":{"name":"Gyors javaslatok","note":"Engedélyezi az automatikus kitöltési javaslatok megjelenítését gépelés közben"},"renderWhitespace":{"name":"Fehér tér megjelenítése","note":"Szóközök megjelenítése a szerkesztőben","options":{"all":"Mindig","none":"Soha","selection":"Kiválasztás"}}}}},"Addons":{"title":"{{name}} v{{version}} {{author}} által","byline":"{{author}} által","openFolder":"{{type}} mappa megnyitása","reload":"Újratöltés","addonSettings":"Beállítások","website":"Weboldal","source":"Forrás","invite":"Támogatási szerver","donate":"Támogatás","patreon":"Patreon","name":"Név","author":"Szerző","version":"Verzió","added":"Hozzáadás dátuma","modified":"Módosítás dátuma","search":"Keresés {{type}}","editAddon":"Szerkesztés","deleteAddon":"Törlés","confirmDelete":"Biztos, hogy törölni akarja ezt: {{name}}?","confirmationText":"A {{name}} módosításait nem kerültek mentésre. Ha bezárja ezt az ablakot, ezek a módosítások elvesznek.","enabled":"{{name}} bekapcsolva.","disabled":"{{name}} ki lett kapcsolva.","couldNotEnable":"{{name}} nem elindítható.","couldNotDisable":"{{name}} nem kikapcsolható.","couldNotStart":"{{name}} nem elindítható.","couldNotStop":"{{name}} nem leállítható.","settingsError":"Nem sikerült megnyitni a {{name}} beállításait","methodError":"{{method}} nem kivehető.","unknownAuthor":"Ismeretlen szerző","noDescription":"Leírás nincs megadva.","alreadyExists":"Már létezik egy {{type}} {{name}} névvel","alreadWatching":"Jelenleg a kiegészítőket nézed.","metaError":"Nem sikerült elemezni a META-t.","missingNameData":"Hiányzik a névadat a META-ból.","metaNotFound":"META nem található.","compileError":"Sikertelen indítás. Részletekért lásd a konzolt.","wasUnloaded":"{{name}} nem indult el.","blankSlateHeader":"Még nem rendelkezel egy ilyennel sem: {{type}}!","blankSlateMessage":"Szerezz néhányat [erről a weboldalról]({{link}}), és add őket a {{type}} mappádhoz.","isEnabled":"Bekapcsolva","wasLoaded":"{{name}} v{{{version}} betöltődött."},"CustomCSS":{"confirmationText":"Az Egyéni CSS módosításait nem kerültek mentésre. Ha bezárja ezt az ablakot, ezek a módosítások elvesznek.","update":"Frissítés","save":"Mentés","openNative":"Megnyitás a Rendszer szerkesztőjében","openDetached":"Különálló ablak","settings":"Szerkesztő beállítások","editorTitle":"Egyéni CSS szerkesztő"},"Modals":{"confirmAction":"Biztos vagy benne?","okay":"Oké","done":"Kész","cancel":"Mégse","nevermind":"Mégse","close":"Bezárás","name":"Név","message":"Üzenet","error":"Hiba","addonErrors":"Kiegészítők hibái","restartRequired":"Újraindítás szükséges","restartNow":"Újraindítás most","restartLater":"Újraindítás később","additionalInfo":"További információk","restartPrompt":"A Discordot újra kell indítani ahhoz, hogy érvénybe lépjen a változtatás. Most akarod újraindítani?"},"ReactDevTools":{"notFound":"A kifejezés nem található","notFoundDetails":"Nem található a React Developer Tools bővítmény a számítógépén. Kérjük, telepítse a bővítményt a Chrome helyi telepítésébe."},"Sorting":{"sortBy":"Rendezés","order":"Rendezés","ascending":"Növekvő","descending":"Csökkenő"},"WindowPrefs":{"enabledInfo":"Ez az opció átlátszó témát igényel a megfelelő működéshez. Windowson ez megszakíthatja az aero snappinget és a maximalizálást.\\n\\nA Discordot újra kell indítani, hogy érvénybe lépjen. Szeretnéd most újraindítani?","disabledInfo":"A Discordot újra kell indítani ahhoz, hogy érvénybe lépjen. Szeretnéd most újraindítani?"},"Notices":{"moreInfo":"További információ"},"Updater":{"updateFailed":"A frissítés sikertelen!","updateFailedMessage":"A BetterDiscord frissítése sikertelen. Kérjük, töltse le a telepítő legújabb verzióját erről a weboldalról: (https://betterdiscord.app/), majd telepítse újra.","updateSuccessful":"Frissítés sikeres!","updateAvailable":"Új frissítés erélhető a BetterDiscordhoz: (v{{version}})","addonUpdatesAvailable":"A BetterDiscord {{count}} frissítést talált ebben a témában: {{type}}!","addonUpdated":"A {{name}} frissült {{version}} verzióra!","checking":"Frissítések keresése!","finishedChecking":"Frissítések ellenőrzése sikeres!","checkForUpdates":"Frissítések keresése!","updateAll":"Az összes frissítése!","noUpdatesAvailable":"Nincsenek elérhető frissítések.","versionAvailable":"Verziófrissítés elérhető: {{version}}!","upToDateBlankslate":"Minden {{type}} naprakész!","updateButton":"Frissítés!"}}')},5557:e=>{"use strict";e.exports=JSON.parse('{"Panels":{"plugins":"Plugins","themes":"Temi","customcss":"CSS Personalizzato","updates":"Aggiornamenti"},"Collections":{"settings":{"name":"Impostazioni","general":{"name":"Generale","voiceDisconnect":{"name":"Disconnessione vocale","note":"Disconnettiti dalla chat vocale alla chiusura di Discord."},"showToasts":{"name":"Mostra notifiche","note":"Mostra una piccola notifica per le informazioni importanti."},"mediaKeys":{"name":"Disattiva i tasti multimediali","note":"Impedisce a Discord di comandare i tasti multimediali dopo la riproduzione di un video."}},"window":{"removeMinimumSize":{"name":"Rimuovi dimensione minima","note":"Rimuove la dimensione minima forzata della finestra di Discord di 940x500."},"name":"Preferenze Finestra","transparency":{"name":"Attiva trasparenza","note":"Consente alla finestra principale di essere trasparente (richiede il riavvio)."},"frame":{"name":"Frame finestra","note":"Aggiunge il frame della finestra del sistema operativo nativo alla finestra principale."}},"addons":{"name":"Gestione Addons","addonErrors":{"name":"Mostra errori addons","note":"Mostra una modale con errori dei plugins/temi."},"editAction":{"name":"Azione di modifica","note":"Seleziona dove vengono mostrati plugins e temi durante la modifica.","options":{"detached":"Finestra separata","system":"Editor di sistema"}}},"customcss":{"name":"CSS Personalizzato","customcss":{"name":"CSS Personalizzato","note":"Attiva la scheda di CSS personalizzato."},"liveUpdate":{"name":"Aggiornamento automatico","note":"Aggiorna il CSS durante la modifica."},"startDetached":{"name":"Finestra separata","note":"Cliccando sulla scheda CSS personalizzato si apre l\'editor in una finestra separata."},"nativeOpen":{"name":"Editor nativo","note":"Cliccando sulla scheda CSS personalizzato si apre il CSS personalizzato nell\'editor nativo."},"openAction":{"name":"Posizione dell\'editor","note":"Seleziona dove il CSS personalizzato dovrebbe aprirsi per impostazione predefinita.","options":{"settings":"Menu impostazioni","detached":"Finestra separata","system":"Editor di sistema"}}},"developer":{"name":"Impostazioni Sviluppatore","debuggerHotkey":{"name":"Debugger Hotkey","note":"Consente di attivare il debugger quando si preme F8 con DevTools aperto."},"reactDevTools":{"name":"React Developer Tools","note":"Inietta la tua installazione locale di React Developer Tools in Discord."},"inspectElement":{"name":"Inspect Element Hotkey","note":"Consente di attivare il tasto ispeziona elemento (CTRL+SHIFT+C) comune nella maggior parte dei browser."},"devToolsWarning":{"name":"Stop DevTools Warning","note":"Impedisce a Discord di stampare il messaggio \\"Hold Up!\\"."},"debugLogs":{"name":"Debug Logs","note":"Consente che tutto l\'output della console venga salvato nel file debug.log nella cartella BetterDiscord."},"devTools":{"name":"DevTools","note":"Consente la commutazione di DevTools con CTRL+SHIFT+I."}},"editor":{"name":"Preferenze dell\'Editor","lineNumbers":{"name":"Numeri di riga","note":"Consente di mostrare i numeri di riga sul lato dell\'editor."},"fontSize":{"name":"Dimensione carattere","note":"Dimensione del carattere (pt) da utilizzare nell\'editor."},"minimap":{"name":"Minimappa","note":"Consente di mostrare la minimappa del codice sul lato dell\'editor."},"hover":{"name":"Suggerimenti di riferimento","note":"Consente di mostrare i suggerimenti di riferimento quando si passa con il mouse su regole e selettori."},"quickSuggestions":{"name":"Suggerimenti rapidi","note":"Consente di mostrare i suggerimenti di completamento automatico durante la digitazione."},"renderWhitespace":{"name":"Mostra spazi bianchi","note":"Seleziona quando gli spazi bianchi dovrebbero essere mostrati dall\'editor.","options":{"all":"Sempre","none":"Mai","selection":"Selezione"}}}}},"Addons":{"title":"{{name}} v{{version}} di {{author}}","byline":"di {{author}}","openFolder":"Apri cartella {{type}}","reload":"Ricarica","addonSettings":"Impostazioni","website":"Website","source":"Sorgente","invite":"Discord","donate":"Dona","patreon":"Patreon","name":"Nome","author":"Autore","version":"Versione","added":"Data di aggiunta","modified":"Data di modifica","search":"Cerca {{type}}","editAddon":"Modifica","deleteAddon":"Elimina","confirmDelete":"Sei sicuro di voler eliminare {{name}}?","confirmationText":"Hai modifiche non salvate a {{name}}. Chiudendo questa finestra tutte le modifiche andranno perse.","enabled":"{{name}} è stato attivato.","disabled":"{{name}} è stato disattivato.","couldNotEnable":"{{name}} non può essere attivato.","couldNotDisable":"{{name}} non può essere disattivato.","couldNotStart":"{{name}} non può essere avviato.","couldNotStop":"{{name}} non può essere arrestato.","settingsError":"Impossibile aprire le impostazioni per {{name}}","methodError":"{{method}} non può essere restituito.","unknownAuthor":"Autore sconosciuto","noDescription":"Descrizione non fornita.","alreadyExists":"C\'è già un {{type}} chiamato {{name}}","alreadWatching":"Stai già vedendo gli addons.","metaError":"META non può essere analizzato.","missingNameData":"Dati del nome META mancanti.","metaNotFound":"META non è stato trovato.","compileError":"Impossibile compilare. Vedi la console per i dettagli.","wasUnloaded":"{{name}} è stato disattivato.","blankSlateHeader":"Non hai nessun {{type}}s!","blankSlateMessage":"Prendine alcuni da [questo sito web]({{link}}) e aggiungili alla tua cartella {{type}}.","isEnabled":"Attivato","wasLoaded":"{{name}} v{{version}} è stato caricato.","listView":"Vista a elenco","gridView":"Vista a griglia"},"CustomCSS":{"confirmationText":"Hai modifiche non salvate al tuo CSS personalizzato. Chiudendo questa finestra tutte le modifiche andranno perse.","update":"Aggiorna","save":"Salva","openNative":"Editor di sistema","openDetached":"Finestra separata","settings":"Impostazioni Editor","editorTitle":"Editor CSS Personalizzato"},"Modals":{"confirmAction":"Sei sicuro?","okay":"Okay","done":"Fatto","cancel":"Annulla","nevermind":"Non importa","close":"Chiudi","name":"Nome","message":"Messaggio","error":"Errore","addonErrors":"Errori addon","restartRequired":"Riavvio richiesto","restartNow":"Riavvia ora","restartLater":"Riavvia più tardi","additionalInfo":"Informazioni aggiuntive","restartPrompt":"Per avere effetto, Discord deve essere riavviato. Vuoi riavviare ora?"},"ReactDevTools":{"notFound":"Estensione non trovata","notFoundDetails":"Impossibile trovare l\'estensione React Developer Tools sul tuo PC. Installa l\'estensione sull\'installazione locale di Chrome."},"Sorting":{"sortBy":"Ordina per","order":"Ordine","ascending":"Ascendente","descending":"Discendente"},"WindowPrefs":{"enabledInfo":"Questa opzione richiede un tema trasparente per funzionare correttamente. Su Windows questo potrebbe interrompere l\'aero snapping e la massimizzazione.\\n\\nPer avere effetto, Discord deve essere riavviato. Vuoi riavviare ora?","disabledInfo":"Per avere effetto, Discord deve essere riavviato. Vuoi riavviare ora?"},"Notices":{"moreInfo":"Altre Info"},"Updater":{"updateFailed":"Aggiornamento non riuscito!","updateFailedMessage":"BetterDiscord non è stato aggiornato. Scarica l\'ultima versione del programma di installazione dal nostro sito web (https://betterdiscord.app/) e reinstalla.","updateSuccessful":"Aggiornamento riuscito!","updateAvailable":"BetterDiscord ha un nuovo aggiornamento (v{{version}})","addonUpdatesAvailable":"BetterDiscord ha trovato aggiornamenti per {{count}} dei tuoi {{type}}s!","addonUpdated":"{{name}} è stato aggiornato alla versione {{version}}!","checking":"Controlla aggiornamenti!","finishedChecking":"Controllo degli aggiornamenti finito!","checkForUpdates":"Controlla aggiornamenti!","updateAll":"Aggiorna tutto!","noUpdatesAvailable":"Nessun aggiornamento disponibile.","versionAvailable":"La versione {{version}} è ora disponibile!","upToDateBlankslate":"Tutti i tuoi {{type}} sembrano essere aggiornati!","updateButton":"Aggiorna!"}}')},1221:e=>{"use strict";e.exports=JSON.parse('{"Panels":{"plugins":"プラグイン","themes":"テーマ","customcss":"カスタムCSS","updates":"アップデート"},"Collections":{"settings":{"name":"設定","general":{"name":"全般","voiceDisconnect":{"name":"ボイスチャンネルの切断","note":"Discordを終了すると自動的にボイスチャンネルから切断されます。"},"showToasts":{"name":"トースト表示","note":"重要な情報を小さな通知で表示します。"},"mediaKeys":{"name":"メディアキー無効化","note":"ビデオ再生後にDiscordがメディアキーを乗っ取るのを防ぎます。"}},"window":{"removeMinimumSize":{"name":"最小サイズ削除","note":"Discordの最小ウィンドウサイズである940x500を強制的に解除します。"},"name":"ウィンドウ設定","transparency":{"name":"透過を有効","note":"Discordのメインウィンドウを透過します(要再起動)。"},"frame":{"name":"ウィンドウフレームの表示","note":"メインウィンドウにOSごとのウィンドウフレームを追加します。"}},"addons":{"name":"アドオンマネージャー","addonErrors":{"name":"アドオンエラーの表示","note":"プラグイン/テーマのエラーを表示します。"},"editAction":{"name":"アドオンの編集","note":"プラグインとテーマの編集時の表示位置。","options":{"detached":"Discord内で開く","system":"外部エディタで開く"}}},"customcss":{"name":"カスタムCSS","customcss":{"name":"カスタムCSS","note":"カスタムCSSタブを有効にします。"},"liveUpdate":{"name":"自動リアルタイム更新","note":"入力と同時に自動でCSSを更新"},"startDetached":{"name":"ウィンドウ表示","note":"カスタムCSSタブをクリックすると、エディターが別ウィンドウで表示されます"},"nativeOpen":{"name":"外部エディタを起動","note":"カスタムCSSを外部のエディタで起動します"},"openAction":{"name":"エディター","note":"カスタムCSSがデフォルトで開かれる場所","options":{"settings":"設定メニュー","detached":"内部エディター","system":"システム既定のエディター"}}},"developer":{"name":"開発者設定","debuggerHotkey":{"name":"デバッグ用ホットキー","note":"デベロッパーツールを開いた状態でF8キーを押すとデバッガが起動します。"},"reactDevTools":{"name":"React開発者向けツール","note":"ローカルにインストールしたReact Developer ToolsをDiscordに挿入します。"},"inspectElement":{"name":"インスペクト・エレメント・ホットキー","note":"ほとんどのブラウザで一般的なinspect要素のホットキー(Ctrl + Shift + C)を有効にします。"},"devToolsWarning":{"name":"DevToolsの警告を停止","note":"Discordの \\"Hold Up!\\"メッセージの表示を停止します。"},"debugLogs":{"name":"デバッグログ","note":"コンソールからBetterDiscordフォルダのdebug.logファイルに全てを出力します。"},"devTools":{"name":"デベロッパーツール","note":"ctrl+shift+iでデベロッパーツールの切り替えができます。"}},"editor":{"name":"エディターの設定","lineNumbers":{"name":"行番号","note":"エディターの横に行番号を表示します。"},"fontSize":{"name":"フォントサイズ","note":"エディターで使用するフォントの大きさ(pt)を変更する。"},"minimap":{"name":"ミニマップ","note":"エディター横にコード用のミニマップを表示します。"},"hover":{"name":"参照用ツールチップ","note":"ルールやセレクタをホバーしたときに、参照用のツールチップを表示します。"},"quickSuggestions":{"name":"入力補助","note":"入力中にオートコンプリートの候補を表示します。"},"renderWhitespace":{"name":"空白を表示","note":"エディターで空白を表示する場合","options":{"all":"常時","none":"無し","selection":"選択"}}}}},"Addons":{"title":"{{name}} v{{version}} by {{author}}","byline":"by {{author}}","openFolder":"{{type}}フォルダーを開く","reload":"リロード","addonSettings":"設定","website":"ウェブサイト","source":"ソース","invite":"サポートサーバー","donate":"寄付","patreon":"Patreon","name":"名称","author":"作者","version":"バージョン","added":"追加日","modified":"更新日","search":"{{type}}を検索","editAddon":"編集","deleteAddon":"削除","confirmDelete":"本当に{{name}}を削除しますか?","confirmationText":"{{name}}に未保存のデータがあります。このウィンドウを閉じると、それらの変更はすべて失われます。","enabled":"{{name}}を有効化しました。","disabled":"{{name}}を無効化しました。","couldNotEnable":"{{name}}を有効化できませんでした。","couldNotDisable":"{{name}}を無効化できませんでした。","couldNotStart":"{{name}}を起動できませんでした。","couldNotStop":"{{name}}を停止できませんでした。","settingsError":"{{name}}の設定を開けませんでした。","methodError":"{{method}}を起動できませんでした。","unknownAuthor":"作者不明","noDescription":"説明はありません。","alreadyExists":"同じく{{name}}という名前を持つ{{type}}がすでに存在します。","alreadWatching":"すでにアドオン済み。","metaError":"METAを解析できませんでした。","missingNameData":"METAの名前データがありません。","metaNotFound":"METAが見つかりませんでした。","compileError":"コンパイルできませんでした。詳しくはコンソールをご覧ください。","wasUnloaded":"{{name}}が解除されました。","blankSlateHeader":"{{type}}がありません。","blankSlateMessage":"このサイト({{link}})からいくつか入手して、{{type}}フォルダに追加してください。","isEnabled":"有効","wasLoaded":"{{name}}のv{{version}}が読み込まれました。"},"CustomCSS":{"confirmationText":"カスタムCSSに未保存のデータがあります。このウィンドウを閉じると、これらの変更はすべて失われます。","update":"アップデート","save":"保存","openNative":"外部エディタで開く","openDetached":"別ウィンドウで開く","settings":"エディター設定","editorTitle":"カスタムCSSエディター"},"Modals":{"confirmAction":"本当によろしいですか?","okay":"はい","done":"Done","cancel":"いいえ","nevermind":"Nevermind","close":"Close","name":"名前","message":"メッセージ","error":"エラー","addonErrors":"アドオンエラー","restartRequired":"再起動が必要","restartNow":"今すぐ再起動","restartLater":"後で再起動","additionalInfo":"その他の情報","restartPrompt":"有効にするためには、Discordを再起動する必要があります。今すぐ再起動しますか?"},"ReactDevTools":{"notFound":"拡張機能が見つかりません","notFoundDetails":"PCにReact Developer Tools拡張機能が見つかりません。Chromeに拡張機能をインストールしてください。"},"Sorting":{"sortBy":"並び順","order":"順序","ascending":"昇順","descending":"降順"},"WindowPrefs":{"enabledInfo":"このオプションが正しく動作するためには、透明なテーマが必要です。Windows では、エアロスナップと最大化が壊れる可能性があります。\\n\\nこのオプションを有効にするには、Discord を再起動する必要があります。今すぐ再起動しますか?","disabledInfo":"有効にするためには、Discordを再起動する必要があります。今すぐ再起動しますか?"},"Notices":{"moreInfo":"詳細"},"Updater":{"updateFailed":"アップデートに失敗しました!","updateFailedMessage":"BetterDiscordのアップデートに失敗しました。ホームページ(https://betterdiscord.app/)から最新版のインストーラーをダウンロードして、再インストールしてください。","updateSuccessful":"アップデートに成功しました!","updateAvailable":"BetterDiscordに新しいアップデート(v{{version}})があります。","addonUpdatesAvailable":"BetterDiscordは{{.type}}のアップデートを{{count}}個見つけました!","addonUpdated":"{{name}}がバージョン{{version}}にアップデートされました!","checking":"アップデートを確認","finishedChecking":"アップデートの確認が終了しました!","checkForUpdates":"アップデートを確認","updateAll":"全てアップデート","noUpdatesAvailable":"アップデートはありません。","versionAvailable":"バージョン{{version}}を公開しました。","upToDateBlankslate":"{{type}}は全て最新版です。","updateButton":"アップデート"}}')},7578:e=>{"use strict";e.exports=JSON.parse('{"Panels":{"plugins":"플러그인","themes":"테마","customcss":"사용자 지정 CSS","updates":"업데이트"},"Collections":{"settings":{"name":"설정","general":{"name":"일반","voiceDisconnect":{"name":"음성 연결 끊기","note":"디스코드를 닫을 때 음성 채널의 연결을 끊습니다"},"showToasts":{"name":"토스트 메시지 표시","note":"중요한 정보를 위한 작은 알림을 표시합니다"},"mediaKeys":{"name":"미디어 키 비활성화","note":"영상을 재생한 후, 디스코드가 미디어 키를 가로채는 것을 방지합니다"}},"window":{"removeMinimumSize":{"name":"최소 크기 제거","note":"디스코드의 강제 창 최소 크기 제한 (940x500) 을 제거합니다"},"name":"창 선호","transparency":{"name":"투명도 활성화","note":"기본 창이 투명하게 보이는 것을 활성화합니다 (재시작 요구됨)"},"frame":{"name":"창 프레임","note":"기본 창에 기본 OS 창 프레임을 추가합니다"}},"addons":{"name":"애드온 관리자","addonErrors":{"name":"애드온 에러 표시","note":"플러그인/테마 오류가 있는 모달을 표시합니다"},"editAction":{"name":"액션 수정","note":"수정할 때 플러그인과 테마가 나타나는 곳","options":{"detached":"분리 창","system":"시스템 편집기"}}},"customcss":{"name":"사용자 지정 CSS","customcss":{"name":"사용자 지정 CSS","note":"사용자 지정 CSS 탭을 활성화합니다"},"liveUpdate":{"name":"실시간 업데이트","note":"css를 작성하는 대로 업데이트합니다"},"startDetached":{"name":"분리 창 시작","note":"사용자 지정 CSS 탭을 클릭하면 분리된 창에서 편집기가 열립니다"},"nativeOpen":{"name":"기본 편집기에서 열기","note":"사용자 지정 CSS 탭을 클릭하면 기본 편집기에서 사용자 지정 css가 열립니다"},"openAction":{"name":"위치 편집기","note":"기본적으로 사용자 지정 CSS가 열리는 곳","options":{"settings":"설정 메뉴","detached":"분리된 창","system":"시스템 편집기"}}},"developer":{"name":"개발자 설정","debuggerHotkey":{"name":"디버거 단축키","note":"F8을 누를 때 디버거를 활성화합니다"},"reactDevTools":{"name":"React 개발자 도구","note":"로컬 환경에 설치된 React 개발자 도구를 디스코드에 삽입합니다"},"inspectElement":{"name":"요소 선택 단축키","note":"대부분의 브라우저에서 가장 흔한 요소 선택 단축키를 활성화합니다 (ctrl + shift + c)"},"devToolsWarning":{"name":"DevTools 경고 멈추기","note":"디스코드가 \\\\\\"Hold Up!\\\\\\" 메시지를 표시하는 것을 멈춥니다"},"debugLogs":{"name":"디버그 로그","note":"콘솔의 모든 출력을 BetterDiscord 폴더의 debug.log 파일에 저장합니다"},"devTools":{"name":"개발자 도구","note":"ctrl+shift+i를 사용하여 개발자 도구를 활성화합니다"}},"editor":{"name":"편집기 선호","lineNumbers":{"name":"행 번호","note":"편집기 측면에 행 번호 표시를 활성화합니"},"fontSize":{"name":"폰트 크기","note":"편집기에서 사용할 폰트 (pt) 크기"},"minimap":{"name":"미니맵","note":"편집기 측면에 코드 미니맵 표시를 활성화합니다"},"hover":{"name":"참조 툴팁","note":"규칙 및 선택기에 마우스 커서를 올릴 때 참조 툴팁을 활성화합니다"},"quickSuggestions":{"name":"빠른 제안","note":"입력할 때 자동 완성 제안 표시를 활성화합니"},"renderWhitespace":{"name":"공백 표시","note":"편집기가 공백을 표시해야 하는 경우","options":{"all":"항상 사용","none":"항상 무시","selection":"선택"}}}}},"Addons":{"title":"{{name}} v{{version}} by {{author}}","byline":"by {{author}}","openFolder":"{{type}} 폴더 열기","reload":"리로드","addonSettings":"설정","website":"웹사이트","source":"소스","invite":"서버 지원","donate":"기부","patreon":"패트리온","name":"이름","author":"제작자","version":"버전","added":"추가된 날짜","modified":"수정된 날짜","search":"{{type}} 검색","editAddon":"수정","deleteAddon":"삭제","confirmDelete":"{{name}}(을)를 삭제하시겠습니까?","confirmationText":"{{name}}에 저장되지 않은 수정사항이 있습니다. 이 창을 닫으면 모든 수정이 취소됩니다.","enabled":"{{name}}이 활성화되었습니다","disabled":"{{name}}이 비활성화되었습니다","couldNotEnable":"{{name}}(을)를 활성화하지 못했습니다","couldNotDisable":"{{name}}(을)를 비활성화하지 못했습니다","couldNotStart":"{{name}}(을)를 시작하지 못했습니다","couldNotStop":"{{name}}(을)를 정지하지 못했습니다","settingsError":"{{name}} 의 설정을 열 수 없습니다","methodError":"{{method}}(을)를 실행할 수 없습니다","unknownAuthor":"알 수 없는 제작자","noDescription":"설명이 제공되지 않았습니다","alreadyExists":"{{type}}(은)는 이미 {{name}}으로 존재합니다","alreadWatching":"이미 애드온을 보는 중입니다","metaError":"META 파싱에 실패했습니다","missingNameData":"META 이름 데이터 찾을 수 없음","metaNotFound":"META 찾을 수 없음","compileError":"컴파일에 실패했습니다","wasUnloaded":"{{name}}가 언로드되었습니다","blankSlateHeader":"{{type}}가 없습니다","blankSlateMessage":"[이 웹사이트]({{link}})에서 몇 가지를 {{type}} 폴더에 추가하세요","isEnabled":"활성화됨","wasLoaded":"{{name}} v{{version}} 가 로드됨."},"CustomCSS":{"confirmationText":"사용자 지정 CSS에 저장되지 않은 수정사항이 있습니다. 이 창을 닫으면 모든 수정이 취소됩니다","update":"업데이트","save":"저장","openNative":"시스템 편집기에서 열기","openDetached":"분리된 창에서 열기","settings":"편집기 설정","editorTitle":"사용자 CSS 편집기"},"Modals":{"confirmAction":"확실합니까?","okay":"확인","done":"완료","cancel":"취소","nevermind":"무시","close":"닫기","name":"이름","message":"메시지","error":"오류","addonErrors":"애드온 오류","restartRequired":"재시작 요구됨","restartNow":"지금 재시작하기","restartLater":"나중에 재시작하기","additionalInfo":"추가 정보","restartPrompt":"적용을 위해 디스코드가 재시작되어야 합니다. 지금 재시작하시겠습니까?"},"ReactDevTools":{"notFound":"확장 프로그램을 찾을 수 없음","notFoundDetails":"PC에서 반응 개발자 도구 확장 프로그램을 찾을 수 없습니다. 기본 Chrome 설치 위치에 확장 프로그램을 설치해주세요."},"Sorting":{"sortBy":"유형: ","order":"순서: ","ascending":"오름차순","descending":"내림차순"},"WindowPrefs":{"enabledInfo":"이 옵션은 제대로 작동하려면 투명한 테마가 필요합니다. Windows에서는 에어로 스내핑과 최대화가 고장날 수 있습니다.\\n\\n적용을 위해 디스코드를 재시작해야 합니다. 지금 재시작하시겠습니까?","disabledInfo":"적용을 위해 디스코드를 재시작해야 합니다. 지금 재시작하시겠습니까?"},"Notices":{"moreInfo":"더 많은 정보 보기"},"Updater":{"updateFailed":"업데이트가 실패했습니다!","updateFailedMessage":"BetterDiscord가 업데이트에 실패했습니다. 저희 웹사이트 (https://betterdiscord.app/) 에서 설치기를 받아 재설치하십시오.","updateSuccessful":"업데이트가 성공적으로 완료되었습니다!","updateAvailable":"BetterDiscord에 새로운 업데이트가 있습니다 (v{{version}})","addonUpdatesAvailable":"BetterDiscord가 {{.type}}의 업데이트를 {{count}}개 발견했습니다!","addonUpdated":"{{name}} 이 버전 {{version}} 으로 업데이트 되었습니다!","checking":"업데이트를 확인하고 있습니다!","finishedChecking":"업데이트 확인을 마쳤습니다!","checkForUpdates":"업데이트 확인하기!","updateAll":"모두 업데이트 되었습니다!","noUpdatesAvailable":"사용 가능한 업데이트가 없습니다.","versionAvailable":"버전 {{version}} 을 사용할 수 있습니다!","upToDateBlankslate":"당신의 {{type}} 는 모두 최신버전입니다!","updateButton":"업데이트!"}}')},8316:e=>{"use strict";e.exports={}},3106:e=>{"use strict";e.exports=JSON.parse('{"Panels":{"plugins":"Plug-ins","themes":"Thema\'s","customcss":"Aangepaste CSS"},"Collections":{"settings":{"name":"Instellingen","general":{"name":"Algemeen","voiceDisconnect":{"name":"Stem Verbroken","note":"Verbreek de verbinding met de oproep"},"showToasts":{"name":"Laat Toasts Zien","note":"Toont een melding voor belangrijke informatie"},"mediaKeys":{"name":"Schakel mediatoetsen uit","note":"Voorkomt dat Discord uw mediatoetsen kaapt na het afspelen van een video."}}}},"Addons":{"byline":"door {{author}}","openFolder":"Open {{type}} folder","reload":"Herladeen","addonSettings":"Instellingen","website":"Website","source":"Bronnen","invite":"Support Server","donate":"Donatie","patreon":"Patreon","name":"Naam","author":"Schrijver","version":"Versie","added":"Datum toegevoegd","modified":"Datum gewijzigd ","editAddon":"Bewerken","deleteAddon":"Verwijderen","confirmDelete":"Weet je het zeker dat je {{name}} wilt verwijderen?","confirmationText":"Je hebt niet-opgeslagen wijzigingen in {{naam}}. Als je dit venster sluit, gaan alle wijzigingen verloren.","unknownAuthor":"Onbekende schrijver","noDescription":"Beschrijving kon niet worden weergegeven"},"Modals":{"confirmAction":"Weet je het zeker?","okay":"Oké","cancel":"Annuleren","close":"Bijna","name":"Naam","message":"Berich","error":"Fout!"},"Sorting":{"order":"Volgorde"}}')},7411:e=>{"use strict";e.exports=JSON.parse('{"Panels":{"customcss":"Tilpasset CSS"},"Collections":{"settings":{"name":"Innstillinger","general":{"name":"Generell","showToasts":{"name":"Vis Toasts"}},"customcss":{"name":"Tilpasset CSS","customcss":{"name":"Tilpasset CSS"}}}},"Addons":{"addonSettings":"Innstillinger","website":"Nettsted","donate":"Donere","patreon":"Patreon","name":"Navn","author":"Forfatter","version":"Versjon","editAddon":"Redigere","deleteAddon":"Slett"},"CustomCSS":{"update":"Oppdater","save":"Lagre"},"Modals":{"confirmAction":"Er Du Sikker?","okay":"Okay","restartNow":"Start på nytt nå","restartLater":"Start på nytt senere"},"Sorting":{"sortBy":"Sorter etter"},"WindowPrefs":{"disabledInfo":"For å kunne tre i kraft må Discord startes på nytt. Vil du starte på nytt nå?"}}')},8808:e=>{"use strict";e.exports=JSON.parse('{"Panels":{"plugins":"Wtyczki","themes":"Motywy","customcss":"Niestandardowy CSS","updates":"Aktualizacje"},"Collections":{"settings":{"name":"Ustawienia","general":{"name":"Ogólne","voiceDisconnect":{"name":"Rozłączaj z czatem głosowym","note":"Rozłącza z serwerem czatu głosowego przy wyłączeniu Discorda"},"showToasts":{"name":"Wyświetlaj okienka powiadomień","note":"Wyświetla małe powiadomienia dla ważnych zdarzeń"},"mediaKeys":{"name":"Wyłącz przyciski multimedialne","note":"Zapobiega korzystaniu z klawiszy multimedialnych przez Discorda podczas odtwarzania filmów."}},"window":{"removeMinimumSize":{"name":"Usuń limit minimalnego rozmiaru okna","note":"Usuwa wymuszony przez Discorda limit minimalnego rozmiaru okna (940x500)"},"name":"Ustawienia okna","transparency":{"name":"Włącz przezroczystość","note":"Dodaje efekt przezroczytstości do okna Discorda (wymaga ponownego uruchomienia)"},"frame":{"name":"Ramka okna","note":"Dodaje systemową ramkę do okna Discorda"}},"addons":{"name":"Menedżer dodatków","addonErrors":{"name":"Wyświetlaj błędy dodatków","note":"Wyświetla okno z błędami wtyczek i motywów"},"editAction":{"name":"Edytor dodatków","note":"Ustawia domyślny edytor kodu wtyczek i motywów","options":{"detached":"Osobne okno","system":"Edytor systemowy"}}},"customcss":{"name":"Niestandardowy CSS","customcss":{"name":"Niestandardowy CSS","note":"Wyświetla zakładkę z edytorem niestandardowego kodu CSS"},"liveUpdate":{"name":"Automatyczny podgląd","note":"Aktualizuje CSS Discorda wraz z pisaniem kodu"},"startDetached":{"name":"Osobne okno edytora","note":"Kliknięcie na zakładkę „Niestandardowy CSS” uruchomi edytor w osobnym oknie"},"nativeOpen":{"name":"Otwórz w edytorze systemowym","note":"Kliknięcie na zakładkę „Niestandardowy CSS” uruchomi plik w edytorze systemowym"},"openAction":{"name":"Domyślny edytor","note":"Ustawia domyślny edytor niestandardowego kodu CSS","options":{"settings":"Ustawienia","detached":"Osobne okno","system":"Edytor systemowy"}}},"developer":{"name":"Ustawienia dla programistów","debuggerHotkey":{"name":"Debugger","note":"Uruchamia debugger po naciśnięciu F8 przy otworzonym panelu narzędzi dla programistów"},"reactDevTools":{"name":"React Developer Tools","note":"Wprowadza zainstalowane na Twoim komputerze rozszerzenie React Developer Tools do Discorda"},"inspectElement":{"name":"Narzędzie „Zbadaj element”","note":"Umożliwia korzystanie z narzędzia „Zbadaj element” po użyciu skrótu klawiszowego Ctrl+Shift+C"},"devToolsWarning":{"name":"Nie wyświetlaj ostrzeżenia o szybkim wysyłaniu wiadomości","note":"Zapobiega wyświetlaniu informacji o zbyt szybkim wysyłaniu wiadomości przez Discorda"},"debugLogs":{"name":"Dziennik zdarzeń","note":"Przekierowuje informacje z konsoli do pliku debug.log w folderze BetterDiscorda"},"devTools":{"name":"Narzędzia dla programistów","note":"Umożliwia wyświetlenie panelu narzędzi dla programistów po użyciu skrótu klawiszowego Ctrl+Shift+I"}},"editor":{"name":"Ustawienia edytora","lineNumbers":{"name":"Numery wierszy","note":"Wyświetla numery wierszy po lewej stronie edytora"},"fontSize":{"name":"Rozmiar czcionki","note":"Ustawia rozmiar czcionki (pt) w edytorze"},"minimap":{"name":"Podgląd","note":"Wyświetla mały podgląd kodu po prawej stronie edytora"},"hover":{"name":"Etykiety","note":"Wyświetla etykiety z dodatkowymi informacjami po najechaniu na element kodu"},"quickSuggestions":{"name":"Podpowiadanie składni","note":"Włącza automatyczne podpowiadanie składni podczas pisania kodu"},"renderWhitespace":{"name":"Pokaż białe znaki","note":"Określa, kiedy białe znaki będą wyświetlane w edytorze","options":{"all":"Zawsze","none":"Nigdy","selection":"Przy zaznaczaniu"}}}}},"Addons":{"title":"{{name}} (wersja {{version}}) autorstwa {{author}}","byline":"autorstwa {{author}}","openFolder":"Otwórz folder ({{type}})","reload":"Odśwież","addonSettings":"Ustawienia","website":"Strona internetowa","source":"Źródło","invite":"Wspomóż serwer","donate":"Przekaż darowiznę","patreon":"Patreon","name":"Nazwa","author":"Twórca","version":"Wersja","added":"Data dodania","modified":"Data modyfikacji","search":"Wyszukaj","editAddon":"Edytuj","deleteAddon":"Usuń","confirmDelete":"Czy na pewno chcesz usunąć {{name}}?","confirmationText":"Masz niezapisane zmiany w kodzie {{name}}. Zamknięcie tego okna spowoduje odrzucenie wszystkich zmian.","enabled":"Dodatek {{name}} został włączony.","disabled":"Dodatek {{name}} został wyłączony.","couldNotEnable":"Dodatek {{name}} nie może zostać włączony.","couldNotDisable":"Dodatek {{name}} nie może zostać wyłączony.","couldNotStart":"Dodatek {{name}} nie może zostać uruchomiony.","couldNotStop":"Dodatek {{name}} nie może zostać zatrzymany.","settingsError":"Nie udało się otworzyć ustawień dodatku {{name}}","methodError":"Metoda {{method}} nie może zostać wywołana.","unknownAuthor":"Nieznany twórca","noDescription":"Brak opisu.","alreadyExists":"Masz już dodatek z nazwą {{name}}","alreadWatching":"Dodatki są już obserwowane.","metaError":"Nie udało się przetworzyć metadanych.","missingNameData":"Brak nazwy dodatku w metadanych.","metaNotFound":"Nie odnaleziono metadanych.","compileError":"Błąd kompilacji. Sprawdź konsolę, aby dowiedzieć się więcej.","wasUnloaded":"Dodatek {{name}} został odładowany.","blankSlateHeader":"Wygląda na to, że nic tu nie ma!","blankSlateMessage":"Pobierz nowe dodatki z [tej strony]({{link}}) i przenieś je do odpowiedniego folderu.","isEnabled":"Stan","wasLoaded":"Dodatek {{name}} (wersja {{version}}) został załadowany."},"CustomCSS":{"confirmationText":"Masz niezapisane zmiany w swoim niestandardowym kodzie CSS. Zamknięcie tego okienka spowoduje odrzucenie wszystkich zmian.","update":"Zaktualizuj","save":"Zapisz","openNative":"Otwórz w edytorze systemowym","openDetached":"Otwórz w osobnym oknie","settings":"Ustawienia edytora","editorTitle":"Edytor niestandardowego kodu CSS"},"Modals":{"confirmAction":"Czy na pewno chcesz to zrobić?","okay":"Tak","done":"Potwierdź","cancel":"Anuluj","nevermind":"Anuluj","close":"Zamknij","name":"Nazwa","message":"Komunikat","error":"Błąd","addonErrors":"Błędy wtyczek","restartRequired":"Wymagane ponowne uruchomienie","restartNow":"Uruchom ponownie teraz","restartLater":"Uruchom ponownie później","additionalInfo":"Dodatkowe informacje","restartPrompt":"Uruchom ponownie Discorda, by zastosować zmiany. Czy chcesz to zrobić teraz?"},"ReactDevTools":{"notFound":"Nie znaleziono rozszerzenia","notFoundDetails":"Nie udało się znaleźć React Developer Tools na twoim urządzeniu. By kontynuować, zainstaluj to rozszerzenie w swojej przeglądarce Chrome."},"Sorting":{"sortBy":"Sortuj wg","order":"Kolejność","ascending":"Rosnąca","descending":"Malejąca"},"WindowPrefs":{"enabledInfo":"Ta opcja wymaga przezroczystego motywu do poprawnego działania. Na Windowsie mogą pojawić się problemy ze zmianą wielkości okna.\\n\\nUruchom ponownie Discorda, by zastosować zmiany. Czy chcesz to zrobić teraz?","disabledInfo":"Uruchom ponownie Discorda, by zmiany odniosły efekty. Czy chcesz to zrobić teraz?"},"Notices":{"moreInfo":"Dowiedz się więcej"},"Updater":{"updateFailed":"Aktualizacja nie powiodła się!","updateFailedMessage":"Nie udało się zaktualizować BetterDiscorda. Pobierz najnowszy instalator z naszej strony (https://betterdiscord.app/) i zainstaluj aplikację ponownie.","updateSuccessful":"Aktualizacja powiodła się!","updateAvailable":"Dostępna jest nowa aktualizacja BetterDiscorda (wersja {{version}})","addonUpdatesAvailable":"Są dostępne nowe aktualizacje dla twoich dodatków ({{count}})!","addonUpdated":"Dodatek {{name}} został zaktualizowany do wersji {{version}}!","checking":"Sprawdzanie dostępności aktualizacji!","finishedChecking":"Zakończono sprawdzanie dostępności aktualizacji!","checkForUpdates":"Sprawdź dostępność aktualizacji","updateAll":"Zaktualizuj wszystko","noUpdatesAvailable":"Brak dostępnych aktualizacji.","versionAvailable":"Dostępna jest nowa wersja ({{version}})!","upToDateBlankslate":"Wszystkie dodatki są aktualne!","updateButton":"Zaktualizuj"}}')},5055:e=>{"use strict";e.exports=JSON.parse('{"Panels":{"plugins":"Plugins","themes":"Temas","customcss":"CSS Personalizado"},"Collections":{"settings":{"name":"Configurações","general":{"name":"Geral","voiceDisconnect":{"name":"Desconexão de Voz","note":"Desconecta do servidor de voz quando o discord é fechado"},"showToasts":{"name":"Mostrar Toasts","note":"Mostra uma pequena notificação para informações importantes"},"mediaKeys":{"name":"Desabilitar Teclas de Media","note":"Previne que o discord roube suas teclas de media depois de dar play em um vídeo"}},"window":{"removeMinimumSize":{"name":"Remover Tamanho Mínimo","note":"Remove o tamanho mínimo forçado pelo discord de 940x500"},"name":"Preferências da Janela","transparency":{"name":"Habilitar Transparência","note":"Faz a janela principal ser transparente (requer reinicialização)"},"frame":{"name":"Moldura da Janela","note":"Adiciona a moldura nativa na janela principal"}},"addons":{"name":"Gerenciador de Addons","addonErrors":{"name":"Mostrar erros dos Addons","note":"Mostra um modal com os erros do plugin/tema"},"editAction":{"name":"Ação de Edição","note":"Onde plugins e temas aparecerão quando os editar","options":{"detached":"Janela Separada","system":"Editor do Sistema"}}},"customcss":{"name":"CSS Personalizado","customcss":{"name":"CSS Personalizado","note":"Habilita a aba de css personalizado"},"liveUpdate":{"name":"Atualização em Tempo Real","note":"Atualiza o css à medida que você digita"},"startDetached":{"name":"Iniciar Separado","note":"Clicar na aba do CSS Personalizado irá abrir o editor numa janela separada"},"nativeOpen":{"name":"Abrir no Editor Nativo","note":"Clicar na aba do CSS Personalizado irá o abrir usando seu editor nativo"},"openAction":{"name":"Localização do Editor","note":"Onde o CSS Personalizado deve aparecer por padrão","options":{"settings":"Menu de Configurações","detached":"Janela Separada","system":"Editor do Sistema"}}},"developer":{"name":"Configurações de Desenvolvedor","debuggerHotkey":{"name":"Atalho para o Depurador","note":"Permite ativar o depurador quando pressionar F8"},"reactDevTools":{"name":"React Developer Tools","note":"Injeta a sua instalação local do React Developer Tools no discord"},"inspectElement":{"name":"Atalho para Inspecionar Elemento","note":"Habilita o atalho para inspecionar elemento (ctrl + shift + c) que é comum na maioria dos navegadores"},"devToolsWarning":{"name":"Remove os Avisos de DevTools","note":"Faz o discord parar de imprimir as mensagens de \\"Calma Aí!\\""},"debugLogs":{"name":"Registro de Depuração","note":"Salva todas os logs do console no arquivo debug.log dentro da pasta do BetterDiscord"}}}},"Addons":{"title":"{{name}} v{{version}} by {{author}}","byline":"por {{author}}","openFolder":"Abrir Pasta de {{type}}s","reload":"Recarregar","addonSettings":"Configurações","website":"Site","source":"Source","invite":"Servidor de Suporte","donate":"Doar","patreon":"Patreon","name":"Nome","author":"Autor","version":"Versão","added":"Date de Adição","modified":"Data de Modificação","search":"Pesquisar {{type}}","editAddon":"Editar","deleteAddon":"Remover","confirmDelete":"Você tem certeza que quer remover o {{name}}?","confirmationText":"Você tem mudanças ainda não salvas em {{name}}. Fechar essa janela fará você perder todas elas.","enabled":"{{name}} foi ativado.","disabled":"{{name}} foi desativado.","couldNotEnable":"{{name}} não pôde ser ativado.","couldNotDisable":"{{name}} não pôde ser desativado.","couldNotStart":"{{name}} não pôde ser iniciado.","couldNotStop":"{{name}} não pôde ser parado.","settingsError":"Não foi possível abrir as configurações do(a) {{name}}","methodError":"{{method}} não pode ser disparado.","unknownAuthor":"Autor Desconhecido","noDescription":"Descrição não fornecida.","alreadyExists":"Já existe um {{type}} com o nome {{name}}","alreadWatching":"Já assistindo os addons.","metaError":"META não pode ser reconhecida.","missingNameData":"META sem dados de nome.","metaNotFound":"META não encontrado.","compileError":"Não foi possível compilar.","wasUnloaded":"{{name}} foi descarregado.","blankSlateHeader":"Você não tem nenhum {{type}}!","blankSlateMessage":"Baixe alguns [desse website]({{link}}) e os adicione na sua pasta de {{type}}s."},"CustomCSS":{"confirmationText":"Você tem mudanças ainda não salvas no seu CSS Personalizado. Fechar essa janela fará você perder todas elas.","update":"Atualizar","save":"Salvar","openNative":"Abrir no Editor do Sistema","openDetached":"Abrir numa Janela Separada","settings":"Configurações do Editor","editorTitle":"Editor do CSS Personalizado"},"Modals":{"confirmAction":"Você Tem Certeza?","okay":"Okay","done":"Feito","cancel":"Cancelar","nevermind":"Deixe pra lá","close":"Fechar","name":"Nome","message":"Mensagem","error":"Erro","addonErrors":"Erros dos Addons","restartRequired":"Reinicialização Necessária","restartNow":"Reiniciar Agora","restartLater":"Reiniciar Mais Tarde","additionalInfo":"Informações Adicionais","restartPrompt":"Para as mudanças terem efeito o discord precisa ser reinciado. Você deseja reiniciar agora?"},"ReactDevTools":{"notFound":"Extensão Não Encontrada","notFoundDetails":"Não foi possível encontrar a exntesão do React Developer Tools no seu PC. Por favor instale a extensão na sua instalação do Chrome local."},"Sorting":{"sortBy":"Ordenar Por","order":"Ordem","ascending":"Ascendente","descending":"Descendente"},"WindowPrefs":{"enabledInfo":"Essa opção necessita de um tema transparente para funcionar corretamente. No Windows isso pode quebrar o aero snapping e a maximização.\\n\\nO discord precisa ser reiniciado para as mudanças terem efeito. Você deseja reiniciar agora?","disabledInfo":"O discord precisa ser reiniciado para as mudanças terem efeito. Você deseja reiniciar agora?"}}')},6587:e=>{"use strict";e.exports=JSON.parse('{"Panels":{"plugins":"Plugins","themes":"Temas","customcss":"CSS Personalizado"},"Collections":{"settings":{"name":"Definições","general":{"name":"Geral","voiceDisconnect":{"name":"Disconectar Voz","note":"Disconectar do servidor de voz quando fechar o discord"},"showToasts":{"name":"Mostrar notificações","note":"Mostra uma pequena notificação para informações importantes"},"mediaKeys":{"name":"Desativar as chaves Mídia","note":"Previne o Discord de dar hijack as chaves Mídia depois de ver um video."}},"window":{"removeMinimumSize":{"name":"Remove o tamanho mínimo","note":"Remove o tamanho mínimo obrigatório de janela do Discord de 940x500"},"name":"Preferência de Janela","transparency":{"name":"Ativar Transparência","note":"Ativa a janela principal para ter transparência (requer reniciar)"},"frame":{"name":"Moldura da janela","note":"Adiciona a moldura de janela nativa do sistema operativo à janela principal"}},"addons":{"name":"Gestor de extensões","addonErrors":{"name":"Mostra os erros das extensões","note":"Mostra uma janela com os erros dos plugins/temas"},"editAction":{"name":"Editar ação","note":"Onde os plugins e os temas irão aparecer quando se edita","options":{"detached":"Separar janela","system":"Editor de sistema"}}},"customcss":{"name":"CSS Personalizado","customcss":{"name":"CSS Personalizado","note":"Ativa a aba de CSS Personalizado"},"liveUpdate":{"name":"Atualizações diretas","note":"Atualiza o css a medida que se escreve"},"startDetached":{"name":"Começar desanexado","note":"Clicar na aba de CSS Personalizado abre o editor numa janela separada"},"nativeOpen":{"name":"Abrir o editor Nativo","note":"Clicar na aba de CSS Personalizado abre o css personalizado no seu editor nativo"},"openAction":{"name":"Editor de localização","note":"Onde o CSS personalizado abre por predifinição","options":{"settings":"Menu de definições","detached":"Separar Janela","system":"Editor de sistema"}}},"developer":{"name":"Definições de desenvolvedor","debuggerHotkey":{"name":"Debugger Hotkey","note":"Permite a ativação do debugger quando pressiona o F8"},"reactDevTools":{"name":"Ferramentas de Desenvolvedor React","note":"Injeta a instalação local da Ferramenta de Desenvolvedor React para o Discord"},"inspectElement":{"name":"Tecla de Inspecionar Elemento","note":"Ativa a tecla de inspecionar elemento (ctrl + shift + c) que é comum na maioria dos navegadores browser"},"devToolsWarning":{"name":"Pára o aviso de DevTools","note":"Pára o Discord de mostrar a mensagem \\"Hold up!\\""},"debugLogs":{"name":"Debug Logs","note":"Saída de tudo da consola para o ficheiro debug.log na pasta BetterDiscord"}}}},"Addons":{"title":"{{name}} v{{version}} feito por {{author}}","byline":"feito por {{author}}","openFolder":"Abrir a pasta {{type}}","reload":"Recarregar","addonSettings":"Definições","website":"Website","source":"Fonte","invite":"Servidor de Suporte","donate":"Doar","patreon":"Patreon","name":"Nome","author":"Autor","version":"Versão","added":"Data Adicionada","modified":"Data Modificada","search":"Procurar {{type}}","editAddon":"Editar","deleteAddon":"Apagar","confirmDelete":"Tem a certeza que quer apagar {{name}}?","confirmationText":"Tem alterações não guardadas no {{name}}. Se fechar esta janela irá perder essas alterações.","enabled":"{{name}} foi ativo.","disabled":"{{name}} foi desativado.","couldNotEnable":"{{name}} não foi possível ser ativado.","couldNotDisable":"{{name}} não pode ser desativado.","couldNotStart":"{{name}} não pode ser iniciado.","couldNotStop":"{{name}} não pode ser parádo.","settingsError":"Não foi possível abrir as configurações para {{name}}","methodError":"{{method}} não pode ser retirado.","unknownAuthor":"Autor Desconhecido","noDescription":"Descrição não fornecida.","alreadyExists":"Já existe um {{type}} com o nome {{name}}","alreadWatching":"Já assiste as extensões.","metaError":"META não pôde ser analisado.","missingNameData":"Em falta dados do nome de META.","metaNotFound":"META não encontrada.","compileError":"Não foi possível compilar.","wasUnloaded":"{{name}} foi descarregado.","blankSlateHeader":"Não tem nenhum {{type}}!","blankSlateMessage":"Pega um pouco deste [this website]({{link}}) e adiciona eles à tua pasta {{type}}."},"CustomCSS":{"confirmationText":"Tem alterações não guardadas no CSS Personalizado. Se fechar esta janela irá perder essas alterações.","update":"Atualizar","save":"Guardar","openNative":"Abrir o Editor de Sistema","openDetached":"Separar Janela","settings":"Definições de Editor","editorTitle":"Editor de CSS Personalizado"},"Modals":{"confirmAction":"Tem a certeza?","okay":"Okay","done":"Feito","cancel":"Cancelar","nevermind":"Deixa estár","close":"Fechar","name":"Nome","message":"Mensagem","error":"Erro","addonErrors":"Erro de extensão","restartRequired":"Necessário Reniciar","restartNow":"Reniciar Agora","restartLater":"Reniciar Mais Tarde","additionalInfo":"Informação Adicional","restartPrompt":"Para ter efeito, o Discord precisa ser reiniciado. Deseja reiniciar agora?"},"ReactDevTools":{"notFound":"Extensão não encontrada","notFoundDetails":"Não foi possivel achar a extensão Ferramenta Desenvolvedor React no seu computador. Por favor instale a extensão no seu Chrome local."},"Sorting":{"sortBy":"Ordenar por","order":"Ordenar","ascending":"Ascendente","descending":"Descendente"},"WindowPrefs":{"enabledInfo":"Esta opção requer um tema transparente para funcionar corretamente. No Windows, isso pode interromper o ajuste e a maximização do aero.\\n\\nPara ter efeito, o Discord precisa ser reiniciado. Quer reiniciar agora?","disabledInfo":"Para ter efeito, o Discord precisa ser reiniciado. Quer reiniciar agora?"}}')},7735:e=>{"use strict";e.exports=JSON.parse('{"Panels":{"plugins":"plugin-uri","themes":"temă","customcss":"CSS personalizat"},"Collections":{"settings":{"name":"setări","general":{"name":"general","voiceDisconnect":{"name":"Deconectare de la voce","note":"Deconectează-te de la un canal de voce când inchizi Discord-ul"},"showToasts":{"name":"Arată mesajele de sistem","note":"Afișează notificări pentru informațiile importante"},"mediaKeys":{"name":"Dezactivează tastele Media","note":"Previn-o Discord din a fura tastele media după redarea unui videoclip."}},"window":{"removeMinimumSize":{"name":"Elimină mărimea minimă","note":"Elimina marimea minima de 940x500 a ferestrei"},"name":"Preferinte în privința mărimii ferestrei","transparency":{"name":"Activează Transparența","note":"Fă ca fereastra principală să fie transparentă (necesită repornire)"},"frame":{"name":"Cadrul ferestrei","note":"Adaugă cadrul sistemului de operare în fereastra principală"}},"addons":{"name":"Manager de adăugiri","addonErrors":{"name":"Arată erorile adăugirilor","note":"Afișează un modal cu erorile plugin-urilor/temelor"},"editAction":{"name":"Modifică acțiunea","note":"Unde apar plugin-urile si temele atunci când sunt editate","options":{"detached":"Fereastră detașabilă","system":"Editor de sistem"}}},"customcss":{"name":"CSS personalizat","customcss":{"name":"CSS personalizat","note":"Activează tab-ul de CSS personalizat"},"liveUpdate":{"name":"Actualizări live","note":"Actualizează CSS-ul in timp ce scrii"},"startDetached":{"name":"Pornește intr-o altă fereastră","note":"Click-ul pe tab-ul de CSS personalizat va deschide editor-ul intr-o fereastra separată"},"nativeOpen":{"name":"Deschide în editor-ul nativ","note":"Click-ul pe fereastra de CSS personalizat va deschide editorul nativ al calculatorului"},"openAction":{"name":"Locația editorului","note":"Unde ar trebui să se deschide CSS-ul personalizat","options":{"settings":"Meniu de setări","detached":"Fereastră detașabilă","system":"Editor de sistem"}}},"developer":{"name":"Setări de dezvoltator","debuggerHotkey":{"name":"Scurtătură pentru Debugger","note":"Activează deschiderea debugger-ului la apasarea tastei F8"},"reactDevTools":{"name":"React Developer Tools","note":"Instalează React Developer Tools in Discord"},"inspectElement":{"name":"Scurtătură pentru Inspect Element","note":"Activează scurtătura pentru Inspect Element (CTRL + SHIFT + C) ce se găsește in cele mai multe browsere"},"devToolsWarning":{"name":"Dezactivează avertismentele","note":"Opreste Discord-ul din a afișa mesajul \\"Stai puțin!\\""},"debugLogs":{"name":"Debug Logs","note":"Transferă tot din consolă in fișierul debug.log din folderul BetterDiscord"}}}},"Addons":{"title":"{{name}} v{{version}} de {{author}}","byline":"de {{author}}","openFolder":"Deschide fișierul {{type}}","reload":"Reîmprospatează","addonSettings":"Setări","website":"Site Web","source":"Sursă","invite":"Susține Server-ul","donate":"Donează","patreon":"Patreon","name":"Nume","author":"Autor","version":"Versiune","added":"Data adăugării","modified":"Data modificării","search":"Caută {{type}}","editAddon":"Modifică","deleteAddon":"Șterge","confirmDelete":"Ești sigur că vrei să ștergi {{name}} ?","confirmationText":"Ai schimbări nesalvate la {{name}}. Închiderea acestei ferestre v-a duce la pierderea tuturor modificărilor.","enabled":"{{name}} a fost activat.","disabled":"{{name}} a fost dezactivat.","couldNotEnable":"{{name}} nu a putut fi activat.","couldNotDisable":"{{name}} nu a putut fi dezactivat.","couldNotStart":"{{name}} nu a putut porni.","couldNotStop":"{{name}} nu a putut fi oprit.","settingsError":"Nu s-au putut deschide setările pentru {{name}}","methodError":"{{method}} nu a putut fi executat.","unknownAuthor":"Autor necunoscut","noDescription":"Fără descriere.","alreadyExists":"Deja există un {{type}} cu numele {{name}}","alreadWatching":"Deja te uiti la addon-uri.","metaError":"META nu a putut fi analizat.","missingNameData":"META nu are un nume.","metaNotFound":"META nu a putut fi găsit.","compileError":"Nu s-a putut incărca.","wasUnloaded":"{{name}} a fost dezactivat.","blankSlateHeader":"Nu ai nici un {{type}}!","blankSlateMessage":"Descarcă câteva din [acest website]({{link}}) și adaugă-le in folder-ul tău {{type}}."},"CustomCSS":{"confirmationText":"Ai modificări nesalvate in CSS-ul personalizat. Închiderea acestei ferestre va duce la anularea schimbărilor.","update":"Actualizare","save":"Salvează","openNative":"Deschide în editorul de sistem","openDetached":"Detașează fereastra","settings":"Setările editor-ului","editorTitle":"Editor de CSS personalizat"},"Modals":{"confirmAction":"Ești sigur ?","okay":"Okay","done":"Gata","cancel":"Anulează","nevermind":"Nu contează","close":"Închide","name":"Nume","message":"Mesaj","error":"Eroare","addonErrors":"Eroare a","restartRequired":"Repornirea este necesară","restartNow":"Repornește acum","restartLater":"Reîncarcă mai târziu","additionalInfo":"Informații adiționale","restartPrompt":"Pentru a fi aplicate, Discord trebuie să repornească. Dorești să il repornești acuma ?"},"ReactDevTools":{"notFound":"Extensia nu a putut fi găsită","notFoundDetails":"Nu s-au putut găsi extensia React Developer Tools in calculatorul tău. Te rugăm să instalezi extensia în cadrul Chrome."},"Sorting":{"sortBy":"Sortează După","order":"Ordonează","ascending":"Crescător","descending":"Descrescător"},"WindowPrefs":{"enabledInfo":"Această opțiune necesită o temă transparentă pentru a funcționa normal. \\nPe Windows ar putea putea să strice maximizarea.\\nPentru ca aceste efecte să intre în vigoare, Discord trebuie să repornească. Dorești să il repornești acum ?","disabledInfo":"Pentru ca aceste setări să intre în efect, Discord trebuie să repornească. Dorești să îl repornești acum ?"}}')},2681:e=>{"use strict";e.exports=JSON.parse('{"Panels":{"plugins":"Плагины","themes":"Темы","customcss":"Быстрый CSS","updates":"Обновления"},"Collections":{"settings":{"name":"Настройки","general":{"name":"Основные","voiceDisconnect":{"name":"Отключение голосового чата","note":"Отключает от голосового чата, когда Discord закрыт"},"showToasts":{"name":"Показывать уведомления","note":"Показывает небольшие уведомления с важной информацией"},"mediaKeys":{"name":"Отключить медиа-кнопки","note":"Предотвращает перехват мультимедийных кнопок Discord\'ом после воспроизведения видео."}},"window":{"removeMinimumSize":{"name":"Удалить минимальные размеры","note":"Удаляет минимальный размер окна Discord\'а 940x500"},"name":"Настройки окна","transparency":{"name":"Включить прозрачность","note":"Делает основное окно прозрачным (нужна перезагрузка)"},"frame":{"name":"Шапка окна","note":"Добавляет встроенную шапку окна системы к основному окну"}},"addons":{"name":"Менеджер дополнений","addonErrors":{"name":"Показывать ошибки расширений","note":"Скрывает модальные окна с ошибками плагина/темы"},"editAction":{"name":"Действие редактирования","note":"Появляются при редактировании, где плагины или темы","options":{"detached":"Отдельное окно","system":"Системный редактор"}}},"customcss":{"name":"Быстрый CSS","customcss":{"name":"Быстрый CSS","note":"Включить кнопку быстрого CSS"},"liveUpdate":{"name":"Обновление в прямом эфире","note":"Обновляет ваш CSS, когда вы пишите"},"startDetached":{"name":"Открыть отдельно","note":"При нажатии на вкладку Быстрый CSS редактор открывается в отдельном окне"},"nativeOpen":{"name":"Открыть во встроенном редакторе","note":"Нажатие по вкладке Быстрый CSS открывает ваш быстрый CSS в вашем встроенном редакторе"},"openAction":{"name":"Положение редактора","note":"Где ваш Быстрый CSS должен быть открыт по умолчанию","options":{"settings":"Настройки меню","detached":"Отдельное окно","system":"Системный редактор"}}},"developer":{"name":"Настройки разработчика","debuggerHotkey":{"name":"Горячая кнопка отладчика","note":"Активирует отладку при нажатии F8 при открытым меню разработчика"},"reactDevTools":{"name":"Инструменты React разработчика","note":"Внедряет вашу локальную установку React Developer Tools в Discord"},"inspectElement":{"name":"Горячая кнопка инспектора элементов","note":"Включает поведение комбинации клавиш инспектора элементов (ctrl + shift + c), как в большинстве браузеров"},"devToolsWarning":{"name":"Убрать предупреждение в консоли","note":"Останавливает отправку сообщения \\"Hold Up!\\""},"debugLogs":{"name":"Логировать ошибки","note":"Записывает весь вывод из консоли в файл debug.log в папке BetterDiscord"},"devTools":{"name":"Меню разработчика","note":"Включает возможность открыть меню разработчика при нажатии ctrl+shift+i"}},"editor":{"name":"Редактор настроек","lineNumbers":{"name":"Номер строк","note":"Включить показатель строк в стороне редактора"},"fontSize":{"name":"Размер шрифта","note":"Размер шрифта (в пикселях) в редакторе"},"minimap":{"name":"Мини карта","note":"Включает показ кода в мини карте в стороне редактора"},"hover":{"name":"Справочные подсказки","note":"Включает показ справочных подсказок при наведении мыши над правилами и переключателями"},"quickSuggestions":{"name":"Предложения","note":"Включает видимость авто-заполнения предложений при печати"},"renderWhitespace":{"name":"Показывать пробелы","note":"Когда пробел должен быть показан редактором","options":{"all":"Всегда","none":"Никогда","selection":"Выбор"}}}}},"Addons":{"title":"{{name}} v{{version}} от {{author}}","byline":"от {{author}}","openFolder":"Открыть папку {{type}}","reload":"Перезагрузить","addonSettings":"Настройки","website":"Сайт","source":"Источник","invite":"Сервер поддержки","donate":"Донат","patreon":"Patreon","name":"Имя","author":"Автор","version":"Версия","added":"Дата добавления","modified":"Дата изменения","search":"Искать {{type}}","editAddon":"Редактировать","deleteAddon":"Удалить","confirmDelete":"Вы уверены, что хотите удалить {{name}}?","confirmationText":"У вас есть несохраненные изменения в {{name}}. При закрытии этого окна все изменения будут потеряны.","enabled":"{{name}} включён.","disabled":"{{name}} выключен.","couldNotEnable":"{{name}} не может быть включён.","couldNotDisable":"{{name}} не может быть отключён.","couldNotStart":"{{name}} не может быть запущен.","couldNotStop":"{{name}} не может быть остановлен.","settingsError":"Не удалось открыть настройки для {{name}}","methodError":"{{method}} не может быть уволен.","unknownAuthor":"Неизвестный автор","noDescription":"Нету описания.","alreadyExists":"{{type}} уже существует с именем {{name}}","alreadWatching":"Уже слежу за дополнениями.","metaError":"Не удалось проанализировать метаданные.","missingNameData":"В метаданных отсутствуют данные об имени.","metaNotFound":"Метаданные не найдены.","compileError":"Не удалось скомпилировать. Посмотрите в консоле для дополнительной информации.","wasUnloaded":"{{name}} был выгружен.","blankSlateHeader":"У вас нету {{type}}","blankSlateMessage":"Возьмите что-то с [этого сайта]({{link}}) и добавьте их в свою папку {{type}}.","isEnabled":"Включено","wasLoaded":"{{name}} v{{version}} был загружен."},"CustomCSS":{"confirmationText":"У вас есть не сохраненные изменения в быстром CSS. При закрытии этого окна все изменения будут потеряны.","update":"Обновить","save":"Сохранить","openNative":"Открыть в системном редакторе","openDetached":"Отдельное окно","settings":"Настройки редактора","editorTitle":"Редактор быстрого CSS"},"Modals":{"confirmAction":"Ты уверен?","okay":"Ок","done":"Готово","cancel":"Отмена","nevermind":"Забей","close":"Закрыть","name":"Имя","message":"Сообщение","error":"Ошибка","addonErrors":"Ошибки расширений","restartRequired":"Требуется перезагрузка","restartNow":"Перезагрузить сейчас","restartLater":"Перезагрузить позже","additionalInfo":"Дополнительная информация","restartPrompt":"Чтобы изменения вступили в силу, необходимо перезапустить Discord. Перезапустить сейчас?"},"ReactDevTools":{"notFound":"Расширение не найдено","notFoundDetails":"Не удалось найти расширение React Developer Tools на вашем ПК. Пожалуйста, установите расширение в локальную установку Chrome."},"Sorting":{"sortBy":"Сортировать по","order":"Порядок","ascending":"По возрастанию","descending":"По убыванию"},"WindowPrefs":{"enabledInfo":"Для правильной работы этой опции требуется прозрачная тема. В Windows это может нарушить вашу aero snapping и максимизацию.\\n\\n\\n\\nЧтобы изменения вступили в силу, необходимо перезапустить Discord. Вы хотите перезапустить сейчас?","disabledInfo":"Чтобы изменения вступили в силу, необходимо перезапустить Discord. Вы хотите перезапустить сейчас?"},"Notices":{"moreInfo":"Дополнительная информация"},"Updater":{"updateFailed":"Ошибка обновления","updateFailedMessage":"Не удалось обновить BetterDiscord. Пожалуйста скачайте последнюю версию загрузчика с нашего сайта (https://betterdiscord.app/) и переустановите программу.","updateSuccessful":"Обновление успешно!","updateAvailable":"BetterDiscord имеет обновление (v{{version}})","addonUpdatesAvailable":"BetterDiscord нашел обновления для {{count}} ваших {{type}}!","addonUpdated":"{{name}} был обновлен до версии {{version}}","checking":"Проверить обновления!","finishedChecking":"Проверка обновлений завершена!","checkForUpdates":"Проверить обновления!","updateAll":"Обновить всё!","noUpdatesAvailable":"Нету доступных обновлений.","versionAvailable":"Версия {{version}} доступна!","upToDateBlankslate":"Все {{type}} обновлены.","updateButton":"Обновить!"}}')},910:e=>{"use strict";e.exports=JSON.parse('{"Panels":{"plugins":"Pluginy","themes":"Témy","customcss":"Custom CSS"},"Collections":{"settings":{"name":"Nastavenia","general":{"name":"Základné","voiceDisconnect":{"name":"Odpojenie hovoru","note":"Odpojiť z hovoru pri vypnutí Discordu"},"showToasts":{"name":"Zobraziť toasty","note":"Zobraziť notifikáciu pre dôležité info"},"mediaKeys":{"name":"Zakázať Média tlačidlá","note":"Zabráni Discordu prevziať kontrolu nad média tlačidlami po prehratí videa."}},"window":{"removeMinimumSize":{"name":"Zrušiť minimálnu velkosť","note":"Zruší minimálnu veľkosť Discord okna 940x500"},"name":"Vlastnosti Okna","transparency":{"name":"Povoliť priehľadnosť","note":"Povolí, aby bolo hlavné okno priehľadné (potrebný reštart)"},"frame":{"name":"Rám okna","note":"Pridá klasický OS rám pre hlavné okno"}},"addons":{"name":"Manažér doplnkov","addonErrors":{"name":"Zobraziť chyby doplnkov","note":"Zobrazí panel s chybou pluginu alebo témy"},"editAction":{"name":"Úprava akcie","note":"Kde sa pluginy a témy zobrazia pri editovaní","options":{"detached":"Oddelené okno","system":"Systémový editor"}}},"customcss":{"name":"Custom CSS","customcss":{"name":"Custom CSS","note":"Aktivuje kartu \\"Custom CSS\\""},"liveUpdate":{"name":"Živý update","note":"Aktualizuje css pri zmene"},"startDetached":{"name":"Spustiť oddelené","note":"Kliknutie na kartu Custom CSS ju otvori v oddelenom okne"},"nativeOpen":{"name":"Otvoriť v natívnom editore","note":"Kliknutie na kartu Custom CSS ju otvori v natívnom editore"},"openAction":{"name":"Cesta editora","note":"Predvolený spôsob otvorenia Custom CSS","options":{"settings":"Menu nastavení","detached":"Oddelené okno","system":"Systémový editor"}}},"developer":{"name":"Vývojarske nastavenia","debuggerHotkey":{"name":"Klávesová skratka Debuggera","note":"Povolí spustenie debuggera pri stlačení F8"},"reactDevTools":{"name":"React Developer Tools","note":"Pridá inštaláciu React Developer Tools do Discordu"},"inspectElement":{"name":"Klávesová skratka Inspect Element","note":"Povolí klávesovú skratku Inspect Element (ctrl + shift + c) ako pre bežné prehliadače"},"devToolsWarning":{"name":"Vypnúť DevTools Upozornenia","note":"Vypne \\"Hold Up!\\" upozornenie od Discordu v konzole"},"debugLogs":{"name":"Výpis ladenia","note":"Zapíše všetko z konzole do súboru debug.log v BetterDiscord zložke"}}}},"Addons":{"title":"{{name}} v{{version}} od {{author}}","byline":"od {{author}}","openFolder":"Otvoriť {{type}} Zložku","reload":"Znova načítať","addonSettings":"Nastavenia","website":"Stránka","source":"Zdroj","invite":"Server podpory","donate":"Prispieť","patreon":"Patreon","name":"Meno","author":"Autor","version":"Verzia","added":"Dátum pridania","modified":"Dátum zmeny","search":"Hľadať {{type}}","editAddon":"Upraviť","deleteAddon":"Zmazať","confirmDelete":"Ste si istý, že chcete zmazať {{name}}?","confirmationText":"Máte neuložené zmeny pre {{name}}. Zatvorením tohto okna stratíte všetky zmeny.","enabled":"{{name}} bol aktivovaný.","disabled":"{{name}} bol deaktivovaný.","couldNotEnable":"{{name}} nebolo možné aktivovať.","couldNotDisable":"{{name}} nebolo možné deaktivovať.","couldNotStart":"{{name}} nebolo možné spustiť.","couldNotStop":"{{name}} nebolo možné zastaviť.","settingsError":"Nie je možné otvoriť nastavenia pre {{name}}","methodError":"{{method}} nemohla byť vykonaná.","unknownAuthor":"Neznámy Autor","noDescription":"Bez popisu.","alreadyExists":"{{type}} s menom {{name}} už existuje","alreadWatching":"Doplnky sa už sledujú.","metaError":"META sa nepodarila načítať.","missingNameData":"META chýbajúce dáta názvu.","metaNotFound":"META nebola nájedná.","compileError":"Nepodarilo sa zostaviť.","wasUnloaded":"{{name}} bol odpojený.","blankSlateHeader":"Nenachádza sa žiadny/žiadna {{type}}!","blankSlateMessage":"Nájdi nejaké na [tejto stránke]({{link}}) a pridaj ich do zložky pre {{type}}."},"CustomCSS":{"confirmationText":"Máte neuložené zmeny pre Custom CSS. Zatvorením tohto okna stratíte všetky zmeny.","update":"Aktualizovať","save":"Uložiť","openNative":"Otvoriť v Systémovom Editore","openDetached":"Oddeliť Okno","settings":"Nastavenia Editora","editorTitle":"Custom CSS Editor"},"Modals":{"confirmAction":"Ste si istý?","okay":"Ok","done":"Dokončiť","cancel":"Zrušiť","nevermind":"Radšej nie","close":"Zavrieť","name":"Meno","message":"Správa","error":"Chyba","addonErrors":"Chyby Doplnkov","restartRequired":"Potrebný Reštart","restartNow":"Reštartovať Teraz","restartLater":"Reštartovať Neskôr","additionalInfo":"Ďalšie Info","restartPrompt":"Pre aplikáciu zmien je potrebné reštartovať Discord. Chcete reštartovať teraz?"},"ReactDevTools":{"notFound":"Rozšírenie sa nenašlo","notFoundDetails":"Nebolo možné nájsť rozšírenie React Developer Tools na vašom PC. Prosím nainštalujte rozšírenie vo vašom prehliadači Chrome."},"Sorting":{"sortBy":"Triediť podľa","order":"Poradie","ascending":"Vzostupne","descending":"Zostupne"},"WindowPrefs":{"enabledInfo":"Táto možnosť si vyžaduje priehľadnú tému, aby správne fungovala. V systéme Windows to môže spôsobiť prerušenie a maximalizáciu vášho aero.\\n\\nNa to, aby sa prejavila účinnosť, je potrebné reštartovať Discord. Chcete reštartovať teraz?","disabledInfo":"Pre aplikáciu zmien je potrebné reštartovať Discord. Chcete reštartovať teraz?"}}')},1592:e=>{"use strict";e.exports=JSON.parse('{"Panels":{"plugins":"Tillägg","themes":"Teman","customcss":"Egen CSS","updates":"Uppdateringar"},"Collections":{"settings":{"name":"Inställningar","general":{"name":"Allmänt","voiceDisconnect":{"name":"Lämna röstsamtal","note":"Lämna röstsamtal när Discord stängs ner"},"showToasts":{"name":"Visa Toasts","note":"Visar en liten notifikation för viktig information"},"mediaKeys":{"name":"Inaktivera mediaknapparna","note":"Hindrar Discord från att ta över mediaknapparna efter att du har spelat upp en video."}},"window":{"removeMinimumSize":{"name":"Ta bort minimistorleken","note":"Tar bort Discords minimifönsterstorlek på 940x500"},"name":"Fönsterinställningar","transparency":{"name":"Aktivera Genomskinlighet","note":"Gör att huvudfönstret blir genomskinligt (kräver omstart)"},"frame":{"name":"Fönsterram","note":"Lägger till operativsystemets standard fönsterram runt huvudfönstret"}},"addons":{"name":"Tilläggshanterare","addonErrors":{"name":"Visa tilläggsfel","note":"Visar en modalruta med tillägg- och temafel"}},"customcss":{"name":"Egen CSS","customcss":{"name":"Egen CSS","note":"Aktiverar \\"Egen CSS\\"-fliken"},"liveUpdate":{"name":"Uppdatera Direkt","note":"Uppdaterar css allteftersom du skriver"},"startDetached":{"name":"Starta Frånkopplad","note":"Öppnar CSS-redigeraren i ett separat fönster när \\"Egen CSS\\"-fliken klickas"},"nativeOpen":{"name":"Öppna I Standardredigerare","note":"Öppnar CSS filen i operativsystemets standardredigerare när \\"Egen CSS\\"-fliken klickas"}},"developer":{"name":"Utvecklarinställningar","devToolsWarning":{"name":"Stäng av utvecklarverktygsvarningar","note":"Hindrar Discord från att skriva ut sitt \\"Vänta!\\"-meddelande"},"debugLogs":{"name":"Felsökningsloggar","note":"Allt från konsolen hamnar i filen debug.log i BetterDiscord mappen"},"devTools":{"name":"Utvecklarverktyg"}},"editor":{"lineNumbers":{"name":"Radnummer","note":"Visar radnummer i marginalen i redigeringsfönstret"},"fontSize":{"name":"Teckenstorlek","note":"Storlek på typsnittet som används i redigeringsfönstret"},"quickSuggestions":{"name":"Snabbförslag","note":"Aktiverar autokompletteringsförslag när du skriver"},"renderWhitespace":{"name":"Visa blanksteg","note":"När blanksteg ska markeras i redigeringsfönstret","options":{"all":"Alltid","none":"Aldrig"}}}}},"Addons":{"title":"{{name}} v{{version}} av {{author}}","byline":"av {{author}}","openFolder":"Öppna mappen för {{type}}","reload":"Ladda om","addonSettings":"Inställningar","website":"Webbplats","source":"Källa","invite":"Supportserver","donate":"Donera","patreon":"Patreon","name":"Namn","author":"Upphovsman","version":"Version","added":"Tilläggsdatum","modified":"Ändringsdatum","search":"Sök efter {{type}}","editAddon":"Redigera","deleteAddon":"Ta bort","confirmDelete":"Är du säker på att du vill ta bort {{name}}?","enabled":"{{name}} har aktiverats.","disabled":"{{name}} har inaktiverats.","couldNotEnable":"{{name}} kunde inte aktiverats.","couldNotDisable":"{{name}} kunde inte inaktiverats.","couldNotStart":"{{name}} kunde inte startas.","couldNotStop":"{{name}} kunde inte stoppas.","settingsError":"Kunde inte öppna inställningarna för {{namn}}","unknownAuthor":"Okänd upphovsman","noDescription":"Beskrivning saknas.","compileError":"Kunde inte kompileras. Se konsolen för mer information.","isEnabled":"Aktiverad","listView":"Listvy","gridView":"Rutnätsvy"},"CustomCSS":{"confirmationText":"Du har osparade ändringar av egna CSS:en. Alla ändringar kommer försvinna om du stänger det här fönstret","update":"Uppdatera","save":"Spara","openNative":"Öppna I Standardredigerare","openDetached":"Koppla Loss Fönster","settings":"Inställningar för redigerare","editorTitle":"Egen CSS-redigerare"},"Modals":{"confirmAction":"Är du säker?","okay":"Okej","cancel":"Avbryt","nevermind":"Avbryt","close":"Stäng","name":"Namn","message":"Meddelande","error":"Fel","addonErrors":"Tilläggsfel","restartRequired":"Omstart krävs","restartNow":"Starta om nu","restartLater":"Starta om senare","restartPrompt":"För att ändringarna ska träda i kraft måste Discord startas om. Vill du starta om nu?"},"Sorting":{"sortBy":"Sortera efter","order":"Ordning","ascending":"Stigande","descending":"Fallande"},"Updater":{"updateFailed":"Uppdateringen misslyckades!","updateFailedMessage":"BetterDiscord kunde inte uppdateras. Ladda ned den senaste versionen av installationsprogrammet från vår webbplats (https://betterdiscord.app/) och installera om BetterDiscord.","updateSuccessful":"Uppdateringen lyckades!","checking":"Söker efter uppdateringar!","finishedChecking":"Sökningen efter uppdateringar är slutförd!","checkForUpdates":"Sök efter uppdateringar!","updateAll":"Uppdatera alla!","noUpdatesAvailable":"Det finns inga uppdateringar tillgängliga.","upToDateBlankslate":"Alla dina {{type}} verkar vara uppdaterade!","updateButton":"Uppdatera!"}}')},6400:e=>{"use strict";e.exports={}},3162:e=>{"use strict";e.exports=JSON.parse('{"Panels":{"plugins":"Eklentiler","themes":"Temalar","customcss":"Özel CSS"},"Collections":{"settings":{"name":"Ayarlar","general":{"name":"Genel","voiceDisconnect":{"name":"Ses Kanalından Ayrılma","note":"Discord\'u kapatırken aktif ses kanalından ayrılır"},"showToasts":{"name":"Bildirimleri Göster","note":"Önemli bilgilendirmeler için küçük bir bidirim gösterir"},"mediaKeys":{"name":"Medya Tuşlarını Deaktive Et","note":"Bir video oynattıktan sonra Discord\'un Multimedya tuşlarını ele geçirmesini engeller."}},"window":{"removeMinimumSize":{"name":"Minimum boyutu kaldır","note":"Discord\'un 940x500 boyut limitini kaldırır"},"name":"Pencere Tercihleri","transparency":{"name":"Şeffaflığı Etkinleştir","note":"Ana pencerenin şeffaf olmasına el verir (yeniden başlatma gerekli)"},"frame":{"name":"Pencere Çerçevesi","note":"Yerel işletim sistemi penceresini ana pencereye ekler"}},"addons":{"name":"Eklenti Yöneticisi","addonErrors":{"name":"Eklenti Hatalarını Göster","note":"Eklenti/tema hatalarında yazı baloncuğu gösterir"},"editAction":{"name":"Eylemi düzenle","note":"Eklenti ve temaları düzenlerken çıkacakları yer","options":{"detached":"Bağımsız Pencere","system":"Sistem Düzenleyici"}}},"customcss":{"name":"Özel CSS","customcss":{"name":"Özel CSS","note":"Özel CSS sekmesini aktifleştirir"},"liveUpdate":{"name":"Canlı Güncelleme","note":"Yazdıkca CSS\'i günceller"},"startDetached":{"name":"Bağımsız Başlat","note":"Özel CSS sekme tuşuna basınca bağımsız sekmede açar"},"nativeOpen":{"name":"Seçili editör\'de aç","note":"Özel CSS sekme tuşuna basınca seçili yazı editörünüzde açar"},"openAction":{"name":"Editör Yeri","note":"Özel CSS\'in varsayılan açılma yeri","options":{"settings":"Ayarlar Menüsü","detached":"Bağımsız Pencere","system":"Sistem Editörü"}}},"developer":{"name":"Geliştirici (Developer) Ayarları","debuggerHotkey":{"name":"Hata ayıklayıcı kısayolu","note":"F8\'e basınca hata ayıklayıcının açılmasını sağlar"},"reactDevTools":{"name":"React Geliştirici Araçları","note":"Yerli React Geliştirici araçlarınızı Discord\'a ekler"},"inspectElement":{"name":"Öğeyi Denetle Kısayolu","note":"Çoğu tarayıca yaygın olan (ctrl + shift + c) Öğeyi Denetle kısayolunu etkinleştirir"},"devToolsWarning":{"name":"DevTools uyarısını kapat","note":"Discord\'un \\"Bekle!\\" mesajını yazmasını engeller"},"debugLogs":{"name":"Hata Ayıklama çıktıları","note":"Konsoldaki herşeyi BetterDiscord klasöründeki debug.log dosyasına kaydeder"}}}},"Addons":{"title":"{{author}} tarafından {{name}} v{{version}}","byline":"{{author}} tarafından","openFolder":"{{type}} Dosyasını Aç","reload":"Yeniden-Başlat","addonSettings":"Ayarlar","website":"Website","source":"Kaynak","invite":"Destek Sunucusu","donate":"Bağış","patreon":"Patreon","name":"İsim","author":"Yapımcı","version":"Versiyon","added":"Eklenim Tarihi","modified":"Düzenlenme Tarihi","search":"{{type}} ara","editAddon":"Düzenle","deleteAddon":"Sil","confirmDelete":"{{name}} eklentisini silmek istediğinize emin misiniz?","confirmationText":"{{name}} eklentisinde kaydedilmemiş değişiklikler var. Bu pencereyi kapatmak değişikliklerin kaybolmasına yol açar.","enabled":"{{name}} başlatıldı.","disabled":"{{name}} kapatıldı.","couldNotEnable":"{{name}} başlatılamadı.","couldNotDisable":"{{name}} kapatılamadı.","couldNotStart":"{{name}} başlatılamadı.","couldNotStop":"{{name}} durdurulamadı.","settingsError":"{{name}} için ayarlar açılamadı.","methodError":"{{method}} çalıştırılamadı.","unknownAuthor":"Bilinmeyen Yapımcı","noDescription":"Açıklama Yok.","alreadyExists":"{{name}} isimli bir {{type}} zaten var","alreadWatching":"Eklentiler zaten izleniyor.","metaError":"META ayrıştırılamadı.","missingNameData":"META isim verisi yok.","metaNotFound":"META bulunamadı.","compileError":"Derlenemedi.","wasUnloaded":"{{name}} çıkarıldı.","blankSlateHeader":"Hiç {{type}}(a/e)arın yok!","blankSlateMessage":"[Bu siteden]({{link}}) al ve {{type}} klasörüne ekle."},"CustomCSS":{"confirmationText":"Özel CSS\'inde kaydedilmemiş değişimler var. Bu pencereyi kapatmak değişikliklerin kaybolmasına yol açar.","update":"Güncelle","save":"Kaydet","openNative":"Sistem Editöründe aç","openDetached":"Pencereyi Ayır","settings":"Editör Ayarları","editorTitle":"Özel CSS Editörü"},"Modals":{"confirmAction":"Emin Misin?","okay":"Tamam","done":"Bitti","cancel":"İptal","nevermind":"Boşver","close":"Kapat","name":"İsim","message":"Mesaj","error":"Hata","addonErrors":"Eklenti Hataları","restartRequired":"Yeniden Başlatma Lazım","restartNow":"Şimdi Yeniden Başlat","restartLater":"Sonra Yeniden Başlat","additionalInfo":"Ek Bilgi","restartPrompt":"Etki görmek için Discord\'un yeniden başlatılması gerek. Şimdi yeniden başlatmak ister misiniz?"},"ReactDevTools":{"notFound":"Eklenti Bulunamadı","notFoundDetails":"React Geliştirici Araçları bilgisayarınızda bulunamadı.\\nLütfen eklentiyi Chrome tarayıcınıza indiriniz."},"Sorting":{"sortBy":"Göre Sırala","order":"Sıra","ascending":"Yükselen","descending":"Azalan"},"WindowPrefs":{"enabledInfo":"Bu seçeneğin düzgün çalışması için şeffaf bir tema gerekiyor.\\nWindows\'da bu aero snapping ve maksimize etmeyi bozabilir.\\n\\nEtki etmesi için Discord\'un yeniden başlatılması gerek. Şimdi yeniden başlatmak ister misiniz?","disabledInfo":"Etki etmesi için Discord\'un yeniden başlatılması gerek. Şimdi yeniden başlatmak ister misiniz?"}}')},2880:e=>{"use strict";e.exports=JSON.parse('{"Panels":{"plugins":"Плагіни","themes":"Теми","customcss":"Самописні CSS"},"Collections":{"settings":{"name":"Налаштування","general":{"name":"Основні","voiceDisconnect":{"name":"Голосовий чат під час закриття","note":"Відключатися від голосового сервера під час закриття Discord"},"showToasts":{"name":"Показувати сповіщення","note":"Показувати маленькі повідомлення з важливою інформацією"},"mediaKeys":{"name":"Вимкнути медіаключі","note":"Не захоплювати медіаключі Discord після відтворення відео"}},"window":{"removeMinimumSize":{"name":"Прибрати мінімальний розмір","note":"Прибирає примусовий мінімальний розмір вікна 940x500"},"name":"Налаштування вікна","transparency":{"name":"Увімкнути прозорість","note":"Дозволяє бачити головне вікно (потрібний перезапуск)"},"frame":{"name":"Рамка","note":"Додає вбудовану рамку ОС для головного вікна"}},"addons":{"name":"Керування плагінами","addonErrors":{"name":"Показувати помилки плагінів","note":"Показувати спливні вікна з помилками плагінів і тем."},"editAction":{"name":"Відображення редактора","note":"Де відображати редактор плагінів і тем","options":{"detached":"В окремому вікні","system":"У системному редакторі"}}},"customcss":{"name":"Самописні CSS","customcss":{"name":"Редактор самописних CSS","note":"Увімкнути вкладку зі стилями користувача"},"liveUpdate":{"name":"Оновлення наживо","note":"Оновлювати стиль у режимі реального часу в міру редагування"},"startDetached":{"name":"Редактор в окремому вікні","note":"Тиць по вкладці \'Самописні CSS\' відкриє редактор в окремому вікні"},"nativeOpen":{"name":"Відкривати вбудований редактор","note":"Тиць по вкладці \'Самописні CSS\' відкриє самописний стиль у вбудованому редакторі"},"openAction":{"name":"Розташування редактора","note":"Де самописний стиль повинен відкриватися за замовчуванням?","options":{"settings":"У меню налаштувань","detached":"В окремому вікні","system":"У системному редакторі"}}},"developer":{"name":"Налаштування розробника","debuggerHotkey":{"name":"Гаряча клавіша налагоджувача","note":"Дозволяє активувати налагоджувач при натисканні клавіші F8"},"reactDevTools":{"name":"Інструменти розробника React","note":"Вводить твою локальну установку інструментів розробника React у Discord"},"inspectElement":{"name":"Гаряча клавіша перевірки елементу","note":"Вмикає гарячу клавішу перевірки елементу (ctrl+shift+c), яка використовується у більшості браузерів"},"devToolsWarning":{"name":"Зупинити попередження","note":"Не виводити попередження \\"Почекай!\\" (\\"Стій-но!\\")"},"debugLogs":{"name":"Налагоджувальні журнали","note":"Виводить все з консолі у файл debug.log в теці BetterDiscord"}}}},"Addons":{"title":"{{name}} у{{version}} від {{author}}","byline":"{{author}}","openFolder":"Відкрити теку {{type}}","reload":"Перезавантажити","addonSettings":"Налаштування","website":"Сайт","source":"Вихідний код","invite":"Сервер підтримки","donate":"Пожертвувати","patreon":"Патреон","name":"Ім\'ям","author":"Автором","version":"Версією","added":"Датою додавання","modified":"Датою оновлення","search":"Шукати {{type}}","editAddon":"Редагувати","deleteAddon":"Вилучити","confirmDelete":"Ти впевнений, що хочеш вилучити {{name}}?","confirmationText":"У вас є незбережені зміни в {{name}}. Закриття цього вікна призведе до їх втрати.","enabled":"{{name}} увімкнено.","disabled":"{{name}} вимкнено.","couldNotEnable":"Не вдалося увімкнути {{name}}.","couldNotDisable":"Не вдалося вимкнути {{name}}.","couldNotStart":"Не вдалося запустити {{name}}","couldNotStop":"Не вдалося зупинити {{name}}","settingsError":"Не вдалося відкрити налаштування {{name}}","methodError":"Не вдалося викликати {{method}}","unknownAuthor":"Автор невідомий","noDescription":"Опис не надано.","alreadyExists":"{{type}} з назвою {{name}} вже існує","alreadWatching":"Вже переглядаю доповнення","metaError":"META не може бути проаналізована","missingNameData":"Відсутні META-дані імен","metaNotFound":"META не знайдена.","compileError":"Не вдалося скомпілювати.","wasUnloaded":"{{name}} вивантажено","blankSlateHeader":"У вас немає жодних {{type}}!","blankSlateMessage":"Візьми деякі з [цього сайту]({{link}}) і додай їх у теку свого {{type}}."},"CustomCSS":{"confirmationText":"У тебе є незбережені зміни у самописному CSS. Закриття цього вікна призведе до їх втрати.","update":"Оновити","save":"Зберегти","openNative":"Відкрити в системному редакторі","openDetached":"Відкрити у вбудованому вікні","settings":"Налаштування редактора","editorTitle":"Самописний редактор стилів"},"Modals":{"confirmAction":"Ти впевнений?","okay":"Так","done":"Готово","cancel":"Скасувати","nevermind":"Не звертати уваги","close":"Закрити","name":"Ім\'я","message":"Повідомлення","error":"Помилка","addonErrors":"Помилка доповнення","restartRequired":"Потрібний перезапуск","restartNow":"Перезапустити зараз","restartLater":"Перезапустити пізніше","additionalInfo":"Додаткова інформація","restartPrompt":"Щоб зміни набрали чинності, потрібно перезапустити Discord. Бажаєш зробити це зараз?"},"ReactDevTools":{"notFound":"Розширення не знайдено","notFoundDetails":"Не вдалося знайти розширення інструментів розробника React на твоєму комп\'ютері. Будь ласка, встанови розширення локально через Chrome."},"Sorting":{"sortBy":"Сортувати за","order":"За порядком","ascending":"Зростання","descending":"Спадання"},"WindowPrefs":{"enabledInfo":"Для правильної роботи цієї опції потрібна прозора тема. У Windows це може призвести до порушення прив\'язки та максимізації Aero.\\n\\nЩоб зміни набули чинності, необхідно перезапустити Discord. Бажаєш зробити це зараз?","disabledInfo":"Щоб зміни набули чинності, необхідно перезапустити Discord. Бажаєш зробити це зараз?"}}')},4401:e=>{"use strict";e.exports=JSON.parse('{"Panels":{"plugins":"Tiện ích","themes":"Chủ đề","customcss":"CSS Tùy Chỉnh","updates":"Cập nhật"},"Collections":{"settings":{"name":"Cài đặt","general":{"name":"Chung","voiceDisconnect":{"name":"Ngắt Kết Nối Kênh Đàm Thoại","note":"Ngắt kết nối kênh đàm thoại khi đóng Discord"},"showToasts":{"name":"HIển Thị Thông Báo","note":"Hiển thị một thông báo nhỏ cho những thông tin quan trọng"},"mediaKeys":{"name":"Vô Hiệu Hóa Phím Điều Khiển Phương Tiện","note":"Ngăn Discord kiểm soát phím điều khiển phương tiện sau khi xem video."}},"window":{"removeMinimumSize":{"name":"Xóa Kích Thước Tối Thiểu","note":"Xóa kích thước tối thiểu của Discord (940x500)"},"name":"Cài Đặt Cửa Sổ","transparency":{"name":"Bật Cửa Sổ Trong Suốt","note":"Cho phép cửa sổ Discord nhìn xuyên thấu (cần khởi động lại)"},"frame":{"name":"Khung Cửa Sổ","note":"Cho phép khung cửa sổ của hệ thống vào cửa sổ Discord"}},"addons":{"name":"Quản Lý Tiện Ích","addonErrors":{"name":"Hiển Thị Lỗi Tiện Ích","note":"Hiển thị thông báo với những tiện ích/chủ đề lỗi"},"editAction":{"name":"Nơi Chỉnh Sửa","note":"Nơi trình chỉnh sửa tiện ích và chủ đề hiển thị khi sửa","options":{"detached":"Cửa Sổ Tách Rời","system":"Trình Chỉnh Sửa"}}},"customcss":{"name":"CSS Tùy Chỉnh","customcss":{"name":"CSS Tùy Chỉnh","note":"Bật tab CSS Tùy Chỉnh"},"liveUpdate":{"name":"Cập Nhật Trực Tiếp","note":"Cập nhật CSS khi bạn đang gõ"},"startDetached":{"name":"Tách Rời Cửa Số","note":"Bấm vào tab CSS Tùy Chỉnh sẽ mở trình chỉnh sửa ở cửa sổ riêng"},"nativeOpen":{"name":"Mở trong Trình Chỉnh Sửa của bạn","note":"Bấm vào tab CSS Tùy Chỉnh sẽ mở trình chỉnh sửa của bạn"},"openAction":{"name":"Vị trí Trình Chỉnh Sửa","note":"Nơi CSS Tùy Chỉnh sẽ được mở mặc định","options":{"settings":"Menu Cài Đặt","detached":"Cửa Sổ Riêng","system":"Trình Chỉnh Sửa"}}},"developer":{"name":"Cài đặt Nhà Phát Triển","debuggerHotkey":{"name":"Phím tắt Trình Gỡ Lỗi","note":"Cho phép kích hoạt trình gỡ lỗi bằng cách nhấn F8 với DevTools mở"},"reactDevTools":{"name":"React Developer Tools","note":"Thêm cài đặt của React Developer Tools vào Discord"},"inspectElement":{"name":"Phím tắt Kiểm tra Thành Phần","note":"Kích hoạt phím tắt Kiểm tra Thành Phần (Ctrl + Shift + C) tương tự như trong hầu hết trình duyệt"},"devToolsWarning":{"name":"Tắt Cảnh Báo DevTools","note":"Ngăn Discord hiển thị thông báo \\"Chờ Đã!\\""},"debugLogs":{"name":"Lưu Nhật Ký Gỡ Lỗi","note":"Lưu mọi thứ được hiển thị ở Console vào tệp debug.log trong thư mục BetterDiscord"},"devTools":{"name":"DevTools","note":"Kích hoạt DevTools bằng tổ hợp Ctrl + Shift + i"}},"editor":{"name":"Cài đặt Trình Chỉnh Sửa","lineNumbers":{"name":"Số Dòng","note":"Hiển thị số dòng ở cạnh của trình chỉnh sửa"},"fontSize":{"name":"Kích Thước Phông Chữ","note":"Kích thước phông chữ (pt) được sử dụng trong trình chỉnh sửa"},"minimap":{"name":"Minimap","note":"Hiển thị Minimap ở cạnh của trình chỉnh sửa"},"hover":{"name":"Chú Giải","note":"Hiển thị chú giải khi di chuột vào những lựa chọn"},"quickSuggestions":{"name":"Đề Xuất Nhanh","note":"Hiển thị những đề xuất tự hoàn thành khi bạn gõ"},"renderWhitespace":{"name":"Hiển Thị Khoảng Trắng","note":"Khi nào khoảng trắng sẽ được hiển thị trong trình chỉnh sửa","options":{"all":"Luôn luôn","none":"Không bao giờ","selection":"Tùy chọn"}}}}},"Addons":{"title":"{{name}} v{{version}} bởi {{author}}","byline":"bởi {{author}}","openFolder":"Mở thư mục {{type}}","reload":"Tải lại","addonSettings":"Cài đặt","website":"Trang web","source":"Nguồn","invite":"Máy chủ hỗ trợ","donate":"Ủng hộ","patreon":"Patreon","name":"Tên","author":"Tác giả","version":"Phiên bản","added":"Ngày thêm","modified":"Ngày sửa đổi","search":"Tìm kiếm {{type}}","editAddon":"Chỉnh sửa","deleteAddon":"Xóa","confirmDelete":"Bạn chắc chắn muốn xóa {{name}}?","confirmationText":"Bạn có những thay đổi chưa lưu cho {{name}}. Đóng cửa sổ này sẽ xóa hết những thay đổi của bạn.","enabled":"{{name}} đã được kích hoạt.","disabled":"{{name}} đã được vô hiệu hóa.","couldNotEnable":"{{name}} không thể được kích hoạt.","couldNotDisable":"{{name}} không thể được vô hiệu hóa.","couldNotStart":"{{name}} không thể bắt đầu.","couldNotStop":"{{name}} không thể dừng lại.","settingsError":"Không thể mở cài đặt cho {{name}}","methodError":"{{method}} không thể được kích hoạt.","unknownAuthor":"Tác giả không xác định","noDescription":"Không có miêu tả.","alreadyExists":"Đã có {{type}} với tên {{name}} rồi!","alreadWatching":"Đã đang xem tiện ích.","metaError":"Không thể phân tích META.","missingNameData":"Thiếu dữ liệu tên META.","metaNotFound":"Không thể tìm thấy META.","compileError":"Không thể biên dịch. Vui lòng kiểm tra Console để biết thêm chi tiết.","wasUnloaded":"{{name}} đã được gỡ.","blankSlateHeader":"Bạn không có {{type}}!","blankSlateMessage":"Lấy một số ở [trang web]({{link}}) và thêm vào thư mục {{type}}.","isEnabled":"Đã kích hoạt","wasLoaded":"{{name}} v{{version}} đã được thêm.","listView":"Dạng Danh Sách","gridView":"Dạng Ô"},"CustomCSS":{"confirmationText":"Bạn có những thay đổi chưa lưu cho CSS Tùy Chỉnh của bạn. Đóng cửa sổ này sẽ xóa hết những thay đổi của bạn.","update":"Cập nhật","save":"Lưu","openNative":"Mở trong Trình Chỉnh Sửa","openDetached":"Cửa Sổ Riêng","settings":"Cài đặt Trình Chỉnh Sửa","editorTitle":"Trình Chỉnh Sửa CSS Tùy Chỉnh"},"Modals":{"confirmAction":"Bạn chắc chắn chứ?","okay":"OK","done":"Xong","cancel":"Hủy bỏ","nevermind":"Không bận tâm","close":"Đóng","name":"Tên","message":"Tin nhắn","error":"Lỗi","addonErrors":"Lỗi Tiện Ích","restartRequired":"Cần Khởi Động Lại","restartNow":"Khởi Động Lại Bây Giờ","restartLater":"Khởi Động Lại Sau","additionalInfo":"Thông Tin Bổ Sung","restartPrompt":"Để có hiệu lực, Discord cần phải được khởi động lại. Bạn có muốn khởi động lại ngay bây giờ?","changelog":"Nhật ký thay đổi"},"ReactDevTools":{"notFound":"Không Thể Tìm Thấy Tiện Ích","notFoundDetails":"Không thể tìm thấy tiện ích React Developer Tools trong máy bạn. Vui lòng cài đặt tiện ích trên Chrome."},"Sorting":{"sortBy":"Lọc Bởi","order":"Thứ tự","ascending":"Trên xuống dưới","descending":"Dưới lên trên"},"WindowPrefs":{"enabledInfo":"Lựa chọn này cần phải có một chủ đề trong suốt để có thể hoạt động đúng cách. Trên Windows, tính năng sắp xếp và thu phóng cửa số (Aero Snapping) và toàn cửa sổ có thể không hoạt động.\\n\\nĐể có hiệu lực, Discord cần phải được khởi động lại. Bạn có muốn khởi động lại ngay bây giờ?","disabledInfo":"Để có hiệu lực, Discord cần phải được khởi động lại. Bạn có muốn khởi động lại ngay bây giờ?"},"Notices":{"moreInfo":"Thông Tin Thêm"},"Updater":{"updateFailed":"Cập Nhật Thất Bại!","updateFailedMessage":"Không thể cập nhật BetterDiscord. Vui lòng tải trình cài đặt mới nhất ở trang web (https://betterdiscord.app/) và cài đặt lại.","updateSuccessful":"Cập Nhật Thành Công!","updateAvailable":"BetterDiscord có cập nhật mới (v{{version}})","addonUpdatesAvailable":"BetterDiscord đã phát hiện {{count}} cho {{type}} của bạn!","addonUpdated":"{{name}} đã được cập nhật lên phiên bản {{version}}!","checking":"Đang kiểm tra cập nhât...","finishedChecking":"Kiểm tra cập nhật thành công!","checkForUpdates":"Kiểm Tra Cập Nhật!","updateAll":"Cập Nhật Mọi Thứ!","noUpdatesAvailable":"Không có cập nhật mới.","versionAvailable":"Phiên bản {{version}} đã có sẵn!","upToDateBlankslate":"Tất cả {{type}} của bạn đều ở phiên bản mới nhất!","updateButton":"Cập nhật!"}}')},6928:e=>{"use strict";e.exports=JSON.parse('{"Panels":{"plugins":"插件","themes":"主题","customcss":"自定义样式"},"Collections":{"settings":{"name":"设置","general":{"name":"一般","voiceDisconnect":{"name":"自动断开语音","note":"自动在关闭 Discord 时断开语音"},"showToasts":{"name":"显示弹出提示","note":"在有重要信息时弹出小通知"},"mediaKeys":{"name":"禁用媒体控制键","note":"防止 Discord 在播放视频时劫持媒体控制键"}},"window":{"removeMinimumSize":{"name":"移除最小化限制","note":"移除 Discord 限制的最小窗口尺寸(940x500)"},"name":"窗口设置","transparency":{"name":"透明化","note":"允许主窗口透明(需要重启以生效)"},"frame":{"name":"窗口框","note":"向主窗口增加原生系统窗口框"}},"addons":{"name":"插件管理","addonErrors":{"name":"显示插件错误","note":"在插件/主题发生错误时显示弹窗"},"editAction":{"name":"编辑器","note":"在何处编辑插件及主题","options":{"detached":"独立窗口","system":"系统编辑器"}}},"customcss":{"name":"自定义样式","customcss":{"name":"自定义样式","note":"启用自定义样式选项卡"},"liveUpdate":{"name":"热更新","note":"自动在 CSS 修改时应用变更"},"startDetached":{"name":"在独立窗口中打开","note":"在独立窗口中编辑自定义样式"},"nativeOpen":{"name":"在系统编辑器中打开","note":"在系统编辑器中编辑自定义样式"},"openAction":{"name":"编辑器","note":"在何处编辑自定义样式","options":{"settings":"设置菜单","detached":"独立窗口","system":"系统编辑器"}}},"developer":{"name":"开发者设置","debuggerHotkey":{"name":"调试器快捷键","note":"按下 F8 时启动调试器"},"reactDevTools":{"name":"React 开发者工具","note":"向 Discord 注入 React 开发者工具"},"inspectElement":{"name":"元素审查快捷键","note":"启用在大多数浏览器中常用的元素审查快捷键(Ctrl + Shift + C)"},"devToolsWarning":{"name":"屏蔽开发者工具警告","note":"禁止 Discord 打印「Hold Up!」警告"},"debugLogs":{"name":"调试日志","note":"输出控制台中的所有信息到 BetterDiscord 文件夹下的 debug.log 文件"}}}},"Addons":{"title":"{{name}} 版本:{{version}} 作者:{{author}}","byline":"作者: {{author}}","openFolder":"打开{{type}}文件夹","reload":"重新加载","addonSettings":"设置","website":"网站","source":"源码","invite":"支持服务器","donate":"捐赠","patreon":"Patreon","name":"名称","author":"作者","version":"版本","added":"安装时间","modified":"最后更新时间","search":"搜索{{type}}","editAddon":"编辑","deleteAddon":"删除","confirmDelete":"你真的要删除{{name}}吗?","confirmationText":"你还有未保存的更改,关闭此窗口将失去所有对{{name}}所做的更改。","enabled":"已启用{{name}}","disabled":"已禁用{{name}}","couldNotEnable":"无法启用{{name}}。","couldNotDisable":"无法禁用{{name}}。","couldNotStart":"无法启动{{name}}。","couldNotStop":"无法停止{{name}}。","settingsError":"无法打开{{name}}设置","methodError":"无法调用{{method}}。","unknownAuthor":"未知的作者","noDescription":"作者没有留下任何描述","alreadyExists":"已经存在相同名称「{{name}}」的{{type}}了","alreadWatching":"已经在监听插件了","metaError":"无法解析元数据","missingNameData":"元数据缺少名称。","metaNotFound":"无法找到元数据","compileError":"无法编译。","wasUnloaded":"已卸载{{name}}。","blankSlateHeader":"你还添加任何{{type}}!","blankSlateMessage":"你可以在[此网站]({{link}})中获取,并将其添加到你的{{type}}文件夹中。"},"CustomCSS":{"confirmationText":"你还有未保存的更改,关闭此窗口将失去所有对自定义样式所做的更改。","update":"更新","save":"保存","openNative":"在系统编辑器中打开","openDetached":"在独立窗口中打开","settings":"编辑器设置","editorTitle":"自定义样式编辑器"},"Modals":{"confirmAction":"你确定吗?","okay":"确定","done":"完成","cancel":"取消","nevermind":"别在意","close":"关闭","name":"名称","message":"消息","error":"错误","addonErrors":"插件错误","restartRequired":"需要重启以生效","restartNow":"立即重启","restartLater":"稍候自行重启","additionalInfo":"额外信息","restartPrompt":"Discord 需要重新启动以应用最新变更。立刻进行重启吗?"},"ReactDevTools":{"notFound":"未找到扩展","notFoundDetails":"无法在你的电脑上找到 React 开发者工具扩展。请在本地的 Chrome 上安装该扩展。"},"Sorting":{"sortBy":"排序方式","order":"顺序","ascending":"正序","descending":"倒序"},"WindowPrefs":{"enabledInfo":"此选项需要透明主题才能正常工作。在 Windows 上,这可能会破坏 AERO 的捕捉和最大化。\\n\\n该变更需要重启以生效。您要立即进行重启吗?","disabledInfo":"Discord 需要重新启动以应用最新变更。立刻进行重启吗?"}}')},6248:e=>{"use strict";e.exports=JSON.parse('{"Panels":{"plugins":"擴充功能","themes":"佈景主題","customcss":"客製化 CSS","updates":"更新"},"Collections":{"settings":{"name":"設定","general":{"name":"一般","voiceDisconnect":{"name":"自動中斷語音連線","note":"自動在關閉 Discord 時中斷語音連線"},"showToasts":{"name":"顯示彈出提示","note":"在有重要通知時彈出提示"},"mediaKeys":{"name":"停用媒體控制鍵","note":"防止 Discord 在播放影片時劫持媒體控制鍵"}},"window":{"removeMinimumSize":{"name":"移除最小視窗尺寸限制","note":"移除 Discord 限制的最小視窗尺寸(940x500)"},"name":"視窗設定","transparency":{"name":"透明化","note":"啟用主視窗透明(需要重新啟動以生效)"},"frame":{"name":"視窗邊框","note":"向主視窗新增原版系統視窗邊框"}},"addons":{"name":"擴充功能管理員","addonErrors":{"name":"顯示擴充功能錯誤","note":"在擴充功能/佈景主題發生錯誤時顯示彈出視窗"},"editAction":{"name":"編輯器","note":"在何處編輯擴充功能及佈景主題","options":{"detached":"獨立視窗","system":"系統編輯器"}}},"customcss":{"name":"客製化 CSS","customcss":{"name":"客製化 CSS","note":"啟用客製化 CSS 選項標籤"},"liveUpdate":{"name":"實時更新","note":"自動在 CSS 發生變更時重新載入"},"startDetached":{"name":"在獨立視窗中開啟","note":"在獨立視窗中編輯客製化 CSS"},"nativeOpen":{"name":"在系統編輯器中開啟","note":"在系統編輯器中編輯客製化 CSS"},"openAction":{"name":"編輯器","note":"在何處編輯客製化 CSS","options":{"settings":"設定選單","detached":"獨立視窗","system":"系統編輯器"}}},"developer":{"name":"開發人員設定","debuggerHotkey":{"name":"偵錯工具快捷鍵","note":"允許在打開開發人員工具的情況下按下 F8 啟動偵錯工具"},"reactDevTools":{"name":"React 開發人員工具","note":"向 Discord 注入 React 開發人員工具"},"inspectElement":{"name":"元素檢查快捷鍵","note":"啟用在大多數瀏覽器中常用的元素檢查快捷鍵(Ctrl + Shift + C)"},"devToolsWarning":{"name":"隱藏開發人員工具警告","note":"禁止 Discord 輸出「Hold Up!」警告"},"debugLogs":{"name":"偵錯記錄檔","note":"輸出控制台中的所有資訊到 BetterDiscord 資料夾下的 debug.log"},"devTools":{"name":"DevTools","note":"啟用切換 DevTools(Ctrl+Shift+I)"}},"editor":{"name":"編輯器偏好","lineNumbers":{"name":"行數編號","note":"啟用在編輯器一側顯示行數"},"fontSize":{"name":"字型大小","note":"在編輯器中使用的字體大小(點)"},"minimap":{"name":"小地圖","note":"啟用在編輯器一側顯示程式碼小地圖"},"hover":{"name":"參考工具提示","note":"允許在懸停於規則和選擇器時顯示參考工具提示"},"quickSuggestions":{"name":"快速建議","note":"啟用在您輸入時顯示自動完成建議"},"renderWhitespace":{"name":"顯示空格","note":"編輯器何時應顯示空格","options":{"all":"總是","none":"永不","selection":"選擇"}}}}},"Addons":{"title":"{{name}} 版本 {{version}} 作者 {{author}}","byline":"作者 {{author}}","openFolder":"開啟 {{type}} 資料夾","reload":"重新載入","addonSettings":"設定","website":"網站","source":"原始碼","invite":"技術支援伺服器","donate":"捐贈","patreon":"Patreon","name":"名稱","author":"作者","version":"版本","added":"安裝時間","modified":"最後更新時間","search":"搜尋 {{type}}","editAddon":"編輯","deleteAddon":"刪除","confirmDelete":"您真的要刪除 {{name}} 嗎?","confirmationText":"您還有未儲存的更改,關閉此視窗將失去所有對 {{name}} 所做的更改。","enabled":"已啟用 {{name}}。","disabled":"已停用 {{name}}。","couldNotEnable":"無法啟用 {{name}}。","couldNotDisable":"無法停用 {{name}}。","couldNotStart":"無法啟動 {{name}}。","couldNotStop":"無法停止 {{name}}。","settingsError":"無法開啟設定 {{name}}。","methodError":"無法調用 {{method}}。","unknownAuthor":"未知的作者","noDescription":"作者没有留下任何描述。","alreadyExists":"已存在相同名稱 {{name}} 的 {{type}}。","alreadWatching":"已在監視擴充功能了。","metaError":"無法解析元資料。","missingNameData":"元資料缺少名稱。","metaNotFound":"無法找到元資料。","compileError":"無法編譯。詳細資訊請見控制台。","wasUnloaded":"已解除安裝 {{name}}。","blankSlateHeader":"您還未新增任何 {{type}}!","blankSlateMessage":"您可以在[此網站]({{link}})中取得,並將其新增到您的 {{type}} 資料夾中。","isEnabled":"已啟用","wasLoaded":"已載入 {{name}} 版本 {{version}}。","listView":"清單檢視","gridView":"方格檢視"},"CustomCSS":{"confirmationText":"您還有未儲存的更改,關閉此視窗將失去所有對客製化 CSS 所做的更改。","update":"更新","save":"儲存","openNative":"在系統編輯器中開啟","openDetached":"在獨立視窗中開啟","settings":"編輯器設定","editorTitle":"客製化 CSS 編輯器"},"Modals":{"confirmAction":"您確定嗎?","okay":"確定","done":"完成","cancel":"取消","nevermind":"別在意","close":"關閉","name":"名稱","message":"訊息","error":"錯誤","addonErrors":"擴充功能錯誤","restartRequired":"需要重新啟動以生效","restartNow":"立即重新啟動","restartLater":"稍後自行重新啟動","additionalInfo":"額外資訊","restartPrompt":"Discord 需要重新啟動以套用更新。立刻進行重新啟動嗎?","changelog":"更新日誌"},"ReactDevTools":{"notFound":"未找到擴充套件","notFoundDetails":"無法在您的電腦上找到 React 開發者工具擴充套件。請在本機的 Chrome 上安裝該擴充套件。"},"Sorting":{"sortBy":"排序方式","order":"順序","ascending":"正序","descending":"倒序"},"WindowPrefs":{"enabledInfo":"此選項需要透明佈景主題才能正常工作。在 Windows 上,這可能會破壞 Aero Snap和最大化。\\n\\n該變更需要重新啟動以生效。您要立即進行重新啟動嗎?","disabledInfo":"Discord 需要重新啟動以套用最新變更。立刻進行重新啟動嗎?"},"Notices":{"moreInfo":"更多資訊"},"Updater":{"updateFailed":"更新失敗!","updateFailedMessage":"BetterDiscord 更新失敗。請從我們的網站 (https://betterdiscord.app/) 下載最新版本的安裝程式並重新安裝。","updateSuccessful":"更新成功!","updateAvailable":"BetterDiscord 已有新的版本 ({{version}})","addonUpdatesAvailable":"BetterDiscord 已為您 {{type}} 中的 {{count}} 找到更新!","addonUpdated":"{{name}} 已更新到版本 {{version}}!","checking":"正在檢查更新!","finishedChecking":"已完成檢查更新!","checkForUpdates":"檢查更新!","updateAll":"全部更新!","noUpdatesAvailable":"沒有可供使用的更新。","versionAvailable":"版本 {{version}} 已可供使用!","upToDateBlankslate":"您所有的 {{type}} 似乎都是最新的!","updateButton":"更新!"}}')}},t={};function n(o){var a=t[o];if(void 0!==a)return a.exports;var r=t[o]={id:o,loaded:!1,exports:{}};return e[o](r,r.exports,n),r.loaded=!0,r.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{"use strict";var e={};n.r(e),n.d(e,{BDContextMenu:()=>Ne,CustomCSS:()=>pe,DebugLogs:()=>He,Debugger:()=>Me,DevToolsListener:()=>Te,InspectElement:()=>Pe,MediaKeys:()=>fe,ReactDevTools:()=>je,RemoveMinimumSize:()=>Ve,StopDevToolsWarning:()=>Le,VoiceDisconnect:()=>he,WindowPrefs:()=>We});var t={};n.r(t),n.d(t,{React:()=>Zt,ReactDOM:()=>$t,alert:()=>tn,clearCSS:()=>Qt,deleteData:()=>hn,disableSetting:()=>wn,emotes:()=>Gt,enableSetting:()=>An,findAllModules:()=>sn,findModule:()=>rn,findModuleByDisplayName:()=>cn,findModuleByProps:()=>ln,findModuleByPrototypes:()=>dn,getBDData:()=>Sn,getData:()=>mn,getInternalInstance:()=>un,injectCSS:()=>Yt,isSettingEnabled:()=>yn,linkJS:()=>Xt,loadData:()=>mn,monkeyPatch:()=>gn,onRemoved:()=>bn,openDialog:()=>En,saveData:()=>pn,setBDData:()=>xn,setData:()=>pn,settings:()=>Kt,showConfirmationModal:()=>nn,showNotice:()=>an,showToast:()=>on,suppressErrors:()=>fn,testJSON:()=>vn,toggleSetting:()=>kn,unlinkJS:()=>en,version:()=>Jt});var o=n(4312);class a{static get EventEmitter(){return a}constructor(){this.events={}}setMaxListeners(){}on(e,t){this.events[e]||(this.events[e]=new Set),this.events[e].add(t)}emit(e,...t){if(this.events[e])for(const[n,a]of this.events[e].entries())try{a(...t)}catch(t){o.A.error("Emitter",`Cannot fire listener for event ${e} at position ${n}:`,t)}}off(e,t){if(this.events[e])return this.events[e].delete(t)}}const r=window.BetterDiscordPreload(),i=function(e,t=[],n={}){const o=r.vm.compileFunction(e,t,n);if("function"==typeof o)return o;const a=new SyntaxError(o.message);throw a.stack=o.stack,a},s={compileFunction:i},l=function(e,t,n){try{n(null,r.filesystem.getStats(e,t))}catch(e){n(e)}},d=function(e,t){return r.filesystem.getStats(e,t)},c={readFile:function(e,t="utf8",n){try{n(null,r.filesystem.readFile(e,t))}catch(e){n(e,null)}},exists:function(e,t,n){try{n(null,r.filesystem.exists(e,t))}catch(e){n(e,null)}},existsSync:function(e,t){return r.filesystem.exists(e,t)},lstat:l,lstatSync:d,mkdir:function(e,t,n){try{n(null,r.filesystem.createDirectory(e,t))}catch(e){n(e,null)}},mkdirSync:function(e,t){r.filesystem.createDirectory(e,t)},readFileSync:function(e,t="utf8"){return r.filesystem.readFile(e,t)},readdir:function(e,t,n){try{n(null,r.filesystem.readDirectory(e,t))}catch(e){n(e,null)}},readdirSync:function(e,t){return r.filesystem.readDirectory(e,t)},realpath:function(e,t,n){try{n(null,r.filesystem.getStats(e,t))}catch(e){n(e,null)}},realpathSync:function(e,t){return r.filesystem.getRealPath(e,t)},rename:function(e,t,n,o){try{o(null,r.filesystem.rename(e,t,n))}catch(e){o(e,null)}},renameSync:function(e,t,n){return r.filesystem.renameSync(e,t,n)},rm:function(e,t,n){try{n(null,r.filesystem.rm(e,t))}catch(e){n(e,null)}},rmSync:function(e,t){r.filesystem.rmSync(e,t)},rmdir:function(e,t,n){try{n(null,r.filesystem.deleteDirectory(e,t))}catch(e){n(e,null)}},rmdirSync:function(e,t){r.filesystem.deleteDirectory(e,t)},stat:l,statSync:d,unlink:e=>r.filesystem.unlinkSync(e),unlinkSync:e=>r.filesystem.unlinkSync(e),watch:(e,t,n)=>r.filesystem.watch(e,t,n),writeFile:function(e,t,n="utf8",o){"function"==typeof n&&(o=n,["object","string"].includes(typeof n)||(n=void 0));try{r.filesystem.writeFile(e,t,n),o(null)}catch(e){o(e)}},writeFileSync:function(e,t,n){r.filesystem.writeFile(e,t,n)},createWriteStream:(e,t)=>r.filesystem.createWriteStream(e,t)},u=r.path,m={".js":(e,t)=>{const n=r.filesystem.readFile(t,"utf8");return e.fileContent=n,e._compile(n),e.exports},".json":(e,t)=>{const n=r.filesystem.readFile(t,"utf8");return e.fileContent=n,e.exports=JSON.parse(n),e.exports}};class p{static resolveMainFile(e,t){const n=u.extname(t)?u.dirname(t):t,o=r.filesystem.readDirectory(n);if(!Array.isArray(o))return null;for(const t of o){const o=u.extname(t);if("package.json"===t){const e=require(u.resolve(n,t));if(!Reflect.has(e,"main"))continue;return u.resolve(n,e.main)}if("index"==u.slice(0,-o.length)&&m[o])return e}}static getExtension(e){return u.extname(e)||Reflect.ownKeys(m).find((t=>r.filesystem.exists(e+t)))}static getFilePath(e,t){u.isAbsolute(t)||(t=u.resolve(e,t));if(!u.extname(t)){const e=Reflect.ownKeys(m).find((e=>r.filesystem.exists(t+e)));e&&(t+=e)}return c.realpathSync(t)}static _load(e,t,n){const o=e;u.isAbsolute(e)||(e=u.resolve(t,e));const a=this.getFilePath(t,e);if(!r.filesystem.exists(a))throw new Error(`Cannot find module ${e}`);if(window.require.cache[a])return window.require.cache[a].exports;r.filesystem.getStats(a).isDirectory()&&(e=this.resolveMainFile(e,t));const i=this.getExtension(a),s=m[i];if(!s)throw new Error(`Cannot find module ${o}`);const l=window.require.cache[e]=new p(a,h,n(e));return s(l,a),l.exports}static get Module(){return p}static get createRequire(){return o.A.warn("ContextModule","Module.createRequire not implemented yet.")}static get _extensions(){return m}constructor(e,t,n){this.id=e,this.path=r.path.dirname(e),this.exports={},this.parent=t,this.filename=e,this.loaded=!1,this.children=[],this.require=n,t&&t.children.push(this)}_compile(e){i(e,["require","module","exports","__filename","__dirname","global"],this.filename)(this.require,this,this.exports,this.filename,this.path,window)}}const h=new p(".",null);var g=n(2266).hp;const b=["get","put","post","delete","head"],f={del:"delete"};function v(){let e,t,n;for(const o of arguments)switch(typeof o){case null!==o&&"object":t=o,"url"in t&&(e=t.url);break;case!e&&"string":e=o;break;case!n&&"function":n=o}return{url:e,options:t,callback:n}}function y(e,t){return"string"==typeof e&&"function"==typeof t}function A(e,t){return(n,o,a)=>{a="Content-Type"in Object(e.headers)&&"text/plain"!==e.headers["Content-Type"]?g.from(a):g.from(a).toString(),t(n,o,a)}}function w(){const{url:e,options:t={},callback:n}=v.apply(this,arguments);return y(e,n)?"method"in t&&b.indexOf(t.method.toLowerCase())>=0?r.https[t.method](e,t,A(t,n)):r.https.request(e,t,A(t,n)):null}Object.assign(w,Object.fromEntries(b.concat(Object.keys(f)).map((e=>[e,function(){const{url:t,options:n={},callback:o}=v.apply(this,arguments);return y(t,o)?r.https[f[e]||e](t,n,A(n,o)):null}]))));const k={get:function(e,t={},n){"function"==typeof t&&(n=t,t=null);const o=new a;return n(o),r.https.get(e,t,((e,t,n)=>{if(e)return o.emit("error",e);o.emit("data",n),o.emit("end",t)})),o}};var S=n(2266).hp;Object.defineProperty(window,"Buffer",{get:()=>(o.A.warn("Deprecated","Usage of the Buffer global is deprecated. Consider using web standards such as Uint8Array and TextDecoder/TextEncoder."),S),configurable:!0,enumerable:!1});const x=S;var E=n(2266).hp;const z={...r.crypto,randomBytes:e=>E.from(r.crypto.randomBytes(e))},C=new Map([["request","Use BdApi.Net.fetch instead."],["https","Use BdApi.Net.fetch instead."]]),D=Object.assign({},c);D.writeFileSync=(e,t,n)=>c.writeFileSync(e,t,Object.assign({},n,{originalFs:!0})),D.writeFile=(e,t,n)=>c.writeFile(e,t,Object.assign({},n,{originalFs:!0}));const N=function(e){return t=>{if("string"!=typeof t||!t.startsWith("./"))switch(C.has(t)&&o.A.warn("Remote~Require",`The "${t}" module is marked as deprecated. ${C.get(t)}`),t){case"request":return w;case"https":return k;case"original-fs":return D;case"fs":return c;case"path":return r.path;case"events":return a;case"electron":return r.electron;case"process":return window.process;case"vm":return s;case"module":return p;case"buffer":return x;case"crypto":return z;default:return p._load(t,e,N)}}},T=window.require=N(".");T.cache={},T.resolve=e=>{for(const t of Object.keys(T.cache))if(t.startsWith(e))return T.cache[t]};const M=document.createElement("style");M.textContent="/* BEGIN V2 LOADER */\n/* =============== */\n\n#bd-loading-icon {\n background-image: url(data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMjAwMCAyMDAwIiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAyMDAwIDIwMDAiIHhtbDpzcGFjZT0icHJlc2VydmUiPjxnPjxwYXRoIGZpbGw9IiMzRTgyRTUiIGQ9Ik0xNDAyLjIsNjMxLjdjLTkuNy0zNTMuNC0yODYuMi00OTYtNjQyLjYtNDk2SDY4LjR2NzE0LjFsNDQyLDM5OFY0OTAuN2gyNTdjMjc0LjUsMCwyNzQuNSwzNDQuOSwwLDM0NC45SDU5Ny42djMyOS41aDE2OS44YzI3NC41LDAsMjc0LjUsMzQ0LjgsMCwzNDQuOGgtNjk5djM1NC45aDY5MS4yYzM1Ni4zLDAsNjMyLjgtMTQyLjYsNjQyLjYtNDk2YzAtMTYyLjYtNDQuNS0yODQuMS0xMjIuOS0zNjguNkMxMzU3LjcsOTE1LjgsMTQwMi4yLDc5NC4zLDE0MDIuMiw2MzEuN3oiLz48cGF0aCBmaWxsPSIjRkZGRkZGIiBkPSJNMTI2Mi41LDEzNS4yTDEyNjIuNSwxMzUuMmwtNzYuOCwwYzI2LjYsMTMuMyw1MS43LDI4LjEsNzUsNDQuM2M3MC43LDQ5LjEsMTI2LjEsMTExLjUsMTY0LjYsMTg1LjNjMzkuOSw3Ni42LDYxLjUsMTY1LjYsNjQuMywyNjQuNmwwLDEuMnYxLjJjMCwxNDEuMSwwLDU5Ni4xLDAsNzM3LjF2MS4ybDAsMS4yYy0yLjcsOTktMjQuMywxODgtNjQuMywyNjQuNmMtMzguNSw3My44LTkzLjgsMTM2LjItMTY0LjYsMTg1LjNjLTIyLjYsMTUuNy00Ni45LDMwLjEtNzIuNiw0My4xaDcyLjVjMzQ2LjIsMS45LDY3MS0xNzEuMiw2NzEtNTY3LjlWNzE2LjdDMTkzMy41LDMxMi4yLDE2MDguNywxMzUuMiwxMjYyLjUsMTM1LjJ6Ii8+PC9nPjwvc3ZnPg==);\n}\n#bd-loading-icon {\n position: fixed;\n bottom:5px;\n right:5px;\n z-index: 2147483647;\n display: block;\n width: 20px;\n height: 20px;\n background-size: 100% 100%;\n animation: bd-loading-animation 1.5s ease-in-out infinite;\n}\n\n@keyframes bd-loading-animation {\n 0% { opacity: 0.05; }\n 50% { opacity: 0.6; }\n 100% { opacity: 0.05; }\n}\n/* =============== */\n/* END V2 LOADER */";const j=document.createElement("div");j.id="bd-loading-icon",j.className="bd-loaderv2",j.title="BetterDiscord is loading...";const P=class{static show(){document.body.appendChild(M),document.body.appendChild(j)}static hide(){M&&M.remove(),j&&j.remove()}};var L=n(9382),I=n(6800),F=n(8812),B=n.n(F),R=n(6819),O=n.n(R),U=n(4189),H=n(7219),W=n(5226);class V{get name(){return"Unnamed Builtin"}get collection(){return"settings"}get category(){return"general"}get id(){return"None"}async initialize(){H.A.get(this.collection,this.category,this.id)&&await this.enable(),U.A.on("setting-updated",((e,t,n,o)=>{e==this.collection&&t===this.category&&n===this.id&&(o?this.enable():this.disable())})),this.initialized=!0}registerSetting(e,t,n,o,a){return 4==arguments.length?(e=this.collection,t=arguments[0],n=arguments[1],o=arguments[2],a=arguments[3]):3==arguments.length&&(e=this.collection,t=this.category,n=arguments[0],o=arguments[1],a=arguments[2]),H.A.on(e,t,n,(e=>{e?o():a()}))}get(e,t,n){return 2==arguments.length?(e=this.collection,t=arguments[0],n=arguments[1]):1==arguments.length&&(e=this.collection,t=this.category,n=arguments[0]),H.A.get(e,t,n)}async enable(){this.log("Enabled");try{await this.enabled()}catch(e){this.stacktrace("Could not be enabled",e)}}async disable(){this.log("Disabled");try{await this.disabled()}catch(e){this.stacktrace("Could not be disabled",e)}}async enabled(){}async disabled(){}log(...e){o.A.log(this.name,...e)}warn(...e){o.A.warn(this.name,...e)}error(...e){o.A.err(this.name,...e)}stacktrace(e,t){o.A.stacktrace(this.name,e,t)}before(e,t,n){return W.A.before(this.name,e,t,n)}instead(e,t,n){return W.A.instead(this.name,e,t,n)}after(e,t,n){return W.A.after(this.name,e,t,n)}unpatchAll(){return W.A.unpatchAll(this.name)}}var _=n(1298),q=n(8820),Z=n(2103),$=n(6672),K=n(5977),G=n(594),J=n(8707),Y=n(9768);function Q(e){const t=e.size||"24px";return q.A.createElement("svg",{className:e.className||"",onClick:e.onClick,fill:"#dcddde",viewBox:"0 0 24 24",style:{width:t,height:t}},q.A.createElement("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"}),q.A.createElement("path",{fill:"none",d:"M0 0h24v24H0z"}))}var X=n(9392),ee=n(9591);function te(e){const t=e.size||"24px";return q.A.createElement("svg",{viewBox:"0 0 24 24",style:{width:t,height:t}},q.A.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),q.A.createElement("path",{d:"M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z"}))}const{useState:ne,useCallback:oe,useEffect:ae,forwardRef:re,useImperativeHandle:ie,useRef:se}=q.A,le=re((function({css:e,openNative:t,update:n,save:o,onChange:a,readOnly:r=!1,id:i="bd-customcss-editor",openDetached:s=!1},l){const d=se(null),[c,u]=ne(!1),m=oe((e=>{d.current.value=e}),[d]);ie(l,(()=>({resize(){d.current.resize()},showSettings(){d.current.showSettings()},get value(){return d.current.getValue()},set value(e){d.current.setValue(e)},get hasUnsavedChanges(){return c}})),[c]),ae((()=>(U.A.on("customcss-updated",m),()=>U.A.off("customcss-updated",m))),[m]);const p=oe((e=>H.A.set("settings","customcss","liveUpdate",e)),[]),h=oe(((e,t)=>null==n?void 0:n(t)),[n]),g=oe((()=>null==t?void 0:t()),[t]),b=oe(((e,t)=>null==s?void 0:s(t)),[s]),f=oe((e=>{null==a||a(e),u(!0)}),[a]),v=oe(((e,t)=>{null==o||o(t),u(!1)}),[o]);return q.A.createElement(Y.A,{ref:d,readOnly:r,id:i,onChange:f,controls:[{label:q.A.createElement(Q,{size:"18px"}),tooltip:K.A.CustomCSS.update,onClick:h},{label:q.A.createElement(X.A,{size:"18px"}),tooltip:K.A.CustomCSS.save,onClick:v},{label:q.A.createElement(ee.A,{size:"18px"}),tooltip:K.A.CustomCSS.openNative,onClick:g},{label:K.A.Collections.settings.customcss.liveUpdate.name,type:"boolean",onChange:p,checked:H.A.get("settings","customcss","liveUpdate"),side:"right"},s&&{label:q.A.createElement(te,{size:"18px"}),tooltip:K.A.CustomCSS.openDetached,onClick:b,side:"right"}].filter((e=>e)),value:e})}));var de=n(1377),ce=n(1522);const ue=Z.A.getByProps("updateAccount"),me=G.A.Dispatcher,pe=new class extends V{get name(){return"Custom CSS"}get category(){return"customcss"}get id(){return"customcss"}get startDetached(){return"detached"==H.A.get(this.collection,this.category,"openAction")}get nativeOpen(){return"system"==H.A.get(this.collection,this.category,"openAction")}constructor(){super(),this.savedCss="",this.insertedCss="",this.isDetached=!1}async enabled(){H.A.registerPanel(this.id,K.A.Panels.customcss,{order:2,element:()=>[q.A.createElement(ce.A,{text:K.A.CustomCSS.editorTitle}),q.A.createElement(le,{css:this.savedCss,save:this.saveCSS.bind(this),update:this.insertCSS.bind(this),openNative:this.openNative.bind(this),openDetached:this.openDetached.bind(this),onChange:this.onChange.bind(this)})],onClick:e=>{if(this.isDetached)return;if(this.nativeOpen)return this.openNative();if(this.startDetached)return this.openDetached(this.savedCss);const t=J.A.findInTree(e._reactInternals,(e=>e&&e.onSetSection),{walkable:["child","memoizedProps","props","children"]});t&&t.onSetSection&&t.onSetSection(this.id)}}),this.loadCSS(),this.insertCSS(this.savedCss),this.watchContent()}disabled(){H.A.removePanel(this.id),this.unwatchContent(),this.insertCSS("")}watchContent(){if(this.watcher)return this.error("Already watching content.");const e={};this.log("Starting to watch content."),this.watcher=B().watch(_.A.customCSS,{persistent:!1},(async(t,n)=>{if(!t||!n)return;await new Promise((e=>setTimeout(e,50)));try{B().statSync(_.A.customCSS)}catch(t){if("ENOENT"!==t.code)return;delete e[n],this.saveCSS("")}const o=B().statSync(_.A.customCSS);if(o&&o.mtime&&o.mtime.getTime()&&"number"==typeof o.mtime.getTime()&&e[n]!=o.mtime.getTime()&&(e[n]=o.mtime.getTime(),"change"==t)){const e=_.A.loadCustomCSS();if(e==this.savedCss)return;this.savedCss=e,this.insertCSS(this.savedCss),U.A.emit("customcss-updated",this.savedCss)}}))}unwatchContent(){if(!this.watcher)return this.error("Was not watching content.");this.watcher.close(),delete this.watcher,this.log("No longer watching content.")}onChange(e){H.A.get("settings","customcss","liveUpdate")&&(this.insertCSS(e),this.saveCSS(e))}loadCSS(){this.savedCss=_.A.loadCustomCSS()}insertCSS(e){void 0===e?e=this.insertedCss:this.insertedCss=e,$.A.updateCustomCSS(e)}saveCSS(e){void 0!==e&&(this.savedCss=e),_.A.saveCustomCSS(this.savedCss)}openNative(){O().shell.openExternal(`file://${_.A.customCSS}`)}openDetached(e){const t=q.A.createRef(),n=q.A.createElement(le,{id:"bd-floating-editor",ref:t,css:e,save:this.saveCSS.bind(this),update:this.insertCSS.bind(this),openNative:this.openNative.bind(this),onChange:J.A.debounce(this.onChange.bind(this),500)});de.A.open({onClose:()=>{this.isDetached=!1},onResize:()=>{t&&t.current&&t.current.resize&&t.current.resize()},title:K.A.CustomCSS.editorTitle,id:"floating-editor-window",height:470,width:410,center:!0,resizable:!0,children:n,confirmClose:()=>!(!t||!t.current)&&(!H.A.get("settings","customcss","liveUpdate")&&t.current.hasUnsavedChanges),confirmationText:K.A.CustomCSS.confirmationText}),this.isDetached=!0,ue.close(),me.dispatch({type:"LAYER_POP"})}},he=new class extends V{get name(){return"VoiceDisconnect"}get category(){return"general"}get id(){return"voiceDisconnect"}constructor(){super(),this.beforeUnload=this.beforeUnload.bind(this)}enabled(){window.addEventListener("beforeunload",this.beforeUnload)}disabled(){window.removeEventListener("beforeunload",this.beforeUnload)}beforeUnload(){G.A.ChannelActions.selectVoiceChannel(null,null)}};var ge=n(7708),be=n(5960);const fe=new class extends V{get name(){return"DisableMediaKeys"}get category(){return"general"}get id(){return"mediaKeys"}enabled(){this.showModal()}disabled(){this.showModal()}showModal(){this.initialized&&be.A.showConfirmationModal(K.A.Modals.additionalInfo,K.A.Modals.restartPrompt,{confirmText:K.A.Modals.restartNow,cancelText:K.A.Modals.restartLater,danger:!0,onConfirm:()=>ge.A.relaunch()})}};let ve=!1;const ye=Z.A.getByProps("MenuItem","Menu"),Ae={Separator:null==ye?void 0:ye.MenuSeparator,CheckboxItem:null==ye?void 0:ye.MenuCheckboxItem,RadioItem:null==ye?void 0:ye.MenuRadioItem,ControlItem:null==ye?void 0:ye.MenuControlItem,Group:null==ye?void 0:ye.MenuGroup,Item:null==ye?void 0:ye.MenuItem,Menu:null==ye?void 0:ye.Menu};ve=Object.values(Ae).every((e=>e));const we=(()=>{const e={};try{const t=Z.A.getModule(((e,t,n)=>{var o;return null===(o=Z.A.require.m[n])||void 0===o?void 0:o.toString().includes('type:"CONTEXT_MENU_OPEN"')}),{searchExports:!1});for(const n of Object.keys(t))t[n].toString().includes("CONTEXT_MENU_CLOSE")?e.closeContextMenu=t[n]:t[n].toString().includes("renderLazy")&&(e.openContextMenu=t[n]);ve&&(ve="function"==typeof e.closeContextMenu&&"function"==typeof e.openContextMenu)}catch(t){ve=!1,o.A.stacktrace("ContextMenu~Components","Fatal startup error:",t),Object.assign(e,{closeContextMenu:()=>{},openContextMenu:()=>{}})}return e})();class ke{static MAX_PATCH_ITERATIONS=10;static patches={};static subPatches=new WeakMap;static initialize(){if(!ve)return o.A.warn("ContextMenu~Patcher","Startup wasn't successfully, aborting initialization.");const{module:e,key:t}=(()=>{const e=Z.A.getModule((e=>Object.values(e).some((e=>"function"==typeof e&&e.toString().includes('type:"CONTEXT_MENU_CLOSE"')))),{searchExports:!1}),t=Object.keys(e).find((t=>3===e[t].length));return{module:e,key:t}})();W.A.before("ContextMenuPatcher",e,t,((e,t)=>{const n=t[1];t[1]=async function(){const e=await n.apply(this,arguments);return t=>{const n=e(t);return null!=n&&n.props.navId?ke.runPatches(n.props.navId,n,t):"function"==typeof(null==n?void 0:n.type)&&ke.patchRecursive(n,"type"),n}}}))}static patchRecursive(e,t,n=0){if(n>=this.MAX_PATCH_ITERATIONS)return;const o=this.subPatches.get(e[t])??(()=>{const o=e[t],a=++n;function r(){var e,t;const n=o.apply(this,arguments);if(!n)return n;if((null===(e=n.props)||void 0===e?void 0:e.navId)??(null!==(t=n.props)&&void 0!==t&&null!==(t=t.children)&&void 0!==t&&null!==(t=t.props)&&void 0!==t&&t.navId)){var r;ke.runPatches(n.props.navId??(null===(r=n.props)||void 0===r||null===(r=r.children)||void 0===r||null===(r=r.props)||void 0===r?void 0:r.navId),n,arguments[0])}else{const e=n.props.children?n.props.children:n;"function"==typeof(null==e?void 0:e.type)&&ke.patchRecursive(e,"type",a)}return n}return r._originalFunction=o,Object.assign(r,o),this.subPatches.set(o,r),r})();e[t]=o}static runPatches(e,t,n){if(this.patches[e])for(const a of this.patches[e])try{a(t,n)}catch(t){o.A.error("ContextMenu~runPatches",`Could not run ${e} patch for`,a,t)}}static patch(e,t){var n;(n=this.patches)[e]??(n[e]=new Set),this.patches[e].add(t)}static unpatch(e,t){var n;null===(n=this.patches[e])||void 0===n||n.delete(t)}}class Se{patch(e,t){return ke.patch(e,t),()=>ke.unpatch(e,t)}unpatch(e,t){ke.unpatch(e,t)}buildItem(e){const{type:t}=e;if("separator"===t)return q.A.createElement(Ae.Separator);let n=Ae.Item;if("submenu"===t?e.children||(e.children=this.buildMenuChildren(e.render||e.items)):"toggle"===t||"radio"===t?(n="toggle"===t?Ae.CheckboxItem:Ae.RadioItem,e.active&&(e.checked=e.active)):"control"===t&&(n=Ae.ControlItem),e.id||(e.id=`${e.label.replace(/^[^a-z]+|[^\w-]+/gi,"-")}`),e.danger&&(e.color="danger"),e.onClick&&!e.action&&(e.action=e.onClick),e.extended=!0,"toggle"===t){const[t,n]=q.A.useState(e.checked||!1),o=e.action;e.checked=t,e.action=function(e){o(e),n(!t)}}return q.A.createElement(n,e)}buildMenuChildren(e){const t=e=>"group"===e.type?n(e):this.buildItem(e),n=function(e){const n=e.items.map(t).filter((e=>e));return q.A.createElement(Ae.Group,null,n)};return e.map(t).filter((e=>e))}buildMenu(e){return t=>q.A.createElement(Ae.Menu,t,this.buildMenuChildren(e))}open(e,t,n){return we.openContextMenu(e,(function(e){return q.A.createElement(t,Object.assign({},e,{onClose:we.closeContextMenu}))}),n)}close(){we.closeContextMenu()}}Object.assign(Se.prototype,Ae),Object.freeze(Se),Object.freeze(Se.prototype);try{ke.initialize()}catch(e){o.A.error("ContextMenu~Patcher","Fatal error:",e)}const xe=Se;var Ee=n(928),ze=n(2051);const Ce=new xe,De=Z.A.getByProps("open","updateAccount"),Ne=new class extends V{get name(){return"BDContextMenu"}get category(){return"general"}get id(){return"bdContextMenu"}constructor(){super(...arguments),this.callback=this.callback.bind(this)}enabled(){this.patch=Ce.patch("user-settings-cog",this.callback)}disabled(){var e;null===(e=this.patch)||void 0===e||e.call(this)}callback(e){const t=J.A.findInTree(e,(e=>Array.isArray(e)&&e.some((e=>{var t;return"my_account"===(null==e||null===(t=e.key)||void 0===t?void 0:t.toLowerCase())}))),{walkable:["props","children"]});if(!t)return;if(t.some((e=>"betterdiscord"===e.props.label.toLowerCase())))return;const n=H.A.collections.map((e=>this.buildCollectionMenu(e)));n.push({label:K.A.Panels.updates,action:()=>this.openCategory("updates")}),H.A.get("settings","customcss","customcss")&&n.push({label:K.A.Panels.customcss,action:()=>this.openCategory("customcss")}),n.push(this.buildAddonMenu(K.A.Panels.plugins,Ee.A)),n.push(this.buildAddonMenu(K.A.Panels.themes,ze.A));const o=Ce.buildItem({type:"submenu",label:"BetterDiscord",items:n}),a=q.A.createElement(Ce.Group,null,[o]);t.push(a)}buildCollectionMenu(e){return{type:"submenu",label:e.name,action:()=>this.openCategory(e.name),items:e.settings.map((t=>({type:"submenu",label:t.name,action:()=>this.openCategory(e.name),items:t.settings.filter((e=>"switch"===e.type&&!e.hidden&&e.id!==this.id)).map((n=>({type:"toggle",label:n.name,disabled:n.disabled,active:H.A.get(e.id,t.id,n.id),action:()=>H.A.set(e.id,t.id,n.id,!H.A.get(e.id,t.id,n.id))})))})))}}buildAddonMenu(e,t){const n=t.addonList.map((e=>e.name||e.getName())).sort(((e,t)=>e.toLowerCase().localeCompare(t.toLowerCase())));return{type:"submenu",label:e,action:()=>this.openCategory(e.toLowerCase()),items:n.map((e=>{var n;return{type:"toggle",label:e,disabled:(null===(n=t.getAddon(e))||void 0===n?void 0:n.partial)??!1,active:t.isEnabled(e),action:()=>t.toggleAddon(e)}}))}}async openCategory(e){var t;Ce.close(),null==De||null===(t=De.open)||void 0===t||t.call(De,e)}},Te=new class extends V{get name(){return"DevTools"}get category(){return"developer"}get id(){return"devTools"}initialize(){super.initialize(...arguments),this.toggleDevTools=this.toggleDevTools.bind(this),document.addEventListener("keydown",this.toggleDevTools)}toggleDevTools(e){("darwin"===process.platform?e.metaKey:e.ctrlKey)&&e.shiftKey&&"I"===e.key&&(e.stopPropagation(),e.preventDefault(),this.get(this.collection,this.category,this.id)&&ge.A.toggleDevTools())}},Me=new class extends V{get name(){return"Debugger"}get category(){return"developer"}get id(){return"debuggerHotkey"}enabled(){document.addEventListener("keydown",this.debugListener)}disabled(){document.removeEventListener("keydown",this.debugListener)}debugListener(e){if("F7"===e.key||"F8"==e.key){debugger;e.preventDefault(),e.stopImmediatePropagation()}}},je=new class extends V{get name(){return"ReactDevTools"}get category(){return"developer"}get id(){return"reactDevTools"}async enabled(){this.showModal()}async disabled(){this.showModal()}showModal(){this.initialized&&be.A.showConfirmationModal(K.A.Modals.additionalInfo,K.A.Modals.restartPrompt,{confirmText:K.A.Modals.restartNow,cancelText:K.A.Modals.restartLater,danger:!0,onConfirm:()=>ge.A.relaunch()})}},Pe=new class extends V{get name(){return"InspectElementHotkey"}get category(){return"developer"}get id(){return"inspectElement"}enabled(){document.addEventListener("keydown",this.inspectElement)}disabled(){document.removeEventListener("keydown",this.inspectElement)}inspectElement(e){("darwin"===process.platform?e.metaKey:e.ctrlKey)&&e.shiftKey&&"C"===e.key&&ge.A.inspectElement()}},Le=new class extends V{get name(){return"StopDevToolsWarning"}get category(){return"developer"}get id(){return"devToolsWarning"}enabled(){var e;null===(e=window)||void 0===e||null===(e=e.DiscordNative)||void 0===e||null===(e=e.window)||void 0===e||e.setDevtoolsCallbacks(null,null)}disabled(){var e;const t=Z.A.getByString("setDevtoolsCallbacks"),n=Z.A.getByProps("Messages"),o=Z.A.getModule((e=>Object.keys(e).some((e=>e.startsWith("hide")))));t&&n&&o&&t(n,o,null===(e=window)||void 0===e?void 0:e.DiscordNative)}};var Ie=n(3168),Fe=n.n(Ie);const Be=()=>(new Date).toISOString().replace("T"," ").replace("Z",""),Re=["log","info","warn","error","debug"],Oe=()=>{const e=new WeakSet;return(t,n)=>{if("object"==typeof n&&null!==n){if(e.has(n))return"[Circular Reference]";e.add(n)}return n}},Ue=(e,t)=>{const n=new RegExp(t,"g");return(e.match(n)||[]).length},He=new class extends V{get name(){return"DebugLogs"}get category(){return"developer"}get id(){return"debugLogs"}async enabled(){this.logFile=Fe().join(_.A.dataFolder,"debug.log"),await this.checkFilesize(),this.stream=B().createWriteStream(this.logFile,{flags:"a"}),this.stream.write(`\n\n================= Starting Debug Log (${Be()}) =================\n`);for(const e of Re)this.after(console,e,((t,n)=>{const o=this.sanitize(...n);this.stream.write(`[${Be()}][CONSOLE:${e.toUpperCase()}] ${o}\n`)}))}disabled(){this.unpatchAll(),this.stream&&this.stream.end(`\n\n================= Ending Debug Log (${Be()}) =================`)}sanitize(...e){const t=[];for(let n=0;n<e.length;n++){const o=e[n];if("string"==typeof o){const e=Ue(o,"%c");t.push(o.replace(/%c/g,"")),e>0&&(n+=e)}void 0===o&&t.push("undefined"),"object"==typeof o&&o&&o.message&&o.stack?t.push(`${o.message}\n${o.stack}`):"object"==typeof o&&t.push(JSON.stringify(o,Oe())),"function"!=typeof o&&"boolean"!=typeof o&&"number"!=typeof o||t.push(o.toString())}return t.join(" ")}async checkFilesize(){try{if(!B().existsSync(this.logFile))return;const e=B().statSync(this.logFile);if(e.size/1048576<100)return;return new Promise((e=>be.A.showConfirmationModal(K.A.Modals.additionalInfo,K.A.Modals.debuglog,{confirmText:K.A.Modals.okay,cancelText:K.A.Modals.cancel,danger:!0,onConfirm:()=>B().rmSync(this.logFile),onClose:e})))}catch(e){this.error(e)}}},We=new class extends V{get name(){return"WindowTransparency"}get category(){return"window"}get id(){return"transparency"}enabled(){this.showModal(K.A.WindowPrefs.enabledInfo),document.body.classList.add("bd-transparency")}disabled(){this.showModal(K.A.WindowPrefs.disabledInfo),document.body.classList.remove("bd-transparency")}showModal(e){this.initialized&&be.A.showConfirmationModal(K.A.Modals.additionalInfo,e,{confirmText:K.A.Modals.restartNow,cancelText:K.A.Modals.restartLater,danger:!0,onConfirm:()=>ge.A.relaunch()})}},Ve=new class extends V{get name(){return"RemoveMinimumSize"}get category(){return"window"}get id(){return"removeMinimumSize"}enabled(){ge.A.setMinimumSize(1,1),window.addEventListener("resize",this.onResize);const e=_.A.getData("windowprefs");if(!e.height||!e.width)return _.A.setData("windowprefs",{});e.height>=500&&e.width>=940||ge.A.setWindowSize(e.width,e.height)}disabled(){ge.A.setMinimumSize(940,500),window.removeEventListener("resize",this.onResize)}onResize(){const e=_.A.getData("windowprefs");e.width=window.outerWidth,e.height=window.outerHeight,_.A.setData("windowprefs",e)}};var _e=n(9138);const qe=new class{async initialize(){const e="https://cdnjs.cloudflare.com/ajax/libs/monaco-editor/0.20.0/min";Object.defineProperty(window,"MonacoEnvironment",{value:{getWorkerUrl:function(){return`data:text/javascript;charset=utf-8,${encodeURIComponent(`\n self.MonacoEnvironment = {\n baseUrl: '${e}'\n };\n importScripts('${e}/vs/base/worker/workerMain.min.js');`)}`}}});const t=window.require;delete window.module,$.A.linkStyle("monaco-style",`${e}/vs/editor/editor.main.min.css`,{documentHead:!0});try{await $.A.injectScript("monaco-script",`${e}/vs/loader.min.js`);const n=window.require;window.require=t,n.config({paths:{vs:`${e}/vs`}}),n(["vs/editor/editor.main"],(()=>{}))}catch(e){o.A.error("Editor","Failed to load monaco editor",e)}finally{window.require=t}}},Ze=require("request");var $e=n.n(Ze);const Ke=/^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/,Ge=/^[0-9]+$/;function Je(e,t){const n=Ge.test(e),o=Ge.test(t);return n&&o&&(e=+e,t=+t),e===t?0:n&&!o?-1:o&&!n?1:e<t?-1:1}function Ye(e){return e.split(".").map((e=>{if(!Ge.test(e))return e;const t=+e;return t>=0&&t<Number.MAX_SAFE_INTEGER?t:e}))}function Qe(e,t){const n=Ye(e),o=Ye(t);for(let e=0;;e++){const t=n[e],a=o[e];if(void 0===t&&void 0===a)return 0;if(void 0===a)return 1;if(void 0===t)return-1;if(t!==a)return Je(t,a)}}function Xe(e,t){const n=Ke.exec(e),o=Ke.exec(t),a=Je(o[1],n[1])||Je(o[2],n[2])||Je(o[3],n[3]),r=(i=o[4]??"",s=n[4]??"",i.length&&!s.length?-1:!i.length&&s.length?1:i.length||s.length?Qe(i,s):0);var i,s;const l=Qe(o[5]??"",n[5]??"");return a||r||l}var et=n(6766);class tt{static get baseClass(){var e;return this.__baseClass??(this.__baseClass=null===(e=Z.A.getByProps("container","base","sidebar"))||void 0===e?void 0:e.base)}static get errorPageClass(){var e;return this.__errorPageClass??(this.__errorPageClass=null===(e=Z.A.getByProps("errorPage"))||void 0===e?void 0:e.errorPage)}static info(e,t={}){return this.show(e,Object.assign({},t,{type:"info"}))}static warn(e,t={}){return this.show(e,Object.assign({},t,{type:"warning"}))}static error(e,t={}){return this.show(e,Object.assign({},t,{type:"error"}))}static success(e,t={}){return this.show(e,Object.assign({},t,{type:"success"}))}static createElement(e,t={},...n){const o=document.createElement(e);Object.assign(o,t);const a=n.filter((e=>e));return a.length>0&&o.append(...a),o}static joinClassNames(...e){return e.filter((e=>e)).join(" ")}static show(e,t={}){const{type:n,buttons:o=[],timeout:a=0,onClose:r=(()=>{})}=t;if(!this.ensureContainer())return;const i=function(e=!1){if(null==r||r(),e)return s.remove();s.classList.add("bd-notice-closing"),setTimeout((()=>{s.remove()}),300)},s=this.createElement("div",{className:this.joinClassNames("bd-notice",n&&`bd-notice-${n}`)},this.createElement("div",{className:"bd-notice-close",onclick:i.bind(null,!1)}),this.createElement("span",{className:"bd-notice-content"},e),...o.map((e=>e&&e.label&&"function"==typeof e.onClick?this.createElement("button",{className:"bd-notice-button",onclick:e.onClick.bind(null,i)},e.label):null)));return document.getElementById("bd-notices").appendChild(s),a>0&&setTimeout(i,a),i}static ensureContainer(){if(document.getElementById("bd-notices"))return!0;const e=document.querySelector(`.${this.baseClass}`);if(!e)return!1;const t=this.createElement("div",{id:"bd-notices"});return e.prepend(t),$.A.onRemoved(e,(async()=>{if(!this.errorPageClass)return;(await new Promise((e=>$.A.onAdded(`.${this.errorPageClass}`,e)))).prepend(t)})),!0}}var nt=n(5306),ot=n(9977),at=n(7506),rt=n(8635);function it(e){const t=e.size||"24px";return q.A.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{width:t,height:t}},q.A.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),q.A.createElement("path",{d:"M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z"}))}function st(e){const t=e.size||"24px";return q.A.createElement("svg",{className:e.className||"",fill:"#FFFFFF",viewBox:"0 0 24 24",style:{width:t,height:t},onClick:e.onClick},q.A.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),q.A.createElement("path",{d:"M12 4V1L8 5l4 4V6c3.31 0 6 2.69 6 6 0 1.01-.25 1.97-.7 2.8l1.46 1.46C19.54 15.03 20 13.57 20 12c0-4.42-3.58-8-8-8zm0 14c-3.31 0-6-2.69-6-6 0-1.01.25-1.97.7-2.8L5.24 7.74C4.46 8.97 4 10.43 4 12c0 4.42 3.58 8 8 8v3l4-4-4-4v3z"}))}function lt(){return lt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},lt.apply(this,arguments)}const{useState:dt,useCallback:ct,useEffect:ut}=q.A;function mt(e,t,n,o={}){const{size:a=nt.Ay.Sizes.ICON,look:r=nt.Ay.Looks.BLANK,color:i=nt.Ay.Colors.TRANSPARENT,className:s="",stopAnimation:l=!1}=o,d=async e=>{var t;const o=e.target.closest("button");o.classList.add("animate"),await n(),l&&(await new Promise((e=>setTimeout(e,500))),null==o||null===(t=o.classList)||void 0===t||t.remove("animate"))};return q.A.createElement(G.A.Tooltip,{color:"primary",position:"top",text:e},(e=>q.A.createElement(nt.Ay,lt({},e,{className:`bd-update-button ${s}`,size:a,look:r,color:i,onClick:d}),t)))}function pt({hasUpdate:e,remoteVersion:t,update:n}){return q.A.createElement(ot.A,{name:"BetterDiscord",collapsible:!0},q.A.createElement(at.A,{name:`Core v${L.A.version}`,note:e?K.A.Updater.versionAvailable.format({version:t}):K.A.Updater.noUpdatesAvailable,inline:!0,id:"core-updater"},!e&&q.A.createElement("div",{className:"bd-filled-checkmark"},q.A.createElement(rt.A,{size:"18px"})),e&&mt(K.A.Updater.updateButton,q.A.createElement(it,null),n,{className:"no-animation"})))}function ht({type:e}){return q.A.createElement("div",{className:"bd-empty-updates"},q.A.createElement(rt.A,{size:"48px"}),K.A.Updater.upToDateBlankslate.format({type:e}))}function gt({pending:e,type:t,updater:n,update:o,updateAll:a}){const r=e;return q.A.createElement(ot.A,{name:K.A.Panels[t],collapsible:!0,titleChildren:r.length>1?mt(K.A.Updater.updateAll,q.A.createElement(Q,{size:"20px"}),(()=>a(t))):null},!r.length&&q.A.createElement(ht,{type:t}),r.map((e=>{const a=n.cache[e],r=n.manager.addonList.find((t=>t.filename===e));return q.A.createElement(at.A,{name:`${r.name} v${r.version}`,note:K.A.Updater.versionAvailable.format({version:a.version}),inline:!0,id:r.name},mt(K.A.Updater.updateButton,q.A.createElement(Q,null),(()=>o(t,e))))})))}function bt({coreUpdater:e,pluginUpdater:t,themeUpdater:n}){const[o,a]=dt(e.hasUpdate),[r,i]=dt({plugins:t.pending.slice(0),themes:n.pending.slice(0)}),s=ct((async e=>{const o="plugins"===e?t:n;await o.checkAll(!1),i({...r,[e]:o.pending.slice(0)})}),[r,t,n]),l=ct((()=>{s("plugins"),s("themes")}),[s]);ut((()=>(U.A.on("plugin-loaded",l),U.A.on("plugin-unloaded",l),U.A.on("theme-loaded",l),U.A.on("theme-unloaded",l),()=>{U.A.off("plugin-loaded",l),U.A.off("plugin-unloaded",l),U.A.off("theme-loaded",l),U.A.off("theme-unloaded",l)})),[l]);const d=ct((async()=>{await e.checkForUpdate(!1),a(e.hasUpdate)}),[e]),c=ct((async()=>{et.A.info(K.A.Updater.checking),await d(),await s("plugins"),await s("themes"),et.A.info(K.A.Updater.finishedChecking)}),[s,d]),u=ct((async()=>{await e.update(),a(!1)}),[e]),m=ct((async(e,o)=>{const a="plugins"===e?t:n;await a.updateAddon(o),i((t=>(t[e].splice(t[e].indexOf(o),1),t)))}),[t,n]),p=ct((async e=>{const t=r[e].slice(0);for(const n of t)await m(e,n)}),[m,r]);return[q.A.createElement(ce.A,{text:K.A.Panels.updates},mt(K.A.Updater.checkForUpdates,q.A.createElement(st,null),c,{className:"bd-update-check",stopAnimation:!0})),q.A.createElement(pt,{remoteVersion:e.remoteVersion,hasUpdate:o,update:u}),q.A.createElement(gt,{type:"plugins",pending:r.plugins,update:m,updateAll:p,updater:t}),q.A.createElement(gt,{type:"themes",pending:r.themes,update:m,updateAll:p,updater:n})]}const ft=Z.A.getByProps("updateAccount"),vt=(e,t)=>("Unknown"===t.version||(e[t.file_name]={name:t.name,version:t.version,id:t.id}),e);class yt{static initialize(){H.A.registerPanel("updates",K.A.Panels.updates,{order:1,element:()=>q.A.createElement(bt,{coreUpdater:At,pluginUpdater:kt,themeUpdater:St})}),At.initialize(),kt.initialize(),St.initialize()}}class At{static hasUpdate=!1;static apiData={};static remoteVersion="";static async initialize(){this.checkForUpdate()}static async checkForUpdate(e=!0){const t=await fetch("https://api.github.com/repos/BetterDiscord/BetterDiscord/releases/latest",{method:"GET",headers:{Accept:"application/json","Content-Type":"application/json","User-Agent":"BetterDiscord Updater"}}),n=await t.json();this.apiData=n;const o=n.tag_name.startsWith("v")?n.tag_name.slice(1):n.tag_name;if(this.hasUpdate=Xe(L.A.version,o)>0,this.remoteVersion=o,!this.hasUpdate||!e)return;const a=tt.info(K.A.Updater.updateAvailable.format({version:o}),{buttons:[{label:K.A.Notices.moreInfo,onClick:()=>{var e;a(),null==ft||null===(e=ft.open)||void 0===e||e.call(ft,"updates")}}]})}static async update(){try{const e=this.apiData.assets.find((e=>"betterdiscord.asar"===e.name)),t=await new Promise(((t,n)=>$e()(e.url,{headers:{"Content-Type":"application/octet-stream","User-Agent":"BetterDiscord Updater",Accept:"application/octet-stream"}},((e,o,a)=>e||200!=o.statusCode?n(e||`${o.statusCode} ${o.statusMessage}`):t(a))))),o=Fe().join(_.A.baseFolder,"betterdiscord.asar");n(8370).writeFileSync(o,t),this.hasUpdate=!1,L.A.version=this.remoteVersion,be.A.showConfirmationModal(K.A.Updater.updateSuccessful,K.A.Modals.restartPrompt,{confirmText:K.A.Modals.restartNow,cancelText:K.A.Modals.restartLater,danger:!0,onConfirm:()=>ge.A.relaunch()})}catch(e){o.A.stacktrace("Updater","Failed to update",e),be.A.showConfirmationModal(K.A.Updater.updateFailed,K.A.Updater.updateFailedMessage,{cancelText:null})}}}class wt{constructor(e){this.manager="plugin"===e?Ee.A:ze.A,this.type=e,this.cache={},this.pending=[]}async initialize(){await this.updateCache(),this.checkAll(),U.A.on(`${this.type}-loaded`,(e=>{this.checkForUpdate(e.filename,e.version)})),U.A.on(`${this.type}-unloaded`,(e=>{const t=this.pending.indexOf(e.filename);t>=0&&this.pending.splice(t,1)}))}async updateCache(){this.cache={};var e,t;(await(t=this.type,e=`https://api.betterdiscord.app/v2/store/${t}s`,new Promise((t=>{$e()(e,((e,n,o)=>{if(e)return t([]);t(JSON.parse(o))}))})))).reduce(vt,this.cache)}clearPending(){this.pending.splice(0,this.pending.length)}checkAll(e=!0){for(const e of this.manager.addonList)this.checkForUpdate(e.filename,e.version);e&&this.showUpdateNotice()}checkForUpdate(e,t){if(this.pending.includes(e))return;const n=this.cache[Fe().basename(e)];if(!n)return;let o=n.version>t;Ke.test(n.version)&&Ke.test(t)&&(o=Xe(t,n.version)>0),o&&this.pending.push(e)}async updateAddon(e){const t=this.cache[e];$e()(`https://betterdiscord.app/gh-redirect?id=${t.id}`,((n,a,r)=>{if(n)return void o.A.stacktrace("AddonUpdater",`Failed to download body for ${t.id}:`,n);const i=Fe().join(Fe().resolve(this.manager.addonFolder),e);B().writeFile(i,r.toString(),(()=>{et.A.success(K.A.Updater.addonUpdated.format({name:t.name,version:t.version})),this.pending.splice(this.pending.indexOf(e),1)}))}))}showUpdateNotice(){if(!this.pending.length)return;const e=tt.info(K.A.Updater.addonUpdatesAvailable.format({count:this.pending.length,type:this.type}),{buttons:[{label:K.A.Notices.moreInfo,onClick:()=>{var t;e(),null==ft||null===(t=ft.open)||void 0===t||t.call(ft,"updates")}}]})}}const kt=new wt("plugin"),St=new wt("theme");var xt=n(473);const Et=new class{async startup(){if(this.hasStarted)return;this.hasStarted=!0,L.A.appPath=process.env.DISCORD_APP_PATH,L.A.userData=process.env.DISCORD_USER_DATA,L.A.dataPath=process.env.BETTERDISCORD_DATA_PATH,ge.A.getSystemAccentColor().then((e=>$.A.injectStyle("bd-os-values",`:root {--os-accent-color: #${e};}`))),o.A.log("Startup","Injecting BD Styles"),$.A.injectStyle("bd-stylesheet",xt.A.toString()),o.A.log("Startup","Initializing DataStore"),_.A.initialize(),o.A.log("Startup","Initializing LocaleManager"),_e.A.initialize(),o.A.log("Startup","Initializing Settings"),H.A.initialize(),o.A.log("Startup","Initializing DOMManager"),$.A.initialize(),o.A.log("Startup","Waiting for connection..."),await this.waitForConnection(),o.A.log("Startup","Initializing Editor"),await qe.initialize(),be.A.initialize(),de.A.initialize(),o.A.log("Startup","Initializing Builtins");for(const t in e)e[t].initialize();o.A.log("Startup","Loading Plugins");const t=Ee.A.initialize();o.A.log("Startup","Loading Themes");const n=ze.A.initialize();o.A.log("Startup","Initializing Updater"),yt.initialize(),o.A.log("Startup","Removing Loading Icon"),P.hide(),o.A.log("Startup","Collecting Startup Errors"),be.A.showAddonErrors({plugins:t,themes:n});const a=_.A.getBDData("version");L.A.version!==a&&(be.A.showChangelogModal(I.A),_.A.setBDData("version",L.A.version))}waitForConnection(){return new Promise((e=>{if(G.A.UserStore.getCurrentUser())return e();G.A.Dispatcher.subscribe("CONNECTION_OPEN",e)}))}};class zt{#t;constructor(e){this.#t=e}get folder(){return this.#t.addonFolder}isEnabled(e){return this.#t.isEnabled(e)}enable(e){return this.#t.enableAddon(e)}disable(e){return this.#t.disableAddon(e)}toggle(e){return this.#t.toggleAddon(e)}reload(e){return this.#t.reloadAddon(e)}get(e){return this.#t.getAddon(e)}getAll(){return this.#t.addonList.map((e=>this.#t.getAddon(e.id)))}}Object.freeze(zt),Object.freeze(zt.prototype);const Ct=zt;class Dt{#n="";constructor(e){e&&(this.#n=e)}save(e,t,n){return this.#n&&(n=t,t=e,e=this.#n),_.A.setPluginData(e,t,n)}load(e,t){return this.#n&&(t=e,e=this.#n),_.A.getPluginData(e,t)}delete(e,t){return this.#n&&(t=e,e=this.#n),_.A.deletePluginData(e,t)}}Object.freeze(Dt),Object.freeze(Dt.prototype);const Nt=Dt;class Tt{get screenWidth(){return Math.max(document.documentElement.clientWidth,window.innerWidth||0)}get screenHeight(){return Math.max(document.documentElement.clientHeight,window.innerHeight||0)}#n="";constructor(e){e&&(this.#n=e)}addStyle(e,t){this.#n&&2===arguments.length?(e=arguments[0],t=arguments[1]):this.#n&&(t=e,e=this.#n),$.A.injectStyle(e,t)}removeStyle(e){this.#n&&1===arguments.length?e=arguments[0]:this.#n&&(e=this.#n),$.A.removeStyle(e)}onRemoved(e,t){return $.A.onRemoved(e,t)}animate(e,t,n={}){return $.A.animate({update:e,duration:t,timing:n.timing})}createElement(e,t={},n=null){return $.A.createElement(e,t,n)}parseHTML(e,t=!1){return $.A.parseHTML(e,t)}}Object.freeze(Tt),Object.freeze(Tt.prototype);const Mt=Tt;class jt{#n="";constructor(e){e&&(this.#n=e)}before(e,t,n,o){return this.#n&&(o=n,n=t,t=e,e=this.#n),W.A.pushChildPatch(e,t,n,o,{type:"before"})}instead(e,t,n,o){return this.#n&&(o=n,n=t,t=e,e=this.#n),W.A.pushChildPatch(e,t,n,o,{type:"instead"})}after(e,t,n,o){return this.#n&&(o=n,n=t,t=e,e=this.#n),W.A.pushChildPatch(e,t,n,o,{type:"after"})}getPatchesByCaller(e){return this.#n&&(e=this.#n),"string"!=typeof e?o.A.err("BdApi.Patcher","Parameter 0 of getPatchesByCaller must be a string representing the caller"):W.A.getPatchesByCaller(e)}unpatchAll(e){if(this.#n&&(e=this.#n),"string"!=typeof e)return o.A.err("BdApi.Patcher","Parameter 0 of unpatchAll must be a string representing the caller");W.A.unpatchAll(e)}}Object.freeze(jt),Object.freeze(jt.prototype);const Pt=jt;var Lt=n(9098);const It=function(e){return`${e}px`},Ft=["primary","info","success","warn","danger"],Bt=["top","right","bottom","left"];class Rt{constructor(e,t,n={}){const{style:a="primary",side:r="top",preventFlip:i=!1,disabled:s=!1}=n;return this.node=e,this.label=t,this.style=a.toLowerCase(),this.side=r.toLowerCase(),this.preventFlip=i,this.disabled=s,this.active=!1,Bt.includes(this.side)?Ft.includes(this.style)?(this.element=$.A.parseHTML('<div class="bd-layer">'),this.tooltipElement=$.A.parseHTML('<div class="bd-tooltip"><div class="bd-tooltip-pointer"></div><div class="bd-tooltip-content"></div></div>'),this.tooltipElement.classList.add(`bd-tooltip-${this.style}`),this.labelElement=this.tooltipElement.childNodes[1],t instanceof HTMLElement?this.labelElement.append(t):this.labelElement.textContent=t,this.element.append(this.tooltipElement),this.node.addEventListener("mouseenter",(()=>{this.disabled||this.show()})),void this.node.addEventListener("mouseleave",(()=>{this.hide()}))):o.A.err("Tooltip",`Style ${this.style} does not exist.`):o.A.err("Tooltip",`Side ${this.side} does not exist.`)}static create(e,t,n={}){return new Rt(e,t,n)}get container(){return document.querySelector("#app-mount")}get canShowAbove(){return this.node.getBoundingClientRect().top-this.element.offsetHeight>=0}get canShowBelow(){return this.node.getBoundingClientRect().top+this.node.offsetHeight+this.element.offsetHeight<=$.A.screenHeight}get canShowLeft(){return this.node.getBoundingClientRect().left-this.element.offsetWidth>=0}get canShowRight(){return this.node.getBoundingClientRect().left+this.node.offsetWidth+this.element.offsetWidth<=$.A.screenWidth}hide(){this.active&&(this.active=!1,this.element.remove())}show(){this.active||(this.active=!0,this.labelElement.textContent=this.label,this.container.append(this.element),"top"==this.side&&(this.canShowAbove||!this.canShowAbove&&this.preventFlip?this.showAbove():this.showBelow()),"bottom"==this.side&&(this.canShowBelow||!this.canShowBelow&&this.preventFlip?this.showBelow():this.showAbove()),"left"==this.side&&(this.canShowLeft||!this.canShowLeft&&this.preventFlip?this.showLeft():this.showRight()),"right"==this.side&&(this.canShowRight||!this.canShowRight&&this.preventFlip?this.showRight():this.showLeft()),this.observer||(this.observer=new MutationObserver((e=>{e.forEach((e=>{const t=Array.from(e.removedNodes),n=t.indexOf(this.node)>-1,o=t.some((e=>e.contains(this.node)));(n||o)&&(this.hide(),this.observer.disconnect())}))})),this.observer.observe(document.body,{subtree:!0,childList:!0})))}showAbove(){this.tooltipElement.classList.add("bd-tooltip-top"),this.element.style.setProperty("top",It(this.node.getBoundingClientRect().top-this.element.offsetHeight-10)),this.centerHorizontally()}showBelow(){this.tooltipElement.classList.add("bd-tooltip-bottom"),this.element.style.setProperty("top",It(this.node.getBoundingClientRect().top+this.node.offsetHeight+10)),this.centerHorizontally()}showLeft(){this.tooltipElement.classList.add("bd-tooltip-left"),this.element.style.setProperty("left",It(this.node.getBoundingClientRect().left-this.element.offsetWidth-10)),this.centerVertically()}showRight(){this.tooltipElement.classList.add("bd-tooltip-right"),this.element.style.setProperty("left",It(this.node.getBoundingClientRect().left+this.node.offsetWidth+10)),this.centerVertically()}centerHorizontally(){const e=this.node.getBoundingClientRect().left+this.node.offsetWidth/2;this.element.style.setProperty("left",It(e-this.element.offsetWidth/2))}centerVertically(){const e=this.node.getBoundingClientRect().top+this.node.offsetHeight/2;this.element.style.setProperty("top",It(e-this.element.offsetHeight/2))}}window.Tooltip=Rt;const Ot={alert(e,t){be.A.alert(e,t)},createTooltip:(e,t,n={})=>Rt.create(e,t,n),showConfirmationModal:(e,t,n={})=>be.A.showConfirmationModal(e,t,n),showToast(e,t={}){et.A.show(e,t)},showNotice:(e,t={})=>tt.show(e,t),async openDialog(e){const t=await ge.A.openDialog(e);if(t.error)throw new Error(t.error);return t}};Object.freeze(Ot);const Ut=Ot,Ht={findInTree:(e,t,n={})=>J.A.findInTree(e,t,n),extend:(e,...t)=>J.A.extend(e,...t),debounce:(e,t)=>J.A.debounce(e,t),escapeHTML:e=>J.A.escapeHTML(e),className(){return J.A.className(...arguments)}};Object.freeze(Ht);const Wt=Ht,Vt=(e,t={})=>(e.length>1&&"object"==typeof e[e.length-1]&&!Array.isArray(e[e.length-1])&&null!==e[e.length-1]&&Object.assign(t,e.pop()),t),_t={modules:Z.A.modules,Filters:{byProps:(...e)=>Z.C.byKeys(e),byKeys:(...e)=>Z.C.byKeys(e),byPrototypeFields:(...e)=>Z.C.byPrototypeKeys(e),byPrototypeKeys:(...e)=>Z.C.byPrototypeKeys(e),byRegex:e=>Z.C.byRegex(e),byStrings:(...e)=>Z.C.byStrings(...e),byDisplayName:e=>Z.C.byDisplayName(e),byStoreName:e=>Z.C.byStoreName(e),combine:(...e)=>Z.C.combine(...e)},getWithKey:(e,t={})=>"first"in t?o.A.error("BdApi.Webpack~getWithKey","Unsupported option first."):"defaultExport"in t&&"boolean"!=typeof t.defaultExport?o.A.error("BdApi.Webpack~getWithKey","Unsupported type used for options.defaultExport",t.defaultExport,"boolean expected."):"searchExports"in t&&"boolean"!=typeof t.searchExports?o.A.error("BdApi.Webpack~getWithKey","Unsupported type used for options.searchExports",t.searchExports,"boolean expected."):Z.A.getWithKey(e,t),getModule:(e,t={})=>"first"in t&&"boolean"!=typeof t.first?o.A.error("BdApi.Webpack~get","Unsupported type used for options.first",t.first,"boolean expected."):"defaultExport"in t&&"boolean"!=typeof t.defaultExport?o.A.error("BdApi.Webpack~getModule","Unsupported type used for options.defaultExport",t.defaultExport,"boolean expected."):"searchExports"in t&&"boolean"!=typeof t.searchExports?o.A.error("BdApi.Webpack~getModule","Unsupported type used for options.searchExports",t.searchExports,"boolean expected."):Z.A.getModule(e,t),getModules:(e,t={})=>"defaultExport"in t&&"boolean"!=typeof t.defaultExport?o.A.error("BdApi.Webpack~getModules","Unsupported type used for options.defaultExport",t.defaultExport,"boolean expected."):"searchExports"in t&&"boolean"!=typeof t.searchExports?o.A.error("BdApi.Webpack~getModules","Unsupported type used for options.searchExports",t.searchExports,"boolean expected."):Z.A.getModule(e,Object.assign(t,{first:!1})),getBulk:(...e)=>Z.A.getBulk(...e),waitForModule:(e,t={})=>"defaultExport"in t&&"boolean"!=typeof t.defaultExport?o.A.error("BdApi.Webpack~waitForModule","Unsupported type used for options.defaultExport",t.defaultExport,"boolean expected."):!("signal"in t)||t.signal instanceof AbortSignal?"searchExports"in t&&"boolean"!=typeof t.searchExports?o.A.error("BdApi.Webpack~waitForModule","Unsupported type used for options.searchExports",t.searchExports,"boolean expected."):Z.A.getLazy(e,t):o.A.error("BdApi.Webpack~waitForModule","Unsupported type used for options.signal",t.signal,"AbortSignal expected."),getByRegex:(e,t={})=>Z.A.getModule(Z.C.byRegex(e),t),getAllByRegex:(e,t={})=>Z.A.getModule(Z.C.byRegex(e),Object.assign({},t,{first:!0})),getByPrototypeKeys(...e){const t=Vt(e);return Z.A.getModule(Z.C.byPrototypeKeys(e),t)},getAllByPrototypeKeys(...e){const t=Vt(e,{first:!1});return Z.A.getModule(Z.C.byPrototypeKeys(e),t)},getByKeys(...e){const t=Vt(e);return Z.A.getModule(Z.C.byKeys(e),t)},getAllByKeys(...e){const t=Vt(e,{first:!1});return Z.A.getModule(Z.C.byKeys(e),t)},getByStrings(...e){const t=Vt(e);return Z.A.getModule(Z.C.byStrings(...e),t)},getAllByStrings(...e){const t=Vt(e,{first:!1});return Z.A.getModule(Z.C.byStrings(...e),t)},getStore:e=>Z.A.getModule(Z.C.byStoreName(e))};Object.freeze(_t),Object.freeze(_t.Filters);const qt=_t,Zt=G.A.React,$t=G.A.ReactDOM,Kt=H.A.collections,Gt={},Jt=L.A.version;function Yt(e,t){$.A.injectStyle(e,t)}function Qt(e){$.A.removeStyle(e)}function Xt(e,t){return $.A.injectScript(e,t)}function en(e){$.A.removeScript(e)}function tn(e,t){be.A.alert(e,t)}function nn(e,t,n={}){return be.A.showConfirmationModal(e,t,n)}function on(e,t={}){et.A.show(e,t)}function an(e,t={}){return tt.show(e,t)}function rn(e){return Z.A.getModule(e)}function sn(e){return Z.A.getModule(e,{first:!1})}function ln(...e){return Z.A.getByProps(...e)}function dn(...e){return Z.A.getByPrototypes(...e)}function cn(e){return Z.A.getByDisplayName(e)}function un(e){return e.__reactInternalInstance$?e.__reactInternalInstance$:e[Object.keys(e).find((e=>e.startsWith("__reactInternalInstance")||e.startsWith("__reactFiber")))]||null}function mn(e,t){return _.A.getPluginData(e,t)}function pn(e,t,n){return _.A.setPluginData(e,t,n)}function hn(e,t){_.A.deletePluginData(e,t)}function gn(e,t,n){const{before:a,after:r,instead:i,once:s=!1,callerId:l="BdApi"}=n,d=a?"before":r?"after":i?"instead":"";if(!d)return o.A.err("BdApi","Must provide one of: after, before, instead");const c={originalMethod:e[t],callOriginalMethod:()=>c.originalMethod.apply(c.thisObject,c.methodArguments)};return c.cancelPatch=W.A[d](l,e,t,((e,a,r)=>{c.thisObject=e,c.methodArguments=a,c.returnValue=r;try{const e=Reflect.apply(n[d],null,[c]);return s&&c.cancelPatch(),e}catch(e){o.A.stacktrace(`${l}:monkeyPatch`,`Error in the ${d} of ${t}`,e)}})),c.cancelPatch}function bn(e,t){return $.A.onRemoved(e,t)}function fn(e,t){return(...n)=>{try{return e(...n)}catch(e){o.A.stacktrace("SuppressedError","Error occurred in "+t,e)}}}function vn(e){try{return JSON.parse(e)}catch(e){return!1}}function yn(e,t,n){return H.A.get(e,t,n)}function An(e,t,n){return H.A.set(e,t,n,!0)}function wn(e,t,n){return H.A.set(e,t,n,!1)}function kn(e,t,n){return H.A.set(e,t,n,!H.A.get(e,t,n))}function Sn(e){return _.A.getBDData(e)}function xn(e,t){return _.A.setBDData(e,t)}async function En(e){const t=await ge.A.openDialog(e);if(t.error)throw new Error(t.error);return t}const zn=new Set(["manual","follow"]),Cn=new Set(["GET","PUT","POST","DELETE","PATCH","OPTIONS","HEAD","CONNECT","TRACE"]),Dn=new Set([101,204,205,304]);class Nn extends Response{constructor(e){super(Dn.has(e.status)?null:e.content,{headers:new Headers(e.headers),method:e.method??"GET",body:e.content,...e}),this._options=e}get url(){return this._options.url}get redirected(){return this._options.redirected}}function Tn(e,t={}){return new Promise(((n,o)=>{const a={};let i;"object"==typeof t.headers&&(a.headers=t.headers instanceof Headers?Object.fromEntries(t.headers.entries()):t.headers),"string"==typeof t.redirect&&zn.has(t.redirect)&&(a.redirect=t.redirect),("string"==typeof t.body||t.body instanceof Uint8Array)&&(a.body=t.body),"string"==typeof t.method&&Cn.has(t.method)&&(a.method=t.method),"number"==typeof t.maxRedirects&&(a.maxRedirects=t.maxRedirects),"number"==typeof t.timeout&&(a.timeout=t.timeout),t.signal instanceof AbortSignal&&(a.signal=(e=>{const t=new Set;return e.addEventListener("abort",(()=>{t.forEach((e=>e()))})),{addEventListener(e,n){t.add(n)}}})(t.signal));try{i=r.nativeFetch(e,a)}catch(e){return o(e)}i.onError((e=>{o(e)})),i.onComplete((()=>{try{const e=i.readData(),o=new Nn({method:t.method??"GET",status:e.statusCode,...t,...e});n(o)}catch(e){o(e)}}))}))}const Mn=new Map,jn=new Ct(Ee.A),Pn=new Ct(ze.A),Ln=new Pt,In=new Nt,Fn=new Mt,Bn=new xe;class Rn{constructor(e){return e?Mn.has(e)?Mn.get(e):"string"!=typeof e?(o.A.error("BdApi","Plugin name not a string, returning generic API!"),Rn):(Object.assign(this,t),this.Patcher=new Pt(e),this.Data=new Nt(e),this.DOM=new Mt(e),void Mn.set(e,this)):Rn}get Plugins(){return jn}get Themes(){return Pn}get Webpack(){return qt}get Utils(){return Wt}get UI(){return Ut}get ReactUtils(){return Lt.A}get ContextMenu(){return Bn}Components={get Tooltip(){return G.A.Tooltip}};Net={fetch:Tn}}Object.assign(Rn,t),Rn.Plugins=jn,Rn.Themes=Pn,Rn.Patcher=Ln,Rn.Webpack=qt,Rn.Data=In,Rn.UI=Ut,Rn.ReactUtils=Lt.A,Rn.Utils=Wt,Rn.DOM=Fn,Rn.ContextMenu=Bn,Rn.Components={get Tooltip(){return G.A.Tooltip}},Rn.Net={fetch:Tn},Object.freeze(Rn),Object.freeze(Rn.Net),Object.freeze(Rn.prototype),Object.freeze(Rn.Components),function(){const e=Object.getOwnPropertyDescriptor(HTMLIFrameElement.prototype,"contentWindow").get;Object.defineProperty(HTMLIFrameElement.prototype,"contentWindow",{get:function(){const t=Reflect.apply(e,this,arguments);return new Proxy(t,{getOwnPropertyDescriptor:function(e,t){if("localStorage"!==t)return Object.getOwnPropertyDescriptor(e,t)},get:function(e,t){if("localStorage"===t)return null;const n=e[t];return"function"==typeof n?n.bind(e):n}})}}),Object.defineProperty(Reflect,"apply",{value:Reflect.apply,writable:!1,configurable:!1}),Object.defineProperty(Function.prototype,"bind",{value:Function.prototype.bind,writable:!1,configurable:!1});const t=XMLHttpRequest.prototype.open;XMLHttpRequest.prototype.open=function(){return arguments[1].toLowerCase().includes("api/webhooks")?null:Reflect.apply(t,this,arguments)}}(),Object.defineProperty(window,"BdApi",{value:Rn,writable:!1,configurable:!1}),window.global=window,P.show(),Et.startup()})()})();