parcelRequire=function(e,r,t,n){var i,o="function"==typeof parcelRequire&&parcelRequire,u="function"==typeof require&&require;function f(t,n){if(!r[t]){if(!e[t]){var i="function"==typeof parcelRequire&&parcelRequire;if(!n&&i)return i(t,!0);if(o)return o(t,!0);if(u&&"string"==typeof t)return u(t);var c=new Error("Cannot find module '"+t+"'");throw c.code="MODULE_NOT_FOUND",c}p.resolve=function(r){return e[t][1][r]||r},p.cache={};var l=r[t]=new f.Module(t);e[t][0].call(l.exports,p,l,l.exports,this)}return r[t].exports;function p(e){return f(p.resolve(e))}}f.isParcelRequire=!0,f.Module=function(e){this.id=e,this.bundle=f,this.exports={}},f.modules=e,f.cache=r,f.parent=o,f.register=function(r,t){e[r]=[function(e,r){r.exports=t},{}]};for(var c=0;cr.length)&&(t=r.length);for(var n=0,o=new Array(t);n body.theme-custom {\n --background-primary: var(--background-primary-custom);\n --background-secondary: var(--background-secondary-custom);\n --background-secondary-alt: var(--background-secondary-alt-custom)\n --background-tertiary: var(--background-tertiary-custom);\n\n --channeltextarea-background: var(--background-tertiary);\n --background-message-hover: rgba(4, 4, 5, 0.07);\n\n --background-accent: var(--background-accent-custom);\n --background-floating: var(--background-tertiary);\n\n --scrollbar-thin-thumb: var(--brand-color);\n --scrollbar-auto-thumb: var(--scrollbar-thin-thumb);\n --scrollbar-auto-scrollbar-color-thumb: var(--scrollbar-thin-thumb);\n\n --scrollbar-auto-track: var(--background-secondary-alt);\n --scrollbar-auto-scrollbar-color-track: var(--scrollbar-auto-track);\n\n --brand-color: var(--brand-color-custom);\n --brand-color-hover: var(--brand-color-hover-custom);\n }",n.cssRules.length),document.body.classList.add("theme-custom"),o=["--background-primary","--background-secondary","--background-secondary-alt","--background-tertiary","--background-accent","--brand-color","--brand-color-hover"],goosemodScope.settings.createItem("Custom Theme",["(v".concat(s,")")].concat(r(o.map(function(r){return{type:"text-and-color",text:r.substring(2).replace(/-/g," ").replace(/(^|\W)([a-z])/g,function(r,t,n){return"".concat(t).concat(n.toUpperCase())}),oninput:function(t){document.body.style.setProperty("".concat(r,"-custom"),t)}}}))));case 5:case"end":return t.stop()}},t)}));return function(){return t.apply(this,arguments)}}(),onRemove:function(){var r=u(regeneratorRuntime.mark(function r(){var t;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:document.body.classList.remove("theme-custom"),t=goosemodScope.settings.items.find(function(r){return"Custom Theme"===r[1]}),goosemodScope.settings.items.splice(goosemodScope.settings.items.indexOf(t),1);case 3:case"end":return r.stop()}},r)}));return function(){return r.apply(this,arguments)}}()}};exports.default=i; },{}]},{},["index.js"], null);parcelRequire('index.js').default